{"_id":"@dakusy/modal_npm","_rev":"3-d3169c39fe314a3acc25ff540813d79b","name":"@dakusy/modal_npm","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@dakusy/modal_npm","version":"0.1.0","main":"dist/index.js","publishConfig":{"access":"public"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"5.0.1"},"devDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"^5.0.1"},"scripts":{"start":"react-scripts start","build":"react-scripts build","test":"react-scripts test","eject":"react-scripts eject"},"eslintConfig":{"extends":["react-app","react-app/jest"]},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"description":"This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).","repository":{"type":"git","url":"git+https://github.com/Dakusy/modal_npm.git"},"keywords":["modal"],"author":{"name":"Dakusy"},"license":"MIT","bugs":{"url":"https://github.com/Dakusy/modal_npm/issues"},"homepage":"https://github.com/Dakusy/modal_npm#readme","gitHead":"0107fa7f8bbbbe516485aa24c6aecd45653f8dca","_id":"@dakusy/modal_npm@0.1.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-ya/88FUjM2ImDiwKyprhuePZcdYEGawIRYUjxD03wNiVDGKPgyNcU6ZReyrforOTrLeSEFfwoTXDwp4bVLPVrA==","shasum":"a0b2d70136eef340cd4336ee93ff23d282d37a3a","tarball":"https://registry.npmjs.org/@dakusy/modal_npm/-/modal_npm-0.1.0.tgz","fileCount":15,"unpackedSize":13866,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIWem8O+Hq206noSWoZrsA/bOPSnrKFNdyk4faDIBVpAiEAwvVvfY3Flt0oSkpyrDLRyYYlxDfvRIGBwoMOGl0m8ME="}]},"_npmUser":{"name":"dakusy","email":"dakusy@gmail.com"},"directories":{},"maintainers":[{"name":"dakusy","email":"dakusy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal_npm_0.1.0_1695828290024_0.10837671084353628"},"_hasShrinkwrap":false},"0.1.1":{"name":"@dakusy/modal_npm","version":"0.1.1","main":"dist/index.js","publishConfig":{"access":"public"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"5.0.1"},"devDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"^5.0.1"},"scripts":{"start":"react-scripts start","build":"react-scripts build","test":"react-scripts test","eject":"react-scripts eject"},"description":"This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).","repository":{"type":"git","url":"git+https://github.com/Dakusy/modal_npm.git"},"keywords":["modal"],"author":{"name":"Dakusy"},"license":"MIT","bugs":{"url":"https://github.com/Dakusy/modal_npm/issues"},"homepage":"https://github.com/Dakusy/modal_npm#readme","gitHead":"0107fa7f8bbbbe516485aa24c6aecd45653f8dca","_id":"@dakusy/modal_npm@0.1.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-ERbC7bUyJbLMBmLIHKFex66r0k7F/UnQB5sBEnylqnO5Djw/QNUxWireUM6QXkFdQTGovmF6qbDr5TlmIChBUw==","shasum":"a8646453330ef0b79c881b00195a438f920c39fe","tarball":"https://registry.npmjs.org/@dakusy/modal_npm/-/modal_npm-0.1.1.tgz","fileCount":15,"unpackedSize":10935,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaTXME5qmS9fRRn0xWFBFukuFXIkjy111Wc1exZrEMZQIhAJmSxOlmEAFXi9adis8T5kHGx2kP1tBckXRCL8H6Arbh"}]},"_npmUser":{"name":"dakusy","email":"dakusy@gmail.com"},"directories":{},"maintainers":[{"name":"dakusy","email":"dakusy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal_npm_0.1.1_1695828803553_0.7935271260254986"},"_hasShrinkwrap":false},"0.1.2":{"name":"@dakusy/modal_npm","version":"0.1.2","main":"dist/index.js","publishConfig":{"access":"public"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"5.0.1"},"devDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"^5.0.1"},"scripts":{"start":"react-scripts start","build":"react-scripts build","test":"react-scripts test","eject":"react-scripts eject"},"description":"This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).","repository":{"type":"git","url":"git+https://github.com/Dakusy/modal_npm.git"},"keywords":["modal"],"author":{"name":"Dakusy"},"license":"MIT","bugs":{"url":"https://github.com/Dakusy/modal_npm/issues"},"homepage":"https://github.com/Dakusy/modal_npm#readme","gitHead":"6e35d780f16999d482a509b911c3d0c89d269de3","_id":"@dakusy/modal_npm@0.1.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-WN+MNNy/jYqPU2BdM85aSdzC11Mzeu3Mr+878+g+N57NKiaa9qm7pdqpk0TBE2EuYmGRgVFLYViD6jlN6qnxcQ==","shasum":"85cf76134a50fa0aaf5fcf6f719670343cd48164","tarball":"https://registry.npmjs.org/@dakusy/modal_npm/-/modal_npm-0.1.2.tgz","fileCount":15,"unpackedSize":10935,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTwTMBoDBSjcLg8nKM7SetZOxztAkOpImNFy2G5t+f+AiBEVdtI2mStaiuAkc7mQy49uK87TTY0eDGqn3cblxOBdQ=="}]},"_npmUser":{"name":"dakusy","email":"dakusy@gmail.com"},"directories":{},"maintainers":[{"name":"dakusy","email":"dakusy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal_npm_0.1.2_1695862900451_0.24716456618489246"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-27T15:24:49.950Z","0.1.0":"2023-09-27T15:24:50.303Z","modified":"2023-09-28T01:01:40.865Z","0.1.1":"2023-09-27T15:33:23.856Z","0.1.2":"2023-09-28T01:01:40.676Z"},"maintainers":[{"name":"dakusy","email":"dakusy@gmail.com"}],"description":"This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).","homepage":"https://github.com/Dakusy/modal_npm#readme","keywords":["modal"],"repository":{"type":"git","url":"git+https://github.com/Dakusy/modal_npm.git"},"author":{"name":"Dakusy"},"bugs":{"url":"https://github.com/Dakusy/modal_npm/issues"},"license":"MIT","readme":"## Installation\n> npm i @dakusy/modal_npm\n\n## Dependency\n> npm install to get all the dependency\n\n\n## Modal npm component \n```js\nfunction Modal({ closeModal }) {\n    return (\n        // class allowing to show the modal or to not show it.\n        <div className={closeModal ? \"modal_container\" : \"modal_display\"}>\n            <div className=\"modal_show\">\n                <p>Votre Employée a été enregistré.</p>\n                {/* The click event allow us to change the current state of the modal to false or true to allow it to be closed.*/}\n                <div className=\"close_modal\">\n                    <p onClick={() => closeModal(false)}>X</p>\n                </div>\n            </div>\n        </div>\n    );\n}\n\nexport default Modal;\n```","readmeFilename":"README.md","_attachments":{}}