edvoyui-component-library-test-flight 0.0.147 → 0.0.148
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/dist/library-vue-ts.cjs.js +1 -1
- package/dist/library-vue-ts.css +1 -1
- package/dist/library-vue-ts.es.js +10 -4
- package/dist/library-vue-ts.umd.js +2 -2
- package/dist/modal/EUIModal.vue.d.ts +1 -1
- package/dist/modal/EUIModal.vue.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/modal/EUIModal.stories.ts +14 -0
- package/src/components/modal/EUIModal.vue +24 -5
|
@@ -12444,6 +12444,10 @@ const k7 = ["id", "aria-describedby", "aria-expanded"], $7 = ["id", "data-show"]
|
|
|
12444
12444
|
size: {
|
|
12445
12445
|
type: String,
|
|
12446
12446
|
default: "sm"
|
|
12447
|
+
},
|
|
12448
|
+
placement: {
|
|
12449
|
+
type: String,
|
|
12450
|
+
default: "center"
|
|
12447
12451
|
}
|
|
12448
12452
|
},
|
|
12449
12453
|
emits: ["update:isVisible", "confirm"],
|
|
@@ -12498,7 +12502,9 @@ function R7(e, n, t, a, i, l) {
|
|
|
12498
12502
|
return [
|
|
12499
12503
|
e.isVisible ? (_(), E("div", {
|
|
12500
12504
|
key: 0,
|
|
12501
|
-
class: "fixed z-50 flex flex-col items-center justify-end inset-2
|
|
12505
|
+
class: le(["fixed z-50 flex flex-col items-center justify-end inset-2 modal-wrapper", [
|
|
12506
|
+
e.placement === "top" ? "sm:justify-start" : e.placement === "bottom" ? "sm:justify-end" : "sm:justify-center"
|
|
12507
|
+
]]),
|
|
12502
12508
|
onClick: n[3] || (n[3] = It(function() {
|
|
12503
12509
|
for (var c = [], u = 0; u < arguments.length; u++)
|
|
12504
12510
|
c[u] = arguments[u];
|
|
@@ -12508,7 +12514,7 @@ function R7(e, n, t, a, i, l) {
|
|
|
12508
12514
|
n[5] || (n[5] = C("div", { class: "backdrop fixed inset-0 z-[-1] w-screen h-screen bg-black/50 pointer-events-none overflow-hidden" }, null, -1)),
|
|
12509
12515
|
C("div", {
|
|
12510
12516
|
class: le([
|
|
12511
|
-
"bg-white shadow-lg w-full overflow-hidden relative flex flex-col justify-between",
|
|
12517
|
+
"bg-white shadow-lg w-full overflow-hidden relative flex flex-col justify-between modal-container",
|
|
12512
12518
|
e.slideClass,
|
|
12513
12519
|
e.roundedClass !== "" ? e.roundedClass : "rounded-t-3xl md:rounded-2xl",
|
|
12514
12520
|
e.size === "full" ? "h-full max-h-svh" : "max-h-[calc(100svh-3rem)] md:h-auto"
|
|
@@ -12574,14 +12580,14 @@ function R7(e, n, t, a, i, l) {
|
|
|
12574
12580
|
}, " Confirm ")
|
|
12575
12581
|
]))
|
|
12576
12582
|
], 2)
|
|
12577
|
-
])) : X("", !0)
|
|
12583
|
+
], 2)) : X("", !0)
|
|
12578
12584
|
];
|
|
12579
12585
|
}),
|
|
12580
12586
|
_: 3
|
|
12581
12587
|
})
|
|
12582
12588
|
]);
|
|
12583
12589
|
}
|
|
12584
|
-
const CM = /* @__PURE__ */ _t(I7, [["render", R7], ["__scopeId", "data-v-
|
|
12590
|
+
const CM = /* @__PURE__ */ _t(I7, [["render", R7], ["__scopeId", "data-v-6e392f5b"]]), D7 = ze({
|
|
12585
12591
|
name: "Slideover",
|
|
12586
12592
|
components: {
|
|
12587
12593
|
EUIButton: Tl
|