@axzydev/axzy_ui_system 1.0.169 → 1.0.170

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1422,10 +1422,10 @@ var DEFAULT_PALETTE = {
1422
1422
  warning: "#eab308",
1423
1423
  // Yellow
1424
1424
  layout: {
1425
- sidebarBg: "#0f172a",
1426
- // Dark slate-900
1427
- sidebarText: "#94a3b8",
1428
- // Slate-400
1425
+ sidebarBg: "#ffffff",
1426
+ // White (light mode default)
1427
+ sidebarText: "#334155",
1428
+ // Slate-700 (dark text for light sidebar)
1429
1429
  navbarBg: "#ffffff",
1430
1430
  // White
1431
1431
  navbarText: "#1e293b"
@@ -1450,25 +1450,29 @@ var PRESETS = [
1450
1450
  // Indigo
1451
1451
  secondary: "#475569",
1452
1452
  // Slate
1453
- ternary: "#a855f7",
1454
- // Purple
1453
+ ternary: "#f472b6",
1454
+ // Pink (was Purple — now distinct from primary)
1455
1455
  danger: "#ef4444",
1456
- success: "#22c55e",
1456
+ // Red
1457
+ success: "#34d399",
1458
+ // Emerald (distinct green tone)
1457
1459
  info: "#38bdf8",
1458
- alert: "#f97316",
1459
- warning: "#eab308",
1460
+ // Sky
1461
+ alert: "#fb923c",
1462
+ // Orange
1463
+ warning: "#fbbf24",
1464
+ // Amber
1460
1465
  layout: {
1461
1466
  sidebarBg: "#020617",
1462
- // Slate-950
1463
1467
  sidebarText: "#cbd5e1",
1464
1468
  navbarBg: "#0f172a",
1465
1469
  navbarText: "#f8fafc"
1466
1470
  },
1467
1471
  table: {
1468
- headerBg: "#1e293b",
1469
- headerText: "#e2e8f0",
1470
- rowBg: "#0f172a",
1471
- rowText: "#cbd5e1"
1472
+ headerBg: "#f8fafc",
1473
+ headerText: "#334155",
1474
+ rowBg: "#ffffff",
1475
+ rowText: "#1e293b"
1472
1476
  }
1473
1477
  }
1474
1478
  },
@@ -1478,25 +1482,30 @@ var PRESETS = [
1478
1482
  primary: "#f43f5e",
1479
1483
  // Rose
1480
1484
  secondary: "#64748b",
1485
+ // Slate
1481
1486
  ternary: "#fb923c",
1482
1487
  // Orange
1483
- danger: "#dc2626",
1484
- success: "#16a34a",
1485
- info: "#0ea5e9",
1486
- alert: "#f97316",
1487
- warning: "#facc15",
1488
+ danger: "#b91c1c",
1489
+ // Dark Red (distinct from Rose primary)
1490
+ success: "#2dd4bf",
1491
+ // Teal (NOT green — avoids confusion with primary hue)
1492
+ info: "#818cf8",
1493
+ // Indigo (distinct from sky/cyan)
1494
+ alert: "#f59e0b",
1495
+ // Amber (distinct from orange ternary)
1496
+ warning: "#fde047",
1497
+ // Yellow
1488
1498
  layout: {
1489
1499
  sidebarBg: "#0f050b",
1490
- // Deep rose-slate
1491
1500
  sidebarText: "#fda4af",
1492
1501
  navbarBg: "#1c0a15",
1493
1502
  navbarText: "#ffe4e6"
1494
1503
  },
1495
1504
  table: {
1496
- headerBg: "#2e1022",
1497
- headerText: "#fecdd3",
1498
- rowBg: "#1c0a15",
1499
- rowText: "#ffe4e6"
1505
+ headerBg: "#f8fafc",
1506
+ headerText: "#334155",
1507
+ rowBg: "#ffffff",
1508
+ rowText: "#1e293b"
1500
1509
  }
1501
1510
  }
1502
1511
  },
@@ -1506,25 +1515,30 @@ var PRESETS = [
1506
1515
  primary: "#0ea5e9",
1507
1516
  // Sky
1508
1517
  secondary: "#64748b",
1509
- ternary: "#14b8a6",
1510
- // Teal
1511
- danger: "#ef4444",
1512
- success: "#10b981",
1513
- info: "#3b82f6",
1514
- alert: "#f97316",
1515
- warning: "#eab308",
1518
+ // Slate
1519
+ ternary: "#a78bfa",
1520
+ // Violet (distinct from Sky primary)
1521
+ danger: "#f43f5e",
1522
+ // Rose (distinct red, not plain red)
1523
+ success: "#34d399",
1524
+ // Emerald
1525
+ info: "#6366f1",
1526
+ // Indigo (distinct from Sky primary)
1527
+ alert: "#fb923c",
1528
+ // Orange
1529
+ warning: "#fbbf24",
1530
+ // Amber
1516
1531
  layout: {
1517
1532
  sidebarBg: "#031b2f",
1518
- // Deep ocean blue
1519
1533
  sidebarText: "#7dd3fc",
1520
1534
  navbarBg: "#0b253c",
1521
1535
  navbarText: "#e0f2fe"
1522
1536
  },
1523
1537
  table: {
1524
- headerBg: "#0c2e4b",
1525
- headerText: "#bae6fd",
1526
- rowBg: "#0b253c",
1527
- rowText: "#e0f2fe"
1538
+ headerBg: "#f8fafc",
1539
+ headerText: "#334155",
1540
+ rowBg: "#ffffff",
1541
+ rowText: "#1e293b"
1528
1542
  }
1529
1543
  }
1530
1544
  },
@@ -1534,25 +1548,30 @@ var PRESETS = [
1534
1548
  primary: "#10b981",
1535
1549
  // Emerald
1536
1550
  secondary: "#64748b",
1551
+ // Slate
1537
1552
  ternary: "#84cc16",
1538
- // Lime
1553
+ // Lime (yellow-green, distinct from emerald)
1539
1554
  danger: "#ef4444",
1540
- success: "#16a34a",
1541
- info: "#06b6d4",
1542
- alert: "#f59e0b",
1543
- warning: "#eab308",
1555
+ // Red
1556
+ success: "#2dd4bf",
1557
+ // Teal (distinct cyan-green, NOT another green)
1558
+ info: "#38bdf8",
1559
+ // Sky blue (distinct from greens)
1560
+ alert: "#f97316",
1561
+ // Orange
1562
+ warning: "#fbbf24",
1563
+ // Amber (distinct from orange)
1544
1564
  layout: {
1545
1565
  sidebarBg: "#022c1b",
1546
- // Deep forest green
1547
1566
  sidebarText: "#6ee7b7",
1548
1567
  navbarBg: "#043e26",
1549
1568
  navbarText: "#d1fae5"
1550
1569
  },
1551
1570
  table: {
1552
- headerBg: "#064e3b",
1553
- headerText: "#a7f3d0",
1554
- rowBg: "#043e26",
1555
- rowText: "#d1fae5"
1571
+ headerBg: "#f8fafc",
1572
+ headerText: "#334155",
1573
+ rowBg: "#ffffff",
1574
+ rowText: "#1e293b"
1556
1575
  }
1557
1576
  }
1558
1577
  },
@@ -1562,25 +1581,30 @@ var PRESETS = [
1562
1581
  primary: "#8b5cf6",
1563
1582
  // Violet
1564
1583
  secondary: "#64748b",
1584
+ // Slate
1565
1585
  ternary: "#ec4899",
1566
- // Pink
1567
- danger: "#e11d48",
1568
- success: "#22c55e",
1569
- info: "#3b82f6",
1570
- alert: "#f97316",
1571
- warning: "#facc15",
1586
+ // Pink (distinct from violet)
1587
+ danger: "#ef4444",
1588
+ // Red
1589
+ success: "#34d399",
1590
+ // Emerald (clean green, distinct from violet)
1591
+ info: "#38bdf8",
1592
+ // Sky (distinct from violet/pink)
1593
+ alert: "#fb923c",
1594
+ // Orange
1595
+ warning: "#fbbf24",
1596
+ // Amber
1572
1597
  layout: {
1573
1598
  sidebarBg: "#1e0b36",
1574
- // Deep royal purple
1575
1599
  sidebarText: "#c084fc",
1576
1600
  navbarBg: "#291048",
1577
1601
  navbarText: "#f3e8ff"
1578
1602
  },
1579
1603
  table: {
1580
- headerBg: "#3b1764",
1581
- headerText: "#e9d5ff",
1582
- rowBg: "#291048",
1583
- rowText: "#f3e8ff"
1604
+ headerBg: "#f8fafc",
1605
+ headerText: "#334155",
1606
+ rowBg: "#ffffff",
1607
+ rowText: "#1e293b"
1584
1608
  }
1585
1609
  }
1586
1610
  }
@@ -1617,7 +1641,28 @@ var isLightColor2 = (hex) => {
1617
1641
  const brightness = (r * 299 + g * 587 + b * 114) / 1e3;
1618
1642
  return brightness > 140;
1619
1643
  };
