@veritree/ui 0.16.0 → 0.16.3
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/index.js
CHANGED
|
@@ -36,10 +36,6 @@ import VTInputUpload from "./src/components/Input/VTInputUpload.vue";
|
|
|
36
36
|
import VTProgressBar from "./src/components/ProgressBar/VTProgressBar.vue";
|
|
37
37
|
import VTTextarea from "./src/components/Textarea/VTTextarea.vue";
|
|
38
38
|
import VTModal from "./src/components/Modal/VTModal.vue";
|
|
39
|
-
import VTAccordion from "./src/components/Accordion/VTAccordion.vue";
|
|
40
|
-
import VTAccordionButton from "./src/components/Accordion/VTAccordionButton.vue";
|
|
41
|
-
import VTAccordionGroup from "./src/components/Accordion/VTAccordionGroup.vue";
|
|
42
|
-
import VTAccordionPanel from "./src/components/Accordion/VTAccordionPanel.vue";
|
|
43
39
|
import VTTab from "./src/components/Tabs/VTTab.vue";
|
|
44
40
|
import VTTabGroup from "./src/components/Tabs/VTTabGroup.vue";
|
|
45
41
|
import VTTabList from "./src/components/Tabs/VTTabList.vue";
|
|
@@ -106,10 +102,6 @@ export {
|
|
|
106
102
|
VTProgressBar,
|
|
107
103
|
VTTextarea,
|
|
108
104
|
VTModal,
|
|
109
|
-
VTAccordion,
|
|
110
|
-
VTAccordionButton,
|
|
111
|
-
VTAccordionGroup,
|
|
112
|
-
VTAccordionPanel,
|
|
113
105
|
VTTab,
|
|
114
106
|
VTTabGroup,
|
|
115
107
|
VTTabList,
|
package/package.json
CHANGED
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
|
|
29
29
|
<script>
|
|
30
30
|
export default {
|
|
31
|
-
name:
|
|
31
|
+
name: 'VTDrawerContent',
|
|
32
32
|
|
|
33
|
-
inject: [
|
|
33
|
+
inject: ['api'],
|
|
34
34
|
|
|
35
35
|
data() {
|
|
36
36
|
return {
|
|
@@ -52,23 +52,27 @@ export default {
|
|
|
52
52
|
},
|
|
53
53
|
|
|
54
54
|
activeClass() {
|
|
55
|
-
return
|
|
55
|
+
return 'transform transition duration-300 ease-in-out';
|
|
56
56
|
},
|
|
57
57
|
|
|
58
58
|
enterClass() {
|
|
59
|
-
return `opacity-0 ${
|
|
59
|
+
return `opacity-0 ${
|
|
60
|
+
this.right ? 'translate-x-full' : '-translate-x-full'
|
|
61
|
+
}`;
|
|
60
62
|
},
|
|
61
63
|
|
|
62
64
|
enterToClass() {
|
|
63
|
-
return `opacity-100 ${this.right ?
|
|
65
|
+
return `opacity-100 ${this.right ? '-translate-x-0' : 'translate-x-0'}`;
|
|
64
66
|
},
|
|
65
67
|
|
|
66
68
|
leaveClass() {
|
|
67
|
-
return `opacity-100 ${this.right ?
|
|
69
|
+
return `opacity-100 ${this.right ? '-translate-x-0' : 'translate-x-0'}`;
|
|
68
70
|
},
|
|
69
71
|
|
|
70
72
|
leaveToClass() {
|
|
71
|
-
return `opacity-0 ${
|
|
73
|
+
return `opacity-0 ${
|
|
74
|
+
this.right ? 'translate-x-full' : '-translate-x-full'
|
|
75
|
+
}`;
|
|
72
76
|
},
|
|
73
77
|
},
|
|
74
78
|
|