Skip to content

v6.4.0

Choose a tag to compare

@ncamera ncamera released this 24 Feb 21:57
· 115 commits to main since this release

Chameleon 6.4.0 (2025-02-24)

Category Change
Feature [ch-chat] Add support for theme property by @ncamera in #482
Fix [ch-markdown-viewer] Improve default property values and types and fix showIndicator = false not working in code blocks by @ncamera in #483
Fix [ch-code] Improve default property types and add scrollbars when the content overflows the x-axis by @ncamera in #484
Feature Add support to style the scrollbars of the ch-edit and ch-tab-render components by @ncamera in #485
Accessibility Feature Fix Add a utility to report accessibility issues in form components and fix accessibility issues in the ch-checkbox, ch-slider and ch-switch components by @ncamera in #486
Feature Add a CLI to generate React Web Component wrappers by @ncamera in #487

Accessibility checker

The new accessibility utility checks if form elements have a valid label and notifies (console.warn) when they don't accomplish this condition. At this moment, it's supported in the following components:

  • ch-combo-box-render
  • ch-edit
  • ch-slider

The accessibility checker is enabled by default and can be disabled as follows:

import { disableAccessibilityReports } from "@genexus/chameleon-controls-library/dist/collection";

disableAccessibilityReports();

Chameleon CLI

Chameleon now exports a CLI to create React Web Component wrappers. To create the wrappers, run the following command:

chameleon-generate-react <output dir (optional)>

For example:

chameleon-generate-react ./src/chameleon-components

Full Changelog: v6.3.0...v6.4.0