diff --git a/.playground/pages/composant/modal/modal.vue b/.playground/pages/composant/modal/modal.vue new file mode 100644 index 0000000..3d9b944 --- /dev/null +++ b/.playground/pages/composant/modal/modal.vue @@ -0,0 +1,71 @@ + + + + + + Modal simple + + + + Détails + + Contenu de la modal. Échap, clic backdrop et croix la ferment. + + + + + Avec footer d'actions + + + + Nouveau contact + + + + + + + + + + + + + + + Contenu long (body scrollable) + + + + Conditions + + + + Paragraphe {{ n }} — contenu long pour forcer le scroll interne ; le header et le footer restent fixes. + + + + + + + + + + Non dismissable (croix uniquement) + + + + Action requise + + Ni le backdrop ni Échap ne ferment cette modal. Utilisez la croix. + + + + diff --git a/.playground/playground.nav.ts b/.playground/playground.nav.ts index 4c2c976..8d9e458 100644 --- a/.playground/playground.nav.ts +++ b/.playground/playground.nav.ts @@ -52,6 +52,7 @@ export const navSections: SidebarSection[] = [ items: [ {label: 'Sidebar', to: '/composant/sidebar/sidebar'}, {label: 'Drawer', to: '/composant/drawer/drawer'}, + {label: 'Modal', to: '/composant/modal/modal'}, {label: 'Onglets', to: '/composant/tab/tabList'}, ], },
Contenu de la modal. Échap, clic backdrop et croix la ferment.
+ Paragraphe {{ n }} — contenu long pour forcer le scroll interne ; le header et le footer restent fixes. +
Ni le backdrop ni Échap ne ferment cette modal. Utilisez la croix.