@cloudtower/eagle 0.27.93 → 0.27.98
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/cjs/stats1.html +1 -1
- package/dist/components.css +2379 -2383
- package/dist/esm/stats1.html +1 -1
- package/dist/stories/docs/core/Button.stories.d.ts +23 -20
- package/dist/style.css +2059 -2064
- package/package.json +4 -4
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
declare const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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;
|