@ironsource/shared-ui 2.0.0-rc.8 → 2.0.0-rc.9
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/Button.vue_vue_type_style_index_0_scoped_35545b8c_lang.css +1 -0
- package/CardPanel.vue_vue_type_style_index_0_scoped_3cda0f04_lang.css +1 -0
- package/FoldableSection.vue_vue_type_style_index_0_scoped_51b5b56d_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_bb7d27f9_lang.css +1 -0
- package/MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css +1 -0
- package/ToggleV4.vue_vue_type_style_index_0_scoped_ef31fecc_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_21f12d1a_lang.css +1 -0
- package/components/appTrigger/AppTrigger.vue2.js +19 -20
- package/components/button/v3/Button.vue.js +3 -3
- package/components/button/v3/Button.vue2.js +1 -1
- package/components/button/v3/ScrollButton.vue2.js +4 -5
- package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +15 -16
- package/components/includeExclude/IncludeExcludeOption.vue2.js +6 -7
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +16 -17
- package/components/input/v3/Input.vue2.js +3 -4
- package/components/input/v4/TextField.vue2.js +8 -8
- package/components/layout/CardPanel.vue.d.ts +36 -0
- package/components/layout/CardPanel.vue.js +7 -0
- package/components/layout/CardPanel.vue2.js +25 -0
- package/components/layout/FoldableSection.vue.d.ts +50 -0
- package/components/layout/FoldableSection.vue.js +7 -0
- package/components/layout/FoldableSection.vue2.js +57 -0
- package/components/layout/FormCard.vue.d.ts +74 -0
- package/components/layout/FormCard.vue.js +7 -0
- package/components/layout/FormCard.vue2.js +74 -0
- package/components/layout/index.d.ts +405 -0
- package/components/layout/index.js +10 -0
- package/components/menuItem/MenuItem.vue.js +5 -24
- package/components/menuItem/MenuItem.vue2.js +23 -0
- package/components/shared/FieldLabel.vue2.js +3 -3
- package/components/table/common/Table.common.js +20 -20
- package/components/toggle/v4/ToggleV4.vue.js +7 -0
- package/components/toggle/v4/ToggleV4.vue2.js +95 -0
- package/components/toggle/v4/index.d.ts +313 -0
- package/components/toggle/v4/index.js +6 -0
- package/components/tooltip/v3/Tooltip.vue.js +6 -3
- package/components/tooltip/v3/Tooltip.vue2.js +3 -3
- package/components/tooltip/v3/index.js +3 -4
- package/components/tooltip/v4/TooltipV4.vue.js +6 -65
- package/components/tooltip/v4/TooltipV4.vue2.js +67 -0
- package/components/tooltip/v4/index.js +2 -2
- package/index.d.ts +623 -1
- package/index.js +137 -129
- package/package.json +17 -5
- package/testids/index.d.ts +11 -0
- package/testids/index.js +16 -14
- package/Button.vue_vue_type_style_index_0_scoped_bfe31a93_lang.css +0 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_c7e837fa_lang.css +0 -1
- package/components/tooltip/v4/TooltipV4.vue3.js +0 -4
- /package/{Tooltip.vue_vue_type_style_index_0_lang.css → Tooltip.vue_vue_type_style_index_1_lang.css} +0 -0
- /package/{TooltipV4.vue_vue_type_style_index_0_lang.css → TooltipV4.vue_vue_type_style_index_1_lang.css} +0 -0
|
@@ -1,67 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import { tooltipCommon as x } from "../common/Tooltip.common.js";
|
|
7
|
-
import { useTestIdAttrs as v } from "../../../utils/testIds.js";
|
|
8
|
-
const I = {
|
|
9
|
-
ref: "container",
|
|
10
|
-
class: "container"
|
|
11
|
-
}, $ = /* @__PURE__ */ c({
|
|
12
|
-
__name: "TooltipV4",
|
|
13
|
-
props: {
|
|
14
|
-
text: { default: null },
|
|
15
|
-
header: { default: null },
|
|
16
|
-
delay: { default: 0 },
|
|
17
|
-
triggers: { default: () => ["hover"] },
|
|
18
|
-
forceShowWithTruncate: { type: Boolean, default: !1 },
|
|
19
|
-
placement: { default: "auto" },
|
|
20
|
-
theme: { default: "light-theme-v4" },
|
|
21
|
-
disabled: { type: Boolean, default: !1 },
|
|
22
|
-
testId: { default: "" },
|
|
23
|
-
distance: { default: "10" }
|
|
24
|
-
},
|
|
25
|
-
setup(e) {
|
|
26
|
-
const n = e, { textForDisplay: o } = x(n), s = v(n.testId, i);
|
|
27
|
-
return (a, b) => (l(), d(t(T), m({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
|
|
28
|
-
theme: e.theme,
|
|
29
|
-
"no-auto-focus": "",
|
|
30
|
-
triggers: e.triggers,
|
|
31
|
-
delay: { show: e.delay, hide: 0 },
|
|
32
|
-
placement: e.placement,
|
|
33
|
-
disabled: e.disabled || e.text && !t(o),
|
|
34
|
-
"popper-class": [e.theme, e.placement, "v4-tooltip"],
|
|
35
|
-
class: ["v4-tooltip"],
|
|
36
|
-
distance: e.distance,
|
|
37
|
-
"auto-hide": ""
|
|
38
|
-
}), {
|
|
39
|
-
popper: r(() => [
|
|
40
|
-
f(a.$slots, "tooltip", { text: t(o) }, () => [
|
|
41
|
-
e.header ? (l(), d(y, {
|
|
42
|
-
key: 1,
|
|
43
|
-
text: e.text,
|
|
44
|
-
header: e.header
|
|
45
|
-
}, null, 8, ["text", "header"])) : (l(), d(t(g), m({
|
|
46
|
-
key: 0,
|
|
47
|
-
variant: "body2"
|
|
48
|
-
}, t(s)[t(i).TEXT]), {
|
|
49
|
-
default: r(() => [
|
|
50
|
-
u(h(t(o)), 1)
|
|
51
|
-
]),
|
|
52
|
-
_: 1
|
|
53
|
-
}, 16))
|
|
54
|
-
])
|
|
55
|
-
]),
|
|
56
|
-
default: r(() => [
|
|
57
|
-
p("div", I, [
|
|
58
|
-
f(a.$slots, "default")
|
|
59
|
-
], 512)
|
|
60
|
-
]),
|
|
61
|
-
_: 3
|
|
62
|
-
}, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance"]));
|
|
63
|
-
}
|
|
64
|
-
});
|
|
1
|
+
import o from "./TooltipV4.vue2.js";
|
|
2
|
+
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_21f12d1a_lang.css"; //*');
|
|
4
|
+
// import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
+
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-21f12d1a"]]);
|
|
65
6
|
export {
|
|
66
|
-
|
|
7
|
+
l as default
|
|
67
8
|
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_21f12d1a_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as c, openBlock as l, createBlock as d, unref as t, mergeProps as m, withCtx as r, renderSlot as f, createTextVNode as u, toDisplayString as h, createElementVNode as p } from "vue";
|
|
2
|
+
import y from "./TextWithTitleContent.vue.js";
|
|
3
|
+
import { Tooltip as T } from "floating-vue";
|
|
4
|
+
import { TooltipTestIdModifiers as i } from "../../../testids/index.js";
|
|
5
|
+
import g from "../../typography/v4/Typography.vue.js";
|
|
6
|
+
import { tooltipCommon as x } from "../common/Tooltip.common.js";
|
|
7
|
+
import { useTestIdAttrs as v } from "../../../utils/testIds.js";
|
|
8
|
+
const I = {
|
|
9
|
+
ref: "container",
|
|
10
|
+
class: "container"
|
|
11
|
+
}, $ = /* @__PURE__ */ c({
|
|
12
|
+
__name: "TooltipV4",
|
|
13
|
+
props: {
|
|
14
|
+
text: { default: null },
|
|
15
|
+
header: { default: null },
|
|
16
|
+
delay: { default: 0 },
|
|
17
|
+
triggers: { default: () => ["hover"] },
|
|
18
|
+
forceShowWithTruncate: { type: Boolean, default: !1 },
|
|
19
|
+
placement: { default: "auto" },
|
|
20
|
+
theme: { default: "light-theme-v4" },
|
|
21
|
+
disabled: { type: Boolean, default: !1 },
|
|
22
|
+
testId: { default: "" },
|
|
23
|
+
distance: { default: "10" }
|
|
24
|
+
},
|
|
25
|
+
setup(e) {
|
|
26
|
+
const n = e, { textForDisplay: o } = x(n), s = v(n.testId, i);
|
|
27
|
+
return (a, b) => (l(), d(t(T), m({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
|
|
28
|
+
theme: e.theme,
|
|
29
|
+
"no-auto-focus": "",
|
|
30
|
+
triggers: e.triggers,
|
|
31
|
+
delay: { show: e.delay, hide: 0 },
|
|
32
|
+
placement: e.placement,
|
|
33
|
+
disabled: e.disabled || e.text && !t(o),
|
|
34
|
+
"popper-class": [e.theme, e.placement, "v4-tooltip"],
|
|
35
|
+
class: ["v4-tooltip"],
|
|
36
|
+
distance: e.distance,
|
|
37
|
+
"auto-hide": ""
|
|
38
|
+
}), {
|
|
39
|
+
popper: r(() => [
|
|
40
|
+
f(a.$slots, "tooltip", { text: t(o) }, () => [
|
|
41
|
+
e.header ? (l(), d(y, {
|
|
42
|
+
key: 1,
|
|
43
|
+
text: e.text,
|
|
44
|
+
header: e.header
|
|
45
|
+
}, null, 8, ["text", "header"])) : (l(), d(t(g), m({
|
|
46
|
+
key: 0,
|
|
47
|
+
variant: "body2"
|
|
48
|
+
}, t(s)[t(i).TEXT]), {
|
|
49
|
+
default: r(() => [
|
|
50
|
+
u(h(t(o)), 1)
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 16))
|
|
54
|
+
], !0)
|
|
55
|
+
]),
|
|
56
|
+
default: r(() => [
|
|
57
|
+
p("div", I, [
|
|
58
|
+
f(a.$slots, "default", {}, void 0, !0)
|
|
59
|
+
], 512)
|
|
60
|
+
]),
|
|
61
|
+
_: 3
|
|
62
|
+
}, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance"]));
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
export {
|
|
66
|
+
$ as default
|
|
67
|
+
};
|