@ironsource/shared-ui 2.2.0-rc.42 → 2.2.0-rc.48

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.
Files changed (91) hide show
  1. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +1 -0
  2. package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +1 -0
  3. package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +1 -0
  5. package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +1 -0
  6. package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +1 -0
  7. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +1 -0
  8. package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +1 -0
  9. package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +1 -0
  10. package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +1 -0
  11. package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +1 -0
  12. package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +1 -0
  13. package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +1 -0
  14. package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +1 -0
  15. package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +1 -0
  16. package/components/autocomplete/index.d.ts +16 -16
  17. package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
  18. package/components/columnPicker/index.d.ts +20 -20
  19. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  20. package/components/dateRange/v4/DateRangeV4.vue2.js +28 -27
  21. package/components/dropdown/common/Dropdown.common.js +351 -274
  22. package/components/dropdown/v3/Dropdown.vue.d.ts +5 -5
  23. package/components/dropdown/v3/index.d.ts +77 -77
  24. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  25. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +38 -32
  26. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
  27. package/components/dropdown/v4/DropdownV4.vue.d.ts +50 -41
  28. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  29. package/components/dropdown/v4/DropdownV4.vue2.js +237 -216
  30. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +5 -0
  31. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
  32. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -9
  33. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  34. package/components/dropdown/v4/OptionV4.vue2.js +12 -12
  35. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  36. package/components/dropdown/v4/index.d.ts +2377 -2349
  37. package/components/helpText/HelpText.vue.js +3 -3
  38. package/components/helpText/HelpText.vue2.js +11 -10
  39. package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
  40. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  41. package/components/includeExclude/index.d.ts +54 -54
  42. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  43. package/components/inlineCopy/InlineCopy.vue.js +3 -3
  44. package/components/inlineCopy/InlineCopy.vue2.js +54 -53
  45. package/components/inlineCopy/index.d.ts +9 -0
  46. package/components/input/v4/TextField.vue.d.ts +5 -0
  47. package/components/input/v4/TextField.vue.js +2 -2
  48. package/components/input/v4/TextField.vue2.js +22 -19
  49. package/components/input/v4/index.d.ts +20 -1
  50. package/components/link/Link.vue.js +5 -5
  51. package/components/link/Link.vue2.js +30 -21
  52. package/components/search/v4/SearchV4.vue.d.ts +5 -0
  53. package/components/search/v4/SearchV4.vue.js +5 -5
  54. package/components/search/v4/SearchV4.vue2.js +23 -18
  55. package/components/search/v4/index.d.ts +9 -0
  56. package/components/shared/FieldLabel.vue.js +3 -3
  57. package/components/shared/FieldLabel.vue2.js +9 -8
  58. package/components/table/v4/DataGridMenu.vue.d.ts +5 -0
  59. package/components/table/v4/DataGridMenu.vue.js +5 -5
  60. package/components/table/v4/DataGridMenu.vue2.js +28 -22
  61. package/components/table/v4/index.d.ts +9 -0
  62. package/components/tabs/v4/TabsV4.vue.d.ts +5 -0
  63. package/components/tabs/v4/TabsV4.vue.js +3 -3
  64. package/components/tabs/v4/TabsV4.vue2.js +74 -43
  65. package/components/tabs/v4/index.d.ts +20 -1
  66. package/components/toggle/v4/ToggleV4.vue.d.ts +5 -0
  67. package/components/toggle/v4/ToggleV4.vue.js +3 -3
  68. package/components/toggle/v4/ToggleV4.vue2.js +50 -41
  69. package/components/toggle/v4/index.d.ts +20 -1
  70. package/components/tooltip/v4/TooltipV4.vue.d.ts +14 -1
  71. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  72. package/components/tooltip/v4/TooltipV4.vue2.js +85 -63
  73. package/components/tooltip/v4/index.d.ts +51 -4
  74. package/index.d.ts +2996 -2678
  75. package/index.js +1 -1
  76. package/package.json +5 -1
  77. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +0 -1
  78. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +0 -1
  79. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +0 -1
  80. package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +0 -1
  81. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +0 -1
  82. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +0 -1
  83. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +0 -1
  84. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +0 -1
  85. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +0 -1
  86. package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +0 -1
  87. package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +0 -1
  88. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +0 -1
  89. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +0 -1
  90. package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +0 -1
  91. package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +0 -1
