@adobe/spectrum-tokens 12.0.0-beta.64 → 12.0.0-beta.66
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 +4 -5
- package/dist/json/drover.json +6 -0
- package/dist/json/variables.json +109 -12
- package/package.json +1 -1
- package/src/layout-component.json +41 -0
- package/src/layout.json +13 -0
- package/src/typography.json +12 -12
- package/tasks/diff.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
# [12.0.0-beta.
|
|
1
|
+
# [12.0.0-beta.66](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.65...v12.0.0-beta.66) (2023-01-11)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* update side label character count spacing (DNA-1241) ([2738648](https://github.com/adobe/spectrum-tokens/commit/2738648704acc73f35d7eeefb71ff5928f7ef01f))
|
|
6
|
+
* added illustrated-message tokens ([3326f28](https://github.com/adobe/spectrum-tokens/commit/3326f28d285a7cbbc9c97d74d7ca032e2442a79f))
|
|
7
|
+
* added missing field-edge-to-visual-quiet token ([4250036](https://github.com/adobe/spectrum-tokens/commit/4250036a7923837a2e28937812b2488c40f29b61))
|
|
8
|
+
* added search-field tokens ([3f8f544](https://github.com/adobe/spectrum-tokens/commit/3f8f54493eec685897429b6379345889073f84a3))
|
package/dist/json/drover.json
CHANGED
|
@@ -1426,6 +1426,7 @@
|
|
|
1426
1426
|
"field-edge-to-validation-icon-medium": "12px",
|
|
1427
1427
|
"field-edge-to-validation-icon-quiet": "0px",
|
|
1428
1428
|
"field-edge-to-validation-icon-small": "9px",
|
|
1429
|
+
"field-edge-to-visual-quiet": "0px",
|
|
1429
1430
|
"field-label-text-to-asterisk-extra-large": "5px",
|
|
1430
1431
|
"field-label-text-to-asterisk-large": "5px",
|
|
1431
1432
|
"field-label-text-to-asterisk-medium": "4px",
|
|
@@ -1463,6 +1464,7 @@
|
|
|
1463
1464
|
"field-top-to-validation-icon-large": "14px",
|
|
1464
1465
|
"field-top-to-validation-icon-medium": "11px",
|
|
1465
1466
|
"field-top-to-validation-icon-small": "7px",
|
|
1467
|
+
"field-width": "192px",
|
|
1466
1468
|
"floating-action-button-drop-shadow-blur": "12px",
|
|
1467
1469
|
"focus-indicator-gap": "2px",
|
|
1468
1470
|
"focus-indicator-thickness": "2px",
|
|
@@ -1511,6 +1513,10 @@
|
|
|
1511
1513
|
"help-text-top-to-workflow-icon-large": "6px",
|
|
1512
1514
|
"help-text-top-to-workflow-icon-medium": "3px",
|
|
1513
1515
|
"help-text-top-to-workflow-icon-small": "4px",
|
|
1516
|
+
"illustrated-message-body-size": "14px",
|
|
1517
|
+
"illustrated-message-cjk-title-size": "20px",
|
|
1518
|
+
"illustrated-message-maximum-width": "380px",
|
|
1519
|
+
"illustrated-message-title-size": "22px",
|
|
1514
1520
|
"in-line-alert-minimum-width": "240px",
|
|
1515
1521
|
"line-height-100": "1.3",
|
|
1516
1522
|
"line-height-200": "1.5",
|
package/dist/json/variables.json
CHANGED
|
@@ -11586,6 +11586,90 @@
|
|
|
11586
11586
|
"floating-action-button-drop-shadow-blur": {
|
|
11587
11587
|
"value": "12px"
|
|
11588
11588
|
},
|
|
11589
|
+
"illustrated-message-maximum-width": {
|
|
11590
|
+
"value": "380px"
|
|
11591
|
+
},
|
|
11592
|
+
"illustrated-message-title-size": {
|
|
11593
|
+
"sets": {
|
|
11594
|
+
"desktop": {
|
|
11595
|
+
"ref": "{heading-size-m}",
|
|
11596
|
+
"sets": {
|
|
11597
|
+
"desktop": {
|
|
11598
|
+
"value": "22px"
|
|
11599
|
+
},
|
|
11600
|
+
"mobile": {
|
|
11601
|
+
"value": "27px"
|
|
11602
|
+
}
|
|
11603
|
+
}
|
|
11604
|
+
},
|
|
11605
|
+
"mobile": {
|
|
11606
|
+
"ref": "{heading-size-s}",
|
|
11607
|
+
"sets": {
|
|
11608
|
+
"desktop": {
|
|
11609
|
+
"value": "18px"
|
|
11610
|
+
},
|
|
11611
|
+
"mobile": {
|
|
11612
|
+
"value": "22px"
|
|
11613
|
+
}
|
|
11614
|
+
}
|
|
11615
|
+
}
|
|
11616
|
+
}
|
|
11617
|
+
},
|
|
11618
|
+
"illustrated-message-cjk-title-size": {
|
|
11619
|
+
"sets": {
|
|
11620
|
+
"desktop": {
|
|
11621
|
+
"ref": "{heading-cjk-size-m}",
|
|
11622
|
+
"sets": {
|
|
11623
|
+
"desktop": {
|
|
11624
|
+
"value": "20px"
|
|
11625
|
+
},
|
|
11626
|
+
"mobile": {
|
|
11627
|
+
"value": "24px"
|
|
11628
|
+
}
|
|
11629
|
+
}
|
|
11630
|
+
},
|
|
11631
|
+
"mobile": {
|
|
11632
|
+
"ref": "{heading-cjk-size-s}",
|
|
11633
|
+
"sets": {
|
|
11634
|
+
"desktop": {
|
|
11635
|
+
"value": "18px"
|
|
11636
|
+
},
|
|
11637
|
+
"mobile": {
|
|
11638
|
+
"value": "22px"
|
|
11639
|
+
}
|
|
11640
|
+
}
|
|
11641
|
+
}
|
|
11642
|
+
}
|
|
11643
|
+
},
|
|
11644
|
+
"illustrated-message-body-size": {
|
|
11645
|
+
"sets": {
|
|
11646
|
+
"desktop": {
|
|
11647
|
+
"ref": "{body-size-s}",
|
|
11648
|
+
"sets": {
|
|
11649
|
+
"desktop": {
|
|
11650
|
+
"value": "14px"
|
|
11651
|
+
},
|
|
11652
|
+
"mobile": {
|
|
11653
|
+
"value": "17px"
|
|
11654
|
+
}
|
|
11655
|
+
}
|
|
11656
|
+
},
|
|
11657
|
+
"mobile": {
|
|
11658
|
+
"ref": "{body-size-xs}",
|
|
11659
|
+
"sets": {
|
|
11660
|
+
"desktop": {
|
|
11661
|
+
"value": "12px"
|
|
11662
|
+
},
|
|
11663
|
+
"mobile": {
|
|
11664
|
+
"value": "15px"
|
|
11665
|
+
}
|
|
11666
|
+
}
|
|
11667
|
+
}
|
|
11668
|
+
}
|
|
11669
|
+
},
|
|
11670
|
+
"search-field-minimum-width-multiplier": {
|
|
11671
|
+
"value": "3"
|
|
11672
|
+
},
|
|
11589
11673
|
"corner-radius-75": {
|
|
11590
11674
|
"sets": {
|
|
11591
11675
|
"spectrum": {
|
|
@@ -12444,6 +12528,9 @@
|
|
|
12444
12528
|
"field-edge-to-text-quiet": {
|
|
12445
12529
|
"value": "0px"
|
|
12446
12530
|
},
|
|
12531
|
+
"field-edge-to-visual-quiet": {
|
|
12532
|
+
"value": "0px"
|
|
12533
|
+
},
|
|
12447
12534
|
"field-edge-to-border-quiet": {
|
|
12448
12535
|
"value": "0px"
|
|
12449
12536
|
},
|
|
@@ -12773,6 +12860,16 @@
|
|
|
12773
12860
|
}
|
|
12774
12861
|
}
|
|
12775
12862
|
},
|
|
12863
|
+
"field-width": {
|
|
12864
|
+
"sets": {
|
|
12865
|
+
"desktop": {
|
|
12866
|
+
"value": "192px"
|
|
12867
|
+
},
|
|
12868
|
+
"mobile": {
|
|
12869
|
+
"value": "240px"
|
|
12870
|
+
}
|
|
12871
|
+
}
|
|
12872
|
+
},
|
|
12776
12873
|
"character-count-to-field-quiet-small": {
|
|
12777
12874
|
"sets": {
|
|
12778
12875
|
"desktop": {
|
|
@@ -15375,6 +15472,14 @@
|
|
|
15375
15472
|
"ref": "{sans-serif-font-family}",
|
|
15376
15473
|
"value": "Adobe Clean"
|
|
15377
15474
|
},
|
|
15475
|
+
"detail-serif-font-family": {
|
|
15476
|
+
"ref": "{serif-font-family}",
|
|
15477
|
+
"value": "Adobe Clean Serif"
|
|
15478
|
+
},
|
|
15479
|
+
"detail-cjk-font-family": {
|
|
15480
|
+
"ref": "{cjk-font-family}",
|
|
15481
|
+
"value": "Adobe Clean Han"
|
|
15482
|
+
},
|
|
15378
15483
|
"detail-sans-serif-font-weight": {
|
|
15379
15484
|
"ref": "{bold-font-weight}",
|
|
15380
15485
|
"value": "bold"
|
|
@@ -15383,10 +15488,6 @@
|
|
|
15383
15488
|
"ref": "{default-font-style}",
|
|
15384
15489
|
"value": "normal"
|
|
15385
15490
|
},
|
|
15386
|
-
"detail-serif-font-family": {
|
|
15387
|
-
"ref": "{serif-font-family}",
|
|
15388
|
-
"value": "Adobe Clean Serif"
|
|
15389
|
-
},
|
|
15390
15491
|
"detail-serif-font-weight": {
|
|
15391
15492
|
"ref": "{bold-font-weight}",
|
|
15392
15493
|
"value": "bold"
|
|
@@ -15395,10 +15496,6 @@
|
|
|
15395
15496
|
"ref": "{default-font-style}",
|
|
15396
15497
|
"value": "normal"
|
|
15397
15498
|
},
|
|
15398
|
-
"detail-cjk-font-family": {
|
|
15399
|
-
"ref": "{cjk-font-family}",
|
|
15400
|
-
"value": "Adobe Clean Han"
|
|
15401
|
-
},
|
|
15402
15499
|
"detail-cjk-font-weight": {
|
|
15403
15500
|
"ref": "{extra-bold-font-weight}",
|
|
15404
15501
|
"value": "extra-bold"
|
|
@@ -15639,6 +15736,10 @@
|
|
|
15639
15736
|
"code-font-family": {
|
|
15640
15737
|
"value": "Source Code Pro"
|
|
15641
15738
|
},
|
|
15739
|
+
"code-cjk-font-family": {
|
|
15740
|
+
"ref": "{code-font-family}",
|
|
15741
|
+
"value": "Source Code Pro"
|
|
15742
|
+
},
|
|
15642
15743
|
"code-font-weight": {
|
|
15643
15744
|
"ref": "{regular-font-weight}",
|
|
15644
15745
|
"value": "regular"
|
|
@@ -15647,10 +15748,6 @@
|
|
|
15647
15748
|
"ref": "{default-font-style}",
|
|
15648
15749
|
"value": "normal"
|
|
15649
15750
|
},
|
|
15650
|
-
"code-cjk-font-family": {
|
|
15651
|
-
"ref": "{code-font-family}",
|
|
15652
|
-
"value": "Source Code Pro"
|
|
15653
|
-
},
|
|
15654
15751
|
"code-cjk-font-weight": {
|
|
15655
15752
|
"ref": "{regular-font-weight}",
|
|
15656
15753
|
"value": "regular"
|
package/package.json
CHANGED
|
@@ -2769,5 +2769,46 @@
|
|
|
2769
2769
|
"floating-action-button-drop-shadow-blur": {
|
|
2770
2770
|
"component": "floating-action-button",
|
|
2771
2771
|
"value": "12px"
|
|
2772
|
+
},
|
|
2773
|
+
"illustrated-message-maximum-width": {
|
|
2774
|
+
"component": "illustrated-message",
|
|
2775
|
+
"value": "380px"
|
|
2776
|
+
},
|
|
2777
|
+
"illustrated-message-title-size": {
|
|
2778
|
+
"component": "illustrated-message",
|
|
2779
|
+
"sets": {
|
|
2780
|
+
"desktop": {
|
|
2781
|
+
"value": "{heading-size-m}"
|
|
2782
|
+
},
|
|
2783
|
+
"mobile": {
|
|
2784
|
+
"value": "{heading-size-s}"
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
"illustrated-message-cjk-title-size": {
|
|
2789
|
+
"component": "illustrated-message",
|
|
2790
|
+
"sets": {
|
|
2791
|
+
"desktop": {
|
|
2792
|
+
"value": "{heading-cjk-size-m}"
|
|
2793
|
+
},
|
|
2794
|
+
"mobile": {
|
|
2795
|
+
"value": "{heading-cjk-size-s}"
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
},
|
|
2799
|
+
"illustrated-message-body-size": {
|
|
2800
|
+
"component": "illustrated-message",
|
|
2801
|
+
"sets": {
|
|
2802
|
+
"desktop": {
|
|
2803
|
+
"value": "{body-size-s}"
|
|
2804
|
+
},
|
|
2805
|
+
"mobile": {
|
|
2806
|
+
"value": "{body-size-xs}"
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
},
|
|
2810
|
+
"search-field-minimum-width-multiplier": {
|
|
2811
|
+
"component": "search-field",
|
|
2812
|
+
"value": "3"
|
|
2772
2813
|
}
|
|
2773
2814
|
}
|
package/src/layout.json
CHANGED
|
@@ -857,6 +857,9 @@
|
|
|
857
857
|
"field-edge-to-text-quiet": {
|
|
858
858
|
"value": "0px"
|
|
859
859
|
},
|
|
860
|
+
"field-edge-to-visual-quiet": {
|
|
861
|
+
"value": "0px"
|
|
862
|
+
},
|
|
860
863
|
"field-edge-to-border-quiet": {
|
|
861
864
|
"value": "0px"
|
|
862
865
|
},
|
|
@@ -1186,6 +1189,16 @@
|
|
|
1186
1189
|
}
|
|
1187
1190
|
}
|
|
1188
1191
|
},
|
|
1192
|
+
"field-width": {
|
|
1193
|
+
"sets": {
|
|
1194
|
+
"desktop": {
|
|
1195
|
+
"value": "192px"
|
|
1196
|
+
},
|
|
1197
|
+
"mobile": {
|
|
1198
|
+
"value": "240px"
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1189
1202
|
"character-count-to-field-quiet-small": {
|
|
1190
1203
|
"sets": {
|
|
1191
1204
|
"desktop": {
|
package/src/typography.json
CHANGED
|
@@ -767,6 +767,14 @@
|
|
|
767
767
|
"component": "detail",
|
|
768
768
|
"value": "{sans-serif-font-family}"
|
|
769
769
|
},
|
|
770
|
+
"detail-serif-font-family": {
|
|
771
|
+
"component": "detail",
|
|
772
|
+
"value": "{serif-font-family}"
|
|
773
|
+
},
|
|
774
|
+
"detail-cjk-font-family": {
|
|
775
|
+
"component": "detail",
|
|
776
|
+
"value": "{cjk-font-family}"
|
|
777
|
+
},
|
|
770
778
|
"detail-sans-serif-font-weight": {
|
|
771
779
|
"component": "detail",
|
|
772
780
|
"value": "{bold-font-weight}"
|
|
@@ -775,10 +783,6 @@
|
|
|
775
783
|
"component": "detail",
|
|
776
784
|
"value": "{default-font-style}"
|
|
777
785
|
},
|
|
778
|
-
"detail-serif-font-family": {
|
|
779
|
-
"component": "detail",
|
|
780
|
-
"value": "{serif-font-family}"
|
|
781
|
-
},
|
|
782
786
|
"detail-serif-font-weight": {
|
|
783
787
|
"component": "detail",
|
|
784
788
|
"value": "{bold-font-weight}"
|
|
@@ -787,10 +791,6 @@
|
|
|
787
791
|
"component": "detail",
|
|
788
792
|
"value": "{default-font-style}"
|
|
789
793
|
},
|
|
790
|
-
"detail-cjk-font-family": {
|
|
791
|
-
"component": "detail",
|
|
792
|
-
"value": "{cjk-font-family}"
|
|
793
|
-
},
|
|
794
794
|
"detail-cjk-font-weight": {
|
|
795
795
|
"component": "detail",
|
|
796
796
|
"value": "{extra-bold-font-weight}"
|
|
@@ -1007,6 +1007,10 @@
|
|
|
1007
1007
|
"component": "code",
|
|
1008
1008
|
"value": "Source Code Pro"
|
|
1009
1009
|
},
|
|
1010
|
+
"code-cjk-font-family": {
|
|
1011
|
+
"component": "code",
|
|
1012
|
+
"value": "{code-font-family}"
|
|
1013
|
+
},
|
|
1010
1014
|
"code-font-weight": {
|
|
1011
1015
|
"component": "code",
|
|
1012
1016
|
"value": "{regular-font-weight}"
|
|
@@ -1015,10 +1019,6 @@
|
|
|
1015
1019
|
"component": "code",
|
|
1016
1020
|
"value": "{default-font-style}"
|
|
1017
1021
|
},
|
|
1018
|
-
"code-cjk-font-family": {
|
|
1019
|
-
"component": "code",
|
|
1020
|
-
"value": "{code-font-family}"
|
|
1021
|
-
},
|
|
1022
1022
|
"code-cjk-font-weight": {
|
|
1023
1023
|
"component": "code",
|
|
1024
1024
|
"value": "{regular-font-weight}"
|
package/tasks/diff.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { access, readFile, writeFile } from "fs/promises";
|
|
2
|
+
import fetch from "node-fetch";
|
|
3
|
+
import { detailedDiff, diff } from "deep-object-diff";
|
|
4
4
|
|
|
5
5
|
const tag = "beta";
|
|
6
6
|
const tokenPath = "dist/json/variables.json";
|