@htmlbricks/hb-input-range 0.70.1 → 0.71.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/manifest.json CHANGED
@@ -63,6 +63,10 @@
63
63
  "FormSchemaEntry": {
64
64
  "additionalProperties": false,
65
65
  "properties": {
66
+ "disabled": {
67
+ "description": "When true, the native control is disabled and non-interactive.",
68
+ "type": "boolean"
69
+ },
66
70
  "id": {
67
71
  "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
68
72
  "type": "string"
@@ -199,9 +203,25 @@
199
203
  "value": 4
200
204
  }
201
205
  }
206
+ },
207
+ {
208
+ "name": "disabled",
209
+ "description": "Range slider is fully disabled and non-interactive.",
210
+ "data": {
211
+ "schemaentry": {
212
+ "id": "volumeDisabled",
213
+ "label": "Volume (locked)",
214
+ "params": {
215
+ "min": 0,
216
+ "max": 100
217
+ },
218
+ "value": 65,
219
+ "disabled": true
220
+ }
221
+ }
202
222
  }
203
223
  ],
204
- "iifeIntegrity": "sha384-nRLZ7qRcnHsP/GjvwaDpNbKiISAk18kEFYEMx2J41a3w7/MSoyPieFuuhIUh8ZZj",
224
+ "iifeIntegrity": "sha384-CmJOx247G+Ylw4zs6aBfA3P3uOR3R7Y7GIVdHytgG7vByiDcwvo1zfUoOuwFlGsa",
205
225
  "dependencies": [],
206
226
  "screenshots": [],
207
227
  "licenses": [
@@ -221,5 +241,5 @@
221
241
  "size": {},
222
242
  "iifePath": "main.iife.js",
223
243
  "repoName": "@htmlbricks/hb-input-range",
224
- "version": "0.70.1"
244
+ "version": "0.71.0"
225
245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-range",
3
- "version": "0.70.1",
3
+ "version": "0.71.0",
4
4
  "contributors": [],
5
5
  "description": "Range slider (`type=\"range\"`) whose bounds come from `schemaentry.params.min` and/or `max` when those keys exist. Parses stringified `schemaentry` when needed and enforces required/min/max rules for the numeric value. Dispatches `setVal` with `{ value, valid, id }` and shows `validationTip` as Bulma `help is-danger` when `show_validation` is enabled. Theme `--bulma-*` on `:host`; native range uses `accent-color` (not the Bulma text-input class).",
6
6
  "licenses": [
@@ -27,6 +27,10 @@
27
27
  "FormSchemaEntry": {
28
28
  "additionalProperties": false,
29
29
  "properties": {
30
+ "disabled": {
31
+ "description": "When true, the native control is disabled and non-interactive.",
32
+ "type": "boolean"
33
+ },
30
34
  "id": {
31
35
  "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
32
36
  "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
  */