@wisemen/vue-core-components 1.14.0 → 1.16.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.
- package/dist/{AlertCircleIcon-fcXnuBqJ.js → AlertCircleIcon-DelrXF7c.js} +1 -1
- package/dist/{AlertTriangleIcon-bEl_t9r5.js → AlertTriangleIcon-CFrELJcW.js} +1 -1
- package/dist/{ArrowDownIcon-40NXK7Vl.js → ArrowDownIcon-YUzB99vf.js} +1 -1
- package/dist/{ArrowLeftIcon-BT6VMgMl.js → ArrowLeftIcon-DQOLkI3G.js} +1 -1
- package/dist/{ArrowRightIcon-CnoN31rW.js → ArrowRightIcon-DPGsCuTm.js} +1 -1
- package/dist/{ArrowUpIcon-DNHQuoV0.js → ArrowUpIcon-BYiLoeeM.js} +1 -1
- package/dist/{CalendarIcon-DFsIV7vR.js → CalendarIcon-CaXOeBIG.js} +1 -1
- package/dist/{CheckCircleIcon-1CyEX94w.js → CheckCircleIcon-4nD6B6qw.js} +1 -1
- package/dist/{CheckIcon-c_POodYB.js → CheckIcon-GzostKdM.js} +1 -1
- package/dist/{ChevronLeftDoubleIcon-DMr77Dko.js → ChevronLeftDoubleIcon-BJ0D12Dc.js} +1 -1
- package/dist/{ChevronLeftIcon-Bv8Vd9FA.js → ChevronLeftIcon-3rZM_Sqp.js} +1 -1
- package/dist/{ChevronRightDoubleIcon-Cv4KBxEb.js → ChevronRightDoubleIcon-DCEN8uqA.js} +1 -1
- package/dist/{ChevronRightIcon-CbLXi5Jd.js → ChevronRightIcon-neBbVEWj.js} +1 -1
- package/dist/{CloseIcon-60tsUF8I.js → CloseIcon-B_VHoSvl.js} +1 -1
- package/dist/{EyeIcon-B_AlX8Jy.js → EyeIcon-YhMct6aT.js} +1 -1
- package/dist/{EyeOffIcon-CmxYc9Px.js → EyeOffIcon-z84NVCfW.js} +1 -1
- package/dist/{InfoCircleIcon-Bqg1e3it.js → InfoCircleIcon-Do8jlre3.js} +1 -1
- package/dist/{MinusIcon-iOnJX-zP.js → MinusIcon-Cg7Y1Zzn.js} +1 -1
- package/dist/{PlusIcon-BeXpE8b7.js → PlusIcon-CGSS6aDj.js} +1 -1
- package/dist/{SearchIcon-Dzxyq1H3.js → SearchIcon-DAeP3qTk.js} +1 -1
- package/dist/{SelectIconRight-B2xWTVv_.js → SelectIconRight-DtGBKWnU.js} +1 -1
- package/dist/{StarsIcon-BwR-QoDm.js → StarsIcon-CWbJpnyG.js} +1 -1
- package/dist/{SwitchVerticalIcon-hWiCbGHv.js → SwitchVerticalIcon-DuMoRd-N.js} +1 -1
- package/dist/{TranslateIcon-D_CV6NQy.js → TranslateIcon-CLNdq2P3.js} +1 -1
- package/dist/components/address-autocomplete/addressAutocomplete.type.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete.props.d.ts +7 -1
- package/dist/components/badge/parts/BadgeRoot.d.ts +1 -1
- package/dist/components/button/default-button/parts/ButtonRoot.d.ts +1 -1
- package/dist/components/button/icon-button/parts/IconButtonRoot.d.ts +1 -1
- package/dist/components/button/router-link-button/parts/RouterLinkButtonRoot.d.ts +1 -1
- package/dist/components/button/router-link-button/routerLinkButton.props.d.ts +1 -1
- package/dist/components/config-provider/ConfigProvider.d.ts +6 -4
- package/dist/components/config-provider/config.context.d.ts +2 -2
- package/dist/components/dropdown-menu/index.d.ts +1 -1
- package/dist/components/dropdown-menu/parts/DropdownMenuSubMenuTransition.d.ts +2 -6
- package/dist/components/popover/parts/PopoverContentTransition.d.ts +2 -6
- package/dist/components/switch/parts/SwitchRoot.d.ts +1 -1
- package/dist/components/textarea/parts/TextareaRoot.d.ts +1 -1
- package/dist/components/toast/toast.composable.d.ts +23 -0
- package/dist/components/toast/toast.style.d.ts +18 -18
- package/dist/components/tooltip/TooltipProvider.d.ts +17 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/parts/TooltipContentTransition.d.ts +2 -6
- package/dist/components/tooltip/parts/TooltipRoot.d.ts +1 -1
- package/dist/components/tooltip/tooltip.context.d.ts +1 -0
- package/dist/{index-DyogA3ZW.js → index-DOv-oW06.js} +8696 -10479
- package/dist/index.js +47 -45
- package/dist/index.umd +14 -14
- package/dist/libs/tailwindVariants.lib.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { AcceptableValue } from 'reka-ui';
|
|
2
2
|
import { SelectProps } from '../select/select.props';
|
|
3
3
|
import { FormElement } from '../../utils/props.util';
|
|
4
|
-
export interface AutocompleteProps<TValue extends AcceptableValue> extends Omit<SelectProps<TValue>, 'virtualList'>, FormElement {
|
|
4
|
+
export interface AutocompleteProps<TValue extends AcceptableValue> extends Omit<SelectProps<TValue>, 'filter' | 'virtualList'>, FormElement {
|
|
5
|
+
/**
|
|
6
|
+
* Whether the search term is optional.
|
|
7
|
+
* If `true`, the dropdown can be opened without entering a search term.
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
isSearchTermOptional?: boolean;
|
|
5
11
|
/**
|
|
6
12
|
* The debounce timeout in milliseconds.
|
|
7
13
|
* @default 300
|
|
@@ -14,8 +14,8 @@ declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {},
|
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{
|
|
15
15
|
onRemove?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
+
size: "sm" | "md" | "lg";
|
|
17
18
|
icon: import('../../..').Icon | null;
|
|
18
|
-
size: "lg" | "md" | "sm";
|
|
19
19
|
testId: string | null;
|
|
20
20
|
classConfig: ResolvedClassConfig<"badge"> | null;
|
|
21
21
|
isRemovable: boolean;
|
|
@@ -17,8 +17,8 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
|
|
|
17
17
|
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
18
18
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
|
+
size: "sm" | "md" | "lg" | "xl" | "2xl";
|
|
20
21
|
variant: "destructive-primary" | "destructive-secondary" | "destructive-tertiary" | "primary" | "secondary" | "tertiary";
|
|
21
|
-
size: "lg" | "md" | "sm" | "2xl" | "xl";
|
|
22
22
|
iconLeft: import('../../../..').Icon | null;
|
|
23
23
|
iconRight: import('../../../..').Icon | null;
|
|
24
24
|
isLoading: boolean;
|
|
@@ -17,8 +17,8 @@ declare const __VLS_component: import('vue').DefineComponent<IconButtonProps, {}
|
|
|
17
17
|
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
18
18
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
|
+
size: "sm" | "md" | "lg" | "xl" | "2xl";
|
|
20
21
|
variant: "destructive-primary" | "destructive-secondary" | "destructive-tertiary" | "primary" | "secondary" | "tertiary";
|
|
21
|
-
size: "lg" | "md" | "sm" | "2xl" | "xl";
|
|
22
22
|
isLoading: boolean;
|
|
23
23
|
testId: string | null;
|
|
24
24
|
isDisabled: boolean;
|
|
@@ -9,8 +9,8 @@ declare function __VLS_template(): {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<RouterLinkButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RouterLinkButtonProps> & Readonly<{}>, {
|
|
12
|
+
size: "sm" | "md" | "lg" | "xl" | "2xl";
|
|
12
13
|
variant: "destructive-primary" | "destructive-secondary" | "destructive-tertiary" | "primary" | "secondary" | "tertiary";
|
|
13
|
-
size: "lg" | "md" | "sm" | "2xl" | "xl";
|
|
14
14
|
iconLeft: import('../../../..').Icon | null;
|
|
15
15
|
iconRight: import('../../../..').Icon | null;
|
|
16
16
|
testId: string | null;
|
|
@@ -15,5 +15,5 @@ export interface RouterLinkButtonProps extends Omit<TextButtonProps, 'isDisabled
|
|
|
15
15
|
* Defines the visual style of the button.
|
|
16
16
|
* @default 'primary'
|
|
17
17
|
*/
|
|
18
|
-
variant?: GetComponentProp<'
|
|
18
|
+
variant?: GetComponentProp<'routerLinkButton', 'variant'>;
|
|
19
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ToastPosition } from '../toast/toast.composable';
|
|
1
|
+
import { AutoCloseToastConfig, ToastPosition } from '../toast/toast.composable';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
/**
|
|
4
4
|
* Whether the keyboard shortcut hints should be hidden.
|
|
@@ -6,10 +6,12 @@ type __VLS_Props = {
|
|
|
6
6
|
*/
|
|
7
7
|
areKeyboardShortcutHintsHidden?: boolean;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Configuration for automatically closing toast notifications.
|
|
10
|
+
* Accepts an object with properties `error`, `info`, and `success`, each of which can
|
|
11
|
+
* be a boolean (to enable/disable auto-close) or a number (timeout in milliseconds).
|
|
12
|
+
* For example: `{ error: true, info: 5000, success: false }`
|
|
11
13
|
*/
|
|
12
|
-
autoCloseToast?:
|
|
14
|
+
autoCloseToast?: AutoCloseToastConfig;
|
|
13
15
|
/**
|
|
14
16
|
* The Google Maps API key (used for example to validate addresses using the AddressAutocomplete component).
|
|
15
17
|
* @default null
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
-
import { ToastPosition } from '../toast/toast.composable';
|
|
2
|
+
import { AutoCloseToastConfig, ToastPosition } from '../toast/toast.composable';
|
|
3
3
|
interface ConfigContext {
|
|
4
4
|
areKeyboardShortcutHintsHidden: ComputedRef<boolean>;
|
|
5
|
-
autoCloseToast: ComputedRef<
|
|
5
|
+
autoCloseToast: ComputedRef<AutoCloseToastConfig | null>;
|
|
6
6
|
googleMapsApiKey: string | null;
|
|
7
7
|
locale: ComputedRef<string>;
|
|
8
8
|
pagination?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { DropdownMenuItemProps as
|
|
1
|
+
export type { DropdownMenuItemProps as VcDropdownMenuItemProps, DropdownMenuProps as VcDropdownMenuProps, } from './dropdownMenu.props';
|
|
2
2
|
export { createDropdownMenuStyle } from './dropdownMenu.style';
|
|
3
3
|
export { default as VcDropdownMenu } from './DropdownMenu';
|
|
4
4
|
export { default as VcDropdownMenuArrow } from './parts/DropdownMenuArrow';
|
|
@@ -3,15 +3,11 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
7
|
-
motionRef: import('vue').ShallowUnwrapRef<{}> | null;
|
|
8
|
-
};
|
|
6
|
+
refs: {};
|
|
9
7
|
rootEl: any;
|
|
10
8
|
};
|
|
11
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
13
|
-
motionRef: import('vue').ShallowUnwrapRef<{}> | null;
|
|
14
|
-
}, any>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
12
|
export default _default;
|
|
17
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,15 +3,11 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
7
|
-
motionRef: import('vue').ShallowUnwrapRef<{}> | null;
|
|
8
|
-
};
|
|
6
|
+
refs: {};
|
|
9
7
|
rootEl: any;
|
|
10
8
|
};
|
|
11
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
13
|
-
motionRef: import('vue').ShallowUnwrapRef<{}> | null;
|
|
14
|
-
}, any>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
12
|
export default _default;
|
|
17
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -22,8 +22,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
22
22
|
onBlur?: (() => any) | undefined;
|
|
23
23
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
+
size: "sm" | "md";
|
|
25
26
|
variant: null;
|
|
26
|
-
size: "md" | "sm";
|
|
27
27
|
label: string | null;
|
|
28
28
|
hint: string | null;
|
|
29
29
|
testId: string | null;
|
|
@@ -22,11 +22,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
22
22
|
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
23
23
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
+
resize: "auto-vertical" | "both" | "horizontal" | "none" | "vertical";
|
|
25
26
|
variant: null;
|
|
26
27
|
label: string | null;
|
|
27
28
|
hint: string | null;
|
|
28
29
|
placeholder: string | null;
|
|
29
|
-
resize: "auto-vertical" | "both" | "horizontal" | "none" | "vertical";
|
|
30
30
|
testId: string | null;
|
|
31
31
|
isDisabled: boolean;
|
|
32
32
|
id: string | null;
|
|
@@ -1,7 +1,30 @@
|
|
|
1
1
|
import { ToastT } from 'vue-sonner';
|
|
2
2
|
import { ToastProps } from './toast.props';
|
|
3
|
+
export interface AutoCloseToastConfig {
|
|
4
|
+
/**
|
|
5
|
+
* If `true`, error toasts will automatically close after a default duration.
|
|
6
|
+
* If a number is provided, error toasts will automatically close after the specified duration in milliseconds.
|
|
7
|
+
*/
|
|
8
|
+
error?: boolean | number;
|
|
9
|
+
/**
|
|
10
|
+
* If `true`, info toasts will automatically close after a default duration.
|
|
11
|
+
* If a number is provided, info toasts will automatically close after the specified duration in milliseconds.
|
|
12
|
+
*/
|
|
13
|
+
info?: boolean | number;
|
|
14
|
+
/**
|
|
15
|
+
* If `true`, success toasts will automatically close after a default duration.
|
|
16
|
+
* If a number is provided, success toasts will automatically close after the specified duration in milliseconds.
|
|
17
|
+
*/
|
|
18
|
+
success?: boolean | number;
|
|
19
|
+
}
|
|
3
20
|
export type ToastPosition = NonNullable<ToastT['position']>;
|
|
4
21
|
interface ToastOptions extends Omit<ToastProps, 'type'> {
|
|
22
|
+
/**
|
|
23
|
+
* The time in milliseconds after which the toast will automatically close.
|
|
24
|
+
* If no timeout is provided, the toast will not automatically close unless `autoCloseToast` is set to `true`
|
|
25
|
+
* in the config provider component.
|
|
26
|
+
*/
|
|
27
|
+
durationMs?: number | null;
|
|
5
28
|
}
|
|
6
29
|
interface UseToastReturnType {
|
|
7
30
|
error: (toast: ToastOptions) => void;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { VariantProps } from 'tailwind-variants';
|
|
2
2
|
export declare const createToastStyle: import('tailwind-variants').TVReturnType<{
|
|
3
3
|
[key: string]: {
|
|
4
|
-
[key: string]: import('tailwind-
|
|
5
|
-
root?: import('tailwind-
|
|
6
|
-
icon?: import('tailwind-
|
|
7
|
-
title?: import('tailwind-
|
|
8
|
-
actions?: import('tailwind-
|
|
9
|
-
description?: import('tailwind-
|
|
4
|
+
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
5
|
+
root?: import('tailwind-merge').ClassNameValue;
|
|
6
|
+
icon?: import('tailwind-merge').ClassNameValue;
|
|
7
|
+
title?: import('tailwind-merge').ClassNameValue;
|
|
8
|
+
actions?: import('tailwind-merge').ClassNameValue;
|
|
9
|
+
description?: import('tailwind-merge').ClassNameValue;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
} | {
|
|
13
13
|
[x: string]: {
|
|
14
|
-
[x: string]: import('tailwind-
|
|
15
|
-
root?: import('tailwind-
|
|
16
|
-
icon?: import('tailwind-
|
|
17
|
-
title?: import('tailwind-
|
|
18
|
-
actions?: import('tailwind-
|
|
19
|
-
description?: import('tailwind-
|
|
14
|
+
[x: string]: import('tailwind-merge').ClassNameValue | {
|
|
15
|
+
root?: import('tailwind-merge').ClassNameValue;
|
|
16
|
+
icon?: import('tailwind-merge').ClassNameValue;
|
|
17
|
+
title?: import('tailwind-merge').ClassNameValue;
|
|
18
|
+
actions?: import('tailwind-merge').ClassNameValue;
|
|
19
|
+
description?: import('tailwind-merge').ClassNameValue;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
} | {}, {
|
|
@@ -27,12 +27,12 @@ export declare const createToastStyle: import('tailwind-variants').TVReturnType<
|
|
|
27
27
|
root: string;
|
|
28
28
|
}, undefined, {
|
|
29
29
|
[key: string]: {
|
|
30
|
-
[key: string]: import('tailwind-
|
|
31
|
-
root?: import('tailwind-
|
|
32
|
-
icon?: import('tailwind-
|
|
33
|
-
title?: import('tailwind-
|
|
34
|
-
actions?: import('tailwind-
|
|
35
|
-
description?: import('tailwind-
|
|
30
|
+
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
31
|
+
root?: import('tailwind-merge').ClassNameValue;
|
|
32
|
+
icon?: import('tailwind-merge').ClassNameValue;
|
|
33
|
+
title?: import('tailwind-merge').ClassNameValue;
|
|
34
|
+
actions?: import('tailwind-merge').ClassNameValue;
|
|
35
|
+
description?: import('tailwind-merge').ClassNameValue;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
} | {}, {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { useInjectToastContext } from '../toast/toast.context';
|
|
1
2
|
export { default as VcTooltipArrow } from './parts/TooltipArrow';
|
|
2
3
|
export { default as VcTooltipContent } from './parts/TooltipContent';
|
|
3
4
|
export { default as VcTooltipContentTransition } from './parts/TooltipContentTransition';
|
|
@@ -8,3 +9,4 @@ export { default as VcTooltipTrigger } from './parts/TooltipTrigger';
|
|
|
8
9
|
export type { TooltipProps as VcTooltipProps } from './tooltip.props';
|
|
9
10
|
export { createTooltipStyle } from './tooltip.style';
|
|
10
11
|
export { default as VcTooltip } from './Tooltip';
|
|
12
|
+
export { default as VcTooltipProvider } from './TooltipProvider';
|
|
@@ -3,15 +3,11 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
7
|
-
motionRef: import('vue').ShallowUnwrapRef<{}> | null;
|
|
8
|
-
};
|
|
6
|
+
refs: {};
|
|
9
7
|
rootEl: any;
|
|
10
8
|
};
|
|
11
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
13
|
-
motionRef: import('vue').ShallowUnwrapRef<{}> | null;
|
|
14
|
-
}, any>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
12
|
export default _default;
|
|
17
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -35,8 +35,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
35
35
|
innerContent?: string | undefined;
|
|
36
36
|
} | null;
|
|
37
37
|
delayDuration: number;
|
|
38
|
-
disableCloseOnTriggerClick: boolean;
|
|
39
38
|
disableHoverableContent: boolean;
|
|
39
|
+
disableCloseOnTriggerClick: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
42
|
export default _default;
|
|
@@ -4,6 +4,7 @@ import { TooltipProps } from './tooltip.props';
|
|
|
4
4
|
import { CreateTooltipStyle } from './tooltip.style';
|
|
5
5
|
import { PropsToComputed } from '../../utils/props.util';
|
|
6
6
|
interface TooltipContext extends PropsToComputed<TooltipProps> {
|
|
7
|
+
isInitialAnimationEnabled: ComputedRef<boolean>;
|
|
7
8
|
isOpen: ComputedRef<boolean>;
|
|
8
9
|
customClassConfig: ComputedRef<ResolvedClassConfig<'tooltip'>>;
|
|
9
10
|
style: ComputedRef<CreateTooltipStyle>;
|