From 89017132c464c9b908f92a05af31b2a602b0b374 Mon Sep 17 00:00:00 2001 From: luoxiao Date: Mon, 15 Jul 2024 21:26:07 +0800 Subject: [PATCH] v0.3.3 --- CHANGELOG.md | 16 ++++++++++++++++ Cargo.toml | 6 +++--- thaw/Cargo.toml | 2 +- thaw_components/Cargo.toml | 2 +- thaw_utils/Cargo.toml | 2 +- thaw_utils/src/on_click_outside.rs | 5 +++++ 6 files changed, 27 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b11da24..329bc97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## [0.3.3](https://github.com/thaw-ui/thaw/compare/v0.3.2...v0.3.3) (2024-07-15) + +### Features + +* `MenuItem` adds icon prop, closes [#200](https://github.com/thaw-ui/thaw/pull/200). +* `MenuItem` adds children prop, closes [#207](https://github.com/thaw-ui/thaw/pull/207). +* `Modal` adds closable prop, closes [#206](https://github.com/thaw-ui/thaw/pull/206). +* Adds `Dropdown` component, closes [#210](https://github.com/thaw-ui/thaw/pull/210). +* Added parser and formatter props to input and `InputNumber` components, closes [#209](https://github.com/thaw-ui/thaw/pull/209). +* Adds `Pagination` component, closes [#212](https://github.com/thaw-ui/thaw/pull/212). + +### Bug Fixs + +* use_lock_html_scroll, closes [#215](https://github.com/thaw-ui/thaw/pull/215). +* Events were not removed when the scrollbar cleared, closes [#216](https://github.com/thaw-ui/thaw/pull/216). + ## [0.3.2](https://github.com/thaw-ui/thaw/compare/v0.3.1...v0.3.2) (2024-05-21) ### Features diff --git a/Cargo.toml b/Cargo.toml index 240345e..9dc52ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,6 @@ members = ["thaw", "thaw_components", "thaw_utils", "demo", "demo_markdown"] exclude = ["examples"] [workspace.dependencies] -thaw = { version = "0.3.2", path = "./thaw" } -thaw_components = { version = "0.1.2", path = "./thaw_components" } -thaw_utils = { version = "0.0.4", path = "./thaw_utils" } +thaw = { version = "0.3.3", path = "./thaw" } +thaw_components = { version = "0.1.3", path = "./thaw_components" } +thaw_utils = { version = "0.0.5", path = "./thaw_utils" } diff --git a/thaw/Cargo.toml b/thaw/Cargo.toml index 3133fbb..b8e17c2 100644 --- a/thaw/Cargo.toml +++ b/thaw/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thaw" -version = "0.3.2" +version = "0.3.3" edition = "2021" keywords = ["web", "leptos", "ui", "thaw", "component"] readme = "../README.md" diff --git a/thaw_components/Cargo.toml b/thaw_components/Cargo.toml index 997fe70..cbc33c4 100644 --- a/thaw_components/Cargo.toml +++ b/thaw_components/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thaw_components" -version = "0.1.2" +version = "0.1.3" edition = "2021" keywords = ["leptos", "thaw", "components"] readme = "../README.md" diff --git a/thaw_utils/Cargo.toml b/thaw_utils/Cargo.toml index f5182ec..5e3512c 100644 --- a/thaw_utils/Cargo.toml +++ b/thaw_utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thaw_utils" -version = "0.0.4" +version = "0.0.5" edition = "2021" keywords = ["leptos", "thaw", "utils"] readme = "../README.md" diff --git a/thaw_utils/src/on_click_outside.rs b/thaw_utils/src/on_click_outside.rs index b887985..8d7da16 100644 --- a/thaw_utils/src/on_click_outside.rs +++ b/thaw_utils/src/on_click_outside.rs @@ -25,4 +25,9 @@ pub fn call_on_click_outside(element: NodeRef
, on_click: Callback<()>) { }); on_cleanup(move || handle.remove()); } + #[cfg(not(any(feature = "csr", feature = "hydrate")))] + { + let _ = element; + let _ = on_click; + } }