Skip to content

@brightlayer-ui/react-components v6.0.0

Compare
Choose a tag to compare
@brightlayer-ui-agent brightlayer-ui-agent released this 01 Apr 17:34
· 1924 commits to master since this release
b8531b1

v6.0.0 (April 1, 2022)

Changed

  • Components are now built to work with Material UI v5 (#352).
  • In <Hero> component, fontSize, value, valueIcon, valueColor and units props have been replaced by ChannelValueProps prop, which will allow you to specify any props on the underlying <ChannelValue> component. (#365).

Removed

  • Quick set options for fontSize ('normal' and 'small') have been removed in the <Hero> / <ChannelValue> components — if you were using these options previously, they can be replaced with '1.25rem' and '1rem', respectively, e.g.:
    • <Hero ChannelValueProps={{ fontSize: '1rem' }} />
  • DropdownToolbar. You should switch to using the <ToolbarMenu> component inside of a MUI Toolbar instead. (#353).