Skip to content
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

Merged
merged 2 commits into from
Sep 21, 2023
Merged

chore: add colorpicker templates #4697

merged 2 commits into from
Sep 21, 2023

Conversation

zhpenkov
Copy link
Contributor

Add common ColorPicker templates and simplify tests.

Notes:
I have added popup and opened props in colorpicker's spec as it is a component using popup with a specific class
k-color-picker-popup to display its open state content (similar to dropdown components).

@zhpenkov zhpenkov self-assigned this Sep 14, 2023
@zhpenkov zhpenkov marked this pull request as ready for review September 14, 2023 15:21
@zhpenkov zhpenkov requested a review from a team as a code owner September 14, 2023 15:21
@inikolova
Copy link
Contributor

inikolova commented Sep 15, 2023

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)

@inikolova
Copy link
Contributor

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.

@zhpenkov zhpenkov force-pushed the colorpicker-templates branch 2 times, most recently from 0ff99b3 to 3819999 Compare September 18, 2023 11:17
@epetrow epetrow self-requested a review September 19, 2023 13:53
@inikolova
Copy link
Contributor

Please rename the colorpicker-dropdown.tsx to colorpicker-opened.tsx for consistency

@zhpenkov zhpenkov force-pushed the colorpicker-templates branch 2 times, most recently from 0ab0388 to 569c49c Compare September 20, 2023 15:33
@zhpenkov zhpenkov merged commit d75b97c into develop Sep 21, 2023
9 checks passed
@zhpenkov zhpenkov deleted the colorpicker-templates branch September 21, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants