adminforth 2.4.0-next.90 → 2.4.0-next.91

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.
@@ -4,7 +4,7 @@
4
4
  </div>
5
5
  <div
6
6
  role="tooltip"
7
- class="absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-lightTooltipText dark:darkTooltipText transition-opacity duration-300 bg-lightTooltipBackground rounded-lg shadow-sm opacity-0 tooltip dark:bg-darkTooltipBackground"
7
+ class="absolute z-20 invisible inline-block px-3 py-2 text-sm font-medium text-lightTooltipText dark:darkTooltipText transition-opacity duration-300 bg-lightTooltipBackground rounded-lg shadow-sm opacity-0 tooltip dark:bg-darkTooltipBackground"
8
8
  ref="tooltip"
9
9
  >
10
10
  <slot name="tooltip"></slot>
@@ -23,13 +23,12 @@
23
23
  data-tooltip-target="tooltip-remove-all"
24
24
  class="flex gap-1 items-center py-1 px-3 me-2 text-sm font-medium text-lightListViewButtonText focus:outline-none bg-lightListViewButtonBackground rounded border border-lightListViewButtonBorder hover:bg-lightListViewButtonBackgroundHover hover:text-lightListViewButtonTextHover focus:z-10 focus:ring-4 focus:ring-lightListViewButtonFocusRing dark:focus:ring-darkListViewButtonFocusRing dark:bg-darkListViewButtonBackground dark:text-darkListViewButtonText dark:border-darkListViewButtonBorder dark:hover:text-darkListViewButtonTextHover dark:hover:bg-darkListViewButtonBackgroundHover rounded-default"
25
25
  >
26
- <IconBanOutline class="w-5 h-5 "/>
27
-
28
- <div id="tooltip-remove-all" role="tooltip"
29
- class="absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-sm opacity-0 tooltip dark:bg-gray-700">
30
- {{ $t('Remove selection') }}
31
- <div class="tooltip-arrow" data-popper-arrow></div>
32
- </div>
26
+ <Tooltip>
27
+ <IconBanOutline class="w-5 h-5 "/>
28
+ <template #tooltip >
29
+ Remove selection
30
+ </template>
31
+ </Tooltip>
33
32
  </button>
34
33
 
35
34
  <button
@@ -161,7 +160,7 @@ import { useRoute } from 'vue-router';
161
160
  import { showErrorTost } from '@/composables/useFrontendApi'
162
161
  import { getCustomComponent, initThreeDotsDropdown } from '@/utils';
163
162
  import ThreeDotsMenu from '@/components/ThreeDotsMenu.vue';
164
-
163
+ import { Tooltip } from '@/afcl'
165
164
 
166
165
  import {
167
166
  IconBanOutline,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.90",
3
+ "version": "2.4.0-next.91",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",