@ironsource/shared-ui 2.1.11-rc.13 → 2.1.11-rc.15

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.
@@ -0,0 +1 @@
1
+ @import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-2e327aa1],.font-chart-2[data-v-2e327aa1],.font-chart-1[data-v-2e327aa1]{font-family:Inter,sans-serif;font-weight:700}.font-chip-label[data-v-2e327aa1],.font-table-label[data-v-2e327aa1],.font-button[data-v-2e327aa1],.font-heading-6[data-v-2e327aa1],.font-heading-5[data-v-2e327aa1],.font-heading-4[data-v-2e327aa1],.font-heading-3[data-v-2e327aa1],.font-heading-2[data-v-2e327aa1],.font-heading-1[data-v-2e327aa1],.font-title[data-v-2e327aa1]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-2e327aa1],.font-input-label[data-v-2e327aa1],.font-overline[data-v-2e327aa1],.font-subtitle-2[data-v-2e327aa1],.font-subtitle-1[data-v-2e327aa1]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-2e327aa1],.font-body-2[data-v-2e327aa1],.input-container .input[data-v-2e327aa1],.font-body-1[data-v-2e327aa1]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-2e327aa1]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-2e327aa1]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-2e327aa1]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-2e327aa1]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-2e327aa1]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-2e327aa1]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-2e327aa1]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.input-container .input[data-v-2e327aa1],.font-body-1[data-v-2e327aa1]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-2e327aa1]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-2e327aa1]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-2e327aa1]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-2e327aa1]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-2e327aa1]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-2e327aa1]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-2e327aa1]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-2e327aa1]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-2e327aa1]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-2e327aa1]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-2e327aa1],.font-tab-label2[data-v-2e327aa1]{font-size:.875rem;line-height:1rem}.font-chip-label[data-v-2e327aa1]{font-size:.75rem;line-height:1rem}h1[data-v-2e327aa1],h2[data-v-2e327aa1],h3[data-v-2e327aa1],h4[data-v-2e327aa1],h5[data-v-2e327aa1],h6[data-v-2e327aa1]{margin:0}.disabled .input[data-v-2e327aa1]::placeholder{color:var(--text-disabled)}.disabled .input-container[data-v-2e327aa1]{cursor:no-drop;background-color:var(--action-disabled-background)}.disabled .input-container[data-v-2e327aa1]:hover{outline:1px solid var(--action-outlined-border);background-color:var(--action-disabled-background)}.input-size-small[data-v-2e327aa1]{height:28px}.input-size-medium[data-v-2e327aa1]{height:32px}.input-size-large[data-v-2e327aa1]{height:40px}.input-with-label-container[data-v-2e327aa1]{display:flex;flex-direction:column}.input-container[data-v-2e327aa1]{flex-grow:2;display:flex;flex-direction:row;align-items:center;border-radius:var(--border-radius-md);background:var(--default-main);outline:1px solid var(--action-outlined-border);outline-offset:-1px;padding:0 var(--spacing-100);position:relative;gap:var(--spacing-50)}.input-container[data-v-2e327aa1]:hover{outline:1px solid var(--action-active);background-color:var(--action-hover)}.input-container .input[data-v-2e327aa1]{padding:0;width:100%;border:none;background:transparent;color:var(--text-primary);line-height:normal}.input-container .input[data-v-2e327aa1]:focus{outline:none}.input-container .input[data-v-2e327aa1]:disabled{color:var(--text-disabled);cursor:no-drop}.input-container .input.view-only[data-v-2e327aa1]{color:var(--text-disabled)}.input-container .input[type=number][data-v-2e327aa1]::-webkit-inner-spin-button{opacity:.7;transform:scale(1.1)}.input-container .hide-arrows.input[type=number][data-v-2e327aa1]::-webkit-inner-spin-button,.input-container .hide-arrows.input[type=number][data-v-2e327aa1]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.input-container .input[type=password][data-v-2e327aa1]{letter-spacing:4px}.input-container[data-v-2e327aa1] ::placeholder{color:var(--text-secondary);letter-spacing:normal}.input-container .label-inside[data-v-2e327aa1]::placeholder{color:var(--text-primary)}.input-container .icon-container[data-v-2e327aa1]{display:flex;align-items:center;color:var(--text-secondary)}.input-container .icon-before[data-v-2e327aa1]{padding-right:var(--spacing-50)}.input-container .icon-after[data-v-2e327aa1]{padding-left:var(--spacing-50)}.prefix-text[data-v-2e327aa1]{color:var(--text-secondary, #646464);margin-right:var(--spacing-50)}.suffix-text[data-v-2e327aa1]{color:var(--text-secondary, #646464)}.focused[data-v-2e327aa1],.focused[data-v-2e327aa1]:hover{outline:2px solid var(--primary-main);background-color:var(--action-hover)}.error-icon.error-icon[data-v-2e327aa1],.error-icon.error-icon[data-v-2e327aa1]:hover{color:var(--error-main)}.label-direction-left[data-v-2e327aa1]{flex-direction:row;align-items:center;justify-content:space-between}.apply-button[data-v-2e327aa1]{cursor:pointer;color:var(--default-contrast-text);width:var(--spacing-250);height:var(--spacing-250)}.inline-error[data-v-2e327aa1]{cursor:pointer;color:var(--error-main);display:flex;justify-content:center;align-items:center}.footer[data-v-2e327aa1]{display:flex;justify-content:flex-end;margin-top:var(--spacing-50)}.footer.footer-absolute[data-v-2e327aa1]{position:absolute;bottom:calc(0px - var(--spacing-300))}.password-visibility-toggle[data-v-2e327aa1]{cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.variant-success .input-container[data-v-2e327aa1],.variant-success .input-container[data-v-2e327aa1]:hover{outline:2px solid var(--success-dark)}.variant-error .input-container[data-v-2e327aa1],.variant-error .input-container[data-v-2e327aa1]:hover{outline:2px solid var(--error-main)}.variant-warning .input-container[data-v-2e327aa1],.variant-warning .input-container[data-v-2e327aa1]:hover{outline:2px solid var(--warning-dark)}
@@ -0,0 +1 @@
1
+ div[data-v-bfc72006]{display:block}
@@ -1,7 +1,7 @@
1
1
  import e from "./TextField.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css"; //*');
4
- const d = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4d9bf5b2"]]);
3
+ // import "../../../TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-2e327aa1"]]);
5
5
  export {
6
- d as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css"; import { defineComponent as J, computed as f, ref as Q, openBlock as l, createElementBlock as d, mergeProps as c, unref as t, createBlock as r, createCommentVNode as n, createElementVNode as A, normalizeClass as E, renderSlot as F, withCtx as b, createTextVNode as V, toDisplayString as $, withKeys as U, withModifiers as z, normalizeProps as O, createVNode as p } from "vue";
1
+ import "../../../TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css"; import { defineComponent as J, computed as f, ref as Q, openBlock as l, createElementBlock as d, mergeProps as c, unref as t, createBlock as r, createCommentVNode as n, createElementVNode as A, normalizeClass as E, renderSlot as F, withCtx as b, createTextVNode as V, toDisplayString as $, withKeys as U, withModifiers as z, normalizeProps as O, createVNode as p } from "vue";
2
2
  import v from "../../icon/v4/IconV4.vue.js";
3
3
  import "../../icon/v4/IconFlag.vue.js";
4
4
  import X from "../../tooltip/v4/TooltipV4.vue.js";
@@ -13,7 +13,7 @@ const te = {
13
13
  key: 0,
14
14
  class: "icon-container icon-before"
15
15
  }, le = ["maxlength", "value", "placeholder", "disabled", "type", "step"], ae = ["onClick"], ne = {
16
- key: 4,
16
+ key: 5,
17
17
  class: "inline-error"
18
18
  }, oe = {
19
19
  key: 7,
@@ -154,6 +154,16 @@ const te = {
154
154
  size: "20px"
155
155
  })
156
156
  ], 8, ae)) : n("", !0),
