@adobe/spectrum-tokens 13.0.0-beta.15 → 13.0.0-beta.16
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 +31 -25
- package/dist/json/drover.json +6 -0
- package/dist/json/variables.json +80 -0
- package/package.json +1 -1
- package/src/layout-component.json +101 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,44 @@
|
|
|
1
1
|
# @adobe/spectrum-tokens
|
|
2
2
|
|
|
3
|
+
## 13.0.0-beta.16
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 80a3fec: New non-color tokens for S2 tag component added to both desktop and mobile layout.component sets.
|
|
8
|
+
|
|
9
|
+
## Design Motivation
|
|
10
|
+
|
|
11
|
+
New values for tag component for S2.
|
|
12
|
+
|
|
13
|
+
## Token Diff
|
|
14
|
+
|
|
15
|
+
_Tokens added (9):_
|
|
16
|
+
|
|
17
|
+
- `tag-edge-to-clear-icon-large`
|
|
18
|
+
- `tag-edge-to-clear-icon-medium`
|
|
19
|
+
- `tag-edge-to-clear-icon-small`
|
|
20
|
+
- `tag-label-clear-icon-large`
|
|
21
|
+
- `tag-label-to-clear-icon-large`
|
|
22
|
+
- `tag-label-to-clear-icon-medium`
|
|
23
|
+
- `tag-label-to-clear-icon-small`
|
|
24
|
+
- `tag-maximum-width-multiplier`
|
|
25
|
+
- `tag-minimum-width-multiplier`
|
|
26
|
+
|
|
3
27
|
## 13.0.0-beta.15
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
|
6
30
|
|
|
7
31
|
- 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.
|
|
32
|
+
- 4b78009: Updated values and added new tokens for Switch.
|
|
10
33
|
|
|
11
34
|
## Design Motivation
|
|
12
35
|
|
|
13
|
-
New
|
|
36
|
+
New negative-subdued background tokens were needed for negative and not selected tag components.
|
|
37
|
+
|
|
38
|
+
Added new tokens: `switch-handle-size-_` and `switch-handle-selected-size-_` for both desktop and mobile.
|
|
39
|
+
Update token values on: `switch-control-width-_` and `switch-control-height-_` for both desktop and mobile.
|
|
40
|
+
|
|
41
|
+
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
42
|
|
|
15
43
|
## Token Diff
|
|
16
44
|
|
|
@@ -40,28 +68,6 @@
|
|
|
40
68
|
- `switch-control-width-medium`
|
|
41
69
|
- `switch-control-width-small`
|
|
42
70
|
|
|
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
71
|
## 13.0.0-beta.14
|
|
66
72
|
|
|
67
73
|
### Minor Changes
|
package/dist/json/drover.json
CHANGED
|
@@ -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",
|
package/dist/json/variables.json
CHANGED
|
@@ -15683,6 +15683,86 @@
|
|
|
15683
15683
|
}
|
|
15684
15684
|
}
|
|
15685
15685
|
},
|
|
15686
|
+
"tag-minimum-width-multiplier": {
|
|
15687
|
+
"value": "1",
|
|
15688
|
+
"uuid": "837b2ac3-0adc-438c-b249-b96bac07049f"
|
|
15689
|
+
},
|
|
15690
|
+
"tag-maximum-width-multiplier": {
|
|
15691
|
+
"value": "7",
|
|
15692
|
+
"uuid": "8771f506-a491-4222-be86-0e666ea2c711"
|
|
15693
|
+
},
|
|
15694
|
+
"tag-label-to-clear-icon-small": {
|
|
15695
|
+
"sets": {
|
|
15696
|
+
"desktop": {
|
|
15697
|
+
"value": "8px",
|
|
15698
|
+
"uuid": "bfc9cd19-e115-4ff2-908d-6cd4725f68bc"
|
|
15699
|
+
},
|
|
15700
|
+
"mobile": {
|
|
15701
|
+
"value": "10px",
|
|
15702
|
+
"uuid": "2011748e-f950-4c6e-9eee-1c0d77b7ba36"
|
|
15703
|
+
}
|
|
15704
|
+
}
|
|
15705
|
+
},
|
|
15706
|
+
"tag-label-to-clear-icon-medium": {
|
|
15707
|
+
"sets": {
|
|
15708
|
+
"desktop": {
|
|
15709
|
+
"value": "12px",
|
|
15710
|
+
"uuid": "c964fe64-fcb6-4417-977d-b15880daf164"
|
|
15711
|
+
},
|
|
15712
|
+
"mobile": {
|
|
15713
|
+
"value": "15px",
|
|
15714
|
+
"uuid": "ff7424ba-5f65-46ff-b408-4ffb2cfc5035"
|
|
15715
|
+
}
|
|
15716
|
+
}
|
|
15717
|
+
},
|
|
15718
|
+
"tag-label-to-clear-icon-large": {
|
|
15719
|
+
"sets": {
|
|
15720
|
+
"desktop": {
|
|
15721
|
+
"value": "15px",
|
|
15722
|
+
"uuid": "8533ad58-9e81-4154-8ad1-57213741e814"
|
|
15723
|
+
},
|
|
15724
|
+
"mobile": {
|
|
15725
|
+
"value": "19px",
|
|
15726
|
+
"uuid": "7c1375da-c6c7-42b3-b60e-0ef6724c6303"
|
|
15727
|
+
}
|
|
15728
|
+
}
|
|
15729
|
+
},
|
|
15730
|
+
"tag-edge-to-clear-icon-small": {
|
|
15731
|
+
"sets": {
|
|
15732
|
+
"desktop": {
|
|
15733
|
+
"value": "8px",
|
|
15734
|
+
"uuid": "a27b0e7c-8840-4d08-8f88-39643589c554"
|
|
15735
|
+
},
|
|
15736
|
+
"mobile": {
|
|
15737
|
+
"value": "10px",
|
|
15738
|
+
"uuid": "6f913e5f-debc-4b7d-897d-c2704847c2e5"
|
|
15739
|
+
}
|
|
15740
|
+
}
|
|
15741
|
+
},
|
|
15742
|
+
"tag-edge-to-clear-icon-medium": {
|
|
15743
|
+
"sets": {
|
|
15744
|
+
"desktop": {
|
|
15745
|
+
"value": "12px",
|
|
15746
|
+
"uuid": "e4e422af-181f-47b5-b165-f514a0a6f41c"
|
|
15747
|
+
},
|
|
15748
|
+
"mobile": {
|
|
15749
|
+
"value": "15px",
|
|
15750
|
+
"uuid": "a2f75bb4-0ce4-4993-9a43-09cd2b7376bf"
|
|
15751
|
+
}
|
|
15752
|
+
}
|
|
15753
|
+
},
|
|
15754
|
+
"tag-edge-to-clear-icon-large": {
|
|
15755
|
+
"sets": {
|
|
15756
|
+
"desktop": {
|
|
15757
|
+
"value": "15px",
|
|
15758
|
+
"uuid": "896b20fc-c13e-4785-a252-00857208d51c"
|
|
15759
|
+
},
|
|
15760
|
+
"mobile": {
|
|
15761
|
+
"value": "19px",
|
|
15762
|
+
"uuid": "b046b12c-5c39-4018-8ccc-9a5cb08eb6e5"
|
|
15763
|
+
}
|
|
15764
|
+
}
|
|
15765
|
+
},
|
|
15686
15766
|
"corner-radius-0": {
|
|
15687
15767
|
"value": "0px",
|
|
15688
15768
|
"uuid": "bb9d8350-b1fb-4496-9c22-6ec9647ff117"
|
package/package.json
CHANGED
|
@@ -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
|
+
}
|