In line with Node's release schedule, weβve made sure our package works on
Node's active LTS. Since we will only test on this version, weβve also made it
the required minimal version by bumping the engines field in package.json!386
π₯ BREAKING: The <Fonts /> component has been removed. Please import
@mediahuis/chameleon-theme-*/lib/web/fonts.css instead of using this
component.
!404
π₯ BREAKING: The <Reset /> component has been removed. Please import
@mediahuis/chameleon-reset instead of using this component.
!404
π₯ BREAKING: chameleon-react no longer has any chameleon-theme-*
packages specified in itβs dependencies. If you relied on the theme packages
being installed automatically, you need to add them to your own dependencies.
!407
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's Banner component.
MR !295
For chameleon-theme-hbvl-summer-2020, a faulty FF Mark Pro font file lied
at the basis of the wrong rendering of the letter "j" when your device's
locale is NL. New font files have been supplied to mitigate this issue.
!MR 238
A <RichContent /> component has been added. Basically, itβs a component that
wraps around some HTML or other components and provides some default styling.
See the documentation for more info.
MR !234
The brand-plus-main logo has been updated for chameleon-theme-swcom.
!MR 236
A new icon bot has been added for chameleon-theme-hbvl-summer-2020 and
chameleon-theme-gva-summer-2020. (All other themes fallback to a new bot
icon in chameleon-theme-wl).
!MR 232
Weβve taken the first steps to implementing CSS Custom Properties! For
now, itβs just an extra style-dictionary output until we flesh this out
further. MHDS-1753
WideListItem now uses Skeleton component as itβs loading state. π₯
BREAKING: Skeleton component was previously named Skelleton, this typo has
been fixed. MHDS-1341
π₯ BREAKING: Move branded bundles for chameleon-react into new separate
chameleon-react-bundled package. If you were depending on /lib folder in
chameleon-react, please install chameleon-react-bundled instead.
MHDS-1225
Added sideEffects to package.json to enable better tree-shaking
Changed dayjs is now a peerDependency
Changed name is deprecated and replaced with as in Icon and must be
imported from @mediahuis/chameleon-theme-wl/icons
Changed name is deprecated and replaced with icon in IconButton and must
be imported from @mediahuis/chameleon-theme-wl/icons
Changed icon, iconLeft, iconRight must be imported from
@mediahuis/chameleon-theme-wl/icons, string usage is deprecated in Button,
TextField, Select, AutoComplete, IconButton, ListItem,
WideListItem
Added forceSelection to AutoComplete component - you can now enforce a user
to select an item (under the hood we replaced react-autosuggest with DownShift
aswell)
Added verticalAlign to Logo and Image component
Added position prop to DatePicker
Added es & cjs outputs to a new /dist folder
Added package.json 'module' will now target './dist/es/index.js'
Changed package.json 'main' will now target './dist/cjs/index.js'