{"_id":"@bipce/hrnet_modal_package","_rev":"8-b94f2da0cdc38627a3aa7302c52446a4","name":"@bipce/hrnet_modal_package","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"@bipce/hrnet_modal_package","version":"0.0.1","keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","_id":"@bipce/hrnet_modal_package@0.0.1","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"dist":{"shasum":"a19704ce4141dd58d6182f43b4cf655eea09c8d3","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.1.tgz","fileCount":5,"integrity":"sha512-G07F55tUsGkBKnhDFtV5xaRVVpSPgJ+FKSRmG28W3hqGyFfozwuNrnFOrllXXW2DBd6FbR6oryRuBIRxJkEUaQ==","signatures":[{"sig":"MEUCIQCahSLNbeeoWOcCUBaVzrw6nt/Q2Ca+JuB721h7QmlkegIgZirIzXNoLV6Cw6iDgDgwGPeUVlfuBnsuGtYf7RpO/FA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1938},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"build":"tsup"},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"_npmVersion":"10.9.0","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet_modal_package_0.0.1_1731427155155_0.3572750800416833","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@bipce/hrnet_modal_package","version":"0.0.2","keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","_id":"@bipce/hrnet_modal_package@0.0.2","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"dist":{"shasum":"691551181a40638eaddce41290c52fb35c106113","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.2.tgz","fileCount":6,"integrity":"sha512-OQnmIhL1kKZO1ezJO3DaUA/yj6YdB6RonXKJ2r8Xt/gn4vZGoMZzQHSpkDfaYF+pDs+GUUAM5gSjgqI6eKBS+Q==","signatures":[{"sig":"MEUCIQDpuZnbHsDQU6K4E1f8TOcB2XFD80GFFoJzlbxUZSKFIQIge2x295Mr0VTXWgx+AkPuL7AHjW+r5Hw8v4/GDuMDqBk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3443},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"eb5b74227e1cd718d477ef313b2330bd852b2b9f","scripts":{"build":"tsup"},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"_npmVersion":"10.9.0","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","directories":{},"_nodeVersion":"22.11.0","dependencies":{"heroicons":"^2.1.5","@heroicons/react":"^2.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/hrnet_modal_package_0.0.2_1731603260013_0.9089509786942598","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@bipce/hrnet_modal_package","version":"0.0.3","keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","_id":"@bipce/hrnet_modal_package@0.0.3","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"dist":{"shasum":"e0fd49614cf55d0420bde2f2374d206caf7fbb9c","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.3.tgz","fileCount":6,"integrity":"sha512-pbl8N+AeCer3O2oR6n9YY6NzSLkUmKvXg5VHNavIP8NRpSfcabJXPsUsvakptewSJmMztc8crDOWk3fhLqYgKQ==","signatures":[{"sig":"MEYCIQDrUOtCyl6La8kawHY8GpVD7XsxhLdgoDxvU0zKtYg5ygIhAKj5jwHc3xN+91E+B/QBHaxu78Cvtbifa6OTlGYiRGCE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3489},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"eb5b74227e1cd718d477ef313b2330bd852b2b9f","scripts":{"build":"tsup"},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"_npmVersion":"10.9.0","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","directories":{},"_nodeVersion":"22.11.0","dependencies":{"heroicons":"^2.1.5","@heroicons/react":"^2.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/hrnet_modal_package_0.0.3_1731603646123_0.8737977850683787","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@bipce/hrnet_modal_package","version":"0.0.4","keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","_id":"@bipce/hrnet_modal_package@0.0.4","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"dist":{"shasum":"791ecc964af782ecd19780fe80f0e083c0916ee9","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.4.tgz","fileCount":6,"integrity":"sha512-3RNhBi7155htdEKj8ki1xhMc0uo0seQy04WQ6zEjUHH5/AANIBjh/TjAE5xo6qSFE9JLjwKzSOiNPNUoQi5V5A==","signatures":[{"sig":"MEYCIQDMEsFTTzbTApk8Ssh2dqdGNrpRqdZBlECYfLBRArjk6AIhAJSwk+TzW0SfSOiSKwCCBbzYGxgvhfhfDCAHCRHRyDoo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4327},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"eb5b74227e1cd718d477ef313b2330bd852b2b9f","scripts":{"build":"tsup"},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"_npmVersion":"10.9.0","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","directories":{},"_nodeVersion":"22.11.0","dependencies":{"heroicons":"^2.1.5","@heroicons/react":"^2.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/hrnet_modal_package_0.0.4_1731604151177_0.8923397274623353","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@bipce/hrnet_modal_package","version":"0.0.5","keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","_id":"@bipce/hrnet_modal_package@0.0.5","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"dist":{"shasum":"8324d94bfceee22eb9ffc4383abd957458267b70","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.5.tgz","fileCount":6,"integrity":"sha512-VNzG8xg5m9mW12Vod97059566nvmVaDax+jxPOz1Gjhptbqb/UWYY3CZXpclP1Uo6NZZ2Egv+zLim8uU6V5YCg==","signatures":[{"sig":"MEYCIQDp9lr6IJT57JQlZeRl9rdNiPf6iW/KzixV3iDEryQQaAIhAKYK0ZT1b7MOzCGpgHoWj1EwYvtp4r1KLhhdAazYj578","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4519},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"eb5b74227e1cd718d477ef313b2330bd852b2b9f","scripts":{"build":"tsup"},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"_npmVersion":"10.9.0","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","directories":{},"_nodeVersion":"22.11.0","dependencies":{"heroicons":"^2.1.5","@heroicons/react":"^2.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/hrnet_modal_package_0.0.5_1731604403342_0.201778574424619","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@bipce/hrnet_modal_package","version":"0.0.6","keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","_id":"@bipce/hrnet_modal_package@0.0.6","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"dist":{"shasum":"59ba9a3010367143c9f30514e07050cf1fe1ab53","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.6.tgz","fileCount":6,"integrity":"sha512-mBZVgY/RrPU7HxjvLKzrc/6oMxCxi8Beg9+nK6JC8e6rwgD1ToXVsncIJo1/3jzPyUvUTtaHVAh/1SNyfhDHlw==","signatures":[{"sig":"MEYCIQCGTnUIAuUnXqiQwg0LCod5czLdR0vy31DsxhZb51+4WgIhAJ+r4m/r+AH+G8iZhZST01fO86Y7wsmTt6yIIjqbzCVN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4285},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"eb5b74227e1cd718d477ef313b2330bd852b2b9f","scripts":{"build":"tsup"},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"_npmVersion":"10.9.0","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","directories":{},"_nodeVersion":"22.11.0","dependencies":{"heroicons":"^2.1.5","@heroicons/react":"^2.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/hrnet_modal_package_0.0.6_1731604795052_0.35008893009877484","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@bipce/hrnet_modal_package","version":"0.0.7","keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","_id":"@bipce/hrnet_modal_package@0.0.7","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"dist":{"shasum":"ec818a92738bade91784067f61a2a18cff5075f1","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.7.tgz","fileCount":6,"integrity":"sha512-bfqfnOGY2t/GeP0GFtzNJDpVnLX9F8iBNW54kuh0EhVb6ajmD8VljYOdU0Q7dGdRO/slWU8euYBoZ6M3F4iXGg==","signatures":[{"sig":"MEYCIQCBJ1Sxs4KsYYpXhSwCfapM3NR8qquGYb0H2Zt18JXh0AIhAOwfvujlzpxPrZM6hCDgzQQooXhHCrIXtY4FgxFCFXCq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4047},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"eb5b74227e1cd718d477ef313b2330bd852b2b9f","scripts":{"build":"tsup"},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"_npmVersion":"10.9.0","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","directories":{},"_nodeVersion":"22.11.0","dependencies":{"heroicons":"^2.1.5","@heroicons/react":"^2.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/hrnet_modal_package_0.0.7_1731605018439_0.9947294880141895","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@bipce/hrnet_modal_package","version":"0.0.8","keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","_id":"@bipce/hrnet_modal_package@0.0.8","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"homepage":"https://github.com/Bipce/HrNet_modal_package#readme","bugs":{"url":"https://github.com/Bipce/HrNet_modal_package/issues"},"dist":{"shasum":"b158d4ec543c6a355e72fe946140b1803a089d53","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.8.tgz","fileCount":6,"integrity":"sha512-XZ/SjT3DhdqcYKEMuknzVsKc1e3oRNAawE6fijjGTxyackSYdUT4QVrrxSSzAutpvC1meD1+DEEaP8vg+ridsw==","signatures":[{"sig":"MEQCIGLbh55Aa9mVJGrqWKagrJEqYpDiaGyzBBhvQq+co16BAiBcRij7q1l239Hl40EFHMsFlT76vUCDfbYyBnbU1TYy+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4121},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"651a680766e901cd002cb69ac57af98771ff4940","scripts":{"build":"tsup"},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"repository":{"url":"git+https://github.com/Bipce/HrNet_modal_package.git","type":"git"},"_npmVersion":"10.9.0","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","directories":{},"_nodeVersion":"22.11.0","dependencies":{"heroicons":"^2.1.5","@heroicons/react":"^2.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/hrnet_modal_package_0.0.8_1731605481049_0.8045704859675873","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@bipce/hrnet_modal_package","version":"0.0.9","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Bipce/HrNet_modal_package.git"},"scripts":{"build":"tsup"},"publishConfig":{"access":"public"},"keywords":["modal","openclassroom","OC","hrnet"],"author":{"name":"bipce"},"license":"MIT","description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","devDependencies":{"@types/node":"^22.9.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1","tsup":"^8.3.5","typescript":"^5.6.3"},"dependencies":{"@heroicons/react":"^2.1.5","heroicons":"^2.1.5"},"_id":"@bipce/hrnet_modal_package@0.0.9","gitHead":"651a680766e901cd002cb69ac57af98771ff4940","bugs":{"url":"https://github.com/Bipce/HrNet_modal_package/issues"},"homepage":"https://github.com/Bipce/HrNet_modal_package#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-Kk5diiqXJWNukq2G1h9WeDx8pVqEErZ8hltqZWTSKKeREFq8bu+CP4bRP8lwrxBxjfjIQiK0XO1QzuJYgM/JiA==","shasum":"1f8d5b968f8ec168aa1cf4df158539f1f2a32a29","tarball":"https://registry.npmjs.org/@bipce/hrnet_modal_package/-/hrnet_modal_package-0.0.9.tgz","fileCount":7,"unpackedSize":5950,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+Z2lfjLvD5IRXWwKFKoW16PzX9R8OIctbDdE0XrtrXgIgXKa0YEXT6xvkgQnow/KkTkmQICk8D9kvoBvYcSVTSwU="}]},"_npmUser":{"name":"bipce","email":"claireroyer57@gmail.com"},"directories":{},"maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hrnet_modal_package_0.0.9_1731948497472_0.7594772643225762"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-12T15:59:15.010Z","modified":"2024-11-18T16:48:17.840Z","0.0.1":"2024-11-12T15:59:15.433Z","0.0.2":"2024-11-14T16:54:20.224Z","0.0.3":"2024-11-14T17:00:46.307Z","0.0.4":"2024-11-14T17:09:11.467Z","0.0.5":"2024-11-14T17:13:23.554Z","0.0.6":"2024-11-14T17:19:55.214Z","0.0.7":"2024-11-14T17:23:38.637Z","0.0.8":"2024-11-14T17:31:21.278Z","0.0.9":"2024-11-18T16:48:17.670Z"},"bugs":{"url":"https://github.com/Bipce/HrNet_modal_package/issues"},"author":{"name":"bipce"},"license":"MIT","homepage":"https://github.com/Bipce/HrNet_modal_package#readme","keywords":["modal","openclassroom","OC","hrnet"],"repository":{"type":"git","url":"git+https://github.com/Bipce/HrNet_modal_package.git"},"description":"This is the package for the modal for the last project (HrNet), of the react course on OpenClassRooms","maintainers":[{"name":"bipce","email":"claireroyer57@gmail.com"}],"readme":"# P14 - Modal package for HrNet\n\n## Introduction\n\nHrNet modal package is a package that display a modal containing text with changeable classNames so you can design as\nyou want and a button.\n\n## Installation\n\nTo install, you can use [npm](https://npmjs.org/) or [yarn](https://yarnpkg.com):\n\n    $ npm i @bipce/hrnet_modal_package\n    $ yarn add @bipce/hrnet_modal_package\n\n## Using style props\n\nEach element can be customised by applying your own className.\nAll classNames are optional.\n\n| Name             | Description                                 | Optional ? |\n|------------------|---------------------------------------------|:----------:|\n| sectionClassName | Affects the design of the section element   |    YES     |\n| pClassName       | Affects the design of the paragraph element |    YES     |\n| btnClassName     | Affects the design of the button element    |    YES     |\n| iconClassName    | Affects the design of the icon element      |    YES     |\n| message          | Is the message you'll want the user to see  |   **NO**   |\n| onHandleClick    | Affects the button action when click        |    YES     |\n\n## Prerequisites\n\nBefore using the modal you'll need to install [@heroicons/react](https://heroicons.com/) in your project.\n\n## Example usage\n\nIn the example I use it with tailwind, but you can use it with css classes.\n\n```js\nimport { Modal } from \"@bipce/hrnet_modal_package\";\n\n<Modal message=\"Employee is created !\" iconClassName=\"size-5\" onHandleClick={handleCloseModal}\n       sectionClassName=\"absolute top-1/2 w-1/2 rounded border border-sky-50 bg-sky-900 p-5 text-center text-lg\n                               shadow-lg shadow-slate-950\"\n       btnClassName=\"absolute -right-2 -top-3.5 flex items-center rounded-2xl border border-sky-50 bg-red-800 p-1\n                           text-sm hover:border-slate-200 hover:bg-red-800\"/>\n```\n","readmeFilename":"README.md"}