@adobe/spectrum-tokens 13.0.0-beta.32 → 13.0.0-beta.34

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,5 +1,61 @@
1
1
  # @adobe/spectrum-tokens
2
2
 
3
+ ## 13.0.0-beta.34
4
+
5
+ ### Minor Changes
6
+
7
+ - [#334](https://github.com/adobe/spectrum-tokens/pull/334) [`4d28593`](https://github.com/adobe/spectrum-tokens/commit/4d28593c9d34414d72d78a1cc6c480d9ffdf82ce) Thanks [@nabuhasan](https://github.com/nabuhasan)! - S2 Popover tokens update
8
+
9
+ ## Token Diff
10
+
11
+ _Tokens added (3):_
12
+
13
+ - `popover-border-color`
14
+ - `popover-border-opacity`
15
+ - `popover-edge-to-content-area`
16
+
17
+ _Newly deprecated token (1):_
18
+
19
+ - `popover-top-to-content-area`
20
+
21
+ ## 13.0.0-beta.33
22
+
23
+ ### Minor Changes
24
+
25
+ - [#331](https://github.com/adobe/spectrum-tokens/pull/331) [`0bbfedb`](https://github.com/adobe/spectrum-tokens/commit/0bbfedb9dbb63fdd5b20e91f65b3f958a833313b) Thanks [@mrcjhicks](https://github.com/mrcjhicks)! - S2 Menu token updates
26
+
27
+ ## Token Diff
28
+
29
+ _Tokens added (23):_
30
+
31
+ - `link-out-icon-size-100`
32
+ - `link-out-icon-size-200`
33
+ - `link-out-icon-size-75`
34
+ - `menu-item-background-color-default`
35
+ - `menu-item-background-color-disabled`
36
+ - `menu-item-background-color-down`
37
+ - `menu-item-background-color-hover`
38
+ - `menu-item-background-color-keyboard-focus`
39
+ - `menu-item-background-opacity`
40
+ - `menu-item-label-to-description`
41
+ - `menu-item-label-to-description-extra-large`
42
+ - `menu-item-label-to-description-large`
43
+ - `menu-item-label-to-description-medium`
44
+ - `menu-item-label-to-description-small`
45
+ - `menu-item-top-to-thumbnail-extra-large`
46
+ - `menu-item-top-to-thumbnail-large`
47
+ - `menu-item-top-to-thumbnail-medium`
48
+ - `menu-item-top-to-thumbnail-small`
49
+ - `menu-section-header-to-description-extra-large`
50
+ - `menu-section-header-to-description-large`
51
+ - `menu-section-header-to-description-medium`
52
+ - `menu-section-header-to-description-small`
53
+ - `text-to-visual-400`
54
+
55
+ _Token values updated (1):_
56
+
57
+ - `menu-item-section-divider-height`
58
+
3
59
  ## 13.0.0-beta.32
4
60
 
5
61
  ### Minor Changes
@@ -300,6 +300,11 @@
300
300
  "magenta-900": "rgb(217, 35, 97)",
301
301
  "magenta-background-color-default": "rgb(217, 35, 97)",
302
302
  "magenta-visual-color": "rgb(240, 45, 110)",
303
+ "menu-item-background-color-default": "rgb(233, 233, 233)",
304
+ "menu-item-background-color-disabled": "rgb(233, 233, 233)",
305
+ "menu-item-background-color-down": "rgb(233, 233, 233)",
306
+ "menu-item-background-color-hover": "rgb(233, 233, 233)",
307
+ "menu-item-background-color-keyboard-focus": "rgb(233, 233, 233)",
303
308
  "negative-background-color-default": "rgb(215, 50, 32)",
304
309
  "negative-background-color-down": "rgb(183, 40, 24)",
305
310
  "negative-background-color-hover": "rgb(183, 40, 24)",
@@ -420,6 +425,8 @@
420
425
  "pink-900": "rgb(206, 42, 146)",
421
426
  "pink-background-color-default": "rgb(206, 42, 146)",
422
427
  "pink-visual-color": "rgb(228, 52, 163)",
428
+ "popover-border-color": "rgb(225, 225, 225)",
429
+ "popover-border-opacity": "0",
423
430
  "positive-background-color-default": "rgb(5, 131, 78)",
424
431
  "positive-background-color-down": "rgb(3, 110, 69)",
425
432
  "positive-background-color-hover": "rgb(3, 110, 69)",
@@ -876,6 +883,11 @@
876
883
  "magenta-900": "rgb(255, 51, 119)",
877
884
  "magenta-background-color-default": "rgb(207, 31, 92)",
878
885
  "magenta-visual-color": "rgb(255, 51, 119)",
886
+ "menu-item-background-color-default": "rgb(50, 50, 50)",
887
+ "menu-item-background-color-disabled": "rgb(50, 50, 50)",
888
+ "menu-item-background-color-down": "rgb(50, 50, 50)",
889
+ "menu-item-background-color-hover": "rgb(50, 50, 50)",
890
+ "menu-item-background-color-keyboard-focus": "rgb(50, 50, 50)",
879
891
  "negative-background-color-default": "rgb(205, 46, 29)",
880
892
  "negative-background-color-down": "rgb(177, 38, 23)",
881
893
  "negative-background-color-hover": "rgb(177, 38, 23)",
@@ -996,6 +1008,8 @@
996
1008
  "pink-900": "rgb(236, 67, 175)",
997
1009
  "pink-background-color-default": "rgb(196, 39, 138)",
998
1010
  "pink-visual-color": "rgb(236, 67, 175)",
1011
+ "popover-border-color": "rgb(50, 50, 50)",
1012
+ "popover-border-opacity": "1.0",
999
1013
  "positive-background-color-default": "rgb(4, 124, 75)",
1000
1014
  "positive-background-color-down": "rgb(3, 106, 67)",
1001
1015
  "positive-background-color-hover": "rgb(3, 106, 67)",
@@ -1718,12 +1732,19 @@
1718
1732
  "in-line-alert-minimum-width": "240px",
1719
1733
  "line-height-100": "1.3",
1720
1734
  "line-height-200": "1.5",
1735
+ "link-out-icon-size-100": "12px",
1736
+ "link-out-icon-size-200": "14px",
1737
+ "link-out-icon-size-75": "10px",
1721
1738
  "menu-item-edge-to-content-not-selected-extra-large": "45px",
1722
1739
  "menu-item-edge-to-content-not-selected-large": "38px",
1723
1740
  "menu-item-edge-to-content-not-selected-medium": "32px",
1724
1741
  "menu-item-edge-to-content-not-selected-small": "28px",
1725
1742
  "menu-item-label-to-description": "1px",
1726
- "menu-item-section-divider-height": "8px",
1743
+ "menu-item-label-to-description-extra-large": "2px",
1744
+ "menu-item-label-to-description-large": "2px",
1745
+ "menu-item-label-to-description-medium": "1px",
1746
+ "menu-item-label-to-description-small": "1px",
1747
+ "menu-item-section-divider-height": "12px",
1727
1748
  "menu-item-top-to-disclosure-icon-extra-large": "17px",
1728
1749
  "menu-item-top-to-disclosure-icon-large": "14px",
1729
1750
  "menu-item-top-to-disclosure-icon-medium": "11px",
@@ -1732,6 +1753,14 @@
1732
1753
  "menu-item-top-to-selected-icon-large": "14px",
1733
1754
  "menu-item-top-to-selected-icon-medium": "11px",
1734
1755
  "menu-item-top-to-selected-icon-small": "7px",
1756
+ "menu-item-top-to-thumbnail-extra-large": "11px",
1757
+ "menu-item-top-to-thumbnail-large": "10px",
1758
+ "menu-item-top-to-thumbnail-medium": "9px",
1759
+ "menu-item-top-to-thumbnail-small": "8px",
1760
+ "menu-section-header-to-description-extra-large": "2px",
1761
+ "menu-section-header-to-description-large": "2px",
1762
+ "menu-section-header-to-description-medium": "1px",
1763
+ "menu-section-header-to-description-small": "1px",
1735
1764
  "meter-default-width": "192px",
1736
1765
  "meter-maximum-width": "768px",
1737
1766
  "meter-minimum-width": "48px",
@@ -1753,9 +1782,10 @@
1753
1782
  "picker-visual-to-disclosure-icon-large": "9px",
1754
1783
  "picker-visual-to-disclosure-icon-medium": "8px",
1755
1784
  "picker-visual-to-disclosure-icon-small": "7px",
1785
+ "popover-edge-to-content-area": "8px",
1756
1786
  "popover-tip-height": "8px",
1757
1787
  "popover-tip-width": "16px",
1758
- "popover-top-to-content-area": "4px",
1788
+ "popover-top-to-content-area": "8px",
1759
1789
  "progress-bar-maximum-width": "768px",
1760
1790
  "progress-bar-minimum-width": "48px",
1761
1791
  "progress-bar-thickness-extra-large": "10px",
@@ -2036,6 +2066,7 @@
2036
2066
  "text-to-visual-100": "6px",
2037
2067
  "text-to-visual-200": "7px",
2038
2068
  "text-to-visual-300": "8px",
2069
+ "text-to-visual-400": "9px",
2039
2070
  "text-to-visual-50": "5px",
2040
2071
  "text-to-visual-75": "5px",
2041
2072
  "text-underline-gap": "1px",
@@ -5367,6 +5367,330 @@
5367
5367
  "value": "0.15",
5368
5368
  "uuid": "6a093ea1-f07e-4673-b52f-5b28a2e080d0"
5369
5369
  },
5370
+ "menu-item-background-color-default": {
5371
+ "sets": {
5372
+ "light": {
5373
+ "ref": "{gray-100}",
5374
+ "sets": {
5375
+ "light": {
5376
+ "value": "rgb(233, 233, 233)",
5377
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5378
+ },
5379
+ "dark": {
5380
+ "value": "rgb(44, 44, 44)",
5381
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5382
+ },
5383
+ "wireframe": {
5384
+ "value": "rgb(244, 246, 252)",
5385
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5386
+ }
5387
+ },
5388
+ "uuid": "f4d97d6a-c1f3-4ef5-b7e5-8fbee1365a83"
5389
+ },
5390
+ "dark": {
5391
+ "ref": "{gray-200}",
5392
+ "sets": {
5393
+ "light": {
5394
+ "value": "rgb(225, 225, 225)",
5395
+ "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
5396
+ },
5397
+ "dark": {
5398
+ "value": "rgb(50, 50, 50)",
5399
+ "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
5400
+ },
5401
+ "wireframe": {
5402
+ "value": "rgb(230, 236, 248)",
5403
+ "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
5404
+ }
5405
+ },
5406
+ "uuid": "9b9e8b32-46b8-470d-85b9-352c00e90138"
5407
+ },
5408
+ "wireframe": {
5409
+ "ref": "{gray-100}",
5410
+ "sets": {
5411
+ "light": {
5412
+ "value": "rgb(233, 233, 233)",
5413
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5414
+ },
5415
+ "dark": {
5416
+ "value": "rgb(44, 44, 44)",
5417
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5418
+ },
5419
+ "wireframe": {
5420
+ "value": "rgb(244, 246, 252)",
5421
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5422
+ }
5423
+ },
5424
+ "uuid": "9f60dd0a-2a38-4f0d-a83c-3acf777a622a"
5425
+ }
5426
+ }
5427
+ },
5428
+ "menu-item-background-color-hover": {
5429
+ "sets": {
5430
+ "light": {
5431
+ "ref": "{gray-100}",
5432
+ "sets": {
5433
+ "light": {
5434
+ "value": "rgb(233, 233, 233)",
5435
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5436
+ },
5437
+ "dark": {
5438
+ "value": "rgb(44, 44, 44)",
5439
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5440
+ },
5441
+ "wireframe": {
5442
+ "value": "rgb(244, 246, 252)",
5443
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5444
+ }
5445
+ },
5446
+ "uuid": "857e82a6-537e-4534-9084-353c5401f567"
5447
+ },
5448
+ "dark": {
5449
+ "ref": "{gray-200}",
5450
+ "sets": {
5451
+ "light": {
5452
+ "value": "rgb(225, 225, 225)",
5453
+ "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
5454
+ },
5455
+ "dark": {
5456
+ "value": "rgb(50, 50, 50)",
5457
+ "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
5458
+ },
5459
+ "wireframe": {
5460
+ "value": "rgb(230, 236, 248)",
5461
+ "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
5462
+ }
5463
+ },
5464
+ "uuid": "f68ff159-e886-4519-b95e-e93879a2f535"
5465
+ },
5466
+ "wireframe": {
5467
+ "ref": "{gray-100}",
5468
+ "sets": {
5469
+ "light": {
5470
+ "value": "rgb(233, 233, 233)",
5471
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5472
+ },
5473
+ "dark": {
5474
+ "value": "rgb(44, 44, 44)",
5475
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5476
+ },
5477
+ "wireframe": {
5478
+ "value": "rgb(244, 246, 252)",
5479
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5480
+ }
5481
+ },
5482
+ "uuid": "d3d08f7a-c516-4f0c-9377-4824d615ab66"
5483
+ }
5484
+ }
5485
+ },
5486
+ "menu-item-background-color-down": {
5487
+ "sets": {
5488
+ "light": {
5489
+ "ref": "{gray-100}",
5490
+ "sets": {
5491
+ "light": {
5492
+ "value": "rgb(233, 233, 233)",
5493
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5494
+ },
5495
+ "dark": {
5496
+ "value": "rgb(44, 44, 44)",
5497
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5498
+ },
5499
+ "wireframe": {
5500
+ "value": "rgb(244, 246, 252)",
5501
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5502
+ }
5503
+ },
5504
+ "uuid": "d609bd79-ab48-4a7a-95b1-da5a88ac5338"
5505
+ },
5506
+ "dark": {
5507
+ "ref": "{gray-200}",
5508
+ "sets": {
5509
+ "light": {
5510
+ "value": "rgb(225, 225, 225)",
5511
+ "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
5512
+ },
5513
+ "dark": {
5514
+ "value": "rgb(50, 50, 50)",
5515
+ "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
5516
+ },
5517
+ "wireframe": {
5518
+ "value": "rgb(230, 236, 248)",
5519
+ "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
5520
+ }
5521
+ },
5522
+ "uuid": "7ccdd9e8-3677-4de8-b9df-19efa80d88c0"
5523
+ },
5524
+ "wireframe": {
5525
+ "ref": "{gray-100}",
5526
+ "sets": {
5527
+ "light": {
5528
+ "value": "rgb(233, 233, 233)",
5529
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5530
+ },
5531
+ "dark": {
5532
+ "value": "rgb(44, 44, 44)",
5533
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5534
+ },
5535
+ "wireframe": {
5536
+ "value": "rgb(244, 246, 252)",
5537
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5538
+ }
5539
+ },
5540
+ "uuid": "a8911c6e-f480-4a7d-b7fe-e20a45fb8b2a"
5541
+ }
5542
+ }
5543
+ },
5544
+ "menu-item-background-color-keyboard-focus": {
5545
+ "sets": {
5546
+ "light": {
5547
+ "ref": "{gray-100}",
5548
+ "sets": {
5549
+ "light": {
5550
+ "value": "rgb(233, 233, 233)",
5551
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5552
+ },
5553
+ "dark": {
5554
+ "value": "rgb(44, 44, 44)",
5555
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5556
+ },
5557
+ "wireframe": {
5558
+ "value": "rgb(244, 246, 252)",
5559
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5560
+ }
5561
+ },
5562
+ "uuid": "dd044387-57b9-4867-90fa-b3c4c4a62e5c"
5563
+ },
5564
+ "dark": {
5565
+ "ref": "{gray-200}",
5566
+ "sets": {
5567
+ "light": {
5568
+ "value": "rgb(225, 225, 225)",
5569
+ "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
5570
+ },
5571
+ "dark": {
5572
+ "value": "rgb(50, 50, 50)",
5573
+ "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
5574
+ },
5575
+ "wireframe": {
5576
+ "value": "rgb(230, 236, 248)",
5577
+ "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
5578
+ }
5579
+ },
5580
+ "uuid": "ae9dc785-2406-407e-ab47-d42d6fbf65f6"
5581
+ },
5582
+ "wireframe": {
5583
+ "ref": "{gray-100}",
5584
+ "sets": {
5585
+ "light": {
5586
+ "value": "rgb(233, 233, 233)",
5587
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5588
+ },
5589
+ "dark": {
5590
+ "value": "rgb(44, 44, 44)",
5591
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5592
+ },
5593
+ "wireframe": {
5594
+ "value": "rgb(244, 246, 252)",
5595
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5596
+ }
5597
+ },
5598
+ "uuid": "541a7020-5cf5-4ebd-ac1f-2b776d5925af"
5599
+ }
5600
+ }
5601
+ },
5602
+ "menu-item-background-color-disabled": {
5603
+ "sets": {
5604
+ "light": {
5605
+ "ref": "{gray-100}",
5606
+ "sets": {
5607
+ "light": {
5608
+ "value": "rgb(233, 233, 233)",
5609
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5610
+ },
5611
+ "dark": {
5612
+ "value": "rgb(44, 44, 44)",
5613
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5614
+ },
5615
+ "wireframe": {
5616
+ "value": "rgb(244, 246, 252)",
5617
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5618
+ }
5619
+ },
5620
+ "uuid": "211d6540-cf9d-4d80-815b-885844283fa6"
5621
+ },
5622
+ "dark": {
5623
+ "ref": "{gray-200}",
5624
+ "sets": {
5625
+ "light": {
5626
+ "value": "rgb(225, 225, 225)",
5627
+ "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
5628
+ },
5629
+ "dark": {
5630
+ "value": "rgb(50, 50, 50)",
5631
+ "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
5632
+ },
5633
+ "wireframe": {
5634
+ "value": "rgb(230, 236, 248)",
5635
+ "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
5636
+ }
5637
+ },
5638
+ "uuid": "0e2c2900-180c-443a-86ff-49170166e616"
5639
+ },
5640
+ "wireframe": {
5641
+ "ref": "{gray-100}",
5642
+ "sets": {
5643
+ "light": {
5644
+ "value": "rgb(233, 233, 233)",
5645
+ "uuid": "64e2dbc2-05fa-43d7-80ae-d4d11c55348f"
5646
+ },
5647
+ "dark": {
5648
+ "value": "rgb(44, 44, 44)",
5649
+ "uuid": "abd011c4-87a5-4b1f-82e2-e94d118f417f"
5650
+ },
5651
+ "wireframe": {
5652
+ "value": "rgb(244, 246, 252)",
5653
+ "uuid": "3605974e-8f93-4907-81b3-fb6ab55d03f8"
5654
+ }
5655
+ },
5656
+ "uuid": "ce26d102-2e5e-4b11-b9bf-4d1b347c60c5"
5657
+ }
5658
+ }
5659
+ },
5660
+ "popover-border-color": {
5661
+ "ref": "{gray-200}",
5662
+ "sets": {
5663
+ "light": {
5664
+ "value": "rgb(225, 225, 225)",
5665
+ "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
5666
+ },
5667
+ "dark": {
5668
+ "value": "rgb(50, 50, 50)",
5669
+ "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
5670
+ },
5671
+ "wireframe": {
5672
+ "value": "rgb(230, 236, 248)",
5673
+ "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
5674
+ }
5675
+ },
5676
+ "uuid": "66da6f53-5446-43c1-bbe0-73b46763fde1"
5677
+ },
5678
+ "popover-border-opacity": {
5679
+ "sets": {
5680
+ "light": {
5681
+ "value": "0",
5682
+ "uuid": "05c58363-1d34-4991-a7f7-7be7da4df50a"
5683
+ },
5684
+ "dark": {
5685
+ "value": "1.0",
5686
+ "uuid": "fa9feacc-0c82-41a7-badc-5803c45a703b"
5687
+ },
5688
+ "wireframe": {
5689
+ "value": "0",
5690
+ "uuid": "d8f81d4f-b921-4a41-89c1-cdc79d40901a"
5691
+ }
5692
+ }
5693
+ },
5370
5694
  "white": {
5371
5695
  "value": "rgb(255, 255, 255)",
5372
5696
  "uuid": "9b799da8-2130-417e-b7ee-5e1154a89837"
@@ -11814,18 +12138,17 @@
11814
12138
  "uuid": "5960406b-973d-4e1f-9bb4-2c7a22422c5b"
11815
12139
  },
11816
12140
  "popover-top-to-content-area": {
11817
- "sets": {
11818
- "desktop": {
11819
- "value": "4px",
11820
- "uuid": "f97488e8-b1c1-442e-b98c-0ae6cff0b774"
11821
- },
11822
- "mobile": {
11823
- "value": "5px",
11824
- "uuid": "6165bae4-7148-4cb2-a1b4-38a25f2d8cde"
11825
- }
11826
- }
12141
+ "ref": "{popover-edge-to-content-area}",
12142
+ "value": "8px",
12143
+ "uuid": "f97488e8-b1c1-442e-b98c-0ae6cff0b774"
12144
+ },
12145
+ "popover-edge-to-content-area": {
12146
+ "ref": "{spacing-100}",
12147
+ "value": "8px",
12148
+ "uuid": "2a3bd47e-fde5-41d3-a585-f970bdefaf07"
11827
12149
  },
11828
12150
  "menu-item-label-to-description": {
12151
+ "ref": "{menu-item-label-to-description-medium}",
11829
12152
  "value": "1px",
11830
12153
  "uuid": "628cf42f-eb40-49b0-b110-3340421d4502"
11831
12154
  },
@@ -11974,7 +12297,7 @@
11974
12297
  }
