@htmlbricks/hb-input-color 0.67.1 → 0.68.2

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.
Files changed (2) hide show
  1. package/manifest.json +37 -1
  2. package/package.json +1 -1
package/manifest.json CHANGED
@@ -152,6 +152,42 @@
152
152
  "validationTip": "This field cannot be empty."
153
153
  }
154
154
  }
155
+ },
156
+ {
157
+ "name": "presetHex",
158
+ "description": "Initial color set to a hex value for the native picker.",
159
+ "data": {
160
+ "schemaentry": {
161
+ "id": "themeAccent",
162
+ "label": "Accent color",
163
+ "value": "#3366cc",
164
+ "required": false
165
+ }
166
+ }
167
+ },
168
+ {
169
+ "name": "optional",
170
+ "description": "Color field is optional; empty is allowed when not required.",
171
+ "data": {
172
+ "schemaentry": {
173
+ "id": "optionalColor",
174
+ "label": "Background (optional)",
175
+ "required": false
176
+ }
177
+ }
178
+ },
179
+ {
180
+ "name": "validationVisible",
181
+ "description": "Shows danger help when invalid and show_validation is on.",
182
+ "data": {
183
+ "show_validation": "yes",
184
+ "schemaentry": {
185
+ "id": "brandColor",
186
+ "label": "Brand color",
187
+ "required": true,
188
+ "validationTip": "Pick a color to continue."
189
+ }
190
+ }
155
191
  }
156
192
  ],
157
193
  "iifeIntegrity": "sha384-46OTx9grvXNt14stMcbdVyZT6LxdwulPOSMWaiUqApA/dcOgBT7hBccEdU9ANnav",
@@ -174,5 +210,5 @@
174
210
  "size": {},
175
211
  "iifePath": "main.iife.js",
176
212
  "repoName": "@htmlbricks/hb-input-color",
177
- "version": "0.67.1"
213
+ "version": "0.68.2"
178
214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-color",
3
- "version": "0.67.1",
3
+ "version": "0.68.2",
4
4
  "contributors": [],
5
5
  "description": "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`. Bulma theme on `:host`; `help is-danger` for validation; native color styled in `webcomponent.scss`.",
6
6
  "licenses": [