@adobe/spectrum-tokens 13.0.0-beta.15 → 13.0.0-beta.17

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,16 +1,63 @@
1
1
  # @adobe/spectrum-tokens
2
2
 
3
+ ## 13.0.0-beta.17
4
+
5
+ ### Minor Changes
6
+
7
+ - 9072ae7: `color-slider-border-color` token was updated to reference `gray-1000` instead of `gray-90`0 in both light and dark themes.
8
+ - 912e307: Updated `color-slider-border-rounding` token to use 7px instead of 4px in desktop only.
9
+ This token value update is the same value used by alias token: `corner-radius-medium-size-small`.
10
+
11
+ ## Design Motivation
12
+
13
+ S2 color slider design changes.
14
+
15
+ ## Token Diff
16
+
17
+ _Token values updated (2):_
18
+
19
+ - `color-slider-border-color`
20
+ - `color-slider-border-rounding`
21
+
22
+ ## 13.0.0-beta.16
23
+
24
+ ### Minor Changes
25
+
26
+ - 80a3fec: New non-color tokens for S2 tag component added to both desktop and mobile layout.component sets.
27
+
28
+ ## Design Motivation
29
+
30
+ New values for tag component for S2.
31
+
32
+ ## Token Diff
33
+
34
+ _Tokens added (9):_
35
+
36
+ - `tag-edge-to-clear-icon-large`
37
+ - `tag-edge-to-clear-icon-medium`
38
+ - `tag-edge-to-clear-icon-small`
39
+ - `tag-label-clear-icon-large`
40
+ - `tag-label-to-clear-icon-large`
41
+ - `tag-label-to-clear-icon-medium`
42
+ - `tag-label-to-clear-icon-small`
43
+ - `tag-maximum-width-multiplier`
44
+ - `tag-minimum-width-multiplier`
45
+
3
46
  ## 13.0.0-beta.15
4
47
 
5
48
  ### Minor Changes
6
49
 
7
50
  - c7c1d81: Added new semantic color aliases to Tokens Studio, in the S2 color tokens, alias sets for both light and dark themes.
8
-
9
- New non-color tokens for S2 tag component added to both desktop and mobile layout.component sets.
51
+ - 4b78009: Updated values and added new tokens for Switch.
10
52
 
11
53
  ## Design Motivation
12
54
 
13
- New values for tag component for S2. New negative-subdued background tokens were needed for negative and not selected tag components.
55
+ New negative-subdued background tokens were needed for negative and not selected tag components.
56
+
57
+ Added new tokens: `switch-handle-size-_` and `switch-handle-selected-size-_` for both desktop and mobile.
58
+ Update token values on: `switch-control-width-_` and `switch-control-height-_` for both desktop and mobile.
59
+
60
+ The design for Switch in S2 has changed and now has a border when it's not selected. New handle sizes are added and control sizes have been updated.
14
61
 
15
62
  ## Token Diff
16
63
 
@@ -40,28 +87,6 @@
40
87
  - `switch-control-width-medium`
41
88
  - `switch-control-width-small`
42
89
 
43
- - 4b78009: Updated values and added new tokens for Switch.
44
-
45
- ## Design Motivation
46
-
47
- Added new tokens: switch-handle-size-_ and switch-handle-selected-size-_ for both desktop and mobile.
48
- Update token values on: switch-control-width-_ and switch-control-height-_ for both desktop and mobile.
49
-
50
- The design for Switch in S2 has changed and now has a border when it's not selected. New handle sizes are added and control sizes have been updated.
51
-
52
- ## Token Diff
53
-
54
- _Token values updated (8):_
55
-
56
- - `switch-control-height-extra-large`
57
- - `switch-control-height-large`
58
- - `switch-control-height-medium`
59
- - `switch-control-height-small`
60
- - `switch-control-width-extra-large`
61
- - `switch-control-width-large`
62
- - `switch-control-width-medium`
63
- - `switch-control-width-small`
64
-
65
90
  ## 13.0.0-beta.14
66
91
 
67
92
  ### Minor Changes
@@ -141,7 +141,7 @@
141
141
  "color-loupe-drop-shadow-color": "rgba(0, 0, 0, 0.15)",
142
142
  "color-loupe-inner-border": "rgba(0, 0, 0, 0.12)",
143
143
  "color-loupe-outer-border": "rgb(255, 255, 255)",
