@veritree/ui 0.19.2-22 → 0.19.2-23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veritree/ui",
3
- "version": "0.19.2-22",
3
+ "version": "0.19.2-23",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -99,12 +99,6 @@ export default {
99
99
  },
100
100
  },
101
101
 
102
- watch: {
103
- visible(isVisible) {
104
- if (!isVisible) this.hide();
105
- },
106
- },
107
-
108
102
  mounted() {
109
103
  if (this.hasContent) this.content.show();
110
104
  if (this.hasOverlay) this.overlay.show();
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <transition
3
3
  enter-active-class="duration-300 ease-out"
4
- enter-class="translate-y-[50px] opacity-0"
4
+ enter-from-class="translate-y-[50px] opacity-0"
5
5
  enter-to-class="translate-y-0 opacity-100"
6
6
  leave-active-class="duration-300 ease-out"
7
- leave-class="translate-y-0 opacity-100"
7
+ leave-from-class="translate-y-0 opacity-100"
8
8
  leave-to-class="translate-y-[50px] opacity-0"
9
9
  @after-leave="hideDialog"
10
10
  >