@cas-smartdesign/design-tokens 1.9.0 → 2.0.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.
@@ -1,173 +1,123 @@
1
1
  {
2
- "@cypress/vite-dev-server@7.0.0": {
2
+ "@cypress/vite-dev-server@7.2.1": {
3
3
  "licenses": "MIT",
4
4
  "repository": "https://github.com/cypress-io/cypress",
5
5
  "licenseUrl": "https://github.com/cypress-io/cypress/tree/develop/npm/vite-dev-server#readme"
6
6
  },
7
- "@eslint/js@9.34.0": {
7
+ "@tsdown/css@0.21.7": {
8
8
  "licenses": "MIT",
9
- "repository": "https://github.com/eslint/eslint",
10
- "licenseUrl": "https://unpkg.com/@eslint/js@9.34.0/LICENSE"
9
+ "repository": "https://github.com/rolldown/tsdown",
10
+ "licenseUrl": "https://unpkg.com/@tsdown/css@0.21.7/LICENSE"
11
11
  },
12
- "@rollup/plugin-node-resolve@16.0.1": {
13
- "licenses": "MIT",
14
- "repository": "https://github.com/rollup/plugins",
15
- "licenseUrl": "https://unpkg.com/@rollup/plugin-node-resolve@16.0.1/LICENSE"
16
- },
17
- "@types/node@24.3.0": {
12
+ "@types/node@25.5.2": {
18
13
  "licenses": "MIT",
19
14
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
20
- "licenseUrl": "https://unpkg.com/@types/node@24.3.0/LICENSE"
21
- },
22
- "@typescript-eslint/eslint-plugin@8.41.0": {
23
- "licenses": "MIT",
24
- "repository": "https://github.com/typescript-eslint/typescript-eslint",
25
- "licenseUrl": "https://unpkg.com/@typescript-eslint/eslint-plugin@8.41.0/LICENSE"
15
+ "licenseUrl": "https://unpkg.com/@types/node@25.5.2/LICENSE"
26
16
  },
27
- "@typescript-eslint/parser@8.41.0": {
17
+ "@types/yargs@17.0.35": {
28
18
  "licenses": "MIT",
29
- "repository": "https://github.com/typescript-eslint/typescript-eslint",
30
- "licenseUrl": "https://unpkg.com/@typescript-eslint/parser@8.41.0/LICENSE"
19
+ "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
20
+ "licenseUrl": "https://unpkg.com/@types/yargs@17.0.35/LICENSE"
31
21
  },
32
- "@vitest/coverage-v8@4.0.18": {
22
+ "@vitest/coverage-v8@4.1.2": {
33
23
  "licenses": "MIT",
34
24
  "repository": "https://github.com/vitest-dev/vitest",
35
- "licenseUrl": "https://unpkg.com/@vitest/coverage-v8@4.0.18/LICENSE"
25
+ "licenseUrl": "https://unpkg.com/@vitest/coverage-v8@4.1.2/LICENSE"
36
26
  },
37
- "@vitest/ui@4.0.18": {
27
+ "@vitest/ui@4.1.2": {
38
28
  "licenses": "MIT",
39
29
  "repository": "https://github.com/vitest-dev/vitest",
40
- "licenseUrl": "https://unpkg.com/@vitest/ui@4.0.18/LICENSE"
30
+ "licenseUrl": "https://unpkg.com/@vitest/ui@4.1.2/LICENSE"
41
31
  },
42
- "axe-core@4.10.3": {
32
+ "axe-core@4.11.2": {
43
33
  "licenses": "MPL-2.0",
44
34
  "repository": "https://github.com/dequelabs/axe-core",
45
- "licenseUrl": "https://unpkg.com/axe-core@4.10.3/LICENSE"
35
+ "licenseUrl": "https://unpkg.com/axe-core@4.11.2/LICENSE"
46
36
  },
47
37
  "cypress-axe@1.7.0": {
48
38
  "licenses": "MIT",
49
39
  "repository": "https://github.com/component-driven/cypress-axe",
50
40
  "licenseUrl": "https://unpkg.com/cypress-axe@1.7.0/License.md"
51
41
  },
52
- "cypress@15.0.0": {
42
+ "cypress@15.13.0": {
53
43
  "licenses": "MIT",
54
44
  "repository": "https://github.com/cypress-io/cypress",
55
45
  "licenseUrl": "https://cypress.io"
56
46
  },
57
- "esbuild@0.27.2": {
58
- "licenses": "MIT",
59
- "repository": "https://github.com/evanw/esbuild",
60
- "licenseUrl": "https://unpkg.com/esbuild@0.27.2/LICENSE.md"
61
- },
62
- "eslint-config-google@0.14.0": {
63
- "licenses": "Apache-2.0",
64
- "repository": "https://github.com/google/eslint-config-google",
65
- "licenseUrl": "https://unpkg.com/eslint-config-google@0.14.0/LICENSE"
66
- },
67
- "eslint-config-prettier@10.1.8": {
68
- "licenses": "MIT",
69
- "repository": "https://github.com/prettier/eslint-config-prettier",
70
- "licenseUrl": "https://unpkg.com/eslint-config-prettier@10.1.8/LICENSE"
71
- },
72
- "eslint@9.34.0": {
73
- "licenses": "MIT",
74
- "repository": "https://github.com/eslint/eslint",
75
- "licenseUrl": "https://unpkg.com/eslint@9.34.0/LICENSE"
76
- },
77
- "github-markdown-css@5.8.1": {
47
+ "github-markdown-css@5.9.0": {
78
48
  "licenses": "MIT",
79
49
  "repository": "https://github.com/sindresorhus/github-markdown-css",
80
- "licenseUrl": "https://unpkg.com/github-markdown-css@5.8.1/license"
50
+ "licenseUrl": "https://unpkg.com/github-markdown-css@5.9.0/license"
81
51
  },
82
52
  "junit-report-builder@5.1.1": {
83
53
  "licenses": "MIT",
84
54
  "repository": "https://github.com/davidparsson/junit-report-builder",
85
55
  "licenseUrl": "https://unpkg.com/junit-report-builder@5.1.1/LICENSE"
86
56
  },
87
- "lint-staged@16.1.5": {
57
+ "lint-staged@16.4.0": {
88
58
  "licenses": "MIT",
89
59
  "repository": "https://github.com/lint-staged/lint-staged",
90
- "licenseUrl": "https://unpkg.com/lint-staged@16.1.5/LICENSE"
60
+ "licenseUrl": "https://unpkg.com/lint-staged@16.4.0/LICENSE"
91
61
  },
92
- "marked@16.2.1": {
62
+ "marked@18.0.0": {
93
63
  "licenses": "MIT",
94
64
  "repository": "https://github.com/markedjs/marked",
95
- "licenseUrl": "https://unpkg.com/marked@16.2.1/LICENSE.md"
65
+ "licenseUrl": "https://unpkg.com/marked@18.0.0/LICENSE.md"
96
66
  },
97
- "prettier@3.8.1": {
67
+ "oxfmt@0.44.0": {
98
68
  "licenses": "MIT",
99
- "repository": "https://github.com/prettier/prettier",
100
- "licenseUrl": "https://unpkg.com/prettier@3.8.1/LICENSE"
69
+ "repository": "https://github.com/oxc-project/oxc",
70
+ "licenseUrl": "https://unpkg.com/oxfmt@0.44.0/LICENSE"
101
71
  },
102
- "resolve-pkg@2.0.0": {
72
+ "oxlint-tsgolint@0.20.0": {
103
73
  "licenses": "MIT",
104
- "repository": "https://github.com/sindresorhus/resolve-pkg",
105
- "licenseUrl": "https://unpkg.com/resolve-pkg@2.0.0/license"
74
+ "repository": "https://github.com/oxc-project/tsgolint",
75
+ "licenseUrl": "https://unpkg.com/oxlint-tsgolint@0.20.0/LICENSE"
106
76
  },
107
- "sass@1.91.0": {
77
+ "oxlint@1.59.0": {
108
78
  "licenses": "MIT",
109
- "repository": "https://github.com/sass/dart-sass",
110
- "licenseUrl": "https://unpkg.com/sass@1.91.0/LICENSE"
79
+ "repository": "https://github.com/oxc-project/oxc",
80
+ "licenseUrl": "https://unpkg.com/oxlint@1.59.0/LICENSE"
111
81
  },
112
- "style-dictionary@5.2.0": {
113
- "licenses": "Apache-2.0",
114
- "repository": "https://github.com/style-dictionary/style-dictionary",
115
- "licenseUrl": "https://unpkg.com/style-dictionary@5.2.0/LICENSE"
116
- },
117
- "stylelint-config-recommended-scss@16.0.0": {
82
+ "resolve-pkg@3.0.1": {
118
83
  "licenses": "MIT",
119
- "repository": "https://github.com/stylelint-scss/stylelint-config-recommended-scss",
120
- "licenseUrl": "https://unpkg.com/stylelint-config-recommended-scss@16.0.0/LICENSE"
121
- },
122
- "stylelint-config-standard@39.0.0": {
123
- "licenses": "MIT",
124
- "repository": "https://github.com/stylelint/stylelint-config-standard",
125
- "licenseUrl": "https://unpkg.com/stylelint-config-standard@39.0.0/LICENSE"
84
+ "repository": "https://github.com/sindresorhus/resolve-pkg",
85
+ "licenseUrl": "https://unpkg.com/resolve-pkg@3.0.1/license"
126
86
  },
127
- "stylelint-scss@6.12.1": {
87
+ "sass@1.99.0": {
128
88
  "licenses": "MIT",
129
- "repository": "https://github.com/stylelint-scss/stylelint-scss",
130
- "licenseUrl": "https://unpkg.com/stylelint-scss@6.12.1/LICENSE"
89
+ "repository": "https://github.com/sass/dart-sass",
90
+ "licenseUrl": "https://unpkg.com/sass@1.99.0/LICENSE"
131
91
  },
132
- "stylelint@16.23.1": {
133
- "licenses": "MIT",
134
- "repository": "https://github.com/stylelint/stylelint",
135
- "licenseUrl": "https://unpkg.com/stylelint@16.23.1/LICENSE"
92
+ "style-dictionary@5.4.0": {
93
+ "licenses": "Apache-2.0",
94
+ "repository": "https://github.com/style-dictionary/style-dictionary",
95
+ "licenseUrl": "https://unpkg.com/style-dictionary@5.4.0/LICENSE"
136
96
  },
137
- "tsup@8.5.1": {
97
+ "tsdown@0.21.7": {
138
98
  "licenses": "MIT",
139
- "repository": "https://github.com/egoist/tsup",
140
- "licenseUrl": "https://unpkg.com/tsup@8.5.1/LICENSE"
99
+ "repository": "https://github.com/rolldown/tsdown",
100
+ "licenseUrl": "https://unpkg.com/tsdown@0.21.7/LICENSE"
141
101
  },
142
- "turbo@2.5.6": {
102
+ "turbo@2.9.4": {
143
103
  "licenses": "MIT",
144
104
  "repository": "https://github.com/vercel/turborepo",
145
- "licenseUrl": "https://unpkg.com/turbo@2.5.6/LICENSE"
105
+ "licenseUrl": "https://unpkg.com/turbo@2.9.4/LICENSE"
146
106
  },
147
- "typescript-eslint@8.41.0": {
148
- "licenses": "MIT",
149
- "repository": "https://github.com/typescript-eslint/typescript-eslint",
150
- "licenseUrl": "https://unpkg.com/typescript-eslint@8.41.0/LICENSE"
151
- },
152
- "typescript@5.9.3": {
107
+ "typescript@6.0.2": {
153
108
  "licenses": "Apache-2.0",
154
109
  "repository": "https://github.com/microsoft/TypeScript",
155
- "licenseUrl": "https://unpkg.com/typescript@5.9.3/LICENSE.txt"
156
- },
157
- "vite-tsconfig-paths@5.1.4": {
158
- "licenses": "MIT",
159
- "repository": "https://github.com/aleclarson/vite-tsconfig-paths",
160
- "licenseUrl": "https://unpkg.com/vite-tsconfig-paths@5.1.4/LICENSE"
110
+ "licenseUrl": "https://unpkg.com/typescript@6.0.2/LICENSE.txt"
161
111
  },
162
- "vite@7.3.1": {
112
+ "vite@8.0.5": {
163
113
  "licenses": "MIT",
164
114
  "repository": "https://github.com/vitejs/vite",
165
- "licenseUrl": "https://unpkg.com/vite@7.3.1/LICENSE.md"
115
+ "licenseUrl": "https://unpkg.com/vite@8.0.5/LICENSE.md"
166
116
  },
167
- "vitest@4.0.18": {
117
+ "vitest@4.1.2": {
168
118
  "licenses": "MIT",
169
119
  "repository": "https://github.com/vitest-dev/vitest",
170
- "licenseUrl": "https://unpkg.com/vitest@4.0.18/LICENSE.md"
120
+ "licenseUrl": "https://unpkg.com/vitest@4.1.2/LICENSE.md"
171
121
  },
172
122
  "yargs@18.0.0": {
173
123
  "licenses": "MIT",
package/package.json CHANGED
@@ -1,28 +1,31 @@
1
1
  {
2
2
  "name": "@cas-smartdesign/design-tokens",
3
- "version": "1.9.0",
3
+ "version": "2.0.0",
4
4
  "description": "Design tokens for SmartDesign",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
- "main": "dist/tokens.cjs.js",
7
- "module": "dist/tokens.esm.js",
8
- "types": "dist/tokens.d.ts",
9
6
  "files": [
10
7
  "dist",
11
8
  "npm-third-party-licenses.json"
12
9
  ],
10
+ "type": "module",
11
+ "main": "dist/tokens.esm.js",
12
+ "module": "dist/tokens.esm.js",
13
+ "types": "dist/tokens.d.ts",
13
14
  "publishConfig": {
14
- "registry": "https://registry.npmjs.org/",
15
- "access": "public"
15
+ "access": "public",
16
+ "registry": "https://registry.npmjs.org/"
16
17
  },
17
18
  "devDependencies": {
18
- "style-dictionary": "^5.2.0",
19
- "@cas-smartdesign/license-generator": "^1.9.0"
19
+ "@types/node": "^25.5.2",
20
+ "marked": "^18.0.0",
21
+ "style-dictionary": "^5.4.0",
22
+ "@cas-smartdesign/license-generator": "^1.10.0"
20
23
  },
21
24
  "scripts": {
22
25
  "version": "pnpm version",
23
26
  "build:no-license": "pnpm generate-style-dictionary",
24
27
  "build": "pnpm generate-license && pnpm build:no-license",
25
28
  "generate-license": "sd-license-generator --r ../",
26
- "generate-style-dictionary": "pnpm style-dictionary build --config ./style-dictionary.config.js"
29
+ "generate-style-dictionary": "node ./build.mts"
27
30
  }
28
31
  }
package/readme.md CHANGED
@@ -7,5 +7,5 @@ A shared package providing design tokens to create SmartDesign like components a
7
7
  The design tokens are provided as
8
8
 
9
9
  - JSON
10
- - JavaScript module (commonjs, es6)
10
+ - JavaScript module (esm)
11
11
  - CSS Variables
@@ -1,167 +0,0 @@
1
- module.exports = {
2
- "color-base-red-50": "#ffeeef",
3
- "color-base-red-100": "#ffe2e5",
4
- "color-base-red-150": "#ffccd2",
5
- "color-base-red-200": "#ffb7bf",
6
- "color-base-red-300": "#ff97a3",
7
- "color-base-red-400": "#f96778",
8
- "color-base-red-450": "#f14558",
9
- "color-base-red-500": "#ea2138",
10
- "color-base-red-600": "#e2001a",
11
- "color-base-red-700": "#cc0017",
12
- "color-base-red-800": "#b50015",
13
- "color-base-red-900": "#9f0012",
14
- "color-base-orange-50": "#fff5ef",
15
- "color-base-orange-100": "#ffefe5",
16
- "color-base-orange-150": "#ffe3d1",
17
- "color-base-orange-200": "#ffd7be",
18
- "color-base-orange-300": "#ffc19b",
19
- "color-base-orange-400": "#ffa670",
20
- "color-base-orange-450": "#ff9250",
21
- "color-base-orange-500": "#ff7e30",
22
- "color-base-orange-600": "#ff6b11",
23
- "color-base-orange-700": "#e95f0c",
24
- "color-base-orange-800": "#d65404",
25
- "color-base-orange-900": "#bf4800",
26
- "color-base-yellow-50": "#fffaeb",
27
- "color-base-yellow-100": "#fff6de",
28
- "color-base-yellow-150": "#fff0cc",
29
- "color-base-yellow-200": "#ffeab6",
30
- "color-base-yellow-300": "#ffe39d",
31
- "color-base-yellow-400": "#ffd97b",
32
- "color-base-yellow-450": "#ffcf58",
33
- "color-base-yellow-500": "#ffc434",
34
- "color-base-yellow-600": "#ffbb11",
35
- "color-base-yellow-700": "#e9aa0c",
36
- "color-base-yellow-800": "#d69a04",
37
- "color-base-yellow-900": "#bf8800",
38
- "color-base-green-50": "#f6faec",
39
- "color-base-green-100": "#f0f7df",
40
- "color-base-green-150": "#e8f2d0",
41
- "color-base-green-200": "#deedbc",
42
- "color-base-green-300": "#cee49c",
43
- "color-base-green-400": "#bedb79",
44
- "color-base-green-450": "#add154",
45
- "color-base-green-500": "#9bc730",
46
- "color-base-green-600": "#8abd0c",
47
- "color-base-green-700": "#7baa0b",
48
- "color-base-green-800": "#6e970a",
49
- "color-base-green-900": "#618508",
50
- "color-base-dark-green-50": "#eaf4ec",
51
- "color-base-dark-green-100": "#dff2e3",
52
- "color-base-dark-green-150": "#ccecd3",
53
- "color-base-dark-green-200": "#b1dfbb",
54
- "color-base-dark-green-300": "#93d3a2",
55
- "color-base-dark-green-400": "#72c584",
56
- "color-base-dark-green-450": "#4cb563",
57
- "color-base-dark-green-500": "#26a642",
58
- "color-base-dark-green-600": "#009621",
59
- "color-base-dark-green-700": "#00871e",
60
- "color-base-dark-green-800": "#00781a",
61
- "color-base-dark-green-900": "#006917",
62
- "color-base-cyan-50": "#e3f0f5",
63
- "color-base-cyan-100": "#d5eff8",
64
- "color-base-cyan-150": "#c2e8f3",
65
- "color-base-cyan-200": "#aee0ef",
66
- "color-base-cyan-300": "#92d4e7",
67
- "color-base-cyan-400": "#70c7e0",
68
- "color-base-cyan-450": "#43b4d6",
69
- "color-base-cyan-500": "#19a3cb",
70
- "color-base-cyan-600": "#0099c5",
71
- "color-base-cyan-700": "#008ab2",
72
- "color-base-cyan-800": "#007a9e",
73
- "color-base-cyan-900": "#006b8a",
74
- "color-base-blue-50": "#e7f1fa",
75
- "color-base-blue-100": "#d6eeff",
76
- "color-base-blue-150": "#c7e7ff",
77
- "color-base-blue-200": "#b1deff",
78
- "color-base-blue-300": "#8ecfff",
79
- "color-base-blue-400": "#6ac0ff",
80
- "color-base-blue-450": "#4ab2ff",
81
- "color-base-blue-500": "#2ba4ff",
82
- "color-base-blue-600": "#0d98ff",
83
- "color-base-blue-700": "#0c88e6",
84
- "color-base-blue-800": "#0a77ca",
85
- "color-base-blue-900": "#0968af",
86
- "color-base-dark-blue-50": "#e1ebf6",
87
- "color-base-dark-blue-100": "#d3e6fa",
88
- "color-base-dark-blue-150": "#b9d7f5",
89
- "color-base-dark-blue-200": "#9bc6f2",
90
- "color-base-dark-blue-300": "#77afe7",
91
- "color-base-dark-blue-400": "#5198e0",
92
- "color-base-dark-blue-450": "#3a85d1",
93
- "color-base-dark-blue-500": "#2576c7",
94
- "color-base-dark-blue-600": "#1467ba",
95
- "color-base-dark-blue-700": "#125da8",
96
- "color-base-dark-blue-800": "#105295",
97
- "color-base-dark-blue-900": "#0e4883",
98
- "color-base-pink-50": "#fce6f3",
99
- "color-base-pink-100": "#fad5eb",
100
- "color-base-pink-150": "#f7bbdd",
101
- "color-base-pink-200": "#f2a1cf",
102
- "color-base-pink-300": "#ec78ba",
103
- "color-base-pink-400": "#e755a8",
104
- "color-base-pink-450": "#d94397",
105
- "color-base-pink-500": "#cc2f89",
106
- "color-base-pink-600": "#c41579",
107
- "color-base-pink-700": "#b4136e",
108
- "color-base-pink-800": "#a01163",
109
- "color-base-pink-900": "#8a0f55",
110
- "color-base-purple-50": "#f4e2f6",
111
- "color-base-purple-100": "#eccff0",
112
- "color-base-purple-150": "#dab2e0",
113
- "color-base-purple-200": "#c792cf",
114
- "color-base-purple-300": "#ab66b4",
115
- "color-base-purple-400": "#93459e",
116
- "color-base-purple-450": "#823591",
117
- "color-base-purple-500": "#772386",
118
- "color-base-purple-600": "#6c127b",
119
- "color-base-purple-700": "#5e106b",
120
- "color-base-purple-800": "#530d5e",
121
- "color-base-purple-900": "#450b4f",
122
- "color-base-brown-50": "#f2eae4",
123
- "color-base-brown-100": "#eadcd2",
124
- "color-base-brown-150": "#d8c4b3",
125
- "color-base-brown-200": "#bca38d",
126
- "color-base-brown-300": "#a08165",
127
- "color-base-brown-400": "#8b6747",
128
- "color-base-brown-450": "#755438",
129
- "color-base-brown-500": "#65472b",
130
- "color-base-brown-600": "#593b20",
131
- "color-base-brown-700": "#4f351d",
132
- "color-base-brown-800": "#462f1b",
133
- "color-base-brown-900": "#3f2915",
134
- "color-base-grey-50": "#f9f9f9",
135
- "color-base-grey-100": "#f3f3f3",
136
- "color-base-grey-150": "#eeeeee",
137
- "color-base-grey-200": "#e5e5e5",
138
- "color-base-grey-300": "#d9d9d9",
139
- "color-base-grey-400": "#cccccc",
140
- "color-base-grey-450": "#bbbbbb",
141
- "color-base-grey-500": "#aaaaaa",
142
- "color-base-grey-600": "#999999",
143
- "color-base-grey-700": "#777777",
144
- "color-base-grey-800": "#666666",
145
- "color-base-grey-900": "#555555",
146
- "color-base-white": "#ffffff",
147
- "color-base-black": "#111111",
148
- "color-font-base": "#111111",
149
- "color-font-secondary": "#555555",
150
- "color-font-tertiary": "#999999",
151
- "color-font-warn": "#555555",
152
- "color-font-suggest": "#bf8800",
153
- "color-font-error": "#cc0017",
154
- "font-family-base": '"Segoe UI", Tahoma, Geneva, Verdana, sans-serif',
155
- "size-font-tiny": "12px",
156
- "size-font-small": "13px",
157
- "size-font-medium": "16px",
158
- "size-font-large": "20px",
159
- "size-font-xl": "24px",
160
- "size-font-xxl": "32px",
161
- "size-font-xxxl": "48px",
162
- "size-font-base": "16px",
163
- "time-transition-short": "275ms",
164
- "time-transition-base": "300ms",
165
- "time-transition-long": "600ms",
166
- "time-transition-xl": "1000ms",
167
- };