@adobe/spectrum-tokens 13.0.0-beta.44 → 13.0.0-beta.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # @adobe/spectrum-tokens
2
2
 
3
+ ## 13.0.0-beta.46
4
+
5
+ ### Minor Changes
6
+
7
+ - [#396](https://github.com/adobe/spectrum-tokens/pull/396) [`4fcfe5b`](https://github.com/adobe/spectrum-tokens/commit/4fcfe5bd83214a7ca3644646bbf0f38802a20f43) Thanks [@larz0](https://github.com/larz0)! - Added brand new tokens for the S2 Standard Panel:
8
+
9
+ ## Design Motivation
10
+
11
+ Added tokens needed for the new S2 standard panel component.
12
+
13
+ ## Token Diff
14
+
15
+ _Tokens Added (12):_
16
+
17
+ - `standard-panel-width`
18
+ - `standard-panel-minimum-width`
19
+ - `standard-panel-maximum-width`
20
+ - `standard-panel-top-to-close-button-compact`
21
+ - `standard-panel-top-to-close-button-regular`
22
+ - `standard-panel-top-to-close-button-spacious`
23
+ - `standard-panel-edge-to-close-button-compact`
24
+ - `standard-panel-edge-to-close-button-regular`
25
+ - `standard-panel-edge-to-close-button-spacious`
26
+ - `standard-panel-title-font-size`
27
+ - `standard-panel-gripper-color`
28
+ - `standard-panel-gripper-color-drag`
29
+
30
+ ## 13.0.0-beta.45
31
+
32
+ ### Minor Changes
33
+
34
+ - [#390](https://github.com/adobe/spectrum-tokens/pull/390) [`cc9c304`](https://github.com/adobe/spectrum-tokens/commit/cc9c3048893058c3f01d6f1ce4688d8ab3716397) Thanks [@lynnhao](https://github.com/lynnhao)! - Updated code tokens for S2
35
+
36
+ ## Design Motivation
37
+
38
+ These code token updates include some fixes to CJK font-weights to match the Latin font-weights when possible. We added CJK size tokens for consistency with other typography style tokens. Note that the new CJK size tokens currently point to the default code font-size tokens since Source Code Pro handles Latin and CJK sizing comparably.
39
+
40
+ ## Token Diff
41
+
42
+ _Tokens added (5):_
43
+
44
+ - `code-cjk-size-l`
45
+ - `code-cjk-size-m`
46
+ - `code-cjk-size-s`
47
+ - `code-cjk-size-xl`
48
+ - `code-cjk-size-xs`
49
+
50
+ _Token values updated (2):_
51
+
52
+ - `code-cjk-strong-emphasized-font-weight`
53
+ - `code-cjk-strong-font-weight`
54
+
3
55
  ## 13.0.0-beta.44
4
56
 
5
57
  ### Minor Changes
@@ -603,6 +603,8 @@
603
603
  "silver-900": "rgb(114, 114, 114)",
604
604
  "silver-background-color-default": "rgb(114, 114, 114)",
605
605
  "silver-visual-color": "rgb(128, 128, 128)",
606
+ "standard-panel-gripper-color": "rgb(225, 225, 225)",
607
+ "standard-panel-gripper-color-drag": "rgb(41, 41, 41)",
606
608
  "static-black-focus-indicator-color": "rgb(0, 0, 0)",
607
609
  "static-black-text-color": "rgb(0, 0, 0)",
608
610
  "static-black-track-color": "rgba(0, 0, 0, 0.15)",
@@ -1276,6 +1278,8 @@
1276
1278
  "silver-900": "rgb(137, 137, 137)",
1277
1279
  "silver-background-color-default": "rgb(108, 108, 108)",
1278
1280
  "silver-visual-color": "rgb(137, 137, 137)",
1281
+ "standard-panel-gripper-color": "rgb(50, 50, 50)",
1282
+ "standard-panel-gripper-color-drag": "rgb(219, 219, 219)",
1279
1283
  "static-black-focus-indicator-color": "rgb(0, 0, 0)",
1280
1284
  "static-black-text-color": "rgb(0, 0, 0)",
1281
1285
  "static-black-track-color": "rgba(0, 0, 0, 0.15)",
@@ -1631,6 +1635,11 @@
1631
1635
  "coach-mark-title-size": "16px",
1632
1636
  "coach-mark-width": "296px",
1633
1637
  "code-cjk-line-height": "1.7",
1638
+ "code-cjk-size-l": "18px",
1639
+ "code-cjk-size-m": "16px",
1640
+ "code-cjk-size-s": "14px",
1641
+ "code-cjk-size-xl": "20px",
1642
+ "code-cjk-size-xs": "12px",
1634
1643
  "code-line-height": "1.5",
1635
1644
  "code-size-l": "18px",
1636
1645
  "code-size-m": "16px",
@@ -2125,6 +2134,16 @@
2125
2134
  "standard-dialog-maximum-width-small": "400px",
2126
2135
  "standard-dialog-minimum-width": "288px",
2127
2136
  "standard-dialog-title-font-size": "22px",
2137
+ "standard-panel-edge-to-close-button-compact": "3px",
2138
+ "standard-panel-edge-to-close-button-regular": "7px",
2139
+ "standard-panel-edge-to-close-button-spacious": "15px",
2140
+ "standard-panel-maximum-width": "400px",
2141
+ "standard-panel-minimum-width": "200px",
2142
+ "standard-panel-title-font-size": "14px",
2143
+ "standard-panel-top-to-close-button-compact": "5px",
2144
+ "standard-panel-top-to-close-button-regular": "9px",
2145
+ "standard-panel-top-to-close-button-spacious": "17px",
2146
+ "standard-panel-width": "260px",
2128
2147
  "status-light-dot-size-extra-large": "14px",
2129
2148
  "status-light-dot-size-large": "12px",
2130
2149
  "status-light-dot-size-medium": "10px",
@@ -5819,6 +5819,64 @@
5819
5819
  },
5820
5820
  "uuid": "bae79ea7-2b3e-4d43-af42-7deab67acc7c"
5821
5821
  },
5822
+ "standard-panel-gripper-color-drag": {
5823
+ "sets": {
5824
+ "light": {
5825
+ "ref": "{gray-800}",
5826
+ "sets": {
5827
+ "light": {
5828
+ "value": "rgb(41, 41, 41)",
5829
+ "uuid": "2caf1f36-80b9-4659-90be-8d89672bb19f"
5830
+ },
5831
+ "dark": {
5832
+ "value": "rgb(219, 219, 219)",
5833
+ "uuid": "d39fc368-ec71-40cd-85e9-afb07862f2b7"
5834
+ },
5835
+ "wireframe": {
5836
+ "value": "rgb(73, 110, 194)",
5837
+ "uuid": "22e79b14-2a60-4721-8e9b-800fa9e7a128"
5838
+ }
5839
+ },
5840
+ "uuid": "69e2d0b3-6807-4e46-9f8a-72bf49439f36"
5841
+ },
5842
+ "dark": {
5843
+ "ref": "{gray-800}",
5844
+ "sets": {
5845
+ "light": {
5846
+ "value": "rgb(41, 41, 41)",
5847
+ "uuid": "2caf1f36-80b9-4659-90be-8d89672bb19f"
5848
+ },
5849
+ "dark": {
5850
+ "value": "rgb(219, 219, 219)",
5851
+ "uuid": "d39fc368-ec71-40cd-85e9-afb07862f2b7"
5852
+ },
5853
+ "wireframe": {
5854
+ "value": "rgb(73, 110, 194)",
5855
+ "uuid": "22e79b14-2a60-4721-8e9b-800fa9e7a128"
5856
+ }
5857
+ },
5858
+ "uuid": "e0533561-893d-4947-a0bb-d29c0bb42a2b"
5859
+ }
5860
+ }
5861
+ },
5862
+ "standard-panel-gripper-color": {
5863
+ "ref": "{gray-200}",
5864
+ "sets": {
5865
+ "light": {
5866
+ "value": "rgb(225, 225, 225)",
5867
+ "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
5868
+ },
5869
+ "dark": {
5870
+ "value": "rgb(50, 50, 50)",
5871
+ "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
5872
+ },
5873
+ "wireframe": {
5874
+ "value": "rgb(230, 236, 248)",
5875
+ "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
5876
+ }
5877
+ },
5878
+ "uuid": "71840c7b-acdd-45b9-a228-5091591f5405"
5879
+ },
5822
5880
  "white": {
5823
5881
  "value": "rgb(255, 255, 255)",
5824
5882
  "uuid": "9b799da8-2130-417e-b7ee-5e1154a89837"
@@ -21430,6 +21488,126 @@
21430
21488
  }
21431
21489
  }
21432
21490
  },
