@axzydev/axzy_ui_system 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,6 +50,8 @@ export interface ITThemePalette {
50
50
  rowBg: string;
51
51
  /** Text color of table body rows. @default "#1e293b" */
52
52
  rowText: string;
53
+ /** Background color applied to a table body row while the pointer is over it (hex). @default "#f1f5f9" */
54
+ rowHover: string;
53
55
  };
54
56
  }
55
57
 
@@ -86,12 +86,14 @@ export const tableSortButtonInactive = "hover:bg-secondary-200 text-secondary-40
86
86
 
87
87
  export const tableBody = "divide-y divide-secondary-100";
88
88
 
89
- export const tableRow = "hover:bg-secondary-50/50 transition-colors duration-150 group";
89
+ export const tableRow = "hover:bg-[var(--color-table-rowHover,var(--color-secondary-50))] transition-colors duration-150 group";
90
90
 
91
91
  export const tableRowClickable = "cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-inset";
92
92
 
93
93
  export const tableCardClickable = "cursor-pointer rounded-lg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500";
94
94
 
95
+ export const tableCardHover = "hover:bg-[var(--color-table-rowHover,var(--color-secondary-50))] transition-colors duration-150";
96
+
95
97
  export function tableCell(className?: string, density: TableDensity = "normal") {
96
98
  return clsx(densityStyles[density].cell, "align-middle", className);
97
99
  }