{"_id":"@bimetal/toast-svelte-components","_rev":"4-57cfcd02bd1e537376df22af5a5c4aeb","name":"@bimetal/toast-svelte-components","dist-tags":{"latest":"0.38.0"},"versions":{"0.35.0":{"name":"@bimetal/toast-svelte-components","version":"0.35.0","keywords":["toast","notification","snackbar","svelte","components","feedback"],"author":{"name":"Andreas Biederbeck"},"license":"Apache-2.0","_id":"@bimetal/toast-svelte-components@0.35.0","maintainers":[{"name":"biederbe","email":"mail@biederbeck.de"}],"homepage":"https://github.com/bimetal/bimetal#readme","bugs":{"url":"https://github.com/bimetal/bimetal/issues"},"dist":{"shasum":"5f94beba4f30e20bd7fb0f23185c14372b5721a7","tarball":"https://registry.npmjs.org/@bimetal/toast-svelte-components/-/toast-svelte-components-0.35.0.tgz","fileCount":10,"integrity":"sha512-FbpoAN8SLoSXlqUWK0NP9mcHe1QBXrjYjz0q8wcLRESj16n0j3wozE9LPeKKReezU6crezqcXCZbshGpAeE69w==","signatures":[{"sig":"MEYCIQDMNfb6gKnPLVzTSildrD411rXLdisyQbOlFpoUXMizwAIhAJROGbu+CYDatJ5qfWctuSWKTE89aSxyrXAAZc9IBB6K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16941},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"},"./styles":"./dist/styles/index.css"},"gitHead":"879bd4f41496ec870dbfac92a8228bf93226f256","scripts":{"dev":"svelte-package -i src -o dist --watch","test":"vitest run","build":"svelte-package -i src -o dist && node scripts/copy-css.mjs","typecheck":"svelte-check --tsconfig ./tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"biederbe","email":"mail@biederbeck.de"},"repository":{"url":"git+https://github.com/bimetal/bimetal.git","type":"git","directory":"packages/toast/toast-svelte-components"},"_npmVersion":"11.17.0","description":"Default Svelte 5 toast viewport — canonical .bm-toast* render layer over the headless controller: queue, auto-dismiss, pause-on-hover, variants, positioning, a11y. Bound-only (the app owns the controller it pushes to).","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.4.0","dependencies":{"@bimetal/svelte":"^0.35.0","@bimetal/toast-themes":"^0.35.0","@bimetal/toast-headless":"^0.35.0"},"_hasShrinkwrap":false,"devDependencies":{"svelte":"^5.46.4","vitest":"^3.2.4","happy-dom":"^18.0.1","typescript":"~5.9.3","svelte-check":"^4.0.0","@sveltejs/package":"^2.5.0","@testing-library/svelte":"^5.2.7","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":"^5.46.4"},"_npmOperationalInternal":{"tmp":"tmp/toast-svelte-components_0.35.0_1785078744238_0.27452064487386285","host":"s3://npm-registry-packages-npm-production"}},"0.36.0":{"name":"@bimetal/toast-svelte-components","version":"0.36.0","keywords":["toast","notification","snackbar","svelte","components","feedback"],"author":{"name":"Andreas Biederbeck"},"license":"Apache-2.0","_id":"@bimetal/toast-svelte-components@0.36.0","maintainers":[{"name":"biederbe","email":"mail@biederbeck.de"}],"homepage":"https://github.com/bimetal/bimetal#readme","bugs":{"url":"https://github.com/bimetal/bimetal/issues"},"dist":{"shasum":"3e7da46a4e0cbd93fa40cec5bed166bcdfb6ef4f","tarball":"https://registry.npmjs.org/@bimetal/toast-svelte-components/-/toast-svelte-components-0.36.0.tgz","fileCount":11,"integrity":"sha512-bliAqIIjk+Xm/LUtzGo8NkYCEC9oA92PF3qea92zD3e/hMNvJiSWHR3iTbQ9qQyowTKrvHgDiUHfZsNdl83x2A==","signatures":[{"sig":"MEQCIBzLC5xnWvH4zHsZWO5g12DE9wsxqDkgBohjfof+h1aJAiBO7MsnWPpqXiEH56auVzNr56r6ZwGLUhePdj3MyzPMUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17787},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"},"./styles":{"types":"./dist/styles/index.css.d.ts","default":"./dist/styles/index.css"}},"gitHead":"c398884cce8cfe7004bcd7523398ebaf63c5452c","scripts":{"dev":"svelte-package -i src -o dist --watch","test":"vitest run","build":"svelte-package -i src -o dist && node scripts/copy-css.mjs && node ../../../scripts/generate-css-stubs.mjs","typecheck":"svelte-check --tsconfig ./tsconfig.test.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"biederbe","email":"mail@biederbeck.de"},"repository":{"url":"git+https://github.com/bimetal/bimetal.git","type":"git","directory":"packages/toast/toast-svelte-components"},"_npmVersion":"11.17.0","description":"Default Svelte 5 toast viewport — canonical .bm-toast* render layer over the headless controller: queue, auto-dismiss, pause-on-hover, variants, positioning, a11y. Bound-only (the app owns the controller it pushes to).","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","dependencies":{"@bimetal/svelte":"^0.36.0","@bimetal/toast-themes":"^0.36.0","@bimetal/toast-headless":"^0.36.0"},"_hasShrinkwrap":false,"devDependencies":{"svelte":"^5.46.4","vitest":"^3.2.4","happy-dom":"^18.0.1","typescript":"~5.9.3","svelte-check":"^4.0.0","@sveltejs/package":"^2.5.0","@testing-library/svelte":"^5.2.7","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":"^5.46.4"},"_npmOperationalInternal":{"tmp":"tmp/toast-svelte-components_0.36.0_1788079261320_0.9060825286827074","host":"s3://npm-registry-packages-npm-production"}},"0.37.0":{"name":"@bimetal/toast-svelte-components","version":"0.37.0","keywords":["toast","notification","snackbar","svelte","components","feedback"],"author":{"name":"Andreas Biederbeck"},"license":"Apache-2.0","_id":"@bimetal/toast-svelte-components@0.37.0","maintainers":[{"name":"biederbe","email":"mail@biederbeck.de"}],"homepage":"https://github.com/bimetal/bimetal#readme","bugs":{"url":"https://github.com/bimetal/bimetal/issues"},"dist":{"shasum":"8c0a8c8f2890f4e39e9664119925ae8797c389a1","tarball":"https://registry.npmjs.org/@bimetal/toast-svelte-components/-/toast-svelte-components-0.37.0.tgz","fileCount":11,"integrity":"sha512-voBsPOeyiKH5/0VtYh2eTjY9JcmnZQ0tLcK/s+Eh1SpLskSw7DLcfHdHYrwFPmyXdCBPNCCO/OSA81hFocgpHw==","signatures":[{"sig":"MEUCIQDQR4tUQwVdOeuV9ztMqXWF5+JpVnOWRcm2Czp6aEr3ZQIgO32T0Dv4ZpBAbMOyv6nXxSQal+LTmjjcjdXRYDEAIV4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDEGx9LzpBI0Ne5Jtr6HKbC1ja8a802O1VtCBYJStTgqAiACNtuj5lr2FJfLJeD5dKsVFJDAZDupO5Z1BBgREeMaOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17809},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"},"./styles":{"types":"./dist/styles/index.css.d.ts","default":"./dist/styles/index.css"}},"gitHead":"7c443deff9a8b0a534c68757c83f5a6b0794e018","scripts":{"dev":"svelte-package -i src -o dist --watch","test":"vitest run","build":"svelte-package -i src -o dist && node scripts/copy-css.mjs && node ../../../scripts/generate-css-stubs.mjs","typecheck":"svelte-check --tsconfig ./tsconfig.test.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"biederbe","email":"mail@biederbeck.de"},"repository":{"url":"git+https://github.com/bimetal/bimetal.git","type":"git","directory":"packages/toast/toast-svelte-components"},"_npmVersion":"11.17.0","description":"Default Svelte 5 toast viewport — canonical .bm-toast* render layer over the headless controller: queue, auto-dismiss, pause-on-hover, variants, positioning, a11y. Bound-only (the app owns the controller it pushes to).","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","dependencies":{"@bimetal/svelte":"^0.37.0","@bimetal/toast-themes":"^0.37.0","@bimetal/toast-headless":"^0.37.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.1","svelte":"^5.46.4","vitest":"^5.0.0","happy-dom":"^18.0.1","typescript":"~5.9.3","svelte-check":"^4.0.0","@sveltejs/package":"^2.5.0","@testing-library/svelte":"^5.2.7","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":"^5.46.4"},"_npmOperationalInternal":{"tmp":"tmp/toast-svelte-components_0.37.0_1789245261007_0.3336530105365896","host":"s3://npm-registry-packages-npm-production"}},"0.38.0":{"_id":"@bimetal/toast-svelte-components@0.38.0","bugs":{"url":"https://github.com/bimetal/bimetal/issues"},"dist":{"shasum":"e8caab5425096a686274ad7439e82139a7074280","tarball":"https://registry.npmjs.org/@bimetal/toast-svelte-components/-/toast-svelte-components-0.38.0.tgz","fileCount":11,"integrity":"sha512-VydEEMAoXSKCsaKmmq0pG7m2E0/jeRBai0Wnvgr1Y9rbsqc5zt6fSuJcO3qQ04eaSZckz+DVFdxe/iv8sE9rPw==","signatures":[{"sig":"MEYCIQD7+59LbwZ1ulRT1R21MldwdXciSOvrMkeKTaldyL0xvAIhAPAJ8YCT78SIl2vVH2+BeG/gQevPfmBSPwXZhciZSFJf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHq4PsNCm9RgvITViYD6Z+SZKvTbOUHdRK1XprzFKVyUAiEA3e8pLrBAcrDHGytNGrfX9xeDj95NHrGXJIhzAPTuyqU="}],"unpackedSize":17809},"main":"./dist/index.js","name":"@bimetal/toast-svelte-components","type":"module","types":"./dist/index.d.ts","author":{"name":"Andreas Biederbeck"},"svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"},"./styles":{"types":"./dist/styles/index.css.d.ts","default":"./dist/styles/index.css"}},"gitHead":"91d1c50b022e17a1df17d4a9cad9f2e1bec329dd","license":"Apache-2.0","scripts":{"dev":"svelte-package -i src -o dist --watch","test":"vitest run","build":"svelte-package -i src -o dist && node scripts/copy-css.mjs && node ../../../scripts/generate-css-stubs.mjs","typecheck":"svelte-check --tsconfig ./tsconfig.test.json","prepublishOnly":"npm run build"},"version":"0.38.0","_npmUser":{"name":"biederbe","email":"mail@biederbeck.de"},"homepage":"https://github.com/bimetal/bimetal#readme","keywords":["toast","notification","snackbar","svelte","components","feedback"],"repository":{"url":"git+https://github.com/bimetal/bimetal.git","type":"git","directory":"packages/toast/toast-svelte-components"},"_npmVersion":"11.17.0","description":"Default Svelte 5 toast viewport — canonical .bm-toast* render layer over the headless controller: queue, auto-dismiss, pause-on-hover, variants, positioning, a11y. Bound-only (the app owns the controller it pushes to).","directories":{},"maintainers":[{"name":"biederbe","email":"mail@biederbeck.de"}],"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","dependencies":{"@bimetal/svelte":"^0.38.0","@bimetal/toast-themes":"^0.38.0","@bimetal/toast-headless":"^0.38.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.1","svelte":"^5.46.4","vitest":"^5.0.0","happy-dom":"^18.0.1","typescript":"~5.9.3","svelte-check":"^4.0.0","@sveltejs/package":"^2.5.0","@testing-library/svelte":"^5.2.7","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":"^5.46.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/toast-svelte-components_0.38.0_1791052451222_0.7291678253083593"}}},"time":{"created":"2026-07-26T15:12:24.013Z","modified":"2026-10-03T18:34:11.470Z","0.35.0":"2026-07-26T15:12:24.379Z","0.36.0":"2026-08-30T08:41:01.466Z","0.37.0":"2026-09-12T20:34:21.090Z","0.38.0":"2026-10-03T18:34:11.295Z"},"bugs":{"url":"https://github.com/bimetal/bimetal/issues"},"author":{"name":"Andreas Biederbeck"},"license":"Apache-2.0","homepage":"https://github.com/bimetal/bimetal#readme","keywords":["toast","notification","snackbar","svelte","components","feedback"],"repository":{"url":"git+https://github.com/bimetal/bimetal.git","type":"git","directory":"packages/toast/toast-svelte-components"},"description":"Default Svelte 5 toast viewport — canonical .bm-toast* render layer over the headless controller: queue, auto-dismiss, pause-on-hover, variants, positioning, a11y. Bound-only (the app owns the controller it pushes to).","maintainers":[{"name":"biederbe","email":"mail@biederbeck.de"}],"readme":"# @bimetal/toast-svelte-components\n\nThe Svelte 5 **toast viewport** — the BIMETAL component family's lightweight / feedback\nmember. A thin binding over the canonical `@bimetal/toast-headless` controller (queue,\nauto-dismiss, pause-on-hover, variants, positioning, a11y). No domain dependency.\n\n```svelte\n<script lang=\"ts\">\n  import { createToastControllerBinding } from '@bimetal/svelte';\n  import { ToastViewport } from '@bimetal/toast-svelte-components';\n  import '@bimetal/toast-svelte-components/styles';\n\n  const toasts = createToastControllerBinding({ config: { position: 'bottom-end' } }).ctrl;\n</script>\n\n<button onclick={() => toasts.push({ message: 'Gespeichert', variant: 'success' })}>Save</button>\n<ToastViewport controller={toasts} />\n```\n\nThe app decides the message and calls `toasts.push(...)`; the viewport renders the stack.\nBound-only: you own the controller (it is what you push to).\n","readmeFilename":"README.md"}