@sandlada/vue-mdc
Version:

49 lines • 1.5 kB
TypeScript
/**
* @license
* Copyright 2025 Sandlada & Kai Orion
* SPDX-License-Identifier: MIT
*/
import type { ExtractPublicPropTypes, PropType, VNode } from 'vue';
import { type TTooltipPosition, ETooltipPosition } from './tooltip-controller';
export declare const props: {
readonly position: {
readonly type: PropType<TTooltipPosition>;
readonly default: ETooltipPosition.Below;
};
readonly visibility: {
readonly type: PropType<boolean>;
readonly default: false;
};
readonly disabled: {
readonly type: PropType<boolean>;
readonly default: false;
};
readonly showDelay: {
readonly type: PropType<number>;
readonly default: 500;
};
readonly hideDelay: {
readonly type: PropType<number>;
readonly default: 200;
};
readonly anchor: {
readonly type: PropType<string>;
readonly default: null;
};
readonly disableElevation: {
readonly type: PropType<boolean>;
readonly default: false;
};
};
export type TRichTooltipProps = ExtractPublicPropTypes<typeof props>;
export type TRichTooltipSlots = {
/**
* Hyperlink <a></a> elements or other links should be used.
* According to design specifications,
* do not use Button and IconButton components in action slot.
*/
action?: Array<VNode>;
subhead?: Array<VNode>;
['supporting-text']?: Array<VNode>;
};
//# sourceMappingURL=rich-tooltip.definition.d.ts.map