@@ -8,6 +8,7 @@ declare const ToggleTypes: () => ({
8
8
  color: "primary" | "test";
9
9
  size: "small" | "medium";
10
10
  isLoading: boolean;
11
+ ariaLabel: string;
11
12
  hoverHelpText: string;
12
13
  hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
13
14
  feedbackText: string;
@@ -40,6 +41,10 @@ declare const ToggleTypes: () => ({
40
41
  type: import("vue").PropType<boolean>;
41
42
  default: boolean;
42
43
  };
44
+ ariaLabel: {
45
+ type: import("vue").PropType<string>;
46
+ default: any;
47
+ };
43
48
  hoverHelpText: {
44
49
  type: import("vue").PropType<string>;
45
50
  default: string;
@@ -70,7 +75,7 @@ declare const ToggleTypes: () => ({
70
75
  };
71
76
  }>> & {
72
77
  "onUpdate:modelValue"?: (value: boolean) => any;
73
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "testId" | "color" | "size" | "isLoading" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "isDisabled" | "activeText" | "inactiveText">;
78
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "testId" | "color" | "size" | "isLoading" | "ariaLabel" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "isDisabled" | "activeText" | "inactiveText">;
74
79
  $attrs: {
75
80
  [x: string]: unknown;
76
81
  };
@@ -109,6 +114,10 @@ declare const ToggleTypes: () => ({
109
114
  type: import("vue").PropType<boolean>;
110
115
  default: boolean;
111
116
  };
117
+ ariaLabel: {
118
+ type: import("vue").PropType<string>;
119
+ default: any;
120
+ };
112
121
  hoverHelpText: {
113
122
  type: import("vue").PropType<string>;
114
123
  default: string;
@@ -147,6 +156,7 @@ declare const ToggleTypes: () => ({
147
156
  color: "primary" | "test";
148
157
  size: "small" | "medium";
149
158
  isLoading: boolean;
159
+ ariaLabel: string;
150
160
  hoverHelpText: string;
151
161
  hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
152
162
  feedbackText: string;
@@ -199,6 +209,10 @@ declare const ToggleTypes: () => ({
199
209
  type: import("vue").PropType<boolean>;
200
210
  default: boolean;
201
211
  };
212
+ ariaLabel: {
213
+ type: import("vue").PropType<string>;
214
+ default: any;
215
+ };
202
216
  hoverHelpText: {
203
217
  type: import("vue").PropType<string>;
204
218
  default: string;
@@ -258,6 +272,10 @@ declare const ToggleTypes: () => ({
258
272
  type: import("vue").PropType<boolean>;
259
273
  default: boolean;
260
274
  };
275
+ ariaLabel: {
276
+ type: import("vue").PropType<string>;
277
+ default: any;
278
+ };
261
279
  hoverHelpText: {
262
280
  type: import("vue").PropType<string>;
263
281
  default: string;
@@ -296,6 +314,7 @@ declare const ToggleTypes: () => ({
296
314
  color: "primary" | "test";
297
315
  size: "small" | "medium";
298
316
  isLoading: boolean;
317
+ ariaLabel: string;
299
318
  hoverHelpText: string;
300
319
  hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
301
320
  feedbackText: string;
@@ -15,6 +15,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  autoHide?: boolean;
16
16
  dontWrapDisabled?: boolean;
17
17
  maxWidth?: string;
18
+ focusable?: boolean;
19
+ revealOnFocus?: boolean;
18
20
  }>, {
19
21
  text: any;
20
22
  header: any;
@@ -31,7 +33,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
33
  autoHide: boolean;
32
34
  dontWrapDisabled: boolean;
33
35
  maxWidth: string;
34
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ focusable: boolean;
37
+ revealOnFocus: boolean;
38
+ }>, {
39
+ isShown: import("vue").ComputedRef<boolean>;
40
+ libTriggers: import("vue").ComputedRef<TooltipTriggers[]>;
41
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
42
  show: () => void;
36
43
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
37
44
  text?: string;
@@ -49,6 +56,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
49
56
  autoHide?: boolean;
50
57
  dontWrapDisabled?: boolean;
51
58
  maxWidth?: string;
59
+ focusable?: boolean;
60
+ revealOnFocus?: boolean;
52
61
  }>, {
53
62
  text: any;
54
63
  header: any;
@@ -65,6 +74,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
65
74
  autoHide: boolean;
66
75
  dontWrapDisabled: boolean;
67
76
  maxWidth: string;
77
+ focusable: boolean;
78
+ revealOnFocus: boolean;
68
79
  }>>> & {
69
80
  onShow?: () => any;
70
81
  }, {
@@ -83,6 +94,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
83
94
  autoHide: boolean;
84
95
  dontWrapDisabled: boolean;
85
96
  maxWidth: string;
97
+ focusable: boolean;
98
+ revealOnFocus: boolean;
86
99
  }>, {
87
100
  default?(_: {}): any;
88
101
  tooltip?(_: {
@@ -1,8 +1,8 @@
1
1
  import o from "./TooltipV4.vue2.js";
2
2
  /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; //*');
3
+ // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css"; //*');
4
4
  // import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a8aebfee"]]);
5
+ const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-22e25f74"]]);
6
6
  export {
7
7
  l as default
8
8
  };
@@ -1,14 +1,11 @@
1
- import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as T, computed as C, onMounted as N, watch as B, onUnmounted as E, renderSlot as i, openBlock as c, createBlock as u, unref as n, mergeProps as g, withCtx as f, createTextVNode as b, toDisplayString as $, createElementVNode as I } from "vue";
2
- import V from "./TextWithTitleContent.vue.js";
3
- import { Tooltip as W } from "floating-vue";
4
- import { TooltipTestIdModifiers as p } from "../../../testids/index.js";
5
- import k from "../../typography/v4/Typography.vue.js";
6
- import { tooltipCommon as S } from "../common/Tooltip.common.js";
7
- import { useTestIdAttrs as A } from "../../../utils/testIds.js";
8
- const z = {
9
- ref: "container",
10
- class: "container"
11
- }, F = /* @__PURE__ */ T({
1
+ import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as W, ref as B, computed as u, onMounted as F, watch as z, onUnmounted as A, renderSlot as f, openBlock as h, createBlock as p, unref as n, mergeProps as C, withCtx as y, createTextVNode as D, toDisplayString as P, createElementVNode as R, normalizeClass as O } from "vue";
2
+ import G from "./TextWithTitleContent.vue.js";
3
+ import { Tooltip as H } from "floating-vue";
4
+ import { TooltipTestIdModifiers as v } from "../../../testids/index.js";
5
+ import Z from "../../typography/v4/Typography.vue.js";
6
+ import { tooltipCommon as j } from "../common/Tooltip.common.js";
7
+ import { useTestIdAttrs as K } from "../../../utils/testIds.js";
8
+ const U = ["tabindex"], _ = /* @__PURE__ */ W({
12
9
  __name: "TooltipV4",
13
10
  props: {
14
11
  text: { default: null },
@@ -25,90 +22,115 @@ const z = {
25
22
  shown: { type: Boolean, default: null },
26
23
  autoHide: { type: Boolean, default: !0 },
27
24
  dontWrapDisabled: { type: Boolean, default: !1 },
28
- maxWidth: { default: "21.875rem" }
25
+ maxWidth: { default: "21.875rem" },
26
+ focusable: { type: Boolean, default: !1 },
27
+ revealOnFocus: { type: Boolean, default: !0 }
29
28
  },
30
29
  emits: ["show"],
31
- setup(t, { emit: v }) {
32
- const a = t, { textForDisplay: m } = S(a), h = A(a.testId, p), d = (e) => `--tooltip-max-width-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, r = (e) => `max-width-class-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, x = (e) => {
33
- const o = r(e), l = d(e);
30
+ setup(o, { expose: E, emit: N }) {
31
+ const t = o, { textForDisplay: c } = j(t), g = K(t.testId, v), w = B(null), x = u(
32
+ () => (t.triggers || []).filter((e) => e !== "focus")
33
+ ), m = u(
34
+ () => t.revealOnFocus && !(t.triggers || []).includes("click")
35
+ ), s = B(!1), b = u(() => t.shown !== null && t.shown !== void 0 ? t.shown : m.value && s.value ? !0 : null), k = () => {
36
+ m.value && (s.value = !0);
37
+ }, I = (e) => {
38
+ if (!m.value)
39
+ return;
40
+ const a = e.relatedTarget;
41
+ a && w.value?.contains(a) || (s.value = !1);
42
+ }, S = (e) => {
43
+ e.key === "Escape" && s.value && (s.value = !1);
44
+ };
45
+ E({ isShown: b, libTriggers: x });
46
+ const d = (e) => `--tooltip-max-width-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, i = (e) => `max-width-class-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, $ = (e) => {
47
+ const a = i(e), l = d(e);
34
48
  return `
35
- .v-popper--theme-light-theme-v4.v4-tooltip.${o} .v-popper__wrapper {
49
+ .v-popper--theme-light-theme-v4.v4-tooltip.${a} .v-popper__wrapper {
36
50
  max-width: var(${l}, 21.875rem)
37
51
  }
38
52
  `;
39
- }, w = C(
53
+ }, V = u(
40
54
  () => [
41
- a.theme,
42
- a.placement,
55
+ t.theme,
56
+ t.placement,
43
57
  "v4-tooltip",
44
- a.maxWidth ? r(a.maxWidth) : ""
58
+ t.maxWidth ? i(t.maxWidth) : ""
45
59
  // This is the class name that will be used as a selector for the tooltip
46
60
  ].filter(Boolean)
47
- ), y = (e) => {
48
- const o = d(e), l = r(e);
49
- if (document.documentElement.style.setProperty(o, e), !document.getElementById(l)) {
50
- const s = document.createElement("style");
51
- s.id = l, s.textContent = x(e), document.head.appendChild(s);
61
+ ), T = (e) => {
62
+ const a = d(e), l = i(e);
63
+ if (document.documentElement.style.setProperty(a, e), !document.getElementById(l)) {
64
+ const r = document.createElement("style");
65
+ r.id = l, r.textContent = $(e), document.head.appendChild(r);
52
66
  }
53
67
  };
54
- return N(() => {
55
- a.maxWidth && y(a.maxWidth);
56
- }), B(
57
- () => a.maxWidth,
58
- (e, o) => {
59
- if (o) {
60
- const l = d(o);
68
+ return F(() => {
69
+ t.maxWidth && T(t.maxWidth);
70
+ }), z(
71
+ () => t.maxWidth,
72
+ (e, a) => {
73
+ if (a) {
74
+ const l = d(a);
61
75
  document.documentElement.style.removeProperty(l);
62
76
  }
63
- e && y(e);
77
+ e && T(e);
64
78
  }
65
- ), E(() => {
66
- if (a.maxWidth) {
67
- const e = d(a.maxWidth);
79
+ ), A(() => {
80
+ if (t.maxWidth) {
81
+ const e = d(t.maxWidth);
68
82
  document.documentElement.style.removeProperty(e);
69
- const o = r(a.maxWidth), l = document.getElementById(o), s = document.getElementsByClassName(o);
70
- l && s.length === 0 && l.remove();
83
+ const a = i(t.maxWidth), l = document.getElementById(a), r = document.getElementsByClassName(a);
84
+ l && r.length === 0 && l.remove();
71
85
  }
72
- }), (e, o) => (t.disabled || !t.text) && t.dontWrapDisabled ? i(e.$slots, "default", { key: 0 }, void 0, !0) : (c(), u(n(W), g({ key: 1 }, { ...e.$props, ...n(h)[n(p).TRIGGER] }, {
73
- theme: t.theme,
86
+ }), (e, a) => (o.disabled || !o.text) && o.dontWrapDisabled ? f(e.$slots, "default", { key: 0 }, void 0, !0) : (h(), p(n(H), C({ key: 1 }, { ...e.$props, ...n(g)[n(v).TRIGGER] }, {
87
+ theme: o.theme,
74
88
  "no-auto-focus": "",
75
- triggers: t.triggers,
76
- delay: { show: t.delay, hide: 0 },
77
- placement: t.placement,
78
- disabled: t.disabled || t.text && !n(m),
79
- "popper-class": n(w),
89
+ triggers: n(x),
90
+ delay: { show: o.delay, hide: 0 },
91
+ placement: o.placement,
92
+ disabled: o.disabled || o.text && !n(c),
93
+ "popper-class": n(V),
80
94
  class: ["v4-tooltip"],
81
- distance: t.distance,
82
- "auto-hide": t.autoHide,
83
- shown: t.shown,
84
- onApplyShow: o[0] || (o[0] = (l) => v("show"))
95
+ distance: o.distance,
96
+ "auto-hide": o.autoHide,
97
+ shown: n(b),
98
+ onApplyShow: a[0] || (a[0] = (l) => N("show"))
85
99
  }), {
86
- popper: f(() => [
87
- i(e.$slots, "tooltip", { text: n(m) }, () => [
88
- t.header ? (c(), u(V, {
100
+ popper: y(() => [
101
+ f(e.$slots, "tooltip", { text: n(c) }, () => [
102
+ o.header ? (h(), p(G, {
89
103
  key: 1,
90
- text: t.text,
91
- header: t.header
92
- }, null, 8, ["text", "header"])) : (c(), u(n(k), g({
104
+ text: o.text,
105
+ header: o.header
106
+ }, null, 8, ["text", "header"])) : (h(), p(n(Z), C({
93
107
  key: 0,
94
108
  variant: "body2"
95
- }, n(h)[n(p).TEXT]), {
96
- default: f(() => [
97
- b($(n(m)), 1)
109
+ }, n(g)[n(v).TEXT]), {
110
+ default: y(() => [
111
+ D(P(n(c)), 1)
98
112
  ]),
99
113
  _: 1
100
114
  }, 16))
101
115
  ], !0)
102
116
  ]),
103
- default: f(() => [
104
- I("div", z, [
105
- i(e.$slots, "default", {}, void 0, !0)
106
- ], 512)
117
+ default: y(() => [
118
+ R("div", {
119
+ ref_key: "container",
120
+ ref: w,
121
+ class: O(["container", { "container--focusable": o.focusable }]),
122
+ tabindex: o.focusable ? 0 : void 0,
123
+ onFocusin: k,
124
+ onFocusout: I,
125
+ onKeydown: S
126
+ }, [
127
+ f(e.$slots, "default", {}, void 0, !0)
128
+ ], 42, U)
107
129
  ]),
108
130
  _: 3
109
131
  }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance", "auto-hide", "shown"]));
110
132
  }
111
133
  });
112
134
  export {
113
- F as default
135
+ _ as default
114
136
  };
@@ -19,6 +19,8 @@ declare const TooltipTypes: () => ({
19
19
  autoHide: boolean;
20
20
  dontWrapDisabled: boolean;
21
21
  maxWidth: string;
22
+ focusable: boolean;
23
+ revealOnFocus: boolean;
22
24
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
23
25
  header: {
24
26
  type: import("vue").PropType<string>;
@@ -80,9 +82,17 @@ declare const TooltipTypes: () => ({
80
82
  type: import("vue").PropType<string>;
81
83
  default: string;
82
84
  };
85
+ focusable: {
86
+ type: import("vue").PropType<boolean>;
87
+ default: boolean;
88
+ };
89
+ revealOnFocus: {
90
+ type: import("vue").PropType<boolean>;
91
+ default: boolean;
92
+ };
83
93
  }>> & {
84
94
  onShow?: () => any;
85
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled" | "maxWidth">;
95
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled" | "maxWidth" | "focusable" | "revealOnFocus">;
86
96
  $attrs: {
87
97
  [x: string]: unknown;
88
98
  };
@@ -157,9 +167,20 @@ declare const TooltipTypes: () => ({
157
167
  type: import("vue").PropType<string>;
158
168
  default: string;
159
169
  };
170
+ focusable: {
171
+ type: import("vue").PropType<boolean>;
172
+ default: boolean;
173
+ };
174
+ revealOnFocus: {
175
+ type: import("vue").PropType<boolean>;
176
+ default: boolean;
177
+ };
160
178
  }>> & {
161
179
  onShow?: () => any;
162
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
180
+ }, {
181
+ isShown: import("vue").ComputedRef<boolean>;
182
+ libTriggers: import("vue").ComputedRef<import("../common/Tooltip.types").TooltipTriggers[]>;
183
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
163
184
  show: () => void;
164
185
  }, string, {
165
186
  header: string;
@@ -177,6 +198,8 @@ declare const TooltipTypes: () => ({
177
198
  autoHide: boolean;
178
199
  dontWrapDisabled: boolean;
179
200
  maxWidth: string;
201
+ focusable: boolean;
202
+ revealOnFocus: boolean;
180
203
  }, {}, string> & {
181
204
  beforeCreate?: (() => void) | (() => void)[];
182
205
  created?: (() => void) | (() => void)[];
@@ -258,9 +281,20 @@ declare const TooltipTypes: () => ({
258
281
  type: import("vue").PropType<string>;
259
282
  default: string;
260
283
  };
284
+ focusable: {
285
+ type: import("vue").PropType<boolean>;
286
+ default: boolean;
287
+ };
288
+ revealOnFocus: {
289
+ type: import("vue").PropType<boolean>;
290
+ default: boolean;
291
+ };
261
292
  }>> & {
262
293
  onShow?: () => any;
263
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
294
+ } & import("vue").ShallowUnwrapRef<{
295
+ isShown: import("vue").ComputedRef<boolean>;
296
+ libTriggers: import("vue").ComputedRef<import("../common/Tooltip.types").TooltipTriggers[]>;
297
+ }> & {} & import("vue").ComponentCustomProperties & {};
264
298
  __isFragment?: never;
265
299
  __isTeleport?: never;
266
300
  __isSuspense?: never;
@@ -325,9 +359,20 @@ declare const TooltipTypes: () => ({
325
359
  type: import("vue").PropType<string>;
326
360
  default: string;
327
361
  };
362
+ focusable: {
363
+ type: import("vue").PropType<boolean>;
364
+ default: boolean;
365
+ };
366
+ revealOnFocus: {
367
+ type: import("vue").PropType<boolean>;
368
+ default: boolean;
369
+ };
328
370
  }>> & {
329
371
  onShow?: () => any;
330
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
372
+ }, {
373
+ isShown: import("vue").ComputedRef<boolean>;
374
+ libTriggers: import("vue").ComputedRef<import("../common/Tooltip.types").TooltipTriggers[]>;
375
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
331
376
  show: () => void;
332
377
  }, string, {
333
378
  header: string;
@@ -345,6 +390,8 @@ declare const TooltipTypes: () => ({
345
390
  autoHide: boolean;
346
391
  dontWrapDisabled: boolean;
347
392
  maxWidth: string;
393
+ focusable: boolean;
394
+ revealOnFocus: boolean;
348
395
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
349
396
  $slots: {
350
397
  default?(_: {}): any;