feat(ui) : revue des tailles par défaut du DataTable + prop fieldClass au Select

- texte header 16px (était 20px), body 14px (était 18px)
- sélecteur de lignes et boutons de pagination alignés à 30px
- padding 12px entre le tableau et la barre de pagination
- nouvelle prop fieldClass sur Select (override hauteur du field)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-08 15:04:31 +02:00
parent 1560a23079
commit dcb8c16a35
4 changed files with 15 additions and 9 deletions
+3 -1
View File
@@ -34,7 +34,7 @@
? 'border-black'
: 'border-m-muted',
disabled ? 'cursor-not-allowed border-m-muted text-black/60' : isReadonly ? 'cursor-default' : 'cursor-pointer',
label ? 'min-h-[40px]' : 'h-[40px] py-0',
twMerge(label ? 'min-h-[40px]' : 'h-[40px] py-0', fieldClass),
rounded,
textField,
]"
@@ -206,6 +206,7 @@ const props = withDefaults(defineProps<{
textField?: string
textValue?: string
textLabel?: string
fieldClass?: string
rounded?: string
disabled?: boolean
readonly?: boolean
@@ -223,6 +224,7 @@ const props = withDefaults(defineProps<{
textField: 'text-lg',
textValue: 'text-lg',
textLabel: 'text-sm',
fieldClass: '',
rounded: 'rounded-md',
disabled: false,
readonly: false,