11975
12298
  },
11976
12299
  "menu-item-section-divider-height": {
11977
- "value": "8px",
12300
+ "value": "12px",
11978
12301
  "uuid": "dac5c077-b948-434b-91bd-0759c2414007"
11979
12302
  },
11980
12303
  "slider-track-thickness": {
@@ -17407,6 +17730,126 @@
17407
17730
  },
17408
17731
  "uuid": "ee780be7-b32c-4da8-a6bc-fc0897799537"
17409
17732
  },
17733
+ "link-out-icon-size-75": {
17734
+ "sets": {
17735
+ "desktop": {
17736
+ "value": "10px",
17737
+ "uuid": "1e41d09e-684e-4f87-ae85-4bc95f958c0e"
17738
+ },
17739
+ "mobile": {
17740
+ "value": "12px",
17741
+ "uuid": "cb87186b-47aa-4baa-a47d-91b5e9f7965e"
17742
+ }
17743
+ }
17744
+ },
17745
+ "link-out-icon-size-100": {
17746
+ "sets": {
17747
+ "desktop": {
17748
+ "value": "12px",
17749
+ "uuid": "cc8ad91e-22f2-4f59-ae8c-99d2c1433d6e"
17750
+ },
17751
+ "mobile": {
17752
+ "value": "14px",
17753
+ "uuid": "083c11fe-1e10-46f5-9e71-3fcc2567fe2d"
17754
+ }
17755
+ }
17756
+ },
17757
+ "link-out-icon-size-200": {
17758
+ "sets": {
17759
+ "desktop": {
17760
+ "value": "14px",
17761
+ "uuid": "f78418a4-5b55-418b-9c90-7f388d5bb275"
17762
+ },
17763
+ "mobile": {
17764
+ "value": "16px",
17765
+ "uuid": "0062482b-0339-4632-9b40-89b5f1a440cf"
17766
+ }
17767
+ }
17768
+ },
17769
+ "menu-item-label-to-description-small": {
17770
+ "value": "1px",
17771
+ "uuid": "66d57402-d7db-45df-8872-fd362014bcbe"
17772
+ },
17773
+ "menu-item-label-to-description-medium": {
17774
+ "value": "1px",
17775
+ "uuid": "608fd592-fff8-435e-88e2-846bd34cc235"
17776
+ },
17777
+ "menu-item-label-to-description-large": {
17778
+ "value": "2px",
17779
+ "uuid": "4ce8b4db-72f8-411b-baad-8b66c0496182"
17780
+ },
17781
+ "menu-item-label-to-description-extra-large": {
17782
+ "value": "2px",
17783
+ "uuid": "5543ede1-4e55-44f5-920f-288ee96e06ca"
17784
+ },
17785
+ "menu-section-header-to-description-small": {
17786
+ "value": "1px",
17787
+ "uuid": "ac039575-7c1f-4733-a310-b39cebf83b82"
17788
+ },
17789
+ "menu-section-header-to-description-medium": {
17790
+ "value": "1px",
17791
+ "uuid": "4211feff-12af-4288-b86d-4c66a5a55b8f"
17792
+ },
17793
+ "menu-section-header-to-description-large": {
17794
+ "value": "2px",
17795
+ "uuid": "2899d6e1-acad-453b-ad65-1e6a6e380363"
17796
+ },
17797
+ "menu-section-header-to-description-extra-large": {
17798
+ "value": "2px",
17799
+ "uuid": "c9e46b75-f1d8-4b19-a258-b8b0a0e66484"
17800
+ },
17801
+ "menu-item-top-to-thumbnail-small": {
17802
+ "sets": {
17803
+ "desktop": {
17804
+ "value": "8px",
17805
+ "uuid": "456d5283-eb93-4b8d-b796-7f181ebcec04"
17806
+ },
17807
+ "mobile": {
17808
+ "value": "10px",
17809
+ "uuid": "af422766-3185-47d6-adba-31b1e97b92d9"
17810
+ }
17811
+ }
17812
+ },
17813
+ "menu-item-top-to-thumbnail-medium": {
17814
+ "sets": {
17815
+ "desktop": {
17816
+ "value": "9px",
17817
+ "uuid": "f71c4487-3c1e-4204-b631-b0658a6b5e12"
17818
+ },
17819
+ "mobile": {
17820
+ "value": "11px",
17821
+ "uuid": "62815f67-4e23-43f9-93d2-f29d1688cddf"
17822
+ }
17823
+ }
17824
+ },
17825
+ "menu-item-top-to-thumbnail-large": {
17826
+ "sets": {
17827
+ "desktop": {
17828
+ "value": "10px",
17829
+ "uuid": "0d468b92-74df-4044-8af3-c867eebbf370"
17830
+ },
17831
+ "mobile": {
17832
+ "value": "12px",
17833
+ "uuid": "64b2f613-35b2-46a8-be7d-c39c314840b9"
17834
+ }
17835
+ }
17836
+ },
17837
+ "menu-item-top-to-thumbnail-extra-large": {
17838
+ "sets": {
17839
+ "desktop": {
17840
+ "value": "11px",
17841
+ "uuid": "06a6c13b-2d58-4102-b169-073eed5599e6"
17842
+ },
17843
+ "mobile": {
17844
+ "value": "13px",
17845
+ "uuid": "dfeef197-57b9-41a1-b759-3c782a64f2f3"
17846
+ }
17847
+ }
17848
+ },
17849
+ "menu-item-background-opacity": {
17850
+ "value": "0",
17851
+ "uuid": "6f464689-0b87-4f38-b9a4-e5015acdd0d7"
17852
+ },
17410
17853
  "corner-radius-0": {
17411
17854
  "value": "0px",
17412
17855
  "uuid": "bb9d8350-b1fb-4496-9c22-6ec9647ff117"
@@ -17638,6 +18081,18 @@
17638
18081
  }
