@everchron/ec-shards 0.7.5 → 0.7.8
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 +166 -158
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +166 -158
- 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/components/modal/modal.vue +7 -2
- package/src/components/modal-header/modal-header.vue +1 -1
- package/src/components/quicklink/quicklink.vue +4 -1
- package/src/components/sidebar-content/sidebar-content.vue +14 -1
- package/src/components/sidebar-footer/sidebar-footer.vue +1 -0
- package/src/components/switch/switch.vue +2 -0
package/package.json
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
</script>
|
|
72
72
|
|
|
73
|
-
<style lang="scss"
|
|
73
|
+
<style lang="scss">
|
|
74
74
|
@import "../tokens/tokens";
|
|
75
75
|
@import "../mixins/svg-uri";
|
|
76
76
|
|
|
@@ -115,17 +115,22 @@
|
|
|
115
115
|
|
|
116
116
|
&-header-wrap{
|
|
117
117
|
flex-shrink: 0;
|
|
118
|
-
z-index:
|
|
118
|
+
z-index: 2;
|
|
119
|
+
position: relative;
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
&-content-wrap{
|
|
122
123
|
flex: 1;
|
|
123
124
|
min-height: 0;
|
|
124
125
|
overflow: auto;
|
|
126
|
+
position: relative;
|
|
127
|
+
z-index: 1;
|
|
125
128
|
}
|
|
126
129
|
|
|
127
130
|
&-footer-wrap{
|
|
128
131
|
flex-shrink: 0;
|
|
132
|
+
z-index: 2;
|
|
133
|
+
position: relative;
|
|
129
134
|
}
|
|
130
135
|
|
|
131
136
|
&.ecs-modal-click-through{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ecs-sidebar-content scrollbar" :class="[indent ? `ecs-sidebar-content-indent` : '']">
|
|
3
3
|
<slot></slot>
|
|
4
|
+
<div v-if="blockContent" class="ecs-sidebar-content-blocked" />
|
|
4
5
|
</div>
|
|
5
6
|
</template>
|
|
6
7
|
|
|
@@ -10,6 +11,10 @@ export default {
|
|
|
10
11
|
indent: {
|
|
11
12
|
type: Boolean,
|
|
12
13
|
default: false
|
|
14
|
+
},
|
|
15
|
+
blockContent: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: false
|
|
13
18
|
}
|
|
14
19
|
}
|
|
15
20
|
}
|
|
@@ -22,13 +27,21 @@ export default {
|
|
|
22
27
|
.ecs-sidebar-content{
|
|
23
28
|
flex: 1;
|
|
24
29
|
overflow: auto;
|
|
30
|
+
position: relative;
|
|
25
31
|
|
|
26
32
|
&-indent{
|
|
27
33
|
padding: 20px;
|
|
28
34
|
}
|
|
29
35
|
|
|
36
|
+
&-blocked{
|
|
37
|
+
position: absolute;
|
|
38
|
+
inset: 0;
|
|
39
|
+
background: rgba(#FFF, .5);
|
|
40
|
+
z-index: 9;
|
|
41
|
+
}
|
|
42
|
+
|
|
30
43
|
.ecs-tab-content{
|
|
31
44
|
height: 100%;
|
|
32
45
|
}
|
|
33
46
|
}
|
|
34
|
-
</style>
|
|
47
|
+
</style>
|