) => ({
caption: 'sr-only',
thead: 'relative [&>tr]:after:absolute [&>tr]:after:inset-x-0 [&>tr]:after:bottom-0 [&>tr]:after:h-px [&>tr]:after:bg-[var(--ui-border-accented)]',
tbody: 'divide-y divide-[var(--ui-border)]',
- tr: 'data-[selected=true]:bg-[var(--ui-bg-elevated)]/50',
+ tr: 'data-[selected=true]:bg-[var(--ui-bg-elevated)]/50 data-[can-select=true]:hover:bg-[var(--ui-bg-elevated)]/50',
th: 'px-4 py-3.5 text-sm text-[var(--ui-text-highlighted)] text-left rtl:text-right font-semibold [&:has([role=checkbox])]:pe-0',
td: 'p-4 text-sm text-[var(--ui-text-muted)] whitespace-nowrap [&:has([role=checkbox])]:pe-0',
empty: 'py-6 text-center text-sm text-[var(--ui-text-muted)]'
diff --git a/test/components/__snapshots__/Table.spec.ts.snap b/test/components/__snapshots__/Table.spec.ts.snap
index 0a4d2d0edf..4eb7843744 100644
--- a/test/components/__snapshots__/Table.spec.ts.snap
+++ b/test/components/__snapshots__/Table.spec.ts.snap
@@ -5,7 +5,7 @@ exports[`Table > renders with caption correctly 1`] = `
Table caption
-
+
Id
Amount
Status
@@ -13,35 +13,35 @@ exports[`Table > renders with caption correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -58,7 +58,7 @@ exports[`Table > renders with caption slot correctly 1`] = `
-
+
Id
Amount
Status
@@ -66,35 +66,35 @@ exports[`Table > renders with caption slot correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -111,7 +111,7 @@ exports[`Table > renders with cell slot correctly 1`] = `
-
+
Id
Amount
Status
@@ -119,35 +119,35 @@ exports[`Table > renders with cell slot correctly 1`] = `
-
+
ID Cell slot
316
success
ken99@yahoo.com
-
+
ID Cell slot
242
success
Abe45@gmail.com
-
+
ID Cell slot
837
processing
Monserrat44@gmail.com
-
+
ID Cell slot
874
success
Silas22@gmail.com
-
+
ID Cell slot
721
failed
@@ -164,7 +164,7 @@ exports[`Table > renders with class correctly 1`] = `
-
+
Id
Amount
Status
@@ -172,35 +172,35 @@ exports[`Table > renders with class correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -217,7 +217,7 @@ exports[`Table > renders with columns correctly 1`] = `
-
+
@@ -243,7 +243,7 @@ exports[`Table > renders with columns correctly 1`] = `
-
+
@@ -275,7 +275,7 @@ exports[`Table > renders with columns correctly 1`] = `
-
+
@@ -307,7 +307,7 @@ exports[`Table > renders with columns correctly 1`] = `
-
+
@@ -339,7 +339,7 @@ exports[`Table > renders with columns correctly 1`] = `
-
+
@@ -371,7 +371,7 @@ exports[`Table > renders with columns correctly 1`] = `
-
+
@@ -413,7 +413,7 @@ exports[`Table > renders with data correctly 1`] = `
-
+
Id
Amount
Status
@@ -421,35 +421,35 @@ exports[`Table > renders with data correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -466,7 +466,7 @@ exports[`Table > renders with empty slot correctly 1`] = `
-
+
Id
Amount
Status
@@ -474,35 +474,35 @@ exports[`Table > renders with empty slot correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -519,7 +519,7 @@ exports[`Table > renders with expanded slot correctly 1`] = `
-
+
Id
Amount
Status
@@ -527,35 +527,35 @@ exports[`Table > renders with expanded slot correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -572,7 +572,7 @@ exports[`Table > renders with header slot correctly 1`] = `
-
+
ID Header slot
Amount
Status
@@ -580,35 +580,35 @@ exports[`Table > renders with header slot correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -625,7 +625,7 @@ exports[`Table > renders with loading animation carousel correctly 1`] = `
-
+
Id
Amount
Status
@@ -633,35 +633,35 @@ exports[`Table > renders with loading animation carousel correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -678,7 +678,7 @@ exports[`Table > renders with loading animation carousel-inverse correctly 1`] =
-
+
Id
Amount
Status
@@ -686,35 +686,35 @@ exports[`Table > renders with loading animation carousel-inverse correctly 1`] =
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -731,7 +731,7 @@ exports[`Table > renders with loading animation elastic correctly 1`] = `
-
+
Id
Amount
Status
@@ -739,35 +739,35 @@ exports[`Table > renders with loading animation elastic correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -784,7 +784,7 @@ exports[`Table > renders with loading animation swing correctly 1`] = `
-
+
Id
Amount
Status
@@ -792,35 +792,35 @@ exports[`Table > renders with loading animation swing correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -837,7 +837,7 @@ exports[`Table > renders with loading color error correctly 1`] = `
-
+
Id
Amount
Status
@@ -845,35 +845,35 @@ exports[`Table > renders with loading color error correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -890,7 +890,7 @@ exports[`Table > renders with loading color info correctly 1`] = `
-
+
Id
Amount
Status
@@ -898,35 +898,35 @@ exports[`Table > renders with loading color info correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -943,7 +943,7 @@ exports[`Table > renders with loading color neutral correctly 1`] = `
-
+
Id
Amount
Status
@@ -951,35 +951,35 @@ exports[`Table > renders with loading color neutral correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -996,7 +996,7 @@ exports[`Table > renders with loading color primary correctly 1`] = `
-
+
Id
Amount
Status
@@ -1004,35 +1004,35 @@ exports[`Table > renders with loading color primary correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -1049,7 +1049,7 @@ exports[`Table > renders with loading color secondary correctly 1`] = `
-
+
Id
Amount
Status
@@ -1057,35 +1057,35 @@ exports[`Table > renders with loading color secondary correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -1102,7 +1102,7 @@ exports[`Table > renders with loading color success correctly 1`] = `
-
+
Id
Amount
Status
@@ -1110,35 +1110,35 @@ exports[`Table > renders with loading color success correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -1155,7 +1155,7 @@ exports[`Table > renders with loading color warning correctly 1`] = `
-
+
Id
Amount
Status
@@ -1163,35 +1163,35 @@ exports[`Table > renders with loading color warning correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -1208,7 +1208,7 @@ exports[`Table > renders with loading correctly 1`] = `
-
+
Id
Amount
Status
@@ -1216,35 +1216,35 @@ exports[`Table > renders with loading correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -1261,7 +1261,7 @@ exports[`Table > renders with sticky correctly 1`] = `
-
+
Id
Amount
Status
@@ -1269,35 +1269,35 @@ exports[`Table > renders with sticky correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -1314,7 +1314,7 @@ exports[`Table > renders with ui correctly 1`] = `
-
+
Id
Amount
Status
@@ -1322,35 +1322,35 @@ exports[`Table > renders with ui correctly 1`] = `
-
+
m5gr84i9
316
success
ken99@yahoo.com
-
+
3u1reuv4
242
success
Abe45@gmail.com
-
+
derv1ws0
837
processing
Monserrat44@gmail.com
-
+
5kma53ae
874
success
Silas22@gmail.com
-
+
bhqecj4p
721
failed
@@ -1367,10 +1367,10 @@ exports[`Table > renders without data correctly 1`] = `