@krrli/cm-designsystem 1.34.11 → 1.34.13
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/README.md +28 -47
- package/dist/styles.css +2068 -0
- package/package.json +6 -2
- package/src/base.css +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krrli/cm-designsystem",
|
|
3
3
|
"repository": "https://github.com/ost-cas-fea-25-26/cm-designsystem",
|
|
4
|
-
"version": "1.34.
|
|
4
|
+
"version": "1.34.13",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -19,10 +19,12 @@
|
|
|
19
19
|
"types": "./dist/tailwind.preset.d.ts",
|
|
20
20
|
"import": "./dist/tailwind.preset.js"
|
|
21
21
|
},
|
|
22
|
+
"./styles.css": "./dist/styles.css",
|
|
22
23
|
"./base.css": "./src/base.css"
|
|
23
24
|
},
|
|
24
25
|
"files": [
|
|
25
26
|
"dist",
|
|
27
|
+
"dist/styles.css",
|
|
26
28
|
"src/base.css"
|
|
27
29
|
],
|
|
28
30
|
"sideEffects": false,
|
|
@@ -31,7 +33,9 @@
|
|
|
31
33
|
},
|
|
32
34
|
"scripts": {
|
|
33
35
|
"preflight": "npm run prettier && npm run lint && npm run typecheck && npm run build && npm run knip",
|
|
34
|
-
"build": "
|
|
36
|
+
"build": "npm run build:lib && npm run build:css",
|
|
37
|
+
"build:lib": "vite build",
|
|
38
|
+
"build:css": "vite build --config vite.config.css.ts && mv dist-css/assets/*.css dist/styles.css && rm -rf dist-css",
|
|
35
39
|
"lint": "eslint . --max-warnings 0",
|
|
36
40
|
"lint:fix": "eslint . --fix",
|
|
37
41
|
"typecheck": "npx tsc -b --noEmit",
|
package/src/base.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Base styles for CM Design System
|
|
3
|
-
* Import this in your consuming app's CSS file
|
|
3
|
+
* Import this in your consuming app's CSS file AFTER tailwindcss
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
/*
|
|
6
|
+
/* Poppins font - Consumer needs to install @fontsource/poppins */
|
|
7
7
|
@import "@fontsource/poppins/400.css";
|
|
8
8
|
@import "@fontsource/poppins/500.css";
|
|
9
9
|
@import "@fontsource/poppins/600.css";
|