@bpmn-io/form-js-viewer 0.12.0 → 0.12.1

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.
@@ -139,6 +139,6 @@ export type State = {
139
139
  properties: FormProperties;
140
140
  schema: Schema;
141
141
  };
142
- export type OnEventWithPriority = OnEventWithPriority;
143
- export type OnEventWithOutPriority = OnEventWithOutPriority;
142
+ export type OnEventWithPriority = (type: FormEvent, priority: number, handler: Function) => void;
143
+ export type OnEventWithOutPriority = (type: FormEvent, handler: Function) => void;
144
144
  export type OnEventType = OnEventWithPriority & OnEventWithOutPriority;
@@ -1,16 +1 @@
1
- export namespace iconsByType {
2
- export { ButtonIcon as button };
3
- export { CheckboxIcon as checkbox };
4
- export { ChecklistIcon as checklist };
5
- export { ColumnsIcon as columns };
6
- export { DatetimeIcon as datetime };
7
- export { ImageIcon as image };
8
- export { NumberIcon as number };
9
- export { RadioIcon as radio };
10
- export { SelectIcon as select };
11
- export { TaglistIcon as taglist };
12
- export { TextIcon as text };
13
- export { TextfieldIcon as textfield };
14
- export { TextareaIcon as textarea };
15
- export { FormIcon as default };
16
- }
1
+ export function iconsByType(type: any): any;
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-viewer",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "View forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -24,7 +24,7 @@
24
24
  "bundle": "rollup -c --failAfterWarnings --bundleConfigAsCjs",
25
25
  "bundle:watch": "rollup -c -w --bundleConfigAsCjs",
26
26
  "dev": "npm test -- --auto-watch --no-single-run",
27
- "generate-types": "tsc --allowJs --skipLibCheck --declaration --emitDeclarationOnly --outDir dist/types src/index.js && copyfiles src/*.d.ts dist/types",
27
+ "generate-types": "tsc --allowJs --skipLibCheck --declaration --emitDeclarationOnly --outDir dist/types src/index.js && copyfiles --flat src/*.d.ts dist/types",
28
28
  "test": "karma start",
29
29
  "prepublishOnly": "npm run build"
30
30
  },
@@ -56,5 +56,5 @@
56
56
  "files": [
57
57
  "dist"
58
58
  ],
59
- "gitHead": "a0f3d50d21422053ebd8aeb933fb026ccf8d9209"
59
+ "gitHead": "e4a01e3215209858258b2fb83dfc09b86fccc0db"
60
60
  }