Skip to content

[3.0.0] - 2020-09-01

Choose a tag to compare

@compulim compulim released this 01 Sep 09:37

Breaking changes

  • API through React Context is being deprecated in favor of React Hooks
  • CSS has been revamped by introducing support of customization through CSS BEM
    • className props are removed from sub-components
    • createBasicStyleSet() will only return a single complete style set, namely root. The style set will be a React CSS object, instead of a class name
    • styleSet prop will accept a map of React CSS object, instead of class names

Added

  • Revamped in PR #57, #58, #59, #60, #61 and #62
    • Single set of CSS BEM style
    • Added nonce prop for Content Security Policy support
    • Added React Hooks API
    • Added RTL support on Chromium Edge
    • Added overscroll-behavior-x: contain to prevent scroll-chaining
    • Added eslint and prettier
    • Sub-component FilmStrip is renamed to Filmstrip
    • Moved from class components to functional components

Changes