Skip to content

Commit

Permalink
chore(deps): update dependency @headlessui/react to v2 (#1469)
Browse files Browse the repository at this point in the history
[![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 (@&#8203;headlessui/react)</summary>

###
[`v2.0.3`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@&#8203;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
([#&#8203;3182](hhttps://togithub.com/tailwindlabs/headlessui/pull/3182))

###
[`v2.0.2`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@&#8203;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
([#&#8203;3181](https://togithub.com/tailwindlabs/headlessui/pull/3181))

###
[`v2.0.1`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@&#8203;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>`
([#&#8203;3176](https://togithub.com/tailwindlabs/headlessui/pull/3176))

###
[`v2.0.0`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@&#8203;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
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;2962](https://togithub.com/tailwindlabs/headlessui/pull/2962))
- Add new `Button` component
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887))
- Add new `Input` component
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;2902](https://togithub.com/tailwindlabs/headlessui/pull/2902),
[#&#8203;2940](https://togithub.com/tailwindlabs/headlessui/pull/2940))
- Add new `Textarea` component
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;2902](https://togithub.com/tailwindlabs/headlessui/pull/2902),
[#&#8203;2940](https://togithub.com/tailwindlabs/headlessui/pull/2940))
- Add new `Select` component
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;2902](https://togithub.com/tailwindlabs/headlessui/pull/2902))
- Add new `Fieldset` and `Legend` components
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887))
- Add new `Field`, `Label`, and `Description` components
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;2941](https://togithub.com/tailwindlabs/headlessui/pull/2941))
- Add new `MenuSection`, `MenuHeading`, and `MenuSeparator` components
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887))
- Add new `ListboxSelectedOption` component
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887))
- Add new `DataInteractive` component
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887))
- Add new `CloseButton` component and `useClose` hook
([#&#8203;3096](https://togithub.com/tailwindlabs/headlessui/pull/3096))
- Add new `anchor`, `modal`, and `portal` props to `Combobox`,
`Listbox`, `Menu` and `Popover` components
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;3075](https://togithub.com/tailwindlabs/headlessui/pull/3075),
[#&#8203;3097](https://togithub.com/tailwindlabs/headlessui/pull/3097),
[#&#8203;3111](https://togithub.com/tailwindlabs/headlessui/pull/3111),
[#&#8203;3115](https://togithub.com/tailwindlabs/headlessui/pull/3115),
[#&#8203;3121](https://togithub.com/tailwindlabs/headlessui/pull/3121),
[#&#8203;3124](https://togithub.com/tailwindlabs/headlessui/pull/3124),
[#&#8203;3133](https://togithub.com/tailwindlabs/headlessui/pull/3133),
[#&#8203;3138](https://togithub.com/tailwindlabs/headlessui/pull/3138),
[#&#8203;3148](https://togithub.com/tailwindlabs/headlessui/pull/3148),
[#&#8203;3152](https://togithub.com/tailwindlabs/headlessui/pull/3152),
[#&#8203;3154](https://togithub.com/tailwindlabs/headlessui/pull/3154),
[#&#8203;3157](https://togithub.com/tailwindlabs/headlessui/pull/3157))
- Add new `autoFocus` prop to focusable components
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887))
- Add new `virtual` prop to `Combobox` component
([#&#8203;2779](https://togithub.com/tailwindlabs/headlessui/pull/2779),
[#&#8203;3128](https://togithub.com/tailwindlabs/headlessui/pull/3128),
[#&#8203;3160](https://togithub.com/tailwindlabs/headlessui/pull/3160),
[#&#8203;3161](https://togithub.com/tailwindlabs/headlessui/pull/3161),
[#&#8203;3163](https://togithub.com/tailwindlabs/headlessui/pull/3163))
- Add new `onClose` prop to `Combobox` component
([#&#8203;3122](https://togithub.com/tailwindlabs/headlessui/pull/3122))
- Add new `immediate` prop to `Combobox` for immediately opening the
Combobox when the `input` receives focus
([#&#8203;2686](https://togithub.com/tailwindlabs/headlessui/pull/2686))
- Add new `--button-width` CSS variable on the `ListboxOptions`,
`MenuItems`, and `PopoverPanel` components
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;3058](https://togithub.com/tailwindlabs/headlessui/pull/3058))
- Add new `--input-width` and `--button-width` CSS variables on the
`ComboboxOptions` component
([#&#8203;3057](https://togithub.com/tailwindlabs/headlessui/pull/3057))
- Add new `data-*` attributes as an alternative to the existing
`data-headlessui-state` attribute
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;3035](https://togithub.com/tailwindlabs/headlessui/pull/3035),
[#&#8203;3061](https://togithub.com/tailwindlabs/headlessui/pull/3061))

##### Fixed

- Fix scroll-locking on iOS
([#&#8203;2891](https://togithub.com/tailwindlabs/headlessui/pull/2891))
- Fix cancellation of events when using `disabled` or `aria-disabled`
attributes
([#&#8203;2890](https://togithub.com/tailwindlabs/headlessui/pull/2890))
- Fix unnecessary execution of the `displayValue` callback in
`ComboboxInput` component
([#&#8203;3048](https://togithub.com/tailwindlabs/headlessui/pull/3048))
- Fix types for `multiple` prop in `Combobox` component
([#&#8203;3099](https://togithub.com/tailwindlabs/headlessui/pull/3099))
- Fix focus handling in `ComboboxInput` component
([#&#8203;3065](https://togithub.com/tailwindlabs/headlessui/pull/3065),
[#&#8203;3073](https://togithub.com/tailwindlabs/headlessui/pull/3073))
- Fix enter transitions in `Transition` component
([#&#8203;3074](https://togithub.com/tailwindlabs/headlessui/pull/3074))
- Fix focus handling in `ListboxOptions` and `MenuItems` components
([#&#8203;3112](https://togithub.com/tailwindlabs/headlessui/pull/3112))
- Fix horizontal scrolling inside the `Dialog` component
([#&#8203;2889](https://togithub.com/tailwindlabs/headlessui/pull/2889))
- Don’t cancel `touchmove` on `input` elements inside a dialog
([#&#8203;3166](https://togithub.com/tailwindlabs/headlessui/pull/3166))

##### Changed

- Require React 18
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;3092](https://togithub.com/tailwindlabs/headlessui/pull/3092),
[#&#8203;3131](https://togithub.com/tailwindlabs/headlessui/pull/3131))
- Always render hidden form input fields for `Checkbox`, `Switch`, and
`RadioGroup` components
([#&#8203;3095](https://togithub.com/tailwindlabs/headlessui/pull/3095))
- Deprecate the `RadioGroup.Option` component in favor of new `Radio`
component
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887))
- Dialog is now focused by default instead of the first focusable
element
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887))
- Change default tags for `ListboxOptions`, `ListboxOption`,
`ComboboxOptions`, `ComboboxOption`, and `TabGroup` components
([#&#8203;3109](https://togithub.com/tailwindlabs/headlessui/pull/3109))
- Change default tag from `div` to `Fragment` on `Transition` components
([#&#8203;3110](https://togithub.com/tailwindlabs/headlessui/pull/3110),
[#&#8203;3147](https://togithub.com/tailwindlabs/headlessui/pull/3147))
- Allow `Combobox` component to have a `null` value
([#&#8203;3064](https://togithub.com/tailwindlabs/headlessui/pull/3064),
[#&#8203;3100](https://togithub.com/tailwindlabs/headlessui/pull/3100))
- Attempt form submission when pressing enter on the `ListboxButton`
component
([#&#8203;2972](https://togithub.com/tailwindlabs/headlessui/pull/2972))
- Deprecate the `entered` prop on the `Transition` component
([#&#8203;3089](https://togithub.com/tailwindlabs/headlessui/pull/3089))
- Deprecate dot notation for components
([#&#8203;2887](https://togithub.com/tailwindlabs/headlessui/pull/2887),
[#&#8203;3170](https://togithub.com/tailwindlabs/headlessui/pull/3170))
- Add frozen value to `ComboboxOptions` component
([#&#8203;3126](https://togithub.com/tailwindlabs/headlessui/pull/3126))
- Remove deprecated `DialogBackdrop` and `DialogOverlay` components
([#&#8203;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
renovate[bot] authored May 13, 2024
1 parent 8b424bd commit 471896f
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 21 deletions.
175 changes: 155 additions & 20 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@connectrpc/connect": "^1.1.2",
"@connectrpc/connect-web": "^1.1.2",
"@connectrpc/protoc-gen-connect-es": "1.4.0",
"@headlessui/react": "1.7.19",
"@headlessui/react": "2.0.3",
"@heroicons/react": "2.1.3",
"@svgdotjs/svg.js": "3.2.0",
"@svgdotjs/svg.panzoom.js": "2.1.2",
Expand Down

0 comments on commit 471896f

Please sign in to comment.