@adobe/spectrum-tokens 12.14.0 → 12.16.0
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 +24 -0
- package/dist/json/drover.json +2 -0
- package/dist/json/variables.json +16 -0
- package/manifest.json +6 -6
- package/package.json +5 -6
- package/src/layout-component.json +18 -0
- package/tasks/addIds.js +1 -1
- package/tasks/buildManifest.js +1 -1
- package/tasks/deprecateExpress.js +1 -1
- package/test/checkId.test.js +1 -1
- package/test/schemaValidator.test.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @adobe/spectrum-tokens
|
|
2
2
|
|
|
3
|
+
## 12.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 25dc20d: Add new menu-item token for section dividers
|
|
8
|
+
|
|
9
|
+
#### Token Diff
|
|
10
|
+
|
|
11
|
+
_Tokens added (1):_
|
|
12
|
+
|
|
13
|
+
- `menu-item-section-divider-height`
|
|
14
|
+
|
|
15
|
+
## 12.15.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- fc12f6d: Added side-navigation token
|
|
20
|
+
|
|
21
|
+
#### Token Diff
|
|
22
|
+
|
|
23
|
+
_Tokens added (1):_
|
|
24
|
+
|
|
25
|
+
- `side-navigation-bottom-to-text`
|
|
26
|
+
|
|
3
27
|
## 12.14.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
package/dist/json/drover.json
CHANGED
|
@@ -1714,6 +1714,7 @@
|
|
|
1714
1714
|
"menu-item-edge-to-content-not-selected-medium": "32px",
|
|
1715
1715
|
"menu-item-edge-to-content-not-selected-small": "28px",
|
|
1716
1716
|
"menu-item-label-to-description": "1px",
|
|
1717
|
+
"menu-item-section-divider-height": "8px",
|
|
1717
1718
|
"menu-item-top-to-disclosure-icon-extra-large": "17px",
|
|
1718
1719
|
"menu-item-top-to-disclosure-icon-large": "14px",
|
|
1719
1720
|
"menu-item-top-to-disclosure-icon-medium": "11px",
|
|
@@ -1771,6 +1772,7 @@
|
|
|
1771
1772
|
"side-label-character-count-top-margin-large": "11px",
|
|
1772
1773
|
"side-label-character-count-top-margin-medium": "8px",
|
|
1773
1774
|
"side-label-character-count-top-margin-small": "4px",
|
|
1775
|
+
"side-navigation-bottom-to-text": "8px",
|
|
1774
1776
|
"side-navigation-item-to-header": "16px",
|
|
1775
1777
|
"side-navigation-item-to-item": "4px",
|
|
1776
1778
|
"side-navigation-maximum-width": "240px",
|
package/dist/json/variables.json
CHANGED
|
@@ -13795,6 +13795,10 @@
|
|
|
13795
13795
|
}
|
|
13796
13796
|
}
|
|
13797
13797
|
},
|
|
13798
|
+
"menu-item-section-divider-height": {
|
|
13799
|
+
"value": "8px",
|
|
13800
|
+
"uuid": "dac5c077-b948-434b-91bd-0759c2414007"
|
|
13801
|
+
},
|
|
13798
13802
|
"slider-track-thickness": {
|
|
13799
13803
|
"sets": {
|
|
13800
13804
|
"spectrum": {
|
|
@@ -17831,6 +17835,18 @@
|
|
|
17831
17835
|
}
|
|
17832
17836
|
}
|
|
17833
17837
|
},
|
|
17838
|
+
"side-navigation-bottom-to-text": {
|
|
17839
|
+
"sets": {
|
|
17840
|
+
"desktop": {
|
|
17841
|
+
"value": "8px",
|
|
17842
|
+
"uuid": "8751d85d-a325-4e4e-a7b2-0a3ca94b6b6e"
|
|
17843
|
+
},
|
|
17844
|
+
"mobile": {
|
|
17845
|
+
"value": "10px",
|
|
17846
|
+
"uuid": "e3f49e5e-f9ec-485c-846e-7a8fda08caea"
|
|
17847
|
+
}
|
|
17848
|
+
}
|
|
17849
|
+
},
|
|
17834
17850
|
"tray-top-to-content-area": {
|
|
17835
17851
|
"sets": {
|
|
17836
17852
|
"desktop": {
|
package/manifest.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[
|
|
2
|
-
"src/
|
|
3
|
-
"src/color-component.json",
|
|
4
|
-
"src/color-palette.json",
|
|
5
|
-
"src/layout-component.json",
|
|
6
|
-
"src/layout.json",
|
|
2
|
+
"src/typography.json",
|
|
7
3
|
"src/semantic-color-palette.json",
|
|
8
|
-
"src/
|
|
4
|
+
"src/layout.json",
|
|
5
|
+
"src/layout-component.json",
|
|
6
|
+
"src/color-palette.json",
|
|
7
|
+
"src/color-component.json",
|
|
8
|
+
"src/color-aliases.json"
|
|
9
9
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spectrum-tokens",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.16.0",
|
|
4
4
|
"description": "Design tokens for Spectrum, Adobe's design system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "tasks/buildSpectrumTokens.js",
|
|
@@ -21,12 +21,11 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"ajv": "^8.12.0",
|
|
23
23
|
"ajv-formats": "^2.1.1",
|
|
24
|
-
"deep-object-diff": "^1.1.
|
|
25
|
-
"glob": "^
|
|
26
|
-
"
|
|
27
|
-
"style-dictionary": "^3.7.1",
|
|
24
|
+
"deep-object-diff": "^1.1.9",
|
|
25
|
+
"glob": "^10.3.3",
|
|
26
|
+
"style-dictionary": "^3.8.0",
|
|
28
27
|
"style-dictionary-sets": "^2.3.0",
|
|
29
|
-
"tar": "^6.1.
|
|
28
|
+
"tar": "^6.1.15",
|
|
30
29
|
"tmp-promise": "^3.0.3"
|
|
31
30
|
},
|
|
32
31
|
"scripts": {}
|
|
@@ -2050,6 +2050,11 @@
|
|
|
2050
2050
|
}
|
|
2051
2051
|
}
|
|
2052
2052
|
},
|
|
2053
|
+
"menu-item-section-divider-height": {
|
|
2054
|
+
"component": "menu",
|
|
2055
|
+
"value": "8px",
|
|
2056
|
+
"uuid": "dac5c077-b948-434b-91bd-0759c2414007"
|
|
2057
|
+
},
|
|
2053
2058
|
"slider-track-thickness": {
|
|
2054
2059
|
"component": "slider",
|
|
2055
2060
|
"sets": {
|
|
@@ -5948,6 +5953,19 @@
|
|
|
5948
5953
|
}
|
|
5949
5954
|
}
|
|
5950
5955
|
},
|
|
5956
|
+
"side-navigation-bottom-to-text": {
|
|
5957
|
+
"component": "side-navigation",
|
|
5958
|
+
"sets": {
|
|
5959
|
+
"desktop": {
|
|
5960
|
+
"value": "8px",
|
|
5961
|
+
"uuid": "8751d85d-a325-4e4e-a7b2-0a3ca94b6b6e"
|
|
5962
|
+
},
|
|
5963
|
+
"mobile": {
|
|
5964
|
+
"value": "10px",
|
|
5965
|
+
"uuid": "e3f49e5e-f9ec-485c-846e-7a8fda08caea"
|
|
5966
|
+
}
|
|
5967
|
+
}
|
|
5968
|
+
},
|
|
5951
5969
|
"tray-top-to-content-area": {
|
|
5952
5970
|
"component": "tray",
|
|
5953
5971
|
"sets": {
|
package/tasks/addIds.js
CHANGED
package/tasks/buildManifest.js
CHANGED
|
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import glob from "glob
|
|
13
|
+
import { glob } from "glob";
|
|
14
14
|
import { writeFile } from "fs/promises";
|
|
15
15
|
import { format } from "prettier";
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import glob from "glob
|
|
13
|
+
import { glob } from "glob";
|
|
14
14
|
import { readFile, writeFile } from "fs/promises";
|
|
15
15
|
import augmentExpressTokens from "./lib/augmentExpressTokens.js";
|
|
16
16
|
|
package/test/checkId.test.js
CHANGED
|
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import test from "ava";
|
|
14
|
-
import glob from "glob
|
|
14
|
+
import { glob } from "glob";
|
|
15
15
|
import { readFile } from "fs/promises";
|
|
16
16
|
const fileNames = await glob("src/**/*.json");
|
|
17
17
|
const files = await Promise.all(
|
|
@@ -13,7 +13,7 @@ governing permissions and limitations under the License.
|
|
|
13
13
|
import test from "ava";
|
|
14
14
|
import Ajv from "ajv/dist/2020.js";
|
|
15
15
|
import addFormats from "ajv-formats";
|
|
16
|
-
import glob from "glob
|
|
16
|
+
import { glob } from "glob";
|
|
17
17
|
import { readFile } from "fs/promises";
|
|
18
18
|
|
|
19
19
|
const readJSON = async (filePath) =>
|