Skip to content
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

Update dependency @floating-ui/react to v0.26.24 #27996

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 3, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@floating-ui/react (source) 0.26.11 -> 0.26.24 age adoption passing confidence

Release Notes

floating-ui/floating-ui (@​floating-ui/react)

v0.26.24

Compare Source

Patch Changes
  • fix(FloatingOverlay): correct multiple locks behavior on iOS
  • fix(FloatingFocusManager): avoid returning focus to nearest tabbable element of the reference if it gets removed when the floating element closes to avoid unwanted focus effects of unrelated elements firing. Tab index context remains preserved if the floating element is portaled.
  • refactor: use React.JSX.Element types. Ensure you've upgraded to the latest @types/react patches (versions since May 6, 2023)
  • fix(FloatingArrow): avoid requiring leading space for manually specified transform style property
  • fix(inner): round maxHeight and apply minItemsVisible only when scrollable
  • Update dependencies: @floating-ui/react-dom@2.1.2, @floating-ui/utils@0.2.8

v0.26.23

Compare Source

Patch Changes
  • feat: add onOpenChange reason string for FloatingFocusManager's closeOnFocusOut handling
  • fix(inner): correctly handle borders
  • fix(FloatingArrow): ignore staticOffset prop if floating element is shifted. Fixes an issue where the arrow could potentially point to nothing if it was shifted enough from its reference element.
  • fix(useListNavigation, Composite): prevent onNavigate from potentially passing in an undefined value instead of null
  • fix(useHover): blockPointerEvents no longer adds pointer-events: none to unintended <body> elements.
  • fix: manage focus on element with floating props spread on it
  • fix(FloatingFocusManager): support keepMounted behavior with disabled prop

v0.26.22

Compare Source

Patch Changes
  • Update dependencies: @floating-ui/utils@0.2.7

v0.26.21

Compare Source

Patch Changes
  • Update dependencies: @floating-ui/utils@0.2.6

v0.26.20

Compare Source

Patch Changes
  • fix: wrap focus call in act in useFocus tests
  • fix: focus always mounted nested lists with listNavigation
  • fix(FloatingFocusManager): return focus to next tabbable after reference element if removed after floating element opens without other previously focused elements to use
  • fix(useListNavigation): avoid reading ref in render
  • Update dependencies: @floating-ui/utils@0.2.5

v0.26.19

Compare Source

Patch Changes
  • refactor: use scrollX/scrollY instead of deprecated pageXOffset/pageYOffset
  • chore: fix internal dependency versioning
  • Update dependencies: @floating-ui/utils@0.2.4

v0.26.18

Compare Source

Patch Changes
  • fix(useInteractions): split prop getter dependencies so that only the relevant element changes when necessary. Previously reference and floating prop getters had dependencies grouped.
  • fix(useFocus): prevent SyntheticEvent warning on React <17
  • fix(inner): allow to make Derivable
  • fix(FloatingFocusManager): correctly close floating element when tabbing out of a modal combobox reference
  • fix(types): export FloatingPortalProps, CompositeProps, CompositeItemProps
  • chore: fix internal deps
  • fix(FloatingArrow): allow close transitions to play on floating element when grouped in instant phase
  • fix(useHover): prevent unnecessary delayed opens to preserve potential click open events. Fixes an issue when combining useHover and useClick hooks and a click occurred before the floating element could open on hover, it would unexpectedly close on mouseleave despite being triggered by a click.
  • refactor: improve types and internal codebase consistency. All documented types are now exported.
  • Update dependencies: @floating-ui/utils@0.2.3

v0.26.17

Compare Source

Patch Changes
  • fix(FloatingFocusManager): place fallback focus on element with floating props
  • feat(FloatingFocusManager): restoreFocus prop. This enables automatic restoration of focus to the nearest tabbable element if the element that currently has focus inside the floating element is removed from the DOM.
  • fix(useHover): fix restMs options throwing SyntheticEvent warning on React < 17

v0.26.16

Compare Source

Patch Changes
  • fix(useListNavigation): correct scrollIntoView and focus behavior with virtual focus and inner DOM-focused element + FloatingList
  • fix(FloatingPortal): prevent undefined id with unconditional rendering in React <18
  • fix(useListNavigation): prevent selectedIndex changes from stealing focus
  • fix(FloatingDelayGroup): prevent hydration error with Suspense
  • fix(useListNavigation, Composite): correct index calculations for grid navigation with nullish and disabled items when disabledIndices is inferred
  • perf(markOthers): avoid applying attributes to script tags needlessly
  • Update dependencies: @floating-ui/react-dom@2.1.0

v0.26.15

Compare Source

Patch Changes
  • fix(useTransitionStatus): guard isMounted check and remove unneeded initiated state. Prevents an infinite loop when called in a component with an unstable callback ref.

v0.26.14

Compare Source

Patch Changes
  • feat: add useFloatingRootContext Hook, which enables calling interaction hooks in a component higher in the tree than useFloating is called in. This supports spreading reference props onto an "external" reference element.

v0.26.13

Compare Source

Patch Changes
  • fix(FloatingFocusManager): return focus to reference when applicable even if not focused on open
  • fix(types): simplify React types
  • fix(types): replace React_2 with React in generated .d.ts files
  • fix(types): revert React.JSX.Element back to JSX.Element
  • fix(useHover): restMs + nullish open delay should respect restMs

v0.26.12

Compare Source

Patch Changes
  • fix(useFloating): external element synchronization with domReference and positionReference
  • fix(useFloating): set dataRef openEvent property to undefined on close. Fixes a minor issue when useHover restMs is combined with useClientPoint and focus modality was used before hover modality.
  • fix(useId): avoid import error in new bundlers when using React <18, and also ensure id collisions don't occur when multiple independent versions of Floating UI are used with React <18.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 added Dependencies Pull requests that update a dependency file T-Task Tasks for the team like planning labels Sep 3, 2024
@CLAassistant
Copy link

CLAassistant commented Sep 6, 2024

CLA assistant check
All committers have signed the CLA.

@renovate renovate bot changed the title Update dependency @floating-ui/react to v0.26.23 Update dependency @floating-ui/react to v0.26.24 Sep 18, 2024
@renovate renovate bot force-pushed the renovate/resolutions branch 2 times, most recently from da32f95 to 159e47c Compare September 24, 2024 12:53
@renovate renovate bot force-pushed the renovate/resolutions branch 3 times, most recently from 087694c to 8db3557 Compare October 15, 2024 14:38
@renovate renovate bot changed the title Update dependency @floating-ui/react to v0.26.24 Update dependency @floating-ui/react to v0.26.25 Oct 15, 2024
@renovate renovate bot changed the title Update dependency @floating-ui/react to v0.26.25 Update dependency @floating-ui/react to v0.26.24 Oct 16, 2024
@t3chguy
Copy link
Member

t3chguy commented Oct 16, 2024

Blocked until React 18

@t3chguy t3chguy closed this Oct 16, 2024
Copy link
Contributor Author

renovate bot commented Oct 16, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.26.24). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/resolutions branch October 16, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants