Releases: vrk-kpa/suomifi-ui-components
v0.5.0
🚨 Breaking changes
Button
- Button variant
negative
changed toinverted
(#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 toeslint
- 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
- So users of this library is required to install styled-components version
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
(was16.9.1
) - @types/react-dom lowered to
16.8.0
(was16.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
v0.4.1
v0.4.0
🚨 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
Batch normalize.cssinjs to 1.1.0 for 0.2.4
Update normalize.cssinjs to 1.1.0
Relates to #158
Use tokens from suomifi-design-tokens
- Use tokens from
suomifi-design-tokens
https://github.com/vrk-kpa/suomifi-ui-components/milestone/1
Bugfixs:
- Change breadcrumb link "Aria-current" value from "page" to "location" #175
- Set button fullWidth using className #176
- Added the missing background-color for the Dropdown #178
- Use disabled-attribute for PanelExpansion #199
- Button.tertiary colors to match design #218
- Fix PanelExpansionGroup open/close all button for IE and Edge #191
- Mouse cursor for disabled Button #228
Breaking changes:
Update normalize.cssinjs to 1.1.0
Update suomifi-icons to 0.0.8 (that contained React as dependency)
-
Update suomifi-icons to 0.0.8 (that contained React as dependency)
-
Fix Button.negative disabled background color
-
Fix theme from passing to SVG's
-
Update React typings
-
Replace Emotion with Styled Components
-
Fix Styled Components
as
-prop usage with internalasProp
Update correct depthSecondary values
- Update correct depthSecondary values
- Add break-word to font
- Add eslint-plugin-tree-shaking
- Update React-styleguidist to 9.1.13
- Use Jest-Axe
- Add ''-tags to component styleguide pages
Add successBaseSecondary
- Add successBaseSecondary
- Change color shades to correct exact hsla value
- Fix BEM classNames
Define line-height
- Define line-height
- Fix icons positioning together with line-height
- Update suomifi-icons
- Fixes to theme utils missing props