@adobe/spectrum-tokens 15.3.0 → 15.4.1
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 +21 -0
- package/dist/json/drover.json +5 -5
- package/dist/json/variables.json +10 -10
- package/package.json +1 -1
- package/src/layout.json +3 -3
- package/src/stack-item.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-design-data)
|
|
2
2
|
|
|
3
|
+
## 15.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1452](https://github.com/adobe/spectrum-design-data/pull/1452) [`d88be4e`](https://github.com/adobe/spectrum-design-data/commit/d88be4e0204abb31d9f02ce680acd0fe478057a7) Thanks [@GarthDB](https://github.com/GarthDB)! - Correct `stack-item-selected-background-color-down` to gray-200 (discussion #1415).
|
|
8
|
+
- **packages/design-data/relationships/stack-item.json**: rewired selected-down
|
|
9
|
+
background from gray-300 to gray-200, matching hover/key-focus — S2's down states
|
|
10
|
+
don't darken further, unlike S1. Regenerated legacy `packages/tokens/src/stack-item.json`
|
|
11
|
+
follows automatically.
|
|
12
|
+
|
|
13
|
+
## 15.4.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [#1440](https://github.com/adobe/spectrum-design-data/pull/1440) [`fab8733`](https://github.com/adobe/spectrum-design-data/commit/fab873306f0798c8a2f3d532e6df4eca4e0b7460) Thanks [@GarthDB](https://github.com/GarthDB)! - Correct desktop `base-padding-horizontal` values for large/extra-large/2x-large
|
|
18
|
+
to match the design decision confirmed in Figma/Tokens Studio (closes DNA-1926).
|
|
19
|
+
- **packages/tokens/src/layout.json**: `base-padding-horizontal-large` 14px→16px,
|
|
20
|
+
`base-padding-horizontal-extra-large` 16px→18px, `base-padding-horizontal-2x-large`
|
|
21
|
+
18px→20px (desktop scale only; mobile unchanged). Regenerated from the cascade
|
|
22
|
+
source fixed in #1438, which shipped without a changeset for this package.
|
|
23
|
+
|
|
3
24
|
## 15.3.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
package/dist/json/drover.json
CHANGED
|
@@ -641,7 +641,7 @@
|
|
|
641
641
|
"stack-item-background-color-hover": "rgb(233, 233, 233)",
|
|
642
642
|
"stack-item-background-color-key-focus": "rgb(233, 233, 233)",
|
|
643
643
|
"stack-item-selected-background-color-default": "rgb(233, 233, 233)",
|
|
644
|
-
"stack-item-selected-background-color-down": "rgb(
|
|
644
|
+
"stack-item-selected-background-color-down": "rgb(225, 225, 225)",
|
|
645
645
|
"stack-item-selected-background-color-emphasized": "rgb(59, 99, 251)",
|
|
646
646
|
"stack-item-selected-background-color-highlight": "rgb(59, 99, 251)",
|
|
647
647
|
"stack-item-selected-background-color-hover": "rgb(225, 225, 225)",
|
|
@@ -1405,7 +1405,7 @@
|
|
|
1405
1405
|
"stack-item-background-color-hover": "rgb(44, 44, 44)",
|
|
1406
1406
|
"stack-item-background-color-key-focus": "rgb(44, 44, 44)",
|
|
1407
1407
|
"stack-item-selected-background-color-default": "rgb(44, 44, 44)",
|
|
1408
|
-
"stack-item-selected-background-color-down": "rgb(
|
|
1408
|
+
"stack-item-selected-background-color-down": "rgb(50, 50, 50)",
|
|
1409
1409
|
"stack-item-selected-background-color-emphasized": "rgb(64, 105, 253)",
|
|
1410
1410
|
"stack-item-selected-background-color-highlight": "rgb(64, 105, 253)",
|
|
1411
1411
|
"stack-item-selected-background-color-hover": "rgb(50, 50, 50)",
|
|
@@ -1801,10 +1801,10 @@
|
|
|
1801
1801
|
"base-gap-large": "6px",
|
|
1802
1802
|
"base-gap-medium": "6px",
|
|
1803
1803
|
"base-gap-small": "4px",
|
|
1804
|
-
"base-padding-horizontal-2x-large": "
|
|
1805
|
-
"base-padding-horizontal-extra-large": "
|
|
1804
|
+
"base-padding-horizontal-2x-large": "20px",
|
|
1805
|
+
"base-padding-horizontal-extra-large": "18px",
|
|
1806
1806
|
"base-padding-horizontal-extra-small": "8px",
|
|
1807
|
-
"base-padding-horizontal-large": "
|
|
1807
|
+
"base-padding-horizontal-large": "16px",
|
|
1808
1808
|
"base-padding-horizontal-medium": "12px",
|
|
1809
1809
|
"base-padding-horizontal-small": "10px",
|
|
1810
1810
|
"base-padding-horizontal-uniform-2x-large": "15px",
|
package/dist/json/variables.json
CHANGED
|
@@ -23094,7 +23094,7 @@
|
|
|
23094
23094
|
"base-padding-horizontal-2x-large": {
|
|
23095
23095
|
"sets": {
|
|
23096
23096
|
"desktop": {
|
|
23097
|
-
"value": "
|
|
23097
|
+
"value": "20px",
|
|
23098
23098
|
"uuid": "1a49e758-b070-4d85-97c5-0f9cc786999b"
|
|
23099
23099
|
},
|
|
23100
23100
|
"mobile": {
|
|
@@ -23106,7 +23106,7 @@
|
|
|
23106
23106
|
"base-padding-horizontal-extra-large": {
|
|
23107
23107
|
"sets": {
|
|
23108
23108
|
"desktop": {
|
|
23109
|
-
"value": "
|
|
23109
|
+
"value": "18px",
|
|
23110
23110
|
"uuid": "b32fb20b-31a7-43da-ba38-b9a177d0cffa"
|
|
23111
23111
|
},
|
|
23112
23112
|
"mobile": {
|
|
@@ -23122,7 +23122,7 @@
|
|
|
23122
23122
|
"base-padding-horizontal-large": {
|
|
23123
23123
|
"sets": {
|
|
23124
23124
|
"desktop": {
|
|
23125
|
-
"value": "
|
|
23125
|
+
"value": "16px",
|
|
23126
23126
|
"uuid": "ece70425-e509-45cc-8336-76fc8afdb921"
|
|
23127
23127
|
},
|
|
23128
23128
|
"mobile": {
|
|
@@ -30303,19 +30303,19 @@
|
|
|
30303
30303
|
"uuid": "128c4963-471a-44e3-9fb5-328d92d0266d"
|
|
30304
30304
|
},
|
|
30305
30305
|
"stack-item-selected-background-color-down": {
|
|
30306
|
-
"ref": "{gray-
|
|
30306
|
+
"ref": "{gray-200}",
|
|
30307
30307
|
"sets": {
|
|
30308
30308
|
"light": {
|
|
30309
|
-
"value": "rgb(
|
|
30310
|
-
"uuid": "
|
|
30309
|
+
"value": "rgb(225, 225, 225)",
|
|
30310
|
+
"uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
|
|
30311
30311
|
},
|
|
30312
30312
|
"dark": {
|
|
30313
|
-
"value": "rgb(
|
|
30314
|
-
"uuid": "
|
|
30313
|
+
"value": "rgb(50, 50, 50)",
|
|
30314
|
+
"uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
|
|
30315
30315
|
},
|
|
30316
30316
|
"wireframe": {
|
|
30317
|
-
"value": "rgb(
|
|
30318
|
-
"uuid": "
|
|
30317
|
+
"value": "rgb(214, 224, 246)",
|
|
30318
|
+
"uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
|
|
30319
30319
|
}
|
|
30320
30320
|
},
|
|
30321
30321
|
"uuid": "1ad58d16-66da-44ae-829e-9ee1ff56a857"
|
package/package.json
CHANGED
package/src/layout.json
CHANGED
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"sets": {
|
|
174
174
|
"desktop": {
|
|
175
175
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
|
|
176
|
-
"value": "
|
|
176
|
+
"value": "20px",
|
|
177
177
|
"uuid": "1a49e758-b070-4d85-97c5-0f9cc786999b"
|
|
178
178
|
},
|
|
179
179
|
"mobile": {
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"sets": {
|
|
191
191
|
"desktop": {
|
|
192
192
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
|
|
193
|
-
"value": "
|
|
193
|
+
"value": "18px",
|
|
194
194
|
"uuid": "b32fb20b-31a7-43da-ba38-b9a177d0cffa"
|
|
195
195
|
},
|
|
196
196
|
"mobile": {
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"sets": {
|
|
214
214
|
"desktop": {
|
|
215
215
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
|
|
216
|
-
"value": "
|
|
216
|
+
"value": "16px",
|
|
217
217
|
"uuid": "ece70425-e509-45cc-8336-76fc8afdb921"
|
|
218
218
|
},
|
|
219
219
|
"mobile": {
|
package/src/stack-item.json
CHANGED
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"stack-item-selected-background-color-down": {
|
|
155
155
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
156
156
|
"component": "stack-item",
|
|
157
|
-
"value": "{gray-
|
|
157
|
+
"value": "{gray-200}",
|
|
158
158
|
"uuid": "1ad58d16-66da-44ae-829e-9ee1ff56a857"
|
|
159
159
|
},
|
|
160
160
|
"stack-item-selected-background-color-emphasized": {
|