@base-framework/ui 1.0.191 → 1.0.192

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
@@ -5,7 +5,7 @@ import { V as A, a as w } from "./veil-D4dRxILB.js";
5
5
  import { Icons as R } from "./icons.es.js";
6
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-CYOTsLFJ.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-QCv3BDfZ.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-BFO2icpZ.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";
@@ -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-QCv3BDfZ.js";
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-BFO2icpZ.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 {
@@ -1,7 +1,7 @@
1
- import { Button as x, Div as o, On as v, Span as D, Th as O, UseParent as F, I as E, Thead as Q, Tr as X, Table as L, P as p, Li as S, Time as q, Nav as I, Ul as w, Section as z, Canvas as K } from "@base-framework/atoms";
1
+ import { Button as k, Div as o, On as v, Span as D, Th as O, UseParent as F, I as E, Thead as Q, Tr as X, Table as L, P as p, Li as S, Time as q, Nav as I, Ul as w, Section as z, Canvas as K } from "@base-framework/atoms";
2
2
  import { Atom as d, Component as h, Data as C, DateTime as G, router as y, NavLink as $, DataTracker as N, Jot as V, base as M, Dom as R } from "@base-framework/base";
3
3
  import { B as T, I as _ } from "./buttons-Cm9etaEG.js";
4
- import { Icons as k } from "./icons.es.js";
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
6
  import { C as ae, I as ie, H as ne } from "./inputs-CMjx5-IX.js";
7
7
  import { A as oe, P as le } from "./calendar-DQXME-2u.js";
@@ -10,7 +10,7 @@ d((t, e) => ({
10
10
  ...t,
11
11
  children: e
12
12
  }));
13
- d(({ value: t, label: e }) => x({
13
+ d(({ value: t, label: e }) => k({
14
14
  class: "inline-flex flex-auto items-center justify-center whitespace-nowrap rounded-md px-8 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
15
15
  onState: ["performance", { active: t }],
16
16
  dataSet: ["performance", ["state", t, "active"]],
@@ -82,7 +82,7 @@ const re = (t) => {
82
82
  return a.getDate() === t && a.getMonth() === e && a.getFullYear() === s;
83
83
  }, fe = ({ day: t, month: e, year: s, weekNumber: a, selectWeek: i }) => {
84
84
  const n = ue(t, e, s);
85
- return x({
85
+ return k({
86
86
  text: t || "",
87
87
  disabled: !t,
88
88
  class: `
@@ -165,7 +165,7 @@ const re = (t) => {
165
165
  click: e,
166
166
  "aria-label": `${t} month`,
167
167
  variant: "icon",
168
- icon: t === "Previous" ? k.chevron.single.left : k.chevron.single.right
168
+ icon: t === "Previous" ? x.chevron.single.left : x.chevron.single.right
169
169
  }
170
170
  ), pe = ({ next: t, previous: e }) => o({ class: "flex flex-auto min-h-12 text-sm font-medium relative justify-center items-center" }, [
171
171
  D("[[monthName]] [[year]]"),
@@ -309,7 +309,7 @@ const we = (t, e) => {
309
309
  }, [
310
310
  o({ class: `flex flex-auto w-full items-center ${l}` }, [
311
311
  D(a),
312
- e && E({ class: "ml-2", html: k.arrows.upDown })
312
+ e && E({ class: "ml-2", html: x.arrows.upDown })
313
313
  ])
314
314
  ]);
315
315
  }, B = (t) => Q([
@@ -326,7 +326,7 @@ const we = (t, e) => {
326
326
  })
327
327
  ]
328
328
  })
329
- ]), ke = ({ key: t, rows: e, selectRow: s, rowItem: a, emptyState: i }) => new J({
329
+ ]), xe = ({ key: t, rows: e, selectRow: s, rowItem: a, emptyState: i }) => new J({
330
330
  cache: "list",
331
331
  key: t,
332
332
  items: e,
@@ -402,7 +402,7 @@ class j extends h {
402
402
  */
403
403
  render() {
404
404
  const e = this.rows, s = this.border !== !1 ? "border" : "";
405
- return o({ class: "w-full" }, [
405
+ return o({ class: "w-full flex flex-auto flex-col" }, [
406
406
  v("hasItems", (a) => a === !1 && this.emptyState ? this.emptyState() : null),
407
407
  o({ class: `w-full rounded-md ${s} overflow-x-auto`, onSet: ["hasItems", { hidden: !1 }] }, [
408
408
  L({ class: "w-full" }, [
@@ -410,7 +410,7 @@ class j extends h {
410
410
  this.headers && B({ headers: this.headers, sort: (a) => this.sortRows(a) }),
411
411
  // @ts-ignore
412
412
  this.customHeader ?? null,
413
- ke({
413
+ xe({
414
414
  // @ts-ignore
415
415
  key: this.key,
416
416
  rows: e,
@@ -485,7 +485,7 @@ class j extends h {
485
485
  this.data.selectedRows = [];
486
486
  }
487
487
  }
488
- const xe = (t) => new Z({
488
+ const ke = (t) => new Z({
489
489
  cache: "list",
490
490
  loadMoreItems: t.loadMoreItems,
491
491
  offset: t.offset,
@@ -504,7 +504,7 @@ class ve extends j {
504
504
  */
505
505
  render() {
506
506
  const e = this.rows, s = this.border !== !1 ? "border" : "";
507
- return o({ class: "w-full" }, [
507
+ return o({ class: "w-full flex flex-auto flex-col" }, [
508
508
  v("hasItems", (a) => a === !1 && this.emptyState ? this.emptyState() : null),
509
509
  o({ class: `w-full rounded-md ${s} overflow-x-auto`, onSet: ["hasItems", { hidden: !1 }] }, [
510
510
  L({ class: "w-full" }, [
@@ -512,7 +512,7 @@ class ve extends j {
512
512
  this.headers && B({ headers: this.headers, sort: (a) => this.sortRows(a) }),
513
513
  // @ts-ignore
514
514
  this.customHeader ?? null,
515
- xe({
515
+ ke({
516
516
  // @ts-ignore
517
517
  loadMoreItems: this.loadMoreItems,
518
518
  // @ts-ignore
@@ -580,7 +580,7 @@ class Se extends j {
580
580
  */
581
581
  render() {
582
582
  const e = this.rows, s = this.border !== !1 ? "border" : "";
583
- return o({ class: "w-full" }, [
583
+ return o({ class: "w-full flex flex-auto flex-col" }, [
584
584
  v("hasItems", (a) => a === !1 && this.emptyState ? this.emptyState() : null),
585
585
  o({ class: `w-full rounded-md ${s} overflow-x-auto`, onSet: ["hasItems", { hidden: !1 }] }, [
586
586
  L({ class: "w-full" }, [
@@ -1172,7 +1172,7 @@ const ze = d(({ index: t, click: e, state: s }, a) => S({
1172
1172
  dataSet: ["selected", ["state", t.value, "active"]]
1173
1173
  },
1174
1174
  [
1175
- x({
1175
+ k({
1176
1176
  class: "flex flex-auto justify-center items-center px-3 py-1.5 rounded-md",
1177
1177
  onSet: ["selected", { selected: t.value }],
1178
1178
  click: (e) => t.callBack(t.value)
@@ -1275,7 +1275,7 @@ const He = (t) => S(
1275
1275
  dataSet: ["selected", ["state", t.value, "active"]]
1276
1276
  },
1277
1277
  [
1278
- x({
1278
+ k({
1279
1279
  class: "flex flex-auto justify-center items-center px-3 py-1.5 rounded-md disabled:opacity-50 disabled:cursor-not-allowed",
1280
1280
  onSet: ["selected", { selected: t.value }],
1281
1281
  click: (e) => t.callBack(t.value),
@@ -1730,7 +1730,7 @@ class bt extends h {
1730
1730
  o({ class: "absolute top-2 right-2" }, [
1731
1731
  T({
1732
1732
  variant: "icon",
1733
- icon: k.circleX,
1733
+ icon: x.circleX,
1734
1734
  click: this.reset.bind(this)
1735
1735
  })
1736
1736
  ]),
@@ -1786,7 +1786,7 @@ class bt extends h {
1786
1786
  export {
1787
1787
  ht as B,
1788
1788
  be as C,
1789
- ke as D,
1789
+ xe as D,
1790
1790
  ye as H,
1791
1791
  ft as I,
1792
1792
  dt as N,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.191",
3
+ "version": "1.0.192",
4
4
  "description": "This is a UI package that adds components and atoms that use Tailwind CSS and a theme based on Shadcn.",
5
5
  "main": "./dist/index.es.js",
6
6
  "scripts": {