This commit is contained in:
luoxiao 2024-07-15 21:26:07 +08:00
parent 0f09a7eaa0
commit 89017132c4
6 changed files with 27 additions and 6 deletions

View file

@ -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) ## [0.3.2](https://github.com/thaw-ui/thaw/compare/v0.3.1...v0.3.2) (2024-05-21)
### Features ### Features

View file

@ -4,6 +4,6 @@ members = ["thaw", "thaw_components", "thaw_utils", "demo", "demo_markdown"]
exclude = ["examples"] exclude = ["examples"]
[workspace.dependencies] [workspace.dependencies]
thaw = { version = "0.3.2", path = "./thaw" } thaw = { version = "0.3.3", path = "./thaw" }
thaw_components = { version = "0.1.2", path = "./thaw_components" } thaw_components = { version = "0.1.3", path = "./thaw_components" }
thaw_utils = { version = "0.0.4", path = "./thaw_utils" } thaw_utils = { version = "0.0.5", path = "./thaw_utils" }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "thaw" name = "thaw"
version = "0.3.2" version = "0.3.3"
edition = "2021" edition = "2021"
keywords = ["web", "leptos", "ui", "thaw", "component"] keywords = ["web", "leptos", "ui", "thaw", "component"]
readme = "../README.md" readme = "../README.md"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "thaw_components" name = "thaw_components"
version = "0.1.2" version = "0.1.3"
edition = "2021" edition = "2021"
keywords = ["leptos", "thaw", "components"] keywords = ["leptos", "thaw", "components"]
readme = "../README.md" readme = "../README.md"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "thaw_utils" name = "thaw_utils"
version = "0.0.4" version = "0.0.5"
edition = "2021" edition = "2021"
keywords = ["leptos", "thaw", "utils"] keywords = ["leptos", "thaw", "utils"]
readme = "../README.md" readme = "../README.md"

View file

@ -25,4 +25,9 @@ pub fn call_on_click_outside(element: NodeRef<Div>, on_click: Callback<()>) {
}); });
on_cleanup(move || handle.remove()); on_cleanup(move || handle.remove());
} }
#[cfg(not(any(feature = "csr", feature = "hydrate")))]
{
let _ = element;
let _ = on_click;
}
} }