21491
+ "code-cjk-size-xl": {
21492
+ "ref": "{code-size-xl}",
21493
+ "sets": {
21494
+ "desktop": {
21495
+ "value": "20px",
21496
+ "uuid": "292a28d6-2e15-46e2-80cd-5171d977e9b5"
21497
+ },
21498
+ "mobile": {
21499
+ "value": "24px",
21500
+ "uuid": "d5ed0e8d-01ac-495f-bd15-fecc30af17c4"
21501
+ }
21502
+ },
21503
+ "uuid": "a2e258a0-21f6-44d7-9bfe-0052620e5ac2"
21504
+ },
21505
+ "code-cjk-size-l": {
21506
+ "ref": "{code-size-l}",
21507
+ "sets": {
21508
+ "desktop": {
21509
+ "value": "18px",
21510
+ "uuid": "3dc9b6a4-77e3-484b-be8c-fbc2f50e6175"
21511
+ },
21512
+ "mobile": {
21513
+ "value": "22px",
21514
+ "uuid": "9b9a7175-dcca-43aa-98ce-f1c3e4eefda7"
21515
+ }
21516
+ },
21517
+ "uuid": "15e8593b-1b86-40e0-ae88-fcc587e24373"
21518
+ },
21519
+ "code-cjk-size-m": {
21520
+ "ref": "{code-size-m}",
21521
+ "sets": {
21522
+ "desktop": {
21523
+ "value": "16px",
21524
+ "uuid": "b36caaa3-7047-4dfb-8a84-f990a8ac3a91"
21525
+ },
21526
+ "mobile": {
21527
+ "value": "19px",
21528
+ "uuid": "7e51ff4e-2749-49d1-b9ed-75de92a73991"
21529
+ }
21530
+ },
21531
+ "uuid": "69436fba-18a7-4a28-b6c5-683a8838917c"
21532
+ },
21533
+ "code-cjk-size-s": {
21534
+ "ref": "{code-size-s}",
21535
+ "sets": {
21536
+ "desktop": {
21537
+ "value": "14px",
21538
+ "uuid": "938e2d24-1e90-48f0-a596-595a69103707"
21539
+ },
21540
+ "mobile": {
21541
+ "value": "17px",
21542
+ "uuid": "2f9ee3cf-ccb1-4f0b-aed6-96e472fb7411"
21543
+ }
21544
+ },
21545
+ "uuid": "80c3d9ab-39d1-4329-a88f-bb84c3afd17f"
21546
+ },
21547
+ "code-cjk-size-xs": {
21548
+ "ref": "{code-size-xs}",
21549
+ "sets": {
21550
+ "desktop": {
21551
+ "value": "12px",
21552
+ "uuid": "55d90327-8cc9-4d4f-891f-9d42751d989a"
21553
+ },
21554
+ "mobile": {
21555
+ "value": "15px",
21556
+ "uuid": "07e1c2a8-3925-4d71-8fae-3486483ff44c"
21557
+ }
21558
+ },
21559
+ "uuid": "6b577e2a-09c0-42bb-8b94-42034df63036"
21560
+ },
21561
+ "standard-panel-width": {
21562
+ "value": "260px",
21563
+ "uuid": "41cd9d92-4d69-4aaa-9c95-e980aa5eb992"
21564
+ },
21565
+ "standard-panel-minimum-width": {
21566
+ "value": "200px",
21567
+ "uuid": "37ab7428-8175-409f-8e74-55e51a962139"
21568
+ },
21569
+ "standard-panel-maximum-width": {
21570
+ "value": "400px",
21571
+ "uuid": "11400ef3-c995-41bc-8a9d-eb389d95f360"
21572
+ },
21573
+ "standard-panel-top-to-close-button-compact": {
21574
+ "value": "5px",
21575
+ "uuid": "66f385cd-b60b-42dd-bfdc-aba2db6e35a2"
21576
+ },
21577
+ "standard-panel-top-to-close-button-regular": {
21578
+ "value": "9px",
21579
+ "uuid": "968a056e-4397-4a71-91f1-a0f1ebb6f751"
21580
+ },
21581
+ "standard-panel-top-to-close-button-spacious": {
21582
+ "value": "17px",
21583
+ "uuid": "96572147-20a9-4089-9904-0a0efa42a5af"
21584
+ },
21585
+ "standard-panel-edge-to-close-button-compact": {
21586
+ "value": "3px",
21587
+ "uuid": "6364d657-804c-4753-832d-09bfdf5ad36a"
21588
+ },
21589
+ "standard-panel-edge-to-close-button-regular": {
21590
+ "value": "7px",
21591
+ "uuid": "f2c9847f-2c3f-4e2e-94ed-59b6cc58f34a"
21592
+ },
21593
+ "standard-panel-edge-to-close-button-spacious": {
21594
+ "value": "15px",
21595
+ "uuid": "b9c04337-a6f5-42db-9bf9-a761c0d9f876"
21596
+ },
21597
+ "standard-panel-title-font-size": {
21598
+ "ref": "{title-size-s}",
21599
+ "sets": {
21600
+ "desktop": {
21601
+ "value": "14px",
21602
+ "uuid": "938e2d24-1e90-48f0-a596-595a69103707"
21603
+ },
21604
+ "mobile": {
21605
+ "value": "17px",
21606
+ "uuid": "2f9ee3cf-ccb1-4f0b-aed6-96e472fb7411"
21607
+ }
21608
+ },
21609
+ "uuid": "ce8278ea-da1b-4a42-bf7d-4018c9e9d18e"
21610
+ },
21433
21611
  "corner-radius-0": {
21434
21612
  "value": "0px",
21435
21613
  "uuid": "bb9d8350-b1fb-4496-9c22-6ec9647ff117"
@@ -26832,8 +27010,8 @@
26832
27010
  "uuid": "dac3d8d5-3005-4fa6-b71a-6679470176cf"
26833
27011
  },
