@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "0.7.5",
3
+ "version": "0.7.8",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -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: 1;
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{
@@ -89,7 +89,7 @@
89
89
  }
90
90
  </style>
91
91
 
92
- <style lang="scss" scoped>
92
+ <style lang="scss">
93
93
  @import "../tokens/tokens";
94
94
 
95
95
  .ecs-modal-header{
@@ -86,7 +86,10 @@
86
86
  required: false,
87
87
  type: [Date, Number, String, Boolean]
88
88
  },
89
- disabled: Boolean
89
+ disabled: {
90
+ type: Boolean,
91
+ default: false
92
+ }
90
93
  },
91
94
 
92
95
  computed: {
@@ -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>
@@ -47,6 +47,7 @@ export default {
47
47
  &-extension{
48
48
  padding: 0 20px;
49
49
  border-bottom: 1px solid $gray-3;
50
+ position: relative;
50
51
 
51
52
  &.condensed{
52
53
  padding: 0 15px;
@@ -152,6 +152,8 @@
152
152
  + label{
153
153
  margin: 5px 0;
154
154
  line-height: 24px;
155
+ display: flex;
156
+ align-items: center;
155
157
  }
156
158
  }
157
159