{"_id":"@aspect-ui-01/toast","_rev":"11-9505d3a233e09ae68406f8273ca670b6","name":"@aspect-ui-01/toast","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"@aspect-ui-01/toast","version":"0.1.0","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.1.0","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"0db96e9fc1d8ff19c77d59830378464ce419a3dd","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.1.0.tgz","fileCount":6,"integrity":"sha512-E2hfpK2ziSoekvL25aIiALTprIzokpSNWBwvDH8cKP3uELIZfDKw7QfTPsqA8+GN1+YgoeP4E6VAo1xDFFHFRQ==","signatures":[{"sig":"MEQCIHpEZdJX43jrcD93ny5MHv6JFUi5S51jGsLkak22rI8wAiABKm043uUlpB2fptQ5NiV8UIglrUIx2h6KbFQkfVyLhQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22678},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/1e81784f9c7b67010e404cf98ce9477a/aspect-ui-01-toast-0.1.0.tgz","_integrity":"sha512-E2hfpK2ziSoekvL25aIiALTprIzokpSNWBwvDH8cKP3uELIZfDKw7QfTPsqA8+GN1+YgoeP4E6VAo1xDFFHFRQ==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.1.0_1767090585882_0.11670225899766429","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@aspect-ui-01/toast","version":"0.2.0","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.2.0","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"676be20ec2a6d3216b1cffa57647834ad0f897e0","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.2.0.tgz","fileCount":6,"integrity":"sha512-MAhrz1dA+gl1u7HDkHQ/jsmKwp/ABmKGT2Otg8zPywxKeYtcrppI/WDKqG0W85v/5RsCPNxJrjGsAhMKig4pLA==","signatures":[{"sig":"MEYCIQCdOW6kaEGuRxdYdkRzs8AuTGtSmjJtri/LjZWZmOT0FAIhAI5Bo5lSgMiyABxYI/1Z3yyYIzcF5+31Mc98uU/y/Qih","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23117},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/1a7b773f218f08266f6bd9c24f251257/aspect-ui-01-toast-0.2.0.tgz","_integrity":"sha512-MAhrz1dA+gl1u7HDkHQ/jsmKwp/ABmKGT2Otg8zPywxKeYtcrppI/WDKqG0W85v/5RsCPNxJrjGsAhMKig4pLA==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.2.0_1767091791355_0.6697865092402027","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@aspect-ui-01/toast","version":"0.3.1","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.3.1","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"1a74362349c18e7f03e295e9f428c0b4e0b4a193","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.3.1.tgz","fileCount":6,"integrity":"sha512-HcCok5kPrXBo/GvMWybSq8n8ji1df4uwOxV5qHOtcco1CE5Fc7ZukX4Vl0DdxSLV2uaNJ39DDDcmC3m2oprtiQ==","signatures":[{"sig":"MEUCIALzsiUHNjXS+2pGwAsDzmiU0q5gq5iUHvPUXXKrhgaNAiEAkGysH/PDlmkR8NAWirxFmKhZVuKPpwp3D6jnnqVjCGU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22769},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.3.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/7942b720a6be0e8da01e08ab386688ba/aspect-ui-01-toast-0.3.1.tgz","_integrity":"sha512-HcCok5kPrXBo/GvMWybSq8n8ji1df4uwOxV5qHOtcco1CE5Fc7ZukX4Vl0DdxSLV2uaNJ39DDDcmC3m2oprtiQ==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.3.1_1767093722592_0.46619124274080925","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@aspect-ui-01/toast","version":"0.4.0","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.4.0","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"701d35db4ff5d1b3a3ed79b478938b60c99665f5","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.4.0.tgz","fileCount":8,"integrity":"sha512-/EEUAezrPWMSavbaHg6/8BA8aHNrd4h+10vApnDaYAMbojJqJYGFdn0z5tpZjG+X9ukaFy0NDXNTr2TbgeNF1g==","signatures":[{"sig":"MEYCIQCcF7RkiJQZ57X1pCZP9X+NEGxERBjX9wbO4k3WBDnWUwIhAOH46OtR1YXLcAHc4RB+FsoYVkv+/+hD7/MHzDtB8JyI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20600},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./lazy":{"types":"./dist/index.lazy.d.ts","import":"./dist/index.lazy.mjs","require":"./dist/index.lazy.cjs"}},"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/77cc3abd8cdad171e40f7318d4033441/aspect-ui-01-toast-0.4.0.tgz","_integrity":"sha512-/EEUAezrPWMSavbaHg6/8BA8aHNrd4h+10vApnDaYAMbojJqJYGFdn0z5tpZjG+X9ukaFy0NDXNTr2TbgeNF1g==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":["./dist/index.mjs","./dist/index.cjs"],"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.4.0_1767096749441_0.47602568205627915","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@aspect-ui-01/toast","version":"0.5.0","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.5.0","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"d091963488300bd776ae41dd4d059a2ebff9e7a4","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.5.0.tgz","fileCount":8,"integrity":"sha512-fKSEmNeCvF/2PS75SptBA4PmPy8lw5hFxGZjcxqbrDjrt43o231IpESydkDULzv9yAhuQpA6Il8DqTaKsejPRw==","signatures":[{"sig":"MEQCIHLgr/ES7PHS3LRxIyHLRUnmo7qsX8tULFeISPHXtJ4mAiAzPo582SP4p3AWzdlbmmcPjQutQkSpz8Mt64+6J/oZ5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20600},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./lazy":{"types":"./dist/index.lazy.d.ts","import":"./dist/index.lazy.mjs","require":"./dist/index.lazy.cjs"}},"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/6e805ecaeec59f2f4aa2aa87ab66356b/aspect-ui-01-toast-0.5.0.tgz","_integrity":"sha512-fKSEmNeCvF/2PS75SptBA4PmPy8lw5hFxGZjcxqbrDjrt43o231IpESydkDULzv9yAhuQpA6Il8DqTaKsejPRw==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":["./dist/index.mjs","./dist/index.cjs"],"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.5.0_1767097645997_0.7020566871592497","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@aspect-ui-01/toast","version":"0.5.1","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.5.1","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"39e04331a871b57aae913db03827714d286d7df6","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.5.1.tgz","fileCount":8,"integrity":"sha512-GsgK2JY8hKuzJYkPlmGXe9psblzul5rZ6/YwWgKiBCiToQtk4ithEaRezEWBlU2DjMEIL6bGID0AKdLr945mMA==","signatures":[{"sig":"MEQCIGMECnlASZgQHtVyd314F7EVEpsGS2yATSvDnINtkl4jAiBzw7d1V+VG/2ZSXvibJxwbgBlmWFoKzcho7JiIbtKTww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22686},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.5.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./lazy":{"types":"./dist/index.lazy.d.ts","import":"./dist/index.lazy.mjs","require":"./dist/index.lazy.cjs"}},"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/0ed7e797035a27702720733f6a2e9651/aspect-ui-01-toast-0.5.1.tgz","_integrity":"sha512-GsgK2JY8hKuzJYkPlmGXe9psblzul5rZ6/YwWgKiBCiToQtk4ithEaRezEWBlU2DjMEIL6bGID0AKdLr945mMA==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":["./dist/index.mjs","./dist/index.cjs"],"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.5.1_1767098442471_0.8083867676530876","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@aspect-ui-01/toast","version":"0.5.2","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.5.2","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"70d50384a37ed0bf1f6fcc1866a58565cf6deffa","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.5.2.tgz","fileCount":8,"integrity":"sha512-Y/kGYH5jQdk0J9nWOlXvbOxcGxW9NJGCsyIvkAI+O04oFJYuA0VstVTNw4iNiHbV2mm/CWqYRnxYJ1odnhKitg==","signatures":[{"sig":"MEQCIDrAMaFhK5V3UMEER+7dqkYTbopRdeBLpnsmKY6h1/CMAiAK+JexJVv3ra96YFjlN06q0Cu7vw64I1uAToMtcvCKdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22848},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.5.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./lazy":{"types":"./dist/index.lazy.d.ts","import":"./dist/index.lazy.mjs","require":"./dist/index.lazy.cjs"}},"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/c99eadb98f882a38bb43bbccd6e0ea4e/aspect-ui-01-toast-0.5.2.tgz","_integrity":"sha512-Y/kGYH5jQdk0J9nWOlXvbOxcGxW9NJGCsyIvkAI+O04oFJYuA0VstVTNw4iNiHbV2mm/CWqYRnxYJ1odnhKitg==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":["./dist/index.mjs","./dist/index.cjs"],"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.5.2_1767098903392_0.5969368846850345","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"@aspect-ui-01/toast","version":"0.5.3","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.5.3","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"7fdf8a2232b1459cfa4427872334d1816b08015f","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.5.3.tgz","fileCount":8,"integrity":"sha512-BltnqY7I+nwAOBw8Q8zgQzdLQM/IdqjdrGvqb+2EuiT0qH5KETgx2OsDu5W0StfG45d802XxWaE/107GMVNtYw==","signatures":[{"sig":"MEUCIQDzr4ZMCdz2F29F3Q6RzzhyjCdYFJMjsq2tXosB1mfmFgIgRrlVUB22tqKsQ+xim3y3WtvaTPPqgbTKdQOn1MDE45o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23038},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.5.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./lazy":{"types":"./dist/index.lazy.d.ts","import":"./dist/index.lazy.mjs","require":"./dist/index.lazy.cjs"}},"scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","test:run":"vitest run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/ab7567cd646a290cce26bd0f8dc4616b/aspect-ui-01-toast-0.5.3.tgz","_integrity":"sha512-BltnqY7I+nwAOBw8Q8zgQzdLQM/IdqjdrGvqb+2EuiT0qH5KETgx2OsDu5W0StfG45d802XxWaE/107GMVNtYw==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":["./dist/index.mjs","./dist/index.cjs"],"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","vitest":"^4.0.16","happy-dom":"^20.0.11","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0","@vitest/coverage-v8":"^4.0.16"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.5.3_1767099218803_0.3708026481819171","host":"s3://npm-registry-packages-npm-production"}},"0.5.4":{"name":"@aspect-ui-01/toast","version":"0.5.4","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.5.4","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"9dd8037848252f4e9c633f79f95e7da085b20e44","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.5.4.tgz","fileCount":8,"integrity":"sha512-OVQdw1Ai0wvEMTNXtJ9OVleOLWK5k8SMuqax2L/BLg/OC7KKg+BeFmYlnQTCAlJIZDgul2PInuHucRglMDpJHA==","signatures":[{"sig":"MEUCIHnIlVK4b7XnK7ZaNvGwrP840lgHRiURRp2xk6hxC7mrAiEA5AyW5JJC7sb4kUZLc4rJLGwojWvZc8caEAalgAzVgk8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23038},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.5.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./lazy":{"types":"./dist/index.lazy.d.ts","import":"./dist/index.lazy.mjs","require":"./dist/index.lazy.cjs"}},"scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","test:run":"vitest run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/fae3e491c43a0ebc3dc697650a6cabf8/aspect-ui-01-toast-0.5.4.tgz","_integrity":"sha512-OVQdw1Ai0wvEMTNXtJ9OVleOLWK5k8SMuqax2L/BLg/OC7KKg+BeFmYlnQTCAlJIZDgul2PInuHucRglMDpJHA==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":["./dist/index.mjs","./dist/index.cjs"],"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","vitest":"^4.0.16","happy-dom":"^20.0.11","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0","@vitest/coverage-v8":"^4.0.16"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.5.4_1767102718422_0.39204645172445085","host":"s3://npm-registry-packages-npm-production"}},"0.5.5":{"name":"@aspect-ui-01/toast","version":"0.5.5","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"_id":"@aspect-ui-01/toast@0.5.5","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"homepage":"https://github.com/aspect-ui-1/toast#readme","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"dist":{"shasum":"7e3413e5f0eca64a1d28707a4ba10522c9189850","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.5.5.tgz","fileCount":8,"integrity":"sha512-/XFh/mSYjzz0JETInQ2GkFaLFhysjsnZ/xtP3fYhdo09KRbi5QZ5LEzUyCEbN3tMzR06QIOx1y6IBmzaTZpveg==","signatures":[{"sig":"MEQCIGZkhn2HjounuGEUqj+hQRZeLarE29XTiiJNgn8c/QTHAiBDrjA/mhi+7TbvHUqbrwJY3p/PsLMo/pVsuTEZTj455g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23038},"main":"./dist/index.cjs","type":"module","_from":"file:aspect-ui-01-toast-0.5.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./lazy":{"types":"./dist/index.lazy.d.ts","import":"./dist/index.lazy.mjs","require":"./dist/index.lazy.cjs"}},"scripts":{"dev":"vite","test":"vitest","build":"tsc && vite build","test:run":"vitest run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"_resolved":"/tmp/9c3fc1730947fcc875c7469e46f5edca/aspect-ui-01-toast-0.5.5.tgz","_integrity":"sha512-/XFh/mSYjzz0JETInQ2GkFaLFhysjsnZ/xtP3fYhdo09KRbi5QZ5LEzUyCEbN3tMzR06QIOx1y6IBmzaTZpveg==","repository":{"url":"git+https://github.com/aspect-ui-1/toast.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight framework-agnostic toast notifications (~2KB)","directories":{},"sideEffects":["./dist/index.mjs","./dist/index.cjs"],"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","vitest":"^4.0.16","happy-dom":"^20.0.11","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0","@vitest/coverage-v8":"^4.0.16"},"_npmOperationalInternal":{"tmp":"tmp/toast_0.5.5_1767102857154_0.7586515181400877","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@aspect-ui-01/toast","version":"0.6.0","description":"Lightweight framework-agnostic toast notifications (~2KB)","type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./lazy":{"types":"./dist/index.lazy.d.ts","import":"./dist/index.lazy.mjs","require":"./dist/index.lazy.cjs"}},"sideEffects":["./dist/index.mjs","./dist/index.cjs"],"repository":{"type":"git","url":"git+https://github.com/aspect-ui-1/toast.git"},"devDependencies":{"@vitest/coverage-v8":"^4.0.16","happy-dom":"^20.0.11","typescript":"^5.3.0","vite":"^5.0.0","vite-plugin-dts":"^3.7.0","vitest":"^4.0.16"},"keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"scripts":{"dev":"vite","build":"tsc && vite build","test":"vitest","test:run":"vitest run","test:coverage":"vitest run --coverage"},"_id":"@aspect-ui-01/toast@0.6.0","bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"homepage":"https://github.com/aspect-ui-1/toast#readme","_integrity":"sha512-iDaAog7QLuVha7Yx4JTeSm9wq+EmhwwFBraCCDbW7yJZSNp/HubdckLGEbkREKd2SJCDvdlIlWoMZdVcV/scMw==","_resolved":"/tmp/3118f23aac6de44ef1679d780da1aa37/aspect-ui-01-toast-0.6.0.tgz","_from":"file:aspect-ui-01-toast-0.6.0.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-iDaAog7QLuVha7Yx4JTeSm9wq+EmhwwFBraCCDbW7yJZSNp/HubdckLGEbkREKd2SJCDvdlIlWoMZdVcV/scMw==","shasum":"05968996607673deaa6c752624c9a783c60043ce","tarball":"https://registry.npmjs.org/@aspect-ui-01/toast/-/toast-0.6.0.tgz","fileCount":8,"unpackedSize":28413,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH6z5XTdSVqB7FPE/4+yQghWZEKxuLSRaujTM75bt46gAiEApMe5dJe6YB4JoFppkjFu1WJfrfNTfOzP132tu+mag60="}]},"_npmUser":{"name":"techbiz","email":"khaled.seghouani@gmail.com"},"directories":{},"maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/toast_0.6.0_1767104161143_0.6920656865791852"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-30T10:29:45.804Z","modified":"2025-12-30T14:16:01.499Z","0.1.0":"2025-12-30T10:29:46.050Z","0.2.0":"2025-12-30T10:49:51.503Z","0.3.1":"2025-12-30T11:22:02.731Z","0.4.0":"2025-12-30T12:12:29.595Z","0.5.0":"2025-12-30T12:27:26.144Z","0.5.1":"2025-12-30T12:40:42.616Z","0.5.2":"2025-12-30T12:48:23.554Z","0.5.3":"2025-12-30T12:53:38.949Z","0.5.4":"2025-12-30T13:51:58.642Z","0.5.5":"2025-12-30T13:54:17.302Z","0.6.0":"2025-12-30T14:16:01.287Z"},"bugs":{"url":"https://github.com/aspect-ui-1/toast/issues"},"homepage":"https://github.com/aspect-ui-1/toast#readme","keywords":["toast","notifications","web-component","angular","react","vue","svelte"],"repository":{"type":"git","url":"git+https://github.com/aspect-ui-1/toast.git"},"description":"Lightweight framework-agnostic toast notifications (~2KB)","maintainers":[{"name":"techbiz","email":"khaled.seghouani@gmail.com"}],"readme":"# @aspect-ui-01/toast\n\nLightweight, framework-agnostic toast notifications built with Web Components.\n\n[![npm version](https://img.shields.io/npm/v/@aspect-ui-01/toast.svg)](https://www.npmjs.com/package/@aspect-ui-01/toast)\n[![bundle size](https://img.shields.io/bundlephobia/minzip/@aspect-ui-01/toast)](https://bundlephobia.com/package/@aspect-ui-01/toast)\n[![license](https://img.shields.io/npm/l/@aspect-ui-01/toast.svg)](https://github.com/aspect-ui-1/toast/blob/main/LICENSE)\n\n---\n\n## Highlights\n\n- 🪶 **~2.5 KB** gzipped — zero dependencies\n- 🌐 **Universal** — Angular, React, Vue, Svelte, Astro, vanilla JS\n- 📱 **Responsive** — different options for mobile/desktop\n- ♿ **Accessible** — ARIA compliant, respects `prefers-reduced-motion`\n- 🎨 **Themeable** — CSS custom properties\n- 🔒 **Encapsulated** — Shadow DOM, no style leaks\n- ⚡ **Lazy loading** — optional deferred loading (~1 KB initial)\n\n---\n\n## Installation\n\n```bash\n# pnpm\npnpm add @aspect-ui-01/toast\n\n# npm\nnpm install @aspect-ui-01/toast\n\n# yarn\nyarn add @aspect-ui-01/toast\n```\n\n---\n\n## Quick Start\n\n### 1. Add the component to your HTML\n\n```html\n<ui-toast></ui-toast>\n```\n\n### 2. Import and use\n\n```typescript\nimport { toast } from '@aspect-ui-01/toast';\n\ntoast.success('Item added to cart');\ntoast.error('Payment failed');\ntoast.warning('Low stock');\ntoast.info('Processing...');\n```\n\n---\n\n## API Reference\n\n### Methods\n\n| Method | Description | Returns |\n|--------|-------------|---------|\n| `toast.success(message, options?)` | Show success toast | `string` (toast id) |\n| `toast.error(message, options?)` | Show error toast | `string` (toast id) |\n| `toast.warning(message, options?)` | Show warning toast | `string` (toast id) |\n| `toast.info(message, options?)` | Show info toast | `string` (toast id) |\n| `toast.remove(id)` | Remove specific toast | `void` |\n| `toast.clear()` | Remove all toasts | `void` |\n\n### Options\n\n```typescript\ninterface ToastOptions {\n  duration?: number;         // Auto-dismiss delay in ms (0 = persistent)\n  position?: ToastPosition;  // Toast placement\n  animation?: ToastAnimation;// Entry animation\n  showCloseButton?: boolean; // Show close button (default: true)\n  width?: string;            // Toast width (default: '20rem')\n  \n  // Responsive overrides\n  mobile?: DeviceOptions;\n  desktop?: DeviceOptions;\n}\n\ninterface DeviceOptions {\n  position?: ToastPosition;\n  animation?: ToastAnimation;\n  width?: string;\n  duration?: number;\n  showCloseButton?: boolean;\n}\n```\n\n### Positions\n\n```typescript\ntype ToastPosition = \n  | 'top-right'     // Default (desktop)\n  | 'top-left'\n  | 'top-center'    // Default (mobile)\n  | 'bottom-right'\n  | 'bottom-left'\n  | 'bottom-center';\n```\n\n### Animations\n\n```typescript\ntype ToastAnimation = \n  | 'fade'\n  | 'slide-left'\n  | 'slide-right'\n  | 'zoom';\n```\n\n### Default Durations\n\n| Type | Duration |\n|------|----------|\n| `success` | 3000ms |\n| `error` | 6000ms |\n| `warning` | 5000ms |\n| `info` | 4000ms |\n\n---\n\n## Usage Examples\n\n### Basic\n\n```typescript\nimport { toast } from '@aspect-ui-01/toast';\n\n// Simple\ntoast.success('Saved!');\n\n// With duration\ntoast.info('Processing...', { duration: 5000 });\n\n// Persistent (no auto-dismiss)\ntoast.error('Connection lost', { duration: 0 });\n\n// Custom position\ntoast.warning('Low stock', { position: 'bottom-center' });\n\n// Custom animation\ntoast.success('Done!', { animation: 'zoom' });\n```\n\n### Responsive Options\n\n```typescript\n// Different settings for mobile/desktop\ntoast.success('Order placed', {\n  mobile: { \n    position: 'top-center', \n    width: '100%' \n  },\n  desktop: { \n    position: 'top-right', \n    width: '22rem' \n  },\n});\n\n// Base options with device overrides\ntoast.info('Syncing...', {\n  duration: 5000,\n  mobile: { position: 'bottom-center' },\n  desktop: { position: 'top-right' },\n});\n```\n\n### Programmatic Control\n\n```typescript\n// Store toast id\nconst id = toast.info('Uploading...', { duration: 0 });\n\n// Later, remove it\ntoast.remove(id);\n\n// Or clear all\ntoast.clear();\n```\n\n---\n\n## Framework Integration\n\n### Angular\n\n```typescript\n// app.module.ts\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport '@aspect-ui-01/toast';\n\n@NgModule({\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class AppModule {}\n```\n\n```html\n<!-- app.component.html -->\n<ui-toast></ui-toast>\n```\n\n```typescript\n// any.component.ts\nimport { toast } from '@aspect-ui-01/toast';\n\nexport class MyComponent {\n  notify() {\n    toast.success('Hello from Angular!');\n  }\n}\n```\n\n### React\n\n```tsx\nimport '@aspect-ui-01/toast';\nimport { toast } from '@aspect-ui-01/toast';\n\n// TypeScript: add to global.d.ts\ndeclare namespace JSX {\n  interface IntrinsicElements {\n    'ui-toast': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;\n  }\n}\n\nfunction App() {\n  return (\n    <>\n      <ui-toast />\n      <button onClick={() => toast.success('Hello from React!')}>\n        Show Toast\n      </button>\n    </>\n  );\n}\n```\n\n### Vue\n\n```vue\n<template>\n  <ui-toast />\n  <button @click=\"notify\">Show Toast</button>\n</template>\n\n<script setup>\nimport '@aspect-ui-01/toast';\nimport { toast } from '@aspect-ui-01/toast';\n\nconst notify = () => toast.success('Hello from Vue!');\n</script>\n```\n\n### Svelte\n\n```svelte\n<script>\n  import '@aspect-ui-01/toast';\n  import { toast } from '@aspect-ui-01/toast';\n</script>\n\n<ui-toast />\n<button on:click={() => toast.success('Hello from Svelte!')}>\n  Show Toast\n</button>\n```\n\n### Astro\n\n```astro\n---\n// Layout.astro\n---\n<html>\n  <body>\n    <slot />\n    <ui-toast></ui-toast>\n  </body>\n</html>\n\n<script>\n  import '@aspect-ui-01/toast';\n</script>\n```\n\n```astro\n---\n// Page.astro\n---\n<button id=\"toast-btn\">Show Toast</button>\n\n<script>\n  import { toast } from '@aspect-ui-01/toast';\n  \n  document.getElementById('toast-btn')?.addEventListener('click', () => {\n    toast.success('Hello from Astro!');\n  });\n</script>\n```\n\n### Vanilla JS / CDN\n\n```html\n<script type=\"module\">\n  import { toast } from 'https://unpkg.com/@aspect-ui-01/toast';\n  \n  document.querySelector('#btn').onclick = () => {\n    toast.success('Hello from vanilla JS!');\n  };\n</script>\n\n<ui-toast></ui-toast>\n<button id=\"btn\">Show Toast</button>\n```\n\n---\n\n## Lazy Loading\n\nFor performance-critical applications, use lazy loading to defer component registration:\n\n```typescript\nimport { toast, registerToast } from '@aspect-ui-01/toast/lazy';\n\n// Register when needed (once)\nregisterToast();\n\n// Then use normally\ntoast.success('Hello!');\n```\n\n### Bundle Size Comparison\n\n| Import | Initial Load |\n|--------|-------------|\n| Default | ~2.5 KB |\n| Lazy | ~1 KB (component deferred) |\n\n---\n\n## Theming\n\nCustomize appearance with CSS custom properties:\n\n```css\nui-toast {\n  /* Colors */\n  --toast-success: #16a34a;\n  --toast-error: #dc2626;\n  --toast-warning: #d97706;\n  --toast-info: #2563eb;\n  \n  /* Layout */\n  --toast-radius: 8px;\n  --toast-shadow: 0 8px 24px rgb(0 0 0 / 15%);\n  --toast-max-width: 25rem;\n  --toast-z-index: 999999;\n  \n  /* Typography */\n  --toast-font-size: 0.9rem;\n  --toast-line-height: 1.35rem;\n  --toast-letter-spacing: 0;\n}\n```\n\n### Responsive Theming\n\n```css\nui-toast {\n  --toast-font-size: 0.875rem;\n}\n\n@media (min-width: 768px) {\n  ui-toast {\n    --toast-font-size: 0.9rem;\n    --toast-max-width: 28rem;\n  }\n}\n```\n\n### Dark Mode\n\n```css\n@media (prefers-color-scheme: dark) {\n  ui-toast {\n    --toast-success: #22c55e;\n    --toast-error: #f87171;\n    --toast-warning: #fbbf24;\n    --toast-info: #60a5fa;\n    --toast-shadow: 0 8px 24px rgb(0 0 0 / 40%);\n  }\n}\n```\n\n---\n\n## Accessibility\n\n- Uses `role=\"alert\"` for screen readers\n- `aria-live=\"polite\"` for non-intrusive announcements\n- Respects `prefers-reduced-motion` — animations disabled\n- Keyboard accessible close button with visible focus state\n- Color contrast meets WCAG AA standards\n\n---\n\n## Browser Support\n\n| Browser | Version |\n|---------|---------|\n| Chrome | 67+ |\n| Firefox | 63+ |\n| Safari | 13.1+ |\n| Edge | 79+ |\n\nNo polyfills required for modern browsers.\n\n---\n\n## TypeScript\n\nFull TypeScript support with exported types:\n\n```typescript\nimport { toast } from '@aspect-ui-01/toast';\nimport type { \n  ToastOptions, \n  ToastPosition, \n  ToastAnimation \n} from '@aspect-ui-01/toast';\n\nconst options: ToastOptions = {\n  duration: 5000,\n  position: 'top-center',\n  animation: 'zoom',\n};\n\ntoast.success('Typed!', options);\n```\n\n---\n\n## SSR Compatibility\n\nWorks with SSR frameworks (Astro, Next.js, Nuxt, SvelteKit). The component includes SSR guards and only registers in browser environments.\n\n---\n\n## Contributing\n\nContributions welcome!\n\n```bash\n# Clone\ngit clone https://github.com/aspect-ui-1/toast.git\ncd toast\n\n# Install\npnpm install\n\n# Dev\npnpm dev\n\n# Test\npnpm test\n\n# Build\npnpm build\n```\n\n---\n\n## License\n\nMIT © [Aspect UI](https://github.com/aspect-ui-1)","readmeFilename":"README.md"}