@autoafleveren/ui 0.15.2 → 0.15.4
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/config/eslint.cjs +3 -0
- package/dist/config/tailwind/config.cjs +6 -1
- package/dist/ui-library.css +1 -1
- package/dist/ui.cjs +3 -3
- package/dist/ui.js +10 -8
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -3451,7 +3451,7 @@ const nv = /* @__PURE__ */ yr(oS, [["render", fS]]), pS = {
|
|
|
3451
3451
|
setup(e) {
|
|
3452
3452
|
const t = Ur();
|
|
3453
3453
|
return (n, r) => (k(), N("div", {
|
|
3454
|
-
class: ie([E(pS)[n.type], "app-alert inline-flex max-w-[410px] flex-col rounded-lg px-4 py-
|
|
3454
|
+
class: ie([E(pS)[n.type], "app-alert inline-flex max-w-[410px] flex-col rounded-lg px-4 py-2 text-sm text-zinc-900"])
|
|
3455
3455
|
}, [
|
|
3456
3456
|
j("div", hS, [
|
|
3457
3457
|
n.withIcon ? (k(), N("span", mS, [
|
|
@@ -17695,8 +17695,8 @@ const oM = { class: "relative z-50 -mt-20 w-full -translate-y-0.5 rounded-2xl bg
|
|
|
17695
17695
|
});
|
|
17696
17696
|
return (i, s) => (k(), N("div", {
|
|
17697
17697
|
class: ie([{
|
|
17698
|
-
"-top-full left-full translate-x-3 translate-y-
|
|
17699
|
-
"-right-full top-6 translate-x-
|
|
17698
|
+
"-top-full left-full translate-x-3 translate-y-[39px]": n.context,
|
|
17699
|
+
"-right-full top-6 translate-x-[85px] translate-y-10": !n.context
|
|
17700
17700
|
}, "absolute w-72 rounded-lg bg-secondary p-2"])
|
|
17701
17701
|
}, [
|
|
17702
17702
|
j("div", {
|
|
@@ -18095,10 +18095,12 @@ const oM = { class: "relative z-50 -mt-20 w-full -translate-y-0.5 rounded-2xl bg
|
|
|
18095
18095
|
setup(e, { expose: t, emit: n }) {
|
|
18096
18096
|
const r = e, a = n, i = ne(!0), s = ne(!1), o = so(), l = Ed(), u = ne(null), c = z(() => r.actions ?? o.actions.value);
|
|
18097
18097
|
async function f() {
|
|
18098
|
-
|
|
18098
|
+
var g;
|
|
18099
|
+
i.value = !0, a("open"), (g = document.querySelector("#app")) == null || g.classList.add("context-menu-open");
|
|
18099
18100
|
}
|
|
18100
18101
|
async function p() {
|
|
18101
|
-
|
|
18102
|
+
var g;
|
|
18103
|
+
i.value = !1, a("close"), (g = document.querySelector("#app")) == null || g.classList.remove("context-menu-open");
|
|
18102
18104
|
}
|
|
18103
18105
|
async function h(g) {
|
|
18104
18106
|
a("actionClicked", g), i.value = !1, setTimeout(() => {
|
|
@@ -34692,7 +34694,7 @@ const Z8 = {
|
|
|
34692
34694
|
])
|
|
34693
34695
|
]));
|
|
34694
34696
|
}
|
|
34695
|
-
}), v8 = { class: "flex min-h-screen w-screen flex-col bg-zinc-100 md:flex-row" }, g8 = { class: "relative order-4 flex min-h-[calc(100vh-5rem)] shrink-0 flex-col overflow-y-auto overflow-x-hidden bg-zinc-100 transition-all duration-300 md:order-3 md:-mt-0 md:h-screen md:grow md:basis-0 md:overflow-y-auto md:overflow-x-hidden" }, y8 = { class: "w-full px-4 py-8 md:px-8 md:py-12" }, b8 = {
|
|
34697
|
+
}), v8 = { class: "flex min-h-screen w-screen flex-col bg-zinc-100 md:flex-row" }, g8 = { class: "relative order-4 flex min-h-[calc(100vh-5rem)] shrink-0 flex-col overflow-y-auto overflow-x-hidden bg-zinc-100 transition-all duration-300 context-menu-open:overflow-y-hidden md:order-3 md:-mt-0 md:h-screen md:grow md:basis-0 md:overflow-y-auto md:overflow-x-hidden" }, y8 = { class: "w-full px-4 py-8 md:px-8 md:py-12" }, b8 = {
|
|
34696
34698
|
id: "sidebar-wrapper",
|
|
34697
34699
|
class: "order-5 flex w-full max-w-full shrink-0 grow-0 flex-col overflow-x-hidden bg-zinc-100 px-4 py-8 transition-all empty:ml-0 empty:mr-[-400px] empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:order-4 md:max-h-screen md:w-[400px] md:overflow-hidden md:rounded-l-3xl md:bg-white md:px-6 md:pb-6 md:pt-12 xl:w-[580px] empty:xl:mr-[-580px]",
|
|
34698
34700
|
"data-test-layout-sidebar-wrapper": ""
|
|
@@ -34779,8 +34781,8 @@ const Z8 = {
|
|
|
34779
34781
|
dropdownHidden: "!block !relative",
|
|
34780
34782
|
option: "hover:bg-zinc-600 px-2.5 py-2.5 rounded-lg text-base h-10",
|
|
34781
34783
|
search: E(Jt).search,
|
|
34782
|
-
placeholder: E(Jt).placeholder
|
|
34783
|
-
tags: `${E(Jt).tags} bg-white rounded-lg min-h-10 mb-2 text-secondary pt-
|
|
34784
|
+
placeholder: `${E(Jt).placeholder} max-h-11`,
|
|
34785
|
+
tags: `${E(Jt).tags} bg-white rounded-lg min-h-10 mb-2 !mt-0 text-secondary pt-1`,
|
|
34784
34786
|
tag: `${E(Jt).tag} text-secondary`,
|
|
34785
34787
|
tagDisabled: E(Jt).tagDisabled,
|
|
34786
34788
|
tagRemove: E(Jt).tagRemove,
|