Skip to content

Releases: azouaoui-med/react-pro-sidebar

V1.1.0

03 Feb 17:15
Compare
Choose a tag to compare
  • Fixed submenu open prop not working properly issue #210

V1.1.0-alpha.2

22 Jan 22:30
Compare
Choose a tag to compare
V1.1.0-alpha.2 Pre-release
Pre-release

V1.1.0-alpha.1

20 May 19:21
Compare
Choose a tag to compare
V1.1.0-alpha.1 Pre-release
Pre-release
  • [Sidebar] Added collapsed prop
  • [Sidebar] Added toggled prop
  • [Sidebar] Added onBackdropClick prop
  • [Sidebar] Added onBreakPoint prop

Updated

  • Deprecated ProSidebarProvider and made it optional
  • Deprecated useProSidebar
  • Updated BreakPoint type to use all and deprecate always

Fixed

  • Fixed closeOnClick triggering close on nested SubMenu click
  • Fixed sidebar default states not being applied correctly when using ProSidebarProvider and useProSidebar
  • Fixed Menu's transitionDuration collision with Sidebar's transitionDuration

V1.0.0

21 Jan 15:08
Compare
Choose a tag to compare

React Pro Sidebar 1.0.0 is here 🎉

For full list of changes, browse changelogs matching 1.0.0-alpha.* and 1.0.0-beta.*

V1.0.0-beta.3

20 Jan 20:37
Compare
Choose a tag to compare
V1.0.0-beta.3 Pre-release
Pre-release
  • [SubMenu] fixed popper placement on rtl

V1.0.0-beta.2

14 Jan 19:40
Compare
Choose a tag to compare
V1.0.0-beta.2 Pre-release
Pre-release
  • [Menu] Added transitionDuration prop to use when sliding submenu content

V1.0.0-beta.1

13 Jan 17:29
Compare
Choose a tag to compare
V1.0.0-beta.1 Pre-release
Pre-release
  • [MenuItem] Removed routerLink prop in favor of component
  • [SUbMenu] Added component prop

V1.0.0-alpha.10

10 Jan 20:10
Compare
Choose a tag to compare
V1.0.0-alpha.10 Pre-release
Pre-release
  • [MenuItem] [SubMenu] Apply root classes to child nodes (Button, label, prefix, ...)
  • [MenuItem] [SubMenu] Improve accessibility
  • [Sidebar] Fix sidebar border not changing when rtl is set to true

V1.0.0-alpha.9

27 Nov 14:14
Compare
Choose a tag to compare
V1.0.0-alpha.9 Pre-release
Pre-release

fix build

V1.0.0-alpha.8

27 Nov 14:03
Compare
Choose a tag to compare
V1.0.0-alpha.8 Pre-release
Pre-release
  • Added rootStyles to all components
  • [Sidebar] Added backdropStyles
  • [Sidebar] Removed overlayColor prop
  • [Menu] Renamed renderMenuItemStyles to menuItemStyles which now is of type MenuItemStyles, the prop now provide a way to apply styles directly to MenuItem/SubMenu component and their children

Type definition:

type ElementStyles = CSSObject | ((params: MenuItemStylesParams) => CSSObject | undefined);

interface MenuItemStyles {
  root?: ElementStyles;
  button?: ElementStyles;
  label?: ElementStyles;
  prefix?: ElementStyles;
  suffix?: ElementStyles;
  icon?: ElementStyles;
  subMenuContent?: ElementStyles;
  SubMenuExpandIcon?: ElementStyles;
}
  • updated classnames, the following are the new names:

    • ps-sidebar-root
    • ps-sidebar-container
    • ps-sidebar-image
    • ps-sidebar-backdrop
    • ps-collapsed
    • ps-toggled
    • ps-rtl
    • ps-broken
    • ps-menu-root
    • ps-menuitem-root
    • ps-submenu-root
    • ps-menu-button
    • ps-menu-prefix
    • ps-menu-suffix
    • ps-menu-label
    • ps-menu-icon
    • ps-submenu-content
    • ps-submenu-expand-icon
    • ps-disabled
    • ps-active
    • ps-open
  • Added utility classes that can be used to reference used classes