@adobe/spectrum-tokens 14.5.0 → 14.7.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/CHANGELOG.md +55 -0
- package/dist/json/drover.json +8 -3
- package/dist/json/variables.json +403 -319
- package/package.json +1 -1
- package/schemas/token-file.json +1 -1
- package/schemas/token-types/{text-align.json → alignment.json} +4 -4
- package/src/color-aliases.json +5 -0
- package/src/color-component.json +3 -3
- package/src/layout-component.json +458 -430
- package/src/typography.json +3 -3
package/package.json
CHANGED
package/schemas/token-file.json
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"^[a-z0-9]+(-[a-z0-9]+)*$": {
|
|
9
9
|
"anyOf": [
|
|
10
10
|
{ "$ref": "token-types/alias.json" },
|
|
11
|
+
{ "$ref": "token-types/alignment.json" },
|
|
11
12
|
{ "$ref": "token-types/color.json" },
|
|
12
13
|
{ "$ref": "token-types/color-set.json" },
|
|
13
14
|
{ "$ref": "token-types/dimension.json" },
|
|
@@ -22,7 +23,6 @@
|
|
|
22
23
|
{ "$ref": "token-types/scale-set.json" },
|
|
23
24
|
{ "$ref": "token-types/set.json" },
|
|
24
25
|
{ "$ref": "token-types/system-set.json" },
|
|
25
|
-
{ "$ref": "token-types/text-align.json" },
|
|
26
26
|
{ "$ref": "token-types/text-transform.json" },
|
|
27
27
|
{ "$ref": "token-types/token.json" },
|
|
28
28
|
{ "$ref": "token-types/typography.json" }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/
|
|
4
|
-
"title": "
|
|
5
|
-
"description": "
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alignment.json",
|
|
4
|
+
"title": "Alignment",
|
|
5
|
+
"description": "Defines an alignment value (horizontal, vertical, or text) along a single axis. Keyword values are direction-aware: 'start' and 'end' resolve based on writing mode or layout direction.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"allOf": [
|
|
8
8
|
{
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"properties": {
|
|
13
13
|
"$schema": {
|
|
14
|
-
"const": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/
|
|
14
|
+
"const": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alignment.json"
|
|
15
15
|
},
|
|
16
16
|
"value": {
|
|
17
17
|
"type": "string",
|
package/src/color-aliases.json
CHANGED
|
@@ -2502,5 +2502,10 @@
|
|
|
2502
2502
|
}
|
|
2503
2503
|
},
|
|
2504
2504
|
"uuid": "d0362576-7efc-4910-a671-b87695571050"
|
|
2505
|
+
},
|
|
2506
|
+
"stack-item-selected-background-color-highlight": {
|
|
2507
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
2508
|
+
"value": "{accent-background-color-default}",
|
|
2509
|
+
"uuid": "beaff99a-634a-4ce8-b2f4-54c63202d45b"
|
|
2505
2510
|
}
|
|
2506
2511
|
}
|
package/src/color-component.json
CHANGED
|
@@ -449,8 +449,8 @@
|
|
|
449
449
|
"stack-item-selected-background-color-down": {
|
|
450
450
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
451
451
|
"component": "stack-item",
|
|
452
|
-
"
|
|
453
|
-
"
|
|
452
|
+
"value": "{gray-300}",
|
|
453
|
+
"uuid": "1ad58d16-66da-44ae-829e-9ee1ff56a857"
|
|
454
454
|
},
|
|
455
455
|
"stack-item-selected-background-color-emphasized": {
|
|
456
456
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
@@ -608,4 +608,4 @@
|
|
|
608
608
|
"uuid": "c325ed8f-8248-40c3-a0f0-efba57638f24",
|
|
609
609
|
"value": "{gray-100}"
|
|
610
610
|
}
|
|
611
|
-
}
|
|
611
|
+
}
|