Releases: azouaoui-med/react-pro-sidebar
Releases · azouaoui-med/react-pro-sidebar
V1.0.0-alpha.7
- added support for react router to
MenuItem
viarouterLink
prop
V1.0.0-alpha.6
- fixed submenu content not displayed when collapsed issue #124
V1.0.0-alpha.5
update popper behavior
V1.0.0-alpha.4
- Build & script enhancements
- upgrade deps
- fix tests
V1.0.0-alpha.3
type children prop
V1.0.0-alpha.2
update tsconfig and fix build
V1.0.0-alpha.1
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
andonToggle
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
andinnerSubMenuArrows
props - [Menu] added
renderMenuItemStyles
prop for customizingMenuItem
&SubMenu
components - [Menu] added
renderExpandIcon
prop - [Menu] added
closeOnClick
prop (useful when wanting to close popper on menuItem click when collapsed istrue
) - [MenuItem] added
disabled
props - [SubMenu] added
disabled
props - [SubMenu] renamed
title
prop tolabel
- Introduced
ProSidebarProvider
component anduseProSidebar
hook to access and manage sidebar state
V0.7.1
Fixed
- Fix submenu items bullets not showing by adding
subMenuBullets
andinnerSubMenuArrows
props to Menu to choose between arrows and bullets
V0.7.0
V0.6.0
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