17639
18082
  }
17640
18083
  },
18084
+ "text-to-visual-400": {
18085
+ "sets": {
18086
+ "desktop": {
18087
+ "value": "9px",
18088
+ "uuid": "3d393d59-b358-48a7-82c6-a7802408cd0d"
18089
+ },
18090
+ "mobile": {
18091
+ "value": "11px",
18092
+ "uuid": "b496071f-4151-4bc2-86eb-f2e41947e0f6"
18093
+ }
18094
+ }
18095
+ },
17641
18096
  "text-to-control-75": {
17642
18097
  "sets": {
17643
18098
  "desktop": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "13.0.0-beta.32",
3
+ "version": "13.0.0-beta.34",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -25,12 +25,14 @@
25
25
  "light": {
26
26
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
27
27
  "value": "0.4",
28
- "uuid": "26b9803c-577f-4a29-badd-dfc459e8b73e"
28
+ "uuid": "26b9803c-577f-4a29-badd-dfc459e8b73e",
29
+ "deprecated": true
29
30
  },
30
31
  "dark": {
31
32
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
32
33
  "value": "0.6",
33
- "uuid": "31d5b502-6266-4309-8f8a-3892e6e158da"
34
+ "uuid": "31d5b502-6266-4309-8f8a-3892e6e158da",
35
+ "deprecated": true
34
36
  },
35
37
  "wireframe": {
36
38
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
@@ -1721,4 +1723,4 @@
1721
1723
  "value": "{gray-100}",
1722
1724
  "uuid": "cc79fbaf-a2e1-4761-82e7-1dbea52acee8"
1723
1725
  }
1724
- }
1726
+ }
@@ -267,5 +267,137 @@
267
267
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
268
268
  "value": "0.15",
269
269
  "uuid": "6a093ea1-f07e-4673-b52f-5b28a2e080d0"
270
+ },
271
+ "menu-item-background-color-default": {
272
+ "component": "menu-item",
273
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
274
+ "sets": {
275
+ "light": {
276
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
277
+ "value": "{gray-100}",
278
+ "uuid": "f4d97d6a-c1f3-4ef5-b7e5-8fbee1365a83"
279
+ },
280
+ "dark": {
281
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
282
+ "value": "{gray-200}",
283
+ "uuid": "9b9e8b32-46b8-470d-85b9-352c00e90138"
284
+ },
285
+ "wireframe": {
286
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
287
+ "value": "{gray-100}",
288
+ "uuid": "9f60dd0a-2a38-4f0d-a83c-3acf777a622a"
289
+ }
290
+ }
291
+ },
292
+ "menu-item-background-color-hover": {
293
+ "component": "menu-item",
294
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
295
+ "sets": {
296
+ "light": {
297
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
298
+ "value": "{gray-100}",
299
+ "uuid": "857e82a6-537e-4534-9084-353c5401f567"
300
+ },
301
+ "dark": {
302
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
303
+ "value": "{gray-200}",
304
+ "uuid": "f68ff159-e886-4519-b95e-e93879a2f535"
305
+ },
306
+ "wireframe": {
307
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
308
+ "value": "{gray-100}",
309
+ "uuid": "d3d08f7a-c516-4f0c-9377-4824d615ab66"
310
+ }
311
+ }
312
+ },
313
+ "menu-item-background-color-down": {
314
+ "component": "menu-item",
315
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
316
+ "sets": {
317
+ "light": {
318
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
319
+ "value": "{gray-100}",
320
+ "uuid": "d609bd79-ab48-4a7a-95b1-da5a88ac5338"
321
+ },
322
+ "dark": {
323
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
324
+ "value": "{gray-200}",
325
+ "uuid": "7ccdd9e8-3677-4de8-b9df-19efa80d88c0"
326
+ },
327
+ "wireframe": {
328
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
329
+ "value": "{gray-100}",
330
+ "uuid": "a8911c6e-f480-4a7d-b7fe-e20a45fb8b2a"
331
+ }
332
+ }
333
+ },
334
+ "menu-item-background-color-keyboard-focus": {
335
+ "component": "menu-item",
336
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
337
+ "sets": {
338
+ "light": {
339
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
340
+ "value": "{gray-100}",
341
+ "uuid": "dd044387-57b9-4867-90fa-b3c4c4a62e5c"
342
+ },
343
+ "dark": {
344
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
345
+ "value": "{gray-200}",
346
+ "uuid": "ae9dc785-2406-407e-ab47-d42d6fbf65f6"
347
+ },
348
+ "wireframe": {
349
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
350
+ "value": "{gray-100}",
351
+ "uuid": "541a7020-5cf5-4ebd-ac1f-2b776d5925af"
352
+ }
353
+ }
354
+ },
355
+ "menu-item-background-color-disabled": {
356
+ "component": "menu-item",
357
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
358
+ "sets": {
359
+ "light": {
360
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
361
+ "value": "{gray-100}",
362
+ "uuid": "211d6540-cf9d-4d80-815b-885844283fa6"
363
+ },
364
+ "dark": {
365
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
366
+ "value": "{gray-200}",
367
+ "uuid": "0e2c2900-180c-443a-86ff-49170166e616"
368
+ },
369
+ "wireframe": {
370
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
371
+ "value": "{gray-100}",
372
+ "uuid": "ce26d102-2e5e-4b11-b9bf-4d1b347c60c5"
373
+ }
374
+ }
375
+ },
376
+ "popover-border-color": {
377
+ "component": "popover",
378
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
379
+ "value": "{gray-200}",
380
+ "uuid": "66da6f53-5446-43c1-bbe0-73b46763fde1"
381
+ },
382
+ "popover-border-opacity": {
383
+ "component": "popover",
384
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
385
+ "sets": {
386
+ "light": {
387
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
388
+ "value": "0",
389
+ "uuid": "05c58363-1d34-4991-a7f7-7be7da4df50a"
390
+ },
391
+ "dark": {
392
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
393
+ "value": "1.0",
394
+ "uuid": "fa9feacc-0c82-41a7-badc-5803c45a703b"
395
+ },
396
+ "wireframe": {
397
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
398
+ "value": "0",
399
+ "uuid": "d8f81d4f-b921-4a41-89c1-cdc79d40901a"
400
+ }
401
+ }
270
402
  }
