@ironsource/shared-ui 2.1.11-test.5 → 2.1.11-test.50

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 (191) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +1 -0
  2. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +1 -0
  5. package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +1 -0
  7. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +1 -0
  8. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
  9. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_27802170_lang.css +1 -0
  10. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
  11. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
  12. package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
  13. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
  14. package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
  15. package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
  16. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
  17. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
  18. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
  19. package/IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css +1 -0
  20. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
  21. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
  22. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
  23. package/README.md +4 -15
  24. package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
  25. package/SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css +1 -0
  26. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
  27. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
  28. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +1 -0
  29. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  30. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
  31. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
  32. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  33. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
  34. package/Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css +1 -0
  35. package/components/autocomplete/Autocomplete.vue2.js +3 -2
  36. package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
  37. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  38. package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
  39. package/components/button/v4/index.d.ts +9 -3
  40. package/components/chart/Chart.vue.d.ts +16 -3
  41. package/components/chart/Chart.vue.js +5 -5
  42. package/components/chart/Chart.vue2.js +127 -110
  43. package/components/chart/ChartHeader.vue.d.ts +13 -6
  44. package/components/chart/ChartHeader.vue.js +2 -2
  45. package/components/chart/ChartHeader.vue2.js +32 -29
  46. package/components/chart/ChartLegend.vue.d.ts +5 -0
  47. package/components/chart/ChartLegend.vue.js +3 -3
  48. package/components/chart/ChartLegend.vue2.js +99 -49
  49. package/components/chart/ChartTooltip.vue.d.ts +4 -5
  50. package/components/chart/ChartTooltip.vue.js +2 -2
  51. package/components/chart/ChartTooltip.vue2.js +64 -43
  52. package/components/chart/SettingsHeader.vue2.js +3 -2
  53. package/components/chart/index.d.ts +55 -16
  54. package/components/chart/mockData.d.ts +15 -2
  55. package/components/chart/types.d.ts +15 -1
  56. package/components/chart/utils/utils.js +5 -5
  57. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  58. package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
  59. package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
  60. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  61. package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
  62. package/components/dialog/v4/DialogV4.vue.d.ts +15 -0
  63. package/components/dialog/v4/DialogV4.vue.js +3 -3
  64. package/components/dialog/v4/DialogV4.vue2.js +80 -73
  65. package/components/dialog/v4/index.d.ts +58 -1
  66. package/components/dropdown/common/Dropdown.common.js +200 -189
  67. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  68. package/components/dropdown/v3/index.d.ts +39 -39
  69. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
  70. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +15 -0
  71. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
  72. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +42 -20
  73. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  74. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
  75. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
  76. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  77. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +88 -47
  78. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +110 -0
  79. package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
  80. package/components/dropdown/v4/ConditionalDropdown.vue2.js +224 -0
  81. package/components/dropdown/v4/DropdownV4.vue.d.ts +32 -11
  82. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  83. package/components/dropdown/v4/DropdownV4.vue2.js +153 -138
  84. package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
  85. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  86. package/components/dropdown/v4/OptionV4.vue2.js +135 -98
  87. package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
  88. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  89. package/components/dropdown/v4/TreeDropdown.vue2.js +165 -120
  90. package/components/dropdown/v4/index.d.ts +443 -110
  91. package/components/dropdown/v4/index.js +6 -3
  92. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  93. package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
  94. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +2 -2
  95. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
  96. package/components/forms/FormCard.vue.js +3 -3
  97. package/components/forms/FormCard.vue2.js +1 -1
  98. package/components/icon/v4/IconFlag.vue.js +3 -3
  99. package/components/icon/v4/IconFlag.vue2.js +1 -1
  100. package/components/icon/v4/consts.d.ts +1 -1
  101. package/components/icon/v4/consts.js +1 -1
  102. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  103. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  104. package/components/inlineCopy/InlineCopy.vue2.js +24 -22
  105. package/components/inlineCopy/index.d.ts +9 -0
  106. package/components/input/v4/TextField.vue.js +3 -3
  107. package/components/input/v4/TextField.vue2.js +185 -165
  108. package/components/multibar/MultiBarMenu.vue2.js +3 -2
  109. package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
  110. package/components/popover/v4/PopoverV4.vue.js +4 -3
  111. package/components/popover/v4/PopoverV4.vue2.js +40 -24
  112. package/components/popover/v4/index.d.ts +55 -11
  113. package/components/snackbar/v4/SnackbarV4.vue.d.ts +7 -116
  114. package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
  115. package/components/snackbar/v4/SnackbarV4.vue2.js +62 -60
  116. package/components/sortableList/SortableItem.vue.d.ts +5 -0
  117. package/components/sortableList/SortableItem.vue.js +2 -2
  118. package/components/sortableList/SortableItem.vue2.js +86 -70
  119. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  120. package/components/sortableList/SortableItemLabel.vue2.js +20 -23
  121. package/components/sortableList/SortableList.vue.d.ts +17 -1
  122. package/components/sortableList/SortableList.vue.js +4 -4
  123. package/components/sortableList/SortableList.vue2.js +113 -94
  124. package/components/sortableList/index.d.ts +63 -5
  125. package/components/table/common/Table.common.d.ts +1 -1
  126. package/components/table/common/Table.common.js +83 -77
  127. package/components/table/common/Table.types.d.ts +1 -1
  128. package/components/table/common/consts.d.ts +4 -0
  129. package/components/table/common/consts.js +7 -0
  130. package/components/table/v3/Table.vue.d.ts +1 -1
  131. package/components/table/v3/index.d.ts +5 -5
  132. package/components/table/v4/DataGrid.vue.d.ts +12 -2
  133. package/components/table/v4/DataGrid.vue.js +2 -2
  134. package/components/table/v4/DataGrid.vue2.js +164 -155
  135. package/components/table/v4/DataGridMenu.vue.js +5 -5
  136. package/components/table/v4/DataGridMenu.vue2.js +4 -3
  137. package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
  138. package/components/table/v4/index.d.ts +84 -46
  139. package/components/table-cells/common/Editable.common.js +29 -23
  140. package/components/table-cells/common/EditableContext.d.ts +1 -0
  141. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  142. package/components/table-cells/v4/EditableV4.vue.js +3 -3
  143. package/components/table-cells/v4/EditableV4.vue2.js +11 -10
  144. package/components/table-cells/v4/index.d.ts +20 -1
  145. package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
  146. package/components/tooltip/v4/TooltipV4.vue.js +3 -3
  147. package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
  148. package/components/tooltip/v4/index.d.ts +39 -1
  149. package/components/typography/v4/Typography.vue.js +3 -3
  150. package/components/typography/v4/Typography.vue2.js +24 -18
  151. package/design-foundation.stories/icons/iconsData.d.ts +1 -1
  152. package/index.d.ts +1626 -366
  153. package/index.js +1 -1
  154. package/mocks/options.d.ts +48 -6
  155. package/mocks/words.d.ts +1 -1
  156. package/package.json +2 -1
  157. package/style/v4/grid.css +1 -1
  158. package/style/v4/grid.css.map +1 -1
  159. package/style/v4/spacings.scss +1 -0
  160. package/testids/index.d.ts +2 -0
  161. package/testids/index.js +13 -13
  162. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
  163. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
  164. package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
  165. package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +0 -1
  166. package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +0 -1
  167. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +0 -1
  168. package/CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css +0 -1
  169. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
  170. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
  171. package/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
  172. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
  173. package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +0 -1
  174. package/DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css +0 -1
  175. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
  176. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
  177. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
  178. package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
  179. package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +0 -1
  180. package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
  181. package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
  182. package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
  183. package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
  184. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
  185. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
  186. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +0 -1
  187. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
  188. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
  189. package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
  190. package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
  191. package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
