@design-llm/motion 1.0.0 → 1.0.2

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.
@@ -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.0",
3
+ "version": "1.0.2",
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
- "build": "vite build",
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
- "framer-motion": "^10.0.0 || ^11.0.0 || ^12.0.0",
51
+ "@algolia/autocomplete-core": "^1.19.4",
52
+ "@algolia/autocomplete-preset-algolia": "^1.19.4",
53
+ "@headlessui/react": "^2.2.9",
54
+ "@tailwindcss/typography": "^0.5.19",
55
+ "algoliasearch": "^5.46.2",
56
+ "clsx": "^2.1.1",
57
+ "framer-motion": "^12.23.26",
45
58
  "gsap": "^3.14.2",
46
59
  "react": "^18.0.0 || ^19.0.0",
47
60
  "react-dom": "^18.0.0 || ^19.0.0",
48
- "react-syntax-highlighter": "^16.1.0"
61
+ "react-syntax-highlighter": "^16.1.0",
62
+ "shiki": "^3.20.0",
63
+ "three": "^0.163.0",
64
+ "zustand": "^5.0.9"
49
65
  },
50
66
  "peerDependencies": {
51
- "framer-motion": "^10.0.0 || ^11.0.0 || ^12.0.0",
52
67
  "react": "^18.0.0 || ^19.0.0",
53
68
  "react-dom": "^18.0.0 || ^19.0.0"
54
69
  },
55
70
  "devDependencies": {
71
+ "@agentscope-ai/icons": "^1.0.51",
72
+ "@ali/qoder-icon": "^0.0.5-beta",
56
73
  "@eslint/js": "^9.39.1",
57
74
  "@types/node": "^25.0.3",
58
75
  "@types/react": "^19.2.7",