feat : reorganisation de la structure projet
This commit is contained in:
@@ -204,7 +204,7 @@
|
||||
<script setup lang="ts">
|
||||
import {computed, onBeforeUnmount, onMounted, ref, useId, nextTick} from 'vue'
|
||||
import {Icon as IconifyIcon} from '@iconify/vue'
|
||||
import Checkbox from './Checkbox.vue'
|
||||
import Checkbox from '../checkbox/Checkbox.vue'
|
||||
|
||||
defineOptions({name: 'MalioSelectCheckbox', inheritAttrs: false})
|
||||
|
||||
@@ -238,5 +238,5 @@ rapides et compactes (retour, modifier, supprimer, etc.).
|
||||
</docs>
|
||||
|
||||
<script setup lang="ts">
|
||||
import MalioButtonIcon from '../components/malio/ButtonIcon.vue'
|
||||
import MalioButtonIcon from '../../components/malio/button/ButtonIcon.vue'
|
||||
</script>
|
||||
@@ -166,7 +166,7 @@ Composant checkbox custom avec `v-model`, message d'aide, et états visuels
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioCheckbox from '../components/malio/Checkbox.vue'
|
||||
import MalioCheckbox from '../../components/malio/checkbox/Checkbox.vue'
|
||||
|
||||
const simpleValue = ref(false)
|
||||
const checkedValue = ref(true)
|
||||
@@ -248,7 +248,7 @@ Composant input dédié à la saisie d’un montant décimal avec label flottant
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioInputAmount from '../components/malio/InputAmount.vue'
|
||||
import MalioInputAmount from '../../components/malio/input/InputAmount.vue'
|
||||
|
||||
const simpleValue = ref('')
|
||||
const hintValue = ref('')
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioInputNumber from '../components/malio/InputNumber.vue'
|
||||
import MalioInputNumber from '../../components/malio/input/InputNumber.vue'
|
||||
|
||||
const simpleValue = ref('')
|
||||
const initialValue = ref('3')
|
||||
@@ -240,7 +240,7 @@ automatiquement.
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioInputPassword from '../components/malio/InputPassword.vue'
|
||||
import MalioInputPassword from '../../components/malio/input/InputPassword.vue'
|
||||
|
||||
const simpleValue = ref('')
|
||||
const noIconValue = ref('')
|
||||
@@ -266,7 +266,7 @@ largeur.
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioInputText from '../components/malio/InputText.vue'
|
||||
import MalioInputText from '../../components/malio/input/InputText.vue'
|
||||
|
||||
const simpleValue = ref('')
|
||||
const hintValue = ref('')
|
||||
@@ -250,7 +250,7 @@ redimensionnement.
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioInputTextArea from '../components/malio/InputTextArea.vue'
|
||||
import MalioInputTextArea from '../../components/malio/input/InputTextArea.vue'
|
||||
|
||||
const simpleValue = ref('')
|
||||
const hintValue = ref('')
|
||||
@@ -223,7 +223,7 @@ et accessibilité.
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioInputUpload from '../components/malio/InputUpload.vue'
|
||||
import MalioInputUpload from '../../components/malio/input/InputUpload.vue'
|
||||
|
||||
const simpleValue = ref('')
|
||||
const noIconValue = ref('')
|
||||
@@ -169,7 +169,7 @@ et les états visuels de validation.
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioRadioButton from '../components/malio/RadioButton.vue'
|
||||
import MalioRadioButton from '../../components/malio/radio/RadioButton.vue'
|
||||
|
||||
const options = [
|
||||
{label: 'Option 1', value: 'option1'},
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<Story title="Select">
|
||||
<Story title="Select/Select">
|
||||
<div class="grid grid-cols-1 gap-6 md:grid-cols-2">
|
||||
<div class="rounded-lg border p-4">
|
||||
<h2 class="mb-4 text-xl font-bold">Simple</h2>
|
||||
@@ -178,7 +178,7 @@ largeur.
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioSelect from '../components/malio/Select.vue'
|
||||
import MalioSelect from '../../components/malio/select/Select.vue'
|
||||
|
||||
const simpleValue = ref<string | number | null>(null)
|
||||
const preselectedValue = ref<string | number | null>('fr')
|
||||
@@ -192,7 +192,7 @@ Composant select avec checkboxes multiples, label flottant, tags optionnels,
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioSelectCheckbox from '../components/malio/SelectCheckbox.vue'
|
||||
import MalioSelectCheckbox from '../../components/malio/select/SelectCheckbox.vue'
|
||||
|
||||
const options = [
|
||||
{label: 'France', value: 'fr'},
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue'
|
||||
import MalioTime from '../components/malio/Time.vue'
|
||||
import MalioTime from '../../components/malio/time/Time.vue'
|
||||
|
||||
const simpleValue = ref('')
|
||||
const labeledValue = ref('')
|
||||
Reference in New Issue
Block a user