271
403
  }
@@ -1591,25 +1591,24 @@
1591
1591
  },
1592
1592
  "popover-top-to-content-area": {
1593
1593
  "component": "popover",
1594
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
1595
- "sets": {
1596
- "desktop": {
1597
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
1598
- "value": "4px",
1599
- "uuid": "f97488e8-b1c1-442e-b98c-0ae6cff0b774"
1600
- },
1601
- "mobile": {
1602
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
1603
- "value": "5px",
1604
- "uuid": "6165bae4-7148-4cb2-a1b4-38a25f2d8cde"
1605
- }
1606
- }
1594
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
1595
+ "value": "{popover-edge-to-content-area}",
1596
+ "uuid": "f97488e8-b1c1-442e-b98c-0ae6cff0b774",
1597
+ "deprecated": true,
1598
+ "deprecated_comment": "Introduced as an error. Use popover-edge-to-content-area instead"
1599
+ },
1600
+ "popover-edge-to-content-area": {
1601
+ "component": "popover",
1602
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
1603
+ "value": "{spacing-100}",
1604
+ "uuid": "2a3bd47e-fde5-41d3-a585-f970bdefaf07"
1607
1605
  },
1608
1606
  "menu-item-label-to-description": {
1609
1607
  "component": "menu",
1610
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
1611
- "value": "1px",
1612
- "uuid": "628cf42f-eb40-49b0-b110-3340421d4502"
1608
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
1609
+ "value": "{menu-item-label-to-description-medium}",
1610
+ "uuid": "628cf42f-eb40-49b0-b110-3340421d4502",
1611
+ "deprecated": true
1613
1612
  },
