floating-ui

A JavaScript library to position floating elements and create interactions for them.

MIT License

Downloads
202.3M
Stars
28.6K
Committers
104

Bot releases are visible (Hide)

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 9 months ago

Minor Changes

Patch Changes

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 7d201f7: fix: check for virtual elements when measuring
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • de70c04: fix: change isComponentPublicInstance implementation
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • c9c5058: fix(useListNavigation): sync internal indexRef to selectedIndex on open. Fixes an issue where if selectedIndex changed after initial render before opening, activeIndex would not be correctly synced.
  • 8b3c93b: fix(utils): check if env is JSDOM for isVirtualPointerEvent. Fixes issue when testing visibleOnly prop in useFocus.
  • Updated dependencies [d3a773b]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • d3a773b: fix: make whileElementsMounted reactive with respect to changing from a function to undefined
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • d824150: chore: add license field to package.json
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 180d1ad: fix: devtools controller emits event once the selected element is removed
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Minor Changes

  • 3d0368e: feat!: introduce serialized data as an array
floating-ui - @floating-ui/[email protected]

Published by atomiks 10 months ago

Patch Changes

  • fix: remove react peer dependency
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 4c04669: chore: export .d.mts types, solves #2472
  • 62a5242: fix: do not throw when component type reference or floating renders nothing
  • Updated dependencies [afb7e5e]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 4c04669: chore: export .d.mts types, solves #2472
  • Updated dependencies [4c04669]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Minor Changes

  • afb7e5e: chore(utils): remove /react path

Patch Changes

  • 4c04669: chore: export .d.mts types, solves #2472
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 4c04669: chore: export .d.mts types, solves #2472
  • Updated dependencies [0d18e37]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 672e458: feat(useListNavigation, Composite): support grid navigation over items with variable sizes
  • 4c04669: chore: export .d.mts types, solves #2472
  • 6af9808: fix(react/utils): cross-browser isVirtualPointerEvent issues
  • Updated dependencies [afb7e5e]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 4c04669: chore: export .d.mts types, solves #2472
  • 0d18e37: refactor: avoid $ property appearing in rects dimensions
  • Updated dependencies [afb7e5e]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 4c04669: chore: remove repeated code between devtools & extension
  • 4c04669: chore: export .d.mts types, solves #2472
  • Updated dependencies [0d18e37]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 4c04669: chore: export .d.mts types, solves #2472
  • Updated dependencies [afb7e5e]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 7dc269cf: feat(useRole): add select and combobox component roles and allow
    dynamic/derivable item props based on active and selected states. Also
    adds menuitem role for nested menu reference elements, and automatically
    adds an id to the item props for the new component roles for virtual focus.
  • d9be2481: fix(useListNavigation): apply aria-activedescendant prop on
    floating element only for non typeable-combobox reference elements. Fixes
    issues with Firefox VoiceOver on Mac forcing DOM focus into the listbox.
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 23f32f5d: fix(types): avoid ts 4.2+ syntax
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 88bf9768: fix(offset): avoid doubling calculation on same placement reset when
    arrow changes alignment of floating element