@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,53 @@
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/detail.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "detail",
6
+ "displayName": "Detail",
7
+ "description": "Detail is a typography component used for disclosing extra information or smaller items in hierarchical relationships of text.",
8
+ "meta": {
9
+ "category": "typography",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/detail/"
11
+ },
12
+ "options": {
13
+ "script": {
14
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-script.json"
15
+ },
16
+ "weight": {
17
+ "type": "string",
18
+ "default": "default",
19
+ "values": [
20
+ {
21
+ "value": "light"
22
+ },
23
+ {
24
+ "value": "default"
25
+ }
26
+ ]
27
+ },
28
+ "size": {
29
+ "type": "string",
30
+ "default": "m",
31
+ "values": [
32
+ {
33
+ "value": "s"
34
+ },
35
+ {
36
+ "value": "m"
37
+ },
38
+ {
39
+ "value": "l"
40
+ },
41
+ {
42
+ "value": "xl"
43
+ }
44
+ ]
45
+ }
46
+ },
47
+ "lifecycle": {
48
+ "introduced": "1.0.0-draft"
49
+ },
50
+ "accessibility": {
51
+ "focusable": false
52
+ }
53
+ }
@@ -0,0 +1,93 @@
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/divider.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "divider",
6
+ "displayName": "Divider",
7
+ "description": "Dividers bring clarity to a layout by grouping and dividing content in close proximity. They can also be used to establish rhythm and hierarchy.",
8
+ "meta": {
9
+ "category": "containers",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/divider/"
11
+ },
12
+ "options": {
13
+ "size": {
14
+ "type": "string",
15
+ "default": "s",
16
+ "values": [
17
+ {
18
+ "value": "s"
19
+ },
20
+ {
21
+ "value": "m"
22
+ },
23
+ {
24
+ "value": "l"
25
+ }
26
+ ]
27
+ },
28
+ "orientation": {
29
+ "type": "string",
30
+ "default": "horizontal",
31
+ "values": [
32
+ {
33
+ "value": "horizontal"
34
+ },
35
+ {
36
+ "value": "vertical"
37
+ }
38
+ ]
39
+ }
40
+ },
41
+ "lifecycle": {
42
+ "introduced": "1.0.0-draft"
43
+ },
44
+ "tokenBindings": [
45
+ {
46
+ "token": "divider-thickness-small",
47
+ "context": "Thickness"
48
+ },
49
+ {
50
+ "token": "divider-thickness-medium",
51
+ "context": "Thickness"
52
+ },
53
+ {
54
+ "token": "divider-thickness-large",
55
+ "context": "Thickness"
56
+ },
57
+ {
58
+ "token": "divider-horizontal-minimum-width",
59
+ "context": "Horizontal"
60
+ },
61
+ {
62
+ "token": "divider-vertical-minimum-height",
63
+ "context": "Horizontal"
64
+ },
65
+ {
66
+ "token": "gray-200",
67
+ "context": "Fill "
68
+ },
69
+ {
70
+ "token": "gray-800",
71
+ "context": "Fill "
72
+ },
73
+ {
74
+ "token": "transparent-white-200",
75
+ "context": "Fill (white)"
76
+ },
77
+ {
78
+ "token": "transparent-white-800",
79
+ "context": "Fill (white)"
80
+ },
81
+ {
82
+ "token": "transparent-black-200",
83
+ "context": "Fill (black)"
84
+ },
85
+ {
86
+ "token": "transparent-black-800",
87
+ "context": "Fill (black)"
88
+ }
89
+ ],
90
+ "accessibility": {
91
+ "focusable": false
92
+ }
93
+ }
@@ -0,0 +1,238 @@
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/drop-zone.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "drop-zone",
6
+ "displayName": "Drop zone",
7
+ "description": "A drop zone allows users to drag and drop files or other content into a designated area.",
8
+ "meta": {
9
+ "category": "inputs",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/drop-zone/"
11
+ },
12
+ "options": {
13
+ "accept": {
14
+ "type": "array",
15
+ "items": {
16
+ "type": "string",
17
+ "description": "File types that are accepted by the drop zone."
18
+ }
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
+ },
35
+ "actionLabel": {
36
+ "type": "string",
37
+ "description": "If undefined, this button does not appear."
38
+ },
39
+ "onDrop": {
40
+ "type": "string",
41
+ "description": "Callback function called when files are dropped onto the drop zone."
42
+ },
43
+ "onDragOver": {
44
+ "type": "string",
45
+ "description": "Callback function called when a file is dragged over the drop zone."
46
+ },
47
+ "onDragLeave": {
48
+ "type": "string",
49
+ "description": "Callback function called when a file is dragged out of the drop zone."
50
+ }
51
+ },
52
+ "lifecycle": {
53
+ "introduced": "1.0.0-draft"
54
+ },
55
+ "tokenBindings": [
56
+ {
57
+ "token": "drop-zone-width",
58
+ "context": "Component width"
59
+ },
60
+ {
61
+ "token": "spacing-400",
62
+ "context": "Padding"
63
+ },
64
+ {
65
+ "token": "drop-zone-content-maximum-width",
66
+ "context": "Content width (maximum)"
67
+ },
68
+ {
69
+ "token": "border-width-200",
70
+ "context": "Border width and corner radius"
71
+ },
72
+ {
73
+ "token": "corner-radius-700",
74
+ "context": "Border width and corner radius"
75
+ },
76
+ {
77
+ "token": "drop-zone-border-dash-length",
78
+ "context": "Border width and corner radius"
79
+ },
80
+ {
81
+ "token": "drop-zone-border-dash-gap",
82
+ "context": "Border width and corner radius"
83
+ },
84
+ {
85
+ "token": "spacing-200",
86
+ "context": "Spacing (illustration to title area) "
87
+ },
88
+ {
89
+ "token": "spacing-75",
90
+ "context": "Spacing (title area to body area) "
91
+ },
92
+ {
93
+ "token": "spacing-300",
94
+ "context": "Spacing (body area to action) "
95
+ },
96
+ {
97
+ "token": "component-height-300",
98
+ "context": "Text area (filled, hover)"
99
+ },
100
+ {
101
+ "token": "component-edge-to-text-300",
102
+ "context": "Text area (filled, hover)"
103
+ },
104
+ {
105
+ "token": "component-top",
106
+ "context": "Text area (filled, hover)"
107
+ },
108
+ {
109
+ "token": "text-300",
110
+ "context": "Text area (filled, hover)"
111
+ },
112
+ {
113
+ "token": "component-bottom-to-text-300",
114
+ "context": "Text area (filled, hover)"
115
+ },
116
+ {
117
+ "token": "title-sans-serif-font-family",
118
+ "context": "Title area and body area"
119
+ },
120
+ {
121
+ "token": "title-sans-serif-font-weight",
122
+ "context": "Title area and body area"
123
+ },
124
+ {
125
+ "token": "title-sans-serif-font-style",
126
+ "context": "Title area and body area"
127
+ },
128
+ {
129
+ "token": "drop-zone-title-font-size",
130
+ "context": "Title area and body area"
131
+ },
132
+ {
133
+ "token": "drop-zone-cjk-title-font-size",
134
+ "context": "Title area and body area"
135
+ },
136
+ {
137
+ "token": "title-line-height",
138
+ "context": "Title area and body area"
139
+ },
140
+ {
141
+ "token": "body-sans-serif-font-family",
142
+ "context": "Title area and body area"
143
+ },
144
+ {
145
+ "token": "body-sans-serif-font-weight",
146
+ "context": "Title area and body area"
147
+ },
148
+ {
149
+ "token": "body-sans-serif-font-style",
150
+ "context": "Title area and body area"
151
+ },
152
+ {
153
+ "token": "drop-zone-body-font-size",
154
+ "context": "Title area and body area"
155
+ },
156
+ {
157
+ "token": "body-line-height",
158
+ "context": "Title area and body area"
159
+ },
160
+ {
161
+ "token": "sans-serif-font-family",
162
+ "context": "Title area and body area"
163
+ },
164
+ {
165
+ "token": "bold-font-weight",
166
+ "context": "Title area and body area"
167
+ },
168
+ {
169
+ "token": "default-font-size",
170
+ "context": "Title area and body area"
171
+ },
172
+ {
173
+ "token": "font-size-300",
174
+ "context": "Title area and body area"
175
+ },
176
+ {
177
+ "token": "line-height-100",
178
+ "context": "Title area and body area"
179
+ },
180
+ {
181
+ "token": "grey-300",
182
+ "context": "Border color"
183
+ },
184
+ {
185
+ "token": "neutral-content-color-default",
186
+ "context": "Illustration color"
187
+ },
188
+ {
189
+ "token": "accent-content-color",
190
+ "context": "Illustration color"
191
+ },
192
+ {
193
+ "token": "heading-color",
194
+ "context": "Title and body color"
195
+ },
196
+ {
197
+ "token": "body-color",
198
+ "context": "Title and body color"
199
+ },
200
+ {
201
+ "token": "accent-visual-color",
202
+ "context": "Border and background color (empty, hover)"
203
+ },
204
+ {
205
+ "token": "drop-zone-background-color",
206
+ "context": "Border and background color (empty, hover)"
207
+ },
208
+ {
209
+ "token": "drop-zone-background-color-opacity",
210
+ "context": "Border and background color (empty, hover)"
211
+ },
212
+ {
213
+ "token": "drop-zone-background-color-opacity-indicatored",
214
+ "context": "Border, background, and text area color (filled, hover)"
215
+ },
216
+ {
217
+ "token": "white",
218
+ "context": "Border, background, and text area color (filled, hover)"
219
+ }
220
+ ],
221
+ "accessibility": {
222
+ "intents": ["input"],
223
+ "focusable": true,
224
+ "keyboardIntents": ["activate"],
225
+ "wcag": [
226
+ {
227
+ "criterion": "2.1.1",
228
+ "level": "A",
229
+ "title": "Keyboard"
230
+ },
231
+ {
232
+ "criterion": "4.1.2",
233
+ "level": "A",
234
+ "title": "Name, Role, Value"
235
+ }
236
+ ]
237
+ }
238
+ }
@@ -0,0 +1,219 @@
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/field-label.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "field-label",
6
+ "displayName": "Field label",
7
+ "description": "Field labels give context to the information that a user needs to input. They're commonly used in forms.",
8
+ "meta": {
9
+ "category": "inputs",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/field-label/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string"
15
+ },
16
+ "labelPosition": {
17
+ "type": "string",
18
+ "default": "top",
19
+ "values": [
20
+ {
21
+ "value": "top"
22
+ },
23
+ {
24
+ "value": "side"
25
+ }
26
+ ]
27
+ },
28
+ "size": {
29
+ "type": "string",
30
+ "default": "m",
31
+ "values": [
32
+ {
33
+ "value": "s"
34
+ },
35
+ {
36
+ "value": "m"
37
+ },
38
+ {
39
+ "value": "l"
40
+ },
41
+ {
42
+ "value": "xl"
43
+ }
44
+ ]
45
+ },
46
+ "necessityIndicator": {
47
+ "type": "string",
48
+ "default": "icon",
49
+ "values": [
50
+ {
51
+ "value": "text"
52
+ },
53
+ {
54
+ "value": "icon"
55
+ }
56
+ ]
57
+ },
58
+ "isRequired": {
59
+ "type": "boolean",
60
+ "default": false
61
+ },
62
+ "isDisabled": {
63
+ "type": "boolean",
64
+ "default": false
65
+ }
66
+ },
67
+ "lifecycle": {
68
+ "introduced": "1.0.0-draft"
69
+ },
70
+ "tokenBindings": [
71
+ {
72
+ "token": "component-height-75",
73
+ "context": "Minimum height"
74
+ },
75
+ {
76
+ "token": "component-height-100",
77
+ "context": "Minimum height"
78
+ },
79
+ {
80
+ "token": "component-height-200",
81
+ "context": "Minimum height"
82
+ },
83
+ {
84
+ "token": "component-height-300",
85
+ "context": "Minimum height"
86
+ },
87
+ {
88
+ "token": "field-label-text-to-asterisk-small",
89
+ "context": "Spacing (label to asterisk icon)"
90
+ },
91
+ {
92
+ "token": "field-label-text-to-asterisk-medium",
93
+ "context": "Spacing (label to asterisk icon)"
94
+ },
95
+ {
96
+ "token": "field-label-text-to-asterisk-large",
97
+ "context": "Spacing (label to asterisk icon)"
98
+ },
99
+ {
100
+ "token": "field-label-text-to-asterisk-extra-large",
101
+ "context": "Spacing (label to asterisk icon)"
102
+ },
103
+ {
104
+ "token": "field-label-top-to-asterisk-small",
105
+ "context": "Spacing (top edge to asterisk icon)"
106
+ },
107
+ {
108
+ "token": "field-label-top-to-asterisk-medium",
109
+ "context": "Spacing (top edge to asterisk icon)"
110
+ },
111
+ {
112
+ "token": "field-label-top-to-asterisk-large",
113
+ "context": "Spacing (top edge to asterisk icon)"
114
+ },
115
+ {
116
+ "token": "field-label-top-to-asterisk-extra-large",
117
+ "context": "Spacing (top edge to asterisk icon)"
118
+ },
119
+ {
120
+ "token": "component-top-to-text-75",
121
+ "context": "Spacing (top/bottom edge to label)"
122
+ },
123
+ {
124
+ "token": "component-top-to-text-100",
125
+ "context": "Spacing (top/bottom edge to label)"
126
+ },
127
+ {
128
+ "token": "component-top-to-text-200",
129
+ "context": "Spacing (top/bottom edge to label)"
130
+ },
131
+ {
132
+ "token": "component-top-to-text-300",
133
+ "context": "Spacing (top/bottom edge to label)"
134
+ },
135
+ {
136
+ "token": "component-bottom-to-text-75",
137
+ "context": "Spacing (top/bottom edge to label)"
138
+ },
139
+ {
140
+ "token": "component-bottom-to-text-100",
141
+ "context": "Spacing (top/bottom edge to label)"
142
+ },
143
+ {
144
+ "token": "component-bottom-to-text-200",
145
+ "context": "Spacing (top/bottom edge to label)"
146
+ },
147
+ {
148
+ "token": "component-bottom-to-text-300",
149
+ "context": "Spacing (top/bottom edge to label)"
150
+ },
151
+ {
152
+ "token": "asterisk-icon-size-100",
153
+ "context": "Asterisk UI icon asset"
154
+ },
155
+ {
156
+ "token": "asterisk-icon-size-200",
157
+ "context": "Asterisk UI icon asset"
158
+ },
159
+ {
160
+ "token": "asterisk-icon-size-300",
161
+ "context": "Asterisk UI icon asset"
162
+ },
163
+ {
164
+ "token": "neutral-subdued-content-color-default",
165
+ "context": "Label and asterisk icon"
166
+ },
167
+ {
168
+ "token": "disabled-content-color",
169
+ "context": "Label and asterisk icon (disabled)"
170
+ },
171
+ {
172
+ "token": "white",
173
+ "context": "Label and asterisk icon (white)"
174
+ },
175
+ {
176
+ "token": "black",
177
+ "context": "Label and asterisk icon (black)"
178
+ },
179
+ {
180
+ "token": "default-font-family",
181
+ "context": "Label"
182
+ },
183
+ {
184
+ "token": "regular-font-weight",
185
+ "context": "Label"
186
+ },
187
+ {
188
+ "token": "default-font-style",
189
+ "context": "Label"
190
+ },
191
+ {
192
+ "token": "font-size-75",
193
+ "context": "Label"
194
+ },
195
+ {
196
+ "token": "font-size-100",
197
+ "context": "Label"
198
+ },
199
+ {
200
+ "token": "font-size-200",
201
+ "context": "Label"
202
+ },
203
+ {
204
+ "token": "font-size-300",
205
+ "context": "Label"
206
+ },
207
+ {
208
+ "token": "line-height-100",
209
+ "context": "Label"
210
+ },
211
+ {
212
+ "token": "cjk-line-height-100",
213
+ "context": "Label"
214
+ }
215
+ ],
216
+ "accessibility": {
217
+ "focusable": false
218
+ }
219
+ }
@@ -0,0 +1,68 @@
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/heading.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "heading",
6
+ "displayName": "Heading",
7
+ "description": "Heading is a typography component used to create various levels of hierarchies between text.",
8
+ "meta": {
9
+ "category": "typography",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/heading/"
11
+ },
12
+ "options": {
13
+ "script": {
14
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-script.json"
15
+ },
16
+ "classification": {
17
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-classification.json"
18
+ },
19
+ "weight": {
20
+ "type": "string",
21
+ "default": "default",
22
+ "values": [
23
+ {
24
+ "value": "light"
25
+ },
26
+ {
27
+ "value": "default"
28
+ },
29
+ {
30
+ "value": "heavy"
31
+ }
32
+ ]
33
+ },
34
+ "size": {
35
+ "type": "string",
36
+ "default": "m",
37
+ "values": [
38
+ {
39
+ "value": "xs"
40
+ },
41
+ {
42
+ "value": "s"
43
+ },
44
+ {
45
+ "value": "m"
46
+ },
47
+ {
48
+ "value": "l"
49
+ },
50
+ {
51
+ "value": "xl"
52
+ },
53
+ {
54
+ "value": "xxl"
55
+ },
56
+ {
57
+ "value": "xxxl"
58
+ }
59
+ ]
60
+ }
61
+ },
62
+ "lifecycle": {
63
+ "introduced": "1.0.0-draft"
64
+ },
65
+ "accessibility": {
66
+ "focusable": false
67
+ }
68
+ }