react-docgen
react-docgen copied to clipboard
chore(deps): update dependency @headlessui/react to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @headlessui/react (source) | 1.7.19 -> 2.2.0 |
Release Notes
tailwindlabs/headlessui (@headlessui/react)
v2.2.0
Added
- Add React 19 support (#3543)
v2.1.10
Fixed
- Use
React.JSXinstead of deprecated globalJSX(#3511) - Fix crash in
ListboxOptionswhen usingas={Fragment}(#3513)
v2.1.9
Fixed
- Ensure
Elementis available before polyfilling to prevent crashes in non-browser environments (#3493) - Fix crash when using
instanceof HTMLElementin some environments (#3494) - Cleanup
processin Combobox component when using virtualization (#3495)
v2.1.8
Fixed
- Fix crash when using
as={Fragment}onMenuButton,ListboxButton,DisclosureButtonorButtoncomponents (#3478)
v2.1.7
Fixed
- Prevent crash in environments where
Element.prototype.getAnimationsis not available (#3473)
v2.1.6
Fixed
- Fix
ListboxOptionsbeing incorrectly marked asinert(#3466) - Fix crash when using
DisclosureButtoninside of aDisclosurePanelwhen theDisclosureis open by default (#3465)
v2.1.5
Fixed
- Fix transition bug on Firefox, triggered by clicking the
PopoverButtonin rapid succession (#3452)
v2.1.4
Fixed
- Fix components not closing properly when using the
transitionprop (#3448)
v2.1.3
Fixed
- Ensure
Transitioncomponent state doesn't change when it becomes hidden (#3372) - Fix closing components using the
transitionprop, and after scrolling the page (#3407) - Ensure all client components are marked correctly to avoid a crash with React 19 and Turbopack (#3429)
v2.1.2
Fixed
- Fix prematurely added anchoring styles on
ListboxOptions(#3337) - Ensure
unmountonDialogworks in combination with thetransitionprop onDialogBackdropandDialogPanelcomponents (#3352) - Fix crash in
Comboboxcomponent when invirtualmode when options are empty (#3356) - Fix hanging tests when using
anchorprop (#3357) - Fix
transitionandfocusprop combination forPopoverPanelcomponent (#3361) - Fix outside click in nested portalled
Popovercomponents (#3362) - Fix restoring focus to correct element when closing
Dialogcomponent (#3365) - Fix
flushSyncwarning forComboboxcomponent withimmediateprop enabled (#3366)
v2.1.1
Fixed
- Fix issues spreading omitted props onto components (#3313)
- Fix initial
anchor="selection"positioning (#3324) - Fix render prop in
ComboboxOptionsto useanyinstead ofunknown(#3327) - Fix incorrect
Transitionboundary forDialogcomponent (#3331)
v2.1.0
Added
- Add ability to render multiple
Dialogcomponents at once (without nesting them) (#3242) - Add new data-attribute-based transition API (#3273, #3285, #3307, #3309, #3312)
- Add
DialogBackdropcomponent (#3307, #3310) - Add
PopoverBackdropcomponent to replacePopoverOverlay(#3308)
Fixed
- Keep
Comboboxopen when clicking scrollbar inComboboxOptions(#3249) - Ensure
ComboboxInputdoes not sync with current value while typing (#3259) - Fix visual jitter in
Comboboxcomponent when using native scrollbar (#3190) - Improve UX by freezing
ComboboxOptionswhile closing (#3304) - Merge incoming
styleprop onComboboxOptions,ListboxOptions,MenuItems, andPopoverPanelcomponents (#3250) - Prevent focus on
Checkboxwhen it isdisabled(#3251) - Use
useIdinstead of React internals (for React 19 compatibility) (#3254) - Cancel outside click behavior on touch devices when scrolling (#3266)
- Correctly apply conditional classes when using
TransitionandTransitionChildcomponents (#3303)
Changed
- Allow using the
TabandShift+Tabkeys when theListboxcomponent is open (#3284)
v2.0.4
Fixed
- [internal] Don’t set a focus fallback for Dialog’s in demo mode (#3194)
- Ensure page doesn't scroll down when pressing
Escapeto close theDialogcomponent (#3218) - Fix crash when toggling between
virtualand non-virtual mode inComboboxcomponent (#3236) - Ensure tabbing to a portalled
<PopoverPanel>component moves focus inside (without using<PortalGroup>) (#3239) - Only handle form reset when
defaultValueis used (#3240)
Deprecated
- Mark
SwitchGroupas deprecated, preferFieldinstead (#3232)
Changed
- Use native
fieldsetinstead ofdivby default for<Fieldset />component (#3237)
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)
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 was generated by Mend Renovate. View the repository job log.
⚠️ No Changeset found
Latest commit: 513c813740f2eae1dd1b22f3cf7e7dc642cf0341
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Deploy Preview for react-docgen ready!
| Name | Link |
|---|---|
| Latest commit | 513c813740f2eae1dd1b22f3cf7e7dc642cf0341 |
| Latest deploy log | https://app.netlify.com/sites/react-docgen/deploys/671bc9223c99940009b14958 |
| Deploy Preview | https://deploy-preview-916--react-docgen.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.