adminforth 2.4.0-next.110 → 2.4.0-next.111

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.
@@ -2,14 +2,16 @@
2
2
  <div ref="triggerEl" class="afcl-tooltip inline-flex items-center">
3
3
  <slot></slot>
4
4
  </div>
5
- <div
6
- role="tooltip"
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
- ref="tooltip"
9
- >
10
- <slot name="tooltip"></slot>
11
- <div class="tooltip-arrow" data-popper-arrow></div>
12
- </div>
5
+ <Teleport to="body">
6
+ <div
7
+ role="tooltip"
8
+ 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"
9
+ ref="tooltip"
10
+ >
11
+ <slot name="tooltip"></slot>
12
+ <div class="tooltip-arrow" data-popper-arrow></div>
13
+ </div>
14
+ </Teleport>
13
15
 
14
16
  </template>
15
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.110",
3
+ "version": "2.4.0-next.111",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",