@base-framework/ui 1.0.184 → 1.0.186
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/{empty-state-YyHBEG6v.js → empty-state-DYNdBFtp.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/molecules.es.js +1 -1
- package/dist/organisms.es.js +1 -1
- package/dist/{signature-panel-CdFC9C0N.js → signature-panel-COCEeyYW.js} +11 -6
- package/dist/types/components/organisms/lists/data-table-body.d.ts +1 -1
- package/dist/types/components/organisms/lists/dynamic-data-table.d.ts +1 -0
- package/dist/types/components/organisms/lists/scrollable-data-table.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1422,7 +1422,7 @@ const Ft = c((e, t = []) => n({ class: "w-full max-w-sm p-6" }, [
|
|
|
1422
1422
|
q({ class: "flex flex-auto flex-col" }, [
|
|
1423
1423
|
n({ class: "flex flex-auto flex-col space-y-4" }, [
|
|
1424
1424
|
n({ class: "flex flex-auto items-center justify-center" }, [
|
|
1425
|
-
e.
|
|
1425
|
+
e.icon && n({ class: "w-16 h-16 mb-2 text-primary" }, [
|
|
1426
1426
|
p(e.icon)
|
|
1427
1427
|
])
|
|
1428
1428
|
]),
|
package/dist/index.es.js
CHANGED
|
@@ -3,9 +3,9 @@ import { B as g, I as T, L as c } from "./buttons-Cm9etaEG.js";
|
|
|
3
3
|
import { C as D, d as b, D as I, c as S, E as B, F as P, H as F, I as M, M as k, N, P as v, R as f, T as x, a as y, b as h, U as W, W as H } from "./inputs-CMjx5-IX.js";
|
|
4
4
|
import { V as A, a as w } from "./veil-D4dRxILB.js";
|
|
5
5
|
import { Icons as R } from "./icons.es.js";
|
|
6
|
-
import { A as O, B as G, C as V, t as j, E as q, v as z, w as J, x as _, D as K, j as Q, k as X, H as Y, G as Z, s as $, c as aa, a as sa, b as ea, I as ta, i as oa, g as ra, e as na, h as ia, F as la, d as pa, f as ua, u as ma, M as da, l as ga, N as Ta, P as ca, p as Ca, q as Da, S as ba, n as Ia, o as Sa, T as Ba, y as Pa, z as Fa, m as Ma, r as ka } from "./empty-state-
|
|
6
|
+
import { A as O, B as G, C as V, t as j, E as q, v as z, w as J, x as _, D as K, j as Q, k as X, H as Y, G as Z, s as $, c as aa, a as sa, b as ea, I as ta, i as oa, g as ra, e as na, h as ia, F as la, d as pa, f as ua, u as ma, M as da, l as ga, N as Ta, P as ca, p as Ca, q as Da, S as ba, n as Ia, o as Sa, T as Ba, y as Pa, z as Fa, m as Ma, r as ka } from "./empty-state-DYNdBFtp.js";
|
|
7
7
|
import { A as va, b as fa, C as xa, D as ya, a as ha, F as Wa, M as Ha, P as La, c as Aa, g as wa, p as Ua } from "./calendar-DQXME-2u.js";
|
|
8
|
-
import { B as Ea, p as Oa, C as Ga, j as Va, D as ja, m as qa, k as za, H as Ja, I as _a, N as Ka, O as Qa, P as Xa, S as Ya, n as Za, o as $a, t as as, s as ss, q as es, r as ts, T as os, l as rs, U as ns, W as is, f as ls, h as ps, i as us, c as ms, d as ds, b as gs, e as Ts, a as cs, g as Cs } from "./signature-panel-
|
|
8
|
+
import { B as Ea, p as Oa, C as Ga, j as Va, D as ja, m as qa, k as za, H as Ja, I as _a, N as Ka, O as Qa, P as Xa, S as Ya, n as Za, o as $a, t as as, s as ss, q as es, r as ts, T as os, l as rs, U as ns, W as is, f as ls, h as ps, i as us, c as ms, d as ds, b as gs, e as Ts, a as cs, g as Cs } from "./signature-panel-COCEeyYW.js";
|
|
9
9
|
import { B as bs, I as Is, M as Ss, d as Bs, e as Ps, g as Fs, N as Ms, b as ks, a as Ns, f as vs, P as fs, c as xs, S as ys, T as hs } from "./mobile-nav-wrapper-Dj67Pb8l.js";
|
|
10
10
|
import { B as Hs, a as Ls, C as As, F as ws, b as Us, c as Rs, M as Es, P as Os, S as Gs } from "./sidebar-menu-page-BVryQj2Z.js";
|
|
11
11
|
import { A as js, F as qs, M as zs, a as Js, T as _s } from "./aside-template-McEj_Gxc.js";
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as o, B as t, C as e, t as i, E as r, v as n, w as m, x as l, D as S, j as u, k as D, H as c, G as p, s as C, c as d, a as g, b as F, I as T, i as A, g as P, e as f, h as w, F as I, d as b, f as y, u as B, M, l as x, N as k, P as v, p as E, q as N, S as h, n as L, o as R, T as U, y as j, z as q, m as z, r as G } from "./empty-state-
|
|
1
|
+
import { A as o, B as t, C as e, t as i, E as r, v as n, w as m, x as l, D as S, j as u, k as D, H as c, G as p, s as C, c as d, a as g, b as F, I as T, i as A, g as P, e as f, h as w, F as I, d as b, f as y, u as B, M, l as x, N as k, P as v, p as E, q as N, S as h, n as L, o as R, T as U, y as j, z as q, m as z, r as G } from "./empty-state-DYNdBFtp.js";
|
|
2
2
|
import { A as O, P as _, g as J } from "./calendar-DQXME-2u.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 p, O as u, P as v, S as D, n as g, 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 p, O as u, P as v, S as D, n as g, 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-COCEeyYW.js";
|
|
2
2
|
import { b as F, C as U, D as G, a as j, F as q, M as w, c as z, p as A } from "./calendar-DQXME-2u.js";
|
|
3
3
|
import { B as J, I as K, M as Q, d as R, e as V, g as X, N as Y, b as Z, a as _, f as $, P as aa, c as ea, S as sa, T as ta } from "./mobile-nav-wrapper-Dj67Pb8l.js";
|
|
4
4
|
export {
|
|
@@ -326,12 +326,13 @@ const we = (t, e) => {
|
|
|
326
326
|
})
|
|
327
327
|
]
|
|
328
328
|
})
|
|
329
|
-
]), ke = ({ key: t, rows: e, selectRow: s, rowItem: a }) => new J({
|
|
329
|
+
]), ke = ({ key: t, rows: e, selectRow: s, rowItem: a, emptyState: i }) => new J({
|
|
330
330
|
cache: "list",
|
|
331
331
|
key: t,
|
|
332
332
|
items: e,
|
|
333
|
-
rowItem: (
|
|
334
|
-
class: "divide-y divide-border"
|
|
333
|
+
rowItem: (n) => a(n, s),
|
|
334
|
+
class: "divide-y divide-border",
|
|
335
|
+
emptyState: i
|
|
335
336
|
});
|
|
336
337
|
class N extends h {
|
|
337
338
|
/**
|
|
@@ -414,7 +415,9 @@ class N extends h {
|
|
|
414
415
|
// @ts-ignore
|
|
415
416
|
selectRow: this.selectRow.bind(this),
|
|
416
417
|
// @ts-ignore
|
|
417
|
-
rowItem: this.rowItem
|
|
418
|
+
rowItem: this.rowItem,
|
|
419
|
+
// @ts-ignore
|
|
420
|
+
emptyState: this.emptyState
|
|
418
421
|
})
|
|
419
422
|
])
|
|
420
423
|
])
|
|
@@ -551,7 +554,8 @@ const lt = d((t) => new ve(
|
|
|
551
554
|
rowItem: t.rowItem,
|
|
552
555
|
headers: t.headers,
|
|
553
556
|
customHeader: t.customHeader,
|
|
554
|
-
border: t.border
|
|
557
|
+
border: t.border,
|
|
558
|
+
emptyState: t.emptyState
|
|
555
559
|
}
|
|
556
560
|
)), De = (t) => new ee({
|
|
557
561
|
cache: "list",
|
|
@@ -628,7 +632,8 @@ const rt = d((t) => new Se(
|
|
|
628
632
|
rowItem: t.rowItem,
|
|
629
633
|
headers: t.headers,
|
|
630
634
|
customHeader: t.customHeader,
|
|
631
|
-
border: t.border
|
|
635
|
+
border: t.border,
|
|
636
|
+
emptyState: t.emptyState
|
|
632
637
|
}
|
|
633
638
|
)), Ie = d(({ name: t, email: e }) => o({ class: "min-w-0 flex-auto" }, [
|
|
634
639
|
p({ class: "text-base font-semibold leading-6 m-0" }, t),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function DataTableBody({ key, rows, selectRow, rowItem }: object): object;
|
|
1
|
+
export function DataTableBody({ key, rows, selectRow, rowItem, emptyState }: object): object;
|
|
2
2
|
import { CheckboxCol } from './table-header.js';
|
|
3
3
|
import { HeaderCol } from './table-header.js';
|
|
4
4
|
import { TableHeader } from './table-header.js';
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
* @property {string} [props.border] - The border to add to the table.
|
|
18
18
|
* @property {object} [props.data] - The table data.
|
|
19
19
|
* @property {string} [props.cache] - The table cache identifier.
|
|
20
|
+
* @property {object|null} [props.emptyState] - The empty state to show when there are no items.
|
|
20
21
|
* @returns {object}
|
|
21
22
|
*/
|
|
22
23
|
export const DynamicDataTable: Function;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* @property {string} [props.border] - The border to add to the table.
|
|
19
19
|
* @property {object} [props.data] - The table data.
|
|
20
20
|
* @property {string} [props.cache] - The table cache identifier.
|
|
21
|
+
* @property {object|null} [props.emptyState] - The empty state to show when there are no items.
|
|
21
22
|
* @returns {object}
|
|
22
23
|
*/
|
|
23
24
|
export const ScrollableDataTable: Function;
|
package/package.json
CHANGED