asterui 0.12.23 → 0.12.25
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/components/Card.d.ts +24 -7
- package/dist/components/Cascader.d.ts +55 -5
- package/dist/components/Tag.d.ts +8 -4
- package/dist/components/Tree.d.ts +78 -2
- package/dist/components/TreeSelect.d.ts +69 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +43 -42
- package/dist/index11.js +55 -55
- package/dist/index11.js.map +1 -1
- package/dist/index13.js +39 -39
- package/dist/index13.js.map +1 -1
- package/dist/index14.js +192 -107
- package/dist/index14.js.map +1 -1
- package/dist/index15.js +391 -137
- package/dist/index15.js.map +1 -1
- package/dist/index30.js +9 -8
- package/dist/index30.js.map +1 -1
- package/dist/index35.js +35 -36
- package/dist/index35.js.map +1 -1
- package/dist/index43.js +19 -20
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +6 -7
- package/dist/index44.js.map +1 -1
- package/dist/index5.js +9 -9
- package/dist/index5.js.map +1 -1
- package/dist/index61.js +7 -7
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +10 -10
- package/dist/index62.js.map +1 -1
- package/dist/index85.js +126 -92
- package/dist/index85.js.map +1 -1
- package/dist/index92.js +1 -1
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +422 -194
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +721 -265
- package/dist/index94.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
export type CardSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
export type CardVariant = 'default' | 'border' | 'dash' | 'borderless';
|
|
4
|
+
export interface CardTabItem {
|
|
5
|
+
key: string;
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
2
9
|
export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
3
10
|
children?: React.ReactNode;
|
|
4
11
|
title?: React.ReactNode;
|
|
@@ -6,8 +13,13 @@ export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 't
|
|
|
6
13
|
extra?: React.ReactNode;
|
|
7
14
|
cover?: React.ReactNode;
|
|
8
15
|
actions?: React.ReactNode;
|
|
9
|
-
size?:
|
|
16
|
+
size?: CardSize;
|
|
17
|
+
/** @deprecated Use variant instead */
|
|
10
18
|
bordered?: boolean;
|
|
19
|
+
/** Card style variant */
|
|
20
|
+
variant?: CardVariant;
|
|
21
|
+
/** Inner card style (nested cards) */
|
|
22
|
+
type?: 'inner';
|
|
11
23
|
side?: boolean;
|
|
12
24
|
imageFull?: boolean;
|
|
13
25
|
actionsJustify?: 'start' | 'center' | 'end';
|
|
@@ -15,6 +27,12 @@ export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 't
|
|
|
15
27
|
hoverable?: boolean;
|
|
16
28
|
avatar?: React.ReactNode;
|
|
17
29
|
description?: React.ReactNode;
|
|
30
|
+
tabList?: CardTabItem[];
|
|
31
|
+
activeTabKey?: string;
|
|
32
|
+
defaultActiveTabKey?: string;
|
|
33
|
+
onTabChange?: (key: string) => void;
|
|
34
|
+
tabBarExtraContent?: React.ReactNode;
|
|
35
|
+
'data-testid'?: string;
|
|
18
36
|
}
|
|
19
37
|
export interface CardMetaProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
20
38
|
/** Avatar or icon element */
|
|
@@ -23,16 +41,15 @@ export interface CardMetaProps extends Omit<React.HTMLAttributes<HTMLDivElement>
|
|
|
23
41
|
title?: React.ReactNode;
|
|
24
42
|
/** Description content */
|
|
25
43
|
description?: React.ReactNode;
|
|
44
|
+
'data-testid'?: string;
|
|
26
45
|
}
|
|
27
46
|
export interface CardGridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
28
47
|
children: React.ReactNode;
|
|
29
48
|
hoverable?: boolean;
|
|
49
|
+
'data-testid'?: string;
|
|
30
50
|
}
|
|
31
|
-
declare
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export declare const Card: typeof CardRoot & {
|
|
35
|
-
Grid: typeof CardGrid;
|
|
36
|
-
Meta: typeof CardMeta;
|
|
51
|
+
export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>> & {
|
|
52
|
+
Grid: React.ForwardRefExoticComponent<CardGridProps & React.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
Meta: React.ForwardRefExoticComponent<CardMetaProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
54
|
};
|
|
38
55
|
export default Card;
|
|
@@ -1,19 +1,69 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export interface CascaderOption {
|
|
3
|
-
value: string
|
|
3
|
+
value: string;
|
|
4
4
|
label: React.ReactNode;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
children?: CascaderOption[];
|
|
7
|
+
isLeaf?: boolean;
|
|
7
8
|
}
|
|
9
|
+
export type CascaderColor = 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
10
|
+
export type CascaderSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
8
11
|
export interface CascaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
12
|
+
/** Hierarchical options data */
|
|
9
13
|
options: CascaderOption[];
|
|
10
|
-
value
|
|
11
|
-
|
|
14
|
+
/** Controlled selected value path */
|
|
15
|
+
value?: string[];
|
|
16
|
+
/** Default selected value path (uncontrolled) */
|
|
17
|
+
defaultValue?: string[];
|
|
18
|
+
/** Callback when selection changes */
|
|
19
|
+
onChange?: (value: string[], selectedOptions: CascaderOption[]) => void;
|
|
20
|
+
/** Placeholder text */
|
|
12
21
|
placeholder?: string;
|
|
22
|
+
/** Disable the cascader */
|
|
13
23
|
disabled?: boolean;
|
|
24
|
+
/** Show clear button */
|
|
14
25
|
allowClear?: boolean;
|
|
26
|
+
/** How to expand sub-menus */
|
|
15
27
|
expandTrigger?: 'click' | 'hover';
|
|
28
|
+
/** Allow selection of any level, not just leaf nodes */
|
|
29
|
+
changeOnSelect?: boolean;
|
|
30
|
+
/** Custom display render function */
|
|
16
31
|
displayRender?: (labels: React.ReactNode[], selectedOptions: CascaderOption[]) => React.ReactNode;
|
|
17
|
-
|
|
32
|
+
/** Input size */
|
|
33
|
+
size?: CascaderSize;
|
|
34
|
+
/** Focus ring color */
|
|
35
|
+
color?: CascaderColor;
|
|
36
|
+
/** Validation status */
|
|
37
|
+
status?: 'error' | 'warning';
|
|
38
|
+
/** Enable search/filter functionality */
|
|
39
|
+
showSearch?: boolean | {
|
|
40
|
+
filter?: (inputValue: string, path: CascaderOption[]) => boolean;
|
|
41
|
+
render?: (inputValue: string, path: CascaderOption[]) => React.ReactNode;
|
|
42
|
+
matchInputWidth?: boolean;
|
|
43
|
+
};
|
|
44
|
+
/** Content when no results found */
|
|
45
|
+
notFoundContent?: React.ReactNode;
|
|
46
|
+
/** Async data loading function */
|
|
47
|
+
loadData?: (selectedOptions: CascaderOption[]) => Promise<void>;
|
|
48
|
+
/** Custom field names for data mapping */
|
|
49
|
+
fieldNames?: {
|
|
50
|
+
label?: string;
|
|
51
|
+
value?: string;
|
|
52
|
+
children?: string;
|
|
53
|
+
};
|
|
54
|
+
/** Controlled open state */
|
|
55
|
+
open?: boolean;
|
|
56
|
+
/** Callback when dropdown visibility changes */
|
|
57
|
+
onDropdownVisibleChange?: (open: boolean) => void;
|
|
58
|
+
/** Class name for dropdown */
|
|
59
|
+
popupClassName?: string;
|
|
60
|
+
/** Custom dropdown render wrapper */
|
|
61
|
+
dropdownRender?: (menu: React.ReactNode) => React.ReactNode;
|
|
62
|
+
/** Multiple selection mode */
|
|
63
|
+
multiple?: boolean;
|
|
64
|
+
/** Max tags to show in multiple mode */
|
|
65
|
+
maxTagCount?: number | 'responsive';
|
|
66
|
+
/** Accessible label */
|
|
67
|
+
'aria-label'?: string;
|
|
18
68
|
}
|
|
19
|
-
export declare
|
|
69
|
+
export declare const Cascader: React.ForwardRefExoticComponent<CascaderProps & React.RefAttributes<HTMLDivElement>>;
|
package/dist/components/Tag.d.ts
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
export type TagSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
3
|
+
export type TagColor = 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error' | 'ghost';
|
|
2
4
|
export interface TagProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
3
5
|
closable?: boolean;
|
|
4
6
|
closeIcon?: React.ReactNode;
|
|
5
7
|
onClose?: () => void;
|
|
6
|
-
color?: string;
|
|
8
|
+
color?: TagColor | string;
|
|
7
9
|
icon?: React.ReactNode;
|
|
8
|
-
size?:
|
|
10
|
+
size?: TagSize;
|
|
9
11
|
children?: React.ReactNode;
|
|
12
|
+
'data-testid'?: string;
|
|
10
13
|
}
|
|
11
14
|
export interface CheckableTagProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'onChange'> {
|
|
12
15
|
checked?: boolean;
|
|
13
16
|
onChange?: (checked: boolean) => void;
|
|
14
17
|
icon?: React.ReactNode;
|
|
15
18
|
children?: React.ReactNode;
|
|
19
|
+
'data-testid'?: string;
|
|
16
20
|
}
|
|
17
|
-
export declare const Tag: React.
|
|
18
|
-
export declare const CheckableTag: React.
|
|
21
|
+
export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
22
|
+
export declare const CheckableTag: React.ForwardRefExoticComponent<CheckableTagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
export type TreeColor = 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
3
|
+
export type TreeSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
4
|
export interface TreeDataNode {
|
|
3
5
|
key: string;
|
|
4
6
|
title: React.ReactNode;
|
|
@@ -11,30 +13,104 @@ export interface TreeDataNode {
|
|
|
11
13
|
isLeaf?: boolean;
|
|
12
14
|
}
|
|
13
15
|
export interface TreeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
14
|
-
|
|
16
|
+
/** Tree data structure (alternative to compound pattern) */
|
|
17
|
+
treeData?: TreeDataNode[] | undefined;
|
|
18
|
+
/** Children for compound pattern */
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
/** Show checkbox for each node */
|
|
15
21
|
checkable?: boolean;
|
|
22
|
+
/** Checkbox color (DaisyUI) */
|
|
23
|
+
checkboxColor?: TreeColor;
|
|
24
|
+
/** Checkbox size (DaisyUI) */
|
|
25
|
+
checkboxSize?: TreeSize;
|
|
26
|
+
/** Enable node selection */
|
|
16
27
|
selectable?: boolean;
|
|
28
|
+
/** Allow multiple selection */
|
|
17
29
|
multiple?: boolean;
|
|
30
|
+
/** Expand all nodes by default */
|
|
18
31
|
defaultExpandAll?: boolean;
|
|
32
|
+
/** Default expanded keys */
|
|
19
33
|
defaultExpandedKeys?: string[];
|
|
34
|
+
/** Controlled expanded keys */
|
|
20
35
|
expandedKeys?: string[];
|
|
36
|
+
/** Default selected keys */
|
|
21
37
|
defaultSelectedKeys?: string[];
|
|
38
|
+
/** Controlled selected keys */
|
|
22
39
|
selectedKeys?: string[];
|
|
40
|
+
/** Default checked keys */
|
|
23
41
|
defaultCheckedKeys?: string[];
|
|
42
|
+
/** Controlled checked keys */
|
|
24
43
|
checkedKeys?: string[];
|
|
44
|
+
/** Callback when node is expanded */
|
|
25
45
|
onExpand?: (expandedKeys: string[], info: {
|
|
26
46
|
node: TreeDataNode;
|
|
27
47
|
expanded: boolean;
|
|
28
48
|
}) => void;
|
|
49
|
+
/** Callback when node is selected */
|
|
29
50
|
onSelect?: (selectedKeys: string[], info: {
|
|
30
51
|
node: TreeDataNode;
|
|
31
52
|
selected: boolean;
|
|
32
53
|
}) => void;
|
|
54
|
+
/** Callback when node is checked */
|
|
33
55
|
onCheck?: (checkedKeys: string[], info: {
|
|
34
56
|
node: TreeDataNode;
|
|
35
57
|
checked: boolean;
|
|
36
58
|
}) => void;
|
|
59
|
+
/** Show connecting lines */
|
|
37
60
|
showLine?: boolean;
|
|
61
|
+
/** Show node icons */
|
|
38
62
|
showIcon?: boolean;
|
|
63
|
+
/** Decouple parent-child checkbox relationship */
|
|
64
|
+
checkStrictly?: boolean;
|
|
65
|
+
/** Auto expand parent nodes when expandedKeys change */
|
|
66
|
+
autoExpandParent?: boolean;
|
|
67
|
+
/** Make node fill remaining horizontal space */
|
|
68
|
+
blockNode?: boolean;
|
|
69
|
+
/** Custom expand/collapse icon */
|
|
70
|
+
switcherIcon?: React.ReactNode | ((expanded: boolean) => React.ReactNode);
|
|
71
|
+
/** Custom title render function */
|
|
72
|
+
titleRender?: (node: TreeDataNode) => React.ReactNode;
|
|
73
|
+
/** Filter function for highlighting nodes */
|
|
74
|
+
filterTreeNode?: (node: TreeDataNode) => boolean;
|
|
75
|
+
/** Async data loading */
|
|
76
|
+
loadData?: (node: TreeDataNode) => Promise<void>;
|
|
77
|
+
/** Right click handler */
|
|
78
|
+
onRightClick?: (info: {
|
|
79
|
+
event: React.MouseEvent;
|
|
80
|
+
node: TreeDataNode;
|
|
81
|
+
}) => void;
|
|
82
|
+
/** Custom field names for data mapping */
|
|
83
|
+
fieldNames?: {
|
|
84
|
+
key?: string;
|
|
85
|
+
title?: string;
|
|
86
|
+
children?: string;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
export interface TreeNodeProps {
|
|
90
|
+
/** Unique key for the node (uses React's key prop) */
|
|
91
|
+
key: string;
|
|
92
|
+
/** Display title */
|
|
93
|
+
title: React.ReactNode;
|
|
94
|
+
/** Custom icon */
|
|
95
|
+
icon?: React.ReactNode;
|
|
96
|
+
/** Disable the node */
|
|
97
|
+
disabled?: boolean;
|
|
98
|
+
/** Disable checkbox for this node */
|
|
99
|
+
disableCheckbox?: boolean;
|
|
100
|
+
/** Whether node can be selected */
|
|
101
|
+
selectable?: boolean;
|
|
102
|
+
/** Whether node shows checkbox */
|
|
103
|
+
checkable?: boolean;
|
|
104
|
+
/** Force node to be a leaf */
|
|
105
|
+
isLeaf?: boolean;
|
|
106
|
+
/** Child nodes */
|
|
107
|
+
children?: React.ReactNode;
|
|
108
|
+
}
|
|
109
|
+
declare function TreeNode(_props: TreeNodeProps): null;
|
|
110
|
+
declare namespace TreeNode {
|
|
111
|
+
var displayName: string;
|
|
39
112
|
}
|
|
40
|
-
export declare
|
|
113
|
+
export declare const Tree: React.ForwardRefExoticComponent<TreeProps & React.RefAttributes<HTMLDivElement>> & {
|
|
114
|
+
Node: typeof TreeNode;
|
|
115
|
+
};
|
|
116
|
+
export {};
|
|
@@ -1,13 +1,36 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TreeDataNode } from './Tree';
|
|
3
|
+
export type TreeSelectSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export type TreeSelectColor = 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
5
|
+
export type TreeSelectStatus = 'error' | 'warning';
|
|
6
|
+
export type TreeSelectVariant = 'outlined' | 'filled' | 'borderless';
|
|
7
|
+
export type ShowCheckedStrategy = 'SHOW_ALL' | 'SHOW_PARENT' | 'SHOW_CHILD';
|
|
8
|
+
export interface TreeSelectFieldNames {
|
|
9
|
+
label?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
children?: string;
|
|
12
|
+
}
|
|
13
|
+
/** Value type when labelInValue is true */
|
|
14
|
+
export interface LabeledValue {
|
|
15
|
+
value: string;
|
|
16
|
+
label: React.ReactNode;
|
|
17
|
+
}
|
|
3
18
|
export interface TreeSelectProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
|
|
4
19
|
treeData: TreeDataNode[];
|
|
5
|
-
value?: string | string[];
|
|
6
|
-
defaultValue?: string | string[];
|
|
7
|
-
onChange?: (value: string | string[], labels: React.ReactNode[]
|
|
20
|
+
value?: string | string[] | LabeledValue | LabeledValue[];
|
|
21
|
+
defaultValue?: string | string[] | LabeledValue | LabeledValue[];
|
|
22
|
+
onChange?: (value: string | string[] | LabeledValue | LabeledValue[], labels: React.ReactNode[], extra?: {
|
|
23
|
+
triggerValue: string;
|
|
24
|
+
triggerNode: TreeDataNode;
|
|
25
|
+
}) => void;
|
|
8
26
|
multiple?: boolean;
|
|
9
27
|
treeCheckable?: boolean;
|
|
28
|
+
treeCheckStrictly?: boolean;
|
|
29
|
+
showCheckedStrategy?: ShowCheckedStrategy;
|
|
10
30
|
showSearch?: boolean;
|
|
31
|
+
searchValue?: string;
|
|
32
|
+
onSearch?: (value: string) => void;
|
|
33
|
+
filterTreeNode?: (searchValue: string, node: TreeDataNode) => boolean;
|
|
11
34
|
placeholder?: string;
|
|
12
35
|
allowClear?: boolean;
|
|
13
36
|
disabled?: boolean;
|
|
@@ -15,6 +38,47 @@ export interface TreeSelectProps extends Omit<React.HTMLAttributes<HTMLDivElemen
|
|
|
15
38
|
treeDefaultExpandedKeys?: string[];
|
|
16
39
|
treeExpandedKeys?: string[];
|
|
17
40
|
onTreeExpand?: (expandedKeys: string[]) => void;
|
|
18
|
-
size?:
|
|
41
|
+
size?: TreeSelectSize;
|
|
42
|
+
color?: TreeSelectColor;
|
|
43
|
+
status?: TreeSelectStatus;
|
|
44
|
+
/** Visual variant style */
|
|
45
|
+
variant?: TreeSelectVariant;
|
|
46
|
+
/** Ghost style with no background */
|
|
47
|
+
ghost?: boolean;
|
|
48
|
+
/** Maximum number of tags to show (multiple/treeCheckable mode) */
|
|
49
|
+
maxTagCount?: number | 'responsive';
|
|
50
|
+
maxTagPlaceholder?: React.ReactNode | ((omittedValues: string[]) => React.ReactNode);
|
|
51
|
+
/** Maximum number of selections allowed */
|
|
52
|
+
maxCount?: number;
|
|
53
|
+
/** Return object with value and label instead of just value */
|
|
54
|
+
labelInValue?: boolean;
|
|
55
|
+
/** Custom tag render function */
|
|
56
|
+
tagRender?: (props: {
|
|
57
|
+
label: React.ReactNode;
|
|
58
|
+
value: string;
|
|
59
|
+
closable: boolean;
|
|
60
|
+
onClose: () => void;
|
|
61
|
+
}) => React.ReactNode;
|
|
62
|
+
treeLine?: boolean;
|
|
63
|
+
/** Show tree node icon */
|
|
64
|
+
treeIcon?: boolean;
|
|
65
|
+
loadData?: (node: TreeDataNode) => Promise<void>;
|
|
66
|
+
fieldNames?: TreeSelectFieldNames;
|
|
67
|
+
open?: boolean;
|
|
68
|
+
onDropdownVisibleChange?: (open: boolean) => void;
|
|
69
|
+
suffixIcon?: React.ReactNode;
|
|
70
|
+
switcherIcon?: React.ReactNode | ((props: {
|
|
71
|
+
expanded: boolean;
|
|
72
|
+
}) => React.ReactNode);
|
|
73
|
+
notFoundContent?: React.ReactNode;
|
|
74
|
+
dropdownRender?: (menu: React.ReactNode) => React.ReactNode;
|
|
75
|
+
popupClassName?: string;
|
|
76
|
+
'data-testid'?: string;
|
|
19
77
|
}
|
|
20
|
-
export declare
|
|
78
|
+
export declare const TreeSelect: React.ForwardRefExoticComponent<TreeSelectProps & React.RefAttributes<HTMLDivElement>>;
|
|
79
|
+
export declare const TreeSelectComponent: React.ForwardRefExoticComponent<TreeSelectProps & React.RefAttributes<HTMLDivElement>> & {
|
|
80
|
+
SHOW_ALL: "SHOW_ALL";
|
|
81
|
+
SHOW_PARENT: "SHOW_PARENT";
|
|
82
|
+
SHOW_CHILD: "SHOW_CHILD";
|
|
83
|
+
};
|
|
84
|
+
export { TreeSelectComponent as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type { ChatProps } from './components/Chat';
|
|
|
23
23
|
export { ColorPicker } from './components/ColorPicker';
|
|
24
24
|
export type { ColorPickerProps } from './components/ColorPicker';
|
|
25
25
|
export { Card } from './components/Card';
|
|
26
|
-
export type { CardProps, CardGridProps } from './components/Card';
|
|
26
|
+
export type { CardProps, CardGridProps, CardMetaProps, CardSize, CardVariant, CardTabItem } from './components/Card';
|
|
27
27
|
export { Cascader } from './components/Cascader';
|
|
28
28
|
export type { CascaderProps, CascaderOption } from './components/Cascader';
|
|
29
29
|
export { Chart } from './components/Chart';
|
|
@@ -165,7 +165,7 @@ export type { TextareaProps } from './components/Textarea';
|
|
|
165
165
|
export { TextRotate } from './components/TextRotate';
|
|
166
166
|
export type { TextRotateProps, TextRotateDuration } from './components/TextRotate';
|
|
167
167
|
export { Tag, CheckableTag } from './components/Tag';
|
|
168
|
-
export type { TagProps, CheckableTagProps } from './components/Tag';
|
|
168
|
+
export type { TagProps, CheckableTagProps, TagSize, TagColor } from './components/Tag';
|
|
169
169
|
export { ThemeController } from './components/ThemeController';
|
|
170
170
|
export type { ThemeControllerSwapProps, ThemeControllerDropdownProps, ThemeControllerToggleProps } from './components/ThemeController';
|
|
171
171
|
export { TimePicker } from './components/TimePicker';
|
|
@@ -182,8 +182,8 @@ export { Transfer } from './components/Transfer';
|
|
|
182
182
|
export type { TransferProps, TransferItem } from './components/Transfer';
|
|
183
183
|
export { Tree } from './components/Tree';
|
|
184
184
|
export type { TreeProps, TreeDataNode } from './components/Tree';
|
|
185
|
-
export { TreeSelect } from './components/TreeSelect';
|
|
186
|
-
export type { TreeSelectProps } from './components/TreeSelect';
|
|
185
|
+
export { TreeSelect, TreeSelectComponent } from './components/TreeSelect';
|
|
186
|
+
export type { TreeSelectProps, TreeSelectSize, TreeSelectColor, TreeSelectStatus, TreeSelectVariant, TreeSelectFieldNames, ShowCheckedStrategy, LabeledValue, } from './components/TreeSelect';
|
|
187
187
|
export { Typography } from './components/Typography';
|
|
188
188
|
export type { TypographyProps, TitleProps, ParagraphProps, TextProps, TypographyLinkProps, TypographySize, TitleLevel, } from './components/Typography';
|
|
189
189
|
export { Upload } from './components/Upload';
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Avatar as n, AvatarGroup as s } from "./index6.js";
|
|
|
6
6
|
import { Badge as l } from "./index7.js";
|
|
7
7
|
import { Breadcrumb as c } from "./index8.js";
|
|
8
8
|
import { Button as T } from "./index9.js";
|
|
9
|
-
import { CopyButton as
|
|
9
|
+
import { CopyButton as S } from "./index10.js";
|
|
10
10
|
import { Checkbox as b } from "./index11.js";
|
|
11
11
|
import { Chat as y } from "./index12.js";
|
|
12
12
|
import { ColorPicker as h } from "./index13.js";
|
|
@@ -32,7 +32,7 @@ import { Flex as io } from "./index32.js";
|
|
|
32
32
|
import { FloatButton as so } from "./index33.js";
|
|
33
33
|
import { Footer as lo } from "./index34.js";
|
|
34
34
|
import { Form as Co, useFormInstance as To } from "./index35.js";
|
|
35
|
-
import { Col as
|
|
35
|
+
import { Col as So, Grid as Po, Row as bo } from "./index36.js";
|
|
36
36
|
import { Hero as yo } from "./index37.js";
|
|
37
37
|
import { HoverGallery as ho } from "./index38.js";
|
|
38
38
|
import { Image as vo } from "./index39.js";
|
|
@@ -58,7 +58,7 @@ import { Modal as ur } from "./index58.js";
|
|
|
58
58
|
import { Navbar as dr } from "./index59.js";
|
|
59
59
|
import { notification as Cr } from "./index60.js";
|
|
60
60
|
import { OTPInput as gr } from "./index61.js";
|
|
61
|
-
import { Pagination as
|
|
61
|
+
import { Pagination as Pr } from "./index62.js";
|
|
62
62
|
import { PageLayout as kr } from "./index63.js";
|
|
63
63
|
import { Popconfirm as Dr } from "./index64.js";
|
|
64
64
|
import { Popover as wr } from "./index65.js";
|
|
@@ -84,28 +84,28 @@ import { TextRotate as ne } from "./index84.js";
|
|
|
84
84
|
import { CheckableTag as ue, Tag as le } from "./index85.js";
|
|
85
85
|
import { ThemeController as ce } from "./index86.js";
|
|
86
86
|
import { TimePicker as Te } from "./index87.js";
|
|
87
|
-
import { Timeline as
|
|
87
|
+
import { Timeline as Se } from "./index88.js";
|
|
88
88
|
import { Toggle as be } from "./index89.js";
|
|
89
89
|
import { Tour as ye } from "./index90.js";
|
|
90
90
|
import { Tooltip as he } from "./index91.js";
|
|
91
91
|
import { Transfer as ve } from "./index92.js";
|
|
92
92
|
import { Tree as Re } from "./index93.js";
|
|
93
|
-
import { TreeSelect as Ie } from "./index94.js";
|
|
94
|
-
import { Typography as
|
|
95
|
-
import { Upload as
|
|
96
|
-
import { VirtualList as
|
|
97
|
-
import { Watermark as
|
|
98
|
-
import { Hide as
|
|
99
|
-
import { useBreakpoint as
|
|
100
|
-
import { useDisclosure as
|
|
101
|
-
import { useClipboard as
|
|
102
|
-
import { useLocalStorage as
|
|
103
|
-
import { useDebounce as
|
|
104
|
-
import { useClickOutside as
|
|
105
|
-
import { usePrevious as
|
|
106
|
-
import { useHover as
|
|
107
|
-
import { useKeyPress as
|
|
108
|
-
import { useWindowSize as
|
|
93
|
+
import { TreeSelect as Ie, TreeSelectComponent as Ae } from "./index94.js";
|
|
94
|
+
import { Typography as Me } from "./index95.js";
|
|
95
|
+
import { Upload as Ge } from "./index96.js";
|
|
96
|
+
import { VirtualList as We } from "./index97.js";
|
|
97
|
+
import { Watermark as Oe } from "./index98.js";
|
|
98
|
+
import { Hide as Ee, Show as Je } from "./index99.js";
|
|
99
|
+
import { useBreakpoint as Ue } from "./index100.js";
|
|
100
|
+
import { useDisclosure as je } from "./index101.js";
|
|
101
|
+
import { useClipboard as Xe } from "./index102.js";
|
|
102
|
+
import { useLocalStorage as Ze } from "./index103.js";
|
|
103
|
+
import { useDebounce as $e } from "./index104.js";
|
|
104
|
+
import { useClickOutside as rt } from "./index105.js";
|
|
105
|
+
import { usePrevious as tt } from "./index106.js";
|
|
106
|
+
import { useHover as mt } from "./index107.js";
|
|
107
|
+
import { useKeyPress as xt, useKeyPressCallback as at } from "./index108.js";
|
|
108
|
+
import { useWindowSize as nt } from "./index109.js";
|
|
109
109
|
export {
|
|
110
110
|
e as Affix,
|
|
111
111
|
f as Alert,
|
|
@@ -125,12 +125,12 @@ export {
|
|
|
125
125
|
ue as CheckableTag,
|
|
126
126
|
b as Checkbox,
|
|
127
127
|
fr as Code,
|
|
128
|
-
|
|
128
|
+
So as Col,
|
|
129
129
|
H as Collapse,
|
|
130
130
|
h as ColorPicker,
|
|
131
131
|
K as Container,
|
|
132
132
|
N as ContextMenu,
|
|
133
|
-
|
|
133
|
+
S as CopyButton,
|
|
134
134
|
z as Countdown,
|
|
135
135
|
J as DatePicker,
|
|
136
136
|
U as Descriptions,
|
|
@@ -147,9 +147,9 @@ export {
|
|
|
147
147
|
so as FloatButton,
|
|
148
148
|
lo as Footer,
|
|
149
149
|
Co as Form,
|
|
150
|
-
|
|
150
|
+
Po as Grid,
|
|
151
151
|
yo as Hero,
|
|
152
|
-
|
|
152
|
+
Ee as Hide,
|
|
153
153
|
ho as HoverGallery,
|
|
154
154
|
vo as Image,
|
|
155
155
|
Ro as Indicator,
|
|
@@ -168,7 +168,7 @@ export {
|
|
|
168
168
|
dr as Navbar,
|
|
169
169
|
gr as OTPInput,
|
|
170
170
|
kr as PageLayout,
|
|
171
|
-
|
|
171
|
+
Pr as Pagination,
|
|
172
172
|
ar as Phone,
|
|
173
173
|
Dr as Popconfirm,
|
|
174
174
|
wr as Popover,
|
|
@@ -182,7 +182,7 @@ export {
|
|
|
182
182
|
bo as Row,
|
|
183
183
|
Qr as Segmented,
|
|
184
184
|
Er as Select,
|
|
185
|
-
|
|
185
|
+
Je as Show,
|
|
186
186
|
ro as SidebarDrawer,
|
|
187
187
|
Vr as Skeleton,
|
|
188
188
|
qr as Space,
|
|
@@ -197,31 +197,32 @@ export {
|
|
|
197
197
|
ae as Textarea,
|
|
198
198
|
ce as ThemeController,
|
|
199
199
|
Te as TimePicker,
|
|
200
|
-
|
|
200
|
+
Se as Timeline,
|
|
201
201
|
be as Toggle,
|
|
202
202
|
he as Tooltip,
|
|
203
203
|
ye as Tour,
|
|
204
204
|
ve as Transfer,
|
|
205
205
|
Re as Tree,
|
|
206
206
|
Ie as TreeSelect,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
207
|
+
Ae as TreeSelectComponent,
|
|
208
|
+
Me as Typography,
|
|
209
|
+
Ge as Upload,
|
|
210
|
+
We as VirtualList,
|
|
211
|
+
Oe as Watermark,
|
|
211
212
|
nr as Window,
|
|
212
213
|
Cr as notification,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
214
|
+
Ue as useBreakpoint,
|
|
215
|
+
rt as useClickOutside,
|
|
216
|
+
Xe as useClipboard,
|
|
217
|
+
$e as useDebounce,
|
|
218
|
+
je as useDisclosure,
|
|
218
219
|
To as useFormInstance,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
220
|
+
mt as useHover,
|
|
221
|
+
xt as useKeyPress,
|
|
222
|
+
at as useKeyPressCallback,
|
|
223
|
+
Ze as useLocalStorage,
|
|
224
|
+
tt as usePrevious,
|
|
224
225
|
Qo as useSiderContext,
|
|
225
|
-
|
|
226
|
+
nt as useWindowSize
|
|
226
227
|
};
|
|
227
228
|
//# sourceMappingURL=index.js.map
|