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/portal from 0.6.2 to 0.17.0 #20

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

Conversation

ovlb
Copy link
Owner

@ovlb ovlb commented Aug 10, 2022

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


Snyk has created this PR to upgrade @reach/portal from 0.6.2 to 0.17.0.

ℹ️ 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 31 versions ahead of your current version.
  • The recommended version was released 4 months ago, on 2022-04-20.
Release notes
Package name: @reach/portal
  • 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.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.0 - 2021-08-02

    BREAKING: This release fixes a rendering bug in the descendants, but the bug in some cases may have coincidentally allowed descendants to be re-indexed in dynamically sorted lists. While this is probably a nice feature, it didn't work consistently and created problems with nested collections.

    We do not directly support dynamic sorting of lists, so if you relied on this "feature" you'll need to provide indices to the descendant item directly via props. If you're rendering dynamic lists you are probably iterating an array anyway, so you shouldn't have any issues.

    This applies to all collection-based compound components:

    • Tabs
    • Accordion
    • MenuButton
    • Listbox
    • Combobox

    🐛 Bugfixes

    • menu-button
      • Reference root's ownerDocument instead of global, better support in iframes

    ✨ Enhancements

    • menu-button
      • Better handling of mouse-move that caused problems with long lists on small screens
    • dialog
      • Update dependencies to fix small bugs in focus-lock
    • rect
      • Only log warning if observe is true

    🤜🤛 3 Committers

  • 0.15.3 - 2021-07-10

    🐛 Bugfixes

    • utils
      • Typescript error for as={Link} on MenuLink (via utils/polymorphic) (@ IanVS)
    • menu-button
      • #812 Prevent default for links to avoid double click events (@ IanVS)
      • Popover does not consistently close when clicking between Menu Buttons (@ ecklf)
    • listbox
      • Cannot focus on ListboxList when its styled to overlap ListboxButton (@ loque)

    📝 Documentation

    ✨ Enhancements

    • combobox
      • #757 If Combobox openOnFocus is true then also open when the input is clicked. (@ ProggerPete)
    • accordion, disclosure
      • Remove -1 tabIndex from accordion and disclosure panels (@ joshuajaco)

    🤜🤛 10 Committers

  • 0.15.2 - 2021-06-28

    🐛 Bugfixes

    • menu-button
      • #812 Prevent default for links to avoid double click events (@ IanVS)
    • listbox
      • Cannot focus on ListboxList when it's styled to overlap ListboxButton (@ loque)

    📝 Documentation

    ✨ Enhancements

    • combobox
      • #757 If openOnFocus is true then also open when the input is clicked (@ ProggerPete)
    • accordion, disclosure
      • Remove -1 tabIndex from accordion and disclosure panels (@ joshuajaco)

    🤜🤛 8 Committers

  • 0.15.0 - 2021-04-07
  • 0.14.0 - 2021-03-28
  • 0.13.2 - 2021-02-21
  • 0.13.1 - 2021-02-21
  • 0.13.0 - 2021-01-26
  • 0.12.1 - 2020-11-27
  • 0.12.0 - 2020-11-26
  • 0.11.2 - 2020-09-01
  • 0.11.1 - 2020-09-01
  • 0.11.0 - 2020-08-21
  • 0.10.5 - 2020-06-24
  • 0.10.4 - 2020-06-15
  • 0.10.3 - 2020-05-21
  • 0.10.2 - 2020-05-11
  • 0.10.1 - 2020-04-22
  • 0.10.0 - 2020-04-05
  • 0.9.0 - 2020-03-14
  • 0.8.6 - 2020-03-06
  • 0.8.5 - 2020-02-21
  • 0.8.2 - 2020-02-08
  • 0.8.0 - 2020-01-30
  • 0.7.4 - 2020-01-25
  • 0.7.3 - 2020-01-17
  • 0.7.2 - 2020-01-10
  • 0.7.1 - 2020-01-08
  • 0.7.0 - 2019-12-22
  • 0.6.2 - 2019-11-23
from @reach/portal GitHub release notes
Commit messages
Package name: @reach/portal

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
2 participants