@antdv-next1/pro-card 2.0.4 → 2.0.5

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/ProCard.js CHANGED
@@ -180,19 +180,7 @@ const ProCard = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
180
180
  };
181
181
  }, {
182
182
  props: {
183
- tooltip: {
184
- type: [
185
- Object,
186
- Function,
187
- String,
188
- Number,
189
- null,
190
- Boolean,
191
- Array
192
- ],
193
- required: false,
194
- default: void 0
195
- },
183
+ tooltip: { required: false },
196
184
  split: {
197
185
  type: String,
198
186
  required: false
@@ -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" | "headStyle" | "bodyStyle" | "type" | "tabList" | "tabBarExtraContent" | "activeTabKey" | "defaultActiveTabKey" | "onTabChange"> & {
29
+ }>, CardMetaProps & Omit<CardProps, "size" | "title" | "onTabChange" | "activeTabKey" | "defaultActiveTabKey" | "headStyle" | "bodyStyle" | "tabBarExtraContent" | "tabList" | "type"> & {
30
30
  /** 边框流光 */borderBeam?: BorderBeamProps | boolean;
31
31
  size?: CardProps["size"] | "large";
32
32
  checked?: boolean;
@@ -214,10 +214,7 @@ const ProCheckCard = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =
214
214
  required: false,
215
215
  default: void 0
216
216
  },
217
- size: {
218
- type: String,
219
- required: false
220
- },
217
+ size: { required: false },
221
218
  checked: {
222
219
  type: Boolean,
223
220
  required: false,
@@ -64,19 +64,7 @@ const StatisticCard = /* @__PURE__ */ defineComponent((props, { attrs, slots })
64
64
  required: false,
65
65
  default: void 0
66
66
  },
67
- tooltip: {
68
- type: [
69
- Object,
70
- Function,
71
- String,
72
- Number,
73
- null,
74
- Boolean,
75
- Array
76
- ],
77
- required: false,
78
- default: void 0
79
- },
67
+ tooltip: { required: false },
80
68
  split: {
81
69
  type: String,
82
70
  required: false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antdv-next1/pro-card",
3
3
  "type": "module",
4
- "version": "2.0.4",
4
+ "version": "2.0.5",
5
5
  "description": "@antdv-next1/pro-card",
6
6
  "sideEffects": [
7
7
  "./dist/pro-card.esm.js",
@@ -43,8 +43,8 @@
43
43
  "vue": ">=3.5.30"
44
44
  },
45
45
  "dependencies": {
46
- "@antdv-next1/pro-utils": "1.0.7",
47
- "@antdv-next1/pro-provider": "1.0.2"
46
+ "@antdv-next1/pro-provider": "1.0.2",
47
+ "@antdv-next1/pro-utils": "1.0.8"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"