@base-framework/ui 1.0.255 → 1.0.257
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/atoms.es.js +2 -2
- package/dist/{empty-state-CJbKtByW.js → empty-state-DN8N1MVn.js} +55 -60
- package/dist/index.es.js +4 -4
- package/dist/{inputs-C9bdEMrX.js → inputs-BXyw95cq.js} +21 -21
- package/dist/molecules.es.js +1 -1
- package/dist/organisms.es.js +1 -1
- package/dist/{signature-panel-DTzJ3EDj.js → signature-panel-7XSJwtfi.js} +1 -1
- package/dist/{tooltip-uJp_8NSb.js → tooltip-CABuwS1K.js} +1 -1
- package/dist/types/components/atoms/form/inputs/input-classes.d.ts +2 -2
- package/package.json +1 -1
package/dist/atoms.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as e, C as t, b as o, F as n, a as r, L as p, P as u, R as I, S as i, c as l, T as d } from "./tooltip-
|
|
1
|
+
import { B as e, C as t, b as o, F as n, a as r, L as p, P as u, R as I, S as i, c as l, T as d } from "./tooltip-CABuwS1K.js";
|
|
2
2
|
import { B as T, I as c, L as x } from "./buttons-Cm9etaEG.js";
|
|
3
|
-
import { C, d as g, D as F, c as b, E as f, F as L, H as P, I as R, M as S, N as h, P as k, R as D, T as V, a as E, b as G, U as H, W as M } from "./inputs-
|
|
3
|
+
import { C, d as g, D as F, c as b, E as f, F as L, H as P, I as R, M as S, N as h, P as k, R as D, T as V, a as E, b as G, U as H, W as M } from "./inputs-BXyw95cq.js";
|
|
4
4
|
import { V as U, a as W } from "./veil-D4dRxILB.js";
|
|
5
5
|
export {
|
|
6
6
|
e as Badge,
|
|
@@ -428,7 +428,7 @@ class Tt extends v {
|
|
|
428
428
|
this.panel.hidePopover(), this.state.open = !1, typeof this.onClose == "function" && this.onClose(this), document.documentElement.style.overflowY = "auto";
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
const
|
|
431
|
+
const N = {
|
|
432
432
|
info: {
|
|
433
433
|
bgColor: "bg-muted/10",
|
|
434
434
|
borderColor: "border-blue-500",
|
|
@@ -460,12 +460,12 @@ const z = {
|
|
|
460
460
|
class: `pullRightIn bg-popover text-popover-foreground relative flex flex-auto flex-col justify-start shadow-lg pointer-events-auto p-4 border rounded-md min-w-[340px] max-w-[450px] mt-4 ${t}`,
|
|
461
461
|
href: e,
|
|
462
462
|
role: "alert"
|
|
463
|
-
}, s)),
|
|
463
|
+
}, s)), Ne = c(({ close: e, class: t }, s) => n({
|
|
464
464
|
class: `pullRightIn bg-popover text-popover-foreground relative flex flex-auto flex-col justify-start shadow-lg pointer-events-auto p-4 border rounded-md min-w-[340px] max-w-[450px] mt-4 ${t}`,
|
|
465
465
|
click: () => e(),
|
|
466
466
|
role: "alert"
|
|
467
467
|
}, s));
|
|
468
|
-
class
|
|
468
|
+
class ze extends me {
|
|
469
469
|
/**
|
|
470
470
|
* This will declare the props for the compiler.
|
|
471
471
|
*
|
|
@@ -492,7 +492,7 @@ class Ne extends me {
|
|
|
492
492
|
return l ? Me({
|
|
493
493
|
href: l,
|
|
494
494
|
class: `${t} ${s}`
|
|
495
|
-
}, r) :
|
|
495
|
+
}, r) : Ne({
|
|
496
496
|
close: this.close.bind(this),
|
|
497
497
|
class: `${t} ${s}`
|
|
498
498
|
}, r);
|
|
@@ -513,7 +513,7 @@ class Ne extends me {
|
|
|
513
513
|
*/
|
|
514
514
|
getTypeStyles() {
|
|
515
515
|
const t = this.type || "default";
|
|
516
|
-
return
|
|
516
|
+
return N[t] || N.default;
|
|
517
517
|
}
|
|
518
518
|
/**
|
|
519
519
|
* This will get the buttons for the notification.
|
|
@@ -577,7 +577,7 @@ class Bt extends v {
|
|
|
577
577
|
cache: "list",
|
|
578
578
|
key: "id",
|
|
579
579
|
role: "list",
|
|
580
|
-
rowItem: (t) => new
|
|
580
|
+
rowItem: (t) => new ze(t)
|
|
581
581
|
})
|
|
582
582
|
]);
|
|
583
583
|
}
|
|
@@ -600,7 +600,7 @@ class Bt extends v {
|
|
|
600
600
|
this.list.delete(t.id);
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
const
|
|
603
|
+
const z = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
|
|
604
604
|
class: 'text-sm gap-1 font-medium leading-none disabled:cursor-not-allowed disabled:opacity-70 flex flex-col items-center justify-between rounded-md border-2 bg-popover p-4 hover:bg-accent hover:text-accent-foreground data-[state="active"]:border-primary [&:has([data-state="active"])]:border-primary',
|
|
605
605
|
onState: ["method", { active: e }],
|
|
606
606
|
dataSet: ["method", ["state", e, "active"]],
|
|
@@ -613,7 +613,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
|
|
|
613
613
|
])), je = (e) => {
|
|
614
614
|
var o;
|
|
615
615
|
const t = document.documentElement;
|
|
616
|
-
if (e === "system" && (e = (o = globalThis.matchMedia) != null && o.call(globalThis, "(prefers-color-scheme: dark)").matches ? "dark" : "light"),
|
|
616
|
+
if (e === "system" && (e = (o = globalThis.matchMedia) != null && o.call(globalThis, "(prefers-color-scheme: dark)").matches ? "dark" : "light"), z && !z("(prefers-color-scheme: " + e + ")").matches) {
|
|
617
617
|
t.classList.add(e);
|
|
618
618
|
return;
|
|
619
619
|
}
|
|
@@ -808,7 +808,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
|
|
|
808
808
|
}, d.chevron.single.right), Re = (e) => n({ class: "flex items-center" }, [
|
|
809
809
|
e.href ? Ue(e.href, e.label) : a(e.label),
|
|
810
810
|
e.separator && Ve()
|
|
811
|
-
]),
|
|
811
|
+
]), Nt = C(
|
|
812
812
|
{
|
|
813
813
|
/**
|
|
814
814
|
* Set initial data
|
|
@@ -870,7 +870,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
|
|
|
870
870
|
]), Ye = (e, t) => Array.from({ length: e }, (s, o) => He({
|
|
871
871
|
index: o,
|
|
872
872
|
size: t
|
|
873
|
-
})),
|
|
873
|
+
})), zt = C(
|
|
874
874
|
{
|
|
875
875
|
/**
|
|
876
876
|
* Defines component data (props).
|
|
@@ -1100,7 +1100,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
|
|
|
1100
1100
|
bind: e,
|
|
1101
1101
|
required: t
|
|
1102
1102
|
}), et = ({ bind: e, required: t, toggleOpen: s }) => f({
|
|
1103
|
-
class: "relative flex items-center gap-2 w-full justify-between border
|
|
1103
|
+
class: "relative flex items-center gap-2 w-full justify-between border bg-input hover:bg-muted rounded-md h-10 px-4 py-2",
|
|
1104
1104
|
click: s
|
|
1105
1105
|
}, [
|
|
1106
1106
|
Ze({ bind: e, required: t }),
|
|
@@ -1172,7 +1172,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
|
|
|
1172
1172
|
bind: e,
|
|
1173
1173
|
required: t
|
|
1174
1174
|
}), ot = ({ bind: e, required: t, toggleOpen: s }) => f({
|
|
1175
|
-
class: "relative flex items-center gap-2 w-full justify-between border
|
|
1175
|
+
class: "relative flex items-center gap-2 w-full justify-between border bg-input hover:bg-muted rounded-md h-10 px-4 py-2",
|
|
1176
1176
|
click: s
|
|
1177
1177
|
}, [
|
|
1178
1178
|
st({ bind: e, required: t }),
|
|
@@ -1265,7 +1265,7 @@ function lt({ bind: e, required: t }) {
|
|
|
1265
1265
|
function rt({ bind: e, required: t, toggleOpen: s }) {
|
|
1266
1266
|
return f(
|
|
1267
1267
|
{
|
|
1268
|
-
class: "relative flex items-center gap-2 w-full justify-between border
|
|
1268
|
+
class: "relative flex items-center gap-2 w-full justify-between border bg-background hover:bg-muted rounded-md h-10 px-4 py-2",
|
|
1269
1269
|
click: s
|
|
1270
1270
|
},
|
|
1271
1271
|
[
|
|
@@ -1292,56 +1292,51 @@ function B({ items: e, handleTimeSelect: t, state: s, stateValue: o, pad: l = !1
|
|
|
1292
1292
|
);
|
|
1293
1293
|
}
|
|
1294
1294
|
function it({ handleTimeSelect: e }) {
|
|
1295
|
-
return
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
"
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
},
|
|
1295
|
+
return x(
|
|
1296
|
+
"open",
|
|
1297
|
+
(t, s, o) => t ? new k(
|
|
1298
|
+
{
|
|
1299
|
+
cache: "dropdown",
|
|
1300
|
+
parent: o,
|
|
1301
|
+
button: o.panel,
|
|
1302
|
+
size: "fit"
|
|
1303
|
+
},
|
|
1304
|
+
[
|
|
1305
|
+
n(
|
|
1306
|
+
{ class: "flex flex-auto flex-col border rounded-md shadow-md" },
|
|
1307
1307
|
[
|
|
1308
1308
|
n(
|
|
1309
|
-
{ class: "
|
|
1309
|
+
{ class: "grid grid-cols-3 gap-2 p-4 text-center max-h-[220px] min-w-[240px]" },
|
|
1310
1310
|
[
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
state: o.state,
|
|
1335
|
-
stateValue: "meridian"
|
|
1336
|
-
})
|
|
1337
|
-
]
|
|
1338
|
-
)
|
|
1311
|
+
// Hours column
|
|
1312
|
+
B({
|
|
1313
|
+
items: Array.from({ length: 12 }, (l, r) => r + 1),
|
|
1314
|
+
handleTimeSelect: e,
|
|
1315
|
+
state: o.state,
|
|
1316
|
+
stateValue: "hour",
|
|
1317
|
+
pad: !0
|
|
1318
|
+
}),
|
|
1319
|
+
// Minutes column
|
|
1320
|
+
B({
|
|
1321
|
+
items: Array.from({ length: 60 }, (l, r) => r),
|
|
1322
|
+
handleTimeSelect: e,
|
|
1323
|
+
state: o.state,
|
|
1324
|
+
stateValue: "minute",
|
|
1325
|
+
pad: !0
|
|
1326
|
+
}),
|
|
1327
|
+
// AM/PM column
|
|
1328
|
+
B({
|
|
1329
|
+
items: ["AM", "PM"],
|
|
1330
|
+
handleTimeSelect: e,
|
|
1331
|
+
state: o.state,
|
|
1332
|
+
stateValue: "meridian"
|
|
1333
|
+
})
|
|
1339
1334
|
]
|
|
1340
1335
|
)
|
|
1341
1336
|
]
|
|
1342
|
-
)
|
|
1343
|
-
|
|
1344
|
-
|
|
1337
|
+
)
|
|
1338
|
+
]
|
|
1339
|
+
) : null
|
|
1345
1340
|
);
|
|
1346
1341
|
}
|
|
1347
1342
|
function j(e) {
|
|
@@ -1591,7 +1586,7 @@ const Ht = c((e, t = []) => n({ class: "w-full max-w-md p-6 m-auto" }, [
|
|
|
1591
1586
|
]));
|
|
1592
1587
|
export {
|
|
1593
1588
|
vt as A,
|
|
1594
|
-
|
|
1589
|
+
Nt as B,
|
|
1595
1590
|
$t as C,
|
|
1596
1591
|
me as D,
|
|
1597
1592
|
Rt as E,
|
|
@@ -1617,14 +1612,14 @@ export {
|
|
|
1617
1612
|
W as i,
|
|
1618
1613
|
St as j,
|
|
1619
1614
|
Dt as k,
|
|
1620
|
-
|
|
1615
|
+
ze as l,
|
|
1621
1616
|
Lt as m,
|
|
1622
1617
|
Ft as n,
|
|
1623
1618
|
Pt as o,
|
|
1624
1619
|
S as p,
|
|
1625
1620
|
g as q,
|
|
1626
1621
|
Oe as r,
|
|
1627
|
-
|
|
1622
|
+
zt as s,
|
|
1628
1623
|
Et as t,
|
|
1629
1624
|
Ke as u,
|
|
1630
1625
|
Xe as v,
|
package/dist/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as s, C as o, b as t, F as r, a as n, L as l, P as i, R as p, S as m, c as u, T as d } from "./tooltip-
|
|
1
|
+
import { B as s, C as o, b as t, F as r, a as n, L as l, P as i, R as p, S as m, c as u, T as d } from "./tooltip-CABuwS1K.js";
|
|
2
2
|
import { B as c, I as C, L as T } from "./buttons-Cm9etaEG.js";
|
|
3
|
-
import { C as b, d as I, D as S, c as P, E as B, F, H as k, I as M, M as f, N as x, P as N, R as v, T as y, a as h, b as L, U as W, W as H } from "./inputs-
|
|
3
|
+
import { C as b, d as I, D as S, c as P, E as B, F, H as k, I as M, M as f, N as x, P as N, R as v, T as y, a as h, b as L, U as W, W as H } from "./inputs-BXyw95cq.js";
|
|
4
4
|
import { V as R, a as w } from "./veil-D4dRxILB.js";
|
|
5
5
|
import { Icons as E } from "./icons.es.js";
|
|
6
|
-
import { A as O, B as V, C as j, t as q, G as J, v as z, w as _, x as K, y as Q, D as X, j as Y, k as Z, I as $, H as aa, s as ea, c as sa, a as oa, b as ta, J as ra, i as na, g as la, e as ia, h as pa, F as ma, d as ua, f as da, L as ga, u as ca, M as Ca, l as Ta, N as Da, P as ba, p as Ia, q as Sa, S as Pa, n as Ba, o as Fa, T as ka, z as Ma, E as fa, m as xa, r as Na } from "./empty-state-
|
|
6
|
+
import { A as O, B as V, C as j, t as q, G as J, v as z, w as _, x as K, y as Q, D as X, j as Y, k as Z, I as $, H as aa, s as ea, c as sa, a as oa, b as ta, J as ra, i as na, g as la, e as ia, h as pa, F as ma, d as ua, f as da, L as ga, u as ca, M as Ca, l as Ta, N as Da, P as ba, p as Ia, q as Sa, S as Pa, n as Ba, o as Fa, T as ka, z as Ma, E as fa, m as xa, r as Na } from "./empty-state-DN8N1MVn.js";
|
|
7
7
|
import { A as ya, b as ha, C as La, D as Wa, a as Ha, F as Aa, M as Ra, P as wa, R as Ua, c as Ea, g as Ga, p as Oa } from "./range-calendar-BxLjYfrT.js";
|
|
8
|
-
import { B as ja, p as qa, C as Ja, j as za, D as _a, m as Ka, k as Qa, H as Xa, I as Ya, N as Za, O as $a, P as ae, S as ee, n as se, o as oe, t as te, s as re, q as ne, r as le, T as ie, l as pe, U as me, W as ue, f as de, h as ge, i as ce, c as Ce, d as Te, b as De, e as be, a as Ie, g as Se } from "./signature-panel-
|
|
8
|
+
import { B as ja, p as qa, C as Ja, j as za, D as _a, m as Ka, k as Qa, H as Xa, I as Ya, N as Za, O as $a, P as ae, S as ee, n as se, o as oe, t as te, s as re, q as ne, r as le, T as ie, l as pe, U as me, W as ue, f as de, h as ge, i as ce, c as Ce, d as Te, b as De, e as be, a as Ie, g as Se } from "./signature-panel-7XSJwtfi.js";
|
|
9
9
|
import { B as Be, I as Fe, M as ke, d as Me, e as fe, g as xe, N as Ne, b as ve, a as ye, f as he, P as Le, c as We, S as He, T as Ae } from "./mobile-nav-wrapper-Dj67Pb8l.js";
|
|
10
10
|
import { B as we, a as Ue, C as Ee, F as Ge, b as Oe, c as Ve, M as je, P as qe, S as Je } from "./sidebar-menu-page-BVryQj2Z.js";
|
|
11
11
|
import { A as _e, F as Ke, M as Qe, a as Xe, T as Ye } from "./aside-template-McEj_Gxc.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Div as l, Label as d, Checkbox as u, Span as m, OnState as
|
|
1
|
+
import { Div as l, Label as d, Checkbox as u, Span as m, OnState as g, I as p, Input as r, Textarea as x } from "@base-framework/atoms";
|
|
2
2
|
import { Jot as k, Atom as s } from "@base-framework/base";
|
|
3
3
|
import { Icons as y } from "./icons.es.js";
|
|
4
|
-
const v = "flex h-10 w-full px-3 py-2 text-sm", $ = "rounded-md border
|
|
4
|
+
const v = "flex h-10 w-full px-3 py-2 text-sm", $ = "rounded-md border bg-input", n = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background", i = "disabled:cursor-not-allowed disabled:opacity-50 [&:user-invalid]:border-destructive", f = "placeholder:text-muted-foreground", b = `${v} ${$} ${n} ${f} ${i}`, I = ({ id: e, checked: o, bind: t, required: a }) => u({
|
|
5
5
|
id: e,
|
|
6
6
|
cache: "checkbox",
|
|
7
7
|
class: "absolute opacity-0 w-full h-full cursor-pointer pointer-events-none",
|
|
@@ -12,9 +12,9 @@ const v = "flex h-10 w-full px-3 py-2 text-sm", $ = "rounded-md border border-in
|
|
|
12
12
|
checked: o,
|
|
13
13
|
bind: t
|
|
14
14
|
}), C = () => m({ class: "absolute text-xs pointer-events-none" }, [
|
|
15
|
-
|
|
15
|
+
g(
|
|
16
16
|
"checked",
|
|
17
|
-
(e) => e ?
|
|
17
|
+
(e) => e ? p({
|
|
18
18
|
class: "w-2 h-2 pointer-events-none",
|
|
19
19
|
html: y.check
|
|
20
20
|
}) : null
|
|
@@ -22,7 +22,7 @@ const v = "flex h-10 w-full px-3 py-2 text-sm", $ = "rounded-md border border-in
|
|
|
22
22
|
]), w = ({ id: e, bind: o, checked: t, required: a, clickHandler: h }) => l({
|
|
23
23
|
class: `relative flex items-center justify-center w-5 h-5 transition-colors duration-200 hover:border-accent-foreground
|
|
24
24
|
rounded-md border border-input
|
|
25
|
-
${
|
|
25
|
+
${n}
|
|
26
26
|
${i}`.trim(),
|
|
27
27
|
onState: [
|
|
28
28
|
"checked",
|
|
@@ -107,10 +107,10 @@ const v = "flex h-10 w-full px-3 py-2 text-sm", $ = "rounded-md border border-in
|
|
|
107
107
|
}, D = (e) => {
|
|
108
108
|
const o = e.target, t = H(o.value);
|
|
109
109
|
t && (o.value = t);
|
|
110
|
-
},
|
|
110
|
+
}, c = s((e) => r({
|
|
111
111
|
...e,
|
|
112
|
-
class: `${
|
|
113
|
-
})), M = s((e) =>
|
|
112
|
+
class: `${b} ${e.class || ""}`.trim()
|
|
113
|
+
})), M = s((e) => c({
|
|
114
114
|
...e,
|
|
115
115
|
type: "tel",
|
|
116
116
|
name: e.name || "Phone",
|
|
@@ -118,7 +118,7 @@ const v = "flex h-10 w-full px-3 py-2 text-sm", $ = "rounded-md border border-in
|
|
|
118
118
|
placeholder: "(555) 555-5555",
|
|
119
119
|
pattern: e.pattern || "\\(\\d{3}\\) \\d{3}-\\d{4}",
|
|
120
120
|
keyup: D
|
|
121
|
-
})), S = s((e) =>
|
|
121
|
+
})), S = s((e) => c({
|
|
122
122
|
...e,
|
|
123
123
|
type: "email",
|
|
124
124
|
name: e.name || "Email",
|
|
@@ -127,7 +127,7 @@ const v = "flex h-10 w-full px-3 py-2 text-sm", $ = "rounded-md border border-in
|
|
|
127
127
|
})), q = s((e) => x({
|
|
128
128
|
...e,
|
|
129
129
|
as: "textarea",
|
|
130
|
-
class: `flex w-full h-24 px-3 py-2 text-sm rounded-md border
|
|
130
|
+
class: `flex w-full h-24 px-3 py-2 text-sm rounded-md border bg-input ${n} ${f} ${i} ${e.class || ""}`.trim()
|
|
131
131
|
})), R = (e = {}) => l({ class: "flex items-center space-x-2" }, [
|
|
132
132
|
r({
|
|
133
133
|
...e,
|
|
@@ -155,36 +155,36 @@ const v = "flex h-10 w-full px-3 py-2 text-sm", $ = "rounded-md border border-in
|
|
|
155
155
|
...e,
|
|
156
156
|
type: "week",
|
|
157
157
|
class: `rounded-md border px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 ${e.class || ""}`.trim()
|
|
158
|
-
})), B = s((e) =>
|
|
158
|
+
})), B = s((e) => c({
|
|
159
159
|
...e,
|
|
160
160
|
type: "number"
|
|
161
|
-
})), J = s((e) =>
|
|
161
|
+
})), J = s((e) => c({
|
|
162
162
|
...e,
|
|
163
163
|
type: "password"
|
|
164
164
|
}));
|
|
165
|
-
s((e) =>
|
|
165
|
+
s((e) => c({
|
|
166
166
|
...e,
|
|
167
167
|
type: "search"
|
|
168
168
|
}));
|
|
169
|
-
const O = s((e) =>
|
|
169
|
+
const O = s((e) => c({
|
|
170
170
|
...e,
|
|
171
171
|
type: "url"
|
|
172
|
-
})), G = s((e) =>
|
|
172
|
+
})), G = s((e) => c({
|
|
173
173
|
...e,
|
|
174
174
|
type: "hidden"
|
|
175
175
|
})), K = s((e) => r({
|
|
176
176
|
...e,
|
|
177
177
|
type: "color",
|
|
178
|
-
class: `border rounded-md
|
|
178
|
+
class: `border rounded-md bg-input text-foreground p-0 disabled:cursor-not-allowed disabled:opacity-50 ${e.class || ""}`.trim()
|
|
179
179
|
}));
|
|
180
180
|
s((e) => u({
|
|
181
181
|
...e,
|
|
182
|
-
class: `flex h-4 w-4 rounded-md border
|
|
182
|
+
class: `flex h-4 w-4 rounded-md border bg-input text-foreground ${n} ${i} ${e.class || ""}`.trim()
|
|
183
183
|
}));
|
|
184
184
|
const E = "file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground", Q = s((e) => r({
|
|
185
185
|
...e,
|
|
186
186
|
type: "file",
|
|
187
|
-
class: `${
|
|
187
|
+
class: `${b} ${E} ${e.class || ""}`.trim()
|
|
188
188
|
}));
|
|
189
189
|
export {
|
|
190
190
|
L as C,
|
|
@@ -192,7 +192,7 @@ export {
|
|
|
192
192
|
S as E,
|
|
193
193
|
Q as F,
|
|
194
194
|
G as H,
|
|
195
|
-
|
|
195
|
+
c as I,
|
|
196
196
|
z as M,
|
|
197
197
|
B as N,
|
|
198
198
|
J as P,
|
|
@@ -205,6 +205,6 @@ export {
|
|
|
205
205
|
j as c,
|
|
206
206
|
K as d,
|
|
207
207
|
i as e,
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
n as f,
|
|
209
|
+
b as g
|
|
210
210
|
};
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as o, B as t, C as e, t as r, G as i, v as n, w as m, x as l, y as S, D, j as c, k as g, I as p, H as u, s as d, c as C, a as F, b as T, J as P, i as A, g as f, e as w, h as I, F as b, d as y, f as B, L as M, u as k, M as x, l as L, N as v, P as E, p as N, q as R, S as U, n as h, o as j, T as q, z, E as G, m as H, r as J } from "./empty-state-
|
|
1
|
+
import { A as o, B as t, C as e, t as r, G as i, v as n, w as m, x as l, y as S, D, j as c, k as g, I as p, H as u, s as d, c as C, a as F, b as T, J as P, i as A, g as f, e as w, h as I, F as b, d as y, f as B, L as M, u as k, M as x, l as L, N as v, P as E, p as N, q as R, S as U, n as h, o as j, T as q, z, E as G, m as H, r as J } from "./empty-state-DN8N1MVn.js";
|
|
2
2
|
import { A as _, P as K, g as Q } from "./range-calendar-BxLjYfrT.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Alert,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, p as t, C as o, j as r, D as n, m as l, k as i, H as b, I as d, N as g, O as p, P as u, S as v, n as D, o as N, t as k, s as C, q as c, r as T, T as M, l as m, U as y, W as B, f as W, h, i as S, c as H, d as P, b as I, e as f, a as x, g as L } from "./signature-panel-
|
|
1
|
+
import { B as s, p as t, C as o, j as r, D as n, m as l, k as i, H as b, I as d, N as g, O as p, P as u, S as v, n as D, o as N, t as k, s as C, q as c, r as T, T as M, l as m, U as y, W as B, f as W, h, i as S, c as H, d as P, b as I, e as f, a as x, g as L } from "./signature-panel-7XSJwtfi.js";
|
|
2
2
|
import { b as F, C as U, D as G, a as R, F as j, M as q, R as w, c as z, p as A } from "./range-calendar-BxLjYfrT.js";
|
|
3
3
|
import { B as J, I as K, M as Q, d as V, e as X, g as Y, N as Z, b as _, a as $, f as aa, P as ea, c as sa, S as ta, T as oa } from "./mobile-nav-wrapper-Dj67Pb8l.js";
|
|
4
4
|
export {
|
|
@@ -3,7 +3,7 @@ import { Atom as d, Component as h, Data as C, DateTime as G, router as y, NavLi
|
|
|
3
3
|
import { B as T, I as _ } from "./buttons-Cm9etaEG.js";
|
|
4
4
|
import { Icons as x } from "./icons.es.js";
|
|
5
5
|
import { TableBody as J, DataTableBody as Z, ScrollableTableBody as ee, List as te, IntervalTimer as se } from "@base-framework/organisms";
|
|
6
|
-
import { C as ae, I as ie, H as ne } from "./inputs-
|
|
6
|
+
import { C as ae, I as ie, H as ne } from "./inputs-BXyw95cq.js";
|
|
7
7
|
import { A as oe, P as le } from "./range-calendar-BxLjYfrT.js";
|
|
8
8
|
d((t, e) => ({
|
|
9
9
|
class: "flex items-center px-4 py-2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Span as g, Div as l, Legend as f, Fieldset as x, H4 as C, P as h, UseParent as u, Input as y } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as s, Html as p } from "@base-framework/base";
|
|
3
3
|
import { a as d } from "./veil-D4dRxILB.js";
|
|
4
|
-
import { f as k, e as w, g as $ } from "./inputs-
|
|
4
|
+
import { f as k, e as w, g as $ } from "./inputs-BXyw95cq.js";
|
|
5
5
|
const a = {
|
|
6
6
|
gray: {
|
|
7
7
|
backgroundColor: "bg-gray-50",
|
|
@@ -7,7 +7,7 @@ export const sizeClass: "flex h-10 w-full px-3 py-2 text-sm";
|
|
|
7
7
|
* @constant {string} borderClass
|
|
8
8
|
* Common border & background classes for inputs.
|
|
9
9
|
*/
|
|
10
|
-
export const borderClass: "rounded-md border
|
|
10
|
+
export const borderClass: "rounded-md border bg-input";
|
|
11
11
|
/**
|
|
12
12
|
* @constant {string} focusClass
|
|
13
13
|
* Common focus and ring classes for inputs.
|
|
@@ -27,4 +27,4 @@ export const placeholderClass: "placeholder:text-muted-foreground";
|
|
|
27
27
|
* @constant {string} commonInputClasses
|
|
28
28
|
* Composed classes for text-like inputs (text, email, tel, etc.).
|
|
29
29
|
*/
|
|
30
|
-
export const commonInputClasses: "flex h-10 w-full px-3 py-2 text-sm rounded-md border
|
|
30
|
+
export const commonInputClasses: "flex h-10 w-full px-3 py-2 text-sm rounded-md border bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 [&:user-invalid]:border-destructive";
|
package/package.json
CHANGED