carbon-addons-iot-react icon indicating copy to clipboard operation
carbon-addons-iot-react copied to clipboard

[PAL Component] Color Picker

Open dianasanborn opened this issue 3 years ago • 0 comments
trafficstars

What package is this for?

  • [x] React
  • [ ] Angular

Summary

Color pickers help users immediately style visual elements such as categorization tags, data visualizations, and white-labeling without abandoning the user interface. Products can choose the level of customization that they need based on their individual use cases.

There are three variations that are all built from a base component (left to right in the image)

  • Simple color picker
  • Custom color picker
  • Color palette picker

image

Specific timeline issues / requests

Not sure on the timeline. This evolved from an original contribution from TRIRIGA a while back that never got much traction, and more recently other teams have mentioned that they will have a need for one

  • Maximo (Monitor)
  • ELM
  • TRIRIGA

Specs

States

image

Property Token
hover $hover-ui
focus $focus
active $active-ui

Structure

Simple color picker image

Color palette picker image

Custom color picker image

Element Component Size (px)
Color palette picker inline dropdown 32
Custom color picker accordion 32
Custom color text inputs x-small text input (custom) 24

dianasanborn avatar Feb 23 '22 22:02 dianasanborn