Skip to main content

Version 5.13.1

Thomas Mattheussen
PO & Lead Developer

πŸš€ New Feature​

chameleon-swift​

  • Check validity of subTheme on set on the token container. !1710

πŸ› Bug fix​

chameleon-react​

  • Fixed an SSR issue with our <Portal /> component. !1716

chameleon-themes​

  • Fixed an issue with SVG dimensions on chameleon-theme-lt logos. !1723

chameleon-swift-tokens-legacy​

  • Fixed a build/pipeline issue. !1720

🏠 Internal​

  • Updates to dependencies
  • Added subtheme functionality to our demo's on the docs website. Darkmode functionality has been implemented as well, but hidden from our users for now (as we don't have any good darkmode brands atm). !1653

Version 5.13.0

Thomas Mattheussen
PO & Lead Developer

πŸš€ New Feature​

  • We've added the editorial functionality to our Teaser components giving you the power to mark teasers as being "live" or "breaking"! This addition comes in the form of the editorialLabel and editorialAnimation props on our <DefaultTeaser /> and <TextOnImageTeaser /> components. !1667

  • We've added the possibility to group countries in our <PhoneField /> component. For example, if you want to separate "BeNeLux" and "Other countries". !1684

πŸ› Bug Fix​

chameleon-react​

  • We've fixed a small padding issue in our <Quote /> component. !1704

🏠 Internal​

  • We've improved the handling of our Kotlin tests !1707
  • We've fixed a small layout issue on our docs website !1701
  • We've added some useful enhancements for our storybook. !1691

Version 5.12.1

Stijn Willems
Front-end Developer iOS & Android

πŸ› Bug Fix​

chameleon-swift​

  • Swift default provider to remove fatalError when token value not found !1695
  • Introduced a subTheme getter to validate the created subTheme against the available subThemes in the theme. !1699
let subTheme: SubTheme.Kind = try SubTheme.Kind("sponsored-content")

chameleon-kotlin​

  • Introduced a subTheme getter to validate the created subTheme against the available subThemes in the theme. !1702
val subTheme: SubTheme.Key? = SubTheme.Key.get(
name: "sponsored-content",
theme: theme)

🏠 Internal​

  • Updates to kotlin/android dependencies:
    • gradle: 8.6 -> 8.7
    • android-gradlePlugin: 8.2.1 -> 8.5.0
    • appcompat: 1.6.1 -> 1.7.0
    • compose-activity: 1.8.2 -> 1.9.0
    • compose-bom: 2024.02.00 -> 2024.06.00
    • coreKtx: 1.12.0 -> 1.13.1
    • material: 1.10.0 -> 1.12.0
    • versionLifecycleRuntimeKtx: 2.6.2 -> 2.8.2
    • androidTools: 31.3.2 -> 31.5.0

Version 5.12.0

Wannes De Backer
Front-end Developer Web

🎨 Themes​

  • We've onboarded De Limburger (chameleon-theme-dl) !1686
  • We've updated the logo for Luxembourg Times. !1689

πŸ› Bug Fix​

chameleon-kotlin​

  • While improving our Kotlin demo app, we saw some possible improvements for some components and fixed them on the go. !1688

chameleon-react​

  • Fix bug in TextOnImageTeaser where the wrong token was used for the premium-icon, which displayed the regular one. !1696
  • Fix styling of <hr /> inside RichContent, aligning it with the <Divider />-styling. !1692

chameleon-swift​

  • Remove false warning log of not found image-token. !1682

🏠 Internal​

  • Updated our Kotlin demo app with a more dynamic live preview and better UX. !1688

Version 5.11.0

Thomas Mattheussen
PO & Lead Developer

πŸš€ New Feature​

chameleon-kotlin & chameleon-swift​

  • Token values can now change based on a newly added windowSizeClass context. This way, you can implement the correct designs for the corresponding screen sizes. !1656

πŸ› Bug Fix​

chameleon-react​

  • The placement prop in our <AutoComplete /> component was no longer working, but it is now! !1676

chameleon-swift-components​

  • Fix an XML parser issue concerning ampersands !1668

🏠 Internal​

Version 5.10.0

Thomas Mattheussen
PO & Lead Developer

🎨 Themes​

  • Updated some tokens in the sponsored-content subtheme for MHNR themes. !1655

πŸš€ New Feature​

chameleon-react​

  • We've added a link prop to our <RelatedTeaser /> component which brings it more in line with the other teaser components! !1657
  • We've added 2 new props to our <Quote /> component. The first one being quotationMarks prop for hiding/showing the quotation marks around the quote. The second prop is the icon prop, giving you the flexibility to change (or hide) some visual embellishment. !1659
  • The <Choice /> component now also has the possibility to have a <Switch /> (instead of merely <Radio/> or <CheckBox />). !1635

πŸ› Bug Fix​

chameleon-react​

  • Added a missing text-decoration declaration for the action in a <BrandedHeading />. !1661
  • Refactored the opening/closing logic a bit in <AutoComplete />. !1619

🏠 Internal​

  • Updates to dependencies
  • Fixed a caching issue with out new turbo setup. !1652

Version 5.9.1

Thomas Mattheussen
PO & Lead Developer

🎨 Themes​

  • Updated teaser.background.highlight.fill for HBVL sponsored-content subtheme. !1633
  • Updated the person and person-fill icons for our MHIE brands (Beltel, Indo and SW). !1634
  • Updated the date format tokens for GVA and HBVL so the day part no longer has leading zeroes. !1643

πŸ› Bug Fix​

chameleon-swift & chameleon-kotlin​

  • Fixed the rendering of inline assets. !1637 !1640

🏠 Internal​

  • Updates to dependencies
  • Removed plugins from chameleon-swift with a major performance boost as a consequence. !1630
  • Added the new Subthemes page in our docs foundations section.

Version 5.9.0

Thomas Mattheussen
PO & Lead Developer

🎨 Themes​

  • Updated teaser.external-icon.highlight.fill & teaser.external-icon.default.fill for MHNR themes sponsored-content subtheme. !1627

πŸš€ New Feature​

chameleon-react​

This release welcomes 2 brand new components to the Chameleon family:

  • A <PhoneField /> component! !1608
  • A <Rating /> component! !1616

Also:

  • We've added a quoteeImage prop to our <Quote /> component! !1609

πŸ› Bug Fix​

chameleon-react​

  • Removed overflow: hidden from <DefaultTeaser />'s content. !1618
  • Fixed link styling in <RichContent />. !1620
  • Added an extra location for the premium logo for <TextOnImageTeaser />. !1629

swift-components​

  • Quick fixed an issue with the XML parser not being able to handle ampersands. We will try a more comprehensive approach in the near future. !1624

🏠 Internal​

  • Updates to dependencies
  • Split swift legacy package into its own repo. !1545
  • Refactored the way tokens are loaded on native. !1612!1628
  • Dropped lerna in favor of Turborepo as monorepo tool. !1574
  • Dropped lerna in favor of Beachball as versioning tool. !1510

Version 5.8.0

Thomas Mattheussen
PO & Lead Developer

πŸ§‘β€πŸ’» TypeScript​

We are excited to announce the highly anticipated arrival of TypeScript support for chameleon-react. Driven by years of feedback from our Mediahuis developer community, TypeScript’s integration is set to significantly improve your productivity and application quality, fulfilling a longstanding request and demonstrating our commitment to meeting developer needs.

We view this as just the beginning. We're eager to hear your thoughts and see your contributions. We warmly invite all developers to share feedback and even submit pull requests. Let's collaborate to make it better, together!

🎨 Themes​

  • Updated the datetime formats for GVA and HBVL themes. !1595
  • Removed background.contextual.adaptive.default.fill overwrite and set teaser.background.highlight.fill to transparent for MHNR brands. !1611
  • Fixed some semantic tokens for the accent subthemes on AZ and LW brands. !1610

πŸš€ New Feature​

chameleon-react​

  • Added support for TypeScript in chameleon-react! Major kudos @wannes.debacker! πŸ’« !1571
  • Deprecated the focussed prop in favor of the properly spelled focused in <AccordionItem />. !1596

🏠 Internal​