@fy-/fws-vue 0.7.6 → 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,7 +79,7 @@ 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-neutral-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
85
  'text-fv-neutral-800 border border-fv-neutral-300 rounded-lg dark:text-fv-neutral-400 dark:border-fv-neutral-600':
@@ -103,17 +103,23 @@ onUnmounted(() => {
103
103
  class="flex-shrink-0 w-6 h-6"
104
104
  v-else
105
105
  />
106
- <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
+ />
107
113
  </div>
108
114
  <div
109
115
  class="mt-2 mb-4 text-sm"
110
116
  v-text="currentNotif.content"
111
117
  v-if="currentNotif.content"
112
118
  />
113
- <div class="flex">
119
+ <div class="flex justify-end gap-2">
114
120
  <button
115
121
  type="button"
116
- class="btn primary small"
122
+ class="btn neutral small"
117
123
  @click="hideNotif"
118
124
  aria-label="Close"
119
125
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {