@htmlbricks/hb-input-array-tags 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 +6 -2
- package/main.iife.js +47 -77
- package/main.iife.js.map +1 -1
- package/manifest.json +10 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
### What it does
|
|
7
7
|
|
|
8
|
-
Tag list stored as objects `{ id, label }` (optional per-tag `colorVarName`); users add tags via free text or a dropdown from `params.availableTags`, with optional `freeTag` and `_custom` flow, removable
|
|
8
|
+
Tag list stored as objects `{ id, label }` (optional per-tag `colorVarName`); users add tags via free text or a dropdown from `params.availableTags`, with optional `freeTag` and `_custom` flow, removable Bulma `tag` + `delete` controls when `allowRemove` is set, and styling via `params.colorVarName` or the `add-tag-label` slot. Dispatches `setVal` with the array `value`, `valid`, and `id`.
|
|
9
|
+
|
|
10
|
+
### Styling (Bulma)
|
|
11
|
+
|
|
12
|
+
Shadow bundle: `form` inputs/select/tools, `elements/tag`, `elements/delete`, `elements/button`. Tags use Bulma `tags` / `tag`; add control uses `button.tag` or styled `tag`.
|
|
9
13
|
|
|
10
14
|
### Custom element
|
|
11
15
|
|
|
@@ -24,7 +28,7 @@ Tag list stored as objects `{ id, label }` (optional per-tag `colorVarName`); us
|
|
|
24
28
|
|
|
25
29
|
### Usage notes
|
|
26
30
|
|
|
27
|
-
Optional slot
|
|
31
|
+
Optional slot: `add-tag-label` for the add control label. CSS part: `invalid-feedback`.
|
|
28
32
|
|
|
29
33
|
### Minimal HTML example
|
|
30
34
|
|