@adobe/spectrum-tokens 13.0.0-beta.45 → 13.0.0-beta.46
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 +28 -1
- package/dist/json/drover.json +14 -0
- package/dist/json/variables.json +108 -0
- package/package.json +3 -2
- package/src/color-component.json +22 -0
- package/src/layout-component.json +60 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
# @adobe/spectrum-tokens
|
|
2
2
|
|
|
3
|
+
## 13.0.0-beta.46
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#396](https://github.com/adobe/spectrum-tokens/pull/396) [`4fcfe5b`](https://github.com/adobe/spectrum-tokens/commit/4fcfe5bd83214a7ca3644646bbf0f38802a20f43) Thanks [@larz0](https://github.com/larz0)! - Added brand new tokens for the S2 Standard Panel:
|
|
8
|
+
|
|
9
|
+
## Design Motivation
|
|
10
|
+
|
|
11
|
+
Added tokens needed for the new S2 standard panel component.
|
|
12
|
+
|
|
13
|
+
## Token Diff
|
|
14
|
+
|
|
15
|
+
_Tokens Added (12):_
|
|
16
|
+
|
|
17
|
+
- `standard-panel-width`
|
|
18
|
+
- `standard-panel-minimum-width`
|
|
19
|
+
- `standard-panel-maximum-width`
|
|
20
|
+
- `standard-panel-top-to-close-button-compact`
|
|
21
|
+
- `standard-panel-top-to-close-button-regular`
|
|
22
|
+
- `standard-panel-top-to-close-button-spacious`
|
|
23
|
+
- `standard-panel-edge-to-close-button-compact`
|
|
24
|
+
- `standard-panel-edge-to-close-button-regular`
|
|
25
|
+
- `standard-panel-edge-to-close-button-spacious`
|
|
26
|
+
- `standard-panel-title-font-size`
|
|
27
|
+
- `standard-panel-gripper-color`
|
|
28
|
+
- `standard-panel-gripper-color-drag`
|
|
29
|
+
|
|
3
30
|
## 13.0.0-beta.45
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|
|
6
33
|
|
|
7
|
-
- [#390](https://github.com/adobe/spectrum-tokens/pull/390) [`cc9c304`](https://github.com/adobe/spectrum-tokens/commit/cc9c3048893058c3f01d6f1ce4688d8ab3716397) Thanks [@
|
|
34
|
+
- [#390](https://github.com/adobe/spectrum-tokens/pull/390) [`cc9c304`](https://github.com/adobe/spectrum-tokens/commit/cc9c3048893058c3f01d6f1ce4688d8ab3716397) Thanks [@lynnhao](https://github.com/lynnhao)! - Updated code tokens for S2
|
|
8
35
|
|
|
9
36
|
## Design Motivation
|
|
10
37
|
|
package/dist/json/drover.json
CHANGED
|
@@ -603,6 +603,8 @@
|
|
|
603
603
|
"silver-900": "rgb(114, 114, 114)",
|
|
604
604
|
"silver-background-color-default": "rgb(114, 114, 114)",
|
|
605
605
|
"silver-visual-color": "rgb(128, 128, 128)",
|
|
606
|
+
"standard-panel-gripper-color": "rgb(225, 225, 225)",
|
|
607
|
+
"standard-panel-gripper-color-drag": "rgb(41, 41, 41)",
|
|
606
608
|
"static-black-focus-indicator-color": "rgb(0, 0, 0)",
|
|
607
609
|
"static-black-text-color": "rgb(0, 0, 0)",
|
|
608
610
|
"static-black-track-color": "rgba(0, 0, 0, 0.15)",
|
|
@@ -1276,6 +1278,8 @@
|
|
|
1276
1278
|
"silver-900": "rgb(137, 137, 137)",
|
|
1277
1279
|
"silver-background-color-default": "rgb(108, 108, 108)",
|
|
1278
1280
|
"silver-visual-color": "rgb(137, 137, 137)",
|
|
1281
|
+
"standard-panel-gripper-color": "rgb(50, 50, 50)",
|
|
1282
|
+
"standard-panel-gripper-color-drag": "rgb(219, 219, 219)",
|
|
1279
1283
|
"static-black-focus-indicator-color": "rgb(0, 0, 0)",
|
|
1280
1284
|
"static-black-text-color": "rgb(0, 0, 0)",
|
|
1281
1285
|
"static-black-track-color": "rgba(0, 0, 0, 0.15)",
|
|
@@ -2130,6 +2134,16 @@
|
|
|
2130
2134
|
"standard-dialog-maximum-width-small": "400px",
|
|
2131
2135
|
"standard-dialog-minimum-width": "288px",
|
|
2132
2136
|
"standard-dialog-title-font-size": "22px",
|
|
2137
|
+
"standard-panel-edge-to-close-button-compact": "3px",
|
|
2138
|
+
"standard-panel-edge-to-close-button-regular": "7px",
|
|
2139
|
+
"standard-panel-edge-to-close-button-spacious": "15px",
|
|
2140
|
+
"standard-panel-maximum-width": "400px",
|
|
2141
|
+
"standard-panel-minimum-width": "200px",
|
|
2142
|
+
"standard-panel-title-font-size": "14px",
|
|
2143
|
+
"standard-panel-top-to-close-button-compact": "5px",
|
|
2144
|
+
"standard-panel-top-to-close-button-regular": "9px",
|
|
2145
|
+
"standard-panel-top-to-close-button-spacious": "17px",
|
|
2146
|
+
"standard-panel-width": "260px",
|
|
2133
2147
|
"status-light-dot-size-extra-large": "14px",
|
|
2134
2148
|
"status-light-dot-size-large": "12px",
|
|
2135
2149
|
"status-light-dot-size-medium": "10px",
|
package/dist/json/variables.json
CHANGED
|
@@ -5819,6 +5819,64 @@
|
|
|
5819
5819
|
},
|
|
5820
5820
|
"uuid": "bae79ea7-2b3e-4d43-af42-7deab67acc7c"
|
|
5821
5821
|
},
|
|
5822
|
+
"standard-panel-gripper-color-drag": {
|
|
5823
|
+
"sets": {
|
|
5824
|
+
"light": {
|
|
5825
|
+
"ref": "{gray-800}",
|
|
5826
|
+
"sets": {
|
|
5827
|
+
"light": {
|
|
5828
|
+
"value": "rgb(41, 41, 41)",
|
|
5829
|
+
"uuid": "2caf1f36-80b9-4659-90be-8d89672bb19f"
|
|
5830
|
+
},
|
|
5831
|
+
"dark": {
|
|
5832
|
+
"value": "rgb(219, 219, 219)",
|
|
5833
|
+
"uuid": "d39fc368-ec71-40cd-85e9-afb07862f2b7"
|
|
5834
|
+
},
|
|
5835
|
+
"wireframe": {
|
|
5836
|
+
"value": "rgb(73, 110, 194)",
|
|
5837
|
+
"uuid": "22e79b14-2a60-4721-8e9b-800fa9e7a128"
|
|
5838
|
+
}
|
|
5839
|
+
},
|
|
5840
|
+
"uuid": "69e2d0b3-6807-4e46-9f8a-72bf49439f36"
|
|
5841
|
+
},
|
|
5842
|
+
"dark": {
|
|
5843
|
+
"ref": "{gray-800}",
|
|
5844
|
+
"sets": {
|
|
5845
|
+
"light": {
|
|
5846
|
+
"value": "rgb(41, 41, 41)",
|
|
5847
|
+
"uuid": "2caf1f36-80b9-4659-90be-8d89672bb19f"
|
|
5848
|
+
},
|
|
5849
|
+
"dark": {
|
|
5850
|
+
"value": "rgb(219, 219, 219)",
|
|
5851
|
+
"uuid": "d39fc368-ec71-40cd-85e9-afb07862f2b7"
|
|
5852
|
+
},
|
|
5853
|
+
"wireframe": {
|
|
5854
|
+
"value": "rgb(73, 110, 194)",
|
|
5855
|
+
"uuid": "22e79b14-2a60-4721-8e9b-800fa9e7a128"
|
|
5856
|
+
}
|
|
5857
|
+
},
|
|
5858
|
+
"uuid": "e0533561-893d-4947-a0bb-d29c0bb42a2b"
|
|
5859
|
+
}
|
|
5860
|
+
}
|
|
5861
|
+
},
|
|
5862
|
+
"standard-panel-gripper-color": {
|
|
5863
|
+
"ref": "{gray-200}",
|
|
5864
|
+
"sets": {
|
|
5865
|
+
"light": {
|
|
5866
|
+
"value": "rgb(225, 225, 225)",
|
|
5867
|
+
"uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
|
|
5868
|
+
},
|
|
5869
|
+
"dark": {
|
|
5870
|
+
"value": "rgb(50, 50, 50)",
|
|
5871
|
+
"uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
|
|
5872
|
+
},
|
|
5873
|
+
"wireframe": {
|
|
5874
|
+
"value": "rgb(230, 236, 248)",
|
|
5875
|
+
"uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
|
|
5876
|
+
}
|
|
5877
|
+
},
|
|
5878
|
+
"uuid": "71840c7b-acdd-45b9-a228-5091591f5405"
|
|
5879
|
+
},
|
|
5822
5880
|
"white": {
|
|
5823
5881
|
"value": "rgb(255, 255, 255)",
|
|
5824
5882
|
"uuid": "9b799da8-2130-417e-b7ee-5e1154a89837"
|
|
@@ -21500,6 +21558,56 @@
|
|
|
21500
21558
|
},
|
|
21501
21559
|
"uuid": "6b577e2a-09c0-42bb-8b94-42034df63036"
|
|
21502
21560
|
},
|
|
21561
|
+
"standard-panel-width": {
|
|
21562
|
+
"value": "260px",
|
|
21563
|
+
"uuid": "41cd9d92-4d69-4aaa-9c95-e980aa5eb992"
|
|
21564
|
+
},
|
|
21565
|
+
"standard-panel-minimum-width": {
|
|
21566
|
+
"value": "200px",
|
|
21567
|
+
"uuid": "37ab7428-8175-409f-8e74-55e51a962139"
|
|
21568
|
+
},
|
|
21569
|
+
"standard-panel-maximum-width": {
|
|
21570
|
+
"value": "400px",
|
|
21571
|
+
"uuid": "11400ef3-c995-41bc-8a9d-eb389d95f360"
|
|
21572
|
+
},
|
|
21573
|
+
"standard-panel-top-to-close-button-compact": {
|
|
21574
|
+
"value": "5px",
|
|
21575
|
+
"uuid": "66f385cd-b60b-42dd-bfdc-aba2db6e35a2"
|
|
21576
|
+
},
|
|
21577
|
+
"standard-panel-top-to-close-button-regular": {
|
|
21578
|
+
"value": "9px",
|
|
21579
|
+
"uuid": "968a056e-4397-4a71-91f1-a0f1ebb6f751"
|
|
21580
|
+
},
|
|
21581
|
+
"standard-panel-top-to-close-button-spacious": {
|
|
21582
|
+
"value": "17px",
|
|
21583
|
+
"uuid": "96572147-20a9-4089-9904-0a0efa42a5af"
|
|
21584
|
+
},
|
|
21585
|
+
"standard-panel-edge-to-close-button-compact": {
|
|
21586
|
+
"value": "3px",
|
|
21587
|
+
"uuid": "6364d657-804c-4753-832d-09bfdf5ad36a"
|
|
21588
|
+
},
|
|
21589
|
+
"standard-panel-edge-to-close-button-regular": {
|
|
21590
|
+
"value": "7px",
|
|
21591
|
+
"uuid": "f2c9847f-2c3f-4e2e-94ed-59b6cc58f34a"
|
|
21592
|
+
},
|
|
21593
|
+
"standard-panel-edge-to-close-button-spacious": {
|
|
21594
|
+
"value": "15px",
|
|
21595
|
+
"uuid": "b9c04337-a6f5-42db-9bf9-a761c0d9f876"
|
|
21596
|
+
},
|
|
21597
|
+
"standard-panel-title-font-size": {
|
|
21598
|
+
"ref": "{title-size-s}",
|
|
21599
|
+
"sets": {
|
|
21600
|
+
"desktop": {
|
|
21601
|
+
"value": "14px",
|
|
21602
|
+
"uuid": "938e2d24-1e90-48f0-a596-595a69103707"
|
|
21603
|
+
},
|
|
21604
|
+
"mobile": {
|
|
21605
|
+
"value": "17px",
|
|
21606
|
+
"uuid": "2f9ee3cf-ccb1-4f0b-aed6-96e472fb7411"
|
|
21607
|
+
}
|
|
21608
|
+
},
|
|
21609
|
+
"uuid": "ce8278ea-da1b-4a42-bf7d-4018c9e9d18e"
|
|
21610
|
+
},
|
|
21503
21611
|
"corner-radius-0": {
|
|
21504
21612
|
"value": "0px",
|
|
21505
21613
|
"uuid": "bb9d8350-b1fb-4496-9c22-6ec9647ff117"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spectrum-tokens",
|
|
3
|
-
"version": "13.0.0-beta.
|
|
3
|
+
"version": "13.0.0-beta.46",
|
|
4
4
|
"description": "Design tokens for Spectrum, Adobe's design system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"style-dictionary": "^3.9.2",
|
|
30
30
|
"style-dictionary-sets": "^2.3.0",
|
|
31
31
|
"tar": "^7.0.1",
|
|
32
|
-
"tmp-promise": "^3.0.3"
|
|
32
|
+
"tmp-promise": "^3.0.3",
|
|
33
|
+
"@adobe/token-diff-generator": "1.0.1"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {}
|
|
35
36
|
}
|
package/src/color-component.json
CHANGED
|
@@ -417,5 +417,27 @@
|
|
|
417
417
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
418
418
|
"value": "{gray-25}",
|
|
419
419
|
"uuid": "bae79ea7-2b3e-4d43-af42-7deab67acc7c"
|
|
420
|
+
},
|
|
421
|
+
"standard-panel-gripper-color-drag": {
|
|
422
|
+
"component": "standard-panel",
|
|
423
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
|
|
424
|
+
"sets": {
|
|
425
|
+
"light": {
|
|
426
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
427
|
+
"value": "{gray-800}",
|
|
428
|
+
"uuid": "69e2d0b3-6807-4e46-9f8a-72bf49439f36"
|
|
429
|
+
},
|
|
430
|
+
"dark": {
|
|
431
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
432
|
+
"value": "{gray-800}",
|
|
433
|
+
"uuid": "e0533561-893d-4947-a0bb-d29c0bb42a2b"
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"standard-panel-gripper-color": {
|
|
438
|
+
"component": "standard-panel",
|
|
439
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
440
|
+
"value": "{gray-200}",
|
|
441
|
+
"uuid": "71840c7b-acdd-45b9-a228-5091591f5405"
|
|
420
442
|
}
|
|
421
443
|
}
|
|
@@ -8879,5 +8879,65 @@
|
|
|
8879
8879
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
8880
8880
|
"value": "{code-size-xs}",
|
|
8881
8881
|
"uuid": "6b577e2a-09c0-42bb-8b94-42034df63036"
|
|
8882
|
+
},
|
|
8883
|
+
"standard-panel-width": {
|
|
8884
|
+
"component": "standard-panel",
|
|
8885
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8886
|
+
"value": "260px",
|
|
8887
|
+
"uuid": "41cd9d92-4d69-4aaa-9c95-e980aa5eb992"
|
|
8888
|
+
},
|
|
8889
|
+
"standard-panel-minimum-width": {
|
|
8890
|
+
"component": "standard-panel",
|
|
8891
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8892
|
+
"value": "200px",
|
|
8893
|
+
"uuid": "37ab7428-8175-409f-8e74-55e51a962139"
|
|
8894
|
+
},
|
|
8895
|
+
"standard-panel-maximum-width": {
|
|
8896
|
+
"component": "standard-panel",
|
|
8897
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8898
|
+
"value": "400px",
|
|
8899
|
+
"uuid": "11400ef3-c995-41bc-8a9d-eb389d95f360"
|
|
8900
|
+
},
|
|
8901
|
+
"standard-panel-top-to-close-button-compact": {
|
|
8902
|
+
"component": "standard-panel",
|
|
8903
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8904
|
+
"value": "5px",
|
|
8905
|
+
"uuid": "66f385cd-b60b-42dd-bfdc-aba2db6e35a2"
|
|
8906
|
+
},
|
|
8907
|
+
"standard-panel-top-to-close-button-regular": {
|
|
8908
|
+
"component": "standard-panel",
|
|
8909
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8910
|
+
"value": "9px",
|
|
8911
|
+
"uuid": "968a056e-4397-4a71-91f1-a0f1ebb6f751"
|
|
8912
|
+
},
|
|
8913
|
+
"standard-panel-top-to-close-button-spacious": {
|
|
8914
|
+
"component": "standard-panel",
|
|
8915
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8916
|
+
"value": "17px",
|
|
8917
|
+
"uuid": "96572147-20a9-4089-9904-0a0efa42a5af"
|
|
8918
|
+
},
|
|
8919
|
+
"standard-panel-edge-to-close-button-compact": {
|
|
8920
|
+
"component": "standard-panel",
|
|
8921
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8922
|
+
"value": "3px",
|
|
8923
|
+
"uuid": "6364d657-804c-4753-832d-09bfdf5ad36a"
|
|
8924
|
+
},
|
|
8925
|
+
"standard-panel-edge-to-close-button-regular": {
|
|
8926
|
+
"component": "standard-panel",
|
|
8927
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8928
|
+
"value": "7px",
|
|
8929
|
+
"uuid": "f2c9847f-2c3f-4e2e-94ed-59b6cc58f34a"
|
|
8930
|
+
},
|
|
8931
|
+
"standard-panel-edge-to-close-button-spacious": {
|
|
8932
|
+
"component": "standard-panel",
|
|
8933
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8934
|
+
"value": "15px",
|
|
8935
|
+
"uuid": "b9c04337-a6f5-42db-9bf9-a761c0d9f876"
|
|
8936
|
+
},
|
|
8937
|
+
"standard-panel-title-font-size": {
|
|
8938
|
+
"component": "standard-panel",
|
|
8939
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
8940
|
+
"value": "{title-size-s}",
|
|
8941
|
+
"uuid": "ce8278ea-da1b-4a42-bf7d-4018c9e9d18e"
|
|
8882
8942
|
}
|
|
8883
8943
|
}
|