v0.4.0
Pre-release
Pre-release
🚨 Breaking changes
Icon
- Removes support for custom SVG #267
Heading
- Heading 6 variant removed #263
Other
- Export only suomifi-design-system tokens #269
- Shadows, gradients, outlines, z-indexes, transitions and radius tokens are no longer available as export. These internal tokens are only available internally inside the library.
- Updates the
suomifi-design-tokens
version to0.6.0
✨ Features
Toggle
- Differentiated input and button version of the Toggle #224
- By default Toggle is now button
- To use input-version use the variant:
<Toggle.withInput>
Icon
- Updated to use
suomifi-icons
version0.0.10
- Introduced support for custom props #252
🐛 Bug fixes
Toggle
- State change should not anymore trigger twice when clicking toggle #239
- Structure changed (input-version) #239
defaultChecked
props will now correctly show visible change in the Toggle component #257
Icon
- Restore support for custom icon colors #252
Color tokens
- styleguidist now presents color tokens in an accessible way #173