Release 0.6.0

This commit is contained in:
Maccesch 2023-07-17 03:23:44 +01:00
parent c81eacd977
commit f87c09599d
6 changed files with 13 additions and 13 deletions

View file

@ -3,7 +3,7 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] -
## [0.6.0] - 2023-07-17
### New Functions 🚀

View file

@ -1,6 +1,6 @@
[package]
name = "leptos-use"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
authors = ["Marc-Stefan Cassola"]
categories = ["gui", "web-programming"]

View file

@ -13,7 +13,7 @@
<a href="https://crates.io/crates/leptos-use"><img src="https://img.shields.io/crates/v/leptos-use.svg?label=&color=%232C1275" alt="Crates.io"/></a>
<a href="https://leptos-use.rs/server_side_rendering.html"><img src="https://img.shields.io/badge/-SSR-%236a214b" alt="SSR"></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-docs%20%26%20demos-%239A233F" alt="Docs & Demos"></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-44%20functions-%23EF3939" alt="44 Functions" /></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-51%20functions-%23EF3939" alt="51 Functions" /></a>
</p>
<br/>

View file

@ -12,6 +12,6 @@
<a href="https://crates.io/crates/leptos-use"><img src="https://img.shields.io/crates/v/leptos-use.svg?label=&color=%232C1275" alt="Crates.io"/></a>
<a href="https://leptos-use.rs/server_side_rendering.html"><img src="https://img.shields.io/badge/-SSR-%236a214b" alt="SSR"></a>
<a href="./get_started.html"><img src="https://img.shields.io/badge/-docs%20%26%20demos-%239A233F" alt="Docs & Demos"></a>
<a href="./functions.html"><img src="https://img.shields.io/badge/-44%20functions-%23EF3939" alt="44 Functions" /></a>
<a href="./functions.html"><img src="https://img.shields.io/badge/-51%20functions-%23EF3939" alt="51 Functions" /></a>
</p>
</div>

View file

@ -15,7 +15,7 @@ fn Demo(cx: Scope) -> impl IntoView {
el,
UseDraggableOptions::default()
.initial_value(Position {
x: inner_width / 4.2,
x: inner_width / 2.2,
y: 80.0,
})
.prevent_default(true),

View file

@ -20,13 +20,11 @@ cfg_if! { if #[cfg(web_sys_unstable_apis)] {
pub use use_resize_observer::*;
}}
mod on_click_outside;
mod use_draggable;
mod use_to_string;
mod is_err;
mod is_ok;
mod is_none;
mod is_ok;
mod is_some;
mod on_click_outside;
mod use_active_element;
mod use_breakpoints;
mod use_color_mode;
@ -34,6 +32,7 @@ mod use_css_var;
mod use_cycle_list;
mod use_debounce_fn;
mod use_document_visibility;
mod use_draggable;
mod use_drop_zone;
mod use_element_hover;
mod use_element_visibility;
@ -52,6 +51,7 @@ mod use_raf_fn;
mod use_scroll;
mod use_supported;
mod use_throttle_fn;
mod use_to_string;
mod use_websocket;
mod use_window_focus;
mod use_window_scroll;
@ -61,13 +61,11 @@ mod watch_pausable;
mod watch_throttled;
mod whenever;
pub use on_click_outside::*;
pub use use_draggable::*;
pub use use_to_string::*;
pub use is_err::*;
pub use is_ok::*;
pub use is_none::*;
pub use is_ok::*;
pub use is_some::*;
pub use on_click_outside::*;
pub use use_active_element::*;
pub use use_breakpoints::*;
pub use use_color_mode::*;
@ -75,6 +73,7 @@ pub use use_css_var::*;
pub use use_cycle_list::*;
pub use use_debounce_fn::*;
pub use use_document_visibility::*;
pub use use_draggable::*;
pub use use_drop_zone::*;
pub use use_element_hover::*;
pub use use_element_visibility::*;
@ -93,6 +92,7 @@ pub use use_raf_fn::*;
pub use use_scroll::*;
pub use use_supported::*;
pub use use_throttle_fn::*;
pub use use_to_string::*;
pub use use_websocket::*;
pub use use_window_focus::*;
pub use use_window_scroll::*;