Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency @headlessui/react to v2 (#1469)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@headlessui/react](https://togithub.com/tailwindlabs/headlessui) ([source](https://togithub.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react)) | [`1.7.19` -> `2.0.3`](https://renovatebot.com/diffs/npm/@headlessui%2freact/1.7.19/2.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@headlessui%2freact/2.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@headlessui%2freact/2.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@headlessui%2freact/1.7.19/2.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@headlessui%2freact/1.7.19/2.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>tailwindlabs/headlessui (@​headlessui/react)</summary> ### [`v2.0.3`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#203---2024-05-07) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/[email protected]...@headlessui/[email protected]) ##### Fixed - Make sure disabling demo mode on `<Combobox>` works ([#​3182](hhttps://togithub.com/tailwindlabs/headlessui/pull/3182)) ### [`v2.0.2`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#202---2024-05-07) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/[email protected]...@headlessui/[email protected]) ##### Fixed - Improve performance of internal `useInertOthers` hook ([#​3181](https://togithub.com/tailwindlabs/headlessui/pull/3181)) ### [`v2.0.1`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#201---2024-05-06) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/[email protected]...@headlessui/[email protected]) ##### Fixed - Remove accidental deprecation comments on `<DialogPanel>` and `<DialogTitle>` ([#​3176](https://togithub.com/tailwindlabs/headlessui/pull/3176)) ### [`v2.0.0`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#200---2024-05-06) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/[email protected]...@headlessui/[email protected]) ##### Added - Add new `Checkbox` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2962](https://togithub.com/tailwindlabs/headlessui/pull/2962)) - Add new `Button` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `Input` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2902](https://togithub.com/tailwindlabs/headlessui/pull/2902), [#​2940](https://togithub.com/tailwindlabs/headlessui/pull/2940)) - Add new `Textarea` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2902](https://togithub.com/tailwindlabs/headlessui/pull/2902), [#​2940](https://togithub.com/tailwindlabs/headlessui/pull/2940)) - Add new `Select` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2902](https://togithub.com/tailwindlabs/headlessui/pull/2902)) - Add new `Fieldset` and `Legend` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `Field`, `Label`, and `Description` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2941](https://togithub.com/tailwindlabs/headlessui/pull/2941)) - Add new `MenuSection`, `MenuHeading`, and `MenuSeparator` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `ListboxSelectedOption` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `DataInteractive` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `CloseButton` component and `useClose` hook ([#​3096](https://togithub.com/tailwindlabs/headlessui/pull/3096)) - Add new `anchor`, `modal`, and `portal` props to `Combobox`, `Listbox`, `Menu` and `Popover` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3075](https://togithub.com/tailwindlabs/headlessui/pull/3075), [#​3097](https://togithub.com/tailwindlabs/headlessui/pull/3097), [#​3111](https://togithub.com/tailwindlabs/headlessui/pull/3111), [#​3115](https://togithub.com/tailwindlabs/headlessui/pull/3115), [#​3121](https://togithub.com/tailwindlabs/headlessui/pull/3121), [#​3124](https://togithub.com/tailwindlabs/headlessui/pull/3124), [#​3133](https://togithub.com/tailwindlabs/headlessui/pull/3133), [#​3138](https://togithub.com/tailwindlabs/headlessui/pull/3138), [#​3148](https://togithub.com/tailwindlabs/headlessui/pull/3148), [#​3152](https://togithub.com/tailwindlabs/headlessui/pull/3152), [#​3154](https://togithub.com/tailwindlabs/headlessui/pull/3154), [#​3157](https://togithub.com/tailwindlabs/headlessui/pull/3157)) - Add new `autoFocus` prop to focusable components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `virtual` prop to `Combobox` component ([#​2779](https://togithub.com/tailwindlabs/headlessui/pull/2779), [#​3128](https://togithub.com/tailwindlabs/headlessui/pull/3128), [#​3160](https://togithub.com/tailwindlabs/headlessui/pull/3160), [#​3161](https://togithub.com/tailwindlabs/headlessui/pull/3161), [#​3163](https://togithub.com/tailwindlabs/headlessui/pull/3163)) - Add new `onClose` prop to `Combobox` component ([#​3122](https://togithub.com/tailwindlabs/headlessui/pull/3122)) - Add new `immediate` prop to `Combobox` for immediately opening the Combobox when the `input` receives focus ([#​2686](https://togithub.com/tailwindlabs/headlessui/pull/2686)) - Add new `--button-width` CSS variable on the `ListboxOptions`, `MenuItems`, and `PopoverPanel` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3058](https://togithub.com/tailwindlabs/headlessui/pull/3058)) - Add new `--input-width` and `--button-width` CSS variables on the `ComboboxOptions` component ([#​3057](https://togithub.com/tailwindlabs/headlessui/pull/3057)) - Add new `data-*` attributes as an alternative to the existing `data-headlessui-state` attribute ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3035](https://togithub.com/tailwindlabs/headlessui/pull/3035), [#​3061](https://togithub.com/tailwindlabs/headlessui/pull/3061)) ##### Fixed - Fix scroll-locking on iOS ([#​2891](https://togithub.com/tailwindlabs/headlessui/pull/2891)) - Fix cancellation of events when using `disabled` or `aria-disabled` attributes ([#​2890](https://togithub.com/tailwindlabs/headlessui/pull/2890)) - Fix unnecessary execution of the `displayValue` callback in `ComboboxInput` component ([#​3048](https://togithub.com/tailwindlabs/headlessui/pull/3048)) - Fix types for `multiple` prop in `Combobox` component ([#​3099](https://togithub.com/tailwindlabs/headlessui/pull/3099)) - Fix focus handling in `ComboboxInput` component ([#​3065](https://togithub.com/tailwindlabs/headlessui/pull/3065), [#​3073](https://togithub.com/tailwindlabs/headlessui/pull/3073)) - Fix enter transitions in `Transition` component ([#​3074](https://togithub.com/tailwindlabs/headlessui/pull/3074)) - Fix focus handling in `ListboxOptions` and `MenuItems` components ([#​3112](https://togithub.com/tailwindlabs/headlessui/pull/3112)) - Fix horizontal scrolling inside the `Dialog` component ([#​2889](https://togithub.com/tailwindlabs/headlessui/pull/2889)) - Don’t cancel `touchmove` on `input` elements inside a dialog ([#​3166](https://togithub.com/tailwindlabs/headlessui/pull/3166)) ##### Changed - Require React 18 ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3092](https://togithub.com/tailwindlabs/headlessui/pull/3092), [#​3131](https://togithub.com/tailwindlabs/headlessui/pull/3131)) - Always render hidden form input fields for `Checkbox`, `Switch`, and `RadioGroup` components ([#​3095](https://togithub.com/tailwindlabs/headlessui/pull/3095)) - Deprecate the `RadioGroup.Option` component in favor of new `Radio` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Dialog is now focused by default instead of the first focusable element ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Change default tags for `ListboxOptions`, `ListboxOption`, `ComboboxOptions`, `ComboboxOption`, and `TabGroup` components ([#​3109](https://togithub.com/tailwindlabs/headlessui/pull/3109)) - Change default tag from `div` to `Fragment` on `Transition` components ([#​3110](https://togithub.com/tailwindlabs/headlessui/pull/3110), [#​3147](https://togithub.com/tailwindlabs/headlessui/pull/3147)) - Allow `Combobox` component to have a `null` value ([#​3064](https://togithub.com/tailwindlabs/headlessui/pull/3064), [#​3100](https://togithub.com/tailwindlabs/headlessui/pull/3100)) - Attempt form submission when pressing enter on the `ListboxButton` component ([#​2972](https://togithub.com/tailwindlabs/headlessui/pull/2972)) - Deprecate the `entered` prop on the `Transition` component ([#​3089](https://togithub.com/tailwindlabs/headlessui/pull/3089)) - Deprecate dot notation for components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3170](https://togithub.com/tailwindlabs/headlessui/pull/3170)) - Add frozen value to `ComboboxOptions` component ([#​3126](https://togithub.com/tailwindlabs/headlessui/pull/3126)) - Remove deprecated `DialogBackdrop` and `DialogOverlay` components ([#​3171](https://togithub.com/tailwindlabs/headlessui/pull/3171)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/TBD54566975/ftl). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information