@bigbinary/neeto-fields-frontend 1.0.4 → 1.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-fields-frontend",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A repo acts as the source of truth for the new nano's structure, configs, data etc.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-fields-nano",
package/types.d.ts CHANGED
@@ -9,6 +9,7 @@ interface KeyValuePair {
9
9
  interface PaneProps {
10
10
  children: React.ReactNode;
11
11
  validations?: KeyValuePair;
12
+ initialValues?: KeyValuePair;
12
13
  }
13
14
 
14
15
  type OnDeleteClickFunction = (field: KeyValuePair) => void;
@@ -42,6 +43,7 @@ interface AddFieldProps {
42
43
  resourceType: string;
43
44
  allowedKinds?: string[];
44
45
  additionalValidations?: KeyValuePair;
46
+ initialValues?: KeyValuePair;
45
47
  children?: React.ReactNode;
46
48
  }
47
49
 
@@ -51,6 +53,7 @@ interface EditProps {
51
53
  onClose: (values: any) => void;
52
54
  children?: React.ReactNode;
53
55
  additionalValidations?: KeyValuePair;
56
+ initialValues?: KeyValuePair
54
57
  }
55
58
 
56
59
  interface AddProps {
@@ -59,6 +62,7 @@ interface AddProps {
59
62
  onClose: () => void;
60
63
  children?: React.ReactNode;
61
64
  additionalValidations?: KeyValuePair;
65
+ initialValues?: KeyValuePair
62
66
  }
63
67
  interface FieldsPaneProps {
64
68
  allowedKinds: string[];
@@ -66,6 +70,7 @@ interface FieldsPaneProps {
66
70
  resourceType: string;
67
71
  onClose: () => void;
68
72
  additionalValidations?: KeyValuePair;
73
+ initialValues?: KeyValuePair;
69
74
  selectedField?: KeyValuePair;
70
75
  children?: React.ReactNode;
71
76
  }
@@ -84,6 +89,7 @@ interface FieldValuesContainerProps {
84
89
  queryKeysToBeInvalidatedOnSuccess?: string[];
85
90
  customComponents?: KeyValuePair;
86
91
  className?: string;
92
+ showBorder?: boolean;
87
93
  }
88
94
 
89
95
  interface FieldInputsProps {