@ironsource/shared-ui 2.1.5-rc.4 → 2.1.5

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
+ .app-trigger-wrapper[data-v-0267d003]{display:flex}.app-trigger-wrapper.with-copy .app-trigger[data-v-0267d003]{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);width:calc(100% - 41px)}.app-trigger-key[data-v-0267d003]{flex:none}.app-trigger-key--content[data-v-0267d003]{padding:10px;background:var(--default-main);cursor:pointer;border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0;border-left:1px solid var(--common-divider);color:var(--action-active)}.app-trigger-key--content[data-v-0267d003]:hover{background:var(--action-selected)}.app-trigger[data-v-0267d003]{width:100%;padding:0 12px;border-radius:var(--border-radius-lg);cursor:pointer;user-select:none;display:inline-flex;background:var(--default-main);height:40px;align-items:center}.app-trigger[data-v-0267d003]:hover,.app-trigger.active[data-v-0267d003]{background:var(--action-selected)}.app-trigger.disabled[data-v-0267d003]{cursor:auto}.app-trigger--content[data-v-0267d003]{color:var(--text-primary);display:flex;column-gap:4px;width:calc(100% - 20px);align-items:center}.app-trigger--content .x-circle-wrapper[data-v-0267d003]{color:var(--primary-dark)}.app-trigger--content .x-circle-wrapper[data-v-0267d003]:hover{color:var(--primary-main)}.app-trigger--icon[data-v-0267d003]{display:flex;align-items:center;color:var(--action-active)}.app-trigger .displayed-value[data-v-0267d003]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .image[data-v-0267d003]{width:28px;height:28px;flex:none}.app-trigger .image img[data-v-0267d003]{border-radius:4px;width:100%;height:100%}.app-trigger .start-icon[data-v-0267d003]{display:flex;color:var(--action-active)}.app-trigger .label-text[data-v-0267d003]{display:flex;align-items:center;gap:8px}.app-trigger .label-text .text-content[data-v-0267d003]{display:flex;align-items:center;gap:4px;width:100%}.app-trigger .label-text .text-content .text-content-value[data-v-0267d003]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .label-text .is-mandatory[data-v-0267d003]{padding-top:5px;color:var(--error-main)}
@@ -0,0 +1 @@
1
+ .app-header[data-v-c148fc7a]{display:flex}.app-header .image-container[data-v-c148fc7a]{height:3rem;width:3rem;border-radius:.25rem}.app-header .image-container img[data-v-c148fc7a]{min-width:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:.25rem}.app-header .icon-container[data-v-c148fc7a]{color:var(--action-active);display:flex;align-items:center;padding:0 .5rem}.app-header .name-container .title[data-v-c148fc7a]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-c148fc7a]{color:var(--text-secondary)}.app-header.size-small[data-v-c148fc7a]{align-items:center}.app-header.size-small .image-container[data-v-c148fc7a]{height:2rem;width:2rem;border-radius:.375rem}.app-header.size-small .image-container img[data-v-c148fc7a]{border-radius:.375rem}.app-header.size-small .icon-container[data-v-c148fc7a]{padding:0 .25rem}.app-header.size-small .name-container[data-v-c148fc7a]{display:flex;align-items:center}.ab-icon-wrapper[data-v-c148fc7a]{margin-left:var(--spacing-150);padding-left:var(--spacing-150);border-left:1px solid var(--common-divider);min-height:var(--spacing-400);display:flex;align-items:center}.size-small .ab-icon-wrapper[data-v-c148fc7a]{margin-left:var(--spacing-25);padding-left:var(--spacing-100)}
@@ -0,0 +1 @@
1
+ .inline-copy[data-v-ff9f4a0f]{display:inline-flex;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-ff9f4a0f]{padding:0 4px;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-ff9f4a0f]:hover{color:var(--action-primary)}
@@ -6,7 +6,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
6
6
  testId: string;
7
7
  type?: 'small' | 'normal';
8
8
  showAbIcon?: boolean;
