treege 0.4.19 → 0.4.20

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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # [Versions](https://github.com/Tracktor/treege/releases)
2
2
 
3
- ## v0.4.19
4
- - Improve Treege props type
3
+ ## v0.4.20
4
+ - Add repeatable option
@@ -6,6 +6,7 @@ declare const useFormTreeCardMutation: () => {
6
6
  handleAddValue: () => void;
7
7
  handleChangeHelperText: (event: ChangeEvent<HTMLInputElement>) => void;
8
8
  handleChangeIsDecisionField: (event: ChangeEvent<HTMLInputElement>) => void;
9
+ handleChangeIsRepeatable: (event: ChangeEvent<HTMLInputElement>) => void;
9
10
  handleChangeLabel: (event: ChangeEvent<HTMLInputElement>) => void;
10
11
  handleChangeMessage: (nameMessage: "on" | "off") => (event: ChangeEvent<HTMLInputElement>) => void;
11
12
  handleChangeName: (event: ChangeEvent<HTMLInputElement>) => void;
@@ -22,6 +23,7 @@ declare const useFormTreeCardMutation: () => {
22
23
  isBooleanField: boolean;
23
24
  isDecision: boolean;
24
25
  isDecisionField: boolean;
26
+ isRepeatable: boolean;
25
27
  isRequiredDisabled: boolean;
26
28
  isTree: boolean;
27
29
  isWorkflowLoading: boolean;
@@ -27,6 +27,7 @@ export interface TreeNodeField {
27
27
  message?: never;
28
28
  tree?: TreeNode;
29
29
  treePath?: string;
30
+ isRepeatable?: boolean;
30
31
  }
31
32
  export interface TreeNodeValues {
32
33
  depth: number;
@@ -44,6 +45,7 @@ export interface TreeNodeValues {
44
45
  message?: string;
45
46
  tree?: never;
46
47
  treePath?: never;
48
+ isRepeatable?: never;
47
49
  }
48
50
  export declare type TreeNodeAttributes = TreeNodeField | TreeNodeValues;
49
51
  export interface TreeNode extends Omit<RawNodeDatum, "attributes" | "children"> {