@bigbinary/neeto-fields-frontend 1.3.22 → 1.3.23

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.3.22",
3
+ "version": "1.3.23",
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
@@ -135,6 +135,16 @@ interface InlineFieldValueInputProps {
135
135
  onMutate?: (...args: any[]) => void;
136
136
  }
137
137
 
138
+ interface FieldDeleteAlertProps {
139
+ selectedField: KeyValuePair;
140
+ ownerId: string;
141
+ resourceTypeName: string;
142
+ isDeleteAlertOpen: boolean;
143
+ isDeleting: boolean;
144
+ handleDelete: () => void;
145
+ handleAlertClose: () => void;
146
+ }
147
+
138
148
  type FieldsParams = {
139
149
  resourceType?: string;
140
150
  ownerId?: string;
@@ -156,6 +166,7 @@ export const FieldsPane: React.FC<FieldsPaneProps>;
156
166
  export const FieldValuesContainer: React.FC<FieldValuesContainerProps>;
157
167
  export const FieldInputs: React.FC<FieldInputsProps>;
158
168
  export const InlineFieldValueInput: React.FC<InlineFieldValueInputProps>;
169
+ export const FieldDeleteAlert: React.FC<FieldDeleteAlertProps>;
159
170
 
160
171
  export const useFetchFields: (
161
172
  params: FieldsParams,