144
- "color-slider-border-color": "rgb(19, 19, 19)",
144
+ "color-slider-border-color": "rgb(0, 0, 0)",
145
145
  "cyan-100": "rgb(238, 250, 254)",
146
146
  "cyan-1000": "rgb(4, 102, 145)",
147
147
  "cyan-1100": "rgb(0, 87, 121)",
@@ -696,7 +696,7 @@
696
696
  "color-loupe-drop-shadow-color": "rgba(0, 0, 0, 0.15)",
697
697
  "color-loupe-inner-border": "rgba(0, 0, 0, 0.12)",
698
698
  "color-loupe-outer-border": "rgb(255, 255, 255)",
699
- "color-slider-border-color": "rgb(242, 242, 242)",
699
+ "color-slider-border-color": "rgb(255, 255, 255)",
700
700
  "cyan-100": "rgb(0, 29, 39)",
701
701
  "cyan-1000": "rgb(38, 159, 244)",
702
702
  "cyan-1100": "rgb(63, 177, 255)",
@@ -1357,7 +1357,7 @@
1357
1357
  "color-loupe-outer-border-width": "2px",
1358
1358
  "color-loupe-width": "48px",
1359
1359
  "color-slider-border-opacity": "0.1",
1360
- "color-slider-border-rounding": "4px",
1360
+ "color-slider-border-rounding": "7px",
1361
1361
  "color-slider-border-width": "1px",
1362
1362
  "color-slider-length": "192px",
1363
1363
  "color-slider-minimum-length": "80px",
@@ -1918,6 +1918,12 @@
1918
1918
  "table-thumbnail-to-top-minimum-small-compact": "4px",
1919
1919
  "table-thumbnail-to-top-minimum-small-regular": "5px",
1920
1920
  "table-thumbnail-to-top-minimum-small-spacious": "7px",
1921
+ "tag-edge-to-clear-icon-large": "15px",
1922
+ "tag-edge-to-clear-icon-medium": "12px",
1923
+ "tag-edge-to-clear-icon-small": "8px",
1924
+ "tag-label-to-clear-icon-large": "15px",
1925
+ "tag-label-to-clear-icon-medium": "12px",
1926
+ "tag-label-to-clear-icon-small": "8px",
1921
1927
  "tag-top-to-avatar-large": "9px",
1922
1928
  "tag-top-to-avatar-medium": "6px",
1923
1929
  "tag-top-to-avatar-small": "4px",
@@ -4289,19 +4289,19 @@
4289
4289
  "uuid": "fba1851e-0056-4cdf-938d-6d61550bbe3c"
4290
4290
  },
4291
4291
  "color-slider-border-color": {
4292
- "ref": "{gray-900}",
4292
+ "ref": "{gray-1000}",
4293
4293
  "sets": {
4294
- "light": {
4295
- "value": "rgb(19, 19, 19)",
4296
- "uuid": "59093f0d-98b7-4659-bea6-3248ad20e96c"
4297
- },
4298
4294
  "dark": {
4299
- "value": "rgb(242, 242, 242)",
4300
- "uuid": "90d25d68-afb1-4b2a-9dba-3fe22d44976f"
4295
+ "value": "rgb(255, 255, 255)",
4296
+ "uuid": "5ce8c477-ae6e-427a-ac5c-79d15c8056ab"
4297
+ },
4298
+ "light": {
4299
+ "value": "rgb(0, 0, 0)",
4300
+ "uuid": "457fbeb8-56cd-4f3c-9950-f5e01f83f07c"
4301
4301
  },
4302
4302
  "wireframe": {
4303
- "value": "rgb(72, 110, 194)",
4304
- "uuid": "93fb6cac-b190-4a5a-951f-f5dc4c0d5978"
4303
+ "value": "rgb(8, 12, 22)",
4304
+ "uuid": "e804baf9-ae2c-4574-96d9-10cd5253fe47"
4305
4305
  }
4306
4306
  },
4307
4307
  "uuid": "0c85e7fa-f950-436c-a68a-dd7fb8dfac9e"
@@ -12481,7 +12481,8 @@
12481
12481
  "uuid": "2b907cad-7534-411b-b3bf-ab89a3712ad8"
12482
12482
  },
12483
12483
  "color-slider-border-rounding": {
12484
- "value": "4px",
12484
+ "ref": "{corner-radius-medium-size-small}",
12485
+ "value": "7px",
12485
12486
  "uuid": "991541a2-df44-4f32-90a5-de698adf5db3"
12486
12487
  },
