@cloudtower/eagle 0.27.59 → 0.27.60

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.
@@ -714,8 +714,8 @@ export type SidebarSubtitleComponentType = React.FC<{
714
714
  title: string;
715
715
  className?: string;
716
716
  }>;
717
- type LinkProps = Omit<ButtonProps, "type"> & {
718
- type?: "default" | "subtle";
717
+ export type LinkProps = Omit<ButtonProps, "type"> & {
718
+ type?: "default" | "primary" | "secondary";
719
719
  };
720
720
  export type LinkComponentType = React.ForwardRefExoticComponent<PropsWithChildren<LinkProps> & React.RefAttributes<HTMLButtonElement>>;
721
721
  export {};
@@ -1 +1,2 @@
1
1
  export * from "./color";
2
+ export * from "./zIndices";
@@ -0,0 +1,3 @@
1
+ export declare const zIndices: {
2
+ tableActionColumn: number;
3
+ };
@@ -1,14 +1,26 @@
1
1
  import { LinkComponentType } from "../../../src/spec";
2
2
  import { Meta, StoryObj } from "@storybook/react";
3
+ type Story = StoryObj<LinkComponentType>;
4
+ /**
5
+ * 具有导航属性的可交互文本,点击后跳转到某个页面,通常出现在句子中或句子后。
6
+ */
3
7
  declare const story: Meta<LinkComponentType>;
4
- export declare const Default: StoryObj<{
5
- type?: "default" | "subtle";
6
- disabled?: boolean;
7
- href?: string;
8
- content?: string;
9
- target?: string;
10
- showIcon?: boolean;
11
- }>;
8
+ /**
9
+ * Link 组件由图标(可选)、文本标签构成
10
+ */
11
+ export declare const Basic: Story;
12
+ /**
13
+ * 组件样式:Link 组件当前提供 3 种样式:
14
+ *
15
+ * - Default :主要应用于句子或段落中
16
+ *
17
+ * - Primary:搭配其他组件使用,例如 Table 组件
18
+ *
19
+ * - Secondary :搭配其他组件使用,例如 Progress Bar 组件
20
+ *
21
+ * 交互状态:默认、悬浮、点击 3 种状态必须呈现;禁用状态
22
+ *
23
+ */
12
24
  export declare const StyleAndBehavior: StoryObj<LinkComponentType>;
13
25
  export declare const Variants: StoryObj<LinkComponentType>;
14
26
  export default story;