@design-llm/motion 1.0.0 → 1.0.1
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 +85 -12
- package/dist/index.cjs +4510 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/index.js +19032 -901
- package/dist/index.js.map +1 -1
- package/dist/motion.css +1 -0
- package/package.json +23 -6
package/dist/motion.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:where(.spark-icon){display:inline-flex;align-items:center;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(.spark-icon svg){display:inline-block}@keyframes spark-icon-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:where(.spark-icon-spin){animation:spark-icon-spin 1s linear infinite}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design-llm/motion",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "精美的 React 动效组件库 - 基于 Framer Motion 和 Tailwind CSS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -33,26 +33,43 @@
|
|
|
33
33
|
"url": "git+https://github.com/design-llm/motion.git"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
|
-
"dev": "vite",
|
|
37
|
-
"
|
|
36
|
+
"dev": "vite --config vite.config.dev.js",
|
|
37
|
+
"dev:public": "vite --config vite.config.public.js",
|
|
38
|
+
"dev:homepage": "vite --config vite.config.homepage.js",
|
|
39
|
+
"build": "vite build --config vite.config.dev.js",
|
|
40
|
+
"build:public": "vite build --config vite.config.public.js",
|
|
41
|
+
"build:homepage": "vite build --config vite.config.homepage.js",
|
|
38
42
|
"build:lib": "vite build --config vite.config.lib.js",
|
|
39
43
|
"lint": "eslint .",
|
|
40
44
|
"preview": "vite preview",
|
|
45
|
+
"preview:public": "vite preview --outDir dist-public",
|
|
46
|
+
"preview:homepage": "vite preview --outDir dist-homepage",
|
|
47
|
+
"postbuild:lib": "node scripts/generate-types.js",
|
|
41
48
|
"prepublishOnly": "npm run build:lib"
|
|
42
49
|
},
|
|
43
50
|
"dependencies": {
|
|
44
|
-
"
|
|
51
|
+
"@algolia/autocomplete-core": "^1.19.4",
|
|
52
|
+
"@algolia/autocomplete-preset-algolia": "^1.19.4",
|
|
53
|
+
"@ali/qoder-icon": "^0.0.5-beta",
|
|
54
|
+
"@headlessui/react": "^2.2.9",
|
|
55
|
+
"@tailwindcss/typography": "^0.5.19",
|
|
56
|
+
"algoliasearch": "^5.46.2",
|
|
57
|
+
"clsx": "^2.1.1",
|
|
58
|
+
"framer-motion": "^12.23.26",
|
|
45
59
|
"gsap": "^3.14.2",
|
|
46
60
|
"react": "^18.0.0 || ^19.0.0",
|
|
47
61
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
48
|
-
"react-syntax-highlighter": "^16.1.0"
|
|
62
|
+
"react-syntax-highlighter": "^16.1.0",
|
|
63
|
+
"shiki": "^3.20.0",
|
|
64
|
+
"three": "^0.163.0",
|
|
65
|
+
"zustand": "^5.0.9"
|
|
49
66
|
},
|
|
50
67
|
"peerDependencies": {
|
|
51
|
-
"framer-motion": "^10.0.0 || ^11.0.0 || ^12.0.0",
|
|
52
68
|
"react": "^18.0.0 || ^19.0.0",
|
|
53
69
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
54
70
|
},
|
|
55
71
|
"devDependencies": {
|
|
72
|
+
"@agentscope-ai/icons": "^1.0.51",
|
|
56
73
|
"@eslint/js": "^9.39.1",
|
|
57
74
|
"@types/node": "^25.0.3",
|
|
58
75
|
"@types/react": "^19.2.7",
|