@adobe/spectrum-tokens 12.0.0-beta.40 → 12.0.0-beta.43

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.40](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.39...v12.0.0-beta.40) (2022-06-24)
1
+ # [12.0.0-beta.43](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.42...v12.0.0-beta.43) (2022-07-14)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * roll back postinstall change ([#50](https://github.com/adobe/spectrum-tokens/issues/50)) ([b37186b](https://github.com/adobe/spectrum-tokens/commit/b37186bda06282d0d6d71b1a7fe6c1c6a073d29d))
6
+ * update help text icon spacing ([#55](https://github.com/adobe/spectrum-tokens/issues/55)) ([67df19b](https://github.com/adobe/spectrum-tokens/commit/67df19bf39a71f6dbd0df9b64642e057fb1c9295))
@@ -12,20 +12,28 @@
12
12
  },
13
13
  "colorThemes": {
14
14
  "light": {
15
- "accent-color-100": "rgb(237, 238, 255)",
16
- "accent-color-1000": "rgb(64, 70, 202)",
17
- "accent-color-1100": "rgb(50, 54, 168)",
18
- "accent-color-1200": "rgb(38, 41, 134)",
19
- "accent-color-1300": "rgb(27, 30, 100)",
20
- "accent-color-1400": "rgb(20, 22, 72)",
21
- "accent-color-200": "rgb(224, 226, 255)",
22
- "accent-color-300": "rgb(211, 213, 255)",
23
- "accent-color-400": "rgb(193, 196, 255)",
24
- "accent-color-500": "rgb(172, 175, 255)",
25
- "accent-color-600": "rgb(149, 153, 255)",
26
- "accent-color-700": "rgb(126, 132, 252)",
27
- "accent-color-800": "rgb(104, 109, 244)",
28
- "accent-color-900": "rgb(82, 88, 228)",
15
+ "accent-background-color-default": "rgb(2, 101, 220)",
16
+ "accent-background-color-down": "rgb(0, 68, 145)",
17
+ "accent-background-color-hover": "rgb(0, 84, 182)",
18
+ "accent-background-color-key-focus": "rgb(0, 84, 182)",
19
+ "accent-color-100": "rgb(224, 242, 255)",
20
+ "accent-color-1000": "rgb(0, 84, 182)",
21
+ "accent-color-1100": "rgb(0, 68, 145)",
22
+ "accent-color-1200": "rgb(0, 53, 113)",
23
+ "accent-color-1300": "rgb(0, 39, 84)",
24
+ "accent-color-1400": "rgb(0, 28, 60)",
25
+ "accent-color-200": "rgb(202, 232, 255)",
26
+ "accent-color-300": "rgb(181, 222, 255)",
27
+ "accent-color-400": "rgb(150, 206, 253)",
28
+ "accent-color-500": "rgb(120, 187, 250)",
29
+ "accent-color-600": "rgb(89, 167, 246)",
30
+ "accent-color-700": "rgb(56, 146, 243)",
31
+ "accent-color-800": "rgb(20, 122, 243)",
32
+ "accent-color-900": "rgb(2, 101, 220)",
33
+ "accent-content-color": "rgb(2, 101, 220)",
34
+ "accent-content-color-down": "rgb(0, 68, 145)",
35
+ "accent-content-color-hover": "rgb(0, 84, 182)",
36
+ "accent-content-color-key-focus": "rgb(0, 84, 182)",
29
37
  "background-base-color": "rgb(230, 230, 230)",
30
38
  "background-layer-1-color": "rgb(248, 248, 248)",
31
39
  "background-layer-2-color": "rgb(255, 255, 255)",
@@ -343,20 +351,28 @@
343
351
  "yellow-900": "rgb(133, 102, 0)"
344
352
  },
345
353
  "dark": {
346
- "accent-color-100": "rgb(40, 44, 140)",
347
- "accent-color-1000": "rgb(188, 190, 255)",
348
- "accent-color-1100": "rgb(208, 210, 255)",
349
- "accent-color-1200": "rgb(226, 228, 255)",
350
- "accent-color-1300": "rgb(243, 243, 254)",
354
+ "accent-background-color-default": "rgb(114, 183, 249)",
355
+ "accent-background-color-down": "rgb(174, 219, 254)",
356
+ "accent-background-color-hover": "rgb(143, 202, 252)",
357
+ "accent-background-color-key-focus": "rgb(143, 202, 252)",
358
+ "accent-color-100": "rgb(0, 56, 119)",
359
+ "accent-color-1000": "rgb(143, 202, 252)",
360
+ "accent-color-1100": "rgb(174, 219, 254)",
361
+ "accent-color-1200": "rgb(204, 233, 255)",
362
+ "accent-color-1300": "rgb(232, 246, 255)",
351
363
  "accent-color-1400": "rgb(255, 255, 255)",
352
- "accent-color-200": "rgb(47, 52, 163)",
353
- "accent-color-300": "rgb(57, 63, 187)",
354
- "accent-color-400": "rgb(70, 75, 211)",
355
- "accent-color-500": "rgb(85, 91, 231)",
356
- "accent-color-600": "rgb(104, 109, 244)",
357
- "accent-color-700": "rgb(124, 129, 251)",
358
- "accent-color-800": "rgb(145, 149, 255)",
359
- "accent-color-900": "rgb(167, 170, 255)",
364
+ "accent-color-200": "rgb(0, 65, 138)",
365
+ "accent-color-300": "rgb(0, 77, 163)",
366
+ "accent-color-400": "rgb(0, 89, 194)",
367
+ "accent-color-500": "rgb(3, 103, 224)",
368
+ "accent-color-600": "rgb(19, 121, 243)",
369
+ "accent-color-700": "rgb(52, 143, 244)",
370
+ "accent-color-800": "rgb(84, 163, 246)",
371
+ "accent-color-900": "rgb(114, 183, 249)",
372
+ "accent-content-color": "rgb(114, 183, 249)",
373
+ "accent-content-color-down": "rgb(174, 219, 254)",
374
+ "accent-content-color-hover": "rgb(143, 202, 252)",
375
+ "accent-content-color-key-focus": "rgb(143, 202, 252)",
360
376
  "background-base-color": "rgb(63, 63, 63)",
361
377
  "background-layer-1-color": "rgb(50, 50, 50)",
362
378
  "background-layer-2-color": "rgb(29, 29, 29)",
@@ -674,20 +690,28 @@
674
690
  "yellow-900": "rgb(211, 174, 0)"
675
691
  },
676
692
  "darkest": {
677
- "accent-color-100": "rgb(26, 29, 97)",
678
- "accent-color-1000": "rgb(174, 177, 255)",
679
- "accent-color-1100": "rgb(194, 196, 255)",
680
- "accent-color-1200": "rgb(212, 213, 255)",
681
- "accent-color-1300": "rgb(227, 228, 255)",
682
- "accent-color-1400": "rgb(240, 240, 255)",
683
- "accent-color-200": "rgb(35, 39, 125)",
684
- "accent-color-300": "rgb(46, 50, 158)",
685
- "accent-color-400": "rgb(58, 63, 189)",
686
- "accent-color-500": "rgb(73, 78, 216)",
687
- "accent-color-600": "rgb(90, 96, 235)",
688
- "accent-color-700": "rgb(110, 115, 246)",
689
- "accent-color-800": "rgb(132, 136, 253)",
690
- "accent-color-900": "rgb(153, 157, 255)",
693
+ "accent-background-color-default": "rgb(94, 170, 247)",
694
+ "accent-background-color-down": "rgb(152, 206, 253)",
695
+ "accent-background-color-hover": "rgb(124, 189, 250)",
696
+ "accent-background-color-key-focus": "rgb(124, 189, 250)",
697
+ "accent-color-100": "rgb(0, 38, 81)",
698
+ "accent-color-1000": "rgb(124, 189, 250)",
699
+ "accent-color-1100": "rgb(152, 206, 253)",
700
+ "accent-color-1200": "rgb(179, 222, 254)",
701
+ "accent-color-1300": "rgb(206, 234, 255)",
702
+ "accent-color-1400": "rgb(227, 243, 255)",
703
+ "accent-color-200": "rgb(0, 50, 106)",
704
+ "accent-color-300": "rgb(0, 64, 135)",
705
+ "accent-color-400": "rgb(0, 78, 166)",
706
+ "accent-color-500": "rgb(0, 92, 200)",
707
+ "accent-color-600": "rgb(6, 108, 231)",
708
+ "accent-color-700": "rgb(29, 128, 245)",
709
+ "accent-color-800": "rgb(64, 150, 243)",
710
+ "accent-color-900": "rgb(94, 170, 247)",
711
+ "accent-content-color": "rgb(94, 170, 247)",
712
+ "accent-content-color-down": "rgb(152, 206, 253)",
713
+ "accent-content-color-hover": "rgb(124, 189, 250)",
714
+ "accent-content-color-key-focus": "rgb(124, 189, 250)",
691
715
  "background-base-color": "rgb(48, 48, 48)",
692
716
  "background-layer-1-color": "rgb(29, 29, 29)",
693
717
  "background-layer-2-color": "rgb(0, 0, 0)",
@@ -1013,6 +1037,7 @@
1013
1037
  "action-bar-height": "48px",
1014
1038
  "action-bar-top-to-item-counter": "14px",
1015
1039
  "action-button-edge-to-hold-icon-extra-large": "6px",
1040
+ "action-button-edge-to-hold-icon-extra-small": "3px",
1016
1041
  "action-button-edge-to-hold-icon-large": "5px",
1017
1042
  "action-button-edge-to-hold-icon-medium": "4px",
1018
1043
  "action-button-edge-to-hold-icon-small": "3px",
@@ -1112,13 +1137,16 @@
1112
1137
  "font-size-75": "12px",
1113
1138
  "font-size-800": "32px",
1114
1139
  "font-size-900": "36px",
1115
- "help-text-top-to-workflow-icon-extra-large": "13px",
1116
- "help-text-top-to-workflow-icon-large": "10px",
1117
- "help-text-top-to-workflow-icon-medium": "7px",
1140
+ "help-text-top-to-workflow-icon-extra-large": "9px",
1141
+ "help-text-top-to-workflow-icon-large": "6px",
1142
+ "help-text-top-to-workflow-icon-medium": "3px",
1118
1143
  "help-text-top-to-workflow-icon-small": "4px",
1119
1144
  "in-line-alert-minimum-width": "320px",
1120
1145
  "line-height-100": "1.3",
1121
1146
  "line-height-200": "1.5",
1147
+ "popover-tip-height": "8px",
1148
+ "popover-tip-width": "16px",
1149
+ "popover-top-to-content-area": "4px",
1122
1150
  "progress-bar-maximum-width": "768px",
1123
1151
  "progress-bar-minimum-width": "48px",
1124
1152
  "progress-bar-thickness-extra-large": "10px",
@@ -1172,6 +1200,12 @@
1172
1200
  "switch-top-to-control-large": "12px",
1173
1201
  "switch-top-to-control-medium": "9px",
1174
1202
  "switch-top-to-control-small": "6px",
1203
+ "tag-top-to-avatar-large": "9px",
1204
+ "tag-top-to-avatar-medium": "6px",
1205
+ "tag-top-to-avatar-small": "4px",
1206
+ "tag-top-to-cross-icon-large": "15px",
1207
+ "tag-top-to-cross-icon-medium": "12px",
1208
+ "tag-top-to-cross-icon-small": "8px",
1175
1209
  "text-to-control-100": "10px",
1176
1210
  "text-to-control-200": "11px",
1177
1211
  "text-to-control-300": "13px",
@@ -7830,7 +7830,7 @@
7830
7830
  "value": "5px"
7831
7831
  },
7832
7832
  "mobile": {
7833
- "value": "7px"
7833
+ "value": "6px"
7834
7834
  }
7835
7835
  }
7836
7836
  },
