@adobe/spectrum-design-data 0.3.0 → 0.6.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 (99) hide show
  1. package/LICENSE +1 -1
  2. package/components/accordion.json +108 -194
  3. package/components/action-bar.json +64 -97
  4. package/components/action-button.json +95 -230
  5. package/components/action-group.json +88 -86
  6. package/components/alert-banner.json +104 -76
  7. package/components/alert-dialog.json +78 -126
  8. package/components/avatar-group.json +61 -119
  9. package/components/avatar.json +98 -212
  10. package/components/badge.json +138 -256
  11. package/components/breadcrumbs.json +95 -89
  12. package/components/button-group.json +57 -48
  13. package/components/button.json +151 -368
  14. package/components/calendar.json +97 -34
  15. package/components/cards.json +109 -250
  16. package/components/checkbox-group.json +50 -58
  17. package/components/checkbox.json +121 -186
  18. package/components/close-button.json +61 -124
  19. package/components/coach-indicator.json +63 -72
  20. package/components/coach-mark.json +89 -93
  21. package/components/color-area.json +68 -94
  22. package/components/color-handle.json +39 -79
  23. package/components/color-loupe.json +35 -52
  24. package/components/color-slider.json +95 -116
  25. package/components/color-wheel.json +67 -73
  26. package/components/combo-box.json +243 -331
  27. package/components/contextual-help.json +86 -175
  28. package/components/date-picker.json +139 -179
  29. package/components/divider.json +30 -69
  30. package/components/drop-zone.json +51 -92
  31. package/components/field-label.json +75 -117
  32. package/components/help-text.json +81 -105
  33. package/components/illustrated-message.json +106 -73
  34. package/components/in-line-alert.json +50 -83
  35. package/components/link.json +63 -85
  36. package/components/list-view.json +107 -146
  37. package/components/menu.json +180 -274
  38. package/components/meter.json +72 -118
  39. package/components/number-field.json +213 -305
  40. package/components/picker.json +208 -320
  41. package/components/popover.json +94 -129
  42. package/components/progress-bar.json +94 -131
  43. package/components/progress-circle.json +45 -72
  44. package/components/radio-button.json +87 -156
  45. package/components/radio-group.json +107 -74
  46. package/components/rating.json +66 -99
  47. package/components/search-field.json +132 -202
  48. package/components/segmented-control.json +94 -109
  49. package/components/select-box.json +119 -179
  50. package/components/side-navigation.json +108 -118
  51. package/components/slider.json +143 -228
  52. package/components/standard-dialog.json +96 -114
  53. package/components/standard-panel.json +105 -53
  54. package/components/status-light.json +104 -240
  55. package/components/steplist.json +77 -161
  56. package/components/swatch-group.json +42 -58
  57. package/components/swatch.json +75 -162
  58. package/components/switch.json +101 -189
  59. package/components/table.json +97 -102
  60. package/components/tabs.json +77 -104
  61. package/components/tag-field.json +86 -150
  62. package/components/tag-group.json +50 -44
  63. package/components/tag.json +81 -198
  64. package/components/takeover-dialog.json +59 -57
  65. package/components/text-area.json +200 -323
  66. package/components/text-field.json +183 -304
  67. package/components/thumbnail.json +63 -105
  68. package/components/toast.json +97 -83
  69. package/components/tooltip.json +104 -96
  70. package/components/tree-view.json +169 -181
  71. package/guidelines/app-frame-content-area.json +87 -0
  72. package/guidelines/app-frame-creating-bluelines.json +61 -0
  73. package/guidelines/app-frame-header.json +75 -0
  74. package/guidelines/app-frame-overview.json +167 -0
  75. package/guidelines/app-frame-side-navigation.json +138 -0
  76. package/guidelines/attention-hierarchy.json +42 -0
  77. package/guidelines/background-layers.json +41 -0
  78. package/guidelines/brand.json +50 -0
  79. package/guidelines/colors.json +65 -0
  80. package/guidelines/containers.json +65 -0
  81. package/guidelines/developer-overview.json +38 -0
  82. package/guidelines/faqs.json +35 -0
  83. package/guidelines/fonts.json +58 -0
  84. package/guidelines/grays.json +69 -0
  85. package/guidelines/icon-fundamentals.json +45 -0
  86. package/guidelines/illustrations.json +114 -0
  87. package/guidelines/introduction.json +34 -0
  88. package/guidelines/manifest.json +204 -0
  89. package/guidelines/motion.json +41 -0
  90. package/guidelines/object-styles.json +105 -0
  91. package/guidelines/principles.json +30 -0
  92. package/guidelines/resources.json +59 -0
  93. package/guidelines/spacing.json +25 -0
  94. package/guidelines/states.json +34 -0
  95. package/guidelines/typography-fundamentals.json +145 -0
  96. package/guidelines/using-icons.json +110 -0
  97. package/package.json +5 -2
  98. package/tokens/layout-component.tokens.json +72 -36
  99. package/tokens/layout.tokens.json +207 -92
