From 869d4fbc789a5fb3456158b30a497ae2ec3ee82a Mon Sep 17 00:00:00 2001 From: Ayoub Chaaoui Date: Tue, 19 Nov 2024 22:24:21 +0100 Subject: [PATCH 1/7] feat(vue3/modal): added new slot for custom footers --- packages/vue3/src/_dev/App.vue | 37 +++++++++++++++++--- packages/vue3/src/components/Modal/Modal.vue | 35 ++++++++++++------ 2 files changed, 57 insertions(+), 15 deletions(-) diff --git a/packages/vue3/src/_dev/App.vue b/packages/vue3/src/_dev/App.vue index 127dae2d..55a77fab 100644 --- a/packages/vue3/src/_dev/App.vue +++ b/packages/vue3/src/_dev/App.vue @@ -1,15 +1,40 @@ @@ -23,4 +48,8 @@ const date = ref(); height: 100vh; gap: 40px; } +.footer { + display: flex; + justify-content: end; +} diff --git a/packages/vue3/src/components/Modal/Modal.vue b/packages/vue3/src/components/Modal/Modal.vue index d2c8bded..8740341f 100644 --- a/packages/vue3/src/components/Modal/Modal.vue +++ b/packages/vue3/src/components/Modal/Modal.vue @@ -1,8 +1,9 @@