Chameleon v6.28.0
| Category | Change |
|---|---|
Add ch-color-picker component by @jonatan-reto in #564 |
|
| Improve docs for LLMs by @ncamera in #571 | |
[ch-combo-box-render] Fix rare infinite scroll loop when rendering a large number of items by @ncamera in #572 |
New ch-color-picker component
A comprehensive color picker component that combines multiple color selection methods to support various color formats.
Features
The ch-color-picker component includes:
- Modular controls that can be shown/hidden via props
- 2D color field integration (with
ch-color-fieldcomponent) - Hue slider for hue adjustment
- Alpha/transparency slider for opacity control
- Color format selector for HEX, RGB, HSL, and HSV formats (with
ch-combo-box-rendercomponent) - Current color preview with transparency pattern support
- Customizable color palette for quick color selection
- Configurable control order via the
orderprop - Form integration with form-associated custom elements
⚠️ Breaking changes
- Modified the Color Variant HSV value type from array to string format.
-
Before:
hsv: [360, 100, 50](array format) -
After:
hsv: "hsv(360, 100%, 50%)"(string format) -
Use the new utility functions
fromHsvStringToHsvColor()andfromHsvColorToString()to convert between formats -
This change will improve consistency with other color formats (hex, rgb, hsl) which are all string-based
-
Full Changelog: v6.27.0...v6.28.0