Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

@pxblue/react-components v5.0.0

Choose a tag to compare

@joebochill joebochill released this 16 Feb 12:47
· 2454 commits to master since this release
382f997

5.0.0

Changed

  • Updated styles for <DropdownToolbar> to support Icon Button or plain icon for navigationIcon.
  • Updated default styles for <Drawer>.
  • activeItem must now specified on the <Drawer> component instead of <DrawerNavGroup>.
  • Moved titleColor prop from shared props to the local props for <DrawerNavGroup>.
  • Some of the class names for style overrides have changed

Added

  • Additional configuration properties for <Drawer>:
    • sideBorder gives the <Drawer> a slight border instead of a drop shadow.
    • disableActiveItemParentStyle disables the bold text style for active item's parent elements.
    • variant now supports 'rail' option.
  • Additional configuration options for <DrawerSubheader> and <DrawerFooter>:
    • hideContentOnCollapse configures if content in these areas should be hidden or remain visible when the drawer is collapsed.
    • divider configures whether to show a dividing line separating the component from other content.
  • Added new property openOnHover to <Drawer>.
  • Ability to build <Drawer> contents declaratively instead of using items prop.