morya-ui 0.3.2 → 0.3.3
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/CHANGELOG.md +30 -0
- package/dist/{Button-dMqRmoYa.js → Button-gBiRj7wz.js} +11 -6
- package/dist/{FlyoutSubmenu-BrUPmJa1.js → FlyoutSubmenu-H_741alW.js} +2 -2
- package/dist/{Loading-BSsRs6v9.js → Loading-qS2Yv_gm.js} +1 -1
- package/dist/{Pagination-CqpC5EAs.js → Pagination-Bvv2qvEK.js} +1 -1
- package/dist/{Popover-BQ07q4VV.js → Popover-rnZG_ap0.js} +3 -3
- package/dist/{Select-CKGrSoaC.js → Select-CiXd074W.js} +3 -3
- package/dist/{Tooltip-D5DO0B3z.js → Tooltip-B02o9BOW.js} +3 -3
- package/dist/auto-complete/index.js +3 -3
- package/dist/block-ui/index.js +1 -1
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +277 -40
- package/dist/cascade-select/index.js +3 -3
- package/dist/command-menu/index.js +1 -1
- package/dist/components/Button/Button.vue.d.ts +1 -0
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +277 -40
- package/dist/components/Button/types.d.ts +9 -4
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +19 -14
- package/dist/components/Menu/styles.css +4 -4
- package/dist/components/Popover/styles.css +11 -72
- package/dist/config-provider/style.css +277 -40
- package/dist/confirm-dialog/index.js +2 -2
- package/dist/confirm-dialog/style.css +277 -40
- package/dist/confirm-popup/index.js +5 -5
- package/dist/confirm-popup/style.css +277 -40
- package/dist/context-menu/index.js +105 -96
- package/dist/context-menu/style.css +19 -14
- package/dist/data-view/index.js +2 -2
- package/dist/date-picker/index.js +3 -3
- package/dist/dialog/index.js +2 -2
- package/dist/dialog/style.css +277 -40
- package/dist/drawer/index.js +1 -1
- package/dist/dropdown/index.js +4 -4
- package/dist/index.js +37 -21
- package/dist/loading/index.js +1 -1
- package/dist/mega-menu/index.js +3 -3
- package/dist/menu/index.js +5 -5
- package/dist/menu/style.css +15 -76
- package/dist/menubar/index.js +3 -3
- package/dist/message/index.js +1 -1
- package/dist/{overlayPlacement-Cd20JTD_.js → overlayPlacement-qwEJPVS4.js} +8 -8
- package/dist/page/index.js +1 -1
- package/dist/page/style.css +277 -40
- package/dist/pagination/index.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +11 -72
- package/dist/select/index.js +1 -1
- package/dist/shared/overlayPlacement.d.ts.map +1 -1
- package/dist/speed-dial/index.js +3 -3
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +277 -40
- package/dist/styles.css +1 -1
- package/dist/table/index.js +3 -3
- package/dist/theme/motionPresets.d.ts.map +1 -1
- package/dist/tiered-menu/index.js +4 -4
- package/dist/toast/index.js +1 -1
- package/dist/tooltip/index.js +1 -1
- package/dist/tree-select/index.js +3 -3
- package/dist/{useFloatingViewportSync-DZdJ7W8n.js → useFloatingViewportSync-wLLKIGUA.js} +4 -1
- package/dist/{useMotionTransition-Bxnnb_9u.js → useMotionTransition-95Y79FoL.js} +1 -1
- package/package.json +2 -1
|
@@ -1,109 +1,110 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
3
|
+
import { t as n } from "../useMotionTransition-95Y79FoL.js";
|
|
4
4
|
import { n as r, t as i } from "../overlay-oR-5MDuE.js";
|
|
5
|
-
import { t as a } from "../
|
|
6
|
-
import { t as o } from "../
|
|
7
|
-
import { t as s } from "../
|
|
8
|
-
import { t as c } from "../
|
|
9
|
-
import {
|
|
5
|
+
import { t as a } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
6
|
+
import { t as o } from "../Scrollbar-DTeJ8P5b.js";
|
|
7
|
+
import { t as s } from "../icon-COrt_N8A.js";
|
|
8
|
+
import { t as c } from "../key-CaQYVkjh.js";
|
|
9
|
+
import { t as l } from "../FlyoutSubmenu-H_741alW.js";
|
|
10
|
+
import { c as u } from "../config-CapALqt3.js";
|
|
10
11
|
import "./style.js";
|
|
11
|
-
import { Fragment as
|
|
12
|
+
import { Fragment as d, Teleport as f, Transition as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createVNode as y, defineComponent as b, mergeModels as x, mergeProps as S, nextTick as C, normalizeClass as w, normalizeStyle as T, onBeforeUnmount as E, openBlock as D, ref as O, renderList as k, renderSlot as A, toDisplayString as j, unref as M, useAttrs as N, useModel as P, watch as F, withCtx as I, withModifiers as L } from "vue";
|
|
12
13
|
//#region src/components/ContextMenu/ContextMenuNodes.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
-
var
|
|
14
|
+
var R = {
|
|
14
15
|
key: 0,
|
|
15
16
|
class: "m-contextmenu__separator",
|
|
16
17
|
role: "separator"
|
|
17
|
-
},
|
|
18
|
+
}, z = ["onMouseenter"], B = ["disabled"], V = {
|
|
18
19
|
key: 0,
|
|
19
20
|
class: "m-contextmenu__icon",
|
|
20
21
|
"aria-hidden": "true"
|
|
21
|
-
},
|
|
22
|
+
}, H = { class: "m-contextmenu__label" }, U = {
|
|
22
23
|
key: 1,
|
|
23
24
|
class: "m-contextmenu__shortcut"
|
|
24
|
-
},
|
|
25
|
+
}, W = {
|
|
25
26
|
class: "m-contextmenu__caret",
|
|
26
27
|
"aria-hidden": "true"
|
|
27
|
-
},
|
|
28
|
+
}, G = ["disabled", "onClick"], K = {
|
|
28
29
|
key: 0,
|
|
29
30
|
class: "m-contextmenu__icon",
|
|
30
31
|
"aria-hidden": "true"
|
|
31
|
-
},
|
|
32
|
+
}, q = { class: "m-contextmenu__label" }, J = {
|
|
32
33
|
key: 1,
|
|
33
34
|
class: "m-contextmenu__shortcut"
|
|
34
|
-
},
|
|
35
|
+
}, Y = /* @__PURE__ */ b({
|
|
35
36
|
__name: "ContextMenuNodes",
|
|
36
37
|
props: { items: {} },
|
|
37
38
|
emits: ["activate"],
|
|
38
39
|
setup(e, { emit: n }) {
|
|
39
|
-
let r =
|
|
40
|
-
function
|
|
41
|
-
|
|
40
|
+
let r = O(null), i = O(null), a;
|
|
41
|
+
function u() {
|
|
42
|
+
a && clearTimeout(a), a = void 0;
|
|
42
43
|
}
|
|
43
44
|
function f() {
|
|
44
|
-
|
|
45
|
+
u(), a = setTimeout(() => {
|
|
45
46
|
r.value = null, i.value = null;
|
|
46
47
|
}, 150);
|
|
47
48
|
}
|
|
48
49
|
function p(e, t) {
|
|
49
|
-
return
|
|
50
|
+
return c(e, t, "cm");
|
|
50
51
|
}
|
|
51
52
|
function m(e) {
|
|
52
|
-
return
|
|
53
|
+
return s(e.icon);
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
-
|
|
55
|
+
function h(e, t) {
|
|
56
|
+
u(), r.value = e;
|
|
56
57
|
let n = t.currentTarget;
|
|
57
58
|
i.value = n?.querySelector(".m-contextmenu__item--parent") ?? n;
|
|
58
59
|
}
|
|
59
60
|
function b() {
|
|
60
|
-
|
|
61
|
+
u();
|
|
61
62
|
}
|
|
62
63
|
function x() {
|
|
63
64
|
f();
|
|
64
65
|
}
|
|
65
|
-
return (n,
|
|
66
|
+
return (n, a) => (D(!0), _(d, null, k(e.items, (e, s) => (D(), _(d, { key: p(e, s) }, [e.separator ? (D(), _("div", R)) : e.items?.length ? (D(), _("div", {
|
|
66
67
|
key: 1,
|
|
67
68
|
class: "m-contextmenu__submenu-wrap",
|
|
68
|
-
onMouseenter: (e) =>
|
|
69
|
-
onMouseleave:
|
|
70
|
-
}, [
|
|
69
|
+
onMouseenter: (e) => h(s, e),
|
|
70
|
+
onMouseleave: a[1] ||= (e) => f()
|
|
71
|
+
}, [v("button", {
|
|
71
72
|
type: "button",
|
|
72
73
|
class: "m-contextmenu__item m-contextmenu__item--parent",
|
|
73
74
|
role: "menuitem",
|
|
74
75
|
disabled: e.disabled
|
|
75
76
|
}, [
|
|
76
|
-
m(e) ? (
|
|
77
|
+
m(e) ? (D(), _("span", V, [y(t, {
|
|
77
78
|
name: m(e),
|
|
78
79
|
size: "sm"
|
|
79
|
-
}, null, 8, ["name"])])) :
|
|
80
|
-
|
|
81
|
-
e.shortcut ? (
|
|
82
|
-
|
|
80
|
+
}, null, 8, ["name"])])) : g("", !0),
|
|
81
|
+
v("span", H, j(e.label), 1),
|
|
82
|
+
e.shortcut ? (D(), _("span", U, j(e.shortcut), 1)) : g("", !0),
|
|
83
|
+
v("span", W, [y(t, {
|
|
83
84
|
name: "chevron-right",
|
|
84
85
|
size: "sm"
|
|
85
86
|
})])
|
|
86
|
-
], 8,
|
|
87
|
+
], 8, B), y(l, {
|
|
87
88
|
open: r.value === s,
|
|
88
89
|
anchor: r.value === s ? i.value : null,
|
|
89
90
|
"panel-class": "m-contextmenu__submenu",
|
|
90
91
|
onEnter: b,
|
|
91
92
|
onLeave: x
|
|
92
93
|
}, {
|
|
93
|
-
default:
|
|
94
|
+
default: I(() => [y(o, {
|
|
94
95
|
class: "m-contextmenu__submenu-scroll",
|
|
95
96
|
"fit-content": "",
|
|
96
97
|
"wrap-class": "m-contextmenu__submenu-wrap-inner",
|
|
97
98
|
"view-class": "m-contextmenu__submenu-view"
|
|
98
99
|
}, {
|
|
99
|
-
default:
|
|
100
|
+
default: I(() => [y(Y, {
|
|
100
101
|
items: e.items,
|
|
101
|
-
onActivate:
|
|
102
|
+
onActivate: a[0] ||= (e) => n.$emit("activate", e)
|
|
102
103
|
}, null, 8, ["items"])]),
|
|
103
104
|
_: 2
|
|
104
105
|
}, 1024)]),
|
|
105
106
|
_: 2
|
|
106
|
-
}, 1032, ["open", "anchor"])], 40,
|
|
107
|
+
}, 1032, ["open", "anchor"])], 40, z)) : (D(), _("button", {
|
|
107
108
|
key: 2,
|
|
108
109
|
type: "button",
|
|
109
110
|
class: "m-contextmenu__item",
|
|
@@ -111,18 +112,18 @@ var L = {
|
|
|
111
112
|
disabled: e.disabled,
|
|
112
113
|
onClick: (t) => n.$emit("activate", e)
|
|
113
114
|
}, [
|
|
114
|
-
m(e) ? (
|
|
115
|
+
m(e) ? (D(), _("span", K, [y(t, {
|
|
115
116
|
name: m(e),
|
|
116
117
|
size: "sm"
|
|
117
|
-
}, null, 8, ["name"])])) :
|
|
118
|
-
|
|
119
|
-
e.shortcut ? (
|
|
120
|
-
], 8,
|
|
118
|
+
}, null, 8, ["name"])])) : g("", !0),
|
|
119
|
+
v("span", q, j(e.label), 1),
|
|
120
|
+
e.shortcut ? (D(), _("span", J, j(e.shortcut), 1)) : g("", !0)
|
|
121
|
+
], 8, G))], 64))), 128));
|
|
121
122
|
}
|
|
122
|
-
}),
|
|
123
|
+
}), X = /* @__PURE__ */ b({
|
|
123
124
|
inheritAttrs: !1,
|
|
124
125
|
__name: "ContextMenu",
|
|
125
|
-
props: /*@__PURE__*/
|
|
126
|
+
props: /*@__PURE__*/ x({
|
|
126
127
|
pt: {},
|
|
127
128
|
model: {},
|
|
128
129
|
teleport: {
|
|
@@ -144,29 +145,29 @@ var L = {
|
|
|
144
145
|
positionModifiers: {}
|
|
145
146
|
}),
|
|
146
147
|
emits: ["update:modelValue", "update:position"],
|
|
147
|
-
setup(t, { expose:
|
|
148
|
-
let
|
|
148
|
+
setup(t, { expose: s }) {
|
|
149
|
+
let c = t, l = P(t, "modelValue"), b = P(t, "position"), x = N(), { rootAttrs: k } = e(x, () => c.pt), j = u(), { transitionName: R, transitionCss: z } = n({
|
|
149
150
|
role: "popup",
|
|
150
|
-
local: () =>
|
|
151
|
+
local: () => c.transition,
|
|
151
152
|
componentName: "ContextMenu",
|
|
152
153
|
fallback: "scale-fade"
|
|
153
|
-
}),
|
|
154
|
+
}), B = O(null), V = O({
|
|
154
155
|
x: 0,
|
|
155
156
|
y: 0
|
|
156
|
-
}),
|
|
157
|
-
let e =
|
|
157
|
+
}), H = m(() => r(c, j.value.appendTo)), U = m(() => i(c, j.value.appendTo)), W = m(() => {
|
|
158
|
+
let e = b.value ?? V.value;
|
|
158
159
|
return {
|
|
159
160
|
left: `${e.x}px`,
|
|
160
161
|
top: `${e.y}px`
|
|
161
162
|
};
|
|
162
163
|
});
|
|
163
|
-
function
|
|
164
|
-
|
|
164
|
+
function G(e) {
|
|
165
|
+
c.model.length && q(e);
|
|
165
166
|
}
|
|
166
|
-
function
|
|
167
|
-
|
|
167
|
+
function K() {
|
|
168
|
+
l.value = !1;
|
|
168
169
|
}
|
|
169
|
-
function
|
|
170
|
+
function q(e) {
|
|
170
171
|
let t = "clientX" in e ? {
|
|
171
172
|
x: e.clientX,
|
|
172
173
|
y: e.clientY
|
|
@@ -174,71 +175,79 @@ var L = {
|
|
|
174
175
|
x: e.x,
|
|
175
176
|
y: e.y
|
|
176
177
|
};
|
|
177
|
-
"preventDefault" in e && e.preventDefault(), "stopPropagation" in e && e.stopPropagation(),
|
|
178
|
-
}
|
|
179
|
-
function q(e) {
|
|
180
|
-
e.disabled || e.separator || (e.command?.(), G());
|
|
178
|
+
"preventDefault" in e && e.preventDefault(), "stopPropagation" in e && e.stopPropagation(), V.value = t, b.value = t, l.value = !0;
|
|
181
179
|
}
|
|
182
|
-
function
|
|
183
|
-
|
|
180
|
+
function J(e) {
|
|
181
|
+
e.disabled || e.separator || (e.command?.(), K());
|
|
184
182
|
}
|
|
185
183
|
function X(e) {
|
|
186
|
-
|
|
184
|
+
l.value && B.value && !B.value.contains(e.target) && K();
|
|
185
|
+
}
|
|
186
|
+
function Z(e) {
|
|
187
|
+
e.key === "Escape" && K();
|
|
188
|
+
}
|
|
189
|
+
function ee(e) {
|
|
190
|
+
if (!e || e.type !== "scroll") return !1;
|
|
191
|
+
let t = e.target;
|
|
192
|
+
return t instanceof Node ? B.value?.contains(t) ? !0 : t instanceof Element && !!t.closest(".m-contextmenu, .m-contextmenu__submenu") : !1;
|
|
193
|
+
}
|
|
194
|
+
function te(e) {
|
|
195
|
+
!l.value || ee(e) || K();
|
|
187
196
|
}
|
|
188
|
-
let
|
|
189
|
-
function
|
|
190
|
-
document.removeEventListener("click",
|
|
197
|
+
let Q = 0;
|
|
198
|
+
function $() {
|
|
199
|
+
document.removeEventListener("click", X), document.removeEventListener("keydown", Z), document.removeEventListener("contextmenu", X);
|
|
191
200
|
}
|
|
192
|
-
return
|
|
193
|
-
if (
|
|
194
|
-
document.addEventListener("click",
|
|
195
|
-
let t = ++
|
|
196
|
-
|
|
197
|
-
t ===
|
|
201
|
+
return F(l, (e) => {
|
|
202
|
+
if ($(), !e) return;
|
|
203
|
+
document.addEventListener("click", X), document.addEventListener("keydown", Z);
|
|
204
|
+
let t = ++Q;
|
|
205
|
+
C(() => {
|
|
206
|
+
t === Q && l.value && document.addEventListener("contextmenu", X);
|
|
198
207
|
});
|
|
199
|
-
}, { immediate: !0 }),
|
|
200
|
-
|
|
201
|
-
}),
|
|
202
|
-
show:
|
|
203
|
-
hide:
|
|
204
|
-
}), (e, n) => (
|
|
208
|
+
}, { immediate: !0 }), a(l, te), E(() => {
|
|
209
|
+
$();
|
|
210
|
+
}), s({
|
|
211
|
+
show: q,
|
|
212
|
+
hide: K
|
|
213
|
+
}), (e, n) => (D(), _(d, null, [v("div", S(M(k), {
|
|
205
214
|
class: "m-contextmenu-anchor",
|
|
206
|
-
onContextmenu:
|
|
207
|
-
}), [
|
|
208
|
-
to:
|
|
209
|
-
disabled:
|
|
210
|
-
}, [
|
|
211
|
-
name:
|
|
212
|
-
css:
|
|
215
|
+
onContextmenu: G
|
|
216
|
+
}), [A(e.$slots, "default")], 16), (D(), h(f, {
|
|
217
|
+
to: H.value.to,
|
|
218
|
+
disabled: H.value.disabled
|
|
219
|
+
}, [y(p, {
|
|
220
|
+
name: M(R),
|
|
221
|
+
css: M(z)
|
|
213
222
|
}, {
|
|
214
|
-
default:
|
|
223
|
+
default: I(() => [l.value ? (D(), _("div", {
|
|
215
224
|
key: 0,
|
|
216
225
|
ref_key: "root",
|
|
217
|
-
ref:
|
|
218
|
-
class:
|
|
226
|
+
ref: B,
|
|
227
|
+
class: w(["m-contextmenu", { "m-contextmenu--teleported": U.value }]),
|
|
219
228
|
role: "menu",
|
|
220
|
-
style:
|
|
221
|
-
onClick: n[0] ||=
|
|
222
|
-
}, [
|
|
229
|
+
style: T(W.value),
|
|
230
|
+
onClick: n[0] ||= L(() => {}, ["stop"])
|
|
231
|
+
}, [y(o, {
|
|
223
232
|
class: "m-contextmenu__scroll",
|
|
224
233
|
"fit-content": "",
|
|
225
234
|
"wrap-class": "m-contextmenu__scroll-wrap",
|
|
226
235
|
"view-class": "m-contextmenu__scroll-view"
|
|
227
236
|
}, {
|
|
228
|
-
default:
|
|
237
|
+
default: I(() => [y(Y, {
|
|
229
238
|
items: t.model,
|
|
230
|
-
onActivate:
|
|
239
|
+
onActivate: J
|
|
231
240
|
}, null, 8, ["items"])]),
|
|
232
241
|
_: 1
|
|
233
|
-
})], 6)) :
|
|
242
|
+
})], 6)) : g("", !0)]),
|
|
234
243
|
_: 1
|
|
235
244
|
}, 8, ["name", "css"])], 8, ["to", "disabled"]))], 64));
|
|
236
245
|
}
|
|
237
246
|
});
|
|
238
247
|
//#endregion
|
|
239
248
|
//#region src/components/ContextMenu/useContextMenu.ts
|
|
240
|
-
function
|
|
241
|
-
let e =
|
|
249
|
+
function Z() {
|
|
250
|
+
let e = O(!1), t = O({
|
|
242
251
|
x: 0,
|
|
243
252
|
y: 0
|
|
244
253
|
});
|
|
@@ -264,4 +273,4 @@ function X() {
|
|
|
264
273
|
};
|
|
265
274
|
}
|
|
266
275
|
//#endregion
|
|
267
|
-
export {
|
|
276
|
+
export { X as MContextMenu, Z as useContextMenu };
|
|
@@ -1346,6 +1346,7 @@
|
|
|
1346
1346
|
overflow: hidden;
|
|
1347
1347
|
padding: var(--m-space-1);
|
|
1348
1348
|
position: fixed;
|
|
1349
|
+
width: max-content;
|
|
1349
1350
|
z-index: var(--m-z-popper);
|
|
1350
1351
|
}
|
|
1351
1352
|
|
|
@@ -1355,8 +1356,7 @@
|
|
|
1355
1356
|
}
|
|
1356
1357
|
|
|
1357
1358
|
.m-contextmenu__scroll-view {
|
|
1358
|
-
display:
|
|
1359
|
-
flex-direction: column;
|
|
1359
|
+
display: grid;
|
|
1360
1360
|
gap: var(--m-contextmenu-item-gap);
|
|
1361
1361
|
}
|
|
1362
1362
|
|
|
@@ -1374,31 +1374,32 @@
|
|
|
1374
1374
|
cursor: pointer;
|
|
1375
1375
|
display: flex;
|
|
1376
1376
|
font-family: var(--m-font-sans);
|
|
1377
|
+
font-size: var(--m-control-font-medium);
|
|
1377
1378
|
gap: var(--m-space-2);
|
|
1378
|
-
min-height: var(--m-
|
|
1379
|
-
padding: var(--m-
|
|
1380
|
-
text-align:
|
|
1379
|
+
min-height: var(--m-control-height-medium);
|
|
1380
|
+
padding: 0 var(--m-control-padding-x-medium);
|
|
1381
|
+
text-align: left;
|
|
1381
1382
|
transition:
|
|
1382
1383
|
background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1383
|
-
|
|
1384
|
+
color var(--m-motion-fast) var(--m-motion-ease);
|
|
1385
|
+
white-space: nowrap;
|
|
1384
1386
|
width: 100%;
|
|
1385
1387
|
}
|
|
1386
1388
|
|
|
1387
1389
|
.m-contextmenu__item:hover:not(:disabled) {
|
|
1388
|
-
background: color-mix(
|
|
1389
|
-
|
|
1390
|
-
var(--m-color-primary) 10%,
|
|
1391
|
-
var(--m-color-surface)
|
|
1392
|
-
);
|
|
1390
|
+
background: color-mix(in srgb, var(--m-color-primary) 10%, transparent);
|
|
1391
|
+
color: var(--m-color-primary);
|
|
1393
1392
|
}
|
|
1394
1393
|
|
|
1395
1394
|
.m-contextmenu__item:disabled {
|
|
1395
|
+
color: var(--m-color-text-muted);
|
|
1396
1396
|
cursor: not-allowed;
|
|
1397
1397
|
opacity: var(--m-opacity-disabled);
|
|
1398
1398
|
}
|
|
1399
1399
|
|
|
1400
1400
|
.m-contextmenu__item:focus-visible {
|
|
1401
|
-
|
|
1401
|
+
background: color-mix(in srgb, var(--m-color-primary) 10%, transparent);
|
|
1402
|
+
box-shadow: none;
|
|
1402
1403
|
outline: none;
|
|
1403
1404
|
}
|
|
1404
1405
|
|
|
@@ -1431,6 +1432,10 @@
|
|
|
1431
1432
|
flex-shrink: 0;
|
|
1432
1433
|
}
|
|
1433
1434
|
|
|
1435
|
+
.m-contextmenu__caret {
|
|
1436
|
+
margin-left: auto;
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1434
1439
|
.m-contextmenu__submenu-wrap {
|
|
1435
1440
|
position: relative;
|
|
1436
1441
|
}
|
|
@@ -1445,6 +1450,7 @@
|
|
|
1445
1450
|
min-width: var(--m-contextmenu-min-width);
|
|
1446
1451
|
overflow: hidden;
|
|
1447
1452
|
padding: var(--m-space-1);
|
|
1453
|
+
width: max-content;
|
|
1448
1454
|
}
|
|
1449
1455
|
|
|
1450
1456
|
.m-contextmenu__submenu--teleported {
|
|
@@ -1458,7 +1464,6 @@
|
|
|
1458
1464
|
}
|
|
1459
1465
|
|
|
1460
1466
|
.m-contextmenu__submenu-view {
|
|
1461
|
-
display:
|
|
1462
|
-
flex-direction: column;
|
|
1467
|
+
display: grid;
|
|
1463
1468
|
gap: var(--m-contextmenu-item-gap);
|
|
1464
1469
|
}
|
package/dist/data-view/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Loading-
|
|
3
|
-
import { t as n } from "../Pagination-
|
|
2
|
+
import { t } from "../Loading-qS2Yv_gm.js";
|
|
3
|
+
import { t as n } from "../Pagination-Bvv2qvEK.js";
|
|
4
4
|
import { n as r } from "../locale-Bzm2nbEp.js";
|
|
5
5
|
import "./style.js";
|
|
6
6
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createVNode as d, defineComponent as f, mergeProps as p, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, useAttrs as b, useSlots as x, watch as S, withCtx as C } from "vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
3
|
+
import { t as n } from "../useMotionTransition-95Y79FoL.js";
|
|
4
4
|
import { n as r, t as i } from "../overlay-oR-5MDuE.js";
|
|
5
|
-
import { t as a } from "../overlayPlacement-
|
|
6
|
-
import { t as o } from "../useFloatingViewportSync-
|
|
5
|
+
import { t as a } from "../overlayPlacement-qwEJPVS4.js";
|
|
6
|
+
import { t as o } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
7
7
|
import { t as s } from "../useMId-BXFYayPP.js";
|
|
8
8
|
import { c as ee, o as te } from "../config-CapALqt3.js";
|
|
9
9
|
import { n as ne, t as re } from "../locale-Bzm2nbEp.js";
|
package/dist/dialog/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
4
|
-
import { t as r } from "../Button-
|
|
3
|
+
import { t as n } from "../useMotionTransition-95Y79FoL.js";
|
|
4
|
+
import { t as r } from "../Button-gBiRj7wz.js";
|
|
5
5
|
import { n as i } from "../overlay-oR-5MDuE.js";
|
|
6
6
|
import { t as ee } from "../useModalOverlay-Beo3CEAt.js";
|
|
7
7
|
import { t as a } from "../asyncGuard-CPGT_TKu.js";
|