Skip to main content

Version 6.4.0

Thomas Mattheussen
PO & Lead Developer

๐ŸŽจ Themesโ€‹

  • Added the chameleon-theme-hbvl sport subtheme. !1885
  • Fixed the design for LinkText color in certain subthemes. !1892
  • Added the ext-vrouw icon to chameleon-theme-tel. !1888

๐Ÿš€ New Featureโ€‹

chameleon-reactโ€‹

  • Added a new component, welcome <SegmentedControl />! !1804
  • Add a loading prop to <DefaultTeaser />, <TextOnImageTeaser /> and <ListTeaser />. This shows a skeleton where the teaser contents would be, which prevents large layout shifts, providing a smoother loading experience. !1845
  • Add a allowOutsideClick prop to <Dialog /> which if true does not prevent a click outside the focus trap. !1890
  • Refactored our Teaser components allowing the video play icon button to be hidden when overlayed with a playing video. !1891

chameleon-kotlinโ€‹

  • Introducing our game-changing token-io setup โ€” a revolutionary overhaul that catapults performance to unprecedented levels. This isnโ€™t just an update; itโ€™s a giant leap forward redifining what's possible for the Chameleon project. With this powerful new integration, weโ€™ve hit another milestone of maturity and capability. Major kudos to @stijn.willems and @dieter.vaesen! ๐Ÿ’ซ !1760

chameleon-swiftโ€‹

  • Improve the error message for when you try to use a sub-theme that is not available for the current theme. !1832

๐Ÿ› Bug Fixโ€‹

  • Fixed the color of the ripple effect on Button in chameleon-kotlin. !1878
  • Fixes some incorrect icons !1888:
    • sorting in chameleon-theme-tel
    • brand-active in chameleon-theme-vl
    • arrow-forward in chameleon-theme-lw
    • thumbs-down in chameleon-theme-nb

๐Ÿ  Internalโ€‹

  • Updates to dependencies:
  • Added some tests to improve the quality of the tokens-studio $themes.json file. !1881
  • Added some tests to make sure we don't bloat the Kotlin libraries. !1867
  • Updated our docker setup making everything faster and simpler. We also started using Node v22, as it is now the LTS version. !1884
  • Improved the linting and formatting for chameleon-kotlin in CI. !1889

Version 6.3.0

Thomas Mattheussen
PO & Lead Developer

๐ŸŽจ Themesโ€‹

  • Onboarding for chameleon-theme-tel. !1706
  • Made some changes to chameleon-theme-gva:
    • Updated the color.primary palette. !1870
    • Updated the color.secondary palette. !1865
    • Updated the sport subtheme. !1864
  • Some new icons are available for all themes: crime, politics & entertainment. !1863

Version 6.2.1

Thomas Mattheussen
PO & Lead Developer

๐ŸŽจย Themesโ€‹

  • Updated the quotes icon for chameleon-theme-nb, chameleon-theme-dl and chameleon-theme-gva. !1859
  • Updated the customer-support icon for all themes. !1859

๐Ÿ  Internalโ€‹

  • Updates to dependencies:
  • Refactored some icons in Figma for cleaner SVG output (no visual changes). !1858

Version 6.2.0

Thomas Mattheussen
PO & Lead Developer

๐ŸŽจย Themesโ€‹

  • Updated the datetime format tokens for chameleon-theme-dl. !1834

๐Ÿš€ New Featureโ€‹

  • We've added an additional position for the DateTime placement on our Teaser components. Check out the added documentation for this feature on DefaultTeaser and TextOnImageTeaser. !1794
  • The placement of the image in the RelatedTeaser can now be independently configured from the placement of the image in the horizontal DefaultTeaser. Also, when an image is provided, the prefix is now positioned on top of the title for a nicer visual look. !1765

๐Ÿ› Bug Fixโ€‹

  • ๐Ÿšจ Fixed an incorrect dependency import causing a large number of extraneous assets to be included in your app, bloating the final APK size. If you or one of your dependencies depend on be.mediahuis.chameleon:chameleon-components:6.x.x, you should upgrade ASAP. !1855

๐Ÿ  Internalโ€‹

Version 6.1.1

Thomas Mattheussen
PO & Lead Developer

๐Ÿ› Bug Fixโ€‹

  • Fixed an issue where podcast teaser images were sometimes incorrectly sized. !1823
  • Fixed a missing accent/desktop subtheme for chameleon-theme-yc. !1806

๐Ÿ  Internalโ€‹

Version 6.0.1

Wannes De Backer
Front-end Developer Web

๐Ÿ›ย Bugย Fixโ€‹

webโ€‹

  • Resolved a type issue in useMediaQuery, which was inadvertently excluded due to a faulty extension, leading to an error during the mediahuis-compile step. !1792
  • Fixed an issue in the <Logo /> component where outdated pre-6.0.0 values were still being used, causing the image to break. !1799
  • Removed the duplicate podcast image logic in the Teaser with articleType podcast. !1789

kotlinโ€‹

  • You can now pass a ColorScheme and WindowSizeClass to the SubThemeStore.get() function, making it easier to retrieve a SubThemeStore. !1800

swiftโ€‹

  • Fixed compatibility issue with chameleon-swift 6.0 where mainActor was not inferred correctly in earlier Swift versions (Swift 5.9) MHDS-3021.

Version 6.0.0

Thomas Mattheussen
PO & Lead Developer

โœจ๐ŸŒˆ Welcome Chameleonย 6.0.0!โ€‹

It may look the same on the surface, but behind the scenes, weโ€™ve done some serious housekeeping. Weโ€™ve refactored all of our visual assets โ€” logos, icons & illustrations โ€” so everythingโ€™s now neat and easy to find. On top of that, we took out the trash by removing some long-deprecated code.

All in all, think of it as a refreshing spring cleaning.

Be sure to check out our migration guide to help guide you through the process of upgrading.

๐ŸŽจ Themesโ€‹

  • ๐Ÿ’ฅ BREAKING: The main reason for this major version: a complete refactor of all of our visual assets. Be sure to check our migration guide.

๐Ÿš€ New Featureโ€‹

  • An easy composable implementation to retrieve available SubThemes and Themes. !1718

๐Ÿ  Internalโ€‹

  • Updates to dependencies
  • Remove some unused config files. !1638
  • Removed ChCard component in Kotlin. !1673
  • Weโ€™ve significantly improved our workflow by automating asset downloads directly from Figma, boosting efficiency and greatly reducing the chances of human error. This is a solid step forward in making things smoother and more reliable. !1427
  • ๐Ÿ’ฅ BREAKING: Remove deprecated code and align some API's. Be sure to check our migration guide as a guide to these breaking changes. !1669 !1685 !1708 !1712

Version 5.15.0

Wannes De Backer
Front-end Developer Web

๐Ÿš€ New Featureโ€‹

chameleon-reactโ€‹

  • We've significantly enhanced our typings for React, particularly in components with an as property, offering improved type safety and flexibility. !1741
  • Improved accessibility for the Avatar component, which was previously hidden from screen readers. We also introduced the accessibilityLabelAvatar property, allowing screen readers to provide descriptive labels for avatars. !1777

chameleon-swiftโ€‹

These updates will help with transitioning to newer components and improve overall deployment and style handling processes.

  • Branch-specific Publishing: The ability to publish directly to a specific branch has been implemented, which will make deployment more flexible (Merge Request: !1770).
  • Swift Loader and Banner Issues: A merge request has addressed issues related to Swift loader and banner components (Merge Request: !1778).
  • Token Simplification: A simplified method of using tokens by providing a style has been introduced, which is aimed at making the transition to components smoother. The Loader and Banner have already adopted this approach, with others expected to follow in version 6 (V6).
  • AutoRegister Deprecation: AutoRegister is still functional but deprecated. It will be removed in V6, so while it's not mandatory to switch to manual bootstrap yet, developers are encouraged to start doing so.

chameleon-kotlinโ€‹

  • Updated autoregister/bootstrap processes: TC.autoRegister() is deprecated and will be replaced by TC.bootstrap() in V6. Both methods now include logic to prevent multiple triggers and will log a warning if skipped. !1779
  • Asset tokens are now accessible via TC from this version forward. !1768
  • Introduced new Chameleon components with Compose previews: ChBanner, CHLoader, CHDropdown. !1764
  • The demo app is now named ChameleonApp.

๐Ÿ› Bug Fixโ€‹

Themesโ€‹

  • Fixed an issue with incorrect sets enabled on DL subthemes, restoring the intended theme configurations. !1775

chameleon-swiftโ€‹

  • Optimized typography function calls to improve startup times and make previews more workable. !1769

chameleon-reactโ€‹

  • Refactored the logic for showing/hiding suggestions in the Autocomplete component when using async to enhance user experience and performance. !1772

๐Ÿ  Internalโ€‹