@@ -7884,6 +7884,16 @@
7884
7884
  }
7885
7885
  }
7886
7886
  },
7887
+ "action-button-edge-to-hold-icon-extra-small": {
7888
+ "sets": {
7889
+ "desktop": {
7890
+ "value": "3px"
7891
+ },
7892
+ "mobile": {
7893
+ "value": "3px"
7894
+ }
7895
+ }
7896
+ },
7887
7897
  "action-button-edge-to-hold-icon-small": {
7888
7898
  "sets": {
7889
7899
  "desktop": {
@@ -8261,30 +8271,30 @@
8261
8271
  "help-text-top-to-workflow-icon-medium": {
8262
8272
  "sets": {
8263
8273
  "desktop": {
8264
- "value": "7px"
8274
+ "value": "3px"
8265
8275
  },
8266
8276
  "mobile": {
8267
- "value": "9px"
8277
+ "value": "4px"
8268
8278
  }
8269
8279
  }
8270
8280
  },
8271
8281
  "help-text-top-to-workflow-icon-large": {
8272
8282
  "sets": {
8273
8283
  "desktop": {
8274
- "value": "10px"
8284
+ "value": "6px"
8275
8285
  },
8276
8286
  "mobile": {
8277
- "value": "13px"
8287
+ "value": "8px"
8278
8288
  }
8279
8289
  }
8280
8290
  },
8281
8291
  "help-text-top-to-workflow-icon-extra-large": {
8282
8292
  "sets": {
8283
8293
  "desktop": {
8284
- "value": "13px"
8294
+ "value": "9px"
8285
8295
  },
8286
8296
  "mobile": {
8287
- "value": "16px"
8297
+ "value": "11px"
8288
8298
  }
8289
8299
  }
8290
8300
  },
@@ -9037,6 +9047,82 @@
9037
9047
  }
9038
9048
  }
9039
9049
  },
