@ironsource/shared-ui 2.2.0-rc.36 → 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
+ .chart-container[data-v-a4d7b67a]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%;overflow:hidden}.chart-planes[data-v-a4d7b67a]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-a4d7b67a]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-a4d7b67a]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-a4d7b67a]{border-left:1px solid var(--common-divider)}
@@ -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)}
@@ -53,6 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
53
53
  withSettingsHeader?: boolean;
54
54
  extraCharts?: Record<string, unknown>[];
55
55
  colorVariant?: ColorVariant;
56
+ height?: string;
56
57
  }>, {
57
58
  chartType: ChartType;
58
59
  dataSets: () => any[];
@@ -99,6 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
99
100
  withSettingsHeader: boolean;
100
101
  extraCharts: () => any[];
101
102
  colorVariant: string;
103
+ height: any;
102
104
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
103
105
  "update:chartType": (chartType: ChartType) => void;
104
106
  "update:visibleIds": (visibleIds: unknown[]) => void;
@@ -156,6 +158,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
156
158
  withSettingsHeader?: boolean;
157
159
  extraCharts?: Record<string, unknown>[];
158
160
  colorVariant?: ColorVariant;
161
+ height?: string;
159
162
  }>, {
160
163
  chartType: ChartType;
161
164
  dataSets: () => any[];
@@ -202,6 +205,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
202
205
  withSettingsHeader: boolean;
203
206
  extraCharts: () => any[];
204
207
  colorVariant: string;
208
+ height: any;
205
209
  }>>> & {
206
210
  "onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
207
211
  "onUpdate:sortSelected"?: (sortOption: unknown) => any;
@@ -209,6 +213,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
209
213
  }, {
210
214
  header: string;
211
215
  testId: string;
216
+ height: string;
212
217
  loading: boolean;
213
218
  visibleIds: unknown[];
214
219
  minVisible: number;
@@ -1,7 +1,7 @@
1
1
  import o from "./Chart.vue2.js";
2
2
  /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css"; //*');
4
- const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-22477735"]]);
3
+ // import "../../Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css"; //*');
4
+ const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-a4d7b67a"]]);
5
5
  export {
6
- p as default
6
+ s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css"; import { defineComponent as P, ref as U, computed as d, openBlock as n, createElementBlock as b, Fragment as S, createBlock as D, unref as l, isRef as y, withCtx as s, renderSlot as u, createCommentVNode as A, createElementVNode as L, mergeProps as g, normalizeClass as $, createVNode as k, createSlots as M, renderList as R } from "vue";
1
+ import "../../Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css"; import { defineComponent as P, ref as U, computed as d, openBlock as n, createElementBlock as g, Fragment as S, createBlock as D, unref as l, isRef as b, withCtx as s, renderSlot as u, createCommentVNode as A, createElementVNode as L, mergeProps as y, normalizeClass as $, createVNode as k, createSlots as M, renderList as R } from "vue";
2
2
  import { useVModel as B } from "@vueuse/core";
3
3
  import K from "./ChartLegend.vue.js";
4
4
  import X from "./SettingsHeader.vue.js";
@@ -60,7 +60,8 @@ const at = {
60
60
  fullHeightBottomSpacing: { default: 50 },
61
61
  withSettingsHeader: { type: Boolean, default: !0 },
62
62
  extraCharts: { default: () => [] },
63
- colorVariant: { default: "default" }
63
+ colorVariant: { default: "default" },
64
+ height: { default: void 0 }
64
65
  },
65
66
  emits: ["update:chartType", "update:visibleIds", "update:sortSelected"],
66
67
  setup(e, { emit: c }) {
@@ -106,23 +107,24 @@ const at = {
106
107
  dataSets: E,
107
108
  visibleIds: I,
108
109
  variant: t.colorVariant
109
- }), w = d(() => t.dataSets.map((a) => ({
110
+ }), H = d(() => t.dataSets.map((a) => ({
110
111
  id: a.id,
111
112
  label: a.label,
112
113
  caption: a.caption || null,
113
114
  color: m.value[a.id] || null,
114
115
  icon: a.icon || null,
115
116
  iconType: a.iconType || "branded"
116
- }))), { containerProps: H, eachPlaneHeight: N } = Z({
117
+ }))), { containerProps: w, eachPlaneHeight: N } = Z({
117
118
  chartPlanesCount: C,
118
119
  useFullHeight: t.fullHeight,
119
- bottomSpacing: t.fullHeightBottomSpacing
120
+ bottomSpacing: t.fullHeightBottomSpacing,
121
+ customHeight: t.height
120
122
  }), O = et(t.testId, p);
121
- return (a, i) => (n(), b(S, null, [
123
+ return (a, i) => (n(), g(S, null, [
122
124
  e.withSettingsHeader ? (n(), D(X, {
123
125
  key: 0,
124
126
  "chart-type": l(r),
125
- "onUpdate:chart-type": i[0] || (i[0] = (o) => y(r) ? r.value = o : null),
127
+ "onUpdate:chart-type": i[0] || (i[0] = (o) => b(r) ? r.value = o : null),
126
128
  "hide-legend": e.hideLegend,
127
129
  "test-id": e.testId
128
130
  }, {
@@ -137,16 +139,16 @@ const at = {
137
139
  ]),
138
140
  _: 3
139
141
  }, 8, ["chart-type", "hide-legend", "test-id"])) : A("", !0),
140
- L("div", g({ class: "chart-container" }, {
141
- ...l(H),
142
+ L("div", y({ class: "chart-container" }, {
143
+ ...l(w),
142
144
  ...l(O)[l(p).CONTAINER]
143
145
  }), [
144
146
  L("section", {
145
147
  class: $(["chart-planes", [{ "with-legend": !e.hideLegend }]])
146
148
  }, [
147
- k(V, g({
149
+ k(V, y({
148
150
  "chart-type": l(r),
149
- "onUpdate:chart-type": i[1] || (i[1] = (o) => y(r) ? r.value = o : null)
151
+ "onUpdate:chart-type": i[1] || (i[1] = (o) => b(r) ? r.value = o : null)
150
152
  }, l(v)), M({ _: 2 }, [
151
153
  a.$slots["subheader-tooltip"] ? {
152
154
  name: "subheader-tooltip",
@@ -156,7 +158,7 @@ const at = {
156
158
  key: "0"
157
159
  } : void 0
158
160
  ]), 1040, ["chart-type"]),
159
- (n(!0), b(S, null, R(e.extraCharts, (o, T) => (n(), D(V, g({
161
+ (n(!0), g(S, null, R(e.extraCharts, (o, T) => (n(), D(V, y({
160
162
  key: T,
161
163
  class: "extra-chart-plane"
162
164
  }, { ...l(v), ...o }, {
@@ -167,13 +169,13 @@ const at = {
167
169
  "test-id": `${e.testId}-${l(p).EXTRA_CHART}-${T}`
168
170
  }), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge", "test-id"]))), 128))
169
171
  ], 2),
170
- e.hideLegend ? A("", !0) : (n(), b("section", at, [
172
+ e.hideLegend ? A("", !0) : (n(), g("section", at, [
171
173
  k(K, {
172
174
  "sort-selected": l(f),
173
- "onUpdate:sort-selected": i[2] || (i[2] = (o) => y(f) ? f.value = o : null),
175
+ "onUpdate:sort-selected": i[2] || (i[2] = (o) => b(f) ? f.value = o : null),
174
176
  "highlighted-id": h.value,
175
177
  "onUpdate:highlighted-id": i[3] || (i[3] = (o) => h.value = o),
176
- items: l(w),
178
+ items: l(H),
177
179
  "visible-ids": l(I),
178
180
  "max-limit-tooltip-text": e.maxLimitTooltipText,
179
181
  "sort-options": e.sortOptions,
@@ -1,5 +1,5 @@
1
1
  import { UseChartHeightArgs } from '@/components/chart/types';
2
- export declare const useChartHeight: ({ chartPlanesCount, useFullHeight, bottomSpacing, }: UseChartHeightArgs) => {
2
+ export declare const useChartHeight: ({ chartPlanesCount, useFullHeight, bottomSpacing, customHeight, }: UseChartHeightArgs) => {
3
3
  containerProps: import("vue").ComputedRef<Record<string, unknown>>;
4
4
  eachPlaneHeight: import("vue").ComputedRef<string>;
5
5
  };
@@ -1,24 +1,25 @@
1
- import { ref as g, computed as o } from "vue";
2
- import { useElementBounding as m, useWindowScroll as f } from "@vueuse/core";
3
- import { useFullPageHeight as p } from "../../../composables/useFullPageHeight.js";
4
- import { DEFAULT_CHART_PLANE_HEIGHT as E, HEADER_HEIGHT as v, MIN_PLANE_HEIGHT as r } from "../consts.js";
5
- const T = ({
1
+ import { ref as f, computed as r } from "vue";
2
+ import { useElementBounding as m, useWindowScroll as p } from "@vueuse/core";
3
+ import { useFullPageHeight as E } from "../../../composables/useFullPageHeight.js";
4
+ import { DEFAULT_CHART_PLANE_HEIGHT as v, HEADER_HEIGHT as d, MIN_PLANE_HEIGHT as n } from "../consts.js";
5
+ const I = ({
6
6
  chartPlanesCount: e,
7
- useFullHeight: n,
8
- bottomSpacing: i = 50
7
+ useFullHeight: i,
8
+ bottomSpacing: c = 50,
9
+ customHeight: o
9
10
  }) => {
10
- const t = g(), { height: c } = m(t), { cssHeightValue: l } = p({
11
+ const t = f(), { height: l } = m(t), { cssHeightValue: u } = E({
11
12
  elem: t,
12
- bottomSpacing: i
13
- }), { y: s } = f(), u = o(() => n && !s.value ? l.value : E + v + "px"), h = o(() => ({
13
+ bottomSpacing: c
14
+ }), { y: s } = p(), h = r(() => o || (i && !s.value ? u.value : v + d + "px")), a = r(() => ({
14
15
  ref: t,
15
- style: { height: u.value }
16
- })), a = o(() => e.value === 1 ? "100%" : c.value / e.value < r ? `${r}px` : 100 / e.value + "%");
16
+ style: { height: h.value }
17
+ })), H = r(() => e.value === 1 ? "100%" : l.value / e.value < n ? `${n}px` : 100 / e.value + "%");
17
18
  return {
18
- containerProps: h,
19
- eachPlaneHeight: a
19
+ containerProps: a,
20
+ eachPlaneHeight: H
20
21
  };
21
22
  };
22
23
  export {
23
- T as useChartHeight
24
+ I as useChartHeight
24
25
  };
@@ -7,6 +7,7 @@ declare const ChartTypes: () => ({
7
7
  $props: Partial<{
8
8
  header: string;
9
9
  testId: string;
10
+ height: string;
10
11
  loading: boolean;
11
12
  visibleIds: unknown[];
12
13
  minVisible: number;
@@ -59,6 +60,10 @@ declare const ChartTypes: () => ({
59
60
  type: import("vue").PropType<string>;
60
61
  default: string;
61
62
  };
63
+ height: {
64
+ type: import("vue").PropType<string>;
65
+ default: any;
66
+ };
62
67
  loading: {
63
68
  type: import("vue").PropType<boolean>;
64
69
  default: boolean;
@@ -244,7 +249,7 @@ declare const ChartTypes: () => ({
244
249
  "onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
245
250
  "onUpdate:sortSelected"?: (sortOption: unknown) => any;
246
251
  "onUpdate:chartType"?: (chartType: ChartType) => any;
247
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "testId" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "headerTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "indicateIncompleteData" | "tooltipExcludeTotalItem" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
252
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "testId" | "height" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "headerTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "indicateIncompleteData" | "tooltipExcludeTotalItem" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
248
253
  $attrs: {
249
254
  [x: string]: unknown;
250
255
  };
@@ -267,6 +272,10 @@ declare const ChartTypes: () => ({
267
272
  type: import("vue").PropType<string>;
268
273
  default: string;
269
274
  };
275
+ height: {
276
+ type: import("vue").PropType<string>;
277
+ default: any;
278
+ };
270
279
  loading: {
271
280
  type: import("vue").PropType<boolean>;
272
281
  default: boolean;
@@ -459,6 +468,7 @@ declare const ChartTypes: () => ({
459
468
  }, string, {
460
469
  header: string;
461
470
  testId: string;
471
+ height: string;
462
472
  loading: boolean;
463
473
  visibleIds: unknown[];
464
474
  minVisible: number;
@@ -531,6 +541,10 @@ declare const ChartTypes: () => ({
531
541
  type: import("vue").PropType<string>;
532
542
  default: string;
533
543
  };
544
+ height: {
545
+ type: import("vue").PropType<string>;
546
+ default: any;
547
+ };
534
548
  loading: {
535
549
  type: import("vue").PropType<boolean>;
536
550
  default: boolean;
@@ -729,6 +743,10 @@ declare const ChartTypes: () => ({
729
743
  type: import("vue").PropType<string>;
730
744
  default: string;
731
745
  };
746
+ height: {
747
+ type: import("vue").PropType<string>;
748
+ default: any;
749
+ };
732
750
  loading: {
733
751
  type: import("vue").PropType<boolean>;
734
752
  default: boolean;
@@ -921,6 +939,7 @@ declare const ChartTypes: () => ({
921
939
  }, string, {
922
940
  header: string;
923
941
  testId: string;
942
+ height: string;
924
943
  loading: boolean;
925
944
  visibleIds: unknown[];
926
945
  minVisible: number;
@@ -64,6 +64,7 @@ export type UseChartHeightArgs = {
64
64
  chartPlanesCount: Ref<number>;
65
65
  useFullHeight: boolean;
66
66
  bottomSpacing?: number;
67
+ customHeight?: string;
67
68
  };
68
69
  export type HexColor = `#${string}`;
69
70
  export type DataSetConfig = ChartDataset<'line'> & ChartDataSet;
@@ -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.36",
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
- .chart-container[data-v-22477735]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-22477735]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-22477735]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-22477735]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-22477735]{border-left:1px solid var(--common-divider)}
@@ -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}