@spectrum-web-components/action-button 0.7.4 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +19 -2
- package/package.json +7 -7
- package/src/ActionButton.d.ts +1 -0
- package/src/ActionButton.js +4 -2
- package/src/ActionButton.js.map +1 -1
- package/src/action-button.css.js +111 -105
- package/src/action-button.css.js.map +1 -1
- package/src/spectrum-action-button.css.js +106 -104
- package/src/spectrum-action-button.css.js.map +1 -1
- package/src/spectrum-config.js +31 -2
- package/stories/action-button-black-quiet.stories.js +34 -0
- package/stories/action-button-black-quiet.stories.js.map +1 -0
- package/stories/action-button-black.stories.js +29 -0
- package/stories/action-button-black.stories.js.map +1 -0
- package/stories/action-button-emphasized-quiet.stories.js +32 -0
- package/stories/action-button-emphasized-quiet.stories.js.map +1 -0
- package/stories/action-button-emphasized.stories.js +27 -0
- package/stories/action-button-emphasized.stories.js.map +1 -0
- package/stories/action-button-quiet.stories.js +27 -0
- package/stories/action-button-quiet.stories.js.map +1 -0
- package/stories/action-button-standard.stories.js +22 -0
- package/stories/action-button-standard.stories.js.map +1 -0
- package/stories/action-button-white-quiet.stories.js +34 -0
- package/stories/action-button-white-quiet.stories.js.map +1 -0
- package/stories/action-button-white.stories.js +29 -0
- package/stories/action-button-white.stories.js.map +1 -0
- package/stories/action-button.stories.js +17 -74
- package/stories/action-button.stories.js.map +1 -1
- package/stories/{action-button-sizes.stories.js → index.js} +26 -44
- package/stories/index.js.map +1 -0
- package/stories/action-button-sizes.stories.js.map +0 -1
|
@@ -15,165 +15,165 @@ const styles = css `
|
|
|
15
15
|
--spectrum-alias-body-text-font-family,var(--spectrum-global-font-family-base)
|
|
16
16
|
);justify-content:center;line-height:var(
|
|
17
17
|
--spectrum-alias-component-text-line-height,var(--spectrum-global-font-line-height-small)
|
|
18
|
-
);margin:0;overflow:visible;text-decoration:none;text-transform:none;transition:background var(--spectrum-global-animation-duration-100,.13s) ease-out,border-color var(--spectrum-global-animation-duration-100,.13s) ease-out,color var(--spectrum-global-animation-duration-100,.13s) ease-out,box-shadow var(--spectrum-global-animation-duration-100,.13s) ease-out;user-select:none;-webkit-user-select:none;vertical-align:top}:host(:focus){outline:none}:host(::-moz-focus-inner){border:0;border-style:none;margin-bottom:-2px;margin-top:-2px;padding:0}:host(
|
|
18
|
+
);margin:0;overflow:visible;text-decoration:none;text-transform:none;transition:background var(--spectrum-global-animation-duration-100,.13s) ease-out,border-color var(--spectrum-global-animation-duration-100,.13s) ease-out,color var(--spectrum-global-animation-duration-100,.13s) ease-out,box-shadow var(--spectrum-global-animation-duration-100,.13s) ease-out;user-select:none;-webkit-user-select:none;vertical-align:top}:host(:focus){outline:none}:host(::-moz-focus-inner){border:0;border-style:none;margin-bottom:-2px;margin-top:-2px;padding:0}:host([disabled]){cursor:default}::slotted([slot=icon]){flex-shrink:0;max-height:100%}#label{align-self:center;justify-self:center;text-align:center}#label:empty{display:none}:host([variant=black]:not([quiet])[disabled]){border-color:var(
|
|
19
19
|
--spectrum-alias-actionbutton-staticBlack-border-color-disabled,rgba(0,0,0,.25)
|
|
20
|
-
)}:host(
|
|
20
|
+
)}:host([variant=black]:not([quiet])[disabled][selected]){border-color:var(
|
|
21
21
|
--spectrum-alias-actionbutton-staticBlack-border-color-disabled-selected,transparent
|
|
22
|
-
)}:host(
|
|
22
|
+
)}:host([variant=black]:not([quiet])[disabled]:not([selected])){background-color:var(
|
|
23
23
|
--spectrum-alias-actionbutton-staticBlack-background-color-disabled,transparent
|
|
24
|
-
)}:host(
|
|
24
|
+
)}:host([variant=black]:not([quiet]):not([disabled])){border-color:var(
|
|
25
25
|
--spectrum-alias-actionbutton-staticBlack-border-color-default,rgba(0,0,0,.4)
|
|
26
|
-
)}:host(
|
|
26
|
+
)}:host([variant=black]:not([quiet]):not([disabled]):hover){border-color:var(
|
|
27
27
|
--spectrum-alias-actionbutton-staticBlack-border-color-hover,rgba(0,0,0,.55)
|
|
28
|
-
)}:host(
|
|
28
|
+
)}:host([variant=black]:not([quiet]):not([disabled])[active]){border-color:var(
|
|
29
29
|
--spectrum-alias-actionbutton-staticBlack-border-color-down,rgba(0,0,0,.7)
|
|
30
|
-
)}:host(
|
|
30
|
+
)}:host([variant=black]:not([quiet]):not([disabled]).focus-visible){border-color:var(
|
|
31
31
|
--spectrum-alias-actionbutton-staticBlack-border-color-key-focus,rgba(0,0,0,.55)
|
|
32
|
-
)}:host(
|
|
32
|
+
)}:host([variant=black]:not([quiet]):not([disabled]):focus-visible){border-color:var(
|
|
33
33
|
--spectrum-alias-actionbutton-staticBlack-border-color-key-focus,rgba(0,0,0,.55)
|
|
34
|
-
)}:host(
|
|
34
|
+
)}:host([variant=black]:not([quiet]):not([disabled]).is-keyboardFocused){border-color:var(
|
|
35
35
|
--spectrum-alias-actionbutton-staticBlack-border-color-key-focus,rgba(0,0,0,.55)
|
|
36
|
-
)}:host(
|
|
36
|
+
)}:host([variant=black]:not([quiet]):not([disabled]):not([selected])){background-color:var(
|
|
37
37
|
--spectrum-alias-actionbutton-staticBlack-background-color-default,transparent
|
|
38
|
-
)}:host(
|
|
38
|
+
)}:host([variant=black]:not([quiet]):not([disabled]):not([selected]):hover){background-color:var(
|
|
39
39
|
--spectrum-alias-actionbutton-staticBlack-background-color-hover,rgba(0,0,0,.25)
|
|
40
|
-
)}:host(
|
|
40
|
+
)}:host([variant=black]:not([quiet]):not([disabled]):not([selected])[active]){background-color:var(
|
|
41
41
|
--spectrum-alias-actionbutton-staticBlack-background-color-down,rgba(0,0,0,.4)
|
|
42
|
-
)}:host(
|
|
42
|
+
)}:host([variant=black]:not([quiet]):not([disabled]):not([selected]).focus-visible){background-color:var(
|
|
43
43
|
--spectrum-alias-actionbutton-staticBlack-background-color-key-focus,rgba(0,0,0,.25)
|
|
44
|
-
)}:host(
|
|
44
|
+
)}:host([variant=black]:not([quiet]):not([disabled]):not([selected]):focus-visible){background-color:var(
|
|
45
45
|
--spectrum-alias-actionbutton-staticBlack-background-color-key-focus,rgba(0,0,0,.25)
|
|
46
|
-
)}:host(
|
|
46
|
+
)}:host([variant=black]:not([quiet]):not([disabled]):not([selected]).is-keyboardFocused){background-color:var(
|
|
47
47
|
--spectrum-alias-actionbutton-staticBlack-background-color-key-focus,rgba(0,0,0,.25)
|
|
48
|
-
)}:host(
|
|
48
|
+
)}:host([variant=black][quiet][disabled]){border-color:transparent}:host([variant=black][quiet][disabled]:not([selected])){background-color:transparent}:host([variant=black][quiet]:not([disabled])){border-color:transparent}:host([variant=black][quiet]:not([disabled]):not([selected])){background-color:var(
|
|
49
49
|
--spectrum-alias-component-background-color-quiet-default,var(--spectrum-alias-background-color-transparent)
|
|
50
|
-
)}:host(
|
|
50
|
+
)}:host([variant=black][quiet]:not([disabled]):not([selected]):hover){background-color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-25))}:host([variant=black][quiet]:not([disabled]):not([selected])[active]){background-color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=black][quiet]:not([disabled]):not([selected]).focus-visible){background-color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-25))}:host([variant=black][quiet]:not([disabled]):not([selected]):focus-visible){background-color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-25))}:host([variant=black][quiet]:not([disabled]):not([selected]).is-keyboardFocused){background-color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-25))}:host([size][variant=black][disabled][selected]){background-color:var(
|
|
51
51
|
--spectrum-alias-actionbutton-staticBlack-background-color-disabled-selected,rgba(0,0,0,.1)
|
|
52
|
-
)}:host(
|
|
52
|
+
)}:host([size][variant=black][disabled][selected]) .hold-affordance{color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-40))}:host([size][variant=black][disabled][selected]) #label{color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-40))}:host([size][variant=black][disabled][selected]) ::slotted([slot=icon]){color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=black][disabled]) .hold-affordance{color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=black][disabled]) #label{color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=black][disabled]) ::slotted([slot=icon]){color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=black][selected]:not([disabled])){background-color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-90))}:host([variant=black][selected]:not([disabled]):hover){background-color:var(
|
|
53
53
|
--spectrum-global-color-static-black,#000
|
|
54
|
-
)}:host(
|
|
54
|
+
)}:host([variant=black][selected]:not([disabled])[active]){background-color:var(
|
|
55
55
|
--spectrum-global-color-static-black,#000
|
|
56
|
-
)}:host(
|
|
56
|
+
)}:host([variant=black][selected]:not([disabled]).focus-visible){background-color:var(
|
|
57
57
|
--spectrum-global-color-static-black,#000
|
|
58
|
-
)}:host(
|
|
58
|
+
)}:host([variant=black][selected]:not([disabled]):focus-visible){background-color:var(
|
|
59
59
|
--spectrum-global-color-static-black,#000
|
|
60
|
-
)}:host(
|
|
60
|
+
)}:host([variant=black][selected]:not([disabled]).is-keyboardFocused){background-color:var(
|
|
61
61
|
--spectrum-global-color-static-black,#000
|
|
62
|
-
)}:host(
|
|
62
|
+
)}:host([variant=black][selected]:not([disabled])) .hold-affordance{color:inherit}:host([variant=black][selected]:not([disabled])) #label{color:inherit}:host([variant=black][selected]:not([disabled])) ::slotted([slot=icon]){color:inherit}:host([variant=black]) .hold-affordance{color:var(
|
|
63
63
|
--spectrum-ActionButton-static-black-color
|
|
64
|
-
)}:host(
|
|
64
|
+
)}:host([variant=black]:not([disabled]):not([selected])) .hold-affordance{color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-90))}:host([variant=black]:not([disabled]):not([selected]):hover) .hold-affordance{color:var(
|
|
65
65
|
--spectrum-global-color-static-black,#000
|
|
66
|
-
)}:host(
|
|
66
|
+
)}:host([variant=black]:not([disabled]):not([selected]):hover) #label{color:var(
|
|
67
67
|
--spectrum-global-color-static-black,#000
|
|
68
|
-
)}:host(
|
|
68
|
+
)}:host([variant=black]:not([disabled]):not([selected]):hover) ::slotted([slot=icon]){color:var(
|
|
69
69
|
--spectrum-global-color-static-black,#000
|
|
70
|
-
)}:host(
|
|
70
|
+
)}:host([variant=black]:not([disabled]):not([selected])[active]) .hold-affordance{color:var(
|
|
71
71
|
--spectrum-global-color-static-black,#000
|
|
72
|
-
)}:host(
|
|
72
|
+
)}:host([variant=black]:not([disabled]):not([selected])[active]) #label{color:var(
|
|
73
73
|
--spectrum-global-color-static-black,#000
|
|
74
|
-
)}:host(
|
|
74
|
+
)}:host([variant=black]:not([disabled]):not([selected])[active]) ::slotted([slot=icon]){color:var(
|
|
75
75
|
--spectrum-global-color-static-black,#000
|
|
76
|
-
)}:host(
|
|
76
|
+
)}:host([variant=black]:not([disabled]):not([selected]).focus-visible) .hold-affordance{color:var(
|
|
77
77
|
--spectrum-global-color-static-black,#000
|
|
78
|
-
)}:host(
|
|
78
|
+
)}:host([variant=black]:not([disabled]):not([selected]):focus-visible) .hold-affordance{color:var(
|
|
79
79
|
--spectrum-global-color-static-black,#000
|
|
80
|
-
)}:host(
|
|
80
|
+
)}:host([variant=black]:not([disabled]):not([selected]).focus-visible) #label{color:var(
|
|
81
81
|
--spectrum-global-color-static-black,#000
|
|
82
|
-
)}:host(
|
|
82
|
+
)}:host([variant=black]:not([disabled]):not([selected]):focus-visible) #label{color:var(
|
|
83
83
|
--spectrum-global-color-static-black,#000
|
|
84
|
-
)}:host(
|
|
84
|
+
)}:host([variant=black]:not([disabled]):not([selected]).focus-visible) ::slotted([slot=icon]){color:var(
|
|
85
85
|
--spectrum-global-color-static-black,#000
|
|
86
|
-
)}:host(
|
|
86
|
+
)}:host([variant=black]:not([disabled]):not([selected]):focus-visible) ::slotted([slot=icon]){color:var(
|
|
87
87
|
--spectrum-global-color-static-black,#000
|
|
88
|
-
)}:host(
|
|
88
|
+
)}:host([variant=black]:not([disabled]):not([selected]).is-keyboardFocused) .hold-affordance{color:var(
|
|
89
89
|
--spectrum-global-color-static-black,#000
|
|
90
|
-
)}:host(
|
|
90
|
+
)}:host([variant=black]:not([disabled]):not([selected]).is-keyboardFocused) #label{color:var(
|
|
91
91
|
--spectrum-global-color-static-black,#000
|
|
92
|
-
)}:host(
|
|
92
|
+
)}:host([variant=black]:not([disabled]):not([selected]).is-keyboardFocused) ::slotted([slot=icon]){color:var(
|
|
93
93
|
--spectrum-global-color-static-black,#000
|
|
94
|
-
)}:host(
|
|
94
|
+
)}:host([variant=black]:not([disabled]):not([selected])) #label{color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-90))}:host([variant=black]:not([disabled]):not([selected])) ::slotted([slot=icon]){color:rgba(var(--spectrum-global-color-static-black-rgb),var(--spectrum-global-color-opacity-90))}:host([variant=black]) #label{color:var(
|
|
95
95
|
--spectrum-ActionButton-static-black-color
|
|
96
|
-
)}:host(
|
|
96
|
+
)}:host([variant=black]) ::slotted([slot=icon]){color:var(
|
|
97
97
|
--spectrum-ActionButton-static-black-color
|
|
98
|
-
)}:host(
|
|
98
|
+
)}:host([variant=white]:not([quiet])[disabled]){border-color:var(
|
|
99
99
|
--spectrum-alias-actionbutton-staticWhite-border-color-disabled,hsla(0,0%,100%,.25)
|
|
100
|
-
)}:host(
|
|
100
|
+
)}:host([variant=white]:not([quiet])[disabled][selected]){border-color:var(
|
|
101
101
|
--spectrum-alias-actionbutton-staticWhite-border-color-disabled-selected,transparent
|
|
102
|
-
)}:host(
|
|
102
|
+
)}:host([variant=white]:not([quiet])[disabled]:not([selected])){background-color:var(
|
|
103
103
|
--spectrum-alias-actionbutton-staticWhite-background-color-disabled,transparent
|
|
104
|
-
)}:host(
|
|
104
|
+
)}:host([variant=white]:not([quiet]):not([disabled])){border-color:var(
|
|
105
105
|
--spectrum-alias-actionbutton-staticWhite-border-color-default,hsla(0,0%,100%,.4)
|
|
106
|
-
)}:host(
|
|
106
|
+
)}:host([variant=white]:not([quiet]):not([disabled]):hover){border-color:var(
|
|
107
107
|
--spectrum-alias-actionbutton-staticWhite-border-color-hover,hsla(0,0%,100%,.55)
|
|
108
|
-
)}:host(
|
|
108
|
+
)}:host([variant=white]:not([quiet]):not([disabled])[active]){border-color:var(
|
|
109
109
|
--spectrum-alias-actionbutton-staticWhite-border-color-down,hsla(0,0%,100%,.7)
|
|
110
|
-
)}:host(
|
|
110
|
+
)}:host([variant=white]:not([quiet]):not([disabled]).focus-visible){border-color:var(
|
|
111
111
|
--spectrum-alias-actionbutton-staticWhite-border-color-key-focus,hsla(0,0%,100%,.55)
|
|
112
|
-
)}:host(
|
|
112
|
+
)}:host([variant=white]:not([quiet]):not([disabled]):focus-visible){border-color:var(
|
|
113
113
|
--spectrum-alias-actionbutton-staticWhite-border-color-key-focus,hsla(0,0%,100%,.55)
|
|
114
|
-
)}:host(
|
|
114
|
+
)}:host([variant=white]:not([quiet]):not([disabled]).is-keyboardFocused){border-color:var(
|
|
115
115
|
--spectrum-alias-actionbutton-staticWhite-border-color-key-focus,hsla(0,0%,100%,.55)
|
|
116
|
-
)}:host(
|
|
116
|
+
)}:host([variant=white]:not([quiet]):not([disabled]):not([selected])){background-color:var(
|
|
117
117
|
--spectrum-alias-actionbutton-staticWhite-background-color-default,transparent
|
|
118
|
-
)}:host(
|
|
118
|
+
)}:host([variant=white]:not([quiet]):not([disabled]):not([selected]):hover){background-color:var(
|
|
119
119
|
--spectrum-alias-actionbutton-staticWhite-background-color-hover,hsla(0,0%,100%,.25)
|
|
120
|
-
)}:host(
|
|
120
|
+
)}:host([variant=white]:not([quiet]):not([disabled]):not([selected])[active]){background-color:var(
|
|
121
121
|
--spectrum-alias-actionbutton-staticWhite-background-color-down,hsla(0,0%,100%,.4)
|
|
122
|
-
)}:host(
|
|
122
|
+
)}:host([variant=white]:not([quiet]):not([disabled]):not([selected]).focus-visible){background-color:var(
|
|
123
123
|
--spectrum-alias-actionbutton-staticWhite-background-color-key-focus,hsla(0,0%,100%,.25)
|
|
124
|
-
)}:host(
|
|
124
|
+
)}:host([variant=white]:not([quiet]):not([disabled]):not([selected]):focus-visible){background-color:var(
|
|
125
125
|
--spectrum-alias-actionbutton-staticWhite-background-color-key-focus,hsla(0,0%,100%,.25)
|
|
126
|
-
)}:host(
|
|
126
|
+
)}:host([variant=white]:not([quiet]):not([disabled]):not([selected]).is-keyboardFocused){background-color:var(
|
|
127
127
|
--spectrum-alias-actionbutton-staticWhite-background-color-key-focus,hsla(0,0%,100%,.25)
|
|
128
|
-
)}:host(
|
|
128
|
+
)}:host([variant=white][quiet][disabled]){border-color:transparent}:host([variant=white][quiet][disabled]:not([selected])){background-color:transparent}:host([variant=white][quiet]:not([disabled])){border-color:transparent}:host([variant=white][quiet]:not([disabled]):not([selected])){background-color:var(
|
|
129
129
|
--spectrum-alias-component-background-color-quiet-default,var(--spectrum-alias-background-color-transparent)
|
|
130
|
-
)}:host(
|
|
130
|
+
)}:host([variant=white][quiet]:not([disabled]):not([selected]):hover){background-color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-25))}:host([variant=white][quiet]:not([disabled]):not([selected])[active]){background-color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=white][quiet]:not([disabled]):not([selected]).focus-visible){background-color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-25))}:host([variant=white][quiet]:not([disabled]):not([selected]):focus-visible){background-color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-25))}:host([variant=white][quiet]:not([disabled]):not([selected]).is-keyboardFocused){background-color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-25))}:host([variant=white][disabled][selected]){background-color:var(
|
|
131
131
|
--spectrum-alias-actionbutton-staticWhite-background-color-disabled-selected,hsla(0,0%,100%,.1)
|
|
132
|
-
)}:host(
|
|
132
|
+
)}:host([variant=white][disabled][selected]) .hold-affordance{color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=white][disabled][selected]) #label{color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=white][disabled][selected]) ::slotted([slot=icon]){color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=white][disabled]) .hold-affordance{color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=white][disabled]) #label{color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=white][disabled]) ::slotted([slot=icon]){color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-40))}:host([variant=white][selected]:not([disabled])){background-color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-90))}:host([variant=white][selected]:not([disabled]):hover){background-color:var(
|
|
133
133
|
--spectrum-global-color-static-white,#fff
|
|
134
|
-
)}:host(
|
|
134
|
+
)}:host([variant=white][selected]:not([disabled])[active]){background-color:var(
|
|
135
135
|
--spectrum-global-color-static-white,#fff
|
|
136
|
-
)}:host(
|
|
136
|
+
)}:host([variant=white][selected]:not([disabled]).focus-visible){background-color:var(
|
|
137
137
|
--spectrum-global-color-static-white,#fff
|
|
138
|
-
)}:host(
|
|
138
|
+
)}:host([variant=white][selected]:not([disabled]):focus-visible){background-color:var(
|
|
139
139
|
--spectrum-global-color-static-white,#fff
|
|
140
|
-
)}:host(
|
|
140
|
+
)}:host([variant=white][selected]:not([disabled]).is-keyboardFocused){background-color:var(
|
|
141
141
|
--spectrum-global-color-static-white,#fff
|
|
142
|
-
)}:host(
|
|
142
|
+
)}:host([variant=white][selected]:not([disabled])) .hold-affordance{color:inherit}:host([variant=white][selected]:not([disabled])) #label{color:inherit}:host([variant=white][selected]:not([disabled])) ::slotted([slot=icon]){color:inherit}:host([variant=white]) .hold-affordance{color:var(
|
|
143
143
|
--spectrum-ActionButton-static-white-color
|
|
144
|
-
)}:host(
|
|
144
|
+
)}:host([variant=white]:not([disabled]):not([selected])) .hold-affordance{color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-90))}:host([variant=white]:not([disabled]):not([selected]):hover) .hold-affordance{color:var(
|
|
145
145
|
--spectrum-global-color-static-white,#fff
|
|
146
|
-
)}:host(
|
|
146
|
+
)}:host([variant=white]:not([disabled]):not([selected]):hover) #label{color:var(
|
|
147
147
|
--spectrum-global-color-static-white,#fff
|
|
148
|
-
)}:host(
|
|
148
|
+
)}:host([variant=white]:not([disabled]):not([selected]):hover) ::slotted([slot=icon]){color:var(
|
|
149
149
|
--spectrum-global-color-static-white,#fff
|
|
150
|
-
)}:host(
|
|
150
|
+
)}:host([variant=white]:not([disabled]):not([selected])[active]) .hold-affordance{color:var(
|
|
151
151
|
--spectrum-global-color-static-white,#fff
|
|
152
|
-
)}:host(
|
|
152
|
+
)}:host([variant=white]:not([disabled]):not([selected])[active]) #label{color:var(
|
|
153
153
|
--spectrum-global-color-static-white,#fff
|
|
154
|
-
)}:host(
|
|
154
|
+
)}:host([variant=white]:not([disabled]):not([selected])[active]) ::slotted([slot=icon]){color:var(
|
|
155
155
|
--spectrum-global-color-static-white,#fff
|
|
156
|
-
)}:host(
|
|
156
|
+
)}:host([variant=white]:not([disabled]):not([selected]).focus-visible) .hold-affordance{color:var(
|
|
157
157
|
--spectrum-global-color-static-white,#fff
|
|
158
|
-
)}:host(
|
|
158
|
+
)}:host([variant=white]:not([disabled]):not([selected]):focus-visible) .hold-affordance{color:var(
|
|
159
159
|
--spectrum-global-color-static-white,#fff
|
|
160
|
-
)}:host(
|
|
160
|
+
)}:host([variant=white]:not([disabled]):not([selected]).focus-visible) #label{color:var(
|
|
161
161
|
--spectrum-global-color-static-white,#fff
|
|
162
|
-
)}:host(
|
|
162
|
+
)}:host([variant=white]:not([disabled]):not([selected]):focus-visible) #label{color:var(
|
|
163
163
|
--spectrum-global-color-static-white,#fff
|
|
164
|
-
)}:host(
|
|
164
|
+
)}:host([variant=white]:not([disabled]):not([selected]).focus-visible) ::slotted([slot=icon]){color:var(
|
|
165
165
|
--spectrum-global-color-static-white,#fff
|
|
166
|
-
)}:host(
|
|
166
|
+
)}:host([variant=white]:not([disabled]):not([selected]):focus-visible) ::slotted([slot=icon]){color:var(
|
|
167
167
|
--spectrum-global-color-static-white,#fff
|
|
168
|
-
)}:host(
|
|
168
|
+
)}:host([variant=white]:not([disabled]):not([selected]).is-keyboardFocused) .hold-affordance{color:var(
|
|
169
169
|
--spectrum-global-color-static-white,#fff
|
|
170
|
-
)}:host(
|
|
170
|
+
)}:host([variant=white]:not([disabled]):not([selected]).is-keyboardFocused) #label{color:var(
|
|
171
171
|
--spectrum-global-color-static-white,#fff
|
|
172
|
-
)}:host(
|
|
172
|
+
)}:host([variant=white]:not([disabled]):not([selected]).is-keyboardFocused) ::slotted([slot=icon]){color:var(
|
|
173
173
|
--spectrum-global-color-static-white,#fff
|
|
174
|
-
)}:host(
|
|
174
|
+
)}:host([variant=white]:not([disabled]):not([selected])) #label{color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-90))}:host([variant=white]:not([disabled]):not([selected])) ::slotted([slot=icon]){color:rgba(var(--spectrum-global-color-static-white-rgb),var(--spectrum-global-color-opacity-90))}:host([variant=white]) #label{color:var(
|
|
175
175
|
--spectrum-ActionButton-static-white-color
|
|
176
|
-
)}:host(
|
|
176
|
+
)}:host([variant=white]) ::slotted([slot=icon]){color:var(
|
|
177
177
|
--spectrum-ActionButton-static-white-color
|
|
178
178
|
)}:host([size=s]){--spectrum-actionbutton-texticon-border-size:var(
|
|
179
179
|
--spectrum-actionbutton-s-texticon-border-size,var(--spectrum-alias-border-size-thin)
|
|
@@ -343,7 +343,7 @@ const styles = css `
|
|
|
343
343
|
--spectrum-actionbutton-xl-icononly-padding-right,var(--spectrum-global-dimension-size-160)
|
|
344
344
|
);--spectrum-actionbutton-icononly-padding-left:var(
|
|
345
345
|
--spectrum-actionbutton-xl-icononly-padding-left,var(--spectrum-global-dimension-size-160)
|
|
346
|
-
)}:host{--spectrum-actionbutton-padding-left-adjusted:calc(var(--spectrum-actionbutton-texticon-padding-left) - var(--spectrum-actionbutton-texticon-border-size));--spectrum-actionbutton-textonly-padding-left-adjusted:calc(var(--spectrum-actionbutton-textonly-padding-left) - var(--spectrum-actionbutton-textonly-border-size));--spectrum-actionbutton-textonly-padding-right-adjusted:calc(var(--spectrum-actionbutton-textonly-padding-right) - var(--spectrum-actionbutton-textonly-border-size));--spectrum-actionbutton-icononly-padding-left-adjusted:calc(var(--spectrum-actionbutton-icononly-padding-left) - var(--spectrum-actionbutton-icononly-border-size));--spectrum-actionbutton-icononly-padding-right-adjusted:calc(var(--spectrum-actionbutton-icononly-padding-right) - var(--spectrum-actionbutton-icononly-border-size))}:host([dir=ltr]){padding-left:var(
|
|
346
|
+
)}:host{--spectrum-actionbutton-padding-left-adjusted:calc(var(--spectrum-actionbutton-texticon-padding-left) - var(--spectrum-actionbutton-texticon-border-size));--spectrum-actionbutton-textonly-padding-left-adjusted:calc(var(--spectrum-actionbutton-textonly-padding-left) - var(--spectrum-actionbutton-textonly-border-size));--spectrum-actionbutton-textonly-padding-right-adjusted:calc(var(--spectrum-actionbutton-textonly-padding-right) - var(--spectrum-actionbutton-textonly-border-size));--spectrum-actionbutton-icononly-padding-left-adjusted:calc(var(--spectrum-actionbutton-icononly-padding-left) - var(--spectrum-actionbutton-icononly-border-size));--spectrum-actionbutton-icononly-padding-right-adjusted:calc(var(--spectrum-actionbutton-icononly-padding-right) - var(--spectrum-actionbutton-icononly-border-size));--spectrum-actionbutton-focus-ring-border-radius-adjusted:calc(var(--spectrum-actionbutton-quiet-textonly-border-radius) + var(--spectrum-actionbutton-focus-ring-gap))}:host([dir=ltr]){padding-left:var(
|
|
347
347
|
--spectrum-actionbutton-textonly-padding-left-adjusted
|
|
348
348
|
);padding-right:var(--spectrum-actionbutton-textonly-padding-right-adjusted)}:host([dir=rtl]){padding-left:var(--spectrum-actionbutton-textonly-padding-right-adjusted);padding-right:var(
|
|
349
349
|
--spectrum-actionbutton-textonly-padding-left-adjusted
|
|
@@ -351,11 +351,11 @@ const styles = css `
|
|
|
351
351
|
--spectrum-actionbutton-texticon-icon-gap
|
|
352
352
|
)}:host([dir=rtl]) slot[name=icon]+#label{padding-right:var(
|
|
353
353
|
--spectrum-actionbutton-texticon-icon-gap
|
|
354
|
-
)}:host([dir=ltr]) slot[name=icon]+#label{padding-right:0}:host([dir=rtl]) slot[name=icon]+#label{padding-left:0}
|
|
354
|
+
)}:host([dir=ltr]) slot[name=icon]+#label{padding-right:0}:host([dir=rtl]) slot[name=icon]+#label{padding-left:0}.hold-affordance+::slotted([slot=icon]),:host([dir]) slot[icon-only] sp-icon,:host([dir]) slot[icon-only]::slotted([slot=icon]){margin-left:calc((var(--spectrum-actionbutton-textonly-padding-left-adjusted) - var(--spectrum-actionbutton-icononly-padding-left-adjusted))*-1);margin-right:calc((var(--spectrum-actionbutton-textonly-padding-right-adjusted) - var(--spectrum-actionbutton-icononly-padding-right-adjusted))*-1)}#label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([dir=ltr]) .hold-affordance{right:var(
|
|
355
355
|
--spectrum-actionbutton-textonly-hold-icon-padding-right
|
|
356
|
-
)}:host([dir=rtl])
|
|
356
|
+
)}:host([dir=rtl]) .hold-affordance{left:var(
|
|
357
357
|
--spectrum-actionbutton-textonly-hold-icon-padding-right
|
|
358
|
-
)}:host([dir=rtl])
|
|
358
|
+
)}:host([dir=rtl]) .hold-affordance{transform:matrix(-1,0,0,1,0,0)}.hold-affordance{bottom:var(--spectrum-actionbutton-textonly-hold-icon-padding-bottom);position:absolute}:host([quiet]){border-radius:var(--spectrum-actionbutton-quiet-textonly-border-radius);border-width:var(
|
|
359
359
|
--spectrum-actionbutton-quiet-textonly-border-size
|
|
360
360
|
);font-size:var(--spectrum-actionbutton-quiet-textonly-text-size);font-weight:var(--spectrum-actionbutton-quiet-textonly-text-font-weight)}:host{--spectrum-actionbutton-focus-ring-gap:var(
|
|
361
361
|
--spectrum-alias-component-focusring-gap,var(--spectrum-global-dimension-static-size-0)
|
|
@@ -363,11 +363,13 @@ const styles = css `
|
|
|
363
363
|
--spectrum-alias-component-focusring-size,var(--spectrum-global-dimension-static-size-10)
|
|
364
364
|
);--spectrum-actionbutton-focus-ring-color:var(
|
|
365
365
|
--spectrum-actionbutton-m-textonly-focus-ring-border-color-key-focus,var(--spectrum-alias-focus-ring-color)
|
|
366
|
-
);transition:border-color var(--spectrum-global-animation-duration-100,.13s) ease-in-out}:host:after{border-radius:
|
|
366
|
+
);transition:border-color var(--spectrum-global-animation-duration-100,.13s) ease-in-out}:host:after{border-radius:var(
|
|
367
|
+
--spectrum-actionbutton-focus-ring-border-radius-adjusted
|
|
368
|
+
);bottom:0;content:"";left:0;margin:calc((var(--spectrum-actionbutton-focus-ring-gap) + var(--spectrum-actionbutton-textonly-border-size))*-1);pointer-events:none;position:absolute;right:0;top:0;transition:box-shadow var(--spectrum-global-animation-duration-100,.13s) ease-in-out}:host(.focus-visible){box-shadow:none!important}:host(:focus-visible){box-shadow:none!important}:host(.focus-visible):after{box-shadow:0 0 0 var(--spectrum-actionbutton-focus-ring-size) var(--spectrum-actionbutton-focus-ring-color)}:host(:focus-visible):after{box-shadow:0 0 0 var(--spectrum-actionbutton-focus-ring-size) var(--spectrum-actionbutton-focus-ring-color)}:host([variant=white]){--spectrum-actionbutton-focus-ring-color:var(
|
|
367
369
|
--spectrum-global-color-static-white,#fff
|
|
368
|
-
)}
|
|
370
|
+
)}:host([variant=black]){--spectrum-actionbutton-focus-ring-color:var(
|
|
369
371
|
--spectrum-global-color-static-black,#000
|
|
370
|
-
)}
|
|
372
|
+
)}:host([emphasized][selected]),:host([variant=black]),:host([variant=white]){--spectrum-actionbutton-focus-ring-gap:var(
|
|
371
373
|
--spectrum-alias-component-focusring-gap-emphasized,var(--spectrum-global-dimension-static-size-25)
|
|
372
374
|
);--spectrum-actionbutton-focus-ring-size:var(
|
|
373
375
|
--spectrum-alias-component-focusring-size-emphasized,var(--spectrum-global-dimension-static-size-25)
|
|
@@ -379,7 +381,7 @@ const styles = css `
|
|
|
379
381
|
--spectrum-actionbutton-m-textonly-text-color,var(--spectrum-alias-component-text-color-default)
|
|
380
382
|
)}::slotted([slot=icon]){color:var(
|
|
381
383
|
--spectrum-actionbutton-m-texticon-icon-color,var(--spectrum-alias-component-icon-color-default)
|
|
382
|
-
)}
|
|
384
|
+
)}.hold-affordance{color:var(
|
|
383
385
|
--spectrum-actionbutton-m-textonly-hold-icon-color,var(--spectrum-alias-component-icon-color-default)
|
|
384
386
|
)}:host(:hover){background-color:var(
|
|
385
387
|
--spectrum-actionbutton-m-textonly-background-color-hover,var(--spectrum-alias-component-background-color-hover)
|
|
@@ -389,7 +391,7 @@ const styles = css `
|
|
|
389
391
|
--spectrum-actionbutton-m-textonly-text-color-hover,var(--spectrum-alias-component-text-color-hover)
|
|
390
392
|
)}:host(:hover) ::slotted([slot=icon]){color:var(
|
|
391
393
|
--spectrum-actionbutton-m-texticon-icon-color-hover,var(--spectrum-alias-component-icon-color-hover)
|
|
392
|
-
)}:host(:hover)
|
|
394
|
+
)}:host(:hover) .hold-affordance{color:var(
|
|
393
395
|
--spectrum-actionbutton-m-textonly-hold-icon-color-hover,var(--spectrum-alias-component-icon-color-hover)
|
|
394
396
|
)}:host(.focus-visible){background-color:var(
|
|
395
397
|
--spectrum-actionbutton-m-textonly-background-color-key-focus,var(--spectrum-alias-component-background-color-key-focus)
|
|
@@ -411,9 +413,9 @@ const styles = css `
|
|
|
411
413
|
--spectrum-actionbutton-m-texticon-icon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)
|
|
412
414
|
)}:host(:focus-visible) ::slotted([slot=icon]){color:var(
|
|
413
415
|
--spectrum-actionbutton-m-texticon-icon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)
|
|
414
|
-
)}:host(.focus-visible)
|
|
416
|
+
)}:host(.focus-visible) .hold-affordance{color:var(
|
|
415
417
|
--spectrum-actionbutton-m-textonly-hold-icon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)
|
|
416
|
-
)}:host(:focus-visible)
|
|
418
|
+
)}:host(:focus-visible) .hold-affordance{color:var(
|
|
417
419
|
--spectrum-actionbutton-m-textonly-hold-icon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)
|
|
418
420
|
)}:host([active]){background-color:var(
|
|
419
421
|
--spectrum-actionbutton-m-textonly-background-color-down,var(--spectrum-alias-component-background-color-down)
|
|
@@ -421,17 +423,17 @@ const styles = css `
|
|
|
421
423
|
--spectrum-actionbutton-m-textonly-border-color-down,var(--spectrum-alias-component-border-color-down)
|
|
422
424
|
);color:var(
|
|
423
425
|
--spectrum-actionbutton-m-textonly-text-color-down,var(--spectrum-alias-component-text-color-down)
|
|
424
|
-
)}:host([active])
|
|
426
|
+
)}:host([active]) .hold-affordance{color:var(
|
|
425
427
|
--spectrum-actionbutton-m-textonly-hold-icon-color-down,var(--spectrum-alias-component-icon-color-down)
|
|
426
|
-
)}:host(
|
|
428
|
+
)}:host([disabled]),:host([disabled]){background-color:var(
|
|
427
429
|
--spectrum-actionbutton-m-textonly-background-color-disabled,var(--spectrum-alias-component-background-color-disabled)
|
|
428
430
|
);border-color:var(
|
|
429
431
|
--spectrum-actionbutton-m-textonly-border-color-disabled,var(--spectrum-alias-component-border-color-disabled)
|
|
430
432
|
);color:var(
|
|
431
433
|
--spectrum-actionbutton-m-textonly-text-color-disabled,var(--spectrum-alias-component-text-color-disabled)
|
|
432
|
-
)}:host(
|
|
434
|
+
)}:host([disabled]) ::slotted([slot=icon]),:host([disabled]) ::slotted([slot=icon]){color:var(
|
|
433
435
|
--spectrum-actionbutton-m-texticon-icon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)
|
|
434
|
-
)}:host(
|
|
436
|
+
)}:host([disabled]) .hold-affordance,:host([disabled]) .hold-affordance{color:var(
|
|
435
437
|
--spectrum-actionbutton-m-textonly-hold-icon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)
|
|
436
438
|
)}:host([selected]){background-color:var(
|
|
437
439
|
--spectrum-actionbutton-m-textonly-background-color-selected,var(--spectrum-alias-component-background-color-selected-default)
|
|
@@ -477,13 +479,13 @@ const styles = css `
|
|
|
477
479
|
--spectrum-actionbutton-m-textonly-text-color-selected-down,var(--spectrum-alias-component-text-color-selected-down)
|
|
478
480
|
)}:host([selected][active]) ::slotted([slot=icon]){color:var(
|
|
479
481
|
--spectrum-actionbutton-m-texticon-icon-color-selected-down,var(--spectrum-alias-component-icon-color-selected)
|
|
480
|
-
)}:host([selected]
|
|
482
|
+
)}:host([selected][disabled]),:host([selected][disabled]){background-color:var(
|
|
481
483
|
--spectrum-actionbutton-m-textonly-background-color-selected-disabled,var(--spectrum-alias-component-background-color-disabled)
|
|
482
484
|
);border-color:var(
|
|
483
485
|
--spectrum-actionbutton-m-textonly-border-color-selected-disabled,var(--spectrum-alias-component-border-color-disabled)
|
|
484
486
|
);color:var(
|
|
485
487
|
--spectrum-actionbutton-m-textonly-text-color-selected-disabled,var(--spectrum-alias-component-text-color-disabled)
|
|
486
|
-
)}:host([selected]
|
|
488
|
+
)}:host([selected][disabled]) ::slotted([slot=icon]),:host([selected][disabled]) ::slotted([slot=icon]){color:var(
|
|
487
489
|
--spectrum-actionbutton-m-texticon-icon-color-selected-disabled,var(--spectrum-alias-component-icon-color-disabled)
|
|
488
490
|
)}:host([emphasized][quiet][selected]),:host([emphasized][selected]){background-color:var(
|
|
489
491
|
--spectrum-actionbutton-m-emphasized-textonly-background-color-selected,var(
|
|
@@ -539,13 +541,13 @@ const styles = css `
|
|
|
539
541
|
--spectrum-actionbutton-m-emphasized-textonly-text-color-selected-down,var(--spectrum-alias-component-text-color-emphasized-selected-down)
|
|
540
542
|
)}:host([emphasized][quiet][selected][active]) ::slotted([slot=icon]),:host([emphasized][selected][active]) ::slotted([slot=icon]){color:var(
|
|
541
543
|
--spectrum-actionbutton-m-emphasized-texticon-icon-color-selected-down,var(--spectrum-alias-component-icon-color-emphasized-selected-down)
|
|
542
|
-
)}:host([emphasized][quiet][selected]
|
|
544
|
+
)}:host([emphasized][quiet][selected][disabled]),:host([emphasized][quiet][selected][disabled]),:host([emphasized][selected][disabled]){background-color:var(
|
|
543
545
|
--spectrum-actionbutton-m-emphasized-textonly-background-color-selected-disabled,var(--spectrum-alias-component-background-color-disabled)
|
|
544
546
|
);border-color:var(
|
|
545
547
|
--spectrum-actionbutton-m-emphasized-textonly-border-color-selected-disabled,var(--spectrum-alias-component-border-color-disabled)
|
|
546
548
|
);color:var(
|
|
547
549
|
--spectrum-actionbutton-m-emphasized-textonly-text-color-selected-disabled,var(--spectrum-alias-component-text-color-disabled)
|
|
548
|
-
)}:host([emphasized][quiet][selected]
|
|
550
|
+
)}:host([emphasized][quiet][selected][disabled]) ::slotted([slot=icon]),:host([emphasized][quiet][selected][disabled]) ::slotted([slot=icon]),:host([emphasized][selected][disabled]) ::slotted([slot=icon]){color:var(
|
|
549
551
|
--spectrum-actionbutton-m-emphasized-texticon-icon-color-selected-disabled,var(--spectrum-alias-component-icon-color-disabled)
|
|
550
552
|
)}:host([quiet]){background-color:var(
|
|
551
553
|
--spectrum-actionbutton-m-quiet-textonly-background-color,var(--spectrum-alias-component-background-color-quiet-default)
|
|
@@ -577,7 +579,7 @@ const styles = css `
|
|
|
577
579
|
--spectrum-actionbutton-m-quiet-textonly-border-color-down,var(--spectrum-alias-component-border-color-quiet-down)
|
|
578
580
|
);color:var(
|
|
579
581
|
--spectrum-actionbutton-m-quiet-textonly-text-color-down,var(--spectrum-alias-component-text-color-down)
|
|
580
|
-
)}:host([quiet]
|
|
582
|
+
)}:host([quiet][disabled]),:host([quiet][disabled]){background-color:var(
|
|
581
583
|
--spectrum-actionbutton-m-quiet-textonly-background-color-disabled,var(--spectrum-alias-component-background-color-quiet-disabled)
|
|
582
584
|
);border-color:var(
|
|
583
585
|
--spectrum-actionbutton-m-quiet-textonly-border-color-disabled,var(--spectrum-alias-component-border-color-quiet-disabled)
|
|
@@ -617,17 +619,17 @@ const styles = css `
|
|
|
617
619
|
--spectrum-actionbutton-m-quiet-textonly-border-color-selected-down,var(--spectrum-alias-component-border-color-quiet-selected-down)
|
|
618
620
|
);color:var(
|
|
619
621
|
--spectrum-actionbutton-m-quiet-textonly-text-color-selected-down,var(--spectrum-alias-component-text-color-selected-down)
|
|
620
|
-
)}:host([quiet][selected]
|
|
622
|
+
)}:host([quiet][selected][disabled]),:host([quiet][selected][disabled]){background-color:var(
|
|
621
623
|
--spectrum-actionbutton-m-quiet-textonly-background-color-selected-disabled,var(--spectrum-alias-component-background-color-quiet-selected-disabled)
|
|
622
624
|
);border-color:var(
|
|
623
625
|
--spectrum-actionbutton-m-quiet-textonly-border-color-selected-disabled,var(--spectrum-alias-component-border-color-quiet-disabled)
|
|
624
626
|
);color:var(
|
|
625
627
|
--spectrum-actionbutton-m-quiet-textonly-text-color-selected-disabled,var(--spectrum-alias-component-text-color-disabled)
|
|
626
|
-
)}
|
|
628
|
+
)}:host([variant=black]),:host([variant=white]){--spectrum-global-color-static-black-rgb:0,0,0;--spectrum-global-color-static-white-rgb:255,255,255;--spectrum-ActionButton-static-black-color:var(
|
|
627
629
|
--spectrum-global-color-static-black,#000
|
|
628
630
|
);--spectrum-ActionButton-static-white-color:var(
|
|
629
631
|
--spectrum-global-color-static-white,#fff
|
|
630
|
-
)}:host([selected])
|
|
632
|
+
)}:host([variant=black][selected]),:host([variant=white][selected]){color:inherit!important}@media (forced-colors:active){:host{--spectrum-actionbutton-m-emphasized-texticon-icon-color-selected:HighlightText;--spectrum-actionbutton-m-emphasized-texticon-icon-color-selected-disabled:GrayText;--spectrum-actionbutton-m-emphasized-texticon-icon-color-selected-down:HighlightText;--spectrum-actionbutton-m-emphasized-texticon-icon-color-selected-hover:HighlightText;--spectrum-actionbutton-m-emphasized-texticon-icon-color-selected-key-focus:HighlightText;--spectrum-actionbutton-m-emphasized-textonly-background-color-selected:Highlight;--spectrum-actionbutton-m-emphasized-textonly-background-color-selected-disabled:ButtonFace;--spectrum-actionbutton-m-emphasized-textonly-background-color-selected-down:Highlight;--spectrum-actionbutton-m-emphasized-textonly-background-color-selected-hover:Highlight;--spectrum-actionbutton-m-emphasized-textonly-background-color-selected-key-focus:Highlight;--spectrum-actionbutton-m-emphasized-textonly-border-color-selected:HighlightText;--spectrum-actionbutton-m-emphasized-textonly-border-color-selected-disabled:GrayText;--spectrum-actionbutton-m-emphasized-textonly-border-color-selected-down:HighlightText;--spectrum-actionbutton-m-emphasized-textonly-border-color-selected-hover:HighlightText;--spectrum-actionbutton-m-emphasized-textonly-border-color-selected-key-focus:HighlightText;--spectrum-actionbutton-m-emphasized-textonly-text-color-selected:HighlightText;--spectrum-actionbutton-m-emphasized-textonly-text-color-selected-disabled:GrayText;--spectrum-actionbutton-m-emphasized-textonly-text-color-selected-down:HighlightText;--spectrum-actionbutton-m-emphasized-textonly-text-color-selected-hover:HighlightText;--spectrum-actionbutton-m-emphasized-textonly-text-color-selected-key-focus:HighlightText;--spectrum-actionbutton-m-quiet-textonly-background-color:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-background-color-disabled:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-background-color-down:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-background-color-hover:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-background-color-key-focus:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-background-color-selected:Highlight;--spectrum-actionbutton-m-quiet-textonly-background-color-selected-disabled:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-background-color-selected-down:Highlight;--spectrum-actionbutton-m-quiet-textonly-background-color-selected-hover:Highlight;--spectrum-actionbutton-m-quiet-textonly-background-color-selected-key-focus:Highlight;--spectrum-actionbutton-m-quiet-textonly-border-color:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-border-color-disabled:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-border-color-down:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-border-color-hover:ButtonFace;--spectrum-actionbutton-m-quiet-textonly-border-color-key-focus:Highlight;--spectrum-actionbutton-m-quiet-textonly-border-color-selected:HighlightText;--spectrum-actionbutton-m-quiet-textonly-border-color-selected-disabled:GrayText;--spectrum-actionbutton-m-quiet-textonly-border-color-selected-down:HighlightText;--spectrum-actionbutton-m-quiet-textonly-border-color-selected-hover:HighlightText;--spectrum-actionbutton-m-quiet-textonly-border-color-selected-key-focus:HighlightText;--spectrum-actionbutton-m-quiet-textonly-text-color:ButtonText;--spectrum-actionbutton-m-quiet-textonly-text-color-disabled:GrayText;--spectrum-actionbutton-m-quiet-textonly-text-color-down:ButtonText;--spectrum-actionbutton-m-quiet-textonly-text-color-hover:ButtonText;--spectrum-actionbutton-m-quiet-textonly-text-color-key-focus:ButtonText;--spectrum-actionbutton-m-quiet-textonly-text-color-selected:HighlightText;--spectrum-actionbutton-m-quiet-textonly-text-color-selected-disabled:GrayText;--spectrum-actionbutton-m-quiet-textonly-text-color-selected-down:HighlightText;--spectrum-actionbutton-m-quiet-textonly-text-color-selected-hover:HighlightText;--spectrum-actionbutton-m-quiet-textonly-text-color-selected-key-focus:HighlightText;--spectrum-actionbutton-m-texticon-icon-color:ButtonText;--spectrum-actionbutton-m-texticon-icon-color-disabled:GrayText;--spectrum-actionbutton-m-texticon-icon-color-hover:ButtonText;--spectrum-actionbutton-m-texticon-icon-color-key-focus:ButtonText;--spectrum-actionbutton-m-texticon-icon-color-selected:HighlightText;--spectrum-actionbutton-m-texticon-icon-color-selected-disabled:GrayText;--spectrum-actionbutton-m-texticon-icon-color-selected-down:HighlightText;--spectrum-actionbutton-m-texticon-icon-color-selected-hover:HighlightText;--spectrum-actionbutton-m-texticon-icon-color-selected-key-focus:HighlightText;--spectrum-actionbutton-m-textonly-background-color:ButtonFace;--spectrum-actionbutton-m-textonly-background-color-disabled:ButtonFace;--spectrum-actionbutton-m-textonly-background-color-down:ButtonFace;--spectrum-actionbutton-m-textonly-background-color-hover:ButtonFace;--spectrum-actionbutton-m-textonly-background-color-key-focus:ButtonFace;--spectrum-actionbutton-m-textonly-background-color-selected:Highlight;--spectrum-actionbutton-m-textonly-background-color-selected-disabled:ButtonFace;--spectrum-actionbutton-m-textonly-background-color-selected-down:Highlight;--spectrum-actionbutton-m-textonly-background-color-selected-hover:Highlight;--spectrum-actionbutton-m-textonly-background-color-selected-key-focus:Highlight;--spectrum-actionbutton-m-textonly-border-color:ButtonText;--spectrum-actionbutton-m-textonly-border-color-disabled:GrayText;--spectrum-actionbutton-m-textonly-border-color-down:ButtonText;--spectrum-actionbutton-m-textonly-border-color-hover:ButtonText;--spectrum-actionbutton-m-textonly-border-color-key-focus:Highlight;--spectrum-actionbutton-m-textonly-border-color-selected:HighlightText;--spectrum-actionbutton-m-textonly-border-color-selected-disabled:GrayText;--spectrum-actionbutton-m-textonly-border-color-selected-down:HighlightText;--spectrum-actionbutton-m-textonly-border-color-selected-hover:HighlightText;--spectrum-actionbutton-m-textonly-border-color-selected-key-focus:HighlightText;--spectrum-actionbutton-m-textonly-hold-icon-color:ButtonText;--spectrum-actionbutton-m-textonly-hold-icon-color-disabled:GrayText;--spectrum-actionbutton-m-textonly-hold-icon-color-down:ButtonText;--spectrum-actionbutton-m-textonly-hold-icon-color-hover:ButtonText;--spectrum-actionbutton-m-textonly-hold-icon-color-key-focus:ButtonText;--spectrum-actionbutton-m-textonly-text-color:ButtonText;--spectrum-actionbutton-m-textonly-text-color-disabled:GrayText;--spectrum-actionbutton-m-textonly-text-color-down:ButtonText;--spectrum-actionbutton-m-textonly-text-color-hover:ButtonText;--spectrum-actionbutton-m-textonly-text-color-key-focus:ButtonText;--spectrum-actionbutton-m-textonly-text-color-selected:HighlightText;--spectrum-actionbutton-m-textonly-text-color-selected-disabled:GrayText;--spectrum-actionbutton-m-textonly-text-color-selected-down:HighlightText;--spectrum-actionbutton-m-textonly-text-color-selected-hover:HighlightText;--spectrum-actionbutton-m-textonly-text-color-selected-key-focus:HighlightText;forced-color-adjust:none}:host([quiet][emphasized]:not([disabled]):hover){background-color:var(
|
|
631
633
|
--spectrum-actionbutton-m-emphasized-textonly-background-color-selected-hover,var(
|
|
632
634
|
--spectrum-alias-component-background-color-emphasized-selected-hover
|
|
633
635
|
)
|
|
@@ -637,7 +639,7 @@ const styles = css `
|
|
|
637
639
|
)
|
|
638
640
|
);color:var(
|
|
639
641
|
--spectrum-actionbutton-m-emphasized-textonly-text-color-selected-hover,var(--spectrum-alias-component-text-color-emphasized-selected-hover)
|
|
640
|
-
)}:host([quiet][emphasized]:not(
|
|
642
|
+
)}:host([quiet][emphasized]:not([disabled])[active]){background-color:var(
|
|
641
643
|
--spectrum-actionbutton-m-emphasized-textonly-background-color-selected-down,var(
|
|
642
644
|
--spectrum-alias-component-background-color-emphasized-selected-down
|
|
643
645
|
)
|