@ironsource/shared-ui 2.1.6-rc.14 → 2.1.6-rc.16
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/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_71c3ab74_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_77f8bdb6_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_7f8f35a1_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/components/dropdown/common/Dropdown.common.js +20 -20
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +14 -0
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +61 -57
- package/components/dropdown/v4/OptionV4.vue.d.ts +11 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +62 -45
- package/components/dropdown/v4/index.d.ts +92 -3
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +21 -19
- package/components/input/v4/index.d.ts +20 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/index.d.ts +270 -22
- package/package.json +1 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_22c12586_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
|
@@ -26,6 +26,7 @@ declare const TextFieldTypes: () => ({
|
|
|
26
26
|
showApply: boolean;
|
|
27
27
|
inlineError: boolean;
|
|
28
28
|
inlineErrorText: string;
|
|
29
|
+
inlineErrorTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
29
30
|
feedbackText: string;
|
|
30
31
|
feedbackVariant: "success" | "warning" | "error";
|
|
31
32
|
showFeedbackTextIcon: boolean;
|
|
@@ -119,6 +120,10 @@ declare const TextFieldTypes: () => ({
|
|
|
119
120
|
type: import("vue").PropType<string>;
|
|
120
121
|
default: string;
|
|
121
122
|
};
|
|
123
|
+
inlineErrorTextPlacement: {
|
|
124
|
+
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
122
127
|
feedbackText: {
|
|
123
128
|
type: import("vue").PropType<string>;
|
|
124
129
|
default: string;
|
|
@@ -138,7 +143,7 @@ declare const TextFieldTypes: () => ({
|
|
|
138
143
|
}>> & {
|
|
139
144
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
140
145
|
onApply?: () => any;
|
|
141
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "showApply" | "inlineError" | "inlineErrorText" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute">;
|
|
146
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute">;
|
|
142
147
|
$attrs: {
|
|
143
148
|
[x: string]: unknown;
|
|
144
149
|
};
|
|
@@ -241,6 +246,10 @@ declare const TextFieldTypes: () => ({
|
|
|
241
246
|
type: import("vue").PropType<string>;
|
|
242
247
|
default: string;
|
|
243
248
|
};
|
|
249
|
+
inlineErrorTextPlacement: {
|
|
250
|
+
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
251
|
+
default: string;
|
|
252
|
+
};
|
|
244
253
|
feedbackText: {
|
|
245
254
|
type: import("vue").PropType<string>;
|
|
246
255
|
default: string;
|
|
@@ -288,6 +297,7 @@ declare const TextFieldTypes: () => ({
|
|
|
288
297
|
showApply: boolean;
|
|
289
298
|
inlineError: boolean;
|
|
290
299
|
inlineErrorText: string;
|
|
300
|
+
inlineErrorTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
291
301
|
feedbackText: string;
|
|
292
302
|
feedbackVariant: "success" | "warning" | "error";
|
|
293
303
|
showFeedbackTextIcon: boolean;
|
|
@@ -401,6 +411,10 @@ declare const TextFieldTypes: () => ({
|
|
|
401
411
|
type: import("vue").PropType<string>;
|
|
402
412
|
default: string;
|
|
403
413
|
};
|
|
414
|
+
inlineErrorTextPlacement: {
|
|
415
|
+
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
416
|
+
default: string;
|
|
417
|
+
};
|
|
404
418
|
feedbackText: {
|
|
405
419
|
type: import("vue").PropType<string>;
|
|
406
420
|
default: string;
|
|
@@ -515,6 +529,10 @@ declare const TextFieldTypes: () => ({
|
|
|
515
529
|
type: import("vue").PropType<string>;
|
|
516
530
|
default: string;
|
|
517
531
|
};
|
|
532
|
+
inlineErrorTextPlacement: {
|
|
533
|
+
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
534
|
+
default: string;
|
|
535
|
+
};
|
|
518
536
|
feedbackText: {
|
|
519
537
|
type: import("vue").PropType<string>;
|
|
520
538
|
default: string;
|
|
@@ -562,6 +580,7 @@ declare const TextFieldTypes: () => ({
|
|
|
562
580
|
showApply: boolean;
|
|
563
581
|
inlineError: boolean;
|
|
564
582
|
inlineErrorText: string;
|
|
583
|
+
inlineErrorTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
565
584
|
feedbackText: string;
|
|
566
585
|
feedbackVariant: "success" | "warning" | "error";
|
|
567
586
|
showFeedbackTextIcon: boolean;
|
|
@@ -23,7 +23,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
23
|
testId: string;
|
|
24
24
|
distance: string;
|
|
25
25
|
container: string;
|
|
26
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
show: () => void;
|
|
28
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
27
29
|
text?: string;
|
|
28
30
|
header?: string;
|
|
29
31
|
delay?: number;
|
|
@@ -47,7 +49,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
47
49
|
testId: string;
|
|
48
50
|
distance: string;
|
|
49
51
|
container: string;
|
|
50
|
-
}
|
|
52
|
+
}>>> & {
|
|
53
|
+
onShow?: () => any;
|
|
54
|
+
}, {
|
|
51
55
|
header: string;
|
|
52
56
|
text: string;
|
|
53
57
|
theme: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./TooltipV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TooltipV4.
|
|
3
|
+
// import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css"; //*');
|
|
4
4
|
// import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
5
|
+
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-fcdb9d02"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../../../TooltipV4.
|
|
2
|
-
import
|
|
3
|
-
import { Tooltip as
|
|
1
|
+
import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as h, openBlock as l, createBlock as d, unref as t, mergeProps as f, withCtx as r, renderSlot as u, createTextVNode as p, toDisplayString as y, createElementVNode as T } from "vue";
|
|
2
|
+
import g from "./TextWithTitleContent.vue.js";
|
|
3
|
+
import { Tooltip as x } from "floating-vue";
|
|
4
4
|
import { TooltipTestIdModifiers as i } from "../../../testids/index.js";
|
|
5
|
-
import
|
|
6
|
-
import { tooltipCommon as
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
const
|
|
5
|
+
import v from "../../typography/v4/Typography.vue.js";
|
|
6
|
+
import { tooltipCommon as b } from "../common/Tooltip.common.js";
|
|
7
|
+
import { useTestIdAttrs as w } from "../../../utils/testIds.js";
|
|
8
|
+
const I = {
|
|
9
9
|
ref: "container",
|
|
10
10
|
class: "container"
|
|
11
|
-
},
|
|
11
|
+
}, D = /* @__PURE__ */ h({
|
|
12
12
|
__name: "TooltipV4",
|
|
13
13
|
props: {
|
|
14
14
|
text: { default: null },
|
|
@@ -23,9 +23,10 @@ const b = {
|
|
|
23
23
|
distance: { default: "10" },
|
|
24
24
|
container: { default: "body" }
|
|
25
25
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
emits: ["show"],
|
|
27
|
+
setup(e, { emit: c }) {
|
|
28
|
+
const n = e, { textForDisplay: o } = b(n), s = w(n.testId, i);
|
|
29
|
+
return (a, m) => (l(), d(t(x), f({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
|
|
29
30
|
theme: e.theme,
|
|
30
31
|
"no-auto-focus": "",
|
|
31
32
|
triggers: e.triggers,
|
|
@@ -35,28 +36,29 @@ const b = {
|
|
|
35
36
|
"popper-class": [e.theme, e.placement, "v4-tooltip"],
|
|
36
37
|
class: ["v4-tooltip"],
|
|
37
38
|
distance: e.distance,
|
|
38
|
-
"auto-hide": ""
|
|
39
|
+
"auto-hide": "",
|
|
40
|
+
onApplyShow: m[0] || (m[0] = (k) => c("show"))
|
|
39
41
|
}), {
|
|
40
42
|
popper: r(() => [
|
|
41
|
-
|
|
42
|
-
e.header ? (l(), d(
|
|
43
|
+
u(a.$slots, "tooltip", { text: t(o) }, () => [
|
|
44
|
+
e.header ? (l(), d(g, {
|
|
43
45
|
key: 1,
|
|
44
46
|
text: e.text,
|
|
45
47
|
header: e.header
|
|
46
|
-
}, null, 8, ["text", "header"])) : (l(), d(t(
|
|
48
|
+
}, null, 8, ["text", "header"])) : (l(), d(t(v), f({
|
|
47
49
|
key: 0,
|
|
48
50
|
variant: "body2"
|
|
49
51
|
}, t(s)[t(i).TEXT]), {
|
|
50
52
|
default: r(() => [
|
|
51
|
-
|
|
53
|
+
p(y(t(o)), 1)
|
|
52
54
|
]),
|
|
53
55
|
_: 1
|
|
54
56
|
}, 16))
|
|
55
57
|
], !0)
|
|
56
58
|
]),
|
|
57
59
|
default: r(() => [
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
T("div", I, [
|
|
61
|
+
u(a.$slots, "default", {}, void 0, !0)
|
|
60
62
|
], 512)
|
|
61
63
|
]),
|
|
62
64
|
_: 3
|
|
@@ -64,5 +66,5 @@ const b = {
|
|
|
64
66
|
}
|
|
65
67
|
});
|
|
66
68
|
export {
|
|
67
|
-
|
|
69
|
+
D as default
|
|
68
70
|
};
|
|
@@ -60,7 +60,9 @@ declare const TooltipTypes: () => ({
|
|
|
60
60
|
type: import("vue").PropType<string | number>;
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
|
-
}>> &
|
|
63
|
+
}>> & {
|
|
64
|
+
onShow?: () => any;
|
|
65
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "disabled" | "testId" | "container" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "distance">;
|
|
64
66
|
$attrs: {
|
|
65
67
|
[x: string]: unknown;
|
|
66
68
|
};
|
|
@@ -72,7 +74,7 @@ declare const TooltipTypes: () => ({
|
|
|
72
74
|
}>;
|
|
73
75
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
74
76
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
75
|
-
$emit: (event:
|
|
77
|
+
$emit: (event: "show") => void;
|
|
76
78
|
$el: any;
|
|
77
79
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
78
80
|
header: {
|
|
@@ -119,7 +121,11 @@ declare const TooltipTypes: () => ({
|
|
|
119
121
|
type: import("vue").PropType<string | number>;
|
|
120
122
|
default: string;
|
|
121
123
|
};
|
|
122
|
-
}
|
|
124
|
+
}>> & {
|
|
125
|
+
onShow?: () => any;
|
|
126
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
|
+
show: () => void;
|
|
128
|
+
}, string, {
|
|
123
129
|
header: string;
|
|
124
130
|
text: string;
|
|
125
131
|
theme: string;
|
|
@@ -196,7 +202,9 @@ declare const TooltipTypes: () => ({
|
|
|
196
202
|
type: import("vue").PropType<string | number>;
|
|
197
203
|
default: string;
|
|
198
204
|
};
|
|
199
|
-
}>> &
|
|
205
|
+
}>> & {
|
|
206
|
+
onShow?: () => any;
|
|
207
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
200
208
|
__isFragment?: never;
|
|
201
209
|
__isTeleport?: never;
|
|
202
210
|
__isSuspense?: never;
|
|
@@ -245,7 +253,11 @@ declare const TooltipTypes: () => ({
|
|
|
245
253
|
type: import("vue").PropType<string | number>;
|
|
246
254
|
default: string;
|
|
247
255
|
};
|
|
248
|
-
}
|
|
256
|
+
}>> & {
|
|
257
|
+
onShow?: () => any;
|
|
258
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
259
|
+
show: () => void;
|
|
260
|
+
}, string, {
|
|
249
261
|
header: string;
|
|
250
262
|
text: string;
|
|
251
263
|
theme: string;
|