@htmlbricks/hb-input-color 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 +5 -1
- package/main.iife.js +35 -72
- package/main.iife.js.map +1 -1
- package/manifest.json +8 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
Color input that normalizes named HTML colors and `rgb(...)` strings into a hex value for the native picker, with debounced syncing back to the bound value. Driven by `schemaentry` (including required and optional `validationTip` with `show_validation`). Dispatches `setVal` with the string `value`, `valid`, and `id`.
|
|
9
9
|
|
|
10
|
+
### Styling (Bulma)
|
|
11
|
+
|
|
12
|
+
Shadow bundle: `form/shared`, `form/input-textarea`, `form/tools`. The native `type="color"` control uses host SCSS (border / outline with `--bulma-*`). Validation uses `help is-danger`. Theme variables on `:host`.
|
|
13
|
+
|
|
10
14
|
### Custom element
|
|
11
15
|
|
|
12
16
|
`hb-input-color`
|
|
@@ -24,7 +28,7 @@ Color input that normalizes named HTML colors and `rgb(...)` strings into a hex
|
|
|
24
28
|
|
|
25
29
|
### Usage notes
|
|
26
30
|
|
|
27
|
-
CSS
|
|
31
|
+
CSS parts: `input`, `invalid-feedback`.
|
|
28
32
|
|
|
29
33
|
### Minimal HTML example
|
|
30
34
|
|