Releases: DiamondLightSource/sci-react-ui
Releases · DiamondLightSource/sci-react-ui
v0.2.0
Version 0.2.0
Key improvements:
- React route integration
Install via NPM at https://www.npmjs.com/package/@diamondlightsource/sci-react-ui/v/0.2.0
Changes
Fixed
- Styles added to Navbar and Footer incorrectly remove built in styles.
Changed
- Breadcrumbs component takes optional linkComponent prop for page routing.
- Navbar, NavLink and FooterLink will use routing library for links if provided with linkComponent and to props.
- Navbar uses slots for positioning elements. Breaking change: elements must now use rightSlot for positioning to the far right.
v0.1.0
Changes this version:
Added
- Breadcrumbs take object array (CustomLink) for total control over names and links.
Fixed
- Stopped flicker between colour modes when starting an app in dark mode.
- Footer links stopped from moving on hover when only showing links.
- Footer links now correctly center horizontally, if needed.
- NavBar positions items correctly in multiple screen widths.
- User hides id and name when on very small screens
Changed
- Footer links now align with copyright when there is no logo.
For full changes read the changelog.md file