26834
27012
  "code-cjk-strong-font-weight": {
26835
- "ref": "{black-font-weight}",
26836
- "value": "black",
27013
+ "ref": "{bold-font-weight}",
27014
+ "value": "bold",
26837
27015
  "uuid": "ed73f5fc-5b7a-4414-8f1c-325e7944a9e1"
26838
27016
  },
26839
27017
  "code-cjk-strong-font-style": {
@@ -26872,8 +27050,8 @@
26872
27050
  "uuid": "83d53fe1-372f-46ba-b8e0-f90ca2e59647"
26873
27051
  },
26874
27052
  "code-cjk-strong-emphasized-font-weight": {
26875
- "ref": "{black-font-weight}",
26876
- "value": "black",
27053
+ "ref": "{bold-font-weight}",
27054
+ "value": "bold",
26877
27055
  "uuid": "8ed5c5e0-ff72-4937-98fd-fd09f1fab288"
26878
27056
  },
26879
27057
  "code-cjk-strong-emphasized-font-style": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "13.0.0-beta.44",
3
+ "version": "13.0.0-beta.46",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29,7 +29,8 @@
29
29
  "style-dictionary": "^3.9.2",
30
30
  "style-dictionary-sets": "^2.3.0",
31
31
  "tar": "^7.0.1",
32
- "tmp-promise": "^3.0.3"
32
+ "tmp-promise": "^3.0.3",
33
+ "@adobe/token-diff-generator": "1.0.1"
33
34
  },
34
35
  "scripts": {}
35
36
  }
@@ -417,5 +417,27 @@
417
417
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
418
418
  "value": "{gray-25}",
419
419
  "uuid": "bae79ea7-2b3e-4d43-af42-7deab67acc7c"
420
+ },
421
+ "standard-panel-gripper-color-drag": {
422
+ "component": "standard-panel",
423
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
424
+ "sets": {
425
+ "light": {
426
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
427
+ "value": "{gray-800}",
428
+ "uuid": "69e2d0b3-6807-4e46-9f8a-72bf49439f36"
429
+ },
430
+ "dark": {
431
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
432
+ "value": "{gray-800}",
433
+ "uuid": "e0533561-893d-4947-a0bb-d29c0bb42a2b"
434
+ }
435
+ }
436
+ },
437
+ "standard-panel-gripper-color": {
438
+ "component": "standard-panel",
439
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
440
+ "value": "{gray-200}",
441
+ "uuid": "71840c7b-acdd-45b9-a228-5091591f5405"
420
442
  }
421
443
  }
@@ -8849,5 +8849,95 @@
8849
8849
  "uuid": "c980c4f4-f2c5-4963-873e-de275f3353d1"
8850
8850
  }
8851
8851
  }
