@htmlbricks/hb-input-date 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
@@ -87,6 +87,10 @@
87
87
  "FormSchemaEntry": {
88
88
  "additionalProperties": false,
89
89
  "properties": {
90
+ "disabled": {
91
+ "description": "When true, the native control is disabled and non-interactive.",
92
+ "type": "boolean"
93
+ },
90
94
  "id": {
91
95
  "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
92
96
  "type": "string"
@@ -235,9 +239,21 @@
235
239
  "value": "1984-02-27"
236
240
  }
237
241
  }
242
+ },
243
+ {
244
+ "name": "disabled",
245
+ "description": "Date input is fully disabled and non-interactive.",
246
+ "data": {
247
+ "schemaentry": {
248
+ "id": "dateDisabled",
249
+ "label": "Birth date (locked)",
250
+ "value": "1990-05-15",
251
+ "disabled": true
252
+ }
253
+ }
238
254
  }
239
255
  ],
240
- "iifeIntegrity": "sha384-a/dvlNvVDI5vK38EcUWJ0qkIC1qgDmNZfS33R8k0ecDXbsB4u8Aq89hgVs90qAt9",
256
+ "iifeIntegrity": "sha384-2kLL3tLWu2jrOzGb62Xx0UJBQIXgMSfacKZjvbP5JL53Tw8jbPP7/wFCQ6jEPdb1",
241
257
  "dependencies": [],
242
258
  "screenshots": [],
243
259
  "licenses": [
@@ -257,5 +273,5 @@
257
273
  "size": {},
258
274
  "iifePath": "main.iife.js",
259
275
  "repoName": "@htmlbricks/hb-input-date",
260
- "version": "0.70.1"
276
+ "version": "0.71.0"
261
277
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-date",
3
- "version": "0.70.1",
3
+ "version": "0.71.0",
4
4
  "contributors": [],
5
5
  "description": "Bulma date `input` + validation + `help is-danger`. `params.min`/`max` as ISO dates on the control and in range checks. `setVal` / `clickEnter`. `--bulma-*` on `:host`.",
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"
@@ -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
  */