@adobe/spectrum-tokens 12.0.0-beta.62 → 12.0.0-beta.63

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 CHANGED
@@ -1,6 +1,6 @@
1
- # [12.0.0-beta.62](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.61...v12.0.0-beta.62) (2022-12-14)
1
+ # [12.0.0-beta.63](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.62...v12.0.0-beta.63) (2022-12-15)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * missing units on `toast-maximum-width` ([9b0fa71](https://github.com/adobe/spectrum-tokens/commit/9b0fa716b28c7618e7c2cf2314692d20a54c8b71))
6
+ * trigger release ([44d7637](https://github.com/adobe/spectrum-tokens/commit/44d7637db052d168dd23de42c2246ff66124e128))
@@ -90,6 +90,7 @@
90
90
  "chartreuse-visual-color": "rgb(135, 177, 3)",
91
91
  "color-area-border-color": "rgb(0, 0, 0)",
92
92
  "color-area-border-width": "1px",
93
+ "color-slider-border-color": "rgb(0, 0, 0)",
93
94
  "cyan-100": "rgb(197, 248, 255)",
94
95
  "cyan-1000": "rgb(0, 93, 137)",
95
96
  "cyan-1100": "rgb(0, 74, 115)",
@@ -251,6 +252,10 @@
251
252
  "neutral-background-color-down": "rgb(0, 0, 0)",
252
253
  "neutral-background-color-hover": "rgb(0, 0, 0)",
253
254
  "neutral-background-color-key-focus": "rgb(0, 0, 0)",
255
+ "neutral-background-color-selected-default": "rgb(70, 70, 70)",
256
+ "neutral-background-color-selected-down": "rgb(0, 0, 0)",
257
+ "neutral-background-color-selected-hover": "rgb(34, 34, 34)",
258
+ "neutral-background-color-selected-key-focus": "rgb(34, 34, 34)",
254
259
  "neutral-content-color-default": "rgb(34, 34, 34)",
255
260
  "neutral-content-color-down": "rgb(0, 0, 0)",
256
261
  "neutral-content-color-focus": "rgb(0, 0, 0)",
@@ -491,6 +496,7 @@
491
496
  "chartreuse-visual-color": "rgb(148, 192, 8)",
492
497
  "color-area-border-color": "rgb(255, 255, 255)",
493
498
  "color-area-border-width": "1px",
499
+ "color-slider-border-color": "rgb(255, 255, 255)",
494
500
  "cyan-100": "rgb(0, 61, 98)",
495
501
  "cyan-1000": "rgb(84, 211, 241)",
496
502
  "cyan-1100": "rgb(127, 228, 249)",
@@ -652,6 +658,10 @@
652
658
  "neutral-background-color-down": "rgb(63, 63, 63)",
653
659
  "neutral-background-color-hover": "rgb(84, 84, 84)",
654
660
  "neutral-background-color-key-focus": "rgb(84, 84, 84)",
661
+ "neutral-background-color-selected-default": "rgb(209, 209, 209)",
662
+ "neutral-background-color-selected-down": "rgb(255, 255, 255)",
663
+ "neutral-background-color-selected-hover": "rgb(235, 235, 235)",
664
+ "neutral-background-color-selected-key-focus": "rgb(235, 235, 235)",
655
665
  "neutral-content-color-default": "rgb(235, 235, 235)",
656
666
  "neutral-content-color-down": "rgb(255, 255, 255)",
657
667
  "neutral-content-color-focus": "rgb(255, 255, 255)",
@@ -892,6 +902,7 @@
892
902
  "chartreuse-visual-color": "rgb(138, 180, 3)",
893
903
  "color-area-border-color": "rgb(255, 255, 255)",
894
904
  "color-area-border-width": "1px",
905
+ "color-slider-border-color": "rgb(255, 255, 255)",
895
906
  "cyan-100": "rgb(0, 41, 68)",
896
907
  "cyan-1000": "rgb(57, 199, 234)",
897
908
  "cyan-1100": "rgb(96, 216, 243)",
@@ -1053,6 +1064,10 @@
1053
1064
  "neutral-background-color-down": "rgb(48, 48, 48)",
1054
1065
  "neutral-background-color-hover": "rgb(75, 75, 75)",
1055
1066
  "neutral-background-color-key-focus": "rgb(75, 75, 75)",
1067
+ "neutral-background-color-selected-default": "rgb(208, 208, 208)",
1068
+ "neutral-background-color-selected-down": "rgb(255, 255, 255)",
1069
+ "neutral-background-color-selected-hover": "rgb(235, 235, 235)",
1070
+ "neutral-background-color-selected-key-focus": "rgb(235, 235, 235)",
1056
1071
  "neutral-content-color-default": "rgb(235, 235, 235)",
1057
1072
  "neutral-content-color-down": "rgb(255, 255, 255)",
1058
1073
  "neutral-content-color-focus": "rgb(255, 255, 255)",
@@ -1306,11 +1321,12 @@
1306
1321
  "color-area-minimum-width": "64px",
1307
1322
  "color-area-width": "192px",
1308
1323
  "color-control-track-width": "24px",
1324
+ "color-slider-border-opacity": "0.1",
1309
1325
  "color-slider-border-rounding": "4px",
1310
1326
  "color-slider-border-width": "1px",
1311
1327
  "color-slider-length": "192px",
1312
1328
  "color-slider-minimum-length": "200px",
1313
- "color-wheel-area-margin": "12px",
1329
+ "color-wheel-color-area-margin": "12px",
1314
1330
  "color-wheel-minimum-width": "192px",
1315
1331
  "combo-box-minimum-width-multiplier": "2.5",
1316
1332
  "combo-box-visual-to-field-button-extra-large": "10px",
@@ -564,6 +564,158 @@
564
564
  }
565
565
  }
