blue-react
v11.0.2
Published
Blue React Components
Readme
Blue React
Checkout the docs to find out how to use Blue React.
Breaking changes between v10 and v11
Fundamental changes in MenuItem
- Removed props
- onClickAttached
- iconClassName
- labelClassName
- caretClassName
- caretStyle
- isHome
- dropdownClassName
- dropdownStyle
- showDropdown
- onShowDropdown
- supportOutside
- outsideIgnoreClasses
- Renamed
- iconForActive -> iconForCurrent
- isActive -> current
- highlighted -> active
- Changed behviour. Menu item no longer has built in styling if
draggable. But since Menu item extends HTML Button or A element, propsdraggable,onDragStartetc. should still work. - Added
- sm
- lg
- iconBefore
- iconAfter
- labelHidden
- busy
- success
- defaultDisplay
- buttonContent
- as
The previous Menu Item with the older API is still available as LegacyMenuItem, but will be removed in a future release. Because of styling changes in Blue Web, it might not behave the same.
Removed deprecated components
- Body
- Page
- SidebarToggler
Developing
This project is built with CRA. To start
developing, just and install everything with npm i and run:
npm startCreate a new release
This is how to manually create a release:
By running
npm publishthe missing files in ./dist will be created, the docs will be generated and
the NPM package will be released.
To publish changes on the documentary, run:
npm run deployTo run both of them:
npm run release