formifex 0.2.0 → 0.2.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.
@@ -48,7 +48,7 @@ export type TFormComponentProperties = {
48
48
  };
49
49
  export type TDisplayCondition = {
50
50
  field: string;
51
- value?: string | number | boolean;
51
+ value?: string | number | boolean | string[] | number[] | boolean[];
52
52
  operator?: "=" | "!=" | ">" | "<" | ">=" | "<=" | "includes";
53
53
  evaluate?: (props: TFormGeneralProps) => boolean;
54
54
  };
@@ -36,7 +36,7 @@ export declare enum EInputType {
36
36
  }
37
37
  export type TEnableCondition = {
38
38
  field: string;
39
- value?: string | number | boolean;
39
+ value?: string | number | boolean | string[] | number[] | boolean[];
40
40
  operator?: "=" | "!=" | ">" | "<" | ">=" | "<=" | "includes";
41
41
  evaluate?: (props: TFormGeneralProps) => boolean;
42
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formifex",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "author": "Perry Pue Khim Min (perry@rajang.com)",
6
6
  "main": "./dist/index.umd.js",