@fy-/fws-vue 0.7.5 → 0.7.7

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,10 +79,10 @@ onUnmounted(() => {
79
79
  <ScaleTransition>
80
80
  <div
81
81
  id="base-notif"
82
- class="p-4 mb-4 absolute bottom-4 right-4 z-[16] bg-fv-neutral-50 dark:bg-gray-800"
82
+ class="p-4 mb-4 absolute bottom-4 right-4 z-[16] bg-fv-neutral-50/[.6] dark:bg-neutral-800/[.6]"
83
83
  role="alert"
84
84
  :class="{
85
- 'text-fv-neutral-800 border border-fv-neutral-300 rounded-lg dark:text-fv-neutral-400 dark:border-fv-neutral-800':
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
87
  'text-red-800 border border-red-300 rounded-lg dark:text-red-300 dark:border-red-800':
88
88
  currentNotif.type === 'warning',
@@ -91,30 +91,35 @@ onUnmounted(() => {
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-4 h-4 me-2"
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-4 h-4 me-2"
103
+ class="flex-shrink-0 w-6 h-6"
104
104
  v-else
105
105
  />
106
- <span class="sr-only">Info</span>
107
- <h3 class="text-lg font-medium" v-text="currentNotif.title" />
106
+ <h3
107
+ class="text-lg font-medium"
108
+ v-text="currentNotif.title"
109
+ :class="{
110
+ 'mb-4': !currentNotif.content,
111
+ }"
112
+ />
108
113
  </div>
109
114
  <div
110
115
  class="mt-2 mb-4 text-sm"
111
116
  v-text="currentNotif.content"
112
117
  v-if="currentNotif.content"
113
118
  />
114
- <div class="flex">
119
+ <div class="flex justify-end gap-2">
115
120
  <button
116
121
  type="button"
117
- class="btn primary small"
122
+ class="btn neutral small"
118
123
  @click="hideNotif"
119
124
  aria-label="Close"
120
125
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {