@axzydev/axzy_ui_system 1.2.11 → 1.2.12

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.
Files changed (44) hide show
  1. package/dist/index.cjs +179 -176
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.css.map +1 -1
  5. package/dist/index.d.cts +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +179 -176
  8. package/dist/index.js.map +1 -1
  9. package/package.json +1 -1
  10. package/src/components/avatar/avatar.tsx +1 -1
  11. package/src/components/calendar/calendar.tsx +1 -1
  12. package/src/components/card/card.tsx +11 -8
  13. package/src/components/data-table/dataTable.tsx +3 -3
  14. package/src/components/dialog/dialog.tsx +2 -2
  15. package/src/components/divider/divider.tsx +1 -1
  16. package/src/components/dropfile/dropfile.tsx +14 -14
  17. package/src/components/form-builder/fieldRenderer.tsx +3 -3
  18. package/src/components/input/input.tsx +7 -7
  19. package/src/components/loader/loader.tsx +1 -1
  20. package/src/components/navbar/navbar.tsx +10 -10
  21. package/src/components/pagination/pagination.tsx +11 -11
  22. package/src/components/search-select/search-select.tsx +8 -8
  23. package/src/components/searchTable/components/EditableCell.tsx +1 -1
  24. package/src/components/searchTable/components/PaginationControls.tsx +2 -2
  25. package/src/components/searchTable/components/PaginationInfo.tsx +1 -1
  26. package/src/components/searchTable/components/SearchAndSortBar.tsx +1 -1
  27. package/src/components/searchTable/components/SearchInput.tsx +1 -1
  28. package/src/components/searchTable/components/SortButton.tsx +3 -3
  29. package/src/components/searchTable/components/TableHeader.tsx +1 -1
  30. package/src/components/searchTable/components/TableRow.tsx +4 -4
  31. package/src/components/searchTable/searchTable.tsx +2 -2
  32. package/src/components/select/select.tsx +2 -2
  33. package/src/components/sidebar/sidebar.tsx +15 -15
  34. package/src/components/slider/slider.tsx +3 -3
  35. package/src/components/stepper/stepper.tsx +5 -5
  36. package/src/components/table/table.tsx +3 -3
  37. package/src/components/tabs/tabs.tsx +4 -4
  38. package/src/components/textarea/textarea.tsx +3 -3
  39. package/src/components/theme-provider/themeProvider.tsx +32 -32
  40. package/src/components/time-picker/timePicker.tsx +5 -5
  41. package/src/components/topbar/topbar.tsx +6 -6
  42. package/src/index.css +23 -0
  43. package/src/theme/theme.ts +17 -17
  44. package/src/utils/styles.ts +5 -5
package/dist/index.cjs CHANGED
@@ -446,7 +446,7 @@ var sizeMap = {
446
446
  };
447
447
  var DEFAULT_COLOR = "bg-primary-600";
448
448
  var DEFAULT_BG = "var(--color-primary-600)";
449
- var DEFAULT_SHADOW = "0 4px 14px 0 rgba(37, 99, 235, 0.35)";
449
+ var DEFAULT_SHADOW = "0 6px 16px -2px rgba(37, 99, 235, 0.25)";
450
450
  var isRawColorValue = (value) => /^#|^rgb|^hsl|^var\(/i.test(value.trim());
451
451
  function ITAvatar({
452
452
  src,
@@ -692,7 +692,7 @@ var components = {
692
692
  hover: semanticColors.primary[600],
693
693
  active: semanticColors.primary[700],
694
694
  focus: `0 0 0 2px ${semanticColors.primary[200]}`,
695
- borderRadius: "0.375rem",
695
+ borderRadius: "var(--radius-md)",
696
696
  padding: "0.5rem 1rem",
697
697
  fontSize: "0.875rem",
698
698
  fontWeight: "600",
@@ -703,7 +703,7 @@ var components = {
703
703
  color: "#ffffff",
704
704
  hover: semanticColors.secondary[600],
705
705
  focus: `0 0 0 2px ${semanticColors.secondary[200]}`,
706
- borderRadius: "0.375rem",
706
+ borderRadius: "var(--radius-md)",
707
707
  padding: "0.5rem 1rem",
708
708
  fontSize: "0.875rem",
709
709
  fontWeight: "600"
@@ -713,41 +713,41 @@ var components = {
713
713
  color: "#ffffff",
714
714
  hover: semanticColors.success[600],
715
715
  focus: `0 0 0 2px ${semanticColors.success[200]}`,
716
- borderRadius: "0.375rem"
716
+ borderRadius: "var(--radius-md)"
717
717
  },
718
718
  danger: {
719
719
  backgroundColor: semanticColors.danger[500],
720
720
  color: "#ffffff",
721
721
  hover: semanticColors.danger[600],
722
722
  focus: `0 0 0 2px ${semanticColors.danger[200]}`,
723
- borderRadius: "0.375rem"
723
+ borderRadius: "var(--radius-md)"
724
724
  },
725
725
  error: {
726
726
  backgroundColor: semanticColors.danger[500],
727
727
  color: "#ffffff",
728
728
  hover: semanticColors.danger[600],
729
- borderRadius: "0.375rem"
729
+ borderRadius: "var(--radius-md)"
730
730
  },
731
731
  warning: {
732
732
  backgroundColor: semanticColors.warning[500],
733
733
  color: "#ffffff",
734
734
  hover: semanticColors.warning[600],
735
735
  focus: `0 0 0 2px ${semanticColors.warning[200]}`,
736
- borderRadius: "0.375rem"
736
+ borderRadius: "var(--radius-md)"
737
737
  },
738
738
  info: {
739
739
  backgroundColor: semanticColors.info[500],
740
740
  color: "#ffffff",
741
741
  hover: semanticColors.info[600],
742
742
  focus: `0 0 0 2px ${semanticColors.info[200]}`,
743
- borderRadius: "0.375rem"
743
+ borderRadius: "var(--radius-md)"
744
744
  },
745
745
  purple: {
746
746
  backgroundColor: semanticColors.purple[500],
747
747
  color: "#ffffff",
748
748
  hover: semanticColors.purple[600],
749
749
  focus: `0 0 0 2px ${semanticColors.purple[200]}`,
750
- borderRadius: "0.375rem"
750
+ borderRadius: "var(--radius-md)"
751
751
  },
752
752
  outline: {
753
753
  backgroundColor: "transparent",
@@ -755,7 +755,7 @@ var components = {
755
755
  borderColor: semanticColors.primary[600],
756
756
  borderWidth: "2px",
757
757
  hover: semanticColors.primary[50],
758
- borderRadius: "0.375rem"
758
+ borderRadius: "var(--radius-md)"
759
759
  }
760
760
  },
761
761
  badge: {
@@ -813,19 +813,19 @@ var components = {
813
813
  },
814
814
  card: {
815
815
  backgroundColor: "var(--card-bg, #ffffff)",
816
- borderRadius: "1rem",
816
+ borderRadius: "var(--radius-2xl)",
817
817
  borderColor: `var(--card-border, ${semanticColors.gray[200]})`,
818
818
  borderWidth: "1px",
819
- shadow: "var(--card-shadow, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1))",
819
+ shadow: "var(--card-shadow, var(--shadow-md))",
820
820
  hover: {
821
- shadow: "var(--card-shadow-hover, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1))"
821
+ shadow: "var(--card-shadow-hover, var(--shadow-lg))"
822
822
  },
823
823
  header: {
824
824
  backgroundColor: `var(--card-header-bg, ${semanticColors.gray[50]})`,
825
825
  borderBottom: `1px solid var(--card-header-border, var(--color-secondary-200))`,
826
826
  padding: "1rem 1.5rem",
827
- borderTopLeftRadius: "1rem",
828
- borderTopRightRadius: "1rem"
827
+ borderTopLeftRadius: "var(--radius-2xl)",
828
+ borderTopRightRadius: "var(--radius-2xl)"
829
829
  },
830
830
  body: {
831
831
  padding: "1.5rem"
@@ -834,7 +834,7 @@ var components = {
834
834
  input: {
835
835
  backgroundColor: "var(--input-bg, #ffffff)",
836
836
  borderColor: `var(--input-border, ${semanticColors.gray[300]})`,
837
- borderRadius: "0.5rem",
837
+ borderRadius: "var(--radius-md)",
838
838
  padding: "0.5rem 0.75rem",
839
839
  fontSize: "0.875rem",
840
840
  focus: {
@@ -900,8 +900,8 @@ var components = {
900
900
  },
901
901
  content: {
902
902
  backgroundColor: "var(--modal-bg, #ffffff)",
903
- borderRadius: "1rem",
904
- shadow: "var(--modal-shadow, 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1))"
903
+ borderRadius: "var(--radius-2xl)",
904
+ shadow: "var(--modal-shadow, var(--shadow-xl))"
905
905
  },
906
906
  header: {
907
907
  padding: "1.5rem 1.5rem 0.5rem 1.5rem",
@@ -1446,7 +1446,7 @@ var ITCalendar = ({
1446
1446
  },
1447
1447
  year
1448
1448
  )) }) : mode === "month" ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "p-4", children: [
1449
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "grid grid-cols-7 mb-2", children: ["Lun", "Mar", "Mi\xE9", "Jue", "Vie", "S\xE1b", "Dom"].map((day) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ITText, { as: "div", className: "text-center text-xs font-semibold text-gray-400 uppercase py-1", children: day }, day)) }),
1449
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "grid grid-cols-7 mb-2", children: ["Lun", "Mar", "Mi\xE9", "Jue", "Vie", "S\xE1b", "Dom"].map((day) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ITText, { as: "div", className: "text-center text-xs font-semibold text-secondary-400 uppercase py-1", children: day }, day)) }),
1450
1450
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "grid grid-cols-7 gap-1", children: monthDays.map((day) => {
1451
1451
  const isDisabled = isDateDisabled(day);
1452
1452
  const isCurrentMonth = (0, import_date_fns.isSameMonth)(day, currentDate);
@@ -1687,11 +1687,14 @@ function ITCard({
1687
1687
  const [isHovered, setIsHovered] = (0, import_react7.useState)(false);
1688
1688
  const containerStyle = {
1689
1689
  backgroundColor: "var(--card-bg, #ffffff)",
1690
- borderColor: "var(--card-border, #e2e8f0)",
1690
+ borderColor: "var(--card-border, rgba(15, 23, 42, 0.06))",
1691
1691
  borderWidth: "1px",
1692
- borderRadius: "var(--card-radius, 0.75rem)",
1693
- boxShadow: onClick ? isHovered ? "0 8px 25px -5px rgba(0, 0, 0, 0.1)" : "0 1px 3px 0 rgba(0, 0, 0, 0.05)" : "none",
1694
- transition: onClick ? "all 0.2s ease-in-out" : "none",
1692
+ borderRadius: "var(--card-radius, var(--radius-2xl))",
1693
+ // Soft depth: every card floats a little at rest; interactive cards
1694
+ // gain visual weight on hover instead of appearing flat until clicked.
1695
+ boxShadow: onClick ? isHovered ? "var(--shadow-lg)" : "var(--shadow-sm)" : "var(--shadow-sm)",
1696
+ transition: onClick ? "box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out" : "none",
1697
+ transform: onClick && isHovered ? "translateY(-2px)" : "translateY(0)",
1695
1698
  cursor: onClick ? "pointer" : "default"
1696
1699
  };
1697
1700
  const bodyStyle = {
@@ -1723,13 +1726,13 @@ function ITCard({
1723
1726
  children: title
1724
1727
  }
1725
1728
  ),
1726
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ITText, { as: "div", className: "text-gray-600", children })
1729
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ITText, { as: "div", className: "text-secondary-600", children })
1727
1730
  ] }),
1728
1731
  actions && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1729
1732
  "div",
1730
1733
  {
1731
1734
  className: (0, import_clsx7.default)(
1732
- "p-4 border-t border-gray-100 mt-auto",
1735
+ "p-4 border-t border-secondary-100 mt-auto",
1733
1736
  actionClassName
1734
1737
  ),
1735
1738
  children: actions
@@ -1865,10 +1868,10 @@ var import_clsx10 = __toESM(require("clsx"), 1);
1865
1868
  function inputLabel(error) {
1866
1869
  return (0, import_clsx10.default)(
1867
1870
  "text-sm font-medium",
1868
- error ? "text-red-500" : "text-gray-700 dark:text-slate-300"
1871
+ error ? "text-danger-500" : "text-secondary-700 dark:text-secondary-300"
1869
1872
  );
1870
1873
  }
1871
- var inputError = "text-red-500 text-xs mt-1";
1874
+ var inputError = "text-danger-500 text-xs mt-1";
1872
1875
  var iconAbsoluteLeft = "absolute inset-y-0 left-0 flex items-center pl-3 z-10";
1873
1876
  var iconAbsoluteRight = "absolute inset-y-0 right-0 flex items-center pr-3 z-10";
1874
1877
  var tableContainer = "rounded-xl shadow-sm border border-secondary-200 overflow-hidden";
@@ -2272,14 +2275,14 @@ function ITInput({
2272
2275
  type === "checkbox" && "form-checkbox rounded",
2273
2276
  className,
2274
2277
  { [disabledOverlay]: disabled },
2275
- { "border-red-500": hasError }
2278
+ { "border-danger-500": hasError }
2276
2279
  )
2277
2280
  }
2278
2281
  ),
2279
- label && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("label", { htmlFor: name, className: "text-sm text-gray-700 dark:text-slate-300 select-none", children: [
2282
+ label && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("label", { htmlFor: name, className: "text-sm text-secondary-700 dark:text-slate-300 select-none", children: [
2280
2283
  label,
2281
2284
  " ",
2282
- required && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ITText, { as: "span", className: "text-red-500", children: "*" })
2285
+ required && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ITText, { as: "span", className: "text-danger-500", children: "*" })
2283
2286
  ] })
2284
2287
  ] })
2285
2288
  ) : (
@@ -2295,7 +2298,7 @@ function ITInput({
2295
2298
  ),
2296
2299
  children: [
2297
2300
  label,
2298
- required && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ITText, { as: "span", className: "text-red-500 ml-1", children: "*" })
2301
+ required && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ITText, { as: "span", className: "text-danger-500 ml-1", children: "*" })
2299
2302
  ]