8852
+ },
8853
+ "code-cjk-size-xl": {
8854
+ "component": "code",
8855
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8856
+ "value": "{code-size-xl}",
8857
+ "uuid": "a2e258a0-21f6-44d7-9bfe-0052620e5ac2"
8858
+ },
8859
+ "code-cjk-size-l": {
8860
+ "component": "code",
8861
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8862
+ "value": "{code-size-l}",
8863
+ "uuid": "15e8593b-1b86-40e0-ae88-fcc587e24373"
8864
+ },
8865
+ "code-cjk-size-m": {
8866
+ "component": "code",
8867
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8868
+ "value": "{code-size-m}",
8869
+ "uuid": "69436fba-18a7-4a28-b6c5-683a8838917c"
8870
+ },
8871
+ "code-cjk-size-s": {
8872
+ "component": "code",
8873
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8874
+ "value": "{code-size-s}",
8875
+ "uuid": "80c3d9ab-39d1-4329-a88f-bb84c3afd17f"
8876
+ },
8877
+ "code-cjk-size-xs": {
8878
+ "component": "code",
8879
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8880
+ "value": "{code-size-xs}",
8881
+ "uuid": "6b577e2a-09c0-42bb-8b94-42034df63036"
8882
+ },
8883
+ "standard-panel-width": {
8884
+ "component": "standard-panel",
8885
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8886
+ "value": "260px",
8887
+ "uuid": "41cd9d92-4d69-4aaa-9c95-e980aa5eb992"
8888
+ },
8889
+ "standard-panel-minimum-width": {
8890
+ "component": "standard-panel",
8891
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8892
+ "value": "200px",
8893
+ "uuid": "37ab7428-8175-409f-8e74-55e51a962139"
8894
+ },
8895
+ "standard-panel-maximum-width": {
8896
+ "component": "standard-panel",
8897
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8898
+ "value": "400px",
8899
+ "uuid": "11400ef3-c995-41bc-8a9d-eb389d95f360"
8900
+ },
8901
+ "standard-panel-top-to-close-button-compact": {
8902
+ "component": "standard-panel",
8903
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8904
+ "value": "5px",
8905
+ "uuid": "66f385cd-b60b-42dd-bfdc-aba2db6e35a2"
8906
+ },
8907
+ "standard-panel-top-to-close-button-regular": {
8908
+ "component": "standard-panel",
8909
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8910
+ "value": "9px",
8911
+ "uuid": "968a056e-4397-4a71-91f1-a0f1ebb6f751"
8912
+ },
8913
+ "standard-panel-top-to-close-button-spacious": {
8914
+ "component": "standard-panel",
8915
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8916
+ "value": "17px",
8917
+ "uuid": "96572147-20a9-4089-9904-0a0efa42a5af"
8918
+ },
8919
+ "standard-panel-edge-to-close-button-compact": {
8920
+ "component": "standard-panel",
8921
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8922
+ "value": "3px",
8923
+ "uuid": "6364d657-804c-4753-832d-09bfdf5ad36a"
8924
+ },
8925
+ "standard-panel-edge-to-close-button-regular": {
8926
+ "component": "standard-panel",
8927
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8928
+ "value": "7px",
8929
+ "uuid": "f2c9847f-2c3f-4e2e-94ed-59b6cc58f34a"
8930
+ },
8931
+ "standard-panel-edge-to-close-button-spacious": {
8932
+ "component": "standard-panel",
8933
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
8934
+ "value": "15px",
8935
+ "uuid": "b9c04337-a6f5-42db-9bf9-a761c0d9f876"
8936
+ },
8937
+ "standard-panel-title-font-size": {
8938
+ "component": "standard-panel",
8939
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8940
+ "value": "{title-size-s}",
8941
+ "uuid": "ce8278ea-da1b-4a42-bf7d-4018c9e9d18e"
8852
8942
  }
8853
8943
  }
@@ -1537,7 +1537,7 @@
1537
1537
  "code-cjk-strong-font-weight": {
1538
1538
  "component": "code",
1539
1539
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
1540
- "value": "{black-font-weight}",
1540
+ "value": "{bold-font-weight}",
1541
1541
  "uuid": "ed73f5fc-5b7a-4414-8f1c-325e7944a9e1"
1542
1542
  },
1543
1543
  "code-cjk-strong-font-style": {
@@ -1585,7 +1585,7 @@
1585
1585
  "code-cjk-strong-emphasized-font-weight": {
1586
1586
  "component": "code",
1587
1587
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
1588
- "value": "{black-font-weight}",
1588
+ "value": "{bold-font-weight}",
1589
1589
  "uuid": "8ed5c5e0-ff72-4937-98fd-fd09f1fab288"
1590
1590
  },
1591
1591
  "code-cjk-strong-emphasized-font-style": {
@@ -1642,4 +1642,4 @@
1642
1642
  "value": "{gray-800}",
1643
1643
  "uuid": "851aebc5-5aa2-42ae-9032-59a5c9e8db5f"
1644
1644
  }
1645
- }
1645
+ }