feat: image variants per image
This commit is contained in:
1 parent
f567866161
commit
951fef18ba
92 files changed
+8695
-413
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<script setup lang="ts">
|
||||
import { removalNote } from '@/lib/mediaFormat'
|
||||
|
||||
defineProps<{ count: number; bytes: number }>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UAlert
|
||||
v-if="count > 0"
|
||||
data-testid="variant-removal-note"
|
||||
color="warning"
|
||||
variant="soft"
|
||||
icon="i-lucide-layers"
|
||||
:title="removalNote(count, bytes)"
|
||||
:ui="{
|
||||
root: 'items-center px-3 py-2.5',
|
||||
title: 'font-medium text-highlighted',
|
||||
}"
|
||||
/>
|
||||
</template>
|
||||
Reference in new issue
Block a user