Skip to content

v0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ketsappi ketsappi released this 14 Feb 13:13
· 3682 commits to develop since this release

🚨 Breaking changes

Button

  • Button variant negative changed to inverted (#276)

Menu (LanguageMenu)

  • Menu is now renamed as LanguageMenu (#277)

✨ Features

Toggle

  • Disabled styles added (#275)

Other

  • Changed the build system to use tsdx

  • tslint changed to eslint

    • keeping most of the rules same if possible

📰 Changes in dependencies

These are not all the changes in dependencies, but should be the one that has effect / interest for the user of this library.

styled-components

  • styled-components is now peerDependency
    • So users of this library is required to install styled-components version >= 4.3.2
    • Added mention of this to README's Install-section

react

  • react requirement is now >=16.8.0 (was 16.6.3) because of styled-components

    • Also updated README regarding this version update

    • Added mention also of this peerDependency to README's Install-section

@types

Library was using newer types than it actually needed, so we lowered them to level it needs.

  • @types/react lowered to 16.8.0 (was 16.9.1)
  • @types/react-dom lowered to 16.8.0 (was 16.8.5)

❗️ Known issues

  • Bare accessible components was not working as instructed in the README. This section is now removed until it is working again.
  • Import of .css file left in the TypeScript's declaration file on the build