+ Page de demo introuvable:
+ .playground/pages/composant/{{ selectedDemoFileName }}.vue
+
+ Playground composants +
++ Selectionne un composant dans la liste pour afficher sa page de demo. +
+{{ v }}
+
+ Page de demo introuvable:
+ .playground/pages/composant/{{ selectedDemoFileName }}.vue
+
+ Selectionne un composant dans la liste pour afficher sa page de demo. +
++ {{ hint || error || success }} +
+ + + + + diff --git a/app/components/malio/InputText.vue b/app/components/malio/InputText.vue new file mode 100644 index 0000000..d1dc77d --- /dev/null +++ b/app/components/malio/InputText.vue @@ -0,0 +1,235 @@ + ++ {{ hint || error || success }} +
+ + + + + diff --git a/app/components/malio/InputTextArea.test.ts b/app/components/malio/InputTextArea.test.ts new file mode 100644 index 0000000..5398e6c --- /dev/null +++ b/app/components/malio/InputTextArea.test.ts @@ -0,0 +1,152 @@ +import {describe, expect, it} from 'vitest' +import {mount} from '@vue/test-utils' +import type {DefineComponent} from 'vue' +import InputTextArea from './InputTextArea.vue' + +type InputTextAreaProps = { + id?: string + label?: string + name?: string + autocomplete?: string + modelValue?: string | null + size?: number | string + textInput?: string + textLabel?: string + required?: boolean + maxLength?: number + showCounter?: boolean + disabled?: boolean + readonly?: boolean + hint?: string + error?: string + success?: string + rounded?: string +} + +const InputTextAreaForTest = InputTextArea as DefineComponent+ {{ error || success || hint }} +
++ {{ error || success || hint }} +
++ {{ error || success || hint }} +
+ + + + + diff --git a/app/story/InputSelect.story.vue b/app/story/InputSelect.story.vue new file mode 100644 index 0000000..7939beb --- /dev/null +++ b/app/story/InputSelect.story.vue @@ -0,0 +1,148 @@ + +