@bpmn-io/form-js-viewer 0.4.4 → 0.7.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.
@@ -9,6 +9,7 @@ declare namespace Radio {
9
9
  export { type };
10
10
  export const label: string;
11
11
  export const keyed: boolean;
12
+ export const emptyValue: any;
12
13
  }
13
14
  export default Radio;
14
15
  declare const type: "radio";
@@ -9,6 +9,7 @@ declare namespace Select {
9
9
  export { type };
10
10
  export const label: string;
11
11
  export const keyed: boolean;
12
+ export const emptyValue: any;
12
13
  }
13
14
  export default Select;
14
15
  declare const type: "select";
@@ -4,6 +4,7 @@ declare namespace Textfield {
4
4
  export { type };
5
5
  export const label: string;
6
6
  export const keyed: boolean;
7
+ export const emptyValue: string;
7
8
  }
8
9
  export default Textfield;
9
10
  declare const type: "textfield";
@@ -1,4 +1,4 @@
1
- export const formFields: (typeof Checkbox | typeof Default | typeof Text)[];
1
+ export const formFields: (typeof Button | typeof Default | typeof Number | typeof Text)[];
2
2
  import Button from "./form-fields/Button";
3
3
  import Checkbox from "./form-fields/Checkbox";
4
4
  import Default from "./form-fields/Default";
@@ -1,6 +1,7 @@
1
1
  export default FormContext;
2
2
  declare const FormContext: import("preact").Context<{
3
3
  getService: typeof getService;
4
+ formId: any;
4
5
  }>;
5
6
  /**
6
7
  * @param {string} type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-viewer",
3
- "version": "0.4.4",
3
+ "version": "0.7.0",
4
4
  "description": "View forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -40,6 +40,7 @@
40
40
  "dependencies": {
41
41
  "@bpmn-io/snarkdown": "^2.1.0",
42
42
  "didi": "^5.2.1",
43
+ "ids": "^1.0.0",
43
44
  "min-dash": "^3.7.0",
44
45
  "preact": "^10.5.14",
45
46
  "preact-markup": "^2.1.1"
@@ -50,5 +51,5 @@
50
51
  "files": [
51
52
  "dist"
52
53
  ],
53
- "gitHead": "84cef6814e67a6aa59023ee588e458f473accb52"
54
+ "gitHead": "978132ea4bda84b1045b815e24f2dab9a102ccd9"
54
55
  }