-
Notifications
You must be signed in to change notification settings - Fork 4
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): update dependency @headlessui/react to v2 #1905
base: main
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is telemetry?This package contains telemetry which tracks how it is used. Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
This PR contains the following updates:
^1.7.3
->^2.0.0
^1.7.4
->^2.0.0
Release Notes
tailwindlabs/headlessui (@headlessui/react)
v2.2.0
Compare Source
Added
v2.1.10
Compare Source
Fixed
React.JSX
instead of deprecated globalJSX
(#3511)ListboxOptions
when usingas={Fragment}
(#3513)v2.1.9
Compare Source
Fixed
Element
is available before polyfilling to prevent crashes in non-browser environments (#3493)instanceof HTMLElement
in some environments (#3494)process
in Combobox component when using virtualization (#3495)v2.1.8
Compare Source
Fixed
as={Fragment}
onMenuButton
,ListboxButton
,DisclosureButton
orButton
components (#3478)v2.1.7
Compare Source
Fixed
Element.prototype.getAnimations
is not available (#3473)v2.1.6
Compare Source
Fixed
ListboxOptions
being incorrectly marked asinert
(#3466)DisclosureButton
inside of aDisclosurePanel
when theDisclosure
is open by default (#3465)v2.1.5
Compare Source
Fixed
PopoverButton
in rapid succession (#3452)v2.1.4
Compare Source
Fixed
transition
prop (#3448)v2.1.3
Compare Source
Fixed
Transition
component state doesn't change when it becomes hidden (#3372)transition
prop, and after scrolling the page (#3407)v2.1.2
Compare Source
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)v2.1.1
Compare Source
Fixed
anchor="selection"
positioning (#3324)ComboboxOptions
to useany
instead ofunknown
(#3327)Transition
boundary forDialog
component (#3331)v2.1.0
Compare Source
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)v2.0.4
Compare Source
Fixed
Escape
to close theDialog
component (#3218)virtual
and non-virtual mode inCombobox
component (#3236)<PopoverPanel>
component moves focus inside (without using<PortalGroup>
) (#3239)defaultValue
is used (#3240)Deprecated
SwitchGroup
as deprecated, preferField
instead (#3232)Changed
fieldset
instead ofdiv
by default for<Fieldset />
component (#3237)v2.0.3
Compare Source
Fixed
<Combobox>
works (#3182)v2.0.2
Compare Source
Fixed
useInertOthers
hook (#3181)v2.0.1
Compare Source
Fixed
<DialogPanel>
and<DialogTitle>
(#3176)v2.0.0
Compare Source
Added
Checkbox
component (#2887, #2962)Button
component (#2887)Input
component (#2887, #2902, #2940)Textarea
component (#2887, #2902, #2940)Select
component (#2887, #2902)Fieldset
andLegend
components (#2887)Field
,Label
, andDescription
components (#2887, #2941)MenuSection
,MenuHeading
, andMenuSeparator
components (#2887)ListboxSelectedOption
component (#2887)DataInteractive
component (#2887)CloseButton
component anduseClose
hook (#3096)anchor
,modal
, andportal
props toCombobox
,Listbox
,Menu
andPopover
components (#2887, #3075, #3097, #3111, #3115, #3121, #3124, #3133, #3138, #3148, #3152, #3154, #3157)autoFocus
prop to focusable components (#2887)virtual
prop toCombobox
component (#2779, #3128, #3160, #3161, #3163)onClose
prop toCombobox
component (#3122)immediate
prop toCombobox
for immediately opening the Combobox when theinput
receives focus (#2686)--button-width
CSS variable on theListboxOptions
,MenuItems
, andPopoverPanel
components (#2887, #3058)--input-width
and--button-width
CSS variables on theComboboxOptions
component (#3057)data-*
attributes as an alternative to the existingdata-headlessui-state
attribute (#2887, #3035, #3061)Fixed
disabled
oraria-disabled
attributes (#2890)displayValue
callback inComboboxInput
component (#3048)multiple
prop inCombobox
component (#3099)ComboboxInput
component (#3065, #3073)Transition
component (#3074)ListboxOptions
andMenuItems
components (#3112)Dialog
component (#2889)touchmove
oninput
elements inside a dialog (#3166)Changed
Checkbox
,Switch
, andRadioGroup
components (#3095)RadioGroup.Option
component in favor of newRadio
component (#2887)ListboxOptions
,ListboxOption
,ComboboxOptions
,ComboboxOption
, andTabGroup
components (#3109)div
toFragment
onTransition
components (#3110, #3147)Combobox
component to have anull
value (#3064, #3100)ListboxButton
component (#2972)entered
prop on theTransition
component (#3089)ComboboxOptions
component (#3126)DialogBackdrop
andDialogOverlay
components (#3171)v1.7.19
Compare Source
Fixed
disabled
state on<Tab />
component (#2918)Dialog.Panel
(#2919)hidden
attribute to internal<Hidden />
component when theFeatures.Hidden
feature is used (#2955)tabIndex
on the<Switch />
component (#2966)disabled
state to hidden inputs in form-like components (#3004)selectedIndex
for controlled<Tab/>
components (#3037)v1.7.18
Compare Source
Fixed
<Dialog>
'sonClose
twice on mobile devices (#2690)<Dialog>
(#2697)Tab.Panel
components are hidden from the accessibility tree (#2708)role="alertdialog"
to<Dialog>
component (#2709)Combobox.Input
component closes theCombobox
(#2712)className
prop when the<Transition />
component is currently not transitioning (#2722)<Disclosure.Panel>
and<Popover.Panel>
whenas={Fragment}
(#2760)Listbox
component in Chrome (#2824)v1.7.17
Compare Source
Fixed
<Listbox multiple>
and<Combobox multiple>
(#2626)<MainTreeNode />
inPopover.Group
component only (#2634)Dialog
components on iOS (#2635)<Tab />
components are available when setting the next index (#2642)Combobox.Input
component on page load (#2654)appear
works using theTransition
component (even when used with SSR) (#2646)nullable
prop on theCombobox
component (#2660)<Suspense>
(#2663)v1.7.16
Compare Source
Fixed
Combobox.Input
value (#2568)aria-expanded
purely based on the open/closed state (#2610)Enter
even if no submit-like button was found (#2613)v1.7.15
Compare Source
Added
Menu
andPopover
components (#2448)Fixed
FocusTrap
is only active when the givenenabled
value istrue
(#2456)<Transition appear>
from overwriting classes on re-render (#2457)Menu
andListbox
options while searching (#2471)Portal
component, does not close thePopover
component (#2492)Changed
types
condition to the front (#2469)v1.7.14
Compare Source
Fixed
Transition
component (#2374)FocusTrap
event listeners once document has loaded (#2389)className
hydration for<Transition appear>
(#2390)Combobox
types to improve false positives (#2411)className
correctly when it’s a function (#2412)<Combobox.Input>
(#2426)Added
form
prop to form-like components such asRadioGroup
,Switch
,Listbox
, andCombobox
(#2356)v1.7.13
Compare Source
Fixed
Transition
component completes if nothing is transitioning (#2318)<Switch>
where possible (#2265)Dialog
component in theFocusTrap
component (#2322)XYZPropsWeControl
and cleanup internal TypeScript types (#2329)Popover.Button
components inside aPopover.Panel
(#2333)Dialog
component closes (#2326)v1.7.12
Compare Source
Added
Fixed
Dialog
components are marked asinert
(#2290)Popover
components not opening (#2293)Dialog
cleanup when theDialog
becomes hidden (#2303)v1.7.11
Compare Source
Fixed
null
values for thedataRef
correctly (#2258)aria-multiselectable
to[role=listbox]
in theCombobox
component (#2271)Combobox.Input
when aCombobox.Option
is selected (#2272)activeOptionIndex
if the active option is unmounted (#2274)Ref
type for forwardedSwitch
's ref (#2277)Dialog
component when going into theClosing
state (#2264)v1.7.10
Compare Source
Fixed
import * as React from 'react'
pattern (#2242)v1.7.9
Compare Source
Fixed
Suspense
boundary received an update before it finished hydrating" error in theDisclosure
component (#2238)import * as React from 'react'
pattern (#2242)v1.7.8
Compare Source
Fixed
Tab
(after DOM order changes) (#2145)<Popover.Button>
components (#2146)Tab
key with non focusable elements inPopover.Panel
(#2147)<Popover.Button />
in React 17 (#2163)failed to removeChild on Node
bug (#2164)Combobox
accessibility (#2153)headlessuiFocusGuard
ofrelatedTarget
in theFocusTrap
component (#2203)FocusTrap
inDialog
when there is only 1 focusable element (#2172)Tabs
wrapping around when controlling the component and overflowing theselectedIndex
(#2213)shadow-root
bug closingDialog
containers (#2217)Added
tabIndex
on theTab.Panel
(#2214)v1.7.7
Compare Source
Fixed
Dialog
closes (b20e48dd)v1.7.6
Compare Source
Fixed
displayValue
crashes (#2087)displayValue
syncing whenCombobox.Input
is unmounted and re-mounted in different trees (#2090)v1.7.5
Compare Source
Fixed
<form>
resets (#2004)<Popover.Button />
multiple times (#2007)focus
is going towindow
(#2019)shift+home
andshift+end
works as expected in theCombobox.Input
component (#2024)Combobox.Input
value (#2042)multiple
mode withoutvalue
prop (uncontrolled) forListbox
andCombobox
components (#2058)enter
andenterFrom
classes in SSR forTransition
component (#2059)id
prop (#2060)Dialog
unmounting problem due to incorrecttransitioncancel
event in theTransition
component on Android (#2071)v1.7.4
Compare Source
Fixed
<Popover.Button as={Fragment} />
crash (#1889)close
function forMenu
andMenu.Item
components (#1897)useOutsideClick
, add improvements for ShadowDOM (#1914)<Combobox.Input>
'sonChange
handler when changing the value internally (#1916)client-only
to mark everything as client components (#1981)Added
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.