Releases: RustForWeb/floating-ui
Releases · RustForWeb/floating-ui
v0.6.0
What's Changed
- chore(deps): update rust crate serde_json to v1.0.145 by @renovate[bot] in #202
- fix(deps): update rust crate tempfile to v3.22.0 by @renovate[bot] in #205
- chore(deps): update rust crate serde to v1.0.223 by @renovate[bot] in #201
- fix(deps): update rust crate semver to v1.0.27 by @renovate[bot] in #203
- fix(deps): update rust crate octocrab to 0.45.0 by @renovate[bot] in #204
- chore(deps): update rust crate serde to v1.0.226 by @renovate[bot] in #207
- fix(deps): update rust crate toml to v0.9.7 by @renovate[bot] in #209
- chore(deps): update rust crate wasm-bindgen-test to v0.3.53 by @renovate[bot] in #208
- chore(deps): update leptos monorepo to v0.8.9 by @renovate[bot] in #206
- chore(deps): update pre-commit hook embarkstudios/cargo-deny to v0.18.5 by @renovate[bot] in #210
- chore(deps): update dependency tailwindcss to v3.4.18 by @renovate[bot] in #212
- fix(deps): update rust crate octocrab to 0.47.0 by @renovate[bot] in #211
- chore(deps): update rust crate serde to v1.0.228 by @renovate[bot] in #214
- chore(deps): update rust crate tempfile to v3.23.0 by @renovate[bot] in #217
- chore(deps): update rust crate toml to v0.9.8 by @renovate[bot] in #215
- chore(deps): update rust crate wasm-bindgen-test to v0.3.54 by @renovate[bot] in #216
- chore(deps): update leptos monorepo to v0.8.10 by @renovate[bot] in #213
- chore(deps): update rust crate cfg-if to v1.0.4 by @renovate[bot] in #218
- chore(deps): update rust crate tokio to v1.48.0 by @renovate[bot] in #220
- chore(deps): update actions/setup-node action to v6 by @renovate[bot] in #221
- chore(deps): update pre-commit hook prettier-plugin-tailwindcss to ^0.7.0 by @renovate[bot] in #219
- chore(deps): update leptos monorepo to v0.8.11 by @renovate[bot] in #222
- chore(deps): update github artifact actions (major) - autoclosed by @renovate[bot] in #223
- chore(deps): update rust crate wasm-bindgen-test to v0.3.55 by @renovate[bot] in #225
- chore(deps): update rust crate leptos to v0.8.12 by @renovate[bot] in #224
- chore(deps): update rust crate dioxus to 0.7.0 by @renovate[bot] in #226
Full Changelog: v0.5.1...v0.6.0
v0.5.1
What's Changed
- chore(deps): update dependency prettier to v3.6.0 by @renovate[bot] in #158
- chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.13 by @renovate[bot] in #157
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #161
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #159
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #160
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #162
- chore(deps): update dependency prettier to v3.6.2 by @renovate[bot] in #163
- fix(deps): update rust crate tokio to v1.46.1 by @renovate[bot] in #164
- chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.14 by @renovate[bot] in #165
- chore(deps): update leptos monorepo to v0.8.3 by @renovate[bot] in #166
- fix(deps): update rust crate toml to 0.9.0 by @renovate[bot] in #167
- chore: add explicit languages to pre-commit for Renovate by @DanielleHuisman in #168
- chore(deps): update rust crate serde_json to v1.0.141 by @renovate[bot] in #170
- chore(deps): update leptos monorepo to v0.8.4 by @renovate[bot] in #169
- fix(deps): update rust crate strum to v0.27.2 by @renovate[bot] in #171
- chore(deps): update leptos monorepo to v0.8.6 by @renovate[bot] in #172
- fix(deps): update rust crate tokio to v1.47.0 by @renovate[bot] in #173
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #174
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #175
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #176
- fix(deps): update rust crate tokio to v1.47.1 by @renovate[bot] in #179
- chore(deps): update rust crate serde_json to v1.0.142 by @renovate[bot] in #178
- fix(deps): update rust crate toml to v0.9.4 by @renovate[bot] in #180
- fix: resolve Clippy issues by @DanielleHuisman in #181
- chore(deps): update actions/download-artifact action to v5 by @renovate[bot] in #184
- chore(deps): update actions/checkout action to v5 by @renovate[bot] in #183
- fix(deps): update rust crate toml to v0.9.5 by @renovate[bot] in #182
- chore(deps): update rust crate cfg-if to v1.0.3 by @renovate[bot] in #187
- fix(deps): update rust crate tempfile to v3.21.0 by @renovate[bot] in #189
- chore(deps): update rust crate serde_json to v1.0.143 by @renovate[bot] in #188
- chore(deps): update actions/upload-pages-artifact action to v4 by @renovate[bot] in #190
- ci: add workflow permissions by @DanielleHuisman in #191
- ci: use locked dependencies by @DanielleHuisman in #192
- ci: improve workflows by @DanielleHuisman in #193
- docs: update organization description by @DanielleHuisman in #194
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #185
- feat: update to upstream @floating-ui/[email protected] by @github-actions[bot] in #186
- fix(deps): update rust crate tracing-subscriber to 0.3.20 by @DanielleHuisman in #200
- chore(deps): update pre-commit hook devinr528/cargo-sort to v2.0.2 by @renovate[bot] in #196
- chore(deps): update actions/setup-node action to v5 by @renovate[bot] in #199
- chore(deps): update rust crate wasm-bindgen-test to v0.3.51 by @renovate[bot] in #197
- fix(deps): update rust crate log to v0.4.28 by @renovate[bot] in #198
- chore(deps): update leptos monorepo to v0.8.8 by @renovate[bot] in #195
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- feat(leptos): use
IntoforUseFloatingOptionsby @DanielleHuisman in #150 - feat(dioxus): add floating-ui-dioxus by @DanielleHuisman in #151
- docs: fix typo in offset middleware by @DanielleHuisman in #152
- fix(deps): update rust crate toml to v0.8.23 by @renovate in #153
- fix: use stable Rust toolchain by @DanielleHuisman in #155
- chore(deps): update rust crate cfg-if to v1.0.1 by @renovate in #156
Full Changelog: v0.4.1...v0.5.0
v0.4.1
What's Changed
- chore: change organisation name capitalisation by @DanielleHuisman in #145
- fix(deps): update rust crate tokio to v1.45.1 by @renovate in #146
- chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.12 by @renovate in #147
- feat: update to upstream @floating-ui/[email protected] by @github-actions in #148
- feat: update to upstream @floating-ui/[email protected] by @github-actions in #149
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
- fix(deps): update rust crate toml to v0.8.22 by @renovate in #137
- chore(deps): update leptos monorepo to 0.8.0 by @renovate in #138
- fix(deps): update rust crate tempfile to v3.20.0 by @renovate in #141
- fix(deps): update rust crate tokio to v1.45.0 by @renovate in #142
- fix(deps): update rust crate octocrab to v0.44.1 by @renovate in #140
- chore(deps): update leptos monorepo to v0.8.2 by @renovate in #139
- ci: pull after committing using GitHub API by @DanielleHuisman in #143
- chore: use workspace packages by @DanielleHuisman in #144
Full Changelog: v0.3.1...v0.4.0
v0.3.1
What's Changed
- fix(deps): update rust crate toml to v0.8.21 by @renovate in #134
- Update to upstream @floating-ui/[email protected] by @github-actions in #135
- Update to upstream @floating-ui/[email protected] by @github-actions in #136
Full Changelog: v0.2.2...v0.3.1
v0.3.0
What's Changed
- Update Rust crate tokio to v1.43.0 by @renovate in #94
- Update Rust crate serde_json to v1.0.135 by @renovate in #92
- Fix CI tests by temporarily downgrading to Ubuntu 22.04 by @DanielleHuisman in #109
- Update Rust crate tempfile to v3.17.0 by @renovate in #105
- Update Rust crate serde_json to v1.0.138 by @renovate in #97
- Update Rust crate semver to v1.0.25 by @renovate in #96
- Update Rust crate leptos-node-ref to 0.1.0 by @renovate in #108
- Update Rust crate log to v0.4.25 by @renovate in #95
- Update dependency prettier to v3.5.1 by @renovate in #106
- Update Rust crate strum to 0.27.0 by @renovate in #104
- Update Rust crate toml to v0.8.20 by @renovate in #103
- Update leptos monorepo to v0.7.7 by @renovate in #100
- Update dependency prettier-plugin-tailwindcss to v0.6.11 by @renovate in #99
- Update Rust crate octocrab to 0.43.0 - autoclosed by @renovate in #101
- Update Rust crate tailwind_fuse to v0.3.2 by @renovate in #98
- Update Rust crate convert_case to 0.7.0 by @renovate in #93
- Update Rust crate serde to v1.0.218 by @renovate in #111
- Update Rust crate serde_json to v1.0.139 by @renovate in #112
- Update Rust crate tempfile to v3.17.1 by @renovate in #113
- Update dependency prettier to v3.5.2 by @renovate in #114
- Update Rust crate log to v0.4.26 by @renovate in #110
- ci: use latest Ubuntu by @DanielleHuisman in #116
- chore(deps): update dependency prettier to v3.5.3 by @renovate in #118
- fix(deps): update rust crate convert_case to 0.8.0 by @renovate in #119
- chore(deps): update rust crate serde to v1.0.219 by @renovate in #120
- fix(deps): update rust crate tempfile to v3.18.0 by @renovate in #123
- fix(deps): update rust crate semver to v1.0.26 by @renovate in #122
- chore(deps): update rust crate serde_json to v1.0.140 by @renovate in #121
- fix(deps): update rust crate tokio to v1.44.0 by @renovate in #124
- fix(deps): update rust crate tempfile to v3.19.0 by @renovate in #126
- fix(deps): update rust crate tokio to v1.44.1 by @renovate in #125
- fix(deps): update rust crate tempfile to v3.19.1 by @renovate in #127
- fix(deps): update rust crate log to v0.4.27 by @renovate in #128
- fix(deps): update rust crate octocrab to 0.44.0 by @renovate in #129
- chore(deps): update pnpm/action-setup action to v4 by @renovate in #130
- chore: update Rust edition to 2024 by @DanielleHuisman in #131
- fix(deps): update rust crate tokio to v1.44.2 by @renovate in #132
Full Changelog: v0.2.1...v0.3.0
v0.2.2
v0.2.1
What's Changed
- Update dependency prettier to v3.4.2 by @renovate in #74
- Update dependency tailwindcss to v3.4.16 by @renovate in #75
- Update Rust crate tokio to v1.42.0 - autoclosed by @renovate in #76
- Update Rust crate semver to v1.0.24 by @renovate in #77
- Update Rust crate serde to v1.0.216 by @renovate in #78
- Update dependency tailwindcss to v3.4.17 by @renovate in #84
- Update Rust crate env_logger to v0.11.6 by @renovate in #80
- Update Rust crate serde_json to v1.0.134 - autoclosed by @renovate in #83
- Update Rust crate leptos_router to v0.7.2 by @renovate in #82
- Update Rust crate leptos to v0.7.2 - autoclosed by @renovate in #81
- Update Rust crate serde to v1.0.217 by @renovate in #85
- Update Rust crate tempfile to v3.15.0 by @renovate in #87
- Update leptos monorepo to v0.7.3 by @renovate in #86
- Update to upstream @floating-ui/[email protected] by @github-actions in #90
- Update to upstream @floating-ui/[email protected] by @github-actions in #88
- Update to upstream @floating-ui/[email protected] by @github-actions in #89
- Update to upstream @floating-ui/[email protected] by @github-actions in #91
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- Update actions/configure-pages action to v5 by @renovate in #65
- Update dependencies by @DanielleHuisman in #66
- Update Rust crate octocrab to 0.42.0 by @renovate in #62
- Update dependency prettier-plugin-tailwindcss to v0.6.8 by @renovate in #59
- Update dependency tailwindcss to v3.4.15 by @renovate in #60
- Update rust-wasm-bindgen monorepo by @renovate in #69
- Update Rust crate octocrab to v0.42.1 by @renovate in #67
- Update dependency prettier to v3.4.1 by @renovate in #72
- Update dependency prettier-plugin-tailwindcss to v0.6.9 by @renovate in #68
- Upgrade to Leptos v0.7 by @DanielleHuisman in #73
New Contributors
- @DanielleHuisman made their first contribution in #66
Full Changelog: v0.1.3...v0.2.0
Upgrade to Leptos v0.7
Node References
Install leptos-node-ref and replace the node references with AnyNodeRef:
- let reference_ref = NodeRef<Div>::new();
- let floating_ref = NodeRef<Div>::new();
- let arrow_ref = NodeRef<Div>::new();
+ use leptos_node_ref::AnyNodeRef;
+
+ let reference_ref = AnyNodeRef::new();
+ let floating_ref = AnyNodeRef::new();
+ let arrow_ref = AnyNodeRef::new();Reference
Remove .into_reference() from use_floating calls:
use_floating(
- reference_ref.into_reference(),
+ reference_ref,
floating_ref,
UseFloatingOptions::default(),
)Middleware
Install send_wrapper and wrap the middleware vector in SendWrapper:
+ use send_wrapper::SendWrapper;
let middleware: MiddlewareVec = vec![/* ... */];
use_floating(
reference_ref,
floating_ref,
UseFloatingOptions::default()
- .middleware(middleware.into()),
+ .middleware(SendWrapper::new(middleware).into()),
)