Releases: tailwindlabs/headlessui
Releases · tailwindlabs/headlessui
@headlessui/[email protected]
@headlessui/[email protected]
Fixed
- Expose
disabledstate onTabcomponent (#2918) - Prevent default behaviour when clicking outside of a
DialogPanel(#2919) - Don’t override explicit
disabledprop for components insideMenuItem(#2929) - Add
hiddenattribute to internalHiddencomponent when theFeatures.Hiddenfeature is used (#2955) - Allow setting custom
tabIndexon theSwitchcomponent (#2966) - Forward
disabledstate to hidden inputs in form-like components (#3004) - Respect
selectedIndexfor controlledTabcomponents (#3037)
@headlessui/[email protected]
Fixed
- Make sure panels re-register when IDs are calculated in React < 18 (#2883)
- Expose
disabledstate onTabcomponent (#2918) - Prevent default behaviour when clicking outside of a
Dialog.Panel(#2919) - Add
hiddenattribute to internalHiddencomponent when theFeatures.Hiddenfeature is used (#2955) - Allow setting custom
tabIndexon theSwitchcomponent (#2966) - Forward
disabledstate to hidden inputs in form-like components (#3004) - Respect
selectedIndexfor controlledTabcomponents (#3037)
@headlessui/[email protected]
- Fix Combobox
activeOptionrender prop (#2973)
@headlessui/[email protected]
Added
- Allow users customize ID generation (#2959)
@headlessui/[email protected]
Fixed
- Don't call
<Dialog>'sonClosetwice on mobile devices (#2690) - Fix Portal SSR hydration mismatches (#2700)
- Ensure hidden
TabPanelcomponents are hidden from the accessibility tree (#2708) - Add support for
role="alertdialog"to<Dialog>component (#2709) - Ensure blurring the
ComboboxInputcomponent closes theCombobox(#2712) - Allow
<button>to be in nested components in<PopoverButton>(#2715) - Don't overwrite user-defined template refs when rendering (#2720)
- Fix missing
data-headlessui-stateattribute whenas="template"(#2787) - Fix VoiceOver bug for
Listboxcomponent in Chrome (#2824) - Fix outside click detection when component is mounted in the Shadow DOM (6846231)
- Fix CJS types (#2880)
- Fix error when transition classes contain new lines (#2871)
@headlessui/[email protected]
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)
@headlessui/[email protected]
Fixed
- Ensure
Input,SelectandTextareaexposeRefrelated types (#2902)
@headlessui/[email protected]
Fixed
- Further fine tune scroll locking on iOS (#2891)