@spectrum-web-components/button 0.16.0 → 0.16.3
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 +11 -5
- package/package.json +7 -7
- package/src/ClearButton.d.ts +7 -1
- package/src/ClearButton.js +7 -2
- package/src/ClearButton.js.map +1 -1
- package/src/button-base.css.js +1 -1
- package/src/button-base.css.js.map +1 -1
- package/src/button.css.js +2 -2
- package/src/button.css.js.map +1 -1
- package/src/clear-button.css.js +165 -51
- package/src/clear-button.css.js.map +1 -1
- package/src/spectrum-button.css.js +2 -2
- package/src/spectrum-button.css.js.map +1 -1
- package/src/spectrum-clear-button.css.js +165 -51
- package/src/spectrum-clear-button.css.js.map +1 -1
- package/src/spectrum-config.js +27 -0
- package/test/button-cta-sizes.test-vrt.js +0 -15
- package/test/button-cta-sizes.test-vrt.js.map +0 -1
- package/test/button-cta.test-vrt.js +0 -15
- package/test/button-cta.test-vrt.js.map +0 -1
- package/test/button-overBackground-sizes.test-vrt.js +0 -15
- package/test/button-overBackground-sizes.test-vrt.js.map +0 -1
- package/test/button-overBackground.test-vrt.js +0 -15
- package/test/button-overBackground.test-vrt.js.map +0 -1
- package/test/button-primary-sizes.test-vrt.js +0 -15
- package/test/button-primary-sizes.test-vrt.js.map +0 -1
- package/test/button-primary.test-vrt.js +0 -15
- package/test/button-primary.test-vrt.js.map +0 -1
- package/test/button-secondary-sizes.test-vrt.js +0 -15
- package/test/button-secondary-sizes.test-vrt.js.map +0 -1
- package/test/button-secondary.test-vrt.js +0 -15
- package/test/button-secondary.test-vrt.js.map +0 -1
- package/test/button-warning-sizes.test-vrt.js +0 -15
- package/test/button-warning-sizes.test-vrt.js.map +0 -1
- package/test/button-warning.test-vrt.js +0 -15
- package/test/button-warning.test-vrt.js.map +0 -1
- package/test/button.test.js +0 -356
- package/test/button.test.js.map +0 -1
|
@@ -15,56 +15,170 @@ 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
|
-
);overflow:visible;position:relative;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}:host:
|
|
19
|
-
--spectrum-alias-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
var(--spectrum-
|
|
24
|
-
)
|
|
25
|
-
--spectrum-
|
|
26
|
-
|
|
27
|
-
)
|
|
28
|
-
|
|
29
|
-
var(--spectrum-
|
|
30
|
-
)
|
|
31
|
-
--spectrum-clearbutton-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
)
|
|
35
|
-
--spectrum-clearbutton-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
)
|
|
39
|
-
--spectrum-clearbutton-
|
|
40
|
-
)
|
|
41
|
-
--spectrum-clearbutton-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
)
|
|
45
|
-
--spectrum-clearbutton-
|
|
46
|
-
)
|
|
47
|
-
--spectrum-clearbutton-
|
|
48
|
-
)
|
|
49
|
-
--spectrum-clearbutton-
|
|
50
|
-
)}:host(
|
|
51
|
-
--spectrum-clearbutton-m-
|
|
52
|
-
)
|
|
53
|
-
--spectrum-clearbutton-m-
|
|
54
|
-
)
|
|
55
|
-
--spectrum-clearbutton-m-
|
|
56
|
-
)
|
|
57
|
-
--spectrum-clearbutton-m-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
)
|
|
67
|
-
--spectrum-clearbutton-
|
|
18
|
+
);overflow:visible;position:relative;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}:host{background-color:transparent;border:none;border-radius:100%;margin:0;padding:var(--spectrum-clearbutton-padding)}:host>.icon{margin:0 auto}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){:host>.icon{margin:0}}:host([size=s]){--spectrum-clearbutton-fill-uiicon-color-disabled:var(
|
|
19
|
+
--spectrum-clearbutton-s-fill-uiicon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)
|
|
20
|
+
);--spectrum-clearbutton-fill-background-color-disabled:var(
|
|
21
|
+
--spectrum-clearbutton-s-fill-background-color-disabled,var(--spectrum-alias-background-color-transparent)
|
|
22
|
+
);--spectrum-clearbutton-fill-uiicon-color:var(
|
|
23
|
+
--spectrum-clearbutton-s-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)
|
|
24
|
+
);--spectrum-clearbutton-fill-background-color:var(
|
|
25
|
+
--spectrum-clearbutton-s-fill-background-color,var(
|
|
26
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default
|
|
27
|
+
)
|
|
28
|
+
);--spectrum-clearbutton-fill-uiicon-color-down:var(
|
|
29
|
+
--spectrum-clearbutton-s-fill-uiicon-color-down,var(--spectrum-alias-component-icon-color-down)
|
|
30
|
+
);--spectrum-clearbutton-fill-background-color-down:var(
|
|
31
|
+
--spectrum-clearbutton-s-fill-background-color-down,var(
|
|
32
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down
|
|
33
|
+
)
|
|
34
|
+
);--spectrum-clearbutton-fill-background-color-hover:var(
|
|
35
|
+
--spectrum-clearbutton-s-fill-background-color-hover,var(
|
|
36
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover
|
|
37
|
+
)
|
|
38
|
+
);--spectrum-clearbutton-fill-uiicon-color-key-focus:var(
|
|
39
|
+
--spectrum-clearbutton-s-fill-uiicon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)
|
|
40
|
+
);--spectrum-clearbutton-fill-background-color-key-focus:var(
|
|
41
|
+
--spectrum-clearbutton-s-fill-background-color-key-focus,var(
|
|
42
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus
|
|
43
|
+
)
|
|
44
|
+
);--spectrum-clearbutton-fill-height:var(
|
|
45
|
+
--spectrum-clearbutton-s-fill-height,var(--spectrum-alias-infieldbutton-full-height-s)
|
|
46
|
+
);--spectrum-clearbutton-fill-width:var(
|
|
47
|
+
--spectrum-clearbutton-s-fill-width,var(--spectrum-alias-infieldbutton-full-height-s)
|
|
48
|
+
);--spectrum-clearbutton-padding:var(
|
|
49
|
+
--spectrum-clearbutton-s-padding,var(--spectrum-alias-infieldbutton-padding-s)
|
|
50
|
+
)}:host([size=m]){--spectrum-clearbutton-fill-uiicon-color-disabled:var(
|
|
51
|
+
--spectrum-clearbutton-m-fill-uiicon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)
|
|
52
|
+
);--spectrum-clearbutton-fill-background-color-disabled:var(
|
|
53
|
+
--spectrum-clearbutton-m-fill-background-color-disabled,var(--spectrum-alias-background-color-transparent)
|
|
54
|
+
);--spectrum-clearbutton-fill-uiicon-color:var(
|
|
55
|
+
--spectrum-clearbutton-m-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)
|
|
56
|
+
);--spectrum-clearbutton-fill-background-color:var(
|
|
57
|
+
--spectrum-clearbutton-m-fill-background-color,var(
|
|
58
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default
|
|
59
|
+
)
|
|
60
|
+
);--spectrum-clearbutton-fill-uiicon-color-down:var(
|
|
61
|
+
--spectrum-clearbutton-m-fill-uiicon-color-down,var(--spectrum-alias-component-icon-color-down)
|
|
62
|
+
);--spectrum-clearbutton-fill-background-color-down:var(
|
|
63
|
+
--spectrum-clearbutton-m-fill-background-color-down,var(
|
|
64
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down
|
|
65
|
+
)
|
|
66
|
+
);--spectrum-clearbutton-fill-background-color-hover:var(
|
|
67
|
+
--spectrum-clearbutton-m-fill-background-color-hover,var(
|
|
68
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover
|
|
69
|
+
)
|
|
70
|
+
);--spectrum-clearbutton-fill-uiicon-color-key-focus:var(
|
|
71
|
+
--spectrum-clearbutton-m-fill-uiicon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)
|
|
72
|
+
);--spectrum-clearbutton-fill-background-color-key-focus:var(
|
|
73
|
+
--spectrum-clearbutton-m-fill-background-color-key-focus,var(
|
|
74
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus
|
|
75
|
+
)
|
|
76
|
+
);--spectrum-clearbutton-fill-height:var(
|
|
77
|
+
--spectrum-clearbutton-m-fill-height,var(--spectrum-alias-infieldbutton-full-height-m)
|
|
78
|
+
);--spectrum-clearbutton-fill-width:var(
|
|
79
|
+
--spectrum-clearbutton-m-fill-width,var(--spectrum-alias-infieldbutton-full-height-m)
|
|
80
|
+
);--spectrum-clearbutton-padding:var(
|
|
81
|
+
--spectrum-clearbutton-m-padding,var(--spectrum-alias-infieldbutton-padding-m)
|
|
82
|
+
)}:host([size=l]){--spectrum-clearbutton-fill-uiicon-color-disabled:var(
|
|
83
|
+
--spectrum-clearbutton-l-fill-uiicon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)
|
|
84
|
+
);--spectrum-clearbutton-fill-background-color-disabled:var(
|
|
85
|
+
--spectrum-clearbutton-l-fill-background-color-disabled,var(--spectrum-alias-background-color-transparent)
|
|
86
|
+
);--spectrum-clearbutton-fill-uiicon-color:var(
|
|
87
|
+
--spectrum-clearbutton-l-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)
|
|
88
|
+
);--spectrum-clearbutton-fill-background-color:var(
|
|
89
|
+
--spectrum-clearbutton-l-fill-background-color,var(
|
|
90
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default
|
|
91
|
+
)
|
|
92
|
+
);--spectrum-clearbutton-fill-uiicon-color-down:var(
|
|
93
|
+
--spectrum-clearbutton-l-fill-uiicon-color-down,var(--spectrum-alias-component-icon-color-down)
|
|
94
|
+
);--spectrum-clearbutton-fill-background-color-down:var(
|
|
95
|
+
--spectrum-clearbutton-l-fill-background-color-down,var(
|
|
96
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down
|
|
97
|
+
)
|
|
98
|
+
);--spectrum-clearbutton-fill-background-color-hover:var(
|
|
99
|
+
--spectrum-clearbutton-l-fill-background-color-hover,var(
|
|
100
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover
|
|
101
|
+
)
|
|
102
|
+
);--spectrum-clearbutton-fill-uiicon-color-key-focus:var(
|
|
103
|
+
--spectrum-clearbutton-l-fill-uiicon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)
|
|
104
|
+
);--spectrum-clearbutton-fill-background-color-key-focus:var(
|
|
105
|
+
--spectrum-clearbutton-l-fill-background-color-key-focus,var(
|
|
106
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus
|
|
107
|
+
)
|
|
108
|
+
);--spectrum-clearbutton-fill-height:var(
|
|
109
|
+
--spectrum-clearbutton-l-fill-height,var(--spectrum-alias-infieldbutton-full-height-l)
|
|
110
|
+
);--spectrum-clearbutton-fill-width:var(
|
|
111
|
+
--spectrum-clearbutton-l-fill-width,var(--spectrum-alias-infieldbutton-full-height-l)
|
|
112
|
+
);--spectrum-clearbutton-padding:var(
|
|
113
|
+
--spectrum-clearbutton-l-padding,var(--spectrum-alias-infieldbutton-padding-l)
|
|
114
|
+
)}:host([size=xl]){--spectrum-clearbutton-fill-uiicon-color-disabled:var(
|
|
115
|
+
--spectrum-clearbutton-xl-fill-uiicon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)
|
|
116
|
+
);--spectrum-clearbutton-fill-background-color-disabled:var(
|
|
117
|
+
--spectrum-clearbutton-xl-fill-background-color-disabled,var(--spectrum-alias-background-color-transparent)
|
|
118
|
+
);--spectrum-clearbutton-fill-uiicon-color:var(
|
|
119
|
+
--spectrum-clearbutton-xl-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)
|
|
120
|
+
);--spectrum-clearbutton-fill-background-color:var(
|
|
121
|
+
--spectrum-clearbutton-xl-fill-background-color,var(
|
|
122
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default
|
|
123
|
+
)
|
|
124
|
+
);--spectrum-clearbutton-fill-uiicon-color-down:var(
|
|
125
|
+
--spectrum-clearbutton-xl-fill-uiicon-color-down,var(--spectrum-alias-component-icon-color-down)
|
|
126
|
+
);--spectrum-clearbutton-fill-background-color-down:var(
|
|
127
|
+
--spectrum-clearbutton-xl-fill-background-color-down,var(
|
|
128
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down
|
|
129
|
+
)
|
|
130
|
+
);--spectrum-clearbutton-fill-background-color-hover:var(
|
|
131
|
+
--spectrum-clearbutton-xl-fill-background-color-hover,var(
|
|
132
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover
|
|
133
|
+
)
|
|
134
|
+
);--spectrum-clearbutton-fill-uiicon-color-key-focus:var(
|
|
135
|
+
--spectrum-clearbutton-xl-fill-uiicon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)
|
|
136
|
+
);--spectrum-clearbutton-fill-background-color-key-focus:var(
|
|
137
|
+
--spectrum-clearbutton-xl-fill-background-color-key-focus,var(
|
|
138
|
+
--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus
|
|
139
|
+
)
|
|
140
|
+
);--spectrum-clearbutton-fill-height:var(
|
|
141
|
+
--spectrum-clearbutton-xl-fill-height,var(--spectrum-alias-infieldbutton-full-height-xl)
|
|
142
|
+
);--spectrum-clearbutton-fill-width:var(
|
|
143
|
+
--spectrum-clearbutton-xl-fill-width,var(--spectrum-alias-infieldbutton-full-height-xl)
|
|
144
|
+
);--spectrum-clearbutton-padding:var(
|
|
145
|
+
--spectrum-clearbutton-xl-padding,var(--spectrum-alias-infieldbutton-padding-xl)
|
|
146
|
+
)}.fill{align-items:center;background-color:var(
|
|
147
|
+
--spectrum-clearbutton-fill-background-color
|
|
148
|
+
);border-radius:100%;display:flex;height:var(--spectrum-clearbutton-fill-height);justify-content:center;width:var(--spectrum-clearbutton-fill-width)}:host{color:var(
|
|
149
|
+
--spectrum-clearbutton-m-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)
|
|
150
|
+
)}:host(:hover){color:var(
|
|
151
|
+
--spectrum-clearbutton-fill-uiicon-color
|
|
152
|
+
)}:host([active]){color:var(
|
|
153
|
+
--spectrum-clearbutton-fill-uiicon-color-down
|
|
154
|
+
)}:host(.focus-visible){color:var(
|
|
155
|
+
--spectrum-clearbutton-fill-uiicon-color-key-focus
|
|
156
|
+
)}:host(:focus-visible){color:var(
|
|
157
|
+
--spectrum-clearbutton-fill-uiicon-color-key-focus
|
|
158
|
+
)}:host(:disabled),:host([disabled]){color:var(
|
|
159
|
+
--spectrum-clearbutton-fill-uiicon-color-disabled
|
|
160
|
+
)}:host(:hover) .fill{background-color:var(
|
|
161
|
+
--spectrum-clearbutton-fill-background-color-hover
|
|
162
|
+
)}:host([active]) .fill{background-color:var(
|
|
163
|
+
--spectrum-clearbutton-fill-background-color-down
|
|
164
|
+
)}:host(.focus-visible) .fill{background-color:var(
|
|
165
|
+
--spectrum-clearbutton-fill-background-color-key-focus
|
|
166
|
+
)}:host(:focus-visible) .fill{background-color:var(
|
|
167
|
+
--spectrum-clearbutton-fill-background-color-key-focus
|
|
168
|
+
)}:host(:disabled) .fill,:host([disabled]) .fill{background-color:var(
|
|
169
|
+
--spectrum-clearbutton-fill-background-color-disabled
|
|
170
|
+
)}:host([variant=overBackground]){color:var(
|
|
171
|
+
--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)
|
|
172
|
+
)}:host([variant=overBackground]:hover){color:var(
|
|
173
|
+
--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)
|
|
174
|
+
)}:host([variant=overBackground][active]){color:var(
|
|
175
|
+
--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)
|
|
176
|
+
)}:host([variant=overBackground].focus-visible){color:var(
|
|
177
|
+
--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)
|
|
178
|
+
)}:host([variant=overBackground]:focus-visible){color:var(
|
|
179
|
+
--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)
|
|
180
|
+
)}:host([variant=overBackground]:disabled),:host([variant=overBackground][disabled]) .fill{background-color:var(
|
|
181
|
+
--spectrum-alias-icon-color-overbackground-disabled,hsla(0,0%,100%,.2)
|
|
68
182
|
)}:host([variant=overBackground]){background-color:var(
|
|
69
183
|
--spectrum-button-m-primary-quiet-overbackground-texticon-background-color,var(--spectrum-alias-background-color-transparent)
|
|
70
184
|
);border-color:var(
|
|
@@ -109,7 +223,7 @@ var(--spectrum-global-dimension-static-size-25)
|
|
|
109
223
|
--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-disabled,var(--spectrum-alias-border-color-transparent)
|
|
110
224
|
);color:var(
|
|
111
225
|
--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-disabled,var(--spectrum-alias-text-color-quiet-overbackground-disabled)
|
|
112
|
-
)}
|
|
226
|
+
)}@media (forced-colors:active){:host{forced-color-adjust:none}.spectrum-LogicButton:after{--spectrum-button-m-primary-texticon-focus-ring-color-key-focus:Highlight;forced-color-adjust:none}.spectrum-LogicButton{--spectrum-button-primary-texticon-focus-ring-size:2;--spectrum-button-m-secondary-texticon-background-color-disabled:ButtonFace;--spectrum-button-m-secondary-texticon-border-color-disabled:GrayText;--spectrum-logicbutton-and-background-color:ButtonFace;--spectrum-logicbutton-and-background-color-disabled:ButtonFace;--spectrum-logicbutton-and-background-color-hover:ButtonFace;--spectrum-logicbutton-and-border-color:ButtonText;--spectrum-logicbutton-and-border-color-disabled:GrayText;--spectrum-logicbutton-and-border-color-hover:Highlight;--spectrum-logicbutton-and-text-color:ButtonText;--spectrum-logicbutton-and-text-color-disabled:GrayText;--spectrum-logicbutton-or-background-color:ButtonFace;--spectrum-logicbutton-or-background-color-hover:ButtonFace;--spectrum-logicbutton-or-border-color:ButtonText;--spectrum-logicbutton-or-border-color-hover:Highlight;--spectrum-logicbutton-or-text-color:ButtonText;forced-color-adjust:none}}
|
|
113
227
|
`;
|
|
114
228
|
export default styles;
|
|
115
229
|
//# sourceMappingURL=spectrum-clear-button.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spectrum-clear-button.css.js","sourceRoot":"","sources":["spectrum-clear-button.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;align-items:center;-webkit-appearance:button;border-style:solid;box-sizing:border-box;cursor:pointer;display:inline-flex;font-family:var(\n--spectrum-alias-body-text-font-family,var(--spectrum-global-font-family-base)\n);justify-content:center;line-height:var(\n--spectrum-alias-component-text-line-height,var(--spectrum-global-font-line-height-small)\n);overflow:visible;position:relative;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}:host:after{border-radius:calc(var(--spectrum-button-primary-texticon-border-radius) + var(\n--spectrum-alias-focus-ring-gap,\nvar(--spectrum-global-dimension-static-size-25)\n));bottom:0;content:\"\";display:block;left:0;margin:calc(var(\n--spectrum-alias-focus-ring-gap,\nvar(--spectrum-global-dimension-static-size-25)\n)*-1);position:absolute;right:0;top:0;transition:opacity var(--spectrum-global-animation-duration-100,.13s) ease-out,margin var(--spectrum-global-animation-duration-100,.13s) ease-out}:host(.focus-visible):after{margin:calc(var(\n--spectrum-alias-focus-ring-gap,\nvar(--spectrum-global-dimension-static-size-25)\n)*-2)}:host(:focus-visible):after{margin:calc(var(\n--spectrum-alias-focus-ring-gap,\nvar(--spectrum-global-dimension-static-size-25)\n)*-2)}:host{background-color:var(\n--spectrum-clearbutton-m-background-color,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-clearbutton-m-icon-color,var(--spectrum-alias-icon-color)\n)}:host(:hover){background-color:var(\n--spectrum-clearbutton-m-background-color-hover,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-clearbutton-m-icon-color-hover,var(--spectrum-alias-icon-color-hover)\n)}:host([active]){background-color:var(\n--spectrum-clearbutton-m-background-color-down,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-clearbutton-m-icon-color-down,var(--spectrum-alias-icon-color-down)\n)}:host(.focus-visible){background-color:var(\n--spectrum-clearbutton-m-background-color-key-focus,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-clearbutton-m-icon-color-key-focus,var(--spectrum-alias-icon-color-key-focus)\n)}:host(:focus-visible){background-color:var(\n--spectrum-clearbutton-m-background-color-key-focus,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-clearbutton-m-icon-color-key-focus,var(--spectrum-alias-icon-color-key-focus)\n)}:host(:disabled),:host([disabled]){background-color:var(\n--spectrum-clearbutton-m-background-color-disabled,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-clearbutton-m-icon-color-disabled,var(--spectrum-alias-icon-color-disabled)\n)}:host{border:none;border-radius:100%;height:var(\n--spectrum-clearbutton-m-height,var(--spectrum-global-dimension-size-400)\n);margin:0;padding:0;width:var(\n--spectrum-clearbutton-m-width,var(--spectrum-global-dimension-size-400)\n)}:host>.icon{margin:0 auto}:host([variant=overBackground].focus-visible):after{margin:calc(var(\n--spectrum-alias-focus-ring-gap,\nvar(--spectrum-global-dimension-static-size-25)\n)*-1)}:host([variant=overBackground]:focus-visible):after{margin:calc(var(\n--spectrum-alias-focus-ring-gap,\nvar(--spectrum-global-dimension-static-size-25)\n)*-1)}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){:host>.icon{margin:0}}:host([small]){height:var(\n--spectrum-clearbutton-s-height,var(--spectrum-global-dimension-size-300)\n);width:var(\n--spectrum-clearbutton-s-width,var(--spectrum-global-dimension-size-300)\n)}:host([variant=overBackground]){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color,var(--spectrum-alias-background-color-transparent)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:hover){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-hover,var(--spectrum-alias-background-color-quiet-overbackground-hover)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-hover,var(--spectrum-alias-border-color-transparent)\n);color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-hover,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground].focus-visible){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-hover,var(--spectrum-alias-background-color-quiet-overbackground-hover)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-hover,var(--spectrum-alias-border-color-transparent)\n);box-shadow:none;color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-hover,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:focus-visible){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-hover,var(--spectrum-alias-background-color-quiet-overbackground-hover)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-hover,var(--spectrum-alias-border-color-transparent)\n);box-shadow:none;color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-hover,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground].focus-visible):after{box-shadow:0 0 0 var(\n--spectrum-alias-focus-ring-size,var(--spectrum-global-dimension-static-size-25)\n) var(\n--spectrum-button-m-primary-overbackground-texticon-border-color-key-focus,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:focus-visible):after{box-shadow:0 0 0 var(\n--spectrum-alias-focus-ring-size,var(--spectrum-global-dimension-static-size-25)\n) var(\n--spectrum-button-m-primary-overbackground-texticon-border-color-key-focus,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground][active]){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-down,var(--spectrum-alias-background-color-quiet-overbackground-down)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-down,var(--spectrum-alias-border-color-transparent)\n);color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-down,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:disabled),:host([variant=overBackground][disabled]){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-disabled,var(--spectrum-alias-background-color-transparent)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-disabled,var(--spectrum-alias-border-color-transparent)\n);color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-disabled,var(--spectrum-alias-text-color-quiet-overbackground-disabled)\n)}\n`;\nexport default styles;"]}
|
|
1
|
+
{"version":3,"file":"spectrum-clear-button.css.js","sourceRoot":"","sources":["spectrum-clear-button.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsNjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;align-items:center;-webkit-appearance:button;border-style:solid;box-sizing:border-box;cursor:pointer;display:inline-flex;font-family:var(\n--spectrum-alias-body-text-font-family,var(--spectrum-global-font-family-base)\n);justify-content:center;line-height:var(\n--spectrum-alias-component-text-line-height,var(--spectrum-global-font-line-height-small)\n);overflow:visible;position:relative;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}:host{background-color:transparent;border:none;border-radius:100%;margin:0;padding:var(--spectrum-clearbutton-padding)}:host>.icon{margin:0 auto}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){:host>.icon{margin:0}}:host([size=s]){--spectrum-clearbutton-fill-uiicon-color-disabled:var(\n--spectrum-clearbutton-s-fill-uiicon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)\n);--spectrum-clearbutton-fill-background-color-disabled:var(\n--spectrum-clearbutton-s-fill-background-color-disabled,var(--spectrum-alias-background-color-transparent)\n);--spectrum-clearbutton-fill-uiicon-color:var(\n--spectrum-clearbutton-s-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)\n);--spectrum-clearbutton-fill-background-color:var(\n--spectrum-clearbutton-s-fill-background-color,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default\n)\n);--spectrum-clearbutton-fill-uiicon-color-down:var(\n--spectrum-clearbutton-s-fill-uiicon-color-down,var(--spectrum-alias-component-icon-color-down)\n);--spectrum-clearbutton-fill-background-color-down:var(\n--spectrum-clearbutton-s-fill-background-color-down,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down\n)\n);--spectrum-clearbutton-fill-background-color-hover:var(\n--spectrum-clearbutton-s-fill-background-color-hover,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover\n)\n);--spectrum-clearbutton-fill-uiicon-color-key-focus:var(\n--spectrum-clearbutton-s-fill-uiicon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)\n);--spectrum-clearbutton-fill-background-color-key-focus:var(\n--spectrum-clearbutton-s-fill-background-color-key-focus,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus\n)\n);--spectrum-clearbutton-fill-height:var(\n--spectrum-clearbutton-s-fill-height,var(--spectrum-alias-infieldbutton-full-height-s)\n);--spectrum-clearbutton-fill-width:var(\n--spectrum-clearbutton-s-fill-width,var(--spectrum-alias-infieldbutton-full-height-s)\n);--spectrum-clearbutton-padding:var(\n--spectrum-clearbutton-s-padding,var(--spectrum-alias-infieldbutton-padding-s)\n)}:host([size=m]){--spectrum-clearbutton-fill-uiicon-color-disabled:var(\n--spectrum-clearbutton-m-fill-uiicon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)\n);--spectrum-clearbutton-fill-background-color-disabled:var(\n--spectrum-clearbutton-m-fill-background-color-disabled,var(--spectrum-alias-background-color-transparent)\n);--spectrum-clearbutton-fill-uiicon-color:var(\n--spectrum-clearbutton-m-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)\n);--spectrum-clearbutton-fill-background-color:var(\n--spectrum-clearbutton-m-fill-background-color,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default\n)\n);--spectrum-clearbutton-fill-uiicon-color-down:var(\n--spectrum-clearbutton-m-fill-uiicon-color-down,var(--spectrum-alias-component-icon-color-down)\n);--spectrum-clearbutton-fill-background-color-down:var(\n--spectrum-clearbutton-m-fill-background-color-down,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down\n)\n);--spectrum-clearbutton-fill-background-color-hover:var(\n--spectrum-clearbutton-m-fill-background-color-hover,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover\n)\n);--spectrum-clearbutton-fill-uiicon-color-key-focus:var(\n--spectrum-clearbutton-m-fill-uiicon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)\n);--spectrum-clearbutton-fill-background-color-key-focus:var(\n--spectrum-clearbutton-m-fill-background-color-key-focus,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus\n)\n);--spectrum-clearbutton-fill-height:var(\n--spectrum-clearbutton-m-fill-height,var(--spectrum-alias-infieldbutton-full-height-m)\n);--spectrum-clearbutton-fill-width:var(\n--spectrum-clearbutton-m-fill-width,var(--spectrum-alias-infieldbutton-full-height-m)\n);--spectrum-clearbutton-padding:var(\n--spectrum-clearbutton-m-padding,var(--spectrum-alias-infieldbutton-padding-m)\n)}:host([size=l]){--spectrum-clearbutton-fill-uiicon-color-disabled:var(\n--spectrum-clearbutton-l-fill-uiicon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)\n);--spectrum-clearbutton-fill-background-color-disabled:var(\n--spectrum-clearbutton-l-fill-background-color-disabled,var(--spectrum-alias-background-color-transparent)\n);--spectrum-clearbutton-fill-uiicon-color:var(\n--spectrum-clearbutton-l-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)\n);--spectrum-clearbutton-fill-background-color:var(\n--spectrum-clearbutton-l-fill-background-color,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default\n)\n);--spectrum-clearbutton-fill-uiicon-color-down:var(\n--spectrum-clearbutton-l-fill-uiicon-color-down,var(--spectrum-alias-component-icon-color-down)\n);--spectrum-clearbutton-fill-background-color-down:var(\n--spectrum-clearbutton-l-fill-background-color-down,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down\n)\n);--spectrum-clearbutton-fill-background-color-hover:var(\n--spectrum-clearbutton-l-fill-background-color-hover,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover\n)\n);--spectrum-clearbutton-fill-uiicon-color-key-focus:var(\n--spectrum-clearbutton-l-fill-uiicon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)\n);--spectrum-clearbutton-fill-background-color-key-focus:var(\n--spectrum-clearbutton-l-fill-background-color-key-focus,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus\n)\n);--spectrum-clearbutton-fill-height:var(\n--spectrum-clearbutton-l-fill-height,var(--spectrum-alias-infieldbutton-full-height-l)\n);--spectrum-clearbutton-fill-width:var(\n--spectrum-clearbutton-l-fill-width,var(--spectrum-alias-infieldbutton-full-height-l)\n);--spectrum-clearbutton-padding:var(\n--spectrum-clearbutton-l-padding,var(--spectrum-alias-infieldbutton-padding-l)\n)}:host([size=xl]){--spectrum-clearbutton-fill-uiicon-color-disabled:var(\n--spectrum-clearbutton-xl-fill-uiicon-color-disabled,var(--spectrum-alias-component-icon-color-disabled)\n);--spectrum-clearbutton-fill-background-color-disabled:var(\n--spectrum-clearbutton-xl-fill-background-color-disabled,var(--spectrum-alias-background-color-transparent)\n);--spectrum-clearbutton-fill-uiicon-color:var(\n--spectrum-clearbutton-xl-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)\n);--spectrum-clearbutton-fill-background-color:var(\n--spectrum-clearbutton-xl-fill-background-color,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default\n)\n);--spectrum-clearbutton-fill-uiicon-color-down:var(\n--spectrum-clearbutton-xl-fill-uiicon-color-down,var(--spectrum-alias-component-icon-color-down)\n);--spectrum-clearbutton-fill-background-color-down:var(\n--spectrum-clearbutton-xl-fill-background-color-down,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down\n)\n);--spectrum-clearbutton-fill-background-color-hover:var(\n--spectrum-clearbutton-xl-fill-background-color-hover,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover\n)\n);--spectrum-clearbutton-fill-uiicon-color-key-focus:var(\n--spectrum-clearbutton-xl-fill-uiicon-color-key-focus,var(--spectrum-alias-component-icon-color-key-focus)\n);--spectrum-clearbutton-fill-background-color-key-focus:var(\n--spectrum-clearbutton-xl-fill-background-color-key-focus,var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus\n)\n);--spectrum-clearbutton-fill-height:var(\n--spectrum-clearbutton-xl-fill-height,var(--spectrum-alias-infieldbutton-full-height-xl)\n);--spectrum-clearbutton-fill-width:var(\n--spectrum-clearbutton-xl-fill-width,var(--spectrum-alias-infieldbutton-full-height-xl)\n);--spectrum-clearbutton-padding:var(\n--spectrum-clearbutton-xl-padding,var(--spectrum-alias-infieldbutton-padding-xl)\n)}.fill{align-items:center;background-color:var(\n--spectrum-clearbutton-fill-background-color\n);border-radius:100%;display:flex;height:var(--spectrum-clearbutton-fill-height);justify-content:center;width:var(--spectrum-clearbutton-fill-width)}:host{color:var(\n--spectrum-clearbutton-m-fill-uiicon-color,var(--spectrum-alias-component-icon-color-default)\n)}:host(:hover){color:var(\n--spectrum-clearbutton-fill-uiicon-color\n)}:host([active]){color:var(\n--spectrum-clearbutton-fill-uiicon-color-down\n)}:host(.focus-visible){color:var(\n--spectrum-clearbutton-fill-uiicon-color-key-focus\n)}:host(:focus-visible){color:var(\n--spectrum-clearbutton-fill-uiicon-color-key-focus\n)}:host(:disabled),:host([disabled]){color:var(\n--spectrum-clearbutton-fill-uiicon-color-disabled\n)}:host(:hover) .fill{background-color:var(\n--spectrum-clearbutton-fill-background-color-hover\n)}:host([active]) .fill{background-color:var(\n--spectrum-clearbutton-fill-background-color-down\n)}:host(.focus-visible) .fill{background-color:var(\n--spectrum-clearbutton-fill-background-color-key-focus\n)}:host(:focus-visible) .fill{background-color:var(\n--spectrum-clearbutton-fill-background-color-key-focus\n)}:host(:disabled) .fill,:host([disabled]) .fill{background-color:var(\n--spectrum-clearbutton-fill-background-color-disabled\n)}:host([variant=overBackground]){color:var(\n--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:hover){color:var(\n--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground][active]){color:var(\n--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground].focus-visible){color:var(\n--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:focus-visible){color:var(\n--spectrum-alias-icon-color-overbackground,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:disabled),:host([variant=overBackground][disabled]) .fill{background-color:var(\n--spectrum-alias-icon-color-overbackground-disabled,hsla(0,0%,100%,.2)\n)}:host([variant=overBackground]){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color,var(--spectrum-alias-background-color-transparent)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:hover){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-hover,var(--spectrum-alias-background-color-quiet-overbackground-hover)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-hover,var(--spectrum-alias-border-color-transparent)\n);color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-hover,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground].focus-visible){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-hover,var(--spectrum-alias-background-color-quiet-overbackground-hover)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-hover,var(--spectrum-alias-border-color-transparent)\n);box-shadow:none;color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-hover,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:focus-visible){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-hover,var(--spectrum-alias-background-color-quiet-overbackground-hover)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-hover,var(--spectrum-alias-border-color-transparent)\n);box-shadow:none;color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-hover,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground].focus-visible):after{box-shadow:0 0 0 var(\n--spectrum-alias-focus-ring-size,var(--spectrum-global-dimension-static-size-25)\n) var(\n--spectrum-button-m-primary-overbackground-texticon-border-color-key-focus,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:focus-visible):after{box-shadow:0 0 0 var(\n--spectrum-alias-focus-ring-size,var(--spectrum-global-dimension-static-size-25)\n) var(\n--spectrum-button-m-primary-overbackground-texticon-border-color-key-focus,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground][active]){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-down,var(--spectrum-alias-background-color-quiet-overbackground-down)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-down,var(--spectrum-alias-border-color-transparent)\n);color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-down,var(--spectrum-global-color-static-white)\n)}:host([variant=overBackground]:disabled),:host([variant=overBackground][disabled]){background-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-background-color-disabled,var(--spectrum-alias-background-color-transparent)\n);border-color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-border-color-disabled,var(--spectrum-alias-border-color-transparent)\n);color:var(\n--spectrum-button-m-primary-quiet-overbackground-texticon-text-color-disabled,var(--spectrum-alias-text-color-quiet-overbackground-disabled)\n)}@media (forced-colors:active){:host{forced-color-adjust:none}.spectrum-LogicButton:after{--spectrum-button-m-primary-texticon-focus-ring-color-key-focus:Highlight;forced-color-adjust:none}.spectrum-LogicButton{--spectrum-button-primary-texticon-focus-ring-size:2;--spectrum-button-m-secondary-texticon-background-color-disabled:ButtonFace;--spectrum-button-m-secondary-texticon-border-color-disabled:GrayText;--spectrum-logicbutton-and-background-color:ButtonFace;--spectrum-logicbutton-and-background-color-disabled:ButtonFace;--spectrum-logicbutton-and-background-color-hover:ButtonFace;--spectrum-logicbutton-and-border-color:ButtonText;--spectrum-logicbutton-and-border-color-disabled:GrayText;--spectrum-logicbutton-and-border-color-hover:Highlight;--spectrum-logicbutton-and-text-color:ButtonText;--spectrum-logicbutton-and-text-color-disabled:GrayText;--spectrum-logicbutton-or-background-color:ButtonFace;--spectrum-logicbutton-or-background-color-hover:ButtonFace;--spectrum-logicbutton-or-border-color:ButtonText;--spectrum-logicbutton-or-border-color-hover:Highlight;--spectrum-logicbutton-or-text-color:ButtonText;forced-color-adjust:none}}\n`;\nexport default styles;"]}
|
package/src/spectrum-config.js
CHANGED
|
@@ -138,12 +138,39 @@ const config = {
|
|
|
138
138
|
'.spectrum-ClearButton--secondary',
|
|
139
139
|
],
|
|
140
140
|
},
|
|
141
|
+
{
|
|
142
|
+
type: 'enum',
|
|
143
|
+
name: 'size',
|
|
144
|
+
forceOntoHost: true,
|
|
145
|
+
values: [
|
|
146
|
+
{
|
|
147
|
+
name: 's',
|
|
148
|
+
selector: '.spectrum-ClearButton--sizeS',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: 'm',
|
|
152
|
+
selector: '.spectrum-ClearButton--sizeM',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: 'l',
|
|
156
|
+
selector: '.spectrum-ClearButton--sizeL',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: 'xl',
|
|
160
|
+
selector: '.spectrum-ClearButton--sizeXL',
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
},
|
|
141
164
|
],
|
|
142
165
|
classes: [
|
|
143
166
|
{
|
|
144
167
|
name: 'icon',
|
|
145
168
|
selector: '.spectrum-Icon',
|
|
146
169
|
},
|
|
170
|
+
{
|
|
171
|
+
name: 'fill',
|
|
172
|
+
selector: '.spectrum-ClearButton-fill',
|
|
173
|
+
},
|
|
147
174
|
],
|
|
148
175
|
exclude: [/\.spectrum-Button/],
|
|
149
176
|
excludeSourceSelector: [
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-cta-sizes.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonCTASizesStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-cta-sizes.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-cta-sizes.test-vrt.js","sourceRoot":"","sources":["button-cta-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-cta-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonCTASizesStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-cta.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonCTAStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-cta.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-cta.test-vrt.js","sourceRoot":"","sources":["button-cta.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-cta.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonCTAStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-overBackground-sizes.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonOverBackgroundSizesStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-overBackground-sizes.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-overBackground-sizes.test-vrt.js","sourceRoot":"","sources":["button-overBackground-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,kCAAkC,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-overBackground-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonOverBackgroundSizesStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-overBackground.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonOverBackgroundStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-overBackground.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-overBackground.test-vrt.js","sourceRoot":"","sources":["button-overBackground.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,6CAA6C,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-overBackground.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonOverBackgroundStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-primary-sizes.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonPrimarySizesStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-primary-sizes.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-primary-sizes.test-vrt.js","sourceRoot":"","sources":["button-primary-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-primary-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonPrimarySizesStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-primary.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonPrimaryStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-primary.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-primary.test-vrt.js","sourceRoot":"","sources":["button-primary.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-primary.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonPrimaryStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-secondary-sizes.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonSecondarySizesStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-secondary-sizes.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-secondary-sizes.test-vrt.js","sourceRoot":"","sources":["button-secondary-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-secondary-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonSecondarySizesStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-secondary.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonSecondaryStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-secondary.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-secondary.test-vrt.js","sourceRoot":"","sources":["button-secondary.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-secondary.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonSecondaryStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-warning-sizes.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonWarningSizesStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-warning-sizes.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-warning-sizes.test-vrt.js","sourceRoot":"","sources":["button-warning-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-warning-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonWarningSizesStories', stories);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import * as stories from '../stories/button-warning.stories.js';
|
|
13
|
-
import { regressVisuals } from '../../../test/visual/test.js';
|
|
14
|
-
regressVisuals('ButtonWarningStories', stories);
|
|
15
|
-
//# sourceMappingURL=button-warning.test-vrt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-warning.test-vrt.js","sourceRoot":"","sources":["button-warning.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/button-warning.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ButtonWarningStories', stories);\n"]}
|