stipsan / react-spring-bottom-sheet

Accessible ♿️, Delightful ✨, & Fast πŸš€
https://react-spring.bottom-sheet.dev/
MIT License
967 stars 133 forks source link

fix(deps): update dependency @reach/portal to ^0.18.0 - autoclosed #264

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@reach/portal ^0.13.0 -> ^0.18.0 age adoption passing confidence

Release Notes

reach/reach-ui ### [`v0.18.0`](https://togithub.com/reach/reach-ui/blob/HEAD/packages/portal/CHANGELOG.md#​0180) [Compare Source](https://togithub.com/reach/reach-ui/compare/v0.17.0...@reach/portal@0.18.0) ##### BREAKING Changes - All default exports have been removed. Replace all default imports with the appropriate documented named export. - The output directory structure has changed slightly. Module files are now named `reach-.mjs` instead of `reach-.esm.js`. ##### Minor Changes - We have simplified our build setup to remove a boatload of dependencies. Build output for all packages may look slightly different, though functionally packages that don't have explicit changes marked in the release notes have not changed. This may affect you if you use `patch-package` to modify output code. If you need support for legacy browsers, the new bundle may not transpile the same ECMA features as before. In that case you may want to transpile Reach packages directly. ##### Patch Changes - Updated dependencies: - `@reach/utils@0.18.0` ### [`v0.17.0`](https://togithub.com/reach/reach-ui/releases/tag/v0.17.0) [Compare Source](https://togithub.com/reach/reach-ui/compare/v0.16.2...v0.17.0) ##### πŸ’” 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`](https://togithub.com/reach/reach-ui/commit/2dd0aec73c4cc2a9a1936cb6c3e43933b2d2765f)) ##### πŸ› Bugfixes - `auto-id` - Use the user-provided ID beyond the first render for deterministic behavior ([`b2f3bc0`](https://togithub.com/reach/reach-ui/commit/b2f3bc010091a0bc7a99985657137101a58036ef)) - `tabs` - Stop managing focus on mouse clicks to fix `:focus-visible` - `listbox` - Update submit button `querySelector` specificity to fix incorrect button clicks ([#​903](https://togithub.com/reach/reach-ui/issues/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`](https://togithub.com/reach/reach-ui/commit/a8f38a497c0481156a4da1fecef955f398101327)). ##### πŸ€œπŸ€› 8 Committers - Ashlee M Boyer ([@​ashleemboyer](https://togithub.com/ashleemboyer)) - Jeff Grannes ([@​jeffgrannes](https://togithub.com/jeffgrannes)) - Jonathan ([@​jhogervorst](https://togithub.com/jhogervorst)) - Kendall Strautman ([@​kendallstrautman](https://togithub.com/kendallstrautman)) - Kent C. Dodds ([@​kentcdodds](https://togithub.com/kentcdodds)) - Vlad Yanchevsky ([@​chevsky](https://togithub.com/chevsky)) - Zach Gotsch ([@​zgotsch](https://togithub.com/zgotsch)) - [@​rainmodred](https://togithub.com/rainmodred) ### [`v0.16.2`](https://togithub.com/reach/reach-ui/releases/tag/v0.16.2) [Compare Source](https://togithub.com/reach/reach-ui/compare/v0.16.0...v0.16.2) ##### ✨ Enhancements - `combobox` - [#​783](https://togithub.com/reach/reach-ui/pull/783) Stop binding value changes from undesirely expanding combobox ([@​dlacaille](https://togithub.com/dlacaille)) - `portal` - [#​756](https://togithub.com/reach/reach-ui/pull/756) Add optional node container target to Portal ([@​Warsaken](https://togithub.com/Warsaken)) - `disclosure` - Make `Disclosure` accessible when Javascript is disabled ([@​schwartzadev](https://togithub.com/schwartzadev)) ##### πŸ€œπŸ€› 5 Committers - Adam Rackis ([@​arackaf](https://togithub.com/arackaf)) - Andrew Schwartz ([@​schwartzadev](https://togithub.com/schwartzadev)) - Austin Wood ([@​indiesquidge](https://togithub.com/indiesquidge)) - Dominic Lacaille ([@​dlacaille](https://togithub.com/dlacaille)) - [@​Warsaken](https://togithub.com/Warsaken) ### [`v0.16.0`](https://togithub.com/reach/reach-ui/releases/tag/v0.16.0) [Compare Source](https://togithub.com/reach/reach-ui/compare/v0.15.3...v0.16.0) **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 - Chance Strickland ([@​chaance](https://togithub.com/chaance)) - Aliaksei Kirylchyk ([@​akirilchik](https://togithub.com/akirilchik)) - Rauno ([@​raunofreiberg](https://togithub.com/raunofreiberg)) ### [`v0.15.3`](https://togithub.com/reach/reach-ui/releases/tag/v0.15.3) [Compare Source](https://togithub.com/reach/reach-ui/compare/v0.15.2...v0.15.3) #### πŸ› Bugfixes - `utils` - Typescript error for `as={Link}` on `MenuLink` (via `utils/polymorphic`) ([@​IanVS](https://togithub.com/IanVS)) - `menu-button` - [#​812](https://togithub.com/reach/reach-ui/pull/812) Prevent default for links to avoid double click events ([@​IanVS](https://togithub.com/IanVS)) - Popover does not consistently close when clicking between Menu Buttons ([@​ecklf](https://togithub.com/ecklf)) - `listbox` - Cannot focus on ListboxList when its styled to overlap ListboxButton ([@​loque](https://togithub.com/loque)) #### πŸ“ Documentation - `dialog` - [#​803](https://togithub.com/reach/reach-ui/pull/803) Fix typo ([@​apollonian](https://togithub.com/apollonian)) - [#​786](https://togithub.com/reach/reach-ui/pull/786) Fix animated dialog warning ([@​mbellagamba](https://togithub.com/mbellagamba)) - Other - [#​799](https://togithub.com/reach/reach-ui/pull/799) Add example check for CSS to respect a users anim prefs. ([@​Jared-Dev](https://togithub.com/Jared-Dev)) #### ✨ Enhancements - `combobox` - [#​757](https://togithub.com/reach/reach-ui/pull/757) If Combobox `openOnFocus` is true then also open when the input is clicked. ([@​ProggerPete](https://togithub.com/ProggerPete)) - `accordion`, `disclosure` - Remove -1 `tabIndex` from accordion and disclosure panels ([@​joshuajaco](https://togithub.com/joshuajaco)) ##### πŸ€œπŸ€› 10 Committers - Abhishek Warokar ([@​apollonian](https://togithub.com/apollonian)) - Chance Strickland ([@​chaance](https://togithub.com/chaance)) - Florentin / 珞辰 ([@​ecklf](https://togithub.com/ecklf)) - Ian VanSchooten ([@​IanVS](https://togithub.com/IanVS)) - Jared Malcolm ([@​Jared-Dev](https://togithub.com/Jared-Dev)) - Joshua Jacobowitz ([@​joshuajaco](https://togithub.com/joshuajaco)) - Lucas Soler ([@​loque](https://togithub.com/loque)) - Mike Limberg ([@​mlimberg](https://togithub.com/mlimberg)) - Mirco Bellagamba ([@​mbellagamba](https://togithub.com/mbellagamba)) - [@​ProggerPete](https://togithub.com/ProggerPete) ### [`v0.15.2`](https://togithub.com/reach/reach-ui/releases/tag/v0.15.2) [Compare Source](https://togithub.com/reach/reach-ui/compare/v0.15.0...v0.15.2) #### πŸ› Bugfixes - `menu-button` - [#​812](https://togithub.com/reach/reach-ui/pull/812) Prevent default for links to avoid double click events ([@​IanVS](https://togithub.com/IanVS)) - `listbox` - Cannot focus on `ListboxList` when it's styled to overlap `ListboxButton` ([@​loque](https://togithub.com/loque)) #### πŸ“ Documentation - `dialog` - [#​800](https://togithub.com/reach/reach-ui/issues/800) Update `react-focus-lock` and `react-remove-scroll` dependencies - [#​803](https://togithub.com/reach/reach-ui/pull/803) Fix typo ([@​apollonian](https://togithub.com/apollonian)) - [#​786](https://togithub.com/reach/reach-ui/pull/786) Fix animated dialog warning ([@​mbellagamba](https://togithub.com/mbellagamba)) - Other - [#​799](https://togithub.com/reach/reach-ui/pull/799) Add example check for CSS to respect a users animation preferences ([@​Jared-Dev](https://togithub.com/Jared-Dev)) #### ✨ Enhancements - `combobox` - [#​757](https://togithub.com/reach/reach-ui/pull/757) If `openOnFocus` is true then also open when the input is clicked ([@​ProggerPete](https://togithub.com/ProggerPete)) - `accordion`, `disclosure` - Remove -1 `tabIndex` from accordion and disclosure panels ([@​joshuajaco](https://togithub.com/joshuajaco)) ##### πŸ€œπŸ€› 8 Committers - Abhishek Warokar ([@​apollonian](https://togithub.com/apollonian)) - Chance Strickland ([@​chaance](https://togithub.com/chaance)) - Ian VanSchooten ([@​IanVS](https://togithub.com/IanVS)) - Jared Malcolm ([@​Jared-Dev](https://togithub.com/Jared-Dev)) - Joshua Jacobowitz ([@​joshuajaco](https://togithub.com/joshuajaco)) - Lucas Soler ([@​loque](https://togithub.com/loque)) - Mirco Bellagamba ([@​mbellagamba](https://togithub.com/mbellagamba)) - [@​ProggerPete](https://togithub.com/ProggerPete) ### [`v0.15.0`](https://togithub.com/reach/reach-ui/releases/tag/v0.15.0) [Compare Source](https://togithub.com/reach/reach-ui/compare/v0.14.0...v0.15.0) #### πŸ› Bugfixes - Combobox - Fix `persistSelection` issues when used with `openOnFocus` ([#​455](https://togithub.com/reach/reach-ui/issues/455)) - All packages - [#​769](https://togithub.com/reach/reach-ui/pull/769) Add \*.css files to the list of sideEffect(ful) files ([@​Andarist](https://togithub.com/Andarist)) - **BREAKING:** Removed `forwardRefWithAs` utility and created new types associated with components that us the `as` prop. This is a breaking change if you are using the component types directly, but this change was long overdue and should address some new issues that popped up in [#​753](https://togithub.com/reach/reach-ui/pull/753). Big thanks to [@​jjenzz](https://togithub.com/jjenzz) and the Radix UI project for making our lives easier here! ##### πŸ€œπŸ€› 3 Committers - Chance Strickland ([@​chaance](https://togithub.com/chaance)) - Mateusz BurzyΕ„ski ([@​Andarist](https://togithub.com/Andarist)) - Wajid Kagzi ([@​themoor88](https://togithub.com/themoor88)) ### [`v0.14.0`](https://togithub.com/reach/reach-ui/releases/tag/v0.14.0) [Compare Source](https://togithub.com/reach/reach-ui/compare/v0.13.2...v0.14.0) - `listbox` - Fix selection of options using iOS with VoiceOver. ([@​aappoalander](https://togithub.com/aappoalander)) - **Breaking change:** If you were using our previously suggested styling selector `[data-current]` for the selected listbox option, that selector has been removed in favor of `[data-current-selected]`. The reason is because we also added `[data-current-nav]` for the highlighted option when navigating the list, so this seemed more clear to distinguish between the two. We also removed the default styles for options that match `[aria-selected="true”]` because this is an implementation detail that will likely change in an upcoming patch release to address accessibility issues. #### πŸ“ Documentation - `tooltip` - [#​767](https://togithub.com/reach/reach-ui/pull/767) Fix typo in comments ([@​sanbornhilland](https://togithub.com/sanbornhilland)) #### ✨ Enhancements - All packages - [#​761](https://togithub.com/reach/reach-ui/pull/761) Add `sideEffects: false` to all packages to enable tree shaking ([@​hipstersmoothie](https://togithub.com/hipstersmoothie)) - `auto-id` - [#​752](https://togithub.com/reach/reach-ui/pull/752) Add missing type overload ([@​KubaJastrz](https://togithub.com/KubaJastrz)) ##### πŸ€œπŸ€› 6 Committers - Aappo Γ…lander ([@​aappoalander](https://togithub.com/aappoalander)) - Andrew Lisowski ([@​hipstersmoothie](https://togithub.com/hipstersmoothie)) - Chance Strickland ([@​chaance](https://togithub.com/chaance)) - Jakub JastrzΔ™bski ([@​KubaJastrz](https://togithub.com/KubaJastrz)) - Sanborn Hilland ([@​sanbornhilland](https://togithub.com/sanbornhilland)) - ZoΓ« Peterson ([@​zpeterson](https://togithub.com/zpeterson))

Configuration

πŸ“… Schedule: Branch creation - "before 3am on Monday" (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 has been generated by Mend Renovate using a preset from Sanity. View repository job log here

socket-security[bot] commented 1 year ago

New dependency changes detected. Learn more about Socket for GitHub β†—οΈŽ


πŸ‘ No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

Pull request alert summary
Issue Status
Install scripts βœ… 0 issues
Native code βœ… 0 issues
Bin script shell injection βœ… 0 issues
Unresolved require βœ… 0 issues
Invalid package.json βœ… 0 issues
HTTP dependency βœ… 0 issues
Git dependency βœ… 0 issues
Potential typo squat βœ… 0 issues
Known Malware βœ… 0 issues
Telemetry βœ… 0 issues
Protestware/Troll package βœ… 0 issues

πŸ“Š Modified Dependency Overview:

⬆️ Updated Package Version Diff Added Capability Access +/- Transitive Count Publisher
@reach/portal@0.18.0 0.13.2...0.18.0 None +1/-3 chancestrickland