@ironsource/shared-ui 2.2.0-rc.48 → 2.2.0-rc.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 (92) hide show
  1. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  2. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
  3. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
  5. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  6. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
  7. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  8. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
  9. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
  10. package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +1 -0
  11. package/README.md +2 -2
  12. package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +1 -0
  13. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
  14. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
  15. package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +1 -0
  16. package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
  17. package/components/autocomplete/index.d.ts +16 -16
  18. package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
  19. package/components/columnPicker/index.d.ts +20 -20
  20. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  21. package/components/dateRange/v4/DateRangeV4.vue2.js +27 -28
  22. package/components/dropdown/common/Dropdown.common.js +274 -351
  23. package/components/dropdown/v3/Dropdown.vue.d.ts +5 -5
  24. package/components/dropdown/v3/index.d.ts +77 -77
  25. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  26. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +32 -38
  27. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
  28. package/components/dropdown/v4/DropdownV4.vue.d.ts +41 -50
  29. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  30. package/components/dropdown/v4/DropdownV4.vue2.js +216 -237
  31. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +0 -5
  32. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
  33. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +9 -12
  34. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  35. package/components/dropdown/v4/OptionV4.vue2.js +12 -12
  36. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  37. package/components/dropdown/v4/index.d.ts +2102 -2130
  38. package/components/helpText/HelpText.vue.js +3 -3
  39. package/components/helpText/HelpText.vue2.js +10 -11
  40. package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
  41. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  42. package/components/includeExclude/index.d.ts +54 -54
  43. package/components/inlineCopy/InlineCopy.vue.d.ts +0 -5
  44. package/components/inlineCopy/InlineCopy.vue.js +3 -3
  45. package/components/inlineCopy/InlineCopy.vue2.js +53 -54
  46. package/components/inlineCopy/index.d.ts +0 -9
  47. package/components/input/v4/TextField.vue.d.ts +0 -5
  48. package/components/input/v4/TextField.vue.js +2 -2
  49. package/components/input/v4/TextField.vue2.js +19 -22
  50. package/components/input/v4/index.d.ts +1 -20
  51. package/components/link/Link.vue.js +5 -5
  52. package/components/link/Link.vue2.js +21 -30
  53. package/components/search/v4/SearchV4.vue.d.ts +0 -5
  54. package/components/search/v4/SearchV4.vue.js +5 -5
  55. package/components/search/v4/SearchV4.vue2.js +18 -23
  56. package/components/search/v4/index.d.ts +0 -9
  57. package/components/shared/FieldLabel.vue.js +3 -3
  58. package/components/shared/FieldLabel.vue2.js +8 -9
  59. package/components/table/v4/DataGridMenu.vue.d.ts +0 -5
  60. package/components/table/v4/DataGridMenu.vue.js +5 -5
  61. package/components/table/v4/DataGridMenu.vue2.js +22 -28
  62. package/components/table/v4/index.d.ts +0 -9
  63. package/components/tabs/v4/TabsV4.vue.d.ts +0 -5
  64. package/components/tabs/v4/TabsV4.vue.js +3 -3
  65. package/components/tabs/v4/TabsV4.vue2.js +43 -74
  66. package/components/tabs/v4/index.d.ts +1 -20
  67. package/components/toggle/v4/ToggleV4.vue.d.ts +0 -5
  68. package/components/toggle/v4/ToggleV4.vue.js +3 -3
  69. package/components/toggle/v4/ToggleV4.vue2.js +41 -50
  70. package/components/toggle/v4/index.d.ts +1 -20
  71. package/components/tooltip/v4/TooltipV4.vue.d.ts +1 -14
  72. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  73. package/components/tooltip/v4/TooltipV4.vue2.js +63 -85
  74. package/components/tooltip/v4/index.d.ts +4 -51
  75. package/index.d.ts +2404 -2722
  76. package/index.js +1 -1
  77. package/package.json +1 -5
  78. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +0 -1
  79. package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +0 -1
  80. package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +0 -1
  81. package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +0 -1
  82. package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +0 -1
  83. package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +0 -1
  84. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +0 -1
  85. package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +0 -1
  86. package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +0 -1
  87. package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +0 -1
  88. package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +0 -1
  89. package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +0 -1
  90. package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +0 -1
  91. package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +0 -1
  92. package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +0 -1
