@antdv-next1/pro-card 1.0.3 → 2.0.0

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.
@@ -26,7 +26,7 @@ declare const _ProCheckCard: _$vue.DefineSetupFnComponent<ProCheckCardProps, {},
26
26
  extra?: () => VNode[];
27
27
  cover?: () => VNode[];
28
28
  description?: () => VNode[];
29
- }>, CardMetaProps & Omit<CardProps, "size" | "title" | "onTabChange" | "activeTabKey" | "defaultActiveTabKey" | "headStyle" | "bodyStyle" | "tabBarExtraContent" | "tabList" | "type"> & {
29
+ }>, CardMetaProps & Omit<CardProps, "size" | "title" | "headStyle" | "bodyStyle" | "type" | "tabList" | "tabBarExtraContent" | "activeTabKey" | "defaultActiveTabKey" | "onTabChange"> & {
30
30
  /** 边框流光 */borderBeam?: BorderBeamProps | boolean;
31
31
  size?: CardProps["size"] | "large";
32
32
  checked?: boolean;
@@ -214,7 +214,10 @@ const ProCheckCard = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =
214
214
  required: false,
215
215
  default: void 0
216
216
  },
217
- size: { required: false },
217
+ size: {
218
+ type: String,
219
+ required: false
220
+ },
218
221
  checked: {
219
222
  type: Boolean,
220
223
  required: false,
@@ -1,7 +1,7 @@
1
1
  import * as _$vue from "vue";
2
2
  import { VNode } from "vue";
3
3
  import { VueNode } from "@v-c/util";
4
- import { BadgeProps, StatisticProps as StatisticProps$1 } from "antdv-next";
4
+ import { BadgeProps, StatisticProps as StatisticProps$1, TooltipProps } from "antdv-next";
5
5
  import { CustomSlotsType } from "@v-c/util/dist/type";
6
6
 
7
7
  //#region src/components/Statistic/index.d.ts
@@ -9,7 +9,9 @@ interface StatisticProps extends StatisticProps$1 {
9
9
  /** 描述性标签 */
10
10
  description?: VueNode;
11
11
  /** 标题提示 */
12
- tooltip?: VueNode;
12
+ tooltip?: TooltipProps & {
13
+ icon?: VueNode;
14
+ } | VueNode;
13
15
  /** 当前项显示的状态 */
14
16
  status?: BadgeProps['status'];
15
17
  /** Icon 图标 */
@@ -30,7 +30,7 @@ const genProStyle = (token) => {
30
30
  },
31
31
  "&-footer": {
32
32
  marginBlockStart: 8,
33
- paddingBlockStart: 16,
33
+ paddingBlockStart: 8,
34
34
  borderBlockStart: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`
35
35
  }
36
36
  } };