157
+ e.suffix ? (l(), r(t(D), {
158
+ key: 4,
159
+ class: "suffix-text",
160
+ variant: "body1"
161
+ }, {
162
+ default: b(() => [
163
+ V($(e.suffix), 1)
164
+ ]),
165
+ _: 1
166
+ })) : n("", !0),
157
167
  e.inlineError || t(s)?.error?.value ? (l(), d("div", ne, [
158
168
  p(t(X), c({
159
169
  disabled: !e.inlineErrorText && !t(s)?.error?.value,
@@ -170,16 +180,6 @@ const te = {
170
180
  _: 1
171
181
  }, 16, ["disabled", "text", "test-id", "placement"])
172
182
  ])) : n("", !0),
173
- e.suffix ? (l(), r(t(D), {
174
- key: 5,
175
- class: "suffix-text",
176
- variant: "body1"
177
- }, {
178
- default: b(() => [
179
- V($(e.suffix), 1)
180
- ]),
181
- _: 1
182
- })) : n("", !0),
183
183
  e.type === "password" ? (l(), d("div", c({
184
184
  key: 6,
185
185
  class: "password-visibility-toggle"
@@ -4,17 +4,15 @@ import { TableContext as J } from "./TableContext.js";
4
4
  const Q = 46, U = 46, tt = (e, u) => {
5
5
  const S = G(), a = c([]);
6
6
  N(J, {
7
- onClose({ rowIndex: t, cellIndex: o, value: n } = {}) {
8
- n && (a.value = [...a.value, t], u("saveRow", {
7
+ onClose({ rowIndex: t, cellIndex: o, value: l } = {}) {
8
+ a.value = [...a.value, t], u("saveRow", {
9
9
  rowIndex: t,
10
10
  cellIndex: o,
11
- value: n,
11
+ value: l,
12
12
  confirm: () => {
13
- a.value = a.value.filter(
14
- (i) => i !== t
15
- );
13
+ a.value = a.value.filter((n) => n !== t);
16
14
  }
17
- }));
15
+ });
18
16
  },
19
17
  setActiveMenuRow(t) {
20
18
  x.value = t;
@@ -22,26 +20,26 @@ const Q = 46, U = 46, tt = (e, u) => {
22
20
  });
23
21
  const y = s(() => !!e.selection), C = s(() => {
24
22
  const t = (y.value ? `${U}px ` : "") + (g.value ? `${Q}px ` : "");
25
- return e.columns.reduce((o, n) => {
26
- const i = n.width ? `${n.width}px` : `${n.colSpan || 1}fr`;
27
- return `${o} ${i}`;
23
+ return e.columns.reduce((o, l) => {
24
+ const n = l.width ? `${l.width}px` : `${l.colSpan || 1}fr`;
25
+ return `${o} ${n}`;
28
26
  }, t);
29
27
  }), g = s(() => !!S.expanded), A = c(null), x = c(null), R = s(() => Array(e.loadingRowCount).fill(
30
28
  Array(e.columns.length).fill("")
31
29
  )), H = s(() => e.rows.length && Array.isArray(e.rows[0]) ? e.isLoading ? [...e.rows, ...R.value] : e.rows : e.isLoading ? [
32
30
  ...e.rows.map((o) => o[e.rowDataKey]),
33
31
  ...R.value
34
- ] : e.rows.map((o) => o[e.rowDataKey])), { list: T, containerProps: l, wrapperProps: $, scrollTo: b } = q(
32
+ ] : e.rows.map((o) => o[e.rowDataKey])), { list: T, containerProps: i, wrapperProps: $, scrollTo: b } = q(
35
33
  H,
36
34
  {
37
35
  itemHeight: g.value ? (t) => w[t] ?? e.rowHeight : e.rowHeight
38
36
  }
39
37
  ), k = c(null), h = c(0), B = s(() => !!S.search), I = (t) => {
40
- l.onScroll(), h.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, u("onScroll", t.target.scrollTop);
38
+ i.onScroll(), h.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, u("onScroll", t.target.scrollTop);
41
39
  };
42
40
  V(() => {
43
- h.value = l.ref.value?.getBoundingClientRect().width, e.defaultScrollPosition && setTimeout(() => {
44
- l.ref.value?.scrollTo({
41
+ h.value = i.ref.value?.getBoundingClientRect().width, e.defaultScrollPosition && setTimeout(() => {
42
+ i.ref.value?.scrollTo({
45
43
  top: e.defaultScrollPosition,
46
44
  behavior: "smooth"
47
45
  });
@@ -50,16 +48,16 @@ const Q = 46, U = 46, tt = (e, u) => {
50
48
  const O = s(() => {
51
49
  const [t] = T.value;
52
50
  return t && t.index > 0;
53
- }), P = s(() => l.style), L = s(() => e.columns.reduce((t, o) => (o.isSticky && (t[o.id] = M(o)), t), {}));
51
+ }), P = s(() => i.style), L = s(() => e.columns.reduce((t, o) => (o.isSticky && (t[o.id] = M(o)), t), {}));
54
52
  F(
55
- l.ref,
53
+ i.ref,
56
54
  () => {
57
55
  e.isInfiniteScroll && u("loadMore");
58
56
  },
59
57
  { distance: e.infiniteScrollThreshold }
60
58
  );
61
59
  function E() {
62
- l.ref.value?.scrollTo({
60
+ i.ref.value?.scrollTo({
63
61
  top: 0,
64
62
  behavior: "smooth"
65
63
  });
@@ -70,33 +68,33 @@ const Q = 46, U = 46, tt = (e, u) => {
70
68
  const o = e.sort.sortBy === t.id;
71
69
  if (!(t.isSortable || t.isSortable === void 0))
72
70
  return;
73
- let i = e.sort.sortOrder, f = e.sort.sortBy;
74
- o ? i = e.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, u("update:sort", { sortBy: f, sortOrder: i });
71
+ let n = e.sort.sortOrder, f = e.sort.sortBy;
72
+ o ? n = e.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, u("update:sort", { sortBy: f, sortOrder: n });
75
73
  }
76
74
  function M(t) {
77
- const { isSticky: o, width: n } = t;
78
- if (!o || !n)
75
+ const { isSticky: o, width: l } = t;
76
+ if (!o || !l)
79
77
  return null;
80
- const i = e.columns.findIndex((r) => r.id === t.id), f = e.columns.reduce((r, v, m) => m < i ? r + v.width : r, 0), z = e.columns.reduce((r, v, m) => m > i ? r + v.width : r, 0);
78
+ const n = e.columns.findIndex((r) => r.id === t.id), f = e.columns.reduce((r, v, m) => m < n ? r + v.width : r, 0), z = e.columns.reduce((r, v, m) => m > n ? r + v.width : r, 0);
81
79
  return {
82
80
  ...t.isStickyRight ? { right: `${z}px` } : { left: `${f}px` },
83
81
  zIndex: 1
84
82
  };
85
83
  }
86
84
  const d = c([]), w = {}, _ = (t) => d.value.includes(t), K = async (t, o) => {
87
- const n = d.value.indexOf(t);
88
- if (n === -1) {
85
+ const l = d.value.indexOf(t);
86
+ if (l === -1) {
89
87
  d.value.push(t);
90
- const i = o.target.closest("tr");
91
- await j(), i && (w[t] = i.offsetHeight);
88
+ const n = o.target.closest("tr");
89
+ await j(), n && (w[t] = n.offsetHeight);
92
90
  } else
93
- d.value.splice(n, 1), delete w[t];
91
+ d.value.splice(l, 1), delete w[t];
94
92
  }, W = s(() => `${e.rowHeight}px`), X = s(
95
93
  () => `1 / span ${e.columns.length + 1}`
96
94
  );
97
95
  return {
98
96
  list: T,
99
- containerProps: l,
97
+ containerProps: i,
100
98
  wrapperProps: $,
101
99
  activeRow: A,
102
100
  gridColumnTemplate: C,
@@ -11,6 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  testId?: string;
12
12
  distance?: string | number;
13
13
  container?: string;
14
+ shown?: boolean;
14
15
  }>, {
15
16
  text: any;
16
17
  header: any;
@@ -23,6 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
24
  testId: string;
24
25
  distance: string;
25
26
  container: string;
27
+ shown: any;
26
28
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
29
  show: () => void;
28
30
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -37,6 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
39
  testId?: string;
38
40
  distance?: string | number;
39
41
  container?: string;
42
+ shown?: boolean;
40
43
  }>, {
41
44
  text: any;
42
45
  header: any;
@@ -49,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
49
52
  testId: string;
50
53
  distance: string;
51
54
  container: string;
55
+ shown: any;
52
56
  }>>> & {
53
57
  onShow?: () => any;
54
58
  }, {
@@ -63,6 +67,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
63
67
  disabled: boolean;
64
68
  distance: string | number;
65
69
  container: string;
70
+ shown: boolean;
66
71
  }>, {
67
72
  default?(_: {}): any;
68
73
  tooltip?(_: {
@@ -1,8 +1,8 @@
1
1
  import o from "./TooltipV4.vue2.js";
2
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"; //*');
3
+ // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_bfc72006_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__ */ _(o, [["__scopeId", "data-v-bfc72006"]]);
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_bfc72006_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 u, 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";
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";
3
+ import { Tooltip as w } from "floating-vue";
4
+ import { TooltipTestIdModifiers as r } from "../../../testids/index.js";
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
8
  const I = {
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,13 @@ 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 }
25
26
  },
26
27
  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] }, {
28
+ setup(e, { emit: h }) {
29
+ const i = e, { textForDisplay: o } = v(i), s = b(i.testId, r);
30
+ return (a, m) => (l(), d(t(w), f({ ...a.$props, ...t(s)[t(r).TRIGGER] }, {
30
31
  theme: e.theme,
31
32
  "no-auto-focus": "",
32
33
  triggers: e.triggers,
@@ -37,32 +38,33 @@ const I = {
37
38
  class: ["v4-tooltip"],
38
39
  distance: e.distance,
39
40
  "auto-hide": "",
40
- onApplyShow: m[0] || (m[0] = (k) => c("show"))
41
+ shown: e.shown,
42
+ onApplyShow: m[0] || (m[0] = (B) => h("show"))
41
43
  }), {
42
- popper: r(() => [
44
+ popper: n(() => [
43
45
  u(a.$slots, "tooltip", { text: t(o) }, () => [
44
46
  e.header ? (l(), d(g, {
45
47
  key: 1,
46
48
  text: e.text,
47
49
  header: e.header
48
- }, null, 8, ["text", "header"])) : (l(), d(t(v), f({
50
+ }, null, 8, ["text", "header"])) : (l(), d(t(x), f({
49
51
  key: 0,
50
52
  variant: "body2"
51
- }, t(s)[t(i).TEXT]), {
52
- default: r(() => [
53
+ }, t(s)[t(r).TEXT]), {
54
+ default: n(() => [
53
55
  p(y(t(o)), 1)
54
56
  ]),
55
57
  _: 1
56
58
  }, 16))
57
59
  ], !0)
58
60
  ]),
59
- default: r(() => [
61
+ default: n(() => [
60
62
  T("div", I, [
61
63
  u(a.$slots, "default", {}, void 0, !0)
62
64
  ], 512)
63
65
  ]),
64
66
  _: 3
65
- }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance"]));
67
+ }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance", "shown"]));
66
68
  }
67
69
  });
68
70
  export {
@@ -15,6 +15,7 @@ declare const TooltipTypes: () => ({
15
15
  disabled: boolean;
16
16
  distance: string | number;
17
17
  container: string;
18
+ shown: boolean;
18
19
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
19
20
  header: {
20
21
  type: import("vue").PropType<string>;
@@ -60,9 +61,13 @@ declare const TooltipTypes: () => ({
60
61
  type: import("vue").PropType<string>;
61
62
  default: string;
62
63
  };
64
+ shown: {
65
+ type: import("vue").PropType<boolean>;
66
+ default: any;
67
+ };
63
68
  }>> & {
64
69
  onShow?: () => any;
65
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container">;
70
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown">;
66
71
  $attrs: {
67
72
  [x: string]: unknown;
68
73
  };
@@ -121,6 +126,10 @@ declare const TooltipTypes: () => ({
121
126
  type: import("vue").PropType<string>;
122
127
  default: string;
123
128
  };
129
+ shown: {
130
+ type: import("vue").PropType<boolean>;
131
+ default: any;
132
+ };
124
133
  }>> & {
125
134
  onShow?: () => any;
126
135
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -137,6 +146,7 @@ declare const TooltipTypes: () => ({
137
146
  disabled: boolean;
138
147
  distance: string | number;
139
148
  container: string;
149
+ shown: boolean;
140
150
  }, {}, string> & {
141
151
  beforeCreate?: (() => void) | (() => void)[];
142
152
  created?: (() => void) | (() => void)[];
@@ -202,6 +212,10 @@ declare const TooltipTypes: () => ({
202
212
  type: import("vue").PropType<string>;
203
213
  default: string;
204
214
  };
215
+ shown: {
216
+ type: import("vue").PropType<boolean>;
217
+ default: any;
218
+ };
205
219
  }>> & {
206
220
  onShow?: () => any;
207
221
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -253,6 +267,10 @@ declare const TooltipTypes: () => ({
253
267
  type: import("vue").PropType<string>;
254
268
  default: string;
255
269
  };
270
+ shown: {
271
+ type: import("vue").PropType<boolean>;
272
+ default: any;
273
+ };
256
274
  }>> & {
257
275
  onShow?: () => any;
258
276
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -269,6 +287,7 @@ declare const TooltipTypes: () => ({
269
287
  disabled: boolean;
270
288
  distance: string | number;
271
289
  container: string;
290
+ shown: boolean;
272
291
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
273
292
  $slots: {
274
293
  default?(_: {}): any;
package/index.d.ts CHANGED
@@ -9582,6 +9582,7 @@ declare const _default: {
9582
9582
  disabled: boolean;
9583
9583
  distance: string | number;
9584
9584
  container: string;
9585
+ shown: boolean;
9585
9586
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
9586
9587
  header: {
9587
9588
  type: import("vue").PropType<string>;
@@ -9627,9 +9628,13 @@ declare const _default: {
9627
9628
  type: import("vue").PropType<string>;
9628
9629
  default: string;
9629
9630
  };
9631
+ shown: {
9632
+ type: import("vue").PropType<boolean>;
9633
+ default: any;
9634
+ };
9630
9635
  }>> & {
9631
9636
  onShow?: () => any;
9632
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container">;
9637
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown">;
9633
9638
  $attrs: {
9634
9639
  [x: string]: unknown;
9635
9640
  };
@@ -9688,6 +9693,10 @@ declare const _default: {
9688
9693
  type: import("vue").PropType<string>;
9689
9694
  default: string;
9690
9695
  };
9696
+ shown: {
9697
+ type: import("vue").PropType<boolean>;
9698
+ default: any;
9699
+ };
9691
9700
  }>> & {
9692
9701
  onShow?: () => any;
9693
9702
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -9704,6 +9713,7 @@ declare const _default: {
9704
9713
  disabled: boolean;
9705
9714
  distance: string | number;
9706
9715
  container: string;
9716
+ shown: boolean;
9707
9717
  }, {}, string> & {
9708
9718
  beforeCreate?: (() => void) | (() => void)[];
9709
9719
  created?: (() => void) | (() => void)[];
@@ -9769,6 +9779,10 @@ declare const _default: {
9769
9779
  type: import("vue").PropType<string>;
9770
9780
  default: string;
9771
9781
  };
9782
+ shown: {
9783
+ type: import("vue").PropType<boolean>;
9784
+ default: any;
9785
+ };
9772
9786
  }>> & {
9773
9787
  onShow?: () => any;
9774
9788
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -9820,6 +9834,10 @@ declare const _default: {
9820
9834
  type: import("vue").PropType<string>;
9821
9835
  default: string;
9822
9836
  };
9837
+ shown: {
9838
+ type: import("vue").PropType<boolean>;
9839
+ default: any;
9840
+ };
9823
9841
  }>> & {
9824
9842
  onShow?: () => any;
9825
9843
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -9836,6 +9854,7 @@ declare const _default: {
9836
9854
  disabled: boolean;
9837
9855
  distance: string | number;
9838
9856
  container: string;
9857
+ shown: boolean;
9839
9858
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
9840
9859
  $slots: {
9841
9860
  default?(_: {}): any;
@@ -9860,6 +9879,7 @@ declare const _default: {
9860
9879
  disabled: boolean;
9861
9880
  distance: string | number;
9862
9881
  container: string;
9882
+ shown: boolean;
9863
9883
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
9864
9884
  header: {
9865
9885
  type: import("vue").PropType<string>;
@@ -9905,9 +9925,13 @@ declare const _default: {
9905
9925
  type: import("vue").PropType<string>;
9906
9926
  default: string;
9907
9927
  };
9928
+ shown: {
9929
+ type: import("vue").PropType<boolean>;
9930
+ default: any;
9931
+ };
9908
9932
  }>> & {
9909
9933
  onShow?: () => any;
9910
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container">;
9934
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown">;
9911
9935
  $attrs: {
9912
9936
  [x: string]: unknown;
9913
9937
  };
@@ -9966,6 +9990,10 @@ declare const _default: {
9966
9990
  type: import("vue").PropType<string>;
9967
9991
  default: string;
9968
9992
  };
9993
+ shown: {
9994
+ type: import("vue").PropType<boolean>;
9995
+ default: any;
9996
+ };
9969
9997
  }>> & {
9970
9998
  onShow?: () => any;
9971
9999
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -9982,6 +10010,7 @@ declare const _default: {
9982
10010
  disabled: boolean;
9983
10011
  distance: string | number;
9984
10012
  container: string;
10013
+ shown: boolean;
9985
10014
  }, {}, string> & {
9986
10015
  beforeCreate?: (() => void) | (() => void)[];
9987
10016
  created?: (() => void) | (() => void)[];
@@ -10047,6 +10076,10 @@ declare const _default: {
10047
10076
  type: import("vue").PropType<string>;
10048
10077
  default: string;
10049
10078
  };
10079
+ shown: {
10080
+ type: import("vue").PropType<boolean>;
10081
+ default: any;
10082
+ };
10050
10083
  }>> & {
10051
10084
  onShow?: () => any;
10052
10085
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -10098,6 +10131,10 @@ declare const _default: {
10098
10131
  type: import("vue").PropType<string>;
10099
10132
  default: string;
10100
10133
  };
10134
+ shown: {
10135
+ type: import("vue").PropType<boolean>;
10136
+ default: any;
10137
+ };
10101
10138
  }>> & {
10102
10139
  onShow?: () => any;
10103
10140
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -10114,6 +10151,7 @@ declare const _default: {
10114
10151
  disabled: boolean;
10115
10152
  distance: string | number;
10116
10153
  container: string;
10154
+ shown: boolean;
10117
10155
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
10118
10156
  $slots: {
10119
10157
  default?(_: {}): any;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css';
1
+ import './AppIcon.vue_vue_type_style_index_0_scoped_56ba337c_lang.css';
2
2
  import { AppTriggerTypes as ro } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as po } from "./components/menuItem/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.11-rc.13",
3
+ "version": "2.1.11-rc.15",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-4d9bf5b2],.font-chart-2[data-v-4d9bf5b2],.font-chart-1[data-v-4d9bf5b2]{font-family:Inter,sans-serif;font-weight:700}.font-chip-label[data-v-4d9bf5b2],.font-table-label[data-v-4d9bf5b2],.font-button[data-v-4d9bf5b2],.font-heading-6[data-v-4d9bf5b2],.font-heading-5[data-v-4d9bf5b2],.font-heading-4[data-v-4d9bf5b2],.font-heading-3[data-v-4d9bf5b2],.font-heading-2[data-v-4d9bf5b2],.font-heading-1[data-v-4d9bf5b2],.font-title[data-v-4d9bf5b2]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-4d9bf5b2],.font-input-label[data-v-4d9bf5b2],.font-overline[data-v-4d9bf5b2],.font-subtitle-2[data-v-4d9bf5b2],.font-subtitle-1[data-v-4d9bf5b2]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-4d9bf5b2],.font-body-2[data-v-4d9bf5b2],.input-container .input[data-v-4d9bf5b2],.font-body-1[data-v-4d9bf5b2]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-4d9bf5b2]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-4d9bf5b2]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-4d9bf5b2]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-4d9bf5b2]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-4d9bf5b2]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-4d9bf5b2]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-4d9bf5b2]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.input-container .input[data-v-4d9bf5b2],.font-body-1[data-v-4d9bf5b2]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-4d9bf5b2]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-4d9bf5b2]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-4d9bf5b2]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-4d9bf5b2]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-4d9bf5b2]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-4d9bf5b2]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-4d9bf5b2]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-4d9bf5b2]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-4d9bf5b2]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-4d9bf5b2]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-4d9bf5b2],.font-tab-label2[data-v-4d9bf5b2]{font-size:.875rem;line-height:1rem}.font-chip-label[data-v-4d9bf5b2]{font-size:.75rem;line-height:1rem}h1[data-v-4d9bf5b2],h2[data-v-4d9bf5b2],h3[data-v-4d9bf5b2],h4[data-v-4d9bf5b2],h5[data-v-4d9bf5b2],h6[data-v-4d9bf5b2]{margin:0}.disabled .input[data-v-4d9bf5b2]::placeholder{color:var(--text-disabled)}.disabled .input-container[data-v-4d9bf5b2]{cursor:no-drop;background-color:var(--action-disabled-background)}.disabled .input-container[data-v-4d9bf5b2]:hover{outline:1px solid var(--action-outlined-border);background-color:var(--action-disabled-background)}.input-size-small[data-v-4d9bf5b2]{height:28px}.input-size-medium[data-v-4d9bf5b2]{height:32px}.input-size-large[data-v-4d9bf5b2]{height:40px}.input-with-label-container[data-v-4d9bf5b2]{display:flex;flex-direction:column}.input-container[data-v-4d9bf5b2]{flex-grow:2;display:flex;flex-direction:row;align-items:center;border-radius:var(--border-radius-md);background:var(--default-main);outline:1px solid var(--action-outlined-border);outline-offset:-1px;padding:0 var(--spacing-100);position:relative;gap:var(--spacing-50)}.input-container[data-v-4d9bf5b2]:hover{outline:1px solid var(--action-active);background-color:var(--action-hover)}.input-container .input[data-v-4d9bf5b2]{padding:0;width:100%;border:none;background:transparent;color:var(--text-primary);line-height:normal}.input-container .input[data-v-4d9bf5b2]:focus{outline:none}.input-container .input[data-v-4d9bf5b2]:disabled{color:var(--text-disabled);cursor:no-drop}.input-container .input.view-only[data-v-4d9bf5b2]{color:var(--text-disabled)}.input-container .input[type=number][data-v-4d9bf5b2]::-webkit-inner-spin-button{opacity:.7;transform:scale(1.1)}.input-container .hide-arrows.input[type=number][data-v-4d9bf5b2]::-webkit-inner-spin-button,.input-container .hide-arrows.input[type=number][data-v-4d9bf5b2]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.input-container .input[type=password][data-v-4d9bf5b2]{letter-spacing:4px}.input-container[data-v-4d9bf5b2] ::placeholder{color:var(--text-secondary);letter-spacing:normal}.input-container .label-inside[data-v-4d9bf5b2]::placeholder{color:var(--text-primary)}.input-container .icon-container[data-v-4d9bf5b2]{display:flex;align-items:center;color:var(--text-secondary)}.input-container .icon-before[data-v-4d9bf5b2]{padding-right:var(--spacing-50)}.input-container .icon-after[data-v-4d9bf5b2]{padding-left:var(--spacing-50)}.prefix-text[data-v-4d9bf5b2]{color:var(--text-secondary, #646464);margin-right:var(--spacing-50)}.suffix-text[data-v-4d9bf5b2]{color:var(--text-secondary, #646464)}.focused[data-v-4d9bf5b2],.focused[data-v-4d9bf5b2]:hover{outline:2px solid var(--primary-main);background-color:var(--action-hover)}.error-icon.error-icon[data-v-4d9bf5b2],.error-icon.error-icon[data-v-4d9bf5b2]:hover{color:var(--error-main)}.label-direction-left[data-v-4d9bf5b2]{flex-direction:row;align-items:center;justify-content:space-between}.apply-button[data-v-4d9bf5b2]{cursor:pointer;color:var(--default-contrast-text);width:var(--spacing-250);height:var(--spacing-250)}.inline-error[data-v-4d9bf5b2]{cursor:pointer;color:var(--error-main);display:flex;justify-content:center;align-items:center}.footer[data-v-4d9bf5b2]{display:flex;justify-content:flex-end;margin-top:var(--spacing-50)}.footer.footer-absolute[data-v-4d9bf5b2]{position:absolute;bottom:calc(0px - var(--spacing-300))}.password-visibility-toggle[data-v-4d9bf5b2]{cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.variant-success .input-container[data-v-4d9bf5b2],.variant-success .input-container[data-v-4d9bf5b2]:hover{outline:2px solid var(--success-dark)}.variant-error .input-container[data-v-4d9bf5b2],.variant-error .input-container[data-v-4d9bf5b2]:hover{outline:2px solid var(--error-main)}.variant-warning .input-container[data-v-4d9bf5b2],.variant-warning .input-container[data-v-4d9bf5b2]:hover{outline:2px solid var(--warning-dark)}
@@ -1 +0,0 @@
1
- div[data-v-fcdb9d02]{display:block}