Enhancement: being able to collapse the color picker #950
Labels
1 - assigned
Issues that are assigned to a sprint and a team member.
enhancement
Issues tied to a new feature or request.
Which Component
calcite-color
Description
It could be useful for some users to display the color picker in a collapsed state.
From the current fully component (size "m"):
We could have a caret to collapse the component, that would be then displayed in a single line.
The single line would display either the Hex input, or the RGB/HSV inputs, and an icon showing the selected color:
Clicking again on the caret would expand the component to its original state.
We could imagine an attribute to initialize the component in the desired state (ie
collapsed
=true
|false
), and another attribute to choose what to display when collapsed (iesingle-line-display-type
=hex
|rgb
|hsv
).The text was updated successfully, but these errors were encountered: