Releases: neolution-ch/react-pattern-ui
Releases Β· neolution-ch/react-pattern-ui
Release 4.3.0
Added
- Added the pkg.pr.new workflow.
onSidebarCollapseOptions
to customize the panel item behavior on sidebar collapsing: keep showing icons enablingshowIcon
, use a fallback icon settingfallbackIcon
. It works:- whether tiles are rendered via
renderFirstItemsLevelAsTiles
- the panel item has any
children
- whether tiles are rendered via
Release 4.2.0
Added
- Expose
mainContentBodyRef
in order to control main body behaviour (e.g. scroll to top on page change)
Release 4.2.0-rc.0
Added
- Expose
mainContentBodyRef
in order to control main body behaviour (e.g. scroll to top on page change)
Release 4.1.1
Fixed
- Fixed hide feature for tiles menu items
Release 4.1.0
Added
- various utility functions
getPreExpandedMenuItems
,getChildrenPanelItemsIds
,getHiddenPanelIds
- possibility to dynamic display the menu items
- improved Context status management so that the Layout is using only the states inside it
Fixed
- issue for which hiding a menu entry was breaking the rules of hook
Release 4.0.0
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
to16rem
- π₯
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
Release 4.0.2-beta.3
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
to16rem
- π₯
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
Release 4.0.2-beta.2
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
Release 4.0.2-beta.1
Added
- Possibility to dinamically open or close
sidebar
- Possibility to dinamically toggle
menu items
Changed
menuItems properties
are not locked by any states during the render process anymore. Changing externally the menu items will provide the correct menutopBarLeftCustomItems
andtopBarRigthCustomItems
renamed tonavbarLeftItems
andnavbarRightItems
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
Removed
DeleteAction
component.- Built-in support for
userDropdown
. It should provided in thenavbarRightItems
items. localItems
property as menuItems can be fully controlled by the consumer.
Release 4.0.2-beta.0
Added
- Possibility to dinamically open or close
sidebar
- Possibility to dinamically toggle
menu items
Changed
menuItems properties
are not locked by any states during the render process anymore. Changing externally the menu items will provide the correct menutopBarLeftCustomItems
andtopBarRigthCustomItems
renamed tonavbarLeftItems
andnavbarRightItems
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
Removed
DeleteAction
component.- Built-in support for
userDropdown
. It should provided in thenavbarRightItems
items. localItems
property as menuItems can be fully controlled by the consumer.