π΄ Tree shaking! Weβve greatly improved tree shaking in chameleon-react.
Weβve reduced the bare bundle size from a whopping 323.94KB to a mere
19.84KB. A 16x reduction! When importing things from chameleon, you
only import what you actually need. (We're working to get that 19.84KB down to
an absolute 0, but this is a great first step!) π€ Special thanks to
@StevenBenisek for making
it happen!
!MR 419
Big foundation updates for chameleon-theme-indo and
chameleon-theme-beltel: new icons, illustrations, favicons, logos, colors,
typography and more.
!412!414
Updated/reverted the brand-plus-main logo for chameleon-theme-dl!413
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