@bigbinary/neeto-fields-frontend 1.3.22 → 1.3.24-beta
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/README.md +244 -297
- package/dist/index.cjs.js +248 -2299
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +233 -2285
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/types.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-fields-frontend",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.24-beta",
|
|
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",
|
|
@@ -193,4 +193,4 @@
|
|
|
193
193
|
"npm": ">=9",
|
|
194
194
|
"yarn": ">=1.22"
|
|
195
195
|
}
|
|
196
|
-
}
|
|
196
|
+
}
|
package/types.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ interface FieldsDashboardProps {
|
|
|
31
31
|
paneProps?: PaneProps;
|
|
32
32
|
showStateFilter?: boolean;
|
|
33
33
|
helpDocUrl?: string;
|
|
34
|
+
helpDescription?: string;
|
|
34
35
|
nameAliases?: KeyValuePair;
|
|
35
36
|
headerTitle?: string;
|
|
36
37
|
resources?: KeyValuePair[];
|
|
@@ -135,6 +136,16 @@ interface InlineFieldValueInputProps {
|
|
|
135
136
|
onMutate?: (...args: any[]) => void;
|
|
136
137
|
}
|
|
137
138
|
|
|
139
|
+
interface FieldDeleteAlertProps {
|
|
140
|
+
selectedField: KeyValuePair;
|
|
141
|
+
ownerId: string;
|
|
142
|
+
resourceTypeName: string;
|
|
143
|
+
isDeleteAlertOpen: boolean;
|
|
144
|
+
isDeleting: boolean;
|
|
145
|
+
handleDelete: () => void;
|
|
146
|
+
handleAlertClose: () => void;
|
|
147
|
+
}
|
|
148
|
+
|
|
138
149
|
type FieldsParams = {
|
|
139
150
|
resourceType?: string;
|
|
140
151
|
ownerId?: string;
|
|
@@ -156,6 +167,7 @@ export const FieldsPane: React.FC<FieldsPaneProps>;
|
|
|
156
167
|
export const FieldValuesContainer: React.FC<FieldValuesContainerProps>;
|
|
157
168
|
export const FieldInputs: React.FC<FieldInputsProps>;
|
|
158
169
|
export const InlineFieldValueInput: React.FC<InlineFieldValueInputProps>;
|
|
170
|
+
export const FieldDeleteAlert: React.FC<FieldDeleteAlertProps>;
|
|
159
171
|
|
|
160
172
|
export const useFetchFields: (
|
|
161
173
|
params: FieldsParams,
|