@adobe/spectrum-tokens 12.0.0-beta.67 → 12.0.0-beta.68
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 +7 -4
- package/dist/json/drover.json +40 -1
- package/dist/json/variables.json +409 -30
- package/manifest.json +9 -0
- package/package.json +9 -6
- package/src/color-component.json +12 -0
- package/src/layout-component.json +74 -31
- package/src/typography.json +24 -0
- package/tasks/buildManifest.js +8 -0
- package/tasks/deprecateExpress.js +11 -0
- package/tasks/lib/augmentExpressTokens.js +40 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
# [12.0.0-beta.
|
|
1
|
+
# [12.0.0-beta.68](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.67...v12.0.0-beta.68) (2023-02-11)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* token
|
|
6
|
+
* fixed missing token sets for color loupe ([7de5d5b](https://github.com/adobe/spectrum-tokens/commit/7de5d5bf4148e565336b65aed8691275896c0b87))
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
10
10
|
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* added detail typography tokens for uppercase, DNA-1257 ([a4fce7e](https://github.com/adobe/spectrum-tokens/commit/a4fce7e3b197f23f92a5f8f869d4cf11f32339dc))
|
|
12
|
+
* added dropzone tokens, DNA-1258 ([c0ce9df](https://github.com/adobe/spectrum-tokens/commit/c0ce9dfe39f0a9a22ac5b3ba31bebb4c80aa48e4))
|
|
13
|
+
* added new alert dialog typography tokens, DNA-1255 ([f590663](https://github.com/adobe/spectrum-tokens/commit/f590663292178e5d261013d4e830de487fcadd25))
|
|
14
|
+
* new typography color tokens, DNA-1254 ([b836ae5](https://github.com/adobe/spectrum-tokens/commit/b836ae5e47014e6a5eca23e9e574b5f6d27a04b1))
|
|
15
|
+
* updated color-wheel-minimum-width and added color-wheel-width, DNA-1256 ([57ee5f4](https://github.com/adobe/spectrum-tokens/commit/57ee5f425abde5941c486224c91b3bd4d82a3261))
|
package/dist/json/drover.json
CHANGED
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"blue-900": "rgb(2, 101, 220)",
|
|
56
56
|
"blue-background-color-default": "rgb(2, 101, 220)",
|
|
57
57
|
"blue-visual-color": "rgb(20, 122, 243)",
|
|
58
|
+
"body-color": "rgb(34, 34, 34)",
|
|
58
59
|
"border-width-100": "1px",
|
|
59
60
|
"card-selection-background-color": "rgb(248, 248, 248)",
|
|
60
61
|
"celery-100": "rgb(205, 252, 191)",
|
|
@@ -89,11 +90,16 @@
|
|
|
89
90
|
"chartreuse-900": "rgb(87, 116, 0)",
|
|
90
91
|
"chartreuse-background-color-default": "rgb(152, 197, 10)",
|
|
91
92
|
"chartreuse-visual-color": "rgb(135, 177, 3)",
|
|
93
|
+
"code-color": "rgb(34, 34, 34)",
|
|
92
94
|
"color-area-border-color": "rgb(0, 0, 0)",
|
|
93
95
|
"color-area-border-width": "1px",
|
|
96
|
+
"color-loupe-bottom-to-color-handle": "12px",
|
|
94
97
|
"color-loupe-drop-shadow-color": "rgba(0, 0, 0, 0.25)",
|
|
98
|
+
"color-loupe-height": "64px",
|
|
95
99
|
"color-loupe-inner-border": "rgba(0, 0, 0, 0.1)",
|
|
100
|
+
"color-loupe-inner-border-width": "2px",
|
|
96
101
|
"color-loupe-outer-border": "rgb(255, 255, 255)",
|
|
102
|
+
"color-loupe-width": "48px",
|
|
97
103
|
"color-slider-border-color": "rgb(0, 0, 0)",
|
|
98
104
|
"cyan-100": "rgb(197, 248, 255)",
|
|
99
105
|
"cyan-1000": "rgb(0, 93, 137)",
|
|
@@ -111,6 +117,7 @@
|
|
|
111
117
|
"cyan-900": "rgb(0, 113, 159)",
|
|
112
118
|
"cyan-background-color-default": "rgb(0, 113, 159)",
|
|
113
119
|
"cyan-visual-color": "rgb(18, 176, 218)",
|
|
120
|
+
"detail-color": "rgb(0, 0, 0)",
|
|
114
121
|
"disabled-background-color": "rgb(230, 230, 230)",
|
|
115
122
|
"disabled-border-color": "rgb(213, 213, 213)",
|
|
116
123
|
"disabled-content-color": "rgb(177, 177, 177)",
|
|
@@ -121,6 +128,7 @@
|
|
|
121
128
|
"disabled-static-white-border-color": "rgba(255, 255, 255, 0.25)",
|
|
122
129
|
"disabled-static-white-content-color": "rgba(255, 255, 255, 0.55)",
|
|
123
130
|
"drop-shadow-color": "rgba(0, 0, 0, 0.15)",
|
|
131
|
+
"drop-zone-background-color": "rgb(20, 122, 243)",
|
|
124
132
|
"focus-indicator-color": "rgb(20, 122, 243)",
|
|
125
133
|
"fuchsia-100": "rgb(255, 233, 252)",
|
|
126
134
|
"fuchsia-1000": "rgb(157, 3, 158)",
|
|
@@ -168,6 +176,7 @@
|
|
|
168
176
|
"green-background-color-default": "rgb(0, 122, 77)",
|
|
169
177
|
"green-visual-color": "rgb(21, 164, 110)",
|
|
170
178
|
"heading-cjk-font-weight": "extra-bold",
|
|
179
|
+
"heading-color": "rgb(0, 0, 0)",
|
|
171
180
|
"heading-sans-serif-emphasized-font-weight": "bold",
|
|
172
181
|
"heading-sans-serif-font-weight": "bold",
|
|
173
182
|
"heading-serif-emphasized-font-weight": "bold",
|
|
@@ -465,6 +474,7 @@
|
|
|
465
474
|
"blue-900": "rgb(114, 183, 249)",
|
|
466
475
|
"blue-background-color-default": "rgb(52, 143, 244)",
|
|
467
476
|
"blue-visual-color": "rgb(114, 183, 249)",
|
|
477
|
+
"body-color": "rgb(235, 235, 235)",
|
|
468
478
|
"border-width-100": "1px",
|
|
469
479
|
"card-selection-background-color": "rgb(50, 50, 50)",
|
|
470
480
|
"celery-100": "rgb(0, 69, 10)",
|
|
@@ -499,11 +509,16 @@
|
|
|
499
509
|
"chartreuse-900": "rgb(148, 192, 8)",
|
|
500
510
|
"chartreuse-background-color-default": "rgb(148, 192, 8)",
|
|
501
511
|
"chartreuse-visual-color": "rgb(148, 192, 8)",
|
|
512
|
+
"code-color": "rgb(235, 235, 235)",
|
|
502
513
|
"color-area-border-color": "rgb(255, 255, 255)",
|
|
503
514
|
"color-area-border-width": "1px",
|
|
515
|
+
"color-loupe-bottom-to-color-handle": "12px",
|
|
504
516
|
"color-loupe-drop-shadow-color": "rgba(0, 0, 0, 0.25)",
|
|
517
|
+
"color-loupe-height": "64px",
|
|
505
518
|
"color-loupe-inner-border": "rgba(0, 0, 0, 0.1)",
|
|
519
|
+
"color-loupe-inner-border-width": "2px",
|
|
506
520
|
"color-loupe-outer-border": "rgb(255, 255, 255)",
|
|
521
|
+
"color-loupe-width": "48px",
|
|
507
522
|
"color-slider-border-color": "rgb(255, 255, 255)",
|
|
508
523
|
"cyan-100": "rgb(0, 61, 98)",
|
|
509
524
|
"cyan-1000": "rgb(84, 211, 241)",
|
|
@@ -521,6 +536,7 @@
|
|
|
521
536
|
"cyan-900": "rgb(44, 193, 230)",
|
|
522
537
|
"cyan-background-color-default": "rgb(0, 153, 198)",
|
|
523
538
|
"cyan-visual-color": "rgb(44, 193, 230)",
|
|
539
|
+
"detail-color": "rgb(255, 255, 255)",
|
|
524
540
|
"disabled-background-color": "rgb(63, 63, 63)",
|
|
525
541
|
"disabled-border-color": "rgb(84, 84, 84)",
|
|
526
542
|
"disabled-content-color": "rgb(112, 112, 112)",
|
|
@@ -531,6 +547,7 @@
|
|
|
531
547
|
"disabled-static-white-border-color": "rgba(255, 255, 255, 0.25)",
|
|
532
548
|
"disabled-static-white-content-color": "rgba(255, 255, 255, 0.55)",
|
|
533
549
|
"drop-shadow-color": "rgba(0, 0, 0, 0.5)",
|
|
550
|
+
"drop-zone-background-color": "rgb(114, 183, 249)",
|
|
534
551
|
"focus-indicator-color": "rgb(84, 163, 246)",
|
|
535
552
|
"fuchsia-100": "rgb(107, 3, 106)",
|
|
536
553
|
"fuchsia-1000": "rgb(250, 168, 245)",
|
|
@@ -578,6 +595,7 @@
|
|
|
578
595
|
"green-background-color-default": "rgb(18, 162, 108)",
|
|
579
596
|
"green-visual-color": "rgb(43, 180, 125)",
|
|
580
597
|
"heading-cjk-font-weight": "extra-bold",
|
|
598
|
+
"heading-color": "rgb(255, 255, 255)",
|
|
581
599
|
"heading-sans-serif-emphasized-font-weight": "bold",
|
|
582
600
|
"heading-sans-serif-font-weight": "bold",
|
|
583
601
|
"heading-serif-emphasized-font-weight": "bold",
|
|
@@ -875,6 +893,7 @@
|
|
|
875
893
|
"blue-900": "rgb(94, 170, 247)",
|
|
876
894
|
"blue-background-color-default": "rgb(29, 128, 245)",
|
|
877
895
|
"blue-visual-color": "rgb(94, 170, 247)",
|
|
896
|
+
"body-color": "rgb(235, 235, 235)",
|
|
878
897
|
"border-width-100": "1px",
|
|
879
898
|
"card-selection-background-color": "rgb(29, 29, 29)",
|
|
880
899
|
"celery-100": "rgb(0, 47, 7)",
|
|
@@ -909,11 +928,16 @@
|
|
|
909
928
|
"chartreuse-900": "rgb(138, 180, 3)",
|
|
910
929
|
"chartreuse-background-color-default": "rgb(138, 180, 3)",
|
|
911
930
|
"chartreuse-visual-color": "rgb(138, 180, 3)",
|
|
931
|
+
"code-color": "rgb(235, 235, 235)",
|
|
912
932
|
"color-area-border-color": "rgb(255, 255, 255)",
|
|
913
933
|
"color-area-border-width": "1px",
|
|
934
|
+
"color-loupe-bottom-to-color-handle": "12px",
|
|
914
935
|
"color-loupe-drop-shadow-color": "rgba(0, 0, 0, 0.25)",
|
|
936
|
+
"color-loupe-height": "64px",
|
|
915
937
|
"color-loupe-inner-border": "rgba(0, 0, 0, 0.1)",
|
|
938
|
+
"color-loupe-inner-border-width": "2px",
|
|
916
939
|
"color-loupe-outer-border": "rgb(255, 255, 255)",
|
|
940
|
+
"color-loupe-width": "48px",
|
|
917
941
|
"color-slider-border-color": "rgb(255, 255, 255)",
|
|
918
942
|
"cyan-100": "rgb(0, 41, 68)",
|
|
919
943
|
"cyan-1000": "rgb(57, 199, 234)",
|
|
@@ -931,6 +955,7 @@
|
|
|
931
955
|
"cyan-900": "rgb(23, 180, 221)",
|
|
932
956
|
"cyan-background-color-default": "rgb(0, 140, 186)",
|
|
933
957
|
"cyan-visual-color": "rgb(23, 180, 221)",
|
|
958
|
+
"detail-color": "rgb(255, 255, 255)",
|
|
934
959
|
"disabled-background-color": "rgb(48, 48, 48)",
|
|
935
960
|
"disabled-border-color": "rgb(75, 75, 75)",
|
|
936
961
|
"disabled-content-color": "rgb(106, 106, 106)",
|
|
@@ -941,6 +966,7 @@
|
|
|
941
966
|
"disabled-static-white-border-color": "rgba(255, 255, 255, 0.25)",
|
|
942
967
|
"disabled-static-white-content-color": "rgba(255, 255, 255, 0.55)",
|
|
943
968
|
"drop-shadow-color": "rgba(0, 0, 0, 0.8)",
|
|
969
|
+
"drop-zone-background-color": "rgb(94, 170, 247)",
|
|
944
970
|
"focus-indicator-color": "rgb(64, 150, 243)",
|
|
945
971
|
"fuchsia-100": "rgb(70, 14, 68)",
|
|
946
972
|
"fuchsia-1000": "rgb(246, 149, 243)",
|
|
@@ -988,6 +1014,7 @@
|
|
|
988
1014
|
"green-background-color-default": "rgb(0, 149, 98)",
|
|
989
1015
|
"green-visual-color": "rgb(28, 168, 114)",
|
|
990
1016
|
"heading-cjk-font-weight": "extra-bold",
|
|
1017
|
+
"heading-color": "rgb(255, 255, 255)",
|
|
991
1018
|
"heading-sans-serif-emphasized-font-weight": "bold",
|
|
992
1019
|
"heading-sans-serif-font-weight": "bold",
|
|
993
1020
|
"heading-serif-emphasized-font-weight": "bold",
|
|
@@ -1257,8 +1284,10 @@
|
|
|
1257
1284
|
"alert-banner-to-top-text": "14px",
|
|
1258
1285
|
"alert-banner-to-top-workflow-icon": "15px",
|
|
1259
1286
|
"alert-banner-width": "832px",
|
|
1287
|
+
"alert-dialog-description-size": "14px",
|
|
1260
1288
|
"alert-dialog-maximum-width": "480px",
|
|
1261
1289
|
"alert-dialog-minimum-width": "288px",
|
|
1290
|
+
"alert-dialog-title-size": "18px",
|
|
1262
1291
|
"avatar-opacity-disabled": "0.3",
|
|
1263
1292
|
"avatar-size-100": "20px",
|
|
1264
1293
|
"avatar-size-200": "22px",
|
|
@@ -1353,7 +1382,8 @@
|
|
|
1353
1382
|
"color-slider-length": "192px",
|
|
1354
1383
|
"color-slider-minimum-length": "200px",
|
|
1355
1384
|
"color-wheel-color-area-margin": "12px",
|
|
1356
|
-
"color-wheel-minimum-width": "
|
|
1385
|
+
"color-wheel-minimum-width": "175px",
|
|
1386
|
+
"color-wheel-width": "192px",
|
|
1357
1387
|
"combo-box-minimum-width-multiplier": "2.5",
|
|
1358
1388
|
"combo-box-visual-to-field-button-extra-large": "10px",
|
|
1359
1389
|
"combo-box-visual-to-field-button-large": "9px",
|
|
@@ -1433,6 +1463,15 @@
|
|
|
1433
1463
|
"drop-shadow-blur": "4px",
|
|
1434
1464
|
"drop-shadow-x": "0px",
|
|
1435
1465
|
"drop-shadow-y": "1px",
|
|
1466
|
+
"drop-zone-background-color-opacity": "0.1",
|
|
1467
|
+
"drop-zone-background-color-opacity-filled": "0.3",
|
|
1468
|
+
"drop-zone-body-size": "14px",
|
|
1469
|
+
"drop-zone-border-dash-gap": "4px",
|
|
1470
|
+
"drop-zone-border-dash-length": "8px",
|
|
1471
|
+
"drop-zone-cjk-title-size": "20px",
|
|
1472
|
+
"drop-zone-content-maximum-width": "380px",
|
|
1473
|
+
"drop-zone-title-size": "22px",
|
|
1474
|
+
"drop-zone-width": "428px",
|
|
1436
1475
|
"field-edge-to-alert-icon-extra-large": "18px",
|
|
1437
1476
|
"field-edge-to-alert-icon-large": "15px",
|
|
1438
1477
|
"field-edge-to-alert-icon-medium": "12px",
|
package/dist/json/variables.json
CHANGED
|
@@ -5891,6 +5891,173 @@
|
|
|
5891
5891
|
"card-selection-background-color-opacity": {
|
|
5892
5892
|
"value": "0.95"
|
|
5893
5893
|
},
|
|
5894
|
+
"drop-zone-background-color": {
|
|
5895
|
+
"ref": "{accent-visual-color}",
|
|
5896
|
+
"sets": {
|
|
5897
|
+
"light": {
|
|
5898
|
+
"ref": "{accent-color-800}",
|
|
5899
|
+
"sets": {
|
|
5900
|
+
"spectrum": {
|
|
5901
|
+
"ref": "{blue-800}",
|
|
5902
|
+
"sets": {
|
|
5903
|
+
"light": {
|
|
5904
|
+
"value": "rgb(20, 122, 243)"
|
|
5905
|
+
},
|
|
5906
|
+
"dark": {
|
|
5907
|
+
"value": "rgb(84, 163, 246)"
|
|
5908
|
+
},
|
|
5909
|
+
"darkest": {
|
|
5910
|
+
"value": "rgb(64, 150, 243)"
|
|
5911
|
+
},
|
|
5912
|
+
"wireframe": {
|
|
5913
|
+
"value": "rgb(173, 192, 233)"
|
|
5914
|
+
}
|
|
5915
|
+
}
|
|
5916
|
+
},
|
|
5917
|
+
"express": {
|
|
5918
|
+
"ref": "{indigo-800}",
|
|
5919
|
+
"sets": {
|
|
5920
|
+
"light": {
|
|
5921
|
+
"value": "rgb(104, 109, 244)"
|
|
5922
|
+
},
|
|
5923
|
+
"dark": {
|
|
5924
|
+
"value": "rgb(145, 149, 255)"
|
|
5925
|
+
},
|
|
5926
|
+
"darkest": {
|
|
5927
|
+
"value": "rgb(132, 136, 253)"
|
|
5928
|
+
},
|
|
5929
|
+
"wireframe": {
|
|
5930
|
+
"value": "rgb(173, 192, 233)"
|
|
5931
|
+
}
|
|
5932
|
+
}
|
|
5933
|
+
}
|
|
5934
|
+
}
|
|
5935
|
+
},
|
|
5936
|
+
"dark": {
|
|
5937
|
+
"ref": "{accent-color-900}",
|
|
5938
|
+
"sets": {
|
|
5939
|
+
"spectrum": {
|
|
5940
|
+
"ref": "{blue-900}",
|
|
5941
|
+
"sets": {
|
|
5942
|
+
"light": {
|
|
5943
|
+
"value": "rgb(2, 101, 220)"
|
|
5944
|
+
},
|
|
5945
|
+
"dark": {
|
|
5946
|
+
"value": "rgb(114, 183, 249)"
|
|
5947
|
+
},
|
|
5948
|
+
"darkest": {
|
|
5949
|
+
"value": "rgb(94, 170, 247)"
|
|
5950
|
+
},
|
|
5951
|
+
"wireframe": {
|
|
5952
|
+
"value": "rgb(154, 177, 227)"
|
|
5953
|
+
}
|
|
5954
|
+
}
|
|
5955
|
+
},
|
|
5956
|
+
"express": {
|
|
5957
|
+
"ref": "{indigo-900}",
|
|
5958
|
+
"sets": {
|
|
5959
|
+
"light": {
|
|
5960
|
+
"value": "rgb(82, 88, 228)"
|
|
5961
|
+
},
|
|
5962
|
+
"dark": {
|
|
5963
|
+
"value": "rgb(167, 170, 255)"
|
|
5964
|
+
},
|
|
5965
|
+
"darkest": {
|
|
5966
|
+
"value": "rgb(153, 157, 255)"
|
|
5967
|
+
},
|
|
5968
|
+
"wireframe": {
|
|
5969
|
+
"value": "rgb(154, 177, 227)"
|
|
5970
|
+
}
|
|
5971
|
+
}
|
|
5972
|
+
}
|
|
5973
|
+
}
|
|
5974
|
+
},
|
|
5975
|
+
"darkest": {
|
|
5976
|
+
"ref": "{accent-color-900}",
|
|
5977
|
+
"sets": {
|
|
5978
|
+
"spectrum": {
|
|
5979
|
+
"ref": "{blue-900}",
|
|
5980
|
+
"sets": {
|
|
5981
|
+
"light": {
|
|
5982
|
+
"value": "rgb(2, 101, 220)"
|
|
5983
|
+
},
|
|
5984
|
+
"dark": {
|
|
5985
|
+
"value": "rgb(114, 183, 249)"
|
|
5986
|
+
},
|
|
5987
|
+
"darkest": {
|
|
5988
|
+
"value": "rgb(94, 170, 247)"
|
|
5989
|
+
},
|
|
5990
|
+
"wireframe": {
|
|
5991
|
+
"value": "rgb(154, 177, 227)"
|
|
5992
|
+
}
|
|
5993
|
+
}
|
|
5994
|
+
},
|
|
5995
|
+
"express": {
|
|
5996
|
+
"ref": "{indigo-900}",
|
|
5997
|
+
"sets": {
|
|
5998
|
+
"light": {
|
|
5999
|
+
"value": "rgb(82, 88, 228)"
|
|
6000
|
+
},
|
|
6001
|
+
"dark": {
|
|
6002
|
+
"value": "rgb(167, 170, 255)"
|
|
6003
|
+
},
|
|
6004
|
+
"darkest": {
|
|
6005
|
+
"value": "rgb(153, 157, 255)"
|
|
6006
|
+
},
|
|
6007
|
+
"wireframe": {
|
|
6008
|
+
"value": "rgb(154, 177, 227)"
|
|
6009
|
+
}
|
|
6010
|
+
}
|
|
6011
|
+
}
|
|
6012
|
+
}
|
|
6013
|
+
},
|
|
6014
|
+
"wireframe": {
|
|
6015
|
+
"ref": "{accent-color-900}",
|
|
6016
|
+
"sets": {
|
|
6017
|
+
"spectrum": {
|
|
6018
|
+
"ref": "{blue-900}",
|
|
6019
|
+
"sets": {
|
|
6020
|
+
"light": {
|
|
6021
|
+
"value": "rgb(2, 101, 220)"
|
|
6022
|
+
},
|
|
6023
|
+
"dark": {
|
|
6024
|
+
"value": "rgb(114, 183, 249)"
|
|
6025
|
+
},
|
|
6026
|
+
"darkest": {
|
|
6027
|
+
"value": "rgb(94, 170, 247)"
|
|
6028
|
+
},
|
|
6029
|
+
"wireframe": {
|
|
6030
|
+
"value": "rgb(154, 177, 227)"
|
|
6031
|
+
}
|
|
6032
|
+
}
|
|
6033
|
+
},
|
|
6034
|
+
"express": {
|
|
6035
|
+
"ref": "{indigo-900}",
|
|
6036
|
+
"sets": {
|
|
6037
|
+
"light": {
|
|
6038
|
+
"value": "rgb(82, 88, 228)"
|
|
6039
|
+
},
|
|
6040
|
+
"dark": {
|
|
6041
|
+
"value": "rgb(167, 170, 255)"
|
|
6042
|
+
},
|
|
6043
|
+
"darkest": {
|
|
6044
|
+
"value": "rgb(153, 157, 255)"
|
|
6045
|
+
},
|
|
6046
|
+
"wireframe": {
|
|
6047
|
+
"value": "rgb(154, 177, 227)"
|
|
6048
|
+
}
|
|
6049
|
+
}
|
|
6050
|
+
}
|
|
6051
|
+
}
|
|
6052
|
+
}
|
|
6053
|
+
}
|
|
6054
|
+
},
|
|
6055
|
+
"drop-zone-background-color-opacity": {
|
|
6056
|
+
"value": "0.1"
|
|
6057
|
+
},
|
|
6058
|
+
"drop-zone-background-color-opacity-filled": {
|
|
6059
|
+
"value": "0.3"
|
|
6060
|
+
},
|
|
5894
6061
|
"white": {
|
|
5895
6062
|
"value": "rgb(255, 255, 255)"
|
|
5896
6063
|
},
|
|
@@ -11174,6 +11341,58 @@
|
|
|
11174
11341
|
"alert-dialog-maximum-width": {
|
|
11175
11342
|
"value": "480px"
|
|
11176
11343
|
},
|
|
11344
|
+
"alert-dialog-title-size": {
|
|
11345
|
+
"sets": {
|
|
11346
|
+
"desktop": {
|
|
11347
|
+
"ref": "{heading-size-s}",
|
|
11348
|
+
"sets": {
|
|
11349
|
+
"desktop": {
|
|
11350
|
+
"value": "18px"
|
|
11351
|
+
},
|
|
11352
|
+
"mobile": {
|
|
11353
|
+
"value": "22px"
|
|
11354
|
+
}
|
|
11355
|
+
}
|
|
11356
|
+
},
|
|
11357
|
+
"mobile": {
|
|
11358
|
+
"ref": "{heading-size-xs}",
|
|
11359
|
+
"sets": {
|
|
11360
|
+
"desktop": {
|
|
11361
|
+
"value": "16px"
|
|
11362
|
+
},
|
|
11363
|
+
"mobile": {
|
|
11364
|
+
"value": "19px"
|
|
11365
|
+
}
|
|
11366
|
+
}
|
|
11367
|
+
}
|
|
11368
|
+
}
|
|
11369
|
+
},
|
|
11370
|
+
"alert-dialog-description-size": {
|
|
11371
|
+
"sets": {
|
|
11372
|
+
"desktop": {
|
|
11373
|
+
"ref": "{body-size-s}",
|
|
11374
|
+
"sets": {
|
|
11375
|
+
"desktop": {
|
|
11376
|
+
"value": "14px"
|
|
11377
|
+
},
|
|
11378
|
+
"mobile": {
|
|
11379
|
+
"value": "17px"
|
|
11380
|
+
}
|
|
11381
|
+
}
|
|
11382
|
+
},
|
|
11383
|
+
"mobile": {
|
|
11384
|
+
"ref": "{body-size-xs}",
|
|
11385
|
+
"sets": {
|
|
11386
|
+
"desktop": {
|
|
11387
|
+
"value": "12px"
|
|
11388
|
+
},
|
|
11389
|
+
"mobile": {
|
|
11390
|
+
"value": "15px"
|
|
11391
|
+
}
|
|
11392
|
+
}
|
|
11393
|
+
}
|
|
11394
|
+
}
|
|
11395
|
+
},
|
|
11177
11396
|
"opacity-checkerboard-square-size": {
|
|
11178
11397
|
"sets": {
|
|
11179
11398
|
"desktop": {
|
|
@@ -11589,7 +11808,7 @@
|
|
|
11589
11808
|
"express": {}
|
|
11590
11809
|
}
|
|
11591
11810
|
},
|
|
11592
|
-
"color-wheel-
|
|
11811
|
+
"color-wheel-width": {
|
|
11593
11812
|
"sets": {
|
|
11594
11813
|
"desktop": {
|
|
11595
11814
|
"value": "192px"
|
|
@@ -11599,6 +11818,16 @@
|
|
|
11599
11818
|
}
|
|
11600
11819
|
}
|
|
11601
11820
|
},
|
|
11821
|
+
"color-wheel-minimum-width": {
|
|
11822
|
+
"sets": {
|
|
11823
|
+
"desktop": {
|
|
11824
|
+
"value": "175px"
|
|
11825
|
+
},
|
|
11826
|
+
"mobile": {
|
|
11827
|
+
"value": "219px"
|
|
11828
|
+
}
|
|
11829
|
+
}
|
|
11830
|
+
},
|
|
11602
11831
|
"color-wheel-color-area-margin": {
|
|
11603
11832
|
"value": "12px"
|
|
11604
11833
|
},
|
|
@@ -11711,89 +11940,165 @@
|
|
|
11711
11940
|
"color-loupe-height": {
|
|
11712
11941
|
"sets": {
|
|
11713
11942
|
"spectrum": {
|
|
11943
|
+
"value": "64px"
|
|
11944
|
+
},
|
|
11945
|
+
"express": {
|
|
11714
11946
|
"sets": {
|
|
11715
11947
|
"desktop": {
|
|
11716
|
-
"value": "
|
|
11948
|
+
"value": "40px"
|
|
11949
|
+
},
|
|
11950
|
+
"mobile": {
|
|
11951
|
+
"value": "50px"
|
|
11717
11952
|
}
|
|
11718
11953
|
}
|
|
11954
|
+
}
|
|
11955
|
+
}
|
|
11956
|
+
},
|
|
11957
|
+
"color-loupe-width": {
|
|
11958
|
+
"sets": {
|
|
11959
|
+
"spectrum": {
|
|
11960
|
+
"value": "48px"
|
|
11719
11961
|
},
|
|
11720
11962
|
"express": {
|
|
11721
11963
|
"sets": {
|
|
11722
11964
|
"desktop": {
|
|
11965
|
+
"value": "32px"
|
|
11966
|
+
},
|
|
11967
|
+
"mobile": {
|
|
11723
11968
|
"value": "40px"
|
|
11724
11969
|
}
|
|
11725
11970
|
}
|
|
11726
11971
|
}
|
|
11727
11972
|
}
|
|
11728
11973
|
},
|
|
11729
|
-
"color-loupe-
|
|
11974
|
+
"color-loupe-bottom-to-color-handle": {
|
|
11730
11975
|
"sets": {
|
|
11731
11976
|
"spectrum": {
|
|
11977
|
+
"value": "12px"
|
|
11978
|
+
},
|
|
11979
|
+
"express": {
|
|
11980
|
+
"value": "6px"
|
|
11981
|
+
}
|
|
11982
|
+
}
|
|
11983
|
+
},
|
|
11984
|
+
"color-loupe-outer-border-width": {
|
|
11985
|
+
"ref": "{border-width-200}",
|
|
11986
|
+
"value": "2px"
|
|
11987
|
+
},
|
|
11988
|
+
"color-loupe-inner-border-width": {
|
|
11989
|
+
"sets": {
|
|
11990
|
+
"spectrum": {
|
|
11991
|
+
"ref": "{border-width-200}",
|
|
11992
|
+
"value": "2px"
|
|
11993
|
+
},
|
|
11994
|
+
"express": {
|
|
11995
|
+
"value": "3px"
|
|
11996
|
+
}
|
|
11997
|
+
}
|
|
11998
|
+
},
|
|
11999
|
+
"card-minimum-width": {
|
|
12000
|
+
"value": "100px"
|
|
12001
|
+
},
|
|
12002
|
+
"card-preview-minimum-height": {
|
|
12003
|
+
"value": "130px"
|
|
12004
|
+
},
|
|
12005
|
+
"card-selection-background-size": {
|
|
12006
|
+
"value": "40px"
|
|
12007
|
+
},
|
|
12008
|
+
"drop-zone-width": {
|
|
12009
|
+
"value": "428px"
|
|
12010
|
+
},
|
|
12011
|
+
"drop-zone-content-maximum-width": {
|
|
12012
|
+
"ref": "{illustrated-message-maximum-width}",
|
|
12013
|
+
"value": "380px"
|
|
12014
|
+
},
|
|
12015
|
+
"drop-zone-border-dash-length": {
|
|
12016
|
+
"value": "8px"
|
|
12017
|
+
},
|
|
12018
|
+
"drop-zone-border-dash-gap": {
|
|
12019
|
+
"value": "4px"
|
|
12020
|
+
},
|
|
12021
|
+
"drop-zone-title-size": {
|
|
12022
|
+
"ref": "{illustrated-message-title-size}",
|
|
12023
|
+
"sets": {
|
|
12024
|
+
"desktop": {
|
|
12025
|
+
"ref": "{heading-size-m}",
|
|
11732
12026
|
"sets": {
|
|
11733
12027
|
"desktop": {
|
|
11734
|
-
"value": "
|
|
12028
|
+
"value": "22px"
|
|
12029
|
+
},
|
|
12030
|
+
"mobile": {
|
|
12031
|
+
"value": "27px"
|
|
11735
12032
|
}
|
|
11736
12033
|
}
|
|
11737
12034
|
},
|
|
11738
|
-
"
|
|
12035
|
+
"mobile": {
|
|
12036
|
+
"ref": "{heading-size-s}",
|
|
11739
12037
|
"sets": {
|
|
11740
12038
|
"desktop": {
|
|
11741
|
-
"value": "
|
|
12039
|
+
"value": "18px"
|
|
12040
|
+
},
|
|
12041
|
+
"mobile": {
|
|
12042
|
+
"value": "22px"
|
|
11742
12043
|
}
|
|
11743
12044
|
}
|
|
11744
12045
|
}
|
|
11745
12046
|
}
|
|
11746
12047
|
},
|
|
11747
|
-
"
|
|
12048
|
+
"drop-zone-cjk-title-size": {
|
|
12049
|
+
"ref": "{illustrated-message-cjk-title-size}",
|
|
11748
12050
|
"sets": {
|
|
11749
|
-
"
|
|
12051
|
+
"desktop": {
|
|
12052
|
+
"ref": "{heading-cjk-size-m}",
|
|
11750
12053
|
"sets": {
|
|
11751
12054
|
"desktop": {
|
|
11752
|
-
"value": "
|
|
12055
|
+
"value": "20px"
|
|
12056
|
+
},
|
|
12057
|
+
"mobile": {
|
|
12058
|
+
"value": "24px"
|
|
11753
12059
|
}
|
|
11754
12060
|
}
|
|
11755
12061
|
},
|
|
11756
|
-
"
|
|
12062
|
+
"mobile": {
|
|
12063
|
+
"ref": "{heading-cjk-size-s}",
|
|
11757
12064
|
"sets": {
|
|
11758
12065
|
"desktop": {
|
|
11759
|
-
"value": "
|
|
12066
|
+
"value": "18px"
|
|
12067
|
+
},
|
|
12068
|
+
"mobile": {
|
|
12069
|
+
"value": "22px"
|
|
11760
12070
|
}
|
|
11761
12071
|
}
|
|
11762
12072
|
}
|
|
11763
12073
|
}
|
|
11764
12074
|
},
|
|
11765
|
-
"
|
|
11766
|
-
"ref": "{
|
|
11767
|
-
"value": "2px"
|
|
11768
|
-
},
|
|
11769
|
-
"color-loupe-inner-border-width": {
|
|
12075
|
+
"drop-zone-body-size": {
|
|
12076
|
+
"ref": "{illustrated-message-body-size}",
|
|
11770
12077
|
"sets": {
|
|
11771
|
-
"
|
|
12078
|
+
"desktop": {
|
|
12079
|
+
"ref": "{body-size-s}",
|
|
11772
12080
|
"sets": {
|
|
11773
12081
|
"desktop": {
|
|
11774
|
-
"
|
|
11775
|
-
|
|
12082
|
+
"value": "14px"
|
|
12083
|
+
},
|
|
12084
|
+
"mobile": {
|
|
12085
|
+
"value": "17px"
|
|
11776
12086
|
}
|
|
11777
12087
|
}
|
|
11778
12088
|
},
|
|
11779
|
-
"
|
|
12089
|
+
"mobile": {
|
|
12090
|
+
"ref": "{body-size-xs}",
|
|
11780
12091
|
"sets": {
|
|
11781
12092
|
"desktop": {
|
|
11782
|
-
"value": "
|
|
12093
|
+
"value": "12px"
|
|
12094
|
+
},
|
|
12095
|
+
"mobile": {
|
|
12096
|
+
"value": "15px"
|
|
11783
12097
|
}
|
|
11784
12098
|
}
|
|
11785
12099
|
}
|
|
11786
12100
|
}
|
|
11787
12101
|
},
|
|
11788
|
-
"card-minimum-width": {
|
|
11789
|
-
"value": "100px"
|
|
11790
|
-
},
|
|
11791
|
-
"card-preview-minimum-height": {
|
|
11792
|
-
"value": "130px"
|
|
11793
|
-
},
|
|
11794
|
-
"card-selection-background-size": {
|
|
11795
|
-
"value": "40px"
|
|
11796
|
-
},
|
|
11797
12102
|
"corner-radius-75": {
|
|
11798
12103
|
"sets": {
|
|
11799
12104
|
"spectrum": {
|
|
@@ -15396,6 +15701,23 @@
|
|
|
15396
15701
|
"heading-margin-bottom-multiplier": {
|
|
15397
15702
|
"value": "0.25"
|
|
15398
15703
|
},
|
|
15704
|
+
"heading-color": {
|
|
15705
|
+
"ref": "{gray-900}",
|
|
15706
|
+
"sets": {
|
|
15707
|
+
"light": {
|
|
15708
|
+
"value": "rgb(0, 0, 0)"
|
|
15709
|
+
},
|
|
15710
|
+
"dark": {
|
|
15711
|
+
"value": "rgb(255, 255, 255)"
|
|
15712
|
+
},
|
|
15713
|
+
"darkest": {
|
|
15714
|
+
"value": "rgb(255, 255, 255)"
|
|
15715
|
+
},
|
|
15716
|
+
"wireframe": {
|
|
15717
|
+
"value": "rgb(72, 110, 194)"
|
|
15718
|
+
}
|
|
15719
|
+
}
|
|
15720
|
+
},
|
|
15399
15721
|
"body-sans-serif-font-family": {
|
|
15400
15722
|
"ref": "{sans-serif-font-family}",
|
|
15401
15723
|
"value": "Adobe Clean"
|
|
@@ -15592,6 +15914,23 @@
|
|
|
15592
15914
|
"body-margin-multiplier": {
|
|
15593
15915
|
"value": "0.75"
|
|
15594
15916
|
},
|
|
15917
|
+
"body-color": {
|
|
15918
|
+
"ref": "{gray-800}",
|
|
15919
|
+
"sets": {
|
|
15920
|
+
"light": {
|
|
15921
|
+
"value": "rgb(34, 34, 34)"
|
|
15922
|
+
},
|
|
15923
|
+
"dark": {
|
|
15924
|
+
"value": "rgb(235, 235, 235)"
|
|
15925
|
+
},
|
|
15926
|
+
"darkest": {
|
|
15927
|
+
"value": "rgb(235, 235, 235)"
|
|
15928
|
+
},
|
|
15929
|
+
"wireframe": {
|
|
15930
|
+
"value": "rgb(73, 110, 194)"
|
|
15931
|
+
}
|
|
15932
|
+
}
|
|
15933
|
+
},
|
|
15595
15934
|
"detail-sans-serif-font-family": {
|
|
15596
15935
|
"ref": "{sans-serif-font-family}",
|
|
15597
15936
|
"value": "Adobe Clean"
|
|
@@ -15857,6 +16196,29 @@
|
|
|
15857
16196
|
"detail-letter-spacing": {
|
|
15858
16197
|
"value": "0.06em"
|
|
15859
16198
|
},
|
|
16199
|
+
"detail-sans-serif-text-transform": {
|
|
16200
|
+
"value": "uppercase"
|
|
16201
|
+
},
|
|
16202
|
+
"detail-serif-text-transform": {
|
|
16203
|
+
"value": "uppercase"
|
|
16204
|
+
},
|
|
16205
|
+
"detail-color": {
|
|
16206
|
+
"ref": "{gray-900}",
|
|
16207
|
+
"sets": {
|
|
16208
|
+
"light": {
|
|
16209
|
+
"value": "rgb(0, 0, 0)"
|
|
16210
|
+
},
|
|
16211
|
+
"dark": {
|
|
16212
|
+
"value": "rgb(255, 255, 255)"
|
|
16213
|
+
},
|
|
16214
|
+
"darkest": {
|
|
16215
|
+
"value": "rgb(255, 255, 255)"
|
|
16216
|
+
},
|
|
16217
|
+
"wireframe": {
|
|
16218
|
+
"value": "rgb(72, 110, 194)"
|
|
16219
|
+
}
|
|
16220
|
+
}
|
|
16221
|
+
},
|
|
15860
16222
|
"code-font-family": {
|
|
15861
16223
|
"value": "Source Code Pro"
|
|
15862
16224
|
},
|
|
@@ -15990,5 +16352,22 @@
|
|
|
15990
16352
|
"code-cjk-line-height": {
|
|
15991
16353
|
"ref": "{cjk-line-height-200}",
|
|
15992
16354
|
"value": "1.7"
|
|
16355
|
+
},
|
|
16356
|
+
"code-color": {
|
|
16357
|
+
"ref": "{gray-800}",
|
|
16358
|
+
"sets": {
|
|
16359
|
+
"light": {
|
|
16360
|
+
"value": "rgb(34, 34, 34)"
|
|
16361
|
+
},
|
|
16362
|
+
"dark": {
|
|
16363
|
+
"value": "rgb(235, 235, 235)"
|
|
16364
|
+
},
|
|
16365
|
+
"darkest": {
|
|
16366
|
+
"value": "rgb(235, 235, 235)"
|
|
16367
|
+
},
|
|
16368
|
+
"wireframe": {
|
|
16369
|
+
"value": "rgb(73, 110, 194)"
|
|
16370
|
+
}
|
|
16371
|
+
}
|
|
15993
16372
|
}
|
|
15994
16373
|
}
|
package/manifest.json
ADDED
package/package.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spectrum-tokens",
|
|
3
|
-
"version": "12.0.0-beta.
|
|
3
|
+
"version": "12.0.0-beta.68",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "config.js",
|
|
7
7
|
"tokens": "dist/json/variables.json",
|
|
8
8
|
"scripts": {
|
|
9
|
+
"buildManifest": "node tasks/buildManifest.js",
|
|
9
10
|
"convert-excel": "node tasks/excel.js",
|
|
10
|
-
"test": "
|
|
11
|
+
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
|
|
11
12
|
"test-watch": "jest --runInBand --watch",
|
|
12
13
|
"build": "node tasks/buildSpectrumTokens.js",
|
|
13
14
|
"diffLastRelease": ". tasks/diffOutput.sh",
|
|
14
15
|
"generateDiffResult": "node tasks/diff.js",
|
|
15
16
|
"clean": "rm -rf dist",
|
|
16
17
|
"pre-commit": "lint-staged",
|
|
17
|
-
"prepare": "husky install && yarn run build",
|
|
18
|
+
"prepare": "husky install && yarn run build && yarn run buildManifest",
|
|
18
19
|
"semantic-release": "semantic-release"
|
|
19
20
|
},
|
|
20
21
|
"repository": {
|
|
@@ -35,16 +36,18 @@
|
|
|
35
36
|
"@commitlint/config-conventional": "^17.1.0",
|
|
36
37
|
"@semantic-release/changelog": "^6.0.1",
|
|
37
38
|
"convert-excel-to-json": "^1.7.0",
|
|
38
|
-
"hex-to-rgba": "^2.0.1",
|
|
39
|
-
"semantic-release": "^19.0.5",
|
|
40
|
-
"slugify": "^1.6.5",
|
|
41
39
|
"deep-object-diff": "^1.1.7",
|
|
40
|
+
"glob": "^8.1.0",
|
|
41
|
+
"glob-promise": "^6.0.2",
|
|
42
|
+
"hex-to-rgba": "^2.0.1",
|
|
42
43
|
"husky": "^8.0.1",
|
|
43
44
|
"jest": "^29.0.3",
|
|
44
45
|
"lint-staged": "^13.0.3",
|
|
45
46
|
"node-fetch": "^2.6.7",
|
|
46
47
|
"prettier": "^2.7.1",
|
|
48
|
+
"semantic-release": "^19.0.5",
|
|
47
49
|
"semantic-release-mirror-version": "^1.1.1",
|
|
50
|
+
"slugify": "^1.6.5",
|
|
48
51
|
"style-dictionary": "^3.7.1",
|
|
49
52
|
"style-dictionary-sets": "^2.0.5"
|
|
50
53
|
}
|
package/src/color-component.json
CHANGED
|
@@ -92,5 +92,17 @@
|
|
|
92
92
|
"card-selection-background-color-opacity": {
|
|
93
93
|
"component": "cards",
|
|
94
94
|
"value": "0.95"
|
|
95
|
+
},
|
|
96
|
+
"drop-zone-background-color": {
|
|
97
|
+
"component": "drop-zone",
|
|
98
|
+
"value": "{accent-visual-color}"
|
|
99
|
+
},
|
|
100
|
+
"drop-zone-background-color-opacity": {
|
|
101
|
+
"component": "drop-zone",
|
|
102
|
+
"value": "0.1"
|
|
103
|
+
},
|
|
104
|
+
"drop-zone-background-color-opacity-filled": {
|
|
105
|
+
"component": "drop-zone",
|
|
106
|
+
"value": "0.3"
|
|
95
107
|
}
|
|
96
108
|
}
|
|
@@ -2296,6 +2296,28 @@
|
|
|
2296
2296
|
"component": "alert-dialog",
|
|
2297
2297
|
"value": "480px"
|
|
2298
2298
|
},
|
|
2299
|
+
"alert-dialog-title-size": {
|
|
2300
|
+
"component": "alert-dialog",
|
|
2301
|
+
"sets": {
|
|
2302
|
+
"desktop": {
|
|
2303
|
+
"value": "{heading-size-s}"
|
|
2304
|
+
},
|
|
2305
|
+
"mobile": {
|
|
2306
|
+
"value": "{heading-size-xs}"
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
"alert-dialog-description-size": {
|
|
2311
|
+
"component": "alert-dialog",
|
|
2312
|
+
"sets": {
|
|
2313
|
+
"desktop": {
|
|
2314
|
+
"value": "{body-size-s}"
|
|
2315
|
+
},
|
|
2316
|
+
"mobile": {
|
|
2317
|
+
"value": "{body-size-xs}"
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
},
|
|
2299
2321
|
"opacity-checkerboard-square-size": {
|
|
2300
2322
|
"component": "opacity-checkerboard",
|
|
2301
2323
|
"sets": {
|
|
@@ -2728,7 +2750,7 @@
|
|
|
2728
2750
|
"component": "color-area",
|
|
2729
2751
|
"value": "{corner-radius-100}"
|
|
2730
2752
|
},
|
|
2731
|
-
"color-wheel-
|
|
2753
|
+
"color-wheel-width": {
|
|
2732
2754
|
"component": "color-wheel",
|
|
2733
2755
|
"sets": {
|
|
2734
2756
|
"desktop": {
|
|
@@ -2739,6 +2761,17 @@
|
|
|
2739
2761
|
}
|
|
2740
2762
|
}
|
|
2741
2763
|
},
|
|
2764
|
+
"color-wheel-minimum-width": {
|
|
2765
|
+
"component": "color-wheel",
|
|
2766
|
+
"sets": {
|
|
2767
|
+
"desktop": {
|
|
2768
|
+
"value": "175px"
|
|
2769
|
+
},
|
|
2770
|
+
"mobile": {
|
|
2771
|
+
"value": "219px"
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
},
|
|
2742
2775
|
"color-wheel-color-area-margin": {
|
|
2743
2776
|
"component": "color-wheel",
|
|
2744
2777
|
"value": "12px"
|
|
@@ -2815,16 +2848,15 @@
|
|
|
2815
2848
|
"component": "color-loupe",
|
|
2816
2849
|
"sets": {
|
|
2817
2850
|
"spectrum": {
|
|
2818
|
-
"
|
|
2819
|
-
"desktop": {
|
|
2820
|
-
"value": "64px"
|
|
2821
|
-
}
|
|
2822
|
-
}
|
|
2851
|
+
"value": "64px"
|
|
2823
2852
|
},
|
|
2824
2853
|
"express": {
|
|
2825
2854
|
"sets": {
|
|
2826
2855
|
"desktop": {
|
|
2827
2856
|
"value": "40px"
|
|
2857
|
+
},
|
|
2858
|
+
"mobile": {
|
|
2859
|
+
"value": "50px"
|
|
2828
2860
|
}
|
|
2829
2861
|
}
|
|
2830
2862
|
}
|
|
@@ -2834,16 +2866,15 @@
|
|
|
2834
2866
|
"component": "color-loupe",
|
|
2835
2867
|
"sets": {
|
|
2836
2868
|
"spectrum": {
|
|
2837
|
-
"
|
|
2838
|
-
"desktop": {
|
|
2839
|
-
"value": "48px"
|
|
2840
|
-
}
|
|
2841
|
-
}
|
|
2869
|
+
"value": "48px"
|
|
2842
2870
|
},
|
|
2843
2871
|
"express": {
|
|
2844
2872
|
"sets": {
|
|
2845
2873
|
"desktop": {
|
|
2846
2874
|
"value": "32px"
|
|
2875
|
+
},
|
|
2876
|
+
"mobile": {
|
|
2877
|
+
"value": "40px"
|
|
2847
2878
|
}
|
|
2848
2879
|
}
|
|
2849
2880
|
}
|
|
@@ -2853,18 +2884,10 @@
|
|
|
2853
2884
|
"component": "color-loupe",
|
|
2854
2885
|
"sets": {
|
|
2855
2886
|
"spectrum": {
|
|
2856
|
-
"
|
|
2857
|
-
"desktop": {
|
|
2858
|
-
"value": "12px"
|
|
2859
|
-
}
|
|
2860
|
-
}
|
|
2887
|
+
"value": "12px"
|
|
2861
2888
|
},
|
|
2862
2889
|
"express": {
|
|
2863
|
-
"
|
|
2864
|
-
"desktop": {
|
|
2865
|
-
"value": "6px"
|
|
2866
|
-
}
|
|
2867
|
-
}
|
|
2890
|
+
"value": "6px"
|
|
2868
2891
|
}
|
|
2869
2892
|
}
|
|
2870
2893
|
},
|
|
@@ -2876,18 +2899,10 @@
|
|
|
2876
2899
|
"component": "color-loupe",
|
|
2877
2900
|
"sets": {
|
|
2878
2901
|
"spectrum": {
|
|
2879
|
-
"
|
|
2880
|
-
"desktop": {
|
|
2881
|
-
"value": "{border-width-200}"
|
|
2882
|
-
}
|
|
2883
|
-
}
|
|
2902
|
+
"value": "{border-width-200}"
|
|
2884
2903
|
},
|
|
2885
2904
|
"express": {
|
|
2886
|
-
"
|
|
2887
|
-
"desktop": {
|
|
2888
|
-
"value": "3px"
|
|
2889
|
-
}
|
|
2890
|
-
}
|
|
2905
|
+
"value": "3px"
|
|
2891
2906
|
}
|
|
2892
2907
|
}
|
|
2893
2908
|
},
|
|
@@ -2902,5 +2917,33 @@
|
|
|
2902
2917
|
"card-selection-background-size": {
|
|
2903
2918
|
"component": "cards",
|
|
2904
2919
|
"value": "40px"
|
|
2920
|
+
},
|
|
2921
|
+
"drop-zone-width": {
|
|
2922
|
+
"component": "drop-zone",
|
|
2923
|
+
"value": "428px"
|
|
2924
|
+
},
|
|
2925
|
+
"drop-zone-content-maximum-width": {
|
|
2926
|
+
"component": "drop-zone",
|
|
2927
|
+
"value": "{illustrated-message-maximum-width}"
|
|
2928
|
+
},
|
|
2929
|
+
"drop-zone-border-dash-length": {
|
|
2930
|
+
"component": "drop-zone",
|
|
2931
|
+
"value": "8px"
|
|
2932
|
+
},
|
|
2933
|
+
"drop-zone-border-dash-gap": {
|
|
2934
|
+
"component": "drop-zone",
|
|
2935
|
+
"value": "4px"
|
|
2936
|
+
},
|
|
2937
|
+
"drop-zone-title-size": {
|
|
2938
|
+
"component": "drop-zone",
|
|
2939
|
+
"value": "{illustrated-message-title-size}"
|
|
2940
|
+
},
|
|
2941
|
+
"drop-zone-cjk-title-size": {
|
|
2942
|
+
"component": "drop-zone",
|
|
2943
|
+
"value": "{illustrated-message-cjk-title-size}"
|
|
2944
|
+
},
|
|
2945
|
+
"drop-zone-body-size": {
|
|
2946
|
+
"component": "drop-zone",
|
|
2947
|
+
"value": "{illustrated-message-body-size}"
|
|
2905
2948
|
}
|
|
2906
2949
|
}
|
package/src/typography.json
CHANGED
|
@@ -615,6 +615,10 @@
|
|
|
615
615
|
"component": "heading",
|
|
616
616
|
"value": "0.25"
|
|
617
617
|
},
|
|
618
|
+
"heading-color": {
|
|
619
|
+
"component": "heading",
|
|
620
|
+
"value": "{gray-900}"
|
|
621
|
+
},
|
|
618
622
|
"body-sans-serif-font-family": {
|
|
619
623
|
"component": "body",
|
|
620
624
|
"value": "{sans-serif-font-family}"
|
|
@@ -763,6 +767,10 @@
|
|
|
763
767
|
"component": "body",
|
|
764
768
|
"value": "0.75"
|
|
765
769
|
},
|
|
770
|
+
"body-color": {
|
|
771
|
+
"component": "body",
|
|
772
|
+
"value": "{gray-800}"
|
|
773
|
+
},
|
|
766
774
|
"detail-sans-serif-font-family": {
|
|
767
775
|
"component": "detail",
|
|
768
776
|
"value": "{sans-serif-font-family}"
|
|
@@ -1003,6 +1011,18 @@
|
|
|
1003
1011
|
"component": "detail",
|
|
1004
1012
|
"value": "0.06em"
|
|
1005
1013
|
},
|
|
1014
|
+
"detail-sans-serif-text-transform": {
|
|
1015
|
+
"component": "detail",
|
|
1016
|
+
"value": "uppercase"
|
|
1017
|
+
},
|
|
1018
|
+
"detail-serif-text-transform": {
|
|
1019
|
+
"component": "detail",
|
|
1020
|
+
"value": "uppercase"
|
|
1021
|
+
},
|
|
1022
|
+
"detail-color": {
|
|
1023
|
+
"component": "detail",
|
|
1024
|
+
"value": "{gray-900}"
|
|
1025
|
+
},
|
|
1006
1026
|
"code-font-family": {
|
|
1007
1027
|
"component": "code",
|
|
1008
1028
|
"value": "Source Code Pro"
|
|
@@ -1102,5 +1122,9 @@
|
|
|
1102
1122
|
"code-cjk-line-height": {
|
|
1103
1123
|
"component": "code",
|
|
1104
1124
|
"value": "{cjk-line-height-200}"
|
|
1125
|
+
},
|
|
1126
|
+
"code-color": {
|
|
1127
|
+
"component": "code",
|
|
1128
|
+
"value": "{gray-800}"
|
|
1105
1129
|
}
|
|
1106
1130
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import glob from "glob-promise";
|
|
2
|
+
import { writeFile } from "fs/promises";
|
|
3
|
+
|
|
4
|
+
const manifestFileName = "manifest.json";
|
|
5
|
+
const files = await glob("src/**/*.json");
|
|
6
|
+
|
|
7
|
+
await writeFile(manifestFileName, JSON.stringify(files, null, 2));
|
|
8
|
+
console.log(`Wrote ${manifestFileName} with ${files.length} files.`);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import glob from "glob-promise";
|
|
2
|
+
import { readFile, writeFile } from "fs/promises";
|
|
3
|
+
import { augmentExpressTokens } from "./lib/augmentExpressTokens.js";
|
|
4
|
+
|
|
5
|
+
const files = await glob("src/**/*.json");
|
|
6
|
+
files.forEach(async (fileName) => {
|
|
7
|
+
const fileTokens = JSON.parse(await readFile(fileName, "utf8"));
|
|
8
|
+
const result = augmentExpressTokens(fileTokens);
|
|
9
|
+
await writeFile(fileName, JSON.stringify(result, null, 2));
|
|
10
|
+
console.log(`Updated ${fileName}.`);
|
|
11
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const deprecationObj = {
|
|
2
|
+
deprecated: true,
|
|
3
|
+
deprecated_comment:
|
|
4
|
+
"Express will merge with Spectrum with the release of Spectrum 2.",
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
const findExpressValue = (tokenObj) => {
|
|
8
|
+
if (typeof tokenObj === "object" && tokenObj !== null) {
|
|
9
|
+
if (tokenObj.hasOwnProperty("value")) {
|
|
10
|
+
return {
|
|
11
|
+
...tokenObj,
|
|
12
|
+
...deprecationObj,
|
|
13
|
+
};
|
|
14
|
+
} else {
|
|
15
|
+
const result = {};
|
|
16
|
+
Object.keys(tokenObj).forEach((tokenName) => {
|
|
17
|
+
result[tokenName] = findExpressValue(tokenObj[tokenName]);
|
|
18
|
+
});
|
|
19
|
+
return result;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const augmentExpressTokens = (tokenObj) => {
|
|
25
|
+
if (typeof tokenObj === "object" && tokenObj !== null) {
|
|
26
|
+
const result = {};
|
|
27
|
+
Object.keys(tokenObj).forEach((tokenName) => {
|
|
28
|
+
if (tokenName === "express") {
|
|
29
|
+
result[tokenName] = findExpressValue(tokenObj[tokenName]);
|
|
30
|
+
} else {
|
|
31
|
+
result[tokenName] = augmentExpressTokens(tokenObj[tokenName]);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
return result;
|
|
35
|
+
} else {
|
|
36
|
+
return tokenObj;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export default augmentExpressTokens;
|