-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add colorpicker templates #4697
Conversation
0b28b73
to
86591a4
Compare
I would suggest to rename the colorpicker-gradient/ colorpicker-palette templates and add popup in their names. As an example: colorpicker-popup-gradient / colorpicker-popup-palette (for consistency with the other components) |
Also, I would suggest to separate the colorpicker.tsx test - in my opinion, it would be better to have one test, which demonstrates different sizes and another - different states. |
0ff99b3
to
3819999
Compare
Please rename the colorpicker-dropdown.tsx to colorpicker-opened.tsx for consistency |
9e882e5
to
dffcd5d
Compare
a22baf3
to
bd044cc
Compare
0ab0388
to
569c49c
Compare
b249b5f
to
018fb4f
Compare
Add common ColorPicker templates and simplify tests.
Notes:
I have added
popup
andopened
props in colorpicker's spec as it is a component using popup with a specific classk-color-picker-popup
to display its open state content (similar to dropdown components).