@bigbinary/neetoui 5.2.11 → 5.2.13
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/formik.cjs.js +1 -0
- package/formik.cjs.js.map +1 -1
- package/formik.js +1 -0
- package/formik.js.map +1 -1
- package/index.cjs.js +1 -0
- package/index.cjs.js.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +58 -0
- package/index.js +1 -0
- 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
|
@@ -575,6 +575,63 @@ export type NoDataProps = {
|
|
|
575
575
|
className?: string;
|
|
576
576
|
};
|
|
577
577
|
|
|
578
|
+
export type TreeProps = {
|
|
579
|
+
className?: string;
|
|
580
|
+
allowDrop?: boolean;
|
|
581
|
+
autoExpandParent?: boolean;
|
|
582
|
+
blockNode: boolean;
|
|
583
|
+
checkable: boolean;
|
|
584
|
+
checkedKeys: string[] | { checked: string[]; halfChecked: string[] };
|
|
585
|
+
checkStrictly: boolean;
|
|
586
|
+
defaultCheckedKeys: string[];
|
|
587
|
+
defaultExpandAll: boolean;
|
|
588
|
+
defaultExpandedKeys: string[];
|
|
589
|
+
defaultExpandParent: boolean;
|
|
590
|
+
defaultSelectedKeys: string[];
|
|
591
|
+
disabled: boolean;
|
|
592
|
+
draggable:
|
|
593
|
+
| boolean
|
|
594
|
+
| ((node: DataNode) => boolean)
|
|
595
|
+
| {
|
|
596
|
+
icon?: React.ReactNode | false;
|
|
597
|
+
nodeDraggable?: (node: DataNode) => boolean;
|
|
598
|
+
};
|
|
599
|
+
expandedKeys: string[];
|
|
600
|
+
fieldNames: object;
|
|
601
|
+
filterTreeNode: Function;
|
|
602
|
+
height: number;
|
|
603
|
+
icon: ReactNode;
|
|
604
|
+
loadData: Function;
|
|
605
|
+
loadedKeys: string[];
|
|
606
|
+
multiple: boolean;
|
|
607
|
+
selectable: boolean;
|
|
608
|
+
selectedKeys: string[];
|
|
609
|
+
showIcon: boolean;
|
|
610
|
+
showLine:
|
|
611
|
+
| boolean
|
|
612
|
+
| {
|
|
613
|
+
showLeafIcon:
|
|
614
|
+
| boolean
|
|
615
|
+
| ReactNode
|
|
616
|
+
| ((props: AntTreeNodeProps) => ReactNode);
|
|
617
|
+
};
|
|
618
|
+
switcherIcon: ReactNode | ((props: AntTreeNodeProps) => ReactNode);
|
|
619
|
+
titleRender: Function;
|
|
620
|
+
treeData: array<{ key; title; children; [disabled, selectable] }>;
|
|
621
|
+
virtual: boolean;
|
|
622
|
+
onCheck: Function;
|
|
623
|
+
onDragEnd: Function;
|
|
624
|
+
onDragEnter: Function;
|
|
625
|
+
onDragLeave: Function;
|
|
626
|
+
onDragOver: Function;
|
|
627
|
+
onDragStart: Function;
|
|
628
|
+
onDrop: Function;
|
|
629
|
+
onExpand: Function;
|
|
630
|
+
onLoad: Function;
|
|
631
|
+
onRightClick: Function;
|
|
632
|
+
onSelect: Function;
|
|
633
|
+
};
|
|
634
|
+
|
|
578
635
|
// components
|
|
579
636
|
|
|
580
637
|
export const Accordion: React.FC<AccordionProps> & {
|
|
@@ -660,3 +717,4 @@ export const Tooltip: React.ForwardRefExoticComponent<TooltipProps>;
|
|
|
660
717
|
export const Popover: React.ForwardRefExoticComponent<PopoverProps>;
|
|
661
718
|
export const Kbd: React.FC<KbdProps>;
|
|
662
719
|
export const NoData: React.FC<NoDataProps>;
|
|
720
|
+
export const Tree: React.FC<TreeProps>;
|
package/index.js
CHANGED
|
@@ -27930,6 +27930,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
27930
27930
|
var selectProps = props.selectProps;
|
|
27931
27931
|
return /*#__PURE__*/React__default.createElement(components.ValueContainer, _extends$4({}, props, {
|
|
27932
27932
|
innerProps: _objectSpread$9(_objectSpread$9({}, props.innerProps), {}, {
|
|
27933
|
+
name: selectProps.name,
|
|
27933
27934
|
"data-cy": selectProps ? "".concat(hyphenize(selectProps.label), "-select-value-container") : "select-value-container"
|
|
27934
27935
|
})
|
|
27935
27936
|
}));
|