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

fix(deps): bump @floating-ui/react-dom-interactions from 0.10.3 to 0.13.3 in /react #165

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2023

Bumps @floating-ui/react-dom-interactions from 0.10.3 to 0.13.3.

Release notes

Sourced from @​floating-ui/react-dom-interactions's releases.

@​floating-ui/react-dom-interactions@​0.13.3

Bug Fixes

  • fix(useHover): pointerType is sometimes returned as pen on Linux Chromium even while using a mouse, breaking mouseOnly: true and also delays (which are always 0 for non-mouse input). (#2016)

    There is also better fallback handling, whereby hover will forcefully work if pointerType can't reliably be determined by the browser.

  • fix(useFocus): pointerType ref getting unset during onPointerLeave with touch emulation, preventing keyboardOnly prop from reliably working. (#2016)

@​floating-ui/react-dom-interactions@​0.13.2

Bug Fixes

  • fix(useDismiss): ensure outsidePress is referentially stable if specifying a function (#2010)

    It caused the event listeners effect to cleanup then execute again on every render if you didn't use React.useCallback on the value, causing issues.

  • fix(FloatingFocusManager): return focus to reference element only in applicable cases (#2007)

  • fix(useFocus): block focus if floating element was dismissed via escape key (#2007)

@​floating-ui/react-dom-interactions@​0.13.1

Bug Fixes

  • fix(FloatingPortal): prevent breaking FloatingFocusManager's guards={false} prop if preserveTabOrder is set to true (the default) (#2002)

  • fix(useListNavigation): unset activeIndex if focus landed back on the reference while the floating element was open (#2006)

  • fix(build): externalize tabbable library from bundle (#2002)

@​floating-ui/react-dom-interactions@​0.13.0

New Features

  • feat(useDismiss): add two mechanisms to cancel an outsidePress dismissal (#1983)

    A custom guard to cancel the outside press if the event is inside a certain element:

    useDismiss(context, {
      // enabled, but can return false to cancel
      outsidePress: (event) => !event.target.closest('.toast'),
    });
  • For FloatingTrees, add the ability to register a node to a custom parentId, bypassing <FloatingNode /> lookups. A sibling floating element can mark itself as a child of another sibling despite not being inside its React tree. (#1983)

    const nodeId = useFloatingNodeId(customParentId);
  • feat(FloatingFocusManager): add visuallyHiddenDismiss option. In modal mode, this appends and/or prepends a visually hidden dismiss buttons for when an explicit close button is not available, e.g. a root Menu component or a portaled combobox’s listbox. This allows a floating component to be dismissed without the user needing to select anything when they do not have an esc key available. (#1985)

... (truncated)

Commits
  • d5e0bba chore(useHover): prettier
  • f6d520e fix(useFocus): switch to onMouseLeave to unset pointerRef
  • c370b90 fix(useHover): treat 'pen' pointerType like 'mouse' in useHover hook (#2016)
  • 1286784 fix: hover and focus openable navigation menu (#2007)
  • 4b5f4d6 fix(useDismiss): ensure outsidePress referential stability (#2010)
  • 5af251f fix(useListNavigation): unset activeIndex when shift+tab to reference (#2006)
  • 03a30e5 fix(FloatingPortal): guards prop (#2002)
  • b4a8fc5 fix: externalize tabbable lib
  • 5925f68 fix: check if brands is an array
  • 4bbf603 fix(useEvent): work around minifier bug (#1995)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@floating-ui/react-dom-interactions](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/react-dom-interactions) from 0.10.3 to 0.13.3.
- [Release notes](https://github.com/floating-ui/floating-ui/releases)
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/[email protected]/packages/react-dom-interactions)

---
updated-dependencies:
- dependency-name: "@floating-ui/react-dom-interactions"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file react labels Jan 8, 2023
@netlify
Copy link

netlify bot commented Jan 8, 2023

Deploy Preview for objective-bell-0ffbfb canceled.

Name Link
🔨 Latest commit 4384cc8
🔍 Latest deploy log https://app.netlify.com/sites/objective-bell-0ffbfb/deploys/63baf724b177520008ced31e

@mergify mergify bot merged commit 3344e1c into main Jan 8, 2023
@mergify mergify bot deleted the dependabot/npm_and_yarn/react/floating-ui/react-dom-interactions-0.13.3 branch January 8, 2023 17:06
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 react
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants