From b90baec5714dda630a60ab1d3eb0da3ce7d6914f Mon Sep 17 00:00:00 2001 From: tristan Date: Thu, 26 Mar 2026 08:54:49 +0100 Subject: [PATCH] fix : livraison + COMPONENTS.md --- .playground/pages/composant/select/select.vue | 16 ++++++++++++++++ COMPONENTS.md | 12 +++++++++++- package.json | 3 ++- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.playground/pages/composant/select/select.vue b/.playground/pages/composant/select/select.vue index 8b4cc0c..af406fb 100644 --- a/.playground/pages/composant/select/select.vue +++ b/.playground/pages/composant/select/select.vue @@ -82,6 +82,16 @@ /> +
+

Peu d'elements (2)

+ +
+

Liste longue

(null) const successValue = ref('be') const disabledValue = ref('ca') const emptyValue = ref(null) +const shortListValue = ref(null) const longListValue = ref(null) const bottomValue = ref(null) diff --git a/COMPONENTS.md b/COMPONENTS.md index 770d20a..fdd307a 100644 --- a/COMPONENTS.md +++ b/COMPONENTS.md @@ -163,8 +163,17 @@ Liste déroulante. | `options` | `{ value: string \| number, text: string }[]` | `[]` | Options disponibles | | `emptyOptionLabel` | `string` | `''` | Placeholder option vide | | `label` | `string` | `''` | Label | -| `disabled` | `boolean` | `false` | Désactivé | +| `hint` | `string` | `''` | Message d'aide | | `error` | `string` | `''` | Message d'erreur | +| `success` | `string` | `''` | Message de succès | +| `disabled` | `boolean` | `false` | Désactivé | +| `groupClass` | `string` | `''` | Classes CSS conteneur (twMerge) | +| `minWidth` | `string` | `'w-96'` | Classe largeur minimum | +| `maxWidth` | `string` | `''` | Classe largeur maximum | +| `rounded` | `string` | `'rounded-md'` | Classe border-radius | +| `textField` | `string` | `'text-lg'` | Classe taille texte bouton | +| `textValue` | `string` | `'text-lg'` | Classe taille texte valeur | +| `textLabel` | `string` | `'text-sm'` | Classe taille texte label | **Events :** `update:modelValue(value: string | number | null)` **Slots :** `icon` (icône dropdown custom) @@ -172,6 +181,7 @@ Liste déroulante. ```vue + ``` --- diff --git a/package.json b/package.json index 0fa4b2d..19c80d4 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "files": [ "app/**", "nuxt.config.ts", - "README.md" + "README.md", + "COMPONENTS.md" ], "scripts": { "dev": "nuxi dev .playground",