@@ -9,6 +9,96 @@
9
9
  "category": "inputs",
10
10
  "documentationUrl": "https://spectrum.adobe.com/page/calendar/"
11
11
  },
12
+ "documentBlocks": [
13
+ {
14
+ "type": "purpose",
15
+ "content": "Calendars display days, weeks, and months, allowing users to select dates or ranges."
16
+ },
17
+ {
18
+ "type": "guideline",
19
+ "content": "Calendars display the days of a selected month and highlight the current day. They support navigating to past or future months and selecting a specific date."
20
+ },
21
+ {
22
+ "type": "guideline",
23
+ "content": "An array of days that are displayed in the current calendar view. This includes:"
24
+ },
25
+ {
26
+ "type": "guideline",
27
+ "content": "The maximum amount of months displayed in the calendar popover is three."
28
+ },
29
+ {
30
+ "type": "guideline",
31
+ "content": "The minimum amount of months displayed in the calendar popover is one."
32
+ },
33
+ {
34
+ "type": "guideline",
35
+ "content": "The calendar popover may display an error as error text when a user attempts to provide an input that violates the defined constraints of the date selection. For example, when the user selects dates that fall outside allowable limits, or conflict with contextual restrictions."
36
+ },
37
+ {
38
+ "type": "guideline",
39
+ "content": "The calendar popover is disabled. For example, a month within a three-month range is disabled."
40
+ },
41
+ {
42
+ "type": "guideline",
43
+ "content": "The types of selection available for the calendar."
44
+ },
45
+ {
46
+ "type": "guideline",
47
+ "content": "The current year or month displayed in the calendar popover."
48
+ },
49
+ {
50
+ "type": "guideline",
51
+ "content": "When a day or several days are unavailable within the calendar popover, each day should display a strikethrough to help the user understand that they cannot select it."
52
+ },
53
+ {
54
+ "type": "guideline",
55
+ "content": "Disabled days use a distinct gray style to clearly differentiate them from unavailable days. When the calendar prevents selection of past dates, this visual treatment helps users distinguish disabled days from those marked as unavailable."
56
+ },
57
+ {
58
+ "type": "guideline",
59
+ "content": "In a date selection system, users often need to distinguish between dates that cannot be selected and dates that are simply inactive. Supporting both states improves clarity and prevents errors."
60
+ },
61
+ {
62
+ "type": "guideline",
63
+ "content": "Here’s an example scenario: A potential guest is browsing a calendar to book a stay at a vacation rental."
64
+ },
65
+ {
66
+ "type": "guideline",
67
+ "content": "Unavailable dates: Days when the rental is already booked or blocked by the owner. These appear with a strikethrough, indicating they cannot be selected."
68
+ },
69
+ {
70
+ "type": "guideline",
71
+ "content": "Disabled dates: Past dates that are no longer valid for booking. These appear visually distinct (gray style) to show they are inactive."
72
+ },
73
+ {
74
+ "type": "guideline",
75
+ "content": "Guests see unavailable dates marked clearly so they don’t attempt to select them. Hosts or admins can view past dates as disabled and also mark future dates as unavailable when needed."
76
+ },
77
+ {
78
+ "type": "guideline",
79
+ "content": "By supporting both behaviors, the system provides a clear, intuitive experience for different user roles and prevents confusion during date selection."
80
+ },
81
+ {
82
+ "type": "guideline",
83
+ "content": "The range fill shows which days fall between two selected dates. If the range spans more than the three-month calendar view, it ends on the last visible day but continues as users navigate with the calendar chevrons. A dashed stroke outlines the fill to improve visibility on bright screens and for users with vision impairments."
84
+ },
85
+ {
86
+ "type": "guideline",
87
+ "content": "The strikethrough styling intentionally accommodates internationalization."
88
+ },
89
+ {
90
+ "type": "guideline",
91
+ "content": "The calendar popover supports a disabled state but not a read-only state. Dates or months may be temporarily disabled based on context (for example, if a user must complete a task before selecting a date). In these cases, help text can explain why certain dates are unavailable."
92
+ },
93
+ {
94
+ "type": "guideline",
95
+ "content": "If a date picker is truly read-only, users shouldn’t be able to open the calendar popover at all, since they can’t interact with it."
96
+ },
97
+ {
98
+ "type": "guideline",
99
+ "content": "The calendar popover can also include time-specific fields, allowing users to specify start and end times."
100
+ }
101
+ ],
12
102
  "options": {
13
103
  "currentMonth": {
14
104
  "type": "number",
@@ -24,23 +114,10 @@
24
114
  "type": "string",
25
115
  "default": "single",
26
116
  "description": "Controls whether the calendar allows selecting a single date or a date range.",
27
- "values": [
28
- {
29
- "value": "single"
30
- },
31
- {
32
- "value": "range"
33
- }
34
- ]
35
- },
36
- "isDisabled": {
37
- "type": "boolean",
38
- "default": false
39
- },
40
- "isError": {
41
- "type": "boolean",
42
- "default": false
117
+ "values": [{ "value": "single" }, { "value": "range" }]
43
118
  },
119
+ "isDisabled": { "type": "boolean", "default": false },
120
+ "isError": { "type": "boolean", "default": false },
44
121
  "minValue": {
45
122
  "type": "string",
46
123
  "description": "The minimum allowed date that a user may select (ISO format string)."
@@ -105,29 +182,15 @@
105
182
  }
106
183
  }
