@ironsource/shared-ui 2.2.0-rc.37 → 2.2.0-rc.38

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
+ div[data-v-9ae00876]{display:block}
@@ -0,0 +1 @@
1
+ @import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-11fee894],.font-chart-2[data-v-11fee894],.font-chart-1[data-v-11fee894]{font-family:Inter,sans-serif;font-weight:700}.tag-input-sizer[data-v-11fee894],.tag-input[data-v-11fee894],.font-chip-label[data-v-11fee894],.font-table-label[data-v-11fee894],.font-button[data-v-11fee894],.font-heading-6[data-v-11fee894],.font-heading-5[data-v-11fee894],.font-heading-4[data-v-11fee894],.font-heading-3[data-v-11fee894],.font-heading-2[data-v-11fee894],.font-heading-1[data-v-11fee894],.font-title[data-v-11fee894]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-11fee894],.font-input-label[data-v-11fee894],.font-overline[data-v-11fee894],.font-subtitle-2[data-v-11fee894],.font-subtitle-1[data-v-11fee894]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-11fee894],.font-body-2[data-v-11fee894],.font-body-1[data-v-11fee894]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-11fee894]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-11fee894]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-11fee894]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-11fee894]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-11fee894]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-11fee894]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-11fee894]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.font-body-1[data-v-11fee894]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-11fee894]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-11fee894]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-11fee894]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-11fee894]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-11fee894]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-11fee894]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-11fee894]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-11fee894]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-11fee894]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-11fee894]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-11fee894],.font-tab-label2[data-v-11fee894]{font-size:.875rem;line-height:1rem}.tag-input-sizer[data-v-11fee894],.tag-input[data-v-11fee894],.font-chip-label[data-v-11fee894]{font-size:.75rem;line-height:1rem}h1[data-v-11fee894],h2[data-v-11fee894],h3[data-v-11fee894],h4[data-v-11fee894],h5[data-v-11fee894],h6[data-v-11fee894]{margin:0}.rounded-tag[data-v-11fee894]{border-radius:100px}.tag-editing[data-v-11fee894]{outline:1px solid var(--outline-color)}.unselected-tag-hover-outline[data-v-11fee894]{background-color:var(--action-hover)}.tag-hover-outline[data-v-11fee894]{outline:1px solid var(--outline-color);cursor:pointer}.unselected-tag[data-v-11fee894]{outline:1px solid var(--action-outlined-border)}.tag-disabled[data-v-11fee894]{background-color:transparent;outline:1px solid var(--action-disabled)}.tag-content[data-v-11fee894]{display:flex;align-items:center;position:relative;min-width:.625rem;max-width:31.25rem}.tag-icon[data-v-11fee894]{margin-right:.25rem}.tag-label[data-v-11fee894]{user-select:none;min-width:.5rem}.tag-label--disabled[data-v-11fee894]{color:var(--action-disabled)}.tag-label--hidden[data-v-11fee894]{visibility:hidden}.tag-input[data-v-11fee894]{position:static;width:auto;background:transparent;min-width:.6rem;padding:0;border:none;max-width:100%;overflow-x:auto;white-space:nowrap}.tag-input[data-v-11fee894]:focus{outline:none}.tag-input-outline[data-v-11fee894]::placeholder{color:var(--action-disabled)}.clear-button[data-v-11fee894]{margin-left:.25rem;color:var(--action-active);cursor:pointer}.clear-button[data-v-11fee894]:hover{color:var(--text-primary)}.clear-button--invalid[data-v-11fee894]{color:var(--error-dark)}.clear-button--invalid[data-v-11fee894]:hover{color:var(--error-darker)}.tag-input-sizer[data-v-11fee894]{position:absolute;visibility:hidden;height:0;white-space:pre;pointer-events:none;padding:0}.editable-tag[data-v-11fee894]{cursor:text}.empty-tag[data-v-11fee894]{background-color:transparent;outline:1px dashed var(--action-outlined-border);color:var(--text-secondary)}.empty-tag[data-v-11fee894]:hover:not(.tag-disabled){outline:1px dashed var(--action-active)}
@@ -7,6 +7,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  placement?: Placement;
8
8
  distance?: number;
9
9
  skidding?: number;
10
+ delay?: number | {
11
+ show: number;
12
+ hide: number;
13
+ };
10
14
  testId?: string;
11
15
  popperClass?: string;
12
16
  container?: string;
@@ -18,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
18
22
  placement: string;
19
23
  distance: number;
20
24
  skidding: number;
25
+ delay: number;
21
26
  testId: string;
22
27
  popperClass: string;
