Skip to content

Conversation

@renovate-bot
Copy link

@renovate-bot renovate-bot commented Jan 14, 2025

This PR contains the following updates:

Package Change Age Confidence
@headlessui/react (source) 1.7.15 -> 1.7.19 age confidence

Release Notes

tailwindlabs/headlessui (@​headlessui/react)

v1.7.19

Compare Source

Fixed
  • Make sure panels re-register when IDs are calculated in React < 18 (#​2883)
  • Expose disabled state on Tab component (#​2918)
  • Prevent default behavior when clicking outside of a Dialog.Panel (#​2919)
  • Add hidden attribute to internal Hidden component when the Features.Hidden feature is used (#​2955)
  • Allow setting custom tabIndex on the Switch component (#​2966)
  • Forward disabled state to hidden inputs in form-like components (#​3004)
  • Respect selectedIndex for controlled Tab components (#​3037)

v1.7.18

Compare Source

Fixed
  • Don't call Dialog's onClose twice on mobile devices (#​2690)
  • Lazily resolve default containers in Dialog (#​2697)
  • Ensure hidden Tab.Panel components are hidden from the accessibility tree (#​2708)
  • Add support for role="alertdialog" to Dialog component (#​2709)
  • Ensure blurring the Combobox.Input component closes the Combobox (#​2712)
  • Allow changes to the className prop when the Transition component is currently not transitioning (#​2722)
  • Export (internal-only) component interfaces for TypeScript compiler (#​2313)
  • Fix infinite render-loop for Disclosure.Panel and Popover.Panel when as={Fragment} (#​2760)
  • Fix VoiceOver bug for Listbox component in Chrome (#​2824)
  • Fix outside click detection when component is mounted in the Shadow DOM (#​2866)
  • Fix CJS types (#​2880)
  • Fix error when transition classes contain new lines (#​2871)
  • Improve iOS locking (7721aca)

v1.7.17

Compare Source

Fixed
  • Use correct value when resetting <Listbox multiple> and <Combobox multiple> (#​2626)
  • Render MainTreeNode in Popover.Group component only (#​2634)
  • Disable smooth scrolling when opening/closing Dialog components on iOS (#​2635)
  • Don't assume Tab components are available when setting the next index (#​2642)
  • Fix incorrectly focused Combobox.Input component on page load (#​2654)
  • Ensure appear works using the Transition component (even when used with SSR) (#​2646)
  • Improve resetting values when using the nullable prop on the Combobox component (#​2660)
  • Fix hydration of components inside Suspense (#​2663)
  • Prevent scrolling when focusing a tab (#​2674)

v1.7.16

Compare Source

Fixed
  • Ensure the caret is in a consistent position when syncing the Combobox.Input value (#​2568)
  • Improve "outside click" behavior in combination with 3rd party libraries (#​2572)
  • Ensure IME works on Android devices (#​2580)
  • Calculate aria-expanded purely based on the open/closed state (#​2610)
  • Submit form on Enter even if no submit-like button was found (#​2613)

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.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Jan 14, 2025

⚠️ No Changeset found

Latest commit: ec74209

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.

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

@vercel
Copy link

vercel bot commented Jan 14, 2025

@renovate-bot is attempting to deploy a commit to the Samson Unyinmadu 's projects Team on Vercel.

A member of the Team first needs to authorize it.

@sourcery-ai
Copy link

sourcery-ai bot commented Jan 14, 2025

Reviewer's Guide by Sourcery

This PR updates the @headlessui/react dependency from version 1.7.15 to 1.7.19. This update includes several bug fixes related to accessibility, component behavior, and compatibility.

Class diagram showing updated @headlessui/react component changes

classDiagram
    class Tab {
      +disabled: boolean
      +selectedIndex: number
    }
    class Switch {
      +tabIndex: number
      +disabled: boolean
    }
    class Dialog {
      +role: string
      +onClose(): void
      note for Dialog "Added alertdialog role support"
    }
    class ComboboxInput {
      +onBlur(): void
      note for ComboboxInput "Fixed blur behavior"
    }
    class HiddenComponent {
      +hidden: boolean
      note for HiddenComponent "Added hidden attribute support"
    }
Loading

State diagram for Dialog component behavior changes

stateDiagram-v2
    [*] --> Closed
    Closed --> Open: Open Dialog
    Open --> Closed: Click outside Panel
    Open --> Closed: Mobile close
    note right of Open: Fixed double onClose on mobile
    Open --> Closed: Close Dialog
    Closed --> [*]
Loading

File-Level Changes

Change Details Files
Updated @headlessui/react to v1.7.19
  • Updated the version specifier for @headlessui/react.
  • Updated the dependency resolution information to reflect changes in the package.
  • Added a new dependency on @tanstack/react-virtual.
  • Updated the fsevents dependency to version 2.3.3
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@renovate-bot renovate-bot force-pushed the renovate/headlessui-react-1.x-lockfile branch from 3428c5d to ce6d021 Compare February 1, 2025 02:38
@renovate-bot renovate-bot force-pushed the renovate/headlessui-react-1.x-lockfile branch from ce6d021 to e33968b Compare February 9, 2025 23:38
@renovate-bot renovate-bot force-pushed the renovate/headlessui-react-1.x-lockfile branch from e33968b to ea9728a Compare March 5, 2025 19:59
@renovate-bot renovate-bot force-pushed the renovate/headlessui-react-1.x-lockfile branch from ea9728a to d21b718 Compare March 13, 2025 23:50
@renovate-bot renovate-bot force-pushed the renovate/headlessui-react-1.x-lockfile branch from d21b718 to e8f22c6 Compare April 3, 2025 03:33
@renovate-bot renovate-bot force-pushed the renovate/headlessui-react-1.x-lockfile branch from e8f22c6 to 22eacb4 Compare May 23, 2025 04:12
@renovate-bot renovate-bot force-pushed the renovate/headlessui-react-1.x-lockfile branch from 22eacb4 to ec74209 Compare June 29, 2025 00:08
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.

1 participant