@@ -11,6 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  testId?: string;
12
12
  distance?: string | number;
13
13
  container?: string;
14
+ shown?: boolean;
15
+ autoHide?: boolean;
14
16
  }>, {
15
17
  text: any;
16
18
  header: any;
@@ -23,6 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
25
  testId: string;
24
26
  distance: string;
25
27
  container: string;
28
+ shown: any;
29
+ autoHide: boolean;
26
30
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
31
  show: () => void;
28
32
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -37,6 +41,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
41
  testId?: string;
38
42
  distance?: string | number;
39
43
  container?: string;
44
+ shown?: boolean;
45
+ autoHide?: boolean;
40
46
  }>, {
41
47
  text: any;
42
48
  header: any;
@@ -49,6 +55,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
49
55
  testId: string;
50
56
  distance: string;
51
57
  container: string;
58
+ shown: any;
59
+ autoHide: boolean;
52
60
  }>>> & {
53
61
  onShow?: () => any;
54
62
  }, {
@@ -63,6 +71,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
63
71
  disabled: boolean;
64
72
  distance: string | number;
65
73
  container: string;
74
+ shown: boolean;
75
+ autoHide: boolean;
66
76
  }>, {
67
77
  default?(_: {}): any;
68
78
  tooltip?(_: {
@@ -1,8 +1,8 @@
1
1
  import o from "./TooltipV4.vue2.js";
2
- /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css"; //*');
2
+ /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css"; //*');
4
4
  // import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-fcdb9d02"]]);
5
+ const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-66eab856"]]);
6
6
  export {
7
7
  l as default
8
8
  };
@@ -1,14 +1,14 @@
1
- import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as h, openBlock as l, createBlock as d, unref as t, mergeProps as f, withCtx as r, renderSlot as u, createTextVNode as p, toDisplayString as y, createElementVNode as T } from "vue";
1
+ import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as c, openBlock as l, createBlock as d, unref as t, mergeProps as f, withCtx as n, renderSlot as m, createTextVNode as p, toDisplayString as y, createElementVNode as T } from "vue";
2
2
  import g from "./TextWithTitleContent.vue.js";
3
- import { Tooltip as x } from "floating-vue";
3
+ import { Tooltip as w } from "floating-vue";
4
4
  import { TooltipTestIdModifiers as i } from "../../../testids/index.js";
5
- import v from "../../typography/v4/Typography.vue.js";
6
- import { tooltipCommon as b } from "../common/Tooltip.common.js";
7
- import { useTestIdAttrs as w } from "../../../utils/testIds.js";
8
- const I = {
5
+ import x from "../../typography/v4/Typography.vue.js";
6
+ import { tooltipCommon as v } from "../common/Tooltip.common.js";
7
+ import { useTestIdAttrs as b } from "../../../utils/testIds.js";
8
+ const B = {
9
9
  ref: "container",
10
10
  class: "container"
11
- }, D = /* @__PURE__ */ h({
11
+ }, D = /* @__PURE__ */ c({
12
12
  __name: "TooltipV4",
13
13
  props: {
14
14
  text: { default: null },
@@ -21,12 +21,14 @@ const I = {
21
21
  disabled: { type: Boolean, default: !1 },
22
22
  testId: { default: "" },
23
23
  distance: { default: "10" },
24
- container: { default: "body" }
24
+ container: { default: "body" },
25
+ shown: { type: Boolean, default: null },
26
+ autoHide: { type: Boolean, default: !0 }
25
27
  },
26
28
  emits: ["show"],
27
- setup(e, { emit: c }) {
28
- const n = e, { textForDisplay: o } = b(n), s = w(n.testId, i);
29
- return (a, m) => (l(), d(t(x), f({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
29
+ setup(e, { emit: h }) {
30
+ const r = e, { textForDisplay: o } = v(r), s = b(r.testId, i);
31
+ return (a, u) => (l(), d(t(w), f({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
30
32
  theme: e.theme,
31
33
  "no-auto-focus": "",
32
34
  triggers: e.triggers,
@@ -36,33 +38,34 @@ const I = {
36
38
  "popper-class": [e.theme, e.placement, "v4-tooltip"],
37
39
  class: ["v4-tooltip"],
38
40
  distance: e.distance,
39
- "auto-hide": "",
40
- onApplyShow: m[0] || (m[0] = (k) => c("show"))
41
+ "auto-hide": e.autoHide,
42
+ shown: e.shown,
43
+ onApplyShow: u[0] || (u[0] = (I) => h("show"))
41
44
  }), {
42
- popper: r(() => [
43
- u(a.$slots, "tooltip", { text: t(o) }, () => [
45
+ popper: n(() => [
46
+ m(a.$slots, "tooltip", { text: t(o) }, () => [
44
47
  e.header ? (l(), d(g, {
45
48
  key: 1,
46
49
  text: e.text,
47
50
  header: e.header
48
- }, null, 8, ["text", "header"])) : (l(), d(t(v), f({
51
+ }, null, 8, ["text", "header"])) : (l(), d(t(x), f({
49
52
  key: 0,
50
53
  variant: "body2"
51
54
  }, t(s)[t(i).TEXT]), {
52
- default: r(() => [
55
+ default: n(() => [
53
56
  p(y(t(o)), 1)
54
57
  ]),
55
58
  _: 1
56
59
  }, 16))
57
60
  ], !0)
58
61
  ]),
59
- default: r(() => [
60
- T("div", I, [
61
- u(a.$slots, "default", {}, void 0, !0)
62
+ default: n(() => [
63
+ T("div", B, [
64
+ m(a.$slots, "default", {}, void 0, !0)
62
65
  ], 512)
63
66
  ]),
64
67
  _: 3
65
- }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance"]));
68
+ }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance", "auto-hide", "shown"]));
66
69
  }
67
70
  });
68
71
  export {
@@ -15,6 +15,8 @@ declare const TooltipTypes: () => ({
15
15
  disabled: boolean;
16
16
  distance: string | number;
17
17
  container: string;
18
+ shown: boolean;
19
+ autoHide: boolean;
18
20
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
19
21
  header: {
20
22
  type: import("vue").PropType<string>;
@@ -60,9 +62,17 @@ declare const TooltipTypes: () => ({
60
62
  type: import("vue").PropType<string>;
61
63
  default: string;
62
64
  };
65
+ shown: {
66
+ type: import("vue").PropType<boolean>;
67
+ default: any;
68
+ };
69
+ autoHide: {
70
+ type: import("vue").PropType<boolean>;
71
+ default: boolean;
72
+ };
63
73
  }>> & {
64
74
  onShow?: () => any;
65
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container">;
75
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide">;
66
76
  $attrs: {
67
77
  [x: string]: unknown;
68
78
  };
@@ -121,6 +131,14 @@ declare const TooltipTypes: () => ({
121
131
  type: import("vue").PropType<string>;
122
132
  default: string;
123
133
  };
134
+ shown: {
135
+ type: import("vue").PropType<boolean>;
136
+ default: any;
137
+ };
138
+ autoHide: {
139
+ type: import("vue").PropType<boolean>;
140
+ default: boolean;
141
+ };
124
142
  }>> & {
125
143
  onShow?: () => any;
126
144
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -137,6 +155,8 @@ declare const TooltipTypes: () => ({
137
155
  disabled: boolean;
138
156
  distance: string | number;
139
157
  container: string;
158
+ shown: boolean;
159
+ autoHide: boolean;
140
160
  }, {}, string> & {
141
161
  beforeCreate?: (() => void) | (() => void)[];
142
162
  created?: (() => void) | (() => void)[];
@@ -202,6 +222,14 @@ declare const TooltipTypes: () => ({
202
222
  type: import("vue").PropType<string>;
203
223
  default: string;
204
224
  };
225
+ shown: {
226
+ type: import("vue").PropType<boolean>;
227
+ default: any;
228
+ };
229
+ autoHide: {
230
+ type: import("vue").PropType<boolean>;
231
+ default: boolean;
232
+ };
205
233
  }>> & {
206
234
  onShow?: () => any;
207
235
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -253,6 +281,14 @@ declare const TooltipTypes: () => ({
253
281
  type: import("vue").PropType<string>;
254
282
  default: string;
255
283
  };
284
+ shown: {
285
+ type: import("vue").PropType<boolean>;
286
+ default: any;
287
+ };
288
+ autoHide: {
289
+ type: import("vue").PropType<boolean>;
290
+ default: boolean;
291
+ };
256
292
  }>> & {
257
293
  onShow?: () => any;
258
294
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -269,6 +305,8 @@ declare const TooltipTypes: () => ({
269
305
  disabled: boolean;
270
306
  distance: string | number;
271
307
  container: string;
308
+ shown: boolean;
309
+ autoHide: boolean;
272
310
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
273
311
  $slots: {
274
312
  default?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./Typography.vue2.js";
2
- /* empty css */import p from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css"; //*');
4
- const t = /* @__PURE__ */ p(o, [["__scopeId", "data-v-992962bc"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-5714d43e"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,6 +1,7 @@
1
- import "../../../Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css"; import { defineComponent as m, ref as y, computed as l, openBlock as o, createBlock as i, unref as e, withCtx as s, resolveDynamicComponent as d, normalizeClass as f, renderSlot as h } from "vue";
2
- import T from "../../tooltip/v4/TooltipV4.vue.js";
3
- const C = /* @__PURE__ */ m({
1
+ import "../../../Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css"; import { defineComponent as v, ref as f, computed as d, openBlock as o, createBlock as i, unref as a, withCtx as s, resolveDynamicComponent as h, normalizeClass as b, renderSlot as p } from "vue";
2
+ import y from "../../tooltip/v4/TooltipV4.vue.js";
3
+ import { useResizeObserver as T } from "@vueuse/core";
4
+ const L = /* @__PURE__ */ v({
4
5
  __name: "Typography",
5
6
  props: {
6
7
  isTruncated: { type: Boolean },
@@ -11,7 +12,7 @@ const C = /* @__PURE__ */ m({
11
12
  variant: { default: "body1" }
12
13
  },
13
14
  setup(t) {
14
- const n = t, a = y(null), b = {
15
+ const l = t, e = f(null), n = f(!1), m = {
15
16
  title: "font-title",
16
17
  h1: "font-heading-1",
17
18
  h2: "font-heading-2",
@@ -33,8 +34,8 @@ const C = /* @__PURE__ */ m({
33
34
  chart1: "font-chart-1",
34
35
  chart2: "font-chart-2",
35
36
  overline: "font-overline"
36
- }, r = l(() => {
37
- switch (n.variant) {
37
+ }, r = d(() => {
38
+ switch (l.variant) {
38
39
  case "title":
39
40
  return "h1";
40
41
  case "h1":
@@ -43,43 +44,48 @@ const C = /* @__PURE__ */ m({
43
44
  case "h4":
44
45
  case "h5":
45
46
  case "h6":
46
- return n.variant;
47
+ return l.variant;
47
48
  default:
48
49
  return "span";
49
50
  }
50
- }), c = l(() => b[n.variant]), p = l(() => a.value ? a.value.scrollWidth > a.value.clientWidth : !1);
51
- return (u, v) => t.withTooltip && t.isTruncated ? (o(), i(e(T), {
51
+ }), u = d(() => m[l.variant]);
52
+ return T(e, () => {
53
+ if (!e.value)
54
+ return n.value = !1;
55
+ n.value = // Note: These values are rounded which can make edge cases sometimes
56
+ e.value.scrollWidth > e.value.clientWidth;
57
+ }), (c, g) => t.withTooltip && t.isTruncated ? (o(), i(a(y), {
52
58
  key: 0,
53
59
  placement: t.tooltipPlacement,
54
- disabled: !e(p),
60
+ disabled: !n.value,
55
61
  text: t.tooltipText,
56
62
  class: "typography-tooltip",
57
63
  "test-id": t.tooltipTestId
58
64
  }, {
59
65
  default: s(() => [
60
- (o(), i(d(e(r)), {
66
+ (o(), i(h(a(r)), {
61
67
  ref_key: "textElement",
62
- ref: a,
63
- class: f(["antialiased", { [e(c)]: !0, truncate: t.isTruncated }])
68
+ ref: e,
69
+ class: b(["antialiased", { [a(u)]: !0, truncate: t.isTruncated }])
64
70
  }, {
65
71
  default: s(() => [
66
- h(u.$slots, "default", {}, void 0, !0)
72
+ p(c.$slots, "default", {}, void 0, !0)
67
73
  ]),
68
74
  _: 3
69
75
  }, 8, ["class"]))
70
76
  ]),
71
77
  _: 3
72
- }, 8, ["placement", "disabled", "text", "test-id"])) : (o(), i(d(e(r)), {
78
+ }, 8, ["placement", "disabled", "text", "test-id"])) : (o(), i(h(a(r)), {
73
79
  key: 1,
74
- class: f(["antialiased", { [e(c)]: !0, truncate: t.isTruncated }])
80
+ class: b(["antialiased", { [a(u)]: !0, truncate: t.isTruncated }])
75
81
  }, {
76
82
  default: s(() => [
77
- h(u.$slots, "default", {}, void 0, !0)
83
+ p(c.$slots, "default", {}, void 0, !0)
78
84
  ]),
79
85
  _: 3
80
86
  }, 8, ["class"]));
81
87
  }
82
88
  });
83
89
  export {
84
- C as default
90
+ L as default
85
91
  };
@@ -1,4 +1,4 @@
1
- declare const assetsPath = "https://fusion.ironsrc.net/assets/icons/";
1
+ declare const assetsPath = "https://shared-platform-assets.ironsrc.mobi/assets/icons/";
2
2
  declare const iconsBrandedData: {
3
3
  name: string;
4
4
  path: string;