2300
2303
  }
2301
2304
  ),
@@ -2374,7 +2377,7 @@ function ITInput({
2374
2377
  "button",
2375
2378
  {
2376
2379
  type: "button",
2377
- className: "absolute inset-y-0 right-0 flex items-center pr-3 z-10 text-gray-400 hover:text-gray-600 focus:outline-none",
2380
+ className: "absolute inset-y-0 right-0 flex items-center pr-3 z-10 text-secondary-400 hover:text-secondary-600 focus:outline-none",
2378
2381
  onClick: () => setShowPassword(!showPassword),
2379
2382
  tabIndex: -1,
2380
2383
  children: showPassword ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
@@ -2394,11 +2397,11 @@ function ITInput({
2394
2397
  ] })
2395
2398
  ),
2396
2399
  hasError && !isCheckboxOrRadio && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex-shrink-0 min-w-[140px] flex items-center pt-3", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ITText, { as: "p", className: inputError, children: errorMessage }) }),
2397
- showHintLength && (minLength || maxLength) && !isCheckboxOrRadio && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mt-1 text-xs", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(ITText, { as: "p", className: "text-gray-500", children: [
2400
+ showHintLength && (minLength || maxLength) && !isCheckboxOrRadio && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mt-1 text-xs", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(ITText, { as: "p", className: "text-secondary-500", children: [
2398
2401
  currentLength,
2399
2402
  maxLength && `/${maxLength}`
2400
2403
  ] }) }),
2401
- isCheckboxOrRadio && hasError && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mt-1 text-xs", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ITText, { as: "p", className: "text-red-500", children: errorMessage }) })
2404
+ isCheckboxOrRadio && hasError && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mt-1 text-xs", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ITText, { as: "p", className: "text-danger-500", children: errorMessage }) })
2402
2405
  ] });
2403
2406
  }
2404
2407
 
@@ -2477,7 +2480,7 @@ function ITSelect({
2477
2480
  className: inputLabel(hasError),
2478
2481
  children: [
2479
2482
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ITText, { as: "span", children: label }),
2480
- required && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ITText, { as: "span", className: "text-red-500 ml-1", children: "*" })
2483
+ required && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ITText, { as: "span", className: "text-danger-500 ml-1", children: "*" })
2481
2484
  ]
2482
2485
  }
2483
2486
  ),
@@ -2518,7 +2521,7 @@ function ITSelect({
2518
2521
  ]
2519
2522
  }
2520
2523
  ),
2521
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none text-gray-500", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_fa5.FaAngleDown, {}) })
2524
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none text-secondary-500", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_fa5.FaAngleDown, {}) })
2522
2525
  ] }),
2523
2526
  hasError && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "flex-shrink-0 min-w-[140px] flex items-center pt-3", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ITText, { as: "p", className: inputError, children: errorMessage }) })
2524
2527
  ] })
@@ -2606,7 +2609,7 @@ function ITPagination({
2606
2609
  {
2607
2610
  className: (0, import_clsx13.default)(
2608
2611
  baseItemClass,
2609
- currentPage === 1 ? "text-gray-300 cursor-not-allowed" : "text-gray-500 hover:bg-gray-100"
2612
+ currentPage === 1 ? "text-secondary-300 cursor-not-allowed" : "text-secondary-500 hover:bg-secondary-100"
2610
2613
  ),
2611
2614
  onClick: handlePrevious,
2612
2615
  "aria-disabled": currentPage === 1,
@@ -2619,7 +2622,7 @@ function ITPagination({
2619
2622
  ITText,
2620
2623
  {
2621
2624
  as: "div",
2622
- className: "flex items-center justify-center w-8 h-8 select-none text-gray-400",
2625
+ className: "flex items-center justify-center w-8 h-8 select-none text-secondary-400",
2623
2626
  children: "\u2026"
2624
2627
  },
2625
2628
  `dots-${idx}`
@@ -2632,7 +2635,7 @@ function ITPagination({
2632
2635
  as: "div",
2633
2636
  className: (0, import_clsx13.default)(
2634
2637
  baseItemClass,
2635
- isActive ? "text-white" : "text-gray-600 hover:bg-gray-100"
2638
+ isActive ? "text-white" : "text-secondary-600 hover:bg-secondary-100"
2636
2639
  ),
2637
2640
  style: {
2638
2641
  backgroundColor: isActive ? resolvedBgColor : void 0,
@@ -2650,7 +2653,7 @@ function ITPagination({
2650
2653
  {
2651
2654
  className: (0, import_clsx13.default)(
2652
2655
  baseItemClass,
2653
- currentPage === totalPages ? "text-gray-300 cursor-not-allowed" : "text-gray-500 hover:bg-gray-100"
2656
+ currentPage === totalPages ? "text-secondary-300 cursor-not-allowed" : "text-secondary-500 hover:bg-secondary-100"
2654
2657
  ),
2655
2658
  onClick: handleNext,
2656
2659
  "aria-disabled": currentPage === totalPages,
@@ -2662,8 +2665,8 @@ function ITPagination({
2662
2665
  const startItem = Math.min((currentPage - 1) * itemsPerPage + 1, totalItems || 0);
2663
2666
  const endItem = Math.min(currentPage * itemsPerPage, totalItems || 0);
2664
2667
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: (0, import_clsx13.default)("flex flex-col sm:flex-row justify-between items-center gap-4 w-full", className), children: [
2665
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex items-center gap-4 text-sm text-gray-500", children: [
2666
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex items-center gap-2 bg-gray-50 px-3 py-1 rounded-lg border border-gray-200", children: [
2668
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex items-center gap-4 text-sm text-secondary-500", children: [
2669
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex items-center gap-2 bg-secondary-50 px-3 py-1 rounded-lg border border-secondary-200", children: [
2667
2670
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "text-xs font-medium", children: "Mostrar" }),
2668
2671
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2669
2672
  ITSelect,
@@ -2678,19 +2681,19 @@ function ITPagination({
2678
2681
  onBlur: () => {
2679
2682
  },
2680
2683
  size: "small",
2681
- className: "!w-14 !h-6 !text-xs !py-0 !px-1! !border-none !bg-transparent !ring-0 focus:!ring-0 cursor-pointer font-bold text-gray-700",
2684
+ className: "!w-14 !h-6 !text-xs !py-0 !px-1! !border-none !bg-transparent !ring-0 focus:!ring-0 cursor-pointer font-bold text-secondary-700",
2682
2685
  placeholder: ""
2683
2686
  }
2684
2687
  )
2685
2688
  ] }),
2686
2689
  totalItems !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2687
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "text-gray-300", children: "|" }),
2690
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "text-secondary-300", children: "|" }),
2688
2691
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(ITText, { as: "span", className: "text-xs", children: [
2689
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "font-semibold text-gray-700", children: startItem }),
2692
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "font-semibold text-secondary-700", children: startItem }),
2690
2693
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", children: " - " }),
2691
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "font-semibold text-gray-700", children: endItem }),
2694
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "font-semibold text-secondary-700", children: endItem }),
2692
2695
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", children: " de " }),
2693
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "font-semibold text-gray-900", children: totalItems })
2696
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ITText, { as: "span", className: "font-semibold text-secondary-900", children: totalItems })
2694
2697
  ] })
2695
2698
  ] })
2696
2699
  ] }),
@@ -2827,15 +2830,15 @@ function ITTable({
2827
2830
  onClick: () => handleFilterChange(col.key, nextValue),
2828
2831
  "aria-label": `${getToggleLabel()} para ${col.label}`,
2829
2832
  title: `${getToggleLabel()} para ${col.label}`,
2830
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "relative w-10 h-5 bg-gray-300 rounded-full", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2833
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "relative w-10 h-5 bg-secondary-300 rounded-full", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2831
2834
  "div",
2832
2835
  {
2833
2836
  className: (0, import_clsx14.default)(
2834
2837
  "absolute top-0.5 w-4 h-4 rounded-full transition-all duration-300 shadow-sm",
2835
2838
  {
2836
- "left-0.5 bg-gray-400": currentValue === void 0,
2839
+ "left-0.5 bg-secondary-400": currentValue === void 0,
2837
2840
  "left-5 bg-slate-500": currentValue === true,
2838
- "left-0.5 bg-gray-500": currentValue === false
2841
+ "left-0.5 bg-secondary-500": currentValue === false
2839
2842
  }
2840
2843
  )
2841
2844
  }
@@ -3157,15 +3160,15 @@ function ITDataTable({
3157
3160
  "aria-label": `${getToggleLabel()} para ${col.label}`,
3158
3161
  title: `${getToggleLabel()} para ${col.label}`,
3159
3162
  disabled: isLoading,
3160
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "relative w-10 h-5 bg-gray-300 rounded-full", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3163
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "relative w-10 h-5 bg-secondary-300 rounded-full", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3161
3164
  "div",
3162
3165
  {
3163
3166
  className: (0, import_clsx15.default)(
3164
3167
  "absolute top-0.5 w-4 h-4 rounded-full transition-all duration-300 shadow-sm",
3165
3168
  {
3166
- "left-0.5 bg-gray-400": currentValue === void 0,
3169
+ "left-0.5 bg-secondary-400": currentValue === void 0,
3167
3170
  "left-5 bg-slate-500": currentValue === true,
3168
- "left-0.5 bg-gray-500": currentValue === false
3171
+ "left-0.5 bg-secondary-500": currentValue === false
3169
3172
  }
3170
3173
  )
3171
3174
  }
@@ -3632,8 +3635,8 @@ var ITTabs = ({
3632
3635
  const activeContent = items.find((item) => item.id === activeId)?.content;
3633
3636
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: (0, import_clsx17.clsx)("w-full", containerClassName), children: [
3634
3637
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: (0, import_clsx17.clsx)(
3635
- "flex border-gray-200 mb-4",
3636
- variant === "line" ? "border-b" : "gap-2 p-1 bg-gray-100 rounded-lg w-fit",
3638
+ "flex border-secondary-200 mb-4",
3639
+ variant === "line" ? "border-b" : "gap-2 p-1 bg-secondary-100 rounded-lg w-fit",
3637
3640
  className
3638
3641
  ), children: items.map((item) => {
3639
3642
  const isActive = item.id === activeId;
@@ -3647,12 +3650,12 @@ var ITTabs = ({
3647
3650
  // LINE VARIANT
3648
3651
  variant === "line" && [
3649
3652
  "border-b-2 -mb-[2px]",
3650
- isActive ? "border-primary-500 text-primary-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"
3653
+ isActive ? "border-primary-500 text-primary-600" : "border-transparent text-secondary-500 hover:text-secondary-700 hover:border-secondary-300"
3651
3654
  ],
3652
3655
  // PILL VARIANT
3653
3656
  variant === "pill" && [
3654
3657
  "rounded-md",
3655
- isActive ? "bg-white text-primary-600 shadow-sm" : "text-gray-500 hover:text-gray-700"
3658
+ isActive ? "bg-white text-primary-600 shadow-sm" : "text-secondary-500 hover:text-secondary-700"
3656
3659
  ],
3657
3660
  item.disabled && "opacity-50 cursor-not-allowed"
3658
3661
  ),
@@ -4458,23 +4461,23 @@ function ITThemeProvider({
4458
4461
  color: #cbd5e1;
4459
4462
  }
4460
4463
  .dark .text-slate-800, [data-theme="dark"] .text-slate-800,
4461
- .dark .text-gray-800, [data-theme="dark"] .text-gray-800 {
4464
+ .dark .text-secondary-800, [data-theme="dark"] .text-secondary-800 {
4462
4465
  color: #f8fafc !important;
4463
4466
  }
4464
4467
  .dark .text-slate-700, [data-theme="dark"] .text-slate-700,
4465
- .dark .text-gray-700, [data-theme="dark"] .text-gray-700 {
4468
+ .dark .text-secondary-700, [data-theme="dark"] .text-secondary-700 {
4466
4469
  color: #cbd5e1 !important;
4467
4470
  }
4468
4471
  .dark .text-slate-600, [data-theme="dark"] .text-slate-600,
4469
- .dark .text-gray-600, [data-theme="dark"] .text-gray-600 {
4472
+ .dark .text-secondary-600, [data-theme="dark"] .text-secondary-600 {
4470
4473
  color: #cbd5e1 !important;
4471
4474
  }
4472
4475
  .dark .text-slate-500, [data-theme="dark"] .text-slate-500,
4473
- .dark .text-gray-500, [data-theme="dark"] .text-gray-500 {
4476
+ .dark .text-secondary-500, [data-theme="dark"] .text-secondary-500 {
4474
4477
  color: #94a3b8 !important;
4475
4478
  }
4476
4479
  .dark .text-slate-400, [data-theme="dark"] .text-slate-400,
4477
- .dark .text-gray-400, [data-theme="dark"] .text-gray-400 {
4480
+ .dark .text-secondary-400, [data-theme="dark"] .text-secondary-400 {
4478
4481
  color: #64748b !important;
4479
4482
  }
4480
4483
 
@@ -4482,25 +4485,25 @@ function ITThemeProvider({
4482
4485
  background-color: var(--card-bg, #111827) !important;
4483
4486
  }
4484
4487
  .dark .bg-slate-50, [data-theme="dark"] .bg-slate-50,
4485
- .dark .bg-gray-50, [data-theme="dark"] .bg-gray-50 {
4488
+ .dark .bg-secondary-50, [data-theme="dark"] .bg-secondary-50 {
4486
4489
  background-color: #1f2937 !important;
4487
4490
  }
4488
4491
  .dark .border-slate-100, [data-theme="dark"] .border-slate-100,
4489
- .dark .border-gray-100, [data-theme="dark"] .border-gray-100,
4492
+ .dark .border-secondary-100, [data-theme="dark"] .border-secondary-100,
4490
4493
  .dark .border-slate-200, [data-theme="dark"] .border-slate-200,
4491
- .dark .border-gray-200, [data-theme="dark"] .border-gray-200 {
4494
+ .dark .border-secondary-200, [data-theme="dark"] .border-secondary-200 {
4492
4495
  border-color: #374151 !important;
4493
4496
  }
4494
4497
 
4495
- .dark .bg-gray-100, [data-theme="dark"] .bg-gray-100,
4498
+ .dark .bg-secondary-100, [data-theme="dark"] .bg-secondary-100,
4496
4499
  .dark .bg-slate-100, [data-theme="dark"] .bg-slate-100 {
4497
4500
  background-color: #1f2937 !important;
4498
4501
  }
4499
- .dark .border-gray-300, [data-theme="dark"] .border-gray-300,
4502
+ .dark .border-secondary-300, [data-theme="dark"] .border-secondary-300,
4500
4503
  .dark .border-slate-300, [data-theme="dark"] .border-slate-300 {
4501
4504
  border-color: #4b5563 !important;
4502
4505
  }
4503
- .dark .bg-gray-200, [data-theme="dark"] .bg-gray-200,
4506
+ .dark .bg-secondary-200, [data-theme="dark"] .bg-secondary-200,
4504
4507
  .dark .bg-slate-200, [data-theme="dark"] .bg-slate-200 {
4505
4508
  background-color: #374151 !important;
4506
4509
  }
@@ -4568,23 +4571,23 @@ function ITThemeProvider({
4568
4571
  }
4569
4572
 
4570
4573
  [data-theme="light"] .text-slate-800,
4571
- [data-theme="light"] .text-gray-800 {
4574
+ [data-theme="light"] .text-secondary-800 {
4572
4575
  color: #1e293b !important;
4573
4576
  }
4574
4577
  [data-theme="light"] .text-slate-700,
4575
- [data-theme="light"] .text-gray-700 {
4578
+ [data-theme="light"] .text-secondary-700 {
4576
4579
  color: #334155 !important;
4577
4580
  }
4578
4581
  [data-theme="light"] .text-slate-600,
4579
- [data-theme="light"] .text-gray-600 {
4582
+ [data-theme="light"] .text-secondary-600 {
4580
4583
  color: #475569 !important;
4581
4584
  }
4582
4585
  [data-theme="light"] .text-slate-500,
4583
- [data-theme="light"] .text-gray-500 {
4586
+ [data-theme="light"] .text-secondary-500 {
4584
4587
  color: #64748b !important;
4585
4588
  }
4586
4589
  [data-theme="light"] .text-slate-400,
4587
- [data-theme="light"] .text-gray-400 {
4590
+ [data-theme="light"] .text-secondary-400 {
4588
4591
  color: #94a3b8 !important;
4589
4592
  }
4590
4593
 
@@ -4592,24 +4595,24 @@ function ITThemeProvider({
4592
4595
  background-color: #ffffff !important;
4593
4596
  }
4594
4597
  [data-theme="light"] .bg-slate-50,
4595
- [data-theme="light"] .bg-gray-50 {
4598
+ [data-theme="light"] .bg-secondary-50 {
4596
4599
  background-color: #f8fafc !important;
4597
4600
  }
4598
4601
  [data-theme="light"] .border-slate-100,
4599
- [data-theme="light"] .border-gray-100,
4602
+ [data-theme="light"] .border-secondary-100,
4600
4603
  [data-theme="light"] .border-slate-200,
4601
- [data-theme="light"] .border-gray-200 {
4604
+ [data-theme="light"] .border-secondary-200 {
4602
4605
  border-color: #e2e8f0 !important;
4603
4606
  }
4604
- [data-theme="light"] .bg-gray-100,
4607
+ [data-theme="light"] .bg-secondary-100,
4605
4608
  [data-theme="light"] .bg-slate-100 {
4606
4609
  background-color: #f1f5f9 !important;
4607
4610
  }
4608
- [data-theme="light"] .border-gray-300,
4611
+ [data-theme="light"] .border-secondary-300,
4609
4612
  [data-theme="light"] .border-slate-300 {
4610
4613
  border-color: #cbd5e1 !important;
4611
4614
  }
4612
- [data-theme="light"] .bg-gray-200,
4615
+ [data-theme="light"] .bg-secondary-200,
4613
4616
  [data-theme="light"] .bg-slate-200 {
4614
4617
  background-color: #e2e8f0 !important;
4615
4618
  }
@@ -4637,13 +4640,13 @@ function ITThemeProvider({
4637
4640
  .hover\\:bg-green-600:hover { background-color: var(--color-success-hover) !important; }
4638
4641
 
4639
4642
  /* Danger overrides (red mappings in UI library) */
4640
- .bg-red-700 { background-color: var(--color-danger) !important; }
4641
- .hover\\:bg-red-800:hover { background-color: var(--color-danger-hover) !important; }
4642
- .focus\\:ring-red-300:focus { --tw-ring-color: var(--color-danger-ring) !important; }
4643
- .text-red-700 { color: var(--color-danger) !important; }
4644
- .border-red-700 { border-color: var(--color-danger) !important; }
4645
- .bg-red-500 { background-color: var(--color-danger) !important; }
4646
- .hover\\:bg-red-600:hover { background-color: var(--color-danger-hover) !important; }
4643
+ .bg-danger-700 { background-color: var(--color-danger) !important; }
4644
+ .hover\\:bg-danger-800:hover { background-color: var(--color-danger-hover) !important; }
4645
+ .focus\\:ring-danger-300:focus { --tw-ring-color: var(--color-danger-ring) !important; }
4646
+ .text-danger-700 { color: var(--color-danger) !important; }
4647
+ .border-danger-700 { border-color: var(--color-danger) !important; }
4648
+ .bg-danger-500 { background-color: var(--color-danger) !important; }
4649
+ .hover\\:bg-danger-600:hover { background-color: var(--color-danger-hover) !important; }
4647
4650
 
4648
4651
  /* Warning overrides (yellow mappings in UI library) */
4649
4652
  .bg-yellow-400 { background-color: var(--color-warning) !important; }
@@ -4673,12 +4676,12 @@ function ITThemeProvider({
4673
4676
  .border-blue-500 { border-color: var(--color-info) !important; }
4674
4677
 
4675
4678
  /* Secondary elements overrides */
4676
- button[class*="bg-white"][class*="hover:bg-gray-100"] {
4679
+ button[class*="bg-white"][class*="hover:bg-secondary-100"] {
4677
4680
  background-color: var(--color-secondary) !important;
4678
4681
  border-color: var(--color-secondary-soft-border) !important;
4679
4682
  color: #111827 !important;
4680
4683
  }
4681
- button[class*="bg-white"][class*="hover:bg-gray-100"]:hover {
4684
+ button[class*="bg-white"][class*="hover:bg-secondary-100"]:hover {
4682
4685
  background-color: var(--color-secondary-hover) !important;
4683
4686
  }
4684
4687
 
@@ -5277,7 +5280,7 @@ function ITThemeProvider({
5277
5280
  e.stopPropagation();
5278
5281
  handleDeletePreset(preset.name, e);
5279
5282
  },
5280
- className: "absolute top-1.5 right-1.5 opacity-0 group-hover:opacity-100 p-0.5 rounded-md hover:bg-red-500/10 hover:text-red-500 text-slate-400 dark:text-slate-500 cursor-pointer transition-all z-10",
5283
+ className: "absolute top-1.5 right-1.5 opacity-0 group-hover:opacity-100 p-0.5 rounded-md hover:bg-danger-500/10 hover:text-danger-500 text-slate-400 dark:text-slate-500 cursor-pointer transition-all z-10",
5281
5284
  title: "Eliminar",
5282
5285
  children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_md3.MdClose, { size: 12 })
5283
5286
  }
@@ -5624,7 +5627,7 @@ function ITDialog({
5624
5627
  "div",
5625
5628
  {
5626
5629
  "data-it-dialog": "true",
5627
- className: `fixed inset-0 flex ${fullScreen ? "items-stretch" : "items-center justify-center"} bg-black/50 z-[60]`,
5630
+ className: `fixed inset-0 flex ${fullScreen ? "items-stretch" : "items-center justify-center"} bg-slate-900/50 z-[60]`,
5628
5631
  children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5629
5632
  "div",
5630
5633
  {
@@ -5645,7 +5648,7 @@ function ITDialog({
5645
5648
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5646
5649
  "button",
5647
5650
  {
5648
- className: "absolute top-2 right-2 text-gray-600 hover:text-gray-900",
5651
+ className: "absolute top-2 right-2 text-secondary-600 hover:text-secondary-900",
5649
5652
  onClick: onClose,
5650
5653
  children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_fa11.FaRegTimesCircle, {})
5651
5654
  }
@@ -6015,14 +6018,14 @@ function ITTimePicker({
6015
6018
  "div",
6016
6019
  {
6017
6020
  ref: dropdownRef,
6018
- className: "fixed z-[70] bg-white border border-gray-100 shadow-xl rounded-xl w-64 overflow-hidden flex flex-col animate-in fade-in zoom-in-95 duration-200 origin-top it-timepicker-dropdown",
6021
+ className: "fixed z-[70] bg-white border border-secondary-100 shadow-xl rounded-xl w-64 overflow-hidden flex flex-col animate-in fade-in zoom-in-95 duration-200 origin-top it-timepicker-dropdown",
6019
6022
  style: {
6020
6023
  top: `${dropdownPosition.top}px`,
6021
6024
  left: `${dropdownPosition.left}px`
6022
6025
  },
6023
6026
  children: [
6024
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex bg-gray-50 border-b border-gray-100 text-xs font-semibold text-gray-500 uppercase tracking-wider", children: [
6025
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ITText, { as: "div", className: "flex-1 text-center py-2 border-r border-gray-100", children: "Horas" }),
6027
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex bg-secondary-50 border-b border-secondary-100 text-xs font-semibold text-secondary-500 uppercase tracking-wider", children: [
6028
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ITText, { as: "div", className: "flex-1 text-center py-2 border-r border-secondary-100", children: "Horas" }),
6026
6029
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ITText, { as: "div", className: "flex-1 text-center py-2", children: "Minutos" })
6027
6030
  ] }),
6028
6031
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex h-56 relative bg-white", children: [
@@ -6030,7 +6033,7 @@ function ITTimePicker({
6030
6033
  "div",
6031
6034
  {
6032
6035
  ref: hoursRef,
6033
- className: "flex-1 overflow-y-auto no-scrollbar border-r border-gray-50 scroll-smooth relative",
6036
+ className: "flex-1 overflow-y-auto no-scrollbar border-r border-secondary-50 scroll-smooth relative",
6034
6037
  children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "py-2", children: hoursList.map((h) => {
6035
6038
  const isSelected = currentHour === h;
6036
6039
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
@@ -6096,7 +6099,7 @@ function ITTimePicker({
6096
6099
  ),
6097
6100
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "absolute top-1/2 left-0 right-0 h-10 -mt-5 bg-black/5 pointer-events-none border-y border-black/10 z-10" })
6098
6101
  ] }),
6099
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "p-3 bg-gray-50 border-t border-gray-100 flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6102
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "p-3 bg-secondary-50 border-t border-secondary-100 flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6100
6103
  ITButton,
6101
6104
  {
6102
6105
  variant: "solid",
@@ -6238,12 +6241,12 @@ function ITSearchSelect({
6238
6241
  ITText,
6239
6242
  {
6240
6243
  as: "label",
6241
- className: (0, import_clsx24.default)("text-sm font-medium text-gray-700 dark:text-slate-300", {
6242
- "text-red-500": hasError
6244
+ className: (0, import_clsx24.default)("text-sm font-medium text-secondary-700 dark:text-slate-300", {
6245
+ "text-danger-500": hasError
6243
6246
  }),
6244
6247
  children: [
6245
6248
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ITText, { as: "span", children: label }),
6246
- required && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ITText, { as: "span", className: "text-red-500 ml-1", children: "*" })
6249
+ required && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ITText, { as: "span", className: "text-danger-500 ml-1", children: "*" })
6247
6250
  ]
6248
6251
  }
6249
6252
  ),
@@ -6266,26 +6269,26 @@ function ITSearchSelect({
6266
6269
  autoComplete: "off"
6267
6270
  }
6268
6271
  ),
6269
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "absolute right-3 flex items-center gap-2 text-gray-400 pointer-events-none", children: [
6272
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "absolute right-3 flex items-center gap-2 text-secondary-400 pointer-events-none", children: [
6270
6273
  isLoading && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "animate-spin h-4 w-4 border-2 border-primary-500 border-t-transparent rounded-full" }),
6271
6274
  !isLoading && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_fa15.FaSearch, { size: 14, className: (0, import_clsx24.default)({ "text-primary-500": isFocused }) })
6272
6275
  ] })
6273
6276
  ] }),
6274
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "absolute z-[70] w-full mt-1 bg-white dark:bg-slate-900 border border-gray-200 dark:border-slate-800 rounded-lg shadow-xl overflow-hidden animate-in fade-in zoom-in duration-200 origin-top", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "max-h-60 overflow-y-auto", children: filteredOptions.length > 0 ? filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6277
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "absolute z-[70] w-full mt-1 bg-white dark:bg-slate-900 border border-secondary-200 dark:border-slate-800 rounded-lg shadow-xl overflow-hidden animate-in fade-in zoom-in duration-200 origin-top", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "max-h-60 overflow-y-auto", children: filteredOptions.length > 0 ? filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6275
6278
  ITText,
6276
6279
  {
6277
6280
  as: "div",
6278
6281
  onClick: () => handleSelect(option),
6279
6282
  className: (0, import_clsx24.default)(
6280
6283
  "px-4 py-2 text-sm cursor-pointer transition-colors",
6281
- value === option[valueField] ? "bg-primary-50 dark:bg-primary-950/40 text-primary-700 dark:text-primary-300 font-medium" : "hover:bg-gray-50 dark:hover:bg-slate-800 text-gray-700 dark:text-slate-300"
6284
+ value === option[valueField] ? "bg-primary-50 dark:bg-primary-950/40 text-primary-700 dark:text-primary-300 font-medium" : "hover:bg-secondary-50 dark:hover:bg-slate-800 text-secondary-700 dark:text-slate-300"
6282
6285
  ),
6283
6286
  children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ITText, { as: "span", children: option[labelField] })
6284
6287
  },
6285
6288
  option[valueField]
6286
- )) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ITText, { as: "div", className: "px-4 py-6 text-sm text-center text-gray-500 italic", children: isLoading ? "Cargando..." : noResultsMessage }) }) })
6289
+ )) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ITText, { as: "div", className: "px-4 py-6 text-sm text-center text-secondary-500 italic", children: isLoading ? "Cargando..." : noResultsMessage }) }) })
6287
6290
  ] }),
6288
- hasError && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ITText, { as: "p", className: "text-red-500 text-xs mt-1", children: errorMessage })
6291
+ hasError && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ITText, { as: "p", className: "text-danger-500 text-xs mt-1", children: errorMessage })
6289
6292
  ] });
6290
6293
  }
6291
6294
 
@@ -6514,7 +6517,7 @@ var ITFieldRenderer = ({
6514
6517
  return null;
6515
6518
  case "section":
6516
6519
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: (0, import_clsx25.default)("w-full col-span-full", activeConfig.className), children: [
6517
- label && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ITText, { as: "h4", className: "text-lg font-semibold text-gray-800 mb-4", children: label }),
6520
+ label && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ITText, { as: "h4", className: "text-lg font-semibold text-secondary-800 mb-4", children: label }),
6518
6521
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: (0, import_clsx25.default)("grid gap-y-6 gap-x-5", getGridColsClass(columns)), children: activeConfig.fields?.map((childConfig) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6519
6522
  ITFieldRenderer,
6520
6523
  {
@@ -6525,7 +6528,7 @@ var ITFieldRenderer = ({
6525
6528
  )) })
6526
6529
  ] });
6527
6530
  case "array":
6528
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "p-4 border-2 border-dashed border-gray-200 rounded-xl", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(ITText, { as: "p", className: "text-sm text-gray-500 text-center", children: [
6531
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "p-4 border-2 border-dashed border-secondary-200 rounded-xl", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(ITText, { as: "p", className: "text-sm text-secondary-500 text-center", children: [
6529
6532
  "Array Field: ",
6530
6533
  label
6531
6534
  ] }) });
@@ -6841,10 +6844,10 @@ function ITNavbar({
6841
6844
  const shouldUseLegacy = !navigationItems.length && (navItems || sidebarItems);
6842
6845
  if (shouldUseLegacy) {
6843
6846
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col h-screen", children: [
6844
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("nav", { className: "bg-white border-b border-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center justify-between mx-auto p-4", children: [
6847
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("nav", { className: "bg-white border-b border-secondary-200", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center justify-between mx-auto p-4", children: [
6845
6848
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center space-x-3 rtl:space-x-reverse", children: [
6846
6849
  logo && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "h-8", children: logo }),
6847
- logoText && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ITText, { as: "span", className: "self-center text-2xl font-semibold whitespace-nowrap text-gray-900", children: logoText })
6850
+ logoText && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ITText, { as: "span", className: "self-center text-2xl font-semibold whitespace-nowrap text-secondary-900", children: logoText })
6848
6851
  ] }),
6849
6852
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "flex items-center justify-end w-full md:w-auto md:order-2", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center space-x-4 md:order-2", children: [
6850
6853
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "hidden md:flex space-x-4", children: navItems }),
@@ -6853,7 +6856,7 @@ function ITNavbar({
6853
6856
  "button",
6854
6857
  {
6855
6858
  type: "button",
6856
- className: "flex text-sm bg-gray-200 rounded-full md:me-0 focus:ring-4 focus:ring-gray-300",
6859
+ className: "flex text-sm bg-secondary-200 rounded-full md:me-0 focus:ring-4 focus:ring-secondary-300",
6857
6860
  onClick: toggleUserMenu,
6858
6861
  children: userMenu.userImage ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6859
6862
  "img",
@@ -6862,18 +6865,18 @@ function ITNavbar({
6862
6865
  src: userMenu.userImage,
6863
6866
  alt: "user photo"
6864
6867
  }
6865
- ) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_fa17.FaUserCircle, { className: "w-8 h-8 text-gray-500" })
6868
+ ) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_fa17.FaUserCircle, { className: "w-8 h-8 text-secondary-500" })
6866
6869
  }
6867
6870
  ),
6868
6871
  isUserMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
6869
6872
  "div",
6870
6873
  {
6871
6874
  ref: userMenuRef,
6872
- className: "z-[70] absolute right-0 mt-2 text-base list-none bg-white divide-y divide-gray-100 rounded-lg shadow-sm",
6875
+ className: "z-[70] absolute right-0 mt-2 text-base list-none bg-white divide-y divide-secondary-100 rounded-lg shadow-sm",
6873
6876
  children: [
6874
6877
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "px-4 py-3", children: [
6875
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ITText, { as: "span", className: "block text-sm text-gray-900", children: userMenu.userName }),
6876
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ITText, { as: "span", className: "block text-sm text-gray-500 truncate", children: userMenu.userEmail })
6878
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ITText, { as: "span", className: "block text-sm text-secondary-900", children: userMenu.userName }),
6879
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ITText, { as: "span", className: "block text-sm text-secondary-500 truncate", children: userMenu.userEmail })
6877
6880
  ] }),
6878
6881
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "py-2", children: userMenu.menuItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6879
6882
  "button",
@@ -6882,7 +6885,7 @@ function ITNavbar({
6882
6885
  item.onClick();
6883
6886
  setIsUserMenuOpen(false);
6884
6887
  },
6885
- className: "block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left",
6888
+ className: "block px-4 py-2 text-sm text-secondary-700 hover:bg-secondary-100 w-full text-left",
6886
6889
  children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ITText, { as: "span", children: item.label })
6887
6890
  }
6888
6891
  ) }, index)) })
@@ -6893,8 +6896,8 @@ function ITNavbar({
6893
6896
  ] }) })
6894
6897
  ] }) }),
6895
6898
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex-1 flex overflow-hidden relative", children: [
6896
- (showSidebar || showSidebarOnMobile) && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("aside", { className: "fixed inset-y-0 left-0 w-64 bg-gray-50 transform transition-transform duration-300 ease-in-out z-[40] shadow-lg md:static md:transform-none md:shadow-none md:border-r md:border-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "h-full overflow-y-auto py-4 px-3", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "space-y-2 font-medium", children: sidebarItems }) }) }),
6897
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("main", { className: "flex-1 bg-gray-100 overflow-y-auto", children })
6899
+ (showSidebar || showSidebarOnMobile) && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("aside", { className: "fixed inset-y-0 left-0 w-64 bg-secondary-50 transform transition-transform duration-300 ease-in-out z-[40] shadow-lg md:static md:transform-none md:shadow-none md:border-r md:border-secondary-200", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "h-full overflow-y-auto py-4 px-3", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "space-y-2 font-medium", children: sidebarItems }) }) }),
6900
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("main", { className: "flex-1 bg-secondary-100 overflow-y-auto", children })
6898
6901
  ] })
6899
6902
  ] });
6900
6903
  }
@@ -7475,7 +7478,7 @@ function SearchInput({
7475
7478
  className = ""
7476
7479
  }) {
7477
7480
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: `relative flex-1 ${className}`, children: [
7478
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_fa19.FaSearch, { className: "h-5 w-5 text-gray-400" }) }),
7481
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_fa19.FaSearch, { className: "h-5 w-5 text-secondary-400" }) }),
7479
7482
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
7480
7483
  ITInput,
7481
7484
  {
@@ -7503,12 +7506,12 @@ function SortButton({
7503
7506
  "button",
7504
7507
  {
7505
7508
  onClick,
7506
- className: `p-3 rounded-lg bg-white border border-gray-300 hover:bg-gray-50 transition-colors duration-200 flex items-center gap-2 min-w-[120px] ${className}`,
7509
+ className: `p-3 rounded-lg bg-white border border-secondary-300 hover:bg-secondary-50 transition-colors duration-200 flex items-center gap-2 min-w-[120px] ${className}`,
7507
7510
  "aria-label": `Ordenar tabla ${sortConfig ? sortConfig.direction === "asc" ? "descendente" : "ascendente" : "ascendente"}`,
7508
7511
  title: "Ordenar tabla",
7509
7512
  children: [
7510
- sortConfig ? sortConfig.direction === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_fa20.FaSortUp, { className: "w-4 h-4 text-slate-500" }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_fa20.FaSortDown, { className: "w-4 h-4 text-slate-500" }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_fa20.FaSort, { className: "w-4 h-4 text-gray-500" }),
7511
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ITText, { as: "span", className: "text-sm font-medium text-gray-700", children: sortConfig ? sortConfig.direction === "asc" ? "Asc \u2191" : "Desc \u2193" : "Ordenar" })
7513
+ sortConfig ? sortConfig.direction === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_fa20.FaSortUp, { className: "w-4 h-4 text-slate-500" }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_fa20.FaSortDown, { className: "w-4 h-4 text-slate-500" }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_fa20.FaSort, { className: "w-4 h-4 text-secondary-500" }),
7514
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ITText, { as: "span", className: "text-sm font-medium text-secondary-700", children: sortConfig ? sortConfig.direction === "asc" ? "Asc \u2191" : "Desc \u2193" : "Ordenar" })
7512
7515
  ]
7513
7516
  }
7514
7517
  );
@@ -7524,7 +7527,7 @@ function SearchAndSortBar({
7524
7527
  sortConfig,
7525
7528
  searchInputPlaceholder = "Buscar en todos los campos..."
7526
7529
  }) {
7527
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "bg-gray-50 px-6 py-4 border-b border-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex items-center gap-4", children: [
7530
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "bg-secondary-50 px-6 py-4 border-b border-secondary-200", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex items-center gap-4", children: [
7528
7531
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
7529
7532
  SearchInput,
7530
7533
  {
@@ -7584,7 +7587,7 @@ function TableHeader({
7584
7587
  onSort,
7585
7588
  sortConfig
7586
7589
  }) {
7587
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("tr", { className: "bg-white border-b border-gray-200", children: columns.map((col) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
7590
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("tr", { className: "bg-white border-b border-secondary-200", children: columns.map((col) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
7588
7591
  TableHeaderCell,
7589
7592
  {
7590
7593
  label: col.label,
@@ -7727,7 +7730,7 @@ function EditableCell({
7727
7730
  };
7728
7731
  return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "w-full", children: [
7729
7732
  renderInput(),
7730
- error && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "text-red-500 text-xs mt-1", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ITText, { as: "span", children: error }) })
7733
+ error && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "text-danger-500 text-xs mt-1", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ITText, { as: "span", children: error }) })
7731
7734
  ] });
7732
7735
  }
7733
7736
 
@@ -7772,7 +7775,7 @@ function TableRow({
7772
7775
  "aria-label": "Verdadero",
7773
7776
  title: "Verdadero"
7774
7777
  }
7775
- ) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_fa21.FaTimes, { className: "text-red-500", "aria-label": "Falso", title: "Falso" });
7778
+ ) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_fa21.FaTimes, { className: "text-danger-500", "aria-label": "Falso", title: "Falso" });
7776
7779
  case "actions":
7777
7780
  if (isEditing && col.saveActions) {
7778
7781
  return col.saveActions(rowData, {
@@ -7801,7 +7804,7 @@ function TableRow({
7801
7804
  {
7802
7805
  onMouseEnter: () => setIsHovered(true),
7803
7806
  onMouseLeave: () => setIsHovered(false),
7804
- className: `border-b border-gray-200 transition-colors duration-150 ${isEditing ? "bg-slate-50" : rowIndex % 2 === 0 ? "bg-white" : "bg-gray-50"} ${isHovered && !isEditing ? "bg-gray-100" : ""}`,
7807
+ className: `border-b border-secondary-200 transition-colors duration-150 ${isEditing ? "bg-slate-50" : rowIndex % 2 === 0 ? "bg-white" : "bg-secondary-50"} ${isHovered && !isEditing ? "bg-secondary-100" : ""}`,
7805
7808
  children: columns.map((col) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7806
7809
  "td",
7807
7810
  {
@@ -7855,7 +7858,7 @@ function PaginationInfo({
7855
7858
  totalCount,
7856
7859
  className = ""
7857
7860
  }) {
7858
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(ITText, { as: "span", className: `text-sm text-gray-700 ${className}`, children: [
7861
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(ITText, { as: "span", className: `text-sm text-secondary-700 ${className}`, children: [
7859
7862
  "Mostrando ",
7860
7863
  currentCount,
7861
7864
  " de ",
@@ -7882,7 +7885,7 @@ function PaginationControls({
7882
7885
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center space-x-4", children: [
7883
7886
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(PaginationInfo, { currentCount, totalCount }),
7884
7887
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center space-x-2", children: [
7885
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ITText, { as: "span", className: "text-sm text-gray-700", children: "Mostrar:" }),
7888
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ITText, { as: "span", className: "text-sm text-secondary-700", children: "Mostrar:" }),
7886
7889
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
7887
7890
  ITSelect,
7888
7891
  {
@@ -7915,7 +7918,7 @@ function PaginationControls({
7915
7918
  children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_fa22.FaArrowLeft, { "aria-hidden": "true" })
7916
7919
  }
7917
7920
  ),
7918
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(ITText, { as: "span", className: "px-4 py-2 text-sm text-gray-700", "aria-live": "polite", children: [
7921
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(ITText, { as: "span", className: "px-4 py-2 text-sm text-secondary-700", "aria-live": "polite", children: [
7919
7922
  "P\xE1gina ",
7920
7923
  pageIndex,
7921
7924
  " de ",
@@ -8009,7 +8012,7 @@ function ITSearchTable({
8009
8012
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "shadow-md sm:rounded-lg overflow-hidden", children: [
8010
8013
  title && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-teal-500 text-white px-6 py-4", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ITText, { as: "h2", className: "text-xl font-bold text-center whitespace-nowrap", children: title }) }),
8011
8014
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "bg-white", children: [
8012
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "p-4 border-b border-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
8015
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "p-4 border-b border-secondary-200", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
8013
8016
  SearchAndSortBar,
8014
8017
  {
8015
8018
  searchTerm,
@@ -8024,7 +8027,7 @@ function ITSearchTable({
8024
8027
  "table",
8025
8028
  {
8026
8029
  className: (0, import_clsx34.default)(
8027
- "min-w-full text-sm text-left bg-white text-gray-900 table-auto",
8030
+ "min-w-full text-sm text-left bg-white text-secondary-900 table-auto",
8028
8031
  variantStyles[variant],
8029
8032
  sizeStyles[size]
8030
8033
  ),
@@ -8172,7 +8175,7 @@ function ITSidebar({
8172
8175
  ${sidebarWidth}
8173
8176
  ${className}
8174
8177
  ${!visibleOnMobile ? "hidden lg:flex" : "flex"}
8175
- shadow-[4px_0_24px_rgba(0,0,0,0.02)]
8178
+ shadow-[4px_0_32px_rgba(15,23,42,0.04)]
8176
8179
  `,
8177
8180
  style: {
8178
8181
  zIndex: 50,
@@ -8192,7 +8195,7 @@ function ITSidebar({
8192
8195
  `,
8193
8196
  style: {
8194
8197
  backgroundColor: item.isActive ? "var(--sidebar-active-bg, var(--color-secondary-50))" : "transparent",
8195
- boxShadow: item.isActive ? "0 1px 2px 0 rgba(0, 0, 0, 0.05)" : "none",
8198
+ boxShadow: item.isActive ? "var(--shadow-xs)" : "none",
8196
8199
  border: item.isActive ? "1px solid var(--sidebar-border, var(--color-secondary-200))" : "1px solid transparent"
8197
8200
  },
8198
8201
  onMouseEnter: (e) => {
@@ -8207,7 +8210,7 @@ function ITSidebar({
8207
8210
  "div",
8208
8211
  {
8209
8212
  className: "absolute left-0 top-1/4 bottom-1/4 w-[3px] rounded-r-full transition-all",
8210
- style: { backgroundColor: "var(--sidebar-active-icon, #10b981)", boxShadow: "0 0 10px var(--sidebar-active-icon, #10b981)" }
8213
+ style: { backgroundColor: "var(--sidebar-active-icon, var(--color-primary-500))", boxShadow: "0 0 10px var(--sidebar-active-icon, var(--color-primary-500))" }
8211
8214
  }
8212
8215
  ),
8213
8216
  /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: `flex items-center ${!isSidebarCollapsed ? "gap-3.5" : "justify-center"} relative z-10 w-full`, children: [
@@ -8216,7 +8219,7 @@ function ITSidebar({
8216
8219
  {
8217
8220
  className: `transition-all duration-300 flex-shrink-0 flex items-center justify-center`,
8218
8221
  style: {
8219
- color: item.isActive ? "var(--sidebar-active-icon, #10b981)" : "var(--sidebar-icon-color, #9ca3af)",
8222
+ color: item.isActive ? "var(--sidebar-active-icon, var(--color-primary-500))" : "var(--sidebar-icon-color, #9ca3af)",
8220
8223
  opacity: item.isActive ? 1 : 0.8,
8221
8224
  fontSize: item.isActive ? "1.35rem" : "1.25rem",
8222
8225
  filter: item.isActive ? "drop-shadow(0 0 8px rgba(255,255,255,0.2))" : "none"
@@ -8230,7 +8233,7 @@ function ITSidebar({
8230
8233
  as: "span",
8231
8234
  className: `transition-all duration-300 truncate tracking-wide`,
8232
8235
  style: {
8233
- color: item.isActive ? "var(--sidebar-active-color, #ffffff)" : "var(--sidebar-label-color, #d1d5db)",
8236
+ color: item.isActive ? "var(--sidebar-active-color, #ffffff)" : "var(--sidebar-label-color, var(--color-secondary-300))",
8234
8237
  fontSize: "0.9rem",
8235
8238
  fontWeight: item.isActive ? "600" : "500"
8236
8239
  },
@@ -8254,9 +8257,9 @@ function ITSidebar({
8254
8257
  ${isSidebarCollapsed ? "top-1 right-1 w-2.5 h-2.5 rounded-full ring-2 ring-white" : "right-3 top-1/2 transform -translate-y-1/2 px-2 py-0.5 text-[10px] rounded-full backdrop-blur-sm"}
8255
8258
  `,
8256
8259
  style: {
8257
- backgroundColor: "var(--sidebar-badge-bg, #10b981)",
8260
+ backgroundColor: "var(--sidebar-badge-bg, var(--color-primary-500))",
8258
8261
  color: "var(--sidebar-badge-color, #ffffff)",
8259
- boxShadow: isSidebarCollapsed ? "0 0 0 2px var(--sidebar-bg, #111827)" : "none"
8262
+ boxShadow: isSidebarCollapsed ? "0 0 0 2px var(--sidebar-bg, var(--color-secondary-900))" : "none"
8260
8263
  },
8261
8264
  children: isSidebarCollapsed ? "" : item.badge
8262
8265
  }
@@ -8276,7 +8279,7 @@ function ITSidebar({
8276
8279
  },
8277
8280
  children: [
8278
8281
  /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "px-5 py-4 flex items-center gap-3 font-semibold border-b", style: { borderColor: "var(--sidebar-border, var(--color-secondary-200))", color: "var(--sidebar-active-color, var(--color-secondary-900))" }, children: [
8279
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { style: { color: "var(--sidebar-active-icon, #10b981)" }, className: "text-xl drop-shadow-sm", children: item.icon }),
8282
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { style: { color: "var(--sidebar-active-icon, var(--color-primary-500))" }, className: "text-xl drop-shadow-sm", children: item.icon }),
8280
8283
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ITText, { as: "span", className: "tracking-wide text-[15px]", children: item.label })
8281
8284
  ] }),
8282
8285
  item.subitems && item.subitems.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "py-2", children: item.subitems.map((subitem) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
@@ -8289,17 +8292,17 @@ function ITSidebar({
8289
8292
  {
8290
8293
  className: "absolute left-0 top-1/3 bottom-1/3 w-[2.5px] rounded-r-full",
8291
8294
  style: {
8292
- backgroundColor: "var(--sidebar-active-icon, #10b981)",
8293
- boxShadow: "0 0 6px color-mix(in srgb, var(--sidebar-active-icon, #10b981) 25%, transparent)"
8295
+ backgroundColor: "var(--sidebar-active-icon, var(--color-primary-500))",
8296
+ boxShadow: "0 0 6px color-mix(in srgb, var(--sidebar-active-icon, var(--color-primary-500)) 25%, transparent)"
8294
8297
  }
8295
8298
  }
8296
8299
  ),
8297
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: `w-1.5 h-1.5 rounded-full transition-all ${subitem.isActive ? "scale-125" : ""}`, style: { backgroundColor: subitem.isActive ? "var(--sidebar-active-icon, #10b981)" : "var(--sidebar-icon-color, var(--color-secondary-400))" } }),
8300
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: `w-1.5 h-1.5 rounded-full transition-all ${subitem.isActive ? "scale-125" : ""}`, style: { backgroundColor: subitem.isActive ? "var(--sidebar-active-icon, var(--color-primary-500))" : "var(--sidebar-icon-color, var(--color-secondary-400))" } }),
8298
8301
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ITText, { as: "span", style: { color: subitem.isActive ? "var(--sidebar-active-color, var(--color-secondary-900))" : "var(--sidebar-label-color, var(--color-secondary-600))", fontWeight: subitem.isActive ? 600 : 500 }, children: subitem.label })
8299
8302
  ]
8300
8303
  },
8301
8304
  subitem.id
8302
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ITText, { as: "div", className: "px-5 py-3 text-sm italic", style: { color: "var(--sidebar-label-color, #71717a)" }, children: "No hay submen\xFA" })
8305
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ITText, { as: "div", className: "px-5 py-3 text-sm italic", style: { color: "var(--sidebar-label-color, var(--color-secondary-400))" }, children: "No hay submen\xFA" })
8303
8306
  ]
8304
8307
  }
8305
8308
  ),
@@ -8344,8 +8347,8 @@ function ITSidebar({
8344
8347
  {
8345
8348
  className: "absolute left-0 top-1/3 bottom-1/3 w-[2.5px] rounded-r-full transition-all",
8346
8349
  style: {
8347
- backgroundColor: "var(--sidebar-active-icon, #10b981)",
8348
- boxShadow: "0 0 6px color-mix(in srgb, var(--sidebar-active-icon, #10b981) 25%, transparent)"
8350
+ backgroundColor: "var(--sidebar-active-icon, var(--color-primary-500))",
8351
+ boxShadow: "0 0 6px color-mix(in srgb, var(--sidebar-active-icon, var(--color-primary-500)) 25%, transparent)"
8349
8352
  }
8350
8353
  }
8351
8354
  ),
@@ -8354,7 +8357,7 @@ function ITSidebar({
8354
8357
  {
8355
8358
  className: `w-1.5 h-1.5 rounded-full flex-shrink-0 transition-all duration-300 ${subitem.isActive ? "scale-125" : ""}`,
8356
8359
  style: {
8357
- backgroundColor: subitem.isActive ? "var(--sidebar-active-icon, #10b981)" : "var(--sidebar-icon-color, var(--color-secondary-400))"
8360
+ backgroundColor: subitem.isActive ? "var(--sidebar-active-icon, var(--color-primary-500))" : "var(--sidebar-icon-color, var(--color-secondary-400))"
8358
8361
  }
8359
8362
  }
8360
8363
  ),
@@ -8473,7 +8476,7 @@ function ITSlider({
8473
8476
  className
8474
8477
  }) {
8475
8478
  return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: (0, import_clsx36.default)("flex flex-col gap-1.5", className), children: [
8476
- label && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(ITText, { as: "label", className: "text-xs font-semibold text-gray-600 dark:text-gray-400", children: [
8479
+ label && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(ITText, { as: "label", className: "text-xs font-semibold text-secondary-600 dark:text-secondary-400", children: [
8477
8480
  label,
8478
8481
  ": ",
8479
8482
  value
@@ -8490,7 +8493,7 @@ function ITSlider({
8490
8493
  disabled,
8491
8494
  className: (0, import_clsx36.default)(
8492
8495
  "w-full h-1.5 appearance-none rounded-full outline-none cursor-pointer",
8493
- "bg-gray-200 dark:bg-gray-700",
8496
+ "bg-secondary-200 dark:bg-secondary-700",
8494
8497
  "accent-primary-500",
8495
8498
  "disabled:opacity-50 disabled:cursor-not-allowed",
8496
8499
  "[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:h-4",
@@ -8499,7 +8502,7 @@ function ITSlider({
8499
8502
  "[&::-webkit-slider-thumb]:hover:bg-primary-600 [&::-webkit-slider-thumb]:transition-colors",
8500
8503
  "[&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:rounded-full",
8501
8504
  "[&::-moz-range-thumb]:bg-primary-500 [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-white",
8502
- "[&::-moz-range-track]:bg-gray-200 dark:[&::-moz-range-track]:bg-gray-700",
8505
+ "[&::-moz-range-track]:bg-secondary-200 dark:[&::-moz-range-track]:bg-secondary-700",
8503
8506
  "[&::-moz-range-track]:rounded-full [&::-moz-range-track]:h-1.5"
8504
8507
  )
8505
8508
  }
@@ -8587,8 +8590,8 @@ function ITTextarea({
8587
8590
  "w-full border border-solid transition-all duration-200 rounded-lg px-3 py-2 text-sm outline-none",
8588
8591
  "focus:ring-2",
8589
8592
  resizeMap[resize],
8590
- error ? "border-red-500 ring-red-100 focus:border-red-500 focus:ring-red-100" : "border-gray-300 focus:border-primary-500 focus:ring-primary-100",
8591
- disabled && "opacity-50 cursor-not-allowed bg-gray-100 dark:bg-slate-800"
8593
+ error ? "border-danger-500 ring-danger-100 focus:border-danger-500 focus:ring-danger-100" : "border-secondary-300 focus:border-primary-500 focus:ring-primary-100",
8594
+ disabled && "opacity-50 cursor-not-allowed bg-secondary-100 dark:bg-slate-800"
8592
8595
  )
8593
8596
  }
8594
8597
  ),
@@ -8972,9 +8975,9 @@ var ITDropfile = ({
8972
8975
  const isImage = fileType && fileType.startsWith("image/");
8973
8976
  return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: (0, import_clsx41.default)("w-full transition-all duration-300", containerClassName), children: [
8974
8977
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex items-center justify-between mb-2", children: [
8975
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("label", { className: "block text-sm font-semibold text-gray-700", children: [
8978
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("label", { className: "block text-sm font-semibold text-secondary-700", children: [
8976
8979
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ITText, { as: "span", children: "Subir archivo " }),
8977
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(ITText, { as: "span", className: "text-gray-400 font-normal text-xs", children: [
8980
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(ITText, { as: "span", className: "text-secondary-400 font-normal text-xs", children: [
8978
8981
  "(",
8979
8982
  getFileExtensions(),
8980
8983
  ")"
@@ -8989,43 +8992,43 @@ var ITDropfile = ({
8989
8992
  className: `
8990
8993
  relative group flex flex-col items-center justify-center w-full p-6
8991
8994
  border-2 border-dashed rounded-xl cursor-pointer transition-all duration-300 ease-in-out
8992
- ${isDragActive ? "border-primary-500 bg-primary-50 scale-[1.01]" : "border-gray-300 bg-white hover:border-primary-400 hover:bg-gray-50"}
8995
+ ${isDragActive ? "border-primary-500 bg-primary-50 scale-[1.01]" : "border-secondary-300 bg-white hover:border-primary-400 hover:bg-secondary-50"}
8993
8996
  `,
8994
8997
  children: [
8995
8998
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("input", { ...getInputProps() }),
8996
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: `mb-3 p-3 rounded-full transition-colors duration-300 ${isDragActive ? "bg-primary-100" : "bg-gray-100 group-hover:bg-primary-50"}`, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8999
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: `mb-3 p-3 rounded-full transition-colors duration-300 ${isDragActive ? "bg-primary-100" : "bg-secondary-100 group-hover:bg-primary-50"}`, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8997
9000
  "svg",
8998
9001
  {
8999
- className: `w-6 h-6 transition-colors duration-300 ${isDragActive ? "text-primary-600" : "text-gray-400 group-hover:text-primary-500"}`,
9002
+ className: `w-6 h-6 transition-colors duration-300 ${isDragActive ? "text-primary-600" : "text-secondary-400 group-hover:text-primary-500"}`,
9000
9003
  fill: "none",
9001
9004
  viewBox: "0 0 24 24",
9002
9005
  stroke: "currentColor",
9003
9006
  children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" })
9004
9007
  }
9005
9008
  ) }),
9006
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "text-center space-y-1", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ITText, { as: "p", className: `text-sm font-medium transition-colors duration-300 ${isDragActive ? "text-primary-700" : "text-gray-700"}`, children: isDragActive ? "\xA1Suelta aqu\xED!" : "Haz clic o arrastra" }) })
9009
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "text-center space-y-1", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ITText, { as: "p", className: `text-sm font-medium transition-colors duration-300 ${isDragActive ? "text-primary-700" : "text-secondary-700"}`, children: isDragActive ? "\xA1Suelta aqu\xED!" : "Haz clic o arrastra" }) })
9007
9010
  ]
9008
9011
  }
9009
- ) : /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "w-full bg-white border border-gray-200 rounded-xl shadow-sm overflow-hidden animate-fade-in", children: [
9010
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex items-center justify-between p-3 bg-gray-50 border-b border-gray-100", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex items-center gap-3 overflow-hidden", children: [
9012
+ ) : /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "w-full bg-white border border-secondary-200 rounded-xl shadow-sm overflow-hidden animate-fade-in", children: [
9013
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex items-center justify-between p-3 bg-secondary-50 border-b border-secondary-100", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex items-center gap-3 overflow-hidden", children: [
9011
9014
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex-shrink-0 w-8 h-8 rounded-lg bg-primary-100 flex items-center justify-center text-primary-600", children: selectedFile && fileType?.startsWith("image/") || !selectedFile && imagePreview ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("svg", { className: "w-5 h-5", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" }) }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("svg", { className: "w-5 h-5", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" }) }) }),
9012
9015
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "min-w-0", children: [
9013
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ITText, { as: "p", className: "text-xs font-medium text-gray-900 truncate", title: selectedFile?.name || "Imagen cargada", children: selectedFile?.name || "Imagen cargada" }),
9014
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ITText, { as: "p", className: "text-[10px] text-gray-500", children: selectedFile ? (selectedFile.size / 1024 / 1024).toFixed(2) + " MB" : "" })
9016
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ITText, { as: "p", className: "text-xs font-medium text-secondary-900 truncate", title: selectedFile?.name || "Imagen cargada", children: selectedFile?.name || "Imagen cargada" }),
9017
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ITText, { as: "p", className: "text-[10px] text-secondary-500", children: selectedFile ? (selectedFile.size / 1024 / 1024).toFixed(2) + " MB" : "" })
9015
9018
  ] })
9016
9019
  ] }) }),
9017
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: (0, import_clsx41.default)("relative bg-gray-100 flex items-center justify-center", !contentClassName ? "max-h-[200px] min-h-[100px] overflow-auto" : contentClassName), children: selectedFile && fileType?.startsWith("image/") || !selectedFile && imagePreview ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
9020
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: (0, import_clsx41.default)("relative bg-secondary-100 flex items-center justify-center", !contentClassName ? "max-h-[200px] min-h-[100px] overflow-auto" : contentClassName), children: selectedFile && fileType?.startsWith("image/") || !selectedFile && imagePreview ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
9018
9021
  "img",
9019
9022
  {
9020
9023
  src: imagePreview,
9021
9024
  alt: "Vista previa",
9022
9025
  className: "w-full h-full object-contain max-h-[200px]"
9023
9026
  }
9024
- ) : /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "py-8 flex flex-col items-center text-gray-400", children: [
9027
+ ) : /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "py-8 flex flex-col items-center text-secondary-400", children: [
9025
9028
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("svg", { className: "w-10 h-10 mb-2 opacity-50", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z" }) }),
9026
9029
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ITText, { as: "span", className: "text-xs", children: "Sin vista previa" })
9027
9030
  ] }) }),
9028
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-3 py-2 bg-white border-t border-gray-100 flex justify-end gap-2", children: !isConfirmed ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
9031
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-3 py-2 bg-white border-t border-secondary-100 flex justify-end gap-2", children: !isConfirmed ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
9029
9032
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
9030
9033
  ITButton,
9031
9034
  {
@@ -9065,7 +9068,7 @@ var ITDropfile = ({
9065
9068
  ]
9066
9069
  }
9067
9070
  ) }),
9068
- uploadStatus === "subiendo" /* UPLOADING */ && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-4 pb-2", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "w-full bg-gray-200 rounded-full h-1.5", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
9071
+ uploadStatus === "subiendo" /* UPLOADING */ && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-4 pb-2", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "w-full bg-secondary-200 rounded-full h-1.5", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
9069
9072
  "div",
9070
9073
  {
9071
9074
  className: "bg-primary-600 h-1.5 rounded-full transition-all duration-1000 ease-out",
@@ -9106,8 +9109,8 @@ function ITTopBar({
9106
9109
  className: "sticky top-0 z-40 backdrop-blur-md transition-all duration-300",
9107
9110
  style: {
9108
9111
  backgroundColor: "var(--topbar-bg, rgba(255, 255, 255, 0.9))",
9109
- borderBottom: "1px solid var(--topbar-border, #e2e8f0)",
9110
- boxShadow: "none"
9112
+ borderBottom: "1px solid var(--topbar-border, rgba(15, 23, 42, 0.06))",
9113
+ boxShadow: "var(--shadow-xs)"
9111
9114
  },
9112
9115
  children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex items-center justify-between h-[72px] px-6 lg:px-8", children: [
9113
9116
  /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex items-center gap-5", children: [
@@ -9136,7 +9139,7 @@ function ITTopBar({
9136
9139
  }
9137
9140
  )
9138
9141
  ] }),
9139
- navItems && navItems.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("nav", { className: "hidden md:flex ml-8 space-x-1 border-l pl-8", style: { borderColor: "var(--topbar-border, #e2e8f0)" }, children: navItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
9142
+ navItems && navItems.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("nav", { className: "hidden md:flex ml-8 space-x-1 border-l pl-8", style: { borderColor: "var(--topbar-border, rgba(15, 23, 42, 0.06))" }, children: navItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
9140
9143
  "button",
9141
9144
  {
9142
9145
  onClick: () => onNavItemClick?.(item.id),
@@ -9163,7 +9166,7 @@ function ITTopBar({
9163
9166
  "button",
9164
9167
  {
9165
9168
  type: "button",
9166
- className: "flex items-center gap-3 rounded-full pl-2 pr-4 py-1.5 transition-all duration-200 ease-[cubic-bezier(0.2,0,0,1)] border border-transparent hover:border-gray-200",
9169
+ className: "flex items-center gap-3 rounded-full pl-2 pr-4 py-1.5 transition-all duration-200 ease-[cubic-bezier(0.2,0,0,1)] border border-transparent hover:border-secondary-200",
9167
9170
  style: {
9168
9171
  backgroundColor: isUserMenuOpen ? "var(--topbar-user-hover, #f1f5f9)" : "transparent"
9169
9172
  },
@@ -9238,9 +9241,9 @@ function ITTopBar({
9238
9241
  setIsUserMenuOpen(false);
9239
9242
  },
9240
9243
  className: "block w-full text-left px-3 py-2.5 rounded-xl text-[0.875rem] font-medium transition-colors duration-150",
9241
- style: { color: isDestructive ? "#ef4444" : "var(--topbar-user-text, #334155)" },
9244
+ style: { color: isDestructive ? "var(--color-danger-500)" : "var(--topbar-user-text, #334155)" },
9242
9245
  onMouseEnter: (e) => {
9243
- e.currentTarget.style.backgroundColor = isDestructive ? "#fef2f2" : "var(--topbar-user-item-hover, #f8fafc)";
9246
+ e.currentTarget.style.backgroundColor = isDestructive ? "var(--color-danger-50)" : "var(--topbar-user-item-hover, #f8fafc)";
9244
9247
  },
9245
9248
  onMouseLeave: (e) => {
9246
9249
  e.currentTarget.style.backgroundColor = "transparent";
@@ -9393,7 +9396,7 @@ function ITLoader({
9393
9396
  return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
9394
9397
  "div",
9395
9398
  {
9396
- className: `w-full ${size === "sm" ? "h-1" : size === "md" ? "h-1.5" : size === "lg" ? "h-2" : "h-2.5"} bg-gray-200 rounded-full overflow-hidden ${className}`,
9399
+ className: `w-full ${size === "sm" ? "h-1" : size === "md" ? "h-1.5" : size === "lg" ? "h-2" : "h-2.5"} bg-secondary-200 rounded-full overflow-hidden ${className}`,
9397
9400
  children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
9398
9401
  "div",
9399
9402
  {
@@ -9504,7 +9507,7 @@ function ITStepper({
9504
9507
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
9505
9508
  "div",
9506
9509
  {
9507
- className: "absolute left-6 right-6 top-5 h-1 bg-gray-200 rounded-full z-0",
9510
+ className: "absolute left-6 right-6 top-5 h-1 bg-secondary-200 rounded-full z-0",
9508
9511
  "aria-hidden": true
9509
9512
  }
9510
9513
  ),
@@ -9539,7 +9542,7 @@ function ITStepper({
9539
9542
  hasIcon && "p-2",
9540
9543
  isCompleted && "bg-slate-400 border-slate-400 text-white scale-100 shadow",
9541
9544
  isActive && "text-white scale-110 shadow-lg",
9542
- !isActive && !isCompleted && "bg-white border-gray-300 text-gray-400"
9545
+ !isActive && !isCompleted && "bg-white border-secondary-300 text-secondary-400"
9543
9546
  ),
9544
9547
  style: isActive ? { backgroundColor: resolvedColor, borderColor: resolvedColor } : void 0,
9545
9548
  children: renderStepContent(idx, isCompleted, isActive)
@@ -9551,7 +9554,7 @@ function ITStepper({
9551
9554
  as: "span",
9552
9555
  className: (0, import_clsx43.default)(
9553
9556
  "mt-2 text-xs sm:text-sm font-medium transition-colors text-center",
9554
- isCompleted ? "text-slate-400" : !isActive && "text-gray-400"
9557
+ isCompleted ? "text-slate-400" : !isActive && "text-secondary-400"
9555
9558
  ),
9556
9559
  style: isActive ? { color: resolvedColor } : void 0,
9557
9560
  children: step.label
@@ -9572,7 +9575,7 @@ function ITStepper({
9572
9575
  "aria-labelledby": `step-${currentStep}`,
9573
9576
  className: (0, import_clsx43.default)(
9574
9577
  stepClassName,
9575
- "bg-white border border-gray-100 rounded-2xl shadow-lg min-h-[280px] transition-transform duration-400 no-scrollbar p-6",
9578
+ "bg-white border border-secondary-100 rounded-2xl shadow-lg min-h-[280px] transition-transform duration-400 no-scrollbar p-6",
9576
9579
  scrollableContent && "overflow-y-auto hide-scrollbar"
9577
9580
  ),
9578
9581
  style: scrollableContent && maxContentHeight ? { maxHeight: maxContentHeight } : void 0,
@@ -9594,7 +9597,7 @@ function ITStepper({
9594
9597
  }
9595
9598
  ),
9596
9599
  /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center gap-3", children: [
9597
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(ITText, { as: "div", className: "text-sm text-gray-500 mr-2 hidden sm:block", children: [
9600
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(ITText, { as: "div", className: "text-sm text-secondary-500 mr-2 hidden sm:block", children: [
9598
9601
  "Paso ",
9599
9602
  currentStep + 1,
9600
9603
  " de ",