feat(select) : tags SelectCheckbox radius 20px + couleur de texte par option (MUI-49)

- Radius des tags et du badge +N porté à 20px
- Champ textColor optionnel par option (couleur du texte du tag, ignorée en disabled)
- Tests, COMPONENTS.md et CHANGELOG.md mis à jour

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-28 13:33:29 +02:00
parent da3239ce44
commit 14ca23e2f2
5 changed files with 39 additions and 11 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ Liste déroulante multi-sélection avec checkboxes.
| Prop | Type | Défaut | Description |
|------|------|--------|-------------|
| `modelValue` | `(string \| number)[]` | `[]` | Valeurs sélectionnées (v-model) |
| `options` | `{ value: string \| number, label: string, color?: string }[]` | `[]` | Options. `color` optionnel = couleur de fond du tag (sinon `m-bg`). |
| `options` | `{ value: string \| number, label: string, color?: string, textColor?: string }[]` | `[]` | Options. `color` optionnel = couleur de fond du tag (sinon `m-bg`) ; `textColor` optionnel = couleur du texte du tag (ignorée en `disabled`). |
| `displayTag` | `boolean` | `false` | Afficher les tags sélectionnés |
| `maxTags` | `number` | `0` | Nombre max de tags affichés ; au-delà un tag `+N` résume le surplus. `0` = tous les tags. |
| `displaySelectAll` | `boolean` | `false` | Afficher "Tout sélectionner" |