@evixcard/evx-ui-kit 1.12.3 → 1.12.4

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,4 +1,4 @@
1
- import { EvTooltipPosition } from './variants';
1
+ import { EvTooltipInteraction, EvTooltipPosition } from './variants';
2
2
  interface Props {
3
3
  /** Tooltip text. Ignored when the `#content` slot is provided. */
4
4
  content?: string;
@@ -8,6 +8,7 @@ interface Props {
8
8
  disabled?: boolean;
9
9
  /** Merged over the bubble's default classes via `twMerge`. */
10
10
  class?: string;
11
+ interaction?: EvTooltipInteraction;
11
12
  }
12
13
  declare function __VLS_template(): {
13
14
  attrs: Partial<{}>;
@@ -22,14 +23,23 @@ declare function __VLS_template(): {
22
23
  /** Optional rich tooltip body; overrides the `content` prop when present. */
23
24
  content?: () => unknown;
24
25
  };
25
- refs: {};
26
+ refs: {
27
+ triggerRef: HTMLSpanElement;
28
+ bubbleRef: HTMLSpanElement;
29
+ contentRef: HTMLSpanElement;
30
+ };
26
31
  rootEl: HTMLSpanElement;
27
32
  };
28
33
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
34
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
30
35
  disabled: boolean;
31
36
  position: EvTooltipPosition;
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
37
+ interaction: EvTooltipInteraction;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
39
+ triggerRef: HTMLSpanElement;
40
+ bubbleRef: HTMLSpanElement;
41
+ contentRef: HTMLSpanElement;
42
+ }, HTMLSpanElement>;
33
43
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
44
  export default _default;
35
45
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
1
  export { default as EvTooltip } from './EvTooltip.vue';
2
- export type { EvTooltipPosition } from './variants';
2
+ export type { EvTooltipInteraction, EvTooltipPosition } from './variants';
@@ -1,4 +1,5 @@
1
1
  export type EvTooltipPosition = 'top' | 'bottom' | 'left' | 'right';
2
+ export type EvTooltipInteraction = 'transient' | 'persistent';
2
3
  /**
3
4
  * Wrapper-relative placement for the tooltip bubble. The bubble is absolutely
4
5
  * positioned against the `relative` trigger wrapper, then centered on the