1614
1613
  "menu-item-edge-to-content-not-selected-small": {
1615
1614
  "component": "menu",
@@ -1806,7 +1805,7 @@
1806
1805
  "menu-item-section-divider-height": {
1807
1806
  "component": "menu",
1808
1807
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
1809
- "value": "8px",
1808
+ "value": "12px",
1810
1809
  "uuid": "dac5c077-b948-434b-91bd-0759c2414007"
1811
1810
  },
1812
1811
  "slider-track-thickness": {
@@ -7911,5 +7910,171 @@
7911
7910
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
7912
7911
  "value": "{text-to-visual-300}",
7913
7912
  "uuid": "ee780be7-b32c-4da8-a6bc-fc0897799537"
7913
+ },
7914
+ "link-out-icon-size-75": {
7915
+ "component": "link-out-icon",
7916
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7917
+ "sets": {
7918
+ "desktop": {
7919
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7920
+ "value": "10px",
7921
+ "uuid": "1e41d09e-684e-4f87-ae85-4bc95f958c0e"
7922
+ },
7923
+ "mobile": {
7924
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7925
+ "value": "12px",
7926
+ "uuid": "cb87186b-47aa-4baa-a47d-91b5e9f7965e"
7927
+ }
7928
+ }
7929
+ },
7930
+ "link-out-icon-size-100": {
7931
+ "component": "link-out-icon",
7932
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7933
+ "sets": {
7934
+ "desktop": {
7935
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7936
+ "value": "12px",
7937
+ "uuid": "cc8ad91e-22f2-4f59-ae8c-99d2c1433d6e"
7938
+ },
7939
+ "mobile": {
7940
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7941
+ "value": "14px",
7942
+ "uuid": "083c11fe-1e10-46f5-9e71-3fcc2567fe2d"
7943
+ }
7944
+ }
7945
+ },
7946
+ "link-out-icon-size-200": {
7947
+ "component": "link-out-icon",
7948
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7949
+ "sets": {
7950
+ "desktop": {
7951
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7952
+ "value": "14px",
7953
+ "uuid": "f78418a4-5b55-418b-9c90-7f388d5bb275"
7954
+ },
7955
+ "mobile": {
7956
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7957
+ "value": "16px",
7958
+ "uuid": "0062482b-0339-4632-9b40-89b5f1a440cf"
7959
+ }
7960
+ }
7961
+ },
7962
+ "menu-item-label-to-description-small": {
7963
+ "component": "menu-item",
7964
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7965
+ "value": "1px",
7966
+ "uuid": "66d57402-d7db-45df-8872-fd362014bcbe"
7967
+ },
7968
+ "menu-item-label-to-description-medium": {
7969
+ "component": "menu-item",
7970
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7971
+ "value": "1px",
7972
+ "uuid": "608fd592-fff8-435e-88e2-846bd34cc235"
7973
+ },
7974
+ "menu-item-label-to-description-large": {
7975
+ "component": "menu-item",
7976
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7977
+ "value": "2px",
7978
+ "uuid": "4ce8b4db-72f8-411b-baad-8b66c0496182"
7979
+ },
7980
+ "menu-item-label-to-description-extra-large": {
7981
+ "component": "menu-item",
7982
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7983
+ "value": "2px",
7984
+ "uuid": "5543ede1-4e55-44f5-920f-288ee96e06ca"
7985
+ },
7986
+ "menu-section-header-to-description-small": {
7987
+ "component": "menu",
7988
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7989
+ "value": "1px",
7990
+ "uuid": "ac039575-7c1f-4733-a310-b39cebf83b82"
7991
+ },
7992
+ "menu-section-header-to-description-medium": {
7993
+ "component": "menu",
7994
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7995
+ "value": "1px",
7996
+ "uuid": "4211feff-12af-4288-b86d-4c66a5a55b8f"
7997
+ },
7998
+ "menu-section-header-to-description-large": {
7999
+ "component": "menu",
8000
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8001
+ "value": "2px",
8002
+ "uuid": "2899d6e1-acad-453b-ad65-1e6a6e380363"
8003
+ },
8004
+ "menu-section-header-to-description-extra-large": {
8005
+ "component": "menu",
8006
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8007
+ "value": "2px",
8008
+ "uuid": "c9e46b75-f1d8-4b19-a258-b8b0a0e66484"
8009
+ },
8010
+ "menu-item-top-to-thumbnail-small": {
8011
+ "component": "menu-item",
8012
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
8013
+ "sets": {
8014
+ "desktop": {
8015
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8016
+ "value": "8px",
8017
+ "uuid": "456d5283-eb93-4b8d-b796-7f181ebcec04"
8018
+ },
8019
+ "mobile": {
8020
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8021
+ "value": "10px",
8022
+ "uuid": "af422766-3185-47d6-adba-31b1e97b92d9"
8023
+ }
8024
+ }
8025
+ },
8026
+ "menu-item-top-to-thumbnail-medium": {
8027
+ "component": "menu-item",
8028
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
8029
+ "sets": {
8030
+ "desktop": {
8031
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8032
+ "value": "9px",
8033
+ "uuid": "f71c4487-3c1e-4204-b631-b0658a6b5e12"
8034
+ },
8035
+ "mobile": {
8036
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8037
+ "value": "11px",
8038
+ "uuid": "62815f67-4e23-43f9-93d2-f29d1688cddf"
8039
+ }
8040
+ }
8041
+ },
8042
+ "menu-item-top-to-thumbnail-large": {
8043
+ "component": "menu-item",
8044
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
8045
+ "sets": {
8046
+ "desktop": {
8047
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8048
+ "value": "10px",
8049
+ "uuid": "0d468b92-74df-4044-8af3-c867eebbf370"
8050
+ },
8051
+ "mobile": {
8052
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8053
+ "value": "12px",
8054
+ "uuid": "64b2f613-35b2-46a8-be7d-c39c314840b9"
8055
+ }
8056
+ }
8057
+ },
8058
+ "menu-item-top-to-thumbnail-extra-large": {
8059
+ "component": "menu-item",
8060
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
8061
+ "sets": {
8062
+ "desktop": {
8063
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8064
+ "value": "11px",
8065
+ "uuid": "06a6c13b-2d58-4102-b169-073eed5599e6"
8066
+ },
8067
+ "mobile": {
8068
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8069
+ "value": "13px",
8070
+ "uuid": "dfeef197-57b9-41a1-b759-3c782a64f2f3"
8071
+ }
8072
+ }
8073
+ },
8074
+ "menu-item-background-opacity": {
8075
+ "component": "menu-item",
8076
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
8077
+ "value": "0",
8078
+ "uuid": "6f464689-0b87-4f38-b9a4-e5015acdd0d7"
7914
8079
  }
7915
8080
  }
