{"_id":"@anupamsahoo/react-modal","_rev":"21-dba3c970ba032b29ae1f4c161f547301","name":"@anupamsahoo/react-modal","dist-tags":{"latest":"1.0.20"},"versions":{"1.0.0":{"name":"@anupamsahoo/react-modal","version":"1.0.0","keywords":["react","modal","tailwind","tailwindcss","dialog","stacked-modal","ui","component","headless","accessible"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.0","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"c04267bc1f696c14022869f6935b0f69c03fcda0","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.0.tgz","fileCount":7,"integrity":"sha512-iNvQxAl4TTxyLTH7I2R6UaMPONXwzWbvbv9u9ZBkb4EtfIpg0V5UIsJlqV351GCQ6XhQO+gv4p4v9TrUyw+cxA==","signatures":[{"sig":"MEQCIBszUHxK3tqPesqcRSlmSb8OuFrQew4XQ/3gmjapWbs8AiAWJE4r0tcn8D5Uu5GkyQu1xSMuYlKH/y+u4zs6LxtQFQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19674},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./styles.css":"./dist/styles.css"},"private":false,"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean && cp src/styles.css dist/styles.css"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react-dom":"^19.2.0","typescript":"^5.5.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.0_1763879710497_0.5441922949291436","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@anupamsahoo/react-modal","version":"1.0.1","keywords":["react","modal","tailwind","tailwindcss","dialog","stacked-modal","ui","component","headless","accessible"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.1","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"d615ffd36d52fa4e316ce8a295703ada7cceff46","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.1.tgz","fileCount":8,"integrity":"sha512-Wijc6mbpG9YYqaDOvIMo/HXIKiH47EUg6Vc7r0HXpt3i014O6GyzKtnGltJABJFvovXHzuDjDE9maD3QzGbThg==","signatures":[{"sig":"MEUCIQDzRZb8R9h1aDw6Ul94rQgBZTLJdLfAXAVwuSVwNgfH/QIgBcYl1I5yuYq2J3kKZliwYJSvdtemQ+mLPfWavvx0p6o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22132},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./styles.css":"./dist/styles.css"},"private":false,"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean && cp src/styles.css dist/styles.css"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react-dom":"^19.2.0","typescript":"^5.5.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.1_1763882934745_0.4704368742463694","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@anupamsahoo/react-modal","version":"1.0.2","keywords":["react","modal","tailwind","tailwindcss","dialog","stacked-modal","ui","component","headless","accessible"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.2","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"d2f351f126048e7c49bc534df5bfb5179c479e71","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.2.tgz","fileCount":8,"integrity":"sha512-UOREkDyu+Djssz7zAjsDvaG0YoTt0HANJkde6+cMBjNaOy/uXo1/Yn1GeYyvmCFNAvwgfEmlr9XVURTWh9vp3g==","signatures":[{"sig":"MEUCIEKVtSl3CPsfFLehChqven250zNL+E1gkzlfG2ygLFxmAiEA7DJZ+vIkVCWYy5qR4FuNYeM0c/Aj6b/nxRjIXDSvQKI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27251},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./styles.css":"./dist/styles.css"},"private":false,"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean && cp src/styles.css dist/styles.css"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react-dom":"^19.2.0","typescript":"^5.5.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.2_1763882972121_0.509861441811231","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@anupamsahoo/react-modal","version":"1.0.3","keywords":["react","modal","tailwind","tailwindcss","dialog","stacked-modal","ui","component","headless","accessible"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.3","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"2be76cbd31e824272fb25799e07a2a9c7768be77","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.3.tgz","fileCount":7,"integrity":"sha512-yPNBh1W6MhGVNAeOe6AMqB5kvrjbpXNMF9LDfhNZwn5dfnGQFmzvK7p0kmu9KT+8JcaKv4WhMTkqQzI3bnKgfg==","signatures":[{"sig":"MEQCIDDyxEJTXiJLV4wAuS85iocoxaXSGPwdTCfIYt744nQTAiAiPFLV529svjAIS68x40pAgiXwNaDc9O1nLfKNf4iYVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25359},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./styles.css":"./dist/styles.css"},"gitHead":"3ddf15fe8666af8e56e17687be48fe68d4608c1e","private":false,"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean && cp src/styles.css dist/styles.css"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react-dom":"^19.2.0","typescript":"^5.5.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.3_1763883658271_0.7495561802015325","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@anupamsahoo/react-modal","version":"1.0.5","keywords":["react","modal","tailwind","tailwindcss","dialog","stacked-modal","ui","component","headless","accessible"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.5","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"4e6c75313a39e62b0659b3248a6c27ba18ebd14d","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.5.tgz","fileCount":8,"integrity":"sha512-kqUQVdpi2Vd7luTMMMX/e0bFe+qHhP4dmxjHzL+f8ROPnGAPHZ2m0yutPQ8/nWVhgPPdoFwoauMMfS4ge1baug==","signatures":[{"sig":"MEUCIFWrTNdk9k5bMDcU5jdkRKAcgXiicwC1j1DfzgrttEIEAiEAvBOABlD5THw9hcRTVj1D/VU4fJoRLJ8lfRkHRM/jCNk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22463},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"aec97a65daf4f29143ed5106b2043b39e4a3c103","private":false,"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean && cp src/styles.css dist/styles.css"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react-dom":"^19.2.0","typescript":"^5.5.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.5_1763894161488_0.5947398496338168","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@anupamsahoo/react-modal","version":"1.0.6","keywords":["react","modal","tailwind","tailwindcss","dialog","stacked-modal","ui","component","headless","accessible"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.6","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"64c2b2ba0c4df34405c370dc85184651a2787d86","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.6.tgz","fileCount":8,"integrity":"sha512-j+9HxohhR+B/iUhZzfrqoS7vXIOZJUu0vK5DAKPlUI34AHyBnxRo8v+91GnsUIOnq4ZwF40By+w1Ahu7QrsZvQ==","signatures":[{"sig":"MEYCIQClgNk1O17ylD+9iJ8AUgsKXhTX8+/2FIc6yXNTw+U6SwIhANwUjEQOsiWnokjBcR61irj5xw7+c5J2AsCWkDlYTfnT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27162},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"0582d19d57647238315a3d86c10249c1d3f0d37b","private":false,"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean && cp src/styles.css dist/styles.css"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@anupamsahoo/react-modal":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react-dom":"^19.2.0","typescript":"^5.5.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.6_1763904742396_0.8346628165138006","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@anupamsahoo/react-modal","version":"1.0.7","keywords":["react","modal","tailwind","tailwindcss","dialog","stacked-modal","ui","component","headless","accessible"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.7","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"a5352f4707a7b79aa775d5c79553aa86d2dcff67","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.7.tgz","fileCount":8,"integrity":"sha512-uEsIg8zE2EzJw6ADddWv1Ce3TFx99I7Wp5qRUyKepCEuMsaSM5hVQUm+P90JzCoa2PAhk+BnQHHGMS67R5ObPw==","signatures":[{"sig":"MEUCIGHMuhvQVDcHWEc4JcN/RcQjsFU0tsOrFA7ecX95YEOOAiEAzNeAJukaUVOBd56Xddud7n5pEhcwBCNC5jQA5+t6PZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27162},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"c11c242ea59f68925024ee31c055180d6c6f96ab","private":false,"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean && cp src/styles.css dist/styles.css"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@anupamsahoo/react-modal":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react-dom":"^19.2.0","typescript":"^5.5.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.7_1763905007077_0.5582387771997406","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@anupamsahoo/react-modal","version":"1.0.8","keywords":["react","modal","tailwind","tailwindcss","dialog","stacked-modal","ui","component","headless","accessible"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.8","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"d52f37e7f79e7868e60d554371a7f192b91825ca","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.8.tgz","fileCount":8,"integrity":"sha512-Duo/DXW8Duskc3dvTwZTSWbmHI7+ydD5RFhfi+egodfPX+1xnJhqPAsZpznE9I0LhSMIwx4xvjLC59lknqjIFw==","signatures":[{"sig":"MEUCID+hR9T/JiMnhQxFGXeCI5yDB5k60Dg+ZXH0Fj2qHSPjAiEA6SUtMPqEIHwn8jxFA+EeIkhvdyV10VD0NuFWhOkGM68=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27162},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"36af8b44b8506b131d091953d7af2f0b62562d85","private":false,"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean && cp src/styles.css dist/styles.css"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@anupamsahoo/react-modal":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react-dom":"^19.2.0","typescript":"^5.5.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.8_1763905217637_0.09889792944283671","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@anupamsahoo/react-modal","version":"1.0.9","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.9","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"97d5571fe70b2fd4131a2fef4807cc7b7da28ebc","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.9.tgz","fileCount":8,"integrity":"sha512-IpyvkWtqpk6CB/dsI/IQUR+HjZDyOgbMtLwbcHD02nvkFpqPIgca3sYTe5PiZ0ts9AwZq42Vtd0+2rCIg09GWA==","signatures":[{"sig":"MEUCIQDe6bKcbRuhTHsrSmhGoRkbjoJsNwVp+AeBdJxbZiCjWQIgPp7hg+uxlmh4sDVaj86dsD1Vo75p3zSbLNFyk3hs10o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26518},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"e9b30e0a97030294ea65856a37900e6473ba8308","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.9_1763905790480_0.23878822518490983","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@anupamsahoo/react-modal","version":"1.0.10","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.10","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"2d455baade5b56ba6ea8457b2164dc5e09b60686","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.10.tgz","fileCount":7,"integrity":"sha512-HN/kl9EzcDbfS7vZtqtTYkSuA24eQflgOTLDdrY5/ezVpTwHMiX+vlOW/i7m1T4orsPfTDkHzaQNhF2sBWrW1g==","signatures":[{"sig":"MEUCIQDJ2ieF05gbbniXhiaQneih065On670g+0V11TZnrc+vQIgB69eKRfdbMgz6KeZLQHgW5p4lE3Lhd5o7t5GIDaKw/Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26970},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"e57aea52e6062468f64b56f62274e50afeeb219c","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.10_1763906767841_0.6495512349838632","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@anupamsahoo/react-modal","version":"1.0.11","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.11","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"20ce1ae6d3a8a10719496e6ab3d93b7f1705c8f3","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.11.tgz","fileCount":7,"integrity":"sha512-ZWVndKq4iGo7C0dPYaMDWJOJuuZBXBOZgIjplUE9Gv9inHrF12m7Clk21wdLrw5VghIjV3Yn8OrdX4ykv3JPnw==","signatures":[{"sig":"MEQCIFawM107ukVKKUK9WcvYj19c3uThxiRRSaMUt+xaq5BeAiA3o4sHfG2qkgevSqk+Cc5xDdztmd3NIDve0NdO00BUJw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26970},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"bf5e3c1d81d1979cfcb2c87094f5e1aabb186bc9","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.11_1763907301220_0.05073390546224421","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"@anupamsahoo/react-modal","version":"1.0.12","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.12","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"7a434008465b8db2156087c3a9f1098077ebe70e","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.12.tgz","fileCount":7,"integrity":"sha512-DMx8EmczITL66DwYmBjaYCLc8zjIN94MpWy0xXgYrVWb7TQE7emExDItUukua0ODPHEJeAUeryR2Hxq+oPsGCw==","signatures":[{"sig":"MEQCIFOp3d+S01gpEpSeZdBvISUraJI5bnfQ4MfndPflTnBWAiAvPJ31sc4icos3wk8JJwehQMwBVhum7+iMhWjZGHgKjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26587},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"4401c6d50250499a55129f3cb10a9ec8461e3e11","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.12_1763907426912_0.3659685640416137","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"@anupamsahoo/react-modal","version":"1.0.13","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.13","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"ec16cbb2fbf3639e330b6f9146aea6fa7f5b9f2e","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.13.tgz","fileCount":7,"integrity":"sha512-7t8Ny8gY8Oe3ovdAOCy5jwr9yV/1ze1C2/t6Xcg1fIh+oSK19wDiln4C9mU/IvTDPGJIr/S0rqpagQ7YpAuVUQ==","signatures":[{"sig":"MEUCIQDqDb+Vi1vIivrkQ1gMADiXd2NIJeLddcOO+IOSNkUvBwIgElXuAS1re8ilSGR6MLW8eIOs+TrS9tuJVWMGLRXw/64=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26625},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"d7a5029df09fe64edca16c6216eb6d109115c563","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.13_1763907652569_0.4305484861336222","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"@anupamsahoo/react-modal","version":"1.0.14","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.14","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"ca1ab3b9fa65c887ade575789ccab4ad053a5c81","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.14.tgz","fileCount":7,"integrity":"sha512-Jzluye+14t7h4LqpMzxpctmO+R1angPOMlvnPgGnk3RFAYFcEVDO0bztjmn7VBMEeWbNAwFhpkfKpFqg5Uk5Fg==","signatures":[{"sig":"MEYCIQDp2LhFD5mHIsslni72iEqkqOTpY1iv7mEB1VsKGwTlTAIhAI4b9fiSrL2MZrNsj5lFWLL6BcMvyQGKq51aLntONaS9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26629},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"0cd55542dc1323b4f5267c7365c54433f05f0246","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.14_1763907738384_0.9554317177331964","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"@anupamsahoo/react-modal","version":"1.0.15","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.15","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"4f8c745d2bc031cee2d8e9c3a410dd1d3dc9d7d6","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.15.tgz","fileCount":7,"integrity":"sha512-IcmmDLDsFL5xsuPyxj8tGy1z2s9imB5n/W2h+uoJiyvHSyk4BH1bjUB9WzZ/6mam/spiRIIFv6EzfiULUsbDpw==","signatures":[{"sig":"MEYCIQCf9OczlbS7JzTmdDz6BXioDtUVvAy+7I+cfpyKzKGp/AIhAOrduT0xKZL9ie15sPHpGpdKCqHz4z3EO3XuigExwCHy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26301},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"5285c0397420505f66b87d8d5ad5a8724e500904","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.15_1763908381137_0.5868523454785839","host":"s3://npm-registry-packages-npm-production"}},"1.0.16":{"name":"@anupamsahoo/react-modal","version":"1.0.16","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.16","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"01aef4a250ef2fd16a9e982a56aa8d73dfcfae8e","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.16.tgz","fileCount":7,"integrity":"sha512-B2Y3w3oNwKTpYPrCX3mtpmd4IPhrmuJHYLxSE8rS1zOyHZpO6T+lxH6c5Z9loTKzOWVXtqgUYC5g7TcileY/3A==","signatures":[{"sig":"MEYCIQDfpQAfzmXfCTkUS9G3okNl3KaLUXD4s2j6FmzV2ze3twIhAMuH/2P9sEVzf/E0TuybmCwSpWbkfL2hOoEINL/wrSIl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26303},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"82c822b45bc4daa1c795a466b5c89225b7bd7165","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.16_1763908456975_0.5187502590823336","host":"s3://npm-registry-packages-npm-production"}},"1.0.17":{"name":"@anupamsahoo/react-modal","version":"1.0.17","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.17","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"1fe04d15f80a03d395d392bbf007264b77d3d7fa","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.17.tgz","fileCount":7,"integrity":"sha512-58qJGDGyHehWTJkdYBI5J/9Brk7LE6nC28xSNQUpQ2fh5j3OklZPrw5TLU/vowrvSMH4ahm2rg9M6zfXAJllmA==","signatures":[{"sig":"MEYCIQDsFT6VnKvxPkCNHiOORaMP2QkmDYNUWqc3H4JZ4g//XgIhAOt4aa6E9TdrLC7Yuref6bzQ0QN1DcFOBUro5GeB161a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26303},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"872929e4dab8270108cc6e35dd3cd2e0b08f6a0f","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.17_1763908562974_0.817140023169985","host":"s3://npm-registry-packages-npm-production"}},"1.0.18":{"name":"@anupamsahoo/react-modal","version":"1.0.18","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.18","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"dab2b9220bf209c69a533d88736a7e270a886067","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.18.tgz","fileCount":7,"integrity":"sha512-YBJIsyd3C/u957ETIv0g3hkGMMLXIbp5H0LNlE13waSNpzvMRWitwWum+tf+tH6vIIYkzDbPwYuQEPnjS9ZYaA==","signatures":[{"sig":"MEYCIQCToYbip5Z9k1i0gHdQK9sO4CO8HXgSaq2kblGMa1uYnAIhAJjuVi8ihC8zzicbOy0f00/CFO4WTk2bMnriZkVrEusk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26375},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"8774fb7f84315760b4b757510d303473196fac25","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.18_1763911884100_0.789087192868404","host":"s3://npm-registry-packages-npm-production"}},"1.0.19":{"name":"@anupamsahoo/react-modal","version":"1.0.19","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"author":{"name":"Anupam Sahoo"},"license":"MIT","_id":"@anupamsahoo/react-modal@1.0.19","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"dist":{"shasum":"26cce1251d252169fef91b8f93edb502af627a58","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.19.tgz","fileCount":7,"integrity":"sha512-ImAdXgG4qZCFjPVmFYxMxjTrBY/ILQ5LM6xV0Yz3igCYJ/jtsOkdY2LUlTBNqCjgQp6ctaIiwNJZGlIz3XhYmg==","signatures":[{"sig":"MEUCIQCfhBN4rpHpIbTtakPPNtp1nGh8qFgnL+Uh51zwTkbYRwIgCR7cBj+ktmk7HVsKqCaTTI2gZpRElTI0BUR1GG5DhQA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26478},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":{"default":"./dist/styles.css"}},"gitHead":"ef2dbf5550735279363d7a2ab167431fa524db55","private":false,"scripts":{"build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","clean":"rm -rf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"_npmVersion":"10.9.4","description":"A stacked and themable React modal built for Tailwind CSS v4","directories":{},"sideEffects":["./dist/styles.css"],"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.0","tailwindcss":"^4.0.0","@types/react":"^18.3.0","@types/react-dom":"^18.3.0"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-modal_1.0.19_1763913091747_0.47618164771166316","host":"s3://npm-registry-packages-npm-production"}},"1.0.20":{"name":"@anupamsahoo/react-modal","version":"1.0.20","description":"A stacked and themable React modal built for Tailwind CSS v4","author":{"name":"Anupam Sahoo"},"license":"MIT","private":false,"sideEffects":["./dist/styles.css"],"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"},"./styles.css":{"default":"./dist/styles.css"}},"keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"scripts":{"clean":"rm -rf dist","build":"npm run clean && tsup src/index.ts --format cjs,esm --dts && cp src/styles.css dist/styles.css","prepublishOnly":"npm run build"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":">=4.0.0"},"devDependencies":{"@types/react":"^18.3.0","@types/react-dom":"^18.3.0","react":"^18.3.1","react-dom":"^18.3.1","tailwindcss":"^4.0.0","tsup":"^8.0.1","typescript":"^5.5.0"},"_id":"@anupamsahoo/react-modal@1.0.20","gitHead":"7ec389c0279df2c88e0769621e877e46d5534642","_nodeVersion":"22.21.1","_npmVersion":"11.5.0","dist":{"integrity":"sha512-kNtFoLeu6UYDK1sDN671fTihV3LgBiQzpmjYDidRHGm55+NMy19GKlf5I/YD3nQFldh+Bd3M5vDAxmM9vQWvFw==","shasum":"4047af3927a311f133e0c6cbf1bd807795ddced3","tarball":"https://registry.npmjs.org/@anupamsahoo/react-modal/-/react-modal-1.0.20.tgz","fileCount":7,"unpackedSize":31023,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC4Hd8g/CpQ7vGQq2jxUdBgyxhZF9sOCCtEkKELbwKUDAIhAMYdRGqZSMFKfzRuO/yS5TYmdVFrNm2WdCM3/pbcY93S"}]},"_npmUser":{"name":"anupamsahoo","email":"anupammithu@gmail.com"},"directories":{},"maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-modal_1.0.20_1763967368896_0.28743368490579324"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-23T06:35:10.395Z","modified":"2025-11-24T06:56:09.281Z","1.0.0":"2025-11-23T06:35:10.680Z","1.0.1":"2025-11-23T07:28:55.000Z","1.0.2":"2025-11-23T07:29:32.326Z","1.0.3":"2025-11-23T07:40:58.469Z","1.0.5":"2025-11-23T10:36:01.673Z","1.0.6":"2025-11-23T13:32:22.600Z","1.0.7":"2025-11-23T13:36:47.366Z","1.0.8":"2025-11-23T13:40:17.828Z","1.0.9":"2025-11-23T13:49:50.645Z","1.0.10":"2025-11-23T14:06:08.056Z","1.0.11":"2025-11-23T14:15:01.425Z","1.0.12":"2025-11-23T14:17:07.125Z","1.0.13":"2025-11-23T14:20:52.757Z","1.0.14":"2025-11-23T14:22:18.570Z","1.0.15":"2025-11-23T14:33:01.344Z","1.0.16":"2025-11-23T14:34:17.169Z","1.0.17":"2025-11-23T14:36:03.226Z","1.0.18":"2025-11-23T15:31:24.334Z","1.0.19":"2025-11-23T15:51:31.938Z","1.0.20":"2025-11-24T06:56:09.086Z"},"author":{"name":"Anupam Sahoo"},"license":"MIT","keywords":["react","modal","tailwind","tailwindcss","tailwindcss-v4","dialog","stacked-modal","ui","component","headless","accessible","shadcn","shadcn-ui","nextjs","vite"],"description":"A stacked and themable React modal built for Tailwind CSS v4","maintainers":[{"name":"anupamsahoo","email":"anupammithu@gmail.com"}],"readme":"# @anupamsahoo/react-modal\n\nA clean, modern and fully reusable **React modal component** built for **Tailwind CSS v4**, with support for stacked modals, variants and scrollable bodies.\n\n- Stacked modals (only the top layer reacts to ESC / overlay)\n- Variants: `default`, `danger`, `success`, `info`\n- Scrollable body with fixed header & footer\n- Compound API: `<Modal> <ModalHeader> <ModalBody> <ModalFooter>`\n- No provider or wrapper required\n- Works with Next.js, Vite, CRA, Inertia, etc.\n\n---\n\n---\n\n## [`Demo`](https://anupamsahoo.github.io/react-modal-demo/)\n\n---\n\n## Installation\n\n```bash\nnpm install @anupamsahoo/react-modal\n# or\nyarn add @anupamsahoo/react-modal\n# or\npnpm add @anupamsahoo/react-modal\n```\n\n## Basic Usage\n\n```js\nimport React from \"react\";\nimport {\n  Modal,\n  ModalHeader,\n  ModalBody,\n  ModalFooter,\n} from \"@anupamsahoo/react-modal\";\n\nimport \"@anupamsahoo/react-modal/styles.css\";\n\nexport default function Example() {\n  const [open, setOpen] = React.useState(false);\n\n  return (\n    <>\n      <button\n        onClick={() => setOpen(true)}\n        className=\"rounded-md bg-slate-900 px-3 py-1.5 text-white\"\n      >\n        Open modal\n      </button>\n\n      <Modal open={open} onOpenChange={setOpen}>\n        <ModalHeader>\n          <h2 className=\"text-lg font-semibold\">Example modal</h2>\n        </ModalHeader>\n\n        <ModalBody>This modal is coming from an npm package 🎉</ModalBody>\n\n        <ModalFooter>\n          <button\n            className=\"rounded-md border px-3 py-1.5 text-sm\"\n            onClick={() => setOpen(false)}\n          >\n            Close\n          </button>\n        </ModalFooter>\n      </Modal>\n    </>\n  );\n}\n```\n\n## Variants\n\nUse the `variant` prop to change the appearance:\n\n```js\n<Modal\n  open={open}\n  onOpenChange={setOpen}\n  variant=\"danger\" // default | danger | success | info\n>\n  <ModalHeader>\n    <h2 className=\"text-lg font-semibold\">Delete User</h2>\n    <p className=\"text-sm text-muted-foreground\">\n      This action cannot be undone.\n    </p>\n  </ModalHeader>\n\n  <ModalBody>Are you sure you want to delete this user?</ModalBody>\n\n  <ModalFooter>\n    <button onClick={() => setOpen(false)}>Cancel</button>\n    <button className=\"bg-red-600 px-3 py-1.5 text-white rounded\">\n      Delete\n    </button>\n  </ModalFooter>\n</Modal>\n```\n\n#### Available values:\n\n```bash\n\"default\" | \"danger\" | \"success\" | \"info\"\n```\n\n## Modal Sizes\n\n```js\n<Modal size=\"sm\" />\n<Modal size=\"md\" />\n<Modal size=\"lg\" />     // default\n<Modal size=\"xl\" />\n<Modal size=\"full\" />\n```\n\n### Animations\n\n```js\n<Modal animation=\"scale\" />       // default\n<Modal animation=\"slide-up\" />\n<Modal animation=\"slide-down\" />\n<Modal animation=\"slide-left\" />\n<Modal animation=\"slide-right\" />\n<Modal animation=\"none\" />\n```\n\n### Scrollable Content\n\nThe modal body automatically becomes scrollable when the content is long.\n\n```js\n<Modal open={open} onOpenChange={setOpen} size=\"xl\">\n  <ModalHeader>\n    <h2>Users</h2>\n  </ModalHeader>\n\n  <ModalBody>\n    {Array.from({ length: 50 }).map((_, i) => (\n      <div key={i} className=\"border-b py-1\">\n        User {i + 1}\n      </div>\n    ))}\n  </ModalBody>\n</Modal>\n```\n\nNo extra configuration required\n\n### useModalClose() Hook\n\nClose the modal from any component inside:\n\n```js\nimport { useModalClose } from \"@anupamsahoo/react-stacked-modal\";\n\nfunction InnerComponent() {\n  const close = useModalClose();\n\n  return (\n    <button\n      onClick={close}\n      className=\"bg-slate-900 px-3 py-1.5 text-white rounded\"\n    >\n      Close modal\n    </button>\n  );\n}\n```\n\n### Stacked Modals (Automatic)\n\nOnly the **top modal** reacts to `ESC` and overlay click:\n\n```js\nconst [firstOpen, setFirstOpen] = React.useState(false);\nconst [secondOpen, setSecondOpen] = React.useState(false);\n\n<>\n  <button onClick={() => setFirstOpen(true)}>Open First</button>\n\n  <Modal open={firstOpen} onOpenChange={setFirstOpen}>\n    <ModalHeader>\n      <h2>First Modal</h2>\n    </ModalHeader>\n\n    <ModalBody>\n      <button onClick={() => setSecondOpen(true)}>Open Second Modal</button>\n    </ModalBody>\n  </Modal>\n\n  <Modal\n    open={secondOpen}\n    onOpenChange={setSecondOpen}\n    size=\"sm\"\n    variant=\"info\"\n  >\n    <ModalHeader>\n      <h2>Second Modal (top)</h2>\n    </ModalHeader>\n\n    <ModalBody>I am stacked above the first modal.</ModalBody>\n  </Modal>\n</>;\n```\n\n- ESC closes only the top modal\n- Overlay closes only the top modal\n- Z-index handled automatically\n\n### API\n\n`<Modal />` Props\n| Prop | Type | Default | Description |\n|----------------------|----------------------------------------|-----------|--------------------------------|\n| `open` | `boolean` | required | Controls visibility |\n| `onOpenChange` | `(open: boolean) => void` | required | Called when modal should close |\n| `size` | `sm` · `md` · `lg` · `xl` · `full` | `lg` | Modal size |\n| `animation` | `scale` · `slide-up` · `slide-down` · `slide-left` · `slide-right` · `none` | `scale` | Animation style |\n| `variant` | `default` · `danger` · `success` · `info` | `default` | Visual variant |\n| `showCloseIcon` | `boolean` | `true` | Show close icon (×) |\n| `disableOutsideClose`| `boolean` | `false` | Prevent overlay close |\n| `disableEscClose` | `boolean` | `false` | Prevent ESC close |\n\n### Tailwind v4 Setup (RECOMMENDED)\n\nYour modal is framework agnostic and uses CSS variables for colors.\nPaste this in `globals.css/app.css` or any root css\n\n#### Light theme (Tailwind default)\n\n```css\n:root {\n  /* Base colors */\n  --background: #ffffff;\n  --foreground: #0f172a;\n  --card: #ffffff;\n  --card-foreground: #0f172a;\n  --border: #e2e8f0;\n  --muted: #f1f5f9;\n  --muted-foreground: #64748b;\n\n  /* Modal surface + text */\n  --am-modal-bg: #ffffff;\n  --am-modal-fg: #0f172a;\n  --am-modal-border: #e2e8f0;\n\n  /* Header + footer */\n  --am-modal-header-bg: transparent;\n  --am-modal-header-border: #e2e8f0;\n  --am-modal-footer-border: #e2e8f0;\n\n  /* Overlay (40% opacity and blur from component) */\n  --am-modal-overlay-bg: rgba(0, 0, 0, 0.4);\n\n  /* Semantic variants */\n  --am-modal-danger-border: #ef4444;\n  --am-modal-success-border: #22c55e;\n  --am-modal-info-border: #0ea5e9;\n\n  /* Close button */\n  --am-modal-close-bg: #f1f5f9;\n  --am-modal-close-bg-hover: #e2e8f0;\n  --am-modal-close-fg: #0f172a;\n\n  /* Radius sync */\n  --am-modal-radius: 1rem;\n}\n```\n\n#### Dark mode\n\n```css\n.dark {\n  /* Base colors */\n  --background: #020617;\n  --foreground: #f8fafc;\n  --card: #020617;\n  --card-foreground: #f8fafc;\n  --border: #334155;\n  --muted: #1e293b;\n  --muted-foreground: #94a3b8;\n\n  /* Modal surface + text */\n  --am-modal-bg: #020617;\n  --am-modal-fg: #f8fafc;\n  --am-modal-border: #334155;\n\n  /* Header + footer */\n  --am-modal-header-bg: transparent;\n  --am-modal-header-border: #334155;\n  --am-modal-footer-border: #334155;\n\n  /* Overlay (40% opacity + dark tone) */\n  --am-modal-overlay-bg: rgba(2, 6, 23, 0.4);\n\n  /* Semantic variants */\n  --am-modal-danger-border: #f43f5e;\n  --am-modal-success-border: #4ade80;\n  --am-modal-info-border: #38bdf8;\n\n  /* Close button */\n  --am-modal-close-bg: rgba(255, 255, 255, 0.08);\n  --am-modal-close-bg-hover: rgba(255, 255, 255, 0.15);\n  --am-modal-close-fg: #f8fafc;\n\n  /* Radius sync */\n  --am-modal-radius: 1rem;\n}\n```\n\n### Requirements\n\n- React 18+\n- Tailwind CSS v4\n- Works with:\n  - Next.js\n  - Vite\n  - Laravel + Inertia\n  - Any React app\n\n## Version Updates / Changelog\n\n#### v1.0.0 → v1.0.19 — Internal development builds (not published to npm)\n\nKey work done during internal versions:\n\n- Built core React + Portal modal system\n- Added stacking system (top modal only closes)\n- Implemented ESC + overlay close handling\n- Added scroll lock for <body>\n- Created compound components: ModalHeader, ModalBody, ModalFooter\n- Added animations: scale, slide-up, slide-down, slide-left, slide-right, none\n- Added variants: default, danger, success, info\n- Implemented size system: sm | md | lg | xl | full\n- Introduced CSS variable theming (--am-modal-\\*)\n- Removed hard Tailwind color dependency\n- Added light & dark mode support\n- Added overlay blur + opacity control\n- Added floating close button\n- Ensured React 18 / 19 compatibility\n- Built ESM + CJS with tsup\n- Exported dist/ + styles.css\n- Tested with Next.js, Inertia, Vite\n- Created demo & documentation\n\n### 1.0.20 — Official Public Release\n\n- Official public npm release\n- Fully framework-agnostic color system\n- Tailwind v4 compatible\n- Light & dark theme support\n- Overlay blur with 0.4 opacity\n- Modal sizes: sm | md | lg | xl | full\n- Animations:\n  - scale\n  - slide-up\n  - slide-down\n  - slide-left\n  - slide-right\n  - none\n- Variants:\n  - default\n  - danger\n  - success\n  - info\n- ESC + overlay handling for top modal only\n- Scroll lock on <body>\n- useModalClose() hook\n- Working with:\n  - Next.js\n  - Inertia\n  - Vite\n\n### License\n\nMIT — Free for personal and commercial use\n\n© Anupam Sahoo\n","readmeFilename":"README.md"}