@dsn-starter-kit/design-tokens 3.1.0 → 3.3.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/css.d.ts +17 -0
- package/dist/css/scoped/density-default.css +1 -1
- package/dist/css/scoped/density-information-dense.css +1 -1
- package/dist/css/scoped/start-light-hero-image.css +1 -1
- package/dist/css/scoped/wireframe-dark.css +1 -1
- package/dist/css/scoped/wireframe-light-hero-image.css +1 -1
- package/dist/css/scoped/wireframe-light.css +1 -1
- package/package.json +35 -10
package/css.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-stub voor de CSS- en SCSS-exports van dit package.
|
|
3
|
+
*
|
|
4
|
+
* Een side-effect import zoals `import '@dsn-starter-kit/core/css'` moet voor
|
|
5
|
+
* TypeScript naar een module oplossen. Zonder deze stub faalt dat met TS2882
|
|
6
|
+
* ("Cannot find module or type declarations for side-effect import") zodra de
|
|
7
|
+
* consument `noUncheckedSideEffectImports` aanzet, en tonen editors een fout
|
|
8
|
+
* ook als `tsc` zwijgt.
|
|
9
|
+
*
|
|
10
|
+
* Elke CSS- en SCSS-entry in de `exports`-map van de package.json wijst met
|
|
11
|
+
* haar `types`-conditie naar dit bestand. Eén stub per package is genoeg; hij
|
|
12
|
+
* blijft bewust binnen het package, zodat het gepubliceerde artifact nooit naar
|
|
13
|
+
* een bestand buiten zijn eigen map wijst.
|
|
14
|
+
*
|
|
15
|
+
* Leeg met opzet: deze imports leveren geen waarde op, alleen stijl.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsn-starter-kit/design-tokens",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Design tokens for the design system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/js/tokens.cjs",
|
|
@@ -27,18 +27,43 @@
|
|
|
27
27
|
"default": "./dist/js/tokens-dark.cjs"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"./css":
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"./
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
"./css": {
|
|
31
|
+
"types": "./css.d.ts",
|
|
32
|
+
"default": "./dist/css/variables.css"
|
|
33
|
+
},
|
|
34
|
+
"./css/dark": {
|
|
35
|
+
"types": "./css.d.ts",
|
|
36
|
+
"default": "./dist/css/variables-dark.css"
|
|
37
|
+
},
|
|
38
|
+
"./css/dark-scoped": {
|
|
39
|
+
"types": "./css.d.ts",
|
|
40
|
+
"default": "./dist/css/variables-dark-scoped.css"
|
|
41
|
+
},
|
|
42
|
+
"./scss": {
|
|
43
|
+
"types": "./css.d.ts",
|
|
44
|
+
"default": "./dist/scss/_variables.scss"
|
|
45
|
+
},
|
|
46
|
+
"./scss/dark": {
|
|
47
|
+
"types": "./css.d.ts",
|
|
48
|
+
"default": "./dist/scss/_variables-dark.scss"
|
|
49
|
+
},
|
|
50
|
+
"./css/scoped/start-hero-image-light": {
|
|
51
|
+
"types": "./css.d.ts",
|
|
52
|
+
"default": "./dist/css/scoped/start-light-hero-image.css"
|
|
53
|
+
},
|
|
54
|
+
"./css/scoped/wireframe-hero-image-light": {
|
|
55
|
+
"types": "./css.d.ts",
|
|
56
|
+
"default": "./dist/css/scoped/wireframe-light-hero-image.css"
|
|
57
|
+
},
|
|
37
58
|
"./package.json": "./package.json"
|
|
38
59
|
},
|
|
39
|
-
"sideEffects":
|
|
60
|
+
"sideEffects": [
|
|
61
|
+
"**/*.css",
|
|
62
|
+
"**/*.scss"
|
|
63
|
+
],
|
|
40
64
|
"files": [
|
|
41
|
-
"dist"
|
|
65
|
+
"dist",
|
|
66
|
+
"css.d.ts"
|
|
42
67
|
],
|
|
43
68
|
"keywords": [
|
|
44
69
|
"design-tokens",
|