Skip to content

fix(deps): update rust crate floating-ui-leptos to 0.4.0 #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 23, 2024

This PR contains the following updates:

Package Type Update Change
floating-ui-leptos (source) dependencies minor 0.1.3 -> 0.4.0

Release Notes

RustForWeb/floating-ui (floating-ui-leptos)

v0.4.0

Compare Source

What's Changed

Full Changelog: RustForWeb/floating-ui@v0.3.1...v0.4.0

v0.3.1

Compare Source

What's Changed

Full Changelog: RustForWeb/floating-ui@v0.2.2...v0.3.1

v0.3.0

Compare Source

What's Changed

Full Changelog: RustForWeb/floating-ui@v0.2.1...v0.3.0

v0.2.2

Compare Source

Yanked due to SemVer breakage, see v0.3.0 instead.

v0.2.1

Compare Source

What's Changed

Full Changelog: RustForWeb/floating-ui@v0.2.0...v0.2.1

v0.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: RustForWeb/floating-ui@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()),
  )

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/floating-ui-leptos-0.x branch from 2d5222a to f871ca5 Compare January 28, 2025 13:47
@renovate renovate bot force-pushed the renovate/floating-ui-leptos-0.x branch from f871ca5 to 6ef1a3a Compare March 3, 2025 08:24
@renovate renovate bot force-pushed the renovate/floating-ui-leptos-0.x branch from 6ef1a3a to 4b7f321 Compare April 5, 2025 12:56
@renovate renovate bot changed the title Update Rust crate floating-ui-leptos to 0.2.0 fix(deps): update rust crate floating-ui-leptos to 0.2.0 Apr 5, 2025
@renovate renovate bot force-pushed the renovate/floating-ui-leptos-0.x branch from 4b7f321 to e24ddbb Compare April 16, 2025 22:09
@renovate renovate bot changed the title fix(deps): update rust crate floating-ui-leptos to 0.2.0 fix(deps): update rust crate floating-ui-leptos to 0.3.0 Apr 16, 2025
@renovate renovate bot force-pushed the renovate/floating-ui-leptos-0.x branch from e24ddbb to 7883acb Compare May 12, 2025 22:27
@renovate renovate bot changed the title fix(deps): update rust crate floating-ui-leptos to 0.3.0 fix(deps): update rust crate floating-ui-leptos to 0.4.0 May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants