Skip to content

Releases: RustForWeb/floating-ui

v0.2.1

08 Jan 10:21
c857d62
Compare
Choose a tag to compare

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/utils@0.2.9 by @github-actions in #90
  • Update to upstream @floating-ui/core@1.6.9 by @github-actions in #88
  • Update to upstream @floating-ui/dom@1.6.13 by @github-actions in #89
  • Update to upstream @floating-ui/vue@1.1.6 by @github-actions in #91

Full Changelog: v0.2.0...v0.2.1

v0.2.0

07 Dec 19:11
Compare
Choose a tag to compare

What's Changed

New Contributors

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()),
  )

v0.1.3

03 Nov 18:49
Compare
Choose a tag to compare

What's Changed

  • Update to upstream @floating-ui/dom@1.6.12 by @github-actions in #49

Full Changelog: v0.1.2...v0.1.3

v0.1.2

25 Sep 10:36
Compare
Choose a tag to compare

What's Changed

  • Update to upstream @floating-ui/utils@0.2.8 by @github-actions in #45
  • Update to upstream @floating-ui/core@1.6.8 by @github-actions in #43
  • Update to upstream @floating-ui/dom@1.6.11 by @github-actions in #44
  • Update to upstream @floating-ui/vue@1.1.5 by @github-actions in #46

Full Changelog: v0.1.1...v0.1.2

v0.1.1

25 Sep 10:33
3779a72
Compare
Choose a tag to compare

Full Changelog: v0.1.0...v0.1.1

v0.1.0

25 Sep 10:32
04168f7
Compare
Choose a tag to compare

What's Changed

  • Update dependency prettier to v3.3.1 by @renovate in #18
  • Update dependency prettier to v3.3.2 by @renovate in #19
  • Update to upstream @floating-ui/utils@0.2.3 by @github-actions in #22
  • Update to upstream @floating-ui/core@1.6.3 by @github-actions in #20
  • Update to upstream @floating-ui/vue@1.0.7 by @github-actions in #23
  • Update to upstream @floating-ui/dom@1.6.6 by @github-actions in #21
  • Update to upstream @floating-ui/utils@0.2.4 by @github-actions in #27
  • Update to upstream @floating-ui/dom@1.6.7 by @github-actions in #26
  • Update to upstream @floating-ui/core@1.6.4 by @github-actions in #25
  • Update to upstream @floating-ui/vue@1.1.0 by @github-actions in #28
  • Update to upstream @floating-ui/vue@1.1.1 by @github-actions in #29
  • Update to upstream @floating-ui/utils@0.2.5 by @github-actions in #32
  • Update to upstream @floating-ui/core@1.6.5 by @github-actions in #30
  • Update to upstream @floating-ui/dom@1.6.8 by @github-actions in #31
  • Update to upstream @floating-ui/vue@1.1.2 by @github-actions in #33
  • Update to upstream @floating-ui/utils@0.2.6 by @github-actions in #36
  • Update to upstream @floating-ui/core@1.6.6 by @github-actions in #34
  • Update to upstream @floating-ui/dom@1.6.9 by @github-actions in #35
  • Update to upstream @floating-ui/vue@1.1.3 by @github-actions in #37
  • Update to upstream @floating-ui/utils@0.2.7 by @github-actions in #40
  • Update to upstream @floating-ui/core@1.6.7 by @github-actions in #38
  • Update to upstream @floating-ui/dom@1.6.10 by @github-actions in #39
  • Update to upstream @floating-ui/vue@1.1.4 by @github-actions in #41

New Contributors

Full Changelog: v0.0.9...v0.1.0

v0.0.9

05 Jun 08:31
Compare
Choose a tag to compare

What's Changed

  • Update to upstream @floating-ui/core@1.6.1 by @github-actions in #9
  • Update to upstream @floating-ui/utils@0.2.2 by @github-actions in #11
  • Update to upstream @floating-ui/dom@1.6.4 by @github-actions in #10
  • Update to upstream @floating-ui/dom@1.6.5 by @github-actions in #15
  • Update to upstream @floating-ui/core@1.6.2 by @github-actions in #16
  • Add support for Leptos stable by @zakstucke in #17

Full Changelog: v0.0.8...v0.0.9

v0.0.8

27 Apr 09:32
Compare
Choose a tag to compare

Full Changelog: v0.0.7...v0.0.8

v0.0.7

27 Apr 09:32
Compare
Choose a tag to compare

Full Changelog: v0.0.6...v0.0.7

v0.0.6

27 Apr 09:32
Compare
Choose a tag to compare

Full Changelog: v0.0.5...v0.0.6