12487
12488
  "floating-action-button-drop-shadow-blur": {
@@ -15683,6 +15684,86 @@
15683
15684
  }
15684
15685
  }
15685
15686
  },
15687
+ "tag-minimum-width-multiplier": {
15688
+ "value": "1",
15689
+ "uuid": "837b2ac3-0adc-438c-b249-b96bac07049f"
15690
+ },
15691
+ "tag-maximum-width-multiplier": {
15692
+ "value": "7",
15693
+ "uuid": "8771f506-a491-4222-be86-0e666ea2c711"
15694
+ },
15695
+ "tag-label-to-clear-icon-small": {
15696
+ "sets": {
15697
+ "desktop": {
15698
+ "value": "8px",
15699
+ "uuid": "bfc9cd19-e115-4ff2-908d-6cd4725f68bc"
15700
+ },
15701
+ "mobile": {
15702
+ "value": "10px",
15703
+ "uuid": "2011748e-f950-4c6e-9eee-1c0d77b7ba36"
15704
+ }
15705
+ }
15706
+ },
15707
+ "tag-label-to-clear-icon-medium": {
15708
+ "sets": {
15709
+ "desktop": {
15710
+ "value": "12px",
15711
+ "uuid": "c964fe64-fcb6-4417-977d-b15880daf164"
15712
+ },
15713
+ "mobile": {
15714
+ "value": "15px",
15715
+ "uuid": "ff7424ba-5f65-46ff-b408-4ffb2cfc5035"
15716
+ }
15717
+ }
15718
+ },
15719
+ "tag-label-to-clear-icon-large": {
15720
+ "sets": {
15721
+ "desktop": {
15722
+ "value": "15px",
15723
+ "uuid": "8533ad58-9e81-4154-8ad1-57213741e814"
15724
+ },
15725
+ "mobile": {
15726
+ "value": "19px",
15727
+ "uuid": "7c1375da-c6c7-42b3-b60e-0ef6724c6303"
15728
+ }
15729
+ }
15730
+ },
15731
+ "tag-edge-to-clear-icon-small": {
15732
+ "sets": {
15733
+ "desktop": {
15734
+ "value": "8px",
15735
+ "uuid": "a27b0e7c-8840-4d08-8f88-39643589c554"
15736
+ },
15737
+ "mobile": {
15738
+ "value": "10px",
15739
+ "uuid": "6f913e5f-debc-4b7d-897d-c2704847c2e5"
15740
+ }
15741
+ }
15742
+ },
15743
+ "tag-edge-to-clear-icon-medium": {
15744
+ "sets": {
15745
+ "desktop": {
15746
+ "value": "12px",
15747
+ "uuid": "e4e422af-181f-47b5-b165-f514a0a6f41c"
15748
+ },
15749
+ "mobile": {
15750
+ "value": "15px",
15751
+ "uuid": "a2f75bb4-0ce4-4993-9a43-09cd2b7376bf"
15752
+ }
15753
+ }
15754
+ },
15755
+ "tag-edge-to-clear-icon-large": {
15756
+ "sets": {
15757
+ "desktop": {
15758
+ "value": "15px",
15759
+ "uuid": "896b20fc-c13e-4785-a252-00857208d51c"
15760
+ },
15761
+ "mobile": {
15762
+ "value": "19px",
15763
+ "uuid": "b046b12c-5c39-4018-8ccc-9a5cb08eb6e5"
15764
+ }
15765
+ }
15766
+ },
15686
15767
  "corner-radius-0": {
15687
15768
  "value": "0px",
15688
15769
  "uuid": "bb9d8350-b1fb-4496-9c22-6ec9647ff117"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "13.0.0-beta.15",
3
+ "version": "13.0.0-beta.17",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "tasks/buildSpectrumTokens.js",
@@ -89,7 +89,7 @@
89
89
  "color-slider-border-color": {
90
90
  "component": "color-slider",
91
91
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
92
- "value": "{gray-900}",
92
+ "value": "{gray-1000}",
93
93
  "uuid": "0c85e7fa-f950-436c-a68a-dd7fb8dfac9e"
94
94
  },
95
95
  "color-slider-border-opacity": {
@@ -264,4 +264,4 @@
264
264
  "value": "0.15",
265
265
  "uuid": "6a093ea1-f07e-4673-b52f-5b28a2e080d0"
266
266
  }
267
- }
267
+ }
@@ -3348,8 +3348,8 @@
3348
3348
  },
