@ironsource/shared-ui 2.1.11-rc.4 → 2.1.11-rc.6
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/DropdownV4.vue_vue_type_style_index_0_scoped_111642c6_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_da829544_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_985779f7_lang.css +1 -0
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
- package/components/button/v4/index.d.ts +9 -3
- package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +130 -124
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +78 -67
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +5 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +151 -116
- package/components/dropdown/v4/index.d.ts +62 -3
- package/components/popover/v4/PopoverV4.vue.d.ts +3 -1
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +22 -20
- package/components/popover/v4/index.d.ts +9 -3
- package/index.d.ts +160 -18
- package/index.js +1 -1
- package/mocks/options.d.ts +29 -2
- package/package.json +1 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-43b5cba4"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../../PopoverV4.
|
|
2
|
-
import { Dropdown as
|
|
3
|
-
import { popoverCommon as
|
|
4
|
-
const
|
|
1
|
+
import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css"; import { defineComponent as c, watch as f, openBlock as i, createBlock as g, unref as o, withCtx as n, createElementBlock as k, renderSlot as p, createCommentVNode as v, createElementVNode as h } from "vue";
|
|
2
|
+
import { Dropdown as C } from "floating-vue";
|
|
3
|
+
import { popoverCommon as w } from "../common/Popover.common.js";
|
|
4
|
+
const y = ["data-testid"], E = /* @__PURE__ */ c({
|
|
5
5
|
__name: "PopoverV4",
|
|
6
6
|
props: {
|
|
7
7
|
autoHide: { type: Boolean, default: !1 },
|
|
@@ -14,11 +14,13 @@ const w = ["data-testid"], b = /* @__PURE__ */ m({
|
|
|
14
14
|
popperClass: { default: "" }
|
|
15
15
|
},
|
|
16
16
|
emits: ["isOpen"],
|
|
17
|
-
setup(e, { emit:
|
|
18
|
-
const { popup:
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
}), (
|
|
17
|
+
setup(e, { expose: s, emit: l }) {
|
|
18
|
+
const { popup: u, open: t, toggle: a, triggerRef: m } = w();
|
|
19
|
+
return f(t, () => {
|
|
20
|
+
l("isOpen", t.value);
|
|
21
|
+
}), s({
|
|
22
|
+
toggle: a
|
|
23
|
+
}), (r, d) => (i(), g(o(C), {
|
|
22
24
|
theme: "custom-popover",
|
|
23
25
|
placement: e.placement,
|
|
24
26
|
shown: !!o(t),
|
|
@@ -28,24 +30,24 @@ const w = ["data-testid"], b = /* @__PURE__ */ m({
|
|
|
28
30
|
skidding: e.skidding,
|
|
29
31
|
"popper-class": [e.popperClass, "v4-popover__popper light-theme-v4"]
|
|
30
32
|
}, {
|
|
31
|
-
popper:
|
|
32
|
-
o(t) ? (
|
|
33
|
+
popper: n(() => [
|
|
34
|
+
o(t) ? (i(), k("div", {
|
|
33
35
|
key: 0,
|
|
34
36
|
ref_key: "popup",
|
|
35
|
-
ref:
|
|
37
|
+
ref: u,
|
|
36
38
|
class: "menu-popup",
|
|
37
39
|
"data-testid": e.testId
|
|
38
40
|
}, [
|
|
39
|
-
|
|
40
|
-
], 8,
|
|
41
|
+
p(r.$slots, "content", {}, void 0, !0)
|
|
42
|
+
], 8, y)) : v("", !0)
|
|
41
43
|
]),
|
|
42
|
-
default:
|
|
43
|
-
|
|
44
|
+
default: n(() => [
|
|
45
|
+
h("div", {
|
|
44
46
|
ref_key: "triggerRef",
|
|
45
|
-
ref:
|
|
46
|
-
onClick:
|
|
47
|
+
ref: m,
|
|
48
|
+
onClick: d[0] || (d[0] = (B) => o(a)(!o(t)))
|
|
47
49
|
}, [
|
|
48
|
-
|
|
50
|
+
p(r.$slots, "trigger", {}, void 0, !0)
|
|
49
51
|
], 512)
|
|
50
52
|
]),
|
|
51
53
|
_: 3
|
|
@@ -53,5 +55,5 @@ const w = ["data-testid"], b = /* @__PURE__ */ m({
|
|
|
53
55
|
}
|
|
54
56
|
});
|
|
55
57
|
export {
|
|
56
|
-
|
|
58
|
+
E as default
|
|
57
59
|
};
|
|
@@ -96,7 +96,9 @@ declare const PopoverTypes: () => ({
|
|
|
96
96
|
};
|
|
97
97
|
}>> & {
|
|
98
98
|
onIsOpen?: (value: boolean) => any;
|
|
99
|
-
}, {
|
|
99
|
+
}, {
|
|
100
|
+
toggle: (value?: boolean) => boolean;
|
|
101
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
100
102
|
isOpen: (value: boolean) => void;
|
|
101
103
|
}, string, {
|
|
102
104
|
testId: string;
|
|
@@ -162,7 +164,9 @@ declare const PopoverTypes: () => ({
|
|
|
162
164
|
};
|
|
163
165
|
}>> & {
|
|
164
166
|
onIsOpen?: (value: boolean) => any;
|
|
165
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
167
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
168
|
+
toggle: (value?: boolean) => boolean;
|
|
169
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
166
170
|
__isFragment?: never;
|
|
167
171
|
__isTeleport?: never;
|
|
168
172
|
__isSuspense?: never;
|
|
@@ -201,7 +205,9 @@ declare const PopoverTypes: () => ({
|
|
|
201
205
|
};
|
|
202
206
|
}>> & {
|
|
203
207
|
onIsOpen?: (value: boolean) => any;
|
|
204
|
-
}, {
|
|
208
|
+
}, {
|
|
209
|
+
toggle: (value?: boolean) => boolean;
|
|
210
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
205
211
|
isOpen: (value: boolean) => void;
|
|
206
212
|
}, string, {
|
|
207
213
|
testId: string;
|