{"_id":"@armincerf/react-toast","_rev":"2-d2d95b91295ad279dc65a53861dc63ae","name":"@armincerf/react-toast","dist-tags":{"latest":"2.4.8"},"versions":{"2.4.6":{"name":"@armincerf/react-toast","description":"Slightly improved fork of react-hot-toast","version":"2.4.6","author":{"name":"Timo Lins"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/armincerf/react-toast.git"},"keywords":["react","notifications","toast","snackbar"],"main":"dist/index.js","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./headless":{"types":"./headless/index.d.ts","import":"./headless/index.mjs","require":"./headless/index.js"}},"engines":{"node":">=10"},"scripts":{"start":"tsup --watch","build":"tsup --sourcemap inline","test":"jest --runInBand","setup":"pnpm i && cd site && pnpm i && cd .. && pnpm run link","link":"pnpm link ./site/node_modules/react && pnpm link ./site/node_modules/react-dom","size":"size-limit"},"husky":{"hooks":{"pre-commit":"prettier src --ignore-unknown --write"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"arrowParens":"always","trailingComma":"es5"},"tsup":{"entry":["src/index.ts"],"splitting":false,"sourcemap":true,"clean":true},"size-limit":[{"path":"dist/index.js","limit":"5.5 KB"},{"path":"dist/index.mjs","limit":"5 KB"},{"path":"headless/index.js","limit":"2 KB"},{"path":"headless/index.mjs","limit":"2 KB"}],"devDependencies":{"@jest/types":"^28.1.3","@size-limit/preset-small-lib":"^7.0.8","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.5","@types/react":"^18.0.15","@types/react-dom":"^18.0.6","@types/testing-library__jest-dom":"^5.14.5","csstype":"^3.1.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","prettier":"^2.7.1","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^7.0.8","ts-jest":"^28.0.6","tslib":"^2.4.0","tsup":"^6.1.3","typescript":"^4.7.4"},"dependencies":{"csstype":"^3.1.1","goober":"^2.1.10"},"peerDependencies":{"react":">=16","react-dom":">=16"},"gitHead":"46edf22c5893ac70bbbbc9a796d2221ac93035b4","bugs":{"url":"https://github.com/armincerf/react-toast/issues"},"homepage":"https://github.com/armincerf/react-toast#readme","_id":"@armincerf/react-toast@2.4.6","_nodeVersion":"17.9.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-AW0ggEbysqkc2DbXZkCLl/8iJKjtRTjHYwCReqqwXuLcqL9kEtjFvPDFmNguNFeTDzvTCeFCn8wZDxbwtw6yjg==","shasum":"a5c6bc281b5925e8a717b57201571a83127b1f09","tarball":"https://registry.npmjs.org/@armincerf/react-toast/-/react-toast-2.4.6.tgz","fileCount":16,"unpackedSize":29154,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmH2CfA/Dfww/JTLQKNaqo1cwvMhMvNPSYygofVliWHAiArW11hlvF8QeIWtAyVgWUgrtpG+ONNA3/NthNFpaQocA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAK3gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFpxAAog4eDpEqaiCxcpJ7GJMdx0FpFE1FicZmA1lRz8RCxU64Mubs\r\nCkC4UQGDrC6L5tQ3qwXQr3aajiMTIhJNKhma+y4G5nrDchDu3sRVCrgikiE1\r\n53iSTRUi7BchOsSe68SlQQagmvKD8kNyqcDM0bxQDftpsLZjxMmAnwVdxssn\r\nPkazPRtr7SnKBTg4SQuZ0Iu5geEQ1aidd+KUlaFDDayqbK8HXoBq6f8HovsR\r\neV1pRAnU5ySUadsra+DA1vvSDpQPpT9xowUDUbYPKcaSO74jjc/cYrJLp0bc\r\n6CDPDWjHjrUaBSr1khaLLoc7BMcN4TS8hm4AJDtK6xJC4PtBGEuWFpqpf+Bs\r\nKR+AZgSxvtccYBeVgQRP6kBIyCGy9dBsnewr1uBnLAQGNRh9Ic/+Qtm3D+9E\r\ncvTP7XiHZqrGn2BZlZAcaUaJk6ehVReOGdiZ3ILx/EKdnnAp49arnoJU/G/Z\r\n3gnmLVGxLSGxo20sV+g6vvv4zb/I98bNiks0fFRgHnFctYpGWWxotvPH+u7/\r\nIKuk7u7QO5fdrRXuCjd4+z++wQESxCZGEjZivbgXKThsHCAJF3Aps7m1/mEp\r\n6t5gaPvIdN6RwE8ehbJq0KUKLJT2SWrYZDM0TXLL2w0ssatJRMMeTEuTOGvy\r\niJbLOZrpHCYuXWNwu2Uu8bUbDY5CqkEQKJ4=\r\n=V7HH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"armincerf","email":"armincerf@gmail.com"},"directories":{},"maintainers":[{"name":"armincerf","email":"armincerf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-toast_2.4.6_1677766111905_0.6992901073453421"},"_hasShrinkwrap":false},"2.4.7":{"name":"@armincerf/react-toast","description":"Slightly improved fork of react-hot-toast","version":"2.4.7","author":{"name":"Timo Lins"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/armincerf/react-toast.git"},"keywords":["react","notifications","toast","snackbar"],"main":"dist/index.js","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./headless":{"types":"./headless/index.d.ts","import":"./headless/index.mjs","require":"./headless/index.js"}},"engines":{"node":">=10"},"scripts":{"start":"tsup --watch","build":"tsup --sourcemap inline","test":"jest --runInBand","setup":"pnpm i && cd site && pnpm i && cd .. && pnpm run link","link":"pnpm link ./site/node_modules/react && pnpm link ./site/node_modules/react-dom","size":"size-limit"},"husky":{"hooks":{"pre-commit":"prettier src --ignore-unknown --write"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"arrowParens":"always","trailingComma":"es5"},"tsup":{"entry":["src/index.ts"],"splitting":false,"sourcemap":true,"clean":true},"size-limit":[{"path":"dist/index.js","limit":"5.5 KB"},{"path":"dist/index.mjs","limit":"5 KB"},{"path":"headless/index.js","limit":"2 KB"},{"path":"headless/index.mjs","limit":"2 KB"}],"devDependencies":{"@jest/types":"^28.1.3","@size-limit/preset-small-lib":"^7.0.8","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.5","@types/react":"^18.0.15","@types/react-dom":"^18.0.6","@types/testing-library__jest-dom":"^5.14.5","csstype":"^3.1.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","prettier":"^2.7.1","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^7.0.8","ts-jest":"^28.0.6","tslib":"^2.4.0","tsup":"^6.1.3","typescript":"^4.7.4"},"dependencies":{"csstype":"^3.1.1","goober":"^2.1.10"},"peerDependencies":{"react":">=16","react-dom":">=16"},"gitHead":"76fdfea476495c07d9b7e8f7c403257350d2cf16","bugs":{"url":"https://github.com/armincerf/react-toast/issues"},"homepage":"https://github.com/armincerf/react-toast#readme","_id":"@armincerf/react-toast@2.4.7","_nodeVersion":"17.9.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-5D5JrOlPfFHyo+B+TE0CNVumDypjwINJXKoxTMg2P6rGAoCTmaV6cJyiDLFnyvNAAS6WjU9EKTR/TzFAT1iV3g==","shasum":"236df23eee4365d4af12afb060df0d532f62c98f","tarball":"https://registry.npmjs.org/@armincerf/react-toast/-/react-toast-2.4.7.tgz","fileCount":23,"unpackedSize":213760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpXAFAJt3msI92U1ipHVFFom4OzFpC0a9bvyzTVxPIAgIgOhSyCyLF+hVOgVDpJS7JX/xy5gFtvyVpf0rY1Ci4EPE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAMASACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBDhAAkCQHFXxjJjcHwUnTgYWxGx4pItWAlrUseH1XFp/oD5L/e0Sq\r\nbiUj2AJKTCQjn/FhAwu3y/KPVkQRW6GQXLEnhCU9/WnIwzDBUzqMjSua7slT\r\n81OLCMyXHfFZTA8sSH57hodCSXs4vm58DvK/97C4VHgzTEnAtmZ3caH0QG7S\r\nm5s5Mlc8M5D9mUWAHjGvlgS+HBof98g8XlbjWId3tRmzLRQDK9d8xAoxHc+5\r\n3fqnq5CgX09dFDLhlMzWJLxQSeYPknPnryrc/g1hAbH480bodOVVWpXS6Rtz\r\n2eQ3xmGXz8R5L+EPWgV7Q6lpPFk7HVoHPE2YkO+OKuGez6D+GyYvBw/Bd6aB\r\ngYjbg8YBeoFG/VJTaJWU7U0J5qfxm2sVxd6RqpAt+5nQgp1FI1tD9kYrsPQS\r\nCpD4WeeFpZqmRNwGTke5NLi5jpwBm55dEbfBIm5T9p/coynZIIGCTSUadQsU\r\ngveWNkbSscxsGH7x2zN0wyv80l5t23CIHsMKP2vUVCsKbIarwenisFRY743d\r\nYUF5OK+Og7PZWne3+aIdu4uvbgL7BM0/h312a8BWZ3d/9qRQzJNp/5hi291V\r\nqPW4BaGlX9jQjUebgjAXIEjUHYok5W8oDU3Zf7yykpoM5k/ZDLdKkOIEsM6T\r\nmLbYNHgHtB1M3F+rWWQiMmvDT/5dJGfLV88=\r\n=Jh+B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"armincerf","email":"armincerf@gmail.com"},"directories":{},"maintainers":[{"name":"armincerf","email":"armincerf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-toast_2.4.7_1677770770102_0.3241824532274513"},"_hasShrinkwrap":false},"2.4.8":{"name":"@armincerf/react-toast","description":"Slightly improved fork of react-hot-toast","version":"2.4.8","author":{"name":"Timo Lins"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/armincerf/react-toast.git"},"keywords":["react","notifications","toast","snackbar"],"main":"dist/index.js","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./headless":{"types":"./headless/index.d.ts","import":"./headless/index.mjs","require":"./headless/index.js"}},"engines":{"node":">=10"},"scripts":{"start":"tsup --watch","build":"tsup --sourcemap inline","test":"jest --runInBand","setup":"pnpm i && cd site && pnpm i && cd .. && pnpm run link","link":"pnpm link ./site/node_modules/react && pnpm link ./site/node_modules/react-dom","size":"size-limit"},"husky":{"hooks":{"pre-commit":"prettier src --ignore-unknown --write"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"arrowParens":"always","trailingComma":"es5"},"tsup":{"entry":["src/index.ts"],"splitting":false,"sourcemap":true,"clean":true},"size-limit":[{"path":"dist/index.js","limit":"5.5 KB"},{"path":"dist/index.mjs","limit":"5 KB"},{"path":"headless/index.js","limit":"2 KB"},{"path":"headless/index.mjs","limit":"2 KB"}],"devDependencies":{"@jest/types":"^28.1.3","@size-limit/preset-small-lib":"^7.0.8","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.5","@types/react":"^18.0.15","@types/react-dom":"^18.0.6","@types/testing-library__jest-dom":"^5.14.5","csstype":"^3.1.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","prettier":"^2.7.1","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^7.0.8","ts-jest":"^28.0.6","tslib":"^2.4.0","tsup":"^6.1.3","typescript":"^4.7.4"},"dependencies":{"csstype":"^3.1.1","goober":"^2.1.10"},"peerDependencies":{"react":">=16","react-dom":">=16"},"gitHead":"76fdfea476495c07d9b7e8f7c403257350d2cf16","bugs":{"url":"https://github.com/armincerf/react-toast/issues"},"homepage":"https://github.com/armincerf/react-toast#readme","_id":"@armincerf/react-toast@2.4.8","_nodeVersion":"17.9.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-j4J6aB4S7gCAmptskXBpFiz0XTQSxNme/V8ubllpjcX9jEWmCrYVzAxWvag3fiGnT0DwLuNfTNYwuMm5qallYg==","shasum":"36f825210f5cd7275d81ebc360ca3ce7626dad70","tarball":"https://registry.npmjs.org/@armincerf/react-toast/-/react-toast-2.4.8.tgz","fileCount":23,"unpackedSize":213064,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD954ovgnBA1wXiUaP9bxF95kAjDdnqcAN4C6+BjiFX5AIgdjQ3VUI+Md3xPXIn+Y13mEd0hkk7S0/AHMPxmS7M6Xs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAMhMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRfw//cGZEz13X9+L608TxxcFFzMv6I8ENO12BRCZQbMvTKwSzfeP6\r\nrlA8gkCFxkX/y4P14FdIKdMXA/1aEJvhRsxK24y8th0wNFdLzVNbPxq/Lc33\r\nEtMcAtVzYPIlxh1ITKdGRqNeblRKziuBNSsdBObH2SKoBdk1j4Tp40rcrv0T\r\nA8qeVTiWwC8+ZwCEk6/2EGayqS6T1xGwDPz3oWHiGWxPrwGm5FCmjTP67HM+\r\n1s7+YtqNCb+UfWZr9BQx5ZByJOJvrtPYrlZi26kKoO5GoTWs2vQITtkLLYZo\r\n3rOmhSj6cCUc5z/+FrPVHp5bqMy8lqo6fxc+D1oGhJm8hvr8TD3BhtEZEVyf\r\neAY5hqCThPgwrhVLJon7WrzSdFwWw7TsAILC4Mp8G+owxf0FnYFf7KFY6KWO\r\nPwHcli6bytJEYQMBlBv64pvTIhCTNHB+OEjW5xXDmXpPxhfOLPuHvohJJV1m\r\n/jRqHFtErd24+T4XuSfPBJD2b6hO5t64gDNMtc4QZFyyhYMFhnBl6NfXpdx2\r\nb5nqgvpPFDgvwXMlG3pp7qBuIuDgv6e2QKq3tobJILYjFG59hfHlf+ptUJ5+\r\ncWqMEU8zYEoUJTfXApTolL0udRRjd+bQos79IzcdvlscvPehMSh2N3UMTCNg\r\nWbCwZYYAIPQ6qaZMAIAoHHG14axBnhsfaG8=\r\n=F2Nb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"armincerf","email":"armincerf@gmail.com"},"directories":{},"maintainers":[{"name":"armincerf","email":"armincerf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-toast_2.4.8_1677772875970_0.5199073850988971"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-02T14:08:31.640Z","2.4.6":"2023-03-02T14:08:32.097Z","modified":"2023-03-02T16:01:16.313Z","2.4.7":"2023-03-02T15:26:10.323Z","2.4.8":"2023-03-02T16:01:16.227Z"},"maintainers":[{"name":"armincerf","email":"armincerf@gmail.com"}],"description":"Slightly improved fork of react-hot-toast","homepage":"https://github.com/armincerf/react-toast#readme","keywords":["react","notifications","toast","snackbar"],"repository":{"type":"git","url":"git+https://github.com/armincerf/react-toast.git"},"author":{"name":"Timo Lins"},"bugs":{"url":"https://github.com/armincerf/react-toast/issues"},"license":"MIT","readme":"<a href=\"https://react-hot-toast.com/\"><img alt=\"react-hot-toast - Try it out\" src=\"https://github.com/timolins/react-hot-toast/raw/main/assets/header.svg\"/></a>\n\n<div align=\"center\">\n    <img src=\"https://badgen.net/npm/v/react-hot-toast\" alt=\"NPM Version\" />\n  <img src=\"https://badgen.net/bundlephobia/minzip/react-hot-toast\" alt=\"minzipped size\"/>\n    <img src=\"https://github.com/timolins/react-hot-toast/workflows/CI/badge.svg\" alt=\"Build Status\" />\n</a>\n</div>\n<br />\n<div align=\"center\"><strong>Smoking hot  Notifications for React.</strong></div>\n<div align=\"center\"> Lightweight, customizable and beautiful by default.</div>\n<br />\n<div align=\"center\">\n<a href=\"https://react-hot-toast.com/\">Website</a> \n<span> · </span>\n<a href=\"https://react-hot-toast.com/docs\">Documentation</a> \n<span> · </span>\n<a href=\"https://twitter.com/timolins\">Twitter</a>\n</div>\n\n<br />\n<div align=\"center\">\n  <sub>Cooked by <a href=\"https://twitter.com/timolins\">Timo Lins</a> 👨‍🍳</sub>\n</div>\n\n<br />\n\n## Features\n\n- 🔥 **Hot by default**\n- 🔩 **Easily Customizable**\n- ⏳ **Promise API** - _Automatic loader from a promise_\n- 🕊 **Lightweight** - _less than 5kb including styles_\n- ✅ **Accessible**\n- 🤯 **Headless Hooks** - _Create your own with [`useToaster()`](https://react-hot-toast.com/docs/use-toaster)_\n\n## Change logs\n* Added ability to toast promises with optional success and error message\n\n## Installation\n\n#### With yarn\n\n```sh\nyarn add react-hot-toast\n```\n\n#### With NPM\n\n```sh\nnpm install react-hot-toast\n```\n\n## Getting Started\n\nAdd the Toaster to your app first. It will take care of rendering all notifications emitted. Now you can trigger `toast()` from anywhere!\n\n```jsx\nimport toast, { Toaster } from 'react-hot-toast';\n\nconst notify = () => toast('Here is your toast.');\n\nconst App = () => {\n  return (\n    <div>\n      <button onClick={notify}>Make me a toast</button>\n      <Toaster />\n    </div>\n  );\n};\n```\n\n## Documentation\n\nFind the full API reference on [official documentation](https://react-hot-toast.com/docs).\n","readmeFilename":"README.md"}