chore: 更新依赖

This commit is contained in:
Hooray
2025-05-15 10:50:47 +08:00
parent 3b889f611f
commit 2cadef4ad1
5 changed files with 1227 additions and 884 deletions
@@ -91,7 +91,7 @@ const id = inject('ModalId')
>
<slot />
<div class="absolute inset-e-4 top-4 flex-center gap-2">
<button v-if="props.maximizable" class="rounded-sm bg-transparent opacity-70 ring-offset-background transition-opacity hidden disabled:pointer-events-none sm:inline-block data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-ring" @click="handleMaximize">
<button v-if="props.maximizable" class="hidden rounded-sm bg-transparent opacity-70 ring-offset-background transition-opacity disabled:pointer-events-none sm:inline-block data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-ring" @click="handleMaximize">
<Maximize v-if="!props.maximize" class="h-4 w-4" />
<Minimize v-else class="h-4 w-4" />
</button>
+1 -1
View File
@@ -53,7 +53,7 @@ function handleCollaspe() {
}"
>
<slot />
<FaButton v-if="collaspe" variant="link" size="icon" class="absolute inset-b-0 inset-s-1/2 opacity-0 transition-all -translate-x-1/2 group-hover/pagemain-opacity-100" :class="{ 'rotate-x-180': !isCollaspe }" @click="handleCollaspe">
<FaButton v-if="collaspe" variant="link" size="icon" class="group-hover/pagemain-opacity-100 absolute inset-b-0 inset-s-1/2 opacity-0 transition-all -translate-x-1/2" :class="{ 'rotate-x-180': !isCollaspe }" @click="handleCollaspe">
<FaIcon name="i-ep:arrow-down" class="text-xl" />
</FaButton>
</div>
+1 -1
View File
@@ -7,7 +7,7 @@ const props = defineProps<ToasterProps>()
<template>
<Sonner
class="toaster group"
class="group toaster"
v-bind="props"
:toast-options="{
classes: {