Skip to content

chore(deps): bump react-pro-sidebar from 1.1.0 to 2.0.0-alpha.1 in /client#759

Merged
mergify[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/client/react-pro-sidebar-2.0.0-alpha.1
Jun 1, 2026
Merged

chore(deps): bump react-pro-sidebar from 1.1.0 to 2.0.0-alpha.1 in /client#759
mergify[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/client/react-pro-sidebar-2.0.0-alpha.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Copy link
Copy Markdown
Contributor

Bumps react-pro-sidebar from 1.1.0 to 2.0.0-alpha.1.

Release notes

Sourced from react-pro-sidebar's releases.

v2.0.0-alpha.1

Major Changes

  • ca60c78: v2 SSR/Next.js fixes: breakpoint no longer flashes the sidebar open before hydration (applied via a CSS media query); popper flyouts are portaled out of the scroll container so overflow/backdrop-filter can't clip or mis-position them, while keeping color/font/direction; RTL and the React 19 inert warning fixed; onBreakPoint fires only on change.

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

V2.0.0-alpha.0

Removed

  • [Sidebar] Removed the ProSidebarProvider component (deprecated since 1.1)
  • Removed the useProSidebar hook (deprecated since 1.1) — use Sidebar props instead
  • [Sidebar] Removed the defaultCollapsed prop — use the controlled collapsed prop
  • [Sidebar] Removed the breakPoint="always" value — use breakPoint="all"
  • [Sidebar] Removed the customBreakPoint prop — pass a custom value to breakPoint instead (e.g. breakPoint="450px")

Changed

  • Breaking: React peer dependency is now >=18 (dropped React 16 / 17 support); React 19 is supported
  • Runtime dependencies (@emotion, @popperjs, classnames) are now externalized instead of bundled, reducing install size and avoiding duplicate copies
  • The package now ships a proper exports map with ESM (dist/index.mjs), CJS (dist/index.js) and a types entry

Added

  • [Menu] New popover prop — top-level SubMenus open as floating poppers even when the sidebar is expanded (instead of sliding open inline)
  • [Menu] New accordion prop — when set, only one top-level SubMenu can be open at a time. Opening another closes the previously open one
  • [SubMenu] New accordion prop — coordinates only the submenu's direct children (per-level scope, independent of any ancestor accordion)
  • [SubMenu] Active state now cascades automatically — a SubMenu is marked active whenever any of its descendants is active
  • [Sidebar] Pressing Escape now closes the sidebar when open as an overlay (broken + toggled)
  • [Sidebar] Focus moves into the sidebar when it opens as an overlay
  • [MenuItem] aria-current="page" on active items and aria-disabled on disabled items
  • [SubMenu] aria-expanded on the trigger, aria-haspopup="menu" when a collapsed top-level submenu opens as a popup, and aria-disabled on disabled triggers

Fixed

  • [Sidebar] Backdrop now uses onKeyDown and activates only on Enter / Space (replacing the deprecated onKeyPress, which fired on any key)
  • [SubMenu] Items in a closed submenu are no longer reachable via Tab or exposed to screen readers — the closed submenu content is now marked inert
  • [SubMenu] Trigger now has role="button", so its aria-expanded / aria-haspopup state is valid (it previously sat on a roleless <a>)
Changelog

Sourced from react-pro-sidebar's changelog.

[2.0.0-alpha.1] - 2026-05-26

Major Changes

  • ca60c78: v2 SSR/Next.js fixes: breakpoint no longer flashes the sidebar open before hydration (applied via a CSS media query); popper flyouts are portaled out of the scroll container so overflow/backdrop-filter can't clip or mis-position them, while keeping color/font/direction; RTL and the React 19 inert warning fixed; onBreakPoint fires only on change.

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.0.0-alpha.0] - 2026-05-26

Major Changes

Breaking release. See MIGRATION.md for upgrade steps.

Removed

  • [Sidebar] Removed the ProSidebarProvider component (deprecated since 1.1)
  • Removed the useProSidebar hook (deprecated since 1.1) — use Sidebar props instead
  • [Sidebar] Removed the defaultCollapsed prop — use the controlled collapsed prop
  • [Sidebar] Removed the breakPoint="always" value — use breakPoint="all"
  • [Sidebar] Removed the customBreakPoint prop — pass a custom value to breakPoint instead (e.g. breakPoint="450px")

Changed

  • Breaking: React peer dependency is now >=18 (dropped React 16 / 17 support); React 19 is supported
  • Runtime dependencies (@emotion, @popperjs, classnames) are now externalized instead of bundled, reducing install size and avoiding duplicate copies
  • The package now ships a proper exports map with ESM (dist/index.mjs), CJS (dist/index.js) and a types entry

Added

  • [Menu] New popover prop — top-level SubMenus open as floating poppers even when the sidebar is expanded (instead of sliding open inline)
  • [Menu] New accordion prop — when set, only one top-level SubMenu can be open at a time. Opening another closes the previously open one
  • [SubMenu] New accordion prop — coordinates only the submenu's direct children (per-level scope, independent of any ancestor accordion)
  • [SubMenu] Active state now cascades automatically — a SubMenu is marked active whenever any of its descendants is active
  • [Sidebar] Pressing Escape now closes the sidebar when open as an overlay (broken + toggled)
  • [Sidebar] Focus moves into the sidebar when it opens as an overlay
  • [MenuItem] aria-current="page" on active items and aria-disabled on disabled items
  • [SubMenu] aria-expanded on the trigger, aria-haspopup="menu" when a collapsed top-level submenu opens as a popup, and aria-disabled on disabled triggers

Fixed

  • [Sidebar] Backdrop now uses onKeyDown and activates only on Enter / Space (replacing the deprecated onKeyPress, which fired on any key)
  • [SubMenu] Items in a closed submenu are no longer reachable via Tab or exposed to screen readers — the closed submenu content is now marked inert
  • [SubMenu] Trigger now has role="button", so its aria-expanded / aria-haspopup state is valid (it previously sat on a roleless <a>)
  • [Sidebar] breakPoint now works under SSR (Next.js): the responsive hide is applied with a CSS media query so the sidebar is hidden on first paint, instead of flashing open until hydration
  • [SubMenu] Popper flyouts (collapsed / popover mode) are now portaled out of the sidebar's scroll container, so its overflow / backdrop-filter no longer clips or mis-positions them (they still inherit the sidebar's color, font and direction)
