@htmlbricks/hb-input-select 0.70.2 → 0.71.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/manifest.json CHANGED
@@ -72,6 +72,10 @@
72
72
  "FormSchemaEntry": {
73
73
  "additionalProperties": false,
74
74
  "properties": {
75
+ "disabled": {
76
+ "description": "When true, the native control is disabled and non-interactive.",
77
+ "type": "boolean"
78
+ },
75
79
  "id": {
76
80
  "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
77
81
  "type": "string"
@@ -276,9 +280,41 @@
276
280
  }
277
281
  }
278
282
  }
283
+ },
284
+ {
285
+ "name": "disabled",
286
+ "description": "Select is fully disabled and non-interactive.",
287
+ "data": {
288
+ "schemaentry": {
289
+ "type": "select",
290
+ "id": "selectDisabled",
291
+ "label": "Country (locked)",
292
+ "value": "it",
293
+ "disabled": true,
294
+ "params": {
295
+ "options": [
296
+ {
297
+ "label": "Italy",
298
+ "value": "it",
299
+ "id": "it"
300
+ },
301
+ {
302
+ "label": "France",
303
+ "value": "fr",
304
+ "id": "fr"
305
+ },
306
+ {
307
+ "label": "Germany",
308
+ "value": "de",
309
+ "id": "de"
310
+ }
311
+ ]
312
+ }
313
+ }
314
+ }
279
315
  }
280
316
  ],
281
- "iifeIntegrity": "sha384-qzMoKNTYfp0fGfX//hh/xHBJ8sIDnCjipEE1MiHsUQXD13FikWDPWaZBPRVT/LFD",
317
+ "iifeIntegrity": "sha384-E5CtyKQnFpytM4yNnw5SE/0G9C2afFL+uNMFrsr6RJgRHwBRKRZtxUXSDC0ReE8c",
282
318
  "dependencies": [],
283
319
  "screenshots": [],
284
320
  "licenses": [
@@ -298,5 +334,5 @@
298
334
  "size": {},
299
335
  "iifePath": "main.iife.js",
300
336
  "repoName": "@htmlbricks/hb-input-select",
301
- "version": "0.70.2"
337
+ "version": "0.71.1"
302
338
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-select",
3
- "version": "0.70.2",
3
+ "version": "0.71.1",
4
4
  "contributors": [],
5
5
  "description": "Native `<select>` bound to `schemaentry` options from `params.options` (each option has `id`, `value`, and optional `label`). Supports JSON string or object `schemaentry`, optional required state, and `show_validation` for Bulma `select.is-success` / `select.is-danger` plus `validationTip` as `help is-danger`. Theme via inherited `--bulma-*` on `:host`. Dispatches `setVal` with `{ value, valid, id }` on every change.",
6
6
  "licenses": [
@@ -35,6 +35,10 @@
35
35
  "FormSchemaEntry": {
36
36
  "additionalProperties": false,
37
37
  "properties": {
38
+ "disabled": {
39
+ "description": "When true, the native control is disabled and non-interactive.",
40
+ "type": "boolean"
41
+ },
38
42
  "id": {
39
43
  "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
40
44
  "type": "string"
@@ -17,6 +17,9 @@ export type FormSchemaEntry = {
17
17
 
18
18
  readonly?: boolean;
19
19
 
20
+ /** When true, the native control is disabled and non-interactive. */
21
+ disabled?: boolean;
22
+
20
23
  /**
21
24
  * This doesn't matter if the dependencies requirements aren't met.
22
25
  */