566
566
  },
567
+ "neutral-background-color-selected-default": {
568
+ "sets": {
569
+ "spectrum": {
570
+ "ref": "{gray-700}",
571
+ "sets": {
572
+ "light": {
573
+ "value": "rgb(70, 70, 70)"
574
+ },
575
+ "dark": {
576
+ "value": "rgb(209, 209, 209)"
577
+ },
578
+ "darkest": {
579
+ "value": "rgb(208, 208, 208)"
580
+ },
581
+ "wireframe": {
582
+ "value": "rgb(78, 112, 187)"
583
+ }
584
+ }
585
+ },
586
+ "express": {
587
+ "ref": "{gray-800}",
588
+ "sets": {
589
+ "light": {
590
+ "value": "rgb(34, 34, 34)"
591
+ },
592
+ "dark": {
593
+ "value": "rgb(235, 235, 235)"
594
+ },
595
+ "darkest": {
596
+ "value": "rgb(235, 235, 235)"
597
+ },
598
+ "wireframe": {
599
+ "value": "rgb(73, 110, 194)"
600
+ }
601
+ }
602
+ }
603
+ }
604
+ },
605
+ "neutral-background-color-selected-hover": {
606
+ "sets": {
607
+ "spectrum": {
608
+ "ref": "{gray-800}",
609
+ "sets": {
610
+ "light": {
611
+ "value": "rgb(34, 34, 34)"
612
+ },
613
+ "dark": {
614
+ "value": "rgb(235, 235, 235)"
615
+ },
616
+ "darkest": {
617
+ "value": "rgb(235, 235, 235)"
618
+ },
619
+ "wireframe": {
620
+ "value": "rgb(73, 110, 194)"
621
+ }
622
+ }
623
+ },
624
+ "express": {
625
+ "ref": "{gray-900}",
626
+ "sets": {
627
+ "light": {
628
+ "value": "rgb(0, 0, 0)"
629
+ },
630
+ "dark": {
631
+ "value": "rgb(255, 255, 255)"
632
+ },
633
+ "darkest": {
634
+ "value": "rgb(255, 255, 255)"
635
+ },
636
+ "wireframe": {
637
+ "value": "rgb(72, 110, 194)"
638
+ }
639
+ }
640
+ }
641
+ }
642
+ },
643
+ "neutral-background-color-selected-down": {
644
+ "sets": {
645
+ "spectrum": {
646
+ "ref": "{gray-900}",
647
+ "sets": {
648
+ "light": {
649
+ "value": "rgb(0, 0, 0)"
650
+ },
651
+ "dark": {
652
+ "value": "rgb(255, 255, 255)"
653
+ },
654
+ "darkest": {
655
+ "value": "rgb(255, 255, 255)"
656
+ },
657
+ "wireframe": {
658
+ "value": "rgb(72, 110, 194)"
659
+ }
660
+ }
661
+ },
662
+ "express": {
663
+ "ref": "{gray-900}",
664
+ "sets": {
665
+ "light": {
666
+ "value": "rgb(0, 0, 0)"
667
+ },
668
+ "dark": {
669
+ "value": "rgb(255, 255, 255)"
670
+ },
671
+ "darkest": {
672
+ "value": "rgb(255, 255, 255)"
673
+ },
674
+ "wireframe": {
675
+ "value": "rgb(72, 110, 194)"
676
+ }
677
+ }
678
+ }
679
+ }
680
+ },
681
+ "neutral-background-color-selected-key-focus": {
682
+ "sets": {
683
+ "spectrum": {
684
+ "ref": "{gray-800}",
685
+ "sets": {
686
+ "light": {
687
+ "value": "rgb(34, 34, 34)"
688
+ },
689
+ "dark": {
690
+ "value": "rgb(235, 235, 235)"
691
+ },
692
+ "darkest": {
693
+ "value": "rgb(235, 235, 235)"
694
+ },
695
+ "wireframe": {
696
+ "value": "rgb(73, 110, 194)"
697
+ }
698
+ }
699
+ },
700
+ "express": {
701
+ "ref": "{gray-900}",
702
+ "sets": {
703
+ "light": {
704
+ "value": "rgb(0, 0, 0)"
705
+ },
706
+ "dark": {
707
+ "value": "rgb(255, 255, 255)"
708
+ },
709
+ "darkest": {
710
+ "value": "rgb(255, 255, 255)"
711
+ },
712
+ "wireframe": {
713
+ "value": "rgb(72, 110, 194)"
714
+ }
715
+ }
716
+ }
717
+ }
718
+ },
567
719
  "neutral-subdued-background-color-default": {
568
720
  "sets": {
569
721
  "light": {
@@ -5547,26 +5699,6 @@
5547
5699
  }
5548
5700
  }
5549
5701
  },
