@stackloop/ui 2.0.7 → 2.1.0

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.js CHANGED
@@ -1,18 +1,18 @@
1
- import { jsxs as d, jsx as r, Fragment as me } from "react/jsx-runtime";
2
- import Le, { forwardRef as ae, useState as D, useRef as H, useEffect as Z, createContext as er, useCallback as ze, useContext as rr } from "react";
1
+ import { jsxs as d, jsx as r, Fragment as ae } from "react/jsx-runtime";
2
+ import Le, { forwardRef as se, useState as D, useRef as H, useEffect as Z, createContext as er, useCallback as ze, useContext as rr } from "react";
3
3
  import { motion as g, AnimatePresence as Q } from "framer-motion";
4
4
  import { Loader2 as tr, EyeOff as or, Eye as ar, Check as Oe, X as $, ChevronDown as Ee, Search as Fe, Calendar as sr, ChevronLeft as Pe, ChevronRight as Ge, ArrowUp as nr, ArrowDown as ir, ChevronsUpDown as lr, Plus as cr, WifiOff as ge, Wifi as Te, Info as dr, AlertTriangle as mr, AlertCircle as ur, CheckCircle as pr, Camera as br, Upload as hr, Play as fr, Pause as gr, Mic as yr, Square as xr, Trash2 as wr, Image as vr, FileText as Me } from "lucide-react";
5
- function Ue(e) {
5
+ function Be(e) {
6
6
  var t, a, o = "";
7
7
  if (typeof e == "string" || typeof e == "number") o += e;
8
8
  else if (typeof e == "object") if (Array.isArray(e)) {
9
9
  var n = e.length;
10
- for (t = 0; t < n; t++) e[t] && (a = Ue(e[t])) && (o && (o += " "), o += a);
10
+ for (t = 0; t < n; t++) e[t] && (a = Be(e[t])) && (o && (o += " "), o += a);
11
11
  } else for (a in e) e[a] && (o && (o += " "), o += a);
12
12
  return o;
13
13
  }
14
14
  function Nr() {
15
- for (var e, t, a = 0, o = "", n = arguments.length; a < n; a++) (e = arguments[a]) && (t = Ue(e)) && (o && (o += " "), o += t);
15
+ for (var e, t, a = 0, o = "", n = arguments.length; a < n; a++) (e = arguments[a]) && (t = Be(e)) && (o && (o += " "), o += t);
16
16
  return o;
17
17
  }
18
18
  const kr = (e, t) => {
@@ -25,7 +25,7 @@ const kr = (e, t) => {
25
25
  }, Cr = (e, t) => ({
26
26
  classGroupId: e,
27
27
  validator: t
28
- }), Be = (e = /* @__PURE__ */ new Map(), t = null, a) => ({
28
+ }), Ue = (e = /* @__PURE__ */ new Map(), t = null, a) => ({
29
29
  nextPart: e,
30
30
  validators: t,
31
31
  classGroupId: a
@@ -76,7 +76,7 @@ const kr = (e, t) => {
76
76
  } = e;
77
77
  return Rr(a, t);
78
78
  }, Rr = (e, t) => {
79
- const a = Be();
79
+ const a = Ue();
80
80
  for (const o in e) {
81
81
  const n = e[o];
82
82
  we(n, a, o, t);
@@ -99,7 +99,7 @@ const kr = (e, t) => {
99
99
  }
100
100
  Dr(e, t, a, o);
101
101
  }, Ir = (e, t, a) => {
102
- const o = e === "" ? t : Ve(t, e);
102
+ const o = e === "" ? t : _e(t, e);
103
103
  o.classGroupId = a;
104
104
  }, jr = (e, t, a, o) => {
105
105
  if (Lr(e)) {
@@ -111,15 +111,15 @@ const kr = (e, t) => {
111
111
  const n = Object.entries(e), l = n.length;
112
112
  for (let s = 0; s < l; s++) {
113
113
  const [c, i] = n[s];
114
- we(i, Ve(t, c), a, o);
114
+ we(i, _e(t, c), a, o);
115
115
  }
116
- }, Ve = (e, t) => {
116
+ }, _e = (e, t) => {
117
117
  let a = e;
118
118
  const o = t.split(ue), n = o.length;
119
119
  for (let l = 0; l < n; l++) {
120
120
  const s = o[l];
121
121
  let c = a.nextPart.get(s);
122
- c || (c = Be(), a.nextPart.set(s, c)), a = c;
122
+ c || (c = Ue(), a.nextPart.set(s, c)), a = c;
123
123
  }
124
124
  return a;
125
125
  }, Lr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Or = (e) => {
@@ -217,13 +217,13 @@ const kr = (e, t) => {
217
217
  parseClassName: Fr(e),
218
218
  sortModifiers: Pr(e),
219
219
  ...zr(e)
220
- }), Ur = /\s+/, Br = (e, t) => {
220
+ }), Br = /\s+/, Ur = (e, t) => {
221
221
  const {
222
222
  parseClassName: a,
223
223
  getClassGroupId: o,
224
224
  getConflictingClassGroupIds: n,
225
225
  sortModifiers: l
226
- } = t, s = [], c = e.trim().split(Ur);
226
+ } = t, s = [], c = e.trim().split(Br);
227
227
  let i = "";
228
228
  for (let m = c.length - 1; m >= 0; m -= 1) {
229
229
  const x = c[m], {
@@ -264,16 +264,16 @@ const kr = (e, t) => {
264
264
  }, $r = (...e) => {
265
265
  let t = 0, a, o, n = "";
266
266
  for (; t < e.length; )
267
- (a = e[t++]) && (o = _e(a)) && (n && (n += " "), n += o);
267
+ (a = e[t++]) && (o = Ve(a)) && (n && (n += " "), n += o);
268
268
  return n;
269
- }, _e = (e) => {
269
+ }, Ve = (e) => {
270
270
  if (typeof e == "string")
271
271
  return e;
272
272
  let t, a = "";
273
273
  for (let o = 0; o < e.length; o++)
274
- e[o] && (t = _e(e[o])) && (a && (a += " "), a += t);
274
+ e[o] && (t = Ve(e[o])) && (a && (a += " "), a += t);
275
275
  return a;
276
- }, Vr = (e, ...t) => {
276
+ }, _r = (e, ...t) => {
277
277
  let a, o, n, l;
278
278
  const s = (i) => {
279
279
  const m = t.reduce((x, y) => y(x), e());
@@ -282,19 +282,19 @@ const kr = (e, t) => {
282
282
  const m = o(i);
283
283
  if (m)
284
284
  return m;
285
- const x = Br(i, a);
285
+ const x = Ur(i, a);
286
286
  return n(i, x), x;
287
287
  };
288
288
  return l = s, (...i) => l($r(...i));
289
- }, _r = [], R = (e) => {
290
- const t = (a) => a[e] || _r;
289
+ }, Vr = [], R = (e) => {
290
+ const t = (a) => a[e] || Vr;
291
291
  return t.isThemeGetter = !0, t;
292
292
  }, We = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wr = /^\d+\/\d+$/, Yr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, qr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Jr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = (e) => Wr.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && z(e.slice(0, -1)), Y = (e) => Yr.test(e), Kr = () => !0, Xr = (e) => (
293
293
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
294
294
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
295
295
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
296
296
  Hr.test(e) && !qr.test(e)
297
- ), He = () => !1, Zr = (e) => Jr.test(e), et = (e) => Qr.test(e), rt = (e) => !p(e) && !b(e), tt = (e) => ee(e, Qe, He), p = (e) => We.test(e), K = (e) => ee(e, Ke, Xr), fe = (e) => ee(e, it, z), je = (e) => ee(e, qe, He), ot = (e) => ee(e, Je, et), ce = (e) => ee(e, Xe, Zr), b = (e) => Ye.test(e), oe = (e) => re(e, Ke), at = (e) => re(e, lt), De = (e) => re(e, qe), st = (e) => re(e, Qe), nt = (e) => re(e, Je), de = (e) => re(e, Xe, !0), ee = (e, t, a) => {
297
+ ), He = () => !1, Zr = (e) => Jr.test(e), et = (e) => Qr.test(e), rt = (e) => !p(e) && !b(e), tt = (e) => ee(e, Qe, He), p = (e) => We.test(e), K = (e) => ee(e, Ke, Xr), fe = (e) => ee(e, it, z), je = (e) => ee(e, qe, He), ot = (e) => ee(e, Je, et), de = (e) => ee(e, Xe, Zr), b = (e) => Ye.test(e), oe = (e) => re(e, Ke), at = (e) => re(e, lt), De = (e) => re(e, qe), st = (e) => re(e, Qe), nt = (e) => re(e, Je), me = (e) => re(e, Xe, !0), ee = (e, t, a) => {
298
298
  const o = We.exec(e);
299
299
  return o ? o[1] ? t(o[1]) : a(o[2]) : !1;
300
300
  }, re = (e, t, a = !1) => {
@@ -319,9 +319,9 @@ const kr = (e, t) => {
319
319
  "bottom-left",
320
320
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
321
321
  "left-bottom"
322
- ], P = () => [...F(), b, p], S = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", "contain", "none"], f = () => [b, p, i], C = () => [X, "full", "auto", ...f()], A = () => [J, "none", "subgrid", b, p], V = () => ["auto", {
322
+ ], P = () => [...F(), b, p], S = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", "contain", "none"], f = () => [b, p, i], C = () => [X, "full", "auto", ...f()], A = () => [J, "none", "subgrid", b, p], _ = () => ["auto", {
323
323
  span: ["full", J, b, p]
324
- }, J, b, p], _ = () => [J, "auto", b, p], W = () => ["auto", "min", "max", "fr", b, p], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], U = () => ["auto", ...f()], G = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], v = () => [e, b, p], ve = () => [...F(), De, je, {
324
+ }, J, b, p], V = () => [J, "auto", b, p], W = () => ["auto", "min", "max", "fr", b, p], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...f()], G = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], v = () => [e, b, p], ve = () => [...F(), De, je, {
325
325
  position: [b, p]
326
326
  }], Ne = () => ["no-repeat", {
327
327
  repeat: ["", "x", "y", "space", "round"]
@@ -335,14 +335,14 @@ const kr = (e, t) => {
335
335
  m,
336
336
  b,
337
337
  p
338
- ], B = () => ["", z, oe, K], se = () => ["solid", "dashed", "dotted", "double"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [z, he, De, je], Se = () => [
338
+ ], U = () => ["", z, oe, K], ne = () => ["solid", "dashed", "dotted", "double"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [z, he, De, je], Se = () => [
339
339
  // Deprecated since Tailwind CSS v4.0.0
340
340
  "",
341
341
  "none",
342
342
  k,
343
343
  b,
344
344
  p
345
- ], ne = () => ["none", z, b, p], ie = () => ["none", z, b, p], be = () => [z, b, p], le = () => [X, "full", ...f()];
345
+ ], ie = () => ["none", z, b, p], le = () => ["none", z, b, p], be = () => [z, b, p], ce = () => [X, "full", ...f()];
346
346
  return {
347
347
  cacheSize: 500,
348
348
  theme: {
@@ -654,21 +654,21 @@ const kr = (e, t) => {
654
654
  * @see https://tailwindcss.com/docs/grid-column
655
655
  */
656
656
  "col-start-end": [{
657
- col: V()
657
+ col: _()
658
658
  }],
659
659
  /**
660
660
  * Grid Column Start
661
661
  * @see https://tailwindcss.com/docs/grid-column
662
662
  */
663
663
  "col-start": [{
664
- "col-start": _()
664
+ "col-start": V()
665
665
  }],
666
666
  /**
667
667
  * Grid Column End
668
668
  * @see https://tailwindcss.com/docs/grid-column
669
669
  */
670
670
  "col-end": [{
671
- "col-end": _()
671
+ "col-end": V()
672
672
  }],
673
673
  /**
674
674
  * Grid Template Rows
@@ -682,21 +682,21 @@ const kr = (e, t) => {
682
682
  * @see https://tailwindcss.com/docs/grid-row
683
683
  */
684
684
  "row-start-end": [{
685
- row: V()
685
+ row: _()
686
686
  }],
687
687
  /**
688
688
  * Grid Row Start
689
689
  * @see https://tailwindcss.com/docs/grid-row
690
690
  */
691
691
  "row-start": [{
692
- "row-start": _()
692
+ "row-start": V()
693
693
  }],
694
694
  /**
695
695
  * Grid Row End
696
696
  * @see https://tailwindcss.com/docs/grid-row
697
697
  */
698
698
  "row-end": [{
699
- "row-end": _()
699
+ "row-end": V()
700
700
  }],
701
701
  /**
702
702
  * Grid Auto Flow
@@ -876,63 +876,63 @@ const kr = (e, t) => {
876
876
  * @see https://tailwindcss.com/docs/margin
877
877
  */
878
878
  m: [{
879
- m: U()
879
+ m: B()
880
880
  }],
881
881
  /**
882
882
  * Margin X
883
883
  * @see https://tailwindcss.com/docs/margin
884
884
  */
885
885
  mx: [{
886
- mx: U()
886
+ mx: B()
887
887
  }],
888
888
  /**
889
889
  * Margin Y
890
890
  * @see https://tailwindcss.com/docs/margin
891
891
  */
892
892
  my: [{
893
- my: U()
893
+ my: B()
894
894
  }],
895
895
  /**
896
896
  * Margin Start
897
897
  * @see https://tailwindcss.com/docs/margin
898
898
  */
899
899
  ms: [{
900
- ms: U()
900
+ ms: B()
901
901
  }],
902
902
  /**
903
903
  * Margin End
904
904
  * @see https://tailwindcss.com/docs/margin
905
905
  */
906
906
  me: [{
907
- me: U()
907
+ me: B()
908
908
  }],
909
909
  /**
910
910
  * Margin Top
911
911
  * @see https://tailwindcss.com/docs/margin
912
912
  */
913
913
  mt: [{
914
- mt: U()
914
+ mt: B()
915
915
  }],
916
916
  /**
917
917
  * Margin Right
918
918
  * @see https://tailwindcss.com/docs/margin
919
919
  */
920
920
  mr: [{
921
- mr: U()
921
+ mr: B()
922
922
  }],
923
923
  /**
924
924
  * Margin Bottom
925
925
  * @see https://tailwindcss.com/docs/margin
926
926
  */
927
927
  mb: [{
928
- mb: U()
928
+ mb: B()
929
929
  }],
930
930
  /**
931
931
  * Margin Left
932
932
  * @see https://tailwindcss.com/docs/margin
933
933
  */
934
934
  ml: [{
935
- ml: U()
935
+ ml: B()
936
936
  }],
937
937
  /**
938
938
  * Space Between X
@@ -1176,7 +1176,7 @@ const kr = (e, t) => {
1176
1176
  * @see https://tailwindcss.com/docs/text-decoration-style
1177
1177
  */
1178
1178
  "text-decoration-style": [{
1179
- decoration: [...se(), "wavy"]
1179
+ decoration: [...ne(), "wavy"]
1180
1180
  }],
1181
1181
  /**
1182
1182
  * Text Decoration Thickness
@@ -1485,70 +1485,70 @@ const kr = (e, t) => {
1485
1485
  * @see https://tailwindcss.com/docs/border-width
1486
1486
  */
1487
1487
  "border-w": [{
1488
- border: B()
1488
+ border: U()
1489
1489
  }],
1490
1490
  /**
1491
1491
  * Border Width X
1492
1492
  * @see https://tailwindcss.com/docs/border-width
1493
1493
  */
1494
1494
  "border-w-x": [{
1495
- "border-x": B()
1495
+ "border-x": U()
1496
1496
  }],
1497
1497
  /**
1498
1498
  * Border Width Y
1499
1499
  * @see https://tailwindcss.com/docs/border-width
1500
1500
  */
1501
1501
  "border-w-y": [{
1502
- "border-y": B()
1502
+ "border-y": U()
1503
1503
  }],
1504
1504
  /**
1505
1505
  * Border Width Start
1506
1506
  * @see https://tailwindcss.com/docs/border-width
1507
1507
  */
1508
1508
  "border-w-s": [{
1509
- "border-s": B()
1509
+ "border-s": U()
1510
1510
  }],
1511
1511
  /**
1512
1512
  * Border Width End
1513
1513
  * @see https://tailwindcss.com/docs/border-width
1514
1514
  */
1515
1515
  "border-w-e": [{
1516
- "border-e": B()
1516
+ "border-e": U()
1517
1517
  }],
1518
1518
  /**
1519
1519
  * Border Width Top
1520
1520
  * @see https://tailwindcss.com/docs/border-width
1521
1521
  */
1522
1522
  "border-w-t": [{
1523
- "border-t": B()
1523
+ "border-t": U()
1524
1524
  }],
1525
1525
  /**
1526
1526
  * Border Width Right
1527
1527
  * @see https://tailwindcss.com/docs/border-width
1528
1528
  */
1529
1529
  "border-w-r": [{
1530
- "border-r": B()
1530
+ "border-r": U()
1531
1531
  }],
1532
1532
  /**
1533
1533
  * Border Width Bottom
1534
1534
  * @see https://tailwindcss.com/docs/border-width
1535
1535
  */
1536
1536
  "border-w-b": [{
1537
- "border-b": B()
1537
+ "border-b": U()
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Border Width Left
1541
1541
  * @see https://tailwindcss.com/docs/border-width
1542
1542
  */
1543
1543
  "border-w-l": [{
1544
- "border-l": B()
1544
+ "border-l": U()
1545
1545
  }],
1546
1546
  /**
1547
1547
  * Divide Width X
1548
1548
  * @see https://tailwindcss.com/docs/border-width#between-children
1549
1549
  */
1550
1550
  "divide-x": [{
1551
- "divide-x": B()
1551
+ "divide-x": U()
1552
1552
  }],
1553
1553
  /**
1554
1554
  * Divide Width X Reverse
@@ -1560,7 +1560,7 @@ const kr = (e, t) => {
1560
1560
  * @see https://tailwindcss.com/docs/border-width#between-children
1561
1561
  */
1562
1562
  "divide-y": [{
1563
- "divide-y": B()
1563
+ "divide-y": U()
1564
1564
  }],
1565
1565
  /**
1566
1566
  * Divide Width Y Reverse
@@ -1572,14 +1572,14 @@ const kr = (e, t) => {
1572
1572
  * @see https://tailwindcss.com/docs/border-style
1573
1573
  */
1574
1574
  "border-style": [{
1575
- border: [...se(), "hidden", "none"]
1575
+ border: [...ne(), "hidden", "none"]
1576
1576
  }],
1577
1577
  /**
1578
1578
  * Divide Style
1579
1579
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1580
1580
  */
1581
1581
  "divide-style": [{
1582
- divide: [...se(), "hidden", "none"]
1582
+ divide: [...ne(), "hidden", "none"]
1583
1583
  }],
1584
1584
  /**
1585
1585
  * Border Color
@@ -1656,7 +1656,7 @@ const kr = (e, t) => {
1656
1656
  * @see https://tailwindcss.com/docs/outline-style
1657
1657
  */
1658
1658
  "outline-style": [{
1659
- outline: [...se(), "none", "hidden"]
1659
+ outline: [...ne(), "none", "hidden"]
1660
1660
  }],
1661
1661
  /**
1662
1662
  * Outline Offset
@@ -1692,8 +1692,8 @@ const kr = (e, t) => {
1692
1692
  "",
1693
1693
  "none",
1694
1694
  x,
1695
- de,
1696
- ce
1695
+ me,
1696
+ de
1697
1697
  ]
1698
1698
  }],
1699
1699
  /**
@@ -1708,7 +1708,7 @@ const kr = (e, t) => {
1708
1708
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1709
1709
  */
1710
1710
  "inset-shadow": [{
1711
- "inset-shadow": ["none", y, de, ce]
1711
+ "inset-shadow": ["none", y, me, de]
1712
1712
  }],
1713
1713
  /**
1714
1714
  * Inset Box Shadow Color
@@ -1722,7 +1722,7 @@ const kr = (e, t) => {
1722
1722
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1723
1723
  */
1724
1724
  "ring-w": [{
1725
- ring: B()
1725
+ ring: U()
1726
1726
  }],
1727
1727
  /**
1728
1728
  * Ring Width Inset
@@ -1761,7 +1761,7 @@ const kr = (e, t) => {
1761
1761
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1762
1762
  */
1763
1763
  "inset-ring-w": [{
1764
- "inset-ring": B()
1764
+ "inset-ring": U()
1765
1765
  }],
1766
1766
  /**
1767
1767
  * Inset Ring Color
@@ -1775,7 +1775,7 @@ const kr = (e, t) => {
1775
1775
  * @see https://tailwindcss.com/docs/text-shadow
1776
1776
  */
1777
1777
  "text-shadow": [{
1778
- "text-shadow": ["none", h, de, ce]
1778
+ "text-shadow": ["none", h, me, de]
1779
1779
  }],
1780
1780
  /**
1781
1781
  * Text Shadow Color
@@ -2048,8 +2048,8 @@ const kr = (e, t) => {
2048
2048
  "",
2049
2049
  "none",
2050
2050
  N,
2051
- de,
2052
- ce
2051
+ me,
2052
+ de
2053
2053
  ]
2054
2054
  }],
2055
2055
  /**
@@ -2289,56 +2289,56 @@ const kr = (e, t) => {
2289
2289
  * @see https://tailwindcss.com/docs/rotate
2290
2290
  */
2291
2291
  rotate: [{
2292
- rotate: ne()
2292
+ rotate: ie()
2293
2293
  }],
2294
2294
  /**
2295
2295
  * Rotate X
2296
2296
  * @see https://tailwindcss.com/docs/rotate
2297
2297
  */
2298
2298
  "rotate-x": [{
2299
- "rotate-x": ne()
2299
+ "rotate-x": ie()
2300
2300
  }],
2301
2301
  /**
2302
2302
  * Rotate Y
2303
2303
  * @see https://tailwindcss.com/docs/rotate
2304
2304
  */
2305
2305
  "rotate-y": [{
2306
- "rotate-y": ne()
2306
+ "rotate-y": ie()
2307
2307
  }],
2308
2308
  /**
2309
2309
  * Rotate Z
2310
2310
  * @see https://tailwindcss.com/docs/rotate
2311
2311
  */
2312
2312
  "rotate-z": [{
2313
- "rotate-z": ne()
2313
+ "rotate-z": ie()
2314
2314
  }],
2315
2315
  /**
2316
2316
  * Scale
2317
2317
  * @see https://tailwindcss.com/docs/scale
2318
2318
  */
2319
2319
  scale: [{
2320
- scale: ie()
2320
+ scale: le()
2321
2321
  }],
2322
2322
  /**
2323
2323
  * Scale X
2324
2324
  * @see https://tailwindcss.com/docs/scale
2325
2325
  */
2326
2326
  "scale-x": [{
2327
- "scale-x": ie()
2327
+ "scale-x": le()
2328
2328
  }],
2329
2329
  /**
2330
2330
  * Scale Y
2331
2331
  * @see https://tailwindcss.com/docs/scale
2332
2332
  */
2333
2333
  "scale-y": [{
2334
- "scale-y": ie()
2334
+ "scale-y": le()
2335
2335
  }],
2336
2336
  /**
2337
2337
  * Scale Z
2338
2338
  * @see https://tailwindcss.com/docs/scale
2339
2339
  */
2340
2340
  "scale-z": [{
2341
- "scale-z": ie()
2341
+ "scale-z": le()
2342
2342
  }],
2343
2343
  /**
2344
2344
  * Scale 3D
@@ -2392,28 +2392,28 @@ const kr = (e, t) => {
2392
2392
  * @see https://tailwindcss.com/docs/translate
2393
2393
  */
2394
2394
  translate: [{
2395
- translate: le()
2395
+ translate: ce()
2396
2396
  }],
2397
2397
  /**
2398
2398
  * Translate X
2399
2399
  * @see https://tailwindcss.com/docs/translate
2400
2400
  */
2401
2401
  "translate-x": [{
2402
- "translate-x": le()
2402
+ "translate-x": ce()
2403
2403
  }],
2404
2404
  /**
2405
2405
  * Translate Y
2406
2406
  * @see https://tailwindcss.com/docs/translate
2407
2407
  */
2408
2408
  "translate-y": [{
2409
- "translate-y": le()
2409
+ "translate-y": ce()
2410
2410
  }],
2411
2411
  /**
2412
2412
  * Translate Z
2413
2413
  * @see https://tailwindcss.com/docs/translate
2414
2414
  */
2415
2415
  "translate-z": [{
2416
- "translate-z": le()
2416
+ "translate-z": ce()
2417
2417
  }],
2418
2418
  /**
2419
2419
  * Translate None
@@ -2770,7 +2770,7 @@ const kr = (e, t) => {
2770
2770
  },
2771
2771
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2772
2772
  };
2773
- }, dt = /* @__PURE__ */ Vr(ct);
2773
+ }, dt = /* @__PURE__ */ _r(ct);
2774
2774
  function u(...e) {
2775
2775
  return dt(Nr(e));
2776
2776
  }
@@ -2804,7 +2804,7 @@ const xe = Le.forwardRef(
2804
2804
  }
2805
2805
  );
2806
2806
  xe.displayName = "Button";
2807
- const mt = ae(
2807
+ const mt = se(
2808
2808
  ({ label: e, error: t, hint: a, leftIcon: o, rightIcon: n, className: l, type: s, ...c }, i) => {
2809
2809
  const [m, x] = D(!1), y = s === "password", h = y && m ? "text" : s;
2810
2810
  return /* @__PURE__ */ d("div", { className: "w-full space-y-1.5", children: [
@@ -2874,7 +2874,7 @@ const mt = ae(
2874
2874
  }
2875
2875
  );
2876
2876
  mt.displayName = "Input";
2877
- const ut = ae(
2877
+ const ut = se(
2878
2878
  ({ label: e, error: t, helperText: a, className: o, required: n, ...l }, s) => /* @__PURE__ */ d(
2879
2879
  g.div,
2880
2880
  {
@@ -2919,7 +2919,7 @@ const ut = ae(
2919
2919
  )
2920
2920
  );
2921
2921
  ut.displayName = "Textarea";
2922
- const pt = ae(
2922
+ const pt = se(
2923
2923
  ({ label: e, description: t, className: a, checked: o, defaultChecked: n, onChange: l, ...s }, c) => {
2924
2924
  const [i, m] = D(n || !1), x = o !== void 0 ? o : i;
2925
2925
  return /* @__PURE__ */ d("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
@@ -3004,7 +3004,7 @@ const Rt = ({
3004
3004
  }
3005
3005
  )
3006
3006
  ] }, s.value);
3007
- }) }), bt = ae(
3007
+ }) }), bt = se(
3008
3008
  ({ label: e, description: t, className: a, checked: o, onChange: n, ...l }, s) => /* @__PURE__ */ d("label", { className: "flex items-center justify-between gap-4 cursor-pointer group", children: [
3009
3009
  (e || t) && /* @__PURE__ */ d("div", { className: "flex-1 space-y-0.5", children: [
3010
3010
  e && /* @__PURE__ */ r("div", { className: "text-base font-medium text-foreground", children: e }),
@@ -3334,7 +3334,7 @@ const At = ({
3334
3334
  }
3335
3335
  )
3336
3336
  ] });
3337
- }, ht = ae(
3337
+ }, ht = se(
3338
3338
  ({
3339
3339
  options: e,
3340
3340
  value: t,
@@ -3524,12 +3524,12 @@ const Dt = ({
3524
3524
  "November",
3525
3525
  "December"
3526
3526
  ], w = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], M = (C) => {
3527
- const A = C.getFullYear(), V = C.getMonth(), _ = new Date(A, V, 1), te = new Date(A, V + 1, 0).getDate(), q = _.getDay(), U = [];
3527
+ const A = C.getFullYear(), _ = C.getMonth(), V = new Date(A, _, 1), te = new Date(A, _ + 1, 0).getDate(), q = V.getDay(), B = [];
3528
3528
  for (let G = 0; G < q; G++)
3529
- U.push(null);
3529
+ B.push(null);
3530
3530
  for (let G = 1; G <= te; G++)
3531
- U.push(new Date(A, V, G));
3532
- return U;
3531
+ B.push(new Date(A, _, G));
3532
+ return B;
3533
3533
  }, j = () => {
3534
3534
  h(new Date(y.getFullYear(), y.getMonth() - 1, 1));
3535
3535
  }, L = () => {
@@ -3610,7 +3610,7 @@ const Dt = ({
3610
3610
  /* @__PURE__ */ r("div", { className: "grid grid-cols-7 gap-1", children: f.map((C, A) => {
3611
3611
  if (!C)
3612
3612
  return /* @__PURE__ */ r("div", { className: "aspect-square" }, `empty-${A}`);
3613
- const V = P(C, e || null), _ = S(C), W = F(C);
3613
+ const _ = P(C, e || null), V = S(C), W = F(C);
3614
3614
  return /* @__PURE__ */ r(
3615
3615
  g.button,
3616
3616
  {
@@ -3622,10 +3622,10 @@ const Dt = ({
3622
3622
  "aspect-square rounded-lg flex items-center justify-center",
3623
3623
  "text-sm font-medium transition-all duration-200",
3624
3624
  "hover:bg-secondary",
3625
- V && "bg-primary text-white hover:bg-primary-dark",
3626
- _ && !V && "border-2 border-primary text-primary",
3625
+ _ && "bg-primary text-white hover:bg-primary-dark",
3626
+ V && !_ && "border-2 border-primary text-primary",
3627
3627
  W && "text-border-dark cursor-not-allowed hover:bg-transparent",
3628
- !V && !_ && !W && "text-foreground"
3628
+ !_ && !V && !W && "text-foreground"
3629
3629
  ),
3630
3630
  children: C.getDate()
3631
3631
  },
@@ -3705,7 +3705,7 @@ const Dt = ({
3705
3705
  return e && (document.addEventListener("keydown", s), document.body.style.overflow = "hidden"), () => {
3706
3706
  document.removeEventListener("keydown", s), document.body.style.overflow = "unset";
3707
3707
  };
3708
- }, [e, t]), /* @__PURE__ */ r(Q, { children: e && /* @__PURE__ */ d(me, { children: [
3708
+ }, [e, t]), /* @__PURE__ */ r(Q, { children: e && /* @__PURE__ */ d(ae, { children: [
3709
3709
  /* @__PURE__ */ r(
3710
3710
  g.div,
3711
3711
  {
@@ -3747,7 +3747,7 @@ const Dt = ({
3747
3747
  ]
3748
3748
  }
3749
3749
  )
3750
- ] }) })), Ut = ({
3750
+ ] }) })), Bt = ({
3751
3751
  isOpen: e,
3752
3752
  onClose: t,
3753
3753
  children: a,
@@ -3810,13 +3810,13 @@ const Dt = ({
3810
3810
  )
3811
3811
  }
3812
3812
  ) });
3813
- }, Bt = ({
3813
+ }, Ut = ({
3814
3814
  children: e,
3815
3815
  className: t
3816
3816
  }) => /* @__PURE__ */ r("div", { className: u("px-6 py-4", t), children: e }), $t = ({
3817
3817
  children: e,
3818
3818
  className: t
3819
- }) => /* @__PURE__ */ r("div", { className: u("px-6 py-4 border-t border-border flex items-center justify-end gap-3 bg-background sticky bottom-0", t), children: e }), Vt = ({
3819
+ }) => /* @__PURE__ */ r("div", { className: u("px-6 py-4 border-t border-border flex items-center justify-end gap-3 bg-background sticky bottom-0", t), children: e }), _t = ({
3820
3820
  isOpen: e,
3821
3821
  onClose: t,
3822
3822
  title: a,
@@ -3825,7 +3825,7 @@ const Dt = ({
3825
3825
  className: l
3826
3826
  }) => (Z(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
3827
3827
  document.body.style.overflow = "unset";
3828
- }), [e]), /* @__PURE__ */ r(Q, { children: e && /* @__PURE__ */ d(me, { children: [
3828
+ }), [e]), /* @__PURE__ */ r(Q, { children: e && /* @__PURE__ */ d(ae, { children: [
3829
3829
  /* @__PURE__ */ r(
3830
3830
  g.div,
3831
3831
  {
@@ -3867,7 +3867,7 @@ const Dt = ({
3867
3867
  }
3868
3868
  )
3869
3869
  ] }) }));
3870
- function _t({
3870
+ function Vt({
3871
3871
  data: e,
3872
3872
  columns: t,
3873
3873
  loading: a = !1,
@@ -3982,7 +3982,7 @@ const Wt = ({
3982
3982
  }
3983
3983
  ),
3984
3984
  /* @__PURE__ */ d("div", { className: "flex items-center gap-1", children: [
3985
- e > 3 && /* @__PURE__ */ d(me, { children: [
3985
+ e > 3 && /* @__PURE__ */ d(ae, { children: [
3986
3986
  /* @__PURE__ */ r(
3987
3987
  g.button,
3988
3988
  {
@@ -4009,7 +4009,7 @@ const Wt = ({
4009
4009
  },
4010
4010
  i
4011
4011
  )),
4012
- e < t - 2 && /* @__PURE__ */ d(me, { children: [
4012
+ e < t - 2 && /* @__PURE__ */ d(ae, { children: [
4013
4013
  /* @__PURE__ */ r("span", { className: "text-primary/50 px-1", children: "..." }),
4014
4014
  /* @__PURE__ */ r(
4015
4015
  g.button,
@@ -4756,11 +4756,43 @@ const Xt = ({
4756
4756
  },
4757
4757
  i.id
4758
4758
  )) }) });
4759
+ }, to = ({
4760
+ text: e = "Built by StackLoop",
4761
+ showHeart: t = !0,
4762
+ href: a,
4763
+ position: o = "fixed",
4764
+ backgroundColor: n = "bg-gray-900",
4765
+ textColor: l = "text-gray-400",
4766
+ className: s = ""
4767
+ }) => {
4768
+ const c = t ? /* @__PURE__ */ d(ae, { children: [
4769
+ "Built with ",
4770
+ /* @__PURE__ */ r("span", { className: "text-red-500 mx-1", children: "❤️" }),
4771
+ " by ",
4772
+ e.replace(/^Built by /, "")
4773
+ ] }) : e, i = a ? /* @__PURE__ */ r(
4774
+ "a",
4775
+ {
4776
+ href: a,
4777
+ target: "_blank",
4778
+ rel: "noopener noreferrer",
4779
+ className: `${l} hover:text-white transition-colors duration-200 text-sm`,
4780
+ children: c
4781
+ }
4782
+ ) : /* @__PURE__ */ r("span", { className: `${l} text-sm`, children: c });
4783
+ return /* @__PURE__ */ r(
4784
+ "div",
4785
+ {
4786
+ className: `${o} bottom-0 left-0 right-0 ${n} ${s}`,
4787
+ style: { zIndex: 40 },
4788
+ children: /* @__PURE__ */ r("div", { className: "flex items-center justify-center py-2 px-4", children: i })
4789
+ }
4790
+ );
4759
4791
  };
4760
4792
  export {
4761
4793
  eo as AudioRecorder,
4762
4794
  qt as Badge,
4763
- Vt as BottomSheet,
4795
+ _t as BottomSheet,
4764
4796
  xe as Button,
4765
4797
  Xt as CameraCapture,
4766
4798
  Lt as Card,
@@ -4769,6 +4801,7 @@ export {
4769
4801
  Ot as CardHeader,
4770
4802
  Et as CardTitle,
4771
4803
  pt as Checkbox,
4804
+ to as CreditBar,
4772
4805
  Dt as DatePicker,
4773
4806
  Gt as Drawer,
4774
4807
  jt as Dropdown,
@@ -4777,8 +4810,8 @@ export {
4777
4810
  Zt as FileUploader,
4778
4811
  ft as FloatingActionButton,
4779
4812
  mt as Input,
4780
- Ut as Modal,
4781
- Bt as ModalContent,
4813
+ Bt as Modal,
4814
+ Ut as ModalContent,
4782
4815
  $t as ModalFooter,
4783
4816
  Jt as OfflineBadge,
4784
4817
  Wt as Pagination,
@@ -4788,7 +4821,7 @@ export {
4788
4821
  xt as Spinner,
4789
4822
  Ht as StepProgress,
4790
4823
  Qt as SyncIndicator,
4791
- _t as Table,
4824
+ Vt as Table,
4792
4825
  ut as Textarea,
4793
4826
  ro as ThumbnailGrid,
4794
4827
  Ct as ToastProvider,