@everchron/ec-shards 0.6.90 → 0.6.91
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/dist/ec-shards.common.js +647 -324
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +647 -324
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +2 -2
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/assets/.DS_Store +0 -0
- package/src/assets/icons/.DS_Store +0 -0
- package/src/assets/images/.DS_Store +0 -0
- package/src/assets/images/spinner/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/layout-index/layout-index.vue +0 -4
- package/src/components/modal/modal.vue +16 -2
- package/src/components/modal-base/modal-base.vue +1 -1
- package/src/stories/.DS_Store +0 -0
- package/src/stories/modal/modal.stories.js +1 -1
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<transition name="dialog-fade">
|
|
3
|
-
<div v-if="isShown" class="ecs-modal" :class="typeClass">
|
|
3
|
+
<div v-if="isShown" class="ecs-modal" :class="[typeClass, clickthroughBackdrop ? 'ecs-modal-click-through' : '']">
|
|
4
4
|
|
|
5
5
|
<div class="ecs-modal-dialog ecs-modal-sheet">
|
|
6
6
|
<div v-if="$slots.header" class="ecs-modal-header-wrap">
|
|
@@ -34,7 +34,11 @@
|
|
|
34
34
|
type: String,
|
|
35
35
|
validator: v => ['default', 'drawer',].includes(v),
|
|
36
36
|
default: 'default'
|
|
37
|
-
}
|
|
37
|
+
},
|
|
38
|
+
clickthroughBackdrop: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: false
|
|
41
|
+
},
|
|
38
42
|
},
|
|
39
43
|
|
|
40
44
|
data () {
|
|
@@ -94,6 +98,8 @@
|
|
|
94
98
|
}
|
|
95
99
|
}
|
|
96
100
|
|
|
101
|
+
// Drawer modal variant
|
|
102
|
+
|
|
97
103
|
.ecs-modal-drawer{
|
|
98
104
|
.ecs-modal-sheet{
|
|
99
105
|
margin: 5px auto;
|
|
@@ -121,5 +127,13 @@
|
|
|
121
127
|
&-footer-wrap{
|
|
122
128
|
flex-shrink: 0;
|
|
123
129
|
}
|
|
130
|
+
|
|
131
|
+
&.ecs-modal-click-through{
|
|
132
|
+
pointer-events: none;
|
|
133
|
+
|
|
134
|
+
.ecs-modal-dialog{
|
|
135
|
+
pointer-events: auto;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
124
138
|
}
|
|
125
139
|
</style>
|
|
Binary file
|
|
@@ -33,7 +33,7 @@ export const drawer = () => ({
|
|
|
33
33
|
},
|
|
34
34
|
template: `<div>
|
|
35
35
|
<button @click="showdialog = !showdialog">Open</button>
|
|
36
|
-
<ecs-modal type="drawer" :show="showdialog">
|
|
36
|
+
<ecs-modal type="drawer" :show="showdialog" clickthrough-backdrop>
|
|
37
37
|
<p>Modal Content Slot</p>
|
|
38
38
|
</ecs-modal>
|
|
39
39
|
</div>`,
|