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 @reach/combobox from 0.16.1 to 0.17.0 #41

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

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade @reach/combobox from 0.16.1 to 0.17.0.

merge advice
ℹ️ 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 5 versions ahead of your current version.
  • The recommended version was released 22 days ago, on 2022-04-20.
Release notes
Package name: @reach/combobox
  • 0.17.0 - 2022-04-20

    💔 Breaking Changes

    • disclosure
      • In uncontrolled disclosures, previously we would render the disclosure as open on the first render, regardless of the defaultOpen prop's value. This was done as a progressive enhancement to ensure content was visible to users without JavaScript, but in most cases it just meant that the user might see a flash before the state would change, causing unwanted layout shift.
      • We simplified this by simply respecting the defaultOpen prop's value on the initial render. If you want the old behavior, control the state of your disclosures and ensure that the initial open state is always set to true, then set the desired state for the following render in useEffect.
    • tabs
      • Removed the isSelected from from the Tab component. This prop was useful before we had hooks, but we can now get the selected tab from context without using render props. (2dd0aec)

    🐛 Bugfixes

    • auto-id
      • Use the user-provided ID beyond the first render for deterministic behavior (b2f3bc0)
    • tabs
      • Stop managing focus on mouse clicks to fix :focus-visible
    • listbox
      • Update submit button querySelector specificity to fix incorrect button clicks (#903)
    • menu-button, combobox, listbox
      • Skip rendering of portaled popovers before hydration. This prevents unwanted layout shift when the server-rendered popover mounts to a temporary DOM node (a8f38a4).

    🤜🤛 8 Committers

  • 0.16.5 - 2021-12-06

    In @ reach/combobox, we added a data-expanded attribute to the parent wrapper and popover for simpler styling based on the expanded state of the input.

  • 0.16.4 - 2021-11-16

    This release fixes a bug in Combobox where the selection in a controlled combobox input would trigger a flash with the stale value. We should always defer to the user's value when the input is controlled (Thanks @ arackaf!) -- #865

  • 0.16.3 - 2021-10-19

    This release reverts a change in Combobox that, while addressing the issue in #755, was not tested thoroughly enough and caused a regression where in some cases the popover doesn't open until the user presses the down or up key after initial input. If you updated to v0.16.3 specifically as a workaround to this issue, I apologize! A new fix is in progress for the next release, and I'm working to ensure it's a bit more battle tested this time around.

  • 0.16.2 - 2021-10-17

    ✨ Enhancements

    • combobox
      • #783 Stop binding value changes from undesirely expanding combobox (@ dlacaille)
    • portal
    • disclosure
      • Make Disclosure accessible when Javascript is disabled (@ schwartzadev)

    🤜🤛 5 Committers

  • 0.16.1 - 2021-08-02

    This patch release fixes a bug when passing stable index values to descendant item components.

from @reach/combobox GitHub release notes
Commit messages
Package name: @reach/combobox

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

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