Version 1.12.0
π New Featuresβ
- All headings (h1-h6) are now responsive! Up until this point, paragraph, heading1, -2 and -3 were the only ones with responsive font-size and line-height values. This feature is now extended to heading4, -5 and -6 as well. MR !263
- Weather icons are added to
chameleon-tokens
so each brand now has access to a default set of weather icons. MR !265 - We added a new
closeHidden
prop to chameleon-react'sBanner
component. MR !295
π¨ Themesβ
- New theme:
chameleon-theme-wort-de
! !MR 272 - In the
<Dialog />
component. The header and footerborder-color
is now updated tocolorGrey30
(fromcolorGrey20
) !MR 257 - The
brand-fill
icons are added for every brand. !MR 266 - Replaced Helvetica Neue Ltstd & Replaced Helvetica Neue Condensed with Roboto
in
nb-winter-2021
!274 - Make it possible to use the v2 logo in
chameleon-theme-nb
this will also be the default! !293
π Internalβ
- Updates to dependencies:
- @babel/runtime: 7.16.3 -> 7.16.7
- @popperjs/core: 2.11.0 -> 2.11.2
- @storybook/react: 6.4.5 -> 6.4.12
- @testing-library/jest-dom: 5.15.1 --> 5.16.1
- fast-glob: 3.2.7 -> 3.2.10
- focus-trap: 6.7.1 -> 6.7.2
- inputmask: 5.0.6 -> 5.0.8-beta.1
- prop-types: 15.7.2 -> 15.8.1
- style-dictionary: 3.0.3 -> 3.1.1
- We have refactored the icon processing to allow for polychrome icons. !MR 256
- Added repository fields for all package.json files. !MR 277
- Refactored the color system, to allow for more flexibility regarding foreground/background contrast. !MR 273
- Changed the way placeholders work, by using an illustration, this gives the brands more flexibility. !MR 278
- Changed the way multibranded snapshot testing works in Percy !289
π Bug Fixβ
- Removed default fontsize from
<Text />
component !291
𦦠Otherβ
- Deprecated
<Image />
component !MR 283