website
website copied to clipboard
fix(deps): update dependency @headlessui/react to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @headlessui/react (source) | 1.7.17 -> 2.0.3 |
Release Notes
tailwindlabs/headlessui (@headlessui/react)
v2.0.3
Fixed
- Make sure disabling demo mode on
<Combobox>works (#3182)
v2.0.2
Fixed
- Improve performance of internal
useInertOthershook (#3181)
v2.0.1
Fixed
- Remove accidental deprecation comments on
<DialogPanel>and<DialogTitle>(#3176)
v2.0.0
Added
- Add new
Checkboxcomponent (#2887, #2962) - Add new
Buttoncomponent (#2887) - Add new
Inputcomponent (#2887, #2902, #2940) - Add new
Textareacomponent (#2887, #2902, #2940) - Add new
Selectcomponent (#2887, #2902) - Add new
FieldsetandLegendcomponents (#2887) - Add new
Field,Label, andDescriptioncomponents (#2887, #2941) - Add new
MenuSection,MenuHeading, andMenuSeparatorcomponents (#2887) - Add new
ListboxSelectedOptioncomponent (#2887) - Add new
DataInteractivecomponent (#2887) - Add new
CloseButtoncomponent anduseClosehook (#3096) - Add new
anchor,modal, andportalprops toCombobox,Listbox,MenuandPopovercomponents (#2887, #3075, #3097, #3111, #3115, #3121, #3124, #3133, #3138, #3148, #3152, #3154, #3157) - Add new
autoFocusprop to focusable components (#2887) - Add new
virtualprop toComboboxcomponent (#2779, #3128, #3160, #3161, #3163) - Add new
onCloseprop toComboboxcomponent (#3122) - Add new
immediateprop toComboboxfor immediately opening the Combobox when theinputreceives focus (#2686) - Add new
--button-widthCSS variable on theListboxOptions,MenuItems, andPopoverPanelcomponents (#2887, #3058) - Add new
--input-widthand--button-widthCSS variables on theComboboxOptionscomponent (#3057) - Add new
data-*attributes as an alternative to the existingdata-headlessui-stateattribute (#2887, #3035, #3061)
Fixed
- Fix scroll-locking on iOS (#2891)
- Fix cancellation of events when using
disabledoraria-disabledattributes (#2890) - Fix unnecessary execution of the
displayValuecallback inComboboxInputcomponent (#3048) - Fix types for
multipleprop inComboboxcomponent (#3099) - Fix focus handling in
ComboboxInputcomponent (#3065, #3073) - Fix enter transitions in
Transitioncomponent (#3074) - Fix focus handling in
ListboxOptionsandMenuItemscomponents (#3112) - Fix horizontal scrolling inside the
Dialogcomponent (#2889) - Don’t cancel
touchmoveoninputelements inside a dialog (#3166)
Changed
- Require React 18 (#2887, #3092, #3131)
- Always render hidden form input fields for
Checkbox,Switch, andRadioGroupcomponents (#3095) - Deprecate the
RadioGroup.Optioncomponent in favor of newRadiocomponent (#2887) - Dialog is now focused by default instead of the first focusable element (#2887)
- Change default tags for
ListboxOptions,ListboxOption,ComboboxOptions,ComboboxOption, andTabGroupcomponents (#3109) - Change default tag from
divtoFragmentonTransitioncomponents (#3110, #3147) - Allow
Comboboxcomponent to have anullvalue (#3064, #3100) - Attempt form submission when pressing enter on the
ListboxButtoncomponent (#2972) - Deprecate the
enteredprop on theTransitioncomponent (#3089) - Deprecate dot notation for components (#2887, #3170)
- Add frozen value to
ComboboxOptionscomponent (#3126) - Remove deprecated
DialogBackdropandDialogOverlaycomponents (#3171)
v1.7.19
Fixed
- Make sure panels re-register when IDs are calculated in React < 18 (#2883)
- Expose
disabledstate on<Tab />component (#2918) - Prevent default behavior when clicking outside of a
Dialog.Panel(#2919) - Add
hiddenattribute to internal<Hidden />component when theFeatures.Hiddenfeature is used (#2955) - Allow setting custom
tabIndexon the<Switch />component (#2966) - Forward
disabledstate to hidden inputs in form-like components (#3004) - Respect
selectedIndexfor controlled<Tab/>components (#3037)
v1.7.18
Fixed
- Don't call
<Dialog>'sonClosetwice on mobile devices (#2690) - Lazily resolve default containers in
<Dialog>(#2697) - Ensure hidden
Tab.Panelcomponents are hidden from the accessibility tree (#2708) - Add support for
role="alertdialog"to<Dialog>component (#2709) - Ensure blurring the
Combobox.Inputcomponent closes theCombobox(#2712) - Allow changes to the
classNameprop when the<Transition />component is currently not transitioning (#2722) - Export (internal-only) component interfaces for TypeScript compiler (#2313)
- Fix infinite render-loop for
<Disclosure.Panel>and<Popover.Panel>whenas={Fragment}(#2760) - Fix VoiceOver bug for
Listboxcomponent in Chrome (#2824) - Fix outside click detection when component is mounted in the Shadow DOM (#2866)
- Fix CJS types (#2880)
- Fix error when transition classes contain new lines (#2871)
- Improve iOS locking (7721aca)
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 this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| site | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 5, 2024 5:49pm |