23
28
  container: string;
@@ -33,6 +38,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
38
  placement?: Placement;
34
39
  distance?: number;
35
40
  skidding?: number;
41
+ delay?: number | {
42
+ show: number;
43
+ hide: number;
44
+ };
36
45
  testId?: string;
37
46
  popperClass?: string;
38
47
  container?: string;
@@ -44,6 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
44
53
  placement: string;
45
54
  distance: number;
46
55
  skidding: number;
56
+ delay: number;
47
57
  testId: string;
48
58
  popperClass: string;
49
59
  container: string;
@@ -51,6 +61,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
51
61
  onIsOpen?: (value: boolean) => any;
52
62
  }, {
53
63
  testId: string;
64
+ delay: number | {
65
+ show: number;
66
+ hide: number;
67
+ };
54
68
  placement: Placement;
55
69
  disabled: boolean;
56
70
  distance: number;
@@ -1,8 +1,8 @@
1
1
  import o from "./PopoverV4.vue2.js";
2
2
  /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css"; //*');
3
+ // import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css"; //*');
4
4
  // import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-66694b4e"]]);
5
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9ae00876"]]);
6
6
  export {
7
7
  r as default
8
8
  };
@@ -1,4 +1,4 @@
1
- import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css"; import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as k, watch as s, openBlock as p, createBlock as y, unref as a, withCtx as u, createElementBlock as h, renderSlot as g, createCommentVNode as B, createElementVNode as C } from "vue";
1
+ import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css"; import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as k, watch as s, openBlock as p, createBlock as y, unref as r, withCtx as u, createElementBlock as h, renderSlot as g, createCommentVNode as B, createElementVNode as C } from "vue";
2
2
  import { Dropdown as w } from "floating-vue";
3
3
  import { popoverCommon as $ } from "../common/Popover.common.js";
4
4
  const O = ["data-testid"], H = /* @__PURE__ */ k({
@@ -11,6 +11,7 @@ const O = ["data-testid"], H = /* @__PURE__ */ k({
11
11
  placement: { default: "bottom-start" },
12
12
  distance: { default: 0 },
13
13
  skidding: { default: 0 },
14
+ delay: { default: 0 },
14
15
  testId: { default: "" },
15
16
  popperClass: { default: "" },
16
17
  container: { default: "body" }
@@ -26,24 +27,25 @@ const O = ["data-testid"], H = /* @__PURE__ */ k({
26
27
  d(o);
27
28
  }
28
29
  );
29
- const r = (o) => {
30
+ const a = (o) => {
30
31
  i.trigger === o && (t.value = !t.value);
31
32
  };
32
33
  return f({
33
34
  toggle: d
34
- }), (o, n) => (p(), y(a(w), {
35
+ }), (o, n) => (p(), y(r(w), {
35
36
  theme: "custom-popover",
36
37
  placement: e.placement,
37
- shown: !!a(t),
38
+ shown: !!r(t),
38
39
  triggers: e.trigger === "managed" ? [] : [e.trigger],
39
40
  "auto-hide": e.autoHide,
40
41
  distance: e.distance,
41
42
  skidding: e.skidding,
43
+ delay: e.delay,
42
44
  container: e.container,
43
45
  "popper-class": [e.popperClass, "v4-popover__popper light-theme-v4"]
44
46
  }, {
45
47
  popper: u(() => [
46
- a(t) ? (p(), h("div", {
48
+ r(t) ? (p(), h("div", {
47
49
  key: 0,
48
50
  ref_key: "popup",
49
51
  ref: c,
@@ -57,15 +59,15 @@ const O = ["data-testid"], H = /* @__PURE__ */ k({
57
59
  C("div", {
58
60
  ref_key: "triggerRef",
59
61
  ref: v,
60
- onClick: n[0] || (n[0] = (l) => r("click")),
61
- onMouseenter: n[1] || (n[1] = (l) => r("hover")),
62
- onMouseleave: n[2] || (n[2] = (l) => r("hover"))
62
+ onClick: n[0] || (n[0] = (l) => a("click")),
63
+ onMouseenter: n[1] || (n[1] = (l) => a("hover")),
64
+ onMouseleave: n[2] || (n[2] = (l) => a("hover"))
63
65
  }, [
64
66
  g(o.$slots, "trigger", {}, void 0, !0)
65
67
  ], 544)
66
68
  ]),
67
69
  _: 3
68
- }, 8, ["placement", "shown", "triggers", "auto-hide", "distance", "skidding", "container", "popper-class"]));
70
+ }, 8, ["placement", "shown", "triggers", "auto-hide", "distance", "skidding", "delay", "container", "popper-class"]));
69
71
  }
70
72
  });
71
73
  export {
@@ -5,6 +5,10 @@ declare const PopoverTypes: () => ({
5
5
  $data: {};
6
6
  $props: Partial<{
7
7
  testId: string;
8
+ delay: number | {
9
+ show: number;
10
+ hide: number;
11
+ };
8
12
  placement: import("floating-vue").Placement;
9
13
  disabled: boolean;
10
14
  distance: number;
@@ -19,6 +23,13 @@ declare const PopoverTypes: () => ({
19
23
  type: import("vue").PropType<string>;
20
24
  default: string;
21
25
  };
26
+ delay: {
27
+ type: import("vue").PropType<number | {
28
+ show: number;
29
+ hide: number;
30
+ }>;
31
+ default: number;
32
+ };
22
33
  placement: {
23
34
  type: import("vue").PropType<import("floating-vue").Placement>;
24
35
  default: string;
@@ -57,7 +68,7 @@ declare const PopoverTypes: () => ({
57
68
  };
58
69
  }>> & {
59
70
  onIsOpen?: (value: boolean) => any;
60
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
71
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "delay" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
61
72
  $attrs: {
62
73
  [x: string]: unknown;
63
74
  };
@@ -76,6 +87,13 @@ declare const PopoverTypes: () => ({
76
87
  type: import("vue").PropType<string>;
77
88
  default: string;
78
89
  };
90
+ delay: {
91
+ type: import("vue").PropType<number | {
92
+ show: number;
93
+ hide: number;
94
+ }>;
95
+ default: number;
96
+ };
79
97
  placement: {
80
98
  type: import("vue").PropType<import("floating-vue").Placement>;
81
99
  default: string;
@@ -120,6 +138,10 @@ declare const PopoverTypes: () => ({
120
138
  isOpen: (value: boolean) => void;
121
139
  }, string, {
122
140
  testId: string;
141
+ delay: number | {
142
+ show: number;
143
+ hide: number;
144
+ };
123
145
  placement: import("floating-vue").Placement;
124
146
  disabled: boolean;
125
147
  distance: number;
@@ -154,6 +176,13 @@ declare const PopoverTypes: () => ({
154
176
  type: import("vue").PropType<string>;
155
177
  default: string;
156
178
  };
179
+ delay: {
180
+ type: import("vue").PropType<number | {
181
+ show: number;
182
+ hide: number;
183
+ }>;
184
+ default: number;
185
+ };
157
186
  placement: {
158
187
  type: import("vue").PropType<import("floating-vue").Placement>;
159
188
  default: string;
@@ -203,6 +232,13 @@ declare const PopoverTypes: () => ({
203
232
  type: import("vue").PropType<string>;
204
233
  default: string;
205
234
  };
235
+ delay: {
236
+ type: import("vue").PropType<number | {
237
+ show: number;
238
+ hide: number;
239
+ }>;
240
+ default: number;
241
+ };
206
242
  placement: {
207
243
  type: import("vue").PropType<import("floating-vue").Placement>;
208
244
  default: string;
@@ -247,6 +283,10 @@ declare const PopoverTypes: () => ({
247
283
  isOpen: (value: boolean) => void;
248
284
  }, string, {
249
285
  testId: string;
286
+ delay: number | {
287
+ show: number;
288
+ hide: number;
289
+ };
250
290
  placement: import("floating-vue").Placement;
251
291
  disabled: boolean;
252
292
  distance: number;
@@ -1,7 +1,7 @@
1
- import o from "./Tag.vue2.js";
2
- /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Tag.vue_vue_type_style_index_0_scoped_78f19cb0_lang.css"; //*');
4
- const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-78f19cb0"]]);
1
+ import e from "./Tag.vue2.js";
2
+ /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../Tag.vue_vue_type_style_index_0_scoped_11fee894_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-11fee894"]]);
5
5
  export {
6
- c as default
6
+ p as default
7
7
  };
@@ -1,10 +1,10 @@
1
- import "../../Tag.vue_vue_type_style_index_0_scoped_78f19cb0_lang.css"; import { defineComponent as J, ref as s, computed as d, watch as S, nextTick as N, openBlock as f, createBlock as C, unref as l, withCtx as m, createElementVNode as E, createVNode as w, createTextVNode as V, toDisplayString as T, normalizeClass as p, normalizeStyle as R, withModifiers as b, createCommentVNode as $, withDirectives as O, createElementBlock as H, isRef as Q, withKeys as K, vModelText as X, vShow as Z } from "vue";
2
- import D from "../typography/v4/Typography.vue.js";
3
- import W from "../icon/v4/IconV4.vue.js";
1
+ import "../../Tag.vue_vue_type_style_index_0_scoped_11fee894_lang.css"; import { defineComponent as P, ref as s, computed as d, watch as L, nextTick as N, openBlock as f, createBlock as C, unref as l, withCtx as m, createVNode as w, createTextVNode as E, toDisplayString as T, normalizeClass as p, normalizeStyle as V, withModifiers as b, createElementVNode as Q, createCommentVNode as R, withDirectives as $, createElementBlock as H, isRef as X, withKeys as K, vModelText as Y, vShow as Z } from "vue";
2
+ import O from "../typography/v4/Typography.vue.js";
3
+ import D from "../icon/v4/IconV4.vue.js";
4
4
  import "../icon/v4/IconFlag.vue.js";
5
5
  import _ from "../chip/v4/ChipV4.vue.js";
6
- import ee from "../popover/v4/PopoverV4.vue.js";
7
- const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, te = ["placeholder", "maxlength", "onKeyup"], se = /* @__PURE__ */ J({
6
+ import ee from "../tooltip/v4/TooltipV4.vue.js";
7
+ const ae = { class: "tag-content" }, le = ["placeholder", "maxlength", "onKeyup"], ue = /* @__PURE__ */ P({
8
8
  __name: "Tag",
9
9
  props: {
10
10
  label: { default: "" },
@@ -22,32 +22,29 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
22
22
  editable: { type: Boolean, default: !1 },
23
23
  selectable: { type: Boolean, default: !0 },
24
24
  maxLength: { default: void 0 },
25
- maxLengthTooltip: { default: "You have reached the maximum number of characters" }
25
+ maxLengthTooltip: { default: "Character limit reached" }
26
26
  },
27
27
  emits: ["update:label", "remove", "stopEditing", "update:isSelected"],
28
28
  setup(a, { emit: v }) {
29
- const e = a, r = s(!1), y = s(null), h = s(void 0), k = s(!1), u = s(!1), i = s(e.isSelected || e.editable), z = d(() => !e.label && !r.value && e.placeholder), I = d(() => (console.log(
30
- "isTooltipOpen",
31
- e.maxLength && o.value.length >= e.maxLength && r.value
32
- ), e.maxLength && o.value.length >= e.maxLength && r.value)), g = d(() => e.disabled || !e.selectable || r.value ? "outlined" : u.value ? "filled" : !i.value && !e.editable ? "outlined" : e.variant), F = d(() => e.disabled ? "default" : e.isInvalid ? "error" : i.value || !i.value && e.editable || !e.selectable ? e.color : "default"), o = d({
29
+ const e = a, r = s(!1), y = s(null), k = s(void 0), h = s(!1), u = s(!1), i = s(e.isSelected || e.editable), z = d(() => !e.label && !r.value && e.placeholder), I = d(() => e.maxLength && o.value.length >= e.maxLength && r.value), g = d(() => e.disabled || !e.selectable || r.value ? "outlined" : u.value ? "filled" : !i.value && !e.editable ? "outlined" : e.variant), W = d(() => e.disabled ? "default" : e.isInvalid ? "error" : i.value || !i.value && e.editable || !e.selectable ? e.color : "default"), o = d({
33
30
  get: () => e.label,
34
31
  set: (n) => {
35
32
  v("update:label", n);
36
33
  }
37
- }), M = s(null), P = () => M.value?.focus(), U = async () => {
38
- e.disabled || !e.selectable || (e.editable ? (r.value = !0, await N(), P()) : (i.value = !i.value, v("update:isSelected", i.value)));
39
- }, Y = () => {
34
+ }), M = s(null), F = () => M.value?.focus(), U = async () => {
35
+ e.disabled || !e.selectable || (e.editable ? (r.value = !0, await N(), F()) : (i.value = !i.value, v("update:isSelected", i.value)));
36
+ }, j = () => {
40
37
  v("stopEditing"), x();
41
38
  }, x = () => {
42
39
  r.value = !1, !o.value && !e.placeholder && v("remove");
43
40
  };
44
- S(
41
+ L(
45
42
  () => [o.value, e.placeholder, r.value],
46
43
  async () => {
47
- await N(), r.value && y.value ? h.value = y.value.offsetWidth + "px" : h.value = void 0;
44
+ await N(), r.value && y.value ? k.value = y.value.offsetWidth + "px" : k.value = void 0;
48
45
  },
49
46
  { immediate: !0 }
50
- ), S(
47
+ ), L(
51
48
  () => e.editable,
52
49
  () => {
53
50
  e.editable && (i.value = !0);
@@ -61,7 +58,7 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
61
58
  warning: "var(--warning-main)",
62
59
  success: "var(--success-main)",
63
60
  dark: "var(--common-divider)"
64
- }, L = {
61
+ }, S = {
65
62
  default: "var(--action-active)",
66
63
  primary: "var(--primary-dark)",
67
64
  info: "var(--info-dark)",
@@ -69,7 +66,7 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
69
66
  warning: "var(--warning-dark)",
70
67
  success: "var(--success-dark)",
71
68
  dark: "var(--common-divider)"
72
- }, j = {
69
+ }, q = {
73
70
  default: "var(--action-active)",
74
71
  primary: "var(--primary-darker)",
75
72
  info: "var(--info-darker)",
@@ -77,17 +74,17 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
77
74
  warning: "var(--warning-darker)",
78
75
  success: "var(--success-darker)",
79
76
  dark: "var(--common-divider)"
80
- }, q = d(() => {
77
+ }, A = d(() => {
81
78
  if (e.disabled)
82
79
  return "var(--action-disabled)";
83
80
  const n = e.isInvalid ? "error" : e.color;
84
- return k.value ? j[n] : L[n];
85
- }), A = d(() => {
81
+ return h.value ? q[n] : S[n];
82
+ }), G = d(() => {
86
83
  if (e.disabled)
87
84
  return "var(--action-disabled)";
88
85
  const n = e.isInvalid ? "error" : e.color;
89
- return i.value || !e.selectable ? L[n] : "var(--action-active)";
90
- }), G = d(() => {
86
+ return i.value || !e.selectable ? S[n] : "var(--action-active)";
87
+ }), J = d(() => {
91
88
  if (e.editable && e.variant !== "outlined" || !e.selectable) {
92
89
  const n = r.value ? B[e.color] : "var(--primary-main-50-p)";
93
90
  return {
@@ -106,17 +103,15 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
106
103
  distance: 10,
107
104
  skidding: 10
108
105
  }, {
109
- content: m(() => [
110
- E("div", ae, [
111
- w(l(D), { variant: "body2" }, {
112
- default: m(() => [
113
- V(T(a.maxLengthTooltip), 1)
114
- ]),
115
- _: 1
116
- })
117
- ])
106
+ tooltip: m(() => [
107
+ w(l(O), { variant: "body2" }, {
108
+ default: m(() => [
109
+ E(T(a.maxLengthTooltip), 1)
110
+ ]),
111
+ _: 1
112
+ })
118
113
  ]),
119
- trigger: m(() => [
114
+ default: m(() => [
120
115
  w(l(_), {
121
116
  class: p({
122
117
  "rounded-tag": a.rounded,
@@ -133,48 +128,48 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
133
128
  }),
134
129
  label: l(o),
135
130
  "test-id": a.testId,
136
- color: l(F),
131
+ color: l(W),
137
132
  size: a.size,
138
133
  variant: l(g),
139
134
  disabled: a.disabled,
140
- style: R(l(G)),
135
+ style: V(l(J)),
141
136
  onMouseover: t[5] || (t[5] = (c) => u.value = !0),
142
137
  onMouseleave: t[6] || (t[6] = (c) => u.value = !1),
143
138
  onClick: b(U, ["stop"])
144
139
  }, {
145
140
  default: m(() => [
146
- E("div", le, [
147
- a.iconName ? (f(), C(l(W), {
141
+ Q("div", ae, [
142
+ a.iconName ? (f(), C(l(D), {
148
143
  key: 0,
149
144
  name: a.iconName,
150
145
  size: "16px",
151
- color: l(A),
146
+ color: l(G),
152
147
  class: "tag-icon",
153
148
  type: a.iconType
154
- }, null, 8, ["name", "color", "type"])) : $("", !0),
155
- r.value ? O((f(), H("input", {
149
+ }, null, 8, ["name", "color", "type"])) : R("", !0),
150
+ r.value ? $((f(), H("input", {
156
151
  key: 2,
157
152
  ref_key: "inputRef",
158
153
  ref: M,
159
- "onUpdate:modelValue": t[0] || (t[0] = (c) => Q(o) ? o.value = c : null),
154
+ "onUpdate:modelValue": t[0] || (t[0] = (c) => X(o) ? o.value = c : null),
160
155
  placeholder: a.placeholder,
161
156
  class: p(["tag-input", { "tag-input-outline": a.variant === "outlined" }]),
162
157
  spellcheck: "false",
163
- style: R({ width: h.value }),
158
+ style: V({ width: k.value }),
164
159
  maxlength: a.maxLength,
165
- onBlur: Y,
160
+ onBlur: j,
166
161
  onKeyup: [
167
162
  K(b(x, ["prevent"]), ["enter"]),
168
163
  K(b(x, ["prevent"]), ["esc"])
169
164
  ]
170
- }, null, 46, te)), [
165
+ }, null, 46, le)), [
171
166
  [
172
- X,
167
+ Y,
173
168
  l(o),
174
169
  void 0,
175
170
  { trim: !0 }
176
171
  ]
177
- ]) : (f(), C(l(D), {
172
+ ]) : (f(), C(l(O), {
178
173
  key: 1,
179
174
  variant: "chipLabel",
180
175
  class: p(["tag-label", {
@@ -183,7 +178,7 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
183
178
  }])
184
179
  }, {
185
180
  default: m(() => [
186
- V(T(l(o) || a.placeholder), 1)
181
+ E(T(l(o) || a.placeholder), 1)
187
182
  ]),
188
183
  _: 1
189
184
  }, 8, ["class"])),
@@ -192,18 +187,18 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
192
187
  ref_key: "sizerRef",
193
188
  ref: y,
194
189
  class: "tag-input-sizer"
195
- }, T(l(o) || a.placeholder || ""), 513)) : $("", !0)
190
+ }, T(l(o) || a.placeholder || ""), 513)) : R("", !0)
196
191
  ]),
197
- O(w(l(W), {
192
+ $(w(l(D), {
198
193
  class: p(["clear-button", { "clear-button--invalid": a.isInvalid }]),
199
194
  name: "x-circle",
200
195
  size: "16px",
201
196
  type: "fill",
202
- color: l(q),
197
+ color: l(A),
203
198
  onMousedown: t[1] || (t[1] = b(() => {
204
199
  }, ["prevent"])),
205
- onMouseover: t[2] || (t[2] = (c) => k.value = !0),
206
- onMouseleave: t[3] || (t[3] = (c) => k.value = !1),
200
+ onMouseover: t[2] || (t[2] = (c) => h.value = !0),
201
+ onMouseleave: t[3] || (t[3] = (c) => h.value = !1),
207
202
  onClick: t[4] || (t[4] = b((c) => v("remove"), ["stop"]))
208
203
  }, null, 8, ["class", "color"]), [
209
204
  [Z, a.editable && !l(z) && a.selectable]
@@ -217,5 +212,5 @@ const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, t
217
212
  }
218
213
  });
219
214
  export {
220
- se as default
215
+ ue as default
221
216
  };
package/index.d.ts CHANGED
@@ -29,6 +29,10 @@ declare const _default: {
29
29
  $data: {};
30
30
  $props: Partial<{
31
31
  testId: string;
32
+ delay: number | {
33
+ show: number;
34
+ hide: number;
35
+ };
32
36
  placement: import("floating-vue").Placement;
33
37
  disabled: boolean;
34
38
  distance: number;
@@ -43,6 +47,13 @@ declare const _default: {
43
47
  type: import("vue").PropType<string>;
44
48
  default: string;
45
49
  };
50
+ delay: {
51
+ type: import("vue").PropType<number | {
52
+ show: number;
53
+ hide: number;
54
+ }>;
55
+ default: number;
56
+ };
46
57
  placement: {
47
58
  type: import("vue").PropType<import("floating-vue").Placement>;
48
59
  default: string;
@@ -81,7 +92,7 @@ declare const _default: {
81
92
  };
82
93
  }>> & {
83
94
  onIsOpen?: (value: boolean) => any;
84
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
95
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "delay" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
85
96
  $attrs: {
86
97
  [x: string]: unknown;
87
98
  };
@@ -100,6 +111,13 @@ declare const _default: {
100
111
  type: import("vue").PropType<string>;
101
112
  default: string;
102
113
  };
114
+ delay: {
115
+ type: import("vue").PropType<number | {
116
+ show: number;
117
+ hide: number;
118
+ }>;
119
+ default: number;
120
+ };
103
121
  placement: {
104
122
  type: import("vue").PropType<import("floating-vue").Placement>;
105
123
  default: string;
@@ -144,6 +162,10 @@ declare const _default: {
144
162
  isOpen: (value: boolean) => void;
145
163
  }, string, {
146
164
  testId: string;
165
+ delay: number | {
166
+ show: number;
167
+ hide: number;
168
+ };
147
169
  placement: import("floating-vue").Placement;
148
170
  disabled: boolean;
149
171
  distance: number;
@@ -178,6 +200,13 @@ declare const _default: {
178
200
  type: import("vue").PropType<string>;
179
201
  default: string;
180
202
  };
203
+ delay: {
204
+ type: import("vue").PropType<number | {
205
+ show: number;
206
+ hide: number;
207
+ }>;
208
+ default: number;
209
+ };
181
210
  placement: {
182
211
  type: import("vue").PropType<import("floating-vue").Placement>;
183
212
  default: string;
@@ -227,6 +256,13 @@ declare const _default: {
227
256
  type: import("vue").PropType<string>;
228
257
  default: string;
229
258
  };
259
+ delay: {
260
+ type: import("vue").PropType<number | {
261
+ show: number;
262
+ hide: number;
263
+ }>;
264
+ default: number;
265
+ };
230
266
  placement: {
231
267
  type: import("vue").PropType<import("floating-vue").Placement>;
232
268
  default: string;
@@ -271,6 +307,10 @@ declare const _default: {
271
307
  isOpen: (value: boolean) => void;
272
308
  }, string, {
273
309
  testId: string;
310
+ delay: number | {
311
+ show: number;
312
+ hide: number;
313
+ };
274
314
  placement: import("floating-vue").Placement;
275
315
  disabled: boolean;
276
316
  distance: number;
@@ -292,6 +332,10 @@ declare const _default: {
292
332
  $data: {};
293
333
  $props: Partial<{
294
334
  testId: string;
335
+ delay: number | {
336
+ show: number;
337
+ hide: number;
338
+ };
295
339
  placement: import("floating-vue").Placement;
296
340
  disabled: boolean;
297
341
  distance: number;
@@ -306,6 +350,13 @@ declare const _default: {
306
350
  type: import("vue").PropType<string>;
307
351
  default: string;
308
352
  };
353
+ delay: {
354
+ type: import("vue").PropType<number | {
355
+ show: number;
356
+ hide: number;
357
+ }>;
358
+ default: number;
359
+ };
309
360
  placement: {
310
361
  type: import("vue").PropType<import("floating-vue").Placement>;
311
362
  default: string;
@@ -344,7 +395,7 @@ declare const _default: {
344
395
  };
345
396
  }>> & {
346
397
  onIsOpen?: (value: boolean) => any;
347
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
398
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "delay" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
348
399
  $attrs: {
349
400
  [x: string]: unknown;
350
401
  };
@@ -363,6 +414,13 @@ declare const _default: {
363
414
  type: import("vue").PropType<string>;
364
415
  default: string;
365
416
  };
417
+ delay: {
418
+ type: import("vue").PropType<number | {
419
+ show: number;
420
+ hide: number;
421
+ }>;
422
+ default: number;
423
+ };
366
424
  placement: {
367
425
  type: import("vue").PropType<import("floating-vue").Placement>;
368
426
  default: string;
@@ -407,6 +465,10 @@ declare const _default: {
407
465
  isOpen: (value: boolean) => void;
408
466
  }, string, {
409
467
  testId: string;
468
+ delay: number | {
469
+ show: number;
470
+ hide: number;
471
+ };
410
472
  placement: import("floating-vue").Placement;
411
473
  disabled: boolean;
412
474
  distance: number;
@@ -441,6 +503,13 @@ declare const _default: {
441
503
  type: import("vue").PropType<string>;
442
504
  default: string;
443
505
  };
506
+ delay: {
507
+ type: import("vue").PropType<number | {
508
+ show: number;
509
+ hide: number;
510
+ }>;
511
+ default: number;
512
+ };
444
513
  placement: {
445
514
  type: import("vue").PropType<import("floating-vue").Placement>;
446
515
  default: string;
@@ -490,6 +559,13 @@ declare const _default: {
490
559
  type: import("vue").PropType<string>;
491
560
  default: string;
492
561
  };
562
+ delay: {
563
+ type: import("vue").PropType<number | {
564
+ show: number;
565
+ hide: number;
566
+ }>;
567
+ default: number;
568
+ };
493
569
  placement: {
494
570
  type: import("vue").PropType<import("floating-vue").Placement>;
495
571
  default: string;
@@ -534,6 +610,10 @@ declare const _default: {
534
610
  isOpen: (value: boolean) => void;
535
611
  }, string, {
536
612
  testId: string;
613
+ delay: number | {
614
+ show: number;
615
+ hide: number;
616
+ };
537
617
  placement: import("floating-vue").Placement;
538
618
  disabled: boolean;
539
619
  distance: number;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_lang.css';
1
+ import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
2
2
  import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as ao } from "./components/menuItem/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.2.0-rc.37",
3
+ "version": "2.2.0-rc.38",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- div[data-v-66694b4e]{display:block}
@@ -1 +0,0 @@
1
- @import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-78f19cb0],.font-chart-2[data-v-78f19cb0],.font-chart-1[data-v-78f19cb0]{font-family:Inter,sans-serif;font-weight:700}.tag-input-sizer[data-v-78f19cb0],.tag-input[data-v-78f19cb0],.font-chip-label[data-v-78f19cb0],.font-table-label[data-v-78f19cb0],.font-button[data-v-78f19cb0],.font-heading-6[data-v-78f19cb0],.font-heading-5[data-v-78f19cb0],.font-heading-4[data-v-78f19cb0],.font-heading-3[data-v-78f19cb0],.font-heading-2[data-v-78f19cb0],.font-heading-1[data-v-78f19cb0],.font-title[data-v-78f19cb0]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-78f19cb0],.font-input-label[data-v-78f19cb0],.font-overline[data-v-78f19cb0],.font-subtitle-2[data-v-78f19cb0],.font-subtitle-1[data-v-78f19cb0]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-78f19cb0],.font-body-2[data-v-78f19cb0],.font-body-1[data-v-78f19cb0]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-78f19cb0]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-78f19cb0]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-78f19cb0]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-78f19cb0]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-78f19cb0]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-78f19cb0]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-78f19cb0]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.font-body-1[data-v-78f19cb0]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-78f19cb0]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-78f19cb0]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-78f19cb0]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-78f19cb0]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-78f19cb0]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-78f19cb0]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-78f19cb0]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-78f19cb0]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-78f19cb0]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-78f19cb0]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-78f19cb0],.font-tab-label2[data-v-78f19cb0]{font-size:.875rem;line-height:1rem}.tag-input-sizer[data-v-78f19cb0],.tag-input[data-v-78f19cb0],.font-chip-label[data-v-78f19cb0]{font-size:.75rem;line-height:1rem}h1[data-v-78f19cb0],h2[data-v-78f19cb0],h3[data-v-78f19cb0],h4[data-v-78f19cb0],h5[data-v-78f19cb0],h6[data-v-78f19cb0]{margin:0}.rounded-tag[data-v-78f19cb0]{border-radius:100px}.tag-editing[data-v-78f19cb0]{outline:1px solid var(--outline-color)}.unselected-tag-hover-outline[data-v-78f19cb0]{background-color:var(--action-hover)}.tag-hover-outline[data-v-78f19cb0]{outline:1px solid var(--outline-color);cursor:pointer}.unselected-tag[data-v-78f19cb0]{outline:1px solid var(--action-outlined-border)}.tag-disabled[data-v-78f19cb0]{background-color:transparent;outline:1px solid var(--action-disabled)}.tag-content[data-v-78f19cb0]{display:flex;align-items:center;position:relative;min-width:.625rem;max-width:31.25rem}.tag-icon[data-v-78f19cb0]{margin-right:.25rem}.tag-label[data-v-78f19cb0]{user-select:none;min-width:.5rem}.tag-label--disabled[data-v-78f19cb0]{color:var(--action-disabled)}.tag-label--hidden[data-v-78f19cb0]{visibility:hidden}.tag-input[data-v-78f19cb0]{position:static;width:auto;background:transparent;min-width:.6rem;padding:0;border:none;max-width:100%;overflow-x:auto;white-space:nowrap}.tag-input[data-v-78f19cb0]:focus{outline:none}.tag-input-outline[data-v-78f19cb0]::placeholder{color:var(--action-disabled)}.clear-button[data-v-78f19cb0]{margin-left:.25rem;color:var(--action-active);cursor:pointer}.clear-button[data-v-78f19cb0]:hover{color:var(--text-primary)}.clear-button--invalid[data-v-78f19cb0]{color:var(--error-dark)}.clear-button--invalid[data-v-78f19cb0]:hover{color:var(--error-darker)}.tag-input-sizer[data-v-78f19cb0]{position:absolute;visibility:hidden;height:0;white-space:pre;pointer-events:none;padding:0}.editable-tag[data-v-78f19cb0]{cursor:text}.empty-tag[data-v-78f19cb0]{background-color:transparent;outline:1px dashed var(--action-outlined-border);color:var(--text-secondary)}.empty-tag[data-v-78f19cb0]:hover:not(.tag-disabled){outline:1px dashed var(--action-active)}.tag-max-length-tooltip[data-v-78f19cb0]{display:flex;width:15.625rem;padding:.25rem}