mynaparrot / plugNmeet-client

Plug-N-Meet - React Client
https://demo.plugnmeet.com/login.html
MIT License
28 stars 24 forks source link

Update dependency @headlessui/react to v2 #690

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 5 months ago

This PR contains the following updates:

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

Release Notes

tailwindlabs/headlessui (@​headlessui/react) ### [`v2.1.3`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#213---2024-08-23) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v2.1.2...@headlessui/react@v2.1.3) ##### Fixed - Ensure `Transition` component state doesn't change when it becomes hidden ([#​3372](https://togithub.com/tailwindlabs/headlessui/pull/3372)) - Fix closing components using the `transition` prop, and after scrolling the page ([#​3407](https://togithub.com/tailwindlabs/headlessui/pull/3407)) - Ensure all client components are marked correctly to avoid a crash with React 19 and Turbopack ([#​3429](https://togithub.com/tailwindlabs/headlessui/pull/3429)) ### [`v2.1.2`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#212---2024-07-05) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v2.1.1...@headlessui/react@v2.1.2) ##### Fixed - Fix prematurely added anchoring styles on `ListboxOptions` ([#​3337](https://togithub.com/tailwindlabs/headlessui/pull/3337)) - Ensure `unmount` on `Dialog` works in combination with the `transition` prop on `DialogBackdrop` and `DialogPanel` components ([#​3352](https://togithub.com/tailwindlabs/headlessui/pull/3352)) - Fix crash in `Combobox` component when in `virtual` mode when options are empty ([#​3356](https://togithub.com/tailwindlabs/headlessui/pull/3356)) - Fix hanging tests when using `anchor` prop ([#​3357](https://togithub.com/tailwindlabs/headlessui/pull/3357)) - Fix `transition` and `focus` prop combination for `PopoverPanel` component ([#​3361](https://togithub.com/tailwindlabs/headlessui/pull/3361)) - Fix outside click in nested portalled `Popover` components ([#​3362](https://togithub.com/tailwindlabs/headlessui/pull/3362)) - Fix restoring focus to correct element when closing `Dialog` component ([#​3365](https://togithub.com/tailwindlabs/headlessui/pull/3365)) - Fix `flushSync` warning for `Combobox` component with `immediate` prop enabled ([#​3366](https://togithub.com/tailwindlabs/headlessui/pull/3366)) ### [`v2.1.1`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#211---2024-06-26) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v2.1.0...@headlessui/react@v2.1.1) ##### Fixed - Fix issues spreading omitted props onto components ([#​3313](https://togithub.com/tailwindlabs/headlessui/pull/3313)) - Fix initial `anchor="selection"` positioning ([#​3324](https://togithub.com/tailwindlabs/headlessui/pull/3324)) - Fix render prop in `ComboboxOptions` to use `any` instead of `unknown` ([#​3327](https://togithub.com/tailwindlabs/headlessui/pull/3327)) - Fix incorrect `Transition` boundary for `Dialog` component ([#​3331](https://togithub.com/tailwindlabs/headlessui/pull/3331)) ### [`v2.1.0`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#210---2024-06-21) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v2.0.4...@headlessui/react@v2.1.0) ##### Added - Add ability to render multiple `Dialog` components at once (without nesting them) ([#​3242](https://togithub.com/tailwindlabs/headlessui/pull/3242)) - Add new data-attribute-based transition API ([#​3273](https://togithub.com/tailwindlabs/headlessui/pull/3273), [#​3285](https://togithub.com/tailwindlabs/headlessui/pull/3285), [#​3307](https://togithub.com/tailwindlabs/headlessui/pull/3307), [#​3309](https://togithub.com/tailwindlabs/headlessui/pull/3309), [#​3312](https://togithub.com/tailwindlabs/headlessui/pull/3312)) - Add `DialogBackdrop` component ([#​3307](https://togithub.com/tailwindlabs/headlessui/pull/3307), [#​3310](https://togithub.com/tailwindlabs/headlessui/pull/3310)) - Add `PopoverBackdrop` component to replace `PopoverOverlay` ([#​3308](https://togithub.com/tailwindlabs/headlessui/pull/3308)) ##### Fixed - Keep `Combobox` open when clicking scrollbar in `ComboboxOptions` ([#​3249](https://togithub.com/tailwindlabs/headlessui/pull/3249)) - Ensure `ComboboxInput` does not sync with current value while typing ([#​3259](https://togithub.com/tailwindlabs/headlessui/pull/3259)) - Fix visual jitter in `Combobox` component when using native scrollbar ([#​3190](https://togithub.com/tailwindlabs/headlessui/pull/3190)) - Improve UX by freezing `ComboboxOptions` while closing ([#​3304](https://togithub.com/tailwindlabs/headlessui/pull/3304)) - Merge incoming `style` prop on `ComboboxOptions`, `ListboxOptions`, `MenuItems`, and `PopoverPanel` components ([#​3250](https://togithub.com/tailwindlabs/headlessui/pull/3250)) - Prevent focus on `Checkbox` when it is `disabled` ([#​3251](https://togithub.com/tailwindlabs/headlessui/pull/3251)) - Use `useId` instead of React internals (for React 19 compatibility) ([#​3254](https://togithub.com/tailwindlabs/headlessui/pull/3254)) - Cancel outside click behavior on touch devices when scrolling ([#​3266](https://togithub.com/tailwindlabs/headlessui/pull/3266)) - Correctly apply conditional classes when using `Transition` and `TransitionChild` components ([#​3303](https://togithub.com/tailwindlabs/headlessui/pull/3303)) ##### Changed - Allow using the `Tab` and `Shift+Tab` keys when the `Listbox` component is open ([#​3284](https://togithub.com/tailwindlabs/headlessui/pull/3284)) ### [`v2.0.4`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#204---2024-05-25) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v2.0.3...@headlessui/react@v2.0.4) ##### Fixed - \[internal] Don’t set a focus fallback for Dialog’s in demo mode ([#​3194](https://togithub.com/tailwindlabs/headlessui/pull/3194)) - Ensure page doesn't scroll down when pressing `Escape` to close the `Dialog` component ([#​3218](https://togithub.com/tailwindlabs/headlessui/pull/3218)) - Fix crash when toggling between `virtual` and non-virtual mode in `Combobox` component ([#​3236](https://togithub.com/tailwindlabs/headlessui/pull/3236)) - Ensure tabbing to a portalled `` component moves focus inside (without using ``) ([#​3239](https://togithub.com/tailwindlabs/headlessui/pull/3239)) - Only handle form reset when `defaultValue` is used ([#​3240](https://togithub.com/tailwindlabs/headlessui/pull/3240)) ##### Deprecated - Mark `SwitchGroup` as deprecated, prefer `Field` instead ([#​3232](https://togithub.com/tailwindlabs/headlessui/pull/3232)) ##### Changed - Use native `fieldset` instead of `div` by default for `
` component ([#​3237](https://togithub.com/tailwindlabs/headlessui/pull/3237)) ### [`v2.0.3`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#203---2024-05-07) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v2.0.2...@headlessui/react@v2.0.3) ##### Fixed - Make sure disabling demo mode on `` works ([#​3182](hhttps://togithub.com/tailwindlabs/headlessui/pull/3182)) ### [`v2.0.2`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#202---2024-05-07) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v2.0.1...@headlessui/react@v2.0.2) ##### Fixed - Improve performance of internal `useInertOthers` hook ([#​3181](https://togithub.com/tailwindlabs/headlessui/pull/3181)) ### [`v2.0.1`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#201---2024-05-06) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v2.0.0...@headlessui/react@v2.0.1) ##### Fixed - Remove accidental deprecation comments on `` and `` ([#​3176](https://togithub.com/tailwindlabs/headlessui/pull/3176)) ### [`v2.0.0`](https://togithub.com/tailwindlabs/headlessui/blob/HEAD/packages/@​headlessui-react/CHANGELOG.md#200---2024-05-06) [Compare Source](https://togithub.com/tailwindlabs/headlessui/compare/@headlessui/react@v1.7.19...@headlessui/react@v2.0.0) ##### Added - Add new `Checkbox` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2962](https://togithub.com/tailwindlabs/headlessui/pull/2962)) - Add new `Button` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `Input` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2902](https://togithub.com/tailwindlabs/headlessui/pull/2902), [#​2940](https://togithub.com/tailwindlabs/headlessui/pull/2940)) - Add new `Textarea` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2902](https://togithub.com/tailwindlabs/headlessui/pull/2902), [#​2940](https://togithub.com/tailwindlabs/headlessui/pull/2940)) - Add new `Select` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2902](https://togithub.com/tailwindlabs/headlessui/pull/2902)) - Add new `Fieldset` and `Legend` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `Field`, `Label`, and `Description` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​2941](https://togithub.com/tailwindlabs/headlessui/pull/2941)) - Add new `MenuSection`, `MenuHeading`, and `MenuSeparator` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `ListboxSelectedOption` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `DataInteractive` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `CloseButton` component and `useClose` hook ([#​3096](https://togithub.com/tailwindlabs/headlessui/pull/3096)) - Add new `anchor`, `modal`, and `portal` props to `Combobox`, `Listbox`, `Menu` and `Popover` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3075](https://togithub.com/tailwindlabs/headlessui/pull/3075), [#​3097](https://togithub.com/tailwindlabs/headlessui/pull/3097), [#​3111](https://togithub.com/tailwindlabs/headlessui/pull/3111), [#​3115](https://togithub.com/tailwindlabs/headlessui/pull/3115), [#​3121](https://togithub.com/tailwindlabs/headlessui/pull/3121), [#​3124](https://togithub.com/tailwindlabs/headlessui/pull/3124), [#​3133](https://togithub.com/tailwindlabs/headlessui/pull/3133), [#​3138](https://togithub.com/tailwindlabs/headlessui/pull/3138), [#​3148](https://togithub.com/tailwindlabs/headlessui/pull/3148), [#​3152](https://togithub.com/tailwindlabs/headlessui/pull/3152), [#​3154](https://togithub.com/tailwindlabs/headlessui/pull/3154), [#​3157](https://togithub.com/tailwindlabs/headlessui/pull/3157)) - Add new `autoFocus` prop to focusable components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Add new `virtual` prop to `Combobox` component ([#​2779](https://togithub.com/tailwindlabs/headlessui/pull/2779), [#​3128](https://togithub.com/tailwindlabs/headlessui/pull/3128), [#​3160](https://togithub.com/tailwindlabs/headlessui/pull/3160), [#​3161](https://togithub.com/tailwindlabs/headlessui/pull/3161), [#​3163](https://togithub.com/tailwindlabs/headlessui/pull/3163)) - Add new `onClose` prop to `Combobox` component ([#​3122](https://togithub.com/tailwindlabs/headlessui/pull/3122)) - Add new `immediate` prop to `Combobox` for immediately opening the Combobox when the `input` receives focus ([#​2686](https://togithub.com/tailwindlabs/headlessui/pull/2686)) - Add new `--button-width` CSS variable on the `ListboxOptions`, `MenuItems`, and `PopoverPanel` components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3058](https://togithub.com/tailwindlabs/headlessui/pull/3058)) - Add new `--input-width` and `--button-width` CSS variables on the `ComboboxOptions` component ([#​3057](https://togithub.com/tailwindlabs/headlessui/pull/3057)) - Add new `data-*` attributes as an alternative to the existing `data-headlessui-state` attribute ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3035](https://togithub.com/tailwindlabs/headlessui/pull/3035), [#​3061](https://togithub.com/tailwindlabs/headlessui/pull/3061)) ##### Fixed - Fix scroll-locking on iOS ([#​2891](https://togithub.com/tailwindlabs/headlessui/pull/2891)) - Fix cancellation of events when using `disabled` or `aria-disabled` attributes ([#​2890](https://togithub.com/tailwindlabs/headlessui/pull/2890)) - Fix unnecessary execution of the `displayValue` callback in `ComboboxInput` component ([#​3048](https://togithub.com/tailwindlabs/headlessui/pull/3048)) - Fix types for `multiple` prop in `Combobox` component ([#​3099](https://togithub.com/tailwindlabs/headlessui/pull/3099)) - Fix focus handling in `ComboboxInput` component ([#​3065](https://togithub.com/tailwindlabs/headlessui/pull/3065), [#​3073](https://togithub.com/tailwindlabs/headlessui/pull/3073)) - Fix enter transitions in `Transition` component ([#​3074](https://togithub.com/tailwindlabs/headlessui/pull/3074)) - Fix focus handling in `ListboxOptions` and `MenuItems` components ([#​3112](https://togithub.com/tailwindlabs/headlessui/pull/3112)) - Fix horizontal scrolling inside the `Dialog` component ([#​2889](https://togithub.com/tailwindlabs/headlessui/pull/2889)) - Don’t cancel `touchmove` on `input` elements inside a dialog ([#​3166](https://togithub.com/tailwindlabs/headlessui/pull/3166)) ##### Changed - Require React 18 ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3092](https://togithub.com/tailwindlabs/headlessui/pull/3092), [#​3131](https://togithub.com/tailwindlabs/headlessui/pull/3131)) - Always render hidden form input fields for `Checkbox`, `Switch`, and `RadioGroup` components ([#​3095](https://togithub.com/tailwindlabs/headlessui/pull/3095)) - Deprecate the `RadioGroup.Option` component in favor of new `Radio` component ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Dialog is now focused by default instead of the first focusable element ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887)) - Change default tags for `ListboxOptions`, `ListboxOption`, `ComboboxOptions`, `ComboboxOption`, and `TabGroup` components ([#​3109](https://togithub.com/tailwindlabs/headlessui/pull/3109)) - Change default tag from `div` to `Fragment` on `Transition` components ([#​3110](https://togithub.com/tailwindlabs/headlessui/pull/3110), [#​3147](https://togithub.com/tailwindlabs/headlessui/pull/3147)) - Allow `Combobox` component to have a `null` value ([#​3064](https://togithub.com/tailwindlabs/headlessui/pull/3064), [#​3100](https://togithub.com/tailwindlabs/headlessui/pull/3100)) - Attempt form submission when pressing enter on the `ListboxButton` component ([#​2972](https://togithub.com/tailwindlabs/headlessui/pull/2972)) - Deprecate the `entered` prop on the `Transition` component ([#​3089](https://togithub.com/tailwindlabs/headlessui/pull/3089)) - Deprecate dot notation for components ([#​2887](https://togithub.com/tailwindlabs/headlessui/pull/2887), [#​3170](https://togithub.com/tailwindlabs/headlessui/pull/3170)) - Add frozen value to `ComboboxOptions` component ([#​3126](https://togithub.com/tailwindlabs/headlessui/pull/3126)) - Remove deprecated `DialogBackdrop` and `DialogOverlay` components ([#​3171](https://togithub.com/tailwindlabs/headlessui/pull/3171))

Configuration

📅 Schedule: Branch creation - "every weekend" (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.



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

Summary by CodeRabbit

coderabbitai[bot] commented 5 months ago
Walkthrough ## Walkthrough The `package.json` file has been modified to update the version of the `@headlessui/react` dependency from `1.7.19` to `2.1.3`. This change signifies a version upgrade, which may include various enhancements to the library. ## Changes | File | Change Summary | |--------------------|-----------------------------------------------------| | `package.json` | Updated `@headlessui/react` version from `1.7.19` to `2.1.3` | ## Sequence Diagram(s) *(No sequence diagram is necessary as the changes do not introduce a new feature or significant modifications to control flow.)* ## Poem > In the garden, hops a rabbit bright, > With changes afoot, oh what a delight! > From one version to the next, we cheer, > New features abound, let’s spread some cheer! > With each little hop and a twitch of the nose, > Upgrading our tools, watch how it grows! 🐇✨

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` or `@coderabbitai title` anywhere in the PR title to generate the title automatically. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
netlify[bot] commented 5 months ago

Deploy Preview for plugnmeet failed.

Name Link
Latest commit d16e111c919cf84d6a53c64135f5997e379a202d
Latest deploy log https://app.netlify.com/sites/plugnmeet/deploys/66d1a43ee8c9800007dd77a8
renovate[bot] commented 2 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.