package/src/layout.json CHANGED
@@ -287,6 +287,21 @@
287
287
  }
288
288
  }
289
289
  },
290
+ "text-to-visual-400": {
291
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
292
+ "sets": {
293
+ "desktop": {
294
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
295
+ "value": "9px",
296
+ "uuid": "3d393d59-b358-48a7-82c6-a7802408cd0d"
297
+ },
298
+ "mobile": {
299
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
300
+ "value": "11px",
301
+ "uuid": "b496071f-4151-4bc2-86eb-f2e41947e0f6"
302
+ }
303
+ }
304
+ },
290
305
  "text-to-control-75": {
291
306
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
292
307
  "sets": {
@@ -2314,4 +2329,4 @@
2314
2329
  "value": "{drop-shadow-blur-200}",
2315
2330
  "uuid": "f3487a86-3aea-4527-8b5c-287c0bddad6c"
2316
2331
  }
2317
- }
2332
+ }
@@ -439,4 +439,4 @@
439
439
  "value": "{red-200}",
440
440
  "uuid": "8e9429cf-4c89-47be-bc6e-eeecc632aeb1"
441
441
  }
442
- }
442
+ }
package/tasks/addIds.js CHANGED
@@ -10,12 +10,9 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import { glob } from "glob";
14
13
  import crypto from "crypto"; // (not the fake money)
