[Snyk] Upgrade @headlessui/react from 2.0.4 to 2.1.2 #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Fixed
ListboxOptions
(#3337)unmount
onDialog
works in combination with thetransition
prop onDialogBackdrop
andDialogPanel
components (#3352)Combobox
component when invirtual
mode when options are empty (#3356)anchor
prop (#3357)transition
andfocus
prop combination forPopoverPanel
component (#3361)Popover
components (#3362)Dialog
component (#3365)flushSync
warning forCombobox
component withimmediate
prop enabled (#3366)Fixed
anchor="selection"
positioning (#3324)ComboboxOptions
to useany
instead ofunknown
(#3327)Transition
boundary forDialog
component (#3331)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
Dialog
components at once (without nesting them) (#3242)DialogBackdrop
component (#3307, #3310)PopoverBackdrop
component to replacePopoverOverlay
(#3308)Fixed
Combobox
open when clicking scrollbar inComboboxOptions
(#3249)ComboboxInput
does not sync with current value while typing (#3259)Combobox
component when using native scrollbar (#3190)ComboboxOptions
while closing (#3304)style
prop onComboboxOptions
,ListboxOptions
,MenuItems
, andPopoverPanel
components (#3250)Checkbox
when it isdisabled
(#3251)useId
instead of React internals (for React 19 compatibility) (#3254)Transition
andTransitionChild
components (#3303)Changed
Tab
andShift+Tab
keys when theListbox
component is open (#3284)Fixed
Escape
to close theDialog
component (#3218)virtual
and non-virtual mode inCombobox
component (#3236)PopoverPanel
component moves focus inside (without usingPortalGroup
) (#3239)defaultValue
is used (#3240)Deprecated
SwitchGroup
as deprecated, preferField
instead (#3232)Changed
fieldset
instead ofdiv
by default forFieldset
component (#3237)Important
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: