Skip to main content

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