fix(deps): update dependency @headlessui/react to v2#1905
fix(deps): update dependency @headlessui/react to v2#1905renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
|
🚨 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.0Release Notes
tailwindlabs/headlessui (@headlessui/react)
v2.2.0Compare Source
Added
v2.1.10Compare Source
Fixed
React.JSXinstead of deprecated globalJSX(#3511)ListboxOptionswhen usingas={Fragment}(#3513)v2.1.9Compare Source
Fixed
Elementis available before polyfilling to prevent crashes in non-browser environments (#3493)instanceof HTMLElementin some environments (#3494)processin Combobox component when using virtualization (#3495)v2.1.8Compare Source
Fixed
as={Fragment}onMenuButton,ListboxButton,DisclosureButtonorButtoncomponents (#3478)v2.1.7Compare Source
Fixed
Element.prototype.getAnimationsis not available (#3473)v2.1.6Compare Source
Fixed
ListboxOptionsbeing incorrectly marked asinert(#3466)DisclosureButtoninside of aDisclosurePanelwhen theDisclosureis open by default (#3465)v2.1.5Compare Source
Fixed
PopoverButtonin rapid succession (#3452)v2.1.4Compare Source
Fixed
transitionprop (#3448)v2.1.3Compare Source
Fixed
Transitioncomponent state doesn't change when it becomes hidden (#3372)transitionprop, and after scrolling the page (#3407)v2.1.2Compare Source
Fixed
ListboxOptions(#3337)unmountonDialogworks in combination with thetransitionprop onDialogBackdropandDialogPanelcomponents (#3352)Comboboxcomponent when invirtualmode when options are empty (#3356)anchorprop (#3357)transitionandfocusprop combination forPopoverPanelcomponent (#3361)Popovercomponents (#3362)Dialogcomponent (#3365)flushSyncwarning forComboboxcomponent withimmediateprop enabled (#3366)v2.1.1Compare Source
Fixed
anchor="selection"positioning (#3324)ComboboxOptionsto useanyinstead ofunknown(#3327)Transitionboundary forDialogcomponent (#3331)v2.1.0Compare Source
Added
Dialogcomponents at once (without nesting them) (#3242)DialogBackdropcomponent (#3307, #3310)PopoverBackdropcomponent to replacePopoverOverlay(#3308)Fixed
Comboboxopen when clicking scrollbar inComboboxOptions(#3249)ComboboxInputdoes not sync with current value while typing (#3259)Comboboxcomponent when using native scrollbar (#3190)ComboboxOptionswhile closing (#3304)styleprop onComboboxOptions,ListboxOptions,MenuItems, andPopoverPanelcomponents (#3250)Checkboxwhen it isdisabled(#3251)useIdinstead of React internals (for React 19 compatibility) (#3254)TransitionandTransitionChildcomponents (#3303)Changed
TabandShift+Tabkeys when theListboxcomponent is open (#3284)v2.0.4Compare Source
Fixed
Escapeto close theDialogcomponent (#3218)virtualand non-virtual mode inComboboxcomponent (#3236)<PopoverPanel>component moves focus inside (without using<PortalGroup>) (#3239)defaultValueis used (#3240)Deprecated
SwitchGroupas deprecated, preferFieldinstead (#3232)Changed
fieldsetinstead ofdivby default for<Fieldset />component (#3237)v2.0.3Compare Source
Fixed
<Combobox>works (#3182)v2.0.2Compare Source
Fixed
useInertOthershook (#3181)v2.0.1Compare Source
Fixed
<DialogPanel>and<DialogTitle>(#3176)v2.0.0Compare Source
Added
Checkboxcomponent (#2887, #2962)Buttoncomponent (#2887)Inputcomponent (#2887, #2902, #2940)Textareacomponent (#2887, #2902, #2940)Selectcomponent (#2887, #2902)FieldsetandLegendcomponents (#2887)Field,Label, andDescriptioncomponents (#2887, #2941)MenuSection,MenuHeading, andMenuSeparatorcomponents (#2887)ListboxSelectedOptioncomponent (#2887)DataInteractivecomponent (#2887)CloseButtoncomponent anduseClosehook (#3096)anchor,modal, andportalprops toCombobox,Listbox,MenuandPopovercomponents (#2887, #3075, #3097, #3111, #3115, #3121, #3124, #3133, #3138, #3148, #3152, #3154, #3157)autoFocusprop to focusable components (#2887)virtualprop toComboboxcomponent (#2779, #3128, #3160, #3161, #3163)onCloseprop toComboboxcomponent (#3122)immediateprop toComboboxfor immediately opening the Combobox when theinputreceives focus (#2686)--button-widthCSS variable on theListboxOptions,MenuItems, andPopoverPanelcomponents (#2887, #3058)--input-widthand--button-widthCSS variables on theComboboxOptionscomponent (#3057)data-*attributes as an alternative to the existingdata-headlessui-stateattribute (#2887, #3035, #3061)Fixed
disabledoraria-disabledattributes (#2890)displayValuecallback inComboboxInputcomponent (#3048)multipleprop inComboboxcomponent (#3099)ComboboxInputcomponent (#3065, #3073)Transitioncomponent (#3074)ListboxOptionsandMenuItemscomponents (#3112)Dialogcomponent (#2889)touchmoveoninputelements inside a dialog (#3166)Changed
Checkbox,Switch, andRadioGroupcomponents (#3095)RadioGroup.Optioncomponent in favor of newRadiocomponent (#2887)ListboxOptions,ListboxOption,ComboboxOptions,ComboboxOption, andTabGroupcomponents (#3109)divtoFragmentonTransitioncomponents (#3110, #3147)Comboboxcomponent to have anullvalue (#3064, #3100)ListboxButtoncomponent (#2972)enteredprop on theTransitioncomponent (#3089)ComboboxOptionscomponent (#3126)DialogBackdropandDialogOverlaycomponents (#3171)v1.7.19Compare Source
Fixed
disabledstate on<Tab />component (#2918)Dialog.Panel(#2919)hiddenattribute to internal<Hidden />component when theFeatures.Hiddenfeature is used (#2955)tabIndexon the<Switch />component (#2966)disabledstate to hidden inputs in form-like components (#3004)selectedIndexfor controlled<Tab/>components (#3037)v1.7.18Compare Source
Fixed
<Dialog>'sonClosetwice on mobile devices (#2690)<Dialog>(#2697)Tab.Panelcomponents are hidden from the accessibility tree (#2708)role="alertdialog"to<Dialog>component (#2709)Combobox.Inputcomponent closes theCombobox(#2712)classNameprop when the<Transition />component is currently not transitioning (#2722)<Disclosure.Panel>and<Popover.Panel>whenas={Fragment}(#2760)Listboxcomponent in Chrome (#2824)v1.7.17Compare Source
Fixed
<Listbox multiple>and<Combobox multiple>(#2626)<MainTreeNode />inPopover.Groupcomponent only (#2634)Dialogcomponents on iOS (#2635)<Tab />components are available when setting the next index (#2642)Combobox.Inputcomponent on page load (#2654)appearworks using theTransitioncomponent (even when used with SSR) (#2646)nullableprop on theComboboxcomponent (#2660)<Suspense>(#2663)v1.7.16Compare Source
Fixed
Combobox.Inputvalue (#2568)aria-expandedpurely based on the open/closed state (#2610)Entereven if no submit-like button was found (#2613)v1.7.15Compare Source
Added
MenuandPopovercomponents (#2448)Fixed
FocusTrapis only active when the givenenabledvalue istrue(#2456)<Transition appear>from overwriting classes on re-render (#2457)MenuandListboxoptions while searching (#2471)Portalcomponent, does not close thePopovercomponent (#2492)Changed
typescondition to the front (#2469)v1.7.14Compare Source
Fixed
Transitioncomponent (#2374)FocusTrapevent listeners once document has loaded (#2389)classNamehydration for<Transition appear>(#2390)Comboboxtypes to improve false positives (#2411)classNamecorrectly when it’s a function (#2412)<Combobox.Input>(#2426)Added
formprop to form-like components such asRadioGroup,Switch,Listbox, andCombobox(#2356)v1.7.13Compare Source
Fixed
Transitioncomponent completes if nothing is transitioning (#2318)<Switch>where possible (#2265)Dialogcomponent in theFocusTrapcomponent (#2322)XYZPropsWeControland cleanup internal TypeScript types (#2329)Popover.Buttoncomponents inside aPopover.Panel(#2333)Dialogcomponent closes (#2326)v1.7.12Compare Source
Added
Fixed
Dialogcomponents are marked asinert(#2290)Popovercomponents not opening (#2293)Dialogcleanup when theDialogbecomes hidden (#2303)v1.7.11Compare Source
Fixed
nullvalues for thedataRefcorrectly (#2258)aria-multiselectableto[role=listbox]in theComboboxcomponent (#2271)Combobox.Inputwhen aCombobox.Optionis selected (#2272)activeOptionIndexif the active option is unmounted (#2274)Reftype for forwardedSwitch's ref (#2277)Dialogcomponent when going into theClosingstate (#2264)v1.7.10Compare Source
Fixed
import * as React from 'react'pattern (#2242)v1.7.9Compare Source
Fixed
Suspenseboundary received an update before it finished hydrating" error in theDisclosurecomponent (#2238)import * as React from 'react'pattern (#2242)v1.7.8Compare Source
Fixed
Tab(after DOM order changes) (#2145)<Popover.Button>components (#2146)Tabkey with non focusable elements inPopover.Panel(#2147)<Popover.Button />in React 17 (#2163)failed to removeChild on Nodebug (#2164)Comboboxaccessibility (#2153)headlessuiFocusGuardofrelatedTargetin theFocusTrapcomponent (#2203)FocusTrapinDialogwhen there is only 1 focusable element (#2172)Tabswrapping around when controlling the component and overflowing theselectedIndex(#2213)shadow-rootbug closingDialogcontainers (#2217)Added
tabIndexon theTab.Panel(#2214)v1.7.7Compare Source
Fixed
Dialogcloses (b20e48dd)v1.7.6Compare Source
Fixed
displayValuecrashes (#2087)displayValuesyncing whenCombobox.Inputis unmounted and re-mounted in different trees (#2090)v1.7.5Compare Source
Fixed
<form>resets (#2004)<Popover.Button />multiple times (#2007)focusis going towindow(#2019)shift+homeandshift+endworks as expected in theCombobox.Inputcomponent (#2024)Combobox.Inputvalue (#2042)multiplemode withoutvalueprop (uncontrolled) forListboxandComboboxcomponents (#2058)enterandenterFromclasses in SSR forTransitioncomponent (#2059)idprop (#2060)Dialogunmounting problem due to incorrecttransitioncancelevent in theTransitioncomponent on Android (#2071)v1.7.4Compare Source
Fixed
<Popover.Button as={Fragment} />crash (#1889)closefunction forMenuandMenu.Itemcomponents (#1897)useOutsideClick, add improvements for ShadowDOM (#1914)<Combobox.Input>'sonChangehandler when changing the value internally (#1916)client-onlyto 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.