@cloudtower/eagle 0.31.9 → 0.31.11

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,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { EllipsisContentType } from "./tooltip.type";
3
- declare const EllipsisTooltipContent: ({ tooltip, maxHeight, contentWrapperClassName, ellipsisTips, }: EllipsisContentType) => React.JSX.Element;
3
+ declare const EllipsisTooltipContent: React.FC<EllipsisContentType>;
4
4
  export default EllipsisTooltipContent;
@@ -1,6 +1,11 @@
1
1
  import React from "react";
2
+ import EllipsisTooltipContent from "./EllipsisTooltipContent";
2
3
  import { TooltipProps } from "./tooltip.type";
3
- declare const Tooltip: React.FunctionComponent<TooltipProps>;
4
+ declare const InternalTooltip: React.FunctionComponent<TooltipProps>;
5
+ type InterTooltip = typeof InternalTooltip;
6
+ type CompoundedTooltip = InterTooltip & {
7
+ EllipsisContent: typeof EllipsisTooltipContent;
8
+ };
9
+ declare const Tooltip: CompoundedTooltip;
4
10
  export default Tooltip;
5
- export * from "./EllipsisTooltipContent";
6
11
  export * from "./tooltip.type";
@@ -8,7 +8,7 @@ import React from "react";
8
8
  * * 自定义 props 已在表格进行说明
9
9
  */
10
10
  declare const meta: {
11
- component: ({ tooltip, maxHeight, contentWrapperClassName, ellipsisTips, }: import("../../../src/core/Tooltip").EllipsisContentType) => React.JSX.Element;
11
+ component: React.FC<import("../../../src/core/Tooltip").EllipsisContentType>;
12
12
  title: "Core/EllipsisTooltipContent | Tooltip content 过长省略";
13
13
  parameters: {
14
14
  design: {
@@ -8,7 +8,9 @@ import React from "react";
8
8
  *
9
9
  */
10
10
  declare const meta: {
11
- component: React.FunctionComponent<import("../../../src/core/Tooltip").TooltipProps>;
11
+ component: React.FunctionComponent<import("../../../src/core/Tooltip").TooltipProps> & {
12
+ EllipsisContent: React.FC<import("../../../src/core/Tooltip").EllipsisContentType>;
13
+ };
12
14
  title: "Core/Tooltip | 悬浮提示";
13
15
  parameters: {
14
16
  design: {