9050
+ "tag-top-to-avatar-small": {
9051
+ "sets": {
9052
+ "desktop": {
9053
+ "value": "4px"
9054
+ },
9055
+ "mobile": {
9056
+ "value": "5px"
9057
+ }
9058
+ }
9059
+ },
9060
+ "tag-top-to-avatar-medium": {
9061
+ "sets": {
9062
+ "desktop": {
9063
+ "value": "6px"
9064
+ },
9065
+ "mobile": {
9066
+ "value": "9px"
9067
+ }
9068
+ }
9069
+ },
9070
+ "tag-top-to-avatar-large": {
9071
+ "sets": {
9072
+ "desktop": {
9073
+ "value": "9px"
9074
+ },
9075
+ "mobile": {
9076
+ "value": "12px"
9077
+ }
9078
+ }
9079
+ },
9080
+ "tag-top-to-cross-icon-small": {
9081
+ "sets": {
9082
+ "desktop": {
9083
+ "value": "8px"
9084
+ },
9085
+ "mobile": {
9086
+ "value": "10px"
9087
+ }
9088
+ }
9089
+ },
9090
+ "tag-top-to-cross-icon-medium": {
9091
+ "sets": {
9092
+ "desktop": {
9093
+ "value": "12px"
9094
+ },
9095
+ "mobile": {
9096
+ "value": "15px"
9097
+ }
9098
+ }
9099
+ },
9100
+ "tag-top-to-cross-icon-large": {
9101
+ "sets": {
9102
+ "desktop": {
9103
+ "value": "15px"
9104
+ },
9105
+ "mobile": {
9106
+ "value": "19px"
9107
+ }
9108
+ }
9109
+ },
9110
+ "popover-tip-width": {
9111
+ "value": "16px"
9112
+ },
9113
+ "popover-tip-height": {
9114
+ "value": "8px"
9115
+ },
9116
+ "popover-top-to-content-area": {
9117
+ "sets": {
9118
+ "desktop": {
9119
+ "value": "4px"
9120
+ },
9121
+ "mobile": {
9122
+ "value": "5px"
9123
+ }
9124
+ }
9125
+ },
9040
9126
  "corner-radius-75": {
9041
9127
  "sets": {
9042
9128
  "spectrum": {
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "12.0.0-beta.40",
3
+ "version": "12.0.0-beta.43",
4
4
  "description": "",
5
5
  "main": "config.js",
6
6
  "scripts": {
7
7
  "build": "style-dictionary build",
8
+ "diffLastRelease": ". tasks/diffOutput.sh",
8
9
  "clean": "rm -rf dist",
9
10
  "pre-commit": "lint-staged",
10
11
  "prepare": "husky install && yarn run build",
@@ -436,7 +436,7 @@
436
436
  "value": "5px"
437
437
  },
438
438
  "mobile": {
439
- "value": "7px"
439
+ "value": "6px"
440
440
  }
441
441
  }
442
442
  },
@@ -491,6 +491,16 @@
491
491
  }
