@base-framework/ui 1.0.124 → 1.0.126

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 w, a as U } from "./veil-D4dRxILB.js";
5
5
  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-CmraTk2b.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-C-Q8HfEd.js";
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-Ca6Od0IE.js";
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-DUTEkm0N.js";
9
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-D5dogVoU.js";
10
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-BwwTkxUW.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";
@@ -1,4 +1,4 @@
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-Ca6Od0IE.js";
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-DUTEkm0N.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-C-Q8HfEd.js";
3
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-D5dogVoU.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { Button as y, Div as o, On as Y, Span as v, Th as R, UseParent as F, I as E, Thead as H, Tr as Q, Table as W, P as p, Li as D, Time as X, Nav as S, Ul as b, Section as P, Canvas as q } from "@base-framework/atoms";
1
+ import { Button as y, Div as o, On as Y, Span as v, Th as R, UseParent as F, I as H, Thead as E, Tr as Q, Table as W, P as p, Li as D, Time as X, Nav as S, Ul as b, Section as P, Canvas as q } from "@base-framework/atoms";
2
2
  import { Atom as d, Component as h, Data as L, DateTime as K, router as x, NavLink as O, DataTracker as z, Jot as G, base as I, Dom as T } from "@base-framework/base";
3
3
  import { B as C, I as V } from "./buttons-DBxnNW9z.js";
4
4
  import { Icons as k } from "./icons.es.js";
@@ -309,10 +309,10 @@ const me = (t, e) => {
309
309
  }, [
310
310
  o({ class: `flex flex-auto w-full items-center ${l}` }, [
311
311
  v(a),
312
- e && E({ class: "ml-2", html: k.arrows.upDown })
312
+ e && H({ class: "ml-2", html: k.arrows.upDown })
313
313
  ])
314
314
  ]);
315
- }, N = (t) => H([
315
+ }, N = (t) => E([
316
316
  Q({
317
317
  class: "text-muted-foreground border-b",
318
318
  map: [
@@ -695,8 +695,8 @@ class ot extends h {
695
695
  }
696
696
  const lt = d((t) => {
697
697
  const e = t.margin || "m-4 ml-0";
698
- return o({ class: `flex-none ${e}` }, [
699
- C({ variant: "back" })
698
+ return t.allowHistory = t.allowHistory === !0, o({ class: `flex-none ${e}` }, [
699
+ C({ variant: "back", class: "ghost" })
700
700
  ]);
701
701
  });
702
702
  class $ extends h {
@@ -1241,10 +1241,10 @@ class ut extends h {
1241
1241
  };
1242
1242
  }
1243
1243
  }
1244
- const Fe = (t, e) => new RegExp(`${t}($|/|\\.).*`).test(e), Ee = (t, e) => {
1244
+ const Fe = (t, e) => new RegExp(`${t}($|/|\\.).*`).test(e), He = (t, e) => {
1245
1245
  const s = t.getLinkPath();
1246
1246
  return t.exact ? e === s : Fe(s, e);
1247
- }, He = ({ text: t, href: e, exact: s }) => new O({
1247
+ }, Ee = ({ text: t, href: e, exact: s }) => new O({
1248
1248
  text: t,
1249
1249
  href: e,
1250
1250
  exact: s,
@@ -1302,7 +1302,7 @@ class Qe extends h {
1302
1302
  let s = !1, a = this.links[0];
1303
1303
  this.deactivateAllLinks();
1304
1304
  for (const i of this.links)
1305
- if (i.rendered !== !1 && (s = Ee(i, e), s === !0)) {
1305
+ if (i.rendered !== !1 && (s = He(i, e), s === !0)) {
1306
1306
  this.updateLink(i, !0);
1307
1307
  break;
1308
1308
  }
@@ -1334,7 +1334,7 @@ class Qe extends h {
1334
1334
  * @returns {object}
1335
1335
  */
1336
1336
  addLink({ label: e, href: s, exact: a }) {
1337
- const i = He({ text: e, href: s, exact: a });
1337
+ const i = Ee({ text: e, href: s, exact: a });
1338
1338
  return this.links.push(i), i;
1339
1339
  }
1340
1340
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.124",
3
+ "version": "1.0.126",
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": {