@adobe/design-data-spec 1.5.0 → 2.1.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/conformance/invalid/SPEC-009/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-018/dataset.json +8 -1
- package/conformance/invalid/SPEC-034/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-035/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-044/empty-optional-dir/components/.gitkeep +0 -0
- package/conformance/invalid/SPEC-044/empty-optional-dir/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-044/empty-optional-dir/tokens/base.tokens.json +1 -0
- package/conformance/invalid/SPEC-044/missing-tokens/expected-errors.json +10 -0
- package/conformance/valid/SPEC-044/components/button.json +9 -0
- package/conformance/valid/SPEC-044/expected-errors.json +4 -0
- package/conformance/valid/SPEC-044/tokens/base.tokens.json +1 -0
- package/package.json +6 -6
- package/rules/rules.yaml +27 -7
- package/schemas/component.schema.json +1 -1
- package/schemas/dataset.schema.json +39 -0
- package/schemas/manifest.schema.json +1 -23
- package/schemas/mode-set.schema.json +4 -0
- package/schemas/platform-extension.json +79 -0
- package/schemas/registry-value.json +230 -0
- package/schemas/token.schema.json +1 -1
- package/spec/agent-surface.md +16 -14
- package/spec/anatomy-format.md +1 -1
- package/spec/cascade.md +1 -1
- package/spec/dataset-layout.md +72 -0
- package/spec/index.md +7 -5
- package/spec/mode-sets.md +1 -1
- package/spec/registry.md +6 -8
- package/spec/taxonomy.md +32 -32
- package/spec/token-format.md +11 -3
- package/components/accordion.json +0 -557
- package/components/action-bar.json +0 -214
- package/components/action-button.json +0 -522
- package/components/action-group.json +0 -134
- package/components/alert-banner.json +0 -134
- package/components/alert-dialog.json +0 -180
- package/components/avatar-group.json +0 -166
- package/components/avatar.json +0 -246
- package/components/badge.json +0 -594
- package/components/body.json +0 -54
- package/components/bottom-navigation-android.json +0 -72
- package/components/breadcrumbs.json +0 -307
- package/components/button-group.json +0 -86
- package/components/button.json +0 -586
- package/components/calendar.json +0 -133
- package/components/cards.json +0 -541
- package/components/checkbox-group.json +0 -91
- package/components/checkbox.json +0 -339
- package/components/close-button.json +0 -208
- package/components/coach-indicator.json +0 -105
- package/components/coach-mark.json +0 -169
- package/components/code.json +0 -44
- package/components/color-area.json +0 -138
- package/components/color-handle.json +0 -111
- package/components/color-loupe.json +0 -77
- package/components/color-slider.json +0 -165
- package/components/color-wheel.json +0 -117
- package/components/combo-box.json +0 -543
- package/components/contextual-help.json +0 -230
- package/components/date-picker.json +0 -471
- package/components/detail.json +0 -53
- package/components/divider.json +0 -93
- package/components/drop-zone.json +0 -238
- package/components/field-label.json +0 -219
- package/components/heading.json +0 -68
- package/components/help-text.json +0 -209
- package/components/illustrated-message.json +0 -175
- package/components/in-field-progress-button.json +0 -88
- package/components/in-field-progress-circle.json +0 -116
- package/components/in-line-alert.json +0 -233
- package/components/link.json +0 -167
- package/components/list-view.json +0 -382
- package/components/menu.json +0 -597
- package/components/meter.json +0 -199
- package/components/number-field.json +0 -518
- package/components/opacity-checkerboard.json +0 -69
- package/components/picker.json +0 -579
- package/components/popover.json +0 -174
- package/components/progress-bar.json +0 -229
- package/components/progress-circle.json +0 -132
- package/components/radio-button.json +0 -308
- package/components/radio-group.json +0 -113
- package/components/rating.json +0 -168
- package/components/scroll-zoom-bar.json +0 -82
- package/components/search-field.json +0 -346
- package/components/segmented-control.json +0 -248
- package/components/select-box.json +0 -272
- package/components/side-navigation.json +0 -320
- package/components/slider.json +0 -407
- package/components/standard-dialog.json +0 -179
- package/components/standard-panel.json +0 -83
- package/components/status-light.json +0 -334
- package/components/steplist.json +0 -294
- package/components/swatch-group.json +0 -114
- package/components/swatch.json +0 -240
- package/components/switch.json +0 -336
- package/components/tab-bar-ios.json +0 -72
- package/components/table.json +0 -435
- package/components/tabs.json +0 -253
- package/components/tag-field.json +0 -243
- package/components/tag-group.json +0 -87
- package/components/tag.json +0 -393
- package/components/takeover-dialog.json +0 -117
- package/components/text-area.json +0 -555
- package/components/text-field.json +0 -555
- package/components/thumbnail.json +0 -149
- package/components/title.json +0 -91
- package/components/toast.json +0 -156
- package/components/tooltip.json +0 -179
- package/components/tray.json +0 -32
- package/components/tree-view.json +0 -393
- package/fields/alignment.json +0 -15
- package/fields/anatomy.json +0 -15
- package/fields/color-scheme.json +0 -15
- package/fields/colorFamily.json +0 -15
- package/fields/component.json +0 -15
- package/fields/contrast.json +0 -15
- package/fields/density.json +0 -15
- package/fields/easing.json +0 -15
- package/fields/family.json +0 -15
- package/fields/motionRole.json +0 -15
- package/fields/object.json +0 -15
- package/fields/orientation.json +0 -15
- package/fields/position.json +0 -15
- package/fields/property.json +0 -15
- package/fields/scale.json +0 -15
- package/fields/scaleIndex.json +0 -15
- package/fields/shape.json +0 -15
- package/fields/size.json +0 -15
- package/fields/state.json +0 -15
- package/fields/structure.json +0 -15
- package/fields/style.json +0 -15
- package/fields/substructure.json +0 -15
- package/fields/variant.json +0 -15
- package/fields/weight.json +0 -15
package/components/detail.json
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
}
|
package/components/divider.json
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,238 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,219 +0,0 @@
|
|
|
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
|
-
}
|
package/components/heading.json
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
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
|
-
}
|