@htmlbricks/hb-dialogform 0.71.36 → 0.72.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
@@ -103,7 +103,15 @@
103
103
  "type": "string"
104
104
  },
105
105
  "schema": {
106
- "$ref": "#/definitions/FormSchema"
106
+ "anyOf": [
107
+ {
108
+ "type": "string"
109
+ },
110
+ {
111
+ "$ref": "#/definitions/FormSchema"
112
+ }
113
+ ],
114
+ "description": "From HTML: JSON string parsed in `$effect`; may be an object when set from JavaScript."
107
115
  },
108
116
  "show": {
109
117
  "enum": [
@@ -119,9 +127,6 @@
119
127
  "type": "string"
120
128
  }
121
129
  },
122
- "required": [
123
- "schema"
124
- ],
125
130
  "type": "object"
126
131
  },
127
132
  "FormSchema": {
@@ -505,7 +510,7 @@
505
510
  }
506
511
  }
507
512
  ],
508
- "iifeIntegrity": "sha384-TKn9KXNlBT9tu+Q8G4ol+TM6z0Kx2RR2sITxlUyU6A1ElpQKQrfAP22pGd2Qxq0c",
513
+ "iifeIntegrity": "sha384-0uQh0eF5FrW4S8xrhvxISVzPJ47FldEy9dnL3gXkuEsmBTrkg+zUaeng2RZqA7lg",
509
514
  "dependencies": [
510
515
  {
511
516
  "name": "hb-dialog",
@@ -649,5 +654,5 @@
649
654
  "size": {},
650
655
  "iifePath": "main.iife.js",
651
656
  "repoName": "@htmlbricks/hb-dialogform",
652
- "version": "0.71.36"
657
+ "version": "0.72.0"
653
658
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-dialogform",
3
- "version": "0.71.36",
3
+ "version": "0.72.0",
4
4
  "contributors": [],
5
5
  "description": "Bulma-based modal workflow: embeds `hb-form` with the same `schema` contract; live `updateForm` events mirror form validity and values, and the confirm button dispatches `modalFormConfirm` with the last valid payload or `modalFormCancel` when dismissed or invalid. Composes `hb-dialog` (Bulma modal, backdrop/keyboard, `show`) and re-dispatches `modalShow`. Prop `dialogclasses` exists on the type but is not wired to the dialog markup yet.",
6
6
  "licenses": [
@@ -33,7 +33,15 @@
33
33
  "type": "string"
34
34
  },
35
35
  "schema": {
36
- "$ref": "#/definitions/FormSchema"
36
+ "anyOf": [
37
+ {
38
+ "type": "string"
39
+ },
40
+ {
41
+ "$ref": "#/definitions/FormSchema"
42
+ }
43
+ ],
44
+ "description": "From HTML: JSON string parsed in `$effect`; may be an object when set from JavaScript."
37
45
  },
38
46
  "show": {
39
47
  "enum": [
@@ -49,9 +57,6 @@
49
57
  "type": "string"
50
58
  }
51
59
  },
52
- "required": [
53
- "schema"
54
- ],
55
60
  "type": "object"
56
61
  },
57
62
  "FormSchema": {
@@ -16,7 +16,7 @@ export type Component = {
16
16
  content?: string;
17
17
  closelabel?: string;
18
18
  confirmlabel?: string;
19
- schema: FormComponent["schema"];
19
+ schema?: FormComponent["schema"];
20
20
  };
21
21
 
22
22
  export type Events = {