Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
295 stars 76 forks source link

[Color Picker] Add ability to hide the color field #10031

Open macandcheese opened 3 months ago

macandcheese commented 3 months ago

Check existing issues

Description

Add a property to hide the "color graph" from the Color Picker - many use cases do not need to offer this and the other input methods the component provides are sufficient.

This is consistent with our other configurable properties for this component - like alpha-disabled, hex-disabled, etc.

Acceptance Criteria

A new property is added that allows the hiding of the color graph.

Relevant Info

Screenshot 2024-08-09 at 2 39 08 PM

Which Component

Color Picker

Example Use Case

No response

Priority impact

impact - p2 - want for an upcoming milestone

Calcite package

Esri team

Calcite (design)

jcfranco commented 3 months ago

Naming-wise, color-field or something along those lines would be closer to the terminology used in the component's implementation.

ashetland commented 1 month ago

Maybe field-disabled could work? Keeps it brief.

Since this one is just about naming, I'm going to mark this as ready for dev so we can match the final name in Figma when it gets merge in.

github-actions[bot] commented 1 month ago

cc @geospatialem, @brittneytewks