@base-framework/ui 1.2.34 → 1.2.36

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { c as t, f as e, h as n, i as o, k as l, l as i, m as u, n as r, t as p, w as I, J as g, L as c, M as d, N as m, O as F, P as T, Q as B, R as S, S as b, T as C, U as x, a0 as f, a7 as P, a8 as h, a9 as k, ac as M, ad as U, ae as w, ai as E, an as G, au as L, ax as N, aB as R, aC as Z, aE as D, aF as H, aG as J, aK as Q, aP as V, aQ as W, aS as v, aW as K, aX as O, aY as X, aZ as Y, b0 as j, b1 as q, b2 as y, b5 as z, b6 as A } from "./full-page-o3ZyRrhO.js";
1
+ import { c as t, f as e, h as n, i as o, k as l, l as i, m as u, n as r, t as p, w as I, J as g, L as c, M as d, N as m, O as F, P as T, Q as B, R as S, S as b, T as C, U as x, a0 as f, a7 as P, a8 as h, a9 as k, ac as M, ad as U, ae as w, ai as E, an as G, au as L, ax as N, aB as R, aC as Z, aE as D, aF as H, aG as J, aK as Q, aP as V, aQ as W, aS as v, aW as K, aX as O, aY as X, aZ as Y, b0 as j, b1 as q, b2 as y, b5 as z, b6 as A } from "./full-page-CK6LzEZb.js";
2
2
  import { S as $ } from "./skeleton-BlY3opxG.js";
