@adobe/spectrum-tokens 13.0.0-beta.41 → 13.0.0-beta.42
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 +26 -0
- package/dist/json/drover.json +8 -4
- package/dist/json/variables.json +37 -11
- package/package.json +1 -1
- package/src/color-component.json +9 -3
- package/src/layout-component.json +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @adobe/spectrum-tokens
|
|
2
2
|
|
|
3
|
+
## 13.0.0-beta.42
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#382](https://github.com/adobe/spectrum-tokens/pull/382) [`2af3850`](https://github.com/adobe/spectrum-tokens/commit/2af3850a554812fd9c1b3e6fd902a746c9ac42c7) Thanks [@nabuhasan](https://github.com/nabuhasan)! - Updated S2 swatch tokens and added swatch-group tokens in S2 Color and S2 Non-color data sets, respectively.
|
|
8
|
+
|
|
9
|
+
## Design Motivation
|
|
10
|
+
|
|
11
|
+
Swatch and swatch group components are being formalized as Spectrum 2 components. These tokens define the design data needed for implementation. Changes include updated corner rounding, colors and spacing for spacious density.
|
|
12
|
+
|
|
13
|
+
For more information, [view Jira ticket](https://jira.corp.adobe.com/browse/SDS-13497).
|
|
14
|
+
|
|
15
|
+
## Token Diff
|
|
16
|
+
|
|
17
|
+
_Tokens added (3):_
|
|
18
|
+
|
|
19
|
+
- `swatch-group-spacing-spacious`
|
|
20
|
+
- `swatch-group-border-opacity`
|
|
21
|
+
- `swatch-group-border-color`
|
|
22
|
+
|
|
23
|
+
_Tokens values updated (3):_
|
|
24
|
+
|
|
25
|
+
- `swatch-border-color`: `gray-900` -> `gray-1000`
|
|
26
|
+
- `swatch-border-opacity`: `0.51` -> `0.42`
|
|
27
|
+
- `swatch-disabled-icon-border-opacity`: `0.51` -> `0.42`
|
|
28
|
+
|
|
3
29
|
## 13.0.0-beta.41
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/dist/json/drover.json
CHANGED
|
@@ -608,8 +608,9 @@
|
|
|
608
608
|
"static-white-text-color": "rgb(255, 255, 255)",
|
|
609
609
|
"static-white-track-color": "rgba(255, 255, 255, 0.17)",
|
|
610
610
|
"static-white-track-indicator-color": "rgba(255, 255, 255, 0.94)",
|
|
611
|
-
"swatch-border-color": "rgb(
|
|
611
|
+
"swatch-border-color": "rgb(0, 0, 0)",
|
|
612
612
|
"swatch-disabled-icon-border-color": "rgb(0, 0, 0)",
|
|
613
|
+
"swatch-group-border-color": "rgb(0, 0, 0)",
|
|
613
614
|
"table-row-hover-color": "rgb(19, 19, 19)",
|
|
614
615
|
"table-selected-row-background-color": "rgb(59, 99, 251)",
|
|
615
616
|
"table-selected-row-background-color-non-emphasized": "rgb(41, 41, 41)",
|
|
@@ -1277,8 +1278,9 @@
|
|
|
1277
1278
|
"static-white-text-color": "rgb(255, 255, 255)",
|
|
1278
1279
|
"static-white-track-color": "rgba(255, 255, 255, 0.17)",
|
|
1279
1280
|
"static-white-track-indicator-color": "rgba(255, 255, 255, 0.94)",
|
|
1280
|
-
"swatch-border-color": "rgb(
|
|
1281
|
+
"swatch-border-color": "rgb(255, 255, 255)",
|
|
1281
1282
|
"swatch-disabled-icon-border-color": "rgb(0, 0, 0)",
|
|
1283
|
+
"swatch-group-border-color": "rgb(255, 255, 255)",
|
|
1282
1284
|
"table-row-hover-color": "rgb(242, 242, 242)",
|
|
1283
1285
|
"table-selected-row-background-color": "rgb(52, 91, 248)",
|
|
1284
1286
|
"table-selected-row-background-color-non-emphasized": "rgb(219, 219, 219)",
|
|
@@ -2100,8 +2102,10 @@
|
|
|
2100
2102
|
"status-light-top-to-dot-large": "14px",
|
|
2101
2103
|
"status-light-top-to-dot-medium": "11px",
|
|
2102
2104
|
"status-light-top-to-dot-small": "8px",
|
|
2103
|
-
"swatch-border-opacity": "0.
|
|
2104
|
-
"swatch-disabled-icon-border-opacity": "0.
|
|
2105
|
+
"swatch-border-opacity": "0.42",
|
|
2106
|
+
"swatch-disabled-icon-border-opacity": "0.42",
|
|
2107
|
+
"swatch-group-border-opacity": "0.2",
|
|
2108
|
+
"swatch-group-spacing-spacious": "6px",
|
|
2105
2109
|
"swatch-size-extra-small": "16px",
|
|
2106
2110
|
"swatch-size-large": "40px",
|
|
2107
2111
|
"swatch-size-medium": "32px",
|
package/dist/json/variables.json
CHANGED
|
@@ -4933,25 +4933,25 @@
|
|
|
4933
4933
|
"uuid": "a1cbc282-1376-48d1-b8bb-92f10aef7c6f"
|
|
4934
4934
|
},
|
|
4935
4935
|
"swatch-border-color": {
|
|
4936
|
-
"ref": "{gray-
|
|
4936
|
+
"ref": "{gray-1000}",
|
|
4937
4937
|
"sets": {
|
|
4938
|
-
"light": {
|
|
4939
|
-
"value": "rgb(19, 19, 19)",
|
|
4940
|
-
"uuid": "59093f0d-98b7-4659-bea6-3248ad20e96c"
|
|
4941
|
-
},
|
|
4942
4938
|
"dark": {
|
|
4943
|
-
"value": "rgb(
|
|
4944
|
-
"uuid": "
|
|
4939
|
+
"value": "rgb(255, 255, 255)",
|
|
4940
|
+
"uuid": "5ce8c477-ae6e-427a-ac5c-79d15c8056ab"
|
|
4941
|
+
},
|
|
4942
|
+
"light": {
|
|
4943
|
+
"value": "rgb(0, 0, 0)",
|
|
4944
|
+
"uuid": "457fbeb8-56cd-4f3c-9950-f5e01f83f07c"
|
|
4945
4945
|
},
|
|
4946
4946
|
"wireframe": {
|
|
4947
|
-
"value": "rgb(
|
|
4948
|
-
"uuid": "
|
|
4947
|
+
"value": "rgb(8, 12, 22)",
|
|
4948
|
+
"uuid": "e804baf9-ae2c-4574-96d9-10cd5253fe47"
|
|
4949
4949
|
}
|
|
4950
4950
|
},
|
|
4951
4951
|
"uuid": "7da5157d-7f25-405b-8de0-f3669565fb48"
|
|
4952
4952
|
},
|
|
4953
4953
|
"swatch-border-opacity": {
|
|
4954
|
-
"value": "0.
|
|
4954
|
+
"value": "0.42",
|
|
4955
4955
|
"uuid": "0e397a80-cf33-44ed-8b7d-1abaf4426bf5"
|
|
4956
4956
|
},
|
|
4957
4957
|
"swatch-disabled-icon-border-color": {
|
|
@@ -4960,7 +4960,7 @@
|
|
|
4960
4960
|
"uuid": "c49cd7ae-7657-458b-871a-6b4f28bca535"
|
|
4961
4961
|
},
|
|
4962
4962
|
"swatch-disabled-icon-border-opacity": {
|
|
4963
|
-
"value": "0.
|
|
4963
|
+
"value": "0.42",
|
|
4964
4964
|
"uuid": "cdbba3b6-cb51-4fec-88f0-273d4bb59a18"
|
|
4965
4965
|
},
|
|
4966
4966
|
"thumbnail-border-color": {
|
|
@@ -5757,6 +5757,24 @@
|
|
|
5757
5757
|
},
|
|
5758
5758
|
"uuid": "bfd387b8-0ce0-45ff-8d66-fc5de2f4900c"
|
|
5759
5759
|
},
|
|
5760
|
+
"swatch-group-border-color": {
|
|
5761
|
+
"ref": "{gray-1000}",
|
|
5762
|
+
"sets": {
|
|
5763
|
+
"dark": {
|
|
5764
|
+
"value": "rgb(255, 255, 255)",
|
|
5765
|
+
"uuid": "5ce8c477-ae6e-427a-ac5c-79d15c8056ab"
|
|
5766
|
+
},
|
|
5767
|
+
"light": {
|
|
5768
|
+
"value": "rgb(0, 0, 0)",
|
|
5769
|
+
"uuid": "457fbeb8-56cd-4f3c-9950-f5e01f83f07c"
|
|
5770
|
+
},
|
|
5771
|
+
"wireframe": {
|
|
5772
|
+
"value": "rgb(8, 12, 22)",
|
|
5773
|
+
"uuid": "e804baf9-ae2c-4574-96d9-10cd5253fe47"
|
|
5774
|
+
}
|
|
5775
|
+
},
|
|
5776
|
+
"uuid": "08b8d06a-5475-47bf-ad2e-9f52ee07345a"
|
|
5777
|
+
},
|
|
5760
5778
|
"white": {
|
|
5761
5779
|
"value": "rgb(255, 255, 255)",
|
|
5762
5780
|
"uuid": "9b799da8-2130-417e-b7ee-5e1154a89837"
|
|
@@ -21077,6 +21095,14 @@
|
|
|
21077
21095
|
},
|
|
21078
21096
|
"uuid": "66540ddb-ec74-487f-8e09-a37b436694b5"
|
|
21079
21097
|
},
|
|
21098
|
+
"swatch-group-spacing-spacious": {
|
|
21099
|
+
"value": "6px",
|
|
21100
|
+
"uuid": "b80ef303-eae7-498f-b172-73a098be0f0b"
|
|
21101
|
+
},
|
|
21102
|
+
"swatch-group-border-opacity": {
|
|
21103
|
+
"value": "0.2",
|
|
21104
|
+
"uuid": "19968846-dad0-42eb-b6a8-af65f3a910ff"
|
|
21105
|
+
},
|
|
21080
21106
|
"corner-radius-0": {
|
|
21081
21107
|
"value": "0px",
|
|
21082
21108
|
"uuid": "bb9d8350-b1fb-4496-9c22-6ec9647ff117"
|
package/package.json
CHANGED
package/src/color-component.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"swatch-border-color": {
|
|
3
3
|
"component": "swatch",
|
|
4
4
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
5
|
-
"value": "{gray-
|
|
5
|
+
"value": "{gray-1000}",
|
|
6
6
|
"uuid": "7da5157d-7f25-405b-8de0-f3669565fb48"
|
|
7
7
|
},
|
|
8
8
|
"swatch-border-opacity": {
|
|
9
9
|
"component": "swatch",
|
|
10
10
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
|
|
11
|
-
"value": "0.
|
|
11
|
+
"value": "0.42",
|
|
12
12
|
"uuid": "0e397a80-cf33-44ed-8b7d-1abaf4426bf5"
|
|
13
13
|
},
|
|
14
14
|
"swatch-disabled-icon-border-color": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"swatch-disabled-icon-border-opacity": {
|
|
21
21
|
"component": "swatch",
|
|
22
22
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
|
|
23
|
-
"value": "0.
|
|
23
|
+
"value": "0.42",
|
|
24
24
|
"uuid": "cdbba3b6-cb51-4fec-88f0-273d4bb59a18"
|
|
25
25
|
},
|
|
26
26
|
"thumbnail-border-color": {
|
|
@@ -405,5 +405,11 @@
|
|
|
405
405
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
406
406
|
"value": "{blue-800}",
|
|
407
407
|
"uuid": "bfd387b8-0ce0-45ff-8d66-fc5de2f4900c"
|
|
408
|
+
},
|
|
409
|
+
"swatch-group-border-color": {
|
|
410
|
+
"component": "swatch-group",
|
|
411
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
412
|
+
"value": "{gray-1000}",
|
|
413
|
+
"uuid": "08b8d06a-5475-47bf-ad2e-9f52ee07345a"
|
|
408
414
|
}
|
|
409
415
|
}
|
|
@@ -8549,5 +8549,17 @@
|
|
|
8549
8549
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
8550
8550
|
"value": "{font-size-100}",
|
|
8551
8551
|
"uuid": "66540ddb-ec74-487f-8e09-a37b436694b5"
|
|
8552
|
+
},
|
|
8553
|
+
"swatch-group-spacing-spacious": {
|
|
8554
|
+
"component": "swatch-group",
|
|
8555
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
|
|
8556
|
+
"value": "6px",
|
|
8557
|
+
"uuid": "b80ef303-eae7-498f-b172-73a098be0f0b"
|
|
8558
|
+
},
|
|
8559
|
+
"swatch-group-border-opacity": {
|
|
8560
|
+
"component": "swatch-group",
|
|
8561
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
|
|
8562
|
+
"value": "0.2",
|
|
8563
|
+
"uuid": "19968846-dad0-42eb-b6a8-af65f3a910ff"
|
|
8552
8564
|
}
|
|
8553
8565
|
}
|