1620
- function ITThemeProvider({ children, theme: theme2 }) {
1644
+ var isVeryDarkColor = (hex) => {
1645
+ if (!hex || typeof hex !== "string") return false;
1646
+ const color = hex.replace("#", "");
1647
+ let r = 0, g = 0, b = 0;
1648
+ if (color.length === 3) {
1649
+ r = parseInt(color[0] + color[0], 16);
1650
+ g = parseInt(color[1] + color[1], 16);
1651
+ b = parseInt(color[2] + color[2], 16);
1652
+ } else if (color.length === 6) {
1653
+ r = parseInt(color.substring(0, 2), 16);
1654
+ g = parseInt(color.substring(2, 4), 16);
1655
+ b = parseInt(color.substring(4, 6), 16);
1656
+ } else {
1657
+ return false;
1658
+ }
1659
+ const brightness = (r * 299 + g * 587 + b * 114) / 1e3;
1660
+ return brightness < 50;
1661
+ };
1662
+ function ITThemeProvider({
1663
+ children,
1664
+ theme: theme2
1665
+ }) {
1621
1666
  const [palette2, setPaletteState] = (0, import_react6.useState)(() => {
1622
1667
  const basePalette = {
1623
1668
  ...DEFAULT_PALETTE,
@@ -1674,13 +1719,15 @@ function ITThemeProvider({ children, theme: theme2 }) {
1674
1719
  localStorage.setItem("it-theme-custom-presets", JSON.stringify(updated));
1675
1720
  };
1676
1721
  const [resolvedTheme, setResolvedTheme] = (0, import_react6.useState)("light");
1677
- const [darkModeMode, setDarkModeMode] = (0, import_react6.useState)(() => {
1678
- const saved = localStorage.getItem("it-theme-dark-mode");
1679
- if (saved === "light" || saved === "dark" || saved === "system") {
1680
- return saved;
1722
+ const [darkModeMode, setDarkModeMode] = (0, import_react6.useState)(
1723
+ () => {
1724
+ const saved = localStorage.getItem("it-theme-dark-mode");
1725
+ if (saved === "light" || saved === "dark" || saved === "system") {
1726
+ return saved;
1727
+ }
1728
+ return "system";
1681
1729
  }
1682
- return "system";
1683
- });
1730
+ );
1684
1731
  (0, import_react6.useEffect)(() => {
1685
1732
  localStorage.setItem("it-theme-dark-mode", darkModeMode);
1686
1733
  const applyDarkMode = (isDark) => {
@@ -1712,16 +1759,24 @@ function ITThemeProvider({ children, theme: theme2 }) {
1712
1759
  if (typeof val === "object" && val !== null) {
1713
1760
  injectStyles(val, prefix + key + "-");
1714
1761
  } else {
1715
- document.documentElement.style.setProperty(`--color-${prefix}${key}`, val);
1762
+ document.documentElement.style.setProperty(
1763
+ `--color-${prefix}${key}`,
1764
+ val
1765
+ );
1716
1766
  if (prefix === "layout-") {
1717
- document.documentElement.style.setProperty(`--color-${key}`, val);
1767
+ document.documentElement.style.setProperty(
1768
+ `--color-${key}`,
1769
+ val
1770
+ );
1718
1771
  }
1719
1772
  }
1720
1773
  });
1721
1774
  };
1722
1775
  injectStyles(palette2);
1723
1776
  localStorage.setItem(STORAGE_KEY, JSON.stringify(palette2));
1724
- let styleTag = document.getElementById("it-theme-dynamic-overrides");
1777
+ let styleTag = document.getElementById(
1778
+ "it-theme-dynamic-overrides"
1779
+ );
1725
1780
  if (!styleTag) {
1726
1781
  styleTag = document.createElement("style");
1727
1782
  styleTag.id = "it-theme-dynamic-overrides";
@@ -1763,29 +1818,34 @@ function ITThemeProvider({ children, theme: theme2 }) {
1763
1818
  }
1764
1819
  } else {
1765
1820
  if (!isLightColor2(tableRowBg)) {
1766
- tableRowBg = `color-mix(in srgb, ${palette2.table.rowBg} 8%, #ffffff)`;
1821
+ tableRowBg = isVeryDarkColor(palette2.table.rowBg) ? "#ffffff" : `color-mix(in srgb, ${palette2.table.rowBg} 8%, #ffffff)`;
1767
1822
  }
1768
1823
  if (isLightColor2(tableRowText)) {
1769
1824
  tableRowText = `color-mix(in srgb, ${palette2.table.rowText} 30%, #1e293b)`;
1825
+ } else if (!isLightColor2(tableRowText) && isVeryDarkColor(palette2.table.rowText)) {
1770
1826
  }
1771
1827
  if (!isLightColor2(tableHeaderBg)) {
1772
- tableHeaderBg = `color-mix(in srgb, ${palette2.table.headerBg} 12%, #f8fafc)`;
1828
+ tableHeaderBg = isVeryDarkColor(palette2.table.headerBg) ? "#f1f5f9" : `color-mix(in srgb, ${palette2.table.headerBg} 12%, #f8fafc)`;
1773
1829
  }
1774
1830
  if (isLightColor2(tableHeaderText)) {
1775
1831
  tableHeaderText = `color-mix(in srgb, ${palette2.table.headerText} 30%, #334155)`;
1832
+ } else if (!isLightColor2(tableHeaderText) && isVeryDarkColor(palette2.table.headerText)) {
1776
1833
  }
1777
1834
  if (!isLightColor2(navbarBg)) {
1778
- navbarBg = `color-mix(in srgb, ${palette2.layout.navbarBg} 8%, #ffffff)`;
1835
+ navbarBg = isVeryDarkColor(palette2.layout.navbarBg) ? "#ffffff" : `color-mix(in srgb, ${palette2.layout.navbarBg} 8%, #ffffff)`;
1779
1836
  }
1780
1837
  if (isLightColor2(navbarText)) {
1781
1838
  navbarText = `color-mix(in srgb, ${palette2.layout.navbarText} 30%, #1e293b)`;
1782
1839
  }
1783
1840
  if (!isLightColor2(sidebarBg)) {
1784
- sidebarBg = `color-mix(in srgb, ${palette2.layout.sidebarBg} 8%, #ffffff)`;
1841
+ sidebarBg = isVeryDarkColor(palette2.layout.sidebarBg) ? "#ffffff" : `color-mix(in srgb, ${palette2.layout.sidebarBg} 8%, #ffffff)`;
1785
1842
  }
1786
1843
  if (isLightColor2(sidebarText)) {
1787
1844
  sidebarText = `color-mix(in srgb, ${palette2.layout.sidebarText} 30%, #1e293b)`;
1788
1845
  }
1846
+ if (sidebarBg === "#ffffff" || isLightColor2(sidebarBg)) {
1847
+ sidebarText = "#334155";
1848
+ }
1789
1849
  }
1790
1850
  styleTag.innerHTML = `
1791
1851
  :root {
@@ -2954,10 +3014,36 @@ function ITThemeProvider({ children, theme: theme2 }) {
2954
3014
  ),
2955
3015
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-[10px] font-semibold truncate w-full mb-1 pr-4", children: preset.name }),
2956
3016
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex gap-1", children: [
2957
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "w-2.5 h-2.5 rounded-full border border-black/10", style: { backgroundColor: preset.colors.primary } }),
2958
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "w-2.5 h-2.5 rounded-full border border-black/10", style: { backgroundColor: preset.colors.secondary } }),
2959
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "w-2.5 h-2.5 rounded-full border border-black/10", style: { backgroundColor: preset.colors.ternary } }),
2960
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "w-2.5 h-2.5 rounded-full border border-black/10", style: { backgroundColor: preset.colors.success } })
3017
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3018
+ "span",
3019
+ {
3020
+ className: "w-2.5 h-2.5 rounded-full border border-black/10",
3021
+ style: { backgroundColor: preset.colors.primary }
3022
+ }
3023
+ ),
3024
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3025
+ "span",
3026
+ {
3027
+ className: "w-2.5 h-2.5 rounded-full border border-black/10",
3028
+ style: {
3029
+ backgroundColor: preset.colors.secondary
3030
+ }
3031
+ }
3032
+ ),
3033
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3034
+ "span",
3035
+ {
3036
+ className: "w-2.5 h-2.5 rounded-full border border-black/10",
3037
+ style: { backgroundColor: preset.colors.ternary }
3038
+ }
3039
+ ),
3040
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3041
+ "span",
3042
+ {
3043
+ className: "w-2.5 h-2.5 rounded-full border border-black/10",
3044
+ style: { backgroundColor: preset.colors.success }
3045
+ }
3046
+ )
2961
3047
  ] })
2962
3048
  ]
2963
3049
  },
@@ -2978,10 +3064,34 @@ function ITThemeProvider({ children, theme: theme2 }) {
2978
3064
  children: [
2979
3065
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-[10px] font-semibold truncate w-full mb-1", children: preset.name }),
2980
3066
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex gap-1", children: [
2981
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "w-2.5 h-2.5 rounded-full border border-black/10", style: { backgroundColor: preset.colors.primary } }),
2982
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "w-2.5 h-2.5 rounded-full border border-black/10", style: { backgroundColor: preset.colors.secondary } }),
2983
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "w-2.5 h-2.5 rounded-full border border-black/10", style: { backgroundColor: preset.colors.ternary } }),
2984
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "w-2.5 h-2.5 rounded-full border border-black/10", style: { backgroundColor: preset.colors.success } })
3067
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3068
+ "span",
3069
+ {
3070
+ className: "w-2.5 h-2.5 rounded-full border border-black/10",
3071
+ style: { backgroundColor: preset.colors.primary }
3072
+ }
3073
+ ),
3074
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3075
+ "span",
3076
+ {
3077
+ className: "w-2.5 h-2.5 rounded-full border border-black/10",
3078
+ style: { backgroundColor: preset.colors.secondary }
3079
+ }
3080
+ ),
3081
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3082
+ "span",
3083
+ {
3084
+ className: "w-2.5 h-2.5 rounded-full border border-black/10",
3085
+ style: { backgroundColor: preset.colors.ternary }
3086
+ }
3087
+ ),
3088
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3089
+ "span",
3090
+ {
3091
+ className: "w-2.5 h-2.5 rounded-full border border-black/10",
3092
+ style: { backgroundColor: preset.colors.success }
3093
+ }
3094
+ )
2985
3095
  ] })
2986
3096
  ]
2987
3097
  },
@@ -4245,8 +4355,8 @@ function ITTable({
4245
4355
  return value;
4246
4356
  }
4247
4357
  };
4248
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: (0, import_clsx9.default)("space-y-4 w-full", containerClassName), children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "bg-white rounded-xl shadow-sm border border-secondary-200 overflow-hidden", children: [
4249
- title && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "bg-white px-6 py-5 border-b border-secondary-100", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h2", { className: "text-xl font-bold text-secondary-900 leading-tight", children: title }) }),
4358
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: (0, import_clsx9.default)("space-y-4 w-full", containerClassName), children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "rounded-xl shadow-sm border border-secondary-200 overflow-hidden", style: { backgroundColor: "var(--color-table-rowBg, #ffffff)" }, children: [
4359
+ title && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "px-6 py-5 border-b border-secondary-100", style: { backgroundColor: "var(--color-table-rowBg, #ffffff)" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h2", { className: "text-xl font-bold text-secondary-900 leading-tight", children: title }) }),
4250
4360
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
4251
4361
  "table",
4252
4362
  {
@@ -4300,7 +4410,7 @@ function ITTable({
4300
4410
  ]
4301
4411
  }
4302
4412
  ) }),
4303
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "bg-white rounded-b-xl border-t border-secondary-200 px-6 py-4", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
4413
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "rounded-b-xl border-t border-secondary-200 px-6 py-4", style: { backgroundColor: "var(--color-table-rowBg, #ffffff)" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
4304
4414
  ITPagination,
4305
4415
  {
4306
4416
  currentPage,
@@ -4509,13 +4619,13 @@ function ITDataTable({
4509
4619
  }
4510
4620
  };
4511
4621
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: (0, import_clsx10.default)("space-y-4 w-full relative", containerClassName), children: [
4512
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "bg-white rounded-xl shadow-sm border border-secondary-200 overflow-hidden", children: [
4513
- title && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "bg-white px-6 py-5 border-b border-secondary-100 flex justify-between items-center", children: [
4622
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "rounded-xl shadow-sm border border-secondary-200 overflow-hidden", style: { backgroundColor: "var(--color-table-rowBg, #ffffff)" }, children: [
4623
+ title && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "px-6 py-5 border-b border-secondary-100 flex justify-between items-center", style: { backgroundColor: "var(--color-table-rowBg, #ffffff)" }, children: [
4514
4624
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h2", { className: "text-xl font-bold text-secondary-900 leading-tight", children: title }),
4515
4625
  isLoading && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "text-secondary-400", children: loadingIndicator || /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_fa7.FaSpinner, { className: "animate-spin text-primary-500 text-xl" }) })
4516
4626
  ] }),
4517
4627
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "overflow-x-auto relative min-h-[200px]", children: [
4518
- isLoading && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "absolute inset-0 z-20 flex items-center justify-center bg-white/40 backdrop-blur-[2px] transition-all duration-300", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex flex-col items-center gap-3 bg-white p-6 rounded-2xl shadow-xl border border-secondary-100 animate-in fade-in zoom-in duration-300", children: loadingIndicator || /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
4628
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "absolute inset-0 z-20 flex items-center justify-center bg-white/40 backdrop-blur-[2px] transition-all duration-300", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex flex-col items-center gap-3 p-6 rounded-2xl shadow-xl border border-secondary-100 animate-in fade-in zoom-in duration-300", style: { backgroundColor: "var(--color-table-rowBg, #ffffff)" }, children: loadingIndicator || /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
4519
4629
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_fa7.FaSpinner, { className: "animate-spin text-primary-500 text-4xl" }),
4520
4630
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "text-sm font-semibold text-secondary-600 animate-pulse", children: "Cargando datos..." })
4521
4631
  ] }) }) }),
@@ -4555,7 +4665,7 @@ function ITDataTable({
4555
4665
  )
4556
4666
  ] })
4557
4667
  ] }),
4558
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "bg-white rounded-b-xl border-t border-secondary-200 px-6 py-4", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4668
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "rounded-b-xl border-t border-secondary-200 px-6 py-4", style: { backgroundColor: "var(--color-table-rowBg, #ffffff)" }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4559
4669
  ITPagination,
4560
4670
  {
4561
4671
  currentPage,