@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
|
@@ -732,7 +732,7 @@ function IconButton({
|
|
|
732
732
|
isIosColor && finalColor === "ios-purple" && "bg-[#AF52DE] dark:bg-[#BF5AF2]"
|
|
733
733
|
),
|
|
734
734
|
ghost: clsx(
|
|
735
|
-
"bg-transparent hover:bg-
|
|
735
|
+
"bg-transparent hover:bg-white/40 dark:hover:bg-white/[0.08]",
|
|
736
736
|
isIosColor && finalColor === "ios-blue" && "text-[#007AFF] dark:text-[#0A84FF]",
|
|
737
737
|
isIosColor && finalColor === "ios-red" && "text-[#FF3B30] dark:text-[#FF453A]",
|
|
738
738
|
isIosColor && finalColor === "ios-green" && "text-[#34C759] dark:text-[#30D158]",
|
|
@@ -817,10 +817,10 @@ function CardHeader({ className = "", ...props }) {
|
|
|
817
817
|
return /* @__PURE__ */ jsx("div", { className: `flex flex-col space-y-1.5 p-4 sm:p-6 ${className}`, ...props });
|
|
818
818
|
}
|
|
819
819
|
function CardTitle({ className = "", ...props }) {
|
|
820
|
-
return /* @__PURE__ */ jsx("h3", { className: `text-lg font-semibold leading-none tracking-tight text-
|
|
820
|
+
return /* @__PURE__ */ jsx("h3", { className: `text-lg font-semibold leading-none tracking-tight text-slate-900 dark:text-white ${className}`, ...props });
|
|
821
821
|
}
|
|
822
822
|
function CardDescription({ className = "", ...props }) {
|
|
823
|
-
return /* @__PURE__ */ jsx("p", { className: `text-sm text-
|
|
823
|
+
return /* @__PURE__ */ jsx("p", { className: `text-sm text-slate-500 dark:text-slate-400 ${className}`, ...props });
|
|
824
824
|
}
|
|
825
825
|
function CardContent({ className = "", ...props }) {
|
|
826
826
|
return /* @__PURE__ */ jsx("div", { className: `p-4 sm:p-6 pt-0 ${className}`, ...props });
|
|
@@ -850,8 +850,8 @@ function SectionCard({
|
|
|
850
850
|
}
|
|
851
851
|
),
|
|
852
852
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
853
|
-
/* @__PURE__ */ jsx("h3", { className: "text-base sm:text-lg font-semibold text-
|
|
854
|
-
subtitle && /* @__PURE__ */ jsx("p", { className: "text-xs sm:text-sm text-
|
|
853
|
+
/* @__PURE__ */ jsx("h3", { className: "text-base sm:text-lg font-semibold text-slate-900 dark:text-white", children: title }),
|
|
854
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: "text-xs sm:text-sm text-slate-500 dark:text-slate-400", children: subtitle })
|
|
855
855
|
] })
|
|
856
856
|
] }),
|
|
857
857
|
rightContent
|
|
@@ -958,15 +958,15 @@ var Input = forwardRef(
|
|
|
958
958
|
const baseClasses = isFilled ? `
|
|
959
959
|
liquid-surface h-12 w-full rounded-xl border-0
|
|
960
960
|
px-4 py-3 text-base
|
|
961
|
-
text-
|
|
962
|
-
placeholder:text-
|
|
961
|
+
text-slate-900 dark:text-white
|
|
962
|
+
placeholder:text-slate-400 dark:placeholder:text-slate-500
|
|
963
963
|
transition-all duration-200
|
|
964
964
|
disabled:cursor-not-allowed disabled:opacity-50
|
|
965
965
|
` : `
|
|
966
966
|
liquid-surface h-11 w-full rounded-xl
|
|
967
967
|
px-3.5 py-2.5 text-base
|
|
968
|
-
text-
|
|
969
|
-
placeholder:text-
|
|
968
|
+
text-slate-900 dark:text-white
|
|
969
|
+
placeholder:text-slate-400 dark:placeholder:text-slate-500
|
|
970
970
|
transition-all duration-200
|
|
971
971
|
disabled:cursor-not-allowed disabled:opacity-50
|
|
972
972
|
`;
|
|
@@ -994,7 +994,7 @@ var Input = forwardRef(
|
|
|
994
994
|
exit: { opacity: 0, scale: 0.8 },
|
|
995
995
|
transition: { duration: 0.15 },
|
|
996
996
|
onClick: togglePassword,
|
|
997
|
-
className: "p-1 rounded-full text-
|
|
997
|
+
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",
|
|
998
998
|
"aria-label": showPassword ? t("hidePassword") : t("showPassword"),
|
|
999
999
|
children: showPassword ? /* @__PURE__ */ jsx(EyeSlashIcon, { className: "h-5 w-5" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-5 w-5" })
|
|
1000
1000
|
}
|
|
@@ -1008,7 +1008,7 @@ var Input = forwardRef(
|
|
|
1008
1008
|
exit: { opacity: 0, scale: 0.8 },
|
|
1009
1009
|
transition: { duration: 0.15 },
|
|
1010
1010
|
onClick: handleClear,
|
|
1011
|
-
className: "p-1 rounded-full text-
|
|
1011
|
+
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",
|
|
1012
1012
|
children: /* @__PURE__ */ jsx(XMarkIcon, { className: "h-5 w-5" })
|
|
1013
1013
|
}
|
|
1014
1014
|
) })
|
|
@@ -1036,12 +1036,12 @@ var Input = forwardRef(
|
|
|
1036
1036
|
children: successMessage
|
|
1037
1037
|
}
|
|
1038
1038
|
),
|
|
1039
|
-
!error && !successMessage && helperText && /* @__PURE__ */ jsx("p", { id: helperId, className: "text-sm text-
|
|
1039
|
+
!error && !successMessage && helperText && /* @__PURE__ */ jsx("p", { id: helperId, className: "text-sm text-slate-500 dark:text-slate-400", children: helperText })
|
|
1040
1040
|
] }),
|
|
1041
1041
|
showCharacterCount && /* @__PURE__ */ jsxs(
|
|
1042
1042
|
"span",
|
|
1043
1043
|
{
|
|
1044
|
-
className: `text-xs ml-2 ${isOverLimit ? "text-ios-red" : characterCount > 0 ? "text-
|
|
1044
|
+
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"}`,
|
|
1045
1045
|
children: [
|
|
1046
1046
|
characterCount,
|
|
1047
1047
|
maxCharacters ? `/${maxCharacters}` : ""
|
|
@@ -1052,7 +1052,7 @@ var Input = forwardRef(
|
|
|
1052
1052
|
if (floatingLabel && label) {
|
|
1053
1053
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
1054
1054
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
1055
|
-
icon && /* @__PURE__ */ jsx("div", { className: "absolute left-3.5 top-1/2 -translate-y-1/2 text-
|
|
1055
|
+
icon && /* @__PURE__ */ 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 }),
|
|
1056
1056
|
/* @__PURE__ */ jsx(
|
|
1057
1057
|
"input",
|
|
1058
1058
|
{
|
|
@@ -1085,7 +1085,7 @@ var Input = forwardRef(
|
|
|
1085
1085
|
htmlFor: inputId,
|
|
1086
1086
|
className: `
|
|
1087
1087
|
absolute left-3.5 pointer-events-none
|
|
1088
|
-
text-
|
|
1088
|
+
text-slate-500 dark:text-slate-400
|
|
1089
1089
|
transition-all duration-200
|
|
1090
1090
|
${icon ? "left-11" : ""}
|
|
1091
1091
|
`,
|
|
@@ -1104,9 +1104,9 @@ var Input = forwardRef(
|
|
|
1104
1104
|
] });
|
|
1105
1105
|
}
|
|
1106
1106
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
1107
|
-
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: "block text-sm font-medium text-
|
|
1107
|
+
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: "block text-sm font-medium text-slate-700 dark:text-slate-300", children: label }),
|
|
1108
1108
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
1109
|
-
icon && /* @__PURE__ */ jsx("div", { className: "absolute left-3.5 top-1/2 -translate-y-1/2 text-
|
|
1109
|
+
icon && /* @__PURE__ */ jsx("div", { className: "absolute left-3.5 top-1/2 -translate-y-1/2 text-slate-400 dark:text-slate-500", children: icon }),
|
|
1110
1110
|
/* @__PURE__ */ jsx(
|
|
1111
1111
|
"input",
|
|
1112
1112
|
{
|
|
@@ -1245,8 +1245,8 @@ function Sheet({
|
|
|
1245
1245
|
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`,
|
|
1246
1246
|
...!isRight ? { initial: { height: maxHeight } } : {},
|
|
1247
1247
|
children: [
|
|
1248
|
-
showHandle && !isRight && /* @__PURE__ */ jsx("div", { className: "flex justify-center pt-3 pb-2 cursor-grab active:cursor-grabbing", children: /* @__PURE__ */ jsx("div", { className: "h-1 w-10 rounded-full bg-
|
|
1249
|
-
title && /* @__PURE__ */ jsx(DialogTitle, { className: "px-6 py-3 text-lg font-semibold text-
|
|
1248
|
+
showHandle && !isRight && /* @__PURE__ */ jsx("div", { className: "flex justify-center pt-3 pb-2 cursor-grab active:cursor-grabbing", children: /* @__PURE__ */ jsx("div", { className: "h-1 w-10 rounded-full bg-slate-400/50 dark:bg-slate-500/50" }) }),
|
|
1249
|
+
title && /* @__PURE__ */ jsx(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 }),
|
|
1250
1250
|
/* @__PURE__ */ jsx(
|
|
1251
1251
|
"div",
|
|
1252
1252
|
{
|
|
@@ -1281,8 +1281,8 @@ function ActionSheet({
|
|
|
1281
1281
|
};
|
|
1282
1282
|
return /* @__PURE__ */ jsx(Sheet, { open, onClose, showHandle: false, children: /* @__PURE__ */ jsxs("div", { className: "px-4 pt-4 pb-2", children: [
|
|
1283
1283
|
(title || message) && /* @__PURE__ */ jsxs("div", { className: "text-center mb-4", children: [
|
|
1284
|
-
title && /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-
|
|
1285
|
-
message && /* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
1284
|
+
title && /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-slate-500 dark:text-slate-400", children: title }),
|
|
1285
|
+
message && /* @__PURE__ */ jsx("p", { className: "text-sm text-slate-500 dark:text-slate-400 mt-1", children: message })
|
|
1286
1286
|
] }),
|
|
1287
1287
|
/* @__PURE__ */ jsx("div", { className: "space-y-2", children: actions.map((action, index) => /* @__PURE__ */ jsx(
|
|
1288
1288
|
"button",
|
|
@@ -1305,7 +1305,7 @@ function ActionSheet({
|
|
|
1305
1305
|
{
|
|
1306
1306
|
type: "button",
|
|
1307
1307
|
onClick: onClose,
|
|
1308
|
-
className: "w-full mt-2 py-3 px-4 rounded-xl text-center font-semibold\n text-
|
|
1308
|
+
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",
|
|
1309
1309
|
children: tCommon("cancelDelete")
|
|
1310
1310
|
}
|
|
1311
1311
|
)
|
|
@@ -1536,7 +1536,7 @@ var Select = forwardRef(
|
|
|
1536
1536
|
border-white/55 dark:border-white/14
|
|
1537
1537
|
bg-white/68 dark:bg-slate-900/44 backdrop-blur-xl
|
|
1538
1538
|
px-3.5 py-2.5 text-base
|
|
1539
|
-
text-
|
|
1539
|
+
text-slate-900 dark:text-white
|
|
1540
1540
|
shadow-[inset_0_1px_0_rgba(255,255,255,0.88),0_10px_24px_-22px_rgba(15,23,42,0.72)]
|
|
1541
1541
|
transition-all duration-200
|
|
1542
1542
|
disabled:cursor-not-allowed disabled:opacity-50
|
|
@@ -1545,7 +1545,7 @@ var Select = forwardRef(
|
|
|
1545
1545
|
const errorClasses = error ? "border-ios-red ring-4 ring-ios-red/10" : "";
|
|
1546
1546
|
if (useMobilePicker && normalizedOptions.length > 0) {
|
|
1547
1547
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
1548
|
-
label && /* @__PURE__ */ jsx("label", { className: "block text-sm font-medium text-
|
|
1548
|
+
label && /* @__PURE__ */ jsx("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-300", children: label }),
|
|
1549
1549
|
/* @__PURE__ */ jsxs(
|
|
1550
1550
|
"button",
|
|
1551
1551
|
{
|
|
@@ -1560,11 +1560,11 @@ var Select = forwardRef(
|
|
|
1560
1560
|
cursor-pointer
|
|
1561
1561
|
`,
|
|
1562
1562
|
children: [
|
|
1563
|
-
/* @__PURE__ */ jsx("span", { className: selectedOption ? "" : "text-
|
|
1563
|
+
/* @__PURE__ */ jsx("span", { className: selectedOption ? "" : "text-slate-400", children: selectedOption?.label || placeholder }),
|
|
1564
1564
|
/* @__PURE__ */ jsx(
|
|
1565
1565
|
ChevronDownIcon,
|
|
1566
1566
|
{
|
|
1567
|
-
className: `h-5 w-5 text-
|
|
1567
|
+
className: `h-5 w-5 text-slate-400 transition-transform duration-200
|
|
1568
1568
|
${isOpen ? "rotate-180" : ""}`
|
|
1569
1569
|
}
|
|
1570
1570
|
)
|
|
@@ -1605,7 +1605,7 @@ var Select = forwardRef(
|
|
|
1605
1605
|
] });
|
|
1606
1606
|
}
|
|
1607
1607
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
1608
|
-
label && /* @__PURE__ */ jsx("label", { className: "block text-sm font-medium text-
|
|
1608
|
+
label && /* @__PURE__ */ jsx("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-300", children: label }),
|
|
1609
1609
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
1610
1610
|
/* @__PURE__ */ jsxs(
|
|
1611
1611
|
"select",
|
|
@@ -1633,7 +1633,7 @@ var Select = forwardRef(
|
|
|
1633
1633
|
/* @__PURE__ */ jsx(
|
|
1634
1634
|
ChevronDownIcon,
|
|
1635
1635
|
{
|
|
1636
|
-
className: "absolute right-3 top-1/2 -translate-y-1/2 h-5 w-5 text-
|
|
1636
|
+
className: "absolute right-3 top-1/2 -translate-y-1/2 h-5 w-5 text-slate-400 pointer-events-none"
|
|
1637
1637
|
}
|
|
1638
1638
|
)
|
|
1639
1639
|
] }),
|
|
@@ -1659,7 +1659,7 @@ function DropdownSelect({
|
|
|
1659
1659
|
setIsOpen(false);
|
|
1660
1660
|
};
|
|
1661
1661
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5 relative", children: [
|
|
1662
|
-
label && /* @__PURE__ */ jsx("label", { className: "block text-sm font-medium text-
|
|
1662
|
+
label && /* @__PURE__ */ jsx("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-300", children: label }),
|
|
1663
1663
|
/* @__PURE__ */ jsxs(
|
|
1664
1664
|
"button",
|
|
1665
1665
|
{
|
|
@@ -1676,7 +1676,7 @@ function DropdownSelect({
|
|
|
1676
1676
|
rounded-xl border border-white/55 dark:border-white/14
|
|
1677
1677
|
bg-white/68 dark:bg-slate-900/44 backdrop-blur-xl
|
|
1678
1678
|
px-3.5 py-2.5 text-base
|
|
1679
|
-
text-
|
|
1679
|
+
text-slate-900 dark:text-white
|
|
1680
1680
|
shadow-[inset_0_1px_0_rgba(255,255,255,0.88),0_10px_24px_-22px_rgba(15,23,42,0.72)]
|
|
1681
1681
|
transition-all duration-200
|
|
1682
1682
|
hover:bg-white/74 dark:hover:bg-slate-900/54
|
|
@@ -1685,13 +1685,13 @@ function DropdownSelect({
|
|
|
1685
1685
|
${error ? "border-ios-red ring-4 ring-ios-red/10" : ""}
|
|
1686
1686
|
`,
|
|
1687
1687
|
children: [
|
|
1688
|
-
/* @__PURE__ */ jsx("span", { className: selectedOption ? "" : "text-
|
|
1688
|
+
/* @__PURE__ */ jsx("span", { className: selectedOption ? "" : "text-slate-400", children: selectedOption?.label || placeholder }),
|
|
1689
1689
|
/* @__PURE__ */ jsx(
|
|
1690
1690
|
motion.div,
|
|
1691
1691
|
{
|
|
1692
1692
|
animate: { rotate: isOpen ? 180 : 0 },
|
|
1693
1693
|
transition: { duration: 0.2 },
|
|
1694
|
-
children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "h-5 w-5 text-
|
|
1694
|
+
children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "h-5 w-5 text-slate-400" })
|
|
1695
1695
|
}
|
|
1696
1696
|
)
|
|
1697
1697
|
]
|
|
@@ -1722,7 +1722,7 @@ function DropdownSelect({
|
|
|
1722
1722
|
className: `
|
|
1723
1723
|
w-full flex items-center justify-between px-4 py-3 text-left
|
|
1724
1724
|
transition-colors duration-150
|
|
1725
|
-
${option.value === value ? "bg-ios-blue/10 text-ios-blue" : "text-
|
|
1725
|
+
${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]"}
|
|
1726
1726
|
${option.disabled ? "opacity-50 cursor-not-allowed" : ""}
|
|
1727
1727
|
`,
|
|
1728
1728
|
children: [
|
|
@@ -2066,7 +2066,7 @@ var defaultFilterTypeConfig = {
|
|
|
2066
2066
|
},
|
|
2067
2067
|
default: {
|
|
2068
2068
|
icon: MapIcon,
|
|
2069
|
-
className: "bg-
|
|
2069
|
+
className: "bg-slate-100 text-slate-700 dark:bg-slate-800 dark:text-slate-300"
|
|
2070
2070
|
}
|
|
2071
2071
|
};
|
|
2072
2072
|
function SearchBar({
|
|
@@ -2107,9 +2107,9 @@ function SearchBar({
|
|
|
2107
2107
|
onCancel?.();
|
|
2108
2108
|
}, [onSearchChange, onCancel]);
|
|
2109
2109
|
const containerClasses = noBorder ? "flex flex-wrap items-center gap-2 p-3 bg-transparent" : `flex flex-wrap items-center gap-2 p-3
|
|
2110
|
-
bg-white/
|
|
2111
|
-
border border-
|
|
2112
|
-
rounded-2xl
|
|
2110
|
+
bg-white/40 dark:bg-white/[0.04] backdrop-blur-xl
|
|
2111
|
+
border border-white/30 dark:border-white/10
|
|
2112
|
+
rounded-2xl
|
|
2113
2113
|
transition-all duration-200
|
|
2114
2114
|
${isFocused ? "ring-4 ring-[#007AFF]/10 border-[#007AFF]/30" : ""}`;
|
|
2115
2115
|
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -2134,7 +2134,7 @@ function SearchBar({
|
|
|
2134
2134
|
MagnifyingGlassIcon,
|
|
2135
2135
|
{
|
|
2136
2136
|
className: `absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 transition-colors duration-200
|
|
2137
|
-
${isFocused ? "text-[#007AFF]" : "text-
|
|
2137
|
+
${isFocused ? "text-[#007AFF]" : "text-slate-400"}`
|
|
2138
2138
|
}
|
|
2139
2139
|
),
|
|
2140
2140
|
/* @__PURE__ */ jsx(
|
|
@@ -2147,7 +2147,7 @@ function SearchBar({
|
|
|
2147
2147
|
onChange: (e) => onSearchChange(e.target.value),
|
|
2148
2148
|
onFocus: handleFocus,
|
|
2149
2149
|
onBlur: handleBlur,
|
|
2150
|
-
className: "w-full h-11 pl-10 pr-10 text-base bg-transparent\n text-
|
|
2150
|
+
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"
|
|
2151
2151
|
}
|
|
2152
2152
|
),
|
|
2153
2153
|
/* @__PURE__ */ jsx(AnimatePresence, { children: searchTerm && /* @__PURE__ */ jsx(
|
|
@@ -2158,7 +2158,7 @@ function SearchBar({
|
|
|
2158
2158
|
exit: { opacity: 0, scale: 0.8 },
|
|
2159
2159
|
transition: { duration: 0.15 },
|
|
2160
2160
|
onClick: handleClear,
|
|
2161
|
-
className: "absolute right-2 top-1/2 -translate-y-1/2 p-1.5 rounded-full\n bg-
|
|
2161
|
+
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",
|
|
2162
2162
|
children: /* @__PURE__ */ jsx(XMarkIcon$1, { className: "h-4 w-4" })
|
|
2163
2163
|
}
|
|
2164
2164
|
) })
|
|
@@ -2171,7 +2171,7 @@ function SearchBar({
|
|
|
2171
2171
|
triggerHaptic("light");
|
|
2172
2172
|
onClearAll();
|
|
2173
2173
|
},
|
|
2174
|
-
className: "p-2 rounded-xl text-
|
|
2174
|
+
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",
|
|
2175
2175
|
title: t("clearFilters"),
|
|
2176
2176
|
children: /* @__PURE__ */ jsx(XMarkIcon$1, { className: "h-5 w-5" })
|
|
2177
2177
|
}
|
|
@@ -2209,21 +2209,21 @@ var colorClasses = {
|
|
|
2209
2209
|
iconBg: "bg-emerald-100 text-emerald-600 dark:bg-emerald-900/50 dark:text-emerald-400",
|
|
2210
2210
|
activeGradient: "from-emerald-500 to-teal-600",
|
|
2211
2211
|
activeRing: "ring-emerald-500",
|
|
2212
|
-
valueColor: "text-
|
|
2212
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2213
2213
|
badgeBg: "bg-emerald-100 text-emerald-700 dark:bg-emerald-900/50 dark:text-emerald-300"
|
|
2214
2214
|
},
|
|
2215
2215
|
blue: {
|
|
2216
2216
|
iconBg: "bg-blue-100 text-blue-600 dark:bg-blue-900/50 dark:text-blue-400",
|
|
2217
2217
|
activeGradient: "from-blue-500 to-indigo-600",
|
|
2218
2218
|
activeRing: "ring-blue-500",
|
|
2219
|
-
valueColor: "text-
|
|
2219
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2220
2220
|
badgeBg: "bg-blue-100 text-blue-700 dark:bg-blue-900/50 dark:text-blue-300"
|
|
2221
2221
|
},
|
|
2222
2222
|
amber: {
|
|
2223
2223
|
iconBg: "bg-amber-100 text-amber-600 dark:bg-amber-900/50 dark:text-amber-400",
|
|
2224
2224
|
activeGradient: "from-amber-500 to-orange-600",
|
|
2225
2225
|
activeRing: "ring-amber-500",
|
|
2226
|
-
valueColor: "text-
|
|
2226
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2227
2227
|
badgeBg: "bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300",
|
|
2228
2228
|
urgentValueColor: "text-amber-600 dark:text-amber-400"
|
|
2229
2229
|
},
|
|
@@ -2231,21 +2231,21 @@ var colorClasses = {
|
|
|
2231
2231
|
iconBg: "bg-orange-100 text-orange-600 dark:bg-orange-900/50 dark:text-orange-400",
|
|
2232
2232
|
activeGradient: "from-orange-500 to-amber-600",
|
|
2233
2233
|
activeRing: "ring-orange-500",
|
|
2234
|
-
valueColor: "text-
|
|
2234
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2235
2235
|
badgeBg: "bg-orange-100 text-orange-700 dark:bg-orange-900/50 dark:text-orange-300"
|
|
2236
2236
|
},
|
|
2237
2237
|
indigo: {
|
|
2238
2238
|
iconBg: "bg-indigo-100 text-indigo-600 dark:bg-indigo-900/50 dark:text-indigo-400",
|
|
2239
2239
|
activeGradient: "from-indigo-500 to-blue-600",
|
|
2240
2240
|
activeRing: "ring-indigo-500",
|
|
2241
|
-
valueColor: "text-
|
|
2241
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2242
2242
|
badgeBg: "bg-indigo-100 text-indigo-700 dark:bg-indigo-900/50 dark:text-indigo-300"
|
|
2243
2243
|
},
|
|
2244
2244
|
purple: {
|
|
2245
2245
|
iconBg: "bg-purple-100 text-purple-600 dark:bg-purple-900/50 dark:text-purple-400",
|
|
2246
2246
|
activeGradient: "from-purple-500 to-indigo-600",
|
|
2247
2247
|
activeRing: "ring-purple-500",
|
|
2248
|
-
valueColor: "text-
|
|
2248
|
+
valueColor: "text-slate-900 dark:text-white",
|
|
2249
2249
|
badgeBg: "bg-purple-100 text-purple-700 dark:bg-purple-900/50 dark:text-purple-300"
|
|
2250
2250
|
},
|
|
2251
2251
|
red: {
|
|
@@ -2294,7 +2294,7 @@ function StatCard({
|
|
|
2294
2294
|
{
|
|
2295
2295
|
title: info.title ?? "",
|
|
2296
2296
|
content: info.content ? info.content : info.blocks ? /* @__PURE__ */ jsx("div", { className: "space-y-2", children: info.blocks.map((block, index) => /* @__PURE__ */ jsxs("div", { children: [
|
|
2297
|
-
/* @__PURE__ */ jsx("p", { className: "font-medium text-
|
|
2297
|
+
/* @__PURE__ */ jsx("p", { className: "font-medium text-slate-700 dark:text-slate-200", children: block.label }),
|
|
2298
2298
|
/* @__PURE__ */ jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs mt-1", children: block.content })
|
|
2299
2299
|
] }, index)) }) : void 0
|
|
2300
2300
|
}
|
|
@@ -2313,7 +2313,7 @@ function StatCard({
|
|
|
2313
2313
|
/* @__PURE__ */ jsx(
|
|
2314
2314
|
"p",
|
|
2315
2315
|
{
|
|
2316
|
-
className: `mt-1 text-sm ${isActive ? "text-white/75" : "text-
|
|
2316
|
+
className: `mt-1 text-sm ${isActive ? "text-white/75" : "text-slate-500 dark:text-slate-400"}`,
|
|
2317
2317
|
children: label
|
|
2318
2318
|
}
|
|
2319
2319
|
),
|
|
@@ -2487,7 +2487,7 @@ function Pagination({
|
|
|
2487
2487
|
};
|
|
2488
2488
|
const pageNumbers = getPageNumbers2();
|
|
2489
2489
|
if (totalPages <= 1) return null;
|
|
2490
|
-
return /* @__PURE__ */ jsxs("div", { className: `flex items-center justify-between border-t border-
|
|
2490
|
+
return /* @__PURE__ */ 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: [
|
|
2491
2491
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 justify-between sm:hidden", children: [
|
|
2492
2492
|
/* @__PURE__ */ jsx(
|
|
2493
2493
|
"button",
|
|
@@ -2495,7 +2495,7 @@ function Pagination({
|
|
|
2495
2495
|
type: "button",
|
|
2496
2496
|
onClick: () => onPageChange(currentPage - 1),
|
|
2497
2497
|
disabled: currentPage === 1,
|
|
2498
|
-
className: "relative inline-flex items-center rounded-md border border-
|
|
2498
|
+
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",
|
|
2499
2499
|
children: t("previous")
|
|
2500
2500
|
}
|
|
2501
2501
|
),
|
|
@@ -2505,13 +2505,13 @@ function Pagination({
|
|
|
2505
2505
|
type: "button",
|
|
2506
2506
|
onClick: () => onPageChange(currentPage + 1),
|
|
2507
2507
|
disabled: currentPage === totalPages,
|
|
2508
|
-
className: "relative ml-3 inline-flex items-center rounded-md border border-
|
|
2508
|
+
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",
|
|
2509
2509
|
children: t("next")
|
|
2510
2510
|
}
|
|
2511
2511
|
)
|
|
2512
2512
|
] }),
|
|
2513
2513
|
/* @__PURE__ */ jsxs("div", { className: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between", children: [
|
|
2514
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
2514
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("p", { className: "text-sm text-slate-700 dark:text-slate-300", children: t("showingRange", { from, to, total: totalItems }) }) }),
|
|
2515
2515
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
2516
2516
|
"nav",
|
|
2517
2517
|
{
|
|
@@ -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-l-md px-2 py-2 text-
|
|
2527
|
+
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",
|
|
2528
2528
|
children: [
|
|
2529
2529
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: t("previous") }),
|
|
2530
2530
|
/* @__PURE__ */ jsx(ChevronLeftIcon, { "aria-hidden": "true", className: "size-5" })
|
|
@@ -2535,7 +2535,7 @@ function Pagination({
|
|
|
2535
2535
|
(page, index) => page === "ellipsis" ? /* @__PURE__ */ jsx(
|
|
2536
2536
|
"span",
|
|
2537
2537
|
{
|
|
2538
|
-
className: "relative inline-flex items-center px-4 py-2 text-sm font-semibold text-
|
|
2538
|
+
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",
|
|
2539
2539
|
children: "..."
|
|
2540
2540
|
},
|
|
2541
2541
|
`ellipsis-${index}`
|
|
@@ -2545,7 +2545,7 @@ function Pagination({
|
|
|
2545
2545
|
type: "button",
|
|
2546
2546
|
onClick: () => onPageChange(page),
|
|
2547
2547
|
"aria-current": currentPage === page ? "page" : void 0,
|
|
2548
|
-
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-
|
|
2548
|
+
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",
|
|
2549
2549
|
children: page
|
|
2550
2550
|
},
|
|
2551
2551
|
page
|
|
@@ -2557,7 +2557,7 @@ function Pagination({
|
|
|
2557
2557
|
type: "button",
|
|
2558
2558
|
onClick: () => onPageChange(currentPage + 1),
|
|
2559
2559
|
disabled: currentPage === totalPages,
|
|
2560
|
-
className: "relative inline-flex items-center rounded-r-md px-2 py-2 text-
|
|
2560
|
+
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",
|
|
2561
2561
|
children: [
|
|
2562
2562
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: t("next") }),
|
|
2563
2563
|
/* @__PURE__ */ jsx(ChevronRightIcon, { "aria-hidden": "true", className: "size-5" })
|
|
@@ -2599,9 +2599,9 @@ var colorClasses2 = {
|
|
|
2599
2599
|
dot: "bg-emerald-600 dark:bg-emerald-400"
|
|
2600
2600
|
},
|
|
2601
2601
|
gray: {
|
|
2602
|
-
track: "border-
|
|
2603
|
-
indicator: "border-t-
|
|
2604
|
-
dot: "bg-
|
|
2602
|
+
track: "border-slate-200 dark:border-slate-700",
|
|
2603
|
+
indicator: "border-t-slate-600 dark:border-t-slate-400",
|
|
2604
|
+
dot: "bg-slate-600 dark:bg-slate-400"
|
|
2605
2605
|
},
|
|
2606
2606
|
current: {
|
|
2607
2607
|
track: "border-current/20",
|
|
@@ -2695,7 +2695,7 @@ function Spinner({
|
|
|
2695
2695
|
if (label) {
|
|
2696
2696
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
2697
2697
|
/* @__PURE__ */ jsx(SpinnerComponent, { size, color, className, ariaLabel }),
|
|
2698
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm text-
|
|
2698
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm text-slate-500 dark:text-slate-400", children: label })
|
|
2699
2699
|
] });
|
|
2700
2700
|
}
|
|
2701
2701
|
return /* @__PURE__ */ jsx(
|
|
@@ -2717,12 +2717,12 @@ function LoadingOverlay({ show, message, blur = true }) {
|
|
|
2717
2717
|
exit: { opacity: 0 },
|
|
2718
2718
|
className: clsx$1(
|
|
2719
2719
|
"fixed inset-0 z-50 flex flex-col items-center justify-center",
|
|
2720
|
-
"bg-white/80 dark:bg-
|
|
2720
|
+
"bg-white/80 dark:bg-slate-900/80",
|
|
2721
2721
|
blur && "backdrop-blur-sm"
|
|
2722
2722
|
),
|
|
2723
2723
|
children: [
|
|
2724
2724
|
/* @__PURE__ */ jsx(Spinner, { size: "lg", color: "blue", variant: "circle" }),
|
|
2725
|
-
message && /* @__PURE__ */ jsx("p", { className: "mt-4 text-
|
|
2725
|
+
message && /* @__PURE__ */ jsx("p", { className: "mt-4 text-slate-600 dark:text-slate-300 font-medium", children: message })
|
|
2726
2726
|
]
|
|
2727
2727
|
}
|
|
2728
2728
|
);
|
|
@@ -3014,7 +3014,7 @@ function SegmentedControl({
|
|
|
3014
3014
|
ref: containerRef,
|
|
3015
3015
|
className: `
|
|
3016
3016
|
relative inline-flex items-center rounded-xl
|
|
3017
|
-
bg-
|
|
3017
|
+
bg-white/40 dark:bg-white/[0.08]
|
|
3018
3018
|
${styles2.container}
|
|
3019
3019
|
${fullWidth ? "w-full" : ""}
|
|
3020
3020
|
${disabled ? "opacity-50 pointer-events-none" : ""}
|
|
@@ -3023,7 +3023,7 @@ function SegmentedControl({
|
|
|
3023
3023
|
/* @__PURE__ */ jsx(
|
|
3024
3024
|
motion.div,
|
|
3025
3025
|
{
|
|
3026
|
-
className: "absolute top-1 bottom-1 rounded-lg bg-white dark:bg-
|
|
3026
|
+
className: "absolute top-1 bottom-1 rounded-lg bg-white/75 dark:bg-white/[0.12] shadow-sm backdrop-blur-sm",
|
|
3027
3027
|
initial: false,
|
|
3028
3028
|
animate: {
|
|
3029
3029
|
left: indicatorStyle.left,
|
|
@@ -3044,7 +3044,7 @@ function SegmentedControl({
|
|
|
3044
3044
|
font-medium rounded-lg transition-colors duration-150
|
|
3045
3045
|
${styles2.segment}
|
|
3046
3046
|
${fullWidth ? "flex-1" : ""}
|
|
3047
|
-
${isSelected ? "text-
|
|
3047
|
+
${isSelected ? "text-slate-900 dark:text-white" : "text-slate-500 dark:text-slate-400 hover:text-slate-700 dark:hover:text-slate-300"}
|
|
3048
3048
|
`,
|
|
3049
3049
|
children: [
|
|
3050
3050
|
segment.icon && /* @__PURE__ */ jsx("span", { className: "shrink-0", children: segment.icon }),
|
|
@@ -4081,10 +4081,10 @@ function Table({
|
|
|
4081
4081
|
children,
|
|
4082
4082
|
...props
|
|
4083
4083
|
}) {
|
|
4084
|
-
return /* @__PURE__ */ jsx(TableContext.Provider, { value: { bleed, dense, grid, striped, loading, emptyState }, children: /* @__PURE__ */ jsx("div", { className: "flow-root", children: /* @__PURE__ */ jsx("div", { ...props, className: clsx(className, "-mx-(--gutter) overflow-x-auto whitespace-nowrap"), children: /* @__PURE__ */ jsx("div", { className: clsx("inline-block min-w-full align-middle", !bleed && "sm:px-(--gutter)"), children: /* @__PURE__ */ jsx("table", { className: "min-w-full text-left text-sm/6 text-
|
|
4084
|
+
return /* @__PURE__ */ jsx(TableContext.Provider, { value: { bleed, dense, grid, striped, loading, emptyState }, children: /* @__PURE__ */ jsx("div", { className: "flow-root", children: /* @__PURE__ */ jsx("div", { ...props, className: clsx(className, "-mx-(--gutter) overflow-x-auto whitespace-nowrap"), children: /* @__PURE__ */ jsx("div", { className: clsx("inline-block min-w-full align-middle", !bleed && "sm:px-(--gutter)"), children: /* @__PURE__ */ jsx("table", { className: "min-w-full text-left text-sm/6 text-slate-950 dark:text-white", children }) }) }) }) });
|
|
4085
4085
|
}
|
|
4086
4086
|
function TableHead({ className, ...props }) {
|
|
4087
|
-
return /* @__PURE__ */ jsx("thead", { ...props, className: clsx(className, "text-
|
|
4087
|
+
return /* @__PURE__ */ jsx("thead", { ...props, className: clsx(className, "text-slate-500 dark:text-slate-400") });
|
|
4088
4088
|
}
|
|
4089
4089
|
function TableBody(props) {
|
|
4090
4090
|
return /* @__PURE__ */ jsx("tbody", { ...props });
|
|
@@ -4109,9 +4109,9 @@ function TableRow({
|
|
|
4109
4109
|
className: clsx(
|
|
4110
4110
|
className,
|
|
4111
4111
|
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",
|
|
4112
|
-
striped && "even:bg-
|
|
4113
|
-
href && striped && "hover:bg-
|
|
4114
|
-
href && !striped && "hover:bg-
|
|
4112
|
+
striped && "even:bg-slate-950/2.5 dark:even:bg-white/2.5",
|
|
4113
|
+
href && striped && "hover:bg-slate-950/5 dark:hover:bg-white/5",
|
|
4114
|
+
href && !striped && "hover:bg-slate-950/2.5 dark:hover:bg-white/2.5"
|
|
4115
4115
|
)
|
|
4116
4116
|
}
|
|
4117
4117
|
) });
|
|
@@ -4124,8 +4124,8 @@ function TableHeader({ className, ...props }) {
|
|
|
4124
4124
|
...props,
|
|
4125
4125
|
className: clsx(
|
|
4126
4126
|
className,
|
|
4127
|
-
"border-b border-b-
|
|
4128
|
-
grid && "border-l border-l-
|
|
4127
|
+
"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))",
|
|
4128
|
+
grid && "border-l border-l-white/20 first:border-l-0 dark:border-l-white/10",
|
|
4129
4129
|
!bleed && "sm:first:pl-1 sm:last:pr-1"
|
|
4130
4130
|
)
|
|
4131
4131
|
}
|
|
@@ -4143,8 +4143,8 @@ function TableCell({ className, children, ...props }) {
|
|
|
4143
4143
|
className: clsx(
|
|
4144
4144
|
className,
|
|
4145
4145
|
"relative px-4 first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
4146
|
-
!striped && "border-b border-
|
|
4147
|
-
grid && "border-l border-l-
|
|
4146
|
+
!striped && "border-b border-white/20 dark:border-white/[0.08]",
|
|
4147
|
+
grid && "border-l border-l-white/20 first:border-l-0 dark:border-l-white/10",
|
|
4148
4148
|
dense ? "py-2.5" : "py-4",
|
|
4149
4149
|
!bleed && "sm:first:pl-1 sm:last:pr-1"
|
|
4150
4150
|
),
|
|
@@ -4194,10 +4194,10 @@ function SortableTableHeader({
|
|
|
4194
4194
|
onClick: handleSort,
|
|
4195
4195
|
className: clsx(
|
|
4196
4196
|
className,
|
|
4197
|
-
"border-b border-b-
|
|
4198
|
-
grid && "border-l border-l-
|
|
4197
|
+
"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))",
|
|
4198
|
+
grid && "border-l border-l-white/20 first:border-l-0 dark:border-l-white/10",
|
|
4199
4199
|
!bleed && "sm:first:pl-1 sm:last:pr-1",
|
|
4200
|
-
"cursor-pointer select-none hover:bg-
|
|
4200
|
+
"cursor-pointer select-none hover:bg-white/30 dark:hover:bg-white/[0.06] transition-colors",
|
|
4201
4201
|
isActive && "text-[#007AFF] dark:text-[#0A84FF]"
|
|
4202
4202
|
),
|
|
4203
4203
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
@@ -4226,14 +4226,14 @@ function TableSkeletonRow({
|
|
|
4226
4226
|
{
|
|
4227
4227
|
className: clsx(
|
|
4228
4228
|
"px-4 first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
4229
|
-
"border-b border-
|
|
4229
|
+
"border-b border-white/20 dark:border-white/[0.08]",
|
|
4230
4230
|
dense ? "py-2.5" : "py-4"
|
|
4231
4231
|
),
|
|
4232
4232
|
children: /* @__PURE__ */ jsx(
|
|
4233
4233
|
"div",
|
|
4234
4234
|
{
|
|
4235
4235
|
className: clsx(
|
|
4236
|
-
"h-4 rounded bg-
|
|
4236
|
+
"h-4 rounded bg-slate-200 dark:bg-slate-700 animate-pulse",
|
|
4237
4237
|
i === 0 ? "w-32" : i === columns - 1 ? "w-16" : "w-24"
|
|
4238
4238
|
)
|
|
4239
4239
|
}
|
|
@@ -4263,10 +4263,10 @@ function TableEmptyState({
|
|
|
4263
4263
|
transition: getTransition(springPresets.gentle),
|
|
4264
4264
|
className: "flex flex-col items-center gap-3",
|
|
4265
4265
|
children: [
|
|
4266
|
-
icon && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 rounded-full bg-
|
|
4266
|
+
icon && /* @__PURE__ */ 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 }),
|
|
4267
4267
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
4268
|
-
/* @__PURE__ */ jsx("h3", { className: "font-medium text-
|
|
4269
|
-
description && /* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
4268
|
+
/* @__PURE__ */ jsx("h3", { className: "font-medium text-slate-900 dark:text-white", children: title }),
|
|
4269
|
+
description && /* @__PURE__ */ jsx("p", { className: "text-sm text-slate-500 dark:text-slate-400 max-w-sm", children: description })
|
|
4270
4270
|
] }),
|
|
4271
4271
|
action && /* @__PURE__ */ jsx("div", { className: "mt-2", children: action })
|
|
4272
4272
|
]
|
|
@@ -4297,9 +4297,9 @@ function AnimatedTableRow({
|
|
|
4297
4297
|
className: clsx(
|
|
4298
4298
|
className,
|
|
4299
4299
|
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",
|
|
4300
|
-
striped && "even:bg-
|
|
4301
|
-
href && striped && "hover:bg-
|
|
4302
|
-
href && !striped && "hover:bg-
|
|
4300
|
+
striped && "even:bg-slate-950/2.5 dark:even:bg-white/2.5",
|
|
4301
|
+
href && striped && "hover:bg-slate-950/5 dark:hover:bg-white/5",
|
|
4302
|
+
href && !striped && "hover:bg-slate-950/2.5 dark:hover:bg-white/2.5"
|
|
4303
4303
|
)
|
|
4304
4304
|
}
|
|
4305
4305
|
) });
|
|
@@ -4326,9 +4326,9 @@ function SelectableTableRow({
|
|
|
4326
4326
|
className: clsx(
|
|
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
|
selected && "bg-[#007AFF]/5 dark:bg-[#0A84FF]/10"
|
|
4333
4333
|
),
|
|
4334
4334
|
children: [
|
|
@@ -4337,7 +4337,7 @@ function SelectableTableRow({
|
|
|
4337
4337
|
{
|
|
4338
4338
|
className: clsx(
|
|
4339
4339
|
"px-4 first:pl-(--gutter,--spacing(2))",
|
|
4340
|
-
"border-b border-
|
|
4340
|
+
"border-b border-white/20 dark:border-white/[0.08]",
|
|
4341
4341
|
dense ? "py-2.5" : "py-4"
|
|
4342
4342
|
),
|
|
4343
4343
|
children: /* @__PURE__ */ jsx(
|
|
@@ -4352,7 +4352,7 @@ function SelectableTableRow({
|
|
|
4352
4352
|
transition: getTransition(springPresets.stiff),
|
|
4353
4353
|
className: clsx(
|
|
4354
4354
|
"h-5 w-5 rounded-full border-2 flex items-center justify-center transition-colors",
|
|
4355
|
-
selected ? "bg-[#007AFF] dark:bg-[#0A84FF] border-[#007AFF] dark:border-[#0A84FF]" : "border-
|
|
4355
|
+
selected ? "bg-[#007AFF] dark:bg-[#0A84FF] border-[#007AFF] dark:border-[#0A84FF]" : "border-slate-300 dark:border-slate-600"
|
|
4356
4356
|
),
|
|
4357
4357
|
children: /* @__PURE__ */ jsx(AnimatePresence, { children: selected && /* @__PURE__ */ jsx(
|
|
4358
4358
|
motion.svg,
|
|
@@ -4390,9 +4390,9 @@ function EmptyState({
|
|
|
4390
4390
|
action?.onClick();
|
|
4391
4391
|
};
|
|
4392
4392
|
const containerClasses = {
|
|
4393
|
-
default: "
|
|
4393
|
+
default: "liquid-surface rounded-xl border border-dashed border-white/30 dark:border-white/10",
|
|
4394
4394
|
minimal: "",
|
|
4395
|
-
card: "
|
|
4395
|
+
card: "liquid-surface rounded-2xl border border-white/20 dark:border-white/10"
|
|
4396
4396
|
};
|
|
4397
4397
|
return /* @__PURE__ */ jsxs(
|
|
4398
4398
|
"div",
|
|
@@ -4406,7 +4406,7 @@ function EmptyState({
|
|
|
4406
4406
|
animate: { scale: 1, opacity: 1 },
|
|
4407
4407
|
transition: springPresets.bouncy,
|
|
4408
4408
|
className: "mx-auto mb-4",
|
|
4409
|
-
children: /* @__PURE__ */ jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-
|
|
4409
|
+
children: /* @__PURE__ */ 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__ */ jsx(Icon, { className: "h-8 w-8 text-slate-400 dark:text-slate-500" }) })
|
|
4410
4410
|
}
|
|
4411
4411
|
),
|
|
4412
4412
|
/* @__PURE__ */ jsxs(
|
|
@@ -4416,8 +4416,8 @@ function EmptyState({
|
|
|
4416
4416
|
animate: { y: 0, opacity: 1 },
|
|
4417
4417
|
transition: { ...springPresets.default, delay: 0.1 },
|
|
4418
4418
|
children: [
|
|
4419
|
-
/* @__PURE__ */ jsx("h3", { className: "text-base font-semibold text-
|
|
4420
|
-
description && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-
|
|
4419
|
+
/* @__PURE__ */ jsx("h3", { className: "text-base font-semibold text-slate-900 dark:text-white", children: message }),
|
|
4420
|
+
description && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-slate-500 dark:text-slate-400 max-w-sm mx-auto", children: description })
|
|
4421
4421
|
]
|
|
4422
4422
|
}
|
|
4423
4423
|
),
|
|
@@ -4434,7 +4434,7 @@ function EmptyState({
|
|
|
4434
4434
|
whileTap: { scale: 0.97 },
|
|
4435
4435
|
transition: springPresets.stiff,
|
|
4436
4436
|
onClick: handleActionClick,
|
|
4437
|
-
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-
|
|
4437
|
+
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",
|
|
4438
4438
|
children: action.label
|
|
4439
4439
|
}
|
|
4440
4440
|
)
|
|
@@ -4477,8 +4477,8 @@ var errorTypeConfig = {
|
|
|
4477
4477
|
icon: DocumentMagnifyingGlassIcon,
|
|
4478
4478
|
titleKey: "notFoundTitle",
|
|
4479
4479
|
messageKey: "notFoundMessage",
|
|
4480
|
-
iconBg: "bg-
|
|
4481
|
-
iconColor: "text-
|
|
4480
|
+
iconBg: "bg-white/40 dark:bg-white/[0.04]",
|
|
4481
|
+
iconColor: "text-slate-400 dark:text-slate-500"
|
|
4482
4482
|
}
|
|
4483
4483
|
};
|
|
4484
4484
|
function ErrorState({
|
|
@@ -4514,10 +4514,10 @@ function ErrorState({
|
|
|
4514
4514
|
setShowErrorDetails(!showErrorDetails);
|
|
4515
4515
|
};
|
|
4516
4516
|
const containerClasses = {
|
|
4517
|
-
default: "
|
|
4517
|
+
default: "liquid-surface rounded-xl border border-white/30 dark:border-white/10",
|
|
4518
4518
|
minimal: "",
|
|
4519
|
-
card: "
|
|
4520
|
-
fullscreen: "fixed inset-0 flex items-center justify-center bg-white dark:bg-
|
|
4519
|
+
card: "liquid-surface rounded-2xl border border-white/20 dark:border-white/10",
|
|
4520
|
+
fullscreen: "fixed inset-0 flex items-center justify-center bg-white dark:bg-slate-900 z-50"
|
|
4521
4521
|
};
|
|
4522
4522
|
const content = /* @__PURE__ */ jsxs("div", { role: "alert", className: variant === "fullscreen" ? "" : `px-6 py-12 text-center ${containerClasses[variant]}`, children: [
|
|
4523
4523
|
/* @__PURE__ */ jsx(
|
|
@@ -4537,9 +4537,9 @@ function ErrorState({
|
|
|
4537
4537
|
animate: { y: 0, opacity: 1 },
|
|
4538
4538
|
transition: { ...getTransition(springPresets.default), delay: 0.1 },
|
|
4539
4539
|
children: [
|
|
4540
|
-
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-
|
|
4541
|
-
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-
|
|
4542
|
-
errorCode && /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-
|
|
4540
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-slate-900 dark:text-white", children: title || t(config.titleKey) }),
|
|
4541
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-slate-500 dark:text-slate-400 max-w-sm mx-auto", children: message || t(config.messageKey) }),
|
|
4542
|
+
errorCode && /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-slate-400 dark:text-slate-500 font-mono", children: t("errorCode", { code: errorCode }) })
|
|
4543
4543
|
]
|
|
4544
4544
|
}
|
|
4545
4545
|
),
|
|
@@ -4558,7 +4558,7 @@ function ErrorState({
|
|
|
4558
4558
|
transition: getTransition(springPresets.stiff),
|
|
4559
4559
|
onClick: handleRetry,
|
|
4560
4560
|
disabled: isRetrying,
|
|
4561
|
-
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-
|
|
4561
|
+
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",
|
|
4562
4562
|
children: [
|
|
4563
4563
|
/* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: isRetrying ? /* @__PURE__ */ jsx(
|
|
4564
4564
|
motion.span,
|
|
@@ -4593,7 +4593,7 @@ function ErrorState({
|
|
|
4593
4593
|
triggerHaptic("light");
|
|
4594
4594
|
secondaryAction.onClick();
|
|
4595
4595
|
},
|
|
4596
|
-
className: "inline-flex items-center justify-center rounded-full px-6 py-2.5 text-sm font-semibold text-
|
|
4596
|
+
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",
|
|
4597
4597
|
children: secondaryAction.label
|
|
4598
4598
|
}
|
|
4599
4599
|
)
|
|
@@ -4612,7 +4612,7 @@ function ErrorState({
|
|
|
4612
4612
|
"button",
|
|
4613
4613
|
{
|
|
4614
4614
|
onClick: toggleDetails,
|
|
4615
|
-
className: "text-xs text-
|
|
4615
|
+
className: "text-xs text-slate-400 dark:text-slate-500 hover:text-slate-600 dark:hover:text-slate-400 transition-colors",
|
|
4616
4616
|
children: showErrorDetails ? t("hideDetails") : t("showDetails")
|
|
4617
4617
|
}
|
|
4618
4618
|
),
|
|
@@ -4624,7 +4624,7 @@ function ErrorState({
|
|
|
4624
4624
|
exit: { height: 0, opacity: 0 },
|
|
4625
4625
|
transition: getTransition(springPresets.gentle),
|
|
4626
4626
|
className: "overflow-hidden",
|
|
4627
|
-
children: /* @__PURE__ */ jsx("pre", { className: "mt-3 p-3 bg-
|
|
4627
|
+
children: /* @__PURE__ */ 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 })
|
|
4628
4628
|
}
|
|
4629
4629
|
) })
|
|
4630
4630
|
]
|
|
@@ -4676,7 +4676,7 @@ function NoResultsState({
|
|
|
4676
4676
|
animate: { scale: 1, opacity: 1 },
|
|
4677
4677
|
transition: getTransition(springPresets.bouncy),
|
|
4678
4678
|
className: "mx-auto mb-4",
|
|
4679
|
-
children: /* @__PURE__ */ jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-
|
|
4679
|
+
children: /* @__PURE__ */ 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__ */ jsx(DocumentMagnifyingGlassIcon, { className: "h-8 w-8 text-slate-400 dark:text-slate-500" }) })
|
|
4680
4680
|
}
|
|
4681
4681
|
),
|
|
4682
4682
|
/* @__PURE__ */ jsxs(
|
|
@@ -4686,14 +4686,14 @@ function NoResultsState({
|
|
|
4686
4686
|
animate: { y: 0, opacity: 1 },
|
|
4687
4687
|
transition: { ...getTransition(springPresets.default), delay: 0.1 },
|
|
4688
4688
|
children: [
|
|
4689
|
-
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-
|
|
4690
|
-
searchTerm && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-
|
|
4689
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-slate-900 dark:text-white", children: t("noResultsFound") }),
|
|
4690
|
+
searchTerm && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-slate-500 dark:text-slate-400", children: t("noResultsFor", { searchTerm }) }),
|
|
4691
4691
|
suggestions && suggestions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-4", children: [
|
|
4692
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs text-
|
|
4692
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-slate-400 dark:text-slate-500 mb-2", children: t("trySuggestions") }),
|
|
4693
4693
|
/* @__PURE__ */ jsx("div", { className: "flex flex-wrap justify-center gap-2", children: suggestions.map((suggestion, index) => /* @__PURE__ */ jsx(
|
|
4694
4694
|
"span",
|
|
4695
4695
|
{
|
|
4696
|
-
className: "px-3 py-1 text-xs rounded-full bg-
|
|
4696
|
+
className: "px-3 py-1 text-xs rounded-full bg-white/40 dark:bg-white/[0.04] text-slate-600 dark:text-slate-400",
|
|
4697
4697
|
children: suggestion
|
|
4698
4698
|
},
|
|
4699
4699
|
index
|
|
@@ -4731,7 +4731,7 @@ function NoDataState({
|
|
|
4731
4731
|
const resolvedTitle = title || t("noDataTitle");
|
|
4732
4732
|
const resolvedMessage = message || t("noDataMessage");
|
|
4733
4733
|
const resolvedActionLabel = actionLabel || t("createNew");
|
|
4734
|
-
return /* @__PURE__ */ jsxs("div", { className: "px-6 py-12 text-center
|
|
4734
|
+
return /* @__PURE__ */ jsxs("div", { className: "px-6 py-12 text-center liquid-surface rounded-xl border border-dashed border-white/30 dark:border-white/10", children: [
|
|
4735
4735
|
/* @__PURE__ */ jsx(
|
|
4736
4736
|
motion.div,
|
|
4737
4737
|
{
|
|
@@ -4739,7 +4739,7 @@ function NoDataState({
|
|
|
4739
4739
|
animate: { scale: 1, opacity: 1 },
|
|
4740
4740
|
transition: getTransition(springPresets.bouncy),
|
|
4741
4741
|
className: "mx-auto mb-4",
|
|
4742
|
-
children: /* @__PURE__ */ jsx("div", { className: "inline-flex h-16 w-16 items-center justify-center rounded-full bg-
|
|
4742
|
+
children: /* @__PURE__ */ 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__ */ jsx(Icon, { className: "h-8 w-8 text-slate-400 dark:text-slate-500" }) })
|
|
4743
4743
|
}
|
|
4744
4744
|
),
|
|
4745
4745
|
/* @__PURE__ */ jsxs(
|
|
@@ -4749,8 +4749,8 @@ function NoDataState({
|
|
|
4749
4749
|
animate: { y: 0, opacity: 1 },
|
|
4750
4750
|
transition: { ...getTransition(springPresets.default), delay: 0.1 },
|
|
4751
4751
|
children: [
|
|
4752
|
-
/* @__PURE__ */ jsx("h3", { className: "text-base font-semibold text-
|
|
4753
|
-
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-
|
|
4752
|
+
/* @__PURE__ */ jsx("h3", { className: "text-base font-semibold text-slate-900 dark:text-white", children: resolvedTitle }),
|
|
4753
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-slate-500 dark:text-slate-400 max-w-sm mx-auto", children: resolvedMessage })
|
|
4754
4754
|
]
|
|
4755
4755
|
}
|
|
4756
4756
|
),
|
|
@@ -5308,7 +5308,7 @@ var TONE_STYLES = {
|
|
|
5308
5308
|
error: { container: "border-red-500/30 bg-red-500/20 text-red-600 dark:text-red-400", dot: "bg-red-500" },
|
|
5309
5309
|
warning: { container: "border-amber-500/30 bg-amber-500/20 text-amber-600 dark:text-amber-400", dot: "bg-amber-500" },
|
|
5310
5310
|
info: { container: "border-blue-500/30 bg-blue-500/20 text-blue-600 dark:text-blue-400", dot: "bg-blue-500" },
|
|
5311
|
-
neutral: { container: "border-
|
|
5311
|
+
neutral: { container: "border-slate-500/30 bg-slate-500/20 text-slate-600 dark:text-slate-400", dot: "bg-slate-500" },
|
|
5312
5312
|
success: { container: "border-emerald-500/30 bg-emerald-500/20 text-emerald-600 dark:text-emerald-400", dot: "bg-emerald-500" }
|
|
5313
5313
|
};
|
|
5314
5314
|
var LEGACY_STATUS_STYLES = {
|
|
@@ -5316,7 +5316,7 @@ var LEGACY_STATUS_STYLES = {
|
|
|
5316
5316
|
approved: "border-green-200 bg-green-50 text-green-700 dark:border-green-700/30 dark:bg-green-900/20 dark:text-green-400",
|
|
5317
5317
|
rejected: "border-red-200 bg-red-50 text-red-700 dark:border-red-700/30 dark:bg-red-900/20 dark:text-red-400",
|
|
5318
5318
|
active: "border-emerald-200 bg-emerald-50 text-emerald-700 dark:border-emerald-700/30 dark:bg-emerald-900/20 dark:text-emerald-400",
|
|
5319
|
-
inactive: "border-
|
|
5319
|
+
inactive: "border-white/30 dark:border-white/10 bg-slate-500/10 text-slate-700 dark:bg-slate-900/20 dark:text-slate-400",
|
|
5320
5320
|
processing: "border-blue-200 bg-blue-50 text-blue-700 dark:border-blue-700/30 dark:bg-blue-900/20 dark:text-blue-400",
|
|
5321
5321
|
error: "border-red-200 bg-red-50 text-red-700 dark:border-red-700/30 dark:bg-red-900/20 dark:text-red-400",
|
|
5322
5322
|
success: "border-green-200 bg-green-50 text-green-700 dark:border-green-700/30 dark:bg-green-900/20 dark:text-green-400"
|
|
@@ -5326,7 +5326,7 @@ var LEGACY_DOT_STYLES = {
|
|
|
5326
5326
|
approved: "bg-green-500",
|
|
5327
5327
|
rejected: "bg-red-500",
|
|
5328
5328
|
active: "bg-emerald-500",
|
|
5329
|
-
inactive: "bg-
|
|
5329
|
+
inactive: "bg-slate-500",
|
|
5330
5330
|
processing: "bg-blue-500",
|
|
5331
5331
|
error: "bg-red-500",
|
|
5332
5332
|
success: "bg-green-500"
|
|
@@ -5335,7 +5335,7 @@ var SIZE_STYLES = {
|
|
|
5335
5335
|
sm: "px-2 py-0.5 text-xs",
|
|
5336
5336
|
md: "px-2.5 py-1 text-xs"
|
|
5337
5337
|
};
|
|
5338
|
-
var DEFAULT_LEGACY_STYLE = "border-
|
|
5338
|
+
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";
|
|
5339
5339
|
var StatusBadge = forwardRef(function StatusBadge2({ status, label, size = "md", className = "", ...props }, ref) {
|
|
5340
5340
|
if ("statusConfig" in props && props.statusConfig) {
|
|
5341
5341
|
const configuredStatus = props.statusConfig[status];
|
|
@@ -5361,7 +5361,7 @@ var StatusBadge = forwardRef(function StatusBadge2({ status, label, size = "md",
|
|
|
5361
5361
|
);
|
|
5362
5362
|
}
|
|
5363
5363
|
const legacyStyle = LEGACY_STATUS_STYLES[status] ?? DEFAULT_LEGACY_STYLE;
|
|
5364
|
-
const legacyDot = LEGACY_DOT_STYLES[status] ?? "bg-
|
|
5364
|
+
const legacyDot = LEGACY_DOT_STYLES[status] ?? "bg-slate-500";
|
|
5365
5365
|
const resolvedLabel = label ?? status;
|
|
5366
5366
|
return /* @__PURE__ */ jsxs(
|
|
5367
5367
|
"div",
|
|
@@ -5449,7 +5449,7 @@ function Dialog4({
|
|
|
5449
5449
|
Headless6.DialogBackdrop,
|
|
5450
5450
|
{
|
|
5451
5451
|
transition: true,
|
|
5452
|
-
className: "fixed inset-0 flex w-screen justify-center overflow-y-auto bg-
|
|
5452
|
+
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"
|
|
5453
5453
|
}
|
|
5454
5454
|
),
|
|
5455
5455
|
/* @__PURE__ */ jsx("div", { className: "fixed inset-0 w-screen overflow-y-auto pt-6 sm:pt-0", children: /* @__PURE__ */ 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__ */ jsx(
|
|
@@ -5459,7 +5459,7 @@ function Dialog4({
|
|
|
5459
5459
|
className: clsx(
|
|
5460
5460
|
className,
|
|
5461
5461
|
sizes2[size],
|
|
5462
|
-
"row-start-2 w-full min-w-0 rounded-t-3xl bg-white p-(--gutter) shadow-lg ring-1 ring-
|
|
5462
|
+
"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",
|
|
5463
5463
|
"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"
|
|
5464
5464
|
),
|
|
5465
5465
|
children
|
|
@@ -5477,7 +5477,7 @@ function DialogTitle3({
|
|
|
5477
5477
|
...props,
|
|
5478
5478
|
className: clsx(
|
|
5479
5479
|
className,
|
|
5480
|
-
"text-lg/6 font-semibold text-balance text-
|
|
5480
|
+
"text-lg/6 font-semibold text-balance text-slate-950 sm:text-base/6 dark:text-white"
|
|
5481
5481
|
)
|
|
5482
5482
|
}
|
|
5483
5483
|
);
|
|
@@ -5879,12 +5879,12 @@ function FormModal({
|
|
|
5879
5879
|
onSubmit?.(e);
|
|
5880
5880
|
};
|
|
5881
5881
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5882
|
-
/* @__PURE__ */ jsx("div", { className: "liquid-surface shrink-0 border-b border-
|
|
5882
|
+
/* @__PURE__ */ jsx("div", { className: "liquid-surface shrink-0 border-b border-white/30 dark:border-white/10 rounded-t-2xl", children: /* @__PURE__ */ jsxs("div", { className: "px-4 sm:px-6 py-3 sm:py-4 flex items-center justify-between", children: [
|
|
5883
5883
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5884
5884
|
icon && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0", children: icon }),
|
|
5885
5885
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
5886
|
-
/* @__PURE__ */ jsx(DialogTitle, { className: "text-base sm:text-lg font-semibold text-
|
|
5887
|
-
subtitle && /* @__PURE__ */ jsx("p", { className: "text-xs sm:text-sm text-
|
|
5886
|
+
/* @__PURE__ */ jsx(DialogTitle, { className: "text-base sm:text-lg font-semibold text-slate-900 dark:text-white", children: title }),
|
|
5887
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: "text-xs sm:text-sm text-slate-500 dark:text-slate-400 mt-0.5", children: subtitle })
|
|
5888
5888
|
] })
|
|
5889
5889
|
] }),
|
|
5890
5890
|
/* @__PURE__ */ jsx(
|
|
@@ -5898,7 +5898,7 @@ function FormModal({
|
|
|
5898
5898
|
)
|
|
5899
5899
|
] }) }),
|
|
5900
5900
|
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsx("div", { className: "px-4 sm:px-6 py-4 sm:py-6", children }) }),
|
|
5901
|
-
showFooter && /* @__PURE__ */ jsx("div", { className: "liquid-surface shrink-0 border-t border-
|
|
5901
|
+
showFooter && /* @__PURE__ */ jsx("div", { className: "liquid-surface shrink-0 border-t border-white/30 dark:border-white/10 rounded-b-2xl", children: /* @__PURE__ */ 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__ */ jsxs(Fragment, { children: [
|
|
5902
5902
|
/* @__PURE__ */ jsx(
|
|
5903
5903
|
Button,
|
|
5904
5904
|
{
|
|
@@ -7119,9 +7119,21 @@ function StepFormPage({
|
|
|
7119
7119
|
/* @__PURE__ */ jsxs("div", { className: "liquid-surface overflow-hidden rounded-2xl", children: [
|
|
7120
7120
|
gradient && /* @__PURE__ */ jsx("div", { className: `h-1.5 w-full bg-gradient-to-r ${gradient}` }),
|
|
7121
7121
|
/* @__PURE__ */ jsxs("div", { className: "p-5 sm:p-8", children: [
|
|
7122
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center
|
|
7123
|
-
|
|
7124
|
-
|
|
7122
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
7123
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-slate-600 dark:text-white/70", children: [
|
|
7124
|
+
icon,
|
|
7125
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: label })
|
|
7126
|
+
] }),
|
|
7127
|
+
/* @__PURE__ */ jsx(
|
|
7128
|
+
"button",
|
|
7129
|
+
{
|
|
7130
|
+
type: "button",
|
|
7131
|
+
onClick: onCancel,
|
|
7132
|
+
className: "rounded-xl p-2 text-gray-400 transition hover:bg-white/60 dark:hover:bg-white/10",
|
|
7133
|
+
"aria-label": "Close",
|
|
7134
|
+
children: /* @__PURE__ */ jsx(XMarkIcon$1, { className: "h-5 w-5" })
|
|
7135
|
+
}
|
|
7136
|
+
)
|
|
7125
7137
|
] }),
|
|
7126
7138
|
/* @__PURE__ */ 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 }),
|
|
7127
7139
|
steps[currentStep]?.description ?? subtitle ? /* @__PURE__ */ 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,
|
|
@@ -7357,7 +7369,7 @@ function StatusBadgeInternal({ status }) {
|
|
|
7357
7369
|
return /* @__PURE__ */ jsx(
|
|
7358
7370
|
"span",
|
|
7359
7371
|
{
|
|
7360
|
-
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-
|
|
7372
|
+
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"}`,
|
|
7361
7373
|
children: status ? tCommon("active") : tCommon("inactive")
|
|
7362
7374
|
}
|
|
7363
7375
|
);
|
|
@@ -7393,14 +7405,14 @@ function EntityCard({
|
|
|
7393
7405
|
title,
|
|
7394
7406
|
subtitle,
|
|
7395
7407
|
iconContainerClassName: "shrink-0",
|
|
7396
|
-
titleClassName: isPlainTextTitle(title) ? "truncate font-semibold text-
|
|
7397
|
-
subtitleClassName: "mt-0.5 text-xs text-
|
|
7408
|
+
titleClassName: isPlainTextTitle(title) ? "truncate font-semibold text-slate-900 dark:text-white" : "font-semibold text-slate-900 dark:text-white",
|
|
7409
|
+
subtitleClassName: "mt-0.5 text-xs text-slate-500 dark:text-slate-400"
|
|
7398
7410
|
}
|
|
7399
7411
|
),
|
|
7400
7412
|
status !== void 0 && /* @__PURE__ */ jsx(StatusBadgeInternal, { status })
|
|
7401
7413
|
] }),
|
|
7402
7414
|
children && /* @__PURE__ */ jsx("div", { className: "mt-3", children }),
|
|
7403
|
-
footer && /* @__PURE__ */ jsx("div", { className: "mt-3 border-t border-
|
|
7415
|
+
footer && /* @__PURE__ */ 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 })
|
|
7404
7416
|
] })
|
|
7405
7417
|
]
|
|
7406
7418
|
}
|
|
@@ -8577,7 +8589,7 @@ var colors = {
|
|
|
8577
8589
|
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",
|
|
8578
8590
|
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",
|
|
8579
8591
|
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",
|
|
8580
|
-
zinc: "bg-
|
|
8592
|
+
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"
|
|
8581
8593
|
};
|
|
8582
8594
|
function Badge({ color = "zinc", className, ...props }) {
|
|
8583
8595
|
return /* @__PURE__ */ jsx(
|
|
@@ -12752,9 +12764,9 @@ var ContactCard = React11__default.memo(function ContactCard2({
|
|
|
12752
12764
|
phone
|
|
12753
12765
|
}) {
|
|
12754
12766
|
const t = useTranslations("contact");
|
|
12755
|
-
return /* @__PURE__ */ jsxs("div", { className: "rounded-2xl
|
|
12756
|
-
/* @__PURE__ */ jsx("h3", { className: "text-base/7 font-semibold text-
|
|
12757
|
-
/* @__PURE__ */ jsxs("dl", { className: "mt-3 space-y-1 text-sm/6 text-
|
|
12767
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-2xl liquid-surface p-10", children: [
|
|
12768
|
+
/* @__PURE__ */ jsx("h3", { className: "text-base/7 font-semibold text-slate-900", children: t(type) }),
|
|
12769
|
+
/* @__PURE__ */ jsxs("dl", { className: "mt-3 space-y-1 text-sm/6 text-slate-600", children: [
|
|
12758
12770
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
12759
12771
|
/* @__PURE__ */ jsx("dt", { className: "sr-only", children: "Email" }),
|
|
12760
12772
|
/* @__PURE__ */ jsx("dd", { children: /* @__PURE__ */ jsx("a", { href: `mailto:${email}`, className: "font-semibold text-blue-600", children: email }) })
|
|
@@ -12771,9 +12783,9 @@ var OfficeCard = React11__default.memo(function OfficeCard2({
|
|
|
12771
12783
|
address,
|
|
12772
12784
|
postalCode
|
|
12773
12785
|
}) {
|
|
12774
|
-
return /* @__PURE__ */ jsxs("div", { className: "rounded-2xl
|
|
12775
|
-
/* @__PURE__ */ jsx("h3", { className: "text-base/7 font-semibold text-
|
|
12776
|
-
/* @__PURE__ */ jsxs("address", { className: "mt-3 space-y-1 text-sm/6 text-
|
|
12786
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-2xl liquid-surface p-10", children: [
|
|
12787
|
+
/* @__PURE__ */ jsx("h3", { className: "text-base/7 font-semibold text-slate-900", children: city }),
|
|
12788
|
+
/* @__PURE__ */ jsxs("address", { className: "mt-3 space-y-1 text-sm/6 text-slate-600 not-italic", children: [
|
|
12777
12789
|
/* @__PURE__ */ jsx("p", { children: address }),
|
|
12778
12790
|
/* @__PURE__ */ jsx("p", { children: postalCode })
|
|
12779
12791
|
] })
|
|
@@ -12783,8 +12795,8 @@ var ContactSection = React11__default.memo(
|
|
|
12783
12795
|
function ContactSection2({ title, subtitle, children }) {
|
|
12784
12796
|
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-10 py-16 lg:grid-cols-3", children: [
|
|
12785
12797
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
12786
|
-
/* @__PURE__ */ jsx("h2", { className: "text-4xl font-semibold tracking-tight text-pretty text-
|
|
12787
|
-
/* @__PURE__ */ jsx("p", { className: "mt-4 text-base/7 text-
|
|
12798
|
+
/* @__PURE__ */ jsx("h2", { className: "text-4xl font-semibold tracking-tight text-pretty text-slate-900", children: title }),
|
|
12799
|
+
/* @__PURE__ */ jsx("p", { className: "mt-4 text-base/7 text-slate-600", children: subtitle })
|
|
12788
12800
|
] }),
|
|
12789
12801
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8", children })
|
|
12790
12802
|
] });
|
|
@@ -12837,9 +12849,9 @@ function DropdownMenu({
|
|
|
12837
12849
|
// Handle scrolling when menu won't fit in viewport
|
|
12838
12850
|
"overflow-y-auto",
|
|
12839
12851
|
// Popover background
|
|
12840
|
-
"bg-white/75 backdrop-blur-xl dark:bg-
|
|
12852
|
+
"bg-white/75 backdrop-blur-xl dark:bg-slate-800/75",
|
|
12841
12853
|
// Shadows
|
|
12842
|
-
"shadow-lg ring-1 ring-
|
|
12854
|
+
"shadow-lg ring-1 ring-white/30 dark:ring-white/10 dark:ring-inset",
|
|
12843
12855
|
// Define grid at the menu level if subgrid is supported
|
|
12844
12856
|
"supports-[grid-template-columns:subgrid]:grid supports-[grid-template-columns:subgrid]:grid-cols-[auto_1fr_1.5rem_0.5rem_auto]",
|
|
12845
12857
|
// Transitions
|
|
@@ -12857,7 +12869,7 @@ function DropdownItem({
|
|
|
12857
12869
|
// Base styles
|
|
12858
12870
|
"group cursor-default rounded-lg px-3.5 py-2.5 focus:outline-hidden sm:px-3 sm:py-1.5",
|
|
12859
12871
|
// Text styles
|
|
12860
|
-
"text-left text-base/6 text-
|
|
12872
|
+
"text-left text-base/6 text-slate-950 sm:text-sm/6 dark:text-white forced-colors:text-[CanvasText]",
|
|
12861
12873
|
// Focus
|
|
12862
12874
|
"data-focus:bg-blue-500 data-focus:text-white",
|
|
12863
12875
|
// Disabled state
|
|
@@ -12868,7 +12880,7 @@ function DropdownItem({
|
|
|
12868
12880
|
"col-span-full grid grid-cols-[auto_1fr_1.5rem_0.5rem_auto] items-center supports-[grid-template-columns:subgrid]:grid-cols-subgrid",
|
|
12869
12881
|
// Icons
|
|
12870
12882
|
"*: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",
|
|
12871
|
-
"*:data-[slot=icon]:text-
|
|
12883
|
+
"*: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",
|
|
12872
12884
|
// Avatar
|
|
12873
12885
|
"*: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"
|
|
12874
12886
|
);
|
|
@@ -12892,7 +12904,7 @@ function DropdownDivider({
|
|
|
12892
12904
|
...props,
|
|
12893
12905
|
className: clsx(
|
|
12894
12906
|
className,
|
|
12895
|
-
"col-span-full mx-3.5 my-1 h-px border-0 bg-
|
|
12907
|
+
"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]"
|
|
12896
12908
|
)
|
|
12897
12909
|
}
|
|
12898
12910
|
);
|
|
@@ -12913,24 +12925,24 @@ function DropdownLabel({
|
|
|
12913
12925
|
}
|
|
12914
12926
|
var colors2 = {
|
|
12915
12927
|
"dark/zinc": [
|
|
12916
|
-
"[--switch-bg-ring:var(--color-
|
|
12917
|
-
"[--switch-ring:var(--color-
|
|
12928
|
+
"[--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",
|
|
12929
|
+
"[--switch-ring:var(--color-slate-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white] dark:[--switch-ring:var(--color-slate-700)]/90"
|
|
12918
12930
|
],
|
|
12919
12931
|
"dark/white": [
|
|
12920
|
-
"[--switch-bg-ring:var(--color-
|
|
12921
|
-
"[--switch-ring:var(--color-
|
|
12932
|
+
"[--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)]",
|
|
12933
|
+
"[--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)]"
|
|
12922
12934
|
],
|
|
12923
12935
|
dark: [
|
|
12924
|
-
"[--switch-bg-ring:var(--color-
|
|
12925
|
-
"[--switch-ring:var(--color-
|
|
12936
|
+
"[--switch-bg-ring:var(--color-slate-950)]/90 [--switch-bg:var(--color-slate-900)] dark:[--switch-bg-ring:var(--color-white)]/15",
|
|
12937
|
+
"[--switch-ring:var(--color-slate-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white]"
|
|
12926
12938
|
],
|
|
12927
12939
|
zinc: [
|
|
12928
|
-
"[--switch-bg-ring:var(--color-
|
|
12929
|
-
"[--switch-shadow:var(--color-black)]/10 [--switch:white] [--switch-ring:var(--color-
|
|
12940
|
+
"[--switch-bg-ring:var(--color-slate-700)]/90 [--switch-bg:var(--color-slate-600)] dark:[--switch-bg-ring:transparent]",
|
|
12941
|
+
"[--switch-shadow:var(--color-black)]/10 [--switch:white] [--switch-ring:var(--color-slate-700)]/90"
|
|
12930
12942
|
],
|
|
12931
12943
|
white: [
|
|
12932
12944
|
"[--switch-bg-ring:var(--color-black)]/15 [--switch-bg:white] dark:[--switch-bg-ring:transparent]",
|
|
12933
|
-
"[--switch-shadow:var(--color-black)]/10 [--switch-ring:transparent] [--switch:var(--color-
|
|
12945
|
+
"[--switch-shadow:var(--color-black)]/10 [--switch-ring:transparent] [--switch:var(--color-slate-950)]"
|
|
12934
12946
|
],
|
|
12935
12947
|
red: [
|
|
12936
12948
|
"[--switch-bg-ring:var(--color-red-700)]/90 [--switch-bg:var(--color-red-600)] dark:[--switch-bg-ring:transparent]",
|
|
@@ -13020,7 +13032,7 @@ function Switch2({
|
|
|
13020
13032
|
// Outline and background color in forced-colors mode so switch is still visible
|
|
13021
13033
|
"forced-colors:outline forced-colors:[--switch-bg:Highlight] dark:forced-colors:[--switch-bg:Highlight]",
|
|
13022
13034
|
// Unchecked
|
|
13023
|
-
"bg-
|
|
13035
|
+
"bg-slate-200 ring-1 ring-black/5 ring-inset dark:bg-white/5 dark:ring-white/15",
|
|
13024
13036
|
// Checked
|
|
13025
13037
|
"data-checked:bg-(--switch-bg) data-checked:ring-(--switch-bg-ring) dark:data-checked:bg-(--switch-bg) dark:data-checked:ring-(--switch-bg-ring)",
|
|
13026
13038
|
// Focus
|
|
@@ -13029,7 +13041,7 @@ function Switch2({
|
|
|
13029
13041
|
"data-hover:ring-black/15 data-hover:data-checked:ring-(--switch-bg-ring)",
|
|
13030
13042
|
"dark:data-hover:ring-white/25 dark:data-hover:data-checked:ring-(--switch-bg-ring)",
|
|
13031
13043
|
// Disabled
|
|
13032
|
-
"data-disabled:bg-
|
|
13044
|
+
"data-disabled:bg-slate-200 data-disabled:opacity-50 data-disabled:data-checked:bg-slate-200 data-disabled:data-checked:ring-black/5",
|
|
13033
13045
|
"dark:data-disabled:bg-white/15 dark:data-disabled:data-checked:bg-white/15 dark:data-disabled:data-checked:ring-white/15",
|
|
13034
13046
|
// Color specific styles
|
|
13035
13047
|
colors2[color]
|
|
@@ -13046,7 +13058,7 @@ function Switch2({
|
|
|
13046
13058
|
// Invisible border so the switch is still visible in forced-colors mode
|
|
13047
13059
|
"border border-transparent",
|
|
13048
13060
|
// Unchecked
|
|
13049
|
-
"bg-white shadow-sm ring-1 ring-black/5",
|
|
13061
|
+
"bg-white/90 backdrop-blur-sm shadow-sm ring-1 ring-black/5",
|
|
13050
13062
|
// Checked
|
|
13051
13063
|
"group-data-checked:bg-(--switch) group-data-checked:shadow-(--switch-shadow) group-data-checked:ring-(--switch-ring)",
|
|
13052
13064
|
"group-data-checked:translate-x-4 sm:group-data-checked:translate-x-3",
|
|
@@ -13793,5 +13805,5 @@ function PlatformShell({
|
|
|
13793
13805
|
}
|
|
13794
13806
|
|
|
13795
13807
|
export { ActionMenu, ActionSheet, ActiveFilterChips, AnalysisSkeleton, AnimatedNumber, AnimatedTableRow, AppLogo, AppNavigation, AppShell, ArchiveSwipeAction, AuthLayout, Avatar, AvatarButton, BRAZIL_ACCENT_MAP, BRAZIL_MACRO_REGIONS, BRAZIL_MAP_CENTER, BRAZIL_STATE_COORDINATES, BRAZIL_STATE_PALETTES, BR_THEME_CONFIG, BackupCodeGrid, BadRequestPage, Badge, BaseForm, BentoCard, BooleanFlagsPicker, BottomSafeArea, BrandFilterSkeleton, BrandedLoader, Breadcrumb, Button, Card, CardActionMenu, CardContent, CardDescription, CardDivider, CardFooter, CardGridSkeleton, CardHeader, CardSectionHeader, CardTitle, CategoryBadge, CategoryTab, CategoryTabs, ChipPicker, CircularRefreshIndicator, Code, CollapsibleGroupedList, CompactSegmentedControl, ContactCard, ContactSection, Container, ContextMenu, CookieConsent, CopyableId, CountPill, CreateActionButton, DashboardProgressShell, DataPagination, DatePicker, DeleteSwipeAction, Description4 as Description, DetailsPopover, DevModeBanner, Dialog4 as Dialog, DialogActions, DialogBody, DialogDescription, DialogTitle3 as DialogTitle, Divider, Dock, DockContainer, DockSkeleton, DotRefreshIndicator, Dropdown, DropdownButton, DropdownDivider, DropdownItem, DropdownLabel, DropdownMenu, DropdownSelect, DynamicIsland, DynamicIslandConfirm, DynamicIslandNotification, EdgeSwipeIndicator, EdgeSwipeProvider, EditSwipeAction, EmptyState, EntityCard, EntityDrawer, ErrorMessage, ErrorState, ExpandableHistoryList, ExpandingPageIndicator, FUEL_PRICE_LOADER, FavoriteSwipeAction, FeatureCard, FeedItemCard, Field2 as Field, FieldGroup, Fieldset2 as Fieldset, FilterBadge, FilterPill, FilterSectionHeader, FilterTileButton, FloatingActionButton, FlyoutMenu, FlyoutNavGrid, FlyoutQuickActions, ForceTouchMenu, Form, FormActions, FormActionsRow, FormCheckbox, FormField, FormGrid, FormInput, FormModal, FormPriceInput, FormSection, FormSelect, FormTextarea, FormToggle, GeoMapCanvas, GeoMapLegend, GlassModal, Gradient, GradientBackground, GrowthIndicator, Heading, HeroPanel, HeroSection, IconButton, InfoPopover, InlineForm, InlineSpinner, Input, InteractiveGeoMap, ItemSummary, KORI_ERP_LOADER, Label2 as Label, LabeledToggle, LanguageSwitcher, LaunchpadGrid, Lead, Legend2 as Legend, LiquidFilterInput, ListCard, ListCardItem, ListItem, LoadingOverlay, ManagementPageLayout, ManagementSurface, MapZoomControls, MetricCard, MonthPicker, MultiColumnPicker, NavigationProgress, NoDataState, NoResultsState, NotFoundPage, NotificationBadge, NotificationBellButton, NotificationProvider, OfficeCard, OfflineState, OptionGrid, OtpInput, PageEmptyState, PageHeader, PageHeading, PageIndicator, PageLoadingState, PageSectionHeader, Pagination, PasswordInput, PasswordStrengthMeter, Pill, PlatformShell, PlusGrid, PlusGridItem, PlusGridRow, PreferenceSection, PriceChangeBadge, ProfileIdentityCard, Progress, ProgressIndicator, PullToRefreshContainer, PullToRefreshIndicator, RadiantHeading, RadiantStatCard, RadiantSubheading, RegionFilterSkeleton, RoleBadge, SafeArea, SafeAreaSpacer, SafeAreaView, SearchBar, SearchFilterToolbar, SearchInput, SectionCard, SectionHeader, SectionHeaderSkeleton, SegmentedControl, Select, SelectableChipPicker, SelectableListPicker, SelectableOptionsGrid, SelectableTableRow, SelectionCard, ServerErrorPage, SettingsDialog, SettingsModal, Sheet, SocialLoginButtons, SortableTableHeader, Spinner, Stat, StatCard, StatCardSkeleton, StatusBadge, StatusToggle, StepFormPage, StepNavigationButtons, StepTimeline, Strong, Subheading, SwipeableRow, Switch2 as Switch, Table, TableBody, TableCell, TableEmptyState, TableHead, TableHeader, TableRow, TableSkeleton, TableSkeletonRow, Tabs, TabsContent, TabsList, TabsTrigger, TagBadge, Text, TextLink, Textarea, ThemeSwitch, ThemeToggle, ThemeToggleCompact, TimePicker, ToggleSwitch, TouchTarget, US_ACCENT_MAP, US_MACRO_REGIONS, US_MAP_CENTER, US_STATE_COORDINATES, US_STATE_PALETTES, US_THEME_CONFIG, UserAvatar, UserMobileInfo, WINDSOCK_LOADER, WIRE_LOADER, WheelPicker, WindsockIcon, buildDockActions, buildFlyoutNavItems, buildLaunchpadItems, buttonPress, buttonPressReduced, buttonTap, cardHover, cardHoverReduced, cardPress, createMotionProps, durations, durationsReduced, easings, fadeOnly, fadeScale, filterByPermission, formatCurrency, formatDate, formatPercentage, getBrazilAccent, getBrazilColors, getBrazilFlagUrl, getBrazilGradient, getBrazilHexColor, getBrazilPalette, getStatusColor, getSubdivisionAccent, getSubdivisionColors, getSubdivisionFlagUrl, getSubdivisionGradient, getSubdivisionHexColor, getSubdivisionPalette, getTransition, getUsAccent, getUsColors, getUsFlagUrl, getUsGradient, getUsHexColor, getUsPalette, getVariants, iosColors, isValidBrazilState, isValidSubdivision, isValidUsState, listItem, listItemReduced, notificationBanner, notificationBannerReduced, pageControlDot, prefersReducedMotion, registerSubdivisionTheme, resolveGlassAccentRgb, selectIsAuthenticated, selectShowShellChrome, selectUserInitial, selectUserName, shimmerClass, shimmerWhiteClass, slideDown, slideRight, slideUp, springPresets, springPresetsReduced, staggerContainer, swipeActionThreshold, swipeConstraints, useGeoMapState, useNotifications, usePlatformShellStore, usePullToRefresh };
|
|
13796
|
-
//# sourceMappingURL=chunk-
|
|
13797
|
-
//# sourceMappingURL=chunk-
|
|
13808
|
+
//# sourceMappingURL=chunk-2GNFQ5OX.mjs.map
|
|
13809
|
+
//# sourceMappingURL=chunk-2GNFQ5OX.mjs.map
|