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.1.0 to 2.1.2 #58

Closed

Conversation

PetersonGuo
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @headlessui/react from 2.1.0 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 2 versions ahead of your current version.

  • The recommended version was released on a month 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)
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.1.0 to 2.1.2.

See this package in npm:
@headlessui/react

See this project in Snyk:
https://app.snyk.io/org/peterson120/project/4c4ebc57-dd11-4a96-877b-856b3d35320d?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Aug 20, 2024

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

Name Status Preview Comments Updated (UTC)
petersonguo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 20, 2024 0:03am

@PetersonGuo PetersonGuo deleted the snyk-upgrade-b12448974841b75997a57b8e2199a10e branch September 19, 2024 04:22
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