cos-design 2.1.0 → 2.4.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 +46 -0
- package/README.md +41 -3
- package/dist/components/canvasClock/index.d.ts +7 -0
- package/dist/components/charge/index.d.ts +17 -0
- package/dist/components/confetti/index.d.ts +15 -0
- package/dist/components/countdown/index.d.ts +13 -0
- package/dist/components/fireworks/index.d.ts +13 -0
- package/dist/components/flipCounter/index.d.ts +13 -0
- package/dist/components/glitchText/index.d.ts +15 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/components/matrixRain/index.d.ts +11 -0
- package/dist/components/meteorRain/index.d.ts +9 -0
- package/dist/components/neonText/index.d.ts +13 -0
- package/dist/components/particleNetwork/index.d.ts +13 -0
- package/dist/components/returnCity/index.d.ts +11 -0
- package/dist/components/turntable/index.d.ts +21 -0
- package/dist/components/typewriter/index.d.ts +13 -0
- package/dist/components/waveButton/index.d.ts +11 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -114
- package/dist/index.js +852 -428
- package/package.json +34 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cos-design",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "A React component library built with Vite",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -52,41 +52,46 @@
|
|
|
52
52
|
"**/*.{ts,tsx}": "eslint --fix"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@
|
|
56
|
-
"@types/
|
|
57
|
-
"@types/react
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"
|
|
61
|
-
"eslint": "^
|
|
62
|
-
"eslint-
|
|
63
|
-
"eslint-plugin-
|
|
64
|
-
"eslint-plugin-react": "^7.
|
|
65
|
-
"
|
|
55
|
+
"@eslint/js": "^9.39.1",
|
|
56
|
+
"@types/node": "^22.19.21",
|
|
57
|
+
"@types/react": "^19.2.17",
|
|
58
|
+
"@types/react-dom": "^19.2.3",
|
|
59
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
60
|
+
"eslint": "^9.39.1",
|
|
61
|
+
"eslint-config-prettier": "^10.1.8",
|
|
62
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
63
|
+
"eslint-plugin-react": "^7.37.5",
|
|
64
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
65
|
+
"globals": "^16.0.0",
|
|
66
66
|
"husky": "^9.1.7",
|
|
67
|
-
"less": "^4.
|
|
68
|
-
"lint-staged": "^
|
|
69
|
-
"only-allow": "^1.2.
|
|
70
|
-
"prettier": "^3.
|
|
71
|
-
"react": "^
|
|
72
|
-
"react-dom": "^
|
|
73
|
-
"react-router": "^
|
|
74
|
-
"react-router-dom": "^
|
|
75
|
-
"stylelint": "^
|
|
76
|
-
"stylelint-config-standard": "^
|
|
77
|
-
"typescript": "^5.
|
|
78
|
-
"
|
|
79
|
-
"vite
|
|
80
|
-
"vite-plugin-
|
|
67
|
+
"less": "^4.6.6",
|
|
68
|
+
"lint-staged": "^16.2.7",
|
|
69
|
+
"only-allow": "^1.2.2",
|
|
70
|
+
"prettier": "^3.8.4",
|
|
71
|
+
"react": "^19.2.7",
|
|
72
|
+
"react-dom": "^19.2.7",
|
|
73
|
+
"react-router": "^7.18.0",
|
|
74
|
+
"react-router-dom": "^7.18.0",
|
|
75
|
+
"stylelint": "^17.13.0",
|
|
76
|
+
"stylelint-config-standard": "^40.0.0",
|
|
77
|
+
"typescript": "^5.9.3",
|
|
78
|
+
"typescript-eslint": "^8.61.1",
|
|
79
|
+
"vite": "^8.0.16",
|
|
80
|
+
"vite-plugin-dts": "^5.0.2",
|
|
81
|
+
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
81
82
|
},
|
|
82
83
|
"peerDependencies": {
|
|
83
|
-
"react": ">=
|
|
84
|
-
"react-dom": ">=
|
|
84
|
+
"react": ">=18.0.0",
|
|
85
|
+
"react-dom": ">=18.0.0"
|
|
85
86
|
},
|
|
86
87
|
"engines": {
|
|
87
|
-
"node": ">=
|
|
88
|
+
"node": ">=20",
|
|
88
89
|
"pnpm": ">=9"
|
|
89
90
|
},
|
|
91
|
+
"publishConfig": {
|
|
92
|
+
"access": "public",
|
|
93
|
+
"registry": "https://registry.npmjs.org"
|
|
94
|
+
},
|
|
90
95
|
"scripts": {
|
|
91
96
|
"setup": "node scripts/install.mjs",
|
|
92
97
|
"preinstall": "npx only-allow pnpm",
|