// @ts-nocheck import * as mod from "./toast" import { Button } from "./button" const docs = `### Overview Toast notifications with optional icons, actions, and progress. Use brief titles/descriptions; limit actions to 1-2. ### API - Use \`showToast\` or \`showPromiseToast\` to trigger toasts. - Render \`Toast.Region\` once per page. - \`Toast\` subcomponents compose the structure. ### Variants and states - Variants: default, success, error, loading. - Optional actions and persistent toasts. ### Behavior - Toasts render in a portal and auto-dismiss unless persistent. ### Accessibility - TODO: confirm aria-live behavior from Kobalte Toast. ### Theming/tokens - Uses \`data-component="toast"\` and slot data attributes. ` export default { title: "UI/Toast", id: "components-toast", component: mod.Toast, tags: ["autodocs"], parameters: { docs: { description: { component: docs, }, }, }, } export const Basic = { render: () => (
), } export const Actions = { render: () => (
), } export const Promise = { render: () => (
), } export const Loading = { render: () => (
), }