Release 4.0.2-beta.2
Pre-release
Pre-release
neolution-ch-release-bot
released this
10 May 14:38
·
11 commits
to main
since this release
Added
- Possibility to dinamically open or close
sidebar
- Possibility to dinamically toggle
menu items
- Added support for
light
,dark
andblue
theme in PanelSideBarLayout.
Changed
menuItems properties
are not locked by any states during the render process anymore. Changing externally the menu items will provide the correct menu- 💥
topBarLeftCustomItems
andtopBarRigthCustomItems
renamed tonavbarLeftItems
andnavbarRightItems
navbarLeftItems
andnavbarRightItems
have not default margin by default- default sidebar
width
to14rem
- 💥
UI elements
are now parameter ofSidebarLayout
and not of the context anymore - PanelItem Id type changed from
string
to being strongly typed
Fixed
- When
footer
is null, the whole section will not be rendered - Unique key prop in a list warning
- menu items provided with
expanded
to true are correctly displayed inPanelSideBarLayout
- Active panel is now recognized recursively and not until the third deep level anymore
Removed
- 💥
DeleteAction
component. - 💥 Built-in support for
userDropdown
. It should provided in thenavbarRightItems
items and define your style in your solution. - 💥
localItems
property as menuItems can be fully controlled by the consumer. - 💥 removed
PanelSideBar
component and its relative contexts and should be replaced withPanelSideBarLayout
. In order to migrate:- assign
items
tomenuItems
in thePanelSideBarProvider
- set
renderFirstItemsLevelAsTiles
to false - set
useToggleButton
inPanelSideBarLayout
to true - set
useResponsiveLayout
inPanelSideBarLayout
to true - move
brand
toPanelSideBarLayout
- move
footer
toPanelSideBarLayout
- assign