3
3
  export {
4
4
  t as Badge,
@@ -1,8 +1,8 @@
1
- import { Component as c, Html as m, Dom as C, base as w, Data as T, Builder as b, DateTime as g } from "@base-framework/base";
2
- import { Li as v, Span as u, Div as r, Ul as D, Button as S, I as x, OnState as B, Time as Y } from "@base-framework/atoms";
3
- import { az as k, b8 as y, f as h, at as N, F as O } from "./full-page-o3ZyRrhO.js";
1
+ import { Component as d, Html as m, Dom as y, base as w, Data as S, Builder as b, DateTime as g } from "@base-framework/base";
2
+ import { Li as T, Span as p, Div as a, Ul as v, Button as D, I as x, OnState as Y, Time as B } from "@base-framework/atoms";
3
+ import { az as k, b8 as C, f as c, at as N, F as O } from "./full-page-CK6LzEZb.js";
4
4
  import { List as F, DynamicTime as E } from "@base-framework/organisms";
5
- class X extends c {
5
+ class X extends d {
6
6
  /**
7
7
  * This will declare the props for the compiler.
8
8
  *
@@ -23,34 +23,34 @@ class X extends c {
23
23
  m.removeElement(t);
24
24
  return;
25
25
  }
26
- C.addClass(t, s), w.on("animationend", t, (o) => m.removeElement(t));
26
+ y.addClass(t, s), w.on("animationend", t, (o) => m.removeElement(t));
27
27
  }
28
28
  }
29
- const L = (e) => u({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), M = (e) => u({ class: "flex w-4 h-4", html: e }), P = (e) => u({ class: "flex-auto" }, e), I = (e, t) => v({
29
+ const L = (e) => p({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), M = (e) => p({ class: "flex w-4 h-4", html: e }), P = (e) => p({ class: "flex-auto" }, e), I = (e, t) => T({
30
30
  class: "relative flex cursor-pointer hover:bg-muted/50 select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
31
31
  click: () => t(e)
32
32
  }, [
33
33
  e.icon && M(e.icon),
34
34
  P(e.label),
35
35
  e.shortcut && L(e.shortcut)
36
- ]), A = (e, t) => D({ class: "grid gap-2" }, [
36
+ ]), A = (e, t) => v({ class: "grid gap-2" }, [
37
37
  e.map((s) => I(s, t))
38
- ]), z = (e) => r({ class: "w-full z-10" }, [
39
- r({
38
+ ]), z = (e) => a({ class: "w-full z-10" }, [
39
+ a({
40
40
  class: "max-h-60 border rounded-md overflow-y-auto p-1 grid gap-2 divide-y divide-border",
41
41
  for: ["groups", (t) => A(t, e)]
42
42
  })
43
- ]), U = ({ label: e, icon: t, toggleDropdown: s }) => S({
43
+ ]), U = ({ label: e, icon: t, toggleDropdown: s }) => D({
44
44
  cache: "button",
45
45
  class: `inline-flex items-center justify-between rounded-md border
46
46
  px-2 py-2 text-sm font-medium hover:bg-muted
47
47
  focus:outline-none transition duration-150 ease-in-out`,
48
48
  click: s
49
49
  }, [
50
- e && u(e),
50
+ e && p(e),
51
51
  t && x({ html: t })
52
- ]), $ = ({ onSelect: e }) => r([
53
- B(
52
+ ]), $ = ({ onSelect: e }) => a([
53
+ Y(
54
54
  "open",
55
55
  (t, s, o) => t ? new k({
56
56
  cache: "dropdown",
@@ -61,7 +61,7 @@ const L = (e) => u({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
61
61
  ]) : null
62
62
  )
63
63
  ]);
64
- class Z extends c {
64
+ class Z extends d {
65
65
  /**
66
66
  * This will declare the props for the compiler.
67
67
  *
@@ -76,7 +76,7 @@ class Z extends c {
76
76
  * @returns {Data}
77
77
  */
78
78
  setData() {
79
- return new T({
79
+ return new S({
80
80
  groups: this.groups || []
81
81
  });
82
82
  }
@@ -114,7 +114,7 @@ class Z extends c {
114
114
  * @returns {object}
115
115
  */
116
116
  render() {
117
- return r({ class: "relative" }, [
117
+ return a({ class: "relative" }, [
118
118
  U({
119
119
  label: this.label,
120
120
  icon: this.icon,
@@ -125,7 +125,7 @@ class Z extends c {
125
125
  }
126
126
  }
127
127
  const H = (e) => b.render(e, app.root);
128
- class W extends c {
128
+ class W extends d {
129
129
  /**
130
130
  * This will declare the props for the compiler.
131
131
  *
@@ -141,7 +141,7 @@ class W extends c {
141
141
  */
142
142
  render() {
143
143
  const t = this.getMainClass(), s = this.title || "", o = this.description || null;
144
- return y(
144
+ return C(
145
145
  {
146
146
  class: t,
147
147
  title: s,
@@ -190,8 +190,8 @@ class W extends c {
190
190
  */
191
191
  getButtons() {
192
192
  return [
193
- h({ variant: "outline", click: () => this.destroy() }, "Cancel"),
194
- this.hidePrimaryButton !== !0 && h({ variant: "primary", type: "submit" }, "Save")
193
+ c({ variant: "outline", click: () => this.destroy() }, "Cancel"),
194
+ this.hidePrimaryButton !== !0 && c({ variant: "primary", type: "submit" }, "Save")
195
195
  ];
196
196
  }
197
197
  /**
@@ -306,10 +306,10 @@ class G {
306
306
  modalContent: o = null,
307
307
  modalBody: i = null,
308
308
  closeThreshold: n = 150,
309
- snapThreshold: a = 50,
310
- onClose: p = null
309
+ snapThreshold: r = 50,
310
+ onClose: h = null
311
311
  } = t;
312
- this.modal = s, this.modalContent = o, this.modalBody = i, this.closeThreshold = n, this.snapThreshold = a, this.onClose = p, this.reset();
312
+ this.modal = s, this.modalContent = o, this.modalBody = i, this.closeThreshold = n, this.snapThreshold = r, this.onClose = h, this.reset();
313
313
  }
314
314
  /**
315
315
  * Resets the drag state to initial values
@@ -322,7 +322,14 @@ class G {
322
322
  startY: 0,
323
323
  currentY: 0,
324
324
  startScrollTop: 0,
325
- canDrag: !1
325
+ canDrag: !1,
326
+ /**
327
+ * True if the body has scrolled during this gesture.
328
+ * Prevents drag from starting mid-gesture on iOS when rubber-band
329
+ * overscroll briefly resets scrollTop to 0 at the bottom boundary.
330
+ * @type {boolean}
331
+ */
332
+ hasScrolled: !1
326
333
  };
327
334
  }
328
335
  /**
@@ -340,10 +347,10 @@ class G {
340
347
  * @returns {void}
341
348
  */
342
349
  handleTouchStart(t) {
343
- if (!this.modalBody)
350
+ if (!this.modal)
344
351
  return;
345
- const s = t.touches[0];
346
- this.state.startY = s.clientY, this.state.currentY = s.clientY, this.state.startScrollTop = this.modalBody.scrollTop, this.state.canDrag = this.modalBody.scrollTop === 0;
352
+ const s = t.touches[0], o = this.modal.scrollTop;
353
+ this.state.startY = s.clientY, this.state.currentY = s.clientY, this.state.startScrollTop = o, this.state.hasScrolled = !1, this.state.canDrag = o <= 1;
347
354
  }
348
355
  /**
349
356
  * Handles touch move event
@@ -352,18 +359,20 @@ class G {
352
359
  * @returns {void}
353
360
  */
354
361
  handleTouchMove(t) {
355
- if (!this.modalContent || !this.modalBody)
362
+ if (!this.modal || !this.modalContent)
356
363
  return;
357
364
  const s = t.touches[0];
358
365
  this.state.currentY = s.clientY;
359
- const o = this.getDeltaY();
360
- if (!this.state.isDragging && this.state.canDrag && o > 0 && this.modalBody.scrollTop === 0 && (this.state.isDragging = !0), this.state.isDragging && o > 0) {
366
+ const o = this.getDeltaY(), i = this.modal.scrollTop;
367
+ i !== this.state.startScrollTop && (this.state.hasScrolled = !0);
368
+ const n = this.state.canDrag && !this.state.hasScrolled;
369
+ if (!this.state.isDragging && n && o > 0 && i <= 1 && (this.state.isDragging = !0), this.state.isDragging && o > 0) {
361
370
  t.preventDefault();
362
- const i = this.calculateTranslateY(o);
363
- this.modal.style.transform = `translateY(${i}px)`, this.modal.style.transition = "none";
364
- const n = this.calculateBackdropOpacity(o);
365
- this.updateBackdropOpacity(n);
366
- } else this.modalBody.scrollTop > 0 && (this.state.canDrag = !1);
371
+ const r = this.calculateTranslateY(o);
372
+ this.modal.style.transform = `translateY(${r}px)`, this.modal.style.transition = "none";
373
+ const h = this.calculateBackdropOpacity(o);
374
+ this.updateBackdropOpacity(h);
375
+ } else i > 1 && (this.state.canDrag = !1);
367
376
  }
368
377
  /**
369
378
  * Handles touch end event
@@ -475,7 +484,7 @@ class tt extends W {
475
484
  */
476
485
  render() {
477
486
  const t = this.getMainClass(), s = this.title || "", o = this.description || null, i = this.getContainerProps();
478
- return y(
487
+ return C(
479
488
  {
480
489
  class: t,
481
490
  title: s,
@@ -483,9 +492,11 @@ class tt extends W {
483
492
  options: this.headerOptions(),
484
493
  buttons: this.getButtons(),
485
494
  hideFooter: this.hideFooter,
495
+ // @ts-ignore
496
+ titleCenter: this.titleCenter,
486
497
  onSubmit: (n) => {
487
- let a = !0;
488
- this.onSubmit && (a = this.onSubmit(n)), a !== !1 && this.destroy();
498
+ let r = !0;
499
+ this.onSubmit && (r = this.onSubmit(n)), r !== !1 && this.destroy();
489
500
  },
490
501
  icon: this.icon,
491
502
  back: this.back ?? !1,
@@ -539,14 +550,14 @@ class tt extends W {
539
550
  }
540
551
  }
541
552
  let _ = 0;
542
- class et extends c {
553
+ class et extends d {
543
554
  /**
544
555
  * This will render the component.
545
556
  *
546
557
  * @returns {object}
547
558
  */
548
559
  render() {
549
- return r({ class: "notification-container pointer-events-none inset-auto bg-transparent backdrop:bg-transparent overflow-visible fixed bottom-[80px] right-0 z-50 p-5", popover: "manual" }, [
560
+ return a({ class: "notification-container pointer-events-none inset-auto bg-transparent backdrop:bg-transparent overflow-visible fixed bottom-[80px] right-0 z-50 p-5", popover: "manual" }, [
550
561
  new F({
551
562
  cache: "list",
552
563
  key: "id",
@@ -574,7 +585,7 @@ class et extends c {
574
585
  this?.list?.delete(t.id), this?.list?.isEmpty() && this?.panel?.hidePopover();
575
586
  }
576
587
  }
577
- const d = {
588
+ const u = {
578
589
  ONLINE: "online",
579
590
  OFFLINE: "offline",
580
591
  BUSY: "busy",
@@ -584,17 +595,17 @@ const d = {
584
595
  OFFLINE: "bg-gray-500",
585
596
  BUSY: "bg-red-500",
586
597
  AWAY: "bg-yellow-500"
587
- }, j = (e = "") => (e = e.toUpperCase(), l[e] || l.OFFLINE), st = (e) => r({
598
+ }, j = (e = "") => (e = e.toUpperCase(), l[e] || l.OFFLINE), st = (e) => a({
588
599
  class: `absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full ${j(e)}`
589
- }), ot = ({ propName: e = "status" } = {}) => r({
600
+ }), ot = ({ propName: e = "status" } = {}) => a({
590
601
  class: "absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full",
591
602
  onSet: [e, {
592
- [l.ONLINE]: d.ONLINE,
593
- [l.OFFLINE]: d.OFFLINE,
594
- [l.BUSY]: d.BUSY,
595
- [l.AWAY]: d.AWAY
603
+ [l.ONLINE]: u.ONLINE,
604
+ [l.OFFLINE]: u.OFFLINE,
605
+ [l.BUSY]: u.BUSY,
606
+ [l.AWAY]: u.AWAY
596
607
  }]
597
- }), it = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => Y([
608
+ }), it = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => B([
598
609
  new E({
599
610
  dateTime: e,
600
611
  filter: s || ((o) => {
@@ -629,7 +640,7 @@ const d = {
629
640
  iconColor: "text-muted-foreground"
630
641
  }
631
642
  };
632
- class J extends c {
643
+ class J extends d {
633
644
  /**
634
645
  * This will declare the props for the compiler.
635
646
  *
@@ -644,12 +655,12 @@ class J extends c {
644
655
  * @returns {object}
645
656
  */
646
657
  render() {
647
- const t = (p) => {
648
- p.target === this.panel && this.close();
649
- }, { borderColor: s, bgColor: o, iconColor: i } = f[this.type] || f.default, n = `${this.getMainClass()} ${o} ${s}`, a = this.title || "Dialog Title";
658
+ const t = (h) => {
659
+ h.target === this.panel && this.close();
660
+ }, { borderColor: s, bgColor: o, iconColor: i } = f[this.type] || f.default, n = `${this.getMainClass()} ${o} ${s}`, r = this.title || "Dialog Title";
650
661
  return O({
651
662
  class: n,
652
- title: a,
663
+ title: r,
653
664
  click: t,
654
665
  icon: this.icon,
655
666
  iconColor: i,
@@ -664,7 +675,7 @@ class J extends c {
664
675
  */
665
676
  getButtons() {
666
677
  return this.hideFooter ? null : this.buttons ? this.buttons : [
667
- h({ variant: "outline", click: () => this.close() }, "Close")
678
+ c({ variant: "outline", click: () => this.close() }, "Close")
668
679
  ];
669
680
  }
670
681
  /**
@@ -719,8 +730,8 @@ class nt extends J {
719
730
  getButtons() {
720
731
  const t = this.confirmTextLabel || "Confirm";
721
732
  return [
722
- h({ variant: "outline", click: () => this.close() }, "Cancel"),
723
- h({ variant: "primary", click: () => this.confirm() }, t)
733
+ c({ variant: "outline", click: () => this.close() }, "Cancel"),
734
+ c({ variant: "primary", click: () => this.confirm() }, t)
724
735
  ];
725
736
  }
726
737
  /**
@@ -737,7 +748,7 @@ export {
737
748
  X as D,
738
749
  W as M,
739
750
  et as N,
740
- d as S,
751
+ u as S,
741
752
  it as T,
742
753
  J as a,
743
754
  tt as b,
@@ -1325,7 +1325,7 @@ const gs = r((e, t) => o({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t))
1325
1325
  return o({
1326
1326
  popover: "manual",
1327
1327
  // @ts-ignore
1328
- class: `modal ${s ? "" : "m-auto top-0 right-0 bottom-0 left-0"} ${s ? "" : "h-full max-h-screen"} fixed z-20 grid w-full gap-2 lg:border bg-background text-foreground shadow-xl wrap-break-words p-0 overflow-y-auto ${e.class}`,
1328
+ class: `modal ${s ? "" : "m-auto top-0 right-0 bottom-0 left-0"} ${s ? "" : "h-full max-h-screen"} fixed z-20 grid w-full gap-2 lg:border bg-background text-foreground shadow-xl wrap-break-words p-0 overflow-y-auto overscroll-y-contain ${e.class}`,
1329
1329
  click: (l, i) => {
1330
1330
  l.target === i.panel && (l.preventDefault(), l.stopPropagation(), i.state.open = !1);
1331
1331
  }
package/dist/index.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { A as s, a as o, B as t, b as n, c as r, d as l, e as i, f as u, C as p, g as m, h as d, i as g, j as c, k as T, l as b, m as I, n as C, o as S, p as F, q as D, r as B, D as P, s as k, t as M, u as v, v as N, w as f, x, y as h, z as y, E as U, F as W, G as w, H as L, I as H, J as A, K as G, L as R, M as E, N as O, O as V, P as Z, Q as j, R as J, S as _, T as q, U as z, V as K, W as Q, X, Y, Z as $, _ as aa, $ as ea, a0 as sa, a1 as oa, a2 as ta, a3 as na, a4 as ra, a5 as la, a6 as ia, a7 as ua, a8 as pa, a9 as ma, aa as da, ab as ga, ac as ca, ad as Ta, ae as ba, af as Ia, ag as Ca, ah as Sa, ai as Fa, aj as Da, ak as Ba, al as Pa, am as ka, an as Ma, ao as va, ap as Na, aq as fa, ar as xa, as as ha, at as ya, au as Ua, av as Wa, aw as wa, ax as La, ay as Ha, az as Aa, aA as Ga, aB as Ra, aC as Ea, aD as Oa, aE as Va, aF as Za, aG as ja, aH as Ja, aI as _a, aJ as qa, aK as za, aL as Ka, aM as Qa, aN as Xa, aO as Ya, aP as $a, aQ as ae, aR as ee, aS as se, aT as oe, aU as te, aV as ne, aW as re, aX as le, aY as ie, aZ as ue, a_ as pe, a$ as me, b0 as de, b1 as ge, b2 as ce, b3 as Te, b4 as be, b5 as Ie, b6 as Ce, b7 as Se } from "./full-page-o3ZyRrhO.js";
1
+ import { A as s, a as o, B as t, b as n, c as r, d as l, e as i, f as u, C as p, g as m, h as d, i as g, j as c, k as T, l as b, m as I, n as C, o as S, p as F, q as D, r as B, D as P, s as k, t as M, u as v, v as N, w as f, x, y as h, z as y, E as U, F as W, G as w, H as L, I as H, J as A, K as G, L as R, M as E, N as O, O as V, P as Z, Q as j, R as J, S as _, T as q, U as z, V as K, W as Q, X, Y, Z as $, _ as aa, $ as ea, a0 as sa, a1 as oa, a2 as ta, a3 as na, a4 as ra, a5 as la, a6 as ia, a7 as ua, a8 as pa, a9 as ma, aa as da, ab as ga, ac as ca, ad as Ta, ae as ba, af as Ia, ag as Ca, ah as Sa, ai as Fa, aj as Da, ak as Ba, al as Pa, am as ka, an as Ma, ao as va, ap as Na, aq as fa, ar as xa, as as ha, at as ya, au as Ua, av as Wa, aw as wa, ax as La, ay as Ha, az as Aa, aA as Ga, aB as Ra, aC as Ea, aD as Oa, aE as Va, aF as Za, aG as ja, aH as Ja, aI as _a, aJ as qa, aK as za, aL as Ka, aM as Qa, aN as Xa, aO as Ya, aP as $a, aQ as ae, aR as ee, aS as se, aT as oe, aU as te, aV as ne, aW as re, aX as le, aY as ie, aZ as ue, a_ as pe, a$ as me, b0 as de, b1 as ge, b2 as ce, b3 as Te, b4 as be, b5 as Ie, b6 as Ce, b7 as Se } from "./full-page-CK6LzEZb.js";
2
2
  import { S as De } from "./skeleton-BlY3opxG.js";
3
3
  import { Icons as Pe, MaterialSymbols as ke } from "./icons.es.js";
4
- import { C as ve, D as Ne, a as fe, b as xe, c as he, d as ye, e as Ue, M as We, N as we, S as Le, f as He, g as Ae, h as Ge, T as Re, i as Ee } from "./confirmation-BkeG4ikb.js";
5
- import { B as Ve, I as Ze, N as je, P as Je, S as _e, T as qe, a as ze, b as Ke, U as Qe, c as Xe, d as Ye, e as $e, W as as, f as es, g as ss, h as os, i as ts, j as ns, k as rs, l as ls, m as is, n as us } from "./signature-panel-CgtSgfCe.js";
6
- import { S as ms } from "./sidebar-menu-mYgytpVA.js";
7
- import { B as gs, C as cs, F as Ts, a as bs, S as Is } from "./sidebar-menu-page-DXi2h9YO.js";
4
+ import { C as ve, D as Ne, a as fe, b as xe, c as he, d as ye, e as Ue, M as We, N as we, S as Le, f as He, g as Ae, h as Ge, T as Re, i as Ee } from "./confirmation-GM9SKZ4M.js";
5
+ import { B as Ve, I as Ze, N as je, P as Je, S as _e, T as qe, a as ze, b as Ke, U as Qe, c as Xe, d as Ye, e as $e, W as as, f as es, g as ss, h as os, i as ts, j as ns, k as rs, l as ls, m as is, n as us } from "./signature-panel-XwOpYpL-.js";
6
+ import { S as ms } from "./sidebar-menu-744aq_WF.js";
7
+ import { B as gs, C as cs, F as Ts, a as bs, S as Is } from "./sidebar-menu-page-q7ZO-I2t.js";
8
8
  import { A as Ss, B as Fs, F as Ds, M as Bs, T as Ps, a as ks } from "./bside-template-C7AQgQ6H.js";
9
9
  import { F as vs, c as Ns } from "./format-DE4rFWuD.js";
10
10
  import { I as xs } from "./image-scaler-1G-JzJVG.js";
@@ -1,5 +1,5 @@
1
- import { A as s, a as t, e, o as r, p as i, q as n, r as m, u as l, v as d, z as C, E as p, F as D, H as S, K as u, V as c, W as g, X as F, Y as T, Z as f, _ as b, $ as w, a1 as A, a2 as I, a3 as M, aa as P, af as y, aj as B, at as R, ay as U, az as k, aM as v, aR as x, aT as E, aV as L, b4 as N } from "./full-page-o3ZyRrhO.js";
2
- import { C as z, D as V, a as _, b as j, c as q, d as G, e as H, M as K, N as O, S as W, f as X, g as Y, h as Z, T as $, i as J } from "./confirmation-BkeG4ikb.js";
1
+ import { A as s, a as t, e, o as r, p as i, q as n, r as m, u as l, v as d, z as C, E as p, F as D, H as S, K as u, V as c, W as g, X as F, Y as T, Z as f, _ as b, $ as w, a1 as A, a2 as I, a3 as M, aa as P, af as y, aj as B, at as R, ay as U, az as k, aM as v, aR as x, aT as E, aV as L, b4 as N } from "./full-page-CK6LzEZb.js";
2
+ import { C as z, D as V, a as _, b as j, c as q, d as G, e as H, M as K, N as O, S as W, f as X, g as Y, h as Z, T as $, i as J } from "./confirmation-GM9SKZ4M.js";
3
3
  export {
4
4
  s as Alert,
5
5
  t as Avatar,
@@ -1,6 +1,6 @@
1
- import { B as s, b as n, C as t, g as r, j as o, D as l, s as i, x as d, y as b, G as u, I as g, a4 as p, a6 as v, ab as D, ag as N, ak as T, al as k, am as C, ao as c, ap as m, aq as y, ar as B, as as S, av as h, aA as M, aD as W, aH as I, aI as U, aJ as H, aL as x, aN as P, aO as L, aU as f, a_ as G, a$ as O, b3 as j, b7 as F } from "./full-page-o3ZyRrhO.js";
2
- import { B as w, I as A, N as J, P as R, S as _, T as $, a as z, b as E, U as K, c as Q, d as V, e as X, W as Y, f as Z, g as aa, h as ea, i as sa, j as na, k as ta, l as ra, m as oa, n as la } from "./signature-panel-CgtSgfCe.js";
3
- import { S as da } from "./sidebar-menu-mYgytpVA.js";
1
+ import { B as s, b as n, C as t, g as r, j as o, D as l, s as i, x as d, y as b, G as u, I as g, a4 as p, a6 as v, ab as D, ag as N, ak as T, al as k, am as C, ao as c, ap as m, aq as y, ar as B, as as S, av as h, aA as M, aD as W, aH as I, aI as U, aJ as H, aL as x, aN as P, aO as L, aU as f, a_ as G, a$ as O, b3 as j, b7 as F } from "./full-page-CK6LzEZb.js";
2
+ import { B as w, I as A, N as J, P as R, S as _, T as $, a as z, b as E, U as K, c as Q, d as V, e as X, W as Y, f as Z, g as aa, h as ea, i as sa, j as na, k as ta, l as ra, m as oa, n as la } from "./signature-panel-XwOpYpL-.js";
3
+ import { S as da } from "./sidebar-menu-744aq_WF.js";
4
4
  export {
5
5
  s as BackButton,
6
6
  n as Backdrop,
package/dist/pages.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as s, a5 as g, ah as n, aw as P } from "./full-page-o3ZyRrhO.js";
2
- import { B as r, C as o, F as i, a as t, S as u } from "./sidebar-menu-page-DXi2h9YO.js";
1
+ import { d as s, a5 as g, ah as n, aw as P } from "./full-page-CK6LzEZb.js";
2
+ import { B as r, C as o, F as i, a as t, S as u } from "./sidebar-menu-page-q7ZO-I2t.js";
3
3
  export {
4
4
  s as BasicPage,
5
5
  r as BlankPage,
@@ -1,5 +1,5 @@
1
1
  import { Div as r, Header as x, H1 as c } from "@base-framework/atoms";
2
- import { ab as n } from "./full-page-o3ZyRrhO.js";
2
+ import { ab as n } from "./full-page-CK6LzEZb.js";
3
3
  const b = ({ title: l, options: a, class: s = "", mobileBorder: t = !1, sticky: e = !1, topNav: o = null, bottomNav: p = null }) => r({ class: `pb-12 p-4 pt-0 lg:p-6 lg:border-r w-full lg:max-w-[300px] flex-auto flex-col ${s}` }, [
4
4
  o,
5
5
  l && x({ class: "pb-4 md:pb-2 px-6 flex" }, [
@@ -1,7 +1,7 @@
1
1
  import { Div as s } from "@base-framework/atoms";
2
- import { d as a, ah as i, aw as r, al as n } from "./full-page-o3ZyRrhO.js";
2
+ import { d as a, ah as i, aw as r, al as n } from "./full-page-CK6LzEZb.js";
3
3
  import { F as l, A as d } from "./bside-template-C7AQgQ6H.js";
4
- import { S as c } from "./sidebar-menu-mYgytpVA.js";
4
+ import { S as c } from "./sidebar-menu-744aq_WF.js";
5
5
  class f extends a {
6
6
  /**
7
7
  * This will render the page.
@@ -1,6 +1,6 @@
1
1
  import { Div as r, Button as v, On as j, Span as T, Nav as f, Ul as p, Section as y, Li as w, Canvas as z } from "@base-framework/atoms";
2
2
  import { Component as k, Data as I, DateTime as U, router as b, NavLink as S, base as L, Dom as B } from "@base-framework/base";
3
- import { f as C, av as A, b0 as u, a7 as F } from "./full-page-o3ZyRrhO.js";
3
+ import { f as C, av as A, b0 as u, a7 as F } from "./full-page-CK6LzEZb.js";
4
4
  import { Icons as D } from "./icons.es.js";
5
5
  import { IntervalTimer as O } from "@base-framework/organisms";
6
6
  class Lt extends k {
@@ -51,6 +51,13 @@ export class DrawerGesture {
51
51
  currentY: number;
52
52
  startScrollTop: number;
53
53
  canDrag: boolean;
54
+ /**
55
+ * True if the body has scrolled during this gesture.
56
+ * Prevents drag from starting mid-gesture on iOS when rubber-band
57
+ * overscroll briefly resets scrollTop to 0 at the bottom boundary.
58
+ * @type {boolean}
59
+ */
60
+ hasScrolled: boolean;
54
61
  };
55
62
  /**
56
63
  * Checks if the viewport is mobile size
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.2.34",
3
+ "version": "1.2.36",
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": {