@fy-/fws-vue 0.7.4 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -79,31 +79,30 @@ onUnmounted(() => {
|
|
|
79
79
|
<ScaleTransition>
|
|
80
80
|
<div
|
|
81
81
|
id="base-notif"
|
|
82
|
-
class="p-4 mb-4 absolute bottom-4
|
|
82
|
+
class="p-4 mb-4 absolute bottom-4 right-4 z-[16] bg-fv-neutral-50 dark:bg-neutral-800"
|
|
83
83
|
role="alert"
|
|
84
84
|
:class="{
|
|
85
|
-
'text-fv-neutral-800 border border-fv-neutral-300 rounded-lg
|
|
85
|
+
'text-fv-neutral-800 border border-fv-neutral-300 rounded-lg dark:text-fv-neutral-400 dark:border-fv-neutral-600':
|
|
86
86
|
currentNotif.type === 'info',
|
|
87
|
-
'text-red-800 border border-red-300 rounded-lg
|
|
87
|
+
'text-red-800 border border-red-300 rounded-lg dark:text-red-300 dark:border-red-800':
|
|
88
88
|
currentNotif.type === 'warning',
|
|
89
|
-
'text-green-800 border border-green-300 rounded-lg
|
|
89
|
+
'text-green-800 border border-green-300 rounded-lg dark:text-green-300 dark:border-green-800':
|
|
90
90
|
currentNotif.type === 'success',
|
|
91
91
|
}"
|
|
92
92
|
v-if="currentNotif !== null"
|
|
93
93
|
>
|
|
94
|
-
<div class="flex items-center">
|
|
94
|
+
<div class="flex items-center gap-2">
|
|
95
95
|
<img
|
|
96
|
-
class="flex-shrink-0 w-
|
|
96
|
+
class="flex-shrink-0 w-6 h-6"
|
|
97
97
|
:src="currentNotif.imgSrc"
|
|
98
98
|
:alt="currentNotif.title"
|
|
99
99
|
v-if="currentNotif.imgSrc"
|
|
100
100
|
/>
|
|
101
101
|
<component
|
|
102
102
|
:is="currentNotif.imgIcon"
|
|
103
|
-
class="flex-shrink-0 w-
|
|
103
|
+
class="flex-shrink-0 w-6 h-6"
|
|
104
104
|
v-else
|
|
105
105
|
/>
|
|
106
|
-
<span class="sr-only">Info</span>
|
|
107
106
|
<h3 class="text-lg font-medium" v-text="currentNotif.title" />
|
|
108
107
|
</div>
|
|
109
108
|
<div
|