@htmlbricks/hb-product-comparison 0.66.26 → 0.67.0
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 +4 -0
- package/main.iife.js +415 -64
- package/main.iife.js.map +1 -1
- package/manifest.json +23 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,10 @@ Product comparison matrix: columns per product (model, description, promotion, p
|
|
|
27
27
|
- **CSS parts:** `container`, `col`, `row`.
|
|
28
28
|
- Characteristic values drive per-cell visuals (`valid`, `disabled`, `blocked`, etc. per examples in `extra/docs.ts`).
|
|
29
29
|
|
|
30
|
+
### Styling (Bulma)
|
|
31
|
+
|
|
32
|
+
Desktop matrix uses **Bulma** `container`, `columns` / `column`, `button is-primary`, and visibility helpers (`is-hidden-touch` / `is-hidden-desktop`) to swap layouts. Set **`--bulma-*`** on `:host` (see `extra/docs.ts`). **Bootstrap Icons** load from `<svelte:head>` for feature cell icons.
|
|
33
|
+
|
|
30
34
|
### Minimal HTML example
|
|
31
35
|
|
|
32
36
|
```html
|