@adobe/spectrum-tokens 13.0.0-beta.37 → 13.0.0-beta.38

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,43 @@
1
1
  # @adobe/spectrum-tokens
2
2
 
3
+ ## 13.0.0-beta.38
4
+
5
+ ### Minor Changes
6
+
7
+ - [#360](https://github.com/adobe/spectrum-tokens/pull/360) [`f73a0b4`](https://github.com/adobe/spectrum-tokens/commit/f73a0b40464f1c73f2d9e8f6cf97da926e392ac7) Thanks [@mrcjhicks](https://github.com/mrcjhicks)! - - Fixed token type from Sizing to Font size for contextual-help-body-size and `contextual-help-title-size`
8
+
9
+ - Renamed tokens by deprecating previous ones and creating new ones, with font in the token name
10
+ Updated value of `contextual-help-title-font-size`
11
+
12
+ Marked the the following tokens in Tokens Studio for deprecation:
13
+
14
+ - `negative-subdued-background-color-default` ( --> points to `negative-subtle-background-color-default`)
15
+ - `negative-subdued-background-color-hover`
16
+ - `negative-subdued-background-color-down`
17
+ - `negative-subdued-background-color-key-focus`
18
+
19
+ ## Design motivation
20
+
21
+ - The updated type sorts them correctly in the Tokens Studio data
22
+ - The updated value reflects the latest design for Spectrum 2, using the new title style instead of heading
23
+ - The negative-subdued tokens were deprecated because the tag "error" variant has been deprecated and are no longer needed in the system. A new "subtle" token has been added for the in-line alert use case.
24
+
25
+ ## Token diff
26
+
27
+ _Tokens added (2):_
28
+
29
+ - `contextual-help-body-font-size`
30
+ - `contextual-help-title-font-size`
31
+
32
+ _Newly deprecated Tokens (6):_
33
+
34
+ - `contextual-help-body-size`
35
+ - `contextual-help-title-size`
36
+ - `negative-subdued-background-color-default`
37
+ - `negative-subdued-background-color-hover`
38
+ - `negative-subdued-background-color-down`
39
+ - `negative-subdued-background-color-key-focus`
40
+
3
41
  ## 13.0.0-beta.37
4
42
 
5
43
  ### Minor Changes
@@ -1656,8 +1656,10 @@
1656
1656
  "component-top-to-workflow-icon-300": "11px",
1657
1657
  "component-top-to-workflow-icon-50": "3px",
1658
1658
  "component-top-to-workflow-icon-75": "4px",
1659
+ "contextual-help-body-font-size": "14px",
1659
1660
  "contextual-help-body-size": "14px",
1660
1661
  "contextual-help-minimum-width": "268px",
1662
+ "contextual-help-title-font-size": "16px",
1661
1663
  "contextual-help-title-size": "16px",
1662
1664
  "corner-radius-0": "0px",
1663
1665
  "corner-radius-100": "4px",
@@ -15384,9 +15384,10 @@
15384
15384
  "uuid": "83be73fe-50bc-4be8-969c-0361a816225b"
15385
15385
  },
15386
15386
  "contextual-help-title-size": {
15387
+ "ref": "{contextual-help-title-font-size}",
15387
15388
  "sets": {
15388
15389
  "desktop": {
15389
- "ref": "{heading-size-xs}",
15390
+ "ref": "{title-size-m}",
15390
15391
  "sets": {
15391
15392
  "desktop": {
15392
15393
  "value": "16px",
@@ -15397,10 +15398,10 @@
15397
15398
  "uuid": "7e51ff4e-2749-49d1-b9ed-75de92a73991"
15398
15399
  }
15399
15400
  },
15400
- "uuid": "5358fd6c-d9a0-4caa-a85e-af82ed82efaf"
15401
+ "uuid": "16ee4dfd-afbe-482b-943e-03e2614037dd"
15401
15402
  },
15402
15403
  "mobile": {
15403
- "ref": "{heading-size-xxs}",
15404
+ "ref": "{title-size-s}",
15404
15405
  "sets": {
15405
15406
  "desktop": {
15406
15407
  "value": "14px",
@@ -15411,11 +15412,13 @@
15411
15412
  "uuid": "2f9ee3cf-ccb1-4f0b-aed6-96e472fb7411"
15412
15413
  }
15413
15414
  },
15414
- "uuid": "e91709ce-79e3-4a81-88fa-e124960d4389"
15415
+ "uuid": "965f0854-0f3c-4d6e-9e21-54542ecf1a17"
15415
15416
  }
15416
- }
15417
+ },
15418
+ "uuid": "5358fd6c-d9a0-4caa-a85e-af82ed82efaf"
15417
15419
  },