@@ -3,26 +3,21 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
3
3
  iconName?: string;
4
4
  iconType?: IconTypes;
5
5
  testId?: string;
6
- ariaLabel?: string;
7
6
  }>, {
8
7
  iconName: string;
9
8
  iconType: string;
10
9
  testId: string;
11
- ariaLabel: string;
12
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
11
  iconName?: string;
14
12
  iconType?: IconTypes;
15
13
  testId?: string;
16
- ariaLabel?: string;
17
14
  }>, {
18
15
  iconName: string;
19
16
  iconType: string;
20
17
  testId: string;
21
- ariaLabel: string;
22
18
  }>>>, {
23
19
  testId: string;
24
20
  iconName: string;
25
- ariaLabel: string;
26
21
  iconType: IconTypes;
27
22
  }>;
28
23
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "./IconButtonDropdownTrigger.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2a5345ef"]]);
3
+ // import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css"; //*');
4
+ const _ = /* @__PURE__ */ e(o, [["__scopeId", "data-v-99e51ecc"]]);
5
5
  export {
6
- p as default
6
+ _ as default
7
7
  };
@@ -1,26 +1,23 @@
1
- import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css"; import { defineComponent as t, openBlock as o, createBlock as a, unref as n } from "vue";
1
+ import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css"; import { defineComponent as t, openBlock as n, createBlock as r, unref as c, mergeProps as m } from "vue";
2
2
  import "../../button/v4/ButtonV4.vue.js";
