File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 :closeConfirmationText =" closeConfirmationText"
1111 :removeFromDomOnClose =" removeFromDomOnClose"
1212 >
13- <template #trigger >
14- <div
15- v-if =" $slots.trigger"
16- class =" inline-flex items-center cursor-pointer w-full"
17- >
18- <slot name =" trigger" ></slot >
19- </div >
13+ <template v-if =" $slots .trigger " #trigger >
14+ <slot name =" trigger" ></slot >
2015 </template >
2116
2217 <!-- Modal header -->
Original file line number Diff line number Diff line change 66 <slot name =" trigger" ></slot >
77 </div >
88 <Teleport to =" body" >
9- <div v-show =" isModalOpen" v-if =" !removeFromDom" @click =" backdropClick" v-bind = " $attrs " class =" bg-black/50 overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full h-full md:inset-0 h-1rem max-h-full flex" >
9+ <div v-show =" isModalOpen" v-if =" !removeFromDom" @click =" backdropClick" class =" bg-black/50 overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full h-full md:inset-0 h-1rem max-h-full flex" >
1010 <!-- Modal content -->
11- <div class =" relative bg-lightDialogBackgorund rounded-lg shadow-sm dark:bg-darkDialogBackgorund" >
11+ <div v-bind = " $attrs " class =" relative bg-lightDialogBackgorund rounded-lg shadow-sm dark:bg-darkDialogBackgorund" >
1212
1313 <!-- Modal body -->
14- <div class =" space-y-4 text-lightDialogBodyText dark:text-darkDialogBodyText" >
14+ <div class =" text-lightDialogBodyText dark:text-darkDialogBodyText" >
1515 <slot ></slot >
1616 </div >
1717
You can’t perform that action at this time.
0 commit comments