@adobe/spectrum-design-data 2.0.0 → 2.2.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.
- package/components/accordion.json +49 -295
- package/components/action-bar.json +16 -119
- package/components/action-button.json +69 -302
- package/components/action-group.json +74 -20
- package/components/alert-banner.json +27 -47
- package/components/alert-dialog.json +37 -45
- package/components/avatar-group.json +28 -54
- package/components/avatar.json +92 -59
- package/components/badge.json +121 -370
- package/components/breadcrumbs.json +53 -159
- package/components/button-group.json +40 -13
- package/components/button.json +88 -231
- package/components/cards.json +31 -290
- package/components/checkbox-group.json +58 -13
- package/components/checkbox.json +53 -156
- package/components/close-button.json +47 -76
- package/components/coach-indicator.json +44 -31
- package/components/coach-mark.json +19 -43
- package/components/color-area.json +64 -26
- package/components/color-handle.json +35 -27
- package/components/color-loupe.json +6 -17
- package/components/color-slider.json +80 -35
- package/components/color-wheel.json +51 -25
- package/components/combo-box.json +94 -246
- package/components/contextual-help.json +106 -59
- package/components/date-picker.json +57 -185
- package/components/divider.json +25 -17
- package/components/drop-zone.json +24 -119
- package/components/field-label.json +45 -103
- package/components/help-text.json +29 -97
- package/components/illustrated-message.json +25 -74
- package/components/in-field-progress-circle.json +0 -54
- package/components/in-line-alert.json +39 -130
- package/components/link.json +40 -58
- package/components/list-view.json +30 -181
- package/components/menu.json +100 -340
- package/components/meter.json +52 -78
- package/components/number-field.json +72 -239
- package/components/opacity-checkerboard.json +0 -18
- package/components/picker.json +95 -275
- package/components/popover.json +88 -45
- package/components/progress-bar.json +63 -78
- package/components/progress-circle.json +36 -33
- package/components/radio-button.json +36 -145
- package/components/radio-group.json +74 -18
- package/components/rating.json +33 -48
- package/components/search-field.json +64 -133
- package/components/segmented-control.json +37 -86
- package/components/select-box.json +52 -100
- package/components/side-navigation.json +32 -164
- package/components/slider.json +90 -182
- package/components/standard-dialog.json +37 -43
- package/components/status-light.json +92 -134
- package/components/steplist.json +23 -113
- package/components/swatch-group.json +50 -22
- package/components/swatch.json +62 -70
- package/components/switch.json +51 -143
- package/components/table.json +51 -232
- package/components/tabs.json +29 -84
- package/components/tag-field.json +53 -85
- package/components/tag-group.json +36 -18
- package/components/tag.json +43 -206
- package/components/takeover-dialog.json +30 -20
- package/components/text-area.json +114 -247
- package/components/text-field.json +90 -261
- package/components/thumbnail.json +46 -44
- package/components/title.json +0 -18
- package/components/toast.json +27 -61
- package/components/tooltip.json +36 -52
- package/components/tree-view.json +79 -200
- package/package.json +2 -2
- package/tokens/color-aliases.tokens.json +33 -0
- package/tokens/color-component.tokens.json +1 -1212
- package/tokens/color-palette.tokens.json +0 -33
- package/tokens/layout-component.tokens.json +833 -24074
- package/tokens/layout.tokens.json +64 -597
- package/tokens/typography.tokens.json +559 -3318
|
@@ -48,44 +48,100 @@
|
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"options": {
|
|
51
|
-
"label": {
|
|
51
|
+
"label": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
52
54
|
"variant": {
|
|
53
55
|
"type": "string",
|
|
54
56
|
"default": "informative",
|
|
55
57
|
"values": [
|
|
56
|
-
{
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
{
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
{
|
|
78
|
-
|
|
58
|
+
{
|
|
59
|
+
"value": "informative"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"value": "neutral"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"value": "positive"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"value": "notice"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"value": "negative"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"value": "indigo"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"value": "celery"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"value": "chartreuse"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"value": "yellow"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"value": "magenta"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"value": "fuchsia"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"value": "purple"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"value": "seafoam"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"value": "pink"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"value": "turquoise"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"value": "cinnamon"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"value": "brown"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"value": "silver"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"value": "gray"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"value": "red"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"value": "orange"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"value": "green"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"value": "cyan"
|
|
126
|
+
}
|
|
79
127
|
]
|
|
80
128
|
},
|
|
81
129
|
"size": {
|
|
82
130
|
"type": "string",
|
|
83
131
|
"default": "m",
|
|
84
132
|
"values": [
|
|
85
|
-
{
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
{
|
|
133
|
+
{
|
|
134
|
+
"value": "s"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"value": "m"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"value": "l"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"value": "xl"
|
|
144
|
+
}
|
|
89
145
|
]
|
|
90
146
|
}
|
|
91
147
|
},
|
|
@@ -106,112 +162,14 @@
|
|
|
106
162
|
"name": "visual-300",
|
|
107
163
|
"description": "Severity dot, 300 size variant."
|
|
108
164
|
},
|
|
109
|
-
{ "name": "dot" }
|
|
110
|
-
],
|
|
111
|
-
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
112
|
-
"tokenBindings": [
|
|
113
|
-
{ "token": "component-height-75", "context": "Height" },
|
|
114
|
-
{ "token": "component-height-100", "context": "Height" },
|
|
115
|
-
{ "token": "component-height-200", "context": "Height" },
|
|
116
|
-
{ "token": "component-height-300", "context": "Height" },
|
|
117
|
-
{ "token": "status-light-dot-size-small", "context": "Dot size" },
|
|
118
|
-
{ "token": "status-light-dot-size-medium", "context": "Dot size" },
|
|
119
|
-
{ "token": "status-light-dot-size-large", "context": "Dot size" },
|
|
120
|
-
{ "token": "status-light-dot-size-extra-large", "context": "Dot size" },
|
|
121
|
-
{
|
|
122
|
-
"token": "status-light-text-to-visual-75",
|
|
123
|
-
"context": "Spacing (dot to label) "
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"token": "status-light-text-to-visual-100",
|
|
127
|
-
"context": "Spacing (dot to label) "
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"token": "status-light-text-to-visual-200",
|
|
131
|
-
"context": "Spacing (dot to label) "
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"token": "status-light-text-to-visual-300",
|
|
135
|
-
"context": "Spacing (dot to label) "
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"token": "status-light-top-to-dot-small",
|
|
139
|
-
"context": "Spacing (top edge to dot) "
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"token": "status-light-top-to-dot-medium",
|
|
143
|
-
"context": "Spacing (top edge to dot) "
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"token": "status-light-top-to-dot-large",
|
|
147
|
-
"context": "Spacing (top edge to dot) "
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"token": "status-light-top-to-dot-extra-large",
|
|
151
|
-
"context": "Spacing (top edge to dot) "
|
|
152
|
-
},
|
|
153
165
|
{
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"token": "component-top-to-text-100",
|
|
159
|
-
"context": "Spacing (top/bottom edge to label)"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"token": "component-top-to-text-200",
|
|
163
|
-
"context": "Spacing (top/bottom edge to label)"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"token": "component-top-to-text-300",
|
|
167
|
-
"context": "Spacing (top/bottom edge to label)"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"token": "component-bottom-to-text-75",
|
|
171
|
-
"context": "Spacing (top/bottom edge to label)"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"token": "component-bottom-to-text-100",
|
|
175
|
-
"context": "Spacing (top/bottom edge to label)"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"token": "component-bottom-to-text-200",
|
|
179
|
-
"context": "Spacing (top/bottom edge to label)"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"token": "component-bottom-to-text-300",
|
|
183
|
-
"context": "Spacing (top/bottom edge to label)"
|
|
184
|
-
},
|
|
185
|
-
{ "token": "default-font-family", "context": "Label" },
|
|
186
|
-
{ "token": "regular-font-weight", "context": "Label" },
|
|
187
|
-
{ "token": "default-font-style", "context": "Label" },
|
|
188
|
-
{ "token": "font-size-75", "context": "Label" },
|
|
189
|
-
{ "token": "font-size-100", "context": "Label" },
|
|
190
|
-
{ "token": "font-size-200", "context": "Label" },
|
|
191
|
-
{ "token": "font-size-300", "context": "Label" },
|
|
192
|
-
{ "token": "line-height-100", "context": "Label" },
|
|
193
|
-
{ "token": "cjk-line-height-100", "context": "Label" },
|
|
194
|
-
{ "token": "informative-visual-color", "context": "Semantic (Dot) " },
|
|
195
|
-
{ "token": "neutral-visual-color", "context": "Semantic (Dot) " },
|
|
196
|
-
{ "token": "positive-visual-color", "context": "Semantic (Dot) " },
|
|
197
|
-
{ "token": "notice-visual-color", "context": "Semantic (Dot) " },
|
|
198
|
-
{ "token": "negative-visual-color", "context": "Semantic (Dot) " },
|
|
199
|
-
{ "token": "celery-visual-color", "context": "Non-semantic (Dot) " },
|
|
200
|
-
{ "token": "chartreuse-visual-color", "context": "Non-semantic (Dot) " },
|
|
201
|
-
{ "token": "cyan-visual-color", "context": "Non-semantic (Dot) " },
|
|
202
|
-
{ "token": "fuchsia-visual-color", "context": "Non-semantic (Dot) " },
|
|
203
|
-
{ "token": "purple-visual-color", "context": "Non-semantic (Dot) " },
|
|
204
|
-
{ "token": "magenta-visual-color", "context": "Non-semantic (Dot) " },
|
|
205
|
-
{ "token": "indigo-visual-color", "context": "Non-semantic (Dot) " },
|
|
206
|
-
{ "token": "seafoam-visual-color", "context": "Non-semantic (Dot) " },
|
|
207
|
-
{ "token": "yellow-visual-color", "context": "Non-semantic (Dot) " },
|
|
208
|
-
{ "token": "pink-visual-color", "context": "Non-semantic (Dot) " },
|
|
209
|
-
{ "token": "turquoise-visual-color", "context": "Non-semantic (Dot) " },
|
|
210
|
-
{ "token": "cinnamon-visual-color", "context": "Non-semantic (Dot) " },
|
|
211
|
-
{ "token": "brown-visual-color", "context": "Non-semantic (Dot) " },
|
|
212
|
-
{ "token": "silver-visual-color", "context": "Non-semantic (Dot) " },
|
|
213
|
-
{ "token": "gray-600", "context": "Label" },
|
|
214
|
-
{ "token": "neutral-content-color-default", "context": "Label" }
|
|
166
|
+
"name": "dot"
|
|
167
|
+
}
|
|
215
168
|
],
|
|
216
|
-
"
|
|
169
|
+
"lifecycle": {
|
|
170
|
+
"introduced": "1.0.0-draft"
|
|
171
|
+
},
|
|
172
|
+
"accessibility": {
|
|
173
|
+
"focusable": false
|
|
174
|
+
}
|
|
217
175
|
}
|
package/components/steplist.json
CHANGED
|
@@ -51,7 +51,14 @@
|
|
|
51
51
|
"orientation": {
|
|
52
52
|
"type": "string",
|
|
53
53
|
"default": "horizontal",
|
|
54
|
-
"values": [
|
|
54
|
+
"values": [
|
|
55
|
+
{
|
|
56
|
+
"value": "horizontal"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"value": "vertical"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
55
62
|
},
|
|
56
63
|
"items": {
|
|
57
64
|
"type": "array",
|
|
@@ -93,125 +100,28 @@
|
|
|
93
100
|
"name": "track-size",
|
|
94
101
|
"description": "The connecting track between steps."
|
|
95
102
|
},
|
|
96
|
-
{ "name": "track" }
|
|
97
|
-
],
|
|
98
|
-
"lifecycle": { "introduced": "1.0.0-draft" },
|
|
99
|
-
"tokenBindings": [
|
|
100
|
-
{
|
|
101
|
-
"token": "steplist-step-default-width-small",
|
|
102
|
-
"context": "Width small (default)"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"token": "steplist-step-default-width-medium",
|
|
106
|
-
"context": "Width small (default)"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"token": "steplist-step-default-width-large",
|
|
110
|
-
"context": "Width small (default)"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"token": "steplist-step-default-width-extra-large",
|
|
114
|
-
"context": "Width small (default)"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"token": "steplist-step-default-height-small",
|
|
118
|
-
"context": "Height small (default)"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"token": "steplist-step-default-height-medium",
|
|
122
|
-
"context": "Height small (default)"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"token": "steplist-step-default-height-large",
|
|
126
|
-
"context": "Height small (default)"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"token": "steplist-step-default-height-extra-large",
|
|
130
|
-
"context": "Height small (default)"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"token": "steplist-step-to-track-size-small",
|
|
134
|
-
"context": "Spacing (step to track)"
|
|
135
|
-
},
|
|
136
103
|
{
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"token": "steplist-step-to-track-size-large",
|
|
142
|
-
"context": "Spacing (step to track)"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"token": "steplist-step-to-track-size-extra-large",
|
|
146
|
-
"context": "Spacing (step to track)"
|
|
147
|
-
},
|
|
148
|
-
{ "token": "steplist-bottom-to-text", "context": "Text adjustment" },
|
|
149
|
-
{ "token": "border-width-200", "context": "Visual border" },
|
|
150
|
-
{ "token": "text-to-visual-75", "context": "Spacing (text to visual)" },
|
|
151
|
-
{ "token": "text-to-visual-100", "context": "Spacing (text to visual)" },
|
|
152
|
-
{ "token": "text-to-visual-200", "context": "Spacing (text to visual)" },
|
|
153
|
-
{ "token": "text-to-visual-300", "context": "Spacing (text to visual)" },
|
|
154
|
-
{ "token": "steplist-visual-size-small", "context": "Visual size" },
|
|
155
|
-
{ "token": "steplist-visual-size-medium", "context": "Visual size" },
|
|
156
|
-
{ "token": "steplist-visual-size-large", "context": "Visual size" },
|
|
157
|
-
{ "token": "steplist-visual-size-extra-large", "context": "Visual size" },
|
|
158
|
-
{
|
|
159
|
-
"token": "steplist-track-thickness-medium",
|
|
160
|
-
"context": "Steplist track thickness"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"token": "neutral-subdued-content-color-default",
|
|
164
|
-
"context": "Step text"
|
|
165
|
-
},
|
|
166
|
-
{ "token": "neutral-subdued-content-color-hover", "context": "Step text" },
|
|
167
|
-
{
|
|
168
|
-
"token": "neutral-subdued-content-color-key-focus",
|
|
169
|
-
"context": "Step text"
|
|
170
|
-
},
|
|
171
|
-
{ "token": "neutral-content-color-default", "context": "Step text" },
|
|
172
|
-
{ "token": "neutral-content-color-key-focus", "context": "Step text" },
|
|
173
|
-
{ "token": "accent-content-color-default", "context": "Step text" },
|
|
174
|
-
{ "token": "accent-content-color-key-focus", "context": "Step text" },
|
|
175
|
-
{
|
|
176
|
-
"token": "neutral-subdued-background-color-default",
|
|
177
|
-
"context": "Step visual"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"token": "neutral-subdued-background-color-hover",
|
|
181
|
-
"context": "Step visual"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"token": "neutral-subdued-background-color-key-focus",
|
|
185
|
-
"context": "Step visual"
|
|
186
|
-
},
|
|
187
|
-
{ "token": "neutral-background-color-default", "context": "Step visual" },
|
|
188
|
-
{ "token": "neutral-background-color-key-focus", "context": "Step visual" },
|
|
189
|
-
{ "token": "neutral-visual-color", "context": "Step visual" },
|
|
190
|
-
{ "token": "accent-background-color-default", "context": "Step visual" },
|
|
191
|
-
{ "token": "accent-background-color-key-focus", "context": "Step visual" },
|
|
192
|
-
{ "token": "accent-background-color-hover", "context": "Step visual" },
|
|
193
|
-
{ "token": "gray-25", "context": "Step visual text" },
|
|
194
|
-
{ "token": "white", "context": "Step visual text" },
|
|
195
|
-
{ "token": "accent-visual-color", "context": "Steplist track" },
|
|
196
|
-
{ "token": "disabled-content-color", "context": "Disabled" },
|
|
197
|
-
{ "token": "disabled-background-color", "context": "Disabled" },
|
|
198
|
-
{ "token": "default-font-family", "context": "Label" },
|
|
199
|
-
{ "token": "regular-font-weight", "context": "Label" },
|
|
200
|
-
{ "token": "default-font-style", "context": "Label" },
|
|
201
|
-
{ "token": "font-size-75", "context": "Label" },
|
|
202
|
-
{ "token": "font-size-100", "context": "Label" },
|
|
203
|
-
{ "token": "font-size-200", "context": "Label" },
|
|
204
|
-
{ "token": "font-size-300", "context": "Label" },
|
|
205
|
-
{ "token": "line-height-100", "context": "Label" },
|
|
206
|
-
{ "token": "cjk-line-height-100", "context": "Label" }
|
|
104
|
+
"name": "track"
|
|
105
|
+
}
|
|
207
106
|
],
|
|
107
|
+
"lifecycle": {
|
|
108
|
+
"introduced": "1.0.0-draft"
|
|
109
|
+
},
|
|
208
110
|
"accessibility": {
|
|
209
111
|
"intents": ["navigate"],
|
|
210
112
|
"focusable": true,
|
|
211
113
|
"keyboardIntents": ["navigate-items", "activate"],
|
|
212
114
|
"wcag": [
|
|
213
|
-
{
|
|
214
|
-
|
|
115
|
+
{
|
|
116
|
+
"criterion": "2.1.1",
|
|
117
|
+
"level": "A",
|
|
118
|
+
"title": "Keyboard"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"criterion": "4.1.2",
|
|
122
|
+
"level": "A",
|
|
123
|
+
"title": "Name, Role, Value"
|
|
124
|
+
}
|
|
215
125
|
]
|
|
216
126
|
}
|
|
217
127
|
}
|
|
@@ -40,27 +40,51 @@
|
|
|
40
40
|
"type": "string",
|
|
41
41
|
"default": "m",
|
|
42
42
|
"values": [
|
|
43
|
-
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
{
|
|
43
|
+
{
|
|
44
|
+
"value": "xs"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"value": "s"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"value": "m"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"value": "l"
|
|
54
|
+
}
|
|
47
55
|
]
|
|
48
56
|
},
|
|
49
57
|
"density": {
|
|
50
58
|
"type": "string",
|
|
51
59
|
"default": "regular",
|
|
52
60
|
"values": [
|
|
53
|
-
{
|
|
54
|
-
|
|
55
|
-
|
|
61
|
+
{
|
|
62
|
+
"value": "compact"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"value": "regular"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"value": "spacious"
|
|
69
|
+
}
|
|
56
70
|
]
|
|
57
71
|
},
|
|
58
|
-
"enableSelection": {
|
|
72
|
+
"enableSelection": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"default": false
|
|
75
|
+
},
|
|
59
76
|
"selectionMode": {
|
|
60
77
|
"type": "string",
|
|
61
78
|
"description": "Only applicable if selection is enabled.",
|
|
62
79
|
"default": "single",
|
|
63
|
-
"values": [
|
|
80
|
+
"values": [
|
|
81
|
+
{
|
|
82
|
+
"value": "single"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"value": "multiple"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
64
88
|
},
|
|
65
89
|
"allowsEmptySelection": {
|
|
66
90
|
"type": "boolean",
|
|
@@ -72,27 +96,31 @@
|
|
|
72
96
|
"default": "none",
|
|
73
97
|
"description": "Determines the corner radius of each swatch in the group. Partial refers to corner-radius-75.",
|
|
74
98
|
"values": [
|
|
75
|
-
{
|
|
76
|
-
|
|
77
|
-
|
|
99
|
+
{
|
|
100
|
+
"value": "none"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"value": "full"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"value": "partial"
|
|
107
|
+
}
|
|
78
108
|
]
|
|
79
109
|
}
|
|
80
110
|
},
|
|
81
|
-
"lifecycle": {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"token": "swatch-group-spacing-spacious",
|
|
85
|
-
"context": "Spacing (spacious)"
|
|
86
|
-
},
|
|
87
|
-
{ "token": "swatch-group-border-color", "context": "Border" },
|
|
88
|
-
{ "token": "swatch-group-border-opacity", "context": "Border" }
|
|
89
|
-
],
|
|
111
|
+
"lifecycle": {
|
|
112
|
+
"introduced": "1.0.0-draft"
|
|
113
|
+
},
|
|
90
114
|
"accessibility": {
|
|
91
115
|
"role": "group",
|
|
92
116
|
"intents": ["choose"],
|
|
93
117
|
"focusable": false,
|
|
94
118
|
"wcag": [
|
|
95
|
-
{
|
|
119
|
+
{
|
|
120
|
+
"criterion": "4.1.2",
|
|
121
|
+
"level": "A",
|
|
122
|
+
"title": "Name, Role, Value"
|
|
123
|
+
}
|
|
96
124
|
]
|
|
97
125
|
}
|
|
98
126
|
}
|