15418
15420
  "contextual-help-body-size": {
15421
+ "ref": "{contextual-help-body-font-size}",
15419
15422
  "sets": {
15420
15423
  "desktop": {
15421
15424
  "ref": "{body-size-s}",
@@ -15429,7 +15432,7 @@
15429
15432
  "uuid": "2f9ee3cf-ccb1-4f0b-aed6-96e472fb7411"
15430
15433
  }
15431
15434
  },
15432
- "uuid": "e458fa68-ab9c-4441-a7d5-a02f42df1cae"
15435
+ "uuid": "393e9a11-77f6-42a7-973b-34c673ad8afb"
15433
15436
  },
15434
15437
  "mobile": {
15435
15438
  "ref": "{body-size-xs}",
@@ -15443,9 +15446,10 @@
15443
15446
  "uuid": "07e1c2a8-3925-4d71-8fae-3486483ff44c"
15444
15447
  }
15445
15448
  },
15446
- "uuid": "c180fa75-254e-4ee1-8b79-31a3d90254cc"
15449
+ "uuid": "1d817b1e-7916-4443-b04d-aa232b089f67"
15447
15450
  }
15448
- }
15451
+ },
15452
+ "uuid": "e458fa68-ab9c-4441-a7d5-a02f42df1cae"
15449
15453
  },
15450
15454
  "breadcrumbs-height": {
15451
15455
  "ref": "{component-height-200}",
@@ -20735,6 +20739,70 @@
20735
20739
  }
20736
20740
  }
20737
20741
  },
20742
+ "contextual-help-body-font-size": {
20743
+ "sets": {
20744
+ "desktop": {
20745
+ "ref": "{body-size-s}",
20746
+ "sets": {
20747
+ "desktop": {
20748
+ "value": "14px",
20749
+ "uuid": "938e2d24-1e90-48f0-a596-595a69103707"
20750
+ },
20751
+ "mobile": {
20752
+ "value": "17px",
20753
+ "uuid": "2f9ee3cf-ccb1-4f0b-aed6-96e472fb7411"
20754
+ }
20755
+ },
20756
+ "uuid": "393e9a11-77f6-42a7-973b-34c673ad8afb"
20757
+ },
20758
+ "mobile": {
20759
+ "ref": "{body-size-xs}",
20760
+ "sets": {
20761
+ "desktop": {
20762
+ "value": "12px",
20763
+ "uuid": "55d90327-8cc9-4d4f-891f-9d42751d989a"
20764
+ },
20765
+ "mobile": {
20766
+ "value": "15px",
20767
+ "uuid": "07e1c2a8-3925-4d71-8fae-3486483ff44c"
20768
+ }
20769
+ },
20770
+ "uuid": "1d817b1e-7916-4443-b04d-aa232b089f67"
20771
+ }
20772
+ }
20773
+ },
20774
+ "contextual-help-title-font-size": {
20775
+ "sets": {
20776
+ "desktop": {
20777
+ "ref": "{title-size-m}",
20778
+ "sets": {
20779
+ "desktop": {
20780
+ "value": "16px",
20781
+ "uuid": "b36caaa3-7047-4dfb-8a84-f990a8ac3a91"
20782
+ },
20783
+ "mobile": {
20784
+ "value": "19px",
20785
+ "uuid": "7e51ff4e-2749-49d1-b9ed-75de92a73991"
20786
+ }
20787
+ },
20788
+ "uuid": "16ee4dfd-afbe-482b-943e-03e2614037dd"
20789
+ },
20790
+ "mobile": {
20791
+ "ref": "{title-size-s}",
20792
+ "sets": {
20793
+ "desktop": {
20794
+ "value": "14px",
20795
+ "uuid": "938e2d24-1e90-48f0-a596-595a69103707"
20796
+ },
20797
+ "mobile": {
20798
+ "value": "17px",
20799
+ "uuid": "2f9ee3cf-ccb1-4f0b-aed6-96e472fb7411"
20800
+ }
20801
+ },
20802
+ "uuid": "965f0854-0f3c-4d6e-9e21-54542ecf1a17"
20803
+ }
20804
+ }
20805
+ },
20738
20806
  "corner-radius-0": {
20739
20807
  "value": "0px",
20740
20808
  "uuid": "bb9d8350-b1fb-4496-9c22-6ec9647ff117"
@@ -24107,7 +24175,7 @@
24107
24175
  "uuid": "de206438-991f-4580-8aa1-1488acb03a09"
24108
24176
  },
