@webilio-xyz/webilio-vue 1.0.12 → 1.0.13
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
|
@@ -115,8 +115,14 @@ onUnmounted(() => {
|
|
|
115
115
|
/>
|
|
116
116
|
</div>
|
|
117
117
|
</div>
|
|
118
|
-
<div>
|
|
118
|
+
<div class="flex flex-col space-y-2">
|
|
119
|
+
<div>
|
|
119
120
|
<slot name="content" />
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
<div>
|
|
124
|
+
<slot name="footer" />
|
|
125
|
+
</div>
|
|
120
126
|
</div>
|
|
121
127
|
</template>
|
|
122
128
|
</div>
|
|
@@ -5,7 +5,7 @@ const show = ref(false);
|
|
|
5
5
|
export default {
|
|
6
6
|
component: ModalComponent,
|
|
7
7
|
description: "Generic modal component",
|
|
8
|
-
importStatement: "import { ModalComponent } from
|
|
8
|
+
importStatement: "import { ModalComponent } from '@webilio-xyz/webilio-vue/Modal';",
|
|
9
9
|
propsToDemo: {
|
|
10
10
|
'show': {
|
|
11
11
|
props: {
|
|
@@ -24,6 +24,11 @@ export default {
|
|
|
24
24
|
'modelValue':'content'
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
|
+
'footer': {
|
|
28
|
+
props: {
|
|
29
|
+
'modelValue':'footer'
|
|
30
|
+
}
|
|
31
|
+
},
|
|
27
32
|
},
|
|
28
33
|
events: {
|
|
29
34
|
close: () => {
|