5550
- "color-area-border-color": {
5551
- "ref": "{gray-900}",
5552
- "sets": {
5553
- "light": {
5554
- "value": "rgb(0, 0, 0)"
5555
- },
5556
- "dark": {
5557
- "value": "rgb(255, 255, 255)"
5558
- },
5559
- "darkest": {
5560
- "value": "rgb(255, 255, 255)"
5561
- },
5562
- "wireframe": {
5563
- "value": "rgb(72, 110, 194)"
5564
- }
5565
- }
5566
- },
5567
- "color-area-border-opacity": {
5568
- "value": "0.1"
5569
- },
5570
5702
  "swatch-border-color": {
5571
5703
  "ref": "{gray-900}",
5572
5704
  "sets": {
@@ -5681,6 +5813,46 @@
5681
5813
  "ref": "{opacity-disabled}",
5682
5814
  "value": "0.3"
5683
5815
  },
5816
+ "color-area-border-color": {
5817
+ "ref": "{gray-900}",
5818
+ "sets": {
5819
+ "light": {
5820
+ "value": "rgb(0, 0, 0)"
5821
+ },
5822
+ "dark": {
5823
+ "value": "rgb(255, 255, 255)"
5824
+ },
5825
+ "darkest": {
5826
+ "value": "rgb(255, 255, 255)"
5827
+ },
5828
+ "wireframe": {
5829
+ "value": "rgb(72, 110, 194)"
5830
+ }
5831
+ }
5832
+ },
5833
+ "color-area-border-opacity": {
5834
+ "value": "0.1"
5835
+ },
5836
+ "color-slider-border-color": {
5837
+ "ref": "{gray-900}",
5838
+ "sets": {
5839
+ "light": {
5840
+ "value": "rgb(0, 0, 0)"
5841
+ },
5842
+ "dark": {
5843
+ "value": "rgb(255, 255, 255)"
5844
+ },
5845
+ "darkest": {
5846
+ "value": "rgb(255, 255, 255)"
5847
+ },
5848
+ "wireframe": {
5849
+ "value": "rgb(72, 110, 194)"
5850
+ }
5851
+ }
5852
+ },
5853
+ "color-slider-border-opacity": {
5854
+ "value": "0.1"
5855
+ },
5684
5856
  "white": {
5685
5857
  "value": "rgb(255, 255, 255)"
5686
5858
  },
@@ -9021,155 +9193,55 @@
9021
9193
  }
9022
9194
  }
9023
9195
  },
