Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 27, 2024

Bumps @headlessui/react from 1.6.5 to 2.0.4.

Release notes

Sourced from @​headlessui/react's releases.

@​headlessui/react@​v2.0.4

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)

@​headlessui/react@​v2.0.3

Fixed

@​headlessui/react@​v2.0.2

Fixed

  • Improve performance of internal useInertOthers hook (#3181)

@​headlessui/react@​v2.0.1

Fixed

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

@​headlessui/react@​v2.0.0

Headless UI v2.0

We just released Headless UI v2.0 for React which includes a ton of new stuff:

  • Built-in anchor positioning — using Floating UI, components like Menu, Listbox, and more can now automatically position their popovers to be anchored to their trigger, adapting as needed to changes in the viewport.
  • Headless checkbox component — we've added a headless Checkbox component to complement our existing RadioGroup component, making it easy to build totally custom checkbox controls.
  • HTML form components — we've added Input, Select, Textarea, Label, Description, Fieldset, and Legend components that handle all of the ID generation and aria-* attribute mapping you need to do to connect form fields together.
  • Improved hover and focus-visible detection — using hooks from the awesome React Aria library under the hood, Headless UI now adds smarter data-hover and data-focus attributes to your controls that behave more consistently across different devices than the native pseudo-classes.
  • Combobox list virtualization — the Combobox component can now handle giant lists of options with no performance issues.

Changelog

Added

... (truncated)

Changelog

Sourced from @​headlessui/react's changelog.

[2.0.4] - 2024-05-25

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)

[2.0.3] - 2024-05-07

Fixed

[2.0.2] - 2024-05-07

Fixed

  • Improve performance of internal useInertOthers hook (#3181)

[2.0.1] - 2024-05-06

Fixed

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

[2.0.0] - 2024-05-06

Added

  • Add new Checkbox component (#2887, #2962)
  • Add new Button component (#2887)
  • Add new Input component (#2887, #2902, #2940)
  • Add new Textarea component (#2887, #2902, #2940)
  • Add new Select component (#2887, #2902)
  • Add new Fieldset and Legend components (#2887)
  • Add new Field, Label, and Description components (#2887, #2941)
  • Add new MenuSection, MenuHeading, and MenuSeparator components (#2887)
  • Add new ListboxSelectedOption component (#2887)
  • Add new DataInteractive component (#2887)

... (truncated)

Commits
  • 7be23e5 2.0.4 - @​headlessui/react
  • f740050 Use native fieldset instead of div by default for \<Fieldset /> componen...
  • 8c3499c Only handle form reset when defaultValue is used (#3240)
  • c2754bc Ensure tabbing to a portalled \<PopoverPanel> component moves focus inside (...
  • b822c8a Fix crash when toggling between virtual and non-virtual mode in Combobox ...
  • b478189 Mark SwitchGroup as deprecated, prefer Field instead (#3232)
  • 7fcb410 do not apply aria-modal in demo mode (#3227)
  • 045f2bc Ensure page doesn't scroll down when pressing Escape to close the Dialog ...
  • 300e9eb Update changelog
  • 3407625 Use same tense
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 27, 2024
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 1.6.5 to 2.0.4.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/[email protected]/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/headlessui/react-2.0.4 branch from 1cc5eba to 44b03e4 Compare June 3, 2024 23:32
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 21, 2024

Superseded by #12298.

@dependabot dependabot bot closed this Jun 21, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/headlessui/react-2.0.4 branch June 21, 2024 18:38
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