{"_id":"@delaroche/hrnet-modal","_rev":"10-0c16325a5e521bb38ee89ec8f455598b","name":"@delaroche/hrnet-modal","dist-tags":{"latest":"1.3.0"},"versions":{"0.1.0":{"name":"@delaroche/hrnet-modal","version":"0.1.0","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@0.1.0","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/hrnet-modal#readme","bugs":{"url":"https://github.com/DanickDela/hrnet-modal/issues"},"dist":{"shasum":"61de761f2d12bc6cf591496ffa72b13562a04fac","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-0.1.0.tgz","fileCount":4,"integrity":"sha512-bCE6QVij5kaUSOQL678orZOIbnkYtfu5WBQbwhBnbxO/rpzFKYIa+mDBQphnkAUuyzptCMAhQZRw8UkUWq/vLw==","signatures":[{"sig":"MEUCIGLBHhRsyLY+vHPewDSL4/AnYFG74cjgjHeQCZVxUwN0AiEA+pKkL0AbLkSaQvMiId9uICHGQoq+slkSAZbCtRc2HZw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80330},"main":"dist/hrnet-modal.umd.cjs","module":"dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/style.css"},"scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/hrnet-modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","sass-embedded":"^1.99.0","@vitejs/plugin-react":"^6.0.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_0.1.0_1777274380546_0.8242522791649025","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@delaroche/hrnet-modal","version":"0.1.1","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@0.1.1","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/HRnet_modal#readme","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"dist":{"shasum":"5ec6659ce1290e3156540d7ddbfe398d68092730","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-0.1.1.tgz","fileCount":5,"integrity":"sha512-d0tMFt+Nnq57iwdwGxI0zAY8uWLlCGzYQrAX5pc2yir2P0J509CjOp6ysJtl+O/L3e9f9gX1bizlNPqTZSUVMw==","signatures":[{"sig":"MEYCIQCe2lnQ225hu7YyBofIwODNzgEya62MHfT1CNWRyD14mAIhAImX04dKkIBCNcNxA1KqC9rxuYCnqlC/EFz2nuwGvTW3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80209},"main":"./dist/hrnet-modal.umd.js","module":"./dist/hrnet-modal.mjs","exports":{".":{"import":"./dist/hrnet-modal.mjs","require":"./dist/hrnet-modal.umd.js"},"./style.css":"./dist/hrnet-modal.css"},"gitHead":"5e0487ba13400471c8f19a58cce798c6fdc7e9f6","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/HRnet_modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","sass-embedded":"^1.99.0","@vitejs/plugin-react":"^6.0.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_0.1.1_1777276069519_0.9556614783569017","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@delaroche/hrnet-modal","version":"0.1.2","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@0.1.2","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/HRnet_modal#readme","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"dist":{"shasum":"2661b58369ec148a530c583f26ff88d6adefd892","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-0.1.2.tgz","fileCount":5,"integrity":"sha512-mcekG4IfqoTvjJOEsgiYk2uuIH3X/hJYpDvAztRNllGNYZwyBA8jWZqDodwkHw0sSHnyQZi4/zFlVbrflD8tAw==","signatures":[{"sig":"MEYCIQDVCkPJWbBJZdF2VXTj6RAmpFGMtoH00TYP28H2g+PKzQIhANGo36hWqIKdUgCJZbQi4TqWOBJblKbKah3d8IZpA9pJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49607},"main":"./dist/hrnet-modal.umd.cjs","type":"module","module":"./dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/hrnet-modal.css"},"gitHead":"5e0487ba13400471c8f19a58cce798c6fdc7e9f6","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/HRnet_modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","react":"latest","react-dom":"latest","@vitejs/plugin-react":"latest"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_0.1.2_1777282438031_0.859166628703742","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@delaroche/hrnet-modal","version":"1.0.0","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@1.0.0","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/HRnet_modal#readme","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"dist":{"shasum":"2f4b87d59e43a040823f8a6bd135cb6bdb3c2e2c","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-1.0.0.tgz","fileCount":8,"integrity":"sha512-Ag5w2ey1upXJPo+bavkP1fR+758IRppm023jBBpjCogk0n6tqbPAAVoCJpDy5kbc4gWEekQtsuF/XBKBFn4snQ==","signatures":[{"sig":"MEUCIQDUMG59yNR4uJmdsKO4S2lKG7DLf/vaghXB6ppqinW10QIgOiy4ijqzF1aqLIMh6A2Y2dxku2w2xochEZIkc55Wsxs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70693},"main":"./dist/hrnet-modal.umd.cjs","type":"module","module":"./dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/hrnet-modal.css"},"gitHead":"a6db3be38468443db1b9e7d0cd5ec16cdca50de3","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/HRnet_modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","react":"latest","react-dom":"latest","@vitejs/plugin-react":"latest"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.0_1777283213924_0.23231595086757784","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@delaroche/hrnet-modal","version":"1.0.1","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@1.0.1","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/HRnet_modal#readme","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"dist":{"shasum":"04dc0742396ab6efafd051f38a7b02044fb540ef","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-1.0.1.tgz","fileCount":8,"integrity":"sha512-awwRbaCGqbvU4jJAEjTel289cF10BHX8k8xMUT5Udkvy+9nkB5VUcrdWJhmE2I94BJihXYppiR4OWwsMzfWjUw==","signatures":[{"sig":"MEYCIQDNfWhDzlj3YFtHV8Py47898QKCdmZOIqyL/282lZoVFwIhAIUwtZtoHhNUJ9xscyXnCFiYmmlZuY1dTinwthdNImD1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72850},"main":"./dist/hrnet-modal.umd.cjs","type":"module","module":"./dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/hrnet-modal.css"},"gitHead":"656fc4c46e0dff7741c97d8a576f0365084faa54","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/HRnet_modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","react":"latest","react-dom":"latest","@vitejs/plugin-react":"latest"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.1_1777392892431_0.23005858387602407","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@delaroche/hrnet-modal","version":"1.0.2","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@1.0.2","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/HRnet_modal#readme","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"dist":{"shasum":"79f18b8b41f7d0565598c101dc3c71c996d840e9","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-1.0.2.tgz","fileCount":9,"integrity":"sha512-9QErqmGAAtE5P/mTxTBTE/l2r21VMr12BNs43uDnubYa/Vl6r7bxAvYF1Y0TZ2XYmwvQQnaYCzDIRX3W2Tfd8Q==","signatures":[{"sig":"MEUCICh13nG6rkrM2zpl2xkEoJ0hGUPK7JTygeIJAmSvoEmyAiEA8WZPM731oKXPx6n63FOTVezgWkyxw8CIcHBLh0bBlqo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75403},"main":"./dist/hrnet-modal.umd.cjs","type":"module","module":"./dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/hrnet-modal.css"},"gitHead":"656fc4c46e0dff7741c97d8a576f0365084faa54","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/HRnet_modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","react":"latest","react-dom":"latest","@vitejs/plugin-react":"latest"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.2_1777458569674_0.9191672713485517","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@delaroche/hrnet-modal","version":"1.1.1","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@1.1.1","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/HRnet_modal#readme","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"dist":{"shasum":"230915354ec0ef65da472ee17fc9570ee89bc6a0","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-1.1.1.tgz","fileCount":9,"integrity":"sha512-C/PNSPiqpYKkBDPQ1EtzWNCp6MplNOav6EBEvPJhGLFJAazo3+WXIe/Z1OYEu872J920ZRJ0TA6WntEmgDvstA==","signatures":[{"sig":"MEYCIQDVmVkGhEs1kP4pbqqNi3CQlrwNoPzgvXq/rT+XGZeWmQIhAPtnOaqjgQdZqPxKvUEzu4WFlzt/PBXZxJ+xHJ7koCbN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75253},"main":"./dist/hrnet-modal.umd.cjs","type":"module","module":"./dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/hrnet-modal.css"},"gitHead":"c3c0d7b3f0962d0f503ae49d2690e7d291a7d44e","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/HRnet_modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","react":"latest","react-dom":"latest","@vitejs/plugin-react":"latest"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.1.1_1777463604600_0.7870681777536175","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@delaroche/hrnet-modal","version":"1.2.0","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@1.2.0","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/HRnet_modal#readme","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"dist":{"shasum":"c753d29c5f8dd68299dd22a90377bc12a3134505","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-1.2.0.tgz","fileCount":9,"integrity":"sha512-TPEIFHhNDpGfIXxHc56RMFOcYSs6y1N+x3JDvXyPTaLz25t8ePNNDQTiU4QoTQTxhH4qCaEd3Cyin/EbTqG3uQ==","signatures":[{"sig":"MEQCIDmcZcT+uCE9lCb2o7rd2krWIcUEqa4GXSqU6w4I3td7AiBdC4aDTzBubSry6MN7uf6lVc5L8Fn6p3Bu3ODkHEatVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78573},"main":"./dist/hrnet-modal.umd.cjs","type":"module","module":"./dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/hrnet-modal.css"},"gitHead":"c3c0d7b3f0962d0f503ae49d2690e7d291a7d44e","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/HRnet_modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","react":"latest","react-dom":"latest","@vitejs/plugin-react":"latest"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.2.0_1777482280488_0.4314612041354331","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@delaroche/hrnet-modal","version":"1.2.1","keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","_id":"@delaroche/hrnet-modal@1.2.1","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"homepage":"https://github.com/DanickDela/HRnet_modal#readme","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"dist":{"shasum":"495ec7ec99496d79ec4bc80d8ef216917457c59e","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-1.2.1.tgz","fileCount":9,"integrity":"sha512-QTYQPjv6+8ep4RFUeaeZBBusOoHgTNnE1oOwiz40zrXP9HRk+0xF6OAFoqJKYGlsq+3wi3IO3xCOuZYCVhhCuw==","signatures":[{"sig":"MEUCIDfUkFLTVa/TCNru5BJfuBeZ6Wn8Ib/l95vQqeOYUxrNAiEA412UU2xLvBpeEZxHgafCLjZd1exv+ajqHIZEJbAA4+4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81576},"main":"./dist/hrnet-modal.umd.cjs","type":"module","module":"./dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/hrnet-modal.css"},"gitHead":"ba3cc8402a202410c45705dddca7be757766afc6","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"repository":{"url":"git+https://github.com/DanickDela/HRnet_modal.git","type":"git"},"_npmVersion":"10.9.4","description":"Reusable customizable modal component for React","directories":{},"_nodeVersion":"22.22.0","dependencies":{"alert":"^6.0.2","prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","react":"latest","react-dom":"latest","@vitejs/plugin-react":"latest"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.2.1_1777492810494_0.3762545535613826","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@delaroche/hrnet-modal","version":"1.3.0","description":"Reusable customizable modal component for React","type":"module","main":"./dist/hrnet-modal.umd.cjs","module":"./dist/hrnet-modal.js","exports":{".":{"import":"./dist/hrnet-modal.js","require":"./dist/hrnet-modal.umd.cjs"},"./style.css":"./dist/hrnet-modal.css"},"keywords":["react","modal","popup","dialog","hrnet"],"author":{"name":"Danick Delaroche"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/DanickDela/HRnet_modal.git"},"peerDependencies":{"react":">=18","react-dom":">=18"},"dependencies":{"alert":"^6.0.2","prop-types":"^15.8.1"},"scripts":{"build":"vite build","prepublishOnly":"npm run build"},"devDependencies":{"@vitejs/plugin-react":"latest","react":"latest","react-dom":"latest","vite":"latest"},"_id":"@delaroche/hrnet-modal@1.3.0","gitHead":"e1df8725b676b073b461c3e4adb87ed7027b012f","bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"homepage":"https://github.com/DanickDela/HRnet_modal#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-lWgg4fiMhXxrxTNKZcFl40+MjpLyZtW8hnf4qc04Uf68Ba/EuSWKjcx7ezQRvDBDkCOUrZM/MwsA27pqj+AxJw==","shasum":"c10bd9215c291964c7ab1e07d98be5167f5a5698","tarball":"https://registry.npmjs.org/@delaroche/hrnet-modal/-/hrnet-modal-1.3.0.tgz","fileCount":9,"unpackedSize":82755,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC153lZOvY5OfIY69JVGfCb5FIdvBAmZfDZowW/gOc1aQIhAPqW1L5Pm/Du8dP72AX7/clnwMmpcNCVA/AmBcShrMiZ"}]},"_npmUser":{"name":"delaroche","email":"danick.delaroche@gmail.com"},"directories":{},"maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hrnet-modal_1.3.0_1777532750919_0.25579793626508107"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-27T07:19:40.439Z","modified":"2026-04-30T07:05:51.194Z","0.1.0":"2026-04-27T07:19:40.681Z","0.1.1":"2026-04-27T07:47:49.716Z","0.1.2":"2026-04-27T09:33:58.173Z","1.0.0":"2026-04-27T09:46:54.059Z","1.0.1":"2026-04-28T16:14:52.633Z","1.0.2":"2026-04-29T10:29:29.812Z","1.1.1":"2026-04-29T11:53:24.752Z","1.2.0":"2026-04-29T17:04:40.674Z","1.2.1":"2026-04-29T20:00:10.634Z","1.3.0":"2026-04-30T07:05:51.083Z"},"bugs":{"url":"https://github.com/DanickDela/HRnet_modal/issues"},"author":{"name":"Danick Delaroche"},"license":"MIT","homepage":"https://github.com/DanickDela/HRnet_modal#readme","keywords":["react","modal","popup","dialog","hrnet"],"repository":{"type":"git","url":"git+https://github.com/DanickDela/HRnet_modal.git"},"description":"Reusable customizable modal component for React","maintainers":[{"name":"delaroche","email":"danick.delaroche@gmail.com"}],"readme":"# HRnet Modal\n\nA reusable and customizable React modal component for alerts, confirmation dialogs, forms, and custom content.\n\nThe component supports desktop and mobile modals, mobile bottom sheets, swipe-to-close gestures, custom icons, styling props, and accessibility-friendly behavior.\n\n---\n\n## Features\n\n- Reusable React modal component\n- Desktop centered modal\n- Mobile bottom sheet mode\n- selection of bottom sheet mode or modal mode for mobile\n- Optional iOS-style drag handle\n- Swipe down to close on mobile bottom sheet\n- Close on overlay click\n- Close with Escape key\n- Optional close icon\n- Optional cancel and confirm buttons\n- Custom icons for action buttons\n- Custom content with `children`\n- Custom colors, width, border radius, font, and shadow\n- Scroll lock while modal is open\n- Accessibility support\n\n---\n\n## Installation\n\n```bash\nnpm install @delaroche/hrnet-modal\n```\n\n---\n\n## Import\n\n```jsx\nimport HRnet_modal from \"@delaroche/hrnet-modal\";\nimport \"@delaroche/hrnet-modal/style.css\";\n```\n\n---\n\n## Basic Usage\n\n```jsx\nimport { useState } from \"react\";\nimport HRnet_modal from \"@delaroche/hrnet-modal\";\nimport \"@delaroche/hrnet-modal/style.css\";\nimport { Trash2, Check } from \"lucide-react\";\n\nfunction App() {\n  const [isOpen, setIsOpen] = useState(false);\n\n  return (\n    <>\n      <button onClick={() => setIsOpen(true)}>Open modal</button>\n\n      <HRnet_modal\n        isOpen={isOpen}\n        onClose={() => setIsOpen(false)}\n        title=\"Delete employee\"\n        message=\"Are you sure?\"\n        showCancelButton={true}\n        cancelIcon={<Check size={16} />}\n        showConfirmButton={true}\n        confirmIcon={<Trash2 size={16} />}\n        cancelText=\"Cancel\"\n        confirmText=\"Delete\"\n        onCancel={() => setIsOpen(false)}\n        onConfirm={() => alert(\"Deleted\")}\n      />\n    </>\n  );\n}\n\nexport default App;\n```\n\n---\n\n## Confirmation Example\n\n```jsx\n<HRnet_modal\n  isOpen={isOpen}\n  title=\"Delete Employee\"\n  message=\"Are you sure?\"\n  onClose={() => setIsOpen(false)}\n  onCancel={() => setIsOpen(false)}\n  onConfirm={handleDelete}\n  showCancelButton\n  showConfirmButton\n  cancelText=\"Cancel\"\n  confirmText=\"Delete\"\n  confirmButtonColor=\"#dc2626\"\n/>\n```\n\n---\n\n## Mobile Modes\n\n### Bottom Sheet (default)\n\n```jsx\n<HRnet_modal\n  isOpen={isOpen}\n  onClose={() => setIsOpen(false)}\n  mobileMode=\"bottom-sheet\"\n/>\n```\n\n### Centered Modal\n\n```jsx\n<HRnet_modal\n  isOpen={isOpen}\n  onClose={() => setIsOpen(false)}\n  mobileMode=\"modal\"\n/>\n```\n\nWhen using `mobileMode=\"modal\"`, the drag handle is automatically hidden.\n\n---\n\n## Overlay Position\n\n### Fixed (default)\n\nCovers the full screen.\n\n```jsx\noverlayPosition = \"fixed\";\n```\n\n### Absolute\n\nUseful if you only want to cover a parent container such as `<main>`.\n\n```jsx\noverlayPosition = \"absolute\";\n```\n\nParent element must have:\n\n```css\n.main {\n  position: relative;\n}\n```\n\n---\n\n## Custom Icons\n\n```jsx\nimport { X, Trash2 } from \"lucide-react\";\n\n<HRnet_modal\n  isOpen={isOpen}\n  showCloseIcon\n  closeIcon={<X size={22} />}\n  confirmIcon={<Trash2 size={16} />}\n/>;\n```\n\n---\n\n## Custom Content\n\n```jsx\n<HRnet_modal\n  isOpen={isOpen}\n  title=\"Custom Form\"\n  onClose={() => setIsOpen(false)}\n>\n  <form>\n    <input type=\"text\" placeholder=\"Your name\" />\n    <button type=\"submit\">Save</button>\n  </form>\n</HRnet_modal>\n```\n\n---\n\n## Props\n\n| Prop                   | Type            | Default      | Description                 |\n| ---------------------- | --------------- | ------------ | --------------------------- |\n| isOpen                 | boolean         | required     | Controls modal visibility   |\n| onClose                | function        | required     | Close callback              |\n| title                  | string          | Modal title  | Title text                  |\n| message                | string          | \"\"           | Optional message            |\n| children               | node            | null         | Custom content              |\n| showCloseIcon          | boolean         | false        | Show close button           |\n| showCancelButton       | boolean         | false        | Show cancel button          |\n| showConfirmButton      | boolean         | false        | Show confirm button         |\n| closeIcon              | node            | X            | Custom close Icon           |\n| cancelIcon             | node            | null         | Icon before cancel label    |\n| confirmIcon            | node            | null         | Icon before confirm label   |\n| onCancel               | function        | optional     | Cancel callback             |\n| onConfirm              | function        | optional     | Confirm callback            |\n| cancelText             | string          | Cancel       | Cancel button text          |\n| confirmText            | string          | Confirm      | Confirm button text         |\n| mobileMode             | string          | bottom-sheet | modal / bottom-sheet        |\n| overlayPosition        | string          | fixed        | fixed / absolute            |\n| width                  | string / number | 520px        | Modal width                 |\n| maxHeight              | string / number | 85vh         | Max height                  |\n| borderRadius           | string / number | 20px         | Radius                      |\n| backgroundColor        | string          | #ffffff      | Background                  |\n| textColor              | string          | #111827      | Text color                  |\n| titleColor             | string          | #111827      | Title color                 |\n| overlayColor           | string          | rgba(...)    | Overlay color               |\n| fontFamily             | string          | inherit      | Font family                 |\n| className              | string          | \"\"           | Custom modal class          |\n| overlayClassName       | string          | \"\"           | Custom overlay class        |\n| bodyClassName          | string          | \"\"           | Custom body class           |\n| confirmButtonClassName | string          | \"\"           | Custom confirm button class |\n| cancelButtonClassName  | string          | \"\"           | Custom cancel button class  |\n| closeButtonClassName   | string          | \"\"           | Custom close button class   |\n\n---\n\n## Accessibility\n\nIncludes:\n\n- `role=\"dialog\"`\n- `aria-modal=\"true\"`\n- `aria-labelledby`\n- `aria-describedby`\n- Escape key closing\n- Automatic focus on opening\n\n---\n\n## License\n\nMIT\n\n## Changelog\n\nSee full release history here:\n\n[CHANGELOG.md](./CHANGELOG.md)\n","readmeFilename":"README.md"}