9024
- "color-area-width": {
9196
+ "switch-control-width-small": {
9025
9197
  "sets": {
9026
- "desktop": {
9027
- "value": "192px"
9198
+ "spectrum": {
9199
+ "sets": {
9200
+ "desktop": {
9201
+ "value": "23px"
9202
+ },
9203
+ "mobile": {
9204
+ "value": "32px"
9205
+ }
9206
+ }
9028
9207
  },
9029
- "mobile": {
9030
- "value": "240px"
9208
+ "express": {
9209
+ "sets": {
9210
+ "desktop": {
9211
+ "value": "25px"
9212
+ },
9213
+ "mobile": {
9214
+ "value": "32px"
9215
+ }
9216
+ }
9031
9217
  }
9032
9218
  }
9033
9219
  },
9034
- "color-area-minimum-width": {
9220
+ "switch-control-width-medium": {
9035
9221
  "sets": {
9036
- "desktop": {
9037
- "value": "64px"
9222
+ "spectrum": {
9223
+ "sets": {
9224
+ "desktop": {
9225
+ "value": "26px"
9226
+ },
9227
+ "mobile": {
9228
+ "value": "36px"
9229
+ }
9230
+ }
9038
9231
  },
9039
- "mobile": {
9040
- "value": "80px"
9232
+ "express": {
9233
+ "sets": {
9234
+ "desktop": {
9235
+ "value": "28px"
9236
+ },
9237
+ "mobile": {
9238
+ "value": "36px"
9239
+ }
9240
+ }
9041
9241
  }
9042
9242
  }
9043
9243
  },
9044
- "color-area-height": {
9045
- "sets": {
9046
- "desktop": {
9047
- "value": "192px"
9048
- },
9049
- "mobile": {
9050
- "value": "240px"
9051
- }
9052
- }
9053
- },
9054
- "color-area-minimum-height": {
9055
- "sets": {
9056
- "desktop": {
9057
- "value": "64px"
9058
- },
9059
- "mobile": {
9060
- "value": "80px"
9061
- }
9062
- }
9063
- },
9064
- "color-area-border-width": {
9065
- "ref": "{border-width-100}",
9066
- "sets": {
9067
- "spectrum": {
9068
- "value": "1px"
9069
- },
9070
- "express": {
9071
- "value": "2px"
9072
- }
9073
- }
9074
- },
9075
- "color-area-border-rounding": {
9076
- "ref": "{corner-radius-100}",
9077
- "sets": {
9078
- "spectrum": {},
9079
- "express": {}
9080
- }
9081
- },
9082
- "color-wheel-minimum-width": {
9083
- "sets": {
9084
- "desktop": {
9085
- "value": "192px"
9086
- },
9087
- "mobile": {
9088
- "value": "240px"
9089
- }
9090
- }
9091
- },
9092
- "color-wheel-area-margin": {
9093
- "value": "12px"
9094
- },
9095
- "color-control-track-width": {
9096
- "sets": {
9097
- "desktop": {
9098
- "value": "24px"
9099
- },
9100
- "mobile": {
9101
- "value": "30px"
9102
- }
9103
- }
9104
- },
9105
- "color-slider-length": {
9106
- "sets": {
9107
- "desktop": {
9108
- "value": "192px"
9109
- },
9110
- "mobile": {
9111
- "value": "240px"
9112
- }
9113
- }
9114
- },
9115
- "color-slider-minimum-length": {
9116
- "value": "200px"
9117
- },
9118
- "color-slider-border-width": {
9119
- "value": "1px"
9120
- },
9121
- "color-slider-border-rounding": {
9122
- "value": "4px"
9123
- },
9124
- "switch-control-width-small": {
9125
- "sets": {
9126
- "spectrum": {
9127
- "sets": {
9128
- "desktop": {
9129
- "value": "23px"
9130
- },
9131
- "mobile": {
9132
- "value": "32px"
9133
- }
9134
- }
9135
- },
9136
- "express": {
9137
- "sets": {
9138
- "desktop": {
9139
- "value": "25px"
9140
- },
9141
- "mobile": {
9142
- "value": "32px"
9143
- }
9144
- }
9145
- }
9146
- }
9147
- },
9148
- "switch-control-width-medium": {
9149
- "sets": {
9150
- "spectrum": {
9151
- "sets": {
9152
- "desktop": {
9153
- "value": "26px"
9154
- },
9155
- "mobile": {
9156
- "value": "36px"
9157
- }
9158
- }
9159
- },
9160
- "express": {
9161
- "sets": {
9162
- "desktop": {
9163
- "value": "28px"
9164
- },
9165
- "mobile": {
9166
- "value": "36px"
9167
- }
9168
- }
9169
- }
9170
- }
9171
- },
9172
- "switch-control-width-large": {
9244
+ "switch-control-width-large": {
9173
9245
  "sets": {
9174
9246
  "spectrum": {
9175
9247
  "sets": {
@@ -10249,46 +10321,6 @@
10249
10321
  }
10250
10322
  }
10251
10323
  },
10252
- "navigational-indicator-top-to-back-icon-small": {
10253
- "sets": {
10254
- "desktop": {
10255
- "value": "7px"
10256
- },
10257
- "mobile": {
10258
- "value": "9px"
10259
- }
10260
- }
10261
- },
10262
- "navigational-indicator-top-to-back-icon-medium": {
10263
- "sets": {
10264
- "desktop": {
10265
- "value": "11px"
10266
- },
10267
- "mobile": {
10268
- "value": "13px"
10269
- }
10270
- }
10271
- },
10272
- "navigational-indicator-top-to-back-icon-large": {
10273
- "sets": {
10274
- "desktop": {
10275
- "value": "14px"
10276
- },
10277
- "mobile": {
10278
- "value": "17px"
10279
- }
10280
- }
10281
- },
10282
- "navigational-indicator-top-to-back-icon-extra-large": {
10283
- "sets": {
10284
- "desktop": {
10285
- "value": "17px"
10286
- },
10287
- "mobile": {
10288
- "value": "22px"
10289
- }
10290
- }
10291
- },
10292
10324
  "in-line-alert-minimum-width": {
10293
10325
  "value": "240px"
10294
10326
  },
@@ -11461,6 +11493,96 @@
11461
11493
  }
11462
11494
  }
11463
11495
  },
11496
+ "color-area-width": {
11497
+ "sets": {
11498
+ "desktop": {
11499
+ "value": "192px"
11500
+ },
11501
+ "mobile": {
11502
+ "value": "240px"
11503
+ }
11504
+ }
11505
+ },
11506
+ "color-area-minimum-width": {
11507
+ "sets": {
11508
+ "desktop": {
11509
+ "value": "64px"
11510
+ },
11511
+ "mobile": {
11512
+ "value": "80px"
11513
+ }
11514
+ }
11515
+ },
11516
+ "color-area-height": {
11517
+ "sets": {
11518
+ "desktop": {
11519
+ "value": "192px"
11520
+ },
11521
+ "mobile": {
11522
+ "value": "240px"
11523
+ }
11524
+ }
11525
+ },
11526
+ "color-area-minimum-height": {
11527
+ "sets": {
11528
+ "desktop": {
11529
+ "value": "64px"
11530
+ },
11531
+ "mobile": {
11532
+ "value": "80px"
11533
+ }
11534
+ }
11535
+ },
11536
+ "color-area-border-width": {
11537
+ "ref": "{border-width-100}",
11538
+ "sets": {
11539
+ "spectrum": {
11540
+ "value": "1px"
11541
+ },
11542
+ "express": {
11543
+ "value": "2px"
11544
+ }
11545
+ }
11546
+ },
11547
+ "color-area-border-rounding": {
11548
+ "ref": "{corner-radius-100}",
11549
+ "sets": {
11550
+ "spectrum": {},
11551
+ "express": {}
11552
+ }
11553
+ },
11554
+ "color-wheel-minimum-width": {
11555
+ "sets": {
11556
+ "desktop": {
11557
+ "value": "192px"
11558
+ },
11559
+ "mobile": {
11560
+ "value": "240px"
11561
+ }
11562
+ }
11563
+ },
11564
+ "color-wheel-color-area-margin": {
11565
+ "value": "12px"
11566
+ },
11567
+ "color-slider-length": {
11568
+ "sets": {
11569
+ "desktop": {
11570
+ "value": "192px"
11571
+ },
11572
+ "mobile": {
11573
+ "value": "240px"
11574
+ }
11575
+ }
11576
+ },
11577
+ "color-slider-minimum-length": {
11578
+ "value": "200px"
11579
+ },
11580
+ "color-slider-border-width": {
11581
+ "value": "1px"
11582
+ },
11583
+ "color-slider-border-rounding": {
11584
+ "value": "4px"
11585
+ },
11464
11586
  "corner-radius-75": {
11465
11587
  "sets": {
11466
11588
  "spectrum": {
@@ -12784,6 +12906,56 @@
12784
12906
  "text-underline-gap": {
12785
12907
  "value": "1px"
12786
12908
  },
12909
+ "navigational-indicator-top-to-back-icon-small": {
12910
+ "sets": {
12911
+ "desktop": {
12912
+ "value": "7px"
12913
+ },
12914
+ "mobile": {
12915
+ "value": "9px"
12916
+ }
12917
+ }
12918
+ },
12919
+ "navigational-indicator-top-to-back-icon-medium": {
12920
+ "sets": {
12921
+ "desktop": {
12922
+ "value": "11px"
12923
+ },
12924
+ "mobile": {
12925
+ "value": "13px"
12926
+ }
12927
+ }
12928
+ },
12929
+ "navigational-indicator-top-to-back-icon-large": {
12930
+ "sets": {
12931
+ "desktop": {
12932
+ "value": "14px"
12933
+ },
12934
+ "mobile": {
12935
+ "value": "17px"
12936
+ }
12937
+ }
12938
+ },
12939
+ "navigational-indicator-top-to-back-icon-extra-large": {
12940
+ "sets": {
12941
+ "desktop": {
12942
+ "value": "17px"
12943
+ },
12944
+ "mobile": {
12945
+ "value": "22px"
12946
+ }
12947
+ }
12948
+ },
12949
+ "color-control-track-width": {
12950
+ "sets": {
12951
+ "desktop": {
12952
+ "value": "24px"
12953
+ },
12954
+ "mobile": {
12955
+ "value": "30px"
12956
+ }
12957
+ }
12958
+ },
12787
12959
  "accent-color-100": {
12788
12960
  "sets": {
12789
12961
  "spectrum": {
@@ -14473,6 +14645,18 @@
14473
14645
  "letter-spacing-cjk": {
14474
14646
  "value": "0.05em"
14475
14647
  },
14648
+ "heading-sans-serif-font-family": {
14649
+ "ref": "{font-family-sans-serif}",
14650
+ "value": "Adobe Clean"
14651
+ },
14652
+ "heading-serif-font-family": {
14653
+ "ref": "{font-family-serif}",
14654
+ "value": "Adobe Clean Serif"
14655
+ },
14656
+ "heading-cjk-font-family": {
14657
+ "ref": "{font-family-cjk}",
14658
+ "value": "Adobe Clean Han"
14659
+ },
14476
14660
  "heading-sans-serif-light-font-weight": {
14477
14661
  "ref": "{font-weight-light}",
14478
14662
  "value": "light"
@@ -14497,10 +14681,6 @@
14497
14681
  "ref": "{font-style-default}",
14498
14682
  "value": "normal"
14499
14683
  },
14500
- "heading-sans-serif-font-family": {
14501
- "ref": "{font-family-sans-serif}",
14502
- "value": "Adobe Clean"
14503
- },
14504
14684
  "heading-sans-serif-font-weight": {
14505
14685
  "sets": {
14506
14686
  "spectrum": {
@@ -14517,10 +14697,6 @@
14517
14697
  "ref": "{font-style-default}",
14518
14698
  "value": "normal"
14519
14699
  },
14520
- "heading-serif-font-family": {
14521
- "ref": "{font-family-serif}",
14522
- "value": "Adobe Clean Serif"
14523
- },
14524
14700
  "heading-serif-font-weight": {
14525
14701
  "sets": {
14526
14702
  "spectrum": {
@@ -14537,10 +14713,6 @@
14537
14713
  "ref": "{font-style-default}",
14538
14714
  "value": "normal"
14539
14715
  },
14540
- "heading-cjk-font-family": {
14541
- "ref": "{font-family-cjk}",
14542
- "value": "Adobe Clean Han"
14543
- },
14544
14716
  "heading-cjk-font-weight": {
14545
14717
  "sets": {
14546
14718
  "spectrum": {
@@ -14919,6 +15091,14 @@
14919
15091
  "ref": "{font-family-sans-serif}",
14920
15092
  "value": "Adobe Clean"
14921
15093
  },
15094
+ "body-serif-font-family": {
15095
+ "ref": "{font-family-serif}",
15096
+ "value": "Adobe Clean Serif"
15097
+ },
15098
+ "body-cjk-font-family": {
15099
+ "ref": "{font-family-cjk}",
15100
+ "value": "Adobe Clean Han"
15101
+ },
14922
15102
  "body-sans-serif-font-weight": {
14923
15103
  "ref": "{font-weight-regular}",
14924
15104
  "value": "regular"
@@ -14927,10 +15107,6 @@
14927
15107
  "ref": "{font-style-default}",
14928
15108
  "value": "normal"
14929
15109
  },
14930
- "body-serif-font-family": {
14931
- "ref": "{font-family-serif}",
14932
- "value": "Adobe Clean Serif"
14933
- },
14934
15110
  "body-serif-font-weight": {
14935
15111
  "ref": "{font-weight-regular}",
14936
15112
  "value": "regular"
@@ -14939,10 +15115,6 @@
14939
15115
  "ref": "{font-style-default}",
14940
15116
  "value": "normal"
14941
15117
  },
14942
- "body-cjk-font-family": {
14943
- "ref": "{font-family-cjk}",
14944
- "value": "Adobe Clean Han"
14945
- },
14946
15118
  "body-cjk-font-weight": {
14947
15119
  "ref": "{font-weight-regular}",
14948
15120
  "value": "regular"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "12.0.0-beta.62",
3
+ "version": "12.0.0-beta.63",
4
4
  "description": "",
5
5
  "main": "config.js",
6
6
  "tokens": "dist/json/variables.json",
@@ -155,6 +155,46 @@
155
155
  }
156
156
  }
157
157
  },
158
+ "neutral-background-color-selected-default": {
159
+ "sets": {
160
+ "spectrum": {
161
+ "value": "{gray-700}"
162
+ },
163
+ "express": {
164
+ "value": "{gray-800}"
165
+ }
166
+ }
167
+ },
168
+ "neutral-background-color-selected-hover": {
169
+ "sets": {
170
+ "spectrum": {
171
+ "value": "{gray-800}"
172
+ },
173
+ "express": {
174
+ "value": "{gray-900}"
175
+ }
176
+ }
177
+ },
178
+ "neutral-background-color-selected-down": {
179
+ "sets": {
180
+ "spectrum": {
181
+ "value": "{gray-900}"
182
+ },
183
+ "express": {
184
+ "value": "{gray-900}"
185
+ }
186
+ }
187
+ },
188
+ "neutral-background-color-selected-key-focus": {
189
+ "sets": {
190
+ "spectrum": {
191
+ "value": "{gray-800}"
192
+ },
193
+ "express": {
194
+ "value": "{gray-900}"
195
+ }
196
+ }
197
+ },
158
198
  "neutral-subdued-background-color-default": {
159
199
  "sets": {
160
200
  "light": {
@@ -1,12 +1,4 @@
1
1
  {
2
- "color-area-border-color": {
3
- "component": "color-area",
4
- "value": "{gray-900}"
5
- },
6
- "color-area-border-opacity": {
7
- "component": "color-area",
8
- "value": "0.1"
9
- },
10
2
  "swatch-border-color": {
11
3
  "component": "swatch",
12
4
  "value": "{gray-900}"
@@ -56,5 +48,21 @@
56
48
  "avatar-opacity-disabled": {
57
49
  "component": "avatar",
58
50
  "value": "{opacity-disabled}"
51
+ },
52
+ "color-area-border-color": {
53
+ "component": "color-area",
54
+ "value": "{gray-900}"
55
+ },
56
+ "color-area-border-opacity": {
57
+ "component": "color-area",
58
+ "value": "0.1"
59
+ },
60
+ "color-slider-border-color": {
61
+ "component": "color-slider",
62
+ "value": "{gray-900}"
63
+ },
64
+ "color-slider-border-opacity": {
65
+ "component": "color-slider",
66
+ "value": "0.1"
59
67
  }
60
68
  }
@@ -199,108 +199,6 @@
199
199
  }
200
200
  }
201
201
  },
202
- "color-area-width": {
203
- "component": "color-area",
204
- "sets": {
205
- "desktop": {
206
- "value": "192px"
207
- },
208
- "mobile": {
209
- "value": "240px"
210
- }
211
- }
212
- },
213
- "color-area-minimum-width": {
214
- "component": "color-area",
215
- "sets": {
216
- "desktop": {
217
- "value": "64px"
218
- },
219
- "mobile": {
220
- "value": "80px"
221
- }
222
- }
223
- },
224
- "color-area-height": {
225
- "component": "color-area",
226
- "sets": {
227
- "desktop": {
228
- "value": "192px"
229
- },
230
- "mobile": {
231
- "value": "240px"
232
- }
233
- }
234
- },
235
- "color-area-minimum-height": {
236
- "component": "color-area",
237
- "sets": {
238
- "desktop": {
239
- "value": "64px"
240
- },
241
- "mobile": {
242
- "value": "80px"
243
- }
244
- }
245
- },
246
- "color-area-border-width": {
247
- "component": "color-area",
248
- "value": "{border-width-100}"
249
- },
250
-
251
- "color-area-border-rounding": {
252
- "component": "color-area",
253
- "value": "{corner-radius-100}"
254
- },
255
- "color-wheel-minimum-width": {
256
- "component": "color-wheel",
257
- "sets": {
258
- "desktop": {
259
- "value": "192px"
260
- },
261
- "mobile": {
262
- "value": "240px"
263
- }
264
- }
265
- },
266
- "color-wheel-area-margin": {
267
- "component": "color-wheel",
268
- "value": "12px"
269
- },
270
- "color-control-track-width": {
271
- "component": "color-control",
272
- "sets": {
273
- "desktop": {
274
- "value": "24px"
275
- },
276
- "mobile": {
277
- "value": "30px"
278
- }
279
- }
280
- },
281
- "color-slider-length": {
282
- "component": "color-slider",
283
- "sets": {
284
- "desktop": {
285
- "value": "192px"
286
- },
287
- "mobile": {
288
- "value": "240px"
289
- }
290
- }
291
- },
292
- "color-slider-minimum-length": {
293
- "component": "color-slider",
294
- "value": "200px"
295
- },
296
- "color-slider-border-width": {
297
- "component": "color-slider",
298
- "value": "1px"
299
- },
300
- "color-slider-border-rounding": {
301
- "component": "color-slider",
302
- "value": "4px"
303
- },
304
202
  "switch-control-width-small": {
305
203
  "component": "switch",
306
204
  "sets": {
@@ -1433,7 +1331,7 @@
1433
1331
  "value": "5px"
1434
1332
  },
1435
1333
  "progress-bar-minimum-width": {
1436
- "component": "swatch",
1334
+ "component": "progress-bar",
1437
1335
  "value": "48px"
1438
1336
  },
1439
1337
  "progress-bar-maximum-width": {
@@ -1525,50 +1423,6 @@
1525
1423
  }
1526
1424
  }
1527
1425
  },
1528
- "navigational-indicator-top-to-back-icon-small": {
1529
- "component": "navigational-indicator",
1530
- "sets": {
1531
- "desktop": {
1532
- "value": "7px"
1533
- },
1534
- "mobile": {
1535
- "value": "9px"
1536
- }
1537
- }
1538
- },
1539
- "navigational-indicator-top-to-back-icon-medium": {
1540
- "component": "navigational-indicator",
1541
- "sets": {
1542
- "desktop": {
1543
- "value": "11px"
1544
- },
1545
- "mobile": {
1546
- "value": "13px"
1547
- }
1548
- }
1549
- },
1550
- "navigational-indicator-top-to-back-icon-large": {
1551
- "component": "navigational-indicator",
1552
- "sets": {
1553
- "desktop": {
1554
- "value": "14px"
1555
- },
1556
- "mobile": {
1557
- "value": "17px"
1558
- }
1559
- }
1560
- },
1561
- "navigational-indicator-top-to-back-icon-extra-large": {
1562
- "component": "navigational-indicator",
1563
- "sets": {
1564
- "desktop": {
1565
- "value": "17px"
1566
- },
1567
- "mobile": {
1568
- "value": "22px"
1569
- }
1570
- }
1571
- },
1572
1426
  "in-line-alert-minimum-width": {
1573
1427
  "component": "in-line-alert",
1574
1428
  "value": "240px"
@@ -2188,6 +2042,7 @@
2188
2042
  }
2189
2043
  },
2190
2044
  "picker-visual-to-disclosure-icon-medium": {
2045
+ "component": "picker",
2191
2046
  "sets": {
2192
2047
  "desktop": {
2193
2048
  "value": "8px"
@@ -2800,7 +2655,7 @@
2800
2655
  }
2801
2656
  },
2802
2657
  "rating-indicator-width": {
2803
- "component": "rating-indicator",
2658
+ "component": "rating",
2804
2659
  "sets": {
2805
2660
  "desktop": {
2806
2661
  "value": "18px"
@@ -2811,7 +2666,7 @@
2811
2666
  }
2812
2667
  },
2813
2668
  "rating-indicator-to-icon": {
2814
- "component": "rating-indicator",
2669
+ "component": "rating",
2815
2670
  "sets": {
2816
2671
  "desktop": {
2817
2672
  "value": "4px"
@@ -2820,5 +2675,95 @@
2820
2675
  "value": "5px"
2821
2676
  }
2822
2677
  }
2678
+ },
2679
+ "color-area-width": {
2680
+ "component": "color-area",
2681
+ "sets": {
2682
+ "desktop": {
2683
+ "value": "192px"
2684
+ },
2685
+ "mobile": {
2686
+ "value": "240px"
2687
+ }
2688
+ }
2689
+ },
2690
+ "color-area-minimum-width": {
2691
+ "component": "color-area",
2692
+ "sets": {
2693
+ "desktop": {
2694
+ "value": "64px"
2695
+ },
2696
+ "mobile": {
2697
+ "value": "80px"
2698
+ }
2699
+ }
2700
+ },
2701
+ "color-area-height": {
2702
+ "component": "color-area",
2703
+ "sets": {
2704
+ "desktop": {
2705
+ "value": "192px"
2706
+ },
2707
+ "mobile": {
2708
+ "value": "240px"
2709
+ }
2710
+ }
2711
+ },
2712
+ "color-area-minimum-height": {
2713
+ "component": "color-area",
2714
+ "sets": {
2715
+ "desktop": {
2716
+ "value": "64px"
2717
+ },
2718
+ "mobile": {
2719
+ "value": "80px"
2720
+ }
2721
+ }
2722
+ },
2723
+ "color-area-border-width": {
2724
+ "component": "color-area",
2725
+ "value": "{border-width-100}"
2726
+ },
2727
+ "color-area-border-rounding": {
2728
+ "component": "color-area",
2729
+ "value": "{corner-radius-100}"
2730
+ },
2731
+ "color-wheel-minimum-width": {
2732
+ "component": "color-wheel",
2733
+ "sets": {
2734
+ "desktop": {
2735
+ "value": "192px"
2736
+ },
2737
+ "mobile": {
2738
+ "value": "240px"
2739
+ }
2740
+ }
2741
+ },
2742
+ "color-wheel-color-area-margin": {
2743
+ "component": "color-wheel",
2744
+ "value": "12px"
2745
+ },
2746
+ "color-slider-length": {
2747
+ "component": "color-slider",
2748
+ "sets": {
2749
+ "desktop": {
2750
+ "value": "192px"
2751
+ },
2752
+ "mobile": {
2753
+ "value": "240px"
2754
+ }
2755
+ }
2756
+ },
2757
+ "color-slider-minimum-length": {
2758
+ "component": "color-slider",
2759
+ "value": "200px"
2760
+ },
2761
+ "color-slider-border-width": {
2762
+ "component": "color-slider",
2763
+ "value": "1px"
2764
+ },
2765
+ "color-slider-border-rounding": {
2766
+ "component": "color-slider",
2767
+ "value": "4px"
2823
2768
  }
2824
2769
  }
package/src/layout.json CHANGED
@@ -1321,5 +1321,55 @@
1321
1321
  },
1322
1322
  "text-underline-gap": {
1323
1323
  "value": "1px"
1324
+ },
1325
+ "navigational-indicator-top-to-back-icon-small": {
1326
+ "sets": {
1327
+ "desktop": {
1328
+ "value": "7px"
1329
+ },
1330
+ "mobile": {
1331
+ "value": "9px"
1332
+ }
1333
+ }
1334
+ },
1335
+ "navigational-indicator-top-to-back-icon-medium": {
1336
+ "sets": {
1337
+ "desktop": {
1338
+ "value": "11px"
1339
+ },
1340
+ "mobile": {
1341
+ "value": "13px"
1342
+ }
1343
+ }
1344
+ },
1345
+ "navigational-indicator-top-to-back-icon-large": {
1346
+ "sets": {
1347
+ "desktop": {
1348
+ "value": "14px"
1349
+ },
1350
+ "mobile": {
1351
+ "value": "17px"
1352
+ }
1353
+ }
1354
+ },
1355
+ "navigational-indicator-top-to-back-icon-extra-large": {
1356
+ "sets": {
1357
+ "desktop": {
1358
+ "value": "17px"
1359
+ },
1360
+ "mobile": {
1361
+ "value": "22px"
1362
+ }
1363
+ }
1364
+ },
1365
+ "color-control-track-width": {
1366
+ "sets": {
1367
+ "desktop": {
1368
+ "value": "24px"
1369
+ },
1370
+ "mobile": {
1371
+ "value": "30px"
1372
+ }
1373
+ }
1324
1374
  }
1325
1375
  }
@@ -203,6 +203,18 @@
203
203
  "letter-spacing-cjk": {
204
204
  "value": "0.05em"
205
205
  },
206
+ "heading-sans-serif-font-family": {
207
+ "component": "heading",
208
+ "value": "{font-family-sans-serif}"
209
+ },
210
+ "heading-serif-font-family": {
211
+ "component": "heading",
212
+ "value": "{font-family-serif}"
213
+ },
214
+ "heading-cjk-font-family": {
215
+ "component": "heading",
216
+ "value": "{font-family-cjk}"
217
+ },
206
218
  "heading-sans-serif-light-font-weight": {
207
219
  "component": "heading",
208
220
  "value": "{font-weight-light}"
@@ -227,10 +239,6 @@
227
239
  "component": "heading",
228
240
  "value": "{font-style-default}"
229
241
  },
230
- "heading-sans-serif-font-family": {
231
- "component": "heading",
232
- "value": "{font-family-sans-serif}"
233
- },
234
242
  "heading-sans-serif-font-weight": {
235
243
  "component": "heading",
236
244
  "sets": {
@@ -246,10 +254,6 @@
246
254
  "component": "heading",
247
255
  "value": "{font-style-default}"
248
256
  },
249
- "heading-serif-font-family": {
250
- "component": "heading",
251
- "value": "{font-family-serif}"
252
- },
253
257
  "heading-serif-font-weight": {
254
258
  "component": "heading",
255
259
  "sets": {
@@ -265,10 +269,6 @@
265
269
  "component": "heading",
266
270
  "value": "{font-style-default}"
267
271
  },
268
- "heading-cjk-font-family": {
269
- "component": "heading",
270
- "value": "{font-family-cjk}"
271
- },
272
272
  "heading-cjk-font-weight": {
273
273
  "component": "heading",
274
274
  "sets": {
@@ -590,6 +590,14 @@
590
590
  "component": "body",
591
591
  "value": "{font-family-sans-serif}"
592
592
  },
593
+ "body-serif-font-family": {
594
+ "component": "body",
595
+ "value": "{font-family-serif}"
596
+ },
597
+ "body-cjk-font-family": {
598
+ "component": "body",
599
+ "value": "{font-family-cjk}"
600
+ },
593
601
  "body-sans-serif-font-weight": {
594
602
  "component": "body",
595
603
  "value": "{font-weight-regular}"
@@ -598,10 +606,6 @@
598
606
  "component": "body",
599
607
  "value": "{font-style-default}"
600
608
  },
601
- "body-serif-font-family": {
602
- "component": "body",
603
- "value": "{font-family-serif}"
604
- },
605
609
  "body-serif-font-weight": {
606
610
  "component": "body",
607
611
  "value": "{font-weight-regular}"
@@ -610,10 +614,6 @@
610
614
  "component": "body",
611
615
  "value": "{font-style-default}"
612
616
  },
613
- "body-cjk-font-family": {
614
- "component": "body",
615
- "value": "{font-family-cjk}"
616
- },
617
617
  "body-cjk-font-weight": {
618
618
  "component": "body",
619
619
  "value": "{font-weight-regular}"
@@ -1,45 +0,0 @@
1
- const { readFile } = require("fs/promises");
2
-
3
- const getValue = (obj, setName) => {
4
- if (obj.hasOwnProperty("value")) {
5
- return obj.value;
6
- } else if (obj.hasOwnProperty("sets")) {
7
- if (obj.sets.hasOwnProperty(setName)) {
8
- return getValue(obj.sets[setName], setName);
9
- } else if (obj.sets.hasOwnProperty("spectrum")) {
10
- return getValue(obj.sets.spectrum, setName);
11
- }
12
- }
13
- };
14
-
15
- const vars = { light: {}, dark: {}, darkest: {} };
16
- let variables;
17
- let drover;
18
-
19
- beforeAll(async () => {
20
- variables = JSON.parse(
21
- await readFile("dist/json/variables.json", { encoding: "utf8" })
22
- );
23
- drover = JSON.parse(
24
- await readFile("dist/json/drover.json", { encoding: "utf8" })
25
- );
26
- Object.keys(drover.colorThemes.light).forEach((tokenName) => {
27
- vars.light[tokenName] = getValue(variables[tokenName], "light");
28
- });
29
- Object.keys(drover.colorThemes.dark).forEach((tokenName) => {
30
- vars.dark[tokenName] = getValue(variables[tokenName], "dark");
31
- });
32
- Object.keys(drover.colorThemes.darkest).forEach((tokenName) => {
33
- vars.darkest[tokenName] = getValue(variables[tokenName], "darkest");
34
- });
35
- });
36
-
37
- test("Drover should match light variable values", () => {
38
- expect(drover.colorThemes.light).toMatchObject(vars.light);
39
- });
40
- test("Drover should match dark variable values", () => {
41
- expect(drover.colorThemes.dark).toMatchObject(vars.dark);
42
- });
43
- test("Drover should match darkest variable values", () => {
44
- expect(drover.colorThemes.darkest).toMatchObject(vars.darkest);
45
- });