beca-ui 2.0.20-beta.30 → 2.0.20-beta.32
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/beca-ui.js +17736 -17654
- package/dist/components/SelectField/SelectField.types.d.ts +1 -2
- package/dist/components/TreeSelect/TreeSelect.d.ts +3 -2
- package/dist/components/TreeSelect/TreeSelect.types.d.ts +1 -0
- package/dist/components/TreeSelectField/TreeSelectField.d.ts +3 -0
- package/dist/components/TreeSelectField/TreeSelectField.types.d.ts +7 -0
- package/dist/components/TreeSelectField/index.d.ts +2 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/hooks/DeviceHook.d.ts +1 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { OptionProps as AntOptionProps } from "rc-select/lib/Option";
|
|
2
|
-
import { SelectProps } from "../Select/Select.types";
|
|
3
2
|
import { FormItemProps } from "../Form";
|
|
3
|
+
import { SelectProps } from "..";
|
|
4
4
|
export interface OptionProps extends AntOptionProps {
|
|
5
5
|
}
|
|
6
|
-
export type PopupPosition = "relative" | "fixed";
|
|
7
6
|
export interface SelectFieldProps {
|
|
8
7
|
selectProps: SelectProps;
|
|
9
8
|
formItemProps?: FormItemProps;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TreeNodeProps, TreeSelectProps } from ".";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { BaseSelectRef } from "..";
|
|
4
|
+
declare const TreeSelect: React.ForwardRefExoticComponent<React.PropsWithoutRef<TreeSelectProps> & React.RefAttributes<BaseSelectRef>> & {
|
|
5
|
+
TreeNode: React.FC<TreeNodeProps>;
|
|
5
6
|
};
|
|
6
7
|
export declare const TreeNode: React.FunctionComponent<TreeNodeProps>;
|
|
7
8
|
export default TreeSelect;
|
|
@@ -3,6 +3,7 @@ import { Key } from "react";
|
|
|
3
3
|
import { PopupPosition } from "..";
|
|
4
4
|
export interface TreeSelectProps extends AntTreeSelectProps {
|
|
5
5
|
position?: PopupPosition;
|
|
6
|
+
searchByTitleAndValue?: boolean;
|
|
6
7
|
}
|
|
7
8
|
export interface TreeNodeProps extends AntTreeNodeProps {
|
|
8
9
|
value: Key;
|
|
@@ -32,7 +32,6 @@ export * from "./Tooltip";
|
|
|
32
32
|
export * from "./Content";
|
|
33
33
|
export * from "./DatePicker";
|
|
34
34
|
export * from "./TimePicker";
|
|
35
|
-
export * from "./TreeSelect";
|
|
36
35
|
export * from "./Upload";
|
|
37
36
|
export * from "./Space";
|
|
38
37
|
export * from "./Skeleton";
|
|
@@ -45,7 +44,6 @@ export * from "./Divider";
|
|
|
45
44
|
export * from "./Statistic";
|
|
46
45
|
export * from "./ConfigProvider";
|
|
47
46
|
export * from "./Steps";
|
|
48
|
-
export * from "./Tree";
|
|
49
47
|
export * from "./Layout";
|
|
50
48
|
export * from "./Breadcrumb";
|
|
51
49
|
export * from "./Progress";
|
|
@@ -74,3 +72,6 @@ export * from "./Tour";
|
|
|
74
72
|
export * from "./App";
|
|
75
73
|
export * from "./ScrollView";
|
|
76
74
|
export * from "./Mentions";
|
|
75
|
+
export * from "./Tree";
|
|
76
|
+
export * from "./TreeSelect";
|
|
77
|
+
export * from "./TreeSelectField";
|