@cloudtower/eagle 0.27.92 → 0.27.97

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.
@@ -1,5 +1,6 @@
1
1
  export * from "./AccordionCard";
2
2
  export * from "./Alert";
3
+ export * from "./Antd5Dropdown";
3
4
  export * from "./Arch";
4
5
  export * from "./Badge";
5
6
  export * from "./BaseIcon";
@@ -83,9 +84,6 @@ export * from "./Tooltip";
83
84
  export * from "./Truncate";
84
85
  export * from "./Typo";
85
86
  export * from "./Units";
86
- export * from "./Avatar";
87
- export * from "./Nav";
88
- export * from "./Antd5Dropdown";
89
87
  export declare const units: {
90
88
  Percent: import("./Units").PercentFn;
91
89
  Byte: import("./Units").UnitFn;
@@ -100,6 +98,7 @@ export { units as Units };
100
98
  export { default as AccordionCard } from "./AccordionCard";
101
99
  export { default as Alert } from "./Alert";
102
100
  export { default as Arch } from "./Arch";
101
+ export { default as Avatar } from "./Avatar";
103
102
  export { default as Badge } from "./Badge";
104
103
  export { default as BaseIcon } from "./BaseIcon";
105
104
  export { default as Bit } from "./Bit";
@@ -138,6 +137,7 @@ export { default as message } from "./message";
138
137
  export { default as Metric } from "./Metric";
139
138
  export { default as Modal } from "./Modal";
140
139
  export { default as ModalStack } from "./ModalStack";
140
+ export { default as Nav } from "./Nav";
141
141
  export { default as Overflow } from "./Overflow";
142
142
  export { default as Pagination } from "./Pagination";
143
143
  export { default as Percent } from "./Percent";
@@ -1,20 +1,23 @@
1
- import React from "react";
2
- export declare const Basic: {
3
- (): React.JSX.Element;
4
- story: {
5
- name: string;
6
- parameters: {
7
- design: {
8
- type: string;
9
- url: string;
10
- };
11
- };
12
- };
13
- };
14
- export declare const RoundedIcon: () => React.JSX.Element;
15
- export declare const CustomChildren: () => React.JSX.Element;
16
- export declare const Link: () => React.JSX.Element;
17
- declare const story: {
18
- title: string;
19
- };
20
- export default story;
1
+ import Button from "../../../src/core/Button";
2
+ import { Meta, StoryObj } from "@storybook/react";
3
+ declare const meta: Meta<typeof Button>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Button>;
6
+ export declare const Basic: Story;
7
+ /**
8
+ * 为了避免与 suffixIcon 和 prefixIcon 属性混淆使用,移除了 icon
9
+ 属性。如果您需要单独的图标按钮,请使用 suffixIcon 或 prefixIcon
10
+ 属性,并且不需要传递 children。
11
+ */
12
+ export declare const Rounded: Story;
13
+ /**
14
+ * children 结构稍微复杂的情况,比如在 children 组合使用 Icon +
15
+ text,需要使用者自己保证 Icon 和文字的间距
16
+ */
17
+ export declare const CustomChildren: Story;
18
+ /**
19
+ * * 当 type 传入 'link'时,会呈现为超链接文本的形式
20
+ * * 不建议通过 type='link' 的形式使用 button 来实现超链接的效果,应该使用 Link 组件
21
+ * * 这里仅对已有的用法进行展示
22
+ */
23
+ export declare const Link: Story;