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

[Snyk] Upgrade @headlessui/react from 2.0.4 to 2.1.2 #6

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

Conversation

Ashon-G
Copy link
Owner

@Ashon-G Ashon-G commented Jul 27, 2024

snyk-top-banner

Snyk has created this PR to upgrade @headlessui/react from 2.0.4 to 2.1.2.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 3 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Release notes
Package name: @headlessui/react
  • 2.1.2 - 2024-07-05

    Fixed

    • Fix prematurely added anchoring styles on ListboxOptions (#3337)
    • Ensure unmount on Dialog works in combination with the transition prop on DialogBackdrop and DialogPanel components (#3352)
    • Fix crash in Combobox component when in virtual mode when options are empty (#3356)
    • Fix hanging tests when using anchor prop (#3357)
    • Fix transition and focus prop combination for PopoverPanel component (#3361)
    • Fix outside click in nested portalled Popover components (#3362)
    • Fix restoring focus to correct element when closing Dialog component (#3365)
    • Fix flushSync warning for Combobox component with immediate prop enabled (#3366)
  • 2.1.1 - 2024-06-26

    Fixed

    • Fix issues spreading omitted props onto components (#3313)
    • Fix initial anchor="selection" positioning (#3324)
    • Fix render prop in ComboboxOptions to use any instead of unknown (#3327)
    • Fix incorrect Transition boundary for Dialog component (#3331)
  • 2.1.0 - 2024-06-21

    Headless UI v2.1

    We just released Headless UI v2.1 for React, which dramatically simplifies our transition APIs and adds support for rendering multiple dialogs as siblings. See our announcement blog to learn more.

    Changelog

    Added

    • Add ability to render multiple Dialog components at once (without nesting them) (#3242)
    • Add new data-attribute-based transition API (#3273, #3285, #3307, #3309, #3312)
    • Add DialogBackdrop component (#3307, #3310)
    • Add PopoverBackdrop component to replace PopoverOverlay (#3308)

    Fixed

    • Keep Combobox open when clicking scrollbar in ComboboxOptions (#3249)
    • Ensure ComboboxInput does not sync with current value while typing (#3259)
    • Fix visual jitter in Combobox component when using native scrollbar (#3190)
    • Improve UX by freezing ComboboxOptions while closing (#3304)
    • Merge incoming style prop on ComboboxOptions, ListboxOptions, MenuItems, and PopoverPanel components (#3250)
    • Prevent focus on Checkbox when it is disabled (#3251)
    • Use useId instead of React internals (for React 19 compatibility) (#3254)
    • Cancel outside click behavior on touch devices when scrolling (#3266)
    • Correctly apply conditional classes when using Transition and TransitionChild components (#3303)

    Changed

    • Allow using the Tab and Shift+Tab keys when the Listbox component is open (#3284)
  • 2.0.4 - 2024-05-24

    Fixed

    • [internal] Don’t set a focus fallback for Dialog’s in demo mode (#3194)
    • Ensure page doesn't scroll down when pressing Escape to close the Dialog component (#3218)
    • Fix crash when toggling between virtual and non-virtual mode in Combobox component (#3236)
    • Ensure tabbing to a portalled PopoverPanel component moves focus inside (without using PortalGroup) (#3239)
    • Only handle form reset when defaultValue is used (#3240)

    Deprecated

    • Mark SwitchGroup as deprecated, prefer Field instead (#3232)

    Changed

    • Use native fieldset instead of div by default for Fieldset component (#3237)
from @headlessui/react GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @headlessui/react from 2.0.4 to 2.1.2.

See this package in npm:
@headlessui/react

See this project in Snyk:
https://app.snyk.io/org/vashong-UUaLwaEU2ZwFB7gFVFJk2n/project/d724d36b-0d35-4b77-b3be-2884d1f942e7?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Jul 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bizzy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 27, 2024 9:46am

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.

2 participants