9
- inlineCopyTooltipText?: string;
10
9
  }>, {
11
10
  image: string;
12
11
  name: string;
@@ -15,7 +14,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
15
14
  testId: string;
16
15
  type: string;
17
16
  showAbIcon: boolean;
18
- inlineCopyTooltipText: any;
19
17
  }>, {}, 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<{
20
18
  image: string;
21
19
  name: string;
@@ -24,7 +22,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
24
22
  testId: string;
25
23
  type?: 'small' | 'normal';
26
24
  showAbIcon?: boolean;
27
- inlineCopyTooltipText?: string;
28
25
  }>, {
29
26
  image: string;
30
27
  name: string;
@@ -33,7 +30,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
33
30
  testId: string;
34
31
  type: string;
35
32
  showAbIcon: boolean;
36
- inlineCopyTooltipText: any;
37
33
  }>>>, {
38
34
  name: string;
39
35
  type: 'small' | 'normal';
@@ -42,7 +38,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
42
38
  platform: 'android' | 'ios';
43
39
  appKey: string;
44
40
  showAbIcon: boolean;
45
- inlineCopyTooltipText: string;
46
41
  }>;
47
42
  export default _default;
48
43
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import e from "./AppHeader.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../AppHeader.vue_vue_type_style_index_0_scoped_13fe6311_lang.css"; //*');
4
- const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-13fe6311"]]);
3
+ // import "../../AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-c148fc7a"]]);
5
5
  export {
6
- t as default
6
+ s as default
7
7
  };
@@ -1,10 +1,10 @@
1
- import "../../AppHeader.vue_vue_type_style_index_0_scoped_13fe6311_lang.css"; import { defineComponent as x, computed as o, openBlock as d, createElementBlock as m, normalizeClass as h, createElementVNode as n, mergeProps as r, unref as e, createVNode as i, withCtx as I, createTextVNode as T, toDisplayString as v, createCommentVNode as z } from "vue";
1
+ import "../../AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css"; import { defineComponent as h, computed as o, openBlock as d, createElementBlock as m, normalizeClass as x, createElementVNode as n, mergeProps as r, unref as e, createVNode as i, withCtx as I, createTextVNode as z, toDisplayString as v, createCommentVNode as A } from "vue";
2
2
  import c from "../icon/v4/IconV4.vue.js";
3
3
  import C from "../typography/v4/Typography.vue.js";
4
- import A from "../inlineCopy/InlineCopy.vue.js";
5
- import { useTestIdAttrs as b } from "../../utils/testIds.js";
4
+ import b from "../inlineCopy/InlineCopy.vue.js";
5
+ import { useTestIdAttrs as g } from "../../utils/testIds.js";
6
6
  import { AppHeaderTestIdModifiers as l } from "../../testids/index.js";
7
- const g = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"], B = { class: "name-container" }, M = /* @__PURE__ */ x({
7
+ const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"], k = { class: "name-container" }, M = /* @__PURE__ */ h({
8
8
  __name: "AppHeader",
9
9
  props: {
10
10
  image: { default: "" },
@@ -13,8 +13,7 @@ const g = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
13
13
  appKey: { default: "" },
14
14
  testId: { default: "" },
15
15
  type: { default: "normal" },
16
- showAbIcon: { type: Boolean, default: !1 },
17
- inlineCopyTooltipText: { default: void 0 }
16
+ showAbIcon: { type: Boolean, default: !1 }
18
17
  },
