{"_id":"@academix-admin/modal-sheet","_rev":"10-93397010426fd68b54cc899423e87268","name":"@academix-admin/modal-sheet","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@academix-admin/modal-sheet","version":"0.1.0","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.0","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"4a4a7d69af836a5807c8465eda5e0a8f9a7571f1","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.0.tgz","fileCount":9,"integrity":"sha512-JVBubNfAKgs1WWPeYyV1KZvrjogXipVYHniYZi+JfRNjGy2GMjQnmsH2WOSmUPkrihWRorC7pUJGpRbDls/EYQ==","signatures":[{"sig":"MEQCIFI3FfWig2pxWC2vz1uPexOfnHKv8cZxsBS1XayMslg/AiBoNbuRPwWkYqm/h+axFxhxZSPzfQL8g0MugRoEkgvNDQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":116606},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"22fcc5fea088a5b2c708d09013f62309af1e9b79","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.0_1784657082428_0.9242810339647665","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@academix-admin/modal-sheet","version":"0.1.1","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.1","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"03b41f6e6aeff824a5519f7f435a7229cce19232","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.1.tgz","fileCount":9,"integrity":"sha512-J/uzeXKOMOtqdM/99zN/Z3eU1kyTYfPtBGCh4b0gAzyOVR8yfzFvoHqPAcyBPewOrrqb4nfbOLy0oc7Yhecq5w==","signatures":[{"sig":"MEQCICFCIN7hAmbURXBAsRECFbE6jRyBGEeU0fxLu8OhXRGrAiAxzYfEsZO0LqdMt1rQZ+WqGZk221osWimMdK/nspoWMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120736},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"307d84264ef69eb4dd3fff868313391eb52d7247","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.1_1787527277857_0.7972316407339555","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@academix-admin/modal-sheet","version":"0.1.2","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.2","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"db2aa1934552e053f9efa963e43215937cedcda3","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.2.tgz","fileCount":9,"integrity":"sha512-CgzvrWYgHL/7JJUb+X3kqHro+Zh++KnC5VNi9Tc0qAskdf61dT0SaeKJfPfUXeAUIl3AKlu/LbsQ0prhCDpmSw==","signatures":[{"sig":"MEUCIQDzU1jsqJ6rolEKXOJ/mbNBDEXjVVtNZX+BvBpoS9/N4wIgINUk3JhEbvkEexzpjRaWodZtNJBb20m/rKaoSEqXTi8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133850},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"6f7e9110bb7a6b991c8df0ddfbe046b9089874dc","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.2_1787833195684_0.06549949279525236","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@academix-admin/modal-sheet","version":"0.1.3","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.3","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"78ef509ff03d60d304b8620c2cbf0410e0d5aead","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.3.tgz","fileCount":9,"integrity":"sha512-xQdrujFK135UY9Zbev8rBjLYmuF9YH7MJwP+s6ac/ZmvLZbwHAmPyOa6PTTcJDslTO2Nmmgi0gDkoHjxuiFa+w==","signatures":[{"sig":"MEUCIByEEwuHaKRWsBXnJEu8qNSsuqnL5RzKGZJOAcpFZjDnAiEA0yWUMoXhWo3ytVP/0iofPbkNLd5/5bk5gUqggiqSOhc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138587},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"11055a497625cfd865ad109fd5fd16ada98b363b","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.3_1787841354034_0.7135004788903152","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@academix-admin/modal-sheet","version":"0.1.4","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.4","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"b93aaa2cfcd39ae6aa24e24d91495ee1bb685b07","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.4.tgz","fileCount":9,"integrity":"sha512-M6yxIbW8i+qhk5ueE0rJ0Vq+5nR9viv9AR/gA0LTRkBxMV7/zY3kr3p3eN+PeEDmVcs8xzflnsVk8n5f36H9aQ==","signatures":[{"sig":"MEQCIAamlQ010/pPOjI3r65dgOPMCecniiMOkolL0ABeWv46AiBNoK58tFm8e72aHfpRtACAal8YYTyTJCNeACMxz72RnA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":136341},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"11055a497625cfd865ad109fd5fd16ada98b363b","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.4_1787855059103_0.4897654816392738","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@academix-admin/modal-sheet","version":"0.1.5","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.5","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"79b0433127010f9fdda5d1dbe91f321ce076da14","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.5.tgz","fileCount":9,"integrity":"sha512-gywDzN3YmzIBXCIx4YFPTCD3UXAJ8RAWU9QpYzoDUxnN9IZoEN/AGWr1hE+MHt52+IHHcCL2bAbV8nFxxGlMLQ==","signatures":[{"sig":"MEUCIQDID/uXSCY4lf0WL8bXNb99eQA4eweAFxZKhPVHTU0F5wIgZjxMIKNNKcnhxBGz1yNlMCQbNcZiE9ghWCBqMMQkoLk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141227},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"1e9b9d84bbdc92ade3df370d73a75871d68b4504","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.5_1787858246605_0.2107461349642532","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@academix-admin/modal-sheet","version":"0.1.6","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.6","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"54901c212cb4c07ebde6fb6148d0276dd84c3a00","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.6.tgz","fileCount":9,"integrity":"sha512-RDmVjOt2QTVc/kkVMCNEVsX/n33PPnyImVB+h8m9cYyT0DAOqCDmURZB3Ogh4O0jfV+gG8doOxYg3W6RLVwz+Q==","signatures":[{"sig":"MEYCIQDLL9dbzVHcZcouRu/ZMGT7CyVozuOZutXq1wCRuP/YawIhANvscuAWSoSSaaKYfzf0TWOr+R+ZLhwoDwxE/JUa7ZrJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155426},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"512d3360857ffb72091412007193cc6602af98d1","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.6_1787861924790_0.15199700478391098","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@academix-admin/modal-sheet","version":"0.1.7","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.7","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"95888d739fb90a2c8c70ca6dd5b4b1e879f69743","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.7.tgz","fileCount":9,"integrity":"sha512-a6tBxabCoi29aw+W7/686jSjgaSlbvYVpLAS8WU0zuIM/236nN6pgM1B3/x6rcaZSSbu7rNHs3vLubknC+/i3g==","signatures":[{"sig":"MEUCIBz6L85JDwO2GeCvXaH2xjYa8+eSzR4pBtq5RVtRB9BGAiEAuFhI0JymuiG6lOlThY3+H3EnH0Tbg5YvDD71slpmM5I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161806},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"46d2bef24d8c525fe733ab3d3e0ac46f5e220108","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.7_1787865071213_0.5839290351027704","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@academix-admin/modal-sheet","version":"0.1.8","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"author":{"name":"Academix"},"license":"MIT","_id":"@academix-admin/modal-sheet@0.1.8","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"dist":{"shasum":"e9043241c6a292e69d44d7f60e10f8af4039d26d","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.1.8.tgz","fileCount":9,"integrity":"sha512-OtUttre7yyjkcYqN59SFqxlVyeALALrCb9MC3MC1rCo/sL39lkj82YKswZY7Diz27iCFnl5DV60xozCA2jaM8g==","signatures":[{"sig":"MEYCIQChlaeKT3s3af/CQ+N5eWIwYMs3Yd9A4OrPOoBEUiWWrwIhAOcfxvlVCc0rO1Vc/tsSxXLnIhi8I44ieMERbDNku5bn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137991},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"b5a2b409d2400fa8c6e04c6054d5a7db9780f7d9","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"repository":{"url":"git+https://github.com/academix-admin/academix-ui.git","type":"git","directory":"packages/modal-sheet"},"_npmVersion":"11.13.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","motion":"^12.23.24","rimraf":"^6.0.1","react-dom":"^18.3.1","typescript":"^5.9.3","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","motion":">=11.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/modal-sheet_0.1.8_1787866861986_0.9162180668888145","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@academix-admin/modal-sheet","version":"0.2.0","description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"license":"MIT","author":{"name":"Academix"},"repository":{"type":"git","url":"git+https://github.com/academix-admin/academix-ui.git","directory":"packages/modal-sheet"},"homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"scripts":{"build":"tsup","clean":"rimraf dist","dev":"tsup --watch","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit"},"peerDependencies":{"motion":">=11.0.0","react":">=18.0.0","react-dom":">=18.0.0"},"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.0.0","motion":"^12.23.24","react":"^18.3.1","react-dom":"^18.3.1","rimraf":"^6.0.1","tsup":"^8.3.5","typescript":"^5.9.3"},"publishConfig":{"access":"public"},"dependencies":{"@academix-admin/overlay-route":"^0.1.0"},"gitHead":"2b88aaf23c732b09086c873f38898446da1d47bb","_id":"@academix-admin/modal-sheet@0.2.0","_nodeVersion":"24.15.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-VgITfobbcAP16JnRziB4P0/JUGUTnZmRipwcFIUFwN2ZiVCf73NHWSQBn5vyqugOtk+HEvnQ2yD1bhEpTSxTag==","shasum":"694b6b81aababb73addf9d9ac505df91107be14e","tarball":"https://registry.npmjs.org/@academix-admin/modal-sheet/-/modal-sheet-0.2.0.tgz","fileCount":9,"unpackedSize":146936,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDCT7xQIW2SZsTemZhkEUb0lGFKMPfdTEM0JCzRrOW5UwIgQ2iiLM1sLTYcpfm9sL3HmVLYzV0r5f1FI8DmrU6Bzoc="}]},"_npmUser":{"name":"academix-group","email":"academix.tech4u@gmail.com"},"directories":{},"maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/modal-sheet_0.2.0_1788356495791_0.3702050517578006"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-21T18:04:42.301Z","modified":"2026-09-02T13:41:36.126Z","0.1.0":"2026-07-21T18:04:42.563Z","0.1.1":"2026-08-23T23:21:17.999Z","0.1.2":"2026-08-27T12:19:55.830Z","0.1.3":"2026-08-27T14:35:54.209Z","0.1.4":"2026-08-27T18:24:19.247Z","0.1.5":"2026-08-27T19:17:26.747Z","0.1.6":"2026-08-27T20:18:44.946Z","0.1.7":"2026-08-27T21:11:11.356Z","0.1.8":"2026-08-27T21:41:02.143Z","0.2.0":"2026-09-02T13:41:35.916Z"},"bugs":{"url":"https://github.com/academix-admin/academix-ui/issues"},"author":{"name":"Academix"},"license":"MIT","homepage":"https://github.com/academix-admin/academix-ui/tree/main/packages/modal-sheet#readme","keywords":["react","bottom-sheet","modal","sheet","drawer","motion","gestures","snap-points"],"repository":{"type":"git","url":"git+https://github.com/academix-admin/academix-ui.git","directory":"packages/modal-sheet"},"description":"A flexible, gesture-driven bottom-sheet / modal for React with snap detents, built on Motion.","maintainers":[{"name":"academix-group","email":"academix.tech4u@gmail.com"}],"readme":"# @academix-admin/modal-sheet\n\nA flexible, gesture-driven **bottom sheet / modal** for React, built on\n[Motion](https://motion.dev). Drag to dismiss, snap detents, keyboard avoidance,\nsafe-area aware, and a clean compound-component API.\n\n- 👆 Drag-to-dismiss with velocity + distance thresholds\n- 📐 Detents: `content` (fit children), `default`, `full`\n- ⌨️ `avoidKeyboard` for mobile inputs\n- 🎨 Fully themeable container / header / content / backdrop\n- 🧩 Compound API: `Sheet.Container` / `Sheet.Header` / `Sheet.Content` / `Sheet.Backdrop`\n- 🛡️ SSR-safe (`\"use client\"`)\n\n## Install\n\n```bash\nnpm install @academix-admin/modal-sheet\n# peer deps\nnpm install react react-dom motion\n```\n\n> `motion` (v11+) is a **peer dependency** so your app controls the version and\n> shares a single Motion context.\n\n## Usage\n\n```tsx\n'use client';\nimport { useState } from 'react';\nimport { Sheet } from '@academix-admin/modal-sheet';\n\nexport default function Example() {\n  const [open, setOpen] = useState(false);\n\n  return (\n    <>\n      <button onClick={() => setOpen(true)}>Open sheet</button>\n\n      <Sheet isOpen={open} onClose={() => setOpen(false)} detent=\"content\">\n        <Sheet.Container backgroundColor=\"#fff\" maxWidth=\"500px\">\n          <Sheet.Header>\n            <h3 style={{ padding: 16 }}>Title</h3>\n          </Sheet.Header>\n          <Sheet.Content>\n            <div style={{ padding: 16 }}>Your content…</div>\n          </Sheet.Content>\n        </Sheet.Container>\n        <Sheet.Backdrop onTap={() => setOpen(false)} />\n      </Sheet>\n    </>\n  );\n}\n```\n\n## `<Sheet>` props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `isOpen` | `boolean` | — | **Required.** Open/closed state. |\n| `onClose` | `() => void` | — | **Required.** Called on dismiss. |\n| `detent` | `'content' \\| 'default' \\| 'full'` | `'content'` | Height behaviour. |\n| `duration` | `number` | `0.22` | Animation duration (seconds). |\n| `ease` | `string` | `'easeOut'` | Animation easing. |\n| `dragVelocityThreshold` | `number` | `500` | Velocity to trigger close. |\n| `dragCloseThreshold` | `number` | `0.6` | Fraction dragged before close. |\n| `disableDrag` | `boolean` | `false` | Disable drag gestures. |\n| `disableDismiss` | `boolean` | `false` | Prevent closing entirely. |\n| `avoidKeyboard` | `boolean` | `false` | Lift above the on-screen keyboard. |\n| `maxHeight` | `string \\| number` | — | Initial-position height hint (match `Container`). |\n| `mountPoint` | `Element` | `document.body` | Portal target. |\n| `onOpenStart` / `onOpenEnd` | `() => void` | — | Open animation lifecycle. |\n| `onCloseStart` / `onCloseEnd` | `() => void` | — | Close animation lifecycle. |\n\n### Sub-components\n\n- **`Sheet.Container`** — the sheet surface. Props: `backgroundColor`,\n  `borderRadius`, `boxShadow`, `maxHeight`, `minHeight`, `maxWidth`,\n  `paddingBottom` (defaults to `env(safe-area-inset-bottom)`), plus `style` /\n  `className` / `id`.\n- **`Sheet.Header`** — a drag handle region. Props: `disableDrag`, `style`,\n  `className`.\n- **`Sheet.Content`** — scrollable body. Props: `disableScroll`, `scrollStyle`,\n  `disableDrag`, `style`, `className`.\n- **`Sheet.Backdrop`** — the dimmed overlay. Props: `backgroundColor`, `onTap`.\n\nAll prop/interface types (`SheetProps`, `SheetContainerProps`, `SheetDetent`, …)\nare exported.\n\n## License\n\nMIT © Academix\n","readmeFilename":"README.md"}