{"_id":"@nature-ui/toast","_rev":"41-6ecf4e5a288009de86e349e23c0e8a26","name":"@nature-ui/toast","dist-tags":{"latest":"2.2.13","dev":"0.0.0-dev-20230411071731"},"versions":{"0.1.1-alpha.0":{"name":"@nature-ui/toast","version":"0.1.1-alpha.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^0.1.1-alpha.0","@nature-ui/close-button":"^0.1.1-alpha.0","@nature-ui/hooks":"^0.1.1-alpha.0","@nature-ui/transition":"^0.1.1-alpha.0","@nature-ui/utils":"^0.1.1-alpha.0","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^0.1.1-alpha.0","rimraf":"^3.0.2"},"peerDependencies":{"@nature-ui/system":"^0.1.0","react":"16.x","react-dom":"16.x","rimraf":"^3.0.2"},"gitHead":"87645586a2cc62cb2e808fef34d915e7d42a0530","_id":"@nature-ui/toast@0.1.1-alpha.0","_nodeVersion":"12.18.2","_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (linux)","dist":{"integrity":"sha512-uR/JUcEEueXezKwGuwuSQ1dGGXqIhR2GIVjCo4/7bcBRZBt3xwDE7awPPQzB99thbn2DvXPSCwh0Mg7U92V2Lg==","shasum":"b9cca9656e8e7b5195b00d19a6b87e3db725b486","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.1.1-alpha.0.tgz","fileCount":37,"unpackedSize":68189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2K6rCRA9TVsSAnZWagAA770QAIt3SCGGqIf7ssAlCrQW\nMVJPx2lyQHpTL33S96ll58r4Sd669pyrCJvUW34WERWRMRdDJ9KJOAIyNDH4\nKKYTxEqg6y8oOFnMBXh36bTCIofWLW2Rrjm2GxcSzJAYQEofLV6YLXpVLlG4\n8WC91OKAaS96eLtXiXsSOJs/3x+wRPiN2MJJgKeC8PwTpBzCBexZsz5BVQVI\nyGvqoRFwKgMDlVSLPTb/+1m5WuAxSI/VUp97k1ohf+9Euyzq4g7icGFisz0O\nvP7OmYa2F8DXeS1ycWjiiK2qaLFLka9oW9zFuaowfZnT2uycF1oSP3RA+nuf\nNwWJSO+MjzfBEUtvdHnYxOjNHgVLT35+jrzrXAnvq9qeREuk5jFE/dzfDIhe\nO46Z8JjTodQQeAj7yOPXjCt5ujIwg8NXq5+ym5H/dkhwz+IB55hCBBxZyor3\ntxg4cPBWXT6sqQTMFPkhAu2gs4nT07+Ngq/H4iX49mJ1Y78n2Ztg0fdnECh9\nJODW5dLuuYpxribhrVCq0uwYCDsDoyqq5Jzx7RCmoOzkrLWQXP5SjWEh0khR\n/MvKsWaeEYrC+YgtytX5gqTdSn2RV7z8eLBNw4bBpy7/XqLvb00p4mO5bLC6\ncCypcV0AxMQSDkI1+hcR4IH5VFbO3DFmDsE3XhQ2fGPhR0tyVMkbXVx5GIuh\n4VKj\r\n=R8eU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9deHs1Uv3ZjbaTQDNjlspI+PdX4dtk157PvhAStzIjAiEA5ypZ09rWnYCYyjbPXQYo1FNiQaf/amwfHFWP6Y9Bbqc="}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.1.1-alpha.0_1608036011463_0.6771483474268944"},"_hasShrinkwrap":false},"0.1.1-alpha.1":{"name":"@nature-ui/toast","version":"0.1.1-alpha.1","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^0.1.1-alpha.1","@nature-ui/close-button":"^0.1.1-alpha.1","@nature-ui/hooks":"^0.1.1-alpha.1","@nature-ui/transition":"^0.1.1-alpha.1","@nature-ui/utils":"^0.1.1-alpha.1","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^0.1.1-alpha.1","rimraf":"^3.0.2"},"peerDependencies":{"@nature-ui/system":"^0.1.0","react":"16.x","react-dom":"16.x","rimraf":"^3.0.2"},"gitHead":"c35548adb66f718a665a84e8b61154c17322d851","_id":"@nature-ui/toast@0.1.1-alpha.1","_nodeVersion":"12.18.2","_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (linux)","dist":{"integrity":"sha512-TjepXpWxnoxKvSvHUdiNt3I2KIBxtgIMv6FVhnbQnxeP3HbbeWfkG/xaM4Re73ybVX2MbNE3DZrvIM49/0Y0sA==","shasum":"6aabc636e64999319893e9486a07bfc6100523da","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.1.1-alpha.1.tgz","fileCount":37,"unpackedSize":68187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2dlSCRA9TVsSAnZWagAAY5AP/0PlWqKizUMbctrFoGlz\nN+BAZUIadbNUYgNqffYhzLyOLpb40xWilljj0HGXOW6s3ltkynSHG+0I+kkc\nKPctiV8mZhE3HwfuaARPsf1qrtl/N7hHqBDk7mKjIvbE5MNK9J9qNGtXaY1g\nk2SO5cQ0WlV9Kz4F3lfR3gCBrWwpsQ9PlJvGxCKyHqYuAGSr0i9nzLbcOcVH\nNLWe2V9dBX3geqWkihVJIninLQ+f/RxJgcLwvkd1y6fcZhVHTwO5klEL2GAl\nh/Xb9JjWYC2kyBb7k7Of+d/U3Du2wr4iqNZy5oe2Vwuc4Nz/iZ+/cVhSAWRC\nZpbnwPZyUZWK1FI1d+9fCXxca6xal3UVUd10VR46n+mO5RPMkyMc9q0vY5B7\nC+E0lxGoFGI+pGEm1clSewRqWCFQvEQJm82tPF7nzig4Z61s2i6brISDgAWJ\nt7GrkTyTmg2/6JK9fnqYr6SBhwSJMnY/+lyfh7JblO8xNeWOIZT2sLnX3iYp\nka+BQmtMgjBUYM03rjtJktf997H7UDJJV1eAau7w63+nBTv02t2eEcrkMN0d\n6wavJAxoIKfNHnjn5yD4hX7a6m4vJIyLJNZTOXiCnRhVDQF7YJQqIiLMMxmi\nuMcPHSDylu+6P8CEgJkrB9h1p8UFwJ9yl6w2jiHBiQI7Z1AHlqEsAX8p20uy\nnMwd\r\n=BMpj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAkTFhywvO7XWdjP1AHGXKTC+xxUol4kQzFDRvv/ZwOQIgVDaT+8WrrLZ4soxm49RyUWiEZ5EDkN1DGfZhLhWjSLU="}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.1.1-alpha.1_1608112466589_0.24421882075857182"},"_hasShrinkwrap":false},"0.1.1-alpha.2":{"name":"@nature-ui/toast","version":"0.1.1-alpha.2","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^0.1.1-alpha.2","@nature-ui/close-button":"^0.1.1-alpha.2","@nature-ui/hooks":"^0.1.1-alpha.2","@nature-ui/transition":"^0.1.1-alpha.2","@nature-ui/utils":"^0.1.1-alpha.2","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^0.1.1-alpha.2","rimraf":"^3.0.2"},"peerDependencies":{"@nature-ui/system":"^0.1.0","react":"16.x","react-dom":"16.x","rimraf":"^3.0.2"},"gitHead":"749dc430825144a10eb63e2dc8a04eb1f83da3a3","_id":"@nature-ui/toast@0.1.1-alpha.2","_nodeVersion":"12.18.2","_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (linux)","dist":{"integrity":"sha512-8C/nQHFef+DM8XL4Tzf/XTtVs0iqsQeIh8zDwWif9UWFV3xxJQ5LT/JB06dLfootV9yHv2TvSsnxbgu36p2mOQ==","shasum":"d8d48694f9008f4cfce07654882f38a6b702e648","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.1.1-alpha.2.tgz","fileCount":30,"unpackedSize":50596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2fhpCRA9TVsSAnZWagAAyYEP/2yVlwX5ybCoEfqEprM3\n1bs5iiWR8q16t8Bl3xRgfUXc6qbDkbCSJ63nCcPj+VULX2QOKSXPnqgUotCV\nvJMuAn3HJ4w5BkhH/W7E2XyKbY8xvz1fGnaEwxYJn2ag0q2tlqoioJkW3TOA\nz8DydpSTlD/mehlJ2LoBif8WW5UIB9Iep0jiBY1Xx3E+rWI6K7J8MI/vByYO\nOjvhUsGo81IBpslNaoEVzXsGy7fyCKC3T2dKfXTNpOEXe82fMXdh+YmoDyNc\nmLR57NuQ8bYdVS7JZzzi6E8+k4FwDFlLOr37ER4x35dcfppDCGUIDup3zy6W\nmZHhrEfPdXySIc587PgUUsE0VuCaK+hyC7nG8fQlSHclRqHB0U0y3Mx+FG+Y\ndbRKGrMr1TamOI3TxwoNGZwmrZZftZBcXP4QUp7qsYkG9c8Q6rVN21KwN6jJ\nvfxpPCEll9iw2rY3fjqo9fE7V5z65tOsp7PvmCPe+MeQScglj7rOc0JEqT5F\ne/Y6eabHrq70eVmzppiiOZg0BClxv1wqo5cPwI+2RGpYRiavaHtpNIBkRWSF\nvtmIAFBw11W6w0mCTKGRzpfDOxac7yK1F6ShBQo5R7l3vUCW7Scfe6gsiiVO\nKUWdhVoBPGpQqyhhFmOu+QwFJuPYYQVG86aISYA5kwajddCdgaG00UfDlM6F\nn/7U\r\n=MnHe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGA33bNkudmOpdekIQc0LbooX73wBq+1vaiUauhLCEEjAiA8iSJf9z3argPusS5i9tEkr0W6mLji1u8kI0ToiODCUQ=="}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.1.1-alpha.2_1608120425431_0.0006298150679260317"},"_hasShrinkwrap":false},"0.1.1-alpha.3":{"name":"@nature-ui/toast","version":"0.1.1-alpha.3","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^0.1.1-alpha.3","@nature-ui/close-button":"^0.1.1-alpha.3","@nature-ui/hooks":"^0.1.1-alpha.3","@nature-ui/transition":"^0.1.1-alpha.3","@nature-ui/utils":"^0.1.1-alpha.3","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^0.1.1-alpha.3"},"peerDependencies":{"@nature-ui/system":"^0.1.0","react":"17.x","react-dom":"17.x"},"gitHead":"c6d0bee721f19119c89a863c4fec0883c14e77e0","_id":"@nature-ui/toast@0.1.1-alpha.3","_nodeVersion":"12.18.2","_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (linux)","dist":{"integrity":"sha512-jo5XcCyM7VDpx3VYQVcXUq67oojypYlIlWuP5kItT64QuWkIRRTg0vM42PBt1dV7molAXGD+4Ns1zG8Opfta8w==","shasum":"d8cfa9975927993497803e1d265a870c49b1c4f8","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.1.1-alpha.3.tgz","fileCount":30,"unpackedSize":50515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2hr0CRA9TVsSAnZWagAA43YP/0LtXTbfHVmnkA0CfHOW\nyNGv/JMnAu3zQSy4X6/8MSxpST+bVbYjZP+qVQ/exaEeqeiyZ8GEsOcIsrzy\nvzjdi48U9tQA8Q47Y/itHvQstgpduNcTQ5Zc6C8afTJNyQtx9d8xwPtMBFpR\nzfL2+rQLa9khWqJ8XAFnNr/Ung+WsNTy4otydB49tFmlgh8CnrHfHtWufXgI\nKd8xzOxdyaqvHVeBuV5i2oQiNyKwk8m7acW45wLdwkGouP5bTvFdbjuZ44KD\nUH9i5dCxKPR6v/v8Y8/EXF2MMRw3WHx5el0LyA81mOSxYX1Y+mmCxiIAEx9D\n4jSu34pR8W/Csxg5O7IQbNqDRe9KbZn1Jk/AvS9BFE1V8heMXWATHxgeCXie\nbjfxT+jmUSZ5VweBlOuCN1m5bO56+OfEJC0KgQZh+N+YPBZoUR4m/hMkLGCL\n8qULUMFto9bukppD5Pl+cV+c0SjvmJThYw7vLkX/T9e8edUN2MEeEr5UYYM1\nT8myEY41+Qk2WpWwrH6vxwIRFslEkYrLNIVwSMl6FFZs0K4I4Dn6KEb8LUuL\nN8p1WBAcwYlTa0vBwBbUO3GXE6Iu2T5pzJcu8GfMCEs6WiK/oa2ritW4lvJj\nl3D1fbxo0DmYHz/xi6zvMKDUigTdLWL0oV9GxBufctGnHGGlLdyxY2aay7Au\ndUhi\r\n=vrUg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkYgj4E8IAJuIQ1DasmhDZZL+P6VcShOCtudLZUa1BAAiEAjWl1/iYUMfkW0Ds/ohRCgDXIUwU7vw+fLdK65i8gh0Q="}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.1.1-alpha.3_1608129268290_0.5972193167471642"},"_hasShrinkwrap":false},"0.1.1-alpha.4":{"name":"@nature-ui/toast","version":"0.1.1-alpha.4","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^0.1.1-alpha.4","@nature-ui/close-button":"^0.1.1-alpha.4","@nature-ui/hooks":"^0.1.1-alpha.4","@nature-ui/transition":"^0.1.1-alpha.4","@nature-ui/utils":"^0.1.1-alpha.4","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^0.1.1-alpha.4"},"peerDependencies":{"@nature-ui/system":"^0.1.0","react":"17.x","react-dom":"17.x"},"gitHead":"75afd6d14922fe36375f62be36fda38cfc0b2fe2","_id":"@nature-ui/toast@0.1.1-alpha.4","_nodeVersion":"12.18.2","_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (linux)","dist":{"integrity":"sha512-tHEBd4qWOwoYrjvXIR1C7oWIgBASLE3EjlIKKnbe0ATl0Pg8G6XkIWjLYaVzu+7tv5SWHcouULgGuTZlif/XFQ==","shasum":"8218bbb2d9945136adfd1230c23271652077c278","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.1.1-alpha.4.tgz","fileCount":30,"unpackedSize":50515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf93QWCRA9TVsSAnZWagAA09IP/0c49Qc/8w7rzmvrWQoF\n1KKpHk+svKZJXbKDL1mG+A/dY5zwFBzpe4AKKbz4/MUEURBhap1/KhkTIVbU\nO18JoGXcUSrnE5qsp6KvtGVjbSd1h1zdM6mQVKQFuiYC1ZG7/kaBNKuGElye\ncwFEZ0+2BuQitcfyNW+dfdCgWd80PHIyTsPnq7pP7W5KVmfzwtpl9xX6B7J8\nz2XkmlRV+UYafcg4AeRsh1MZ5cL4pLLFZi60LTZQBofde0avX4bZvx9isjPG\nH+SzX2QxplPLhdAm25BeapTCa61ZQsR3CaMeuKBJVUB0T+f9nSlw+Zt0ZDd+\nOJvlhCuddeAnp4goPUKLrTQHGy2lCWK1CRUkLOH0TQ4OOQLh7ZutnbtI4l2m\nEJiRNPoJpyXpGovOT972yv0+RbxLWFo/9LiRMtwXFTkdqgD7b1zl8wbjNS7B\nj+cBXhRDe92xqutMiV1l5AIRI+8p89huTTQGe4go4GCifQJglI/olyI+EwBT\nq9mBq4gyEz8uz6Ftf9zvjtKzD9FCmDgkOrgYEgphDAWzUOskuhwYZgdiUKjc\nXKAYPgMXzOkQKOFcBpmiGLgvBWG1u1UABpkjkznH8YmXNq27Y1leCuy4UKnU\nYYFnsk0JOJLaXEZj8zoTwRHHUyEMRk48hQ3qoi3dHvISsiNApKJBlzsZUsUW\nh/f0\r\n=jqup\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRsByPOD0gtPb9iGzDB9RcKAPRSbazwQUP2tyiPW8DSgIhAJEslh/VpJH5j+0sufLBaua0a06IuyWDb2orA1mdR/em"}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.1.1-alpha.4_1610052630379_0.19740444596744444"},"_hasShrinkwrap":false},"0.2.0":{"name":"@nature-ui/toast","version":"0.2.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^0.2.0","@nature-ui/close-button":"^0.2.0","@nature-ui/hooks":"^0.2.0","@nature-ui/transition":"^0.2.0","@nature-ui/utils":"^0.2.0","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^0.2.0","react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^17.x","react-dom":"^17.x"},"_id":"@nature-ui/toast@0.2.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-tYQ6N+5R7BgNSFWOTR9SPMIfArvbjsVZ5UepkDAVkrcFk6k8llkOlVD1uxlSxdJFNTBY6/XMesljH2zZ/F1UFA==","shasum":"412e486832fdb94fda78e58b5f4f412313850066","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.2.0.tgz","fileCount":31,"unpackedSize":50708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+NFCCRA9TVsSAnZWagAAf/YP/1xSZ9BBYlTAwgl5vidK\nADFjaqeftCY7QCvkxiSzlMnWEYQl7TyrwUi4YZQ0lR7m4eYBdm45qdupcQ66\ni/wkS5N3cQHvaIst5ur+oAxkvZ8kJXPDiYcb60WJ3h8Rp3x12TJFQ2314f2I\ncsrIv8ruGtK+lozS3/9x0Uq7winrIaf1gCRBxZN6N6Q/lmPW1z8Bv9tnga6b\n9rw4dVvnqkh1J3WI21JdtimLI0X6bjrcr1cOJpGxsyuPSUhm9RDaYe0YsvoV\necnRvAOcjjVcjBSw3t4hBGXJ7qe6F2xpcVVJXJqHjyoghyfC9LJ/CczJA1bi\nwosqgFR5ORF6ai3NKY4gwjwvLRkNedJkIXtSQVpFUQdTZpB5QT0tUKQI9qSC\nxesddHRMD/IN9YAITFuj+zDXeAiusKf3NpDV44Om2OsxdQWq878hHiFsnpgl\nBNZMK9d9tkXsZ8Ok3MXcg1dNY8LvaKfk4xIAgiQyoXnbfBca2CddBbPFo2zj\nLTlp9/m1Nols/mXOpidOp7usy6M9srm2bV0Q+qQsQcRcFTgab7tH4HzvIZm/\nVrfoPgXo1sPX0TKpDDw3iJgeDtRBe8KwZWVQtpZliyrZrSQQgLD3vkEodA9T\nhVSCGqw7QjL/A7+0IRD+JCYhj96tXzeyUanQUzJ8AtjXNpY7vmhEPaaU6Pen\nkVCd\r\n=f9u0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjG6x5x5kxhc8MD8R2n2hS0AoMWX3IKxzOw4IR+LL+TwIhAOYuO1U99rMFZvcDVQsDv5JXi9tDSEf8bckSo885L0c9"}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.2.0_1610142017727_0.5061306213535968"},"_hasShrinkwrap":false},"1.0.0":{"name":"@nature-ui/toast","version":"1.0.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^1.0.0","@nature-ui/close-button":"^1.0.0","@nature-ui/hooks":"^1.0.0","@nature-ui/transition":"^1.0.0","@nature-ui/utils":"^1.0.0","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^1.0.0","react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^17.x","react-dom":"^17.x"},"_id":"@nature-ui/toast@1.0.0","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-IcGf4ZGQ0bG0wN3N+5f/RCQUU0ym5HAtuPFiWxYnEP1FP6Jqjf3qZHHJUVZFzq3VxKmr3DJ9zxDvQAeCoh6l9A==","shasum":"5ddafc614b8a71e729a03c0b185cba77251d5249","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-1.0.0.tgz","fileCount":31,"unpackedSize":50963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+ZVqCRA9TVsSAnZWagAA0vwP/358iBevMXzzvpMWKIq0\nsbBOTh9iuuFhgeS8H0PnFAxpAimn2TJX69nUDgWqLlN3/v2CGxd7z6tmF/SU\nUt0R+XVLt5fSQ4PQhW+z+jeBe/MHA7063LHuD1cBmHP3Em5AfhrKmnPCsPCR\ntE3Qm0gRX89w2eCpjU6gzc7VDdwmGaN7x313ubviLbamXYMSXrVTwAeH8EWD\n46FLYlpCPGKe44PubapyK4w69P4R8RJ4X2rXVt5amhjQJ8e8yOI9EhDOepQr\nCn+VuIFsLZ1IYVQlNNy4R9GPngiEWprjifw9WnbuZp8NB9iCvIiwVITERUuP\nGYzj6Z+TSX3GCTEnLwTuB5v3zlDtcpSqj9RkwxJGBVp8J01uBRcFGB9/vW/0\nQSqQh6R6yd777H9slSoI9ThPDqnf2oCzR+xhGUe5NqbTYOg1Yyr03UShP1sN\nhzVQUYiokOPNlZziDh3+0Dq/7w2JcwYnlx5df5XJmpkg9XQRAJRhjxDLaZRQ\ndEK4tCAGBU9oYLsBsGGCyspZEKjjDOKvvAlbKxHdvY+ZkgODmHWEZ4CWfMtI\nnligV7qTJ+S59XQq1d1zYjRYTHqL+sOVQpTLPYZCcKEtUdBmSrx4+IWOLytp\noN/cfbXy+hIRO+D8hVMnh/VtPI0/nU+rSz8aiktd7f2E2Ma1SVFJHHgycGBF\nfpdE\r\n=tART\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk/IRJMdlIlbIDP0ypby+mBess8C9w6wdbIjCG1JmgDQIhAMKUb9Uy18L+kOKq2cmn1HLy5Ah+9ri2QZWEoEH+pCst"}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_1.0.0_1610192226850_0.5075223565630931"},"_hasShrinkwrap":false},"1.0.1":{"name":"@nature-ui/toast","version":"1.0.1","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^1.0.1","@nature-ui/close-button":"^1.0.1","@nature-ui/hooks":"^1.0.2","@nature-ui/transition":"^1.0.1","@nature-ui/utils":"^1.0.1","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^1.0.1","react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^17.x","react-dom":"^17.x"},"_id":"@nature-ui/toast@1.0.1","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-pYmlc6sQVHW6UIzn4jmlPVzzOeyYaXx+0KNMXVHLalLox4Riwr21igLow3WalQlBUJ8MHqpK6XGZw+D0s2no3g==","shasum":"1ef944cd119840bd01383b45bce6856918a29a21","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-1.0.1.tgz","fileCount":31,"unpackedSize":51733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/wUMCRA9TVsSAnZWagAA6GAP/iLtbP05sU+ITrU+n7FN\nHk71PsKvrJx4iIHahzYSfDPOr+MrP25DOhVgwGeBEQ0UTETChtXqp+Lnlsxz\nikyrW43bnWRpxj+3O4skSU09P5VGVjZtsUkobTGdRgl4dKy8z0D/5Tagum0x\np1uBLHczH7zM8mEs0+iU4bipRrqaPvk2OIayrPpDutbGkhDIhHRSCoKpLlMq\nEHO7q8dBhq5H3Gqb10eD3q+2LAshez9eQdOEKvu/dPXK0JaHeH2+28X/W9zv\npxj51FeXUcw8vSvyDqlgHW//UIqIZpyMr/dspVUWeudVlG3HY6wWMao2bTku\nELRB0MODHjxdqVWtwTt3NlcMe6z9TgOjHu4bW0O8/FjhSrPdXWc0VdxBQo1n\n67NiGEqDzO7wIK+LhxXtQMMBxehPRlUKOxCYbXvckfCz96FWEacfl4wOW8bm\nIxlMOxF4fWP5x61i2e4aYPvvpa5WhaETFXohVB7LWqJcJNwmlce01uzw+1h3\nM0qWAdMHkKxYGtduc/7E4+PTk3NdvH6HQ8hyBcfQTqher/oMy7mFl0Mh6SNY\njuz3yBBIAqAS4xJ+NDkX/Ea4CNE0Ze5y/0wq9kUNt/bVTl2YEsCQ1Nizr4J2\nXIUVZNsHL6bPl2LFpsBf2xsvGQnPKrsHozavTIk47bMr/qlaWohvAZYRFf26\nBIpt\r\n=S/jT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAlJkeIqHVbHSHxrokK2nGTb+tHcd1VBJaxU8p8c0oCAiAvPfH8qMpoOUkI4iU5ZapT6US+faozzOTA18vD//3A7g=="}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_1.0.1_1610548491590_0.40084106225322214"},"_hasShrinkwrap":false},"1.0.2":{"name":"@nature-ui/toast","version":"1.0.2","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^1.0.2","@nature-ui/close-button":"^1.0.2","@nature-ui/hooks":"^1.0.3","@nature-ui/transition":"^1.0.2","@nature-ui/utils":"^1.0.2","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^1.0.2","react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^17.x","react-dom":"^17.x"},"_id":"@nature-ui/toast@1.0.2","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-cAhG5Z2fWPE1TWi3EvkPIeA7T6GHTwLB5dTbYw4MieEGOURdrauZCTjdIRNk99UU0MnErhkmmTpmums3BfvoqA==","shasum":"5fa54de21fa710af5cb1756b25d4a4737c7b0f94","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-1.0.2.tgz","fileCount":31,"unpackedSize":51971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDtr1CRA9TVsSAnZWagAAmpYQAJ+FY3wtEj9z7zV+XjYm\nT61ltqmazsbvolaesiSDlSHgvsQVQ+21ewAonxV7+4+OL4CVm/kkHOJZ8LkT\nxS3mygLafBI66GX5pnejHfkPcR4UrfeXGNF5xea6Idy/J/qXvyEHKJTTUlDW\ndpqLjHo+Vmu8gE1lu76WAmPPgOkRcJ/LXYA2gk8H9o2Svrz9EQZY497H+0Tq\n1JAmcrJ02rwvz6CVdxjmwSvx5hG+HRdcvPV/YKectsHsv3+VN2tQVHwrYKV0\n1QoaRNzHso2EiXdWgcVz1yrjGqSYFYHgVHFOUQMKOS8YM/67x0Omlk/ALa5Z\ntPpwTnjVSXjndWZxcRYoH0xbx3jPRZwXutE1koCb7IAIqgWK2VZYGf/BMPha\nT9Qzyvadgvos4NaTOg2H4DR3MGc0yIpbNPU8/PVA8ZavV/Fq30vK3Zv3R3Q7\nAxAHFaW38urDAnVvIVOrfTDOOkOfYxhPgZZs97l+fhBQ+ydG9aF4eLRg4QxJ\nyGYv36ApEjyUvhpF/8mDo7GiTjrsiWFcL1UUuDTw6IsgmC0/wVtSkjI6p/B8\njKjc/SPQdgUBzAwcGONGSS7cEnEOmOcxKUNqJK1v1YRHOt+nGCHWRKdEhCSG\nXLzU7e9eGwblg+D/jc8++WTijloNrVCfbHGHkqOpKIldgZSPdoSWxO860rmy\n7rHM\r\n=LBoU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFlmid+J5eqCxMj6qU9H/7WepZruBs9ctW4rlcKkhxwQIhALGR8TvmXy54BlbKiLjWwezZHgv2mWNQ4PkAZ7cRpuoV"}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_1.0.2_1611586293365_0.8313445556520953"},"_hasShrinkwrap":false},"1.1.0":{"name":"@nature-ui/toast","version":"1.1.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^1.1.0","@nature-ui/close-button":"^1.1.0","@nature-ui/hooks":"^1.1.0","@nature-ui/transition":"^1.1.0","@nature-ui/utils":"^1.1.0","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^1.1.0","react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^17.x","react-dom":"^17.x"},"_id":"@nature-ui/toast@1.1.0","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-epGcs03ihGU/4jmpC5JEqspzC9EELy1E7i6+w3QBG8GdcFidtx6UQs/whEaP9W2/Vr5Gg736uTOFEjgZTUfqaQ==","shasum":"e60223bf39d8bd50b96be36dcc212b973a64944c","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-1.1.0.tgz","fileCount":31,"unpackedSize":52224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEA4DCRA9TVsSAnZWagAAsw4P/0wICcwinoaKhvRnTIX6\npkh2cpMN0FV+v6qapnsU5+DvPCs8pdnsh8zccHOFko9sF/IsQawuVaHhy/FS\nGyRlkHBnhd0a3C08WxvWXfg/14AonNIJGvJiz7W5zfNh4DYua7Z+++8LrBO4\n2ohhJL4cI014kFD1ydB+s77omRC73OfCSlhmdcLHnk3G69CRxyci1jklG6LM\nfFUT7Bn+5UffDxr/POJYd+CNCaFLUH7u/RKheDp7Xj6zow2+HJMbd5x9/Txo\nKnjalQNIP9Ouf7BCSPy+Iry0UJxbpGpCkznCxQ0hEZJNb5kLqRjlI3hrPGlL\nCvVqBDnMNj5m0mj5F7zo2Le6pN8V9hOs+8gspLk5CloY+b+Eod7Iwk2kTiEF\npbNwu8DQZPO/WHKOjM6Xbcg4BpCCzl1plNGaC7pqak/ActEloR2owHBuhJk1\ncsg62E0wpFZboDO5aCqK+3/4/ga9Zy8zXXdeANpClzQKfyOqyxV893/WdKUp\nRpGWzYXGqPM9de5MZeY5vUqtIPgGsskVXsHJbDSw9mB4GHChBvAsCsML1w/I\nI94h7kTo8uM6lmhRvrX5rAsvRW4lUxqQfr0FGuUihU737uiFoo4QzhPggy+S\nzHWMQihVcJzKyFL14DMVw5kVBfAVQd1BntXKSAf4OSy+gcvMm+mxMaHMFVNV\noQ1A\r\n=dM+I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB28OWsBMuTV5WFbXqeimTQXk5MpKFeenG2KjLY1URAUAiEA+PsRTjbPpt9lrFx2+Z4MlIpkGu21OrLNUMbHwc+/A0M="}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_1.1.0_1611664899062_0.23597992447164207"},"_hasShrinkwrap":false},"1.1.1":{"name":"@nature-ui/toast","version":"1.1.1","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^1.1.1","@nature-ui/close-button":"^1.1.0","@nature-ui/hooks":"^1.1.0","@nature-ui/transition":"^1.1.0","@nature-ui/utils":"^1.1.0","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^1.1.2","react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^17.x","react-dom":"^17.x"},"_id":"@nature-ui/toast@1.1.1","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-rDe08HvdH1j4JdEmHfxxGR6E6shHJUgEZw2xSa7Pf6QGRBUkbyOTKJPTY33J9kWp3EnmzSBfWuONpufofCHmjg==","shasum":"0006dc6fbfd384f64ad82ef22dbc7e45c7ae368d","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-1.1.1.tgz","fileCount":31,"unpackedSize":51078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEW9OCRA9TVsSAnZWagAAM1YP/A5zN9reMEFDIY6CaSp1\nycpXwmk0s57fplGV6qKC6/pi6t2j9wPVElCZEVOtHZudtyVNGZDDAwT9s3ma\nLbjHrtQnzC6Rw7QOwToGF9bIeLZRb1xJZyJ+l+cWZ5DuvXW8J7ai5wrf60+L\n+YPmJFGJMvPSD1gooS3uu9qMe17ldYQAR0vSuyUWvy1yI39kEc5bI30Wc89m\nLXoNo8V/DLZCohidj8HDa7r8MyjLfukuF2j26b794mEW5IZqSZmrwwy7r0x8\ntP8lMo5JgQv05ybJLXGvwELe4D/cwQc/Az8IE2aDCxb/eeRzsMMQYKiSdBJM\nKo5eS4AZOesv8RZGxGFrnqa4XNJ7gUj1i1mlL24px7P1RrYrcJnjWS5ISMvT\nbqgd1Cz43bCH5RIzRCrCqSTNQ/uIeTeYZ0AQjYCwRwYw6PXonmqJp2QY0X36\nRkLRzBmXePp2EezmVr7HOfLTSHWJvIJElkznl72CCr34HFEQ0Aq3sfKV/WyL\nynHuXWkL37lcbrK3Dth6GcXGv+TgRh5Wt9TlrC3SlUkwIKfDYjg67U76CfVh\npic3fb/jbUXEw1ELk4UhibiS+o/J6Krh+krh7J5vRHkKMgvZG/H2WFRSDR/D\nmRos8MsDqzOtD/s9Fot80QDb9Axy7XIfBU0Al0eWpResgKIFgP3pt0P2hUWh\nnI+t\r\n=b//d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAXtoxAdTgz8zQdbDNMA9bjzSj/nNDCQjtiszt4nUTBAiA0/fTBd7wB+ZyiCPEGO6gpfOxEFub1L1eHDVcX41jqag=="}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_1.1.1_1611755341885_0.1809225527712619"},"_hasShrinkwrap":false},"1.1.2":{"name":"@nature-ui/toast","version":"1.1.2","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^1.1.3","@nature-ui/close-button":"^1.1.2","@nature-ui/hooks":"^1.1.1","@nature-ui/transition":"^1.1.1","@nature-ui/utils":"^1.1.1","@reach/alert":"^0.11.2","@reach/rect":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^2.0.1","react":"^17.0.2","react-dom":"^17.0.2"},"peerDependencies":{"react":"^17.x","react-dom":"^17.x"},"_id":"@nature-ui/toast@1.1.2","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-O9kLJN+JYixhizMHmvhPiO3/PIj6zVJHhsf2BBP/Guipt7MQIw5fOx6EDE/5apuVV9PbIrhKUWtvWiIFUDwvnw==","shasum":"6bfadadaf0135a662ef07abc5648e7e279968971","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-1.1.2.tgz","fileCount":31,"unpackedSize":51611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2SziCRA9TVsSAnZWagAAnlMP/iRtqvno2arfG96Z7m7p\n+7sv19w4av6Q/SPEAPElPa/L5wQoNbYXl2FyvZPH1eVQf9GNsmaEUd5TUZxA\nff1nGOqlBq3xHv5PRuO4P6eqU9gEa8Gn1hHXP46ceBbeXQNDZYlmoiUsqbMP\n5IWtZJ2EtsMyioNGekfFglPd6aE4h0vVrBuSxK1n6jsRypY9L8OhFOBbpKBu\nstcx9NdS/txxnNIYc/a/U6hZXYzrh/5qje2riXHV50y80dfdVoCuX62eg0NA\nzaGTdSSWulRXGEJ3uxHWbshvMcv7ajZAUnT6ZJIhBLWxhNF4TwON/K3PC+o5\ndELufuIaZF9VtdEypuDm48+79nRmqlKBNbripEwxvuH5lHm1OtGiWGEbjx8q\nLUbSstiblK3usuLNvuhZBJmUI6f/IKrHpEA+fTegxh3aPceJJDHycH4vLTI+\n2t/rNZ6Zxa6mNzPv5nVFRyPwjtV78+TQTbSZrmH8zhELHxjUAKHpiBexX6We\nsS9Xj5zUO1CA2yWP9QPEVpnuZojA5ID+gJJTNXRwz8kx+ElsuIncwtq/Gass\nZhFmFAKQSMrKMCJLALFi7s8UVHql50mSNfOoR8uwYelNAMi9RV8ly5sZvvZc\nUTHcTJOttr7SN/h0mQ95/9azrEA/sGK0+mOxWwIydp1JzCN8ZeVqsiEWfkU7\nMUiN\r\n=BoIE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC58MXBSizF2rOqb2dU3QvcmxjCD22XhT+dIHmFbVhOiQIgMM777dcqRjf0iGCz22lkaOAZxCkL3KYFstc9JJF5PhM="}]},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_1.1.2_1635149228591_0.4060988524232192"},"_hasShrinkwrap":false},"1.2.0":{"name":"@nature-ui/toast","version":"1.2.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^1.2.0","@nature-ui/close-button":"^1.2.0","@nature-ui/hooks":"^1.3.0","@nature-ui/transition":"^1.2.0","@nature-ui/utils":"^1.3.0","@reach/alert":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^2.1.0","framer-motion":"^6.2.3","react":"^17.0.2","react-dom":"^17.0.2"},"peerDependencies":{"@nature-ui/system":"^2.1.0","framer-motion":"5.x || 6.x","react":"^17.x","react-dom":"^17.x"},"types":"./dist/index.d.ts","gitHead":"d233cada226ebdf1d23b94a54e2d168693ed9540","_id":"@nature-ui/toast@1.2.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-7AyYUJp/T2vtgAiogsbTJvQljsrm0Xes1y6BWj57ryoK+Kd0YsIAVxPCS24cxMtKR3QQKTa5qv/RfG7NagHydg==","shasum":"aead4eec2585a3c4b3e9c9902d40c5a4a963c8b8","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-1.2.0.tgz","fileCount":34,"unpackedSize":58223,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGnUZtw/ZKnJmYMTHtO0hR7fABt3t3ppn4QBEOjy/kYpAiBw/KInMmqstJzNiBmBXqxaYDLfxfPyLrF60rF/Ec5pVw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTcMTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOHA//fpxmgO25rvO4dAkWd6CTlT4un8oAQ00C2/9jBfTmojIW/ZgF\r\n3PRAuO0eAmxbdz0+LJJ6AfkKnb6qGZxQvrnROIlMQ+ikCqRcqfGVZkha4S66\r\n0CJH9vlYj7gvYLkenwdr7Ze6Qyjzz0eUZQB1VdV9sZ28hDQD9hkZEanl/xwM\r\nSbXYp91Esgb5PNa+rPsadTFDwBZbLotnVPW/vN8/cbX6osefD4uAn3N+3V3b\r\nqXLrOcFLE8r0xPlDFsdXFoNTGVwv5gNNY81+YumeqmuIrlrIS0g0JX9qjs2u\r\nFufUGq+WvjCk/8xzl7GQ8cxiauPZ9wArU4mBtcFM7b7re9YOa67NHOipl9fc\r\n2njXbTklJ+XehYcnTzq22AX00MOzuz9HreekRVz/fY+yQD3jQeq6OTMcri2G\r\n8lHz5NIFk1d9GhF1Q3zMJa/UjPQRVusgij/0lKJK3XEuaF23d0yKp6gSAkDO\r\nTjGxGoTtfpjj4hKD5toI4/I761PBhheR8qWTXrBtwxZ8InF8HZvfWIz7hZif\r\nwVotrkb9nSfBbDF4Qs92LUZQS51Fr6xhrVz4/7KH7GX1qC9PhpNQAQYT7zgF\r\npi9zwSWUWAZ2fDAxuoFp7AHe9Fgytw0ZOxvmPM+ax9pEMaHrfLg3KBEA9cAS\r\npg3xbGFEa4HxOlLEYceIxDSxgPThaiQIMag=\r\n=ODS5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_1.2.0_1649263379779_0.6786825677745563"},"_hasShrinkwrap":false},"1.2.1":{"name":"@nature-ui/toast","version":"1.2.1","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^1.2.1","@nature-ui/close-button":"^1.2.1","@nature-ui/hooks":"^1.3.1","@nature-ui/transition":"^1.2.1","@nature-ui/utils":"^1.3.1","@reach/alert":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^2.1.1","framer-motion":"^6.3.3","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=4.0.0","react":">=18","react-dom":"^>=18"},"types":"./dist/index.d.ts","gitHead":"6975120860ada3eb8acf7b573b3ffab60fb43b7d","_id":"@nature-ui/toast@1.2.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-e4Qsu1ae+dLQBlJCbW/JMIW9PBXy4KtIVoMiLlT2/Be/VzdDuWngmDnBLBySIlbC/wLT37z1ne9iQ5EDAZARGg==","shasum":"80759f56a8749f7d39b36d851d83039b1ce6cb6f","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-1.2.1.tgz","fileCount":42,"unpackedSize":67726,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF7SCtMuq1cZv0FRH42u6Vz28aT2s4G4xYH6bQHV05U7AiEA9Hm+2421AAUvz5g6Ypc6g6lDQ1NqNX1HMPAfXkxZq+s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjE4B6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIpQ/+JgWZxw4An6zZEskjUUKMAhISqzaM/eLN6+1LZEL1k1MPxSha\r\nrrLKZ11fzJbkLEqBwBAZa6Avzrm8LXZqPB83hi/tIEJGiNVgRUOJxQMRFF2N\r\ndqpLvC7DoH4V1eySYqfLn4hmW+hP6sUh42PkfJzYYrI71Wau0L5rDEFzUTzF\r\nvpllVwvQyWfNxuZvM9UqWYYxNcdg5atT4tHAdv8VyBhRbs4EC8Pv85tZ5OL+\r\noNPYba9PhCAlaH/9GmnfRBrCCaPkSHW9srgh+/4fu4+CazjgkQzfiu5i3Oc6\r\n/KQ1sqfmz4LmM76mY+wtAQ7UWjPrBBgDEeXGkyzrcKGX2uo2CujR2mWbKEIs\r\nh6PmxC8+gukWjgx785wMI04vhVJi5bUxN5iSZaEVcouyXyw1Zl7nkkbc+Vv5\r\n63OMCDfjf2iCXCi2m2F2fuGCeom5vNDeRjRa2QYv7dR4lIv7fsEUM76I+Pfl\r\nu3FVKyi1TuBdPbbbqJ53X67Sy42z46tyAw72+YsQhpgDfJD148jOxh8jSCU3\r\npX6ffbfHQ/wUXJmGss39tV9TK1he2yXpVtwhgpxuw3+atF9CzraL7x7S3vME\r\nuPS6TLNPZtnwN4vbIl7jZOf7I2HanIpfqHRxw9aB74DN96/si9jRxerAHVD5\r\nPtkEeXuvtBffCE1GXfRKUwzalf003pZJuKI=\r\n=jXrQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_1.2.1_1662222458275_0.5962896158064668"},"_hasShrinkwrap":false},"2.0.0":{"name":"@nature-ui/toast","version":"2.0.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^2.0.0","@nature-ui/close-button":"^2.0.0","@nature-ui/hooks":"^2.0.0","@nature-ui/transition":"^2.0.0","@nature-ui/utils":"^2.0.0","@reach/alert":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^3.0.0","framer-motion":"^6.3.3","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=4.0.0","react":">=18","react-dom":"^>=18"},"types":"./dist/index.d.ts","gitHead":"64b098b4b7ad09bbc9edcb7c67df57745e3b84f3","_id":"@nature-ui/toast@2.0.0","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-83Cgzqiyr0mbneRfxYofvWLuLUYn3Pi7mt56sBO8oRRonYBTnZhozLLOCzsSKM/JQc7LNkU7Lp/qIAMVYkGIgA==","shasum":"712221e28e64652257bfdb16768af24ea192cb9c","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.0.0.tgz","fileCount":42,"unpackedSize":67726,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCEe8OUJZK84YveTpJEW81CLU7q+qAPPlu7+diACRbUAiAlAFfD9VPNBrQFdTP6kW02hs6CjmiW7R51tGDz2OMi4A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjP+LSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQ9Q/9HHKkv/k7AslbOfPvZSggI3Q2ANdChcxwoXCv60aR0aVs0/5O\r\njBKR5Nyki40IObGEgk0hO2U9oXuBVqbXqWweeoCe4FDRS/gpWWZnkXF3xTr7\r\nSs0ZqzXBbuzMWZcVjgajda30GSTcvacN78fcJ6t+OAGFliI/eNmGGTCPJ+iD\r\nYNmoozHOMWApAuQpBLn4iPAPVGbHSroNOx3s4xT8FEOTxERjfSnM8dOP45di\r\nBtPJ46PKkJxSwkB2BVELZJk/v5RxAQB/aWsXWkTudA2hhlOh8g1TGqFFfWB0\r\nUSeqXTBjqcFuSXT2fbCBiN/eJR9wRN+EjcmgM11fOYhg5iuP0GJ868hH05Zx\r\nKlURYXp4xzNuFlLBtsIpe93xkfeZZtHiexsso7LxjlCMrFtNSTW5LuBGeTxc\r\naHMXL50DQA6BzGAj4vPKe0AMDTrSfrkejo50HNbl7p4utEgZMRNX2Jyb47Zo\r\nnfOOLDrIoui9dIHbqkhs67Z3/fnv0nU8pReLCI7RRNLMSh7vs6tv4T4hUzon\r\n6CujZd6kZL/q+OONLaPjNjFqQGvwhOonzqRgf+MLg4jD2h2N2uXITv5hDqtB\r\nKHh1IRkILrehQ2umFdPip5eYwNL9cEfFlUwd2aRUdRt8HmDymfLUytOUcPrI\r\nq5JEg6T+nU4DtchDQjiMwXs6tpZjFoDHYHQ=\r\n=uAb8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.0.0_1665131218202_0.18185742120354553"},"_hasShrinkwrap":false},"2.0.1":{"name":"@nature-ui/toast","version":"2.0.1","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth@outlook.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^2.0.1","@nature-ui/close-button":"^2.0.1","@nature-ui/hooks":"^2.0.1","@nature-ui/transition":"^2.0.1","@nature-ui/utils":"^2.0.1","@reach/alert":"^0.11.2"},"devDependencies":{"@nature-ui/system":"^3.0.1","framer-motion":"^6.3.3","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=4.0.0","react":">=18","react-dom":"^>=18"},"types":"./dist/index.d.ts","gitHead":"7edd1a07eecb19876507fa63747327d78a8f0b45","_id":"@nature-ui/toast@2.0.1","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-a4/4wGOQeAI8xe1rU+k5HQM5nJWasAUyWG09kEFx3cnLaPpc1lYGEVdIqY8uW0E7XPKScikWDrcIIuHhY+y+Gw==","shasum":"f5d96d1df70961ac9a4c5683ab904e522f59f4fa","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.0.1.tgz","fileCount":32,"unpackedSize":42741,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJ31TK+FpT8Ekjdow1tbJY1nXOdwwm9vqqhnXPNSDPzAiEA5rJRAdQN0gAck5Z+JgaKM5Ob9EEnfFTHI3JjgjdauQE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjS6j0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqpKQ//Xpol8uRiJ+hgXxxp/iW+0CpOk2dZ84xgEPdfI7KSAG/W02PS\r\niyG67AYt8gdsOfH/NxQqG+daEKHPLBoaW0dzTlW+HLp9A56f22yaKPVivAm6\r\nj5E1gg5xoSburiTKyLjs424S3Xn8nj9MnDZOMeSIVzDN5szSA6eFSdbYsCjH\r\nTri6qiPsz7Xha6TN71i0kIX8MIrw2+uC6KiSFL+4EeLonuuoNksp7vwD6Hvq\r\nrWBjEYPkuu8Kp916b1TVlPAYhCk4N43sNUusdt4N8sFkCu72uTfogoAWEl+S\r\n6893kwxyShAM6JgVXP4ZpccjQH//A347G0BBWsgL+uXRkS9WPgVvcXT38rUo\r\n8BRkJWGSMcoDflce4tcWkU5XH1Ahdmt7bYgqgqp5xk2qWkNDnDrJkxeu8qKz\r\nQnOxoQzjKo6Y6CrKMyx51Lgjap135YB8w1hKlIkmCE0IzMYk3cn+9Whp1Jg2\r\n8ppJGtbIE5oF7j5KLkDC+1XsmwjNh3KLyGgQacJamQKAe/rgNj2OdsWV625m\r\nISHSwNNikVR764jySbxiw6xkahdM/8E7ejx9QXW5Onc49eZgOJoxS9+XvEcX\r\nCEqPaGvom8ZngUt8QBA0LzNJoRdVGHQVkpeyzYeOZIt4Kl0UtMne9BhkGi7s\r\n+LRwMABv9Vu+/AymLp78UZxt9mGCl28TJDA=\r\n=dU3M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.0.1_1665902836094_0.8432596614610011"},"_hasShrinkwrap":false},"2.0.2":{"name":"@nature-ui/toast","version":"2.0.2","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/nature-ui-toast.cjs.js","module":"dist/nature-ui-toast.esm.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^2.0.2","@nature-ui/close-button":"^2.0.2","@nature-ui/hooks":"^2.0.2","@nature-ui/portal":"^2.0.2","@nature-ui/react-utils":"^2.0.2","@nature-ui/system":"^3.0.2","@nature-ui/transition":"^2.0.2","@nature-ui/utils":"^2.0.2","@reach/alert":"^0.11.2"},"devDependencies":{"framer-motion":"^6.3.3","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=4.0.0","react":">=18","react-dom":"^>=18"},"types":"./dist/nature-ui-toast.cjs.d.ts","gitHead":"78f8992317a61110947ff1c6b59f9218ab846c99","_id":"@nature-ui/toast@2.0.2","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-jfFVHohrw+XQ0w13TPvQ/iUiOgQb/KpY4mXjzlOk9WM7oKUQeDMYlE0afCJlOhzenDQC1NZ6vHcE370ZpD2VEw==","shasum":"2b715b8a8cf2becc4529c6eb6a360a74922f3940","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.0.2.tgz","fileCount":27,"unpackedSize":83760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLlpgVGJ3UDPcSDV73plPps9Jh+ko6ZZkr1xj8iWbLRAiBQp1IVfkLtb/vNZrklc2u4wUrgjHdJRGcgynLJzyCpeg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTl55ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoy8g/+MOsf8mQXnXswD3Oc9kK8BKaNNiGOTM27gxepEHTUYVBriDZA\r\nNt+5qUEVzP8Ttpqodq+p/cbN4/2cNgccwQSEbxDyWCkz20OFCgmWJ8Xvg5sA\r\nlXI6xYpDhtjTTt9x/Xv1iOQ+SZlqMCjoekU3pHdpEzAeq84IO8ntY2gGIPto\r\nEX5eBwVjFyyAlGR9JnGQsujkxB7JEhngCP/r3Wc3U6izAM2G8ktaYZXTIi8S\r\n8pNQmv09tHI7FAWWdY+shyCrbqTvTopUFWWyoFCkVhTf072dHonOkuzW58E8\r\nzf6ginABUQl+zyJkPjnG7L2MTyqH5/Gq7NgruvUqQs8HJxK099XHsifxLz6B\r\n6/Ou0IZbmssX4dhUActwdC/Pb/zBHoFgbf4W8AvsMqYCICUSqQfHHeH+gzF4\r\nUGvbg+v4ugARvlMcjIDwCetBEtxI22KKDlpovxlfoWakK4N6vdP5K6bGgfdW\r\nNu9sofbntxWvVWiE1aQ8D4lsMbcBWuX7CaqWUxGDzRH7io7jZNvJgAARHHdd\r\nWQB/lZuYLLL4k/twiJFUQocIHQVE00jhzwi5U4mK6jbtC+RYL6AYJHiv0oeR\r\nmtz8FA9trKqBa9hJbNXHFwFDN0VTgwmc1h5zXKwBfB0zwZ/zyTagby5XuiRD\r\nIMQ70tyDJkXGdNBREK4UP3otSJXIqKmaA4Y=\r\n=OHi8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.0.2_1666080377056_0.7890428647765453"},"_hasShrinkwrap":false},"2.0.3-alpha.0":{"name":"@nature-ui/toast","version":"2.0.3-alpha.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/nature-ui-toast.cjs.js","module":"dist/nature-ui-toast.esm.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"scripts":{"build":"rimraf ./dist && tsc","lint:src":"eslint --fix --ext=ts,tsx src -c ../../.eslintrc","lint:types":"tsc --noEmit","lint":"concurrently yarn:lint:*","test":"jest --env=jsdom"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"^2.0.3-alpha.0","@nature-ui/close-button":"^2.0.3-alpha.0","@nature-ui/hooks":"^2.0.3-alpha.0","@nature-ui/portal":"^2.0.3-alpha.0","@nature-ui/react-utils":"^2.0.3-alpha.0","@nature-ui/system":"^3.0.3-alpha.0","@nature-ui/transition":"^2.0.3-alpha.0","@nature-ui/utils":"^2.0.3-alpha.0","@reach/alert":"^0.11.2"},"devDependencies":{"framer-motion":"^6.3.3","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=4.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"d27518cc2bd19ec005f7bb8f964cd1fda543ecc0","types":"./dist/nature-ui-toast.cjs.d.ts","_id":"@nature-ui/toast@2.0.3-alpha.0","_nodeVersion":"18.8.0","_npmVersion":"lerna/6.0.1/node@v18.8.0+arm64 (darwin)","dist":{"integrity":"sha512-u2s7m2U5ruDfRtbFmwV/Rox7Tz49hKUC171V8xWjSdhwNwZQr0iWZyN4DLwzBXzR7o9EmDjSVdyy44LKnepR9w==","shasum":"abe749660ab62e35209bceafb84b1298a513e822","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.0.3-alpha.0.tgz","fileCount":28,"unpackedSize":84959,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCHdyyPipa2WjL4f2J7G0bxsQtUGKGNnx5FP+HSc+edAiBobLNS73e1ooWJQNuqq66SNG5b+QEXuCDO72dDXmqI6Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjU6VgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKMg/+NU+ydKHJ/myrk+4m0aBoFZpojQxUxYPOZhKA3dcOZoGGGv4V\r\nJGCmp1p3LLLf3jvxWxA7R6tVk4PrbooUgpu70Sbs40dxgZ9PMQlW0LURtZyG\r\nnA0ROOj5xBXljOOGJwz59w5vBqRKu/UxprzrpWUzUdfCx9O6Mj87HD4NU8+9\r\ne8AyYBP29JsWXl5NtC9tkC32L1GP7s0kupgCthaWM1lKbfoVg50RDDL2DWH6\r\nlnJYUOJsfLrz0bNrFeWkE0+Pmn4XgdDx7lcwTH1o2a219wTcz7fm/EKBQo4g\r\n+6hns3wOuPQwPh4QXBrwQGSLjQO3AwZBZmufuf5rsC44NzVrN9SSDK921lSA\r\nHXplvmJfTeyaM7dnAcMUcUMngmc2/g/odvGzui24/tVO22bsIMGvnykKYvfE\r\n4Q8tY2+3HuicCR6Q2Jk0mVeYW8uT+veEoE0XApiDuPi8fMyRlNPTb4+i9k01\r\nCpnWtjVvaJ/Zks4GjB5mobE75ArYdLPOVfZidyJFXbrUso2prbYKIxvgBhdu\r\nA7hNOPPz8sr2U0oaXpHppjdCPgcGM4UqGac03yX1hfE4SwZu3Fkh1U1DC2LB\r\nAKtfwRfsmNtYyiUc2RlYLR2Gp5BxXDFqOWb/sGzsyOkQ0dP2pPS74WLndWNo\r\nu8eqq+2jPImR2chaIJ3NK7I4QnijmlBVYpg=\r\n=c6k3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.0.3-alpha.0_1666426208529_0.09964953020259304"},"_hasShrinkwrap":false},"0.0.0-dev-20221025084126":{"name":"@nature-ui/toast","version":"0.0.0-dev-20221025084126","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/nature-ui-toast.cjs.js","module":"dist/nature-ui-toast.esm.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20221025084126","@nature-ui/close-button":"0.0.0-dev-20221025084126","@nature-ui/hooks":"0.0.0-dev-20221025084126","@nature-ui/portal":"0.0.0-dev-20221025084126","@nature-ui/react-utils":"0.0.0-dev-20221025084126","@nature-ui/transition":"0.0.0-dev-20221025084126","@reach/alert":"^0.11.2"},"devDependencies":{"@nature-ui/button":"0.0.0-dev-20221025084126","@nature-ui/system":"0.0.0-dev-20221025084126","@nature-ui/utils":"0.0.0-dev-20221025084126","clean-package":"^2.1.1","framer-motion":"^6.3.3","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=4.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport * as React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport * as React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport * as React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport * as React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20221025084126","_integrity":"sha512-iOSTJj1mCGY+Tif+EN/UeV1V60Aoq/Q8MAtZK9jnqXqfMLj6gftXX1XuanRCTtFy05fezm7EcLFFX2EZnZudwQ==","_resolved":"/private/var/folders/rl/6m0_gtds1p92wl7wxdnwxcy40000gp/T/237a0db3beaa6c90a59c7a2f30150c7d/nature-ui-toast-0.0.0-dev-20221025084126.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20221025084126.tgz","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-iOSTJj1mCGY+Tif+EN/UeV1V60Aoq/Q8MAtZK9jnqXqfMLj6gftXX1XuanRCTtFy05fezm7EcLFFX2EZnZudwQ==","shasum":"b1889a362fd666f33cb273956d5cce7a0d7bd17e","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20221025084126.tgz","fileCount":6,"unpackedSize":288014,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtYQZmGWlv8DlR9lW2VV1f5manCDtGl5k7XfOwJZArWgIhAMDQJ9E+EyI/QShMacWywl8LzdUn6cmuP/vmPRrNf+jT"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV6FaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq22hAAnf3gFz2tZTd1w5CT+m7EHNRpP3oe7Vduw8CD+G4Nq+ms6F0M\r\nmghdWPYmVW05rraiG+p4b58euew3XRI+bXWU3zZKHRGD7CDm8mszRFb7f02l\r\nXMy49JKA7FpGlqfjdkFsGFcPFo61sWejVDKTuLS3A1wOMcg5IW6pyEka1Lhd\r\n8bND5ZjqUbeE68NSVUB9YmY6Et9u2s7rh3ckMUkyfZ/8zIzeCsxYJHTjWT5o\r\nGP6lpbhfqajj5GYgjZbTqM77M5i5BwJLRHXrc6Z/Es1Wj67PcmxhBDNEauLc\r\n3nR81csRHw1+rbj9M8Kcuqqc5DYqA7EV+1q9ITo8qp6DXS2euOmbBSbwa2on\r\noFEfC+slPG6hcZ0uiHI/JvQMfgxY/0GWsGZlwfUG0wOS+O9eKd2+ZD2nPn50\r\nB6brSzE4KQ6GfsHM4CCiGBRAfE9Y0xoCugBZI1hL27qVAUAeboZnFmBe99Ng\r\nYfY3IpHt/f33sRPoKi/D2Xgq+7z6Gm3qc2vXSwqFdYdbpJc/8icfYKInIj1V\r\nOGKCaSDdZSo8+F6JS1TEtkgv3mSOKU0XslVlug1EzWt5kHaPZn8VA/X09V6H\r\nqYqHyUy4s1UxaBfKzN2QDNjizPiytu71s1rtAyq+zy2pK5cL99R+lHdjhNXq\r\nMSb0cMRpAqSkrk/nSAZPc3bbN0HvEtfVt84=\r\n=oJ08\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20221025084126_1666687322496_0.6641077271494431"},"_hasShrinkwrap":false},"0.0.0-dev-20221025095017":{"name":"@nature-ui/toast","version":"0.0.0-dev-20221025095017","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20221025095017","@nature-ui/close-button":"0.0.0-dev-20221025095017","@nature-ui/hooks":"0.0.0-dev-20221025095017","@nature-ui/portal":"0.0.0-dev-20221025095017","@nature-ui/react-utils":"0.0.0-dev-20221025095017","@nature-ui/transition":"0.0.0-dev-20221025095017","@reach/alert":"^0.11.2"},"devDependencies":{"@nature-ui/button":"0.0.0-dev-20221025095017","@nature-ui/system":"0.0.0-dev-20221025095017","@nature-ui/utils":"0.0.0-dev-20221025095017","clean-package":"^2.1.1","framer-motion":"^6.3.3","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=4.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","module":"dist/index.esm.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport * as React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport * as React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport * as React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport * as React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20221025095017","_integrity":"sha512-ct2lCcxCaaR164beAYyhi3QHO3GAU4gUCqUscVnRXLtfis2cNBUg3my4H9f67w0JXV4pr89VeJtspWtBsAXppQ==","_resolved":"/private/var/folders/rl/6m0_gtds1p92wl7wxdnwxcy40000gp/T/105e06b96fdf4a4ba029232a6594af64/nature-ui-toast-0.0.0-dev-20221025095017.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20221025095017.tgz","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-ct2lCcxCaaR164beAYyhi3QHO3GAU4gUCqUscVnRXLtfis2cNBUg3my4H9f67w0JXV4pr89VeJtspWtBsAXppQ==","shasum":"4fde6e09e1559a6695cdd4789493d3a75e86dde0","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20221025095017.tgz","fileCount":6,"unpackedSize":351658,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHfaa/gHNv+cCZv3pfI0Hv67Cg01jLPKBtNBXN1HcQXwAiEAhDxHyOabLleb80YJQlk9DJ4wYcQYUi5fuJq8VUcm/yw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV7PkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqamg//YB+9Ol1Q49YofgMLUSOEZry2gO0w+/kdAjkM3Zd20r+yGfYB\r\nDFvp+JbKOct9rI+eNkic9v0TRpNPIzcpgd4W2gNc2QX2WLUINHsM197mwGvH\r\nsmZItA/x4Gr0B5b2rAVR2ugNEcrxwIw9UAi/ZKCzBGc2xKbqVSrfk1EOwXyA\r\n1+BLhikwaPm/U4S8Gw8sdevQeIGfY1tANcv7ZkX4VFcX+eBj/q0y/FL64uN+\r\nMmO+V01rYoG/TeJ6UGn9IJcmhgnKURFhO0oBIEfH8w+NI68uGN//LWqNNRo2\r\n/7B9RrJPr89t1FMQ+77SwBghdpeAhKOc755R8TMhAUwTSYi0xCaoe5lb7Pla\r\nopOBY7ZKCE72gEJaaD2UAk72lGj8kvPYfKgw2oiE0ZE3AqF3qQromaDjNumU\r\nvlmmA95bFcDprVzZn5UV50noaOfRn/DsWwIOe+5N4hYC69CB9Y0UoMvb+iI9\r\nYhvrSXVJnXX+HrNXI946dYVmG5NMbjYAacVB61WSa0Rqgky5vkevnOZXdS3k\r\nQgW+w90d5zwkoyN3Of1Yx0riPyYV0aHj7ExeQvlcAdxk5wOiqF6e3X2xw3QH\r\nSu5p0wpN3a9kQ47KNNPkWcLBNG8Lv3iXO8s6CqN4kb3lgHxuR7+aiUOHQVy9\r\nIKHhb4/9m62CO3QpxKl5VAoJzJedZ7LbA7M=\r\n=6Mf6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20221025095017_1666692067773_0.20530731831398286"},"_hasShrinkwrap":false},"0.0.0-dev-20221217095502":{"name":"@nature-ui/toast","version":"0.0.0-dev-20221217095502","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20221217095502","@nature-ui/close-button":"0.0.0-dev-20221025095017","@nature-ui/hooks":"0.0.0-dev-20221025095017","@nature-ui/portal":"0.0.0-dev-20221217095502","@nature-ui/react-utils":"0.0.0-dev-20221025095017","@nature-ui/transition":"0.0.0-dev-20221217095502"},"devDependencies":{"@nature-ui/button":"0.0.0-dev-20221025095017","@nature-ui/system":"0.0.0-dev-20221217095502","@nature-ui/utils":"0.0.0-dev-20221025095017","clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20221217095502","_integrity":"sha512-3/WP0OKQK+zkxP3iWkT11EN7Uc617JzJWcMlSSgKHtgcRnMyLYq3BB63jDjGgrSCI82AWpgUChS9eh3RGnsI2g==","_resolved":"/private/var/folders/rl/6m0_gtds1p92wl7wxdnwxcy40000gp/T/55539c48025a7946e24af12606d01309/nature-ui-toast-0.0.0-dev-20221217095502.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20221217095502.tgz","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-3/WP0OKQK+zkxP3iWkT11EN7Uc617JzJWcMlSSgKHtgcRnMyLYq3BB63jDjGgrSCI82AWpgUChS9eh3RGnsI2g==","shasum":"4247444bb851917face395ee0e6b7bf7f440ad44","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20221217095502.tgz","fileCount":6,"unpackedSize":219267,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEDFNCo1dg2jnTAI+B08THGFlju4EmaMmatxxagZXFCmAiEAyQ1QXMvnIkiIsltEoAlqf/UIOrfO/Mflhn96dfQXhaE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnZIfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqK3A/9GpY1SGFqIoX1zyBlPWrd0Z4P3U7GqM8aZWdH5pky6qhg0KD8\r\ndqhZUx7mLvxVEYkil3IrbtrLKwDfOaPtKTqoKUNmMhw/oC2RrXWKeie3BPS1\r\nQtXn4dMc/rDWUHzjOyzWYZZ+UGzFdsjnix05M/mB3GCr1QIIvjvjXBtQ9s01\r\nQi/oIOc1TTBJ1AZzg7dSv6FVDllxFh/40jxNKojYTrOaH9I85rHsGM3l1xRq\r\nJioUBb7fphhpAscH1ydhYXsPa7poobnO7Ug5oRiUtrzwURIPk5b16Ql81Wkk\r\njR3EY5sasHcY7tbqStfmXLM9wE4P2qqFcbWjyYHMcq+lqBB5LjMHadFS3iUH\r\n3aqtUT1sbrmJJvRIeH8XV1IGRLMIKsKM5btKrIEJa/KDoskqD1OA0HQGDBZf\r\nLBLx10Xc/Yk9TiC9iww84Y7BIpBKto21ohdcbY8gN3OGLUIet5zbFI6LhOgI\r\ndEl72vxFSY4EIacZCIP1uKFvt9O4LQLkwr9K+wCnNtRI20HsfgoYI7LcqQGw\r\n2G6cxu9ZCZhpZBFQMMcHp3rutqJPht7QZn4EO0iSywPPMXSgiMjNqUpUVqwT\r\n49fMP/1lgLd05L5z2QPiuy/Wm3ZJCQ+xFFRXzcgJ8ulN8PdSja8B5nQSkWgL\r\nA9Wu5FKhi0nE2SKGE1RpFYS3Y4fvK9nqeiI=\r\n=yJv8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20221217095502_1671270943420_0.8520672639813069"},"_hasShrinkwrap":false},"0.0.0-dev-20221217102739":{"name":"@nature-ui/toast","version":"0.0.0-dev-20221217102739","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20221217102739","@nature-ui/close-button":"0.0.0-dev-20221217102739","@nature-ui/hooks":"0.0.0-dev-20221217102739","@nature-ui/portal":"0.0.0-dev-20221217102739","@nature-ui/react-utils":"0.0.0-dev-20221217102739","@nature-ui/transition":"0.0.0-dev-20221217102739"},"devDependencies":{"@nature-ui/button":"0.0.0-dev-20221217102739","@nature-ui/system":"0.0.0-dev-20221217102739","@nature-ui/utils":"0.0.0-dev-20221217102739","clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20221217102739","_integrity":"sha512-b7WcDbvusZiVp+gTX4hKOnL3g37Cg/aGg2ZzSjQUosSkvQmkbAvlvllAdkkKcjSlXfXwIm8e+dfZ5pnnTvAXUQ==","_resolved":"/private/var/folders/rl/6m0_gtds1p92wl7wxdnwxcy40000gp/T/e2552e2cf4fcf4fcfbb7274fb29ecc2e/nature-ui-toast-0.0.0-dev-20221217102739.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20221217102739.tgz","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-b7WcDbvusZiVp+gTX4hKOnL3g37Cg/aGg2ZzSjQUosSkvQmkbAvlvllAdkkKcjSlXfXwIm8e+dfZ5pnnTvAXUQ==","shasum":"c78807ffb6488ec7bd81f35dbdc70fe8a498513e","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20221217102739.tgz","fileCount":6,"unpackedSize":223352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICTnGIfme4s+a+xodJtb1EX2LdSsmBAogSNn+jl61Ne4AiEApXSnm7v8APOnPqz2Ck9Uo8ndRbzyRobewfDFJ4tBgwU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnZm5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEiQ/9G6Iu7kPJNgDB8ixkmDUNoobYHxPmSoPD6tFNRUQ8t7bN/C/A\r\n/XBZsJkO6Gbd8L4Mk5/OApRfC3tKfnrLC/y0I/XcnmePdPJfV5HFOfPqSKyF\r\n+WQP2f9uxWl/HS6qcV1bhxOuEcHza2QB6YuEm3VkUEjOQpil/6ggaN2+lkpZ\r\nJ+7J6uUAcFb0GNleGlDkhQroXWci4IVAquWmOMT5wLq84YkVpRFAsbceSugA\r\nSTj7JC5gMYjmqMtGW9cHQ1jTIacsFU9fqOugoTAIY5qeU7/6WTDQJrg7zCWy\r\nu7G46N5iGQMP9iPGQRFEhw4Rl/IVzJR9+ohVq0bAY8Xyg5kwfglkZPe5W7H8\r\nJyy83/A8VNMYGz8wfIvW2M6ip+et/RHgkAi8jm9NqD4BmZx8Oo35whry0xRj\r\nJWgZIFG66kKVd2pGk8tCiUlMZVM8eruKjQ+RnKQhlbm9CtZojzfLv3k3Ofg/\r\nxlZN2SFlC0A+0EBs7WsxYf3Vrk1hztQrXQCmgzJpDNlDocUHHue1d73GtJie\r\n7BoXWgFy7XD9K1glx7+ywNTukuIqTPqCPCVgOe56hLjDt09QCY42/opG8IVj\r\nH7KJQGutc2gWbyV93fXmJOC2DmbUVzvxW3Xh46KX7P13GBRGzhZ9yY1UoEp/\r\nMX83ieH3GYPiT+P6gAZOAOJIwsl08g49rMw=\r\n=+87V\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20221217102739_1671272889057_0.6541256028131739"},"_hasShrinkwrap":false},"0.0.0-dev-20221218114655":{"name":"@nature-ui/toast","version":"0.0.0-dev-20221218114655","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20221218114655","@nature-ui/close-button":"0.0.0-dev-20221218114655","@nature-ui/hooks":"0.0.0-dev-20221218114655","@nature-ui/portal":"0.0.0-dev-20221218114655","@nature-ui/react-utils":"0.0.0-dev-20221218114655","@nature-ui/transition":"0.0.0-dev-20221218114655"},"devDependencies":{"@nature-ui/button":"0.0.0-dev-20221218114655","@nature-ui/system":"0.0.0-dev-20221218114655","@nature-ui/utils":"0.0.0-dev-20221218114655","clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20221218114655","_integrity":"sha512-hGW91FYF3E+U60AoRsftj8JGtFtsshv3sZpVRZf2t+Ix4ZB3P8MH0KT7VV1ePmThniZT82gqd8gJlnGSEo6xlQ==","_resolved":"/private/var/folders/rl/6m0_gtds1p92wl7wxdnwxcy40000gp/T/0ad9038db71f55f1580e5bb285df2ac4/nature-ui-toast-0.0.0-dev-20221218114655.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20221218114655.tgz","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-hGW91FYF3E+U60AoRsftj8JGtFtsshv3sZpVRZf2t+Ix4ZB3P8MH0KT7VV1ePmThniZT82gqd8gJlnGSEo6xlQ==","shasum":"f9f14e2e143ee4394e7a2180770e28133d1b720d","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20221218114655.tgz","fileCount":6,"unpackedSize":223352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFE/iKRyf7ov5tn3fj4hzCARbmCxEDnwpAwT/0qQNEgaAiA/wkch5zP1MrzAQN3UHu0nwOicgjvkIcuf4La2FfXbvQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnv3AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrS8g//Y0DLVy/pYvmNyGGeqUflkh4PjQgltQ3jwhd0oZ84YJLbsC6W\r\nbdGVOiD8h4yIzlM0ceAjh3BFZp5n2oXKqU28713alq1+HcewyXA5ug7Yisgv\r\nHB/jYpUYRvXdB+D+XpqRiLWLIWhNNFjrin6zoHmD/XB6JO/bem8m9LKCcuyc\r\n6OWcKHiVdBl0VTtS49LMQzZlQZojx3H5kqZ0JUxGhVcOG0wlaQCWMZ7SPYQl\r\nLty1kGIO6juFBOI+XvJdok6gkonwuoOgURnvQKBOZy6p1+TwGYLhbV3z4d5p\r\nR/IdbFwnqGtWLaL1FOjsuoYRNtxuamkgKJzcXlcD8YS/fd2e1hEO/Mfg0ux5\r\nMYkEdmB9Wvbmk5DcK9Dz4z74fEng4QnmNQH0dvJ9qzRtyUeYA/I23oxujdKp\r\naDairrTXWHmy4KXHdoFW4REPdv4MaBF2Vflt03a624rAn8mKTUMwkjvWdaIJ\r\npClbKVxTpwahFrH874ZIiXPxazOMi4RMJPsEYEfT4TfeGAkl7WLLv9t7BP3i\r\nt8YlT08zqOeVCcTcTB1U8Xpr/qNCNCAKbJxw0Fe4B6jySwJnxmWTsCD25pUK\r\n3qecqza6JmQvzqOAC4v/jYg8QiKuGbprDlzxUIUk9F8EtFZ7H1mOHZUyzhNu\r\n0tLcDSszacCFooxGzn8DzISESdDjrRMdnKk=\r\n=c9g+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20221218114655_1671364032501_0.821849145246202"},"_hasShrinkwrap":false},"0.0.0-dev-20221225100930":{"name":"@nature-ui/toast","version":"0.0.0-dev-20221225100930","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20221225100930","@nature-ui/close-button":"0.0.0-dev-20221225100930","@nature-ui/hooks":"0.0.0-dev-20221225100930","@nature-ui/portal":"0.0.0-dev-20221225100930","@nature-ui/react-utils":"0.0.0-dev-20221225100930","@nature-ui/transition":"0.0.0-dev-20221225100930"},"devDependencies":{"@nature-ui/button":"0.0.0-dev-20221225100930","@nature-ui/system":"0.0.0-dev-20221225100930","@nature-ui/utils":"0.0.0-dev-20221225100930","clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20221225100930","_integrity":"sha512-kgtaT5XNV5Rb/twCYEEvqHemZ+IT7riqmZ/shSTjUQ7pJJNVGoIpreZbICtUkYtXr8C6ifxWVeeORlIoePzgJg==","_resolved":"/private/var/folders/rl/6m0_gtds1p92wl7wxdnwxcy40000gp/T/3f9dcb0144c5f666575428804b27514d/nature-ui-toast-0.0.0-dev-20221225100930.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20221225100930.tgz","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-kgtaT5XNV5Rb/twCYEEvqHemZ+IT7riqmZ/shSTjUQ7pJJNVGoIpreZbICtUkYtXr8C6ifxWVeeORlIoePzgJg==","shasum":"90a07b514bda9d3806e64e8c689457682e831695","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20221225100930.tgz","fileCount":6,"unpackedSize":223352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWCD+B7NVJ5chNNVN2RUEujlTjxGSrOD+2EMZj3e4WOAiEAgVtc6YG+f86hsD0HLTDzlyk7Ff2hBp4gPeLKE5j+udY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqCFzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooAA/7BzC2gVVpT6x5NKKgcbB8mqFaiDNrcN6d2Y25jlcXZFSYwk0s\r\n5zyS0UgR98S4783928+uJhLPr3BCNlFX6q/YlGGAS3G9RaRKl5JYDdcA4a6M\r\n+RanEHbLDzxHka9nuDZb2RBZ2SsQsyDFJ+WrlPiaCqMcZncsGeV00ub1IS4h\r\nR+qpx/i28cxlSnMyo8xwGwbK80ZiS1aClcm7dtu1ROgoYoe6i7SFox5kDx08\r\nmqxHsZNa24adrDCYhvofJsyCqcfXnFe59kQoxTmTYryeFq4nP4tGhUwRAxhr\r\nZWwh5xQhD7/O1Uv6o0lJk6caIH5/4VwAl8cBHhikQz4kkFvvXgl5AdoT5p4X\r\n667EPcrUKzsvF/HzdFvwryp+6gXB54YzN/H1ovuN+E2qtbDeW+zojrGHng8X\r\nxByf6fsr8xE7R1uZb3aRwzcbY/tULQscRlxyqO7jmBBdEHNezut8OIeJ45lo\r\nEJIZ3e2LLPXSVdm0B16YAEwibMTnaQsKhBPDPOic60Tg2soiYR4+9iIbX6i0\r\nXprrHhcXEutNBpFB8nkqZzF4G6SSNhqvUQBk4o6Vh+itsdCA7N+T5g7y0/4n\r\n7wDEZS+DbG4kQm4UPaeV2IxNpsWxL/Xwl6L0A9DIwgHMDTOd3GDO/LgSTovM\r\nAKtL99F/9pJ4gh75jp7mnjaNdBJn5otq8Gw=\r\n=0rwy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20221225100930_1671962995153_0.05415099145252067"},"_hasShrinkwrap":false},"0.0.0-dev-20221225195604":{"name":"@nature-ui/toast","version":"0.0.0-dev-20221225195604","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20221225195604","@nature-ui/hooks":"0.0.0-dev-20221225195604","@nature-ui/close-button":"0.0.0-dev-20221225195604","@nature-ui/portal":"0.0.0-dev-20221225195604","@nature-ui/react-utils":"0.0.0-dev-20221225195604","@nature-ui/transition":"0.0.0-dev-20221225195604"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"0.0.0-dev-20221225195604","@nature-ui/utils":"0.0.0-dev-20221225195604","@nature-ui/system":"0.0.0-dev-20221225195604"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20221225195604","_integrity":"sha512-PE0UAV0Wuv72G+JV9nq6L6JPrj0PqxHF+pQ6W/AbRiKQEZOW6tXmONYOCerrF1xf9RJAy1SByLX79SbNmqaaCg==","_resolved":"/private/var/folders/rl/6m0_gtds1p92wl7wxdnwxcy40000gp/T/467255a97ef257c43e3e9c35d80685fa/nature-ui-toast-0.0.0-dev-20221225195604.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20221225195604.tgz","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-PE0UAV0Wuv72G+JV9nq6L6JPrj0PqxHF+pQ6W/AbRiKQEZOW6tXmONYOCerrF1xf9RJAy1SByLX79SbNmqaaCg==","shasum":"ee1c42ff44f79b26201cc542a10c05726d7cf9fa","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20221225195604.tgz","fileCount":6,"unpackedSize":223352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpOHjb2aJ46eU8gB5VJoHdbHVI/4K/e2+oXwpmPa8O2AIhAPV5Dr3p0W/l11kqYIxUortjoFVrwm6goWVlC3oSSxfW"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqKrpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2Tw//WKy4XQXGkfkwKbd35bqMhIPwiAP9N9r8ce0bJyUD327uvSUb\r\nOyEbtbfYaUPI4ViBkYCh8gTVZwhNC1IFqtUDZyxGeEGGhTuZfii5QL4wAzIO\r\n8x3084l4jnOqVo3nT7XQeh9lnKkOoxpcDPpJ29B703faW5//09zEL6hpSVI9\r\nrYF8We5Z3sZl+RVM+XTEZ3/xoOZqBe5nTE8FZrBa9jbQP+mAQLAZTsedlsIl\r\nsED2+NIJx3uQQQlLAV3Cx6SGOyUAqGnqLRa2J0pxGEpg6fKltxfHbABrRyd+\r\nIAf+Y/n58/Gjh6EeoLCeRk1TtfEZUmoRDbMZKuiZJTUMttLMyEyDdRgvXO+E\r\n4at9c+bQIEMQmSsIFR4ZenHGOkGyGD3JrhkU6nqiZLZr5N9KFY3eYxzK0byy\r\nVXdgRCH1afRfRoYr6Zsa17srlOSOmjbwkZNX1MVZ1SSPiEfUOembJUaSZZKm\r\nTBCzkMlNWu7jONm9v9gDOOGu/4J3cL/pckYHS85SDgannYuVY2/6VmZUgrIt\r\nEmItVZZE6HCnmk9VT347t/Zsw9QjWqvfl2zVywLZYzHDdPALGuPGEHwOe6nb\r\n/vghjyW2vhbb6sfD0EMmq0vKbFJaBCWu5oWTJbe53E26CZVk9Lr+9t7Su2p6\r\ne1r9RUrQijpa3hp5JvufaK+s5XTSpMkvLkQ=\r\n=PiaM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20221225195604_1671998185767_0.9709064073467728"},"_hasShrinkwrap":false},"0.0.0-dev-20230301120121":{"name":"@nature-ui/toast","version":"0.0.0-dev-20230301120121","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/close-button":"0.0.0-dev-20230301120121","@nature-ui/hooks":"0.0.0-dev-20230301120121","@nature-ui/portal":"0.0.0-dev-20230301120121","@nature-ui/react-utils":"0.0.0-dev-20230301120121","@nature-ui/transition":"0.0.0-dev-20230301120121","@nature-ui/alert":"0.0.0-dev-20230301120121"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/system":"0.0.0-dev-20230301120121","@nature-ui/utils":"0.0.0-dev-20230301120121","@nature-ui/button":"0.0.0-dev-20230301120121"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20230301120121","_integrity":"sha512-xm5GZwJ35d9AQV/ekNani4rRCrQiLFnyZcuvXz6Yb9HET8fJPt/FLPh7ZyX0WaJ0MmAT7zKWa/VKETPbI5IjIA==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/c7ec0388c980b0c2d38c282a0eb14e47/nature-ui-toast-0.0.0-dev-20230301120121.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20230301120121.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-xm5GZwJ35d9AQV/ekNani4rRCrQiLFnyZcuvXz6Yb9HET8fJPt/FLPh7ZyX0WaJ0MmAT7zKWa/VKETPbI5IjIA==","shasum":"15ed74ebb3109326bec49da089ecff7816ebdb4f","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20230301120121.tgz","fileCount":6,"unpackedSize":223352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq+Ebi3OJVO3QUkgy4JAuO/V3E7VHamPokIAdQhHbWsgIhAO2666XEaON+GtI2wVLPC61FfMBzfi9WuiTIDfALk9cK"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/0A5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrD+Q/9HgZH44yTnXPZjT5UZnUJQn5Ow8ST3wYTPzFUeyIQMSbaejdm\r\nEJYEdFrZ3o56VZPFH0VFq6zc4HlFmzJzB6z1YCZk6t6VxKf9DlfuUPlh9Gt2\r\njawMsCDYd7Kq/5qGHb0RfZ4oxiHrPRhrpAnOTYgjNKAVwlJ8dQ/gwcDAs9jQ\r\nd7QY6ZjukOL8fbF+I4fx47YZrxdIDCBe8oXe79ys6yTw2WEWQkcVuDAqdOmR\r\nNSqZwZ7wGbfWgrhGM29whNi3Hg0e6Mgb3LTokD81kPLKRIzwmHsnHPaVaI21\r\nyfCS2npxqZgVjyC8NZ4VCoOtQkLY+blrWvIKmfNB/lItUXGLjeFeNGnb0AE2\r\nf4uonnwl2Mw8Wxezcu7YFeVAAf5qcDkuXL2Wp9dF57LhiV9ftjqhNDdMXFYu\r\nIl+3FKeXUfhRwqgXo/ZYEtLzUgPVxK4Fvgf+icMjIb1sJbuZ05KpkGiY0N9W\r\no8Rz5UUV9mCTCBQ+gppUvJNwRNvf/nvaG9jMW+5EDtlwYCUey2DvMToN2hwG\r\nodp4Outiyko1K/oQf5SgrW1z20N8Prce7Qzi0NNYJ1bGlNeXKkMyn+z+TZtq\r\nCGrVLhNBSE1RUitOyO4iwA1BiT+xYPruBn5qBejdCUoGGdZzqmmuQa9u0t6r\r\nFWi3jZ50g2LntnBVdKD5rM5VXXK4xXkkGHI=\r\n=nuy0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20230301120121_1677672505191_0.5209410999563047"},"_hasShrinkwrap":false},"0.0.0-dev-20230301133840":{"name":"@nature-ui/toast","version":"0.0.0-dev-20230301133840","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/close-button":"0.0.0-dev-20230301133840","@nature-ui/hooks":"0.0.0-dev-20230301133840","@nature-ui/alert":"0.0.0-dev-20230301133840","@nature-ui/react-utils":"0.0.0-dev-20230301133840","@nature-ui/portal":"0.0.0-dev-20230301133840","@nature-ui/transition":"0.0.0-dev-20230301133840"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"0.0.0-dev-20230301133840","@nature-ui/system":"0.0.0-dev-20230301133840","@nature-ui/utils":"0.0.0-dev-20230301133840"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20230301133840","_integrity":"sha512-m2duPtM1W5UdsNinVp8xYKdM9JoD7G77XHaqGagrg1+HirH5JHXlobky+6HiDSvOhu92B+bdt/N4xa71xymiYw==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/294f6c32affe1815f5f24b33aa120506/nature-ui-toast-0.0.0-dev-20230301133840.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20230301133840.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-m2duPtM1W5UdsNinVp8xYKdM9JoD7G77XHaqGagrg1+HirH5JHXlobky+6HiDSvOhu92B+bdt/N4xa71xymiYw==","shasum":"4f55876b5662fb59dab34bb3b6c750f647447d16","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20230301133840.tgz","fileCount":6,"unpackedSize":223352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvJw3P9KNo44R0uDxC6tfLBBij70jOmCqtcI6kHWUUBAiABOQ85g7pRQtql6eiBw0QaT2PJFalnPRWSHw53SS7ylg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/1V0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPyBAAiCs+LRX9vH6ilIihhvpU8M+40cnOVbWRbDul45lfgUa/HQKr\r\nKMhsdMend1cdQ7bZpZidYZV/Cu1SRQuCuvebFIKRKNkrkQRmrBIK/aPYrnC4\r\nZ2h9zDeuUgXTP5RSX2wSFeySIXGdy167ukK4ChdJ8AqjCh7C+T7n1ubqnyIX\r\nFsE3gwCZ7y9Rqi6qrgCUcWPbKItjNNK97Si2EDiO8n1jOmTe8Dtm+e7tyVbO\r\nZZeeTdIc+2fXuxe2sNKOYYyU6ANq/xm56RjMaigBOOTbYHw79W/uBbguwqDe\r\nIG0z/z1SCvO1H5Rj8JmAq3sZLRF5Pw3dPGuaQn1aHwxidAdvqddy5P54YnZy\r\n1IFlov77qSCdXCTjWz0oRsG/1cu0EoUdfF+HQbaoS35ZL6yQdaW+H/KXb9Ol\r\nqkUY6SSyGw0AaDsf55uWODzzY3MZphprizUqIWRYHdaEZi+0alql95P2jsnU\r\nasEfkLcqOSTsSBYB+EVMg+/DJs4iqUAs5bkHPHELSvopTxEhuWhqxrNHexLW\r\ndetWTMXnBVDBR1zTSERpiej6dNhYCiR2U6XtSFNTHCNVCjmyVJ9ijADrHsa0\r\nnffgjH6EsYC3ZeZv6Sw1cbVMtmP8pwuZIgrLoovXcE0KYNwsmstlK+woUjXJ\r\nllLwofgHaQt0mj+YKlOp72STw7AIqEK/qEQ=\r\n=5qPy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20230301133840_1677677940382_0.05387890522333416"},"_hasShrinkwrap":false},"2.2.0":{"name":"@nature-ui/toast","version":"2.2.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.cjs.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/close-button":"2.2.0","@nature-ui/hooks":"2.2.0","@nature-ui/transition":"2.2.0","@nature-ui/react-utils":"2.2.0","@nature-ui/portal":"4.0.0","@nature-ui/alert":"2.2.0"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"2.2.0","@nature-ui/utils":"2.2.0","@nature-ui/system":"2.2.0"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"JSX=1 tsup src/index.ts --dts","build:fast":"JSX=1 tsup src/index.ts","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_id":"@nature-ui/toast@2.2.0","_integrity":"sha512-x3XF0c3ylKtLg24BydB4tGBk3oZULqlbO58pqCEBUlqvAEQAUqvB5ADd6LPpef3wFHat6pD1htCWtWKFyOdxaw==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/06a625d1f2c3a37b3829135dc7c859ed/nature-ui-toast-2.2.0.tgz","_from":"file:nature-ui-toast-2.2.0.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-x3XF0c3ylKtLg24BydB4tGBk3oZULqlbO58pqCEBUlqvAEQAUqvB5ADd6LPpef3wFHat6pD1htCWtWKFyOdxaw==","shasum":"592b7d36753137a6c3d01003fd5a547411756564","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.2.0.tgz","fileCount":6,"unpackedSize":223162,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRtGnp4BX0V0alzGvpZ7Xd2diS2bCLviu1q4wrsHlDeAiBn/08XM3+MAtgMR4NiYdGbJKcqIXf6ClSpe4SGqKmQnQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/2WJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjoA//WjNKMup74uTl42iNHWj8XKVOnEXsq95d+8nXArabTPn9rdqe\r\nJKvDwjutk587zLvx+PwJR6J7NJaVbTrIlz2DbdiFz6fD1I+aOIhSvlY7cf1i\r\nzSQTClNfe16Dv0olJ7XlxeYpL9OVblJ5pOWdKV5cjBWC6ma6IMM0p5jCn90E\r\nxRpNaYZTvPCdVuF46BS+aI876l2yeZbNMCeVsEbdiTPxTgWed9kNJH+hTQym\r\nT3c5K+UFXNSuYiQDeTBRlaSWhNBvCBR31C4K3qpgvu7hbGL9HPwIZ6Yz/856\r\n9CdXzh8GHktd/6oq6enUwt/gDuh1XcRgx6NtWUyaMJo/IBVVM5G4Zkdv8+iI\r\nLCQZDWRYA4YYlfmU9hAcLsN6nHJDwIP9eiwkEoXNHR+ntIng31/XjYJogGw8\r\nBf5ggO9q+fUAlF4ZLo0Emeh4rLuwiCeql6reK0w9+1GDcwXWCSgrj4QG84V2\r\nCa8hBXipEYvZCimj9BYy3B+pz7uqCA40TA8VYllQtaq0c1rjZm6HM1Nv/jYa\r\nTtilH9FuzsU/9WGo4WwbKM6wTVnLDn9KrNT+x4eaUzmSinpjdrGVZB8/sQLG\r\nXuO57NgBUiAEr+cXfafHEa7UmcICIaoy953uuxk4NHsUtyiw341QBPXqivLQ\r\ngYaE42CJx3FFXWz2ulqH0KDs22h8PjpK/bs=\r\n=qLVb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.2.0_1677682057464_0.7755391343140272"},"_hasShrinkwrap":false},"2.2.1":{"name":"@nature-ui/toast","version":"2.2.1","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"2.2.1","@nature-ui/hooks":"2.2.1","@nature-ui/portal":"4.0.1","@nature-ui/react-utils":"2.2.1","@nature-ui/close-button":"2.2.1","@nature-ui/transition":"2.2.1"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"2.2.1","@nature-ui/system":"2.2.1","@nature-ui/utils":"2.2.1"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_id":"@nature-ui/toast@2.2.1","_integrity":"sha512-nBZP/iABv/i3tZMgohWP0mA1oigJQik3qCRkq1ADCmvpZOdISx9FJ54je6hUoJBkJXhsLCnxVCZrIjzuD7/xKA==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/038c38c409694562f858472c9371b67b/nature-ui-toast-2.2.1.tgz","_from":"file:nature-ui-toast-2.2.1.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-nBZP/iABv/i3tZMgohWP0mA1oigJQik3qCRkq1ADCmvpZOdISx9FJ54je6hUoJBkJXhsLCnxVCZrIjzuD7/xKA==","shasum":"4ec8c1252d056afbde9edf1e32e77e30e80a0995","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.2.1.tgz","fileCount":45,"unpackedSize":746363,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFOKCyuAt5ejX6EtwdRKlBqu9qm4KhCV5xGv0ibv0mQYAiEAlPqSAU+9ZyP3fDnj5nrF3fsD2FeGRlnCDn8jSqAlmtc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMt3WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpv8g/9HnaLw55NDZBqvIDS6fjksbFFML9j44lRmZbnwgdqz6bVTB3m\r\nPQj73UAxzqoyeDcNvx6pCI/ZuM55XI/SimiVHrtrNV3u5nf0H8fHDr+I+A8C\r\nMtZ61XvDrstuY1lmNYfF1tQl98udiVKNWcu5DCHklyHqcdKLxDcnOHswkM2U\r\nbiaLQJ5KK5ZYQHLdoDTwAwXLkPeQpBrY1Ld8VVbkzW1dn3X4qj8LrynM/qfo\r\nVS5kNtMxd7Y2CuBi2ux4JkHC1YeZ/cnAeJZaXbAPfBGN5jS0iezHAFO07c24\r\nDSWUJb+5o3bQkoeIyNmUMy6t99oBhcYjH7oXxU2kEkxqJR0XYE9HpLpzk6rr\r\nWO91I4w34mVrK+dR+HyfV9CP4ivzQovuUvvhndzv5fphK/gAEmuP2p5Vzq5l\r\nCVWvbp0lV9X2nBCEtzauBCkof1f7KXcgOJ8XSsMvw2WmszPBQCFK3OSZ1X1i\r\n6Md7aYsyLq9VFGNaneHzVYOoAyIyIIzu6CZRr4kdecIUc1mmXBDCzccXku8d\r\nsdC2PqlyN9FkzU7bkR5la8CjU6t9II9KrKsyijyxxLRbIfxF3RivOhA1X6jI\r\nrcBs/uL25gCrxJ2s/taN5d8CLWEOzxl1kVKT3zdt/IWS7lxM0Rts0RYFC8HW\r\neLMDdDrPucGD6y4ljUvJqrireLXR9lFhG3A=\r\n=/2CH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.2.1_1681055189677_0.6905841203808443"},"_hasShrinkwrap":false},"0.0.0-dev-20230409201910":{"name":"@nature-ui/toast","version":"0.0.0-dev-20230409201910","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"2.2.1","@nature-ui/close-button":"2.2.1","@nature-ui/hooks":"2.2.1","@nature-ui/react-utils":"2.2.1","@nature-ui/transition":"0.0.0-dev-20230409201910","@nature-ui/portal":"4.0.1"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"2.2.1","@nature-ui/system":"2.2.1","@nature-ui/utils":"0.0.0-dev-20230409201910"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20230409201910","_integrity":"sha512-kQ7RBuTJsoYEVnH6rWTGuqybshYU6K1YhrU65lzUtJOzNlnfMmEhUejL6efFn1XMWcVixa8T676X0/ROu6hNsw==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/8739953072d184cdc317a647cc926c2c/nature-ui-toast-0.0.0-dev-20230409201910.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20230409201910.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-kQ7RBuTJsoYEVnH6rWTGuqybshYU6K1YhrU65lzUtJOzNlnfMmEhUejL6efFn1XMWcVixa8T676X0/ROu6hNsw==","shasum":"26beaf858d39d54c95594183b6657f2e8a29f51d","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20230409201910.tgz","fileCount":45,"unpackedSize":746420,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2/bPvt/ateSoLgFt8yVSJx/cGwzS8t/nNdJmwp3A58AIgQ4iWWseBzoelV1rykosBetglzcAA6TTP1Od1uR9qNQc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMx3aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmobvw/9E4A6g4MKq9L4UYjZbCuQk+AWu4Z9EStEbMDOuConMUBCtlKq\r\npqc3uZqMjuUlvV/Jmg9b47RWR5bDTMIz6hynWDtWQrSw92yesBodEH2U1/3Z\r\nSM3p3uUE16ulINrsJ1+ZwJLUKMuUoEHNW0eZuPnbywPHILa4InoCRwatAjyX\r\nHhrbiy+o1rL0yc+lvPx5/F8baBGQfuIaYJ/3b7hRZn5Wizi6CoqKzGv0AOwu\r\nVUiqp4J+QasG2sGImIOc91BJw1XE6v1CTBR6QqWY2mXkymar4WjUy7FOwq6W\r\nlz570py3V+VnmvzJjL4UTsAmMMCsKSfpfsF4Pvobser7/9hZW7hgPUXhzAc0\r\nu8SRsIr7MysFWrdfl0oJA+Eqdq4qPw5CdfxIRIX+HgTvDZ/5bBzuyJPkCGXO\r\n1W4RMHTtnGl5aMRqQkElX0+BeOQ0KPXZd+0qYQno3YNEyaR6PRuSm9HOYjde\r\nx+ySvYFutPiTFb5ME1Zvg7G4qlSCcVsigoxOtNOpSlz0nalujMFv190gbuGH\r\nguVPY3LdRpch2cJDKbT8ufJIIzzeTSPQAZ+/VF30ls24w/Frs3k0pSt7HSmZ\r\nHB+GHKmSERGLbIrG8Z8Rc2Nktef3xZhnm+dxJ1sUfE6A4JftKuuvXvnDis8j\r\nkt0dy8GYicf5A2xivBGvJYQbxJyO+bUJc9I=\r\n=Mip3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20230409201910_1681071578466_0.9306076260711931"},"_hasShrinkwrap":false},"0.0.0-dev-20230409203113":{"name":"@nature-ui/toast","version":"0.0.0-dev-20230409203113","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/hooks":"0.0.0-dev-20230409203113","@nature-ui/alert":"0.0.0-dev-20230409203113","@nature-ui/close-button":"0.0.0-dev-20230409203113","@nature-ui/react-utils":"0.0.0-dev-20230409203113","@nature-ui/transition":"0.0.0-dev-20230409203113","@nature-ui/portal":"0.0.0-dev-20230409203113"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"0.0.0-dev-20230409203113","@nature-ui/utils":"0.0.0-dev-20230409203113","@nature-ui/system":"0.0.0-dev-20230409203113"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20230409203113","_integrity":"sha512-rgo6rC17aXw7BGiFHrZAzLXbG7OGH8y9xYOHUFo+/1wSLezxh+6v9B5vXEmDJV7Mkr5kYz5pbNhF6ZPcznlAvQ==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/4be5b41a9c79ecdd41ce7e0a49cceaf5/nature-ui-toast-0.0.0-dev-20230409203113.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20230409203113.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-rgo6rC17aXw7BGiFHrZAzLXbG7OGH8y9xYOHUFo+/1wSLezxh+6v9B5vXEmDJV7Mkr5kYz5pbNhF6ZPcznlAvQ==","shasum":"2df65c246e7be0b93d845911d0af1e1b7362fcb5","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20230409203113.tgz","fileCount":45,"unpackedSize":750468,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoOu5DO+vAr7uFF+6q1FSnbm1Gk7NswRvA7ade+ID17gIgeLsG5FQVeovehlLHnqLHqBQ+7THc4SUMe1j+WU/EeT8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMyClACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmppeg/+MjWX0qIIegosdU/vPhYOo6yN1R4n0mp0Hwg/r9ouZBte6vp9\r\nSvHexoQwmV8ysdvUCuYTmXVlXotJodUSi1+YVs4aM8FsVqFAwI+wOwPzZ1oG\r\ntt7yXRzv1i2/XqnxOhcTu+ceiwUSKvjYWvHXHa4K6tnR3nIs8mIOfC8brcli\r\n/qw83/8Hn75mphmkUIxYKcdz+YxL3QKUnKU7lazpyYGTOW0ON+ef8qZVZw5E\r\n7TVekbQnecXMN/gBne0YO3Tj4OMt/9//pw+FcdArJfG+6mIzsAq70l7rqNVA\r\nq/e2+Y3+Spp9yg1DgERFftwf27jaxX98HZCTuQ+HZOyNpezp0J8sIgcjXmAb\r\nakv7TOaEzKijvOI0a3JuutZdpPlNg71rb3PYaUaHLBZeSUdlsWMRXNOIQLEf\r\ng9bJcGttZ1VLkpA4Dgbno8X5MUoVw2AtM92LO1xgOi/bXEOSdpXO606o2xhp\r\nBHXhVObltit5N7JS9RMd2hpcSi0bJkXf98cT6JhHntp94BY2c9HAtXPFInQ/\r\nEeqyjoWaOu2rqi2lO8mfJZTV6AliOY3FT5InITPkEQR85BGrkxX4TkDrjl6o\r\naRw48CBLpOystKnQFkqN1LFOtxIIU4VBvSupUfz8YlR6cuTWMJ2RCTTM5vDz\r\nywR1y8RPyJUKUD1fd7uRDwzY/SojkVug2bA=\r\n=7Le4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20230409203113_1681072293346_0.49855863385088006"},"_hasShrinkwrap":false},"0.0.0-dev-20230409203337":{"name":"@nature-ui/toast","version":"0.0.0-dev-20230409203337","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20230409203113","@nature-ui/close-button":"0.0.0-dev-20230409203113","@nature-ui/hooks":"0.0.0-dev-20230409203113","@nature-ui/portal":"0.0.0-dev-20230409203113","@nature-ui/react-utils":"0.0.0-dev-20230409203113","@nature-ui/transition":"0.0.0-dev-20230409203337"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"0.0.0-dev-20230409203113","@nature-ui/system":"0.0.0-dev-20230409203113","@nature-ui/utils":"0.0.0-dev-20230409203337"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20230409203337","_integrity":"sha512-/l7Ucar3p6E/rifAfAJg08gMa0N8hld4mNmukczOab75ZKnACLZZ/YvwkgRnpWuoqmCn+2NRvS2cCyEZnIg9YA==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/2b4675bcc902aea5fb9abf00bf59d51e/nature-ui-toast-0.0.0-dev-20230409203337.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20230409203337.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-/l7Ucar3p6E/rifAfAJg08gMa0N8hld4mNmukczOab75ZKnACLZZ/YvwkgRnpWuoqmCn+2NRvS2cCyEZnIg9YA==","shasum":"571cf1afebd79825b9df12601179160029a85667","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20230409203337.tgz","fileCount":45,"unpackedSize":750468,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvAK9ryOGdSzAsWskgQ50tzaDoxkVeAaWQ7MhqN4GreAiBxoLvXJSkMo8B+worSpLAYBkRqnyFfPaNiaRYGW3g9rA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMyE1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpwSRAAjuSHafmmEuy7TsYINECzHjrliV2ZyIAfV4U5SAMMNzFbbo3n\r\n6/1J1yYuu33eFo4k+ep0Tu0SRMFYpZa74D5aiHHb1BTENKzRsg/VUkGsvRCc\r\nh2DAV1+AKva9nOuKt9cTvxkrcMQyajRERn+smTrBUn12mXLz2LIDBrqPytoX\r\nkpAGTO8tzNYhiOdYSUI0ZHh8c3Yqf8fH/T+E+29nzfSlHYMoOMaQlyQd3JLu\r\nIyz8jT8+BomBa5/903+5VRDwXt+EReQ+KTfPjXCHYNJuv3ga3U+LkNv/eeQo\r\nvUMltVi+defVrSicchTG/EIGnuxf0r1lp6M06dbClWJM5ZcQyeSI6l1I7JDM\r\njgjm3QqtjUxlba6LpYMcB7guMfNmE41Q9Jr8qMVX3NHsfJFodYMjPpIBDMss\r\nw9I7CO3yKoRY8OHXG6399fhefsUB5JfKB2rQ2pQn9DU8Y0h93QIqA+CeikER\r\nE6Y+6JCbfIztrWcJh9u+hQP2gckwTG0DLM77DWO9NVZopmVmUfq6DVtKL/FK\r\nsNsX2ZGRnOSmwPGuFX5YlNv+ZIDV3x/xpiJ/of9An5OrDiFFlL7/JpHnxBPi\r\novvJSKd+5qWrxuFeOCKzbmBAxlseqLf3yWFvMq5EOuXQvXLwk0bb3vlNhyXd\r\n06ENT1PU60gSqIBC+n7E7xLxQCuYNQjEF0c=\r\n=/mxl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20230409203337_1681072437601_0.6346362254206153"},"_hasShrinkwrap":false},"0.0.0-dev-20230410131720":{"name":"@nature-ui/toast","version":"0.0.0-dev-20230410131720","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/close-button":"0.0.0-dev-20230409203113","@nature-ui/portal":"0.0.0-dev-20230409203113","@nature-ui/transition":"0.0.0-dev-20230410131720","@nature-ui/alert":"0.0.0-dev-20230409203113","@nature-ui/react-utils":"0.0.0-dev-20230409203113","@nature-ui/hooks":"0.0.0-dev-20230409203113"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"0.0.0-dev-20230409203113","@nature-ui/utils":"0.0.0-dev-20230410131720","@nature-ui/system":"0.0.0-dev-20230410131720"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20230410131720","_integrity":"sha512-auhfo8+zoLN48eXGfD7b9kUMtzvPnSMEmDCdwChT0dVXY1sQTMWkMbl/6sqQucvjQdxLQPlgg6n0XCy3KletHQ==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/df17ce3b20bfcde41ce6b55015cc28f9/nature-ui-toast-0.0.0-dev-20230410131720.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20230410131720.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-auhfo8+zoLN48eXGfD7b9kUMtzvPnSMEmDCdwChT0dVXY1sQTMWkMbl/6sqQucvjQdxLQPlgg6n0XCy3KletHQ==","shasum":"5a3537edb41c4640337b4b88246b0f2807c394b7","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20230410131720.tgz","fileCount":45,"unpackedSize":758505,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCM4uof4ctJh5iwRJsADDiLGsqlhsQuzs0npBbUtTKS9AIgJvLNBOdA62nQQCiYUrvsKs0V+Deyo/3Q4loZ0WPpdrQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNAx/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuSA//fZP4nHNG996I+1AbF49K1x1unBzSrKkkwT5e9q5Ey+qsLSyL\r\nCYgkdjgf3MmGiJ4M6+Ck//a2j6GyNG1+gYF0CA2gErwhlhAuYW5+WBGjQDPh\r\nPwcJx0zqy/kUI+D/Y8bc4zP2gtQaBReyEShX6tos5cR1+N5wSqgDQsZ0NGwn\r\nMLkYRa9BkZ29gGouZaKX1sQD1ri3mK2a1l4nkOMZcTbYcwJ8SaJ8S+obLIgk\r\nM6nhVr/ao19ctFDN0vjm7nhDTJJAbGuf5zR4vLVcKiObiKafpp66MiCrSFkR\r\n4RYlLqOn9YQ55FQJDiZY1QlEcxIRKSkDXA3X/+Mnf/+962pYVKswDkFMexnp\r\nJXfwf3k894ohNZONnOMPbmH1Wk0NtY/6m9ekFny4ZHiNbkhW5jnA8FSkacy3\r\n+3HnFZn+hvCarI/+gNpBhrXOBw5T2YBxe0GXPHMDgvwa55E8v55euK4NjAd9\r\nWcWCEn1FhM+sYki+CGZLe5V3epbB+Ywn8WTWhf5GW0pyhpwNoQTUUkKH7Tuv\r\nZZ/hojJJac2i5Rxz+wvxybje9kWFRkX0irJcnbAP8zyM+lIsPj+KClsliwqK\r\nlrDKJ+hxJkfWchb+4Vs4xNGzf/8/0QWsWxmd4RFBo1LLfHex7/ARMizsNnMK\r\nsZC5yIHJIqtitvGDWTkM4bFw8i9eWiIxMp4=\r\n=nhDk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20230410131720_1681132671705_0.2639346327842653"},"_hasShrinkwrap":false},"0.0.0-dev-20230410162901":{"name":"@nature-ui/toast","version":"0.0.0-dev-20230410162901","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20230409203113","@nature-ui/close-button":"0.0.0-dev-20230409203113","@nature-ui/portal":"0.0.0-dev-20230409203113","@nature-ui/hooks":"0.0.0-dev-20230409203113","@nature-ui/react-utils":"0.0.0-dev-20230409203113","@nature-ui/transition":"0.0.0-dev-20230410162901"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"0.0.0-dev-20230409203113","@nature-ui/utils":"0.0.0-dev-20230410162901","@nature-ui/system":"0.0.0-dev-20230409203113"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20230410162901","_integrity":"sha512-wbYV/GfQiX5ICeWaZxtwzKommo5uByO+WD8oeDFk3xW9nir5QQjSpE1wkfD4iquyMo1qFXXFAXIODXJd0Ji3OA==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/31debff681f64c8be50a31f1a1371c12/nature-ui-toast-0.0.0-dev-20230410162901.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20230410162901.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-wbYV/GfQiX5ICeWaZxtwzKommo5uByO+WD8oeDFk3xW9nir5QQjSpE1wkfD4iquyMo1qFXXFAXIODXJd0Ji3OA==","shasum":"1e501401c200cf5507cc2675fc4da6d68a9e41e5","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20230410162901.tgz","fileCount":45,"unpackedSize":758505,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxF4rWl2dJFsRsYHemuh6MehUh48n5lBaR0cecKw5+mAiB52/Vv5HugdZBNdO2yurt6w4vxZ/7Azzx0SzTXKKosKQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNDlhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmromQ//btcmo380eC2T9aQY0Y3nBuDAN2f88bvP1NWVLEubm4VTsq3W\r\nIz4ORMF81OpbSdLhfnYgdyvGlvBWMRO0Duq3hY+nfQVSOXTj0UeX35tGMxVd\r\n59fxHlwQZ/rKdwy8bt/ntvf+pRxJ35hXIGfCZ7yMmHTjhprX9oTrvLjua9X0\r\nwwCtWCuYyXTdtxCm4GZ9rmD2vd2vrS7XMWVKt9OxSpQihIKEdow12CnXxCy+\r\nkF/Dt0zxN34SicoEJ+BtBiKs+LTjA+T6cYf7GfhZCOiLjrNbkgPttB/aUUCA\r\nqpiD1SGRcQcRHk8Y8oVPuHllxDnDdA3fHgI95TiRWuWe/Mj/NdtSp14u7tHP\r\nVgrH7LiAD0j5S39PtyfqB8ibqQKAyTBmgDzxGiLcDLv6bTb2hpDEXD7RRBkH\r\n7c/QUWptsCAzqOoexZQp9OEB8KvJ8keR47EmCyGTxRNt4HV1u9bPpK1bQq6Q\r\nZjW3/9upUAtjOJc3g65SP34dpGmRpBwydL09ED0sWSxhnERpoP21rWqHx7ua\r\nEgwwKIghj9kWeH7KvHzgrXwWxX0HwYsp8WNuFyYVLVzv4OfIw8YpNixkS5bI\r\nwRrAL5zsd+A/peeapAondVlVnTLwOQrlM3Pti3taETuGyWOjrCpQQNCYTjRr\r\nFI3phP8o7UOA3D3lgr6IMYz3pCwCtlqQYYw=\r\n=ov7q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20230410162901_1681144161420_0.1431461354166914"},"_hasShrinkwrap":false},"0.0.0-dev-20230411071731":{"name":"@nature-ui/toast","version":"0.0.0-dev-20230411071731","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"0.0.0-dev-20230409203113","@nature-ui/hooks":"0.0.0-dev-20230409203113","@nature-ui/portal":"0.0.0-dev-20230409203113","@nature-ui/react-utils":"0.0.0-dev-20230409203113","@nature-ui/close-button":"0.0.0-dev-20230409203113","@nature-ui/transition":"0.0.0-dev-20230411071731"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"0.0.0-dev-20230409203113","@nature-ui/system":"0.0.0-dev-20230411071731","@nature-ui/utils":"0.0.0-dev-20230411071731"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md","_id":"@nature-ui/toast@0.0.0-dev-20230411071731","_integrity":"sha512-lm+ptxrwz2/dv2gDpbHi2JcZdFJxiyjaEwLmJq2h1yogvr8H649G7DbDJFY/N8MHB9r1MNPdChs4VvfvU/XXjQ==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/c5bb1da1403bcb0503e6f2997a6ee2e9/nature-ui-toast-0.0.0-dev-20230411071731.tgz","_from":"file:nature-ui-toast-0.0.0-dev-20230411071731.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-lm+ptxrwz2/dv2gDpbHi2JcZdFJxiyjaEwLmJq2h1yogvr8H649G7DbDJFY/N8MHB9r1MNPdChs4VvfvU/XXjQ==","shasum":"1f51510472fb8c53d635106c6e99cb64b5b7bf3d","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0-dev-20230411071731.tgz","fileCount":45,"unpackedSize":758505,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDJAzOAJlLm9P1HHElrRdAu3Pa4oUgif8EGMjlZTsihiAiAAg5Kh6QQlWC8J2DNOyCSt0/ZIMda0mTkRvt38LYO3wg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNQmjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2Lw/8Dw9PRz/hOn/uIEb9NRaQWls5l8RZssap3pXooJweMiOHrFWs\r\n3TDAMej9nL9QqLjWwzczzW+47uoCesHS9R7JYQT1V/nVufZ6nWkUojhKqlYD\r\nNQ+/nQwX5O96FqNvq38q3nWsvbJjXbHO+6jyrrRGzP+l4Eavi8ZPyRdl/hc9\r\n0GllIcXJb8nlPcJPTXOT6n4w+aGbdQKsF1C3ZbWYYHjlMaEGd/MKsXmaclJG\r\nPyNZSqWafyJNODkTHRnwL8aGmVMuAobjmBbfKspKyorRF3+1PetKFH4aa806\r\ntEDUM+NXtutV6+3GlhJqcRUxPHjiUkeNo2K9kIpT+XlgHN2urHtevdsNXK+5\r\nTpQpgWitqRZkDVug13tLrWcR6ohek5Hi/l25hlByF5mydAS2qmyml/tafNOH\r\nhPASLdZuu4EHlJXu1MjA/0guB3UA2bE0exujIRZ84lAdbWfv6VNDPFFtuo8Y\r\nyH7jiQusqcMJLOyN69iZHZ4Vvbeg7Zk4CoLyE1oCcusXT+2KAKCw6VCGtaU3\r\nTWI1SH9Cs2TnlZUjlSXNg6D9WGhzyBy2rnsqcd4g5LX4H+OGTm89EPgMrOaY\r\naOZIqDzMt42f/SsudAUMZL3hW/yytYKf0TEUDoo6wRt4ElDd6UkgomTa4JyC\r\nIB+31djwEQXW08+JPd05cXx9No3cCHf5HNk=\r\n=mein\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0-dev-20230411071731_1681197474913_0.5554904877793261"},"_hasShrinkwrap":false},"0.0.0":{"name":"@nature-ui/toast","version":"0.0.0","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/hooks":"0.0.0","@nature-ui/close-button":"0.0.0","@nature-ui/portal":"0.0.0","@nature-ui/alert":"0.0.0","@nature-ui/react-utils":"0.0.0","@nature-ui/transition":"0.0.0"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/system":"0.0.0","@nature-ui/utils":"0.0.0","@nature-ui/button":"0.0.0"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_id":"@nature-ui/toast@0.0.0","_integrity":"sha512-tEGIbCEIIFITQGhAjjmScYXVC2B38AFULMMY9Q42OB0Wm1Fa81+nrGvicMLMxywQmmlJGSF164rvkWwhKW3SvQ==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/581cc386a9a830205b62053966a79fd0/nature-ui-toast-0.0.0.tgz","_from":"file:nature-ui-toast-0.0.0.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-tEGIbCEIIFITQGhAjjmScYXVC2B38AFULMMY9Q42OB0Wm1Fa81+nrGvicMLMxywQmmlJGSF164rvkWwhKW3SvQ==","shasum":"654f3498018b077059d5ff9edd0a171446f9dfd8","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.0.tgz","fileCount":45,"unpackedSize":758315,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj58LnzO/VSrfGTCtKnq1WjP2H0bMSNa9sE8LteQ1UDQIgNOVcC/wM/ebTHyi0WSbmFZk66IyJqqgyEPZlIKCyj4E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNYphACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoG1w/+P7i8v2+BGuhWIr+k89tStHdmSMY4Hhk89q6gpQMMT8W0m4lP\r\nuWUgdqIDUfYeWp3KZbQ+KxNyhpNsmdL19roMU3ICaXMRyan0h3Ky2vTP7eaC\r\nCy+xxnERIVo7ZvhoGUjh1hP4Ec7jsOVxU28JLS0ZJJ+bwPSMoAhiQYV/eRuq\r\ncObJ+1t0+4V0uff3iYH6FF8iabW0QsdC4getTAKwfE4Mmd4uOjPJHBewm6+d\r\naPD7pF5LONDpWN7jwbh5yM1rXDfIN7N7oOVoogb9wlRft6B3yKzPzjXoq8NL\r\nIqew+eVyyL+qHIKUVgEqf/hQVisAQvi9lufMYetARyFaaoKxhxZLOvSaI8NF\r\n/5NHHJ/pKM+F4jTZVvXgs1f8YZBZJXLpyJ6hY6fZFKjRI++wtD01VZo7UfQ9\r\nc+Re6HGEYdfwea7Wk4KOKnycgq7o3ydZbg6WZGbKoXY75kP7dCmHGzGYczio\r\nPFlo/0G/m41lRVkGf6H59QDbEgz5+TacfC2yvDuo7FYwmpBXN6VSzXtdK0pv\r\n7BT0sZ2eGqGuwxtplu4+ASCPqMl7XxiQ+gSpFX/8/Zb4MpPFbB0u/WM1Ojc5\r\nDltJmORAm9knCc/eBmrFuFw9pByutRyocjIZWoi5ZOPz/deIkkLzktZTtKpY\r\nipv7fxotC8l56FDD1NoYX7OA+sAtm/OIuXY=\r\n=y21i\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.0_1681230432943_0.2837270374626186"},"_hasShrinkwrap":false},"0.0.1":{"name":"@nature-ui/toast","version":"0.0.1","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/portal":"0.0.0","@nature-ui/react-utils":"0.0.0","@nature-ui/close-button":"0.0.0","@nature-ui/transition":"0.0.1","@nature-ui/hooks":"0.0.0","@nature-ui/alert":"0.0.1"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/system":"0.0.0","@nature-ui/utils":"0.0.1","@nature-ui/button":"0.0.0"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_id":"@nature-ui/toast@0.0.1","_integrity":"sha512-dO6NWEIs31W5YdpBwdOERelid9L9yQ8Ed5KYVb+MKDb8IQsdubsIpkLsWLwNfXxhO0mWUFUrHg9v7SbmvWIerg==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/63b541e1deeb3bc4ef6a4c4782f9159b/nature-ui-toast-0.0.1.tgz","_from":"file:nature-ui-toast-0.0.1.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-dO6NWEIs31W5YdpBwdOERelid9L9yQ8Ed5KYVb+MKDb8IQsdubsIpkLsWLwNfXxhO0mWUFUrHg9v7SbmvWIerg==","shasum":"ed720be62ed6ac1ade78a880b6c705742afc46a3","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-0.0.1.tgz","fileCount":45,"unpackedSize":758315,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwYMdotyY3huTk1CeUvVIBfUsYvO5LhbgT1gUoirNwZAiEAsrrYXS96MSECm8/8TtFDhuxHx5n08fSL+wpPRxVYe5Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNYuvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpqcw/+LevYqMsPJLBv4Nd1GLqd6j1A8d/ejpGdvp3Lic4oycGLuDnp\r\no3KNOC36CWcdh6wMw883jfuzok2n0kzW0Ajb6Lv3u4rSw2M7mdM84YfhHg+L\r\nQaeIHTVKobDXn7vtKePbLRWWniW5dXt5GbTkIf4zLhjZS17N9FhLC2EF14wc\r\nx4bNOa1snFGNG4UAGKjhx6NU0HAMZ8UzfI4eVwKuou/geMvBH8loTsBQTu28\r\nkLWAxGoq8rxfzSfrgWMU3G0liZU1RDK1lhGXq5zRt+9wBuJz+XZlBp0Jy6Ij\r\n6VZK5kVjGTjq7DsrNEib4edpDIzM1mNJOGyQ248ALeZSs4fz+1bH7A4wVT8p\r\nB6jPxZ78Lc8U5gtuUIO30NIigbUdbZpbQS4ocWrqKEWa9XjAYeCVfd94F4yl\r\naFqGpUSFiydxhnwh6qLJjCHmufWTAr5axoK3a6PBKKcl4oICLXj41SkimGGh\r\ncYPhJgpts7EN+VuAo765Hk7oqSq0Nc4e4Z8zmCXGMrZr5FAyyvDowkUzDDsA\r\nxtLcQfIfEVhHDp8wrv8rFyNDcIs685jOTz3Ar8THsd8EeZt5y/THNAzgJqic\r\n0X/MY4CWJ/yuCgbHo3S3z5qb6peo7LC6/q9NY2iFLFx5djJzRBthZY2m+B6z\r\nPBfg+M9dWUpBfArlcB/5ZcqRN2ORcaR181Y=\r\n=TNLJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.1_1681230767398_0.6495098214518435"},"_hasShrinkwrap":false},"2.2.11":{"name":"@nature-ui/toast","version":"2.2.11","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"2.2.10","@nature-ui/close-button":"2.1.10","@nature-ui/hooks":"2.2.10","@nature-ui/portal":"2.2.10","@nature-ui/transition":"2.2.11","@nature-ui/react-utils":"2.2.10"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"2.2.10","@nature-ui/system":"2.2.11","@nature-ui/utils":"2.2.11"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_id":"@nature-ui/toast@2.2.11","_integrity":"sha512-XndF2kmG8W9EiOCK2+wjeCI8qzlSRJJ36lv50OM+gEayGfzOn7aB9myI612dWe9s8NNpj7zHjdnQUaWSRpzycA==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/ec68969e8e1003fddd2d8e6b91f3c3c9/nature-ui-toast-2.2.11.tgz","_from":"file:nature-ui-toast-2.2.11.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-XndF2kmG8W9EiOCK2+wjeCI8qzlSRJJ36lv50OM+gEayGfzOn7aB9myI612dWe9s8NNpj7zHjdnQUaWSRpzycA==","shasum":"9a530f2e6e19f6ca0cccc8d450e81a96c4861531","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.2.11.tgz","fileCount":45,"unpackedSize":758325,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrX2NzWsNxX4885BA62boyd/k7arYWURDoImuc0acLbwIhALfA5iKjZoTkuISOmRnbUu03pVCuR7xUDLrpXwGEPSmL"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNlmxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpghAAneE4qJIP1rEyf8SgN2diSiY1zQz7Bd6xrlCk4BovKphJn97p\r\nNghHTIzbGnu9i74wql3clcu+eo7iAC4UrpdmeKDZoqR6/ZBozXJpEetnclH+\r\nXaruqjAFf+S0lCyNCB0boXeOgfYSKkqZ0MxGQZZE9MDpFui3I2QC5+4v8D8f\r\ndqIS5ZKwP4UDur+XKhfhbtohwzp2bHQyjr2R7mvRr4bd1dpy1J8sAet+9x5q\r\nAynMWqmZcMaJBCJqcCP31G8WBdeJDHc65jYlXNFExpedvZ/YmWODuSLCvsOO\r\nuhH0cCpgp2OM+4ygr3Nd1BrLdYHWDAKOwpf3SoFR8hiHDmdPDD5ze+ZJPOaB\r\nKs6v3PxUBltee5kzkxjvoJfzFstfVmf7/HQyF9aG40smRDU041QP94m41LJW\r\nxbHduXvMqfn1m4RjGr0aS2zq6pgqbcuyTVefHrlH/NMzK9UyrEqV1rC8z5L3\r\nh6dgtwIxlfS74IVhGwoTqlq5gfcf6JmucvS0Tdi7Ndv6ZnveAP6nGp+pnfgz\r\neAs/YdJF+/vHXjO4pXmLX8QbrFh7PpdU2cU7F0iAvUAvEB5akKraAV7Hg8BM\r\nl7sRBDn11GsBKt5YUIWA9T6iHFfO0u/RkuPQCTrqmYER84nhpT/bwe7sBxnO\r\nhL+6JBlLQJWXt7aXp9wpyyteutUaUlqOkHc=\r\n=MqAh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.2.11_1681283504910_0.6067812540472834"},"_hasShrinkwrap":false},"2.2.12":{"name":"@nature-ui/toast","version":"2.2.12","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/close-button":"2.1.11","@nature-ui/alert":"2.2.11","@nature-ui/react-utils":"2.2.11","@nature-ui/portal":"2.2.11","@nature-ui/hooks":"2.2.11","@nature-ui/transition":"2.2.12"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"2.2.11","@nature-ui/system":"2.2.11","@nature-ui/utils":"2.2.12"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_id":"@nature-ui/toast@2.2.12","_integrity":"sha512-7qWOc8hHNHCSdTb1ocf4nURPbJVo/AS5mtav4i5IyYzRMEJ0Dl4lotqVFXqWyKEoQ6LMZPdBX97UOm0hQdaBSA==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/bb548c2e261986d19f4ef81defd6d51c/nature-ui-toast-2.2.12.tgz","_from":"file:nature-ui-toast-2.2.12.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-7qWOc8hHNHCSdTb1ocf4nURPbJVo/AS5mtav4i5IyYzRMEJ0Dl4lotqVFXqWyKEoQ6LMZPdBX97UOm0hQdaBSA==","shasum":"c1486922f17728a9e8dcb039333691c39890e134","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.2.12.tgz","fileCount":45,"unpackedSize":758325,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCjmlojNRG/6bdqfpGxQ9w3BV6g5/n+YS3ALuBJWHWSAiEAz67Q1yf2IMGfOTHPXqWj6rbiTcHGjql+YxEdtMCCRrE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNmvgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAtg//c9dwto81XYJ1omsZ62w0hul+We/mm+rb4YKCeoVcoBq++N55\r\nyBEkrB4qkV6ICdClut3TLlZEDw9IEs1RBaIuoqvhF7WRSCLcglMszNH7hGbS\r\nxMCFjkkhA1/TSok6dQY4h9TsxqheSPblbTQ6HyJV9coNtShOpf6qbt0pbach\r\nbj9saUu78gOcCzFMKUDSQzQWdoluHEpgNmA8b0hV7wkIt7Wbij1M8QiD8rfS\r\n9wmSj1oiUQRZA3jFz74Cl0k05IxLg1SaYXNdP0ySY3gGHDHc5AdX99H8KBuv\r\nP6CCz81eNtUBvzOQ5C3j8DZPiQkzqw++u5RMPg6DsQtl11Rl7rc1ppWbJn+m\r\nJu8jJLj/CbMwdRXnBWnx8vcMTqDPGyiLbIZXgJZwg9ZbfdPeyOqkpOHzvcoO\r\n6yPqC7jBE39k1i+QzgoJWg99MRKz1fPj85U3yjnJbqshL+sWmq9dpEUy40Xq\r\nAXhBQ3ZwCVPOAGHRqCqamG/YkHRnan/G4rDPzhQKwTH62RrcgJTm12E8EXgx\r\nl7JffjQj0no7BpnbOzhigD7v/9rDdtc21bEUi0lCTFrg5dbznqmiH2rBlW4t\r\nDWBZhjtGl79ArgcaBhMAWuCa5P/xvnEdz+j+98LpifQVl55qQ78SGGAuzEqo\r\nyA/tEgtIosu/4TejvDr5hX+GZZ8bTTlEnNk=\r\n=+brq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.2.12_1681288160126_0.8285901106229079"},"_hasShrinkwrap":false},"2.2.13":{"name":"@nature-ui/toast","version":"2.2.13","description":"A React component and hooks wrapper for popper.js","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"homepage":"https://github.com/DNature/nature-ui","license":"MIT","main":"dist/index.js","directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"dependencies":{"@nature-ui/alert":"2.2.13","@nature-ui/close-button":"2.1.13","@nature-ui/hooks":"2.2.13","@nature-ui/portal":"2.2.13","@nature-ui/react-utils":"2.2.13","@nature-ui/transition":"2.2.13"},"devDependencies":{"clean-package":"^2.1.1","framer-motion":"^7.10.2","react":"^18.0.0","react-dom":"^18.0.0","@nature-ui/button":"2.2.13","@nature-ui/utils":"2.2.13","@nature-ui/system":"2.2.13"},"peerDependencies":{"framer-motion":">=6.0.0","react":">=18","react-dom":"^>=18"},"gitHead":"cafae1d72b2a7027028454c22d4bbaebfdafba5f","clean-package":"../../clean-package.config.json","tsup":{"clean":true,"target":"es2019","format":["cjs","esm"]},"module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup src --dts","build:fast":"tsup src","dev":"pnpm build:fast -- --watch","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit"},"_id":"@nature-ui/toast@2.2.13","_integrity":"sha512-zAZaTw4KJSwVs/VS4nlriSM3TQIIBVzJ8qzaMHlg1/zGLHhM0PQhKCwUUweLxZmZymV5it7Zg2vl2hs4+j3eNg==","_resolved":"/private/var/folders/d9/1b7yc42n6svc_lxk_r91547w0000gn/T/e22ac74f11b5e8052352d5604cb55db1/nature-ui-toast-2.2.13.tgz","_from":"file:nature-ui-toast-2.2.13.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-zAZaTw4KJSwVs/VS4nlriSM3TQIIBVzJ8qzaMHlg1/zGLHhM0PQhKCwUUweLxZmZymV5it7Zg2vl2hs4+j3eNg==","shasum":"94422a427b944a794a3e0132fe158af62f092481","tarball":"https://registry.npmjs.org/@nature-ui/toast/-/toast-2.2.13.tgz","fileCount":45,"unpackedSize":758325,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHtA2EyKmhQ+sOFH3G71jAOosh/rcYSU0t/mXKntGzaQIgM6Lp3KEmlbqAeN/LpXo1kqoVJdG74ufQ/08OKNTfAgQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNn08ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpq3BAAjO/DITutPcHfm1hNeHHu1qyu9esJCUcbIlMZ8/oz2IYWrWAy\r\ne3oW9nVsQw0z4f923fLwn4LkFZvoN7n+U3yteTs7f1+4t63FLta7OV9WCSzZ\r\nJ54iFy8752vk1WJUzHnn2+sXue+oM74RFVuT5pZqf9sSg91kTP4ISwmifini\r\ncFkGOcoSFOO3K++A57qanntzmbsym4FMduyvMaZXXq7Q2r4dNzbUHKxMvkka\r\n8x8xw+x4C/VQgXi1I2fXujPmz7oGNX5ZkDIEYAquyujwSuwKEisU649nlYCD\r\n7iNUkAOg/P2anbAHDefyPAQUjxkR3C36k4WNaQpmlUiKWf2wDzVuK3qKv/hh\r\nN7GfG6rM7Du2XvuhThdAu/VwtA9evXSgZLaseFs0qqn3gy1uxsE2oF2r8Reo\r\nLEYnSYNSty80ZDFwsQWZ8NXYmlCmzC1zynDoDlXN8wzxv6Fpv44NqxWfpgUc\r\nAFyJqBB0t/RwwSG+Rhl2p+nD6xEitsv6SmYgJI/fcdB1IzGEmFedf3kK9AW5\r\niP6NjG2mRg0Y6bLvq2mQUdWjy+SsWdS/dyS/PjhkhVDL4NbOoKt4XTXnsoTA\r\nvz6nC60IzKpGjTxP5msNLwdRgnn8ey4UzM1Pm9VzHLspi2UrtzpHV2ZmGNoi\r\n9VVXZIuXUzBNBasbgK6cHmJ7ku6eFVGYul8=\r\n=EBRa\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dnature","email":"divinehycenth8@gmail.com"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_2.2.13_1681292604201_0.8205955707252459"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-15T12:40:11.228Z","0.1.1-alpha.0":"2020-12-15T12:40:11.609Z","modified":"2023-04-12T09:43:24.579Z","0.1.1-alpha.1":"2020-12-16T09:54:26.687Z","0.1.1-alpha.2":"2020-12-16T12:07:05.581Z","0.1.1-alpha.3":"2020-12-16T14:34:28.444Z","0.1.1-alpha.4":"2021-01-07T20:50:30.521Z","0.2.0":"2021-01-08T21:40:17.981Z","1.0.0":"2021-01-09T11:37:06.947Z","1.0.1":"2021-01-13T14:34:51.823Z","1.0.2":"2021-01-25T14:51:33.486Z","1.1.0":"2021-01-26T12:41:39.256Z","1.1.1":"2021-01-27T13:49:02.087Z","1.1.2":"2021-10-25T08:07:08.758Z","1.2.0":"2022-04-06T16:42:59.921Z","1.2.1":"2022-09-03T16:27:38.483Z","2.0.0":"2022-10-07T08:26:58.341Z","2.0.1":"2022-10-16T06:47:16.256Z","2.0.2":"2022-10-18T08:06:17.229Z","2.0.3-alpha.0":"2022-10-22T08:10:08.743Z","0.0.0-dev-20221025084126":"2022-10-25T08:42:02.662Z","0.0.0-dev-20221025095017":"2022-10-25T10:01:07.989Z","0.0.0-dev-20221217095502":"2022-12-17T09:55:43.592Z","0.0.0-dev-20221217102739":"2022-12-17T10:28:09.216Z","0.0.0-dev-20221218114655":"2022-12-18T11:47:12.735Z","0.0.0-dev-20221225100930":"2022-12-25T10:09:55.332Z","0.0.0-dev-20221225195604":"2022-12-25T19:56:25.944Z","0.0.0-dev-20230301120121":"2023-03-01T12:08:25.333Z","0.0.0-dev-20230301133840":"2023-03-01T13:39:00.558Z","2.2.0":"2023-03-01T14:47:37.688Z","2.2.1":"2023-04-09T15:46:29.992Z","0.0.0-dev-20230409201910":"2023-04-09T20:19:38.717Z","0.0.0-dev-20230409203113":"2023-04-09T20:31:33.591Z","0.0.0-dev-20230409203337":"2023-04-09T20:33:57.908Z","0.0.0-dev-20230410131720":"2023-04-10T13:17:51.956Z","0.0.0-dev-20230410162901":"2023-04-10T16:29:21.664Z","0.0.0-dev-20230411071731":"2023-04-11T07:17:55.210Z","0.0.0":"2023-04-11T16:27:13.207Z","0.0.1":"2023-04-11T16:32:47.715Z","2.2.11":"2023-04-12T07:11:45.132Z","2.2.12":"2023-04-12T08:29:20.355Z","2.2.13":"2023-04-12T09:43:24.431Z"},"maintainers":[{"name":"dnature","email":"divinehycenth8@gmail.com"}],"description":"A React component and hooks wrapper for popper.js","homepage":"https://github.com/DNature/nature-ui","keywords":["react","popper","popover","tooltips","popper.js","positioning","popperjs-modifier","ui","nature ui","component"],"repository":{"type":"git","url":"git+https://github.com/DNature/nature-ui.git"},"author":{"name":"Divine Hycenth","email":"divinehycenth8@gmail.com"},"bugs":{"url":"https://github.com/DNature/nature-ui/issues"},"license":"MIT","readme":"# Toast\n\nThe toast is used to show alerts on top of an overlay.\n\nThe toast will close itself when the close button is clicked, or after a timeout\n— the default is 5 seconds.\n\nToasts can be configured to appear at either the top or the bottom of an\napplication window, and it is possible to have more than one toast onscreen at a\ntime.\n\n## Import component\n\n```js\nimport useToast from '@nature-ui/toast';\n```\n\n## Usage\n\n```jsx\nfunction ToastExample() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() =>\n        toast({\n          title: 'Account created.',\n          description: \"We've created your account for you.\",\n          status: 'success',\n          duration: 9000,\n          isClosable: true,\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Positioning toast\n\nBy default, all the toasts will be positioned on the `top-right` of your\nbrowser.\n\nThe following values are allowed: **top-right, top, top-left, bottom-right,\nbottom, bottom-left**\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Position = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({ title: 'Success Notification !', status: 'success' });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Set autoClose delay or disable it\n\nTo change the show delay for any toast, simply pass the `duration` prop when\ninvoking the `toast` function.\n\n> Note 🚨: If you pass `null` as the duration, the toast will always remain on\n> screen.\n\n```jsx\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Duration = () => {\n  const toast = useToast();\n\n  const notify = () => {\n    toast({\n      duration: 5000,\n      title: 'I will close after 5 secs',\n    });\n  };\n\n  return <button onClick={notify}>Notify</button>;\n};\n```\n\n### Render a custom toast component\n\nDisplay a custom component instead of the default Toast UI.\n\nWe provide 2 key `props` to your component, `id`, and `onClose` to close the\ntoast (to build your custom close button).\n\n```jsx\nfunction Example() {\n  const toast = useToast();\n\n  return (\n    <Button\n      onClick={() => {\n        toast({\n          position: 'bottom-left',\n          render: (props) => (\n            <Box className='m-3 text-white bg-blue-500'>Hello World</Box>\n          ),\n        });\n      }}\n    >\n      Show Toast\n    </Button>\n  );\n}\n```\n\n### Use a custom id\n\nA custom `id` can be used to replace the one internal auto-generated toast `id`.\nYou can use a `number` or a `string`.\n\nThis is mostly useful when you need to prevent duplication of a specific toast.\n\n### Prevent duplicate\n\nTo prevent duplicates, you can check if a given toast is active by calling\n`toast.isActive(id)` like the snippet below. Or, you can use a custom `toastId`:\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Example = () => {\n  const toast = useToast();\n\n  const id = 'login-toast';\n\n  const notify = () => {\n    if (!toast.isActive(id)) {\n      toast({ title: 'Dude! I cannot be duplicated' });\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n    </div>\n  );\n};\n```\n\n### Update a toast\n\nWhen you update a toast, the toast options and the content are inherited but\ndon't worry you can update them.\n\n```js\nimport React from 'react';\nimport useToast from '@nature-ui/toast';\n\nconst Update = () => {\n  const toast = useToast();\n\n  const id = React.useRef(null);\n\n  const notify = () => {\n    id.current = toast({\n      title: 'Chidori is not available!',\n      duration: null,\n    });\n  };\n\n  const update = () => {\n    toast.update(id.current, {\n      title: 'Sharingan is all you have!',\n      status: 'success',\n      duration: 5000,\n    });\n  };\n\n  return (\n    <div>\n      <button onClick={notify}>Notify</button>\n      <button onClick={update}>Update</button>\n    </div>\n  );\n};\n```\n","readmeFilename":"README.md"}