3349
3349
  "color-slider-border-rounding": {
3350
3350
  "component": "color-slider",
3351
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
3352
- "value": "4px",
3351
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
3352
+ "value": "{corner-radius-medium-size-small}",
3353
3353
  "uuid": "991541a2-df44-4f32-90a5-de698adf5db3"
3354
3354
  },
3355
3355
  "floating-action-button-drop-shadow-blur": {
@@ -7045,5 +7045,105 @@
7045
7045
  "uuid": "daee9fb3-c94c-4f91-90d5-99e40034c1fd"
7046
7046
  }
7047
7047
  }
7048
+ },
7049
+ "tag-minimum-width-multiplier": {
7050
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/multiplier.json",
7051
+ "value": "1",
7052
+ "uuid": "837b2ac3-0adc-438c-b249-b96bac07049f"
7053
+ },
7054
+ "tag-maximum-width-multiplier": {
7055
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/multiplier.json",
7056
+ "value": "7",
7057
+ "uuid": "8771f506-a491-4222-be86-0e666ea2c711"
7058
+ },
7059
+ "tag-label-to-clear-icon-small": {
7060
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7061
+ "sets": {
7062
+ "desktop": {
7063
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7064
+ "value": "8px",
7065
+ "uuid": "bfc9cd19-e115-4ff2-908d-6cd4725f68bc"
7066
+ },
7067
+ "mobile": {
7068
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7069
+ "value": "10px",
7070
+ "uuid": "2011748e-f950-4c6e-9eee-1c0d77b7ba36"
7071
+ }
7072
+ }
7073
+ },
7074
+ "tag-label-to-clear-icon-medium": {
7075
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7076
+ "sets": {
7077
+ "desktop": {
7078
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7079
+ "value": "12px",
7080
+ "uuid": "c964fe64-fcb6-4417-977d-b15880daf164"
7081
+ },
7082
+ "mobile": {
7083
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7084
+ "value": "15px",
7085
+ "uuid": "ff7424ba-5f65-46ff-b408-4ffb2cfc5035"
7086
+ }
7087
+ }
7088
+ },
7089
+ "tag-label-to-clear-icon-large": {
7090
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7091
+ "sets": {
7092
+ "desktop": {
7093
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7094
+ "value": "15px",
7095
+ "uuid": "8533ad58-9e81-4154-8ad1-57213741e814"
7096
+ },
7097
+ "mobile": {
7098
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7099
+ "value": "19px",
7100
+ "uuid": "7c1375da-c6c7-42b3-b60e-0ef6724c6303"
7101
+ }
7102
+ }
7103
+ },
7104
+ "tag-edge-to-clear-icon-small": {
7105
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7106
+ "sets": {
7107
+ "desktop": {
7108
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7109
+ "value": "8px",
7110
+ "uuid": "a27b0e7c-8840-4d08-8f88-39643589c554"
7111
+ },
7112
+ "mobile": {
7113
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7114
+ "value": "10px",
7115
+ "uuid": "6f913e5f-debc-4b7d-897d-c2704847c2e5"
7116
+ }
7117
+ }
7118
+ },
7119
+ "tag-edge-to-clear-icon-medium": {
7120
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7121
+ "sets": {
7122
+ "desktop": {
7123
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7124
+ "value": "12px",
7125
+ "uuid": "e4e422af-181f-47b5-b165-f514a0a6f41c"
7126
+ },
7127
+ "mobile": {
7128
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7129
+ "value": "15px",
7130
+ "uuid": "a2f75bb4-0ce4-4993-9a43-09cd2b7376bf"
7131
+ }
7132
+ }
7133
+ },
7134
+ "tag-edge-to-clear-icon-large": {
7135
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
7136
+ "sets": {
7137
+ "desktop": {
7138
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7139
+ "value": "15px",
7140
+ "uuid": "896b20fc-c13e-4785-a252-00857208d51c"
7141
+ },
7142
+ "mobile": {
7143
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
7144
+ "value": "19px",
7145
+ "uuid": "b046b12c-5c39-4018-8ccc-9a5cb08eb6e5"
7146
+ }
7147
+ }
7048
7148
  }
7049
- }
7149
+ }