From f87c09599d749715aa6c3e06aaae15b48a938ab5 Mon Sep 17 00:00:00 2001
From: Maccesch
Date: Mon, 17 Jul 2023 03:23:44 +0100
Subject: [PATCH] Release 0.6.0
---
CHANGELOG.md | 2 +-
Cargo.toml | 2 +-
README.md | 2 +-
docs/book/src/introduction.md | 2 +-
examples/use_draggable/src/main.rs | 2 +-
src/lib.rs | 16 ++++++++--------
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3f271ca..22e969f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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 🚀
diff --git a/Cargo.toml b/Cargo.toml
index c3fc056..213d0ae 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"]
diff --git a/README.md b/README.md
index 64f47aa..d7010f4 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@
-
+
diff --git a/docs/book/src/introduction.md b/docs/book/src/introduction.md
index e2a3339..2f0b81e 100644
--- a/docs/book/src/introduction.md
+++ b/docs/book/src/introduction.md
@@ -12,6 +12,6 @@
-
+
\ No newline at end of file
diff --git a/examples/use_draggable/src/main.rs b/examples/use_draggable/src/main.rs
index 83ee9a1..6e02a1f 100644
--- a/examples/use_draggable/src/main.rs
+++ b/examples/use_draggable/src/main.rs
@@ -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),
diff --git a/src/lib.rs b/src/lib.rs
index ccf36a0..2d9c2d0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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::*;