@swisspost/design-system-tokens 10.0.0-next.45 → 10.0.0-next.47
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 +8 -0
- package/_channel.scss +1 -1
- package/_components.scss +2 -1
- package/_core.scss +1 -1
- package/_device.scss +1 -1
- package/_elements.scss +1 -1
- package/_helpers.scss +1 -1
- package/_index.scss +1 -1
- package/_palette.scss +1 -1
- package/_scheme.scss +1 -1
- package/_schemestatic.scss +1 -1
- package/_theme.scss +1 -1
- package/_utilities-formatted.scss +1 -1
- package/_utilities.scss +1 -1
- package/package.json +9 -5
- package/tailwind/helpers.tailwind.js +1 -1
- package/tailwind/utilities.tailwind.js +1 -1
- package/tokens.json +619 -1087
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @swisspost/design-system-tokens
|
|
2
2
|
|
|
3
|
+
## 10.0.0-next.47
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated tokens package to use TypeScript. (by [@myrta2302](https://github.com/myrta2302) with [#5557](https://github.com/swisspost/design-system/pull/5557))
|
|
8
|
+
|
|
9
|
+
## 10.0.0-next.46
|
|
10
|
+
|
|
3
11
|
## 10.0.0-next.45
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/_channel.scss
CHANGED
package/_components.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit manually
|
|
3
3
|
// This file was generated by the swisspost/design-system-tokens package
|
|
4
|
-
//
|
|
4
|
+
// Mon, 08 Sep 2025 11:02:59 GMT
|
|
5
5
|
|
|
6
6
|
$post-accordion: (
|
|
7
7
|
post-accordion-header-padding-block-closed: var(--post-device-spacing-padding-19),
|
|
@@ -220,6 +220,7 @@ $post-cards: (
|
|
|
220
220
|
post-card-enabled-bg2: var(--post-theme-color-palettes-default-bg),
|
|
221
221
|
post-card-hover-bg: var(--post-scheme-color-interactive-card-hover-bg),
|
|
222
222
|
post-card-hover-fg: var(--post-scheme-color-interactive-card-hover-fg),
|
|
223
|
+
post-card-padding-1: var(--post-device-spacing-padding-5),
|
|
223
224
|
);
|
|
224
225
|
|
|
225
226
|
$post-checkbox: (
|
package/_core.scss
CHANGED
package/_device.scss
CHANGED
package/_elements.scss
CHANGED
package/_helpers.scss
CHANGED
package/_index.scss
CHANGED
package/_palette.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit manually
|
|
3
3
|
// This file was generated by the swisspost/design-system-tokens package
|
|
4
|
-
//
|
|
4
|
+
// Mon, 08 Sep 2025 11:02:59 GMT
|
|
5
5
|
|
|
6
6
|
$post-default: (
|
|
7
7
|
post-palette-color-scheme: var(--post-theme-color-palettes-default-scheme),
|
package/_scheme.scss
CHANGED
package/_schemestatic.scss
CHANGED
package/_theme.scss
CHANGED
package/_utilities.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/design-system-tokens",
|
|
3
|
-
"version": "10.0.0-next.
|
|
3
|
+
"version": "10.0.0-next.47",
|
|
4
4
|
"description": "Design Tokens for the Swiss Post Design System.",
|
|
5
5
|
"author": "Swiss Post <design-system@post.ch>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"private": false,
|
|
8
8
|
"type": "module",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
9
10
|
"repository": {
|
|
10
11
|
"type": "git",
|
|
11
12
|
"url": "https://github.com/swisspost/design-system.git"
|
|
@@ -22,11 +23,14 @@
|
|
|
22
23
|
"devDependencies": {
|
|
23
24
|
"@eslint/js": "9.18.0",
|
|
24
25
|
"@tokens-studio/sd-transforms": "1.2.9",
|
|
26
|
+
"@types/node": "22.10.5",
|
|
25
27
|
"copyfiles": "2.4.1",
|
|
26
28
|
"eslint": "9.18.0",
|
|
27
29
|
"globals": "16.0.0",
|
|
28
30
|
"rimraf": "6.0.1",
|
|
29
|
-
"style-dictionary": "4.3.0"
|
|
31
|
+
"style-dictionary": "4.3.0",
|
|
32
|
+
"typescript": "5.8.3",
|
|
33
|
+
"typescript-eslint": "8.20.0"
|
|
30
34
|
},
|
|
31
35
|
"keywords": [
|
|
32
36
|
"tokens",
|
|
@@ -37,11 +41,11 @@
|
|
|
37
41
|
"frontend"
|
|
38
42
|
],
|
|
39
43
|
"scripts": {
|
|
40
|
-
"build": "pnpm clean && node ./build.js && pnpm copy-files",
|
|
41
|
-
"build:verbose": "node ./build.js --verbosity=verbose",
|
|
44
|
+
"build": "pnpm clean && tsc -p . && node ./dist/build.js && pnpm copy-files",
|
|
45
|
+
"build:verbose": "pnpm clean && tsc -p . && node ./dist/build.js --verbosity=verbose && pnpm copy-files",
|
|
42
46
|
"clean": "rimraf dist",
|
|
43
47
|
"lint": "eslint",
|
|
44
48
|
"lint:fix": "eslint --fix",
|
|
45
|
-
"copy-files": "copyfiles -f package.json README.md CONTRIBUTING.md CHANGELOG.md LICENSE dist"
|
|
49
|
+
"copy-files": "copyfiles -f package.json README.md CONTRIBUTING.md CHANGELOG.md LICENSE *.scss dist"
|
|
46
50
|
}
|
|
47
51
|
}
|