@bpmn-io/form-js-viewer 0.9.9 → 0.10.0-alpha.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.
@@ -14,5 +14,5 @@ export * from "./render";
14
14
  export * from "./util";
15
15
  export type CreateFormOptions = import('./types').CreateFormOptions;
16
16
  import Form from "./Form";
17
- export const schemaVersion: 5;
17
+ export const schemaVersion: 6;
18
18
  export { Form };
@@ -1,4 +1,7 @@
1
- export function formFieldClasses(type: any, errors?: any[]): string;
1
+ export function formFieldClasses(type: any, { errors, disabled }?: {
2
+ errors?: any[];
3
+ disabled?: boolean;
4
+ }): string;
2
5
  export function prefixId(id: any, formId: any): string;
3
6
  export function markdownToHTML(markdown: any): any;
4
7
  export function safeMarkdown(markdown: any): string;
@@ -0,0 +1,13 @@
1
+ declare function Textarea(props: any): import("preact").JSX.Element;
2
+ declare namespace Textarea {
3
+ export function create(options?: {}): {};
4
+ export { type };
5
+ export const label: string;
6
+ export const keyed: boolean;
7
+ export const emptyValue: string;
8
+ export function sanitizeValue({ value }: {
9
+ value: any;
10
+ }): string;
11
+ }
12
+ export default Textarea;
13
+ declare const type: "textarea";
@@ -10,4 +10,5 @@ import Select from "./form-fields/Select";
10
10
  import Taglist from "./form-fields/Taglist";
11
11
  import Text from "./form-fields/Text";
12
12
  import Textfield from "./form-fields/Textfield";
13
- export { Button, Checkbox, Checklist, Default, FormComponent, Number, Radio, Select, Taglist, Text, Textfield };
13
+ import Textarea from "./form-fields/Textarea";
14
+ export { Button, Checkbox, Checklist, Default, FormComponent, Number, Radio, Select, Taglist, Text, Textfield, Textarea };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-viewer",
3
- "version": "0.9.9",
3
+ "version": "0.10.0-alpha.1",
4
4
  "description": "View forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -52,5 +52,5 @@
52
52
  "files": [
53
53
  "dist"
54
54
  ],
55
- "gitHead": "a0c48668fabc92d210bd5675986715f262192d77"
55
+ "gitHead": "9bc2d1e01db3a1a38122632fb94f70d1e085243b"
56
56
  }