@htmlbricks/hb-input-text 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
@@ -67,6 +67,10 @@
67
67
  "FormSchemaEntry": {
68
68
  "additionalProperties": false,
69
69
  "properties": {
70
+ "disabled": {
71
+ "description": "When true, the native control is disabled and non-interactive.",
72
+ "type": "boolean"
73
+ },
70
74
  "id": {
71
75
  "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
72
76
  "type": "string"
@@ -219,9 +223,22 @@
219
223
  }
220
224
  }
221
225
  }
226
+ },
227
+ {
228
+ "name": "disabled",
229
+ "description": "Input is fully disabled and non-interactive.",
230
+ "data": {
231
+ "schemaentry": {
232
+ "placeholder": "Cannot edit this field",
233
+ "id": "lastNameDisabled",
234
+ "label": "Last Name",
235
+ "value": "Rossi",
236
+ "disabled": true
237
+ }
238
+ }
222
239
  }
223
240
  ],
224
- "iifeIntegrity": "sha384-MUSGTzI8pVgLhW62aptTs90ClUNZqzLaX1LWBQNiJHJtW42wtt6BMhmaIgfgp/aa",
241
+ "iifeIntegrity": "sha384-DH/VevpT3YuzqSXV9HiL88hsWobDw+EdMjEdKgrn3jbTs+UgXQ3NQi32xObx2Ble",
225
242
  "dependencies": [],
226
243
  "screenshots": [],
227
244
  "licenses": [
@@ -241,5 +258,5 @@
241
258
  "size": {},
242
259
  "iifePath": "main.iife.js",
243
260
  "repoName": "@htmlbricks/hb-input-text",
244
- "version": "0.70.1"
261
+ "version": "0.71.0"
245
262
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-text",
3
- "version": "0.70.1",
3
+ "version": "0.71.0",
4
4
  "contributors": [],
5
5
  "description": "Single-line text with Bulma `input` + optional `is-success` / `is-danger` and `help is-danger`. JSON `schemaentry` (id, value, placeholder, readonly, required, `validationRegex`, `params` min/max length). Theme via `--bulma-*` on `:host`. Dispatches `setVal` and `clickEnter` on Enter.",
6
6
  "licenses": [
@@ -30,6 +30,10 @@
30
30
  "FormSchemaEntry": {
31
31
  "additionalProperties": false,
32
32
  "properties": {
33
+ "disabled": {
34
+ "description": "When true, the native control is disabled and non-interactive.",
35
+ "type": "boolean"
36
+ },
33
37
  "id": {
34
38
  "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
35
39
  "type": "string"
@@ -12,6 +12,9 @@ export type FormSchemaEntry = {
12
12
 
13
13
  readonly?: boolean;
14
14
 
15
+ /** When true, the native control is disabled and non-interactive. */
16
+ disabled?: boolean;
17
+
15
18
  /**
16
19
  * This doesn't matter if the dependencies requirements aren't met.
17
20
  */