@lax-wp/design-system 0.5.1 → 0.5.3
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/components/user-avatar/UserAvatar.d.ts +1 -1
- package/dist/index.es.js +61 -53
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
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
|
|
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
|
|
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
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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(
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
9770
|
-
|
|
9769
|
+
i && /* @__PURE__ */ e(
|
|
9770
|
+
he,
|
|
9771
9771
|
{
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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 =
|
|
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",
|
|
@@ -14353,14 +14361,14 @@ const cs = ({
|
|
|
14353
14361
|
}
|
|
14354
14362
|
);
|
|
14355
14363
|
return s?.link && a ? /* @__PURE__ */ e(
|
|
14356
|
-
|
|
14364
|
+
Me,
|
|
14357
14365
|
{
|
|
14358
14366
|
title: l[u] ? s?.title : "",
|
|
14359
14367
|
placement: "bottom",
|
|
14360
14368
|
children: a(s, f, d)
|
|
14361
14369
|
}
|
|
14362
14370
|
) : /* @__PURE__ */ e(
|
|
14363
|
-
|
|
14371
|
+
Me,
|
|
14364
14372
|
{
|
|
14365
14373
|
title: l[u] ? s?.title : "",
|
|
14366
14374
|
placement: "bottom",
|
|
@@ -15692,7 +15700,7 @@ const I1 = (t, r) => {
|
|
|
15692
15700
|
}
|
|
15693
15701
|
};
|
|
15694
15702
|
return /* @__PURE__ */ p(
|
|
15695
|
-
|
|
15703
|
+
Le.div,
|
|
15696
15704
|
{
|
|
15697
15705
|
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
15706
|
variants: r,
|
|
@@ -15733,7 +15741,7 @@ const I1 = (t, r) => {
|
|
|
15733
15741
|
}
|
|
15734
15742
|
};
|
|
15735
15743
|
return /* @__PURE__ */ p(
|
|
15736
|
-
|
|
15744
|
+
Le.div,
|
|
15737
15745
|
{
|
|
15738
15746
|
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
15747
|
variants: n,
|
|
@@ -15901,7 +15909,7 @@ const Yn = ({
|
|
|
15901
15909
|
[o, n, a, i, r]
|
|
15902
15910
|
);
|
|
15903
15911
|
return /* @__PURE__ */ e("div", { className: s, children: k ? /* @__PURE__ */ e(
|
|
15904
|
-
|
|
15912
|
+
Me,
|
|
15905
15913
|
{
|
|
15906
15914
|
title: C,
|
|
15907
15915
|
placement: c,
|
|
@@ -16065,7 +16073,7 @@ const Ps = ({
|
|
|
16065
16073
|
]
|
|
16066
16074
|
}
|
|
16067
16075
|
),
|
|
16068
|
-
a ? /* @__PURE__ */ e(
|
|
16076
|
+
a ? /* @__PURE__ */ e(Le.div, { className: ` ${!f && "p-4"} ${D}`, children: t }) : null
|
|
16069
16077
|
] });
|
|
16070
16078
|
Ps.displayName = "Accordion";
|
|
16071
16079
|
const zs = ({
|
|
@@ -17776,7 +17784,7 @@ const xc = ({ isOpen: t, onClose: r, anchorEl: n, placement: a = "right-start",
|
|
|
17776
17784
|
};
|
|
17777
17785
|
}, [t, o]), t ? pt(
|
|
17778
17786
|
/* @__PURE__ */ e("div", { ref: i, className: "z-[9999]", onMouseEnter: (s) => s.stopPropagation(), onMouseLeave: r, children: /* @__PURE__ */ e(
|
|
17779
|
-
|
|
17787
|
+
Le.div,
|
|
17780
17788
|
{
|
|
17781
17789
|
initial: { opacity: 0, scale: 0.95 },
|
|
17782
17790
|
animate: { opacity: 1, scale: 1 },
|
|
@@ -18033,7 +18041,7 @@ const xc = ({ isOpen: t, onClose: r, anchorEl: n, placement: a = "right-start",
|
|
|
18033
18041
|
),
|
|
18034
18042
|
onMouseEnter: H,
|
|
18035
18043
|
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))
|
|
18044
|
+
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
18045
|
}
|
|
18038
18046
|
)
|
|
18039
18047
|
]
|