@ironsource/shared-ui 2.2.0-rc.48 → 2.2.0-rc.50
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.
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +1 -0
- package/README.md +2 -2
- package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +1 -0
- package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
- package/components/autocomplete/index.d.ts +16 -16
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +27 -28
- package/components/dropdown/common/Dropdown.common.js +274 -351
- package/components/dropdown/v3/Dropdown.vue.d.ts +5 -5
- package/components/dropdown/v3/index.d.ts +77 -77
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +32 -38
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +41 -50
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +216 -237
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +0 -5
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +9 -12
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +12 -12
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +2102 -2130
- package/components/helpText/HelpText.vue.js +3 -3
- package/components/helpText/HelpText.vue2.js +10 -11
- package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +54 -54
- package/components/inlineCopy/InlineCopy.vue.d.ts +0 -5
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +53 -54
- package/components/inlineCopy/index.d.ts +0 -9
- package/components/input/v4/TextField.vue.d.ts +0 -5
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +19 -22
- package/components/input/v4/index.d.ts +1 -20
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +21 -30
- package/components/search/v4/SearchV4.vue.d.ts +0 -5
- package/components/search/v4/SearchV4.vue.js +5 -5
- package/components/search/v4/SearchV4.vue2.js +18 -23
- package/components/search/v4/index.d.ts +0 -9
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +8 -9
- package/components/table/v4/DataGridMenu.vue.d.ts +0 -5
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +22 -28
- package/components/table/v4/index.d.ts +0 -9
- package/components/tabs/v4/TabsV4.vue.d.ts +0 -5
- package/components/tabs/v4/TabsV4.vue.js +3 -3
- package/components/tabs/v4/TabsV4.vue2.js +43 -74
- package/components/tabs/v4/index.d.ts +1 -20
- package/components/toggle/v4/ToggleV4.vue.d.ts +0 -5
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +41 -50
- package/components/toggle/v4/index.d.ts +1 -20
- package/components/tooltip/v4/TooltipV4.vue.d.ts +1 -14
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +63 -85
- package/components/tooltip/v4/index.d.ts +4 -51
- package/index.d.ts +2404 -2722
- package/index.js +1 -1
- package/package.json +1 -5
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +0 -1
- package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +0 -1
- package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +0 -1
|
@@ -3,26 +3,21 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
3
3
|
iconName?: string;
|
|
4
4
|
iconType?: IconTypes;
|
|
5
5
|
testId?: string;
|
|
6
|
-
ariaLabel?: string;
|
|
7
6
|
}>, {
|
|
8
7
|
iconName: string;
|
|
9
8
|
iconType: string;
|
|
10
9
|
testId: string;
|
|
11
|
-
ariaLabel: string;
|
|
12
10
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
11
|
iconName?: string;
|
|
14
12
|
iconType?: IconTypes;
|
|
15
13
|
testId?: string;
|
|
16
|
-
ariaLabel?: string;
|
|
17
14
|
}>, {
|
|
18
15
|
iconName: string;
|
|
19
16
|
iconType: string;
|
|
20
17
|
testId: string;
|
|
21
|
-
ariaLabel: string;
|
|
22
18
|
}>>>, {
|
|
23
19
|
testId: string;
|
|
24
20
|
iconName: string;
|
|
25
|
-
ariaLabel: string;
|
|
26
21
|
iconType: IconTypes;
|
|
27
22
|
}>;
|
|
28
23
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./IconButtonDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../IconButtonDropdownTrigger.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css"; //*');
|
|
4
|
+
const _ = /* @__PURE__ */ e(o, [["__scopeId", "data-v-99e51ecc"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import "../../../IconButtonDropdownTrigger.
|
|
1
|
+
import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css"; import { defineComponent as t, openBlock as n, createBlock as r, unref as c, mergeProps as m } from "vue";
|
|
2
2
|
import "../../button/v4/ButtonV4.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import p from "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
5
5
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
6
|
-
const
|
|
6
|
+
const y = /* @__PURE__ */ t({
|
|
7
7
|
__name: "IconButtonDropdownTrigger",
|
|
8
8
|
props: {
|
|
9
9
|
iconName: { default: "dots-three" },
|
|
10
10
|
iconType: { default: "bold" },
|
|
11
|
-
testId: { default: "" }
|
|
12
|
-
ariaLabel: { default: "" }
|
|
11
|
+
testId: { default: "" }
|
|
13
12
|
},
|
|
14
13
|
setup(e) {
|
|
15
|
-
|
|
14
|
+
const o = e;
|
|
15
|
+
return (i, a) => (n(), r(c(p), m({
|
|
16
16
|
"icon-name": e.iconName,
|
|
17
|
-
type: e.iconType
|
|
18
|
-
|
|
19
|
-
tabindex: -1,
|
|
20
|
-
"test-id": e.testId
|
|
21
|
-
}, null, 8, ["icon-name", "type", "aria-label", "test-id"]));
|
|
17
|
+
type: e.iconType
|
|
18
|
+
}, o), null, 16, ["icon-name", "type"]));
|
|
22
19
|
}
|
|
23
20
|
});
|
|
24
21
|
export {
|
|
25
|
-
|
|
22
|
+
y as default
|
|
26
23
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OptionV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../OptionV4.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-771e1980"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css"; import { defineComponent as V, ref as I, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as s, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as a, toDisplayString as m, createTextVNode as T, withModifiers as O, Fragment as j, renderList as R } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import D from "../../typography/Text.vue.js";
|
|
4
4
|
import q from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
@@ -6,7 +6,7 @@ import y from "../../icon/v4/IconV4.vue.js";
|
|
|
6
6
|
import G from "../../icon/v4/IconFlag.vue.js";
|
|
7
7
|
import { NOOP as $ } from "@vue/shared";
|
|
8
8
|
import { optionCommon as H } from "../common/Option.common.js";
|
|
9
|
-
import
|
|
9
|
+
import x from "../../typography/v4/Typography.vue.js";
|
|
10
10
|
import h from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
11
|
import { isElementTruncated as J } from "../../../utils/text.js";
|
|
12
12
|
import { promiseTimeout as Q } from "@vueuse/core";
|
|
@@ -71,11 +71,11 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
71
71
|
setup(e, { emit: M }) {
|
|
72
72
|
const d = e, { selected: b, id: B, onClick: S, api: K } = H(d), z = (t) => {
|
|
73
73
|
d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? $() : S(t);
|
|
74
|
-
},
|
|
74
|
+
}, p = I(null), w = I(!1), A = (t) => {
|
|
75
75
|
d.disabled && (t.stopPropagation(), $());
|
|
76
76
|
};
|
|
77
|
-
F([() => d.treeChildShown,
|
|
78
|
-
await Q(100), w.value =
|
|
77
|
+
F([() => d.treeChildShown, p], async () => {
|
|
78
|
+
await Q(100), w.value = p.value && J(p.value);
|
|
79
79
|
});
|
|
80
80
|
const P = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : w.value ? t[d.nameKey] : "", k = L(() => {
|
|
81
81
|
const t = d.disabled && d.minMaxSelectionTooltipMessage || "", c = P(d.option);
|
|
@@ -95,7 +95,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
95
95
|
ref: "el",
|
|
96
96
|
class: v(["item-container", {
|
|
97
97
|
"item-container--disabled": e.disabled,
|
|
98
|
-
"item-container--active": e.active,
|
|
98
|
+
"item-container--active": e.nameKey ? !1 : e.active,
|
|
99
99
|
"item-container--selected": n(b),
|
|
100
100
|
"item-container--multi": e.isMulti,
|
|
101
101
|
"item-container--filtered-out": e.option?.filteredOut
|
|
@@ -146,10 +146,10 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
146
146
|
])) : o("", !0),
|
|
147
147
|
u("div", {
|
|
148
148
|
ref_key: "textContainerRef",
|
|
149
|
-
ref:
|
|
149
|
+
ref: p,
|
|
150
150
|
class: "text-container"
|
|
151
151
|
}, [
|
|
152
|
-
a(n(
|
|
152
|
+
a(n(x), {
|
|
153
153
|
class: "option-text",
|
|
154
154
|
variant: "body2"
|
|
155
155
|
}, {
|
|
@@ -167,7 +167,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
167
167
|
}, {
|
|
168
168
|
default: s(() => [
|
|
169
169
|
e.option?.conditionalOptions ? (i(), l("div", ee, [
|
|
170
|
-
a(n(
|
|
170
|
+
a(n(x), {
|
|
171
171
|
variant: "body2",
|
|
172
172
|
class: "conditional-option-label"
|
|
173
173
|
}, {
|
|
@@ -176,7 +176,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
176
176
|
]),
|
|
177
177
|
_: 1
|
|
178
178
|
}),
|
|
179
|
-
a(n(
|
|
179
|
+
a(n(x), {
|
|
180
180
|
variant: "h5",
|
|
181
181
|
class: "conditional-option-value"
|
|
182
182
|
}, {
|
|
@@ -197,7 +197,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
197
197
|
}, null, 8, ["name"])
|
|
198
198
|
])) : o("", !0),
|
|
199
199
|
e.optionTwoLinesKey ? (i(), l("div", ne, [
|
|
200
|
-
a(n(
|
|
200
|
+
a(n(x), { variant: "caption" }, {
|
|
201
201
|
default: s(() => [
|
|
202
202
|
T(m(e.option[e.optionTwoLinesKey]), 1)
|
|
203
203
|
]),
|
|
@@ -280,7 +280,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
280
280
|
name: "tooltip",
|
|
281
281
|
fn: s(() => [
|
|
282
282
|
u("div", U, [
|
|
283
|
-
(i(!0), l(j, null, R(n(k), (f) => (i(), g(n(
|
|
283
|
+
(i(!0), l(j, null, R(n(k), (f) => (i(), g(n(x), {
|
|
284
284
|
key: f,
|
|
285
285
|
variant: "body2"
|
|
286
286
|
}, {
|
|
@@ -95,9 +95,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
95
95
|
valueToCopy: string;
|
|
96
96
|
selected: unknown[];
|
|
97
97
|
placeholder: string;
|
|
98
|
-
inlineSearchPlaceholder: string;
|
|
99
98
|
triggerFeedbackText: string;
|
|
100
99
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
100
|
+
inlineSearchPlaceholder: string;
|
|
101
101
|
optionNameKey: string;
|
|
102
102
|
optionIconKey: string;
|
|
103
103
|
optionImageKey: string;
|