adminforth 2.4.0-next.237 → 2.4.0-next.238

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.
@@ -34,10 +34,10 @@
34
34
  <div class="flex flex-col items-center justify-center">
35
35
  {{toast.message}}
36
36
  <div v-if="toast.buttons" class="flex justify-center mt-2 gap-2">
37
- <div v-for="button in toast.buttons">
38
- <Button @click="onButtonClick(button.value)" class="!px-2 py-0 text-md font-normal rounded-md">
37
+ <div v-for="button in toast.buttons" class="rounded-md bg-lightButtonsBackground hover:bg-lightButtonsHover text-lightButtonsText dark:bg-darkPrimary dark:hover:bg-darkButtonsBackground dark:text-darkButtonsText">
38
+ <button @click="onButtonClick(button.value)" class="px-2 py-1 rounded hover:bg-black/5 dark:hover:bg-white/10">
39
39
  {{ button.label }}
40
- </Button>
40
+ </button>
41
41
  </div>
42
42
  </div>
43
43
  </div>
@@ -55,7 +55,6 @@
55
55
  <script setup lang="ts">
56
56
  import { onMounted } from 'vue';
57
57
  import { useToastStore } from '@/stores/toast';
58
- import { Button } from '@/afcl';
59
58
  const toastStore = useToastStore();
60
59
  const emit = defineEmits(['close']);
61
60
  const props = defineProps<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.237",
3
+ "version": "2.4.0-next.238",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",