[#MUI-10] Création d'un composant bouton (#19)

| Numéro du ticket | Titre du ticket |
|------------------|-----------------|
|                  |                 |

## Description de la PR

## Modification du .env

## Check list

- [ ] Pas de régression
- [ ] TU/TI/TF rédigée
- [ ] TU/TI/TF OK
- [ ] CHANGELOG modifié

Reviewed-on: #19
Co-authored-by: tristan <tristan@yuno.malio.fr>
Co-committed-by: tristan <tristan@yuno.malio.fr>
This commit was merged in pull request #19.
This commit is contained in:
2026-03-24 10:12:28 +00:00
committed by Autin
parent 968b7087b5
commit e76337502a
16 changed files with 631 additions and 50 deletions

View File

@@ -12,9 +12,9 @@
hasError
? isOpen
? openDirection === 'down'
? 'rounded-b-none !border-2 !border-m-error !border-b-0'
: 'rounded-t-none !border-2 !border-m-error !border-t-0'
: 'border-m-error'
? 'rounded-b-none !border-2 !border-m-danger !border-b-0'
: 'rounded-t-none !border-2 !border-m-danger !border-t-0'
: 'border-m-danger'
: hasSuccess
? isOpen
? openDirection === 'down'
@@ -46,7 +46,7 @@
:class="[
shouldFloatLabel ? 'top-2 z-30' : 'top-1/2 -translate-y-1/2',
hasError
? 'text-m-error'
? 'text-m-danger'
: hasSuccess
? 'text-m-success'
: isOpen
@@ -103,7 +103,7 @@
class="absolute right-3 top-1/2 -translate-y-1/2"
:class="[
hasError
? 'text-m-error'
? 'text-m-danger'
: hasSuccess
? 'text-m-success'
: 'text-current'
@@ -137,7 +137,7 @@
? 'select-scrollbar-success'
: 'select-scrollbar-primary',
hasError
? 'border-m-error'
? 'border-m-danger'
: hasSuccess
? 'border-m-success'
: 'border-m-primary'
@@ -190,7 +190,7 @@
:id="`${buttonId}-describedby`"
:class="[
hasError
? 'text-m-error'
? 'text-m-danger'
: hasSuccess
? 'text-m-success'
: 'text-m-muted',