Element: #103 Variants and duration (feedback/toast)
What it shows: Eight buttons that trigger toasts: five variants and three duration cases, with one Toaster mounted.
When to use: Non-blocking feedback after an action, such as saved, failed or an available update.
Spec:
- `` mounted once, toasts fired with `toast` from `@codeatlasdev/ui`
- Variants: `toast.show(`, `toast.success(`, `toast.error(`, `toast.warning(` and `toast.info(` with a message string
- Persistent: `{ variant: 'info', duration: 0 }` passed as second argument of `toast.show(`
- Timed: `toast.success('Gone in 1 second.', 1000)` and `toast.info('Stays for 8 seconds.', 8000)`
- All triggers are `