{"_id":"@agney/ir-toast","_rev":"6-db66b4dd7deedbf49942e2c8baae65f1","name":"@agney/ir-toast","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.1":{"name":"@agney/ir-toast","author":{"name":"Agney Menon","email":"agney@outlook.in"},"version":"0.0.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build"},"peerDependencies":{"@ionic/react":">=5","react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"module":"dist/ir-toast.esm.js","devDependencies":{"@ionic/react":"^5.0.7","@ionic/react-test-utils":"^0.0.3","@testing-library/jest-dom":"^5.3.0","@testing-library/react":"^10.0.1","@testing-library/react-hooks":"^3.2.1","@types/jest":"^25.1.4","@types/react":"^16.9.26","@types/react-dom":"^16.9.5","husky":"^4.2.3","np":"^5","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","tsdx":"^0.13.0","tslib":"^1.11.1","typescript":"^3.8.3"},"publishConfig":{"access":"public"},"keywords":["ionic","react","toast","javascript","ionic5"],"jest":{"globals":{"__DEV__":true}},"repository":{"type":"git","url":"https://github.com/agneym/ir-toast"},"bugs":{"url":"https://github.com/agneym/ir-toast/issues"},"description":"```typescript import { ToastProvider, useToast } from \"@agney/ir-toast\";","licenseText":"MIT License\n\nCopyright (c) 2020 Agney\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@agney/ir-toast@0.0.1","dist":{"shasum":"7d08efe455c0045147fdc7e9a2349bcf16b891f6","integrity":"sha512-g/DMMSJD5yizkrfVULAsS2iIGhyVHfgbmTzopJzgh7Bf5QlVF04SMOIvAxa2kGUJ72d/VxaKydglTbnEx1OmSA==","tarball":"https://registry.npmjs.org/@agney/ir-toast/-/ir-toast-0.0.1.tgz","fileCount":17,"unpackedSize":24083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefjBICRA9TVsSAnZWagAAhuAP/0SOEovmgK3tL114KJw2\n2P0vcI7ni+yFeSAGw13olvw4d2BRd4eULjXAEL66zG+p1RBF1XRz9zYfPmMr\n/M50i6m+DH50Y23VqKhWWSSJVVRjI2dsBFzEdQFEnYws9pZz0xN5lkyue9R5\ncvw2pgOj6nNDzgAH1IkfXf3Lw9EojqVA4CDpwIm9veisaVvr/JfDPRPl3oCV\n92jBf3ZrNKDsjVky65cGMfyOc11ScNBwyAsquSRRg67RCAIw/gY0lL7onTcg\niFrtyxUN59Vq/BqyeBfKQEaZEcSXefizVZbCXHb9wq5Er7ShpEap816rjLMu\njIImy7eRa8gq/SCS3BKDfQXkb35wLMgSefWbakCyBJJTm482szwuGy8qxn2C\ngP0HjY0zxnIIEjK/aRAn0rP2kvLb6AxJf18eQ5vht99V8v8aIHFFpS0a5+1g\njbo4+87lAY0qQoyPNHZ3jrNUkACPOBDA+t64gIKXk7Dpt2//YFE8ENwd9KF5\nVek6utd2WZFF1n7BU8XXnj5kscR4H8QRzuSao+JAuXrgVf/mnrQlWGWjYgJX\ndGms815JFsedFsz0IhvXoqzwEl3956ncGzz1Fb6ViosT3rG6+ihAW59oWxKW\nAXTW/TyjZGf4ojhFngWQW3UgozWmAZmfvB6Km8rQqLrKhTbBA7DWWCdwzb8K\nNP5p\r\n=KzMO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+QHCfFxUs4Hox+MGi4Ljupnk1P4uOK1HwXqBk6bTjkQIhAMwmH/6dTqzPX7DirHWJDmQjD1tZdX8fkMAq5hprGTdS"}]},"maintainers":[{"name":"agney","email":"agney@outlook.in"}],"_npmUser":{"name":"agney","email":"agney@outlook.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ir-toast_0.0.1_1585328199559_0.018630365969419138"},"_hasShrinkwrap":false},"0.1.0":{"name":"@agney/ir-toast","description":"Enables the use of imperative Toasts as in Angular","author":{"name":"Agney Menon","email":"agney@outlook.in"},"version":"0.1.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build"},"peerDependencies":{"@ionic/react":">=5","react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint --fix"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"module":"dist/ir-toast.esm.js","devDependencies":{"@ionic/react":"^5.0.7","@ionic/react-test-utils":"^0.0.3","@testing-library/jest-dom":"^5.3.0","@testing-library/react":"^10.0.1","@testing-library/react-hooks":"^3.2.1","@types/jest":"^25.1.4","@types/react":"^16.9.26","@types/react-dom":"^16.9.5","husky":"^4.2.3","np":"^6.2.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","tsdx":"^0.13.0","tslib":"^1.11.1","typescript":"^3.8.3"},"publishConfig":{"access":"public"},"keywords":["ionic","react","toast","javascript","ionic5"],"jest":{"globals":{"__DEV__":true}},"repository":{"type":"git","url":"https://github.com/agneym/ir-toast"},"bugs":{"url":"https://github.com/agneym/ir-toast/issues"},"licenseText":"MIT License\n\nCopyright (c) 2020 Agney\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@agney/ir-toast@0.1.0","dist":{"shasum":"da93f78c7d40a96458caf1db598d9ba8c54d4b4b","integrity":"sha512-7hK0b4hDQEJBAcwhngJgIt/ychLNOOmyr8pZWJOVwLv+w0RR9g5Ludrt8kBG2ZZhWz6/3kTGdJ1leSSQgPZ5qw==","tarball":"https://registry.npmjs.org/@agney/ir-toast/-/ir-toast-0.1.0.tgz","fileCount":17,"unpackedSize":25429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefjPFCRA9TVsSAnZWagAAuagP/19nPeUVAEhxXAhcClEX\nHaoe74EJxrEKVfR93q/YqutejYjVeAvcmuZ31+fu3DEFzBc83JBTUMe+IFyv\nzKBVY5+kaAa6s0QPEsG7AKnPOrSmSgj+8HjojWjUw7OuQmrvHOccd4BVsY4W\nRkW87EjMiKCh2/PNN6Dt2eVQyAs5wWIav8NQvdwdbQXVB4Nln3c2/GbGdI1i\nlvgEU8QybPlHIQrMYe61uebhtprzU4w4Lkw5J/YtukEDeLf8XryadV6dyECQ\ntCa76SRtCeTlwGO8qn+4RNGnl/UxWcBVYxw7aEbazcBoONizQYeW9f/5Hxx+\nxwsE7+m9jrQuZ8oBgNB5EZw3uhSBCHopInGCojqhvd+8q1OlgcWxgGE6fLSm\nS8b4IxxuaC1DtZVDonogul8XWlIZlhtupL+ZsP1APWqzvC00IG1VLfYj6aku\nUpNVhCnX/jDhpEN5Y1HqtKpdP3t3ZxVzuPmq0Grd9W/lSOXMQU+DlNL3+EKz\nHtL/SDeWEdsEkrcf2NKtAg4uMQPervxPVj7oZEwVWNP3tGtN7xnU+PJnrOw3\n30eEOOO7JHkNuebrP+ba0ouJrixmY08RWEgi3J7QvUQXr+eOtg8NUf5RvwgJ\nihAcrYJuF+2eCQq+5Z6fDdFYUR0S1LI/hQH9hfPM3AiSAb66iCZxsqNS1CTs\ncmlw\r\n=+tWb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxfImmboji2giA8pxULHBFi8t4YSEU4KXi++Xiw20NxQIgM88TPCpEfrbzqvlTKDc0bcSEKbIVQJ6inbQ7061JYqM="}]},"maintainers":[{"name":"agney","email":"agney@outlook.in"}],"_npmUser":{"name":"agney","email":"agney@outlook.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ir-toast_0.1.0_1585329093430_0.8628736837298225"},"_hasShrinkwrap":false},"0.1.1":{"name":"@agney/ir-toast","description":"Enables the use of imperative Toasts as in Angular","author":{"name":"Agney Menon","email":"agney@outlook.in"},"version":"0.1.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build"},"peerDependencies":{"@ionic/react":">=5","react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint --fix"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"module":"dist/ir-toast.esm.js","devDependencies":{"@ionic/react":"^5.0.7","@ionic/react-test-utils":"^0.0.3","@testing-library/jest-dom":"^5.3.0","@testing-library/react":"^10.0.1","@testing-library/react-hooks":"^3.2.1","@types/jest":"^25.1.4","@types/react":"^16.9.26","@types/react-dom":"^16.9.5","husky":"^4.2.3","np":"^6.2.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","tsdx":"^0.13.0","tslib":"^1.11.1","typescript":"^3.8.3"},"publishConfig":{"access":"public"},"keywords":["ionic","react","toast","javascript","ionic5"],"jest":{"globals":{"__DEV__":true}},"repository":{"type":"git","url":"https://github.com/agneym/ir-toast"},"bugs":{"url":"https://github.com/agneym/ir-toast/issues"},"licenseText":"MIT License\n\nCopyright (c) 2020 Agney\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@agney/ir-toast@0.1.1","dist":{"shasum":"36e462fb3b7922acea30d1e7fd308d701890a2cc","integrity":"sha512-tTBUsM/jlZsVdeKPAUBXKMvMC/J3paY86R53subWjG5oqILsZKWOfdPc/rEQ2umbjP8iLPgSrpYyDa+h0FnjOg==","tarball":"https://registry.npmjs.org/@agney/ir-toast/-/ir-toast-0.1.1.tgz","fileCount":17,"unpackedSize":27974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefjbSCRA9TVsSAnZWagAAqGMP/RIl+zhBJmxMK8b/Cz6I\nXaqeXdrEXsvBHnOcRyj1eA4rkR/CX/nROkZs/Az3KCwnSBRc6Mt7JhciPGSk\ntTXBucBLBasHYdcj9YaV/4kgu5MUTR2hiVagKrCOkJiogv34OZB9L6P3heVz\nsoigeuKLBhhNWkeXfaXmghENHRVnkF34uImLRpVmG0eaRUtlr+Q1GM9FQM6a\nDLgKTk43YP6Af78qAQPF+F8TIzwZP4GNfNL16UTK6s2m71SPboxYaF2GrXSJ\nSnyjdTdGqP7a5k66oN/8bXKKhgH9MIOvcznLUrtH4nXTzzWMXL+3354sktmn\nFBwbMI9HmDL1Co+JwZSmIDj6Rpn6SmNCxAZ2xT8LhZbpmrU3kQVGLiPv95Pu\n4RNa4rfNxxvESosDMLUsY2VZmMFcvwWsLlZir/FW6X78qc8wK6To5rz026GD\nKKB1F2nh+FW0SaRmiIoJST0g+ZTN49x/KrJEARTLu3RHJmcwwKACN4NSrO/R\n5LUdPwHvrz/ct5UF50PbkxDi6ymX8C84s/EwJFp/2JQ3vUIX313zhXa6n3NH\nnfk9KDM1LqmRkPL9cffqcQrcMBr3dhA1kDNvSfmMg0xmTENWlw1YmmxNn4bh\n+dJEd5QuDd0lbE2wtV22cKXx42lyy6ooDHaLD5xNGW3js94vCA3rOqVUG7pz\n0PdE\r\n=dAF4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHwg3YA4k1xXT0dyZqwtq9WxezicpasgjC7t5A6ztOs2AiBMhmhMQWzwoTpuXs//km5N4H/YfV95sFq2bS5++1e3XA=="}]},"maintainers":[{"name":"agney","email":"agney@outlook.in"}],"_npmUser":{"name":"agney","email":"agney@outlook.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ir-toast_0.1.1_1585329874066_0.445555899687629"},"_hasShrinkwrap":false},"0.1.2":{"name":"@agney/ir-toast","description":"Enables the use of imperative Toasts as in Angular","author":{"name":"Agney Menon","email":"agney@outlook.in"},"version":"0.1.2","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build"},"peerDependencies":{"@ionic/react":">=5","react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint --fix"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"module":"dist/ir-toast.esm.js","devDependencies":{"@ionic/react":"^5.0.7","@ionic/react-test-utils":"^0.0.3","@testing-library/jest-dom":"^5.3.0","@testing-library/react":"^10.0.1","@testing-library/react-hooks":"^3.2.1","@types/jest":"^25.1.4","@types/react":"^16.9.26","@types/react-dom":"^16.9.5","husky":"^4.2.3","np":"^6.2.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","tsdx":"^0.13.0","tslib":"^1.11.1","typescript":"^3.8.3"},"publishConfig":{"access":"public"},"keywords":["ionic","react","toast","javascript","ionic5"],"jest":{"globals":{"__DEV__":true}},"repository":{"type":"git","url":"https://github.com/agneym/ir-toast"},"bugs":{"url":"https://github.com/agneym/ir-toast/issues"},"licenseText":"MIT License\n\nCopyright (c) 2020 Agney\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@agney/ir-toast@0.1.2","dist":{"shasum":"87f27a45a9d727888d24fa2a97ccb13f275752a1","integrity":"sha512-u3uzGkKga8cVuZIW6p45LKNwcyk8s6vMVInoZohDeSFItQYYB4Hzl3sJJRI+0dP2BL0hoAXq/K3/v5KUke02yw==","tarball":"https://registry.npmjs.org/@agney/ir-toast/-/ir-toast-0.1.2.tgz","fileCount":17,"unpackedSize":27978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefjklCRA9TVsSAnZWagAAb9EP/1Cm39JaHVN5/wHxuvpE\n7XytU4aXhAW5MvZSWn+cV1S+wL4/XF0T/iXpGPwJt/As+hzaZydQZMeCtrkb\nHv+bsw3Dx4ZgBgAfnVx44gXcttaiMzKeUIcKrzDmI8L6Mw/CyzNvYkAdRrHI\nGIduQaam0oLA0s/Zo6L2rxFSzbKHlHnlX51bb+90Co6rtuDl6/tL6qKR/VP7\nRxu3rVE1gWlUOjvYBcnUmXTAnL8kLZezB0KgzTQQ/LpOumR9kNMz9E7v3TuX\ntNAo5GyOXxZ2Zzue04khtATFc47R9grewivi6ZUg7JuuJ1rbpZsxAAOOd8qo\nLW7CAEsN7NRZ600NJ6XJ+bnGpZEkS092pLEkn/XfHiC+Yo3i0GEyoyL8VsE3\n99ZVmZZbDZnP6QM+6zsSlS1s/yGFH0rSmaYPSEhR5LYa3D1lV2htz0fqW0FT\nek3pGyJSWNy3bbgeGyOWGuTCfHy6UM4DwkcG89TR9leKgHacItx9FBDM5wVv\nqgUwE+T6358Wm5MPZjKflqOWRuYtTIRx/DEM/4RwgoDO2OMtRxqWOLmfTM/d\nIRpQ4CP/pmwSKNuAq0j5QyQGtkjhZ1ALrimqr5Zyft3FmbBdV7pFLRUd+kSW\ng4zHuysusY897pwx/hXgjsA9ZwCrMyFwLjhc1j5Osp1lJY9snCE45vf1WfhG\ntAvK\r\n=K7WV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGfaL7UqsRDYt8OGZSLPamTxOpEI2sEmAaV6+iDQZ2gwIgA3eGQdRUWZK6DM0mg4mZAVtoJ6tbi3lTCSDyo8/WAQk="}]},"maintainers":[{"name":"agney","email":"agney@outlook.in"}],"_npmUser":{"name":"agney","email":"agney@outlook.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ir-toast_0.1.2_1585330469055_0.930392561412053"},"_hasShrinkwrap":false},"0.2.0":{"name":"@agney/ir-toast","description":"Enables the use of imperative Toasts as in Angular","author":{"name":"Agney Menon","email":"agney@outlook.in"},"version":"0.2.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build"},"peerDependencies":{"@ionic/react":">=5","react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint --fix"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"module":"dist/ir-toast.esm.js","devDependencies":{"@ionic/react":"^5.3.2","@ionic/react-test-utils":"^0.0.3","@testing-library/jest-dom":"^5.11.4","@testing-library/react":"^10.4.9","@testing-library/react-hooks":"^3.4.1","@types/jest":"^26.0.10","@types/react":"^16.9.48","@types/react-dom":"^16.9.8","husky":"^4.2.5","np":"^6.5.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","tsdx":"^0.13.3","tslib":"^2.0.1","typescript":"^4.0.2"},"publishConfig":{"access":"public"},"keywords":["ionic","react","toast","javascript","ionic5"],"jest":{"globals":{"__DEV__":true}},"repository":{"type":"git","url":"https://github.com/agneym/ir-toast"},"bugs":{"url":"https://github.com/agneym/ir-toast/issues"},"licenseText":"MIT License\n\nCopyright (c) 2020 Agney\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@agney/ir-toast@0.2.0","dist":{"shasum":"9f13f9021669a3ee813ec447e98fe237fd947212","integrity":"sha512-g3kohPAb3Yn8mL8Ir5WSYpbJusWzR85ENZpY/pENs8CXGcbqWc+6devCv8bCkrjCCMSAnvDTo3xwvES+Kmk4gA==","tarball":"https://registry.npmjs.org/@agney/ir-toast/-/ir-toast-0.2.0.tgz","fileCount":17,"unpackedSize":27979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTSliCRA9TVsSAnZWagAA3ZwQAI+j9Vll8aghfBY4U2Jo\nPAPbjbcEyCg5PxMF9UlvJ1YS74QVS4PWl0vPljb9SygpaAIMj10Rao94NqRI\nZ0Z3YPJFyVoI/+aaxgwonXUdW0J77VRdK8/dYgRfWbUKLpyEBFTpTvLUxSAE\n0geVm89e/lfQOVA8akWdVnfH3EIvbiFcc0Y98/YB2i/562Br2A3nDH/fGawJ\nrDQW3btYTKa5qXxIdw7qAkafXMxvM7bkeFCuVaz/f3GYcnvOXSl395Wnz5rH\nP1xEnSiR8uo6Qc5OYUCMV+0lpjhHOqHoZR5akWEX/BTkIbUdTZbvKKKMME/p\naZLHHdKeBjz7YqRPstlxo8J9yvOBVtEb+mlyG7rbHeZryQ8nPmSvSd2KqRv4\nLNM9YuSuY1w8+lp149R2x2j+CXgkNg4o6qaz+yV1tnXoxH3ky2iFNLawbuLV\nkbqetm1ws4bBw5HymFAVXVkDaiJWYNe8AXUSW8jPA2xW6wdvQumDHyPf8T9L\n4U78Pb9B4koK8eMgVM5u0a5nL9XLkQfB3iGa9Q8AQCgnZ9+8IjI5tbDy91OV\nzbR8Q3CvN4jMVSb5b7yXxHvO2/zvL3COrGQdgAaD/srg7uCn+NS4f//BPe5G\npNuCk+Oky2whVf9WfJ5dZxoJ1Ca5eW7EuX2TsTzC7GgnU/7ZqqerX/6tq38F\nta9I\r\n=7HF3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5Y5jRcaLNL2HzCWO0KXcITXeZChkRAWETcpm7F4F1KAIgAbN3ex9AQke4PyAwQFqcqm2vDY0QAmb+Y3StWlmr5Jo="}]},"maintainers":[{"name":"agney","email":"agney@outlook.in"}],"_npmUser":{"name":"agney","email":"agney@outlook.in"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ir-toast_0.2.0_1598892385903_0.7220866633605887"},"_hasShrinkwrap":false},"0.3.0":{"name":"@agney/ir-toast","description":"Enables the use of imperative Toasts as in Angular","author":{"name":"Agney Menon","email":"agney@outlook.in"},"version":"0.3.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build && husky install"},"peerDependencies":{"@ionic/react":">=5","react":">=16"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"module":"dist/ir-toast.esm.js","devDependencies":{"@ionic/react":"^5.3.2","@ionic/react-test-utils":"^0.0.3","@testing-library/jest-dom":"^5.11.4","@testing-library/react":"^10.4.9","@testing-library/react-hooks":"^3.4.1","@types/jest":"^26.0.10","@types/react":"^16.9.48","@types/react-dom":"^16.9.8","husky":"^8.0.1","np":"^7.6.2","prettier":"^2.7.1","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","tsdx":"^0.13.3","tslib":"^2.0.1","typescript":"^4.0.2"},"publishConfig":{"access":"public"},"keywords":["ionic","react","toast","javascript","ionic5"],"jest":{"globals":{"__DEV__":true}},"repository":{"type":"git","url":"git+https://github.com/agneym/ir-toast.git"},"bugs":{"url":"https://github.com/agneym/ir-toast/issues"},"gitHead":"c1efa9f075c06c2269a4c8fbb8af79c1d02efd21","homepage":"https://github.com/agneym/ir-toast#readme","_id":"@agney/ir-toast@0.3.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-bmGuV8hv1rXOjFMtKiHlQTf5dJwIyl2Qm3T7Qnsx/GNO9n1D9sygY/fEAnzq8VsHI+3lfkMZfpKQuCdqAid3qg==","shasum":"621b79d28a5f06662c8c26212ecacba9dd26650e","tarball":"https://registry.npmjs.org/@agney/ir-toast/-/ir-toast-0.3.0.tgz","fileCount":14,"unpackedSize":28068,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCizG0zVfH9ZhMgdfqhOXSRIbkpTTv/SxtaeO/mdBhEnAIhAKGtzhwGBiJcYOMRiCc9s6JrxXM8CaQ4D+sDicQMff7E"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNcy8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXSA//Z54U1y6R2787mHirSd0Wq/CdHwuq9RBTHGBzJ8rXm2nCQGHd\r\n+2+iKBnfxnEvOEvqfVcKa41nBwAg20z0krso0SiCZ8vasAPNDLBOQld1BmrI\r\ns3uAHq8u4c72ZUGSpOoLra6l2LcJNbWkfPQFj/QxCB4bjXZBsBoPBf/KP3ae\r\nPbv+3Xo4G+OYqKCgVJa/ksZuTHuFX6hWgOG4v9a2iWkFlHk0mddauDPWimul\r\nOd0vZE5shrynRhjfkgupLXZCvg8ziWizdGYTJaXycS//Ck0F85TUpLecnc0V\r\nj5+H2jtiggDFbXpammPzhfXZabmLXHaT0w4w9rmhKAlENu9JCgTk5d9ELoK3\r\n43VoUxdKNW6f665glE6dgotdS5tbxD79ZO/LFE7OW5IRT1IvDXDi74zuBixh\r\nWlg2lrAymwb+os0rVFy4lkZ1wDu02Nu5+NCjnNLuiNu0CeYU9gJJxdl8T4yd\r\nd/pBpmOC3e5f60ks19vCKJ7jgk98ZGtXeI6DjNbchnewqAXkdK2K6T0LfyXX\r\nJAA51OYkuVfWrOTFfr6PFbBUjc/d4HgMYmpFvm6ovBKINZC2gxfd5CnR7d9D\r\nqMZzNHyH1OJBqaGmWQjRQ90Rb/5vEQ5u2AwRxwyHmm+plT0P7ei6BTJqFa/Z\r\n1Lfw93eRwUOeVfP0QZJ8He1+eVlUdiOw6YM=\r\n=5d8f\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"agney","email":"agney@outlook.in"},"directories":{},"maintainers":[{"name":"agney","email":"agney@outlook.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ir-toast_0.3.0_1664470204070_0.15306943558951502"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-27T16:56:39.293Z","0.0.1":"2020-03-27T16:56:39.683Z","modified":"2022-09-29T16:50:04.384Z","0.1.0":"2020-03-27T17:11:33.543Z","0.1.1":"2020-03-27T17:24:34.191Z","0.1.2":"2020-03-27T17:34:29.210Z","0.2.0":"2020-08-31T16:46:26.035Z","0.3.0":"2022-09-29T16:50:04.316Z"},"maintainers":[{"name":"agney","email":"agney@outlook.in"}],"description":"Enables the use of imperative Toasts as in Angular","keywords":["ionic","react","toast","javascript","ionic5"],"repository":{"type":"git","url":"git+https://github.com/agneym/ir-toast.git"},"author":{"name":"Agney Menon","email":"agney@outlook.in"},"bugs":{"url":"https://github.com/agneym/ir-toast/issues"},"license":"MIT","readme":"<h1 align=left>Ionic React Imperative Toast 🥂</h1>\n\n<p>\n  <a href=\"https://www.npmjs.com/package/@agney/ir-toast\" target=\"_blank\">\n    <img alt=\"npm\" src=\"https://img.shields.io/npm/v/@agney/ir-toast\">\n  </a>\n  <a href=\"https://github.com/agneym/ir-toast/actions\">\n    <img src=\"https://github.com/agneym/ir-toast/workflows/Node%20CI/badge.svg\" />\n  </a>\n  <a href=\"https://github.com/agneym/ir-toast/blob/master/LICENSE\" target=\"_blank\">\n    <img alt=\"License: MIT\" src=\"https://img.shields.io/github/license/agneym/ir-toast\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@agney/ir-toast\" target=\"_blank\">\n    <img alt=\"License: MIT\" src=\"https://img.shields.io/npm/types/scrub-js.svg\" />\n  </a>\n  <a href=\"https://prettier.io\">\n    <img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg\" />\n  </a>\n  <a href=\"http://makeapullrequest.com\">\n    <img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" />\n  </a>\n</p>\n\nThis packages enables the use of imperative Toasts as in Angular.\n\n## Usage\n\n```typescript\nimport { ToastProvider, useToast } from \"@agney/ir-toast\";\n\n// Wrap you App.tsx with ToastProvider\nconst App: FC = () => {\n  <IonApp>\n    <ToastProvider>\n      // ...rest of your application\n    </ToastProvider>\n  </IonApp>\n}\n\n// In your component\nconst RegisterForm: FC () => {\n  const Toast = useToast();\n  // ...\n\n  function validate() {\n    const toast = Toast.warning('Passwords don\\'t match');\n  }\n\n  function submit(data) {\n    try {\n      const response = await api.register(data);\n      Toast.success('Registration Successful');\n    } catch() {\n      Toast.error('Request failed');\n    }\n  }\n}\n```\n\n## Installation\n\n```bash\nnpm i @agney/ir-toast\n```\n\nRequires react 16.8 or higher and @ionic/react 5 or higher.\n\n## Properties\n\n### `ToastProvider`\n\nThe `useToast` requires the app to be wrapped with a `ToastProvider`. The Provider can also take a `value` as prop which serves as defaults for all toasts created under it.\n\n```typescript\nconst App: FC = () => {\n  <IonApp>\n    <ToastProvider value={{ color: 'primary', duration: 2000 }}>\n      // ...rest of your application\n    <ToastProvider>\n  </IonApp>\n}\n```\n\nSupports all properties in [docs](https://ionicframework.com/docs/api/toast#properties).\n\n### `useToast`\n\nHook to be used in functional components.\n\n```typescript\nfunction Component: FC = () => {\n  const Toast = useToast();\n\n  const handleClick = () => {\n    const toast = Toast.create({ message: 'thing' });\n    toast.present();\n    // When you want to.\n    toast.dismiss();\n    ...\n  }\n\n  // ...\n}\n```\n\n`Toast` returned from `useToast` supports:\n\n1. `create`\n\nA toast instance is created, takes all the props in [docs](https://ionicframework.com/docs/api/toast#properties) as argument. Returns a toast instance that can be presented by calling `present` and dismissed calling `dismiss` on it.\n\n2. Utility functions: `success`, `warning`, `error`\n\nTakes one argument: message as string. Does not require `present` to be called, directly shows the toast.\n\n```typescript\nconst toast = toast.success('Success message');\n```\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/agneym/ir-toast/issues).\n\n### Development\n\nWe use [`yarn` v1](https://classic.yarnpkg.com/) for development.\n\n```sh\nyarn\nyarn start\n```\n\n### Run tests\n\n```sh\nyarn test\n```\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n<a href=\"https://twitter.com/agneymenon\" target=\"_blank\">\n  <img alt=\"Twitter: agneymenon\" src=\"https://img.shields.io/twitter/follow/agneymenon.svg?style=social\" />\n</a>\n\n## 📝 License\n\nCopyright © 2020 [Agney Menon <agney@outlook.in>](https://github.com/agneym).<br />\nThis project is [MIT](https://github.com/agneym/ir-toast/blob/master/LICENSE) licensed.\n","readmeFilename":"README.md","homepage":"https://github.com/agneym/ir-toast#readme"}