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

[Snyk] Upgrade @ariakit/react from 0.3.14 to 0.4.5 #59

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

Conversation

naiba4
Copy link
Owner

@naiba4 naiba4 commented May 7, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @ariakit/react from 0.3.14 to 0.4.5.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 6 versions ahead of your current version.
  • The recommended version was released a month ago, on 2024-03-28.
Release notes
Package name: @ariakit/react
  • 0.4.5 - 2024-03-28

    Multi-selectable Combobox with inline autocomplete

    When rendering a Multi-selectable Combobox with the autoComplete prop set to "inline" or "both", the completion string will no longer be inserted into the input upon deselecting an item. This is because the completion string generally represents an addition action, whereas deselecting an item is a removal action.

    Other updates

  • 0.4.4 - 2024-03-18

    Combobox autoFocusOnHide behavior

    Previously, the autoFocusOnHide feature on ComboboxPopover was turned off by default. Most of the time, this didn't have any practical impact because the combobox input element was already focused when the popover was hidden.

    Now, this feature is enabled by default and should work consistently even when virtualFocus is set to false.

    Better SVG strokes

    The strokeWidth property on SVG elements rendered by CheckboxCheck, ComboboxCancel, ComboboxDisclosure, DialogDismiss, HovercardDisclosure, PopoverDisclosureArrow, and all components that use any of these now defaults to 1.5px instead of 1.5pt. This should make the strokes slightly thinner.

    Remember, you can always override the SVG element rendered by these components by rendering custom children.

    Minimum value length to show combobox options

    A new showMinLength prop has been added to the Combobox component. This prop lets you set the minimum length of the value before the combobox options appear. The default value is 0.

    <Combobox showMinLength={2} />

    Previously, achieving this behavior required combining three separate props: showOnChange, showOnClick, and showOnKeyPress. We've added this prop to simplify this common task.

    These props continue to work as expected as they can be used to customize the behavior for each distinct event.

    Rendering composite items as input elements

    We've added the ability to render CompositeItem as an input element using the render prop:

    <CompositeItem render={<input />} />

    Before, you could only do this with the experimental CompositeInput component. Now, this functionality is integrated directly into the CompositeItem component.

    Other updates

  • 0.4.3 - 2024-03-07
  • 0.4.2 - 2024-03-04
  • 0.4.1 - 2024-01-26
  • 0.4.0 - 2024-01-18
  • 0.3.14 - 2024-01-14
from @ariakit/react GitHub release notes
Commit messages
Package name: @ariakit/react

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Copy link

vercel bot commented May 7, 2024

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

Name Status Preview Comments Updated (UTC)
gutenberg ❌ Failed (Inspect) May 7, 2024 3:06pm
gutenberg-wd9x ❌ Failed (Inspect) May 7, 2024 3:06pm

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.

2 participants