release 0.13.1

closes #103
This commit is contained in:
Maccesch 2024-09-01 20:31:32 +01:00
parent c60d32bf5a
commit 365b705bf5
5 changed files with 16 additions and 16 deletions

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://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/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/-docs%20%26%20demos-%239A233F" alt="Docs & Demos"></a>
<a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-84%20functions-%23EF3939" alt="84 Functions" /></a> <a href="https://leptos-use.rs"><img src="https://img.shields.io/badge/-86%20functions-%23EF3939" alt="86 Functions" /></a>
</p> </p>
<br/> <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://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/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="./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/-84%20functions-%23EF3939" alt="84 Functions" /></a> <a href="./functions.html"><img src="https://img.shields.io/badge/-86%20functions-%23EF3939" alt="86 Functions" /></a>
</p> </p>
</div> </div>

View file

@ -28,10 +28,6 @@ mod is_ok;
mod is_some; mod is_some;
#[cfg(feature = "on_click_outside")] #[cfg(feature = "on_click_outside")]
mod on_click_outside; mod on_click_outside;
#[cfg(feature = "use_web_lock")]
mod use_web_lock;
#[cfg(feature = "use_window_size")]
mod use_window_size;
#[cfg(feature = "signal_debounced")] #[cfg(feature = "signal_debounced")]
mod signal_debounced; mod signal_debounced;
#[cfg(feature = "signal_throttled")] #[cfg(feature = "signal_throttled")]
@ -142,6 +138,8 @@ mod use_to_string;
mod use_toggle; mod use_toggle;
#[cfg(feature = "use_user_media")] #[cfg(feature = "use_user_media")]
mod use_user_media; mod use_user_media;
#[cfg(feature = "use_web_lock")]
mod use_web_lock;
#[cfg(feature = "use_web_notification")] #[cfg(feature = "use_web_notification")]
mod use_web_notification; mod use_web_notification;
#[cfg(feature = "use_websocket")] #[cfg(feature = "use_websocket")]
@ -152,6 +150,8 @@ mod use_window;
mod use_window_focus; mod use_window_focus;
#[cfg(feature = "use_window_scroll")] #[cfg(feature = "use_window_scroll")]
mod use_window_scroll; mod use_window_scroll;
#[cfg(feature = "use_window_size")]
mod use_window_size;
#[cfg(feature = "watch_debounced")] #[cfg(feature = "watch_debounced")]
mod watch_debounced; mod watch_debounced;
#[cfg(feature = "watch_pausable")] #[cfg(feature = "watch_pausable")]
@ -173,10 +173,6 @@ pub use is_ok::*;
pub use is_some::*; pub use is_some::*;
#[cfg(feature = "on_click_outside")] #[cfg(feature = "on_click_outside")]
pub use on_click_outside::*; pub use on_click_outside::*;
#[cfg(feature = "use_web_lock")]
pub use use_web_lock::*;
#[cfg(feature = "use_window_size")]
pub use use_window_size::*;
#[cfg(feature = "signal_debounced")] #[cfg(feature = "signal_debounced")]
pub use signal_debounced::*; pub use signal_debounced::*;
#[cfg(feature = "signal_throttled")] #[cfg(feature = "signal_throttled")]
@ -287,6 +283,8 @@ pub use use_to_string::*;
pub use use_toggle::*; pub use use_toggle::*;
#[cfg(feature = "use_user_media")] #[cfg(feature = "use_user_media")]
pub use use_user_media::*; pub use use_user_media::*;
#[cfg(feature = "use_web_lock")]
pub use use_web_lock::*;
#[cfg(feature = "use_web_notification")] #[cfg(feature = "use_web_notification")]
pub use use_web_notification::*; pub use use_web_notification::*;
#[cfg(feature = "use_websocket")] #[cfg(feature = "use_websocket")]
@ -297,6 +295,8 @@ pub use use_window::*;
pub use use_window_focus::*; pub use use_window_focus::*;
#[cfg(feature = "use_window_scroll")] #[cfg(feature = "use_window_scroll")]
pub use use_window_scroll::*; pub use use_window_scroll::*;
#[cfg(feature = "use_window_size")]
pub use use_window_size::*;
#[cfg(feature = "watch_debounced")] #[cfg(feature = "watch_debounced")]
pub use watch_debounced::*; pub use watch_debounced::*;
#[cfg(feature = "watch_pausable")] #[cfg(feature = "watch_pausable")]

View file

@ -12,7 +12,7 @@ pub use web_sys::LockMode;
/// workers to coordinate work and the use of resources. /// workers to coordinate work and the use of resources.
/// ///
/// > This function requires `--cfg=web_sys_unstable_apis` to be activated as /// > This function requires `--cfg=web_sys_unstable_apis` to be activated as
/// [described in the wasm-bindgen guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html). /// > [described in the wasm-bindgen guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html).
/// ///
/// ## Demo /// ## Demo
/// ///

View file

@ -4,7 +4,7 @@ use leptos::*;
///{{#if (eq unstable_apis "true")}} ///{{#if (eq unstable_apis "true")}}
/// ///
/// > This function requires `--cfg=web_sys_unstable_apis` to be activated as /// > This function requires `--cfg=web_sys_unstable_apis` to be activated as
/// [described in the wasm-bindgen guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html).{{/if}} /// > [described in the wasm-bindgen guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html).{{/if}}
/// ///
/// ## Demo /// ## Demo
/// ///