@ironsource/shared-ui 2.1.11-rc.34 → 2.1.11-rc.35

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
+ .chart-header[data-v-b8213498]{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 0}.chart-header .subheader[data-v-b8213498]{color:var(--text-secondary)}.header-texts[data-v-b8213498]{display:flex;flex-direction:column;color:var(--text-primary);gap:4px;cursor:default}.type-switch[data-v-b8213498]{display:flex;align-items:center;gap:4px}
@@ -0,0 +1 @@
1
+ .disabled-tooltip[data-v-214d2926],.disabled-tooltip[data-v-214d2926] .container{width:100%}.chart-legend[data-v-214d2926]{display:flex;flex-direction:column;width:220px;height:100%;padding:0 8px 8px}.search-box[data-v-214d2926]{padding:12px 0 4px}.legend[data-v-214d2926]{overflow-y:auto;color:var(--text-primary);height:100%;overflow-x:hidden}.legend__list[data-v-214d2926]{list-style:none;padding:0}.legend__list>li[data-v-214d2926]{display:flex;align-items:center;gap:8px;padding:6px 8px}.legend__list>li[data-v-214d2926]:hover{background-color:var(--action-hover, rgba(0, 0, 0, .05));border-radius:8px;cursor:pointer}.legend__list>li.disabled-item[data-v-214d2926]{cursor:not-allowed!important;opacity:.5;background:var(--background-paper)}.legend__list>li .item-wrapper[data-v-214d2926]{display:flex;align-items:center;gap:8px;width:100%}.legend__list>li .item-wrapper .legend-label[data-v-214d2926]{width:80%}.legend__list>li .item-wrapper .icon-color[data-v-214d2926]{color:var(--action-active)}.legend__list>li .item-wrapper .label-container[data-v-214d2926]{display:flex;flex-direction:column;width:100%}.legend__list>li .item-wrapper .label-container .legend-caption[data-v-214d2926]{color:var(--text-secondary, #646464)}
@@ -0,0 +1 @@
1
+ .checkbox[data-v-af4ae3c3]{color:var(--primary-light);position:relative;cursor:pointer;display:flex;align-items:center;user-select:none;line-height:0}.checkbox.focus-visible .checkbox__inner[data-v-af4ae3c3]{outline:solid;border-radius:4px}.icon.unchecked[data-v-af4ae3c3]{color:var(--default-outlined-border)}.checkbox:hover .icon.unchecked[data-v-af4ae3c3]{color:var(--action-active)}.checkboxes[data-v-af4ae3c3]{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;background-color:transparent;outline:0;border:0;line-height:0;margin:0;user-select:none;vertical-align:middle;appearance:none;text-decoration:none;border-radius:50%}.input[data-v-af4ae3c3]{z-index:-1;cursor:inherit;position:absolute;opacity:0;width:100%;height:100%;top:0;left:0;margin:0;padding:0}.checkbox__inner[data-v-af4ae3c3]{overflow:hidden;pointer-events:none;position:absolute;z-index:0;inset:0}.states[data-v-af4ae3c3]{width:var(--spacing-200);height:var(--spacing-200)}.disabled[data-v-af4ae3c3]{cursor:not-allowed}.disabled .checkbox-label[data-v-af4ae3c3]{color:var(--text-disabled)}.checkbox-label[data-v-af4ae3c3]{margin-left:var(--spacing-100);color:var(--text-primary)}
@@ -1,7 +1,7 @@
1
1
  import e from "./ChartHeader.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ChartHeader.vue_vue_type_style_index_0_scoped_088fa9b9_lang.css"; //*');
4
- const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-088fa9b9"]]);
3
+ // import "../../ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-b8213498"]]);
5
5
  export {
6
- r as default
6
+ s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../ChartHeader.vue_vue_type_style_index_0_scoped_088fa9b9_lang.css"; import { defineComponent as y, computed as T, openBlock as c, createElementBlock as b, createElementVNode as S, createVNode as i, unref as a, withCtx as o, renderSlot as V, createTextVNode as s, toDisplayString as u, createBlock as g, isRef as v, createCommentVNode as w } from "vue";
1
+ import "../../ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css"; import { defineComponent as y, computed as T, openBlock as c, createElementBlock as b, createElementVNode as S, createVNode as i, unref as a, withCtx as o, renderSlot as V, createTextVNode as s, toDisplayString as u, createBlock as g, isRef as v, createCommentVNode as w } from "vue";
2
2
  import h from "../typography/v4/Typography.vue.js";
3
3
  import B from "../switch/v4/SwitchV4.vue.js";
4
4
  import { ChartType as r } from "./types.js";
@@ -1,7 +1,7 @@
1
1
  import e from "./ChartLegend.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ChartLegend.vue_vue_type_style_index_0_scoped_f00a9b1f_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f00a9b1f"]]);
