@htmlbricks/hb-input-radio 0.70.2 → 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
@@ -62,6 +62,10 @@
62
62
  "FormSchemaEntry": {
63
63
  "additionalProperties": false,
64
64
  "properties": {
65
+ "disabled": {
66
+ "description": "When true, the native control is disabled and non-interactive.",
67
+ "type": "boolean"
68
+ },
65
69
  "id": {
66
70
  "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
67
71
  "type": "string"
@@ -243,9 +247,37 @@
243
247
  }
244
248
  }
245
249
  }
250
+ },
251
+ {
252
+ "name": "disabled",
253
+ "description": "Radio group is fully disabled and non-interactive.",
254
+ "data": {
255
+ "schemaentry": {
256
+ "id": "planDisabled",
257
+ "label": "Plan (locked)",
258
+ "value": "pro",
259
+ "disabled": true,
260
+ "params": {
261
+ "options": [
262
+ {
263
+ "label": "Starter",
264
+ "value": "starter"
265
+ },
266
+ {
267
+ "label": "Pro",
268
+ "value": "pro"
269
+ },
270
+ {
271
+ "label": "Enterprise",
272
+ "value": "enterprise"
273
+ }
274
+ ]
275
+ }
276
+ }
277
+ }
246
278
  }
247
279
  ],
248
- "iifeIntegrity": "sha384-GA39NhKpUbgqzMCFArvcYQ3za8s1wbfhLwuzz83xTv1sdSPK/dqJ3oOJh50egv8H",
280
+ "iifeIntegrity": "sha384-NiFaf2MLBXhl8RRihGRGL/viuzPHHVe77deC02PxtE2Q0+/c8d4fooGTrATaEX2a",
249
281
  "dependencies": [],
250
282
  "screenshots": [],
251
283
  "licenses": [
@@ -265,5 +297,5 @@
265
297
  "size": {},
266
298
  "iifePath": "main.iife.js",
267
299
  "repoName": "@htmlbricks/hb-input-radio",
268
- "version": "0.70.2"
300
+ "version": "0.71.0"
269
301
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-radio",
3
- "version": "0.70.2",
3
+ "version": "0.71.0",
4
4
  "contributors": [],
5
5
  "description": "Radio group built from `schemaentry.params.options` with a shared `name` derived from the field id. Parses JSON `schemaentry` for initial `value` and supports required validation with Bulma `radios` / `radio` and `help is-danger` when `show_validation` is enabled. Dispatches `setVal` with the selected string `value`, `valid`, and `id` whenever the choice changes. Theme `--bulma-*` on `:host`.",
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
  */