-
Notifications
You must be signed in to change notification settings - Fork 53
Disable elements when color picker is disabled #591
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
Disable elements when color picker is disabled #591
Conversation
Hi there @bjarnef, thank you for this contribution! 👍 While we wait for the team to have a look at your work, we wanted to let you know about that we have a checklist for some of the things we will consider during review:
Don't worry if you got something wrong. We like to think of a pull request as the start of a conversation, we're happy to provide guidance on improving your contribution. If you realize that you might want to make some changes then you can do that by adding new commits to the branch you created for this work and pushing new commits. They should then automatically show up as updates to this pull request. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
@loivsen @iOvergaard this disable the other parts in color picker, when Color Picker When color swatch is set the It is now possible to set When color swatch is disabled I think we need to indicate this as well like with color area and color slider. |
Remember the |
I think it would make sense to have it unselectable if disabled, similar to |
@loivsen I think it's a bit different with But I think it here it need to set Umbraco.UI/packages/uui-color-swatch/lib/uui-color-swatch.element.ts Lines 282 to 285 in 6575986
|
@bjarnef It looks like you can still select colors via |
@loivsen should be fixed now in 826b4b9 I also updated so swatch inherit the cursor style from host element, so If chrome_Ao4nalr6up.mp4 |
Fixed so when don't need to set and swatches component set I think the |
Hi there @bjarnef! First of all: A big #H5YR for making an Umbraco related contribution during Hacktoberfest! We are very thankful for the huge amount of PRs submitted, and all the amazing work you've been doing 🥇 Due to the amazing work you and others in the community have been doing, we've had a bit of a hard time keeping up. 😅 While all of the PRs for Hacktoberfest might not have been merged yet, you still qualify for receiving some Umbraco swag, congratulations! 🎉 In the spirit of Hacktoberfest we've prepared some exclusive Umbraco swag for all our contributors - including you! As an alternative choice this year, you can opt-out of receiving anything and ask us to help improve the planet instead by planting a tree on your behalf. 🌳 Receive your swag or plant a tree! 👈 Please follow this link to fill out and submit the form, before December 15th, 2022, 23:59:00 UTC. Following this date we'll be sending out all the swag, but please note that it might not reach your doorstep for a few months, so please bear with us and be patient 🙏 📢 We have just published a summary of all the activity throughout this year's Umbraco Hacktoberfest. The only thing left to say is thank you so much for participating in Hacktoberfest! We really appreciate the help! Kind regards, |
Description
When Color Picker component was set to disabled, in only disabled input, but not color area, hue + opacity slider, eye dropper.
Types of changes
Motivation and context
How to test?
Screenshots (if appropriate)
Checklist