-
Notifications
You must be signed in to change notification settings - Fork 38
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
Adding "show" props #36
Comments
If we added this it seems like we'd need to add a validation step to make sure the color picker is never initialized with an alpha < 1. |
Yeah agreed that would have to happen and makes this is a little trickier, but only if the user passes in the option to not show alpha. I'd be happy to work on something/submit a PR and see what you guys think. |
Would love to see a little more visibility control over UI elements in the picker. Sometimes all you want is a color field. |
* Use functional components * Upgrade packages and get running * Fixes to coordinate reads * Maintin an internal value to drop leading zero - Closes #111 * Drop leading hash if provided to HEX input - Closes #130 * Add accessibility to reset button - Ref #145 * Add alpha option - Ref #36 * Tests * Format with prettier :/ * Tests * Snapshot xy component * Node 10 * Fix tests * Bump Node version in Travis to 14 and use version of React that introduces shared hooks * Feedback
Wondering if there would be support for adding "show props" here. For example application that does not support alpha transparency can pass in prop to not show the alpha picker, etc... Thanks!
The text was updated successfully, but these errors were encountered: