@@ -11,8 +11,79 @@ governing permissions and limitations under the License.
11
11
*/
12
12
13
13
/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
14
+ : host {
15
+ - - spectrum- radio- neutral- content- color : var(--spectrum-neutral-content-color-default );
16
+ - - spectrum- radio- neutral- content- color - hover: var(- - spectrum- neutral- content- color - hover);
17
+ - - spectrum- radio- neutral- content- color - down: var(- - spectrum- neutral- content- color - down);
18
+ - - spectrum- radio- neutral- content- color - focus: var(- - spectrum- neutral- content- color - key- focus);
19
+ - - spectrum- radio- focus- indicato r- thickness: var(- - spectrum- focus- indicato r- thickness);
20
+ - - spectrum- radio- focus- indicato r- gap: var(- - spectrum- focus- indicato r- gap);
21
+ - - spectrum- radio- focus- indicato r- color : var(- - spectrum- focus- indicato r- color );
22
+ - - spectrum- radio- dis abled- content- color : var(- - spectrum- dis abled- content- color );
23
+ - - spectrum- radio- dis abled- bor der- color : var(- - spectrum- dis abled- content- color );
24
+ - - spectrum- radio- emphas ized- accent- color : var(- - spectrum- accent- color -900);
25
+ - - spectrum- radio- emphas ized- accent- color - hover: var(- - spectrum- accent- color -1000);
26
+ - - spectrum- radio- emphas ized- accent- color - down: var(- - spectrum- accent- color -1100);
27
+ - - spectrum- radio- emphas ized- accent- color - focus: var(- - spectrum- accent- color -1000);
28
+ - - spectrum- radio- bor der- width: var(- - spectrum- bor der- width-200);
29
+ - - spectrum- radio- butto n- checked- bor der- color - default: var(- - spectrum- neutral- background- color - selected- default);
30
+ - - spectrum- radio- butto n- checked- bor der- color - hover: var(- - spectrum- neutral- background- color - selected- hover);
31
+ - - spectrum- radio- butto n- checked- bor der- color - down: var(- - spectrum- neutral- background- color - selected- down);
32
+ - - spectrum- radio- butto n- checked- bor der- color - focus: var(- - spectrum- neutral- background- color - selected- key- focus);
33
+ - - spectrum- radio- line-height: var(- - spectrum- line-height-100);
34
+ - - spectrum- radio- animation- duration: var(- - spectrum- animation- duration-100);
35
+ }
36
+
37
+ : host (: lang(ja)),
38
+ : host (: lang (ko )),
39
+ : host (: lang (zh )) {
40
+ --spectrum-radio-line-height-cjk : var (--spectrum-cjk-line-height-100 );
41
+ }
42
+
43
+ : host ,
44
+ : host {
45
+ - - spectrum- radio- height: var(--spectrum-component-height-100 );
46
+ - - spectrum- radio- butto n- control- size: var(- - spectrum- radio- butto n- control- size-medium);
47
+ - - spectrum- radio- text- to - control: var(- - spectrum- text- to - control-100);
48
+ - - spectrum- radio- label- to p- to - text: var(- - spectrum- component- to p- to - text-100);
49
+ - - spectrum- radio- label- botto m- to - text: var(- - spectrum- component- botto m- to - text-100);
50
+ - - spectrum- radio- butto n- to p- to - control: var(- - spectrum- radio- butto n- to p- to - control- medium);
51
+ - - spectrum- radio- font- size: var(- - spectrum- font- size-100);
52
+ }
53
+
54
+ : host ([size = "s" ]) {
55
+ --spectrum-radio-height : var (--spectrum-component-height-75 );
56
+ --spectrum-radio-button-control-size : var (--spectrum-radio-button-control-size-small );
57
+ --spectrum-radio-text-to-control : var (--spectrum-text-to-control-75 );
58
+ --spectrum-radio-label-top-to-text : var (--spectrum-component-top-to-text-75 );
59
+ --spectrum-radio-label-bottom-to-text : var (--spectrum-component-bottom-to-text-75 );
60
+ --spectrum-radio-button-top-to-control : var (--spectrum-radio-button-top-to-control-small );
61
+ --spectrum-radio-font-size : var (--spectrum-font-size-75 );
62
+ }
63
+
64
+ : host ([size = "l" ]) {
65
+ --spectrum-radio-height : var (--spectrum-component-height-200 );
66
+ --spectrum-radio-button-control-size : var (--spectrum-radio-button-control-size-large );
67
+ --spectrum-radio-text-to-control : var (--spectrum-text-to-control-200 );
68
+ --spectrum-radio-label-top-to-text : var (--spectrum-component-top-to-text-200 );
69
+ --spectrum-radio-label-bottom-to-text : var (--spectrum-component-bottom-to-text-200 );
70
+ --spectrum-radio-button-top-to-control : var (--spectrum-radio-button-top-to-control-large );
71
+ --spectrum-radio-font-size : var (--spectrum-font-size-200 );
72
+ }
73
+
74
+ : host ([size = "xl" ]) {
75
+ --spectrum-radio-height : var (--spectrum-component-height-300 );
76
+ --spectrum-radio-button-control-size : var (--spectrum-radio-button-control-size-extra-large );
77
+ --spectrum-radio-text-to-control : var (--spectrum-text-to-control-300 );
78
+ --spectrum-radio-label-top-to-text : var (--spectrum-component-top-to-text-300 );
79
+ --spectrum-radio-label-bottom-to-text : var (--spectrum-component-bottom-to-text-300 );
80
+ --spectrum-radio-button-top-to-control : var (--spectrum-radio-button-top-to-control-extra-large );
81
+ --spectrum-radio-font-size : var (--spectrum-font-size-300 );
82
+ }
83
+
14
84
@media (forced-colors : active) {
15
85
: host {
86
+ --highcontrast-radio-button-background-color : ButtonFace;
16
87
--highcontrast-radio-neutral-content-color : CanvasText;
17
88
--highcontrast-radio-neutral-content-color-hover : CanvasText;
18
89
--highcontrast-radio-neutral-content-color-down : CanvasText;
@@ -80,23 +151,14 @@ governing permissions and limitations under the License.
80
151
color : var (--highcontrast-radio-neutral-content-color-focus , var (--mod-radio-neutral-content-color-focus , var (--spectrum-radio-neutral-content-color-focus )));
81
152
}
82
153
83
- : host ([readonly ]) # input : read-only {
84
- cursor : auto;
85
- }
86
-
87
- : host ([readonly ]) # button {
88
- clip : rect (1px , 1px , 1px , 1px );
89
- clip-path : inset (50% );
90
- position : fixed;
91
- inset-block-end : 100% ;
92
- inset-inline-end : 100% ;
154
+ : host ([readonly ]) # input {
155
+ pointer-events : none;
93
156
}
94
157
95
158
: host ([readonly ][checked ][disabled ]) # input ~ # label ,
96
159
: host ([readonly ][disabled ]) # input ~ # label ,
97
160
: host ([readonly ]) # label {
98
161
color : var (--highcontrast-radio-neutral-content-color , var (--mod-radio-neutral-content-color , var (--spectrum-radio-neutral-content-color )));
99
- margin-inline-start : 0 ;
100
162
}
101
163
102
164
: host ([emphasized ][checked ]) # input + # button : before {
@@ -205,7 +267,7 @@ governing permissions and limitations under the License.
205
267
box-sizing : border-box;
206
268
inline-size : var (--mod-radio-button-control-size , var (--spectrum-radio-button-control-size ));
207
269
block-size : var (--mod-radio-button-control-size , var (--spectrum-radio-button-control-size ));
208
- background-color : var (--highcontrast-radio-button-background-color , var ( -- mod-radio-button-background-color, var (--spectrum-radio-button-background-color ) ));
270
+ background-color : var (--mod-radio-button-background-color , var (--spectrum-radio-button-background-color ));
209
271
border-width : var (--mod-radio-border-width , var (--spectrum-radio-border-width ));
210
272
border-color : var (--highcontrast-radio-button-border-color-default , var (--mod-radio-button-border-color-default , var (--spectrum-radio-button-border-color-default )));
211
273
transition :
0 commit comments