Version 3.0.1
๐ Bug Fixโ
- For
chameleon-theme-lw
, some text color tokens were wrongly mapped internally. In practice this doesn't really change any values, as coincidentally, the underlying values happened to be correct. !601 - Small improvement in
<Stepper />
responsiveness. !684, !734 - Fixes a font issue with "Nuacht Serif Headline" in Windows environments for
chameleon-theme-indo
andchameleon-theme-beltel
. !709 - Fixed the font-weights in
chameleon-theme-ds
. !713 - Fixed:
<Accordion>
children aren't allowed to be null or undefined when they're not the sole child. !748 - Fix logos for
chameleon-theme-vl
. !770 - Fix favicons for
chameleon-theme-lt
. !770
๐ New Featureโ
- ๐ Welcome to the Chameleon family:
chameleon-swift
! Beginning with this release we also publish a Swift library for Chameleon via Swift Package Manager. Note, this is a ๐ฅ BREAKING change as thelib/ios
output folder in all NPM packages has been removed. !490 - Weโve added success states for some form components in
chameleon-react
:<Textarea>
and<Select>
. !671, !682 - Weโve added an error state for
<Switch>
inchameleon-react
. !675 - Some new icons have been added:
plate
,plate-fill
,plate-half
,star-half
(for ratings) andplay-fill
(for podcasts). !698, !757 - We updated the
<Accordion />
component. Notably:- it now uses
<details> > <summary>
under the hood - an
onChange
callback prop has been added (called whenever another item inside gets expanded) - it now has a better focus style !631
- it now uses
- Weโve added
<table>
styling in<RichContent>
forchameleon-react
. !740 - There's a new component in town:
<Dropdown>
! ADropdown
is a contextual menu that you can anchor to a a component of your choosing (usually aButton
). It uses aWideList
component under the hood. ๐ฅ BREAKING change: to accomodate this new component weโve made 2 changes toWideList
:- the
clickable
prop no longer adds a<ChevronForward />
icon by default to show that it is clickable. - the
icon
andiconColor
props have been removed and 2 new props are added:iconLeft
andiconRight
. !740
- the
๐จย Themesโ
<BrandedHeading />
actions are no longer hidden on smaller screens forchameleon-theme-lw
,chameleon-theme-lt
,chameleon-theme-co
,chameleon-theme-tc
andchameleon-theme-hub
!648- Welcome
chameleon-theme-vl
, our chameleon implementation for Virgule. !685 - Sending some extra love to
chameleon-theme-ds
: - Updated the foundations for
chameleon-theme-co
andchameleon-theme-lt
. !744 - Updated the
external
icon forchameleon-theme-hub
,chameleon-theme-vl
,chameleon-theme-lw
,chameleon-theme-lt
,chameleon-theme-co
andchameleon-theme-tc
!744, !791 - Updated some font-sizes/line-heights & the design of the
<BrandedHeading
> forchameleon-theme-indo
andchameleon-theme-beltel
. !754, !764 - Updated the fonts for
chameleon-theme-gva-summer-2020
. All fonts have been reexported from Monotype and weโve now included a bold weight for the primary and secondary font. !765 - Update brand & brand-fill icon for
chameleon-theme-ds
!770, !788 - Update and add star ratings icons for
chameleon-theme-nb
,chameleon-theme-gva
andchameleon-theme-hbvl
!770 - Adds missing
BrandNameWhite
logos forchameleon-theme-co
andchameleon-theme-lt
!803 - Updated the
alias.focusColor
token forchameleon-theme-mh
!785
๐ Internalโ
- Updates to dependencies
- @babel/runtime: 7.19.0 -> 7.20.13
- @mediahuis/scripts: 1.3.1 -> 2.0.0
- @percy/cli: 1.12.0 -> 1.18.0
- @storybook/builder-webpack5: 6.5.13 -> 6.5.16
- @storybook/manager-webpack5: 6.5.13 -> 6.5.16
- @storybook/react: 6.5.13 -> 6.5.16
- chalk: 5.1.2 -> 5.2.0
- dayjs: 1.11.5 -> 1.11.7
- husky: 8.0.1 -> 8.0.3
- inputmask: 5.0.8-beta.47 -> 5.0.8-beta.72
- jest-environment-jsdom: 29.1.2 -> 29.4.2
- tinycolor2: 1.4.2 -> 1.5.2
- Updated to Node v18 !628
- Rewrote our
chameleon-cli
package. !711 - We started using Gitlab's Merge Request Pipelines !812
๐ฆฆ Otherโ
-
๐ฅ BREAKING: in
<AutoComplete />
the deprecatedonSuggestionSelected
prop is now removed (useonSelect
instead). !626 -
๐ฅ BREAKING: in
<Choice />
weโve renamed thecaption
prop tomessage
. Update your implementations from<Choice caption="..." />
to<Choice message="..." />
!662 -
๐ฅ BREAKING: in
<IconButton />
the deprecatedname
prop is now removed (useicon
instead). !626 -
๐ฅ BREAKING: the deprecated
<Image />
component is now removed. !626 -
We changed the look of
<Choice type="radio" />
a little bit. It's now clearer that this has radio functionality. !634 -
The calendar icon in
<DatePicker />
moved to the right of the input field. !636 -
Weโve made some improvements to the design of sortable tables which makes things more clear and accessible. !677
-
๐ฅ BREAKING: Fixed the
readOnly
prop on<DatePicker>
inchameleon-react
and added apickerInputOnly
prop. !732 -
๐ฅ BREAKING: weโve renamed all our theme packages to be compliant with Mediahuis' Entity & Brand Codes. So starting with this version number, you may need to install a different package. A short summary:
-
chameleon-theme-gva-summer-2020
->chameleon-theme-gva
-
chameleon-theme-hbvl-summer-2020
->chameleon-theme-hbvl
-
chameleon-theme-hmc-ge
->chameleon-theme-ge
-
chameleon-theme-hmc-hd
->chameleon-theme-hd
-
chameleon-theme-hmc-ld
->chameleon-theme-ld
-
chameleon-theme-hmc-nhd
->chameleon-theme-nhd
-
chameleon-theme-hmc-yc
->chameleon-theme-yc
-
chameleon-theme-nb
->chameleon-theme-nb-legacy
-
chameleon-theme-nb-winter-2021
->chameleon-theme-nb
-
chameleon-theme-swcom
->chameleon-theme-sw
-
chameleon-theme-wort-de
->chameleon-theme-lw
-
chameleon-theme-wort-en
->chameleon-theme-lt
-
chameleon-theme-wort-pt
->chameleon-theme-co
-
chameleon-theme-wort-tc
->chameleon-theme-tc
-