Commits
  • 9a56d03 Merge pull request #268 from azouaoui-med/changeset-release/master
  • 9b37b13 Version Packages (alpha)
  • d670e56 Merge pull request #267 from azouaoui-med/v2
  • ca60c78 chore(release): enter alpha pre-release mode and add v2 changeset
  • e99a83c fix(submenu): portal popper flyout out of scroll container; fix rtl, inherita...
  • 596dc95 fix(sidebar): apply breakpoint via CSS media query; emit onBreakPoint only on...
  • 29ea8a7 Merge pull request #264 from azouaoui-med/v2
  • 8bb3ff6 chore(ci): restore changesets release workflow on master
  • 75d95ca chore(release): 2.0.0-alpha.0 and tag-triggered npm publish
  • 34cbd99 feat(sidebar)!: merge customBreakPoint into breakPoint
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-pro-sidebar](https://github.com/azouaoui-med/react-pro-sidebar) from 1.1.0 to 2.0.0-alpha.1.
- [Release notes](https://github.com/azouaoui-med/react-pro-sidebar/releases)
- [Changelog](https://github.com/azouaoui-med/react-pro-sidebar/blob/master/CHANGELOG.md)
- [Commits](azouaoui-med/react-pro-sidebar@v1.1.0...v2.0.0-alpha.1)

---
updated-dependencies:
- dependency-name: react-pro-sidebar
  dependency-version: 2.0.0-alpha.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: javascript. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added automated pr dependencies Pull requests that update a dependency file labels Jun 1, 2026
@github-actions github-actions Bot requested a review from lpm0073 June 1, 2026 06:02
@mergify mergify Bot merged commit 913f3f6 into main Jun 1, 2026
3 checks passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/client/react-pro-sidebar-2.0.0-alpha.1 branch June 1, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated pr dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant