@base-framework/ui 1.0.254 → 1.0.255
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-B4aH27Hs.js → empty-state-CJbKtByW.js} +4 -4
- package/dist/index.es.js +5 -5
- package/dist/{inputs-Hhzvhby6.js → inputs-C9bdEMrX.js} +32 -32
- package/dist/molecules.es.js +2 -2
- package/dist/organisms.es.js +2 -2
- package/dist/{range-calendar-k0B4ZWJq.js → range-calendar-BxLjYfrT.js} +1 -1
- package/dist/{signature-panel-DZTEbp7P.js → signature-panel-DTzJ3EDj.js} +3 -3
- package/dist/{tooltip-EPt1TS6C.js → tooltip-uJp_8NSb.js} +1 -1
- 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-uJp_8NSb.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-C9bdEMrX.js";
|
|
4
4
|
import { V as U, a as W } from "./veil-D4dRxILB.js";
|
|
5
5
|
export {
|
|
6
6
|
e as Badge,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Div as n, H5 as G, P as b, I as m, Li as U, Span as a, Ul as V, Button as f, OnState as x, Label as R, Form as K, H2 as D, Header as I, Footer as L, A as q, H3 as Q, Checkbox as X, Input as w, Img as Z, Nav as ee, UseParent as H, Time as te, Dialog as se } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as c, Component as v, Html as F, Dom as oe, base as ne, Data as $, Builder as Y, Jot as C, Events as le, DateTime as A } from "@base-framework/base";
|
|
3
|
-
import { P as k, b as re, R as ie } from "./range-calendar-
|
|
3
|
+
import { P as k, b as re, R as ie } from "./range-calendar-BxLjYfrT.js";
|
|
4
4
|
import { B as h, I as p } from "./buttons-Cm9etaEG.js";
|
|
5
5
|
import { Icons as d } from "./icons.es.js";
|
|
6
6
|
import { Timer as ae, List as ce, DynamicTime as ue } from "@base-framework/organisms";
|
|
@@ -1054,7 +1054,7 @@ const N = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => f({
|
|
|
1054
1054
|
let u = parseInt(r.target.value, 10);
|
|
1055
1055
|
isNaN(u) && (u = t ?? 0), t !== void 0 && (u = Math.max(u, t)), s !== void 0 && (u = Math.min(u, s)), i.count = u;
|
|
1056
1056
|
},
|
|
1057
|
-
class: "flex flex-auto text-lg font-medium bg-
|
|
1057
|
+
class: "flex flex-auto text-lg font-medium bg-input text-center border min-w-0",
|
|
1058
1058
|
readonly: o,
|
|
1059
1059
|
min: t,
|
|
1060
1060
|
max: s,
|
|
@@ -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 border-input bg-
|
|
1103
|
+
class: "relative flex items-center gap-2 w-full justify-between border border-input 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 border-input bg-
|
|
1175
|
+
class: "relative flex items-center gap-2 w-full justify-between border border-input 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 }),
|
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-uJp_8NSb.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-C9bdEMrX.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-
|
|
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-
|
|
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-
|
|
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-CJbKtByW.js";
|
|
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-DTzJ3EDj.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
|
|
2
|
-
import { Jot as
|
|
3
|
-
import { Icons as
|
|
4
|
-
const
|
|
1
|
+
import { Div as l, Label as d, Checkbox as u, Span as m, OnState as p, I as g, Input as r, Textarea as x } from "@base-framework/atoms";
|
|
2
|
+
import { Jot as k, Atom as s } from "@base-framework/base";
|
|
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 border-input bg-input", c = "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", b = "placeholder:text-muted-foreground", f = `${v} ${$} ${c} ${b} ${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",
|
|
@@ -11,19 +11,19 @@ const $ = "flex h-10 w-full px-3 py-2 text-sm", b = "rounded-md border border-in
|
|
|
11
11
|
required: a,
|
|
12
12
|
checked: o,
|
|
13
13
|
bind: t
|
|
14
|
-
}), C = () =>
|
|
15
|
-
|
|
14
|
+
}), C = () => m({ class: "absolute text-xs pointer-events-none" }, [
|
|
15
|
+
p(
|
|
16
16
|
"checked",
|
|
17
|
-
(e) => e ?
|
|
17
|
+
(e) => e ? g({
|
|
18
18
|
class: "w-2 h-2 pointer-events-none",
|
|
19
|
-
html:
|
|
19
|
+
html: y.check
|
|
20
20
|
}) : null
|
|
21
21
|
)
|
|
22
|
-
]), w = ({ id: e, bind: o, checked: t, required: a, clickHandler:
|
|
23
|
-
class: `relative flex items-center justify-center w-5 h-5 transition-colors duration-200
|
|
24
|
-
|
|
25
|
-
${
|
|
26
|
-
${
|
|
22
|
+
]), w = ({ id: e, bind: o, checked: t, required: a, clickHandler: h }) => l({
|
|
23
|
+
class: `relative flex items-center justify-center w-5 h-5 transition-colors duration-200 hover:border-accent-foreground
|
|
24
|
+
rounded-md border border-input
|
|
25
|
+
${c}
|
|
26
|
+
${i}`.trim(),
|
|
27
27
|
onState: [
|
|
28
28
|
"checked",
|
|
29
29
|
{
|
|
@@ -37,7 +37,7 @@ const $ = "flex h-10 w-full px-3 py-2 text-sm", b = "rounded-md border border-in
|
|
|
37
37
|
checked: ["checked"]
|
|
38
38
|
},
|
|
39
39
|
tabIndex: 0,
|
|
40
|
-
click:
|
|
40
|
+
click: h
|
|
41
41
|
}, [
|
|
42
42
|
I({ bind: o, checked: t, id: e, required: a }),
|
|
43
43
|
C()
|
|
@@ -45,7 +45,7 @@ const $ = "flex h-10 w-full px-3 py-2 text-sm", b = "rounded-md border border-in
|
|
|
45
45
|
class: "text-base cursor-pointer",
|
|
46
46
|
htmlFor: e,
|
|
47
47
|
click: t
|
|
48
|
-
}, o), L =
|
|
48
|
+
}, o), L = k(
|
|
49
49
|
{
|
|
50
50
|
/**
|
|
51
51
|
* This will initialize the state of the checkbox.
|
|
@@ -107,10 +107,10 @@ const $ = "flex h-10 w-full px-3 py-2 text-sm", b = "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
|
+
}, n = s((e) => r({
|
|
111
111
|
...e,
|
|
112
|
-
class: `${
|
|
113
|
-
})), M = s((e) =>
|
|
112
|
+
class: `${f} ${e.class || ""}`.trim()
|
|
113
|
+
})), M = s((e) => n({
|
|
114
114
|
...e,
|
|
115
115
|
type: "tel",
|
|
116
116
|
name: e.name || "Phone",
|
|
@@ -118,16 +118,16 @@ const $ = "flex h-10 w-full px-3 py-2 text-sm", b = "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) => n({
|
|
122
122
|
...e,
|
|
123
123
|
type: "email",
|
|
124
124
|
name: e.name || "Email",
|
|
125
125
|
label: e.label || "Email",
|
|
126
126
|
placeholder: "Email address"
|
|
127
|
-
})), q = s((e) =>
|
|
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 border-input bg-input ${
|
|
130
|
+
class: `flex w-full h-24 px-3 py-2 text-sm rounded-md border border-input bg-input ${c} ${b} ${i} ${e.class || ""}`.trim()
|
|
131
131
|
})), R = (e = {}) => l({ class: "flex items-center space-x-2" }, [
|
|
132
132
|
r({
|
|
133
133
|
...e,
|
|
@@ -155,21 +155,21 @@ const $ = "flex h-10 w-full px-3 py-2 text-sm", b = "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) => n({
|
|
159
159
|
...e,
|
|
160
160
|
type: "number"
|
|
161
|
-
})), J = s((e) =>
|
|
161
|
+
})), J = s((e) => n({
|
|
162
162
|
...e,
|
|
163
163
|
type: "password"
|
|
164
164
|
}));
|
|
165
|
-
s((e) =>
|
|
165
|
+
s((e) => n({
|
|
166
166
|
...e,
|
|
167
167
|
type: "search"
|
|
168
168
|
}));
|
|
169
|
-
const O = s((e) =>
|
|
169
|
+
const O = s((e) => n({
|
|
170
170
|
...e,
|
|
171
171
|
type: "url"
|
|
172
|
-
})), G = s((e) =>
|
|
172
|
+
})), G = s((e) => n({
|
|
173
173
|
...e,
|
|
174
174
|
type: "hidden"
|
|
175
175
|
})), K = s((e) => r({
|
|
@@ -179,12 +179,12 @@ const O = s((e) => c({
|
|
|
179
179
|
}));
|
|
180
180
|
s((e) => u({
|
|
181
181
|
...e,
|
|
182
|
-
class: `flex h-4 w-4 rounded-md border border-input bg-input text-foreground ${
|
|
182
|
+
class: `flex h-4 w-4 rounded-md border border-input bg-input text-foreground ${c} ${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: `${f} ${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
|
+
n as I,
|
|
196
196
|
z as M,
|
|
197
197
|
B as N,
|
|
198
198
|
J as P,
|
|
@@ -204,7 +204,7 @@ export {
|
|
|
204
204
|
W as b,
|
|
205
205
|
j as c,
|
|
206
206
|
K as d,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
i as e,
|
|
208
|
+
c as f,
|
|
209
|
+
f as g
|
|
210
210
|
};
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { A as _, P as K, g as Q } from "./range-calendar-
|
|
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-CJbKtByW.js";
|
|
2
|
+
import { A as _, P as K, g as Q } from "./range-calendar-BxLjYfrT.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Alert,
|
|
5
5
|
_ as Avatar,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-
|
|
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-DTzJ3EDj.js";
|
|
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 {
|
|
5
5
|
s as BackButton,
|
|
@@ -756,7 +756,7 @@ class Yt extends O {
|
|
|
756
756
|
*/
|
|
757
757
|
render() {
|
|
758
758
|
const { today: t, current: e, selecting: a } = this.data, { start: s, end: r } = e;
|
|
759
|
-
return h({ class: "range-calendar
|
|
759
|
+
return h({ class: "range-calendar border border-border rounded-lg shadow-md p-4 w-full max-w-sm min-w-80" }, [
|
|
760
760
|
vt({
|
|
761
761
|
start: s,
|
|
762
762
|
end: r,
|
|
@@ -3,8 +3,8 @@ 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-
|
|
7
|
-
import { A as oe, P as le } from "./range-calendar-
|
|
6
|
+
import { C as ae, I as ie, H as ne } from "./inputs-C9bdEMrX.js";
|
|
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",
|
|
10
10
|
...t,
|
|
@@ -285,7 +285,7 @@ class ot extends h {
|
|
|
285
285
|
* @returns {object}
|
|
286
286
|
*/
|
|
287
287
|
render() {
|
|
288
|
-
return o({ class: "week-calendar-container border rounded-md
|
|
288
|
+
return o({ class: "week-calendar-container border rounded-md p-3" }, [
|
|
289
289
|
pe({
|
|
290
290
|
next: () => this.goToNextMonth(),
|
|
291
291
|
previous: () => this.goToPreviousMonth()
|
|
@@ -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-C9bdEMrX.js";
|
|
5
5
|
const a = {
|
|
6
6
|
gray: {
|
|
7
7
|
backgroundColor: "bg-gray-50",
|
package/package.json
CHANGED