You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Research ongoing for existing options beyond react-color, but it is likely we'll need to add desired functionality on top of whatever can be found. Writing from scratch may be the best option. Existing work to potentially build on: #856.
Use the hex as a form control by default. Meaning you should just be able to type in and use it directly and validate the hex string. A preview of that color should exist "in" the input similar to Replace EuiColorPicker with an accessible, custom component #856
Has the ability to show swatches. These should be built in by default using our color blind palette, but the consumer should be able to pass in their own array of colors.
Has some manner of visual selection (wheel or square style doesn't matter too much). It would be nice if this was also keyboard driven, but as long as 1 is covered this is likely nice to have from a reqs perspective.
Should use our popover service if possible, the same as our other components.
Bonus things
The option to allow an opacity slider.
Because of this, some manner of rgba or 8 digit hex? Likely the consumer might want to provide the format they want.
Some manner of add/save controls to fill the canvas perspective
FWIW I still like my original PR and just think it needs the visual selection and ability to handle opacity.
In Canvas, there is a color picker that does a number of these things though it does not have a wheel/box selector. One thing that it does provide, which I don't think is mentioned above, is the ability to add a swatch. I don't know if that is something we necessarily need to provide here, but just pointing out that this exists.
Activity
snide commentedon Apr 17, 2019
I think from the design wishlist we'd want:
Bonus things
FWIW I still like my original PR and just think it needs the visual selection and ability to handle opacity.
ryankeairns commentedon Apr 17, 2019
In Canvas, there is a color picker that does a number of these things though it does not have a wheel/box selector. One thing that it does provide, which I don't think is mentioned above, is the ability to add a swatch. I don't know if that is something we necessarily need to provide here, but just pointing out that this exists.
cchaos commentedon May 9, 2019
Do we also then need to add it to the input color indicator?
thompsongl commentedon May 31, 2019
Closing in favor of smaller, feature-specific issues