24109
24177
  "negative-subdued-background-color-default": {
24110
- "ref": "{negative-color-200}",
24178
+ "ref": "{negative-subtle-background-color-default}",
24111
24179
  "sets": {
24112
24180
  "light": {
24113
24181
  "value": "rgb(255, 235, 232)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "13.0.0-beta.37",
3
+ "version": "13.0.0-beta.38",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -2599,35 +2599,17 @@
2599
2599
  },
2600
2600
  "contextual-help-title-size": {
2601
2601
  "component": "contextual-help",
2602
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
2603
- "sets": {
2604
- "desktop": {
2605
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
2606
- "value": "{heading-size-xs}",
2607
- "uuid": "5358fd6c-d9a0-4caa-a85e-af82ed82efaf"
2608
- },
2609
- "mobile": {
2610
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
2611
- "value": "{heading-size-xxs}",
2612
- "uuid": "e91709ce-79e3-4a81-88fa-e124960d4389"
2613
- }
2614
- }
2602
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
2603
+ "value": "{contextual-help-title-font-size}",
2604
+ "uuid": "5358fd6c-d9a0-4caa-a85e-af82ed82efaf",
2605
+ "deprecated": true
2615
2606
  },
2616
2607
  "contextual-help-body-size": {
2617
2608
  "component": "contextual-help",
2618
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
2619
- "sets": {
2620
- "desktop": {
2621
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
2622
- "value": "{body-size-s}",
2623
- "uuid": "e458fa68-ab9c-4441-a7d5-a02f42df1cae"
2624
- },
2625
- "mobile": {
2626
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
2627
- "value": "{body-size-xs}",
2628
- "uuid": "c180fa75-254e-4ee1-8b79-31a3d90254cc"
2629
- }
2630
- }
2609
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
2610
+ "value": "{contextual-help-body-font-size}",
2611
+ "uuid": "e458fa68-ab9c-4441-a7d5-a02f42df1cae",
2612
+ "deprecated": true
2631
2613
  },
2632
2614
  "breadcrumbs-height": {
2633
2615
  "component": "breadcrumbs",
@@ -8303,5 +8285,37 @@
8303
8285
  "uuid": "fbf763fe-9e35-4cdc-a5ed-9f90e03d23bd"
8304
8286
  }
8305
8287
  }
8288
+ },
8289
+ "contextual-help-body-font-size": {
8290
+ "component": "contextual-help",
8291
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
8292
+ "sets": {
8293
+ "desktop": {
8294
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8295
+ "value": "{body-size-s}",
8296
+ "uuid": "393e9a11-77f6-42a7-973b-34c673ad8afb"
8297
+ },
8298
+ "mobile": {
8299
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8300
+ "value": "{body-size-xs}",
8301
+ "uuid": "1d817b1e-7916-4443-b04d-aa232b089f67"
8302
+ }
8303
+ }
8304
+ },
8305
+ "contextual-help-title-font-size": {
8306
+ "component": "contextual-help",
8307
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
8308
+ "sets": {
8309
+ "desktop": {
8310
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8311
+ "value": "{title-size-m}",
8312
+ "uuid": "16ee4dfd-afbe-482b-943e-03e2614037dd"
8313
+ },
8314
+ "mobile": {
8315
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
8316
+ "value": "{title-size-s}",
8317
+ "uuid": "965f0854-0f3c-4d6e-9e21-54542ecf1a17"
8318
+ }
8319
+ }
8306
8320
  }
8307
8321
  }
@@ -401,23 +401,27 @@
401
401
  },
402
402
  "negative-subdued-background-color-default": {
403
403
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
404
- "value": "{negative-color-200}",
405
- "uuid": "a553db3e-a051-4023-87eb-da6545b983b2"
404
+ "value": "{negative-subtle-background-color-default}",
405
+ "uuid": "a553db3e-a051-4023-87eb-da6545b983b2",
406
+ "deprecated": true
406
407
  },
407
408
  "negative-subdued-background-color-hover": {
408
409
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
409
410
  "value": "{negative-color-300}",
410
- "uuid": "9513cf13-8537-443f-81ce-f9d88292ba32"
411
+ "uuid": "9513cf13-8537-443f-81ce-f9d88292ba32",
412
+ "deprecated": true
411
413
  },
412
414
  "negative-subdued-background-color-down": {
413
415
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
414
416
  "value": "{negative-color-300}",
415
- "uuid": "1eea917c-52e7-4295-b0e1-d33c2e73a137"
417
+ "uuid": "1eea917c-52e7-4295-b0e1-d33c2e73a137",
418
+ "deprecated": true
416
419
  },
417
420
  "negative-subdued-background-color-key-focus": {
418
421
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
419
422
  "value": "{negative-color-300}",
420
- "uuid": "4b6aaf76-e0ab-4be0-81c0-d5f64cacee88"
423
+ "uuid": "4b6aaf76-e0ab-4be0-81c0-d5f64cacee88",
424
+ "deprecated": true
421
425
  },
422
426
  "informative-subtle-background-color-default": {
423
427
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",