@bigbinary/neetoui 5.2.15 → 5.2.17
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 +1 -0
- package/formik.cjs.js +209 -92
- package/formik.cjs.js.map +1 -1
- package/formik.d.ts +2 -0
- package/formik.js +208 -93
- package/formik.js.map +1 -1
- package/index.cjs.js +245 -150
- package/index.cjs.js.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +37 -0
- package/index.js +244 -151
- package/index.js.map +1 -1
- package/layouts.cjs.js.map +1 -1
- package/layouts.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -583,6 +583,42 @@ export type NoDataProps = {
|
|
|
583
583
|
className?: string;
|
|
584
584
|
};
|
|
585
585
|
|
|
586
|
+
type TreeItemNested = {
|
|
587
|
+
label: string;
|
|
588
|
+
value: string;
|
|
589
|
+
disabled: Boolean;
|
|
590
|
+
children: Array<TreeItemNested>;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
type TreeItem = {
|
|
594
|
+
id: string;
|
|
595
|
+
label: string;
|
|
596
|
+
value: string;
|
|
597
|
+
disabled: Boolean;
|
|
598
|
+
pId: string;
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
export type TreeSelectProps = {
|
|
602
|
+
allowClear?: Boolean;
|
|
603
|
+
className?: string;
|
|
604
|
+
disabled?: Boolean;
|
|
605
|
+
error?: string,
|
|
606
|
+
fieldNames?: { label?: string, value?: string };
|
|
607
|
+
label?: string,
|
|
608
|
+
onChange: (value: string) => void;
|
|
609
|
+
onSearch?: (searchValue: string) => void;
|
|
610
|
+
placeholder?: string;
|
|
611
|
+
required?: Boolean;
|
|
612
|
+
searchValue?: string;
|
|
613
|
+
showSearch?: Boolean;
|
|
614
|
+
size?: "small" | "middle" | "large";
|
|
615
|
+
suffixIcon?: React.ReactNode;
|
|
616
|
+
switcherIcon?: React.ReactNode;
|
|
617
|
+
treeDataSimpleMode?: Boolean;
|
|
618
|
+
value: string;
|
|
619
|
+
treeData: Array<TreeItemNested> | Array<TreeItem>;
|
|
620
|
+
};
|
|
621
|
+
|
|
586
622
|
export type TreeProps = {
|
|
587
623
|
className?: string;
|
|
588
624
|
allowDrop?: boolean;
|
|
@@ -726,4 +762,5 @@ export const Tooltip: React.ForwardRefExoticComponent<TooltipProps>;
|
|
|
726
762
|
export const Popover: React.ForwardRefExoticComponent<PopoverProps>;
|
|
727
763
|
export const Kbd: React.FC<KbdProps>;
|
|
728
764
|
export const NoData: React.FC<NoDataProps>;
|
|
765
|
+
export const TreeSelect: React.FC<TreeSelectProps>;
|
|
729
766
|
export const Tree: React.FC<TreeProps>;
|