Skip to content

7.0.0

Compare
Choose a tag to compare
@jenkrisu jenkrisu released this 23 May 05:24
· 19 commits to master since this release
c19afa1

Release notes

The library went through a complete overhaul. It now offers the functionalities and accessibility features that suomifi-ui-components Icon component used to offer, but as individual, tree-shakable React components.

This release also adds some new base icons.

Refer to README.md for usage instructions and API descriptions.

Change log

  • Breaking change: Rewrite library to offer individual, tree-shakeable React components
    • refer to README for usage, imports are changed from import { SuomifiIcon } from 'suomifi-icons'; <SuomifiIcon icon="info" /> to individually imported icons import { IconInfo } from 'suomifi-icons'; <IconInfo />
  • Breaking change: Rename multiple illustrative icons
    • Archive --> FileCabinet
    • Map --> Location
    • Phone --> Mobile
    • Registers --> Register
    • Settings --> Cogwheel
    • PhoneText --> MobileText
  • Breaking change: Add "Logo" prefix to logo icon names
    • e.g. Vertical --> LogoVertical
  • Add new base icons
    • AlignLeft
    • Fullscreen
    • Grid
    • Window
    • ChevronDoubleLeft
    • ChevronDoubleRight