@tak-ps/vue-tabler 3.74.0 → 3.75.0

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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.75.0
14
+
15
+ - :tada: Teleport `TablerModal` to body by default
16
+
13
17
  ### v3.74.0
14
18
 
15
19
  - :tada: Introduce TS Linting
@@ -1,27 +1,29 @@
1
1
  <template>
2
- <div
3
- ref='modal'
4
- class='modal modal-blur fade show'
5
- tabindex='-1'
6
- style='display: block;'
7
- aria-modal='true'
8
- role='dialog'
9
- >
2
+ <teleport to='body'>
10
3
  <div
11
- class='modal-dialog modal-dialog-centered'
12
- role='document'
13
- :class='{
14
- "modal-sm": size === "sm",
15
- "modal-md": size === "md",
16
- "modal-lg": size === "lg",
17
- "modal-xl": size === "xl",
18
- }'
4
+ ref='modal'
5
+ class='modal modal-blur fade show'
6
+ tabindex='-1'
7
+ style='display: block;'
8
+ aria-modal='true'
9
+ role='dialog'
19
10
  >
20
- <div class='modal-content'>
21
- <slot />
11
+ <div
12
+ class='modal-dialog modal-dialog-centered'
13
+ role='document'
14
+ :class='{
15
+ "modal-sm": size === "sm",
16
+ "modal-md": size === "md",
17
+ "modal-lg": size === "lg",
18
+ "modal-xl": size === "xl",
19
+ }'
20
+ >
21
+ <div class='modal-content'>
22
+ <slot />
23
+ </div>
22
24
  </div>
23
25
  </div>
24
- </div>
26
+ </teleport>
25
27
  </template>
26
28
 
27
29
  <script>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.74.0",
4
+ "version": "3.75.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",