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

Enhancement: being able to collapse the color picker #950

Closed
pemberdom opened this issue Sep 8, 2020 · 4 comments
Closed

Enhancement: being able to collapse the color picker #950

pemberdom opened this issue Sep 8, 2020 · 4 comments
Assignees
Labels
1 - assigned Issues that are assigned to a sprint and a team member. enhancement Issues tied to a new feature or request.

Comments

@pemberdom
Copy link

pemberdom commented Sep 8, 2020

Which Component

calcite-color

Description

It could be useful for some users to display the color picker in a collapsed state.

From the current fully component (size "m"):

image

We could have a caret to collapse the component, that would be then displayed in a single line.
The single line would display either the Hex input, or the RGB/HSV inputs, and an icon showing the selected color:

image

Clicking again on the caret would expand the component to its original state.

We could imagine an attribute to initialize the component in the desired state (ie collapsed = true | false), and another attribute to choose what to display when collapsed (ie single-line-display-type = hex | rgb | hsv).

@pemberdom pemberdom added the enhancement Issues tied to a new feature or request. label Sep 8, 2020
@bstifle
Copy link

bstifle commented Sep 8, 2020

heyo, we have something like this in the works, and i think it would be cool if we had a way to make the full color picker pop up after clicking the swatch. heres the comp

image

@pemberdom
Copy link
Author

heyo, we have something like this in the works, and i think it would be cool if we had a way to make the full color picker pop up after clicking the swatch. heres the comp

image

That looks good 👍!

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Nov 23, 2020
@kat10140 kat10140 added 1 - assigned Issues that are assigned to a sprint and a team member. and removed Stale Issues or pull requests that have not had recent activity. labels Nov 25, 2020
@jcfranco
Copy link
Member

Closing in favor of #1616.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - assigned Issues that are assigned to a sprint and a team member. enhancement Issues tied to a new feature or request.
Projects
None yet
Development

No branches or pull requests

4 participants