Skip to content

Releases: azouaoui-med/react-pro-sidebar

V1.0.0-alpha.7

24 Oct 22:21
Compare
Choose a tag to compare
V1.0.0-alpha.7 Pre-release
Pre-release
  • added support for react router to MenuItem via routerLink prop

V1.0.0-alpha.6

14 Oct 21:19
Compare
Choose a tag to compare
V1.0.0-alpha.6 Pre-release
Pre-release
  • fixed submenu content not displayed when collapsed issue #124

V1.0.0-alpha.5

13 Oct 20:44
Compare
Choose a tag to compare
V1.0.0-alpha.5 Pre-release
Pre-release

update popper behavior

V1.0.0-alpha.4

09 Oct 23:13
Compare
Choose a tag to compare
V1.0.0-alpha.4 Pre-release
Pre-release
  • Build & script enhancements
  • upgrade deps
  • fix tests

V1.0.0-alpha.3

06 Oct 07:59
Compare
Choose a tag to compare
V1.0.0-alpha.3 Pre-release
Pre-release

type children prop

V1.0.0-alpha.2

05 Oct 22:02
Compare
Choose a tag to compare
V1.0.0-alpha.2 Pre-release
Pre-release

update tsconfig and fix build

V1.0.0-alpha.1

05 Oct 17:17
d49c4a3
Compare
Choose a tag to compare
V1.0.0-alpha.1 Pre-release
Pre-release

Breaking changes

  • Removed scss in favor of css-in-js(styled component)
  • [Sidebar] Rename ProSidebar to Sidebar
 - import { ProSidebar } from 'react-pro-sidebar';
 + import { Sidebar } from 'react-pro-sidebar';
  • [Sidebar] Removed collapsed, toggled and onToggle props (useProSidebar hook will be used instead)
  • [Sidebar] Added defaultCollapsed prop
  • [Sidebar] Added always option to breakPoint prop
  • [Sidebar] Added customBreakPoint prop
  • [Sidebar] Added backgroundColor prop
  • [Sidebar] Added transitionDuration prop
  • [Sidebar] Added overlayColor prop
  • [Menu] removed iconShape, popperArrow, subMenuBullets and innerSubMenuArrows props
  • [Menu] added renderMenuItemStyles prop for customizing MenuItem & SubMenu components
  • [Menu] added renderExpandIcon prop
  • [Menu] added closeOnClick prop (useful when wanting to close popper on menuItem click when collapsed is true)
  • [MenuItem] added disabled props
  • [SubMenu] added disabled props
  • [SubMenu] renamed title prop to label
  • Introduced ProSidebarProvider component and useProSidebar hook to access and manage sidebar state

V0.7.1

23 Sep 09:48
Compare
Choose a tag to compare

Fixed

  • Fix submenu items bullets not showing by adding subMenuBullets and innerSubMenuArrows props to Menu to choose between arrows and bullets

V0.7.0

22 Sep 18:07
Compare
Choose a tag to compare

Added

  • Add submenu indent variable and update default
  • Add exports for all component props
  • Add breakpoint-xxl

updated

  • Replace submenu bullets with arrows
  • Enable icon use in submenu items

Fixed

  • Fix typescript property collision by Omitting prefix props for li element @zirho

V0.6.0

11 Feb 18:29
Compare
Choose a tag to compare

Added

  • Add width and collapsedWidth props

Fixed

  • Fix dynamically add Menu items depending on certain conditions from @sergiovhe
  • Fix use of styles in ProSidebar component from @sujaysudheenda
  • Fix default props spreading