cos-design 3.0.4 → 3.2.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 +29 -0
- package/README.md +42 -17
- package/dist/components/doublePendulum/index.d.ts +10 -0
- package/dist/components/index.d.ts +12 -0
- package/dist/components/lorenzAttractor/index.d.ts +10 -0
- package/dist/components/metaballPool/index.d.ts +9 -0
- package/dist/components/newtonCradle/index.d.ts +2 -0
- package/dist/components/plasmaBall/index.d.ts +9 -0
- package/dist/components/ropeChain/index.d.ts +10 -0
- package/dist/components/solarSystem/index.d.ts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +903 -308
- package/package.json +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cos-design",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "A React component library built with Vite",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"prettier": "^3.8.4",
|
|
71
71
|
"react": "^19.2.7",
|
|
72
72
|
"react-dom": "^19.2.7",
|
|
73
|
+
"react-live": "^4.1.8",
|
|
73
74
|
"react-router": "^7.18.0",
|
|
74
75
|
"react-router-dom": "^7.18.0",
|
|
75
76
|
"stylelint": "^17.13.0",
|
|
@@ -99,6 +100,7 @@
|
|
|
99
100
|
"build": "tsc -p tsconfig.build.json --noEmit && vite build --mode lib",
|
|
100
101
|
"build:demo": "vite build",
|
|
101
102
|
"build:pages": "vite build --mode pages",
|
|
103
|
+
"extract-props": "node scripts/extract-component-props.mjs",
|
|
102
104
|
"preview": "vite preview",
|
|
103
105
|
"pub": "pnpm build && pnpm publish",
|
|
104
106
|
"lint": "eslint \"src/**/*.{ts,tsx}\" && stylelint \"src/**/*.less\"",
|