492
492
  }
493
493
  },
494
+ "action-button-edge-to-hold-icon-extra-small":{
495
+ "sets": {
496
+ "desktop": {
497
+ "value": "3px"
498
+ },
499
+ "mobile": {
500
+ "value": "3px"
501
+ }
502
+ }
503
+ },
494
504
  "action-button-edge-to-hold-icon-small": {
495
505
  "sets": {
496
506
  "desktop": {
@@ -869,30 +879,30 @@
869
879
  "help-text-top-to-workflow-icon-medium": {
870
880
  "sets": {
871
881
  "desktop": {
872
- "value": "7px"
882
+ "value": "3px"
873
883
  },
874
884
  "mobile": {
875
- "value": "9px"
885
+ "value": "4px"
876
886
  }
877
887
  }
878
888
  },
879
889
  "help-text-top-to-workflow-icon-large": {
880
890
  "sets": {
881
891
  "desktop": {
882
- "value": "10px"
892
+ "value": "6px"
883
893
  },
884
894
  "mobile": {
885
- "value": "13px"
895
+ "value": "8px"
886
896
  }
887
897
  }
888
898
  },
889
899
  "help-text-top-to-workflow-icon-extra-large": {
890
900
  "sets": {
891
901
  "desktop": {
892
- "value": "13px"
902
+ "value": "9px"
893
903
  },
894
904
  "mobile": {
895
- "value": "16px"
905
+ "value": "11px"
896
906
  }
897
907
  }
898
908
  },
@@ -1648,5 +1658,82 @@
1648
1658
  "value": "200px"
1649
1659
  }
1650
1660
  }
1661
+ },
1662
+ "tag-top-to-avatar-small": {
1663
+ "sets": {
1664
+ "desktop": {
1665
+ "value": "4px"
1666
+ },
1667
+ "mobile": {
1668
+ "value": "5px"
1669
+ }
1670
+ }
1671
+ },
1672
+ "tag-top-to-avatar-medium": {
1673
+ "sets": {
1674
+ "desktop": {
1675
+ "value": "6px"
1676
+ },
1677
+ "mobile": {
1678
+ "value": "9px"
1679
+ }
1680
+ }
1681
+ },
1682
+ "tag-top-to-avatar-large": {
1683
+ "sets": {
1684
+ "desktop": {
1685
+ "value": "9px"
1686
+ },
1687
+ "mobile": {
1688
+ "value": "12px"
1689
+ }
1690
+ }
1691
+ },
1692
+ "tag-top-to-cross-icon-small": {
1693
+ "sets": {
1694
+ "desktop": {
1695
+ "value": "8px"
1696
+ },
1697
+ "mobile": {
1698
+ "value": "10px"
1699
+ }
1700
+ }
1701
+ },
1702
+ "tag-top-to-cross-icon-medium": {
1703
+ "sets": {
1704
+ "desktop": {
1705
+ "value": "12px"
1706
+ },
1707
+ "mobile": {
1708
+ "value": "15px"
1709
+ }
1710
+ }
1711
+ },
1712
+ "tag-top-to-cross-icon-large": {
1713
+ "sets": {
1714
+ "desktop": {
1715
+ "value": "15px"
1716
+ },
1717
+ "mobile": {
1718
+ "value": "19px"
1719
+ }
1720
+ }
1721
+ },
1722
+ "popover-tip-width": {
1723
+ "value": "16px"
1724
+ },
1725
+ "popover-tip-height": {
1726
+ "value": "8px"
1727
+ },
1728
+ "popover-top-to-content-area": {
1729
+ "sets": {
1730
+ "desktop": {
1731
+ "value": "4px"
1732
+ },
1733
+ "mobile": {
1734
+ "value": "5px"
1735
+ }
1736
+ }
1651
1737
  }
