feat(Table): add loading slot

Resolves #3444
This commit is contained in:
Benjamin Canac
2025-03-04 14:11:29 +01:00
parent a47c5ff466
commit 99e531d8df
5 changed files with 135 additions and 80 deletions

View File

@@ -10,7 +10,8 @@ export default (options: Required<ModuleOptions>) => ({
tr: 'data-[selected=true]:bg-(--ui-bg-elevated)/50',
th: 'px-4 py-3.5 text-sm text-(--ui-text-highlighted) text-left rtl:text-right font-semibold [&:has([role=checkbox])]:pe-0',
td: 'p-4 text-sm text-(--ui-text-muted) whitespace-nowrap [&:has([role=checkbox])]:pe-0',
empty: 'py-6 text-center text-sm text-(--ui-text-muted)'
empty: 'py-6 text-center text-sm text-(--ui-text-muted)',
loading: 'py-6 text-center'
},
variants: {
pinned: {