Releases: neolution-ch/react-pattern-ui
Releases · neolution-ch/react-pattern-ui
Release 5.3.0
Fix
- paging when displayed inside a form.
Added
- possibility to customize back/next first/last page navigation components.
Removed
- remove cypress declarations
Release 5.2.0
Added
- Possibility to render the whole PanelSidebarLayout hiding completely the SidebarNav.
- Export for
PanelSidebarNavbarcomponent. It can be used to render only the Navbar without need of context.
Release 5.1.0
Changed
- migrated to eslint 9 with the neolution eslint config
Release 5.0.0
dependabot: #68 Bump the github-actions group with 5 updates
Removed
- 💥 The property
mainContentBodyReffromPanelSideBarLayout.
Added
- The ref
mainContentBodyRefexposed to through the context to be used to control the main content body behaviour (e.g. scroll to top on page change).
Release 4.3.0
Added
- Added the pkg.pr.new workflow.
onSidebarCollapseOptionsto 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
mainContentBodyRefin order to control main body behaviour (e.g. scroll to top on page change)
Release 4.2.0-rc.0
Added
- Expose
mainContentBodyRefin 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,darkandbluetheme in PanelSideBarLayout.
Changed
menuItems propertiesare not locked by any states during the render process anymore. Changing externally the menu items will provide the correct menu- 💥
topBarLeftCustomItemsandtopBarRigthCustomItemsrenamed tonavbarLeftItemsandnavbarRightItems navbarLeftItemsandnavbarRightItemshave not default margin by default- default sidebar
widthto16rem - 💥
UI elementsare now parameter ofSidebarLayoutand not of the context anymore - PanelItem Id type changed from
stringto being strongly typed
Fixed
- When
footeris null, the whole section will not be rendered - Unique key prop in a list warning
- menu items provided with
expandedto true are correctly displayed inPanelSideBarLayout - Active panel is now recognized recursively and not until the third deep level anymore
Removed
- 💥
DeleteActioncomponent. - 💥 Built-in support for
userDropdown. It should provided in thenavbarRightItemsitems and define your style in your solution. - 💥
localItemsproperty as menuItems can be fully controlled by the consumer. - 💥 removed
PanelSideBarcomponent and its relative contexts and should be replaced withPanelSideBarLayout. In order to migrate:- assign
itemstomenuItemsin thePanelSideBarProvider - set
renderFirstItemsLevelAsTilesto false - set
useToggleButtoninPanelSideBarLayoutto true - set
useResponsiveLayoutinPanelSideBarLayoutto true - move
brandtoPanelSideBarLayout - move
footertoPanelSideBarLayout
- assign