@adobe/spectrum-design-data 0.0.1 → 0.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/LICENSE +201 -0
- package/components/accordion.json +557 -0
- package/components/action-bar.json +214 -0
- package/components/action-button.json +522 -0
- package/components/action-group.json +134 -0
- package/components/alert-banner.json +134 -0
- package/components/alert-dialog.json +180 -0
- package/components/avatar-group.json +166 -0
- package/components/avatar.json +246 -0
- package/components/badge.json +594 -0
- package/components/body.json +54 -0
- package/components/bottom-navigation-android.json +72 -0
- package/components/breadcrumbs.json +307 -0
- package/components/button-group.json +86 -0
- package/components/button.json +586 -0
- package/components/calendar.json +133 -0
- package/components/cards.json +541 -0
- package/components/checkbox-group.json +91 -0
- package/components/checkbox.json +339 -0
- package/components/close-button.json +208 -0
- package/components/coach-indicator.json +105 -0
- package/components/coach-mark.json +169 -0
- package/components/code.json +44 -0
- package/components/color-area.json +138 -0
- package/components/color-handle.json +111 -0
- package/components/color-loupe.json +77 -0
- package/components/color-slider.json +165 -0
- package/components/color-wheel.json +117 -0
- package/components/combo-box.json +543 -0
- package/components/contextual-help.json +230 -0
- package/components/date-picker.json +471 -0
- package/components/detail.json +53 -0
- package/components/divider.json +93 -0
- package/components/drop-zone.json +238 -0
- package/components/field-label.json +219 -0
- package/components/heading.json +68 -0
- package/components/help-text.json +209 -0
- package/components/illustrated-message.json +175 -0
- package/components/in-field-progress-button.json +88 -0
- package/components/in-field-progress-circle.json +116 -0
- package/components/in-line-alert.json +233 -0
- package/components/link.json +167 -0
- package/components/list-view.json +382 -0
- package/components/menu.json +597 -0
- package/components/meter.json +199 -0
- package/components/number-field.json +518 -0
- package/components/opacity-checkerboard.json +69 -0
- package/components/picker.json +579 -0
- package/components/popover.json +174 -0
- package/components/progress-bar.json +229 -0
- package/components/progress-circle.json +132 -0
- package/components/radio-button.json +308 -0
- package/components/radio-group.json +113 -0
- package/components/rating.json +168 -0
- package/components/scroll-zoom-bar.json +82 -0
- package/components/search-field.json +346 -0
- package/components/segmented-control.json +248 -0
- package/components/select-box.json +272 -0
- package/components/side-navigation.json +320 -0
- package/components/slider.json +407 -0
- package/components/standard-dialog.json +179 -0
- package/components/standard-panel.json +83 -0
- package/components/status-light.json +334 -0
- package/components/steplist.json +294 -0
- package/components/swatch-group.json +114 -0
- package/components/swatch.json +240 -0
- package/components/switch.json +336 -0
- package/components/tab-bar-ios.json +72 -0
- package/components/table.json +435 -0
- package/components/tabs.json +253 -0
- package/components/tag-field.json +243 -0
- package/components/tag-group.json +87 -0
- package/components/tag.json +393 -0
- package/components/takeover-dialog.json +117 -0
- package/components/text-area.json +555 -0
- package/components/text-field.json +555 -0
- package/components/thumbnail.json +149 -0
- package/components/title.json +91 -0
- package/components/toast.json +156 -0
- package/components/tooltip.json +179 -0
- package/components/tray.json +32 -0
- package/components/tree-view.json +393 -0
- package/fields/alignment.json +15 -0
- package/fields/anatomy.json +15 -0
- package/fields/color-scheme.json +15 -0
- package/fields/colorFamily.json +15 -0
- package/fields/component.json +15 -0
- package/fields/contrast.json +15 -0
- package/fields/density.json +15 -0
- package/fields/easing.json +15 -0
- package/fields/family.json +15 -0
- package/fields/motionRole.json +15 -0
- package/fields/object.json +15 -0
- package/fields/orientation.json +15 -0
- package/fields/position.json +15 -0
- package/fields/property.json +15 -0
- package/fields/scale.json +15 -0
- package/fields/scaleIndex.json +15 -0
- package/fields/shape.json +15 -0
- package/fields/size.json +15 -0
- package/fields/state.json +15 -0
- package/fields/structure.json +15 -0
- package/fields/style.json +15 -0
- package/fields/substructure.json +15 -0
- package/fields/variant.json +15 -0
- package/fields/weight.json +15 -0
- package/mode-sets/color-scheme.json +8 -0
- package/mode-sets/contrast.json +8 -0
- package/mode-sets/scale.json +8 -0
- package/package.json +42 -3
- package/registry/alignments.json +22 -0
- package/registry/anatomy-terms.json +739 -0
- package/registry/categories.json +55 -0
- package/registry/color-families.json +177 -0
- package/registry/components.json +277 -0
- package/registry/densities.json +17 -0
- package/registry/easing-curves.json +42 -0
- package/registry/glossary.json +181 -0
- package/registry/motion-roles.json +32 -0
- package/registry/navigation-terms.json +241 -0
- package/registry/orientations.json +17 -0
- package/registry/platform-extensions/ios-states.json +59 -0
- package/registry/platform-extensions/web-components-states.json +58 -0
- package/registry/platforms.json +37 -0
- package/registry/positions.json +32 -0
- package/registry/property-terms.json +212 -0
- package/registry/scale-values.json +126 -0
- package/registry/shapes.json +12 -0
- package/registry/sizes.json +71 -0
- package/registry/states.json +184 -0
- package/registry/structures.json +57 -0
- package/registry/substructures.json +12 -0
- package/registry/token-objects.json +32 -0
- package/registry/token-terminology.json +925 -0
- package/registry/typography-families.json +27 -0
- package/registry/typography-styles.json +22 -0
- package/registry/typography-weights.json +37 -0
- package/registry/variants.json +282 -0
- package/tokens/color-aliases.tokens.json +332 -328
- package/tokens/color-component.tokens.json +74 -74
- package/tokens/icons.tokens.json +191 -191
- package/tokens/layout-component.tokens.json +373 -316
- package/tokens/layout.tokens.json +110 -98
- package/tokens/semantic-color-palette.tokens.json +104 -104
- package/tokens/typography.tokens.json +233 -233
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "typography-family",
|
|
4
|
+
"description": "Type family identifiers for typography tokens. Assigned via the `family` name-object field. Represents the script or display context of the typeface, not a specific font name.",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "sans-serif",
|
|
8
|
+
"label": "Sans-Serif",
|
|
9
|
+
"description": "Sans-serif typeface family (e.g. Adobe Clean)"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "serif",
|
|
13
|
+
"label": "Serif",
|
|
14
|
+
"description": "Serif typeface family (e.g. Adobe Clean Serif)"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "cjk",
|
|
18
|
+
"label": "CJK",
|
|
19
|
+
"description": "CJK (Chinese, Japanese, Korean) script typeface family"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "code",
|
|
23
|
+
"label": "Code",
|
|
24
|
+
"description": "Monospace typeface family for code and technical content"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "typography-style",
|
|
4
|
+
"description": "Typographic style values for typography tokens. Assigned via the `style` name-object field. Corresponds to the CSS font-style axis. All recognized styles are listed; normal represents the default upright style.",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "normal",
|
|
8
|
+
"label": "Normal",
|
|
9
|
+
"description": "Default upright font style (font-style: normal)"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "italic",
|
|
13
|
+
"label": "Italic",
|
|
14
|
+
"description": "Italic font style (font-style: italic)"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "oblique",
|
|
18
|
+
"label": "Oblique",
|
|
19
|
+
"description": "Oblique font style (font-style: oblique)"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "typography-weight",
|
|
4
|
+
"description": "Typographic weight values for typography tokens. Assigned via the `weight` name-object field. Corresponds to the CSS font-weight axis. Note: 'black' is a typographic weight value (font-weight 900) and is distinct from the 'black' color-family entry in color-families.json (cross-registry ID overlap is intentional per SPEC-033).",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "light",
|
|
8
|
+
"label": "Light",
|
|
9
|
+
"description": "Light weight (font-weight 300)"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "regular",
|
|
13
|
+
"label": "Regular",
|
|
14
|
+
"description": "Regular weight (font-weight 400)"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "medium",
|
|
18
|
+
"label": "Medium",
|
|
19
|
+
"description": "Medium weight (font-weight 500)"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "bold",
|
|
23
|
+
"label": "Bold",
|
|
24
|
+
"description": "Bold weight (font-weight 700)"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "extra-bold",
|
|
28
|
+
"label": "Extra Bold",
|
|
29
|
+
"description": "Extra bold weight (font-weight 800)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "black",
|
|
33
|
+
"label": "Black",
|
|
34
|
+
"description": "Black weight (font-weight 900)"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "variant",
|
|
4
|
+
"description": "Color and style variants used across components",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "accent",
|
|
8
|
+
"label": "Accent",
|
|
9
|
+
"description": "Primary accent color variant",
|
|
10
|
+
"category": "emphasis",
|
|
11
|
+
"usedIn": ["component-schemas"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "negative",
|
|
15
|
+
"label": "Negative",
|
|
16
|
+
"description": "Destructive or negative action variant",
|
|
17
|
+
"category": "semantic",
|
|
18
|
+
"usedIn": ["component-schemas"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "primary",
|
|
22
|
+
"label": "Primary",
|
|
23
|
+
"description": "Primary emphasis variant",
|
|
24
|
+
"category": "emphasis",
|
|
25
|
+
"usedIn": ["component-schemas"]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "secondary",
|
|
29
|
+
"label": "Secondary",
|
|
30
|
+
"description": "Secondary emphasis variant",
|
|
31
|
+
"category": "emphasis",
|
|
32
|
+
"usedIn": ["component-schemas"]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "positive",
|
|
36
|
+
"label": "Positive",
|
|
37
|
+
"description": "Affirmative or positive action variant",
|
|
38
|
+
"category": "semantic",
|
|
39
|
+
"usedIn": ["component-schemas"]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "notice",
|
|
43
|
+
"label": "Notice",
|
|
44
|
+
"description": "Notice or attention variant",
|
|
45
|
+
"category": "semantic",
|
|
46
|
+
"usedIn": ["component-schemas"]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "informative",
|
|
50
|
+
"label": "Informative",
|
|
51
|
+
"description": "Informational variant",
|
|
52
|
+
"category": "semantic",
|
|
53
|
+
"usedIn": ["component-schemas"]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "neutral",
|
|
57
|
+
"label": "Neutral",
|
|
58
|
+
"description": "Neutral variant",
|
|
59
|
+
"category": "semantic",
|
|
60
|
+
"usedIn": ["component-schemas"]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "gray",
|
|
64
|
+
"label": "Gray",
|
|
65
|
+
"description": "Gray color variant",
|
|
66
|
+
"category": "color",
|
|
67
|
+
"usedIn": ["component-schemas"]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "red",
|
|
71
|
+
"label": "Red",
|
|
72
|
+
"description": "Red color variant",
|
|
73
|
+
"category": "color",
|
|
74
|
+
"usedIn": ["component-schemas"]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "orange",
|
|
78
|
+
"label": "Orange",
|
|
79
|
+
"description": "Orange color variant",
|
|
80
|
+
"category": "color",
|
|
81
|
+
"usedIn": ["component-schemas"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "yellow",
|
|
85
|
+
"label": "Yellow",
|
|
86
|
+
"description": "Yellow color variant",
|
|
87
|
+
"category": "color",
|
|
88
|
+
"usedIn": ["component-schemas"]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "chartreuse",
|
|
92
|
+
"label": "Chartreuse",
|
|
93
|
+
"description": "Chartreuse color variant",
|
|
94
|
+
"category": "color",
|
|
95
|
+
"usedIn": ["component-schemas"]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "celery",
|
|
99
|
+
"label": "Celery",
|
|
100
|
+
"description": "Celery color variant",
|
|
101
|
+
"category": "color",
|
|
102
|
+
"usedIn": ["component-schemas"]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "green",
|
|
106
|
+
"label": "Green",
|
|
107
|
+
"description": "Green color variant",
|
|
108
|
+
"category": "color",
|
|
109
|
+
"usedIn": ["component-schemas"]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "seafoam",
|
|
113
|
+
"label": "Seafoam",
|
|
114
|
+
"description": "Seafoam color variant",
|
|
115
|
+
"category": "color",
|
|
116
|
+
"usedIn": ["component-schemas"]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "cyan",
|
|
120
|
+
"label": "Cyan",
|
|
121
|
+
"description": "Cyan color variant",
|
|
122
|
+
"category": "color",
|
|
123
|
+
"usedIn": ["component-schemas"]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "blue",
|
|
127
|
+
"label": "Blue",
|
|
128
|
+
"description": "Blue color variant",
|
|
129
|
+
"category": "color",
|
|
130
|
+
"usedIn": ["component-schemas"]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "indigo",
|
|
134
|
+
"label": "Indigo",
|
|
135
|
+
"description": "Indigo color variant",
|
|
136
|
+
"category": "color",
|
|
137
|
+
"usedIn": ["component-schemas"]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "purple",
|
|
141
|
+
"label": "Purple",
|
|
142
|
+
"description": "Purple color variant",
|
|
143
|
+
"category": "color",
|
|
144
|
+
"usedIn": ["component-schemas"]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "fuchsia",
|
|
148
|
+
"label": "Fuchsia",
|
|
149
|
+
"description": "Fuchsia color variant",
|
|
150
|
+
"category": "color",
|
|
151
|
+
"usedIn": ["component-schemas"]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"id": "magenta",
|
|
155
|
+
"label": "Magenta",
|
|
156
|
+
"description": "Magenta color variant",
|
|
157
|
+
"category": "color",
|
|
158
|
+
"usedIn": ["component-schemas"]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "pink",
|
|
162
|
+
"label": "Pink",
|
|
163
|
+
"description": "Pink color variant",
|
|
164
|
+
"category": "color",
|
|
165
|
+
"usedIn": ["component-schemas"]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": "over-background",
|
|
169
|
+
"label": "Over Background",
|
|
170
|
+
"aliases": ["over background"],
|
|
171
|
+
"description": "Designed to be used over backgrounds",
|
|
172
|
+
"category": "context",
|
|
173
|
+
"usedIn": ["component-schemas"]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "brown",
|
|
177
|
+
"label": "Brown",
|
|
178
|
+
"description": "Brown color variant",
|
|
179
|
+
"category": "color",
|
|
180
|
+
"usedIn": ["tokens"]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "cinnamon",
|
|
184
|
+
"label": "Cinnamon",
|
|
185
|
+
"description": "Cinnamon color variant",
|
|
186
|
+
"category": "color",
|
|
187
|
+
"usedIn": ["tokens"]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "silver",
|
|
191
|
+
"label": "Silver",
|
|
192
|
+
"description": "Silver color variant",
|
|
193
|
+
"category": "color",
|
|
194
|
+
"usedIn": ["tokens"]
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "subtle",
|
|
198
|
+
"label": "Subtle",
|
|
199
|
+
"description": "Reduced emphasis variant for less prominent surfaces",
|
|
200
|
+
"category": "emphasis",
|
|
201
|
+
"usedIn": ["tokens"]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "subdued",
|
|
205
|
+
"label": "Subdued",
|
|
206
|
+
"description": "Lower emphasis variant for quieter backgrounds",
|
|
207
|
+
"category": "emphasis",
|
|
208
|
+
"usedIn": ["tokens"]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "static",
|
|
212
|
+
"label": "Static",
|
|
213
|
+
"description": "Context variant indicating the token does not change with theme",
|
|
214
|
+
"category": "context",
|
|
215
|
+
"usedIn": ["tokens"]
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"id": "inverse",
|
|
219
|
+
"label": "Inverse",
|
|
220
|
+
"description": "Inverted color context variant",
|
|
221
|
+
"category": "context",
|
|
222
|
+
"usedIn": ["tokens"]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "black",
|
|
226
|
+
"label": "Black",
|
|
227
|
+
"description": "Black color modifier, typically used with static context",
|
|
228
|
+
"category": "color",
|
|
229
|
+
"usedIn": ["tokens"]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "white",
|
|
233
|
+
"label": "White",
|
|
234
|
+
"description": "White color modifier, typically used with static context",
|
|
235
|
+
"category": "color",
|
|
236
|
+
"usedIn": ["tokens"]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"id": "turquoise",
|
|
240
|
+
"label": "Turquoise",
|
|
241
|
+
"description": "Turquoise color variant",
|
|
242
|
+
"category": "color",
|
|
243
|
+
"usedIn": ["tokens"]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "confirmation",
|
|
247
|
+
"label": "Confirmation",
|
|
248
|
+
"description": "Confirmation dialog variant requiring user acknowledgement",
|
|
249
|
+
"category": "semantic",
|
|
250
|
+
"usedIn": ["component-schemas"]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "destructive",
|
|
254
|
+
"label": "Destructive",
|
|
255
|
+
"description": "Destructive action dialog variant (stronger than negative)",
|
|
256
|
+
"category": "semantic",
|
|
257
|
+
"usedIn": ["component-schemas"]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"id": "warning",
|
|
261
|
+
"label": "Warning",
|
|
262
|
+
"description": "Warning dialog variant for cautionary alerts",
|
|
263
|
+
"category": "semantic",
|
|
264
|
+
"usedIn": ["component-schemas"]
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "error",
|
|
268
|
+
"label": "Error",
|
|
269
|
+
"description": "Error state variant for failed operations",
|
|
270
|
+
"category": "semantic",
|
|
271
|
+
"usedIn": ["component-schemas"]
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "information",
|
|
275
|
+
"label": "Information",
|
|
276
|
+
"aliases": ["info"],
|
|
277
|
+
"description": "Informational dialog variant (alias for informative in alert contexts)",
|
|
278
|
+
"category": "semantic",
|
|
279
|
+
"usedIn": ["component-schemas"]
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
}
|