3
+ // import "../../ChartLegend.vue_vue_type_style_index_0_scoped_214d2926_lang.css"; //*');
4
+ const d = /* @__PURE__ */ o(e, [["__scopeId", "data-v-214d2926"]]);
5
5
  export {
6
- a as default
6
+ d as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../ChartLegend.vue_vue_type_style_index_0_scoped_f00a9b1f_lang.css"; import { defineComponent as N, ref as S, computed as p, openBlock as c, createElementBlock as u, createElementVNode as a, createVNode as n, unref as l, mergeProps as x, Fragment as U, renderList as M, normalizeClass as A, withCtx as m, createBlock as F, createCommentVNode as H, createTextVNode as _, toDisplayString as I } from "vue";
1
+ import "../../ChartLegend.vue_vue_type_style_index_0_scoped_214d2926_lang.css"; import { defineComponent as N, ref as S, computed as p, openBlock as r, createElementBlock as u, createElementVNode as a, createVNode as n, unref as l, mergeProps as x, Fragment as U, renderList as M, normalizeClass as A, withCtx as m, createBlock as F, createCommentVNode as H, createTextVNode as _, toDisplayString as I } from "vue";
2
2
  import { useVirtualList as P } from "@vueuse/core";
3
3
  import L from "../typography/v4/Typography.vue.js";
4
4
  import z from "../checkbox/v4/CheckboxV4.vue.js";
@@ -7,7 +7,7 @@ import { DEFAULT_MIN_VISIBLE as q, DEFAULT_MAX_VISIBLE as G } from "./consts.js"
7
7
  import X from "../icon/v4/IconV4.vue.js";
8
8
  import "../icon/v4/IconFlag.vue.js";
9
9
  import $ from "../tooltip/v4/TooltipV4.vue.js";
10
- const j = { class: "chart-legend" }, J = { class: "search-box" }, K = ["onClick"], O = { class: "item-wrapper" }, Q = { class: "label-container" }, ae = /* @__PURE__ */ N({
10
+ const j = { class: "chart-legend" }, J = { class: "search-box" }, K = { class: "item-wrapper" }, O = ["onClick"], se = /* @__PURE__ */ N({
11
11
  __name: "ChartLegend",
12
12
  props: {
13
13
  items: { default: () => [] },
@@ -18,8 +18,8 @@ const j = { class: "chart-legend" }, J = { class: "search-box" }, K = ["onClick"
18
18
  },
19
19
  emits: ["update:visibleIds"],
20
20
  setup(b, { emit: T }) {
21
- const o = b, k = 32, d = S(""), C = p(() => {
22
- const t = d.value.toLowerCase();
21
+ const o = b, k = 32, c = S(""), C = p(() => {
22
+ const t = c.value.toLowerCase();
23
23
  return o.items.filter(
24
24
  (i) => i.label.toLowerCase().includes(t)
25
25
  );
@@ -27,7 +27,7 @@ const j = { class: "chart-legend" }, J = { class: "search-box" }, K = ["onClick"
27
27
  () => o.visibleIds.length >= o.maxVisible
28
28
  ), g = p(
29
29
  () => o.visibleIds.length <= o.minVisible
30
- ), r = (t) => g.value && s(t) || f.value && !s(t), V = (t) => !o.maxLimitTooltipText || s(t) || !f.value, h = (t, i) => {
30
+ ), d = (t) => g.value && s(t) || f.value && !s(t), V = (t) => !o.maxLimitTooltipText || s(t) || !f.value, h = (t, i) => {
31
31
  T(
32
32
  "update:visibleIds",
33
33
  t ? [...o.visibleIds, i.id] : o.visibleIds.filter((e) => e !== i.id)
@@ -36,21 +36,20 @@ const j = { class: "chart-legend" }, J = { class: "search-box" }, K = ["onClick"
36
36
  itemHeight: k,
37
37
  overscan: 10
38
38
  }), B = (t) => {
39
- r(t) || h(!s(t), t);
39
+ d(t) || h(!s(t), t);
40
40
  };
41
- return (t, i) => (c(), u("div", j, [
41
+ return (t, i) => (r(), u("div", j, [
42
42
  a("div", J, [
43
43
  n(l(R), {
44
- modelValue: d.value,
45
- "onUpdate:modelValue": i[0] || (i[0] = (e) => d.value = e)
44
+ modelValue: c.value,
45
+ "onUpdate:modelValue": i[0] || (i[0] = (e) => c.value = e)
46
46
  }, null, 8, ["modelValue"])
47
47
  ]),
48
48
  a("div", x({ class: "legend" }, l(E)), [
49
49
  a("ul", x({ class: "legend__list" }, l(w)), [
50
- (c(!0), u(U, null, M(l(y), ({ data: e, index: D }) => (c(), u("li", {
50
+ (r(!0), u(U, null, M(l(y), ({ data: e, index: D }) => (r(), u("li", {
51
51
  key: D,
52
- class: A({ "disabled-item": r(e) }),
53
- onClick: (v) => B(e)
52
+ class: A({ "disabled-item": d(e) })
54
53
  }, [
55
54
  n(l($), {
56
55
  text: b.maxLimitTooltipText,
@@ -58,21 +57,24 @@ const j = { class: "chart-legend" }, J = { class: "search-box" }, K = ["onClick"
58
57
  class: "disabled-tooltip"
59
58
  }, {
60
59
  default: m(() => [
61
- a("div", O, [
60
+ a("div", K, [
62
61
  n(l(z), {
63
62
  color: e.color,
64
63
  "is-checked": s(e),
65
- disabled: r(e),
64
+ disabled: d(e),
66
65
  "onUpdate:isChecked": (v) => h(v, e)
67
66
  }, null, 8, ["color", "is-checked", "disabled", "onUpdate:isChecked"]),
68
- e.icon ? (c(), F(l(X), {
67
+ e.icon ? (r(), F(l(X), {
69
68
  key: 0,
70
69
  class: "icon-color",
71
70
  type: e.iconType,
72
71
  name: e.icon,
73
72
  size: "16px"
74
73
  }, null, 8, ["type", "name"])) : H("", !0),
75
- a("div", Q, [
74
+ a("div", {
75
+ class: "label-container",
76
+ onClick: (v) => B(e)
77
+ }, [
76
78
  n(l(L), {
77
79
  variant: "body2",
78
80
  class: "legend-label",
@@ -99,17 +101,17 @@ const j = { class: "chart-legend" }, J = { class: "search-box" }, K = ["onClick"
99
101
  ]),
100
102
  _: 2
101
103
  }, 1032, ["tooltip-text"])
102
- ])
104
+ ], 8, O)
103
105
  ])
104
106
  ]),
105
107
  _: 2
106
108
  }, 1032, ["text", "disabled"])
107
- ], 10, K))), 128))
109
+ ], 2))), 128))
108
110
  ], 16)
109
111
  ], 16)
110
112
  ]));
111
113
  }
112
114
  });
113
115
  export {
114
- ae as default
116
+ se as default
115
117
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./CheckboxV4.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css"; //*');
4
- const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-8e5b619a"]]);
3
+ // import "../../../CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-af4ae3c3"]]);
5
5
  export {
6
- c as default
6
+ t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css"; import { defineComponent as D, openBlock as o, createElementBlock as f, mergeProps as a, unref as e, createElementVNode as u, Fragment as B, createBlock as n, createCommentVNode as c, withCtx as V, renderSlot as $, createTextVNode as F, toDisplayString as g, pushScopeId as A, popScopeId as T } from "vue";
1
+ import "../../../CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css"; import { defineComponent as D, openBlock as o, createElementBlock as f, mergeProps as a, unref as e, createElementVNode as u, Fragment as B, createBlock as n, createCommentVNode as c, withCtx as V, renderSlot as $, createTextVNode as F, toDisplayString as g, pushScopeId as A, popScopeId as T } from "vue";
2
2
  import v from "../../typography/v4/Typography.vue.js";
3
3
  import L from "./icons/UncheckedState.vue.js";
4
4
  import N from "./icons/CheckedState.vue.js";
@@ -9,7 +9,7 @@ import K from "./icons/IndeterminateDisabledState.vue.js";
9
9
  import { CheckboxTestIdModifiers as i } from "../../../testids/index.js";
10
10
  import { checkboxCommon as R } from "../common/Checkbox.common.js";
11
11
  import { useTestIdAttrs as U } from "../../../utils/testIds.js";
12
- const M = (t) => (A("data-v-8e5b619a"), t = t(), T(), t), W = ["for"], j = { class: "checkboxes" }, q = ["id", "disabled", "checked", ".indeterminate"], z = /* @__PURE__ */ M(() => /* @__PURE__ */ u("span", { class: "checkbox__inner" }, null, -1)), G = { class: "states" }, le = /* @__PURE__ */ D({
12
+ const M = (t) => (A("data-v-af4ae3c3"), t = t(), T(), t), W = ["for"], j = { class: "checkboxes" }, q = ["id", "disabled", "checked", ".indeterminate"], z = /* @__PURE__ */ M(() => /* @__PURE__ */ u("span", { class: "checkbox__inner" }, null, -1)), G = { class: "states" }, le = /* @__PURE__ */ D({
13
13
  __name: "CheckboxV4",
14
14
  props: {
15
15
  isChecked: { type: Boolean },
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_198d2d73_lang.css';
1
+ import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_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.34",
3
+ "version": "2.1.11-rc.35",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .chart-header[data-v-088fa9b9]{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 0}.chart-header .subheader[data-v-088fa9b9]{color:var(--text-secondary)}.header-texts[data-v-088fa9b9]{display:flex;flex-direction:column;color:var(--text-primary);gap:4px}.type-switch[data-v-088fa9b9]{display:flex;align-items:center;gap:4px}
@@ -1 +0,0 @@
1
- .disabled-tooltip[data-v-f00a9b1f],.disabled-tooltip[data-v-f00a9b1f] .container{width:100%}.chart-legend[data-v-f00a9b1f]{display:flex;flex-direction:column;width:220px;height:100%;padding:0 8px 8px}.search-box[data-v-f00a9b1f]{padding:12px 0 4px}.legend[data-v-f00a9b1f]{overflow-y:auto;color:var(--text-primary);height:100%;overflow-x:hidden}.legend__list[data-v-f00a9b1f]{list-style:none;padding:0}.legend__list>li[data-v-f00a9b1f]{display:flex;align-items:center;gap:8px;padding:6px 8px}.legend__list>li[data-v-f00a9b1f]:hover{background-color:var(--action-hover, rgba(0, 0, 0, .05));border-radius:8px;cursor:pointer}.legend__list>li.disabled-item[data-v-f00a9b1f]{cursor:not-allowed!important;opacity:.5;background:var(--background-paper)}.legend__list>li .item-wrapper[data-v-f00a9b1f]{display:flex;align-items:center;gap:8px;width:100%}.legend__list>li .item-wrapper .legend-label[data-v-f00a9b1f]{width:80%}.legend__list>li .item-wrapper .icon-color[data-v-f00a9b1f]{color:var(--action-active)}.legend__list>li .item-wrapper .label-container[data-v-f00a9b1f]{display:flex;flex-direction:column;width:100%}.legend__list>li .item-wrapper .label-container .legend-caption[data-v-f00a9b1f]{color:var(--text-secondary, #646464)}
@@ -1 +0,0 @@
1
- .checkbox[data-v-8e5b619a]{color:var(--primary-light);position:relative;cursor:pointer;display:flex;align-items:center;user-select:none;line-height:0}.checkbox.focus-visible .checkbox__inner[data-v-8e5b619a]{outline:solid;border-radius:4px}.icon.unchecked[data-v-8e5b619a]{color:var(--default-outlined-border)}.checkbox:hover .icon.unchecked[data-v-8e5b619a]{color:var(--action-active)}.checkboxes[data-v-8e5b619a]{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;background-color:transparent;outline:0;border:0;line-height:0;margin:0;user-select:none;vertical-align:middle;appearance:none;text-decoration:none;border-radius:50%}.input[data-v-8e5b619a]{z-index:-1;cursor:inherit;position:absolute;opacity:0;width:100%;height:100%;top:0;left:0;margin:0;padding:0}.checkbox__inner[data-v-8e5b619a]{overflow:hidden;pointer-events:none;position:absolute;z-index:0;inset:0}.states[data-v-8e5b619a]{width:var(--spacing-200);height:var(--spacing-200)}.disabled[data-v-8e5b619a]{cursor:default}.disabled .checkbox-label[data-v-8e5b619a]{color:var(--text-disabled)}.checkbox-label[data-v-8e5b619a]{margin-left:var(--spacing-100);color:var(--text-primary)}