mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 16:48:39 +08:00
chore: 更新依赖
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -7,7 +7,7 @@ const props = defineProps<ToasterProps>()
|
||||
|
||||
<template>
|
||||
<Sonner
|
||||
class="toaster group"
|
||||
class="group toaster"
|
||||
v-bind="props"
|
||||
:toast-options="{
|
||||
classes: {
|
||||
|
||||
Reference in New Issue
Block a user