1738
+
1652
1739
  }
@@ -0,0 +1,36 @@
1
+ #!/bin/bash
2
+
3
+ # test for a target dist file to look for
4
+ if [ -z "$1" ]
5
+ then
6
+ echo "No dist file type was specified, default to variables.json"
7
+ fetchType='variables'
8
+ else
9
+ fetchType=$1
10
+ fi
11
+
12
+ # set up what we want to look for
13
+ lastRelease=`npm show @adobe/spectrum-tokens@beta version`
14
+ fetchTarget="@adobe/spectrum-tokens@$lastRelease/dist/json/$fetchType.json"
15
+
16
+ echo "Attempting to fetch and diff $fetchTarget"
17
+
18
+ # clean up the last run
19
+ rm .tmp/old-$fetchType.json
20
+
21
+ # grab the unpackage for the version we asked for
22
+ fetchURL="https://unpkg.com/$fetchTarget"
23
+ curl --silent -o .tmp/old-$fetchType.json $fetchURL
24
+
25
+ # git diff is pretty
26
+ git diff --no-index .tmp/old-$fetchType.json dist/json/$fetchType.json
27
+
28
+ # diff sends 1 if there are differences, the script thinks it had an error#
29
+ # this just catches the code and stuffs it if there's actually a diff
30
+ exit_code=$?
31
+
32
+ if [ $exit_code == 0 ]
33
+ then
34
+ echo "No difference found."
35
+ fi
36
+