15
14
  import { writeFile, readFile } from "fs/promises";
16
-
17
- const files = await glob("src/**/*.json");
18
- console.log(files);
15
+ import { tokenFileNames, writeJson } from "../index.js";
19
16
 
20
17
  const VALUE = "value";
21
18
  const UUID = "uuid";
@@ -63,7 +60,7 @@ function addUUIDs(json) {
63
60
  }
64
61
 
65
62
  // run through the files and find uuids
66
- for (const fileName of files) {
63
+ for (const fileName of tokenFileNames) {
67
64
  const fileData = await readFile(fileName, "utf8");
68
65
  const fileJSON = JSON.parse(fileData);
69
66
 
@@ -71,7 +68,7 @@ for (const fileName of files) {
71
68
  }
72
69
 
73
70
  // run through the files and add uuids
74
- for (const fileName of files) {
71
+ for (const fileName of tokenFileNames) {
75
72
  const fileData = await readFile(fileName, "utf8");
76
73
  const fileJSON = JSON.parse(fileData);
77
74
 
@@ -79,7 +76,7 @@ for (const fileName of files) {
79
76
 
80
77
  addUUIDs(fileJSON);
81
78
 
82
- await writeFile(fileName, JSON.stringify(fileJSON, null, 2));
79
+ await writeJson(fileName, fileJSON);
83
80
 
84
81
  if (uuids.length !== existing) {
85
82
  console.log(` added: ${fileName} ${uuids.length - existing} uuids`);