Skip to content

bruegmann/blue-react

Repository files navigation

React component library based on Bootstrap

Blue React

npm version

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, props draggable, onDragStart etc. 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 start

Create a new release

This is how to manually create a release:
By running

npm publish

the 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 deploy

To run both of them:

npm run release