{"_id":"react-use-hook-modal","_rev":"30-5f204655db2ad0337ad4611d5e4c7df0","name":"react-use-hook-modal","dist-tags":{"latest":"2.0.2"},"versions":{"0.1.1":{"name":"react-use-hook-modal","version":"0.1.1","keywords":["react","modal","hooks"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@0.1.1","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"c171800fe755f6b3dd38cf17d0358d7c698c104b","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-0.1.1.tgz","fileCount":15,"integrity":"sha512-Qrysy6TDMhzpwqbnqw2Jzvn8wL26UfHP1wA+sN1Ik4mIxPjMJCwPDa2Gy2U/WWSDvin57yfUqDedvy1jqpD9Rw==","signatures":[{"sig":"MEQCIBNoCAtSlxP2sqy+panMmCq/TtQUGxPInLObOCUksnK7AiBaWgUDy8CvLDe4W5gcMYQ2+JXs1pKeoQsMXRBWgMPY2g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61380},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"gitHead":"2303c888f392797fc1b47d9f65e3d754670a33a6","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","build":"rollup -c","format":"prettier --write .","prebuild":"rimraf dist"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.1.0","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_0.1.1_1728575115980_0.5406353327579638","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"react-use-hook-modal","version":"0.1.2","keywords":["react","modal","hooks"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@0.1.2","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"2f02e62ecf4cfc60fc9fd15e2c849514a2680873","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-0.1.2.tgz","fileCount":15,"integrity":"sha512-cSazmImQDsnYGnRu21/RC0WU8hd7PxdXpqQIYso6APw2hyauVPztDBUoabuEw5x84FVowpDOT+FHa7jTTZMuMQ==","signatures":[{"sig":"MEQCIEoGfLT0wqSuiJ7wxbwVqUzIFaqN5Ws1eptw5cu/n9uBAiBvo14ue17enWB1qaiOz+M5ZELxcYMlbqVuZxqcDoyjXw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61344},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"gitHead":"cba24f85643a25447035307e5e27e6d5ba3f741a","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","build":"rollup -c","format":"prettier --write .","prebuild":"rimraf dist"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.1.0","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_0.1.2_1728575674446_0.04518163677925391","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"react-use-hook-modal","version":"0.1.3","keywords":["react","modal","hooks"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@0.1.3","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"663f9391fe70edc0f19aa2e6f172debd133157f2","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-0.1.3.tgz","fileCount":15,"integrity":"sha512-NOTnFRpDOp6Cqqaaa5GB5zsxWnSGvuDkxwpVNjVFodgXQBAG3zuLVbV/C6Y/WV3Z9qCqcmpNAfJgHMirZg7IDA==","signatures":[{"sig":"MEUCIQCPfjkCUKeFlVCUNjIF8wlJ3GFJUw0H3NA/6wXDvgEAiwIgQyAoxPcKu+MIliA9DeGez95kRRMx6jK2hKroXHP//0g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62301},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"167eaabaf7087c97f2d85d796e05499ad35d510f","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","build":"rollup -c","format":"prettier --write .","prebuild":"rimraf dist"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.1.0","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_0.1.3_1728577541789_0.1073229760010348","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"react-use-hook-modal","version":"0.1.4","keywords":["react","modal","hooks"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@0.1.4","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"5902c5698c0099d5bb50a313d823161c71090a1c","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-0.1.4.tgz","fileCount":15,"integrity":"sha512-ikBb9LypVM33d0pa/mcdF43E0cppCq/ZOgA+2dT5yKa/3f33PBddVgPrjpJxKEj1HExTQz0F2jufLs7hbsIpKQ==","signatures":[{"sig":"MEQCIDebKExMYG31/ZFKDSdd+Bmf4V7eJcwx4F1G8a/UI+hPAiBGVZ95BSOXSB8IFS7xKsXPPIS0kXI8ly3Ik3PQ4xWWZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63371},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"8d273006e416cce17f434d64eca15a6f26a21268","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","build":"rollup -c","format":"prettier --write .","prebuild":"rimraf dist"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.1.0","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_0.1.4_1728652053328_0.6107948309033553","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"react-use-hook-modal","version":"0.1.5","keywords":["react","modal","hooks"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@0.1.5","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"da8b83311835cdc1e2f9bde13ed5a761d86470e1","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-0.1.5.tgz","fileCount":15,"integrity":"sha512-GJMSN/hLRHCTmlE4j7CVC/8QdeQE/h4ZL7X6vQ0i8Gt1PgoumSVlTctTURorUSDzvlozlD9ZL+On1Idkl4/Xyw==","signatures":[{"sig":"MEUCIHVmt5N2EG+PhVvzgGSXaYqsmLf4RqlrycZzlojG8JrTAiEAsKqTTphfNYz+jNn24dwFDfqDORhRzi3cqiEuhiGpwzE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61782},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"8d273006e416cce17f434d64eca15a6f26a21268","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","build":"rollup -c","format":"prettier --write .","prebuild":"rimraf dist"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.1.0","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_0.1.5_1728652227972_0.24065367790488112","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"react-use-hook-modal","version":"0.1.6","keywords":["react","modal","hooks"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@0.1.6","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"51a70f9b5b6dfd13f9b7ad761b93f9d0e56b3325","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-0.1.6.tgz","fileCount":15,"integrity":"sha512-Z6Lf8gpQnB/PEiNNOhDUI5MOonlDIaLrQqOA/dvWXgh33qZ6LhzrIDcWbb3GIt78Jbu5Z/plXpLgCSFu0rBeSw==","signatures":[{"sig":"MEQCIBa6o1tMEWB7HNn9fV3J6R51gaN1T0MVgrY+m3BeU5n/AiAh2Z7+hbDb+wBEEVBTf7Q7e+iK0BpSWeyV9RBZajCUmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67395},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"0e0716bf0b98f2df0bc346c5fba0d87536bba573","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","build":"rollup -c","format":"prettier --write .","prebuild":"rimraf dist"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.1.0","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_0.1.6_1728665051637_0.13097438027514152","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"react-use-hook-modal","version":"0.1.7","keywords":["react","modal","hooks"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@0.1.7","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"a2ee75b7fcbae224b7095485c554c560e4bef34a","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-0.1.7.tgz","fileCount":15,"integrity":"sha512-wUaXOU8qR/7SZT0lIO/e7k3QIM3tGuIPU2AAVWdk7T0CfhgTz4+WzqDwMh1uxDX7o8NHDreXlTkssqNzyuyATA==","signatures":[{"sig":"MEYCIQCYUpVvoybMCVovkWBNSUTNEYUYG8hFuT8kexgntzYCSgIhAMc+f9EclaQJm6Juo5csKXhNxKB/KsxZ7/PTElSneUCD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68579},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"bc434d5c1608391e132f610e60230025b332d2fc","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest run --coverage","prebuild":"rimraf dist"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.1.0","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_0.1.7_1728807522784_0.08296045680539965","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"react-use-hook-modal","version":"0.1.8","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@0.1.8","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"41dc609d9d5e647855a60dae7067e4877eb3e2d2","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-0.1.8.tgz","fileCount":15,"integrity":"sha512-VViqqYrUn591eYghMGGdlxovXFo51Pm3gY53RAUJOlK+231CpQAXEnafbDyAiy5MJEXXnYcCTslBL0K9ZApxhg==","signatures":[{"sig":"MEYCIQClC/ODhqBSgI7editBwMLl5KBqVJmwtjlnzv5uWVeCdQIhAIoOxfzNWLYnUF4J/Fi53Z5qwyGzpl3WxWJWiWHr2rdE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68933},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"6bd8f8ba852e51fc0ada248f532e6c6dfc826b5d","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.1.0","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_0.1.8_1728812616182_0.5998906866747442","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"react-use-hook-modal","version":"1.0.0","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.0.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"37cf4d4862dc508272b74d14becdceb6df466222","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.0.0.tgz","fileCount":15,"integrity":"sha512-NcN5NrPMHBocOUaVPbsVcohh+KEY6eIOCsXKEF7AMU2YkQSLF1DAXXCgqb2087z8tRx72WTFNFlvc+s4vaJj9w==","signatures":[{"sig":"MEQCIFpuOVd8cEh1AgyP//fM0062RBlaPyxNUpBqxvxl/THSAiBmOyYtgjHGNGh5+4ELdTxDPROnp5G7zY7gVmyXo57wpg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69157},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"7baa6ee16ee2800713960e71c62bc46196902423","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.0.0_1728833043003_0.6496083465911358","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"react-use-hook-modal","version":"1.0.1","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.0.1","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"481da07f6c92f9863d5601410dba05b0b169a5bc","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.0.1.tgz","fileCount":15,"integrity":"sha512-nORyJTP6ELgoXkHfzBvRVn177dMzlHiSldXC7dF0uSqPKS0NiFZ+f+Z0c84Uh8TaoZXfXJVKq8ZU0eoRsoTG0A==","signatures":[{"sig":"MEUCIHVdPfYN7Z42TuA30ILkE6RdFQjeb1d222QxhlItrHqVAiEAyjkYUh/fMJpVbZa96qtf99VyHPtprm72afvi4Vo+nio=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69157},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"0fdae31be7e0022d07dd970018a1b49aaa4e2d5e","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.0.1_1728834428120_0.12440519109028636","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"react-use-hook-modal","version":"1.0.2","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.0.2","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"7cfb7b9a2c56982d870b54add906ed6a2cb2819c","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.0.2.tgz","fileCount":15,"integrity":"sha512-HcaGnzWv6VpTmIjwS1W7Zx26sxj/1dpcemDCL2+MOHhx+NoMcmdnQKhC/DOMAgRYPtqyu59Xlvi20S/jE5yJdg==","signatures":[{"sig":"MEYCIQDrrYmrOnxwk7zwcou1mLGZdpKnVP5Yz0Luy6mr5I9VCwIhALClDfRPiJ/U3dwDTjhiKT1l+QJjWdpNwh8iYXcGMED7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69118},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"9f15c406211d8c8e073c70dbf997d26d2fafcf0e","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.0.2_1728835089499_0.4668420735184553","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"react-use-hook-modal","version":"1.0.3","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.0.3","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"1e0d1a50ab2a3b131ddbaa3e25d588e6d56ab36a","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.0.3.tgz","fileCount":15,"integrity":"sha512-0z86gwBd7Nz6lUKEKovyPMZQjAVibVaAkn6UsfTyT3B9kWIukJBtwIbIJPRxD0MlJOl/D2O46WFPNlkfVxo1UA==","signatures":[{"sig":"MEYCIQDZ4evu0UhtOU8Knj8yIg7LxNyu1o2/pecYmYiBcdo58QIhALsparlCNd7rc1ztM3dyp2ZTiQYB0yzWWyluVJNAJGuN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69131},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"24ae0723aa9f5ebf191ee702f0fbe6622c431cc2","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.0.3_1728835996372_0.20315478298781553","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"react-use-hook-modal","version":"1.1.0","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.1.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"6dfecebe29ef41af3c52cae78841f68ce56cb539","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.1.0.tgz","fileCount":16,"integrity":"sha512-ctPlQ0uQE4ZmJa86F4VrFtMPLlMsbRPWHoovfUHjP0jFWRrMCUvd2us+EO6aAmY6yFR5QIc3IeQguk8edhFWyQ==","signatures":[{"sig":"MEYCIQDhu4bI6sD+jGAtNqe3f0MXTuRiHYLXl8VGD4SLx3B9iAIhAPELkYQ/giLeEhsmB+8hE/GVWILLG6l3TSgFi3kaWiIb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73339},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"ec57053b3db68871d65e9f8c785d11c9b48b094b","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.1.0_1728926018507_0.3589305828652516","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"react-use-hook-modal","version":"1.1.1","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.1.1","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"0bcfec879ec6596e8577896eb7ba518b6d89686e","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.1.1.tgz","fileCount":16,"integrity":"sha512-EoMUSSyXLZH4DcTDswzkMd9Dto4va8mDBODmj0ZQnLCDqp6d39cxhFNdXKKz2I2VCm2omuIinxpHOYMYUTyrLw==","signatures":[{"sig":"MEYCIQCtG/fgT3kwLsnT1eyDIkB6wVQR1y9W+YLANTx91dTNOQIhAKNH9p/ojCbfGGimlCVQuLA2rK15BBSPd/d9SsjpQwhb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73939},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"8a1f91b398e3df215bb2f062aeb0fb7ba392f56a","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.1.1_1729010703424_0.37070285974778217","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"react-use-hook-modal","version":"1.2.0","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.2.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"d748ba26056e8a067d50a4c0e98e216173148812","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.2.0.tgz","fileCount":16,"integrity":"sha512-5Neld2Og5R/Kta2nlswzv7a/AJe+OdMtfB/oSu5YPXpZwGnyvxJ+qbZ/KgPGYm4IgvMj7AMhz95u5y/YJXEFBQ==","signatures":[{"sig":"MEYCIQCg+cuaPQJ5tOZFCdFXh8AJyzq7GxVuoGggSwr9OH9VHQIhAL/Bx7en1dD70ZwvpkpGo/FQu92BwKIghC9i6T50R4L4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74437},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"54694f578df4e586ba4dfe3f91a3de75179fd0a1","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.2.0_1729395732784_0.43073989199668383","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"react-use-hook-modal","version":"1.3.0","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.3.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"edbd5ee4259bfe07dfce2025c71f59ae961e5500","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.3.0.tgz","fileCount":17,"integrity":"sha512-G/RrArCfu+h15Cc87O5xzDXUy4qMOsAZgh8awG7rXv5ZKbZXJ5q8tqcz5A9aZ7xDJ4oG8M5OvnJVk4MPvdAuDw==","signatures":[{"sig":"MEQCIEdDwIvne5YwcsHz2XTnFte67pIMbnFXRoRUHwVxmxGaAiA2zoBMI/oIrHlPvT7P9AgVfyk1FO/QcJFvOH5xvAMmeQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77594},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"7835dd7abdbd7c256d167a519e3febdfa46fb8b4","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.3.0_1730383192204_0.36829507474462875","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"react-use-hook-modal","version":"1.3.1","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.3.1","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"bb725a7ae788250c7a4b5c06abe74905e3570836","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.3.1.tgz","fileCount":17,"integrity":"sha512-srQGTW1HaNQuwN+rE2NOcht/9wlvEXq6wQnp1JPnhKli1e88HxDTzzJxLTFKpI2Y0U4Xb0nnKtRj0mbRhQnyLw==","signatures":[{"sig":"MEUCIHKg0Zt9MVVa54dDLn4jAgVMJQMMRSBXiNwoAU6pIFMSAiEAlG8nsX29Aq160d0ysfzsixjLIfLrvy9Gu9O0DaJ04x4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77537},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"79db13f2c2c45a275178fca2129a6c5cfda4f74f","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.3.1_1730626154473_0.613429639298867","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"react-use-hook-modal","version":"1.4.0","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.4.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"f227b45f521d593089b35aea3024d9196bfa7f4e","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.4.0.tgz","fileCount":17,"integrity":"sha512-fNIntjpjy6A+xxvrlFeKh/7Xy32BKmEbGzX46cMgQeqb+sPHfuLqpTW+6bjVn0pY7RIvhYleJMvRyZ1XJBw+TQ==","signatures":[{"sig":"MEUCIQDbzZChZI5zAr1t4QiWsD2JIUyqR0ywsKvp1L2Xw2w45AIgduVsT62lmGX4zqAyqOhPS3B6/pr4Y8BCNc1j7LHCHwY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77537},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"3d60a745f602e5bf335312dc2de39dd7d6a901e5","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.4.0_1730733909900_0.37944523549579046","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"react-use-hook-modal","version":"1.4.1","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.4.1","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"40af5ad59da3020da107bee1d89543d536520220","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.4.1.tgz","fileCount":17,"integrity":"sha512-S/zqP41tpxIVYPhC+r95D6TUQN1sj+f4sEy5cimR4VIx08e5DgCHrF7sfsmFeh6App4cLIDuL/y5yfw+NZ4hyQ==","signatures":[{"sig":"MEYCIQCnmqKOCSxiy6zmdDfTnH1mPcD4Y5lUxzHpMjF3GUXp1AIhAONqYTV2sLoopBTt2JgzIO/9c+79dgk4uFjBBWDp/Uts","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77538},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"ed1cca86d811ed73860ec9c78ca5c68606a970f7","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.4.1_1730808451739_0.6064307021462496","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"react-use-hook-modal","version":"1.5.0","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.5.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"bff9556957fab25c0807eb55ee7081c1ad982c9f","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.5.0.tgz","fileCount":17,"integrity":"sha512-HVnsbHT84u/H0+Q8mhp4fnmkm378QguDa7Ypwd07z4p2/dfpTJftPhV7IAiv0bIBfCNydeQJihEEN7H3iHW/gg==","signatures":[{"sig":"MEQCIHWKFnbaF5GIqCKJ/Ef4RmI/JIrJ0CfKNP2yuJts3oEGAiBkyuFsSbvyCngQeYqSdcJ//VDD33hXiO1t5dfPFqHsbw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79349},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"6ed17ca1ab8d73b1970621c5eddcca5d20608d7f","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.5.0_1743314359644_0.29739187917773946","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"react-use-hook-modal","version":"1.6.0","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.6.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"af8608c8eff1f12fe8c56f6ef1be07471c7ed73e","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.6.0.tgz","fileCount":18,"integrity":"sha512-4n/bziqLB+Ogp7jDOKr0ZWS3goHPp415FekvDGCKRuvLWa+2xA11As0cgSjrjlf7a4R71wuKI56OUql52c/hzg==","signatures":[{"sig":"MEUCIQCppFM+mhXS6Ib5Twb2n5qgMV3aj5tvN170+4snnZphpgIgYl9IR+Qo5Q7NS6ox3nFxzFER54tE2KpOkjt5iWQyMLg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82415},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"9715e055bfbadaf0ecc3f7e710ed7bfe52f8abb9","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.6.0_1743954807848_0.29880140722765036","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"react-use-hook-modal","version":"1.6.1","keywords":["react","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.6.1","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"83121755325974a22b455dfa23f19dd7c01b2158","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.6.1.tgz","fileCount":18,"integrity":"sha512-WHYFkAe8dw9RVPGhbqMooSAxwV4nEtXnwnj99rbWSzPhbSi+F25YtKG1P1IWrNkTyACIZqS+slmtUdO0bzHEMw==","signatures":[{"sig":"MEYCIQDNKGSPn5Lo+OxWQ/7BhS0BYTQfAETovIBA2/HQVdtvXwIhAIRzbZjdTsqb9w17OvoEqZ/6WnpQE2DkU1hT+LM4P4Ly","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83048},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"2970814ae23636450170335e033457853cfbf085","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.24.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.2","@types/react":"^18.3.11","@types/react-dom":"^18.3.0","semantic-release":"^24.1.2","@vitest/coverage-v8":"^2.1.2","eslint-plugin-react":"^7.37.1","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.0.1","@rollup/plugin-typescript":"^12.1.0","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.5.2","@typescript-eslint/eslint-plugin":"^8.8.1","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.6.1_1744219822530_0.6985639715461411","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"react-use-hook-modal","version":"1.7.0","keywords":["react","react-native","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.7.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"754dd6b402d82a690b8e5015b6ba42694d05f838","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.7.0.tgz","fileCount":18,"integrity":"sha512-v4hWG0ncnVG+d6PYdcaTJQssX4xps7XyMoxHPbFzumstpdLjYzwbkENftnpKycWSqAegFmnn0cXdC10Y13hn1A==","signatures":[{"sig":"MEQCICeM5Lb0814/NOHEMYlh6t1Zx9PfuthEQx9AWJzOK9MXAiA5PWBZX810NnwHXjANCcDxmauZX0l8eU+nXMAd0hIymA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85397},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"84c47f98e98fdf1893a19b7be59137d8cd7cd66e","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","check-types":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","react":"19.2.0","tslib":"^2.8.1","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.52.4","vitest":"^2.1.9","prettier":"^3.6.2","react-dom":"^19.2.0","typescript":"^5.9.3","@types/react":"^18.3.25","@types/react-dom":"^18.3.7","semantic-release":"^24.2.9","@vitest/coverage-v8":"^2.1.9","eslint-plugin-react":"^7.37.5","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.3.0","@rollup/plugin-typescript":"^12.1.4","@testing-library/jest-dom":"^6.9.1","@typescript-eslint/parser":"^8.45.0","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.6.1","@typescript-eslint/eslint-plugin":"^8.45.0","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.7.0_1759652843482_0.992922351820563","host":"s3://npm-registry-packages-npm-production"}},"1.8.0":{"name":"react-use-hook-modal","version":"1.8.0","keywords":["react","react-native","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@1.8.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"7fb06b04304a448451c57e6b8d4baa4544a62ee3","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-1.8.0.tgz","fileCount":18,"integrity":"sha512-zI20gsm0ctTkLAU6NjVkZhWMCoa/FjJ7+x+kHiZRi1ALUkYAV3kIVOHynR+/+Man+3kndS5EueqRQAs2XMMrVA==","signatures":[{"sig":"MEYCIQDvFZTysH//eRcf0pfJFMETzkNdGcwTDYb+G9sf/miUxAIhAIN2VbnvpHIKcrOZbcWZGArk5hSBewH1kC+zaOblEzke","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92164},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"b59a4ee86dec9e11bec70ecc7ceb7cee0b0b87e9","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","check-types":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"deprecated":"This version has breaking changes that were incorrectly released as a minor version. Please use 1.7.0 or upgrade to 2.x with migration guide.","repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","react":"19.2.0","tslib":"^2.8.1","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.52.4","vitest":"^2.1.9","prettier":"^3.6.2","react-dom":"^19.2.0","typescript":"^5.9.3","@types/react":"^18.3.25","@types/react-dom":"^18.3.7","semantic-release":"^24.2.9","@vitest/coverage-v8":"^2.1.9","eslint-plugin-react":"^7.37.5","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.3.0","@rollup/plugin-typescript":"^12.1.4","@testing-library/jest-dom":"^6.9.1","@typescript-eslint/parser":"^8.45.0","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.6.1","@typescript-eslint/eslint-plugin":"^8.45.0","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_1.8.0_1765690016276_0.5252344910431279","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"react-use-hook-modal","version":"2.0.0","keywords":["react","react-native","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@2.0.0","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"f2829c551d17c075a2aae61453391ff2fedda90a","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-2.0.0.tgz","fileCount":18,"integrity":"sha512-Wi0ICEcusIfE7Zex1i3MhwIYHNWjZKB0wzwfip0bKInBe3ozL41QG08QwcWkpPL6qz4y5Jrqdj9cjFwufKFACg==","signatures":[{"sig":"MEQCIHEZmWg/17MoHUdY6Qc2n2Sg87bXpdBs5o8RuuiWX5EjAiBrA7xy3JBVJ5zUaj0qf/Kwa6j8xOacF/RtUEDlYh4MxQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92164},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"362abb9a2382f8a68ee5207800664202c896f0ab","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","check-types":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","react":"19.2.0","tslib":"^2.8.1","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.52.4","vitest":"^2.1.9","prettier":"^3.6.2","react-dom":"^19.2.0","typescript":"^5.9.3","@types/react":"^18.3.25","@types/react-dom":"^18.3.7","semantic-release":"^24.2.9","@vitest/coverage-v8":"^2.1.9","eslint-plugin-react":"^7.37.5","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.3.0","@rollup/plugin-typescript":"^12.1.4","@testing-library/jest-dom":"^6.9.1","@typescript-eslint/parser":"^8.45.0","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.6.1","@typescript-eslint/eslint-plugin":"^8.45.0","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_2.0.0_1765691036379_0.23947012055312555","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"react-use-hook-modal","version":"2.0.1","keywords":["react","react-native","modal","hooks","useModal"],"author":{"name":"iskkiri"},"license":"MIT","_id":"react-use-hook-modal@2.0.1","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"dist":{"shasum":"8cc06e9ea87d08cac969a1bae09c7ab6b9abd46f","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-2.0.1.tgz","fileCount":18,"integrity":"sha512-bhnBAJlMbFXjcDgj2uCh2zE2Zkwy/qxGws0EJhg0kbqEdi52b4yYieQ5Jh2pYOlDt7Y+sKlby8II+POYAekczQ==","signatures":[{"sig":"MEYCIQDnbi4+asUp9wUlX9yUF2IleeMWQLSWpd1R4PUXsfL1VQIhAOZM97xO2XiisFDxj/CFsPTdZQ5MX8oU9vOdUhhf3w25","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93448},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"gitHead":"f7d4bdc55d49f4f5979b622aa4032342d3862b17","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","test":"vitest","build":"rollup -c","format":"prettier --write .","coverage":"vitest --coverage","prebuild":"rimraf dist","check-types":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"repository":{"url":"git+https://github.com/iskkiri/react-use-hook-modal.git","type":"git"},"_npmVersion":"10.8.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0","devDependencies":{"jsdom":"^25.0.1","react":"19.2.0","tslib":"^2.8.1","eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.52.4","vitest":"^2.1.9","prettier":"^3.6.2","react-dom":"^19.2.0","typescript":"^5.9.3","@types/react":"^18.3.25","@types/react-dom":"^18.3.7","semantic-release":"^24.2.9","@vitest/coverage-v8":"^2.1.9","eslint-plugin-react":"^7.37.5","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@testing-library/react":"^16.3.0","@rollup/plugin-typescript":"^12.1.4","@testing-library/jest-dom":"^6.9.1","@typescript-eslint/parser":"^8.45.0","eslint-plugin-react-hooks":"^4.6.2","@semantic-release/changelog":"^6.0.3","@testing-library/user-event":"^14.6.1","@typescript-eslint/eslint-plugin":"^8.45.0","rollup-plugin-peer-deps-external":"^2.2.4","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"react":">=16.8.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-use-hook-modal_2.0.1_1765691538233_0.5753224262541956","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"react-use-hook-modal","version":"2.0.2","description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","author":{"name":"iskkiri"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.esm.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}}},"type":"module","keywords":["react","react-native","modal","hooks","useModal"],"license":"MIT","devDependencies":{"@changesets/changelog-github":"^0.5.2","@changesets/cli":"^2.29.8","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.4","@testing-library/jest-dom":"^6.9.1","@testing-library/react":"^16.3.0","@testing-library/user-event":"^14.6.1","@types/react":"^18.3.25","@types/react-dom":"^18.3.7","@typescript-eslint/eslint-plugin":"^8.45.0","@typescript-eslint/parser":"^8.45.0","@vitest/coverage-v8":"^2.1.9","eslint":"^8.57.1","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^4.6.2","jsdom":"^25.0.1","prettier":"^3.6.2","react":"19.2.0","react-dom":"^19.2.0","rimraf":"^6.0.1","rollup":"^4.52.4","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.8.1","typescript":"^5.9.3","vitest":"^2.1.9"},"peerDependencies":{"react":">=16.8.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"repository":{"type":"git","url":"git+https://github.com/iskkiri/react-use-hook-modal.git"},"bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","engines":{"node":">=14.0.0"},"scripts":{"prebuild":"rimraf dist","build":"rollup -c","dev":"rollup -c -w","test":"vitest","coverage":"vitest --coverage","format":"prettier --write .","check-types":"tsc --noEmit","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","changeset":"changeset"},"_id":"react-use-hook-modal@2.0.2","_integrity":"sha512-PYf54o644SJj4RJzydFFdkovyy++fl1ry/CSHuhj26bhbQwKJrM0ptURz8t1Ty/PpUJB2SQdSDUGRuQlUYVPog==","_resolved":"/tmp/bba64bcf4f45d7ca6876d89bd83fcd6c/react-use-hook-modal-2.0.2.tgz","_from":"file:react-use-hook-modal-2.0.2.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-PYf54o644SJj4RJzydFFdkovyy++fl1ry/CSHuhj26bhbQwKJrM0ptURz8t1Ty/PpUJB2SQdSDUGRuQlUYVPog==","shasum":"31a63ca677deecba7a16df1049f16fbb715ee440","tarball":"https://registry.npmjs.org/react-use-hook-modal/-/react-use-hook-modal-2.0.2.tgz","fileCount":18,"unpackedSize":93299,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDFLS3gjh/Q3DoFTjATxzSEsJgeaLUWhE+/sTzi4AD8kgIhAOtbxp1V8rnrISrjQ+thv+hAQAnEepPhuiztA1TIvjbU"}]},"_npmUser":{"name":"kkiri","email":"yoon_1139@naver.com"},"directories":{},"maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-use-hook-modal_2.0.2_1767531420464_0.3365458687496057"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-10T15:45:15.840Z","modified":"2026-01-04T12:57:00.788Z","0.1.0":"2024-10-09T13:54:10.566Z","0.1.1":"2024-10-10T15:45:16.186Z","0.1.2":"2024-10-10T15:54:34.656Z","0.1.3":"2024-10-10T16:25:42.011Z","0.1.4":"2024-10-11T13:07:33.500Z","0.1.5":"2024-10-11T13:10:28.134Z","0.1.6":"2024-10-11T16:44:11.811Z","0.1.7":"2024-10-13T08:18:42.963Z","0.1.8":"2024-10-13T09:43:36.405Z","1.0.0":"2024-10-13T15:24:03.267Z","1.0.1":"2024-10-13T15:47:08.338Z","1.0.2":"2024-10-13T15:58:09.784Z","1.0.3":"2024-10-13T16:13:16.644Z","1.1.0":"2024-10-14T17:13:38.674Z","1.1.1":"2024-10-15T16:45:03.626Z","1.2.0":"2024-10-20T03:42:12.961Z","1.3.0":"2024-10-31T13:59:52.401Z","1.3.1":"2024-11-03T09:29:14.716Z","1.4.0":"2024-11-04T15:25:10.099Z","1.4.1":"2024-11-05T12:07:31.937Z","1.5.0":"2025-03-30T05:59:19.872Z","1.6.0":"2025-04-06T15:53:28.049Z","1.6.1":"2025-04-09T17:30:22.717Z","1.7.0":"2025-10-05T08:27:23.673Z","1.8.0":"2025-12-14T05:26:56.426Z","2.0.0":"2025-12-14T05:43:56.517Z","2.0.1":"2025-12-14T05:52:18.377Z","2.0.2":"2026-01-04T12:57:00.606Z"},"bugs":{"url":"https://github.com/iskkiri/react-use-hook-modal/issues"},"author":{"name":"iskkiri"},"license":"MIT","homepage":"https://github.com/iskkiri/react-use-hook-modal#readme","keywords":["react","react-native","modal","hooks","useModal"],"repository":{"type":"git","url":"git+https://github.com/iskkiri/react-use-hook-modal.git"},"description":"A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.","maintainers":[{"name":"kkiri","email":"yoon_1139@naver.com"}],"readme":"# react-use-hook-modal\n\n![npm](https://img.shields.io/npm/v/react-use-hook-modal) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/react-use-hook-modal) ![Test](https://github.com/iskkiri/react-use-hook-modal/actions/workflows/test.yaml/badge.svg) ![NPM License](https://img.shields.io/npm/l/react-use-hook-modal)\n\n`react-use-hook-modal` is a headless React Hook library designed to declaratively manage modals without including any UI components. This allows developers to fully control how their modals look and behave by integrating with any UI framework or custom modal system.\n\n## Features\n\n- 🎯 Declaratively manage modals in your React application.\n- 🛠️ Headless implementation with no UI dependencies.\n- ⚙️ Easily integrate with any UI framework or custom modal system.\n- 🎨 Fully customizable modal behavior (animations, transitions, etc.).\n\n## Examples\n\nYou can explore the full list of examples, including live CodeSandbox links, in the [example list](https://github.com/iskkiri/react-use-hook-modal/blob/main/examples/README.md). These examples demonstrate how to integrate react-use-hook-modal with popular UI libraries like Material UI, Bootstrap, Chakra UI, and even custom modal setups. Try different use cases directly in your browser.\n\n## Installation\n\nInstall the package with your package manager of choice:\n\nnpm\n\n```shell\nnpm install react-use-hook-modal\n```\n\nyarn\n\n```shell\nyarn add react-use-hook-modal\n```\n\npnpm\n\n```shell\npnpm add react-use-hook-modal\n```\n\n## Getting set up\n\nTo start using react-use-hook-modal, wrap your application with the ModalProvider.\n\n```tsx\nimport { ModalProvider } from 'react-use-hook-modal';\n\nexport default App = ({ children }) {\n  return (\n    <ModalProvider>\n      {children}\n    </ModalProvider>\n  );\n}\n```\n\n## Basic Usage\n\nTo open a modal, you can use the `useModal` hook as shown below. The `isOpen` and `close` props are automatically injected into your modal component.\n\n```tsx\nimport { useModal } from 'react-use-hook-modal';\nimport type { InjectedProps } from 'react-use-hook-modal';\n\n// Modal component receives isOpen and close automatically\ninterface MyModalProps extends InjectedProps {\n  title: string;\n}\n\nconst MyModalComponent = ({ isOpen, close, title }: MyModalProps) => {\n  if (!isOpen) return null;\n\n  return (\n    <div className=\"modal\">\n      <h1>{title}</h1>\n      <button onClick={() => close()}>Close</button>\n    </div>\n  );\n};\n\nconst MyComponent = () => {\n  const { open } = useModal(MyModalComponent);\n\n  const onOpenModal = useCallback(() => {\n    open({ title: 'Hello World' });\n  }, [open]);\n\n  return <button onClick={onOpenModal}>Open Modal</button>;\n};\n```\n\n### Promise-based Modal\n\nThe `open` function returns a Promise, allowing you to await the result when the modal closes.\n\n```tsx\nimport { useModal } from 'react-use-hook-modal';\nimport type { InjectedProps } from 'react-use-hook-modal';\n\ninterface ConfirmModalProps extends InjectedProps<boolean> {\n  message: string;\n}\n\nconst ConfirmModal = ({ isOpen, close, message }: ConfirmModalProps) => {\n  if (!isOpen) return null;\n\n  return (\n    <div className=\"modal\">\n      <p>{message}</p>\n      <button onClick={() => close({ result: true })}>Confirm</button>\n      <button onClick={() => close({ result: false })}>Cancel</button>\n    </div>\n  );\n};\n\nconst MyComponent = () => {\n  const { open } = useModal(ConfirmModal);\n\n  const handleDelete = async () => {\n    const confirmed = await open({ message: 'Are you sure?' });\n    if (confirmed) {\n      // User clicked Confirm\n      await deleteItem();\n    }\n  };\n\n  return <button onClick={handleDelete}>Delete</button>;\n};\n```\n\nYou can integrate `react-use-hook-modal` with libraries like `react-transition-group` to add animations to your modals:\n\n```tsx\nimport { ModalProvider } from 'react-use-hook-modal';\nimport { TransitionGroup } from 'react-transition-group';\n\nconst App = ({ children }) => {\n  return <ModalProvider container={TransitionGroup}>{children}</ModalProvider>;\n};\n```\n\n## API Reference\n\n### ModalProvider\n\n| Prop           | Type                          | Default            | Description                                                                                                                                                                                                          |\n| -------------- | ----------------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `children`     | `React.ReactNode`             | **Required**       | The child elements rendered inside the `ModalProvider`. Typically, this is your application that interacts with the modals.                                                                                          |\n| `container`    | `React.ComponentType`         | `React.Fragment`   | Optional custom container component for rendering modals. Use this to define a custom container, allowing you to integrate modal animations with libraries like React Transition Group.                              |\n| `clearTime`    | `number`                      | `3000` (3 seconds) | The time in milliseconds before a modal is fully removed from the internal state (`modals`) after closing. This ensures that any exit animations are fully displayed before the modal is removed from the state.     |\n| `onAfterOpen`  | `(modal: ModalState) => void` | `undefined`        | A callback function triggered immediately after any modal is opened. It provides the state of the modal that was just opened. This can be useful for setting focus or starting animations based on the opened modal. |\n| `onAfterClose` | `(modal: ModalState) => void` | `undefined`        | A callback function triggered immediately after any modal is closed. It provides the state of the modal that was just closed, allowing for cleanup tasks or triggering actions based on the closed modal's state.    |\n\n### useModal\n\n`useModal` is a custom hook designed to manage the opening, closing, and updating of modals in a React application. It takes a modal component as input and returns `open`, `close`, `update`, and `key` which can be used to control the modal's visibility and props.\n\nThe hook automatically injects `isOpen` and `close` props into your modal component, so you don't need to pass them manually.\n\n| Parameter   | Type                          | Description                                                                                                                              |\n| ----------- | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| `Component` | `React.ComponentType<TProps>` | The modal component to be rendered. This component will receive `isOpen` and `close` props automatically injected by the hook.           |\n\n#### Returns:\n\nThe `useModal` hook returns the following:\n\n| Return Value | Type                                                                                                                                                                                                                      | Description                                                                                                                                                                                                                                                                                                                                            |\n| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `open`       | `(props: Omit<TProps, 'isOpen' \\| 'close'>, options?: OpenModalOptions) => Promise<TResult>` (if required props exist) <br> `(props?: Omit<TProps, 'isOpen' \\| 'close'>, options?: OpenModalOptions) => Promise<TResult>` (if all props are optional) | Opens the modal and returns a Promise that resolves when the modal is closed. The resolved value is the `result` passed to the `close` function. If the modal component has required props (other than `isOpen` and `close`), those props must be provided.                                                                                            |\n| `close`      | `(options?: CloseModalOptions<TResult>) => void`                                                                                                                                                                          | Closes the modal. Optionally accepts `CloseModalOptions` which includes `key` to close a specific modal instance, `clearTime` to override the global clearTime, and `result` to resolve the Promise returned by `open`.                                                                                                                                |\n| `update`     | `(props: Partial<Omit<TProps, 'isOpen' \\| 'close'>>, options?: UpdateModalOptions) => void`                                                                                                                               | Updates the props of an open modal. Only updates the specified props while keeping others unchanged. Optionally accepts `UpdateModalOptions` which includes `key` to update a specific modal instance.                                                                                                                                                  |\n| `key`        | `string \\| number`                                                                                                                                                                                                        | A unique identifier for the modal. It is rarely needed, as most interactions rely on `open` and `close`. However, it can be useful in specific cases where you need to track or manage a particular modal's state manually. <br> **Note**: If you provide a custom key when opening a modal, it will be different from the key returned by `useModal`. |\n\n#### OpenModalOptions\n\nThe `OpenModalOptions` is an optional parameter for the `open` function returned by `useModal`. It allows users to customize the behavior of the modal when opening.\n\n| Option         | Type               | Description                                                                                                                              |\n| -------------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| `key`          | `string \\| number` | (Optional) A unique key for identifying the modal instance. Useful when managing multiple modals simultaneously.                         |\n| `portalTarget` | `HTMLElement`      | (Optional) The DOM element where the modal will be rendered. Useful when you want to render the modal in a specific container or portal. |\n\n### CloseModalOptions\n\nThe `CloseModalOptions` is an optional parameter for the `close` function returned by `useModal`. It allows users to customize the behavior of the modal when closing and optionally return a result.\n\n| Option      | Type               | Description                                                                                                                                             |\n| ----------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `key`       | `string \\| number` | (Optional) A unique key for identifying the modal instance to close. If not provided, closes the modal associated with the current hook.                |\n| `clearTime` | `number`           | (Optional) Override the global clearTime setting for this specific modal closure. Determines how long to wait before removing the modal from the state. |\n| `result`    | `TResult`          | (Optional or Required based on typing) The value to resolve the Promise returned by `open`. If your modal component defines `close: CloseModal<SomeType>`, then `result` becomes required when calling `close`. |\n\n### UpdateModalOptions\n\nThe `UpdateModalOptions` is an optional parameter for the `update` function returned by `useModal`. It allows users to specify which modal instance to update.\n\n| Option | Type               | Description                                                                                                                              |\n| ------ | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| `key`  | `string \\| number` | (Optional) A unique key for identifying the modal instance to update. If not provided, updates the modal associated with the current hook. |\n\n### useModalStatus\n\n`useModalStatus` is a hook designed for monitoring the open/close status of a specific modal. This hook only tracks the modal state without providing any control methods.\n\n#### Parameters:\n\n| Parameter | Type               | Description                                   |\n| --------- | ------------------ | --------------------------------------------- |\n| `key`     | `string \\| number` | The unique identifier of the modal to monitor |\n\n#### Returns:\n\n| Return Value | Type      | Description                                          |\n| ------------ | --------- | ---------------------------------------------------- |\n| `isOpen`     | `boolean` | The current open/close status of the specified modal |\n\n#### Example:\n\n```tsx\nimport { useModalStatus } from 'react-use-hook-modal';\n\nconst MyComponent = () => {\n  const { isOpen } = useModalStatus({ key: 'my-modal' });\n\n  return <div>Modal is currently {isOpen ? 'open' : 'closed'}</div>;\n};\n```\n\n**Note**: This hook must be used within a `ModalProvider`. It will throw an error if used outside of a `ModalProvider` context.\n\n### useModalsState\n\n`useModalsState` is a custom hook designed to access the current state of all modals in your application.\n\n#### Returns:\n\nThe `useModalsState` hook returns the current state of modals.\n\n| Return Value | Type                 | Description                                                                                                 |\n| ------------ | -------------------- | ----------------------------------------------------------------------------------------------------------- |\n| `modals`     | `Array<ModalObject>` | Each modal object contains information about the modal, such as the component, its props, and a unique key. |\n\n### useClearModals\n\nThe `useClearModals` is a custom hook that provides a function to close all open modals in the application.\n\n#### Returns:\n\nThe `useClearModals` hook returns an object containing the `clearModals` function.\n\n| Return Value  | Type         | Description                                                                                                                                                                                                |\n| ------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `clearModals` | `() => void` | Closes all currently open modals by setting their `isOpen` property to `false`. Any modal that remains unopened before `clearTime` elapses will be removed from the state after the specified `clearTime`. |\n\n**Note**: If a modal is reopened before `clearTime` elapses, it will remain in the state, and only modals that are fully closed during the `clearTime` period will be removed.\n\n## Contributing\n\nContributions are welcome! Please check the [CONTRIBUTING.md](https://github.com/iskkiri/react-use-hook-modal/blob/main/CONTRIBUTING.md) for details on how to get involved and contribute to this project.\n\n## Compatibility\n\nThis library is compatible with React 16.8 and later.\n\n## License\n\nThis library is released under the MIT License.\n","readmeFilename":"README.md"}