{"_id":"@rc-component/motion","_rev":"4537584","name":"@rc-component/motion","description":"React lifecycle controlled motion library","dist-tags":{"latest":"1.3.2"},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"time":{"modified":"2026-04-09T15:01:47.000Z","created":"2025-01-17T03:50:00.715Z","1.3.2":"2026-03-25T14:27:19.043Z","1.3.1":"2026-02-11T08:47:28.030Z","1.3.0":"2026-02-11T07:11:16.022Z","1.2.0":"2025-12-29T09:00:32.905Z","1.1.6":"2025-12-04T15:01:02.883Z","1.1.5":"2025-11-28T03:03:13.107Z","1.1.4":"2025-02-18T02:59:07.550Z","1.1.3":"2025-02-11T08:47:37.144Z","1.1.2":"2025-02-11T07:44:39.096Z","1.1.1":"2025-02-11T06:37:20.925Z","1.1.0":"2025-02-10T11:48:00.529Z","1.0.0":"2025-01-17T03:50:00.715Z"},"users":{},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"versions":{"1.3.2":{"name":"@rc-component/motion","version":"1.3.2","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"resolutions":{"@types/minimatch":"5.1.2"},"dependencies":{"@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/jest":"^26.0.8","@types/node":"^24.5.2","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^4.0.0","dumi":"^2.0.18","eslint":"^8.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"gitHead":"8967d50f320c1ab60e83220bb421125801f17c85","_id":"@rc-component/motion@1.3.2","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"bd96e0fd16ee9d98c1d9be14198f003e367d8feb","size":15812,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.3.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.3.2_1774448838898_0.7628846779687746"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-25T14:27:19.043Z","publish_time":1774448839043,"_source_registry_name":"default","_cnpm_publish_time":1774448839043},"1.3.1":{"name":"@rc-component/motion","version":"1.3.1","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"resolutions":{"@types/minimatch":"5.1.2"},"dependencies":{"@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/jest":"^26.0.8","@types/node":"^24.5.2","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^4.0.0","dumi":"^2.0.18","eslint":"^8.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"gitHead":"3ea1a5de431ca07e83bb6eccbfdf13e3e7dc2e22","_id":"@rc-component/motion@1.3.1","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"1e56b06841ee677261251e6e69fedc8d73e65b22","size":15710,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.3.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.3.1_1770799647867_0.7616603327140361"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-11T08:47:28.030Z","publish_time":1770799648030,"_source_registry_name":"default","_cnpm_publish_time":1770799648030},"1.3.0":{"name":"@rc-component/motion","version":"1.3.0","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"resolutions":{"@types/minimatch":"5.1.2"},"dependencies":{"@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/jest":"^26.0.8","@types/node":"^24.5.2","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^4.0.0","dumi":"^2.0.18","eslint":"^8.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"gitHead":"fb7b514ad8fe88f5ad0796e604f8ae6ffc37fa18","_id":"@rc-component/motion@1.3.0","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"d5bbb19be91acc66e571417ff11cba29e26036ac","size":15698,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.3.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.3.0_1770793875879_0.0109473056513969"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-11T07:11:16.022Z","publish_time":1770793876022,"_source_registry_name":"default","_cnpm_publish_time":1770793876022},"1.2.0":{"name":"@rc-component/motion","version":"1.2.0","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"resolutions":{"@types/minimatch":"5.1.2"},"dependencies":{"@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/jest":"^26.0.8","@types/node":"^24.5.2","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^4.0.0","dumi":"^2.0.18","eslint":"^8.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"gitHead":"64085c45f882270d7c6136d4dee01c9d3fc9f483","_id":"@rc-component/motion@1.2.0","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"b325c2e2582fedac7493263f21b16da42d43bdd0","size":15596,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.2.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.2.0_1766998832746_0.6372318900753551"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-29T09:00:32.905Z","publish_time":1766998832905,"_source_registry_name":"default","_cnpm_publish_time":1766998832905},"1.1.6":{"name":"@rc-component/motion","version":"1.1.6","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"resolutions":{"@types/minimatch":"5.1.2"},"dependencies":{"@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/jest":"^26.0.8","@types/node":"^24.5.2","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","dumi":"^2.0.18","eslint":"^7.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"_id":"@rc-component/motion@1.1.6","gitHead":"5c3e90722fe4df1fe7a7806d1a05d82961b03458","_nodeVersion":"22.8.0","_npmVersion":"11.6.0","dist":{"shasum":"f5ee7a6109457f1656cf65d1e9d9d755361e2c61","size":15457,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.1.6.tgz"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.1.6_1764860462729_0.41913040727606954"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-04T15:01:02.883Z","publish_time":1764860462883,"_source_registry_name":"default","_cnpm_publish_time":1764860462883},"1.1.5":{"name":"@rc-component/motion","version":"1.1.5","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"resolutions":{"@types/minimatch":"5.1.2"},"dependencies":{"@rc-component/util":"^1.2.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/jest":"^26.0.8","@types/node":"^24.5.2","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","dumi":"^2.0.18","eslint":"^7.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"_id":"@rc-component/motion@1.1.5","gitHead":"8fc6ca20f2c0757ae327faaab675e0c40be059eb","_nodeVersion":"22.8.0","_npmVersion":"11.6.0","dist":{"shasum":"76e083491371cf2c5e415ae9b0c186f4970d85d9","size":15453,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.1.5.tgz"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.1.5_1764298992890_0.9175389331002131"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-28T03:03:13.107Z","publish_time":1764298993107,"_source_registry_name":"default","_cnpm_publish_time":1764298993107},"1.1.4":{"name":"@rc-component/motion","version":"1.1.4","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/util":"^1.2.0","classnames":"^2.2.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/classnames":"^2.2.9","@types/jest":"^26.0.8","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","cross-env":"^7.0.2","dumi":"^2.0.18","eslint":"^7.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"_id":"@rc-component/motion@1.1.4","gitHead":"e9cb0993a7b0b3b660289daa66062067ba240cd2","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"32f82a161697f819bb4f47c2da2923d7c6d21383","size":15394,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.1.4.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.1.4_1739847547342_0.643627890038982"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-18T02:59:07.550Z","publish_time":1739847547550,"_source_registry_name":"default","_cnpm_publish_time":1739847547550},"1.1.3":{"name":"@rc-component/motion","version":"1.1.3","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/util":"^1.2.0","classnames":"^2.2.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/classnames":"^2.2.9","@types/jest":"^26.0.8","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","cross-env":"^7.0.2","dumi":"^2.0.18","eslint":"^7.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"_id":"@rc-component/motion@1.1.3","gitHead":"c5bfc19be944f03f272d8baff95b0831353de78d","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"30ce38529435ee20546b6b4c6ec8796917dcd1b2","size":15457,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.1.3.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.1.3_1739263656949_0.4465667384880261"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-11T08:47:37.144Z","publish_time":1739263657144,"_source_registry_name":"default","_cnpm_publish_time":1739263657144},"1.1.2":{"name":"@rc-component/motion","version":"1.1.2","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/util":"^1.2.0","classnames":"^2.2.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/classnames":"^2.2.9","@types/jest":"^26.0.8","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","cross-env":"^7.0.2","dumi":"^2.0.18","eslint":"^7.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"_id":"@rc-component/motion@1.1.2","gitHead":"4494497505a2f33d12f93ee18d82dd21403a71c8","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"d14de2b884e92fff09b799779bc790e0a10cf595","size":15434,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.1.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.1.2_1739259878919_0.492179786916906"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-11T07:44:39.096Z","publish_time":1739259879096,"_source_registry_name":"default","_cnpm_publish_time":1739259879096},"1.1.1":{"name":"@rc-component/motion","version":"1.1.1","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/util":"^1.2.0","classnames":"^2.2.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/classnames":"^2.2.9","@types/jest":"^26.0.8","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","cross-env":"^7.0.2","dumi":"^2.0.18","eslint":"^7.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"_id":"@rc-component/motion@1.1.1","gitHead":"b32f8f8ef69f99894d30303729d6a121e7bb7e98","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"af1757025a94a9282e452a54ea3c20212b8df188","size":15418,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.1.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.1.1_1739255840703_0.015427035831336422"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-11T06:37:20.925Z","publish_time":1739255840925,"_source_registry_name":"default","_cnpm_publish_time":1739255840925},"1.1.0":{"name":"@rc-component/motion","version":"1.1.0","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile && rc-np","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/util":"^1.2.0","classnames":"^2.2.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/classnames":"^2.2.9","@types/jest":"^26.0.8","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","cross-env":"^7.0.2","dumi":"^2.0.18","eslint":"^7.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"_id":"@rc-component/motion@1.1.0","gitHead":"538b35f4a1727034209ddcdedc6de9ca21a53524","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"8d35e810bb3b033bd6852f0a9f9d765f858b6816","size":15273,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.1.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.1.0_1739188080303_0.07996008272073984"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-10T11:48:00.529Z","publish_time":1739188080529,"_source_registry_name":"default","_cnpm_publish_time":1739188080529},"1.0.0":{"name":"@rc-component/motion","version":"1.0.0","description":"React lifecycle controlled motion library","keywords":["react","react-component","react-motion","motion","antd","ant-design"],"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/motion.git"},"license":"MIT","main":"./lib/index","module":"./es/index","typings":"es/index.d.ts","scripts":{"compile":"father build","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ --ext .tsx,.ts","lint:tsc":"tsc --noEmit","now-build":"npm run docs:build","prepare":"husky install","prepublishOnly":"npm run compile","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"lint-staged":{"**/*.{js,jsx,tsx,ts,md,json}":["prettier --write","git add"]},"dependencies":{"@rc-component/util":"^1.2.0","classnames":"^2.2.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^15.0.7","@types/classnames":"^2.2.9","@types/jest":"^26.0.8","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","cross-env":"^7.0.2","dumi":"^2.0.18","eslint":"^7.0.0","father":"^4.1.2","gh-pages":"^6.0.0","husky":"^8.0.3","lint-staged":"^14.0.1","np":"^6.2.4","prettier":"^2.1.1","rc-test":"^7.0.14","react":"^18.3.0","react-dom":"^18.3.0","typescript":"^4.0.3"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"_id":"@rc-component/motion@1.0.0","gitHead":"3ec24ae14ed39b46bb92961228816fcf04d785e6","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"27b30cdef8959f27407e1709451e03e24818e598","size":15202,"noattachment":false,"key":"/@rc-component/motion/-/@rc-component/motion-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/motion/download/@rc-component/motion-1.0.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion_1.0.0_1737085800493_0.027466505551710263"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-17T03:50:00.715Z","publish_time":1737085800715,"_source_registry_name":"default","_cnpm_publish_time":1737085800715}},"readme":"# @rc-component/motion\n\n<!-- prettier-ignore -->\n[![NPM version][npm-image]][npm-url]\n[![npm download][download-image]][download-url]\n[![build status][github-actions-image]][github-actions-url]\n[![Codecov][codecov-image]][codecov-url]\n[![bundle size][bundlephobia-image]][bundlephobia-url]\n[![dumi][dumi-image]][dumi-url]\n\n[npm-image]: http://img.shields.io/npm/v/@rc-component/motion.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@rc-component/motion\n[travis-image]: https://img.shields.io/travis/react-component/motion/master?style=flat-square\n[travis-url]: https://travis-ci.com/react-component/motion\n[github-actions-image]: https://github.com/react-component/motion/actions/workflows/main.yml/badge.svg\n[github-actions-url]: https://github.com/react-component/motion/actions/workflows/main.yml\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/motion/master.svg?style=flat-square\n[codecov-url]: https://app.codecov.io/gh/react-component/motion\n[david-url]: https://david-dm.org/react-component/motion\n[david-image]: https://david-dm.org/react-component/motion/status.svg?style=flat-square\n[david-dev-url]: https://david-dm.org/react-component/motion?type=dev\n[david-dev-image]: https://david-dm.org/react-component/motion/dev-status.svg?style=flat-square\n[download-image]: https://img.shields.io/npm/dm/@rc-component/motion.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@rc-component/motion\n[bundlephobia-url]: https://bundlephobia.com/package/@rc-component/motion\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/motion\n[dumi-url]: https://github.com/umijs/dumi\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\n\nReact lifecycle controlled motion library.\n\n## Live Demo\n\nhttps://react-component.github.io/motion/\n\n## Install\n\n[![@rc-component/motion](https://nodei.co/npm/@rc-component/motion.png)](https://npmjs.org/package/@rc-component/motion)\n\n## Example\n\n```js\nimport CSSMotion from '@rc-component/motion';\n\nexport default ({ visible }) => (\n  <CSSMotion visible={visible} motionName=\"my-motion\">\n    {({ className, style }) => <div className={className} style={style} />}\n  </CSSMotion>\n);\n```\n\n## API\n\n### CSSMotion\n\n| Property | Type | Default | Description |\n| --- | --- | --- | --- |\n| motionName | string | - | Config motion name, will dynamic update when status changed |\n| visible | boolean | true | Trigger motion events |\n| motionAppear | boolean | true | Use motion when appear |\n| motionEnter | boolean | true | Use motion when enter |\n| motionLeave | boolean | true | Use motion when leave |\n| motionLeaveImmediately | boolean | - | Will trigger leave even on mount |\n| motionDeadline | number | - | Trigger motion status change even when motion event not fire |\n| removeOnLeave | boolean | true | Remove element when motion leave end |\n| leavedClassName | string | - | Set leaved element className |\n| onAppearStart | (HTMLElement, Event) => CSSProperties \\| void; | - | Trigger when appear start, return style will patch to element |\n| onEnterStart | (HTMLElement, Event) => CSSProperties \\| void; | - | Trigger when enter start, return style will patch to element |\n| onLeaveStart | (HTMLElement, Event) => CSSProperties \\| void; | - | Trigger when leave start, return style will patch to element |\n| onAppearActive | (HTMLElement, Event) => CSSProperties \\| void; | - | Trigger when appear active, return style will patch to element |\n| onEnterActive | (HTMLElement, Event) => CSSProperties \\| void; | - | Trigger when enter active, return style will patch to element |\n| onLeaveActive | (HTMLElement, Event) => CSSProperties \\| void; | - | Trigger when leave active, return style will patch to element |\n| onAppearEnd | (HTMLElement, Event) => boolean \\| void; | - | Trigger when appear end, will not finish when return false |\n| onEnterEnd | (HTMLElement, Event) => boolean \\| void; | - | Trigger when enter end, will not finish when return false |\n| onLeaveEnd | (HTMLElement, Event) => boolean \\| void; | - | Trigger when leave end, will not finish when return false |\n\n### CSSMotionList\n\nextends all the props from [CSSMotion](#CSSMotion)\n\n| Property  | Type                          | Default | Description       |\n| --------- | ----------------------------- | ------- | ----------------- |\n| keys      | React.Key[]                   | -       | Motion list keys  |\n| component | string \\| React.ComponentType | div     | wrapper component |\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## License\n\n@rc-component/motion is released under the MIT license.\n","_attachments":{},"homepage":"https://react-component.github.io/motion","bugs":{"url":"http://github.com/react-component/motion/issues"},"license":"MIT"}