@bigbinary/neeto-fields-frontend 1.3.9 → 1.3.11
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 +44 -3
- package/dist/index.cjs.js +380 -194
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +382 -197
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +10 -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.11",
|
|
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
|
@@ -125,6 +125,15 @@ interface FieldInputsProps {
|
|
|
125
125
|
isRequiredColumnName?: string;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
interface InlineFieldValueInputProps {
|
|
129
|
+
field: KeyValuePair;
|
|
130
|
+
fieldValues: KeyValuePair[];
|
|
131
|
+
resourceId: string;
|
|
132
|
+
resourceType: string;
|
|
133
|
+
ownerId?: string;
|
|
134
|
+
onMutationSuccess?: (...args: any[]) => void;
|
|
135
|
+
}
|
|
136
|
+
|
|
128
137
|
type FieldsParams = {
|
|
129
138
|
resourceType?: string;
|
|
130
139
|
ownerId?: string;
|
|
@@ -145,6 +154,7 @@ export const FieldsDashboard: React.FC<FieldsDashboardProps>;
|
|
|
145
154
|
export const FieldsPane: React.FC<FieldsPaneProps>;
|
|
146
155
|
export const FieldValuesContainer: React.FC<FieldValuesContainerProps>;
|
|
147
156
|
export const FieldInputs: React.FC<FieldInputsProps>;
|
|
157
|
+
export const InlineFieldValueInput: React.FC<InlineFieldValueInputProps>;
|
|
148
158
|
|
|
149
159
|
export const useFetchFields: (
|
|
150
160
|
params: FieldsParams,
|