@adobe/spectrum-design-data 0.1.0 → 0.3.0

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.
Files changed (144) hide show
  1. package/components/accordion.json +557 -0
  2. package/components/action-bar.json +214 -0
  3. package/components/action-button.json +522 -0
  4. package/components/action-group.json +134 -0
  5. package/components/alert-banner.json +134 -0
  6. package/components/alert-dialog.json +180 -0
  7. package/components/avatar-group.json +166 -0
  8. package/components/avatar.json +246 -0
  9. package/components/badge.json +594 -0
  10. package/components/body.json +54 -0
  11. package/components/bottom-navigation-android.json +72 -0
  12. package/components/breadcrumbs.json +307 -0
  13. package/components/button-group.json +86 -0
  14. package/components/button.json +586 -0
  15. package/components/calendar.json +133 -0
  16. package/components/cards.json +541 -0
  17. package/components/checkbox-group.json +91 -0
  18. package/components/checkbox.json +339 -0
  19. package/components/close-button.json +208 -0
  20. package/components/coach-indicator.json +105 -0
  21. package/components/coach-mark.json +169 -0
  22. package/components/code.json +44 -0
  23. package/components/color-area.json +138 -0
  24. package/components/color-handle.json +111 -0
  25. package/components/color-loupe.json +77 -0
  26. package/components/color-slider.json +165 -0
  27. package/components/color-wheel.json +117 -0
  28. package/components/combo-box.json +543 -0
  29. package/components/contextual-help.json +230 -0
  30. package/components/date-picker.json +471 -0
  31. package/components/detail.json +53 -0
  32. package/components/divider.json +93 -0
  33. package/components/drop-zone.json +238 -0
  34. package/components/field-label.json +219 -0
  35. package/components/heading.json +68 -0
  36. package/components/help-text.json +209 -0
  37. package/components/illustrated-message.json +175 -0
  38. package/components/in-field-progress-button.json +88 -0
  39. package/components/in-field-progress-circle.json +116 -0
  40. package/components/in-line-alert.json +233 -0
  41. package/components/link.json +167 -0
  42. package/components/list-view.json +382 -0
  43. package/components/menu.json +597 -0
  44. package/components/meter.json +199 -0
  45. package/components/number-field.json +518 -0
  46. package/components/opacity-checkerboard.json +69 -0
  47. package/components/picker.json +579 -0
  48. package/components/popover.json +174 -0
  49. package/components/progress-bar.json +229 -0
  50. package/components/progress-circle.json +132 -0
  51. package/components/radio-button.json +308 -0
  52. package/components/radio-group.json +113 -0
  53. package/components/rating.json +168 -0
  54. package/components/scroll-zoom-bar.json +82 -0
  55. package/components/search-field.json +346 -0
  56. package/components/segmented-control.json +248 -0
  57. package/components/select-box.json +272 -0
  58. package/components/side-navigation.json +320 -0
  59. package/components/slider.json +407 -0
  60. package/components/standard-dialog.json +179 -0
  61. package/components/standard-panel.json +83 -0
  62. package/components/status-light.json +334 -0
  63. package/components/steplist.json +294 -0
  64. package/components/swatch-group.json +114 -0
  65. package/components/swatch.json +240 -0
  66. package/components/switch.json +336 -0
  67. package/components/tab-bar-ios.json +72 -0
  68. package/components/table.json +435 -0
  69. package/components/tabs.json +253 -0
  70. package/components/tag-field.json +243 -0
  71. package/components/tag-group.json +87 -0
  72. package/components/tag.json +393 -0
  73. package/components/takeover-dialog.json +117 -0
  74. package/components/text-area.json +555 -0
  75. package/components/text-field.json +555 -0
  76. package/components/thumbnail.json +149 -0
  77. package/components/title.json +91 -0
  78. package/components/toast.json +156 -0
  79. package/components/tooltip.json +179 -0
  80. package/components/tray.json +32 -0
  81. package/components/tree-view.json +393 -0
  82. package/fields/alignment.json +15 -0
  83. package/fields/anatomy.json +15 -0
  84. package/fields/color-scheme.json +15 -0
  85. package/fields/colorFamily.json +15 -0
  86. package/fields/component.json +15 -0
  87. package/fields/contrast.json +15 -0
  88. package/fields/density.json +15 -0
  89. package/fields/easing.json +15 -0
  90. package/fields/family.json +15 -0
  91. package/fields/motionRole.json +15 -0
  92. package/fields/object.json +15 -0
  93. package/fields/orientation.json +15 -0
  94. package/fields/position.json +15 -0
  95. package/fields/property.json +15 -0
  96. package/fields/scale.json +15 -0
  97. package/fields/scaleIndex.json +15 -0
  98. package/fields/shape.json +15 -0
  99. package/fields/size.json +15 -0
  100. package/fields/state.json +15 -0
  101. package/fields/structure.json +15 -0
  102. package/fields/style.json +15 -0
  103. package/fields/substructure.json +15 -0
  104. package/fields/variant.json +15 -0
  105. package/fields/weight.json +15 -0
  106. package/mode-sets/color-scheme.json +8 -0
  107. package/mode-sets/contrast.json +8 -0
  108. package/mode-sets/scale.json +8 -0
  109. package/package.json +41 -2
  110. package/registry/alignments.json +22 -0
  111. package/registry/anatomy-terms.json +739 -0
  112. package/registry/categories.json +55 -0
  113. package/registry/color-families.json +177 -0
  114. package/registry/components.json +277 -0
  115. package/registry/densities.json +17 -0
  116. package/registry/easing-curves.json +42 -0
  117. package/registry/glossary.json +181 -0
  118. package/registry/motion-roles.json +32 -0
  119. package/registry/navigation-terms.json +241 -0
  120. package/registry/orientations.json +17 -0
  121. package/registry/platform-extensions/ios-states.json +59 -0
  122. package/registry/platform-extensions/web-components-states.json +58 -0
  123. package/registry/platforms.json +37 -0
  124. package/registry/positions.json +32 -0
  125. package/registry/property-terms.json +212 -0
  126. package/registry/scale-values.json +133 -0
  127. package/registry/shapes.json +12 -0
  128. package/registry/sizes.json +71 -0
  129. package/registry/states.json +184 -0
  130. package/registry/structures.json +57 -0
  131. package/registry/substructures.json +12 -0
  132. package/registry/token-objects.json +32 -0
  133. package/registry/token-terminology.json +925 -0
  134. package/registry/typography-families.json +27 -0
  135. package/registry/typography-styles.json +22 -0
  136. package/registry/typography-weights.json +37 -0
  137. package/registry/variants.json +282 -0
  138. package/tokens/color-aliases.tokens.json +332 -328
  139. package/tokens/color-component.tokens.json +74 -74
  140. package/tokens/icons.tokens.json +191 -191
  141. package/tokens/layout-component.tokens.json +373 -316
  142. package/tokens/layout.tokens.json +110 -98
  143. package/tokens/semantic-color-palette.tokens.json +104 -104
  144. package/tokens/typography.tokens.json +379 -305
@@ -0,0 +1,114 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/swatch-group.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "swatch-group",
6
+ "displayName": "Swatch group",
7
+ "description": "A swatch group is a grouping of swatches that are related to each other.",
8
+ "meta": {
9
+ "category": "inputs",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/swatch-group/"
11
+ },
12
+ "options": {
13
+ "size": {
14
+ "type": "string",
15
+ "default": "m",
16
+ "values": [
17
+ {
18
+ "value": "xs"
19
+ },
20
+ {
21
+ "value": "s"
22
+ },
23
+ {
24
+ "value": "m"
25
+ },
26
+ {
27
+ "value": "l"
28
+ }
29
+ ]
30
+ },
31
+ "density": {
32
+ "type": "string",
33
+ "default": "regular",
34
+ "values": [
35
+ {
36
+ "value": "compact"
37
+ },
38
+ {
39
+ "value": "regular"
40
+ },
41
+ {
42
+ "value": "spacious"
43
+ }
44
+ ]
45
+ },
46
+ "enableSelection": {
47
+ "type": "boolean",
48
+ "default": false
49
+ },
50
+ "selectionMode": {
51
+ "type": "string",
52
+ "description": "Only applicable if selection is enabled.",
53
+ "default": "single",
54
+ "values": [
55
+ {
56
+ "value": "single"
57
+ },
58
+ {
59
+ "value": "multiple"
60
+ }
61
+ ]
62
+ },
63
+ "allowsEmptySelection": {
64
+ "type": "boolean",
65
+ "default": false,
66
+ "description": "Only applicable if selection is enabled."
67
+ },
68
+ "cornerRadius": {
69
+ "type": "string",
70
+ "default": "none",
71
+ "description": "Determines the corner radius of each swatch in the group. Partial refers to corner-radius-75.",
72
+ "values": [
73
+ {
74
+ "value": "none"
75
+ },
76
+ {
77
+ "value": "full"
78
+ },
79
+ {
80
+ "value": "partial"
81
+ }
82
+ ]
83
+ }
84
+ },
85
+ "lifecycle": {
86
+ "introduced": "1.0.0-draft"
87
+ },
88
+ "tokenBindings": [
89
+ {
90
+ "token": "swatch-group-spacing-spacious",
91
+ "context": "Spacing (spacious)"
92
+ },
93
+ {
94
+ "token": "swatch-group-border-color",
95
+ "context": "Border"
96
+ },
97
+ {
98
+ "token": "swatch-group-border-opacity",
99
+ "context": "Border"
100
+ }
101
+ ],
102
+ "accessibility": {
103
+ "role": "group",
104
+ "intents": ["choose"],
105
+ "focusable": false,
106
+ "wcag": [
107
+ {
108
+ "criterion": "4.1.2",
109
+ "level": "A",
110
+ "title": "Name, Role, Value"
111
+ }
112
+ ]
113
+ }
114
+ }
@@ -0,0 +1,240 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/swatch.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "swatch",
6
+ "displayName": "Swatch",
7
+ "description": "A swatch shows a small sample of a fill — such as a color, gradient, texture, or material — that is intended to be applied to an object.",
8
+ "meta": {
9
+ "category": "inputs",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/swatch/"
11
+ },
12
+ "options": {
13
+ "preview": {
14
+ "type": "string",
15
+ "description": "This will vary depending on implementation."
16
+ },
17
+ "size": {
18
+ "type": "string",
19
+ "default": "m",
20
+ "values": [
21
+ {
22
+ "value": "xs"
23
+ },
24
+ {
25
+ "value": "s"
26
+ },
27
+ {
28
+ "value": "m"
29
+ },
30
+ {
31
+ "value": "l"
32
+ }
33
+ ]
34
+ },
35
+ "shape": {
36
+ "type": "string",
37
+ "default": "square",
38
+ "values": [
39
+ {
40
+ "value": "square"
41
+ },
42
+ {
43
+ "value": "rectangle"
44
+ }
45
+ ]
46
+ },
47
+ "cornerRounding": {
48
+ "type": "string",
49
+ "default": "none",
50
+ "description": "Determines the corner radius of the swatch. Partial refers to corner-radius-75.",
51
+ "values": [
52
+ {
53
+ "value": "none"
54
+ },
55
+ {
56
+ "value": "partial"
57
+ },
58
+ {
59
+ "value": "full"
60
+ }
61
+ ]
62
+ },
63
+ "isSelected": {
64
+ "type": "boolean",
65
+ "default": false
66
+ },
67
+ "isDisabled": {
68
+ "type": "boolean",
69
+ "default": false
70
+ }
71
+ },
72
+ "states": [
73
+ {
74
+ "name": "hover",
75
+ "trigger": "interaction"
76
+ },
77
+ {
78
+ "name": "down",
79
+ "trigger": "interaction"
80
+ },
81
+ {
82
+ "name": "keyboard-focus",
83
+ "trigger": "interaction"
84
+ }
85
+ ],
86
+ "lifecycle": {
87
+ "introduced": "1.0.0-draft"
88
+ },
89
+ "tokenBindings": [
90
+ {
91
+ "token": "swatch-size-extra-small",
92
+ "context": "Size (square)"
93
+ },
94
+ {
95
+ "token": "swatch-size-small",
96
+ "context": "Size (square)"
97
+ },
98
+ {
99
+ "token": "swatch-size-medium",
100
+ "context": "Size (square)"
101
+ },
102
+ {
103
+ "token": "swatch-size-large",
104
+ "context": "Size (square)"
105
+ },
106
+ {
107
+ "token": "swatch-rectangle-width-multiplier",
108
+ "context": "Width (rectangle)"
109
+ },
110
+ {
111
+ "token": "corner-radius-75",
112
+ "context": "Rounding"
113
+ },
114
+ {
115
+ "token": "border-width-100",
116
+ "context": "Border"
117
+ },
118
+ {
119
+ "token": "border-width-200",
120
+ "context": "Border and inner border (selected)"
121
+ },
122
+ {
123
+ "token": "workflow-icon-size-50",
124
+ "context": "Disabled icon asset"
125
+ },
126
+ {
127
+ "token": "workflow-icon-size-75",
128
+ "context": "Disabled icon asset"
129
+ },
130
+ {
131
+ "token": "workflow-icon-size-100",
132
+ "context": "Disabled icon asset"
133
+ },
134
+ {
135
+ "token": "workflow-icon-size-200",
136
+ "context": "Disabled icon asset"
137
+ },
138
+ {
139
+ "token": "swatch-slash-thickness-extra-small",
140
+ "context": "Slash thickness (empty)"
141
+ },
142
+ {
143
+ "token": "swatch-slash-thickness-small",
144
+ "context": "Slash thickness (empty)"
145
+ },
146
+ {
147
+ "token": "swatch-slash-thickness-medium",
148
+ "context": "Slash thickness (empty)"
149
+ },
150
+ {
151
+ "token": "swatch-slash-thickness-large",
152
+ "context": "Slash thickness (empty)"
153
+ },
154
+ {
155
+ "token": "focus-indicator-thickness",
156
+ "context": "Focus ring"
157
+ },
158
+ {
159
+ "token": "focus-indicator-gap",
160
+ "context": "Focus ring"
161
+ },
162
+ {
163
+ "token": "spacing-75",
164
+ "context": "Spacing (Tooltip to Swatch)"
165
+ },
166
+ {
167
+ "token": "swatch-border-color",
168
+ "context": "Border"
169
+ },
170
+ {
171
+ "token": "swatch-border-opacity",
172
+ "context": "Border"
173
+ },
174
+ {
175
+ "token": "gray-1000",
176
+ "context": "Border and inner border (selected)"
177
+ },
178
+ {
179
+ "token": "gray-25",
180
+ "context": "Border and inner border (selected)"
181
+ },
182
+ {
183
+ "token": "swatch-disabled-icon-border-color",
184
+ "context": "Disabled icon"
185
+ },
186
+ {
187
+ "token": "swatch-disabled-icon-border-opacity",
188
+ "context": "Disabled icon"
189
+ },
190
+ {
191
+ "token": "white",
192
+ "context": "Disabled icon"
193
+ },
194
+ {
195
+ "token": "negative-visual-color",
196
+ "context": "Slash"
197
+ },
198
+ {
199
+ "token": "neutral-content-color-default",
200
+ "context": "Dash UI icon"
201
+ },
202
+ {
203
+ "token": "gray-100",
204
+ "context": "Add “button” background"
205
+ },
206
+ {
207
+ "token": "gray-200",
208
+ "context": "Add “button” background"
209
+ },
210
+ {
211
+ "token": "focus-indicator-color",
212
+ "context": "Focus ring"
213
+ },
214
+ {
215
+ "token": "spacing-50",
216
+ "context": "Spacing (compact)"
217
+ },
218
+ {
219
+ "token": "spacing-100",
220
+ "context": "Spacing (spacious)"
221
+ }
222
+ ],
223
+ "accessibility": {
224
+ "intents": ["choose"],
225
+ "focusable": true,
226
+ "keyboardIntents": ["activate"],
227
+ "wcag": [
228
+ {
229
+ "criterion": "2.1.1",
230
+ "level": "A",
231
+ "title": "Keyboard"
232
+ },
233
+ {
234
+ "criterion": "4.1.2",
235
+ "level": "A",
236
+ "title": "Name, Role, Value"
237
+ }
238
+ ]
239
+ }
240
+ }
@@ -0,0 +1,336 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/switch.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "switch",
6
+ "displayName": "Switch",
7
+ "description": "Switches allow users to turn an individual option on or off. They are usually used to activate or deactivate a specific setting.",
8
+ "meta": {
9
+ "category": "inputs",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/switch/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string"
15
+ },
16
+ "isSelected": {
17
+ "type": "boolean",
18
+ "default": false
19
+ },
20
+ "size": {
21
+ "type": "string",
22
+ "default": "m",
23
+ "values": [
24
+ {
25
+ "value": "s"
26
+ },
27
+ {
28
+ "value": "m"
29
+ },
30
+ {
31
+ "value": "l"
32
+ },
33
+ {
34
+ "value": "xl"
35
+ }
36
+ ]
37
+ },
38
+ "isEmphasized": {
39
+ "type": "boolean",
40
+ "default": false
41
+ },
42
+ "isDisabled": {
43
+ "type": "boolean",
44
+ "default": false
45
+ },
46
+ "isReadOnly": {
47
+ "type": "boolean",
48
+ "default": false
49
+ }
50
+ },
51
+ "states": [
52
+ {
53
+ "name": "hover",
54
+ "trigger": "interaction"
55
+ },
56
+ {
57
+ "name": "down",
58
+ "trigger": "interaction"
59
+ },
60
+ {
61
+ "name": "keyboard-focus",
62
+ "trigger": "interaction"
63
+ }
64
+ ],
65
+ "lifecycle": {
66
+ "introduced": "1.0.0-draft"
67
+ },
68
+ "tokenBindings": [
69
+ {
70
+ "token": "component-height-75",
71
+ "context": "Minimum height"
72
+ },
73
+ {
74
+ "token": "component-height-100",
75
+ "context": "Minimum height"
76
+ },
77
+ {
78
+ "token": "component-height-200",
79
+ "context": "Minimum height"
80
+ },
81
+ {
82
+ "token": "component-height-300",
83
+ "context": "Minimum height"
84
+ },
85
+ {
86
+ "token": "corner-radius-full",
87
+ "context": "Rounding"
88
+ },
89
+ {
90
+ "token": "switch-control-width-small",
91
+ "context": "Track (size)"
92
+ },
93
+ {
94
+ "token": "switch-control-width-medium",
95
+ "context": "Track (size)"
96
+ },
97
+ {
98
+ "token": "switch-control-width-large",
99
+ "context": "Track (size)"
100
+ },
101
+ {
102
+ "token": "switch-control-width-extra-large",
103
+ "context": "Track (size)"
104
+ },
105
+ {
106
+ "token": "switch-control-height-small",
107
+ "context": "Track (size)"
108
+ },
109
+ {
110
+ "token": "switch-control-height-medium",
111
+ "context": "Track (size)"
112
+ },
113
+ {
114
+ "token": "switch-control-height-large",
115
+ "context": "Track (size)"
116
+ },
117
+ {
118
+ "token": "switch-control-height-extra-large",
119
+ "context": "Track (size)"
120
+ },
121
+ {
122
+ "token": "border-width-200",
123
+ "context": "Track (border)"
124
+ },
125
+ {
126
+ "token": "switch-handle-size-small",
127
+ "context": "Handle (size)"
128
+ },
129
+ {
130
+ "token": "switch-handle-size-medium",
131
+ "context": "Handle (size)"
132
+ },
133
+ {
134
+ "token": "switch-handle-size-large",
135
+ "context": "Handle (size)"
136
+ },
137
+ {
138
+ "token": "switch-handle-size-extra-large",
139
+ "context": "Handle (size)"
140
+ },
141
+ {
142
+ "token": "switch-handle-selected-size-small",
143
+ "context": "Handle (size)"
144
+ },
145
+ {
146
+ "token": "switch-handle-selected-size-medium",
147
+ "context": "Handle (size)"
148
+ },
149
+ {
150
+ "token": "switch-handle-selected-size-large",
151
+ "context": "Handle (size)"
152
+ },
153
+ {
154
+ "token": "switch-handle-selected-size-extra-large",
155
+ "context": "Handle (size)"
156
+ },
157
+ {
158
+ "token": "text-to-control-75",
159
+ "context": "Spacing (control to label)"
160
+ },
161
+ {
162
+ "token": "text-to-control-100",
163
+ "context": "Spacing (control to label)"
164
+ },
165
+ {
166
+ "token": "text-to-control-200",
167
+ "context": "Spacing (control to label)"
168
+ },
169
+ {
170
+ "token": "text-to-control-300",
171
+ "context": "Spacing (control to label)"
172
+ },
173
+ {
174
+ "token": "switch-top-to-control-small",
175
+ "context": "Spacing (top edge to control)"
176
+ },
177
+ {
178
+ "token": "switch-top-to-control-medium",
179
+ "context": "Spacing (top edge to control)"
180
+ },
181
+ {
182
+ "token": "switch-top-to-control-large",
183
+ "context": "Spacing (top edge to control)"
184
+ },
185
+ {
186
+ "token": "switch-top-to-control-extra-large",
187
+ "context": "Spacing (top edge to control)"
188
+ },
189
+ {
190
+ "token": "component-top-to-text-75",
191
+ "context": "Spacing (top/bottom edge to label)"
192
+ },
193
+ {
194
+ "token": "component-top-to-text-100",
195
+ "context": "Spacing (top/bottom edge to label)"
196
+ },
197
+ {
198
+ "token": "component-top-to-text-200",
199
+ "context": "Spacing (top/bottom edge to label)"
200
+ },
201
+ {
202
+ "token": "component-top-to-text-300",
203
+ "context": "Spacing (top/bottom edge to label)"
204
+ },
205
+ {
206
+ "token": "component-bottom-to-text-75",
207
+ "context": "Spacing (top/bottom edge to label)"
208
+ },
209
+ {
210
+ "token": "component-bottom-to-text-100",
211
+ "context": "Spacing (top/bottom edge to label)"
212
+ },
213
+ {
214
+ "token": "component-bottom-to-text-200",
215
+ "context": "Spacing (top/bottom edge to label)"
216
+ },
217
+ {
218
+ "token": "component-bottom-to-text-300",
219
+ "context": "Spacing (top/bottom edge to label)"
220
+ },
221
+ {
222
+ "token": "focus-indicator-thickness",
223
+ "context": "Focus indicator"
224
+ },
225
+ {
226
+ "token": "focus-indicator-gap",
227
+ "context": "Focus indicator"
228
+ },
229
+ {
230
+ "token": "component-size-difference-down",
231
+ "context": "Component size (down)"
232
+ },
233
+ {
234
+ "token": "component-size-width-ratio-down",
235
+ "context": "Component size (down)"
236
+ },
237
+ {
238
+ "token": "component-size-minimum-perspective-down",
239
+ "context": "Component size (down)"
240
+ },
241
+ {
242
+ "token": "font-size-75",
243
+ "context": "Font size"
244
+ },
245
+ {
246
+ "token": "font-size-100",
247
+ "context": "Font size"
248
+ },
249
+ {
250
+ "token": "font-size-200",
251
+ "context": "Font size"
252
+ },
253
+ {
254
+ "token": "font-size-300",
255
+ "context": "Font size"
256
+ },
257
+ {
258
+ "token": "default-font-family",
259
+ "context": "Font size"
260
+ },
261
+ {
262
+ "token": "regular-font-weight",
263
+ "context": "Font size"
264
+ },
265
+ {
266
+ "token": "line-height-100",
267
+ "context": "Font size"
268
+ },
269
+ {
270
+ "token": "cjk-line-height-100",
271
+ "context": "Font size"
272
+ },
273
+ {
274
+ "token": "neutral-content-color-default",
275
+ "context": "Label"
276
+ },
277
+ {
278
+ "token": "neutral-content-color-hover",
279
+ "context": "Label"
280
+ },
281
+ {
282
+ "token": "neutral-content-color-down",
283
+ "context": "Label"
284
+ },
285
+ {
286
+ "token": "neutral-content-color-key-focus",
287
+ "context": "Label"
288
+ },
289
+ {
290
+ "token": "gray-25",
291
+ "context": "Control"
292
+ },
293
+ {
294
+ "token": "accent-content-color-default",
295
+ "context": "Control (selected, emphasized)"
296
+ },
297
+ {
298
+ "token": "accent-content-color-hover",
299
+ "context": "Control (selected, emphasized)"
300
+ },
301
+ {
302
+ "token": "accent-content-color-down",
303
+ "context": "Control (selected, emphasized)"
304
+ },
305
+ {
306
+ "token": "accent-content-color-key-focus",
307
+ "context": "Control (selected, emphasized)"
308
+ },
309
+ {
310
+ "token": "disabled-content-color",
311
+ "context": "Label (disabled)"
312
+ },
313
+ {
314
+ "token": "focus-indicator-color",
315
+ "context": "Focus indicator"
316
+ }
317
+ ],
318
+ "accessibility": {
319
+ "role": "switch",
320
+ "intents": ["choose"],
321
+ "focusable": true,
322
+ "keyboardIntents": ["activate"],
323
+ "wcag": [
324
+ {
325
+ "criterion": "2.1.1",
326
+ "level": "A",
327
+ "title": "Keyboard"
328
+ },
329
+ {
330
+ "criterion": "4.1.2",
331
+ "level": "A",
332
+ "title": "Name, Role, Value"
333
+ }
334
+ ]
335
+ }
336
+ }