3
- import i from "../../button/v4/IconButtonV4.vue.js";
3
+ import p from "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
5
5
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
- const f = /* @__PURE__ */ t({
6
+ const y = /* @__PURE__ */ t({
7
7
  __name: "IconButtonDropdownTrigger",
8
8
  props: {
9
9
  iconName: { default: "dots-three" },
10
10
  iconType: { default: "bold" },
11
- testId: { default: "" },
12
- ariaLabel: { default: "" }
11
+ testId: { default: "" }
13
12
  },
14
13
  setup(e) {
15
- return (r, c) => (o(), a(n(i), {
14
+ const o = e;
15
+ return (i, a) => (n(), r(c(p), m({
16
16
  "icon-name": e.iconName,
17
- type: e.iconType,
18
- "aria-label": e.ariaLabel || "More options",
19
- tabindex: -1,
20
- "test-id": e.testId
21
- }, null, 8, ["icon-name", "type", "aria-label", "test-id"]));
17
+ type: e.iconType
18
+ }, o), null, 16, ["icon-name", "type"]));
22
19
  }
23
20
  });
24
21
  export {
25
- f as default
22
+ y as default
26
23
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./OptionV4.vue2.js";
2
- /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-d48a9318"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-771e1980"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css"; import { defineComponent as V, ref as I, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as s, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as a, toDisplayString as m, createTextVNode as T, withModifiers as O, Fragment as j, renderList as R } from "vue";
1
+ import "../../../OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css"; import { defineComponent as V, ref as I, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as s, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as a, toDisplayString as m, createTextVNode as T, withModifiers as O, Fragment as j, renderList as R } from "vue";
2
2
  import "../../typography/Heading.vue.js";
3
3
  import D from "../../typography/Text.vue.js";
4
4
  import q from "../../checkbox/v4/CheckboxV4.vue.js";
@@ -6,7 +6,7 @@ import y from "../../icon/v4/IconV4.vue.js";
6
6
  import G from "../../icon/v4/IconFlag.vue.js";
7
7
  import { NOOP as $ } from "@vue/shared";
8
8
  import { optionCommon as H } from "../common/Option.common.js";
9
- import p from "../../typography/v4/Typography.vue.js";
9
+ import x from "../../typography/v4/Typography.vue.js";
10
10
  import h from "../../tooltip/v4/TooltipV4.vue.js";
11
11
  import { isElementTruncated as J } from "../../../utils/text.js";
12
12
  import { promiseTimeout as Q } from "@vueuse/core";
@@ -71,11 +71,11 @@ const U = { class: "multiline-tooltip" }, W = {
71
71
  setup(e, { emit: M }) {
72
72
  const d = e, { selected: b, id: B, onClick: S, api: K } = H(d), z = (t) => {
73
73
  d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? $() : S(t);
74
- }, x = I(null), w = I(!1), A = (t) => {
74
+ }, p = I(null), w = I(!1), A = (t) => {
75
75
  d.disabled && (t.stopPropagation(), $());
76
76
  };
77
- F([() => d.treeChildShown, x], async () => {
78
- await Q(100), w.value = x.value && J(x.value);
77
+ F([() => d.treeChildShown, p], async () => {
78
+ await Q(100), w.value = p.value && J(p.value);
79
79
  });
80
80
  const P = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : w.value ? t[d.nameKey] : "", k = L(() => {
81
81
  const t = d.disabled && d.minMaxSelectionTooltipMessage || "", c = P(d.option);
@@ -95,7 +95,7 @@ const U = { class: "multiline-tooltip" }, W = {
95
95
  ref: "el",
96
96
  class: v(["item-container", {
97
97
  "item-container--disabled": e.disabled,
98
- "item-container--active": e.active,
98
+ "item-container--active": e.nameKey ? !1 : e.active,
99
99
  "item-container--selected": n(b),
100
100
  "item-container--multi": e.isMulti,
101
101
  "item-container--filtered-out": e.option?.filteredOut
@@ -146,10 +146,10 @@ const U = { class: "multiline-tooltip" }, W = {
146
146
  ])) : o("", !0),
147
147
  u("div", {
148
148
  ref_key: "textContainerRef",
149
- ref: x,
149
+ ref: p,
150
150
  class: "text-container"
151
151
  }, [
152
- a(n(p), {
152
+ a(n(x), {
153
153
  class: "option-text",
154
154
  variant: "body2"
155
155
  }, {
@@ -167,7 +167,7 @@ const U = { class: "multiline-tooltip" }, W = {
167
167
  }, {
168
168
  default: s(() => [
169
169
  e.option?.conditionalOptions ? (i(), l("div", ee, [
170
- a(n(p), {
170
+ a(n(x), {
171
171
  variant: "body2",
172
172
  class: "conditional-option-label"
173
173
  }, {
@@ -176,7 +176,7 @@ const U = { class: "multiline-tooltip" }, W = {
176
176
  ]),
177
177
  _: 1
178
178
  }),
179
- a(n(p), {
179
+ a(n(x), {
180
180
  variant: "h5",
181
181
  class: "conditional-option-value"
182
182
  }, {
@@ -197,7 +197,7 @@ const U = { class: "multiline-tooltip" }, W = {
197
197
  }, null, 8, ["name"])
198
198
  ])) : o("", !0),
199
199
  e.optionTwoLinesKey ? (i(), l("div", ne, [
200
- a(n(p), { variant: "caption" }, {
200
+ a(n(x), { variant: "caption" }, {
201
201
  default: s(() => [
202
202
  T(m(e.option[e.optionTwoLinesKey]), 1)
203
203
  ]),
@@ -280,7 +280,7 @@ const U = { class: "multiline-tooltip" }, W = {
280
280
  name: "tooltip",
281
281
  fn: s(() => [
282
282
  u("div", U, [
283
- (i(!0), l(j, null, R(n(k), (f) => (i(), g(n(p), {
283
+ (i(!0), l(j, null, R(n(k), (f) => (i(), g(n(x), {
284
284
  key: f,
285
285
  variant: "body2"
286
286
  }, {
@@ -95,9 +95,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
95
95
  valueToCopy: string;
96
96
  selected: unknown[];
97
97
  placeholder: string;
98
- inlineSearchPlaceholder: string;
99
98
  triggerFeedbackText: string;
100
99
  triggerFeedbackVariant: "success" | "warning" | "error";
100
+ inlineSearchPlaceholder: string;
101
101
  optionNameKey: string;
102
102
  optionIconKey: string;
103
103
  optionImageKey: string;