@davincihealthcare/elty-design-system-vue 1.68.2 → 1.69.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.
@@ -4,6 +4,7 @@ import { ElIconProps } from './ElIcon.vue';
4
4
  export interface ElIconButtonProps {
5
5
  icon: ElIconProps;
6
6
  tooltip?: string;
7
+ tooltipDelay?: string | number;
7
8
  disabled?: boolean;
8
9
  size?: ElIconButtonSize;
9
10
  loading?: boolean;
@@ -15,6 +16,7 @@ export declare const elIconButtonSizes: readonly ["xs", "sm", "base", "l", "xl"]
15
16
  export type ElIconButtonSize = (typeof elIconButtonSizes)[number];
16
17
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ElIconButtonProps>, {
17
18
  tooltip: undefined;
19
+ tooltipDelay: number;
18
20
  size: string;
19
21
  badgeColor: string;
20
22
  disabled: boolean;
@@ -25,6 +27,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
25
27
  click: () => void;
26
28
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ElIconButtonProps>, {
27
29
  tooltip: undefined;
30
+ tooltipDelay: number;
28
31
  size: string;
29
32
  badgeColor: string;
30
33
  disabled: boolean;
@@ -40,6 +43,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
40
43
  error: boolean;
41
44
  badge: string | boolean;
42
45
  tooltip: string;
46
+ tooltipDelay: string | number;
43
47
  badgeColor: ElBadgeColors;
44
48
  }, {}>;
45
49
  export default _default;
@@ -1,14 +1,30 @@
1
1
  export declare const elTooltipPositions: readonly ["bottom-left", "bottom", "bottom-right", "top-left", "top", "top-right", "left-start", "left", "left-end", "right-start", "right", "right-end"];
2
2
  export type ElTooltipPosition = (typeof elTooltipPositions)[number];
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  title: string;
5
5
  content?: string;
6
6
  position?: ElTooltipPosition;
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ /** Time in ms before the tooltip appears */
8
+ delayTime?: string | number;
9
+ }>, {
10
+ content: undefined;
11
+ position: string;
12
+ delayTime: number;
13
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
14
  title: string;
9
15
  content?: string;
10
16
  position?: ElTooltipPosition;
11
- }>>>, {}, {}>, {
17
+ /** Time in ms before the tooltip appears */
18
+ delayTime?: string | number;
19
+ }>, {
20
+ content: undefined;
21
+ position: string;
22
+ delayTime: number;
23
+ }>>>, {
24
+ content: string;
25
+ position: ElTooltipPosition;
26
+ delayTime: string | number;
27
+ }, {}>, {
12
28
  default?(_: {}): any;
13
29
  }>;
14
30
  export default _default;
@@ -21,6 +37,14 @@ type __VLS_TypePropsToRuntimeProps<T> = {
21
37
  required: true;
22
38
  };
23
39
  };
40
+ type __VLS_WithDefaults<P, D> = {
41
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
+ default: D[K];
43
+ }> : P[K];
44
+ };
45
+ type __VLS_Prettify<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
24
48
  type __VLS_WithTemplateSlots<T, S> = T & {
25
49
  new (): {
26
50
  $slots: S;