@cloudtower/eagle 0.27.91 → 0.27.93

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.
@@ -267,7 +267,9 @@ const Color = {
267
267
  "purple-a10-50": "#7E41FF1A"
268
268
  },
269
269
  gradient: {
270
- loading: "linear-gradient(90deg, #0080ff 0%, #9ecfff 50%, #0080ff 100%)"
270
+ loading: "linear-gradient(90deg, #0080ff 0%, #9ecfff 50%, #0080ff 100%)",
271
+ "light-blue": "linear-gradient(180deg,rgba(0, 136, 255, 0.2) 0%,rgba(0, 136, 255, 0.6) 100%)",
272
+ "dark-blue": "radial-gradient(133.15% 133.15% at 4.69% 7.03%, #5BCAFF 0%, #06F 100%)"
271
273
  }
272
274
  };
273
275
 
@@ -4,4 +4,8 @@ export type AvatarProps = {
4
4
  */
5
5
  username: string;
6
6
  className?: string;
7
+ /**
8
+ * 背景色
9
+ */
10
+ background?: "light-blue" | "dark-blue";
7
11
  };
@@ -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";
@@ -268,5 +268,7 @@ export declare const Color: {
268
268
  };
269
269
  readonly gradient: {
270
270
  readonly loading: "linear-gradient(90deg, #0080ff 0%, #9ecfff 50%, #0080ff 100%)";
271
+ readonly "light-blue": "linear-gradient(180deg,rgba(0, 136, 255, 0.2) 0%,rgba(0, 136, 255, 0.6) 100%)";
272
+ readonly "dark-blue": "radial-gradient(133.15% 133.15% at 4.69% 7.03%, #5BCAFF 0%, #06F 100%)";
271
273
  };
272
274
  };
@@ -7,3 +7,7 @@ type Story = StoryObj<typeof Avatar>;
7
7
  * 用来代表用户或事物
8
8
  */
9
9
  export declare const Basic: Story;
10
+ /**
11
+ * 默认支持两种背景色 'light-blue' 和 'dark-blue',也可以传递自定义的背景色
12
+ */
13
+ export declare const Background: Story;