From c630625e833c5e1582ebd49aff4dfa03a57162a0 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 10 Jun 2024 18:57:18 +0200 Subject: [PATCH] chore: add `class` in `close` slot props --- src/runtime/components/Alert.vue | 2 +- src/runtime/components/Modal.vue | 2 +- src/runtime/components/Slideover.vue | 2 +- src/runtime/components/Toast.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/runtime/components/Alert.vue b/src/runtime/components/Alert.vue index a0ccdf36..0523742c 100644 --- a/src/runtime/components/Alert.vue +++ b/src/runtime/components/Alert.vue @@ -35,7 +35,7 @@ export interface AlertSlots { title(): any description(): any actions(): any - close(): any + close(props: { class: string }): any } diff --git a/src/runtime/components/Modal.vue b/src/runtime/components/Modal.vue index 9b679d2d..ba746eb2 100644 --- a/src/runtime/components/Modal.vue +++ b/src/runtime/components/Modal.vue @@ -32,7 +32,7 @@ export interface ModalSlots { header(): any title(): any description(): any - close(): any + close(props: { class: string }): any body(): any footer(): any } diff --git a/src/runtime/components/Slideover.vue b/src/runtime/components/Slideover.vue index 9f333c69..b8af23d5 100644 --- a/src/runtime/components/Slideover.vue +++ b/src/runtime/components/Slideover.vue @@ -34,7 +34,7 @@ export interface SlideoverSlots { header(): any title(): any description(): any - close(): any + close(props: { class: string }): any body(): any footer(): any } diff --git a/src/runtime/components/Toast.vue b/src/runtime/components/Toast.vue index b059853c..05e875e6 100644 --- a/src/runtime/components/Toast.vue +++ b/src/runtime/components/Toast.vue @@ -32,7 +32,7 @@ export interface ToastSlots { title(): any description(): any actions(): any - close(): any + close(props: { class: string }): any }