{"_id":"@advanced-astro/toast","name":"@advanced-astro/toast","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@advanced-astro/toast","version":"0.0.1","keywords":["astro-component","astro","withastro"],"homepage":"https://github.com/advenced-astro/toast","license":"MIT","author":{"name":"Marc Redwerkz"},"type":"module","exports":{".":"./src/index.ts"},"scripts":{"build":"astro build && lightningcss --bundle ./src/styles/output.css -o dist/output.css && lightningcss --minify src/styles/output.css -o dist/output.min.css"},"devDependencies":{"@biomejs/biome":"^1.5.3","astro":"^4.4.4","class-variance-authority":"^0.7.0","daisyui":"^4.7.2","lightningcss-cli":"^1.24.0","open-props":"^1.6.19","postcss-jit-props":"^1.0.14","tailwindcss":"^3.4.1","tailwindcss-animated":"^1.0.1"},"peerDependencies":{"astro":"^4.0.0 || ^3.0.0","class-variance-authority":"^0.7.0"},"dependencies":{"autoprefixer":"^10.4.17"},"access":"public","_id":"@advanced-astro/toast@0.0.1","gitHead":"4c49940343d18f248c4dd4b3f89f933399c89f12","description":"**astro-toast** is a simple component for displaying toasts on your website.","_nodeVersion":"20.11.1","_npmVersion":"10.3.0","dist":{"integrity":"sha512-zwYZ4nbCvuzseGsVrDLgpolWIgjhOX8AvrkHe/msbXx5ob8N7L3ePf8PyQNivHIu/NPWlOTBMN9035221qFmKQ==","shasum":"dc702acf3aff2bad584b5bd69702de1d773ecf5e","tarball":"https://registry.npmjs.org/@advanced-astro/toast/-/toast-0.0.1.tgz","fileCount":8,"unpackedSize":23317,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6jjpQvM4goY81ncuk42LFy+I83SSR1ILyrJvTyduI7AiAH1U+F9Q+J2e3Thxf20nrnDtxHj+/D94YnKdl1JcswdA=="}]},"_npmUser":{"name":"redwerkz","email":"yred@tuta.io"},"directories":{},"maintainers":[{"name":"redwerkz","email":"yred@tuta.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toast_0.0.1_1708794203446_0.8192520044846567"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-24T17:03:23.357Z","0.0.1":"2024-02-24T17:03:23.639Z","modified":"2024-02-24T17:03:24.613Z"},"maintainers":[{"name":"redwerkz","email":"yred@tuta.io"}],"description":"**astro-toast** is a simple component for displaying toasts on your website.","homepage":"https://github.com/advenced-astro/toast","keywords":["astro-component","astro","withastro"],"author":{"name":"Marc Redwerkz"},"license":"MIT","readme":"# astro-toast\n\n**astro-toast** is a simple component for displaying toasts on your website.\n\n## Example\n\n```astro\n---\nimport Toast from \"@advanced-astro/toast\"\n---\n\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\" />\n    <link rel=\"icon\" type=\"image/svg+xml\" href=\"/favicon.svg\" />\n    <meta name=\"viewport\" content=\"width=device-width\" />\n    <meta name=\"generator\" content=\"{Astro.generator}\" />\n    <title>Astro</title>\n  </head>\n  <body>\n    <Toast variant=\"error\" where=\"bottom-end\">Message</Toast>\n  </body>\n</html>\n```\n\n## Props\n\n```ts\nvariant?: \"error\" | \"warning\" | \"success\" | \"info\";\n\nwhere?:\n| \"top-start\"\n| \"top-center\"\n| \"top-end\"\n| \"center-start\"\n| \"center-center\"\n| \"center-end\"\n| \"bottom-start\"\n| \"bottom-center\"\n| \"bottom-end\";\n```\n\n<https://cva.style>\n","readmeFilename":"README.md"}