@htmlbricks/hb-toast 0.66.27 → 0.67.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  ### What it does
7
7
 
8
- Bootstrap-styled toast: `show` (`yes` / `no`), `title`, `content`, optional `img`, `small`, `level`, `position`, `timeout`, string `progress` for a progress bar, and `buttons` for actions. Slots customize header and body; dispatches visibility and button `action` events. Theme aligns with Bootstrap CSS variables in docs.
8
+ Bulma-styled notification toast: `show` (`yes` / `no`), `title`, `content`, optional `img`, `small`, `level`, `position`, `timeout`, string `progress` for a progress bar, and `buttons` for actions. Slots customize header and body; dispatches visibility and button `action` events. Theme uses Bulma variables on `:host`.
9
9
 
10
10
  ### Custom element
11
11
 
@@ -30,8 +30,9 @@ Bootstrap-styled toast: `show` (`yes` / `no`), `title`, `content`, optional `img
30
30
 
31
31
  ### Usage notes
32
32
 
33
- - **Slots:** `header_img`, `header_strong`, `header_small`, `body`.
34
- - **CSS vars** in docs reference Bootstrap semantic colors.
33
+ - **Slots:** `header_icon` (top-left badge), `header_strong`, `header_small` (overrides the status chip under the title), `body`.
34
+ - **CSS parts:** `toast` (root), `status` (chip row for time / percentage / timeout).
35
+ - **Theming:** Bulma Sass is forwarded from `styles/bulma.scss`; override `--bulma-*` on the host or document root as needed. The `level` attribute maps to Bulma `notification` tints (`is-*` + `is-light`, except `light` which uses the palette’s light variant).
35
36
 
36
37
  ### Minimal HTML example
37
38