Skip to content

Releases: neolution-ch/react-pattern-ui

Release 5.3.0

30 Sep 06:25

Choose a tag to compare

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

23 Jun 07:30

Choose a tag to compare

Added

  • Possibility to render the whole PanelSidebarLayout hiding completely the SidebarNav.
  • Export for PanelSidebarNavbar component. It can be used to render only the Navbar without need of context.

Release 5.1.0

11 Jun 08:21

Choose a tag to compare

Changed

  • migrated to eslint 9 with the neolution eslint config

Release 5.0.0

04 Mar 11:21

Choose a tag to compare

dependabot: #68 Bump the github-actions group with 5 updates

Removed

  • 💥 The property mainContentBodyRef from PanelSideBarLayout.

Added

  • The ref mainContentBodyRef exposed 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

23 Oct 08:34

Choose a tag to compare

Added

  • Added the pkg.pr.new workflow.
  • onSidebarCollapseOptions to customize the panel item behavior on sidebar collapsing: keep showing icons enabling showIcon, use a fallback icon setting fallbackIcon. It works:
    • whether tiles are rendered via renderFirstItemsLevelAsTiles
    • the panel item has any children

Release 4.2.0

08 Oct 12:54

Choose a tag to compare

Added

  • Expose mainContentBodyRef in order to control main body behaviour (e.g. scroll to top on page change)

Release 4.2.0-rc.0

08 Oct 12:31

Choose a tag to compare

Release 4.2.0-rc.0 Pre-release
Pre-release

Added

  • Expose mainContentBodyRef in order to control main body behaviour (e.g. scroll to top on page change)

Release 4.1.1

18 Jul 10:07

Choose a tag to compare

Fixed

  • Fixed hide feature for tiles menu items

Release 4.1.0

27 May 06:52

Choose a tag to compare

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

14 May 14:18

Choose a tag to compare

Added

  • Possibility to dinamically open or close sidebar
  • Possibility to dinamically toggle menu items
  • Added support for light, dark and blue 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 and topBarRigthCustomItems renamed to navbarLeftItems and navbarRightItems
  • navbarLeftItems and navbarRightItems have not default margin by default
  • default sidebar width to 16rem
  • 💥 UI elements are now parameter of SidebarLayout 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 in PanelSideBarLayout
  • 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 the navbarRightItems 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 with PanelSideBarLayout. In order to migrate:
    • assign items to menuItems in the PanelSideBarProvider
    • set renderFirstItemsLevelAsTiles to false
    • set useToggleButton in PanelSideBarLayout to true
    • set useResponsiveLayout in PanelSideBarLayout to true
    • move brand to PanelSideBarLayout
    • move footer to PanelSideBarLayout