@adobe/spectrum-design-data 0.0.0-size-token-taxonomy-20260929225107
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/README.md +75 -0
- package/components/accordion.json +185 -0
- package/components/action-bar.json +89 -0
- package/components/action-button.json +167 -0
- package/components/action-group.json +190 -0
- package/components/alert-banner.json +148 -0
- package/components/alert-dialog.json +124 -0
- package/components/avatar-group.json +82 -0
- package/components/avatar.json +162 -0
- package/components/badge.json +227 -0
- package/components/bar-panel.json +14 -0
- package/components/body.json +54 -0
- package/components/bottom-navigation-android.json +72 -0
- package/components/breadcrumbs.json +213 -0
- package/components/button-group.json +122 -0
- package/components/button.json +239 -0
- package/components/calendar.json +196 -0
- package/components/card-horizontal.json +14 -0
- package/components/card.json +22 -0
- package/components/cards.json +117 -0
- package/components/checkbox-group.json +128 -0
- package/components/checkbox.json +171 -0
- package/components/close-button.json +116 -0
- package/components/coach-indicator.json +109 -0
- package/components/coach-mark.json +151 -0
- package/components/code.json +44 -0
- package/components/collection-card.json +13 -0
- package/components/color-area.json +150 -0
- package/components/color-control.json +14 -0
- package/components/color-handle.json +79 -0
- package/components/color-loupe.json +49 -0
- package/components/color-slider.json +189 -0
- package/components/color-wheel.json +137 -0
- package/components/combo-box.json +319 -0
- package/components/contextual-help.json +186 -0
- package/components/date-field.json +13 -0
- package/components/date-picker.json +297 -0
- package/components/detail.json +53 -0
- package/components/divider.json +62 -0
- package/components/double-calendar.json +13 -0
- package/components/drop-zone.json +102 -0
- package/components/field-label.json +125 -0
- package/components/field.json +13 -0
- package/components/floating-action-button.json +13 -0
- package/components/form-item.json +13 -0
- package/components/heading.json +68 -0
- package/components/help-text.json +117 -0
- package/components/illustrated-message.json +159 -0
- package/components/in-field-button.json +14 -0
- package/components/in-field-progress-button.json +88 -0
- package/components/in-field-progress-circle.json +62 -0
- package/components/in-line-alert.json +109 -0
- package/components/link.json +127 -0
- package/components/list-view.json +233 -0
- package/components/menu.json +310 -0
- package/components/meter.json +127 -0
- package/components/number-field.json +264 -0
- package/components/opacity-checkerboard.json +51 -0
- package/components/picker.json +287 -0
- package/components/popover.json +182 -0
- package/components/progress-bar.json +177 -0
- package/components/progress-circle.json +108 -0
- package/components/radio-button.json +130 -0
- package/components/radio-group.json +202 -0
- package/components/rating.json +120 -0
- package/components/scroll-zoom-bar.json +82 -0
- package/components/search-field.json +206 -0
- package/components/segmented-control.json +184 -0
- package/components/segmented-text-field.json +13 -0
- package/components/select-box.json +165 -0
- package/components/side-navigation.json +185 -0
- package/components/single-calendar.json +13 -0
- package/components/slider.json +238 -0
- package/components/stack-item.json +23 -0
- package/components/standard-dialog.json +155 -0
- package/components/standard-panel.json +135 -0
- package/components/status-light.json +175 -0
- package/components/steplist.json +127 -0
- package/components/swatch-group.json +126 -0
- package/components/swatch.json +153 -0
- package/components/switch.json +156 -0
- package/components/table.json +273 -0
- package/components/tabs.json +163 -0
- package/components/tag-field.json +147 -0
- package/components/tag-group.json +111 -0
- package/components/tag.json +123 -0
- package/components/takeover-dialog.json +129 -0
- package/components/text-area.json +299 -0
- package/components/text-field.json +263 -0
- package/components/thumbnail.json +109 -0
- package/components/time-field.json +13 -0
- package/components/title.json +53 -0
- package/components/toast.json +136 -0
- package/components/tooltip.json +171 -0
- package/components/tray.json +32 -0
- package/components/tree-view.json +270 -0
- package/components/triple-calendar.json +13 -0
- package/components/user-card.json +14 -0
- package/fields/alignment.json +15 -0
- package/fields/anatomy.json +15 -0
- package/fields/color-scheme.json +16 -0
- package/fields/colorFamily.json +16 -0
- package/fields/colorRole.json +16 -0
- package/fields/component.json +15 -0
- package/fields/contrast.json +16 -0
- package/fields/density.json +15 -0
- package/fields/easing.json +15 -0
- package/fields/emphasis.json +16 -0
- package/fields/family.json +16 -0
- package/fields/from.json +16 -0
- package/fields/icon.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/qualifier.json +15 -0
- package/fields/referenceScaleIndex.json +16 -0
- package/fields/role.json +15 -0
- package/fields/scale.json +16 -0
- package/fields/scaleIndex.json +16 -0
- package/fields/script.json +16 -0
- package/fields/shape.json +15 -0
- package/fields/size.json +15 -0
- package/fields/state.json +15 -0
- package/fields/structure.json +16 -0
- package/fields/style.json +15 -0
- package/fields/substructure.json +15 -0
- package/fields/to.json +16 -0
- package/fields/variant.json +15 -0
- package/fields/weight.json +15 -0
- package/guidelines/app-frame-content-area.json +81 -0
- package/guidelines/app-frame-creating-bluelines.json +58 -0
- package/guidelines/app-frame-header.json +72 -0
- package/guidelines/app-frame-overview.json +167 -0
- package/guidelines/app-frame-side-navigation.json +138 -0
- package/guidelines/attention-hierarchy.json +42 -0
- package/guidelines/background-layers.json +38 -0
- package/guidelines/brand.json +50 -0
- package/guidelines/colors.json +62 -0
- package/guidelines/containers.json +62 -0
- package/guidelines/developer-overview.json +35 -0
- package/guidelines/faqs.json +35 -0
- package/guidelines/fonts.json +58 -0
- package/guidelines/grays.json +66 -0
- package/guidelines/icon-fundamentals.json +45 -0
- package/guidelines/illustrations.json +111 -0
- package/guidelines/introduction.json +31 -0
- package/guidelines/manifest.json +204 -0
- package/guidelines/motion.json +41 -0
- package/guidelines/object-styles.json +102 -0
- package/guidelines/principles.json +30 -0
- package/guidelines/resources.json +59 -0
- package/guidelines/spacing.json +25 -0
- package/guidelines/states.json +34 -0
- package/guidelines/typography-fundamentals.json +142 -0
- package/guidelines/using-icons.json +107 -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 +68 -0
- package/registry/alignments.json +22 -0
- package/registry/anatomy-terms.json +860 -0
- package/registry/categories.json +55 -0
- package/registry/color-families.json +177 -0
- package/registry/color-roles.json +47 -0
- package/registry/components.json +472 -0
- package/registry/densities.json +17 -0
- package/registry/easing-curves.json +42 -0
- package/registry/glossary.json +181 -0
- package/registry/icon-terms.json +104 -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/web-components-states.json +58 -0
- package/registry/platforms.json +37 -0
- package/registry/positions.json +70 -0
- package/registry/property-terms.json +352 -0
- package/registry/qualifiers.json +47 -0
- package/registry/roles.json +17 -0
- package/registry/scale-values.json +133 -0
- package/registry/scripts.json +12 -0
- package/registry/shapes.json +27 -0
- package/registry/sizes.json +78 -0
- package/registry/states.json +187 -0
- package/registry/structures.json +67 -0
- package/registry/substructures.json +12 -0
- package/registry/token-objects.json +32 -0
- package/registry/token-terminology.json +925 -0
- package/registry/typography-emphasis.json +32 -0
- package/registry/typography-families.json +22 -0
- package/registry/typography-styles.json +22 -0
- package/registry/typography-weights.json +37 -0
- package/registry/variants.json +366 -0
- package/tokens/color-aliases.tokens.json +5579 -0
- package/tokens/color-component.tokens.json +1 -0
- package/tokens/color-palette.tokens.json +13458 -0
- package/tokens/icons.tokens.json +2777 -0
- package/tokens/layout-component.tokens.json +3121 -0
- package/tokens/layout.tokens.json +8741 -0
- package/tokens/semantic-color-palette.tokens.json +1246 -0
- package/tokens/typography.tokens.json +1447 -0
|
@@ -0,0 +1,13 @@
|
|
|
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/triple-calendar.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "triple-calendar",
|
|
6
|
+
"displayName": "Triple calendar",
|
|
7
|
+
"description": "A date-picker calendar variant displaying three consecutive months.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "inputs",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/triple-calendar/"
|
|
11
|
+
},
|
|
12
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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/user-card.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "user-card",
|
|
6
|
+
"displayName": "User card",
|
|
7
|
+
"description": "A card variant surfacing a user's identity (avatar, name) alongside supporting content.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "containers",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/user-card/"
|
|
11
|
+
},
|
|
12
|
+
"anatomy": [{ "name": "title" }],
|
|
13
|
+
"lifecycle": { "introduced": "1.0.0-draft" }
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "alignment",
|
|
5
|
+
"description": "Horizontal alignment of a text-align token. Corresponds to the CSS text-align axis.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/alignments.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 27
|
|
11
|
+
},
|
|
12
|
+
"scope": "typography",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "anatomy",
|
|
5
|
+
"description": "Visible named part of a component (e.g. handle, icon, label, track). Refers to a specific sub-element, not a styling surface.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/anatomy-terms.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 4
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "colorScheme",
|
|
5
|
+
"description": "Theme / appearance mode set. Controls which color scheme a token applies to (e.g. light, dark, wireframe). Drives cascade resolution.",
|
|
6
|
+
"kind": "mode-set",
|
|
7
|
+
"registry": null,
|
|
8
|
+
"validation": "strict",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 16
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "colorFamily",
|
|
5
|
+
"description": "Hue family of a color token (e.g. blue, gray, celery, accent). Used on color palette and semantic color tokens. Paired with scaleIndex for ramp tokens (e.g. colorFamily=blue + scaleIndex=100 → blue-100).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/color-families.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 20
|
|
11
|
+
},
|
|
12
|
+
"scope": "color",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "colorRole",
|
|
5
|
+
"description": "Semantic role of a color token within a component (e.g. primary, background). Used alongside colorFamily for component-scoped color tokens. Excluded from the legacy key; the serializer emits it via the explicit component-color branch.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/color-roles.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 19
|
|
11
|
+
},
|
|
12
|
+
"scope": "color",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "component",
|
|
5
|
+
"description": "Component scope — the UI component this token belongs to (e.g. button, checkbox, slider).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/components.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 1
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "contrast",
|
|
5
|
+
"description": "Contrast level mode set (e.g. regular, high). Drives cascade resolution.",
|
|
6
|
+
"kind": "mode-set",
|
|
7
|
+
"registry": null,
|
|
8
|
+
"validation": "strict",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 18
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "density",
|
|
5
|
+
"description": "Space density within or around component parts (e.g. spacious, compact). Distinct from the `scale` mode set.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/densities.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 13
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "easing",
|
|
5
|
+
"description": "Easing curve identifier for a motion token (e.g. ease-in, ease-out, standard). Registry is provisional until motion tokens are added to the foundation.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/easing-curves.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 24
|
|
11
|
+
},
|
|
12
|
+
"scope": "motion",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "emphasis",
|
|
5
|
+
"description": "Typographic emphasis level of a typography token (e.g. emphasized, strong, heavy, light). Distinct from the CSS font-weight axis (see `weight`) — emphasis is a relative modifier layered on a family/component, and values may compound (e.g. heavy-strong-emphasized).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/typography-emphasis.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 8
|
|
11
|
+
},
|
|
12
|
+
"scope": "typography",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": false
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "family",
|
|
5
|
+
"description": "Type family of a typography token (e.g. sans-serif, serif, code). Used to distinguish tokens that apply to different typeface classifications or usage contexts. See `script` for writing-system variants (e.g. cjk).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/typography-families.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 7
|
|
11
|
+
},
|
|
12
|
+
"scope": "typography",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": false
|
|
16
|
+
}
|
package/fields/from.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "from",
|
|
5
|
+
"description": "Semantic: the starting endpoint of a space-between measurement (e.g. top, edge, text). Paired with `to`. Value MUST be an edge position, a generic anatomy term, or (when `component` is present) an anatomy part declared on that component — see SPEC-047.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": null,
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 25
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
package/fields/icon.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "icon",
|
|
5
|
+
"description": "Icon identity for icon-family tokens (e.g. checkmark, chevron, ui). Mutually exclusive with `component`. Legacy-key placement (leading, like `component`) is handled by an explicit owner-prefix branch in `extract_legacy_key` rather than the generic position-walk, so this position value only needs to be unique — it does not control key order.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/icon-terms.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 100
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "motionRole",
|
|
5
|
+
"description": "Semantic role of a motion token — the interaction pattern it governs (e.g. enter, exit, transition, emphasis). Registry is provisional until motion tokens are added to the foundation.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/motion-roles.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 23
|
|
11
|
+
},
|
|
12
|
+
"scope": "motion",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "object",
|
|
5
|
+
"description": "Styling surface being targeted (e.g. background, border, edge, visual). Refers to what is being styled, not the property value.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/token-objects.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 5
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "orientation",
|
|
5
|
+
"description": "Direction or layout axis (e.g. vertical, horizontal).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/orientations.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 10
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "position",
|
|
5
|
+
"description": "Location relative to another object or edge (e.g. top, bottom, start, end, affixed).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/positions.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 11
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "property",
|
|
5
|
+
"description": "The stylistic attribute being defined (e.g. color, width, padding, gap). The only required field on every name object.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/property-terms.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 9
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": true,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "qualifier",
|
|
5
|
+
"description": "Behavioral or layout modifier that narrows a property/anatomy without being a state, variant, or position (e.g. stacked, multiline, precision, collapsed, expanded, drag, highlight).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/qualifiers.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 28
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "referenceScaleIndex",
|
|
5
|
+
"description": "Numeric index referencing a step in ANOTHER scale that this token corresponds to (e.g. a line-height paired with font-size tier N), distinct from scaleIndex (this token's own ramp position).",
|
|
6
|
+
"kind": "numeric",
|
|
7
|
+
"registry": null,
|
|
8
|
+
"validation": "none",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 98
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "integer",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
package/fields/role.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "role",
|
|
5
|
+
"description": "An object's role within a nesting relationship (e.g. container, control), distinct from the `size` field.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/roles.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 29
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "scale",
|
|
5
|
+
"description": "Platform density scale mode set (e.g. desktop, mobile). Drives cascade resolution.",
|
|
6
|
+
"kind": "mode-set",
|
|
7
|
+
"registry": null,
|
|
8
|
+
"validation": "strict",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 17
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "scaleIndex",
|
|
5
|
+
"description": "Numeric scale index appended at the end of the serialized name (e.g., 100, 200, 900). Used by foundational scale tokens for spacing, color palette, font sizes, border widths, corner radii, and drop-shadow values.",
|
|
6
|
+
"kind": "numeric",
|
|
7
|
+
"registry": null,
|
|
8
|
+
"validation": "none",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 99
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "integer",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "script",
|
|
5
|
+
"description": "Writing-system/script variant of a typography token (e.g. cjk). Orthogonal to `family` (typeface classification): a script and a family can combine independently (e.g. a CJK serif).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/scripts.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 6
|
|
11
|
+
},
|
|
12
|
+
"scope": "typography",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": false
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "shape",
|
|
5
|
+
"description": "Overall component shape qualifier (e.g. uniform, rounded).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/shapes.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 14
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
package/fields/size.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "size",
|
|
5
|
+
"description": "Relative t-shirt sizing of a component or token (e.g. small, medium, large, extra-large). Distinct from the `scale` mode set.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/sizes.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 12
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "state",
|
|
5
|
+
"description": "Interactive or semantic state (e.g. hover, focus, disabled, selected), as an ordered array of atomic state ids. Compound states list mode-state before interaction-state (e.g. [\"selected\", \"hover\"]).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/states.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 15
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "array"
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "structure",
|
|
5
|
+
"description": "Reusable visual pattern that occurs across many components (e.g. drop-shadow, overlay). Distinct from component.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/structures.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 2
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "style",
|
|
5
|
+
"description": "Typographic style of a typography token (e.g. italic, oblique). Corresponds to the CSS font-style axis. Normal style is omitted (default).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/typography-styles.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 22
|
|
11
|
+
},
|
|
12
|
+
"scope": "typography",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "substructure",
|
|
5
|
+
"description": "Child element within a parent structure (e.g. item within list-item, cell within table).",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/substructures.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 3
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
package/fields/to.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "to",
|
|
5
|
+
"description": "Semantic: the ending endpoint of a space-between measurement (e.g. text, visual, control). Paired with `from`. Value MUST be an edge position, a generic anatomy term, or (when `component` is present) an anatomy part declared on that component — see SPEC-047.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": null,
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 26
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string",
|
|
15
|
+
"excludeFromLegacyKey": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "variant",
|
|
5
|
+
"description": "Primary color or semantic variant (e.g. accent, negative, informative, neutral). Not for visual style treatment — see style field for that.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/variants.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 0
|
|
11
|
+
},
|
|
12
|
+
"scope": null,
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/field.schema.json",
|
|
3
|
+
"specVersion": "1.0.0-draft",
|
|
4
|
+
"name": "weight",
|
|
5
|
+
"description": "Typographic weight of a typography token (e.g. regular, bold, light, black). Corresponds to the CSS font-weight axis.",
|
|
6
|
+
"kind": "semantic",
|
|
7
|
+
"registry": "packages/design-data/registry/typography-weights.json",
|
|
8
|
+
"validation": "advisory",
|
|
9
|
+
"serialization": {
|
|
10
|
+
"position": 21
|
|
11
|
+
},
|
|
12
|
+
"scope": "typography",
|
|
13
|
+
"required": false,
|
|
14
|
+
"valueType": "string"
|
|
15
|
+
}
|