19
18
  setup(t) {
20
19
  const a = t, p = o(
@@ -25,11 +24,11 @@ const g = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
25
24
  () => a.type === "small" ? "18px" : null
26
25
  ), y = o(
27
26
  () => a.type === "normal" ? "h2" : "subtitle1"
28
- ), s = b(a.testId, l);
29
- return (P, S) => (d(), m("div", {
30
- class: h(["app-header", `size-${t.type}`])
27
+ ), s = g(a.testId, l);
28
+ return (B, P) => (d(), m("div", {
29
+ class: x(["app-header", `size-${t.type}`])
31
30
  }, [
32
- n("div", g, [
31
+ n("div", T, [
33
32
  n("img", {
34
33
  src: t.image,
35
34
  alt: t.name
@@ -45,24 +44,25 @@ const g = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
45
44
  size: e(f)
46
45
  }, null, 8, ["name", "size"])
47
46
  ], 16, w),
48
- n("div", B, [
47
+ n("div", k, [
49
48
  i(e(C), r({
50
49
  variant: e(y),
51
50
  class: "title"
52
51
  }, e(s)[e(l).TITLE]), {
53
52
  default: I(() => [
54
- T(v(t.name), 1)
53
+ z(v(t.name), 1)
55
54
  ]),
56
55
  _: 1
57
56
  }, 16, ["variant"]),
58
- i(e(A), {
57
+ i(e(b), {
59
58
  text: t.appKey,
60
59
  size: "medium",
61
60
  class: "inline-copy",
62
61
  "hide-text-value": t.type === "small",
63
62
  "test-id": t.testId,
64
63
  "icon-size": e(u),
65
- "tooltip-text": t.inlineCopyTooltipText
64
+ "tooltip-header": "Copy app key",
65
+ "tooltip-text": t.appKey
66
66
  }, null, 8, ["text", "hide-text-value", "test-id", "icon-size", "tooltip-text"])
67
67
  ]),
68
68
  t.showAbIcon ? (d(), m("div", r({
@@ -74,7 +74,7 @@ const g = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
74
74
  name: "ab",
75
75
  size: "28px"
76
76
  })
77
- ], 16)) : z("", !0)
77
+ ], 16)) : A("", !0)
78
78
  ], 2));
79
79
  }
80
80
  });
@@ -33,10 +33,6 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
33
33
  type: import("vue").PropType<boolean>;
34
34
  default: boolean;
35
35
  };
36
- inlineCopyTooltipText: {
37
- type: import("vue").PropType<string>;
38
- default: any;
39
- };
40
36
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
37
  name: {
42
38
  type: import("vue").PropType<string>;
@@ -71,10 +67,6 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
71
67
  type: import("vue").PropType<boolean>;
72
68
  default: boolean;
73
69
  };
74
- inlineCopyTooltipText: {
75
- type: import("vue").PropType<string>;
76
- default: any;
77
- };
78
70
  }>>, {
79
71
  name: string;
80
72
  type: "small" | "normal";
@@ -83,6 +75,5 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
83
75
  platform: "android" | "ios";
84
76
  appKey: string;
85
77
  showAbIcon: boolean;
86
- inlineCopyTooltipText: string;
87
78
  }>[];
88
79
  export { AppHeader, AppHeaderTypes };
@@ -1,7 +1,7 @@
1
1
  import o from "./AppDropdownTrigger.vue2.js";
2
- /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_2e91704b_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2e91704b"]]);
2
+ /* empty css */import p from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css"; //*');
4
+ const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-0267d003"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_2e91704b_lang.css"; import { defineComponent as V, computed as p, openBlock as o, createElementBlock as n, normalizeClass as B, createElementVNode as a, mergeProps as h, unref as l, renderSlot as O, createCommentVNode as i, createVNode as s, withCtx as v, toDisplayString as $ } from "vue";
1
+ import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css"; import { defineComponent as V, computed as p, openBlock as o, createElementBlock as n, normalizeClass as B, createElementVNode as a, mergeProps as h, unref as l, renderSlot as O, createCommentVNode as i, createVNode as s, withCtx as v, toDisplayString as $ } from "vue";
2
2
  import r from "../../icon/v4/IconV4.vue.js";
3
3
  import x from "../../typography/v4/Typography.vue.js";
4
4
  import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
@@ -40,7 +40,7 @@ const S = { class: "app-trigger--content" }, D = {
40
40
  },
41
41
  emits: ["click"],
