Skip to content

v4.20.0

Compare
Choose a tag to compare
@leodr leodr released this 27 Oct 14:28
· 692 commits to master since this release

✨ New Features

  • New chayns-components/split-css entrypoint for environments that do not support CSS imports inside of node_modules (Next.js). The component CSS can be imported via import 'chayns-components/dist/styles.css'.
  • Output is now tree-shakable by default. The babel transform function still exists for backwards compatibility, but basically does nothing at this point.
  • The Icon-component and any component that uses it can now take an array of icons to form a stacked FontAwesome-icon.

During this release the documentation has also changed and is now automatically generated from JSDoc comments in the components source.