@dao-style/core 1.3.1-beta.3 → 1.3.1-beta.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.
@@ -10,6 +10,7 @@ declare const DaoButton: {
10
10
  useFont: boolean;
11
11
  size: "sm" | "md";
12
12
  block: boolean;
13
+ tooltipContent: string;
13
14
  loading: boolean;
14
15
  iconLeft: string;
15
16
  iconRight: string;
@@ -48,9 +49,13 @@ declare const DaoButton: {
48
49
  type: BooleanConstructor;
49
50
  default: boolean;
50
51
  };
52
+ tooltipContent: {
53
+ type: StringConstructor;
54
+ default: undefined;
55
+ };
51
56
  }>> & {
52
57
  onClick?: ((...args: any[]) => any) | undefined;
53
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "loading" | "iconLeft" | "iconRight">;
58
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "tooltipContent" | "loading" | "iconLeft" | "iconRight">;
54
59
  $attrs: {
55
60
  [x: string]: unknown;
56
61
  };
@@ -99,6 +104,10 @@ declare const DaoButton: {
99
104
  type: BooleanConstructor;
100
105
  default: boolean;
101
106
  };
107
+ tooltipContent: {
108
+ type: StringConstructor;
109
+ default: undefined;
110
+ };
102
111
  }>> & {
103
112
  onClick?: ((...args: any[]) => any) | undefined;
104
113
  }, {
@@ -112,12 +121,16 @@ declare const DaoButton: {
112
121
  realIconRight: import("vue").ComputedRef<string>;
113
122
  leftIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
114
123
  rightIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
124
+ onMouseEnter: () => void;
125
+ onMouseLeave: () => void;
126
+ showTip: import("vue").Ref<boolean>;
115
127
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
116
128
  type: import("./props").ButtonType;
117
129
  disabled: boolean;
118
130
  useFont: boolean;
119
131
  size: "sm" | "md";
120
132
  block: boolean;
133
+ tooltipContent: string;
121
134
  loading: boolean;
122
135
  iconLeft: string;
123
136
  iconRight: string;
@@ -176,6 +189,10 @@ declare const DaoButton: {
176
189
  type: BooleanConstructor;
177
190
  default: boolean;
178
191
  };
192
+ tooltipContent: {
193
+ type: StringConstructor;
194
+ default: undefined;
195
+ };
179
196
  }>> & {
180
197
  onClick?: ((...args: any[]) => any) | undefined;
181
198
  } & import("vue").ShallowUnwrapRef<{
@@ -189,6 +206,9 @@ declare const DaoButton: {
189
206
  realIconRight: import("vue").ComputedRef<string>;
190
207
  leftIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
191
208
  rightIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
209
+ onMouseEnter: () => void;
210
+ onMouseLeave: () => void;
211
+ showTip: import("vue").Ref<boolean>;
192
212
  }> & {} & import("vue").ComponentCustomProperties & {};
193
213
  __isFragment?: undefined;
194
214
  __isTeleport?: undefined;
@@ -228,6 +248,10 @@ declare const DaoButton: {
228
248
  type: BooleanConstructor;
229
249
  default: boolean;
230
250
  };
251
+ tooltipContent: {
252
+ type: StringConstructor;
253
+ default: undefined;
254
+ };
231
255
  }>> & {
232
256
  onClick?: ((...args: any[]) => any) | undefined;
233
257
  }, {
@@ -241,12 +265,16 @@ declare const DaoButton: {
241
265
  realIconRight: import("vue").ComputedRef<string>;
242
266
  leftIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
243
267
  rightIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
268
+ onMouseEnter: () => void;
269
+ onMouseLeave: () => void;
270
+ showTip: import("vue").Ref<boolean>;
244
271
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
245
272
  type: import("./props").ButtonType;
246
273
  disabled: boolean;
247
274
  useFont: boolean;
248
275
  size: "sm" | "md";
249
276
  block: boolean;
277
+ tooltipContent: string;
250
278
  loading: boolean;
251
279
  iconLeft: string;
252
280
  iconRight: string;
@@ -254,6 +282,7 @@ declare const DaoButton: {
254
282
  $props: Partial<ButtonProps>;
255
283
  $slots: {
256
284
  default: SlotFn;
285
+ tooltipContent: SlotFn;
257
286
  };
258
287
  });
259
288
  export default DaoButton;
@@ -33,6 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  type: BooleanConstructor;
34
34
  default: boolean;
35
35
  };
36
+ tooltipContent: {
37
+ type: StringConstructor;
38
+ default: undefined;
39
+ };
36
40
  }, {
37
41
  classList: import("vue").ComputedRef<string[]>;
38
42
  handleClick: (event: MouseEvent) => void;
@@ -44,6 +48,9 @@ declare const _default: import("vue").DefineComponent<{
44
48
  realIconRight: import("vue").ComputedRef<string>;
45
49
  leftIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
46
50
  rightIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
51
+ onMouseEnter: () => void;
52
+ onMouseLeave: () => void;
53
+ showTip: import("vue").Ref<boolean>;
47
54
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
55
  type: {
49
56
  type: import("vue").PropType<import("./props").ButtonType>;
@@ -79,6 +86,10 @@ declare const _default: import("vue").DefineComponent<{
79
86
  type: BooleanConstructor;
80
87
  default: boolean;
81
88
  };
89
+ tooltipContent: {
90
+ type: StringConstructor;
91
+ default: undefined;
92
+ };
82
93
  }>> & {
83
94
  onClick?: ((...args: any[]) => any) | undefined;
84
95
  }, {
@@ -87,6 +98,7 @@ declare const _default: import("vue").DefineComponent<{
87
98
  useFont: boolean;
88
99
  size: "sm" | "md";
89
100
  block: boolean;
101
+ tooltipContent: string;
90
102
  loading: boolean;
91
103
  iconLeft: string;
92
104
  iconRight: string;
@@ -40,5 +40,9 @@ export declare const buttonProps: {
40
40
  type: BooleanConstructor;
41
41
  default: boolean;
42
42
  };
43
+ tooltipContent: {
44
+ type: StringConstructor;
45
+ default: undefined;
46
+ };
43
47
  };
44
48
  export type ButtonProps = ExtractPropTypes<typeof buttonProps>;