{"_id":"@rc-component/drawer","_rev":"9-02e2a4a4d8e9dd0df850bd0d5ea60eed","name":"@rc-component/drawer","dist-tags":{"latest":"1.4.3"},"versions":{"1.0.0":{"name":"@rc-component/drawer","version":"1.0.0","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"author":{"name":"155259966@qq.com"},"license":"MIT","_id":"@rc-component/drawer@1.0.0","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"}],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"afaa9f3b679dedb6e68ecbf1b15d902d8c04aa61","tarball":"https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.0.0.tgz","fileCount":32,"integrity":"sha512-sKtJn8K2SkedRF5Rkbv1MTn+BAE1hnSTOHH9xdqW6ostqN/YdU9rLkyJjIYKk2mnmBSbFgVYI3H7YeiueVvKrg==","signatures":[{"sig":"MEUCICf0XFCv21zjVkn+bFnWx4+SV3eWwxH89Gmlsqhn2nD3AiEA7pI/crvoMgSe44qI/Pdoe9kwConytrR0kmd/f1fjWXw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53250},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","gitHead":"5b54804095683c38ea5a01de33223e5ee2d9fbb1","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","prepare":"husky","prettier":"prettier --write .","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"_npmVersion":"10.8.2","description":"drawer component for react","directories":{},"lint-staged":{"*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx}":"eslint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_nodeVersion":"22.5.1","dependencies":{"classnames":"^2.2.6","@rc-component/util":"^1.2.1","@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^5.12.7","dumi":"^2.2.0","glob":"^10.3.10","less":"^4.2.0","husky":"^9.0.10","react":"^19.0.0","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.9","prettier":"^3.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","@types/raf":"^3.4.0","typescript":"^5.3.3","@types/jest":"^29.5.11","lint-staged":"^15.2.2","@types/react":"^19.0.0","@types/warning":"^3.0.0","@rc-component/np":"^1.0.0","@types/react-dom":"^19.0.0","@ant-design/icons":"^5.3.0","@types/classnames":"^2.2.9","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^51.0.1","@testing-library/react":"^14.0.0","@testing-library/jest-dom":"^6.2.0","@rc-component/father-plugin":"^2.0.2","stylelint-config-standard-less":"^3.0.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/drawer_1.0.0_1740561363731_0.9749426025447894","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@rc-component/drawer","version":"1.1.0","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"author":{"name":"155259966@qq.com"},"license":"MIT","_id":"@rc-component/drawer@1.1.0","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"}],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"8c09b18bccd771c4ded7c7db5423c6d276ed728f","tarball":"https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.1.0.tgz","fileCount":32,"integrity":"sha512-zO7FivYrW1FBfujixi/NESnMPiWpXUDB/jdf4MGXXanzHKNzCUde3qDQVsDsTCmITvLWFLhW1cP4NbsizLmwLQ==","signatures":[{"sig":"MEQCIGxUmP98SzJzcFQkqELlnaQhYF/6JcbHQk7IYNJc5UUPAiBiJuLYMfTnjRXj+8E8sioVMkrU/vnwx7B7ce821bc/MA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53212},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","gitHead":"283ead8aad52b93d4496345e773a19e097401c16","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","prepare":"husky","prettier":"prettier --write .","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"_npmVersion":"10.8.2","description":"drawer component for react","directories":{},"lint-staged":{"*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx}":"eslint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_nodeVersion":"22.5.1","dependencies":{"classnames":"^2.2.6","@rc-component/util":"^1.2.1","@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^5.12.7","dumi":"^2.2.0","glob":"^10.3.10","less":"^4.2.0","husky":"^9.0.10","react":"^19.0.0","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.9","prettier":"^3.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","@types/raf":"^3.4.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^22.15.18","lint-staged":"^15.2.2","@types/react":"^19.0.0","@types/warning":"^3.0.0","@rc-component/np":"^1.0.0","@types/react-dom":"^19.0.0","@ant-design/icons":"^5.3.0","@types/classnames":"^2.2.9","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^51.0.1","@testing-library/react":"^15.0.7","@testing-library/jest-dom":"^6.2.0","@rc-component/father-plugin":"^2.0.2","stylelint-config-standard-less":"^3.0.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/drawer_1.1.0_1747637229643_0.2187638144379216","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@rc-component/drawer","version":"1.2.0","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"author":{"name":"155259966@qq.com"},"license":"MIT","_id":"@rc-component/drawer@1.2.0","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"4e1b08beed21f02a8e31f47ea741ef14dcf5eff4","tarball":"https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.2.0.tgz","fileCount":36,"integrity":"sha512-RZ8IoNUv/soNVMYIWdjelKXX/3LWhVrKUQAeoc966Y55cIGc+PQKni025xshsvTY/+ntq10wqlBw1WCi77MvYQ==","signatures":[{"sig":"MEUCIQDqnZFFJi3lQ6O+bewgjMomhRvtLjKCGDmL4Ba7NmwL2gIgKZLu/oz83YKBYKxvmP+5qZfVSvhl2LZdS7qGwei9WhA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74302},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","gitHead":"d84d7ac34f98fde70e0e176259e225450499a594","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","prepare":"husky","prettier":"prettier --write .","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"_npmVersion":"10.9.2","description":"drawer component for react","directories":{},"lint-staged":{"*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx}":"eslint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_nodeVersion":"22.15.1","dependencies":{"classnames":"^2.2.6","@rc-component/util":"^1.2.1","@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^5.12.7","dumi":"^2.2.0","glob":"^10.3.10","less":"^4.2.0","husky":"^9.0.10","react":"^19.0.0","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.9","prettier":"^3.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","@types/raf":"^3.4.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^24.3.0","lint-staged":"^16.1.5","@types/react":"^19.0.0","@types/warning":"^3.0.0","@rc-component/np":"^1.0.0","@types/react-dom":"^19.0.0","@ant-design/icons":"^5.3.0","@types/classnames":"^2.2.9","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^51.0.1","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.2.0","@rc-component/father-plugin":"^2.0.2","stylelint-config-standard-less":"^3.0.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/drawer_1.2.0_1756884621473_0.563612540647817","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@rc-component/drawer","version":"1.3.0","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"author":{"name":"155259966@qq.com"},"license":"MIT","_id":"@rc-component/drawer@1.3.0","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"629e789f6199bbc2e2de467bc0dde59ed0817da2","tarball":"https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.3.0.tgz","fileCount":36,"integrity":"sha512-rE+sdXEmv2W25VBQ9daGbnb4J4hBIEKmdbj0b3xpY+K7TUmLXDIlSnoXraIbFZdGyek9WxxGKK887uRnFgI+pQ==","signatures":[{"sig":"MEUCIQDDor1BBa/vnCykXOrzZMMadDOEV1FnKWc5oVTL7ZBtzAIgDDsD/Ze5GUYIQlVvSEq4bHic7T095IacAm91XOJFML0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74264},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","gitHead":"77b011bd143ec3d649e1bd457b8b2a332c191172","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","prepare":"husky","prettier":"prettier --write .","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"_npmVersion":"11.6.0","description":"drawer component for react","directories":{},"lint-staged":{"*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx}":"eslint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_nodeVersion":"22.8.0","dependencies":{"clsx":"^2.1.1","@rc-component/util":"^1.2.1","@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^5.12.7","dumi":"^2.2.0","glob":"^10.3.10","less":"^4.2.0","husky":"^9.0.10","react":"^19.0.0","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.9","prettier":"^3.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","@types/raf":"^3.4.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^24.3.0","lint-staged":"^16.1.5","@types/react":"^19.0.0","@types/warning":"^3.0.0","@rc-component/np":"^1.0.0","@types/react-dom":"^19.0.0","@ant-design/icons":"^5.3.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^51.0.1","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.2.0","@rc-component/father-plugin":"^2.0.2","stylelint-config-standard-less":"^3.0.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/drawer_1.3.0_1764066512367_0.053641600945386614","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@rc-component/drawer","version":"1.4.0","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"author":{"name":"155259966@qq.com"},"license":"MIT","_id":"@rc-component/drawer@1.4.0","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"aad9002307899b3b2a31e7c2160c44f38421e026","tarball":"https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.4.0.tgz","fileCount":40,"integrity":"sha512-Zr1j1LRLDauz4a5JXHEmeYQfvEzfh4CddNa7tszyJnfd5GySYdZ5qLO63Tt2tgG4k+qi6tkFDKmcT46ikZfzbQ==","signatures":[{"sig":"MEUCIQC2xZIfGNGgh/3CERMCSbK7PPDUaCj7zte1mYjRfITFhAIgSvZGFK5yjqVisPy7Rs3rH7s2/pqnF0hL5/W5NMSRCCM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73405},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","gitHead":"925f9f55dde91a84c762da9c13db5ce7ee1592e7","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","prepare":"husky","prettier":"prettier --write .","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"_npmVersion":"11.7.0","description":"drawer component for react","directories":{},"lint-staged":{"*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx}":"eslint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_nodeVersion":"22.15.1","dependencies":{"clsx":"^2.1.1","@rc-component/util":"^1.2.1","@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^5.12.7","dumi":"^2.2.0","glob":"^10.3.10","less":"^4.2.0","husky":"^9.0.10","react":"^19.0.0","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.9","prettier":"^3.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","@types/raf":"^3.4.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^25.0.0","lint-staged":"^16.1.5","@types/react":"^19.0.0","@types/warning":"^3.0.0","@rc-component/np":"^1.0.0","@types/react-dom":"^19.0.0","@ant-design/icons":"^5.3.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^51.0.1","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.2.0","@rc-component/father-plugin":"^2.0.2","stylelint-config-standard-less":"^4.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/drawer_1.4.0_1767498459285_0.6366828999331617","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@rc-component/drawer","version":"1.4.1","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"author":{"name":"155259966@qq.com"},"license":"MIT","_id":"@rc-component/drawer@1.4.1","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"df1173ce8e387fd558f73dcc18500f3c778a5ff7","tarball":"https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.4.1.tgz","fileCount":40,"integrity":"sha512-kNJQie/QjJO5wGeWrZQwSGeuo8staxXx1nYN+dpK2UY7i8teo5PQdZ6ukKSnnW9vmPXsLn3F5nKYRbf43e8+5g==","signatures":[{"sig":"MEYCIQC6vP8H9HWmaQ8fsjomTfjw8oQTfT5lDETFfWdmxG1urwIhALDskt68BxG1dkXq7m5oVwvKvNp7CHeK53HqlLdBozur","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73405},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","gitHead":"bab18ccb72702f06aa5211bf9010f00de85b3a33","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","prepare":"husky","prettier":"prettier --write .","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"_npmVersion":"11.6.0","description":"drawer component for react","directories":{},"lint-staged":{"*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx}":"eslint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_nodeVersion":"22.8.0","dependencies":{"clsx":"^2.1.1","@rc-component/util":"^1.7.0","@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^5.12.7","dumi":"^2.2.0","glob":"^10.3.10","less":"^4.2.0","husky":"^9.0.10","react":"^19.0.0","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.9","prettier":"^3.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","@types/raf":"^3.4.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^25.0.0","lint-staged":"^16.1.5","@types/react":"^19.0.0","@types/warning":"^3.0.0","@rc-component/np":"^1.0.0","@types/react-dom":"^19.0.0","@ant-design/icons":"^5.3.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^51.0.1","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.2.0","@rc-component/father-plugin":"^2.0.2","stylelint-config-standard-less":"^4.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/drawer_1.4.1_1769492867921_0.8983502998086692","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@rc-component/drawer","version":"1.4.2","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"author":{"name":"155259966@qq.com"},"license":"MIT","_id":"@rc-component/drawer@1.4.2","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"eb13a6556fb67be28407295c89401b01549224e0","tarball":"https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.4.2.tgz","fileCount":40,"integrity":"sha512-1ib+fZEp6FBu+YvcIktm+nCQ+Q+qIpwpoaJH6opGr4ofh2QMq+qdr5DLC4oCf5qf3pcWX9lUWPYX652k4ini8Q==","signatures":[{"sig":"MEUCIQDopRuyKOYZE9wnna5hgdKnuvJWQcXfadCihyTrBFiwcwIgDIOzW1pRvmCkfhDKiWJiWjMQ3Ydixpuu3+HAm4iXwkg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73815},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","gitHead":"759da9a3e7d6c5aba33a426b91ebe367c8f0d220","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","prepare":"husky","prettier":"prettier --write .","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"_npmVersion":"11.7.0","description":"drawer component for react","directories":{},"lint-staged":{"*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx}":"eslint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_nodeVersion":"22.15.1","dependencies":{"clsx":"^2.1.1","@rc-component/util":"^1.9.0","@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^5.12.7","dumi":"^2.2.0","glob":"^10.3.10","less":"^4.2.0","husky":"^9.0.10","react":"^19.0.0","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.9","prettier":"^3.0.0","react-dom":"^19.0.0","stylelint":"^17.1.0","@types/raf":"^3.4.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^25.0.0","lint-staged":"^16.1.5","@types/react":"^19.0.0","@types/warning":"^3.0.0","@rc-component/np":"^1.0.0","@types/react-dom":"^19.0.0","@ant-design/icons":"^5.3.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^51.0.1","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.2.0","@rc-component/father-plugin":"^2.0.2","stylelint-config-standard-less":"^4.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/drawer_1.4.2_1770367291104_0.7846560781602863","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"_id":"@rc-component/drawer@1.4.3","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"b196f9e46f5de1eb9d1c36b1449430c73cbb3d1c","tarball":"https://registry.npmjs.org/@rc-component/drawer/-/drawer-1.4.3.tgz","fileCount":41,"integrity":"sha512-7gqhmv9K4VQnpOR8JQfwBU2QxgjeRP/1MroKqXg7CDvrt8dghIpQ9ungD9JlrAlpyYmV4ziwRZeyc2ks++9L4g==","signatures":[{"sig":"MEUCIQCfBTNlWNtgTaZOCj/SkGaVIlDhXhK5JWFx2lOoka8QcgIgEAoijRZ7ClnKd8FJr9e7GI/xzHpu4paPx6cEekYf05g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCcoo/w5tytioIycJUXlCSdSr44K4MSZCt5Zaa8bA40owIhAOgl1swAXjUDxI+Q+O2QPaPlOafeBPEPP/jx8mToZ7ys"}],"unpackedSize":86248},"main":"./lib/index","name":"@rc-component/drawer","types":"./es/index.d.ts","author":{"name":"155259966@qq.com"},"module":"./es/index","gitHead":"4694e48e16885d1f68425d0cadd0c0707a8eaed6","license":"MIT","scripts":{"tsc":"tsc --noEmit","lint":"eslint src/ docs/ tests/ --ext .tsx,.ts,.jsx,.js","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","prepare":"husky","prettier":"prettier --write --ignore-unknown .","prepublishOnly":"npm run compile && rc-np"},"version":"1.4.3","_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"homepage":"https://react-component.github.io/drawer","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"_npmVersion":"11.19.1","description":"drawer component for react","directories":{},"lint-staged":{"*":"prettier --write --ignore-unknown"},"maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"_nodeVersion":"26.9.0","dependencies":{"clsx":"^2.1.1","@rc-component/util":"^1.11.1","@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^6.3.4","dumi":"^2.4.38","glob":"^13.0.6","less":"^4.6.7","husky":"^9.1.7","react":"^19.2.7","eslint":"^10.6.0","father":"^4.6.24","globals":"^17.7.0","rc-test":"^7.1.3","prettier":"^3.9.4","react-dom":"^19.2.7","stylelint":"^17.1.0","@eslint/js":"^10.0.1","@types/raf":"^3.4.3","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^26.0.1","lint-staged":"^17.0.8","@types/react":"^19.2.17","@eslint/compat":"^2.1.0","@types/warning":"^3.0.4","@rc-component/np":"^1.0.4","@types/react-dom":"^19.2.3","@ant-design/icons":"^6.2.5","typescript-eslint":"^8.62.1","eslint-plugin-jest":"^29.15.4","eslint-plugin-react":"^7.37.5","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","eslint-config-prettier":"^10.1.8","@testing-library/jest-dom":"^6.9.1","eslint-plugin-react-hooks":"^7.1.1","@rc-component/father-plugin":"^2.2.0","stylelint-config-standard-less":"^4.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drawer_1.4.3_1794800187020_0.4869725360627226"}}},"time":{"created":"2025-02-26T09:16:03.647Z","modified":"2026-11-16T03:36:27.344Z","1.0.0":"2025-02-26T09:16:03.944Z","1.1.0":"2025-05-19T06:47:09.811Z","1.2.0":"2025-09-03T07:30:21.640Z","1.3.0":"2025-11-25T10:28:32.579Z","1.4.0":"2026-01-04T03:47:39.459Z","1.4.1":"2026-01-27T05:47:48.071Z","1.4.2":"2026-02-06T08:41:31.298Z","1.4.3":"2026-11-16T03:36:27.117Z"},"bugs":{"url":"https://github.com/react-component/drawer/issues"},"author":{"name":"155259966@qq.com"},"license":"MIT","homepage":"https://react-component.github.io/drawer","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"repository":{"url":"git+https://github.com/react-component/drawer.git","type":"git"},"description":"drawer component for react","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"readme":"<div align=\"center\">\n  <h1>@rc-component/drawer</h1>\n  <p><sub><a href=\"https://ant.design\"><img alt=\"Ant Design\" height=\"14\" src=\"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg\" style=\"vertical-align: -0.125em;\" /></a> Ant Design 生态的一部分。</sub></p>\n  <p>🚪 React 抽屉组件，支持遮罩、动画、自定义容器和语义化样式。</p>\n\n  <p>\n    <a href=\"https://npmjs.org/package/@rc-component/drawer\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@rc-component/drawer.svg?style=flat-square\"></a>\n    <a href=\"https://npmjs.org/package/@rc-component/drawer\"><img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/@rc-component/drawer.svg?style=flat-square\"></a>\n    <a href=\"https://github.com/react-component/drawer/actions/workflows/react-component-ci.yml\"><img alt=\"build status\" src=\"https://github.com/react-component/drawer/actions/workflows/react-component-ci.yml/badge.svg\"></a>\n    <a href=\"https://app.codecov.io/gh/react-component/drawer\"><img alt=\"Codecov\" src=\"https://img.shields.io/codecov/c/github/react-component/drawer/master.svg?style=flat-square\"></a>\n    <a href=\"https://bundlephobia.com/package/@rc-component/drawer\"><img alt=\"bundle size\" src=\"https://img.shields.io/bundlephobia/minzip/@rc-component/drawer?style=flat-square\"></a>\n    <a href=\"https://github.com/umijs/dumi\"><img alt=\"dumi\" src=\"https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\"></a>\n  </p>\n</div>\n\n<p align=\"center\"><a href=\"./README.md\">English</a> | 简体中文</p>\n\n## 特性\n\n| 范围 | 支持                                     |\n| ---- | ---------------------------------------- |\n| 位置 | 左、右、上、下四个方向的抽屉             |\n| 交互 | 遮罩点击、键盘关闭和焦点管理             |\n| 组合 | 支持带 push 行为的嵌套抽屉               |\n| 布局 | 固定抽屉尺寸、可调整大小面板和自定义容器 |\n| 运动 | 可配置打开和关闭动画                     |\n\n## 安装\n\n```bash\nnpm install @rc-component/drawer\n```\n\n## 使用\n\n```tsx | pure\nimport Drawer from '@rc-component/drawer';\n\nexport default () => (\n  <Drawer open onClose={() => {}}>\n    Drawer content\n  </Drawer>\n);\n```\n\n## 示例\n\n运行本地 dumi 站点：\n\n```bash\nnpm install\nnpm start\n```\n\n然后打开 `http://localhost:8000`。\n\n## API\n\n| 参数                   | 类型                                                                                                     | 默认值               | 说明                                             |\n| ---------------------- | -------------------------------------------------------------------------------------------------------- | -------------------- | ------------------------------------------------ |\n| afterOpenChange        | `(open: boolean) => void`                                                                                | -                    | 打开或关闭动画结束后调用。                       |\n| autoFocus              | boolean                                                                                                  | true                 | 抽屉打开后是否聚焦。                             |\n| children               | ReactNode                                                                                                | -                    | 抽屉内容。                                       |\n| className              | string                                                                                                   | -                    | 抽屉面板的 className。                           |\n| classNames             | `{ mask?: string; wrapper?: string; section?: string; dragger?: string }`                                | -                    | 内部抽屉元素的语义 className。                   |\n| defaultSize            | number \\| string                                                                                         | -                    | 非受控可调整大小抽屉的默认尺寸。                 |\n| destroyOnHidden        | boolean                                                                                                  | false                | 抽屉完全关闭后将其卸下。                         |\n| drawerRender           | `(node: ReactNode) => ReactNode`                                                                         | -                    | 自定义渲染的抽屉面板内容。                       |\n| focusTrap              | boolean                                                                                                  | -                    | 是否将焦点限制在抽屉内。                         |\n| focusTriggerAfterClose | boolean                                                                                                  | true                 | 关闭后是否将焦点返回到触发器。                   |\n| forceRender            | boolean                                                                                                  | false                | 在抽屉打开之前对其进行渲染。                     |\n| getContainer           | HTMLElement \\| `() => HTMLElement` \\| string \\| false                                                    | `body`               | 返回挂载节点。设置为 `false` 时内联渲染。        |\n| height                 | number \\| string                                                                                         | -                    | 已废弃。顶部或底部位置请使用 `size`。            |\n| keyboard               | boolean                                                                                                  | true                 | 按 Esc 是否关闭抽屉。                            |\n| mask                   | boolean                                                                                                  | true                 | 是否显示遮罩。                                   |\n| maskClassName          | string                                                                                                   | -                    | 掩码的 className。                               |\n| maskClosable           | boolean                                                                                                  | true                 | 单击蒙版是否会关闭抽屉。                         |\n| maskMotion             | CSSMotionProps                                                                                           | -                    | 遮罩动画配置。                                   |\n| maskStyle              | CSSProperties                                                                                            | -                    | 遮罩样式。                                       |\n| maxSize                | number                                                                                                   | -                    | 可调整大小的抽屉的最大尺寸。                     |\n| motion                 | CSSMotionProps \\| `(placement: Placement) => CSSMotionProps`                                             | -                    | 抽屉面板动画配置。                               |\n| onClose                | `(event: MouseEvent \\| KeyboardEvent) => void`                                                           | -                    | 当抽屉请求关闭时调用。                           |\n| open                   | boolean                                                                                                  | false                | 抽屉是否打开。                                   |\n| panelRef               | Ref<HTMLDivElement>                                                                                      | -                    | 抽屉面板参考。                                   |\n| placement              | `left` \\| `right` \\| `top` \\| `bottom`                                                                   | `right`              | 抽屉位置。                                       |\n| prefixCls              | string                                                                                                   | `rc-drawer`          | className 前缀。                                 |\n| push                   | boolean \\| `{ distance?: number \\| string }`                                                             | -                    | 嵌套时推动父抽屉。                               |\n| resizable              | boolean \\| `{ onResize?: (size: number) => void; onResizeStart?: () => void; onResizeEnd?: () => void }` | false                | 启用调整大小和可选的调整大小回调。               |\n| rootClassName          | string                                                                                                   | -                    | 根包装器的 className。                           |\n| rootStyle              | CSSProperties                                                                                            | -                    | 根包装器的样式。                                 |\n| size                   | number \\| string                                                                                         | `378` for left/right | 抽屉尺寸。控制左/右的宽度和顶部/底部放置的高度。 |\n| style                  | CSSProperties                                                                                            | -                    | 抽屉面板的样式。                                 |\n| styles                 | `{ mask?: CSSProperties; wrapper?: CSSProperties; section?: CSSProperties; dragger?: CSSProperties }`    | -                    | 内部抽屉元素的语义样式。                         |\n| width                  | number \\| string                                                                                         | -                    | 已废弃。请使用 `size` 进行左侧或右侧放置。       |\n| zIndex                 | number                                                                                                   | -                    | 根包装器 z 索引。                                |\n\n鼠标和键盘事件处理程序（例如 `onClick` 、 `onMouseEnter` 、 `onMouseLeave` 、 `onKeyDown` 和 `onKeyUp`）将传递到抽屉面板。\n\n## 本地开发\n\n```bash\nnpm install\nnpm start\n```\n\ndumi 站点默认运行在 `http://localhost:8000`。\n\nCommon commands:\n\n```bash\nnpm run lint\nnpm test\nnpm run tsc\nnpm run compile\n```\n\n## 发布\n\n```bash\nnpm run prepublishOnly\n```\n\n包构建完成后，发布流程由 `@rc-component/np` 通过 `rc-np` 命令处理。\n\n## 许可证\n\n@rc-component/drawer 基于 [MIT](./LICENSE) 许可证发布。\n","readmeFilename":"README.zh-CN.md"}