42
42
  setup(t, { emit: T }) {
43
- const e = t, { copy: k, copied: I } = w({}), C = p(
43
+ const e = t, { copy: k, copied: C } = w({}), I = p(
44
44
  () => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
45
45
  ), b = () => {
46
46
  T("click");
@@ -52,7 +52,7 @@ const S = { class: "app-trigger--content" }, D = {
52
52
  if (Array.isArray(e.selectedOption))
53
53
  return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
54
54
  }), A = async () => {
55
- await k(e.valueToCopy), I.value && z({
55
+ await k(e.valueToCopy), C.value && z({
56
56
  title: "Copied successfully",
57
57
  type: "success",
58
58
  duration: 2e3
@@ -62,7 +62,7 @@ const S = { class: "app-trigger--content" }, D = {
62
62
  class: B(["app-trigger-wrapper", { "with-copy": !!t.valueToCopy }])
63
63
  }, [
64
64
  a("div", h({
65
- class: ["app-trigger", [t.size, l(C), { open: t.open, disabled: t.disabled }]],
65
+ class: ["app-trigger", [t.size, l(I), { open: t.open, disabled: t.disabled }]],
66
66
  style: {
67
67
  paddingLeft: c.$slots.image || l(d) && t.optionImageKey ? "8px" : "12px"
68
68
  }
@@ -121,7 +121,8 @@ const S = { class: "app-trigger--content" }, D = {
121
121
  }, [
122
122
  s(l(N), {
123
123
  text: t.valueToCopy,
124
- header: "App key"
124
+ header: "Copy app key",
125
+ placement: "bottom"
125
126
  }, {
126
127
  default: v(() => [
127
128
  a("div", j, [
@@ -1,38 +1,49 @@
1
+ import { TooltipPositions } from '../tooltip/common/Tooltip.types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
3
  text: string;
3
4
  size: 'small' | 'medium';
4
5
  testId: string;
5
6
  hideTextValue: boolean;
6
7
  iconSize?: string;
8
+ tooltipHeader?: string;
7
9
  tooltipText?: string;
10
+ tooltipPlacement?: TooltipPositions;
8
11
  }>, {
9
12
  size: string;
10
13
  text: string;
11
14
  testId: string;
12
15
  hideTextValue: boolean;
13
16
  iconSize: any;
17
+ tooltipHeader: string;
14
18
  tooltipText: string;
19
+ tooltipPlacement: string;
15
20
  }>, {}, 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<{
16
21
  text: string;
17
22
  size: 'small' | 'medium';
18
23
  testId: string;
19
24
  hideTextValue: boolean;
20
25
  iconSize?: string;
26
+ tooltipHeader?: string;
21
27
  tooltipText?: string;
28
+ tooltipPlacement?: TooltipPositions;
22
29
  }>, {
23
30
  size: string;
24
31
  text: string;
25
32
  testId: string;
26
33
  hideTextValue: boolean;
27
34
  iconSize: any;
35
+ tooltipHeader: string;
28
36
  tooltipText: string;
37
+ tooltipPlacement: string;
29
38
  }>>>, {
30
39
  text: string;
31
40
  size: 'small' | 'medium';
32
41
  testId: string;
33
42
  hideTextValue: boolean;
34
43
  iconSize: string;
44
+ tooltipHeader: string;
35
45
  tooltipText: string;
46
+ tooltipPlacement: TooltipPositions;
36
47
  }>;
37
48
  export default _default;
38
49
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./InlineCopy.vue2.js";
2
2
  /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../InlineCopy.vue_vue_type_style_index_0_scoped_a5723ef7_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a5723ef7"]]);
3
+ // import "../../InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ff9f4a0f"]]);
5
5
  export {
6
- t as default
6
+ s as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import "../../InlineCopy.vue_vue_type_style_index_0_scoped_a5723ef7_lang.css"; import { defineComponent as d, computed as f, openBlock as l, createElementBlock as y, createBlock as x, unref as e, mergeProps as r, withCtx as c, createTextVNode as T, toDisplayString as C, createCommentVNode as z, createVNode as n } from "vue";
2
- import I from "../icon/v4/IconV4.vue.js";
3
- import h from "../typography/v4/Typography.vue.js";
1
+ import "../../InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css"; import { defineComponent as u, computed as f, openBlock as i, createElementBlock as y, createBlock as x, unref as e, mergeProps as c, withCtx as n, createTextVNode as T, toDisplayString as C, createCommentVNode as h, createVNode as r } from "vue";
2
+ import z from "../icon/v4/IconV4.vue.js";
3
+ import I from "../typography/v4/Typography.vue.js";
4
4
  import { useClipboard as k } from "@vueuse/core";
5
5
  import { Snackbar as S } from "../snackbar/v4/index.js";
6
6
  import V from "../tooltip/v4/TooltipV4.vue.js";
7
7
  import { useTestIdAttrs as B } from "../../utils/testIds.js";
8
- import { InlineCopyTestIdModifiers as i } from "../../testids/index.js";
9
- const O = /* @__PURE__ */ d({
8
+ import { InlineCopyTestIdModifiers as a } from "../../testids/index.js";
9
+ const M = /* @__PURE__ */ u({
10
10
  __name: "InlineCopy",
11
11
  props: {
12
12
  text: { default: "" },
@@ -14,10 +14,12 @@ const O = /* @__PURE__ */ d({
14
14
  testId: { default: "" },
15
15
  hideTextValue: { type: Boolean, default: !1 },
16
16
  iconSize: { default: null },
17
- tooltipText: { default: "Copy to clipboard" }
17
+ tooltipHeader: { default: "" },
18
+ tooltipText: { default: "Copy to clipboard" },
19
+ tooltipPlacement: { default: "bottom" }
18
20
  },
19
21
  setup(t) {
20
- const o = t, { copy: s, copied: p } = k({}), m = f(() => {
22
+ const o = t, { copy: s, copied: d } = k({}), m = f(() => {
21
23
  switch (o.size) {
22
24
  case "medium":
23
25
  return "0.875rem";
@@ -25,40 +27,44 @@ const O = /* @__PURE__ */ d({
25
27
  default:
26
28
  return "0.75rem";
27
29
  }
28
- }), u = async () => {
29
- await s(o.text), p.value && S({
30
+ }), p = async () => {
31
+ await s(o.text), d.value && S({
30
32
  title: "Copied successfully",
31
33
  type: "success",
32
34
  duration: 2e3
33
35
  });
34
- }, a = B(o.testId, i);
35
- return (N, b) => (l(), y("div", {
36
+ }, l = B(o.testId, a);
37
+ return (b, N) => (i(), y("div", {
36
38
  class: "inline-copy",
37
- onClick: u
39
+ onClick: p
38
40
  }, [
39
- t.hideTextValue ? z("", !0) : (l(), x(e(h), r({
41
+ t.hideTextValue ? h("", !0) : (i(), x(e(I), c({
40
42
  key: 0,
41
43
  variant: "caption",
42
44
  style: { fontSize: e(m) }
43
- }, e(a)[e(i).TEXT]), {
44
- default: c(() => [
45
+ }, e(l)[e(a).TEXT]), {
46
+ default: n(() => [
45
47
  T(C(t.text), 1)
46
48
  ]),
47
49
  _: 1
48
50
  }, 16, ["style"])),
49
- n(e(V), { text: t.tooltipText }, {
50
- default: c(() => [
51
- n(e(I), r({
51
+ r(e(V), {
52
+ text: t.tooltipText,
53
+ header: t.tooltipHeader,
54
+ placement: t.tooltipPlacement
55
+ }, {
56
+ default: n(() => [
57
+ r(e(z), c({
52
58
  class: "icon-copy",
53
59
  name: "copy",
54
60
  size: t.iconSize || "16px"
55
- }, e(a)[e(i).COPY_BTN]), null, 16, ["size"])
61
+ }, e(l)[e(a).COPY_BTN]), null, 16, ["size"])
56
62
  ]),
57
63
  _: 1
58
- }, 8, ["text"])
64
+ }, 8, ["text", "header", "placement"])
59
65
  ]));
60
66
  }
61
67
  });
62
68
  export {
63
- O as default
69
+ M as default
64
70
  };
@@ -24,10 +24,18 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
24
24
  type: import("vue").PropType<string>;
25
25
  default: any;
26
26
  };
27
+ tooltipHeader: {
28
+ type: import("vue").PropType<string>;
29
+ default: string;
30
+ };
27
31
  tooltipText: {
28
32
  type: import("vue").PropType<string>;
29
33
  default: string;
30
34
  };
35
+ tooltipPlacement: {
36
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
37
+ default: string;
38
+ };
31
39
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
40
  text: {
33
41
  type: import("vue").PropType<string>;
@@ -53,16 +61,26 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
53
61
  type: import("vue").PropType<string>;
54
62
  default: any;
55
63
  };
64
+ tooltipHeader: {
65
+ type: import("vue").PropType<string>;
66
+ default: string;
67
+ };
56
68
  tooltipText: {
57
69
  type: import("vue").PropType<string>;
58
70
  default: string;
59
71
  };
72
+ tooltipPlacement: {
73
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
74
+ default: string;
75
+ };
60
76
  }>>, {
61
77
  text: string;
62
78
  size: "small" | "medium";
63
79
  testId: string;
64
80
  hideTextValue: boolean;
65
81
  iconSize: string;
82
+ tooltipHeader: string;
66
83
  tooltipText: string;
84
+ tooltipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
67
85
  }>[];
68
86
  export { InlineCopy, InlineCopyTypes };
package/index.d.ts CHANGED
@@ -76,10 +76,18 @@ declare const _default: {
76
76
  type: import("vue").PropType<string>;
77
77
  default: any;
78
78
  };
79
+ tooltipHeader: {
80
+ type: import("vue").PropType<string>;
81
+ default: string;
82
+ };
79
83
  tooltipText: {
80
84
  type: import("vue").PropType<string>;
81
85
  default: string;
82
86
  };
87
+ tooltipPlacement: {
88
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
89
+ default: string;
90
+ };
83
91
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
84
92
  text: {
85
93
  type: import("vue").PropType<string>;
@@ -105,17 +113,27 @@ declare const _default: {
105
113
  type: import("vue").PropType<string>;
106
114
  default: any;
107
115
  };
116
+ tooltipHeader: {
117
+ type: import("vue").PropType<string>;
118
+ default: string;
119
+ };
108
120
  tooltipText: {
109
121
  type: import("vue").PropType<string>;
110
122
  default: string;
111
123
  };
124
+ tooltipPlacement: {
125
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
126
+ default: string;
127
+ };
112
128
  }>>, {
113
129
  text: string;
114
130
  size: "small" | "medium";
115
131
  testId: string;
116
132
  hideTextValue: boolean;
117
133
  iconSize: string;
134
+ tooltipHeader: string;
118
135
  tooltipText: string;
136
+ tooltipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
119
137
  }>;
120
138
  InlineCopyTypes: () => import("vue").DefineComponent<{
121
139
  text: {
@@ -142,10 +160,18 @@ declare const _default: {
142
160
  type: import("vue").PropType<string>;
143
161
  default: any;
144
162
  };
163
+ tooltipHeader: {
164
+ type: import("vue").PropType<string>;
165
+ default: string;
166
+ };
145
167
  tooltipText: {
146
168
  type: import("vue").PropType<string>;
147
169
  default: string;
148
170
  };
171
+ tooltipPlacement: {
172
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
173
+ default: string;
174
+ };
149
175
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
150
176
  text: {
151
177
  type: import("vue").PropType<string>;
@@ -171,17 +197,27 @@ declare const _default: {
171
197
  type: import("vue").PropType<string>;
172
198
  default: any;
173
199
  };
200
+ tooltipHeader: {
201
+ type: import("vue").PropType<string>;
202
+ default: string;
203
+ };
174
204
  tooltipText: {
175
205
  type: import("vue").PropType<string>;
176
206
  default: string;
177
207
  };
208
+ tooltipPlacement: {
209
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
210
+ default: string;
211
+ };
178
212
  }>>, {
179
213
  text: string;
180
214
  size: "small" | "medium";
181
215
  testId: string;
182
216
  hideTextValue: boolean;
183
217
  iconSize: string;
218
+ tooltipHeader: string;
184
219
  tooltipText: string;
220
+ tooltipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
185
221
  }>[];
186
222
  AppHeader: import("vue").DefineComponent<{
187
223
  name: {
@@ -217,10 +253,6 @@ declare const _default: {
217
253
  type: import("vue").PropType<boolean>;
218
254
  default: boolean;
219
255
  };
220
- inlineCopyTooltipText: {
221
- type: import("vue").PropType<string>;
222
- default: any;
223
- };
224
256
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
225
257
  name: {
226
258
  type: import("vue").PropType<string>;
@@ -255,10 +287,6 @@ declare const _default: {
255
287
  type: import("vue").PropType<boolean>;
256
288
  default: boolean;
257
289
  };
258
- inlineCopyTooltipText: {
259
- type: import("vue").PropType<string>;
260
- default: any;
261
- };
262
290
  }>>, {
263
291
  name: string;
264
292
  type: "small" | "normal";
@@ -267,7 +295,6 @@ declare const _default: {
267
295
  platform: "android" | "ios";
268
296
  appKey: string;
269
297
  showAbIcon: boolean;
270
- inlineCopyTooltipText: string;
271
298
  }>;
272
299
  AppHeaderTypes: () => import("vue").DefineComponent<{
273
300
  name: {
@@ -303,10 +330,6 @@ declare const _default: {
303
330
  type: import("vue").PropType<boolean>;
304
331
  default: boolean;
305
332
  };
306
- inlineCopyTooltipText: {
307
- type: import("vue").PropType<string>;
308
- default: any;
309
- };
310
333
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
311
334
  name: {
312
335
  type: import("vue").PropType<string>;
@@ -341,10 +364,6 @@ declare const _default: {
341
364
  type: import("vue").PropType<boolean>;
342
365
  default: boolean;
343
366
  };
344
- inlineCopyTooltipText: {
345
- type: import("vue").PropType<string>;
346
- default: any;
347
- };
348
367
  }>>, {
349
368
  name: string;
350
369
  type: "small" | "normal";
@@ -353,7 +372,6 @@ declare const _default: {
353
372
  platform: "android" | "ios";
354
373
  appKey: string;
355
374
  showAbIcon: boolean;
356
- inlineCopyTooltipText: string;
357
375
  }>[];
358
376
  ThemeWrapper: {
359
377
  new (...args: any[]): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.5-rc.4",
3
+ "version": "2.1.5",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .app-trigger-wrapper[data-v-2e91704b]{display:flex}.app-trigger-wrapper.with-copy .app-trigger[data-v-2e91704b]{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);width:calc(100% - 41px)}.app-trigger-key[data-v-2e91704b]{flex:none}.app-trigger-key--content[data-v-2e91704b]{padding:10px;background:var(--default-main);cursor:pointer;border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0;border-left:1px solid var(--common-divider);color:var(--action-active)}.app-trigger-key--content[data-v-2e91704b]:hover{background:var(--action-selected)}.app-trigger[data-v-2e91704b]{width:100%;padding:0 12px;border-radius:var(--border-radius-lg);cursor:pointer;user-select:none;display:inline-flex;background:var(--default-main);height:40px;align-items:center}.app-trigger[data-v-2e91704b]:hover,.app-trigger.active[data-v-2e91704b]{background:var(--action-selected)}.app-trigger.disabled[data-v-2e91704b]{cursor:auto}.app-trigger--content[data-v-2e91704b]{color:var(--text-primary);display:flex;column-gap:4px;width:calc(100% - 20px);align-items:center}.app-trigger--content .x-circle-wrapper[data-v-2e91704b]{color:var(--primary-dark)}.app-trigger--content .x-circle-wrapper[data-v-2e91704b]:hover{color:var(--primary-main)}.app-trigger--icon[data-v-2e91704b]{display:flex;align-items:center;color:var(--action-active)}.app-trigger .displayed-value[data-v-2e91704b]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .image[data-v-2e91704b]{width:28px;height:28px;flex:none}.app-trigger .image img[data-v-2e91704b]{border-radius:4px;width:100%;height:100%}.app-trigger .start-icon[data-v-2e91704b]{display:flex;color:var(--action-active)}.app-trigger .label-text[data-v-2e91704b]{display:flex;align-items:center;gap:8px}.app-trigger .label-text .text-content[data-v-2e91704b]{display:flex;align-items:center;gap:4px;width:100%}.app-trigger .label-text .text-content .text-content-value[data-v-2e91704b]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .label-text .is-mandatory[data-v-2e91704b]{padding-top:5px;color:var(--error-main)}
@@ -1 +0,0 @@
1
- .app-header[data-v-13fe6311]{display:flex}.app-header .image-container[data-v-13fe6311]{height:3rem;width:3rem;border-radius:.25rem}.app-header .image-container img[data-v-13fe6311]{min-width:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:.25rem}.app-header .icon-container[data-v-13fe6311]{color:var(--action-active);display:flex;align-items:center;padding:0 .5rem}.app-header .name-container .title[data-v-13fe6311]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-13fe6311]{color:var(--text-secondary)}.app-header.size-small[data-v-13fe6311]{align-items:center}.app-header.size-small .image-container[data-v-13fe6311]{height:2rem;width:2rem;border-radius:.375rem}.app-header.size-small .image-container img[data-v-13fe6311]{border-radius:.375rem}.app-header.size-small .icon-container[data-v-13fe6311]{padding:0 .25rem}.app-header.size-small .name-container[data-v-13fe6311]{display:flex;align-items:center}.ab-icon-wrapper[data-v-13fe6311]{margin-left:var(--spacing-150);padding-left:var(--spacing-150);border-left:1px solid var(--common-divider);min-height:var(--spacing-400);display:flex;align-items:center}.size-small .ab-icon-wrapper[data-v-13fe6311]{margin-left:var(--spacing-25);padding-left:var(--spacing-100)}
@@ -1 +0,0 @@
1
- .inline-copy[data-v-a5723ef7]{display:inline-flex;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-a5723ef7]{padding:0 4px;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-a5723ef7]:hover{color:var(--action-primary)}