feat(Table): expand row (#1036)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Everton
2024-07-23 10:43:39 -03:00
committed by GitHub
parent c39c770a70
commit 7155318029
4 changed files with 125 additions and 11 deletions

View File

@@ -37,6 +37,9 @@ export default {
label: 'text-sm text-center text-gray-900 dark:text-white',
icon: 'w-6 h-6 mx-auto text-gray-400 dark:text-gray-500 mb-4'
},
expand: {
icon: 'transform transition-transform duration-200'
},
progress: {
wrapper: 'absolute inset-x-0 -bottom-[0.5px] p-0'
},
@@ -51,6 +54,13 @@ export default {
variant: 'ghost' as const,
class: '-m-1.5'
},
expandButton: {
icon: 'i-heroicons-chevron-down',
color: 'gray' as const,
variant: 'ghost' as const,
size: 'xs' as const,
class: '-my-1.5 align-middle'
},
checkbox: {
color: 'primary' as const
},