@cfinnestad/react-form-builder 0.2.47 → 0.2.49
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/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Items/EditFC.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Items/EditFC.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AnyItem, ItemProps } from "./Items";
|
|
3
3
|
export type validateNameChangeResponse = {
|
|
4
|
-
validName
|
|
5
|
-
changeErrors
|
|
4
|
+
validName: string;
|
|
5
|
+
changeErrors: string[];
|
|
6
6
|
};
|
|
7
7
|
export declare const getSiblingItems: (item: AnyItem, items: AnyItem[]) => AnyItem[];
|
|
8
8
|
export declare const getItemsHavingProp: (items: AnyItem[], prop: string, val?: string | null) => AnyItem[];
|
package/dist/index.d.ts
CHANGED
|
@@ -410,8 +410,8 @@ declare const GetNamedItem: (id: string | number, items: AnyItem[]) => FieldItem
|
|
|
410
410
|
declare const UpdateItemInItems: (item: AnyItem, items: AnyItem[], prefix?: string) => void;
|
|
411
411
|
|
|
412
412
|
type validateNameChangeResponse = {
|
|
413
|
-
validName
|
|
414
|
-
changeErrors
|
|
413
|
+
validName: string;
|
|
414
|
+
changeErrors: string[];
|
|
415
415
|
};
|
|
416
416
|
declare const getSiblingItems: (item: AnyItem, items: AnyItem[]) => AnyItem[];
|
|
417
417
|
declare const validateNameChange: (item: AnyItem, items: AnyItem[], newName?: string) => validateNameChangeResponse;
|
package/package.json
CHANGED