@base-framework/ui 1.0.107 → 1.0.108
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/index.es.js
CHANGED
|
@@ -6,8 +6,8 @@ import { Icons as R } from "./icons.es.js";
|
|
|
6
6
|
import { A as G, B as V, C as j, z as q, u as z, v as J, w as _, D as K, j as Q, k as X, G as Y, E as Z, s as $, c as aa, a as sa, b as ea, i as oa, g as ta, e as ra, h as na, F as ia, d as la, f as pa, t as ua, M as ma, l as da, N as ga, P as Ta, p as ca, q as Ca, S as ba, n as Da, o as Sa, T as Ia, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-BgNcRIp-.js";
|
|
7
7
|
import { A as Na, b as va, C as fa, D as xa, a as ha, F as ya, M as Wa, P as La, c as Aa, g as Ha, p as wa } from "./calendar-B_jcSUF6.js";
|
|
8
8
|
import { B as Oa, n as Ra, C as Ea, j as Ga, D as Va, l as ja, H as qa, I as za, N as Ja, O as _a, P as Ka, S as Qa, m as Xa, r as Ya, q as Za, o as $a, p as as, T as ss, k as es, U as os, W as ts, f as rs, h as ns, i as is, c as ls, d as ps, b as us, e as ms, a as ds, g as gs } from "./signature-panel-DPYBoBP2.js";
|
|
9
|
-
import { B as cs, I as Cs, M as bs, d as Ds, e as Ss, g as Is, N as Bs, b as Ps, a as Fs, f as Ms, P as ks, c as Ns, S as vs, T as fs } from "./mobile-nav-wrapper-
|
|
10
|
-
import { B as hs, a as ys, C as Ws, F as Ls, b as As, c as Hs, M as ws, P as Us, S as Os } from "./sidebar-menu-page-
|
|
9
|
+
import { B as cs, I as Cs, M as bs, d as Ds, e as Ss, g as Is, N as Bs, b as Ps, a as Fs, f as Ms, P as ks, c as Ns, S as vs, T as fs } from "./mobile-nav-wrapper-Xzn-Rwfw.js";
|
|
10
|
+
import { B as hs, a as ys, C as Ws, F as Ls, b as As, c as Hs, M as ws, P as Us, S as Os } from "./sidebar-menu-page-DfpSS7j3.js";
|
|
11
11
|
import { A as Es, F as Gs, M as Vs, a as js, T as qs } from "./aside-template-McEj_Gxc.js";
|
|
12
12
|
import { B as Js } from "./bside-template-Du2m3rsE.js";
|
|
13
13
|
export {
|
|
@@ -67,13 +67,13 @@ class I extends n {
|
|
|
67
67
|
const P = i(({ options: s, click: e }, t) => ({
|
|
68
68
|
tag: "li",
|
|
69
69
|
...{
|
|
70
|
-
class: `relative flex flex-row w-auto text-left p-0
|
|
70
|
+
class: `relative flex flex-row w-auto text-left p-0 transition-all cursor-pointer min-w-[48px] option${s ? " sub" : ""}`,
|
|
71
71
|
click: e
|
|
72
72
|
},
|
|
73
73
|
children: t
|
|
74
74
|
})), $ = (s, e = null, t = !1) => [
|
|
75
75
|
e && b({
|
|
76
|
-
class: "icon w-12 rounded-md flex items-center justify-center",
|
|
76
|
+
class: "icon w-12 rounded-md flex items-center justify-center min-w-12",
|
|
77
77
|
onState: ["selected", {
|
|
78
78
|
selected: !0
|
|
79
79
|
}],
|
|
@@ -131,7 +131,7 @@ class x extends n {
|
|
|
131
131
|
const e = this.options && this.options.length > 0, t = this.content || $(this.label, this.icon, e);
|
|
132
132
|
return this.href ? new y(
|
|
133
133
|
{
|
|
134
|
-
class: "flex flex-auto flex-row rounded-md",
|
|
134
|
+
class: "flex flex-auto flex-row rounded-md overflow-x-hidden",
|
|
135
135
|
cache: "link",
|
|
136
136
|
href: this.href,
|
|
137
137
|
activeClass: "selected",
|
|
@@ -139,7 +139,7 @@ class x extends n {
|
|
|
139
139
|
},
|
|
140
140
|
t
|
|
141
141
|
) : new I({
|
|
142
|
-
class: "flex flex-auto flex-row rounded-md",
|
|
142
|
+
class: "flex flex-auto flex-row rounded-md overflow-x-hidden",
|
|
143
143
|
cache: "link",
|
|
144
144
|
checkCallBack: this.checkCallBack
|
|
145
145
|
}, t);
|
|
@@ -357,11 +357,11 @@ class E extends c {
|
|
|
357
357
|
this.parentLink.update(t);
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
const F = ({ title: s, options: e, class: t = "", mobileBorder: a = !1, sticky:
|
|
360
|
+
const F = ({ title: s, options: e, class: t = "", mobileBorder: a = !1, sticky: k = !1 }) => l({ class: `pb-12 p-4 pt-0 lg:p-6 lg:border-r w-full lg:max-w-[300px] h-full ${t}` }, [
|
|
361
361
|
s && B({ class: "pb-4 md:pb-2 px-6 flex flex-col" }, [
|
|
362
362
|
L({ class: "scroll-m-20 text-3xl lg:text-2xl font-bold tracking-tight" }, s)
|
|
363
363
|
]),
|
|
364
|
-
new c({ options: e, mobileBorder: a, class:
|
|
364
|
+
new c({ options: e, mobileBorder: a, class: k ? "sticky top-0" : "" })
|
|
365
365
|
]), T = (s) => p({ class: "text-lg ml-2" }, s), A = (s) => l({ class: "sticky flex flex-row items-center bg-popover lg:hidden top-0 z-10 border-0 border-b" }, [
|
|
366
366
|
f({
|
|
367
367
|
variant: "icon",
|
|
@@ -452,17 +452,17 @@ const m = (s) => f({ class: "m-2", variant: "ghost", addState() {
|
|
|
452
452
|
]), j = (s) => p({ class: "text-lg ml-2" }, s), Y = (s) => l({ class: "flex flex-auto flex-row items-center lg:hidden" }, [
|
|
453
453
|
m(),
|
|
454
454
|
s.title && j(s.title)
|
|
455
|
-
]),
|
|
455
|
+
]), v = (s, e) => {
|
|
456
456
|
s.forEach((t) => {
|
|
457
457
|
if (t.options) {
|
|
458
|
-
|
|
458
|
+
v(t.options, e);
|
|
459
459
|
return;
|
|
460
460
|
}
|
|
461
461
|
t.callBack = e;
|
|
462
462
|
});
|
|
463
|
-
},
|
|
463
|
+
}, g = (s) => {
|
|
464
464
|
const e = (t, { parent: a }) => a.parent.state.open = !1;
|
|
465
|
-
return
|
|
465
|
+
return v(s.options, e), l({ class: "bg-background flex flex-auto flex-col w-full relative" }, [
|
|
466
466
|
C(
|
|
467
467
|
"open",
|
|
468
468
|
(t) => t ? [
|
|
@@ -479,12 +479,12 @@ const m = (s) => f({ class: "m-2", variant: "ghost", addState() {
|
|
|
479
479
|
}, J = i((s) => l({ cache: "mobileNav", class: "inline-flex relative lg:hidden" }, [
|
|
480
480
|
l([
|
|
481
481
|
m(),
|
|
482
|
-
|
|
482
|
+
g(s)
|
|
483
483
|
])
|
|
484
484
|
])), K = i((s) => l({ cache: "mobileNav", class: "flex flex-auto flex-col w-full relative lg:hidden" }, [
|
|
485
485
|
l({ class: "flex flex-auto flex-col w-full" }, [
|
|
486
486
|
Y(s),
|
|
487
|
-
|
|
487
|
+
g(s)
|
|
488
488
|
])
|
|
489
489
|
]));
|
|
490
490
|
export {
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as s, n as o, C as t, j as r, D as l, l as n, H as i, I as b, N as d, O as v, P as g, S as p, m as u, r as N, q as k, o as D, p as C, T, k as c, U as M, W as B, f as m, h as y, i as W, c as h, d as H, b as P, e as S, a as f, g as x } from "./signature-panel-DPYBoBP2.js";
|
|
2
2
|
import { b as L, C as O, D as F, a as U, F as G, M as j, c as q, p as w } from "./calendar-B_jcSUF6.js";
|
|
3
|
-
import { B as A, I as E, M as J, d as K, e as Q, g as R, N as V, b as X, a as Y, f as Z, P as _, c as $, S as aa, T as ea } from "./mobile-nav-wrapper-
|
|
3
|
+
import { B as A, I as E, M as J, d as K, e as Q, g as R, N as V, b as X, a as Y, f as Z, P as _, c as $, S as aa, T as ea } from "./mobile-nav-wrapper-Xzn-Rwfw.js";
|
|
4
4
|
export {
|
|
5
5
|
s as BackButton,
|
|
6
6
|
A as Backdrop,
|
package/dist/pages.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, a as P, C as g, F as n, b as l, c as i, M as r, P as c, S as o } from "./sidebar-menu-page-
|
|
1
|
+
import { B as s, a as P, C as g, F as n, b as l, c as i, M as r, P as c, S as o } from "./sidebar-menu-page-DfpSS7j3.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BasicPage,
|
|
4
4
|
P as BlankPage,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Div as t, Header as n, H1 as d, P as o } from "@base-framework/atoms";
|
|
2
2
|
import { F as l, A as h } from "./aside-template-McEj_Gxc.js";
|
|
3
3
|
import { Component as x, Atom as i } from "@base-framework/base";
|
|
4
|
-
import { c as u, e as p } from "./mobile-nav-wrapper-
|
|
4
|
+
import { c as u, e as p } from "./mobile-nav-wrapper-Xzn-Rwfw.js";
|
|
5
5
|
class c extends x {
|
|
6
6
|
/**
|
|
7
7
|
* This will declare the props for the compiler.
|
package/package.json
CHANGED