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

fix(deps): update dependency @headlessui/react to v2 #966

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 19, 2024

This PR contains the following updates:

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

Release Notes

tailwindlabs/headlessui (@​headlessui/react)

v2.1.9

Compare Source

Fixed
  • Ensure Element is available before polyfilling to prevent crashes in non-browser environments (#​3493)
  • Fix crash when using instanceof HTMLElement in some environments (#​3494)
  • Cleanup process in Combobox component when using virtualization (#​3495)

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 - "before 4am on sunday" (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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented May 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
programming-in-th ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 2:15pm

Copy link

github-actions bot commented May 19, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 1.4% 135 / 9583
🔵 Statements 1.4% 135 / 9583
🔵 Functions 3.84% 7 / 182
🔵 Branches 10.25% 20 / 195
File CoverageNo changed files found.
Generated in workflow #1178 for commit b8d91fd by the Vitest Coverage Report Action

@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 3713b57 to f4045b2 Compare May 24, 2024 22:57
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from f4045b2 to 7b5559c Compare June 21, 2024 16:10
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 7b5559c to ea8a540 Compare June 26, 2024 16:32
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from ea8a540 to 50fa75d Compare July 4, 2024 04:24
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 50fa75d to 0754cc5 Compare July 5, 2024 17:18
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 0754cc5 to 372637b Compare July 16, 2024 15:01
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 372637b to 29b758e Compare August 23, 2024 17:10
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 29b758e to c124671 Compare September 3, 2024 17:26
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from c124671 to a3a9fc7 Compare September 4, 2024 16:57
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from a3a9fc7 to 1897ffb Compare September 9, 2024 20:40
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from 1897ffb to ca57fc7 Compare September 11, 2024 17:06
@renovate renovate bot force-pushed the renovate/headlessui-react-2.x branch from ca57fc7 to 20d2d21 Compare September 12, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants