@davincihealthcare/elty-design-system-vue 1.71.3 → 1.71.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.
@@ -1,6 +1,6 @@
1
1
  import { ElTabColors } from './ElTab.vue';
2
2
 
3
- export type ElTab = {
3
+ export type ElTabItem = {
4
4
  value?: string;
5
5
  label: string;
6
6
  disabled?: boolean;
@@ -11,13 +11,13 @@ export type ElTab = {
11
11
  };
12
12
  declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
13
13
  modelValue: string;
14
- tabs: ElTab[];
14
+ tabs: ElTabItem[];
15
15
  color?: ElTabColors;
16
16
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
17
  "update:modelValue": (modelValue: string) => void;
18
18
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
19
19
  modelValue: string;
20
- tabs: ElTab[];
20
+ tabs: ElTabItem[];
21
21
  color?: ElTabColors;
22
22
  }>>> & {
23
23
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
@@ -6,24 +6,29 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
6
6
  position?: ElTooltipPosition;
7
7
  /** Time in ms before the tooltip appears */
8
8
  delayTime?: string | number;
9
+ hideOnMobile?: boolean;
9
10
  }>, {
10
11
  content: undefined;
11
12
  position: string;
12
13
  delayTime: number;
14
+ hideOnMobile: boolean;
13
15
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
16
  title: string;
15
17
  content?: string;
16
18
  position?: ElTooltipPosition;
17
19
  /** Time in ms before the tooltip appears */
18
20
  delayTime?: string | number;
21
+ hideOnMobile?: boolean;
19
22
  }>, {
20
23
  content: undefined;
21
24
  position: string;
22
25
  delayTime: number;
26
+ hideOnMobile: boolean;
23
27
  }>>>, {
24
28
  content: string;
25
29
  position: ElTooltipPosition;
26
30
  delayTime: string | number;
31
+ hideOnMobile: boolean;
27
32
  }, {}>, {
28
33
  default?(_: {}): any;
29
34
  }>;
@@ -0,0 +1,3 @@
1
+ export declare function useMobile(): {
2
+ isMobile: import('vue').ComputedRef<boolean>;
3
+ };
package/dist/index.d.ts CHANGED
@@ -109,3 +109,4 @@ export { default as ElTooltip } from './ElTooltip.vue';
109
109
  export type { DataRow } from './table/commonTypes';
110
110
  export type { DataCell } from './table/ElTableCell.vue';
111
111
  export * from './forms/validation-rules';
112
+ export * from './composable/mobileComposable';