feat : Ajout du composant téléphone

This commit is contained in:
2026-05-12 08:45:19 +02:00
parent 1ffe63827d
commit a1040d2a5e
22 changed files with 1201 additions and 155 deletions

View File

@@ -140,7 +140,7 @@ const mergedGroupClass = computed(() =>
)
const mergedInputClass = computed(() =>
twMerge(
'floating-input grow-height peer min-h-[40px] w-full border bg-white pl-3 pr-3 py-1 outline-none placeholder:text-transparent focus:border-2 text-lg rounded-md',
'floating-input grow-height peer min-h-[40px] w-full border bg-white pl-3 pr-3 py-1 outline-none placeholder:text-transparent text-lg rounded-md',
isFilled.value ? 'border-black' : 'border-m-muted',
disabled.value ? 'cursor-not-allowed text-black/60 [&:not(:placeholder-shown)]:border-m-muted border-m-muted' : 'cursor-text',
hasError.value
@@ -196,7 +196,7 @@ const iconInputPaddingClass = computed(() => {
const disabled = computed(() => props.disabled)
const labelPositionClass = computed(() => {
if (props.iconName && props.iconPosition === 'left') return 'left-8'
if (props.iconName && props.iconPosition === 'left') return 'left-11'
return 'left-3'
})