@adobe/design-system-registry 0.0.0-layout-20260209174611
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/AUTHORING.md +290 -0
- package/CHANGELOG.md +23 -0
- package/LICENSE +201 -0
- package/PLATFORM_EXTENSIONS.md +315 -0
- package/README.md +268 -0
- package/ava.config.js +21 -0
- package/index.js +189 -0
- package/moon.yml +40 -0
- package/package.json +46 -0
- package/registry/anatomy-terms.json +151 -0
- package/registry/categories.json +56 -0
- package/registry/components.json +277 -0
- package/registry/glossary.json +181 -0
- package/registry/navigation-terms.json +241 -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/scale-values.json +91 -0
- package/registry/sizes.json +152 -0
- package/registry/states.json +184 -0
- package/registry/token-terminology.json +925 -0
- package/registry/variants.json +176 -0
- package/schemas/platform-extension.json +79 -0
- package/schemas/registry-value.json +230 -0
- package/scripts/validate-registry.js +134 -0
- package/test/registry.test.js +280 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "navigation-term",
|
|
4
|
+
"description": "Navigation-specific terminology for app frame and navigation components",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "side-navigation",
|
|
8
|
+
"label": "Side Navigation",
|
|
9
|
+
"aliases": ["side nav", "sidebar navigation"],
|
|
10
|
+
"description": "A navigation panel typically positioned on the left side of an application",
|
|
11
|
+
"usedIn": ["component-schemas", "anatomy"],
|
|
12
|
+
"definition": {
|
|
13
|
+
"superordinate": "navigation pattern",
|
|
14
|
+
"description": "A vertical panel containing navigation items, typically positioned on the left side of an application interface",
|
|
15
|
+
"essentialCharacteristics": [
|
|
16
|
+
"Provides persistent or collapsible access to main application sections",
|
|
17
|
+
"Can be resizable with drag functionality",
|
|
18
|
+
"Contains hierarchical navigation items",
|
|
19
|
+
"May include a state control (hamburger menu) to show/hide labels"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"sources": [
|
|
23
|
+
{
|
|
24
|
+
"type": "wiki",
|
|
25
|
+
"reference": "App frame (browsing) CRD",
|
|
26
|
+
"url": "https://wiki.corp.adobe.com/pages/viewpage.action?pageId=3364319543",
|
|
27
|
+
"date": "2025-01-12"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"governance": {
|
|
31
|
+
"owner": "Spectrum Core Team",
|
|
32
|
+
"reviewDate": "2025-01-12",
|
|
33
|
+
"status": "approved"
|
|
34
|
+
},
|
|
35
|
+
"relatedTerms": ["side-navigation-item", "navigation-item", "drag-area"]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "side-navigation-item",
|
|
39
|
+
"label": "Side Navigation Item",
|
|
40
|
+
"aliases": ["side nav item"],
|
|
41
|
+
"description": "An individual item within side navigation",
|
|
42
|
+
"usedIn": ["component-schemas", "anatomy"],
|
|
43
|
+
"definition": {
|
|
44
|
+
"superordinate": "navigation element",
|
|
45
|
+
"description": "A clickable item within side navigation that represents a destination or section in the application",
|
|
46
|
+
"essentialCharacteristics": [
|
|
47
|
+
"Can be selected to indicate current location",
|
|
48
|
+
"Supports interaction states (default, hover, down, keyboard focus, disabled, selected, dragged, error)",
|
|
49
|
+
"May include an icon and label",
|
|
50
|
+
"Label may be hidden when side navigation is minimized"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"sources": [
|
|
54
|
+
{
|
|
55
|
+
"type": "wiki",
|
|
56
|
+
"reference": "App frame (browsing) CRD",
|
|
57
|
+
"url": "https://wiki.corp.adobe.com/pages/viewpage.action?pageId=3364319543",
|
|
58
|
+
"date": "2025-01-12"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"governance": {
|
|
62
|
+
"owner": "Spectrum Core Team",
|
|
63
|
+
"reviewDate": "2025-01-12",
|
|
64
|
+
"status": "approved"
|
|
65
|
+
},
|
|
66
|
+
"relatedTerms": ["side-navigation", "navigation-item"]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "header",
|
|
70
|
+
"label": "Header",
|
|
71
|
+
"aliases": ["app header", "top bar"],
|
|
72
|
+
"description": "The top bar of an application frame",
|
|
73
|
+
"usedIn": ["component-schemas", "anatomy"],
|
|
74
|
+
"definition": {
|
|
75
|
+
"superordinate": "application frame component",
|
|
76
|
+
"description": "A horizontal bar at the top of an application that contains branding, navigation, and utility functions",
|
|
77
|
+
"essentialCharacteristics": [
|
|
78
|
+
"Spans the full width of the application",
|
|
79
|
+
"May contain header navigation items",
|
|
80
|
+
"Typically includes application branding or title",
|
|
81
|
+
"May include utility controls (search, settings, user profile)"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"sources": [
|
|
85
|
+
{
|
|
86
|
+
"type": "wiki",
|
|
87
|
+
"reference": "App frame (browsing) CRD",
|
|
88
|
+
"url": "https://wiki.corp.adobe.com/pages/viewpage.action?pageId=3364319543",
|
|
89
|
+
"date": "2025-01-12"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"governance": {
|
|
93
|
+
"owner": "Spectrum Core Team",
|
|
94
|
+
"reviewDate": "2025-01-12",
|
|
95
|
+
"status": "approved"
|
|
96
|
+
},
|
|
97
|
+
"relatedTerms": ["header-navigation-item", "side-navigation"]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "header-navigation-item",
|
|
101
|
+
"label": "Header Navigation Item",
|
|
102
|
+
"description": "An individual navigation item within the header",
|
|
103
|
+
"usedIn": ["component-schemas", "anatomy"],
|
|
104
|
+
"definition": {
|
|
105
|
+
"superordinate": "navigation element",
|
|
106
|
+
"description": "A clickable item within the header that represents a destination or action",
|
|
107
|
+
"essentialCharacteristics": [
|
|
108
|
+
"Positioned horizontally within the header",
|
|
109
|
+
"Can be selected to indicate current location",
|
|
110
|
+
"Supports interaction states (default, hover, down, keyboard focus, disabled, selected)",
|
|
111
|
+
"Typically more compact than side navigation items"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"sources": [
|
|
115
|
+
{
|
|
116
|
+
"type": "wiki",
|
|
117
|
+
"reference": "App frame (browsing) CRD",
|
|
118
|
+
"url": "https://wiki.corp.adobe.com/pages/viewpage.action?pageId=3364319543",
|
|
119
|
+
"date": "2025-01-12"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"governance": {
|
|
123
|
+
"owner": "Spectrum Core Team",
|
|
124
|
+
"reviewDate": "2025-01-12",
|
|
125
|
+
"status": "approved"
|
|
126
|
+
},
|
|
127
|
+
"relatedTerms": ["header", "navigation-item", "side-navigation-item"]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "navigation-item",
|
|
131
|
+
"label": "Navigation Item",
|
|
132
|
+
"aliases": ["nav item"],
|
|
133
|
+
"description": "A generic term for clickable navigation elements",
|
|
134
|
+
"usedIn": ["component-schemas", "tokens"],
|
|
135
|
+
"definition": {
|
|
136
|
+
"superordinate": "user interface element",
|
|
137
|
+
"description": "A clickable element that allows users to navigate to different sections or pages within an application",
|
|
138
|
+
"essentialCharacteristics": [
|
|
139
|
+
"Provides a destination or target location",
|
|
140
|
+
"Can be selected to show current location",
|
|
141
|
+
"Supports standard interaction states",
|
|
142
|
+
"May be part of various navigation patterns (side, top, breadcrumb, etc.)"
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
"terminology": {
|
|
146
|
+
"conceptType": "term",
|
|
147
|
+
"namingRationale": "Generic term used across all navigation contexts in Spectrum"
|
|
148
|
+
},
|
|
149
|
+
"sources": [
|
|
150
|
+
{
|
|
151
|
+
"type": "industry-standard",
|
|
152
|
+
"reference": "Common navigation terminology",
|
|
153
|
+
"date": "2025-01-12"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"governance": {
|
|
157
|
+
"owner": "Spectrum Core Team",
|
|
158
|
+
"reviewDate": "2025-01-12",
|
|
159
|
+
"status": "approved"
|
|
160
|
+
},
|
|
161
|
+
"relatedTerms": ["side-navigation-item", "header-navigation-item"]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "drag-area",
|
|
165
|
+
"label": "Drag Area",
|
|
166
|
+
"description": "An area that can be dragged to resize the side navigation panel",
|
|
167
|
+
"usedIn": ["component-schemas", "anatomy"],
|
|
168
|
+
"definition": {
|
|
169
|
+
"superordinate": "interactive control",
|
|
170
|
+
"description": "A focusable area along the edge of the side navigation panel that allows users to resize the panel width",
|
|
171
|
+
"essentialCharacteristics": [
|
|
172
|
+
"Smaller when a scrollbar is present",
|
|
173
|
+
"Focusable for keyboard interactions",
|
|
174
|
+
"Meets WCAG 2.5.8 target size requirements via alternate method (hamburger icon)",
|
|
175
|
+
"Enables resizing as alternative to dragging (WCAG 2.5.7)"
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"sources": [
|
|
179
|
+
{
|
|
180
|
+
"type": "wiki",
|
|
181
|
+
"reference": "App frame (browsing) CRD - Dragging accessibility notes",
|
|
182
|
+
"url": "https://wiki.corp.adobe.com/pages/viewpage.action?pageId=3364319543",
|
|
183
|
+
"date": "2025-01-12"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "industry-standard",
|
|
187
|
+
"reference": "WCAG 2.5.8 Target Size (Minimum)",
|
|
188
|
+
"url": "https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html",
|
|
189
|
+
"date": "2025-01-12"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "industry-standard",
|
|
193
|
+
"reference": "WCAG 2.5.7 Dragging Movements",
|
|
194
|
+
"url": "https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements",
|
|
195
|
+
"date": "2025-01-12"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"governance": {
|
|
199
|
+
"owner": "Spectrum Core Team",
|
|
200
|
+
"reviewDate": "2025-01-12",
|
|
201
|
+
"status": "approved"
|
|
202
|
+
},
|
|
203
|
+
"relatedTerms": ["side-navigation", "state-control"]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "state-control",
|
|
207
|
+
"label": "State Control",
|
|
208
|
+
"aliases": ["hamburger icon", "menu toggle"],
|
|
209
|
+
"description": "A control to show/hide side navigation labels or minimize/maximize the panel",
|
|
210
|
+
"usedIn": ["component-schemas", "anatomy"],
|
|
211
|
+
"definition": {
|
|
212
|
+
"superordinate": "interactive control",
|
|
213
|
+
"description": "A button control, typically represented by a hamburger icon, that toggles the visibility of side navigation labels or the panel size",
|
|
214
|
+
"essentialCharacteristics": [
|
|
215
|
+
"Provides alternate method for resizing (accessibility requirement)",
|
|
216
|
+
"Label changes based on state (e.g., 'Hide menu labels' when expanded)",
|
|
217
|
+
"Supports standard interaction states (default, hover, down, keyboard focus, disabled)",
|
|
218
|
+
"Ensures keyboard users can resize the panel"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"terminology": {
|
|
222
|
+
"conceptType": "term",
|
|
223
|
+
"namingRationale": "Named for its function (controlling state) rather than appearance (hamburger)"
|
|
224
|
+
},
|
|
225
|
+
"sources": [
|
|
226
|
+
{
|
|
227
|
+
"type": "wiki",
|
|
228
|
+
"reference": "App frame (browsing) CRD",
|
|
229
|
+
"url": "https://wiki.corp.adobe.com/pages/viewpage.action?pageId=3364319543",
|
|
230
|
+
"date": "2025-01-12"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"governance": {
|
|
234
|
+
"owner": "Spectrum Core Team",
|
|
235
|
+
"reviewDate": "2025-01-12",
|
|
236
|
+
"status": "approved"
|
|
237
|
+
},
|
|
238
|
+
"relatedTerms": ["side-navigation", "drag-area"]
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/platform-extension.json",
|
|
3
|
+
"platform": "iOS",
|
|
4
|
+
"platformVersion": "iOS 17+",
|
|
5
|
+
"description": "iOS-specific terminology for interaction states",
|
|
6
|
+
"extends": "states",
|
|
7
|
+
"extensions": [
|
|
8
|
+
{
|
|
9
|
+
"termId": "hover",
|
|
10
|
+
"platformTerm": "highlighted",
|
|
11
|
+
"platformAliases": ["isHighlighted"],
|
|
12
|
+
"notes": "iOS uses 'highlighted' state for pointer interactions on devices with pointer support (iPad with mouse/trackpad)",
|
|
13
|
+
"reference": "UIControl.State.highlighted",
|
|
14
|
+
"codeExample": "button.isHighlighted = true",
|
|
15
|
+
"differences": [
|
|
16
|
+
"Only available on iOS devices with pointer support",
|
|
17
|
+
"Not triggered by touch interactions",
|
|
18
|
+
"Maps to UIControl.State.highlighted property"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"termId": "focus",
|
|
23
|
+
"platformTerm": "focused",
|
|
24
|
+
"platformAliases": ["isFocused"],
|
|
25
|
+
"notes": "iOS uses UIFocusSystem for keyboard and pointer navigation",
|
|
26
|
+
"reference": "UIFocusEnvironment",
|
|
27
|
+
"codeExample": "view.canBecomeFocused",
|
|
28
|
+
"differences": [
|
|
29
|
+
"Part of UIFocusSystem framework",
|
|
30
|
+
"Supports both keyboard and pointer navigation",
|
|
31
|
+
"Requires implementing UIFocusEnvironment protocol"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"termId": "disabled",
|
|
36
|
+
"platformTerm": "disabled",
|
|
37
|
+
"platformAliases": ["isEnabled"],
|
|
38
|
+
"notes": "iOS uses isEnabled property (inverted boolean)",
|
|
39
|
+
"reference": "UIControl.isEnabled",
|
|
40
|
+
"codeExample": "button.isEnabled = false",
|
|
41
|
+
"differences": [
|
|
42
|
+
"Property is named 'isEnabled' but inverted (false = disabled)",
|
|
43
|
+
"Affects both visual appearance and interaction"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"termId": "selected",
|
|
48
|
+
"platformTerm": "selected",
|
|
49
|
+
"platformAliases": ["isSelected"],
|
|
50
|
+
"notes": "iOS uses isSelected for toggle-able controls",
|
|
51
|
+
"reference": "UIControl.isSelected",
|
|
52
|
+
"codeExample": "button.isSelected = true",
|
|
53
|
+
"differences": [
|
|
54
|
+
"Used for toggleable controls like checkboxes and radio buttons",
|
|
55
|
+
"Can be combined with other states (highlighted, disabled)"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/platform-extension.json",
|
|
3
|
+
"platform": "Web Components",
|
|
4
|
+
"platformVersion": "Spectrum Web Components 0.x+",
|
|
5
|
+
"description": "Web Components-specific terminology for interaction states",
|
|
6
|
+
"extends": "states",
|
|
7
|
+
"extensions": [
|
|
8
|
+
{
|
|
9
|
+
"termId": "hover",
|
|
10
|
+
"platformTerm": "hover",
|
|
11
|
+
"notes": "Implemented via CSS :hover pseudo-class",
|
|
12
|
+
"reference": ":hover pseudo-class",
|
|
13
|
+
"codeExample": ":host(:hover) { ... }",
|
|
14
|
+
"differences": [
|
|
15
|
+
"Automatically handled by browser CSS",
|
|
16
|
+
"Works with any pointing device",
|
|
17
|
+
"No JavaScript required for basic hover states"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"termId": "focus",
|
|
22
|
+
"platformTerm": "focused",
|
|
23
|
+
"platformAliases": ["focus"],
|
|
24
|
+
"notes": "Uses :focus and :focus-visible pseudo-classes",
|
|
25
|
+
"reference": ":focus-visible",
|
|
26
|
+
"codeExample": ":host(:focus-visible) { ... }",
|
|
27
|
+
"differences": [
|
|
28
|
+
"Distinguishes between programmatic and user-initiated focus",
|
|
29
|
+
":focus-visible shows focus ring only for keyboard navigation",
|
|
30
|
+
"Better accessibility with :focus-visible support"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"termId": "disabled",
|
|
35
|
+
"platformTerm": "disabled",
|
|
36
|
+
"notes": "Implemented via disabled attribute and :disabled pseudo-class",
|
|
37
|
+
"reference": "disabled attribute",
|
|
38
|
+
"codeExample": "<sp-button disabled>Label</sp-button>",
|
|
39
|
+
"differences": [
|
|
40
|
+
"Uses standard HTML disabled attribute",
|
|
41
|
+
"Prevents all interactions automatically",
|
|
42
|
+
"Affects tab order and screen reader behavior"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"termId": "keyboard-focus",
|
|
47
|
+
"platformTerm": "focus-visible",
|
|
48
|
+
"notes": "Modern CSS uses :focus-visible for keyboard-only focus indication",
|
|
49
|
+
"reference": ":focus-visible pseudo-class",
|
|
50
|
+
"codeExample": ":host(:focus-visible) { outline: 2px solid blue; }",
|
|
51
|
+
"differences": [
|
|
52
|
+
"Only shows focus indicator for keyboard navigation",
|
|
53
|
+
"Hides focus ring for mouse/touch interactions",
|
|
54
|
+
"Improves UX while maintaining accessibility"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "platform",
|
|
4
|
+
"description": "Platform names for multi-platform design system support",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "desktop",
|
|
8
|
+
"label": "Desktop",
|
|
9
|
+
"description": "Desktop platform (macOS, Windows, Linux)",
|
|
10
|
+
"usedIn": ["tokens"]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "mobile",
|
|
14
|
+
"label": "Mobile",
|
|
15
|
+
"description": "Mobile platform (iOS, Android)",
|
|
16
|
+
"usedIn": ["tokens"]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "web",
|
|
20
|
+
"label": "Web",
|
|
21
|
+
"description": "Web browsers",
|
|
22
|
+
"usedIn": ["tokens"]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "ios",
|
|
26
|
+
"label": "iOS",
|
|
27
|
+
"description": "Apple iOS mobile platform",
|
|
28
|
+
"usedIn": ["tokens"]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "android",
|
|
32
|
+
"label": "Android",
|
|
33
|
+
"description": "Google Android mobile platform",
|
|
34
|
+
"usedIn": ["tokens"]
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "scale",
|
|
4
|
+
"description": "Numeric scale values used in design tokens",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "50",
|
|
8
|
+
"label": "Scale 50",
|
|
9
|
+
"value": 50,
|
|
10
|
+
"category": "common",
|
|
11
|
+
"usedIn": ["tokens"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "75",
|
|
15
|
+
"label": "Scale 75",
|
|
16
|
+
"value": 75,
|
|
17
|
+
"category": "common",
|
|
18
|
+
"usedIn": ["tokens"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "100",
|
|
22
|
+
"label": "Scale 100",
|
|
23
|
+
"value": 100,
|
|
24
|
+
"category": "common",
|
|
25
|
+
"usedIn": ["tokens"]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "200",
|
|
29
|
+
"label": "Scale 200",
|
|
30
|
+
"value": 200,
|
|
31
|
+
"category": "common",
|
|
32
|
+
"usedIn": ["tokens"]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "300",
|
|
36
|
+
"label": "Scale 300",
|
|
37
|
+
"value": 300,
|
|
38
|
+
"category": "common",
|
|
39
|
+
"usedIn": ["tokens"]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "400",
|
|
43
|
+
"label": "Scale 400",
|
|
44
|
+
"value": 400,
|
|
45
|
+
"category": "common",
|
|
46
|
+
"usedIn": ["tokens"]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "500",
|
|
50
|
+
"label": "Scale 500",
|
|
51
|
+
"value": 500,
|
|
52
|
+
"category": "common",
|
|
53
|
+
"usedIn": ["tokens"]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "600",
|
|
57
|
+
"label": "Scale 600",
|
|
58
|
+
"value": 600,
|
|
59
|
+
"category": "extended",
|
|
60
|
+
"usedIn": ["tokens"]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "700",
|
|
64
|
+
"label": "Scale 700",
|
|
65
|
+
"value": 700,
|
|
66
|
+
"category": "extended",
|
|
67
|
+
"usedIn": ["tokens"]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "800",
|
|
71
|
+
"label": "Scale 800",
|
|
72
|
+
"value": 800,
|
|
73
|
+
"category": "extended",
|
|
74
|
+
"usedIn": ["tokens"]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "900",
|
|
78
|
+
"label": "Scale 900",
|
|
79
|
+
"value": 900,
|
|
80
|
+
"category": "extended",
|
|
81
|
+
"usedIn": ["tokens"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "1000",
|
|
85
|
+
"label": "Scale 1000",
|
|
86
|
+
"value": 1000,
|
|
87
|
+
"category": "extended",
|
|
88
|
+
"usedIn": ["tokens"]
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
|
|
3
|
+
"type": "size",
|
|
4
|
+
"description": "Standard size scale values used across Spectrum",
|
|
5
|
+
"values": [
|
|
6
|
+
{
|
|
7
|
+
"id": "xs",
|
|
8
|
+
"label": "Extra Small",
|
|
9
|
+
"aliases": ["extra-small"],
|
|
10
|
+
"usedIn": ["component-options", "component-schemas"]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "s",
|
|
14
|
+
"label": "Small",
|
|
15
|
+
"aliases": ["small"],
|
|
16
|
+
"usedIn": ["tokens", "component-options", "component-schemas"]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "m",
|
|
20
|
+
"label": "Medium",
|
|
21
|
+
"aliases": ["medium"],
|
|
22
|
+
"default": true,
|
|
23
|
+
"usedIn": ["tokens", "component-options", "component-schemas"]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "l",
|
|
27
|
+
"label": "Large",
|
|
28
|
+
"aliases": ["large"],
|
|
29
|
+
"usedIn": ["tokens", "component-options", "component-schemas"]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "xl",
|
|
33
|
+
"label": "Extra Large",
|
|
34
|
+
"aliases": ["extra-large"],
|
|
35
|
+
"usedIn": ["tokens", "component-options", "component-schemas"]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "xxl",
|
|
39
|
+
"label": "2X Large",
|
|
40
|
+
"aliases": [],
|
|
41
|
+
"usedIn": ["component-options", "component-schemas"]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "xxxl",
|
|
45
|
+
"label": "3X Large",
|
|
46
|
+
"aliases": [],
|
|
47
|
+
"usedIn": ["component-options", "component-schemas"]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "50",
|
|
51
|
+
"label": "Size 50",
|
|
52
|
+
"aliases": [],
|
|
53
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "75",
|
|
57
|
+
"label": "Size 75",
|
|
58
|
+
"aliases": [],
|
|
59
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "100",
|
|
63
|
+
"label": "Size 100",
|
|
64
|
+
"aliases": [],
|
|
65
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "200",
|
|
69
|
+
"label": "Size 200",
|
|
70
|
+
"aliases": [],
|
|
71
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "300",
|
|
75
|
+
"label": "Size 300",
|
|
76
|
+
"aliases": [],
|
|
77
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "400",
|
|
81
|
+
"label": "Size 400",
|
|
82
|
+
"aliases": [],
|
|
83
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "500",
|
|
87
|
+
"label": "Size 500",
|
|
88
|
+
"aliases": [],
|
|
89
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "600",
|
|
93
|
+
"label": "Size 600",
|
|
94
|
+
"aliases": [],
|
|
95
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "700",
|
|
99
|
+
"label": "Size 700",
|
|
100
|
+
"aliases": [],
|
|
101
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "800",
|
|
105
|
+
"label": "Size 800",
|
|
106
|
+
"aliases": [],
|
|
107
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "900",
|
|
111
|
+
"label": "Size 900",
|
|
112
|
+
"aliases": [],
|
|
113
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "1000",
|
|
117
|
+
"label": "Size 1000",
|
|
118
|
+
"aliases": [],
|
|
119
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "1100",
|
|
123
|
+
"label": "Size 1100",
|
|
124
|
+
"aliases": [],
|
|
125
|
+
"usedIn": ["component-schemas"]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "1200",
|
|
129
|
+
"label": "Size 1200",
|
|
130
|
+
"aliases": [],
|
|
131
|
+
"usedIn": ["component-schemas"]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "1300",
|
|
135
|
+
"label": "Size 1300",
|
|
136
|
+
"aliases": [],
|
|
137
|
+
"usedIn": ["component-schemas"]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "1400",
|
|
141
|
+
"label": "Size 1400",
|
|
142
|
+
"aliases": [],
|
|
143
|
+
"usedIn": ["component-schemas"]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "1500",
|
|
147
|
+
"label": "Size 1500",
|
|
148
|
+
"aliases": [],
|
|
149
|
+
"usedIn": ["component-schemas"]
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|