@cloudtower/eagle 0.33.21 → 0.33.22

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.
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { Antd5TreeProps } from "./Antd5Tree.type";
3
+ export declare const Antd5Tree: React.FC<Antd5TreeProps>;
@@ -0,0 +1,2 @@
1
+ import { TreeProps } from "antd5";
2
+ export type Antd5TreeProps = TreeProps;
@@ -0,0 +1,2 @@
1
+ export * from "./Antd5Tree";
2
+ export * from "./Antd5Tree.type";
@@ -2,17 +2,17 @@ export * from "./AccordionCard";
2
2
  export * from "./Alert";
3
3
  export * from "./Antd5Anchor";
4
4
  export * from "./Antd5Dropdown";
5
+ export * from "./Antd5Tree";
5
6
  export * from "./Arch";
6
7
  export * from "./Badge";
8
+ export * from "./Banner";
7
9
  export * from "./BaseIcon";
8
- export * from "./BaseIcon";
10
+ export * from "./BasicCTError";
9
11
  export * from "./Bit";
10
12
  export * from "./BitPerSecond";
11
13
  export * from "./Bps";
12
14
  export * from "./Breadcrumb";
13
15
  export * from "./Button";
14
- export * from "./Button";
15
- export * from "./ButtonGroup";
16
16
  export * from "./ButtonGroup";
17
17
  export * from "./Byte";
18
18
  export * from "./BytePerSecond";
@@ -21,7 +21,6 @@ export * from "./Card";
21
21
  export * from "./Cascader";
22
22
  export * from "./Checkbox";
23
23
  export * from "./ConfigProvider";
24
- export * from "./BasicCTError";
25
24
  export * from "./DeprecatedProgress";
26
25
  export * from "./DetailCard";
27
26
  export * from "./DonutChart";
@@ -43,27 +42,21 @@ export * from "./InputPassword";
43
42
  export * from "./InputTagItem";
44
43
  export * from "./KitStoreProvider";
45
44
  export * from "./LegacySelect";
46
- export * from "./LineChart";
45
+ export * from "./Legend";
47
46
  export * from "./LineChart";
48
47
  export * from "./Link";
49
- export * from "./Legend";
50
48
  export * from "./Loading";
51
49
  export * from "./message";
52
50
  export * from "./message-group";
53
51
  export * from "./Metric";
54
- export * from "./Metric";
55
- export * from "./Modal";
56
52
  export * from "./Modal";
57
53
  export * from "./ModalStack";
58
54
  export * from "./Overflow";
59
- export * from "./Overflow";
60
- export * from "./Pagination";
61
55
  export * from "./Pagination";
62
56
  export * from "./ParrotTrans";
63
57
  export * from "./Percent";
64
58
  export * from "./Progress";
65
59
  export * from "./Radio";
66
- export * from "./Radio";
67
60
  export * from "./SearchInput";
68
61
  export * from "./Second";
69
62
  export * from "./SegmentControl";
@@ -76,10 +69,7 @@ export * from "./Speed";
76
69
  export * from "./StatusCapsule";
77
70
  export * from "./StepProgress";
78
71
  export * from "./Steps";
79
- export * from "./Steps";
80
72
  export * from "./Styled";
81
- export * from "./Styled";
82
- export * from "./Switch";
83
73
  export * from "./Switch";
84
74
  export * from "./Table";
85
75
  export * from "./TableForm";
@@ -94,7 +84,6 @@ export * from "./Tooltip";
94
84
  export * from "./Truncate";
95
85
  export * from "./Typo";
96
86
  export * from "./Units";
97
- export * from "./Banner";
98
87
  export declare const units: {
99
88
  Percent: import("./Units").PercentFn;
100
89
  Byte: import("./Units").UnitFn;
@@ -146,10 +135,10 @@ export { default as InputPassword } from "./InputPassword";
146
135
  export { default as InputTagItem } from "./InputTagItem";
147
136
  export { default as KitStoreProvider } from "./KitStoreProvider";
148
137
  export { default as LegacySelect } from "./LegacySelect";
138
+ export { default as Legend } from "./Legend";
149
139
  export { default as LineChart } from "./LineChart";
150
140
  export { default as Link } from "./Link";
151
141
  export { default as Loading } from "./Loading";
152
- export { default as Legend } from "./Legend";
153
142
  export { default as message } from "./message";
154
143
  export { default as Metric } from "./Metric";
155
144
  export { default as Modal } from "./Modal";
@@ -0,0 +1,33 @@
1
+ import { Antd5Tree } from "../../../src/core";
2
+ import type { StoryObj } from "@storybook/react";
3
+ import React from "react";
4
+ /**
5
+ * * Antd5Tree 组件
6
+ * * 基于 antd5 的 Tree 组件封装
7
+ * * 支持树形结构的展示、选择、展开等功能
8
+ * * 更多 props 请参考:https://ant.design/components/tree-cn#API
9
+ */
10
+ declare const meta: {
11
+ component: React.FC<import("../../../src/core").Antd5TreeProps>;
12
+ title: "Core/Antd5Tree | 树形控件";
13
+ parameters: {
14
+ design: {
15
+ type: string;
16
+ url: string;
17
+ };
18
+ };
19
+ };
20
+ export default meta;
21
+ type Story = StoryObj<typeof Antd5Tree>;
22
+ /**
23
+ * 基础用法
24
+ */
25
+ export declare const Basic: Story;
26
+ /**
27
+ * 可选择节点
28
+ */
29
+ export declare const Checkable: Story;
30
+ /**
31
+ * 默认展开部分节点
32
+ */
33
+ export declare const DefaultExpanded: Story;