@lax-wp/design-system 0.5.2 → 0.5.4

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.
@@ -6,8 +6,8 @@ type ClassValue = string | number | boolean | undefined | null | ClassValue[];
6
6
  export interface LogoLoaderProps {
7
7
  /** Additional CSS classes for the wrapper */
8
8
  classValue?: ClassValue;
9
- /** Whether dark mode is enabled */
10
- isDarkMode: boolean;
9
+ /** Whether dark mode is enabled. If not provided, checks if document has "dark" class */
10
+ isDarkMode?: boolean;
11
11
  }
12
12
  /**
13
13
  * LogoLoader displays an animated LAX logo with a loading bar
@@ -16,6 +16,7 @@ export interface LogoLoaderProps {
16
16
  * ```tsx
17
17
  * <LogoLoader isDarkMode={false} />
18
18
  * <LogoLoader isDarkMode={true} classValue="h-screen" />
19
+ * <LogoLoader /> // Auto-detects dark mode from document "dark" class
19
20
  * ```
20
21
  */
21
22
  export declare const LogoLoader: FC<LogoLoaderProps>;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { type FC } from 'react';
2
2
  export type UserAvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
3
  export type UserDetailsTeam = {
4
4
  id?: string;
package/dist/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, jsxs as p, Fragment as Ce } from "react/jsx-runtime";
2
- import { AnimatePresence as Ue, motion as Me } from "framer-motion";
2
+ import { AnimatePresence as Ue, motion as Le } from "framer-motion";
3
3
  import ve, { forwardRef as xe, useRef as ce, useState as U, useEffect as te, useMemo as de, createElement as q1, useCallback as pe, createContext as Q1, useContext as ur, useLayoutEffect as ua, useImperativeHandle as fa, Suspense as pa, Fragment as ha, memo as en } from "react";
4
4
  import { useTranslation as De } from "react-i18next";
5
- import { Tooltip as Ne, Select as ma, Skeleton as $r, Checkbox as tn, Dropdown as vt, DatePicker as Hr, Modal as ba, Upload as rn, Popover as ga, Drawer as Ca } from "antd";
5
+ import { Tooltip as Me, Select as ma, Skeleton as $r, Checkbox as tn, Dropdown as vt, DatePicker as Hr, Modal as ba, Upload as rn, Popover as ga, Drawer as Ca } from "antd";
6
6
  import * as fr from "@mui/icons-material";
7
7
  import { BoltOutlined as Ke, NoteAddOutlined as nt, CloseRounded as Ur, TableChartRounded as nn, ChevronLeftRounded as xa, ChevronRightRounded as va, OpenInFull as ya, DescriptionRounded as wa, ArrowUpwardRounded as ka, ArrowDownwardRounded as Na, Timer as La, DoDisturbRounded as Ma, Pending as Ea, PlayArrowRounded as Sa, RemoveCircleOutline as Da, ChevronLeft as Fa, Lock as Aa, Close as $a, GroupsOutlined as Ha, VpnKeyOffOutlined as Ia, VisibilityOutlined as Ra, VisibilityOffOutlined as _a } from "@mui/icons-material";
8
8
  import Ta, { createPortal as pt } from "react-dom";
@@ -278,7 +278,7 @@ const sn = xe(
278
278
  )
279
279
  ] }),
280
280
  /* @__PURE__ */ e(Ue, { children: o && /* @__PURE__ */ e(
281
- Me.div,
281
+ Le.div,
282
282
  {
283
283
  initial: { opacity: 0, y: -10 },
284
284
  animate: { opacity: 1, y: 0 },
@@ -956,7 +956,7 @@ const ze = ({ labels: t = [] }) => {
956
956
  ]
957
957
  }
958
958
  ),
959
- g?.length > 0 && g !== R.value && /* @__PURE__ */ e(Ne, { placement: "top", title: g, children: /* @__PURE__ */ e(
959
+ g?.length > 0 && g !== R.value && /* @__PURE__ */ e(Me, { placement: "top", title: g, children: /* @__PURE__ */ e(
960
960
  "button",
961
961
  {
962
962
  className: "cursor-pointer",
@@ -983,7 +983,7 @@ const ze = ({ labels: t = [] }) => {
983
983
  ),
984
984
  D && /* @__PURE__ */ e(Je, {}),
985
985
  /* @__PURE__ */ e(ze, { labels: s }),
986
- k && /* @__PURE__ */ e(Ne, { placement: "top", title: k, children: /* @__PURE__ */ e("div", { className: "cursor-pointer", children: /* @__PURE__ */ e(Pe, {}) }) })
986
+ k && /* @__PURE__ */ e(Me, { placement: "top", title: k, children: /* @__PURE__ */ e("div", { className: "cursor-pointer", children: /* @__PURE__ */ e(Pe, {}) }) })
987
987
  ] }),
988
988
  N && V && A ? /* @__PURE__ */ e(
989
989
  "button",
@@ -992,7 +992,7 @@ const ze = ({ labels: t = [] }) => {
992
992
  className: "cursor-pointer",
993
993
  onClick: () => j(R?.value),
994
994
  type: "button",
995
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: M("Add to document"), children: /* @__PURE__ */ e(
995
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: M("Add to document"), children: /* @__PURE__ */ e(
996
996
  nt,
997
997
  {
998
998
  className: "text-primary-600",
@@ -1068,7 +1068,7 @@ const ze = ({ labels: t = [] }) => {
1068
1068
  ) : C ? /* @__PURE__ */ e("div", { className: "absolute inset-y-0 flex items-center right-2", children: C }) : null
1069
1069
  ] }) }),
1070
1070
  /* @__PURE__ */ e(Ue, { children: a && /* @__PURE__ */ e(
1071
- Me.div,
1071
+ Le.div,
1072
1072
  {
1073
1073
  initial: { opacity: 0, y: -10 },
1074
1074
  animate: { opacity: 1, y: 0 },
@@ -1087,7 +1087,7 @@ const ze = ({ labels: t = [] }) => {
1087
1087
  }
1088
1088
  ) }),
1089
1089
  /* @__PURE__ */ e(Ue, { children: o && /* @__PURE__ */ e(
1090
- Me.div,
1090
+ Le.div,
1091
1091
  {
1092
1092
  initial: { opacity: 0, y: -10 },
1093
1093
  animate: { opacity: 1, y: 0 },
@@ -1238,7 +1238,7 @@ const Pd = xe(
1238
1238
  }
1239
1239
  ),
1240
1240
  /* @__PURE__ */ e(Ue, { children: l && /* @__PURE__ */ e(
1241
- Me.div,
1241
+ Le.div,
1242
1242
  {
1243
1243
  initial: { opacity: 0, y: -10 },
1244
1244
  animate: { opacity: 1, y: 0 },
@@ -1344,7 +1344,7 @@ const Pd = xe(
1344
1344
  ),
1345
1345
  g && /* @__PURE__ */ e(Je, {}),
1346
1346
  /* @__PURE__ */ e(ze, { labels: u || [] }),
1347
- k && /* @__PURE__ */ e(Ne, { placement: "top", title: k, children: /* @__PURE__ */ e(
1347
+ k && /* @__PURE__ */ e(Me, { placement: "top", title: k, children: /* @__PURE__ */ e(
1348
1348
  "div",
1349
1349
  {
1350
1350
  className: "cursor-pointer",
@@ -1364,7 +1364,7 @@ const Pd = xe(
1364
1364
  className: "cursor-pointer",
1365
1365
  onClick: M,
1366
1366
  type: "button",
1367
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: A("Add to document"), children: /* @__PURE__ */ e(
1367
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: A("Add to document"), children: /* @__PURE__ */ e(
1368
1368
  nt,
1369
1369
  {
1370
1370
  className: "text-primary-600",
@@ -1624,7 +1624,7 @@ const lt = ({
1624
1624
  className: "cursor-pointer",
1625
1625
  onClick: () => ue(a?.toString() || ""),
1626
1626
  type: "button",
1627
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: P("Add to document"), children: /* @__PURE__ */ e(
1627
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: P("Add to document"), children: /* @__PURE__ */ e(
1628
1628
  nt,
1629
1629
  {
1630
1630
  sx: {
@@ -1973,7 +1973,7 @@ const Ko = (t) => Array.isArray(t) ? t.map((r) => typeof r == "string" || typeof
1973
1973
  ),
1974
1974
  f && /* @__PURE__ */ e(Je, {}),
1975
1975
  /* @__PURE__ */ e(ze, { labels: i }),
1976
- u && /* @__PURE__ */ e(Ne, { placement: "top", title: u, children: /* @__PURE__ */ e(
1976
+ u && /* @__PURE__ */ e(Me, { placement: "top", title: u, children: /* @__PURE__ */ e(
1977
1977
  "div",
1978
1978
  {
1979
1979
  className: "cursor-pointer",
@@ -1993,7 +1993,7 @@ const Ko = (t) => Array.isArray(t) ? t.map((r) => typeof r == "string" || typeof
1993
1993
  className: "cursor-pointer",
1994
1994
  onClick: se,
1995
1995
  type: "button",
1996
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: B("Add to document"), children: /* @__PURE__ */ e(nt, { className: "text-primary-600", sx: { fontSize: 16 } }) })
1996
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: B("Add to document"), children: /* @__PURE__ */ e(nt, { className: "text-primary-600", sx: { fontSize: 16 } }) })
1997
1997
  }
1998
1998
  ) : null
1999
1999
  ] })
@@ -2080,7 +2080,7 @@ const Ko = (t) => Array.isArray(t) ? t.map((r) => typeof r == "string" || typeof
2080
2080
  onClear: () => k && k(n === "tags" || n === "multiple" ? [] : null),
2081
2081
  maxTagCount: n === "tags" && I ? void 0 : "responsive",
2082
2082
  maxTagPlaceholder: (le) => /* @__PURE__ */ e(
2083
- Ne,
2083
+ Me,
2084
2084
  {
2085
2085
  styles: {
2086
2086
  root: {
@@ -2250,7 +2250,7 @@ const el = xe(
2250
2250
  }
2251
2251
  ),
2252
2252
  /* @__PURE__ */ e(Ue, { children: c && /* @__PURE__ */ e(
2253
- Me.div,
2253
+ Le.div,
2254
2254
  {
2255
2255
  initial: { opacity: 0, y: -10 },
2256
2256
  animate: { opacity: 1, y: 0 },
@@ -2453,7 +2453,7 @@ const tl = ({
2453
2453
  ) })
2454
2454
  ] }),
2455
2455
  /* @__PURE__ */ e(Ue, { children: s && /* @__PURE__ */ e(
2456
- Me.div,
2456
+ Le.div,
2457
2457
  {
2458
2458
  initial: { opacity: 0, y: -10 },
2459
2459
  animate: { opacity: 1, y: 0 },
@@ -2624,7 +2624,7 @@ const nl = ({
2624
2624
  u && /* @__PURE__ */ e(Te, {})
2625
2625
  ] }),
2626
2626
  /* @__PURE__ */ e(ze, { labels: b }),
2627
- m && /* @__PURE__ */ e(Ne, { placement: "top", title: m, children: /* @__PURE__ */ e("div", { className: "cursor-pointer", children: /* @__PURE__ */ e(Pe, {}) }) })
2627
+ m && /* @__PURE__ */ e(Me, { placement: "top", title: m, children: /* @__PURE__ */ e("div", { className: "cursor-pointer", children: /* @__PURE__ */ e(Pe, {}) }) })
2628
2628
  ]
2629
2629
  }
2630
2630
  ),
@@ -3600,7 +3600,7 @@ const cl = (t, r, n, a = "medium") => {
3600
3600
  className: "cursor-pointer",
3601
3601
  onClick: Z,
3602
3602
  type: "button",
3603
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: V("Add to document"), children: /* @__PURE__ */ e(nt, { className: "text-primary-600", sx: { fontSize: 16 } }) })
3603
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: V("Add to document"), children: /* @__PURE__ */ e(nt, { className: "text-primary-600", sx: { fontSize: 16 } }) })
3604
3604
  }
3605
3605
  ) : null
3606
3606
  ] }),
@@ -3688,7 +3688,7 @@ const cl = (t, r, n, a = "medium") => {
3688
3688
  )
3689
3689
  ] }),
3690
3690
  /* @__PURE__ */ e(Ue, { children: I && /* @__PURE__ */ e(
3691
- Me.div,
3691
+ Le.div,
3692
3692
  {
3693
3693
  initial: { opacity: 0, y: -10 },
3694
3694
  animate: { opacity: 1, y: 0 },
@@ -4221,7 +4221,7 @@ const Ir = (t, r) => {
4221
4221
  className: "cursor-pointer",
4222
4222
  onClick: () => G(Y(n)),
4223
4223
  type: "button",
4224
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: M("Add to document"), children: /* @__PURE__ */ e(
4224
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: M("Add to document"), children: /* @__PURE__ */ e(
4225
4225
  nt,
4226
4226
  {
4227
4227
  className: "text-primary-600",
@@ -4584,7 +4584,7 @@ const gl = xe(
4584
4584
  }
4585
4585
  ) }),
4586
4586
  /* @__PURE__ */ e(Ue, { children: c && /* @__PURE__ */ e(
4587
- Me.div,
4587
+ Le.div,
4588
4588
  {
4589
4589
  initial: { opacity: 0, y: -10 },
4590
4590
  animate: { opacity: 1, y: 0 },
@@ -5675,7 +5675,7 @@ const Pl = "MM/DD/YYYY", Lr = "MM/DD/YYYY - hh:mm A", w1 = "YYYY-MM-DD", k1 = "Y
5675
5675
  className: "cursor-pointer",
5676
5676
  onClick: () => B(r),
5677
5677
  type: "button",
5678
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: $("Add to document"), children: /* @__PURE__ */ e(
5678
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: $("Add to document"), children: /* @__PURE__ */ e(
5679
5679
  nt,
5680
5680
  {
5681
5681
  className: "text-primary-600",
@@ -5811,7 +5811,7 @@ const Yl = ({
5811
5811
  }
5812
5812
  ) }),
5813
5813
  /* @__PURE__ */ e(Ue, { children: a && /* @__PURE__ */ e(
5814
- Me.div,
5814
+ Le.div,
5815
5815
  {
5816
5816
  initial: { opacity: 0, y: -5 },
5817
5817
  animate: { opacity: 1, y: 0 },
@@ -5941,7 +5941,7 @@ const Ul = xe(
5941
5941
  className: "cursor-pointer",
5942
5942
  onClick: () => ee(a?.toString() || ""),
5943
5943
  type: "button",
5944
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: R("Add to document"), children: /* @__PURE__ */ e(
5944
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: R("Add to document"), children: /* @__PURE__ */ e(
5945
5945
  nt,
5946
5946
  {
5947
5947
  sx: {
@@ -7437,7 +7437,7 @@ const oe = {
7437
7437
  disabled: !1
7438
7438
  }));
7439
7439
  return r ? /* @__PURE__ */ e(
7440
- Me.div,
7440
+ Le.div,
7441
7441
  {
7442
7442
  initial: { y: 20, opacity: 0 },
7443
7443
  animate: { y: 0, opacity: 1 },
@@ -7492,7 +7492,7 @@ const oe = {
7492
7492
  c ? "bg-primary-900 dark:bg-black-800 px-[10px] rounded-[43px]" : ""
7493
7493
  ),
7494
7494
  children: f ? /* @__PURE__ */ p(
7495
- Me.div,
7495
+ Le.div,
7496
7496
  {
7497
7497
  initial: { opacity: 0 },
7498
7498
  animate: { opacity: 1 },
@@ -7608,7 +7608,7 @@ const oe = {
7608
7608
  ]
7609
7609
  }
7610
7610
  ) : /* @__PURE__ */ p(
7611
- Me.div,
7611
+ Le.div,
7612
7612
  {
7613
7613
  initial: { opacity: 0 },
7614
7614
  animate: { opacity: 1 },
@@ -8675,7 +8675,7 @@ const Ti = xe(
8675
8675
  className: "cursor-pointer",
8676
8676
  onClick: () => V(n?.toString()),
8677
8677
  type: "button",
8678
- children: /* @__PURE__ */ e(Ne, { placement: "top", title: M("Add to document"), children: /* @__PURE__ */ e(
8678
+ children: /* @__PURE__ */ e(Me, { placement: "top", title: M("Add to document"), children: /* @__PURE__ */ e(
8679
8679
  nt,
8680
8680
  {
8681
8681
  className: "text-primary-600",
@@ -9177,7 +9177,7 @@ const Wd = ({
9177
9177
  height: 240,
9178
9178
  children: ({ columnIndex: c, rowIndex: s, style: u }) => {
9179
9179
  const d = s * 5 + c, f = l?.[d];
9180
- return f ? /* @__PURE__ */ e("div", { style: { ...u, padding: "4px" }, children: /* @__PURE__ */ e(Ne, { title: Zi(f), children: /* @__PURE__ */ e(
9180
+ return f ? /* @__PURE__ */ e("div", { style: { ...u, padding: "4px" }, children: /* @__PURE__ */ e(Me, { title: Zi(f), children: /* @__PURE__ */ e(
9181
9181
  eo,
9182
9182
  {
9183
9183
  className: T(
@@ -9766,18 +9766,26 @@ const Jd = ({ children: t, showAsModal: r, ...n }) => r ? /* @__PURE__ */ e(Xe,
9766
9766
  },
9767
9767
  `${Z.label}-${Z.value || Z.color}`
9768
9768
  )) }),
9769
- i && /* @__PURE__ */ e(Ne, { placement: "top", title: i, children: /* @__PURE__ */ e(
9770
- "div",
9769
+ i && /* @__PURE__ */ e(
9770
+ he,
9771
9771
  {
9772
- className: "cursor-pointer",
9773
- role: "button",
9774
- tabIndex: 0,
9775
- onKeyDown: (Z) => {
9776
- (Z.key === "Enter" || Z.key === " ") && Z.preventDefault();
9777
- },
9778
- children: /* @__PURE__ */ e(Pe, { size: 14 })
9772
+ placement: "top",
9773
+ title: i,
9774
+ whiteSpace: "normal",
9775
+ children: /* @__PURE__ */ e(
9776
+ "div",
9777
+ {
9778
+ className: "cursor-pointer",
9779
+ role: "button",
9780
+ tabIndex: 0,
9781
+ onKeyDown: (Z) => {
9782
+ (Z.key === "Enter" || Z.key === " ") && Z.preventDefault();
9783
+ },
9784
+ children: /* @__PURE__ */ e(Pe, { size: 14 })
9785
+ }
9786
+ )
9779
9787
  }
9780
- ) })
9788
+ )
9781
9789
  ]
9782
9790
  }
9783
9791
  ),
@@ -9798,7 +9806,7 @@ const Jd = ({ children: t, showAsModal: r, ...n }) => r ? /* @__PURE__ */ e(Xe,
9798
9806
  /* @__PURE__ */ e("span", { children: B() })
9799
9807
  ] }) : u || f ? /* @__PURE__ */ e("mark", { className: T("rounded-md py-0.5 px-1", Q()), children: B() }) : B(),
9800
9808
  o === "currency" && w !== 0 && w !== void 0 && w !== null && /* @__PURE__ */ p(
9801
- Me.span,
9809
+ Le.span,
9802
9810
  {
9803
9811
  initial: { opacity: 0, y: 2 },
9804
9812
  animate: { opacity: 1, y: 0 },
@@ -10114,7 +10122,7 @@ const t0 = () => /* @__PURE__ */ e("div", { className: "cursor-ew-resize flex it
10114
10122
  onResize: C,
10115
10123
  children: g
10116
10124
  }) => /* @__PURE__ */ e(Ue, { children: t && /* @__PURE__ */ e(
10117
- Me.div,
10125
+ Le.div,
10118
10126
  {
10119
10127
  ref: a,
10120
10128
  id: n,
@@ -10494,7 +10502,7 @@ const s0 = xe(
10494
10502
  ),
10495
10503
  a && pt(
10496
10504
  /* @__PURE__ */ e(Ue, { children: /* @__PURE__ */ p(
10497
- Me.div,
10505
+ Le.div,
10498
10506
  {
10499
10507
  ref: h,
10500
10508
  initial: { opacity: 0, scale: 0.95 },
@@ -11294,7 +11302,7 @@ function _0(t, ...r) {
11294
11302
  return l(R0.apply(null, arguments));
11295
11303
  };
11296
11304
  }
11297
- const Le = (t) => {
11305
+ const Ne = (t) => {
11298
11306
  const r = (n) => n[t] || [];
11299
11307
  return r.isThemeGetter = !0, r;
11300
11308
  }, Sn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Dn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, T0 = /^\d+\/\d+$/, O0 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, V0 = /\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$/, P0 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, z0 = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, B0 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, bt = (t) => T0.test(t), fe = (t) => !!t && !Number.isNaN(Number(t)), at = (t) => !!t && Number.isInteger(Number(t)), Dr = (t) => t.endsWith("%") && fe(t.slice(0, -1)), et = (t) => O0.test(t), Z0 = () => !0, j0 = (t) => (
@@ -11309,7 +11317,7 @@ const Le = (t) => {
11309
11317
  const a = Dn.exec(t);
11310
11318
  return a ? a[1] ? r(a[1]) : n : !1;
11311
11319
  }, An = (t) => t === "position" || t === "percentage", $n = (t) => t === "image" || t === "url", Hn = (t) => t === "length" || t === "size" || t === "bg-size", In = (t) => t === "length", Q0 = (t) => t === "number", es = (t) => t === "family-name", Rn = (t) => t === "shadow", ts = () => {
11312
- const t = Le("color"), r = Le("font"), n = Le("text"), a = Le("font-weight"), o = Le("tracking"), l = Le("leading"), i = Le("breakpoint"), c = Le("container"), s = Le("spacing"), u = Le("radius"), d = Le("shadow"), f = Le("inset-shadow"), m = Le("text-shadow"), b = Le("drop-shadow"), k = Le("blur"), C = Le("perspective"), g = Le("aspect"), h = Le("ease"), w = Le("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
11320
+ const t = Ne("color"), r = Ne("font"), n = Ne("text"), a = Ne("font-weight"), o = Ne("tracking"), l = Ne("leading"), i = Ne("breakpoint"), c = Ne("container"), s = Ne("spacing"), u = Ne("radius"), d = Ne("shadow"), f = Ne("inset-shadow"), m = Ne("text-shadow"), b = Ne("drop-shadow"), k = Ne("blur"), C = Ne("perspective"), g = Ne("aspect"), h = Ne("ease"), w = Ne("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
11313
11321
  "center",
11314
11322
  "top",
11315
11323
  "bottom",
@@ -14274,7 +14282,10 @@ const ls = () => /* @__PURE__ */ p(
14274
14282
  ) })
14275
14283
  ]
14276
14284
  }
14277
- ), ss = ({ classValue: t, isDarkMode: r }) => /* @__PURE__ */ e("div", { className: `${T(t)} flex justify-center items-center`, children: r ? /* @__PURE__ */ e(is, {}) : /* @__PURE__ */ e(ls, {}) });
14285
+ ), ss = ({ classValue: t, isDarkMode: r }) => {
14286
+ const n = r ?? document.documentElement.classList.contains("dark");
14287
+ return /* @__PURE__ */ e("div", { className: `${T(t)} flex justify-center items-center`, children: n ? /* @__PURE__ */ e(is, {}) : /* @__PURE__ */ e(ls, {}) });
14288
+ };
14278
14289
  ss.displayName = "LogoLoader";
14279
14290
  const Tn = xe(
14280
14291
  ({ item: t, variant: r, isLastItem: n = !1, onClick: a }, o) => {
@@ -14353,14 +14364,14 @@ const cs = ({
14353
14364
  }
14354
14365
  );
14355
14366
  return s?.link && a ? /* @__PURE__ */ e(
14356
- Ne,
14367
+ Me,
14357
14368
  {
14358
14369
  title: l[u] ? s?.title : "",
14359
14370
  placement: "bottom",
14360
14371
  children: a(s, f, d)
14361
14372
  }
14362
14373
  ) : /* @__PURE__ */ e(
14363
- Ne,
14374
+ Me,
14364
14375
  {
14365
14376
  title: l[u] ? s?.title : "",
14366
14377
  placement: "bottom",
@@ -15692,7 +15703,7 @@ const I1 = (t, r) => {
15692
15703
  }
15693
15704
  };
15694
15705
  return /* @__PURE__ */ p(
15695
- Me.div,
15706
+ Le.div,
15696
15707
  {
15697
15708
  className: "rounded-lg border border-[rgba(234,236,240,0.20)] bg-white/15 shadow-[0_8px_24px_0_rgba(16,24,40,0.04)] mt-5",
15698
15709
  variants: r,
@@ -15733,7 +15744,7 @@ const I1 = (t, r) => {
15733
15744
  }
15734
15745
  };
15735
15746
  return /* @__PURE__ */ p(
15736
- Me.div,
15747
+ Le.div,
15737
15748
  {
15738
15749
  className: "bg-white dark:bg-[#0A0710] rounded-lg border border-[#EAECF0] dark:border-[#14131B] shadow-[0_8px_24px_0_rgba(16,24,40,0.04)] overflow-hidden",
15739
15750
  variants: n,
@@ -15901,7 +15912,7 @@ const Yn = ({
15901
15912
  [o, n, a, i, r]
15902
15913
  );
15903
15914
  return /* @__PURE__ */ e("div", { className: s, children: k ? /* @__PURE__ */ e(
15904
- Ne,
15915
+ Me,
15905
15916
  {
15906
15917
  title: C,
15907
15918
  placement: c,
@@ -16065,7 +16076,7 @@ const Ps = ({
16065
16076
  ]
16066
16077
  }
16067
16078
  ),
16068
- a ? /* @__PURE__ */ e(Me.div, { className: ` ${!f && "p-4"} ${D}`, children: t }) : null
16079
+ a ? /* @__PURE__ */ e(Le.div, { className: ` ${!f && "p-4"} ${D}`, children: t }) : null
16069
16080
  ] });
16070
16081
  Ps.displayName = "Accordion";
16071
16082
  const zs = ({
@@ -17776,7 +17787,7 @@ const xc = ({ isOpen: t, onClose: r, anchorEl: n, placement: a = "right-start",
17776
17787
  };
17777
17788
  }, [t, o]), t ? pt(
17778
17789
  /* @__PURE__ */ e("div", { ref: i, className: "z-[9999]", onMouseEnter: (s) => s.stopPropagation(), onMouseLeave: r, children: /* @__PURE__ */ e(
17779
- Me.div,
17790
+ Le.div,
17780
17791
  {
17781
17792
  initial: { opacity: 0, scale: 0.95 },
17782
17793
  animate: { opacity: 1, scale: 1 },
@@ -18033,7 +18044,7 @@ const xc = ({ isOpen: t, onClose: r, anchorEl: n, placement: a = "right-start",
18033
18044
  ),
18034
18045
  onMouseEnter: H,
18035
18046
  onMouseLeave: v,
18036
- children: b?.teams?.slice(1)?.map((Q, Z) => /* @__PURE__ */ e("div", { className: "my-2", children: /* @__PURE__ */ e(Oe, { label: Q?.name, color: Q?.color || "#4A5568", size: "sm", isHashColor: !0 }, Q?.id) }, Q?.id || Z))
18047
+ children: b?.teams?.slice(1)?.map((Q, Z) => /* @__PURE__ */ e("div", { className: "my-2", children: /* @__PURE__ */ e(Oe, { label: Q?.name, color: Q?.color || "#4A5568", size: "sm", isHashColor: !0, className: "w-fit" }, Q?.id) }, Q?.id || Z))
18037
18048
  }
18038
18049
  )
18039
18050
  ]