Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @headlessui/react to v2 #916

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@headlessui/react (source) 1.7.19 -> 2.1.8 age adoption passing confidence

Release Notes

tailwindlabs/headlessui (@​headlessui/react)

v2.1.8

Compare Source

Fixed
  • Fix crash when using as={Fragment} on MenuButton, ListboxButton, DisclosureButton or Button components (#​3478)

v2.1.7

Compare Source

Fixed
  • Prevent crash in environments where Element.prototype.getAnimations is not available (#​3473)

v2.1.6

Compare Source

Fixed
  • Fix ListboxOptions being incorrectly marked as inert (#​3466)
  • Fix crash when using DisclosureButton inside of a DisclosurePanel when the Disclosure is open by default (#​3465)

v2.1.5

Compare Source

Fixed
  • Fix transition bug on Firefox, triggered by clicking the PopoverButton in rapid succession (#​3452)

v2.1.4

Compare Source

Fixed
  • Fix components not closing properly when using the transition prop (#​3448)

v2.1.3

Compare Source

Fixed
  • Ensure Transition component state doesn't change when it becomes hidden (#​3372)
  • Fix closing components using the transition prop, 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

Compare Source

Fixed
  • Fix prematurely added anchoring styles on ListboxOptions (#​3337)
  • Ensure unmount on Dialog works in combination with the transition prop on DialogBackdrop and DialogPanel components (#​3352)
  • Fix crash in Combobox component when in virtual mode when options are empty (#​3356)
  • Fix hanging tests when using anchor prop (#​3357)
  • Fix transition and focus prop combination for PopoverPanel component (#​3361)
  • Fix outside click in nested portalled Popover components (#​3362)
  • Fix restoring focus to correct element when closing Dialog component (#​3365)
  • Fix flushSync warning for Combobox component with immediate prop enabled (#​3366)

v2.1.1

Compare Source

Fixed
  • Fix issues spreading omitted props onto components (#​3313)
  • Fix initial anchor="selection" positioning (#​3324)
  • Fix render prop in ComboboxOptions to use any instead of unknown (#​3327)
  • Fix incorrect Transition boundary for Dialog component (#​3331)

v2.1.0

Compare Source

Added
Fixed
  • Keep Combobox open when clicking scrollbar in ComboboxOptions (#​3249)
  • Ensure ComboboxInput does not sync with current value while typing (#​3259)
  • Fix visual jitter in Combobox component when using native scrollbar (#​3190)
  • Improve UX by freezing ComboboxOptions while closing (#​3304)
  • Merge incoming style prop on ComboboxOptions, ListboxOptions, MenuItems, and PopoverPanel components (#​3250)
  • Prevent focus on Checkbox when it is disabled (#​3251)
  • Use useId instead of React internals (for React 19 compatibility) (#​3254)
  • Cancel outside click behavior on touch devices when scrolling (#​3266)
  • Correctly apply conditional classes when using Transition and TransitionChild components (#​3303)
Changed
  • Allow using the Tab and Shift+Tab keys when the Listbox component is open (#​3284)

v2.0.4

Compare Source

Fixed
  • [internal] Don’t set a focus fallback for Dialog’s in demo mode (#​3194)
  • Ensure page doesn't scroll down when pressing Escape to close the Dialog component (#​3218)
  • Fix crash when toggling between virtual and non-virtual mode in Combobox component (#​3236)
  • Ensure tabbing to a portalled <PopoverPanel> component moves focus inside (without using <PortalGroup>) (#​3239)
  • Only handle form reset when defaultValue is used (#​3240)
Deprecated
  • Mark SwitchGroup as deprecated, prefer Field instead (#​3232)
Changed
  • Use native fieldset instead of div by default for <Fieldset /> component (#​3237)

v2.0.3

Compare Source

Fixed
  • Make sure disabling demo mode on <Combobox> works (#​3182)

v2.0.2

Compare Source

Fixed
  • Improve performance of internal useInertOthers hook (#​3181)

v2.0.1

Compare Source

Fixed
  • Remove accidental deprecation comments on <DialogPanel> and <DialogTitle> (#​3176)

v2.0.0

Compare Source

Added
Fixed
  • Fix scroll-locking on iOS (#​2891)
  • Fix cancellation of events when using disabled or aria-disabled attributes (#​2890)
  • Fix unnecessary execution of the displayValue callback in ComboboxInput component (#​3048)
  • Fix types for multiple prop in Combobox component (#​3099)
  • Fix focus handling in ComboboxInput component (#​3065, #​3073)
  • Fix enter transitions in Transition component (#​3074)
  • Fix focus handling in ListboxOptions and MenuItems components (#​3112)
  • Fix horizontal scrolling inside the Dialog component (#​2889)
  • Don’t cancel touchmove on input elements inside a dialog (#​3166)
Changed
  • Require React 18 (#​2887, #​3092, #​3131)
  • Always render hidden form input fields for Checkbox, Switch, and RadioGroup components (#​3095)
  • Deprecate the RadioGroup.Option component in favor of new Radio component (#​2887)
  • Dialog is now focused by default instead of the first focusable element (#​2887)
  • Change default tags for ListboxOptions, ListboxOption, ComboboxOptions, ComboboxOption, and TabGroup components (#​3109)
  • Change default tag from div to Fragment on Transition components (#​3110, #​3147)
  • Allow Combobox component to have a null value (#​3064, #​3100)
  • Attempt form submission when pressing enter on the ListboxButton component (#​2972)
  • Deprecate the entered prop on the Transition component (#​3089)
  • Deprecate dot notation for components (#​2887, #​3170)
  • Add frozen value to ComboboxOptions component (#​3126)
  • Remove deprecated DialogBackdrop and DialogOverlay components (#​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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 6, 2024
Copy link

changeset-bot bot commented May 6, 2024

⚠️ No Changeset found

Latest commit: 24b8625

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

Copy link

netlify bot commented May 6, 2024

Deploy Preview for react-docgen failed.

Name Link
🔨 Latest commit 24b8625
🔍 Latest deploy log https://app.netlify.com/sites/react-docgen/deploys/66e9cd6d7d26f600082a87ec

@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 2 times, most recently from e547f12 to 7d89b79 Compare May 7, 2024 19:44
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 2 times, most recently from 80621f5 to 3336193 Compare May 27, 2024 08:25
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 3 times, most recently from 41a23d6 to 033ad48 Compare June 10, 2024 16:43
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 033ad48 to ad97918 Compare June 12, 2024 21:53
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 4 times, most recently from 3df5bb7 to 0f7bf75 Compare June 26, 2024 13:31
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 4 times, most recently from 7a4e1aa to b942713 Compare July 5, 2024 16:55
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 5 times, most recently from f928c94 to d3922cf Compare July 19, 2024 19:22
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 4 times, most recently from dff10c2 to dc6e8a2 Compare July 29, 2024 04:01
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from dc6e8a2 to b2ffb7b Compare July 29, 2024 16:30
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from b2ffb7b to 086c46e Compare August 23, 2024 14:16
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 5 times, most recently from 1c024c2 to e173df1 Compare September 4, 2024 15:23
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch 6 times, most recently from 429ca27 to 6fe2cca Compare September 16, 2024 19:38
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 6fe2cca to 24b8625 Compare September 17, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants