{"versions":{"1.0.0":{"name":"@rc-component/drawer","version":"1.0.0","description":"drawer component for react","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"repository":{"type":"git","url":"git+https://github.com/react-component/drawer.git"},"license":"MIT","author":{"name":"155259966@qq.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && lessc assets/index.less assets/index.css","lint":"eslint src/ --ext .tsx,.ts","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np","start":"dumi dev","test":"rc-test","prettier":"prettier --write .","prepare":"husky"},"dependencies":{"@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.0.0","@rc-component/util":"^1.2.1","classnames":"^2.2.6"},"devDependencies":{"@ant-design/icons":"^5.3.0","@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.0","@testing-library/jest-dom":"^6.2.0","@testing-library/react":"^14.0.0","@types/classnames":"^2.2.9","@types/jest":"^29.5.11","@types/raf":"^3.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@types/warning":"^3.0.0","antd":"^5.12.7","dumi":"^2.2.0","eslint":"^8.56.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^51.0.1","father":"^4.0.0","glob":"^10.3.10","husky":"^9.0.10","less":"^4.2.0","lint-staged":"^15.2.2","prettier":"^3.0.0","rc-test":"^7.0.9","react":"^19.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","stylelint-config-standard-less":"^3.0.1","typescript":"^5.3.3"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"eslint --fix","*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_id":"@rc-component/drawer@1.0.0","gitHead":"5b54804095683c38ea5a01de33223e5ee2d9fbb1","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-sKtJn8K2SkedRF5Rkbv1MTn+BAE1hnSTOHH9xdqW6ostqN/YdU9rLkyJjIYKk2mnmBSbFgVYI3H7YeiueVvKrg==","shasum":"afaa9f3b679dedb6e68ecbf1b15d902d8c04aa61","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rc-component/drawer/-/drawer-1.0.0.tgz","fileCount":32,"unpackedSize":53250,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICf0XFCv21zjVkn+bFnWx4+SV3eWwxH89Gmlsqhn2nD3AiEA7pI/crvoMgSe44qI/Pdoe9kwConytrR0kmd/f1fjWXw="}],"size":9242},"_npmUser":{"name":"anonymous","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"smith3816@gmail.com"},{"name":"anonymous","email":"afc163@gmail.com"},{"name":"anonymous","email":"1075746765@qq.com"},{"name":"anonymous","email":"scdzwyxst@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drawer_1.0.0_1740561363731_0.9749426025447894"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-26T09:16:03.944Z","publish_time":1740561363944,"_source_registry_name":"default","contributors":[]},"1.1.0":{"name":"@rc-component/drawer","version":"1.1.0","description":"drawer component for react","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"repository":{"type":"git","url":"git+https://github.com/react-component/drawer.git"},"license":"MIT","author":{"name":"155259966@qq.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && lessc assets/index.less assets/index.css","lint":"eslint src/ --ext .tsx,.ts","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np","start":"dumi dev","test":"rc-test","prettier":"prettier --write .","prepare":"husky"},"dependencies":{"@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.0.0","@rc-component/util":"^1.2.1","classnames":"^2.2.6"},"devDependencies":{"@ant-design/icons":"^5.3.0","@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.0","@testing-library/jest-dom":"^6.2.0","@testing-library/react":"^15.0.7","@types/classnames":"^2.2.9","@types/jest":"^29.5.11","@types/node":"^22.15.18","@types/raf":"^3.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@types/warning":"^3.0.0","antd":"^5.12.7","dumi":"^2.2.0","eslint":"^8.56.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^51.0.1","father":"^4.0.0","glob":"^10.3.10","husky":"^9.0.10","less":"^4.2.0","lint-staged":"^15.2.2","prettier":"^3.0.0","rc-test":"^7.0.9","react":"^19.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","stylelint-config-standard-less":"^3.0.1","typescript":"^5.3.3"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"eslint --fix","*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_id":"@rc-component/drawer@1.1.0","gitHead":"283ead8aad52b93d4496345e773a19e097401c16","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-zO7FivYrW1FBfujixi/NESnMPiWpXUDB/jdf4MGXXanzHKNzCUde3qDQVsDsTCmITvLWFLhW1cP4NbsizLmwLQ==","shasum":"8c09b18bccd771c4ded7c7db5423c6d276ed728f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rc-component/drawer/-/drawer-1.1.0.tgz","fileCount":32,"unpackedSize":53212,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGxUmP98SzJzcFQkqELlnaQhYF/6JcbHQk7IYNJc5UUPAiBiJuLYMfTnjRXj+8E8sioVMkrU/vnwx7B7ce821bc/MA=="}],"size":9253},"_npmUser":{"name":"anonymous","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"smith3816@gmail.com"},{"name":"anonymous","email":"afc163@gmail.com"},{"name":"anonymous","email":"1075746765@qq.com"},{"name":"anonymous","email":"scdzwyxst@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drawer_1.1.0_1747637229643_0.2187638144379216"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-19T06:47:09.811Z","publish_time":1747637229811,"_source_registry_name":"default","contributors":[]},"1.2.0":{"name":"@rc-component/drawer","version":"1.2.0","description":"drawer component for react","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"repository":{"type":"git","url":"git+https://github.com/react-component/drawer.git"},"license":"MIT","author":{"name":"155259966@qq.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && lessc assets/index.less assets/index.css","lint":"eslint src/ --ext .tsx,.ts","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np","start":"dumi dev","test":"rc-test","prettier":"prettier --write .","prepare":"husky"},"dependencies":{"@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.0.0","@rc-component/util":"^1.2.1","classnames":"^2.2.6"},"devDependencies":{"@ant-design/icons":"^5.3.0","@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.0","@testing-library/jest-dom":"^6.2.0","@testing-library/react":"^16.3.0","@types/classnames":"^2.2.9","@types/jest":"^29.5.11","@types/node":"^24.3.0","@types/raf":"^3.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@types/warning":"^3.0.0","antd":"^5.12.7","dumi":"^2.2.0","eslint":"^8.56.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^51.0.1","father":"^4.0.0","glob":"^10.3.10","husky":"^9.0.10","less":"^4.2.0","lint-staged":"^16.1.5","prettier":"^3.0.0","rc-test":"^7.0.9","react":"^19.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","stylelint-config-standard-less":"^3.0.1","typescript":"^5.3.3"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"eslint --fix","*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_id":"@rc-component/drawer@1.2.0","gitHead":"d84d7ac34f98fde70e0e176259e225450499a594","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-RZ8IoNUv/soNVMYIWdjelKXX/3LWhVrKUQAeoc966Y55cIGc+PQKni025xshsvTY/+ntq10wqlBw1WCi77MvYQ==","shasum":"4e1b08beed21f02a8e31f47ea741ef14dcf5eff4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rc-component/drawer/-/drawer-1.2.0.tgz","fileCount":36,"unpackedSize":74302,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDqnZFFJi3lQ6O+bewgjMomhRvtLjKCGDmL4Ba7NmwL2gIgKZLu/oz83YKBYKxvmP+5qZfVSvhl2LZdS7qGwei9WhA="}],"size":12095},"_npmUser":{"name":"anonymous","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"smith3816@gmail.com"},{"name":"anonymous","email":"afc163@gmail.com"},{"name":"anonymous","email":"1075746765@qq.com"},{"name":"anonymous","email":"scdzwyxst@gmail.com"},{"name":"anonymous","email":"wasd2144@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drawer_1.2.0_1756884621473_0.563612540647817"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-03T07:30:21.640Z","publish_time":1756884621640,"_source_registry_name":"default","contributors":[]},"1.3.0":{"name":"@rc-component/drawer","version":"1.3.0","description":"drawer component for react","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"repository":{"type":"git","url":"git+https://github.com/react-component/drawer.git"},"license":"MIT","author":{"name":"155259966@qq.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && lessc assets/index.less assets/index.css","lint":"eslint src/ --ext .tsx,.ts","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np","start":"dumi dev","test":"rc-test","prettier":"prettier --write .","prepare":"husky"},"dependencies":{"@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.0.0","@rc-component/util":"^1.2.1","clsx":"^2.1.1"},"devDependencies":{"@ant-design/icons":"^5.3.0","@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.0","@testing-library/jest-dom":"^6.2.0","@testing-library/react":"^16.3.0","@types/jest":"^29.5.11","@types/node":"^24.3.0","@types/raf":"^3.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@types/warning":"^3.0.0","antd":"^5.12.7","dumi":"^2.2.0","eslint":"^8.56.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^51.0.1","father":"^4.0.0","glob":"^10.3.10","husky":"^9.0.10","less":"^4.2.0","lint-staged":"^16.1.5","prettier":"^3.0.0","rc-test":"^7.0.9","react":"^19.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","stylelint-config-standard-less":"^3.0.1","typescript":"^5.3.3"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"eslint --fix","*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_id":"@rc-component/drawer@1.3.0","gitHead":"77b011bd143ec3d649e1bd457b8b2a332c191172","types":"./lib/index.d.ts","_nodeVersion":"22.8.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-rE+sdXEmv2W25VBQ9daGbnb4J4hBIEKmdbj0b3xpY+K7TUmLXDIlSnoXraIbFZdGyek9WxxGKK887uRnFgI+pQ==","shasum":"629e789f6199bbc2e2de467bc0dde59ed0817da2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rc-component/drawer/-/drawer-1.3.0.tgz","fileCount":36,"unpackedSize":74264,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDDor1BBa/vnCykXOrzZMMadDOEV1FnKWc5oVTL7ZBtzAIgDDsD/Ze5GUYIQlVvSEq4bHic7T095IacAm91XOJFML0="}],"size":12125},"_npmUser":{"name":"anonymous","email":"afc163@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"smith3816@gmail.com"},{"name":"anonymous","email":"afc163@gmail.com"},{"name":"anonymous","email":"1075746765@qq.com"},{"name":"anonymous","email":"scdzwyxst@gmail.com"},{"name":"anonymous","email":"wasd2144@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drawer_1.3.0_1764066512367_0.053641600945386614"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-25T10:28:32.579Z","publish_time":1764066512579,"_source_registry_name":"default","contributors":[]},"1.4.0":{"name":"@rc-component/drawer","version":"1.4.0","description":"drawer component for react","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"repository":{"type":"git","url":"git+https://github.com/react-component/drawer.git"},"license":"MIT","author":{"name":"155259966@qq.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && lessc assets/index.less assets/index.css","lint":"eslint src/ --ext .tsx,.ts","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np","start":"dumi dev","test":"rc-test","prettier":"prettier --write .","prepare":"husky"},"dependencies":{"@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.1.3","@rc-component/util":"^1.2.1","clsx":"^2.1.1"},"devDependencies":{"@ant-design/icons":"^5.3.0","@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.0","@testing-library/jest-dom":"^6.2.0","@testing-library/react":"^16.3.0","@types/jest":"^29.5.11","@types/node":"^25.0.0","@types/raf":"^3.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@types/warning":"^3.0.0","antd":"^5.12.7","dumi":"^2.2.0","eslint":"^8.56.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^51.0.1","father":"^4.0.0","glob":"^10.3.10","husky":"^9.0.10","less":"^4.2.0","lint-staged":"^16.1.5","prettier":"^3.0.0","rc-test":"^7.0.9","react":"^19.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","stylelint-config-standard-less":"^4.0.0","typescript":"^5.3.3"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"eslint --fix","*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"gitHead":"925f9f55dde91a84c762da9c13db5ce7ee1592e7","types":"./lib/index.d.ts","_id":"@rc-component/drawer@1.4.0","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-Zr1j1LRLDauz4a5JXHEmeYQfvEzfh4CddNa7tszyJnfd5GySYdZ5qLO63Tt2tgG4k+qi6tkFDKmcT46ikZfzbQ==","shasum":"aad9002307899b3b2a31e7c2160c44f38421e026","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rc-component/drawer/-/drawer-1.4.0.tgz","fileCount":40,"unpackedSize":73405,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC2xZIfGNGgh/3CERMCSbK7PPDUaCj7zte1mYjRfITFhAIgSvZGFK5yjqVisPy7Rs3rH7s2/pqnF0hL5/W5NMSRCCM="}],"size":12251},"_npmUser":{"name":"anonymous","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"smith3816@gmail.com"},{"name":"anonymous","email":"afc163@gmail.com"},{"name":"anonymous","email":"1075746765@qq.com"},{"name":"anonymous","email":"scdzwyxst@gmail.com"},{"name":"anonymous","email":"wasd2144@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drawer_1.4.0_1767498459285_0.6366828999331617"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-04T03:47:39.459Z","publish_time":1767498459459,"_source_registry_name":"default","contributors":[]},"1.4.1":{"name":"@rc-component/drawer","version":"1.4.1","description":"drawer component for react","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"repository":{"type":"git","url":"git+https://github.com/react-component/drawer.git"},"license":"MIT","author":{"name":"155259966@qq.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && lessc assets/index.less assets/index.css","lint":"eslint src/ --ext .tsx,.ts","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np","start":"dumi dev","test":"rc-test","prettier":"prettier --write .","prepare":"husky"},"dependencies":{"@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.1.3","@rc-component/util":"^1.7.0","clsx":"^2.1.1"},"devDependencies":{"@ant-design/icons":"^5.3.0","@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.0","@testing-library/jest-dom":"^6.2.0","@testing-library/react":"^16.3.0","@types/jest":"^29.5.11","@types/node":"^25.0.0","@types/raf":"^3.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@types/warning":"^3.0.0","antd":"^5.12.7","dumi":"^2.2.0","eslint":"^8.56.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^51.0.1","father":"^4.0.0","glob":"^10.3.10","husky":"^9.0.10","less":"^4.2.0","lint-staged":"^16.1.5","prettier":"^3.0.0","rc-test":"^7.0.9","react":"^19.0.0","react-dom":"^19.0.0","stylelint":"^16.2.1","stylelint-config-standard-less":"^4.0.0","typescript":"^5.3.3"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"eslint --fix","*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"_id":"@rc-component/drawer@1.4.1","gitHead":"bab18ccb72702f06aa5211bf9010f00de85b3a33","types":"./lib/index.d.ts","_nodeVersion":"22.8.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-kNJQie/QjJO5wGeWrZQwSGeuo8staxXx1nYN+dpK2UY7i8teo5PQdZ6ukKSnnW9vmPXsLn3F5nKYRbf43e8+5g==","shasum":"df1173ce8e387fd558f73dcc18500f3c778a5ff7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rc-component/drawer/-/drawer-1.4.1.tgz","fileCount":40,"unpackedSize":73405,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC6vP8H9HWmaQ8fsjomTfjw8oQTfT5lDETFfWdmxG1urwIhALDskt68BxG1dkXq7m5oVwvKvNp7CHeK53HqlLdBozur"}],"size":12250},"_npmUser":{"name":"anonymous","email":"afc163@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"smith3816@gmail.com"},{"name":"anonymous","email":"afc163@gmail.com"},{"name":"anonymous","email":"1075746765@qq.com"},{"name":"anonymous","email":"scdzwyxst@gmail.com"},{"name":"anonymous","email":"wasd2144@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drawer_1.4.1_1769492867921_0.8983502998086692"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-27T05:47:48.071Z","publish_time":1769492868071,"_source_registry_name":"default","contributors":[]},"1.4.2":{"name":"@rc-component/drawer","version":"1.4.2","description":"drawer component for react","keywords":["react","react-component","react-drawer","drawer","drawer-menu","rc-drawer-menu","react-drawer-menu","animation","drawer-motion","drawer-animation"],"homepage":"https://github.com/react-component/drawer","bugs":{"url":"https://github.com/react-component/drawer/issues"},"repository":{"type":"git","url":"git+https://github.com/react-component/drawer.git"},"license":"MIT","author":{"name":"155259966@qq.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && lessc assets/index.less assets/index.css","lint":"eslint src/ --ext .tsx,.ts","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np","start":"dumi dev","test":"rc-test","prettier":"prettier --write .","prepare":"husky"},"dependencies":{"@rc-component/motion":"^1.1.4","@rc-component/portal":"^2.1.3","@rc-component/util":"^1.9.0","clsx":"^2.1.1"},"devDependencies":{"@ant-design/icons":"^5.3.0","@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.0","@testing-library/jest-dom":"^6.2.0","@testing-library/react":"^16.3.0","@types/jest":"^29.5.11","@types/node":"^25.0.0","@types/raf":"^3.4.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","@types/warning":"^3.0.0","antd":"^5.12.7","dumi":"^2.2.0","eslint":"^8.56.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^51.0.1","father":"^4.0.0","glob":"^10.3.10","husky":"^9.0.10","less":"^4.2.0","lint-staged":"^16.1.5","prettier":"^3.0.0","rc-test":"^7.0.9","react":"^19.0.0","react-dom":"^19.0.0","stylelint":"^17.1.0","stylelint-config-standard-less":"^4.0.0","typescript":"^5.3.3"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"eslint --fix","*.{css,less}":"stylelint --fix","*.{js,jsx,ts,tsx,json,less,css,md}":"prettier --write"},"gitHead":"759da9a3e7d6c5aba33a426b91ebe367c8f0d220","types":"./lib/index.d.ts","_id":"@rc-component/drawer@1.4.2","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-1ib+fZEp6FBu+YvcIktm+nCQ+Q+qIpwpoaJH6opGr4ofh2QMq+qdr5DLC4oCf5qf3pcWX9lUWPYX652k4ini8Q==","shasum":"eb13a6556fb67be28407295c89401b01549224e0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@rc-component/drawer/-/drawer-1.4.2.tgz","fileCount":40,"unpackedSize":73815,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDopRuyKOYZE9wnna5hgdKnuvJWQcXfadCihyTrBFiwcwIgDIOzW1pRvmCkfhDKiWJiWjMQ3Ydixpuu3+HAm4iXwkg="}],"size":12311},"_npmUser":{"name":"anonymous","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"smith3816@gmail.com"},{"name":"anonymous","email":"afc163@gmail.com"},{"name":"anonymous","email":"1075746765@qq.com"},{"name":"anonymous","email":"scdzwyxst@gmail.com"},{"name":"anonymous","email":"wasd2144@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drawer_1.4.2_1770367291104_0.7846560781602863"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-06T08:41:31.298Z","publish_time":1770367291298,"_source_registry_name":"default","contributors":[]},"1.4.3":{"_id":"@rc-component/drawer@1.4.3","bugs":{"url":"https://github.com/react-component/drawer/issues"},"dist":{"shasum":"b196f9e46f5de1eb9d1c36b1449430c73cbb3d1c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@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,"size":14412},"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":"anonymous","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":"anonymous","email":"smith3816@gmail.com"},{"name":"anonymous","email":"afc163@gmail.com"},{"name":"anonymous","email":"1075746765@qq.com"},{"name":"anonymous","email":"scdzwyxst@gmail.com"},{"name":"anonymous","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"},"_cnpmcore_publish_time":"2026-11-16T03:36:27.117Z","publish_time":1794800187117,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.4.3"},"name":"@rc-component/drawer","time":{"created":"2025-02-26T09:35:57.001Z","modified":"2026-11-16T03:36:41.856Z","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"},"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> Part of the Ant Design ecosystem.</sub></p>\n  <p>🚪 Accessible React drawer component with portal rendering, masks, nested push behavior, keyboard close handling, focus management, and optional resizable panels.</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\">English | <a href=\"./README.zh-CN.md\">简体中文</a></p>\n\n## Highlights\n\n| Area        | Support                                                |\n| ----------- | ------------------------------------------------------ |\n| Placement   | Left, right, top, and bottom drawers                   |\n| Interaction | Mask click, keyboard close, focus management           |\n| Composition | Nested drawers with push behavior                      |\n| Layout      | Fixed drawer size, resizable panels, custom containers |\n| Motion      | Configurable open and close transitions                |\n\n## Install\n\n```bash\nnpm install @rc-component/drawer\n```\n\n## Usage\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## Examples\n\nRun the local dumi site:\n\n```bash\nnpm install\nnpm start\n```\n\nThen open `http://localhost:8000`.\n\n## API\n\n| Property               | Type                                                                                                     | Default              | Description                                                                     |\n| ---------------------- | -------------------------------------------------------------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------- |\n| afterOpenChange        | `(open: boolean) => void`                                                                                | -                    | Called after the open or close animation ends.                                  |\n| autoFocus              | boolean                                                                                                  | true                 | Whether to focus the drawer after it opens.                                     |\n| children               | ReactNode                                                                                                | -                    | Drawer content.                                                                 |\n| className              | string                                                                                                   | -                    | Class name for the drawer panel.                                                |\n| classNames             | `{ mask?: string; wrapper?: string; section?: string; dragger?: string }`                                | -                    | Semantic class names for internal drawer elements.                              |\n| defaultSize            | number \\| string                                                                                         | -                    | Default size for uncontrolled resizable drawer.                                 |\n| destroyOnHidden        | boolean                                                                                                  | false                | Unmount the drawer after it is fully closed.                                    |\n| drawerRender           | `(node: ReactNode) => ReactNode`                                                                         | -                    | Customize rendered drawer panel content.                                        |\n| focusTrap              | boolean                                                                                                  | -                    | Whether to trap focus inside the drawer.                                        |\n| focusTriggerAfterClose | boolean                                                                                                  | true                 | Whether to return focus to the trigger after closing.                           |\n| forceRender            | boolean                                                                                                  | false                | Render the drawer before it is opened.                                          |\n| getContainer           | HTMLElement \\| `() => HTMLElement` \\| string \\| false                                                    | `body`               | Return the mount node. Set to `false` to render inline.                         |\n| height                 | number \\| string                                                                                         | -                    | Deprecated. Use `size` for top or bottom placement.                             |\n| keyboard               | boolean                                                                                                  | true                 | Whether pressing Esc closes the drawer.                                         |\n| mask                   | boolean                                                                                                  | true                 | Whether to show the mask.                                                       |\n| maskClassName          | string                                                                                                   | -                    | Class name for the mask.                                                        |\n| maskClosable           | boolean                                                                                                  | true                 | Whether clicking the mask closes the drawer.                                    |\n| maskMotion             | CSSMotionProps                                                                                           | -                    | Motion config for the mask.                                                     |\n| maskStyle              | CSSProperties                                                                                            | -                    | Style for the mask.                                                             |\n| maxSize                | number                                                                                                   | -                    | Maximum size for a resizable drawer.                                            |\n| motion                 | CSSMotionProps \\| `(placement: Placement) => CSSMotionProps`                                             | -                    | Motion config for the drawer panel.                                             |\n| onClose                | `(event: MouseEvent \\| KeyboardEvent) => void`                                                           | -                    | Called when the drawer requests to close.                                       |\n| open                   | boolean                                                                                                  | false                | Whether the drawer is open.                                                     |\n| panelRef               | Ref<HTMLDivElement>                                                                                      | -                    | Ref for the drawer panel.                                                       |\n| placement              | `left` \\| `right` \\| `top` \\| `bottom`                                                                   | `right`              | Drawer placement.                                                               |\n| prefixCls              | string                                                                                                   | `rc-drawer`          | Class name prefix.                                                              |\n| push                   | boolean \\| `{ distance?: number \\| string }`                                                             | -                    | Push parent drawers when nested.                                                |\n| resizable              | boolean \\| `{ onResize?: (size: number) => void; onResizeStart?: (size: number) => void; onResizeEnd?: (size: number) => void }` | false                | Enable resizing and optional resize callbacks.                                  |\n| rootClassName          | string                                                                                                   | -                    | Class name for the root wrapper.                                                |\n| rootStyle              | CSSProperties                                                                                            | -                    | Style for the root wrapper.                                                     |\n| size                   | number \\| string                                                                                         | `378` for left/right | Drawer size. Controls width for left/right and height for top/bottom placement. |\n| style                  | CSSProperties                                                                                            | -                    | Style for the drawer panel.                                                     |\n| styles                 | `{ mask?: CSSProperties; wrapper?: CSSProperties; section?: CSSProperties; dragger?: CSSProperties }`    | -                    | Semantic styles for internal drawer elements.                                   |\n| width                  | number \\| string                                                                                         | -                    | Deprecated. Use `size` for left or right placement.                             |\n| zIndex                 | number                                                                                                   | -                    | Root wrapper z-index.                                                           |\n\nMouse and keyboard event handlers such as `onClick`, `onMouseEnter`, `onMouseLeave`, `onKeyDown`, and `onKeyUp` are passed to the drawer panel.\n\n## Development\n\n```bash\nnpm install\nnpm start\n```\n\nThe dumi site runs at `http://localhost:8000` by default.\n\nCommon commands:\n\n```bash\nnpm run lint\nnpm test\nnpm run tsc\nnpm run compile\n```\n\n## Release\n\n```bash\nnpm run prepublishOnly\n```\n\nThe release flow is handled by `@rc-component/np` through the `rc-np` command after the package build.\n\n## License\n\n@rc-component/drawer is released under the [MIT](./LICENSE) license.","users":{}}