@@ -558,14 +558,18 @@ export class UUIColorPickerElement extends LabelMixin('label', LitElement) {
558
558
'color-picker--disabled' : this . disabled ,
559
559
} ) }
560
560
aria-disabled =${ this . disabled ? 'true' : 'false' } >
561
- < uui-color-area .value ="${ this . value } " @change =${ this . handleGridChange } >
561
+ < uui-color-area
562
+ .value ="${ this . value } "
563
+ ?disabled =${ this . disabled }
564
+ @change =${ this . handleGridChange } >
562
565
</ uui-color-area >
563
566
< div class ="color-picker__controls ">
564
567
< div class ="color-picker__sliders ">
565
568
< uui-color-slider
566
569
label ="hue "
567
570
class ="hue-slider "
568
571
.value =${ Math . round ( this . hue ) }
572
+ ?disabled =${ this . disabled }
569
573
@change=${ this . handleHueChange } >
570
574
</ uui-color-slider >
571
575
${ this . opacity
@@ -576,6 +580,7 @@ export class UUIColorPickerElement extends LabelMixin('label', LitElement) {
576
580
.value =${ Math . round ( this . alpha ) }
577
581
type ="opacity"
578
582
.color=${ this . value }
583
+ ?disabled=${ this . disabled }
579
584
@change=${ this . handleAlphaChange } >
580
585
</ uui-color-slider >
581
586
`
@@ -610,21 +615,21 @@ export class UUIColorPickerElement extends LabelMixin('label', LitElement) {
610
615
</ uui-input >
611
616
< uui-button-group >
612
617
${ ! this . noFormatToggle
613
- ? html `
614
- < uui-button
618
+ ? html `< uui-button
615
619
label ="Toggle color format "
616
620
@click =${ this . handleFormatToggle }
617
621
class ="color-picker__toggle-format"
622
+ ?disabled=${ this . disabled }
618
623
compact>
619
624
< span > ${ this . format } </ span >
620
- </ uui-button >
621
- `
625
+ </ uui-button > `
622
626
: '' }
623
627
${ hasEyeDropper
624
- ? html ` < uui-button
628
+ ? html `< uui-button
625
629
label ="Select a color "
626
- compact
627
- @click =${ this . handleEyeDropper } >
630
+ ?disabled =${ this . disabled }
631
+ @click =${ this . handleEyeDropper }
632
+ compact>
628
633
< uui-icon-registry-essential >
629
634
< uui-icon name ="colorpicker "> </ uui-icon >
630
635
</ uui-icon-registry-essential >
0 commit comments