107
184
  },
108
- "lifecycle": {
109
- "introduced": "1.0.0-draft"
110
- },
185
+ "lifecycle": { "introduced": "1.0.0-draft" },
111
186
  "accessibility": {
112
187
  "intents": ["input", "choose"],
113
188
  "focusable": true,
114
189
  "keyboardIntents": ["navigate-items", "activate"],
115
190
  "wcag": [
116
- {
117
- "criterion": "1.3.1",
118
- "level": "A",
119
- "title": "Info and Relationships"
120
- },
121
- {
122
- "criterion": "2.1.1",
123
- "level": "A",
124
- "title": "Keyboard"
125
- },
126
- {
127
- "criterion": "4.1.2",
128
- "level": "A",
129
- "title": "Name, Role, Value"
130
- }
191
+ { "criterion": "1.3.1", "level": "A", "title": "Info and Relationships" },
192
+ { "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
193
+ { "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
131
194
  ]
132
195
  }
133
196
  }
@@ -9,105 +9,98 @@
9
9
  "category": "containers",
10
10
  "documentationUrl": "https://spectrum.adobe.com/page/cards/"
11
11
  },
12
- "options": {
13
- "variant": {
14
- "type": "string",
15
- "default": "asset",
16
- "description": "Determines which card layout variant is used.",
17
- "values": [
18
- {
19
- "value": "asset"
20
- },
21
- {
22
- "value": "collection"
23
- },
24
- {
25
- "value": "flex"
26
- },
27
- {
28
- "value": "gallery"
29
- },
30
- {
31
- "value": "horizontal"
32
- },
33
- {
34
- "value": "product"
35
- }
36
- ]
37
- }
38
- },
39
- "lifecycle": {
40
- "introduced": "1.0.0-draft"
41
- },
42
- "tokenBindings": [
43
- {
44
- "token": "card-minimum-width-extra-small",
45
- "context": "Width (minimum)"
46
- },
47
- {
48
- "token": "card-minimum-width-small",
49
- "context": "Width (minimum)"
50
- },
12
+ "documentBlocks": [
51
13
  {
52
- "token": "card-minimum-width-medium",
53
- "context": "Width (minimum)"
14
+ "type": "purpose",
15
+ "content": "Cards group related content into distinct layouts depending on context."
54
16
  },
55
17
  {
56
- "token": "card-minimum-width-large",
57
- "context": "Width (minimum)"
18
+ "type": "guideline",
19
+ "content": "Cards group related content and actions into flexible containers for browsing. They preview key information and reveal more detail on interaction."
58
20
  },
59
21
  {
60
- "token": "card-minimum-width-extra-large",
61
- "context": "Width (minimum)"
22
+ "type": "guideline",
23
+ "content": "Card preview areas have a maximum image height aspect ratio of 3:4, and a minimum height aspect ratio of of 4:1."
62
24
  },
63
25
  {
64
- "token": "card-default-width-extra-small",
65
- "context": "Width (default)"
26
+ "type": "guideline",
27
+ "content": "If the card has a fixed height, such as in a tile grid, long titles will be truncated. Use short titles to avoid this. In layouts with variable height, like a waterfall grid, titles will wrap to fit."
66
28
  },
67
29
  {
68
- "token": "card-default-width-small",
69
- "context": "Width (default)"
30
+ "type": "guideline",
31
+ "content": "Cards, by definition, should have some form of interaction such as viewing, editing, purchasing, etc. Some actions are exposed in buttons, and others simply occur by clicking the card."
70
32
  },
71
33
  {
72
- "token": "card-default-width-medium",
73
- "context": "Width (default)"
34
+ "type": "guideline",
35
+ "content": "If a card only has an ability to be opened or viewed in more detail, do not include a button. Clicking anywhere on the card should perform that action."
74
36
  },
75
37
  {
76
- "token": "card-default-width-large",
77
- "context": "Width (default)"
38
+ "type": "guideline",
39
+ "content": "If a card has other interactive elements such as a hidden actions menu or an avatar, but no buttons, the whole card (outside of those elements) should be clickable."
78
40
  },
79
41
  {
80
- "token": "card-default-width-extra-large",
81
- "context": "Width (default)"
42
+ "type": "guideline",
43
+ "content": "If there’s only one action (that’s not opening or viewing the card), use a button to communicate that action. If there are two or more available actions, and one of those actions is to open or view the card, use a button to communicate “View” or “Open,” instead of relying on clicking on the card."
82
44
  },
83
45
  {
84
- "token": "card-maximum-width-extra-small",
85
- "context": "Width (maximum)"
46
+ "type": "guideline",
47
+ "content": "If a standard card has a footer with a button, only the button is clickable. If a card has a preview, clicking the preview will open that card. When a preview is purely decorative, it is not clickable."
86
48
  },
87
49
  {
88
- "token": "card-maximum-width-small",
89
- "context": "Width (maximum)"
50
+ "type": "guideline",
51
+ "content": "When a group of cards are loading, they follow the ghost loading convention. There are 5 phases for ghost loading:"
90
52
  },
91
53
  {
92
- "token": "card-maximum-width-medium",
93
- "context": "Width (maximum)"
54
+ "type": "guideline",
55
+ "content": "Cards are meant to just show a taste of the available information. Don’t overload cards with more information than necessary."
94
56
  },
95
57
  {
96
- "token": "card-maximum-width-large",
97
- "context": "Width (maximum)"
58
+ "type": "guideline",
59
+ "content": "Only standard cards can have a footer, and buttons can only appear inside a footer."
98
60
  },
99
61
  {
100
- "token": "card-maximum-width-extra-large",
101
- "context": "Width (maximum)"
62
+ "type": "guideline",
63
+ "content": "Individual cards are not aligned to individual columns in the page's responsive column grid. Instead, groups of cards are aligned to the column grid in a layout region."
102
64
  },
103
65
  {
104
- "token": "corner-radius-medium-default",
105
- "context": "Rounding"
106
- },
107
- {
108
- "token": "corner-radius-large-default",
109
- "context": "Rounding"
110
- },
66
+ "type": "guideline",
67
+ "content": "If the preview is a video clip or other moving item, do not automatically play the clip or motion. Save the movement for either when a user hovers on the card or when they click on a play button."
68
+ }
69
+ ],
70
+ "options": {
71
+ "variant": {
72
+ "type": "string",
73
+ "default": "asset",
74
+ "description": "Determines which card layout variant is used.",
75
+ "values": [
76
+ { "value": "asset" },
77
+ { "value": "collection" },
78
+ { "value": "flex" },
79
+ { "value": "gallery" },
80
+ { "value": "horizontal" },
81
+ { "value": "product" }
82
+ ]
83
+ }
84
+ },
85
+ "lifecycle": { "introduced": "1.0.0-draft" },
86
+ "tokenBindings": [
87
+ { "token": "card-minimum-width-extra-small", "context": "Width (minimum)" },
88
+ { "token": "card-minimum-width-small", "context": "Width (minimum)" },
89
+ { "token": "card-minimum-width-medium", "context": "Width (minimum)" },
90
+ { "token": "card-minimum-width-large", "context": "Width (minimum)" },
91
+ { "token": "card-minimum-width-extra-large", "context": "Width (minimum)" },
92
+ { "token": "card-default-width-extra-small", "context": "Width (default)" },
93
+ { "token": "card-default-width-small", "context": "Width (default)" },
94
+ { "token": "card-default-width-medium", "context": "Width (default)" },
95
+ { "token": "card-default-width-large", "context": "Width (default)" },
96
+ { "token": "card-default-width-extra-large", "context": "Width (default)" },
97
+ { "token": "card-maximum-width-extra-small", "context": "Width (maximum)" },
98
+ { "token": "card-maximum-width-small", "context": "Width (maximum)" },
99
+ { "token": "card-maximum-width-medium", "context": "Width (maximum)" },
100
+ { "token": "card-maximum-width-large", "context": "Width (maximum)" },
101
+ { "token": "card-maximum-width-extra-large", "context": "Width (maximum)" },
102
+ { "token": "corner-radius-medium-default", "context": "Rounding" },
103
+ { "token": "corner-radius-large-default", "context": "Rounding" },
111
104
  {
112
105
  "token": "card-edge-to-content-compact-extra-small",
113
106
  "context": "Spacing (top/side/bottom edge to content, extra small)"
@@ -168,74 +161,26 @@
168
161
  "token": "card-edge-to-content-spacious-extra-large",
169
162
  "context": "Spacing (top/side/bottom edge to content, extra large)"
170
163
  },
171
- {
172
- "token": "border-width-200",
173
- "context": "Border"
174
- },
175
- {
176
- "token": "focus-indicator-thickness",
177
- "context": "Focus indicator"
178
- },
179
- {
180
- "token": "focus-indicator-gap",
181
- "context": "Focus indicator"
182
- },
183
- {
184
- "token": "background-layer-2-color",
185
- "context": "Background"
186
- },
187
- {
188
- "token": "background-layer-1-color",
189
- "context": "Background"
190
- },
191
- {
192
- "token": "card-background-well-color",
193
- "context": "Well"
194
- },
195
- {
196
- "token": "gray-100",
197
- "context": "Border"
198
- },
199
- {
200
- "token": "gray-200",
201
- "context": "Border"
202
- },
203
- {
204
- "token": "neutral-subdued-content-color-selected",
205
- "context": "Border"
206
- },
207
- {
208
- "token": "focus-indicator-color",
209
- "context": "Focus ring"
210
- },
211
- {
212
- "token": "disabled-background-color",
213
- "context": "Disabled"
214
- },
215
- {
216
- "token": "opacity-disabled",
217
- "context": "Disabled"
218
- },
219
- {
220
- "token": "card-background-color-loading",
221
- "context": "Loading"
222
- },
164
+ { "token": "border-width-200", "context": "Border" },
165
+ { "token": "focus-indicator-thickness", "context": "Focus indicator" },
166
+ { "token": "focus-indicator-gap", "context": "Focus indicator" },
167
+ { "token": "background-layer-2-color", "context": "Background" },
168
+ { "token": "background-layer-1-color", "context": "Background" },
169
+ { "token": "card-background-well-color", "context": "Well" },
170
+ { "token": "gray-100", "context": "Border" },
171
+ { "token": "gray-200", "context": "Border" },
172
+ { "token": "neutral-subdued-content-color-selected", "context": "Border" },
173
+ { "token": "focus-indicator-color", "context": "Focus ring" },
174
+ { "token": "disabled-background-color", "context": "Disabled" },
175
+ { "token": "opacity-disabled", "context": "Disabled" },
176
+ { "token": "card-background-color-loading", "context": "Loading" },
223
177
  {
224
178
  "token": "card-minimum-height-extra-small",
225
179
  "context": "Height (minimum)"
226
180
  },
227
- {
228
- "token": "card-minimum-height-small",
229
- "context": "Height (minimum)"
230
- },
231
- {
232
- "token": "card-minimum-height-medium",
233
- "context": "Height (minimum)"
234
- },
235
- {
236
- "token": "card-minimum-height-large",
237
- "context": "Height (minimum)"
238
- },
181
+ { "token": "card-minimum-height-small", "context": "Height (minimum)" },
182
+ { "token": "card-minimum-height-medium", "context": "Height (minimum)" },
183
+ { "token": "card-minimum-height-large", "context": "Height (minimum)" },
239
184
  {
240
185
  "token": "card-minimum-height-extra-large",
241
186
  "context": "Height (minimum)"
@@ -284,78 +229,24 @@
284
229
  "token": "card-header-to-description",
285
230
  "context": "Spacing (header to description)"
286
231
  },
287
- {
288
- "token": "border-width-400",
289
- "context": "Border"
290
- },
291
- {
292
- "token": "title-color",
293
- "context": "Value"
294
- },
295
- {
296
- "token": "body-color",
297
- "context": "Value"
298
- },
299
- {
300
- "token": "neutral-content-color-default",
301
- "context": "Value"
302
- },
303
- {
304
- "token": "disabled-content-color",
305
- "context": "Disabled"
306
- },
307
- {
308
- "token": "title-sans-serif-font-family",
309
- "context": "Title"
310
- },
311
- {
312
- "token": "title-sans-serif-font-weight",
313
- "context": "Title"
314
- },
315
- {
316
- "token": "title-serif-font-style",
317
- "context": "Title"
318
- },
319
- {
320
- "token": "font-size-50",
321
- "context": "Title"
322
- },
323
- {
324
- "token": "font-size-75",
325
- "context": "Title"
326
- },
327
- {
328
- "token": "font-size-100",
329
- "context": "Title"
330
- },
331
- {
332
- "token": "font-size-200",
333
- "context": "Title"
334
- },
335
- {
336
- "token": "font-size-300",
337
- "context": "Title"
338
- },
339
- {
340
- "token": "line-height-100",
341
- "context": "Title"
342
- },
343
- {
344
- "token": "cjk-line-height-100",
345
- "context": "Title"
346
- },
347
- {
348
- "token": "body-sans-serif-font-family",
349
- "context": "Body"
350
- },
351
- {
352
- "token": "body-sans-serif-font-weight",
353
- "context": "Body"
354
- },
355
- {
356
- "token": "body-serif-font-style",
357
- "context": "Body"
358
- },
232
+ { "token": "border-width-400", "context": "Border" },
233
+ { "token": "title-color", "context": "Value" },
234
+ { "token": "body-color", "context": "Value" },
235
+ { "token": "neutral-content-color-default", "context": "Value" },
236
+ { "token": "disabled-content-color", "context": "Disabled" },
237
+ { "token": "title-sans-serif-font-family", "context": "Title" },
238
+ { "token": "title-sans-serif-font-weight", "context": "Title" },
239
+ { "token": "title-serif-font-style", "context": "Title" },
240
+ { "token": "font-size-50", "context": "Title" },
241
+ { "token": "font-size-75", "context": "Title" },
242
+ { "token": "font-size-100", "context": "Title" },
243
+ { "token": "font-size-200", "context": "Title" },
244
+ { "token": "font-size-300", "context": "Title" },
245
+ { "token": "line-height-100", "context": "Title" },
246
+ { "token": "cjk-line-height-100", "context": "Title" },
247
+ { "token": "body-sans-serif-font-family", "context": "Body" },
248
+ { "token": "body-sans-serif-font-weight", "context": "Body" },
249
+ { "token": "body-serif-font-style", "context": "Body" },
359
250
  {
360
251
  "token": "collection-card-minimum-height-extra-small",
361
252
  "context": "Height (minimum), default variant"
@@ -396,14 +287,8 @@
396
287
  "token": "collection-card-hero-minimum-height-extra-large",
397
288
  "context": "Height (minimum), hero image variant"
398
289
  },
399
- {
400
- "token": "spacing-100",
401
- "context": "Spacing (header to footer)"
402
- },
403
- {
404
- "token": "card-header-to-footer",
405
- "context": "Spacing (text to visual)"
406
- },
290
+ { "token": "spacing-100", "context": "Spacing (header to footer)" },
291
+ { "token": "card-header-to-footer", "context": "Spacing (text to visual)" },
407
292
  {
408
293
  "token": "card-edge-to-content-compact-extra-medium",
409
294
  "context": "Spacing (top/side/bottom edge to content, medium)"
@@ -460,30 +345,12 @@
460
345
  "token": "card-description-to-footer",
461
346
  "context": "Spacing (description to footer)"
462
347
  },
463
- {
464
- "token": "thumbnail-size-100",
465
- "context": "Components"
466
- },
467
- {
468
- "token": "thumbnail-size-300",
469
- "context": "Components"
470
- },
471
- {
472
- "token": "thumbnail-size-500",
473
- "context": "Components"
474
- },
475
- {
476
- "token": "thumbnail-size-700",
477
- "context": "Components"
478
- },
479
- {
480
- "token": "thumbnail-size-900",
481
- "context": "Components"
482
- },
483
- {
484
- "token": "thumbnail-size-1000",
485
- "context": "Components"
486
- },
348
+ { "token": "thumbnail-size-100", "context": "Components" },
349
+ { "token": "thumbnail-size-300", "context": "Components" },
350
+ { "token": "thumbnail-size-500", "context": "Components" },
351
+ { "token": "thumbnail-size-700", "context": "Components" },
352
+ { "token": "thumbnail-size-900", "context": "Components" },
353
+ { "token": "thumbnail-size-1000", "context": "Components" },
487
354
  {
488
355
  "token": "card-horizontal-edge-to-content-compact",
489
356
  "context": "Spacing (top/side/bottom edge to content)"
@@ -526,16 +393,8 @@
526
393
  "focusable": true,
527
394
  "keyboardIntents": ["activate"],
528
395
  "wcag": [
529
- {
530
- "criterion": "2.1.1",
531
- "level": "A",
532
- "title": "Keyboard"
533
- },
534
- {
535
- "criterion": "4.1.2",
536
- "level": "A",
537
- "title": "Name, Role, Value"
538
- }
396
+ { "criterion": "2.1.1", "level": "A", "title": "Keyboard" },
397
+ { "criterion": "4.1.2", "level": "A", "title": "Name, Role, Value" }
539
398
  ]
540
399
  }
541
400
  }