@datatechsolutions/ui 2.7.131 → 2.7.133
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/{chunk-7ZO5L4QH.mjs → chunk-2GNFQ5OX.mjs} +177 -165
- package/dist/chunk-2GNFQ5OX.mjs.map +1 -0
- package/dist/{chunk-M6KOYLMA.js → chunk-AH5D2SNG.js} +52 -52
- package/dist/{chunk-M6KOYLMA.js.map → chunk-AH5D2SNG.js.map} +1 -1
- package/dist/{chunk-5NRV2PE4.js → chunk-W224TQQY.js} +177 -165
- package/dist/chunk-W224TQQY.js.map +1 -0
- package/dist/{chunk-7WR44JRN.mjs → chunk-XBCR5VZH.mjs} +3 -3
- package/dist/{chunk-7WR44JRN.mjs.map → chunk-XBCR5VZH.mjs.map} +1 -1
- package/dist/index.js +336 -336
- package/dist/index.mjs +1 -1
- package/dist/workflow/index.js +119 -119
- package/dist/workflow/index.mjs +3 -3
- package/dist/workflow/workflow-canvas.js +3 -3
- package/dist/workflow/workflow-canvas.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-5NRV2PE4.js.map +0 -1
- package/dist/chunk-7ZO5L4QH.mjs.map +0 -1
|
@@ -761,7 +761,7 @@ function IconButton({
|
|
|
761
761
|
isIosColor && finalColor === "ios-purple" && "bg-[#AF52DE] dark:bg-[#BF5AF2]"
|
|
762
762
|
),
|
|
763
763
|
ghost: clsx__default.default(
|
|
764
|
-
"bg-transparent hover:bg-
|
|
764
|
+
"bg-transparent hover:bg-white/40 dark:hover:bg-white/[0.08]",
|
|
765
765
|
isIosColor && finalColor === "ios-blue" && "text-[#007AFF] dark:text-[#0A84FF]",
|
|
766
766
|
isIosColor && finalColor === "ios-red" && "text-[#FF3B30] dark:text-[#FF453A]",
|
|
767
767
|
isIosColor && finalColor === "ios-green" && "text-[#34C759] dark:text-[#30D158]",
|
|
@@ -846,10 +846,10 @@ function CardHeader({ className = "", ...props }) {
|
|
|
846
846
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex flex-col space-y-1.5 p-4 sm:p-6 ${className}`, ...props });
|
|
847
847
|
}
|
|
848
848
|
function CardTitle({ className = "", ...props }) {
|
|
849
|
-
return /* @__PURE__ */ jsxRuntime.jsx("h3", { className: `text-lg font-semibold leading-none tracking-tight text-
|
|
849
|
+
return /* @__PURE__ */ jsxRuntime.jsx("h3", { className: `text-lg font-semibold leading-none tracking-tight text-slate-900 dark:text-white ${className}`, ...props });
|
|
850
850
|
}
|
|
851
851
|
function CardDescription({ className = "", ...props }) {
|
|
852
|
-
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-sm text-
|
|
852
|
+
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-sm text-slate-500 dark:text-slate-400 ${className}`, ...props });
|
|
853
853
|
}
|
|
854
854
|
function CardContent({ className = "", ...props }) {
|
|
855
855
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `p-4 sm:p-6 pt-0 ${className}`, ...props });
|
|
@@ -879,8 +879,8 @@ function SectionCard({
|
|
|
879
879
|
}
|
|
880
880
|
),
|
|
881
881
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
882
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base sm:text-lg font-semibold text-
|
|
883
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs sm:text-sm text-
|
|
882
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base sm:text-lg font-semibold text-slate-900 dark:text-white", children: title }),
|
|
883
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs sm:text-sm text-slate-500 dark:text-slate-400", children: subtitle })
|
|
884
884
|
] })
|
|
885
885
|
] }),
|
|
886
886
|
rightContent
|
|
@@ -987,15 +987,15 @@ var Input = React11.forwardRef(
|
|
|
987
987
|
const baseClasses = isFilled ? `
|
|
988
988
|
liquid-surface h-12 w-full rounded-xl border-0
|
|
989
989
|
px-4 py-3 text-base
|
|
990
|
-
text-
|
|
991
|
-
placeholder:text-
|
|
990
|
+
text-slate-900 dark:text-white
|
|
991
|
+
placeholder:text-slate-400 dark:placeholder:text-slate-500
|
|
992
992
|
transition-all duration-200
|
|
993
993
|
disabled:cursor-not-allowed disabled:opacity-50
|
|
994
994
|
` : `
|
|
995
995
|
liquid-surface h-11 w-full rounded-xl
|
|
996
996
|
px-3.5 py-2.5 text-base
|
|
997
|
-
text-
|
|
998
|
-
placeholder:text-
|
|
997
|
+
text-slate-900 dark:text-white
|
|
998
|
+
placeholder:text-slate-400 dark:placeholder:text-slate-500
|
|
999
999
|
transition-all duration-200
|
|
1000
1000
|
disabled:cursor-not-allowed disabled:opacity-50
|
|
1001
1001
|
`;
|
|
@@ -1023,7 +1023,7 @@ var Input = React11.forwardRef(
|
|
|
1023
1023
|
exit: { opacity: 0, scale: 0.8 },
|
|
1024
1024
|
transition: { duration: 0.15 },
|
|
1025
1025
|
onClick: togglePassword,
|
|
1026
|
-
className: "p-1 rounded-full text-
|
|
1026
|
+
className: "p-1 rounded-full text-slate-400 hover:text-slate-600 dark:hover:text-slate-300 hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors",
|
|
1027
1027
|
"aria-label": showPassword ? t("hidePassword") : t("showPassword"),
|
|
1028
1028
|
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(solid.EyeSlashIcon, { className: "h-5 w-5" }) : /* @__PURE__ */ jsxRuntime.jsx(solid.EyeIcon, { className: "h-5 w-5" })
|
|
1029
1029
|
}
|
|
@@ -1037,7 +1037,7 @@ var Input = React11.forwardRef(
|
|
|
1037
1037
|
exit: { opacity: 0, scale: 0.8 },
|
|
1038
1038
|
transition: { duration: 0.15 },
|
|
1039
1039
|
onClick: handleClear,
|
|
1040
|
-
className: "p-1 rounded-full text-
|
|
1040
|
+
className: "p-1 rounded-full text-slate-400 hover:text-slate-600 dark:hover:text-slate-300 hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors",
|
|
1041
1041
|
children: /* @__PURE__ */ jsxRuntime.jsx(solid.XMarkIcon, { className: "h-5 w-5" })
|
|
1042
1042
|
}
|
|
1043
1043
|
) })
|
|
@@ -1065,12 +1065,12 @@ var Input = React11.forwardRef(
|
|
|
1065
1065
|
children: successMessage
|
|
1066
1066
|
}
|
|
1067
1067
|
),
|
|
1068
|
-
!error && !successMessage && helperText && /* @__PURE__ */ jsxRuntime.jsx("p", { id: helperId, className: "text-sm text-
|
|
1068
|
+
!error && !successMessage && helperText && /* @__PURE__ */ jsxRuntime.jsx("p", { id: helperId, className: "text-sm text-slate-500 dark:text-slate-400", children: helperText })
|
|
1069
1069
|
] }),
|
|
1070
1070
|
showCharacterCount && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1071
1071
|
"span",
|
|
1072
1072
|
{
|
|
1073
|
-
className: `text-xs ml-2 ${isOverLimit ? "text-ios-red" : characterCount > 0 ? "text-
|
|
1073
|
+
className: `text-xs ml-2 ${isOverLimit ? "text-ios-red" : characterCount > 0 ? "text-slate-500 dark:text-slate-400" : "text-slate-400 dark:text-slate-500"}`,
|
|
1074
1074
|
children: [
|
|
1075
1075
|
characterCount,
|
|
1076
1076
|
maxCharacters ? `/${maxCharacters}` : ""
|
|
@@ -1081,7 +1081,7 @@ var Input = React11.forwardRef(
|
|
|
1081
1081
|
if (floatingLabel && label) {
|
|
1082
1082
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
1083
1083
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
1084
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-3.5 top-1/2 -translate-y-1/2 text-
|
|
1084
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-3.5 top-1/2 -translate-y-1/2 text-slate-400 dark:text-slate-500 z-10", children: icon }),
|
|
1085
1085
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1086
1086
|
"input",
|
|
1087
1087
|
{
|
|
@@ -1114,7 +1114,7 @@ var Input = React11.forwardRef(
|
|
|
1114
1114
|
htmlFor: inputId,
|
|
1115
1115
|
className: `
|
|
1116
1116
|
absolute left-3.5 pointer-events-none
|
|
1117
|
-
text-
|
|
1117
|
+
text-slate-500 dark:text-slate-400
|
|
1118
1118
|
transition-all duration-200
|
|
1119
1119
|
${icon ? "left-11" : ""}
|
|
1120
1120
|
`,
|
|
@@ -1133,9 +1133,9 @@ var Input = React11.forwardRef(
|
|
|
1133
1133
|
] });
|
|
1134
1134
|
}
|
|
1135
1135
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1136
|
-
label && /* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: inputId, className: "block text-sm font-medium text-
|
|
1136
|
+
label && /* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: inputId, className: "block text-sm font-medium text-slate-700 dark:text-slate-300", children: label }),
|
|
1137
1137
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
1138
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-3.5 top-1/2 -translate-y-1/2 text-
|
|
1138
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-3.5 top-1/2 -translate-y-1/2 text-slate-400 dark:text-slate-500", children: icon }),
|
|
1139
1139
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1140
1140
|
"input",
|
|
1141
1141
|
{
|
|
@@ -1274,8 +1274,8 @@ function Sheet({
|
|
|
1274
1274
|
className: isRight ? `pointer-events-auto w-full ${rightSizeClass} h-full liquid-surface !rounded-none !rounded-l-3xl !shadow-2xl overflow-hidden` : `pointer-events-auto w-full max-w-lg liquid-surface !rounded-none !rounded-t-3xl !shadow-2xl overflow-hidden`,
|
|
1275
1275
|
...!isRight ? { initial: { height: maxHeight } } : {},
|
|
1276
1276
|
children: [
|
|
1277
|
-
showHandle && !isRight && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center pt-3 pb-2 cursor-grab active:cursor-grabbing", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1 w-10 rounded-full bg-
|
|
1278
|
-
title && /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogTitle, { className: "px-6 py-3 text-lg font-semibold text-
|
|
1277
|
+
showHandle && !isRight && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center pt-3 pb-2 cursor-grab active:cursor-grabbing", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1 w-10 rounded-full bg-slate-400/50 dark:bg-slate-500/50" }) }),
|
|
1278
|
+
title && /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogTitle, { className: "px-6 py-3 text-lg font-semibold text-slate-900 dark:text-white border-b border-white/30 dark:border-white/10", children: title }),
|
|
1279
1279
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1280
1280
|
"div",
|
|
1281
1281
|
{
|
|
@@ -1310,8 +1310,8 @@ function ActionSheet({
|
|
|
1310
1310
|
};
|
|
1311
1311
|
return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, onClose, showHandle: false, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-4 pt-4 pb-2", children: [
|
|
1312
1312
|
(title || message) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center mb-4", children: [
|
|
1313
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-semibold text-
|
|
1314
|
-
message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-
|
|
1313
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-semibold text-slate-500 dark:text-slate-400", children: title }),
|
|
1314
|
+
message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-slate-500 dark:text-slate-400 mt-1", children: message })
|
|
1315
1315
|
] }),
|
|
1316
1316
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: actions.map((action, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1317
1317
|
"button",
|
|
@@ -1334,7 +1334,7 @@ function ActionSheet({
|
|
|
1334
1334
|
{
|
|
1335
1335
|
type: "button",
|
|
1336
1336
|
onClick: onClose,
|
|
1337
|
-
className: "w-full mt-2 py-3 px-4 rounded-xl text-center font-semibold\n text-
|
|
1337
|
+
className: "w-full mt-2 py-3 px-4 rounded-xl text-center font-semibold\n text-slate-600 dark:text-slate-300\n bg-white/40 dark:bg-white/[0.08] backdrop-blur-sm\n hover:bg-white/40 dark:hover:bg-white/[0.08]\n transition-colors duration-150",
|
|
1338
1338
|
children: tCommon("cancelDelete")
|
|
1339
1339
|
}
|
|
1340
1340
|
)
|
|
@@ -1565,7 +1565,7 @@ var Select = React11.forwardRef(
|
|
|
1565
1565
|
border-white/55 dark:border-white/14
|
|
1566
1566
|
bg-white/68 dark:bg-slate-900/44 backdrop-blur-xl
|
|
1567
1567
|
px-3.5 py-2.5 text-base
|
|
1568
|
-
text-
|
|
1568
|
+
text-slate-900 dark:text-white
|
|
1569
1569
|
shadow-[inset_0_1px_0_rgba(255,255,255,0.88),0_10px_24px_-22px_rgba(15,23,42,0.72)]
|
|
1570
1570
|
transition-all duration-200
|
|
1571
1571
|
disabled:cursor-not-allowed disabled:opacity-50
|
|
@@ -1574,7 +1574,7 @@ var Select = React11.forwardRef(
|
|
|
1574
1574
|
const errorClasses = error ? "border-ios-red ring-4 ring-ios-red/10" : "";
|
|
1575
1575
|
if (useMobilePicker && normalizedOptions.length > 0) {
|
|
1576
1576
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1577
|
-
label && /* @__PURE__ */ jsxRuntime.jsx("label", { className: "block text-sm font-medium text-
|
|
1577
|
+
label && /* @__PURE__ */ jsxRuntime.jsx("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-300", children: label }),
|
|
1578
1578
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1579
1579
|
"button",
|
|
1580
1580
|
{
|
|
@@ -1589,11 +1589,11 @@ var Select = React11.forwardRef(
|
|
|
1589
1589
|
cursor-pointer
|
|
1590
1590
|
`,
|
|
1591
1591
|
children: [
|
|
1592
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: selectedOption ? "" : "text-
|
|
1592
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: selectedOption ? "" : "text-slate-400", children: selectedOption?.label || placeholder }),
|
|
1593
1593
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1594
1594
|
solid.ChevronDownIcon,
|
|
1595
1595
|
{
|
|
1596
|
-
className: `h-5 w-5 text-
|
|
1596
|
+
className: `h-5 w-5 text-slate-400 transition-transform duration-200
|
|
1597
1597
|
${isOpen ? "rotate-180" : ""}`
|
|
1598
1598
|
}
|
|
1599
1599
|
)
|
|
@@ -1634,7 +1634,7 @@ var Select = React11.forwardRef(
|
|
|
1634
1634
|
] });
|
|
1635
1635
|
}
|
|
1636
1636
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1637
|
-
label && /* @__PURE__ */ jsxRuntime.jsx("label", { className: "block text-sm font-medium text-
|
|
1637
|
+
label && /* @__PURE__ */ jsxRuntime.jsx("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-300", children: label }),
|
|
1638
1638
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
1639
1639
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1640
1640
|
"select",
|
|
@@ -1662,7 +1662,7 @@ var Select = React11.forwardRef(
|
|
|
1662
1662
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1663
1663
|
solid.ChevronDownIcon,
|
|
1664
1664
|
{
|
|
1665
|
-
className: "absolute right-3 top-1/2 -translate-y-1/2 h-5 w-5 text-
|
|
1665
|
+
className: "absolute right-3 top-1/2 -translate-y-1/2 h-5 w-5 text-slate-400 pointer-events-none"
|
|
1666
1666
|
}
|
|
1667
1667
|
)
|
|
1668
1668
|
] }),
|
|
@@ -1688,7 +1688,7 @@ function DropdownSelect({
|
|
|
1688
1688
|
setIsOpen(false);
|
|
1689
1689
|
};
|
|
1690
1690
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5 relative", children: [
|
|
1691
|
-
label && /* @__PURE__ */ jsxRuntime.jsx("label", { className: "block text-sm font-medium text-
|
|
1691
|
+
label && /* @__PURE__ */ jsxRuntime.jsx("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-300", children: label }),
|
|
1692
1692
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1693
1693
|
"button",
|
|
1694
1694
|
{
|
|
@@ -1705,7 +1705,7 @@ function DropdownSelect({
|
|
|
1705
1705
|
rounded-xl border border-white/55 dark:border-white/14
|
|
1706
1706
|
bg-white/68 dark:bg-slate-900/44 backdrop-blur-xl
|
|
1707
1707
|
px-3.5 py-2.5 text-base
|
|
1708
|
-
text-
|
|
1708
|
+
text-slate-900 dark:text-white
|
|
1709
1709
|
shadow-[inset_0_1px_0_rgba(255,255,255,0.88),0_10px_24px_-22px_rgba(15,23,42,0.72)]
|
|
1710
1710
|
transition-all duration-200
|
|
1711
1711
|
hover:bg-white/74 dark:hover:bg-slate-900/54
|
|
@@ -1714,13 +1714,13 @@ function DropdownSelect({
|
|
|
1714
1714
|
${error ? "border-ios-red ring-4 ring-ios-red/10" : ""}
|
|
1715
1715
|
`,
|
|
1716
1716
|
children: [
|
|
1717
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: selectedOption ? "" : "text-
|
|
1717
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: selectedOption ? "" : "text-slate-400", children: selectedOption?.label || placeholder }),
|
|
1718
1718
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1719
1719
|
framerMotion.motion.div,
|
|
1720
1720
|
{
|
|
1721
1721
|
animate: { rotate: isOpen ? 180 : 0 },
|
|
1722
1722
|
transition: { duration: 0.2 },
|
|
1723
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(solid.ChevronDownIcon, { className: "h-5 w-5 text-
|
|
1723
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(solid.ChevronDownIcon, { className: "h-5 w-5 text-slate-400" })
|
|
1724
1724
|
}
|
|
1725
1725
|
)
|
|
1726
1726
|
]
|
|
@@ -1751,7 +1751,7 @@ function DropdownSelect({
|
|
|
1751
1751
|
className: `
|
|
1752
1752
|
w-full flex items-center justify-between px-4 py-3 text-left
|
|
1753
1753
|
transition-colors duration-150
|
|
1754
|
-
${option.value === value ? "bg-ios-blue/10 text-ios-blue" : "text-
|
|
1754
|
+
${option.value === value ? "bg-ios-blue/10 text-ios-blue" : "text-slate-900 dark:text-white hover:bg-white/40 dark:hover:bg-white/[0.08]"}
|
|
1755
1755
|
${option.disabled ? "opacity-50 cursor-not-allowed" : ""}
|
|
1756
1756
|
`,
|
|
1757
1757
|
children: [
|
|
@@ -2095,7 +2095,7 @@ var defaultFilterTypeConfig = {
|
|
|
2095
2095
|
},
|
|
2096
2096
|
default: {
|
|
2097
2097
|
icon: HeroIcons.MapIcon,
|
|
2098
|
-
className: "bg-
|
|
2098
|
+
className: "bg-slate-100 text-slate-700 dark:bg-slate-800 dark:text-slate-300"
|
|
2099
2099
|
}
|
|
2100
2100
|
};
|
|
2101
2101
|
function SearchBar({
|
|
@@ -2136,9 +2136,9 @@ function SearchBar({
|
|
|
2136
2136
|
onCancel?.();
|
|
2137
2137
|
}, [onSearchChange, onCancel]);
|
|
2138
2138
|
const containerClasses = noBorder ? "flex flex-wrap items-center gap-2 p-3 bg-transparent" : `flex flex-wrap items-center gap-2 p-3
|
|
2139
|
-
bg-white/
|
|
2140
|
-
border border-
|
|
2141
|
-
rounded-2xl
|
|
2139
|
+
bg-white/40 dark:bg-white/[0.04] backdrop-blur-xl
|
|
2140
|
+
border border-white/30 dark:border-white/10
|
|
2141
|
+
rounded-2xl
|
|
2142
2142
|
transition-all duration-200
|
|
2143
2143
|
${isFocused ? "ring-4 ring-[#007AFF]/10 border-[#007AFF]/30" : ""}`;
|
|
2144
2144
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -2163,7 +2163,7 @@ function SearchBar({
|
|
|
2163
2163
|
HeroIcons.MagnifyingGlassIcon,
|
|
2164
2164
|
{
|
|
2165
2165
|
className: `absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 transition-colors duration-200
|
|
2166
|
-
${isFocused ? "text-[#007AFF]" : "text-
|
|
2166
|
+
${isFocused ? "text-[#007AFF]" : "text-slate-400"}`
|
|
2167
2167
|
}
|
|
2168
2168
|
),
|
|
2169
2169
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2176,7 +2176,7 @@ function SearchBar({
|
|
|
2176
2176
|
onChange: (e) => onSearchChange(e.target.value),
|
|
2177
2177
|
onFocus: handleFocus,
|
|
2178
2178
|
onBlur: handleBlur,
|
|
2179
|
-
className: "w-full h-11 pl-10 pr-10 text-base bg-transparent\n text-
|
|
2179
|
+
className: "w-full h-11 pl-10 pr-10 text-base bg-transparent\n text-slate-900 dark:text-white\n placeholder:text-slate-400 dark:placeholder:text-slate-500\n focus:outline-none"
|
|
2180
2180
|
}
|
|
2181
2181
|
),
|
|
2182
2182
|
/* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { children: searchTerm && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2187,7 +2187,7 @@ function SearchBar({
|
|
|
2187
2187
|
exit: { opacity: 0, scale: 0.8 },
|
|
2188
2188
|
transition: { duration: 0.15 },
|
|
2189
2189
|
onClick: handleClear,
|
|
2190
|
-
className: "absolute right-2 top-1/2 -translate-y-1/2 p-1.5 rounded-full\n bg-
|
|
2190
|
+
className: "absolute right-2 top-1/2 -translate-y-1/2 p-1.5 rounded-full\n bg-white/40 dark:bg-white/[0.08]\n text-slate-500 dark:text-slate-300\n hover:bg-white/60 dark:hover:bg-white/[0.12]\n transition-colors",
|
|
2191
2191
|
children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.XMarkIcon, { className: "h-4 w-4" })
|
|
2192
2192
|
}
|
|
2193
2193
|
) })
|
|
@@ -2200,7 +2200,7 @@ function SearchBar({
|
|
|
2200
2200
|
chunkUZ3CMNUJ_js.triggerHaptic("light");
|
|
2201
2201
|
onClearAll();
|
|
2202
2202
|
},
|
|
2203
|
-
className: "p-2 rounded-xl text-
|
|
2203
|
+
className: "p-2 rounded-xl text-slate-400 hover:text-slate-600 dark:hover:text-white\n hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors",
|
|
2204
2204
|
title: t("clearFilters"),
|
|
2205
2205
|
children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.XMarkIcon, { className: "h-5 w-5" })
|
|
2206
2206
|
}
|
|
@@ -2238,21 +2238,21 @@ var colorClasses = {
|
|
|
2238
2238
|
iconBg: "bg-emerald-100 text-emerald-600 dark:bg-emerald-900/50 dark:text-emerald-400",
|
|
2239
2239
|
activeGradient: "from-emerald-500 to-teal-600",
|
|
2240
2240
|
activeRing: "ring-emerald-500",
|
|
2241
|
-
valueColor: "text-
|
|
2241
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2242
2242
|
badgeBg: "bg-emerald-100 text-emerald-700 dark:bg-emerald-900/50 dark:text-emerald-300"
|
|
2243
2243
|
},
|
|
2244
2244
|
blue: {
|
|
2245
2245
|
iconBg: "bg-blue-100 text-blue-600 dark:bg-blue-900/50 dark:text-blue-400",
|
|
2246
2246
|
activeGradient: "from-blue-500 to-indigo-600",
|
|
2247
2247
|
activeRing: "ring-blue-500",
|
|
2248
|
-
valueColor: "text-
|
|
2248
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2249
2249
|
badgeBg: "bg-blue-100 text-blue-700 dark:bg-blue-900/50 dark:text-blue-300"
|
|
2250
2250
|
},
|
|
2251
2251
|
amber: {
|
|
2252
2252
|
iconBg: "bg-amber-100 text-amber-600 dark:bg-amber-900/50 dark:text-amber-400",
|
|
2253
2253
|
activeGradient: "from-amber-500 to-orange-600",
|
|
2254
2254
|
activeRing: "ring-amber-500",
|
|
2255
|
-
valueColor: "text-
|
|
2255
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2256
2256
|
badgeBg: "bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",
|
|
2257
2257
|
urgentValueColor: "text-amber-600 dark:text-amber-400"
|
|
2258
2258
|
},
|
|
@@ -2260,21 +2260,21 @@ var colorClasses = {
|
|
|
2260
2260
|
iconBg: "bg-orange-100 text-orange-600 dark:bg-orange-900/50 dark:text-orange-400",
|
|
2261
2261
|
activeGradient: "from-orange-500 to-amber-600",
|
|
2262
2262
|
activeRing: "ring-orange-500",
|
|
2263
|
-
valueColor: "text-
|
|
2263
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2264
2264
|
badgeBg: "bg-orange-100 text-orange-700 dark:bg-orange-900/50 dark:text-orange-300"
|
|
2265
2265
|
},
|
|
2266
2266
|
indigo: {
|
|
2267
2267
|
iconBg: "bg-indigo-100 text-indigo-600 dark:bg-indigo-900/50 dark:text-indigo-400",
|
|
2268
2268
|
activeGradient: "from-indigo-500 to-blue-600",
|
|
2269
2269
|
activeRing: "ring-indigo-500",
|
|
2270
|
-
valueColor: "text-
|
|
2270
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2271
2271
|
badgeBg: "bg-indigo-100 text-indigo-700 dark:bg-indigo-900/50 dark:text-indigo-300"
|
|
2272
2272
|
},
|
|
2273
2273
|
purple: {
|
|
2274
2274
|
iconBg: "bg-purple-100 text-purple-600 dark:bg-purple-900/50 dark:text-purple-400",
|
|
2275
2275
|
activeGradient: "from-purple-500 to-indigo-600",
|
|
2276
2276
|
activeRing: "ring-purple-500",
|
|
2277
|
-
valueColor: "text-
|
|
2277
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2278
2278
|
badgeBg: "bg-purple-100 text-purple-700 dark:bg-purple-900/50 dark:text-purple-300"
|
|
2279
2279
|
},
|
|
2280
2280
|
red: {
|
|
@@ -2323,7 +2323,7 @@ function StatCard({
|
|
|
2323
2323
|
{
|
|
2324
2324
|
title: info.title ?? "",
|
|
2325
2325
|
content: info.content ? info.content : info.blocks ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: info.blocks.map((block, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
2326
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-
|
|
2326
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-slate-700 dark:text-slate-200", children: block.label }),
|
|
2327
2327
|
/* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs mt-1", children: block.content })
|
|
2328
2328
|
] }, index)) }) : void 0
|
|
2329
2329
|
}
|
|
@@ -2342,7 +2342,7 @@ function StatCard({
|
|
|
2342
2342
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2343
2343
|
"p",
|
|
2344
2344
|
{
|
|
2345
|
-
className: `mt-1 text-sm ${isActive ? "text-white/75" : "text-
|
|
2345
|
+
className: `mt-1 text-sm ${isActive ? "text-white/75" : "text-slate-500 dark:text-slate-400"}`,
|
|
2346
2346
|
children: label
|
|
2347
2347
|
}
|
|
2348
2348
|
),
|
|
@@ -2516,7 +2516,7 @@ function Pagination({
|
|
|
2516
2516
|
};
|
|
2517
2517
|
const pageNumbers = getPageNumbers2();
|
|
2518
2518
|
if (totalPages <= 1) return null;
|
|
2519
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex items-center justify-between border-t border-
|
|
2519
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex items-center justify-between border-t border-white/30 dark:border-white/10 bg-white/40 dark:bg-white/[0.04] backdrop-blur-xl px-4 py-3 sm:px-6 rounded-b-xl ${className}`, children: [
|
|
2520
2520
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 justify-between sm:hidden", children: [
|
|
2521
2521
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2522
2522
|
"button",
|
|
@@ -2524,7 +2524,7 @@ function Pagination({
|
|
|
2524
2524
|
type: "button",
|
|
2525
2525
|
onClick: () => onPageChange(currentPage - 1),
|
|
2526
2526
|
disabled: currentPage === 1,
|
|
2527
|
-
className: "relative inline-flex items-center rounded-md border border-
|
|
2527
|
+
className: "relative inline-flex items-center rounded-md border border-white/30 dark:border-white/10 bg-white/40 dark:bg-white/[0.04] px-4 py-2 text-sm font-medium text-slate-700 hover:bg-white/40 dark:hover:bg-white/[0.08] disabled:opacity-50 disabled:cursor-not-allowed dark:text-slate-200",
|
|
2528
2528
|
children: t("previous")
|
|
2529
2529
|
}
|
|
2530
2530
|
),
|
|
@@ -2534,13 +2534,13 @@ function Pagination({
|
|
|
2534
2534
|
type: "button",
|
|
2535
2535
|
onClick: () => onPageChange(currentPage + 1),
|
|
2536
2536
|
disabled: currentPage === totalPages,
|
|
2537
|
-
className: "relative ml-3 inline-flex items-center rounded-md border border-
|
|
2537
|
+
className: "relative ml-3 inline-flex items-center rounded-md border border-white/30 dark:border-white/10 bg-white/40 dark:bg-white/[0.04] px-4 py-2 text-sm font-medium text-slate-700 hover:bg-white/40 dark:hover:bg-white/[0.08] disabled:opacity-50 disabled:cursor-not-allowed dark:text-slate-200",
|
|
2538
2538
|
children: t("next")
|
|
2539
2539
|
}
|
|
2540
2540
|
)
|
|
2541
2541
|
] }),
|
|
2542
2542
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between", children: [
|
|
2543
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-
|
|
2543
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-slate-700 dark:text-slate-300", children: t("showingRange", { from, to, total: totalItems }) }) }),
|
|
2544
2544
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2545
2545
|
"nav",
|
|
2546
2546
|
{
|
|
@@ -2553,7 +2553,7 @@ function Pagination({
|
|
|
2553
2553
|
type: "button",
|
|
2554
2554
|
onClick: () => onPageChange(currentPage - 1),
|
|
2555
2555
|
disabled: currentPage === 1,
|
|
2556
|
-
className: "relative inline-flex items-center rounded-l-md px-2 py-2 text-
|
|
2556
|
+
className: "relative inline-flex items-center rounded-l-md px-2 py-2 text-slate-400 ring-1 ring-inset ring-white/30 dark:ring-white/10 hover:bg-white/40 dark:hover:bg-white/[0.08] focus:z-20 focus:outline-offset-0 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
2557
2557
|
children: [
|
|
2558
2558
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: t("previous") }),
|
|
2559
2559
|
/* @__PURE__ */ jsxRuntime.jsx(solid.ChevronLeftIcon, { "aria-hidden": "true", className: "size-5" })
|
|
@@ -2564,7 +2564,7 @@ function Pagination({
|
|
|
2564
2564
|
(page, index) => page === "ellipsis" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2565
2565
|
"span",
|
|
2566
2566
|
{
|
|
2567
|
-
className: "relative inline-flex items-center px-4 py-2 text-sm font-semibold text-
|
|
2567
|
+
className: "relative inline-flex items-center px-4 py-2 text-sm font-semibold text-slate-700 ring-1 ring-inset ring-white/30 dark:ring-white/10 focus:outline-offset-0 dark:text-slate-400",
|
|
2568
2568
|
children: "..."
|
|
2569
2569
|
},
|
|
2570
2570
|
`ellipsis-${index}`
|
|
@@ -2574,7 +2574,7 @@ function Pagination({
|
|
|
2574
2574
|
type: "button",
|
|
2575
2575
|
onClick: () => onPageChange(page),
|
|
2576
2576
|
"aria-current": currentPage === page ? "page" : void 0,
|
|
2577
|
-
className: currentPage === page ? "relative z-10 inline-flex items-center bg-indigo-600 px-4 py-2 text-sm font-semibold text-white focus:z-20 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 dark:bg-indigo-500 dark:focus-visible:outline-indigo-500" : "relative inline-flex items-center px-4 py-2 text-sm font-semibold text-
|
|
2577
|
+
className: currentPage === page ? "relative z-10 inline-flex items-center bg-indigo-600 px-4 py-2 text-sm font-semibold text-white focus:z-20 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 dark:bg-indigo-500 dark:focus-visible:outline-indigo-500" : "relative inline-flex items-center px-4 py-2 text-sm font-semibold text-slate-900 ring-1 ring-inset ring-white/30 dark:ring-white/10 hover:bg-white/40 dark:hover:bg-white/[0.08] focus:z-20 focus:outline-offset-0 dark:text-slate-200",
|
|
2578
2578
|
children: page
|
|
2579
2579
|
},
|
|
2580
2580
|
page
|
|
@@ -2586,7 +2586,7 @@ function Pagination({
|
|
|
2586
2586
|
type: "button",
|
|
2587
2587
|
onClick: () => onPageChange(currentPage + 1),
|
|
2588
2588
|
disabled: currentPage === totalPages,
|
|
2589
|
-
className: "relative inline-flex items-center rounded-r-md px-2 py-2 text-
|
|
2589
|
+
className: "relative inline-flex items-center rounded-r-md px-2 py-2 text-slate-400 ring-1 ring-inset ring-white/30 dark:ring-white/10 hover:bg-white/40 dark:hover:bg-white/[0.08] focus:z-20 focus:outline-offset-0 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
2590
2590
|
children: [
|
|
2591
2591
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: t("next") }),
|
|
2592
2592
|
/* @__PURE__ */ jsxRuntime.jsx(solid.ChevronRightIcon, { "aria-hidden": "true", className: "size-5" })
|
|
@@ -2628,9 +2628,9 @@ var colorClasses2 = {
|
|
|
2628
2628
|
dot: "bg-emerald-600 dark:bg-emerald-400"
|
|
2629
2629
|
},
|
|
2630
2630
|
gray: {
|
|
2631
|
-
track: "border-
|
|
2632
|
-
indicator: "border-t-
|
|
2633
|
-
dot: "bg-
|
|
2631
|
+
track: "border-slate-200 dark:border-slate-700",
|
|
2632
|
+
indicator: "border-t-slate-600 dark:border-t-slate-400",
|
|
2633
|
+
dot: "bg-slate-600 dark:bg-slate-400"
|
|
2634
2634
|
},
|
|
2635
2635
|
current: {
|
|
2636
2636
|
track: "border-current/20",
|
|
@@ -2724,7 +2724,7 @@ function Spinner({
|
|
|
2724
2724
|
if (label) {
|
|
2725
2725
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
2726
2726
|
/* @__PURE__ */ jsxRuntime.jsx(SpinnerComponent, { size, color, className, ariaLabel }),
|
|
2727
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-
|
|
2727
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-slate-500 dark:text-slate-400", children: label })
|
|
2728
2728
|
] });
|
|
2729
2729
|
}
|
|
2730
2730
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2746,12 +2746,12 @@ function LoadingOverlay({ show, message, blur = true }) {
|
|
|
2746
2746
|
exit: { opacity: 0 },
|
|
2747
2747
|
className: clsx.clsx(
|
|
2748
2748
|
"fixed inset-0 z-50 flex flex-col items-center justify-center",
|
|
2749
|
-
"bg-white/80 dark:bg-
|
|
2749
|
+
"bg-white/80 dark:bg-slate-900/80",
|
|
2750
2750
|
blur && "backdrop-blur-sm"
|
|
2751
2751
|
),
|
|
2752
2752
|
children: [
|
|
2753
2753
|
/* @__PURE__ */ jsxRuntime.jsx(Spinner, { size: "lg", color: "blue", variant: "circle" }),
|
|
2754
|
-
message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-
|
|
2754
|
+
message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-slate-600 dark:text-slate-300 font-medium", children: message })
|
|
2755
2755
|
]
|
|
2756
2756
|
}
|
|
2757
2757
|
);
|
|
@@ -3043,7 +3043,7 @@ function SegmentedControl({
|
|
|
3043
3043
|
ref: containerRef,
|
|
3044
3044
|
className: `
|
|
3045
3045
|
relative inline-flex items-center rounded-xl
|
|
3046
|
-
bg-
|
|
3046
|
+
bg-white/40 dark:bg-white/[0.08]
|
|
3047
3047
|
${styles2.container}
|
|
3048
3048
|
${fullWidth ? "w-full" : ""}
|
|
3049
3049
|
${disabled ? "opacity-50 pointer-events-none" : ""}
|
|
@@ -3052,7 +3052,7 @@ function SegmentedControl({
|
|
|
3052
3052
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3053
3053
|
framerMotion.motion.div,
|
|
3054
3054
|
{
|
|
3055
|
-
className: "absolute top-1 bottom-1 rounded-lg bg-white dark:bg-
|
|
3055
|
+
className: "absolute top-1 bottom-1 rounded-lg bg-white/75 dark:bg-white/[0.12] shadow-sm backdrop-blur-sm",
|
|
3056
3056
|
initial: false,
|
|
3057
3057
|
animate: {
|
|
3058
3058
|
left: indicatorStyle.left,
|
|
@@ -3073,7 +3073,7 @@ function SegmentedControl({
|
|
|
3073
3073
|
font-medium rounded-lg transition-colors duration-150
|
|
3074
3074
|
${styles2.segment}
|
|
3075
3075
|
${fullWidth ? "flex-1" : ""}
|
|
3076
|
-
${isSelected ? "text-
|
|
3076
|
+
${isSelected ? "text-slate-900 dark:text-white" : "text-slate-500 dark:text-slate-400 hover:text-slate-700 dark:hover:text-slate-300"}
|
|
3077
3077
|
`,
|
|
3078
3078
|
children: [
|
|
3079
3079
|
segment.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: segment.icon }),
|
|
@@ -4110,10 +4110,10 @@ function Table({
|
|
|
4110
4110
|
children,
|
|
4111
4111
|
...props
|
|
4112
4112
|
}) {
|
|
4113
|
-
return /* @__PURE__ */ jsxRuntime.jsx(TableContext.Provider, { value: { bleed, dense, grid, striped, loading, emptyState }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flow-root", children: /* @__PURE__ */ jsxRuntime.jsx("div", { ...props, className: clsx__default.default(className, "-mx-(--gutter) overflow-x-auto whitespace-nowrap"), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx__default.default("inline-block min-w-full align-middle", !bleed && "sm:px-(--gutter)"), children: /* @__PURE__ */ jsxRuntime.jsx("table", { className: "min-w-full text-left text-sm/6 text-
|
|
4113
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TableContext.Provider, { value: { bleed, dense, grid, striped, loading, emptyState }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flow-root", children: /* @__PURE__ */ jsxRuntime.jsx("div", { ...props, className: clsx__default.default(className, "-mx-(--gutter) overflow-x-auto whitespace-nowrap"), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx__default.default("inline-block min-w-full align-middle", !bleed && "sm:px-(--gutter)"), children: /* @__PURE__ */ jsxRuntime.jsx("table", { className: "min-w-full text-left text-sm/6 text-slate-950 dark:text-white", children }) }) }) }) });
|
|
4114
4114
|
}
|
|
4115
4115
|
function TableHead({ className, ...props }) {
|
|
4116
|
-
return /* @__PURE__ */ jsxRuntime.jsx("thead", { ...props, className: clsx__default.default(className, "text-
|
|
4116
|
+
return /* @__PURE__ */ jsxRuntime.jsx("thead", { ...props, className: clsx__default.default(className, "text-slate-500 dark:text-slate-400") });
|
|
4117
4117
|
}
|
|
4118
4118
|
function TableBody(props) {
|
|
4119
4119
|
return /* @__PURE__ */ jsxRuntime.jsx("tbody", { ...props });
|
|
@@ -4138,9 +4138,9 @@ function TableRow({
|
|
|
4138
4138
|
className: clsx__default.default(
|
|
4139
4139
|
className,
|
|
4140
4140
|
href && "has-[[data-row-link][data-focus]]:outline-2 has-[[data-row-link][data-focus]]:-outline-offset-2 has-[[data-row-link][data-focus]]:outline-blue-500 dark:focus-within:bg-white/2.5",
|
|
4141
|
-
striped && "even:bg-
|
|
4142
|
-
href && striped && "hover:bg-
|
|
4143
|
-
href && !striped && "hover:bg-
|
|
4141
|
+
striped && "even:bg-slate-950/2.5 dark:even:bg-white/2.5",
|
|
4142
|
+
href && striped && "hover:bg-slate-950/5 dark:hover:bg-white/5",
|
|
4143
|
+
href && !striped && "hover:bg-slate-950/2.5 dark:hover:bg-white/2.5"
|
|
4144
4144
|
)
|
|
4145
4145
|
}
|
|
4146
4146
|
) });
|
|
@@ -4153,8 +4153,8 @@ function TableHeader({ className, ...props }) {
|
|
|
4153
4153
|
...props,
|
|
4154
4154
|
className: clsx__default.default(
|
|
4155
4155
|
className,
|
|
4156
|
-
"border-b border-b-
|
|
4157
|
-
grid && "border-l border-l-
|
|
4156
|
+
"border-b border-b-white/20 dark:border-b-white/10 px-4 py-2 font-medium first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
4157
|
+
grid && "border-l border-l-white/20 first:border-l-0 dark:border-l-white/10",
|
|
4158
4158
|
!bleed && "sm:first:pl-1 sm:last:pr-1"
|
|
4159
4159
|
)
|
|
4160
4160
|
}
|
|
@@ -4172,8 +4172,8 @@ function TableCell({ className, children, ...props }) {
|
|
|
4172
4172
|
className: clsx__default.default(
|
|
4173
4173
|
className,
|
|
4174
4174
|
"relative px-4 first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
4175
|
-
!striped && "border-b border-
|
|
4176
|
-
grid && "border-l border-l-
|
|
4175
|
+
!striped && "border-b border-white/20 dark:border-white/[0.08]",
|
|
4176
|
+
grid && "border-l border-l-white/20 first:border-l-0 dark:border-l-white/10",
|
|
4177
4177
|
dense ? "py-2.5" : "py-4",
|
|
4178
4178
|
!bleed && "sm:first:pl-1 sm:last:pr-1"
|
|
4179
4179
|
),
|
|
@@ -4223,10 +4223,10 @@ function SortableTableHeader({
|
|
|
4223
4223
|
onClick: handleSort,
|
|
4224
4224
|
className: clsx__default.default(
|
|
4225
4225
|
className,
|
|
4226
|
-
"border-b border-b-
|
|
4227
|
-
grid && "border-l border-l-
|
|
4226
|
+
"border-b border-b-white/20 dark:border-b-white/10 px-4 py-2 font-medium first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
4227
|
+
grid && "border-l border-l-white/20 first:border-l-0 dark:border-l-white/10",
|
|
4228
4228
|
!bleed && "sm:first:pl-1 sm:last:pr-1",
|
|
4229
|
-
"cursor-pointer select-none hover:bg-
|
|
4229
|
+
"cursor-pointer select-none hover:bg-white/30 dark:hover:bg-white/[0.06] transition-colors",
|
|
4230
4230
|
isActive && "text-[#007AFF] dark:text-[#0A84FF]"
|
|
4231
4231
|
),
|
|
4232
4232
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
@@ -4255,14 +4255,14 @@ function TableSkeletonRow({
|
|
|
4255
4255
|
{
|
|
4256
4256
|
className: clsx__default.default(
|
|
4257
4257
|
"px-4 first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
4258
|
-
"border-b border-
|
|
4258
|
+
"border-b border-white/20 dark:border-white/[0.08]",
|
|
4259
4259
|
dense ? "py-2.5" : "py-4"
|
|
4260
4260
|
),
|
|
4261
4261
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4262
4262
|
"div",
|
|
4263
4263
|
{
|
|
4264
4264
|
className: clsx__default.default(
|
|
4265
|
-
"h-4 rounded bg-
|
|
4265
|
+
"h-4 rounded bg-slate-200 dark:bg-slate-700 animate-pulse",
|
|
4266
4266
|
i === 0 ? "w-32" : i === columns - 1 ? "w-16" : "w-24"
|
|
4267
4267
|
)
|
|
4268
4268
|
}
|
|
@@ -4292,10 +4292,10 @@ function TableEmptyState({
|
|
|
4292
4292
|
transition: getTransition(springPresets.gentle),
|
|
4293
4293
|
className: "flex flex-col items-center gap-3",
|
|
4294
4294
|
children: [
|
|
4295
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 rounded-full bg-
|
|
4295
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 rounded-full bg-white/40 dark:bg-white/[0.04] flex items-center justify-center text-slate-400 dark:text-slate-500", children: icon }),
|
|
4296
4296
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
4297
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "font-medium text-
|
|
4298
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-
|
|
4297
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "font-medium text-slate-900 dark:text-white", children: title }),
|
|
4298
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-slate-500 dark:text-slate-400 max-w-sm", children: description })
|
|
4299
4299
|
] }),
|
|
4300
4300
|
action && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2", children: action })
|
|
4301
4301
|
]
|
|
@@ -4326,9 +4326,9 @@ function AnimatedTableRow({
|
|
|
4326
4326
|
className: clsx__default.default(
|
|
4327
4327
|
className,
|
|
4328
4328
|
href && "has-[[data-row-link][data-focus]]:outline-2 has-[[data-row-link][data-focus]]:-outline-offset-2 has-[[data-row-link][data-focus]]:outline-blue-500 dark:focus-within:bg-white/2.5",
|
|
4329
|
-
striped && "even:bg-
|
|
4330
|
-
href && striped && "hover:bg-
|
|
4331
|
-
href && !striped && "hover:bg-
|
|
4329
|
+
striped && "even:bg-slate-950/2.5 dark:even:bg-white/2.5",
|
|
4330
|
+
href && striped && "hover:bg-slate-950/5 dark:hover:bg-white/5",
|
|
4331
|
+
href && !striped && "hover:bg-slate-950/2.5 dark:hover:bg-white/2.5"
|
|
4332
4332
|
)
|
|
4333
4333
|
}
|
|
4334
4334
|
) });
|
|
@@ -4355,9 +4355,9 @@ function SelectableTableRow({
|
|
|
4355
4355
|
className: clsx__default.default(
|
|
4356
4356
|
className,
|
|
4357
4357
|
href && "has-[[data-row-link][data-focus]]:outline-2 has-[[data-row-link][data-focus]]:-outline-offset-2 has-[[data-row-link][data-focus]]:outline-blue-500 dark:focus-within:bg-white/2.5",
|
|
4358
|
-
striped && "even:bg-
|
|
4359
|
-
href && striped && "hover:bg-
|
|
4360
|
-
href && !striped && "hover:bg-
|
|
4358
|
+
striped && "even:bg-slate-950/2.5 dark:even:bg-white/2.5",
|
|
4359
|
+
href && striped && "hover:bg-slate-950/5 dark:hover:bg-white/5",
|
|
4360
|
+
href && !striped && "hover:bg-slate-950/2.5 dark:hover:bg-white/2.5",
|
|
4361
4361
|
selected && "bg-[#007AFF]/5 dark:bg-[#0A84FF]/10"
|
|
4362
4362
|
),
|
|
4363
4363
|
children: [
|
|
@@ -4366,7 +4366,7 @@ function SelectableTableRow({
|
|
|
4366
4366
|
{
|
|
4367
4367
|
className: clsx__default.default(
|
|
4368
4368
|
"px-4 first:pl-(--gutter,--spacing(2))",
|
|
4369
|
-
"border-b border-
|
|
4369
|
+
"border-b border-white/20 dark:border-white/[0.08]",
|
|
4370
4370
|
dense ? "py-2.5" : "py-4"
|
|
4371
4371
|
),
|
|
4372
4372
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4381,7 +4381,7 @@ function SelectableTableRow({
|
|
|
4381
4381
|
transition: getTransition(springPresets.stiff),
|
|
4382
4382
|
className: clsx__default.default(
|
|
4383
4383
|
"h-5 w-5 rounded-full border-2 flex items-center justify-center transition-colors",
|
|
4384
|
-
selected ? "bg-[#007AFF] dark:bg-[#0A84FF] border-[#007AFF] dark:border-[#0A84FF]" : "border-
|
|
4384
|
+
selected ? "bg-[#007AFF] dark:bg-[#0A84FF] border-[#007AFF] dark:border-[#0A84FF]" : "border-slate-300 dark:border-slate-600"
|
|
4385
4385
|
),
|
|
4386
4386
|
children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { children: selected && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4387
4387
|
framerMotion.motion.svg,
|
|
@@ -4419,9 +4419,9 @@ function EmptyState({
|
|
|
4419
4419
|
action?.onClick();
|
|
4420
4420
|
};
|
|
4421
4421
|
const containerClasses = {
|
|
4422
|
-
default: "
|
|
4422
|
+
default: "liquid-surface rounded-xl border border-dashed border-white/30 dark:border-white/10",
|
|
4423
4423
|
minimal: "",
|
|
4424
|
-
card: "
|
|
4424
|
+
card: "liquid-surface rounded-2xl border border-white/20 dark:border-white/10"
|
|
4425
4425
|
};
|
|
4426
4426
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4427
4427
|
"div",
|
|
@@ -4435,7 +4435,7 @@ function EmptyState({
|
|
|
4435
4435
|
animate: { scale: 1, opacity: 1 },
|
|
4436
4436
|
transition: springPresets.bouncy,
|
|
4437
4437
|
className: "mx-auto mb-4",
|
|
4438
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-
|
|
4438
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-white/40 dark:bg-white/[0.04]", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-8 w-8 text-slate-400 dark:text-slate-500" }) })
|
|
4439
4439
|
}
|
|
4440
4440
|
),
|
|
4441
4441
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4445,8 +4445,8 @@ function EmptyState({
|
|
|
4445
4445
|
animate: { y: 0, opacity: 1 },
|
|
4446
4446
|
transition: { ...springPresets.default, delay: 0.1 },
|
|
4447
4447
|
children: [
|
|
4448
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base font-semibold text-
|
|
4449
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-
|
|
4448
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base font-semibold text-slate-900 dark:text-white", children: message }),
|
|
4449
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-slate-500 dark:text-slate-400 max-w-sm mx-auto", children: description })
|
|
4450
4450
|
]
|
|
4451
4451
|
}
|
|
4452
4452
|
),
|
|
@@ -4463,7 +4463,7 @@ function EmptyState({
|
|
|
4463
4463
|
whileTap: { scale: 0.97 },
|
|
4464
4464
|
transition: springPresets.stiff,
|
|
4465
4465
|
onClick: handleActionClick,
|
|
4466
|
-
className: "inline-flex items-center justify-center rounded-full bg-blue-500 px-6 py-2.5 text-sm font-semibold text-white shadow-md hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 dark:focus:ring-offset-
|
|
4466
|
+
className: "inline-flex items-center justify-center rounded-full bg-blue-500 px-6 py-2.5 text-sm font-semibold text-white shadow-md hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 dark:focus:ring-offset-slate-900 transition-colors",
|
|
4467
4467
|
children: action.label
|
|
4468
4468
|
}
|
|
4469
4469
|
)
|
|
@@ -4506,8 +4506,8 @@ var errorTypeConfig = {
|
|
|
4506
4506
|
icon: HeroIcons.DocumentMagnifyingGlassIcon,
|
|
4507
4507
|
titleKey: "notFoundTitle",
|
|
4508
4508
|
messageKey: "notFoundMessage",
|
|
4509
|
-
iconBg: "bg-
|
|
4510
|
-
iconColor: "text-
|
|
4509
|
+
iconBg: "bg-white/40 dark:bg-white/[0.04]",
|
|
4510
|
+
iconColor: "text-slate-400 dark:text-slate-500"
|
|
4511
4511
|
}
|
|
4512
4512
|
};
|
|
4513
4513
|
function ErrorState({
|
|
@@ -4543,10 +4543,10 @@ function ErrorState({
|
|
|
4543
4543
|
setShowErrorDetails(!showErrorDetails);
|
|
4544
4544
|
};
|
|
4545
4545
|
const containerClasses = {
|
|
4546
|
-
default: "
|
|
4546
|
+
default: "liquid-surface rounded-xl border border-white/30 dark:border-white/10",
|
|
4547
4547
|
minimal: "",
|
|
4548
|
-
card: "
|
|
4549
|
-
fullscreen: "fixed inset-0 flex items-center justify-center bg-white dark:bg-
|
|
4548
|
+
card: "liquid-surface rounded-2xl border border-white/20 dark:border-white/10",
|
|
4549
|
+
fullscreen: "fixed inset-0 flex items-center justify-center bg-white dark:bg-slate-900 z-50"
|
|
4550
4550
|
};
|
|
4551
4551
|
const content = /* @__PURE__ */ jsxRuntime.jsxs("div", { role: "alert", className: variant === "fullscreen" ? "" : `px-6 py-12 text-center ${containerClasses[variant]}`, children: [
|
|
4552
4552
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4566,9 +4566,9 @@ function ErrorState({
|
|
|
4566
4566
|
animate: { y: 0, opacity: 1 },
|
|
4567
4567
|
transition: { ...getTransition(springPresets.default), delay: 0.1 },
|
|
4568
4568
|
children: [
|
|
4569
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-
|
|
4570
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-
|
|
4571
|
-
errorCode && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-
|
|
4569
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-slate-900 dark:text-white", children: title || t(config.titleKey) }),
|
|
4570
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-slate-500 dark:text-slate-400 max-w-sm mx-auto", children: message || t(config.messageKey) }),
|
|
4571
|
+
errorCode && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-slate-400 dark:text-slate-500 font-mono", children: t("errorCode", { code: errorCode }) })
|
|
4572
4572
|
]
|
|
4573
4573
|
}
|
|
4574
4574
|
),
|
|
@@ -4587,7 +4587,7 @@ function ErrorState({
|
|
|
4587
4587
|
transition: getTransition(springPresets.stiff),
|
|
4588
4588
|
onClick: handleRetry,
|
|
4589
4589
|
disabled: isRetrying,
|
|
4590
|
-
className: "inline-flex items-center justify-center gap-2 rounded-full bg-[#007AFF] dark:bg-[#0A84FF] px-6 py-2.5 text-sm font-semibold text-white shadow-md hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-[#007AFF] focus:ring-offset-2 dark:focus:ring-offset-
|
|
4590
|
+
className: "inline-flex items-center justify-center gap-2 rounded-full bg-[#007AFF] dark:bg-[#0A84FF] px-6 py-2.5 text-sm font-semibold text-white shadow-md hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-[#007AFF] focus:ring-offset-2 dark:focus:ring-offset-slate-900 transition-all disabled:opacity-50",
|
|
4591
4591
|
children: [
|
|
4592
4592
|
/* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { mode: "wait", children: isRetrying ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4593
4593
|
framerMotion.motion.span,
|
|
@@ -4622,7 +4622,7 @@ function ErrorState({
|
|
|
4622
4622
|
chunkUZ3CMNUJ_js.triggerHaptic("light");
|
|
4623
4623
|
secondaryAction.onClick();
|
|
4624
4624
|
},
|
|
4625
|
-
className: "inline-flex items-center justify-center rounded-full px-6 py-2.5 text-sm font-semibold text-
|
|
4625
|
+
className: "inline-flex items-center justify-center rounded-full px-6 py-2.5 text-sm font-semibold text-slate-700 dark:text-slate-300 hover:bg-white/40 dark:hover:bg-white/[0.08] focus:outline-none focus:ring-2 focus:ring-white/30 dark:ring-white/10 focus:ring-offset-2 dark:focus:ring-offset-slate-900 transition-colors",
|
|
4626
4626
|
children: secondaryAction.label
|
|
4627
4627
|
}
|
|
4628
4628
|
)
|
|
@@ -4641,7 +4641,7 @@ function ErrorState({
|
|
|
4641
4641
|
"button",
|
|
4642
4642
|
{
|
|
4643
4643
|
onClick: toggleDetails,
|
|
4644
|
-
className: "text-xs text-
|
|
4644
|
+
className: "text-xs text-slate-400 dark:text-slate-500 hover:text-slate-600 dark:hover:text-slate-400 transition-colors",
|
|
4645
4645
|
children: showErrorDetails ? t("hideDetails") : t("showDetails")
|
|
4646
4646
|
}
|
|
4647
4647
|
),
|
|
@@ -4653,7 +4653,7 @@ function ErrorState({
|
|
|
4653
4653
|
exit: { height: 0, opacity: 0 },
|
|
4654
4654
|
transition: getTransition(springPresets.gentle),
|
|
4655
4655
|
className: "overflow-hidden",
|
|
4656
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "mt-3 p-3 bg-
|
|
4656
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "mt-3 p-3 bg-white/40 dark:bg-white/[0.04] rounded-lg text-xs text-left text-slate-600 dark:text-slate-400 font-mono overflow-x-auto max-h-32", children: details })
|
|
4657
4657
|
}
|
|
4658
4658
|
) })
|
|
4659
4659
|
]
|
|
@@ -4705,7 +4705,7 @@ function NoResultsState({
|
|
|
4705
4705
|
animate: { scale: 1, opacity: 1 },
|
|
4706
4706
|
transition: getTransition(springPresets.bouncy),
|
|
4707
4707
|
className: "mx-auto mb-4",
|
|
4708
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-
|
|
4708
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-white/40 dark:bg-white/[0.04]", children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.DocumentMagnifyingGlassIcon, { className: "h-8 w-8 text-slate-400 dark:text-slate-500" }) })
|
|
4709
4709
|
}
|
|
4710
4710
|
),
|
|
4711
4711
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4715,14 +4715,14 @@ function NoResultsState({
|
|
|
4715
4715
|
animate: { y: 0, opacity: 1 },
|
|
4716
4716
|
transition: { ...getTransition(springPresets.default), delay: 0.1 },
|
|
4717
4717
|
children: [
|
|
4718
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-
|
|
4719
|
-
searchTerm && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-
|
|
4718
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-slate-900 dark:text-white", children: t("noResultsFound") }),
|
|
4719
|
+
searchTerm && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-slate-500 dark:text-slate-400", children: t("noResultsFor", { searchTerm }) }),
|
|
4720
4720
|
suggestions && suggestions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4", children: [
|
|
4721
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-
|
|
4721
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-slate-400 dark:text-slate-500 mb-2", children: t("trySuggestions") }),
|
|
4722
4722
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap justify-center gap-2", children: suggestions.map((suggestion, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4723
4723
|
"span",
|
|
4724
4724
|
{
|
|
4725
|
-
className: "px-3 py-1 text-xs rounded-full bg-
|
|
4725
|
+
className: "px-3 py-1 text-xs rounded-full bg-white/40 dark:bg-white/[0.04] text-slate-600 dark:text-slate-400",
|
|
4726
4726
|
children: suggestion
|
|
4727
4727
|
},
|
|
4728
4728
|
index
|
|
@@ -4760,7 +4760,7 @@ function NoDataState({
|
|
|
4760
4760
|
const resolvedTitle = title || t("noDataTitle");
|
|
4761
4761
|
const resolvedMessage = message || t("noDataMessage");
|
|
4762
4762
|
const resolvedActionLabel = actionLabel || t("createNew");
|
|
4763
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 py-12 text-center
|
|
4763
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 py-12 text-center liquid-surface rounded-xl border border-dashed border-white/30 dark:border-white/10", children: [
|
|
4764
4764
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4765
4765
|
framerMotion.motion.div,
|
|
4766
4766
|
{
|
|
@@ -4768,7 +4768,7 @@ function NoDataState({
|
|
|
4768
4768
|
animate: { scale: 1, opacity: 1 },
|
|
4769
4769
|
transition: getTransition(springPresets.bouncy),
|
|
4770
4770
|
className: "mx-auto mb-4",
|
|
4771
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-
|
|
4771
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-white/40 dark:bg-white/[0.04]", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-8 w-8 text-slate-400 dark:text-slate-500" }) })
|
|
4772
4772
|
}
|
|
4773
4773
|
),
|
|
4774
4774
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4778,8 +4778,8 @@ function NoDataState({
|
|
|
4778
4778
|
animate: { y: 0, opacity: 1 },
|
|
4779
4779
|
transition: { ...getTransition(springPresets.default), delay: 0.1 },
|
|
4780
4780
|
children: [
|
|
4781
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base font-semibold text-
|
|
4782
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-
|
|
4781
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base font-semibold text-slate-900 dark:text-white", children: resolvedTitle }),
|
|
4782
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-slate-500 dark:text-slate-400 max-w-sm mx-auto", children: resolvedMessage })
|
|
4783
4783
|
]
|
|
4784
4784
|
}
|
|
4785
4785
|
),
|
|
@@ -5337,7 +5337,7 @@ var TONE_STYLES = {
|
|
|
5337
5337
|
error: { container: "border-red-500/30 bg-red-500/20 text-red-600 dark:text-red-400", dot: "bg-red-500" },
|
|
5338
5338
|
warning: { container: "border-amber-500/30 bg-amber-500/20 text-amber-600 dark:text-amber-400", dot: "bg-amber-500" },
|
|
5339
5339
|
info: { container: "border-blue-500/30 bg-blue-500/20 text-blue-600 dark:text-blue-400", dot: "bg-blue-500" },
|
|
5340
|
-
neutral: { container: "border-
|
|
5340
|
+
neutral: { container: "border-slate-500/30 bg-slate-500/20 text-slate-600 dark:text-slate-400", dot: "bg-slate-500" },
|
|
5341
5341
|
success: { container: "border-emerald-500/30 bg-emerald-500/20 text-emerald-600 dark:text-emerald-400", dot: "bg-emerald-500" }
|
|
5342
5342
|
};
|
|
5343
5343
|
var LEGACY_STATUS_STYLES = {
|
|
@@ -5345,7 +5345,7 @@ var LEGACY_STATUS_STYLES = {
|
|
|
5345
5345
|
approved: "border-green-200 bg-green-50 text-green-700 dark:border-green-700/30 dark:bg-green-900/20 dark:text-green-400",
|
|
5346
5346
|
rejected: "border-red-200 bg-red-50 text-red-700 dark:border-red-700/30 dark:bg-red-900/20 dark:text-red-400",
|
|
5347
5347
|
active: "border-emerald-200 bg-emerald-50 text-emerald-700 dark:border-emerald-700/30 dark:bg-emerald-900/20 dark:text-emerald-400",
|
|
5348
|
-
inactive: "border-
|
|
5348
|
+
inactive: "border-white/30 dark:border-white/10 bg-slate-500/10 text-slate-700 dark:bg-slate-900/20 dark:text-slate-400",
|
|
5349
5349
|
processing: "border-blue-200 bg-blue-50 text-blue-700 dark:border-blue-700/30 dark:bg-blue-900/20 dark:text-blue-400",
|
|
5350
5350
|
error: "border-red-200 bg-red-50 text-red-700 dark:border-red-700/30 dark:bg-red-900/20 dark:text-red-400",
|
|
5351
5351
|
success: "border-green-200 bg-green-50 text-green-700 dark:border-green-700/30 dark:bg-green-900/20 dark:text-green-400"
|
|
@@ -5355,7 +5355,7 @@ var LEGACY_DOT_STYLES = {
|
|
|
5355
5355
|
approved: "bg-green-500",
|
|
5356
5356
|
rejected: "bg-red-500",
|
|
5357
5357
|
active: "bg-emerald-500",
|
|
5358
|
-
inactive: "bg-
|
|
5358
|
+
inactive: "bg-slate-500",
|
|
5359
5359
|
processing: "bg-blue-500",
|
|
5360
5360
|
error: "bg-red-500",
|
|
5361
5361
|
success: "bg-green-500"
|
|
@@ -5364,7 +5364,7 @@ var SIZE_STYLES = {
|
|
|
5364
5364
|
sm: "px-2 py-0.5 text-xs",
|
|
5365
5365
|
md: "px-2.5 py-1 text-xs"
|
|
5366
5366
|
};
|
|
5367
|
-
var DEFAULT_LEGACY_STYLE = "border-
|
|
5367
|
+
var DEFAULT_LEGACY_STYLE = "border-white/30 dark:border-white/10 bg-slate-500/10 text-slate-700 dark:bg-slate-900/20 dark:text-slate-400";
|
|
5368
5368
|
var StatusBadge = React11.forwardRef(function StatusBadge2({ status, label, size = "md", className = "", ...props }, ref) {
|
|
5369
5369
|
if ("statusConfig" in props && props.statusConfig) {
|
|
5370
5370
|
const configuredStatus = props.statusConfig[status];
|
|
@@ -5390,7 +5390,7 @@ var StatusBadge = React11.forwardRef(function StatusBadge2({ status, label, size
|
|
|
5390
5390
|
);
|
|
5391
5391
|
}
|
|
5392
5392
|
const legacyStyle = LEGACY_STATUS_STYLES[status] ?? DEFAULT_LEGACY_STYLE;
|
|
5393
|
-
const legacyDot = LEGACY_DOT_STYLES[status] ?? "bg-
|
|
5393
|
+
const legacyDot = LEGACY_DOT_STYLES[status] ?? "bg-slate-500";
|
|
5394
5394
|
const resolvedLabel = label ?? status;
|
|
5395
5395
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5396
5396
|
"div",
|
|
@@ -5478,7 +5478,7 @@ function Dialog4({
|
|
|
5478
5478
|
Headless6__namespace.DialogBackdrop,
|
|
5479
5479
|
{
|
|
5480
5480
|
transition: true,
|
|
5481
|
-
className: "fixed inset-0 flex w-screen justify-center overflow-y-auto bg-
|
|
5481
|
+
className: "fixed inset-0 flex w-screen justify-center overflow-y-auto bg-slate-950/25 backdrop-blur-sm px-2 py-2 transition duration-100 focus:outline-0 data-closed:opacity-0 data-enter:ease-out data-leave:ease-in sm:px-6 sm:py-8 lg:px-8 lg:py-16 dark:bg-slate-950/50"
|
|
5482
5482
|
}
|
|
5483
5483
|
),
|
|
5484
5484
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 w-screen overflow-y-auto pt-6 sm:pt-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid min-h-full grid-rows-[1fr_auto] justify-items-center sm:grid-rows-[1fr_auto_3fr] sm:p-4", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5488,7 +5488,7 @@ function Dialog4({
|
|
|
5488
5488
|
className: clsx__default.default(
|
|
5489
5489
|
className,
|
|
5490
5490
|
sizes2[size],
|
|
5491
|
-
"row-start-2 w-full min-w-0 rounded-t-3xl bg-white p-(--gutter) shadow-lg ring-1 ring-
|
|
5491
|
+
"row-start-2 w-full min-w-0 rounded-t-3xl bg-white/80 backdrop-blur-2xl p-(--gutter) shadow-lg ring-1 ring-white/30 [--gutter:--spacing(8)] sm:mb-auto sm:rounded-2xl dark:bg-slate-900/80 dark:ring-white/10 forced-colors:outline",
|
|
5492
5492
|
"transition duration-100 will-change-transform data-closed:translate-y-12 data-closed:opacity-0 data-enter:ease-out data-leave:ease-in sm:data-closed:translate-y-0 sm:data-closed:data-enter:scale-95"
|
|
5493
5493
|
),
|
|
5494
5494
|
children
|
|
@@ -5506,7 +5506,7 @@ function DialogTitle3({
|
|
|
5506
5506
|
...props,
|
|
5507
5507
|
className: clsx__default.default(
|
|
5508
5508
|
className,
|
|
5509
|
-
"text-lg/6 font-semibold text-balance text-
|
|
5509
|
+
"text-lg/6 font-semibold text-balance text-slate-950 sm:text-base/6 dark:text-white"
|
|
5510
5510
|
)
|
|
5511
5511
|
}
|
|
5512
5512
|
);
|
|
@@ -5908,12 +5908,12 @@ function FormModal({
|
|
|
5908
5908
|
onSubmit?.(e);
|
|
5909
5909
|
};
|
|
5910
5910
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5911
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liquid-surface shrink-0 border-b border-
|
|
5911
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liquid-surface shrink-0 border-b border-white/30 dark:border-white/10 rounded-t-2xl", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-4 sm:px-6 py-3 sm:py-4 flex items-center justify-between", children: [
|
|
5912
5912
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5913
5913
|
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0", children: icon }),
|
|
5914
5914
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
5915
|
-
/* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogTitle, { className: "text-base sm:text-lg font-semibold text-
|
|
5916
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs sm:text-sm text-
|
|
5915
|
+
/* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogTitle, { className: "text-base sm:text-lg font-semibold text-slate-900 dark:text-white", children: title }),
|
|
5916
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs sm:text-sm text-slate-500 dark:text-slate-400 mt-0.5", children: subtitle })
|
|
5917
5917
|
] })
|
|
5918
5918
|
] }),
|
|
5919
5919
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5927,7 +5927,7 @@ function FormModal({
|
|
|
5927
5927
|
)
|
|
5928
5928
|
] }) }),
|
|
5929
5929
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 sm:px-6 py-4 sm:py-6", children }) }),
|
|
5930
|
-
showFooter && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "liquid-surface shrink-0 border-t border-
|
|
5930
|
+
showFooter && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "liquid-surface shrink-0 border-t border-white/30 dark:border-white/10 rounded-b-2xl", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 sm:px-6 py-3 sm:py-4 flex flex-col sm:flex-row justify-end gap-2 sm:gap-3", children: footer || /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5931
5931
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5932
5932
|
Button,
|
|
5933
5933
|
{
|
|
@@ -7148,9 +7148,21 @@ function StepFormPage({
|
|
|
7148
7148
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "liquid-surface overflow-hidden rounded-2xl", children: [
|
|
7149
7149
|
gradient && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-1.5 w-full bg-gradient-to-r ${gradient}` }),
|
|
7150
7150
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-5 sm:p-8", children: [
|
|
7151
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center
|
|
7152
|
-
|
|
7153
|
-
|
|
7151
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
7152
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-slate-600 dark:text-white/70", children: [
|
|
7153
|
+
icon,
|
|
7154
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium", children: label })
|
|
7155
|
+
] }),
|
|
7156
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7157
|
+
"button",
|
|
7158
|
+
{
|
|
7159
|
+
type: "button",
|
|
7160
|
+
onClick: onCancel,
|
|
7161
|
+
className: "rounded-xl p-2 text-gray-400 transition hover:bg-white/60 dark:hover:bg-white/10",
|
|
7162
|
+
"aria-label": "Close",
|
|
7163
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.XMarkIcon, { className: "h-5 w-5" })
|
|
7164
|
+
}
|
|
7165
|
+
)
|
|
7154
7166
|
] }),
|
|
7155
7167
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: "mt-2 text-2xl font-bold tracking-tight text-slate-900 dark:text-white sm:text-3xl", children: steps[currentStep]?.title ?? title }),
|
|
7156
7168
|
steps[currentStep]?.description ?? subtitle ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 max-w-xl text-sm text-slate-500 dark:text-white/60 sm:text-base", children: steps[currentStep]?.description ?? subtitle }) : null,
|
|
@@ -7386,7 +7398,7 @@ function StatusBadgeInternal({ status }) {
|
|
|
7386
7398
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7387
7399
|
"span",
|
|
7388
7400
|
{
|
|
7389
|
-
className: `shrink-0 rounded-full px-2 py-0.5 text-xs font-medium ${status ? "bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-300" : "bg-
|
|
7401
|
+
className: `shrink-0 rounded-full px-2 py-0.5 text-xs font-medium ${status ? "bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-300" : "bg-white/40 text-slate-500 dark:bg-white/[0.08] dark:text-slate-400"}`,
|
|
7390
7402
|
children: status ? tCommon("active") : tCommon("inactive")
|
|
7391
7403
|
}
|
|
7392
7404
|
);
|
|
@@ -7422,14 +7434,14 @@ function EntityCard({
|
|
|
7422
7434
|
title,
|
|
7423
7435
|
subtitle,
|
|
7424
7436
|
iconContainerClassName: "shrink-0",
|
|
7425
|
-
titleClassName: isPlainTextTitle(title) ? "truncate font-semibold text-
|
|
7426
|
-
subtitleClassName: "mt-0.5 text-xs text-
|
|
7437
|
+
titleClassName: isPlainTextTitle(title) ? "truncate font-semibold text-slate-900 dark:text-white" : "font-semibold text-slate-900 dark:text-white",
|
|
7438
|
+
subtitleClassName: "mt-0.5 text-xs text-slate-500 dark:text-slate-400"
|
|
7427
7439
|
}
|
|
7428
7440
|
),
|
|
7429
7441
|
status !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(StatusBadgeInternal, { status })
|
|
7430
7442
|
] }),
|
|
7431
7443
|
children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3", children }),
|
|
7432
|
-
footer && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 border-t border-
|
|
7444
|
+
footer && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 border-t border-white/30 pt-3 dark:border-white/10 flex gap-2 justify-end opacity-0 transition-opacity duration-200 group-hover:opacity-100", children: footer })
|
|
7433
7445
|
] })
|
|
7434
7446
|
]
|
|
7435
7447
|
}
|
|
@@ -8606,7 +8618,7 @@ var colors = {
|
|
|
8606
8618
|
fuchsia: "bg-fuchsia-400/15 text-fuchsia-700 group-data-hover:bg-fuchsia-400/25 dark:bg-fuchsia-400/10 dark:text-fuchsia-400 dark:group-data-hover:bg-fuchsia-400/20",
|
|
8607
8619
|
pink: "bg-pink-400/15 text-pink-700 group-data-hover:bg-pink-400/25 dark:bg-pink-400/10 dark:text-pink-400 dark:group-data-hover:bg-pink-400/20",
|
|
8608
8620
|
rose: "bg-rose-400/15 text-rose-700 group-data-hover:bg-rose-400/25 dark:bg-rose-400/10 dark:text-rose-400 dark:group-data-hover:bg-rose-400/20",
|
|
8609
|
-
zinc: "bg-
|
|
8621
|
+
zinc: "bg-slate-600/10 text-slate-700 group-data-hover:bg-slate-600/20 dark:bg-white/5 dark:text-slate-400 dark:group-data-hover:bg-white/10"
|
|
8610
8622
|
};
|
|
8611
8623
|
function Badge({ color = "zinc", className, ...props }) {
|
|
8612
8624
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12781,9 +12793,9 @@ var ContactCard = React11__namespace.default.memo(function ContactCard2({
|
|
|
12781
12793
|
phone
|
|
12782
12794
|
}) {
|
|
12783
12795
|
const t = nextIntl.useTranslations("contact");
|
|
12784
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl
|
|
12785
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base/7 font-semibold text-
|
|
12786
|
-
/* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "mt-3 space-y-1 text-sm/6 text-
|
|
12796
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl liquid-surface p-10", children: [
|
|
12797
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base/7 font-semibold text-slate-900", children: t(type) }),
|
|
12798
|
+
/* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "mt-3 space-y-1 text-sm/6 text-slate-600", children: [
|
|
12787
12799
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
12788
12800
|
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "sr-only", children: "Email" }),
|
|
12789
12801
|
/* @__PURE__ */ jsxRuntime.jsx("dd", { children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${email}`, className: "font-semibold text-blue-600", children: email }) })
|
|
@@ -12800,9 +12812,9 @@ var OfficeCard = React11__namespace.default.memo(function OfficeCard2({
|
|
|
12800
12812
|
address,
|
|
12801
12813
|
postalCode
|
|
12802
12814
|
}) {
|
|
12803
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl
|
|
12804
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base/7 font-semibold text-
|
|
12805
|
-
/* @__PURE__ */ jsxRuntime.jsxs("address", { className: "mt-3 space-y-1 text-sm/6 text-
|
|
12815
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl liquid-surface p-10", children: [
|
|
12816
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base/7 font-semibold text-slate-900", children: city }),
|
|
12817
|
+
/* @__PURE__ */ jsxRuntime.jsxs("address", { className: "mt-3 space-y-1 text-sm/6 text-slate-600 not-italic", children: [
|
|
12806
12818
|
/* @__PURE__ */ jsxRuntime.jsx("p", { children: address }),
|
|
12807
12819
|
/* @__PURE__ */ jsxRuntime.jsx("p", { children: postalCode })
|
|
12808
12820
|
] })
|
|
@@ -12812,8 +12824,8 @@ var ContactSection = React11__namespace.default.memo(
|
|
|
12812
12824
|
function ContactSection2({ title, subtitle, children }) {
|
|
12813
12825
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-10 py-16 lg:grid-cols-3", children: [
|
|
12814
12826
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
12815
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-4xl font-semibold tracking-tight text-pretty text-
|
|
12816
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-base/7 text-
|
|
12827
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-4xl font-semibold tracking-tight text-pretty text-slate-900", children: title }),
|
|
12828
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-base/7 text-slate-600", children: subtitle })
|
|
12817
12829
|
] }),
|
|
12818
12830
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8", children })
|
|
12819
12831
|
] });
|
|
@@ -12866,9 +12878,9 @@ function DropdownMenu({
|
|
|
12866
12878
|
// Handle scrolling when menu won't fit in viewport
|
|
12867
12879
|
"overflow-y-auto",
|
|
12868
12880
|
// Popover background
|
|
12869
|
-
"bg-white/75 backdrop-blur-xl dark:bg-
|
|
12881
|
+
"bg-white/75 backdrop-blur-xl dark:bg-slate-800/75",
|
|
12870
12882
|
// Shadows
|
|
12871
|
-
"shadow-lg ring-1 ring-
|
|
12883
|
+
"shadow-lg ring-1 ring-white/30 dark:ring-white/10 dark:ring-inset",
|
|
12872
12884
|
// Define grid at the menu level if subgrid is supported
|
|
12873
12885
|
"supports-[grid-template-columns:subgrid]:grid supports-[grid-template-columns:subgrid]:grid-cols-[auto_1fr_1.5rem_0.5rem_auto]",
|
|
12874
12886
|
// Transitions
|
|
@@ -12886,7 +12898,7 @@ function DropdownItem({
|
|
|
12886
12898
|
// Base styles
|
|
12887
12899
|
"group cursor-default rounded-lg px-3.5 py-2.5 focus:outline-hidden sm:px-3 sm:py-1.5",
|
|
12888
12900
|
// Text styles
|
|
12889
|
-
"text-left text-base/6 text-
|
|
12901
|
+
"text-left text-base/6 text-slate-950 sm:text-sm/6 dark:text-white forced-colors:text-[CanvasText]",
|
|
12890
12902
|
// Focus
|
|
12891
12903
|
"data-focus:bg-blue-500 data-focus:text-white",
|
|
12892
12904
|
// Disabled state
|
|
@@ -12897,7 +12909,7 @@ function DropdownItem({
|
|
|
12897
12909
|
"col-span-full grid grid-cols-[auto_1fr_1.5rem_0.5rem_auto] items-center supports-[grid-template-columns:subgrid]:grid-cols-subgrid",
|
|
12898
12910
|
// Icons
|
|
12899
12911
|
"*:data-[slot=icon]:col-start-1 *:data-[slot=icon]:row-start-1 *:data-[slot=icon]:mr-2.5 *:data-[slot=icon]:-ml-0.5 *:data-[slot=icon]:size-5 sm:*:data-[slot=icon]:mr-2 sm:*:data-[slot=icon]:size-4",
|
|
12900
|
-
"*:data-[slot=icon]:text-
|
|
12912
|
+
"*:data-[slot=icon]:text-slate-500 data-focus:*:data-[slot=icon]:text-white dark:*:data-[slot=icon]:text-slate-400 dark:data-focus:*:data-[slot=icon]:text-white",
|
|
12901
12913
|
// Avatar
|
|
12902
12914
|
"*:data-[slot=avatar]:mr-2.5 *:data-[slot=avatar]:-ml-1 *:data-[slot=avatar]:size-6 sm:*:data-[slot=avatar]:mr-2 sm:*:data-[slot=avatar]:size-5"
|
|
12903
12915
|
);
|
|
@@ -12921,7 +12933,7 @@ function DropdownDivider({
|
|
|
12921
12933
|
...props,
|
|
12922
12934
|
className: clsx__default.default(
|
|
12923
12935
|
className,
|
|
12924
|
-
"col-span-full mx-3.5 my-1 h-px border-0 bg-
|
|
12936
|
+
"col-span-full mx-3.5 my-1 h-px border-0 bg-slate-950/5 sm:mx-3 dark:bg-white/10 forced-colors:bg-[CanvasText]"
|
|
12925
12937
|
)
|
|
12926
12938
|
}
|
|
12927
12939
|
);
|
|
@@ -12942,24 +12954,24 @@ function DropdownLabel({
|
|
|
12942
12954
|
}
|
|
12943
12955
|
var colors2 = {
|
|
12944
12956
|
"dark/zinc": [
|
|
12945
|
-
"[--switch-bg-ring:var(--color-
|
|
12946
|
-
"[--switch-ring:var(--color-
|
|
12957
|
+
"[--switch-bg-ring:var(--color-slate-950)]/90 [--switch-bg:var(--color-slate-900)] dark:[--switch-bg-ring:transparent] dark:[--switch-bg:var(--color-white)]/25",
|
|
12958
|
+
"[--switch-ring:var(--color-slate-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white] dark:[--switch-ring:var(--color-slate-700)]/90"
|
|
12947
12959
|
],
|
|
12948
12960
|
"dark/white": [
|
|
12949
|
-
"[--switch-bg-ring:var(--color-
|
|
12950
|
-
"[--switch-ring:var(--color-
|
|
12961
|
+
"[--switch-bg-ring:var(--color-slate-950)]/90 [--switch-bg:var(--color-slate-900)] dark:[--switch-bg-ring:transparent] dark:[--switch-bg:var(--color-white)]",
|
|
12962
|
+
"[--switch-ring:var(--color-slate-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white] dark:[--switch-ring:transparent] dark:[--switch:var(--color-slate-900)]"
|
|
12951
12963
|
],
|
|
12952
12964
|
dark: [
|
|
12953
|
-
"[--switch-bg-ring:var(--color-
|
|
12954
|
-
"[--switch-ring:var(--color-
|
|
12965
|
+
"[--switch-bg-ring:var(--color-slate-950)]/90 [--switch-bg:var(--color-slate-900)] dark:[--switch-bg-ring:var(--color-white)]/15",
|
|
12966
|
+
"[--switch-ring:var(--color-slate-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white]"
|
|
12955
12967
|
],
|
|
12956
12968
|
zinc: [
|
|
12957
|
-
"[--switch-bg-ring:var(--color-
|
|
12958
|
-
"[--switch-shadow:var(--color-black)]/10 [--switch:white] [--switch-ring:var(--color-
|
|
12969
|
+
"[--switch-bg-ring:var(--color-slate-700)]/90 [--switch-bg:var(--color-slate-600)] dark:[--switch-bg-ring:transparent]",
|
|
12970
|
+
"[--switch-shadow:var(--color-black)]/10 [--switch:white] [--switch-ring:var(--color-slate-700)]/90"
|
|
12959
12971
|
],
|
|
12960
12972
|
white: [
|
|
12961
12973
|
"[--switch-bg-ring:var(--color-black)]/15 [--switch-bg:white] dark:[--switch-bg-ring:transparent]",
|
|
12962
|
-
"[--switch-shadow:var(--color-black)]/10 [--switch-ring:transparent] [--switch:var(--color-
|
|
12974
|
+
"[--switch-shadow:var(--color-black)]/10 [--switch-ring:transparent] [--switch:var(--color-slate-950)]"
|
|
12963
12975
|
],
|
|
12964
12976
|
red: [
|
|
12965
12977
|
"[--switch-bg-ring:var(--color-red-700)]/90 [--switch-bg:var(--color-red-600)] dark:[--switch-bg-ring:transparent]",
|
|
@@ -13049,7 +13061,7 @@ function Switch2({
|
|
|
13049
13061
|
// Outline and background color in forced-colors mode so switch is still visible
|
|
13050
13062
|
"forced-colors:outline forced-colors:[--switch-bg:Highlight] dark:forced-colors:[--switch-bg:Highlight]",
|
|
13051
13063
|
// Unchecked
|
|
13052
|
-
"bg-
|
|
13064
|
+
"bg-slate-200 ring-1 ring-black/5 ring-inset dark:bg-white/5 dark:ring-white/15",
|
|
13053
13065
|
// Checked
|
|
13054
13066
|
"data-checked:bg-(--switch-bg) data-checked:ring-(--switch-bg-ring) dark:data-checked:bg-(--switch-bg) dark:data-checked:ring-(--switch-bg-ring)",
|
|
13055
13067
|
// Focus
|
|
@@ -13058,7 +13070,7 @@ function Switch2({
|
|
|
13058
13070
|
"data-hover:ring-black/15 data-hover:data-checked:ring-(--switch-bg-ring)",
|
|
13059
13071
|
"dark:data-hover:ring-white/25 dark:data-hover:data-checked:ring-(--switch-bg-ring)",
|
|
13060
13072
|
// Disabled
|
|
13061
|
-
"data-disabled:bg-
|
|
13073
|
+
"data-disabled:bg-slate-200 data-disabled:opacity-50 data-disabled:data-checked:bg-slate-200 data-disabled:data-checked:ring-black/5",
|
|
13062
13074
|
"dark:data-disabled:bg-white/15 dark:data-disabled:data-checked:bg-white/15 dark:data-disabled:data-checked:ring-white/15",
|
|
13063
13075
|
// Color specific styles
|
|
13064
13076
|
colors2[color]
|
|
@@ -13075,7 +13087,7 @@ function Switch2({
|
|
|
13075
13087
|
// Invisible border so the switch is still visible in forced-colors mode
|
|
13076
13088
|
"border border-transparent",
|
|
13077
13089
|
// Unchecked
|
|
13078
|
-
"bg-white shadow-sm ring-1 ring-black/5",
|
|
13090
|
+
"bg-white/90 backdrop-blur-sm shadow-sm ring-1 ring-black/5",
|
|
13079
13091
|
// Checked
|
|
13080
13092
|
"group-data-checked:bg-(--switch) group-data-checked:shadow-(--switch-shadow) group-data-checked:ring-(--switch-ring)",
|
|
13081
13093
|
"group-data-checked:translate-x-4 sm:group-data-checked:translate-x-3",
|
|
@@ -14158,5 +14170,5 @@ exports.useGeoMapState = useGeoMapState;
|
|
|
14158
14170
|
exports.useNotifications = useNotifications;
|
|
14159
14171
|
exports.usePlatformShellStore = usePlatformShellStore;
|
|
14160
14172
|
exports.usePullToRefresh = usePullToRefresh;
|
|
14161
|
-
//# sourceMappingURL=chunk-
|
|
14162
|
-
//# sourceMappingURL=chunk-
|
|
14173
|
+
//# sourceMappingURL=chunk-W224TQQY.js.map
|
|
14174
|
+
//# sourceMappingURL=chunk-W224TQQY.js.map
|