@ironsource/shared-ui 2.1.12-rc.29 → 2.1.12-rc.30

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-container[data-v-fa533a3d]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-fa533a3d]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-fa533a3d]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-fa533a3d]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-fa533a3d]{border-left:1px solid var(--common-divider)}
@@ -1,4 +1,4 @@
1
- import { ChartDataSet, ChartParsingConfig, ChartType, DateInterval, TooltipOrder, TrendDirection, ValueFormat } from './types';
1
+ import { ChartDataSet, ChartParsingConfig, ChartType, ColorVariant, DateInterval, TooltipOrder, TrendDirection, ValueFormat } from './types';
2
2
  import { TotalType } from '@/utils/totals';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  dataSets: ChartDataSet[];
@@ -48,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
48
48
  fullHeightBottomSpacing?: number;
49
49
  withSettingsHeader?: boolean;
50
50
  extraCharts?: Record<string, unknown>[];
51
+ colorVariant?: ColorVariant;
51
52
  }>, {
52
53
  chartType: ChartType;
53
54
  dataSets: () => any[];
@@ -89,6 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
89
90
  fullHeightBottomSpacing: number;
90
91
  withSettingsHeader: boolean;
91
92
  extraCharts: () => any[];
93
+ colorVariant: string;
92
94
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
93
95
  "update:chartType": (chartType: ChartType) => void;
94
96
  "update:visibleIds": (visibleIds: unknown[]) => void;
@@ -141,6 +143,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
141
143
  fullHeightBottomSpacing?: number;
142
144
  withSettingsHeader?: boolean;
143
145
  extraCharts?: Record<string, unknown>[];
146
+ colorVariant?: ColorVariant;
144
147
  }>, {
145
148
  chartType: ChartType;
146
149
  dataSets: () => any[];
@@ -182,6 +185,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
182
185
  fullHeightBottomSpacing: number;
183
186
  withSettingsHeader: boolean;
184
187
  extraCharts: () => any[];
188
+ colorVariant: string;
185
189
  }>>> & {
186
190
  "onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
187
191
  "onUpdate:sortSelected"?: (sortOption: unknown) => any;
@@ -227,6 +231,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
227
231
  fullHeightBottomSpacing: number;
228
232
  withSettingsHeader: boolean;
229
233
  extraCharts: Record<string, unknown>[];
234
+ colorVariant: ColorVariant;
230
235
  }>, {
231
236
  "before-chart-type"?(_: {}): any;
232
237
  metric?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./Chart.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css"; //*');
4
- const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e8f25a03"]]);
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css"; //*');
4
+ const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-fa533a3d"]]);
5
5
  export {
6
- a as default
6
+ s as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import "../../Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css"; import { defineComponent as U, ref as O, computed as n, openBlock as s, createElementBlock as m, Fragment as C, createBlock as I, unref as i, isRef as b, withCtx as d, renderSlot as u, createCommentVNode as D, createElementVNode as k, mergeProps as g, normalizeClass as E, createVNode as L, createSlots as N, renderList as M } from "vue";
2
- import { useVModel as A } from "@vueuse/core";
1
+ import "../../Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css"; import { defineComponent as U, ref as O, computed as n, openBlock as s, createElementBlock as m, Fragment as C, createBlock as I, unref as i, isRef as b, withCtx as d, renderSlot as u, createCommentVNode as D, createElementVNode as k, mergeProps as g, normalizeClass as E, createVNode as L, createSlots as N, renderList as M } from "vue";
2
+ import { useVModel as V } from "@vueuse/core";
3
3
  import $ from "./ChartLegend.vue.js";
4
4
  import K from "./SettingsHeader.vue.js";
5
- import B from "./ChartPlane.vue.js";
5
+ import A from "./ChartPlane.vue.js";
6
6
  import { useColorsMap as z } from "./composables/useColorsMap.js";
7
7
  import { DEFAULT_TICK_COUNT as R, DEFAULT_MIN_VISIBLE as X, DEFAULT_MAX_VISIBLE as Y } from "./consts.js";
8
8
  import { ChartType as j, DateInterval as q, TooltipOrder as G, TrendDirection as J } from "./types.js";
@@ -53,11 +53,12 @@ const _ = {
53
53
  fullHeight: { type: Boolean, default: !1 },
54
54
  fullHeightBottomSpacing: { default: 50 },
55
55
  withSettingsHeader: { type: Boolean, default: !0 },
56
- extraCharts: { default: () => [] }
56
+ extraCharts: { default: () => [] },
57
+ colorVariant: { default: "default" }
57
58
  },
58
59
  emits: ["update:chartType", "update:visibleIds", "update:sortSelected"],
59
60
  setup(a, { emit: p }) {
60
- const e = a, r = A(e, "chartType", p), c = A(e, "sortSelected", p), h = O(null), y = n(() => ({
61
+ const e = a, r = V(e, "chartType", p), c = V(e, "sortSelected", p), f = O(null), y = n(() => ({
61
62
  dataSets: e.dataSets,
62
63
  visibleIds: e.visibleIds,
63
64
  parsing: e.parsing,
@@ -84,21 +85,22 @@ const _ = {
84
85
  totalsChart: e.totalsChart,
85
86
  subheaderTooltip: e.subheaderTooltip,
86
87
  keepSubheaderVisible: e.keepSubheaderVisible,
87
- colorsMap: f.value,
88
+ colorsMap: h.value,
88
89
  tooltipTotalType: e.tooltipTotalType,
89
90
  tooltipTotalCalcFn: e.tooltipTotalCalcFn,
90
91
  tooltipOrder: e.tooltipOrder,
91
- highlightedId: h.value,
92
+ highlightedId: f.value,
92
93
  valueSuffix: e.valueSuffix,
93
94
  valuePrefix: e.valuePrefix
94
- })), V = n(() => e.dataSets), T = n(() => e.visibleIds), v = n(() => e.extraCharts.length), x = n(() => 1 + v.value), F = (t) => t === v.value - 1, { colorsMap: f } = z({
95
- dataSets: V,
96
- visibleIds: T
95
+ })), B = n(() => e.dataSets), T = n(() => e.visibleIds), v = n(() => e.extraCharts.length), x = n(() => 1 + v.value), F = (t) => t === v.value - 1, { colorsMap: h } = z({
96
+ dataSets: B,
97
+ visibleIds: T,
98
+ variant: e.colorVariant
97
99
  }), w = n(() => e.dataSets.map((t) => ({
98
100
  id: t.id,
99
101
  label: t.label,
100
102
  caption: t.caption || null,
101
- color: f.value[t.id] || null,
103
+ color: h.value[t.id] || null,
102
104
  icon: t.icon || null,
103
105
  iconType: t.iconType || "branded"
104
106
  }))), { containerProps: H, eachPlaneHeight: P } = Q({
@@ -128,7 +130,7 @@ const _ = {
128
130
  k("section", {
129
131
  class: E(["chart-planes", [{ "with-legend": !a.hideLegend }]])
130
132
  }, [
131
- L(B, g({
133
+ L(A, g({
132
134
  "chart-type": i(r),
133
135
  "onUpdate:chart-type": o[1] || (o[1] = (l) => b(r) ? r.value = l : null)
134
136
  }, i(y)), N({ _: 2 }, [
@@ -140,12 +142,12 @@ const _ = {
140
142
  key: "0"
141
143
  } : void 0
142
144
  ]), 1040, ["chart-type"]),
143
- (s(!0), m(C, null, M(a.extraCharts, (l, S) => (s(), I(B, g({
145
+ (s(!0), m(C, null, M(a.extraCharts, (l, S) => (s(), I(A, g({
144
146
  key: S,
145
147
  class: "extra-chart-plane"
146
148
  }, { ...i(y), ...l }, {
147
149
  "chart-type": i(r),
148
- "colors-map": i(f),
150
+ "colors-map": i(h),
149
151
  "type-switcher": !1,
150
152
  "tooltip-respects-top-edge": !F(S)
151
153
  }), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge"]))), 128))
@@ -154,8 +156,8 @@ const _ = {
154
156
  L($, {
155
157
  "sort-selected": i(c),
156
158
  "onUpdate:sort-selected": o[2] || (o[2] = (l) => b(c) ? c.value = l : null),
157
- "highlighted-id": h.value,
158
- "onUpdate:highlighted-id": o[3] || (o[3] = (l) => h.value = l),
159
+ "highlighted-id": f.value,
160
+ "onUpdate:highlighted-id": o[3] || (o[3] = (l) => f.value = l),
159
161
  items: i(w),
160
162
  "visible-ids": i(T),
161
163
  "max-limit-tooltip-text": a.maxLimitTooltipText,
@@ -176,4 +176,9 @@ export declare const chartStoryArgs: {
176
176
  };
177
177
  options: TooltipOrder[];
178
178
  };
179
+ colorVariant: {
180
+ description: string;
181
+ control: string;
182
+ options: string[];
183
+ };
179
184
  };
@@ -1,4 +1,5 @@
1
1
  import { HexColor } from '@/components/chart/types';
2
2
  export declare const DEFAULT_CHART_COLOR: HexColor;
3
- export declare const COLOR_PALETTE: HexColor[];
3
+ export declare const DEFAULT_COLOR_PALETTE: HexColor[];
4
+ export declare const MEDIATION_COLOR_PALETTE: HexColor[];
4
5
  export declare const RESERVED_COLORS_MAP: Record<string, HexColor>;
@@ -1,5 +1,5 @@
1
- import { NETWORK_UNITY_ADS as _, BIDDING_PREFIX as F, NETWORK_AD_MOB as N, NETWORK_IRON_SOURCE as E, NETWORK_MINTEGRAL as T, NETWORK_APPLOVIN as A, NETWORK_FACEBOOK_META as $, NETWORK_LIFTOFF as O, NETWORK_PANGLE as C, NETWORK_INMOBI as R, NETWORK_DT_EXCHANGE as B } from "./consts.js";
2
- const I = "#c9c9c9", K = [
1
+ import { NETWORK_UNITY_ADS as R, BIDDING_PREFIX as F, NETWORK_AD_MOB as T, NETWORK_IRON_SOURCE as E, NETWORK_MINTEGRAL as _, NETWORK_APPLOVIN as C, NETWORK_FACEBOOK_META as A, NETWORK_LIFTOFF as B, NETWORK_PANGLE as O, NETWORK_INMOBI as $, NETWORK_DT_EXCHANGE as D } from "./consts.js";
2
+ const I = "#c9c9c9", L = [
3
3
  "#80BCFE",
4
4
  "#9999FF",
5
5
  "#5883E4",
@@ -10,45 +10,59 @@ const I = "#c9c9c9", K = [
10
10
  "#673AFF",
11
11
  "#CA80DC",
12
12
  "#FEBBB2"
13
- ], t = {
13
+ ], t = [
14
+ "#487BEC",
15
+ "#FFC670",
16
+ "#80CBC4",
17
+ "#FF7557",
18
+ "#7856FF",
19
+ "#FEBBB2",
20
+ "#DA88EE",
21
+ "#0D7EA0",
22
+ "#01AB01",
23
+ "#B3596E"
24
+ ], K = {
14
25
  Total: "#646464",
15
26
  // AB tests
16
27
  A: "#FFC134",
17
28
  B: "#4F4FF5",
18
29
  // Countries
19
- US: "#272EC4",
20
- CN: "#F52E1E",
21
- GB: "#0082FF",
22
- DE: "#FFD600",
23
- JP: "#BA0029",
24
- AU: "#009BCB",
25
- FR: "#34A853",
30
+ US: "#9999FF",
31
+ CN: "#FF1200",
32
+ GB: "#89009B",
33
+ DE: "#FBE32D",
34
+ JP: "#8D001F",
35
+ AU: "#E57D00",
36
+ FR: "#ACC62C",
37
+ RU: "#FF70AA",
26
38
  // Ad formats
27
- Rewarded: "#0082FF",
28
- Interstitial: "#009BCB",
29
- Banner: "#9668FF",
30
- Native: "#FF35A2",
39
+ Rewarded: "#80BCFE",
40
+ Interstitial: "#8D001F",
41
+ Banner: "#E57D00",
42
+ Native: "#ACC62C",
43
+ Offerwall: "#9999FF",
31
44
  // Ad sources
32
- [`${_} ${F}`]: "#9668FF",
33
- [`${N} ${F}`]: "#34A853",
34
- [`${E} ${F}`]: "#272EC4",
35
- [`${E}`]: "#5C63E7",
36
- [`${T} ${F}`]: "#00D8B2",
37
- [`${A} ${F}`]: "#009BCB",
38
- [`${A}`]: "#80CDE5",
39
- [`${$} ${F}`]: "#0082FF",
40
- [`${$}`]: "#52AAFF",
41
- [`${O} ${F}`]: "#FF35A2",
42
- [`${O}`]: "#FF9AD1",
43
- [`${C} ${F}`]: "#F52E1E",
44
- [`${C}`]: "#FA9F97",
45
- [`${R} ${F}`]: "#FFD600",
46
- [`${R}`]: "#FFEC8A",
47
- [`${B} ${F}`]: "#BA0029",
48
- [`${B}`]: "#DD8094"
45
+ [`${R} ${F}`]: "#80BCFE",
46
+ [`${T} ${F}`]: "#ACC62C",
47
+ [`${E} ${F}`]: "#9999FF",
48
+ [`${E}`]: "#CCCCFF",
49
+ [`${_} ${F}`]: "#E57D00",
50
+ [`${C} ${F}`]: "#00CCD7",
51
+ [`${C}`]: "#80E5EB",
52
+ [`${A} ${F}`]: "#89009B",
53
+ [`${A}`]: "#B866C3",
54
+ [`${B} ${F}`]: "#FF70AA",
55
+ [`${B}`]: "#FFB1DB",
56
+ [`${O} ${F}`]: "#FF1200",
57
+ [`${O}`]: "#FF8880",
58
+ [`${$} ${F}`]: "#FBE32D",
59
+ [`${$}`]: "#FDF196",
60
+ [`${D} ${F}`]: "#8D001F",
61
+ [`${D}`]: "#C6808F"
49
62
  };
50
63
  export {
51
- K as COLOR_PALETTE,
52
64
  I as DEFAULT_CHART_COLOR,
53
- t as RESERVED_COLORS_MAP
65
+ L as DEFAULT_COLOR_PALETTE,
66
+ t as MEDIATION_COLOR_PALETTE,
67
+ K as RESERVED_COLORS_MAP
54
68
  };
@@ -1,10 +1,12 @@
1
1
  import { Ref } from 'vue';
2
2
  import { ChartDataSet } from '@/components/chart';
3
+ import { ColorVariant } from '@/components/chart/types';
3
4
  type UseColorsMapArgs = {
4
5
  dataSets: Ref<ChartDataSet[]>;
5
6
  visibleIds: Ref<unknown[]>;
7
+ variant?: ColorVariant;
6
8
  };
7
- export declare const useColorsMap: ({ dataSets, visibleIds }: UseColorsMapArgs) => {
9
+ export declare const useColorsMap: ({ dataSets, visibleIds, variant, }: UseColorsMapArgs) => {
8
10
  colorsMap: Ref<Record<string, `#${string}`>>;
9
11
  };
10
12
  export {};
@@ -1,46 +1,48 @@
1
- import { computed as n, ref as r, watch as E } from "vue";
2
- import { RESERVED_COLORS_MAP as c, COLOR_PALETTE as O, DEFAULT_CHART_COLOR as R } from "../colorPalette.js";
3
- const T = ({ dataSets: u, visibleIds: i }) => {
4
- const a = n(
5
- () => u.value.filter(
6
- (o) => i.value.includes(o.id)
1
+ import { computed as r, ref as n, watch as p } from "vue";
2
+ import { RESERVED_COLORS_MAP as c, MEDIATION_COLOR_PALETTE as R, DEFAULT_COLOR_PALETTE as T, DEFAULT_CHART_COLOR as L } from "../colorPalette.js";
3
+ const A = ({
4
+ dataSets: i,
5
+ visibleIds: u,
6
+ variant: v
7
+ }) => {
8
+ const s = r(
9
+ () => i.value.filter(
10
+ (o) => u.value.includes(o.id)
7
11
  )
8
- ), l = r({
12
+ ), t = n({
9
13
  ...c
10
14
  // destructuring is important to avoid mutating the reserved colors object
11
- }), s = r([]), v = n(
12
- () => O.filter((o) => !s.value.includes(o))
13
- ), d = () => {
14
- a.value.forEach((o) => {
15
+ }), a = n([]), d = r(() => (v === "mediation" ? R : T).filter((e) => !a.value.includes(e))), f = () => {
16
+ s.value.forEach((o) => {
15
17
  const e = String(o.id);
16
- if (!l.value[e]) {
17
- const t = o.color || v.value[0] || R;
18
- C(e, t);
18
+ if (!t.value[e]) {
19
+ const l = o.color || d.value[0] || L;
20
+ E(e, l);
19
21
  }
20
22
  });
21
- }, f = () => {
22
- Object.keys(l.value).forEach((o) => {
23
- const e = a.value.find((m) => String(m.id) === o), t = !!c[o];
24
- !e && !t && p(o);
23
+ }, C = () => {
24
+ Object.keys(t.value).forEach((o) => {
25
+ const e = s.value.find((m) => String(m.id) === o), l = !!c[o];
26
+ !e && !l && O(o);
25
27
  });
26
- }, C = (o, e) => {
27
- l.value[String(o)] = e, s.value.push(e);
28
- }, p = (o) => {
29
- const e = l.value[o];
30
- delete l.value[o];
31
- const t = s.value.indexOf(e);
32
- t > -1 && s.value.splice(t, 1);
28
+ }, E = (o, e) => {
29
+ t.value[String(o)] = e, a.value.push(e);
30
+ }, O = (o) => {
31
+ const e = t.value[o];
32
+ delete t.value[o];
33
+ const l = a.value.indexOf(e);
34
+ l > -1 && a.value.splice(l, 1);
33
35
  };
34
- return E(
35
- a,
36
+ return p(
37
+ s,
36
38
  () => {
37
- f(), d();
39
+ C(), f();
38
40
  },
39
41
  { immediate: !0 }
40
42
  ), {
41
- colorsMap: l
43
+ colorsMap: t
42
44
  };
43
45
  };
44
46
  export {
45
- T as useColorsMap
47
+ A as useColorsMap
46
48
  };
@@ -45,6 +45,7 @@ declare const ChartTypes: () => ({
45
45
  fullHeightBottomSpacing: number;
46
46
  withSettingsHeader: boolean;
47
47
  extraCharts: Record<string, unknown>[];
48
+ colorVariant: import("./types").ColorVariant;
48
49
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
49
50
  header: {
50
51
  type: import("vue").PropType<string>;
@@ -215,11 +216,15 @@ declare const ChartTypes: () => ({
215
216
  type: import("vue").PropType<Record<string, unknown>[]>;
216
217
  default: () => any[];
217
218
  };
219
+ colorVariant: {
220
+ type: import("vue").PropType<import("./types").ColorVariant>;
221
+ default: string;
222
+ };
218
223
  }>> & {
219
224
  "onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
220
225
  "onUpdate:sortSelected"?: (sortOption: unknown) => any;
221
226
  "onUpdate:chartType"?: (chartType: ChartType) => any;
222
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts">;
227
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
223
228
  $attrs: {
224
229
  [x: string]: unknown;
225
230
  };
@@ -403,6 +408,10 @@ declare const ChartTypes: () => ({
403
408
  type: import("vue").PropType<Record<string, unknown>[]>;
404
409
  default: () => any[];
405
410
  };
411
+ colorVariant: {
412
+ type: import("vue").PropType<import("./types").ColorVariant>;
413
+ default: string;
414
+ };
406
415
  }>> & {
407
416
  "onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
408
417
  "onUpdate:sortSelected"?: (sortOption: unknown) => any;
@@ -452,6 +461,7 @@ declare const ChartTypes: () => ({
452
461
  fullHeightBottomSpacing: number;
453
462
  withSettingsHeader: boolean;
454
463
  extraCharts: Record<string, unknown>[];
464
+ colorVariant: import("./types").ColorVariant;
455
465
  }, {}, string> & {
456
466
  beforeCreate?: (() => void) | (() => void)[];
457
467
  created?: (() => void) | (() => void)[];
@@ -642,6 +652,10 @@ declare const ChartTypes: () => ({
642
652
  type: import("vue").PropType<Record<string, unknown>[]>;
643
653
  default: () => any[];
644
654
  };
655
+ colorVariant: {
656
+ type: import("vue").PropType<import("./types").ColorVariant>;
657
+ default: string;
658
+ };
645
659
  }>> & {
646
660
  "onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
647
661
  "onUpdate:sortSelected"?: (sortOption: unknown) => any;
@@ -820,6 +834,10 @@ declare const ChartTypes: () => ({
820
834
  type: import("vue").PropType<Record<string, unknown>[]>;
821
835
  default: () => any[];
822
836
  };
837
+ colorVariant: {
838
+ type: import("vue").PropType<import("./types").ColorVariant>;
839
+ default: string;
840
+ };
823
841
  }>> & {
824
842
  "onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
825
843
  "onUpdate:sortSelected"?: (sortOption: unknown) => any;
@@ -869,6 +887,7 @@ declare const ChartTypes: () => ({
869
887
  fullHeightBottomSpacing: number;
870
888
  withSettingsHeader: boolean;
871
889
  extraCharts: Record<string, unknown>[];
890
+ colorVariant: import("./types").ColorVariant;
872
891
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
873
892
  $slots: {
874
893
  "before-chart-type"?(_: {}): any;
@@ -86,3 +86,4 @@ export declare enum TrendDirection {
86
86
  DOWN = "down",
87
87
  NEUTRAL = "right"
88
88
  }
89
+ export type ColorVariant = 'default' | 'mediation';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css';
1
+ import './Typography.vue_vue_type_style_index_0_scoped_07b259bf_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.1.12-rc.29",
3
+ "version": "2.1.12-rc.30",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .chart-container[data-v-e8f25a03]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-e8f25a03]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-e8f25a03]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-e8f25a03]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-e8f25a03]{border-left:1px solid var(--common-divider)}