@everchron/ec-shards 0.7.40 → 0.7.41

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.40",
3
+ "version": "0.7.41",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
package/src/.DS_Store ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -60,7 +60,6 @@
60
60
  mounted(){
61
61
  const that = this
62
62
  document.onkeyup = function(e) {
63
- console.log('keyup', that.isShown, e.which, e)
64
63
  if (that.isShown){
65
64
  if (e.key == "Escape"){
66
65
  that.$emit('cancel')
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="ecs-index-layout">
2
+ <div class="ecs-index-layout" :class="[backgroundWhite ? 'background-white' : '']">
3
3
 
4
4
  <slot name="toolbar"></slot>
5
5
  <slot name="action-toolbar"></slot>
@@ -31,6 +31,10 @@
31
31
  indent: {
32
32
  type: Boolean,
33
33
  default: false
34
+ },
35
+ backgroundWhite: {
36
+ type: Boolean,
37
+ default: false
34
38
  }
35
39
  }
36
40
  }
@@ -47,6 +51,10 @@
47
51
  height: calc(100vh - #{$header_height});
48
52
  background: $gray-1;
49
53
 
54
+ &.background-white{
55
+ background: #FFF;
56
+ }
57
+
50
58
  &-wrap{
51
59
  flex: 1;
52
60
  display: flex;
@@ -91,7 +99,7 @@
91
99
  &.overlay{
92
100
  position: absolute;
93
101
  z-index: 5;
94
- right: 0;
102
+ right: 10px;
95
103
  top: 0;
96
104
  bottom: 0;
97
105
  }
@@ -80,6 +80,7 @@ export default {
80
80
  &-closed{
81
81
  width: 38px;
82
82
  height: auto;
83
+ margin: 15px 5px;
83
84
 
84
85
  .ecs-ecs-tab-content{
85
86
  height: 0;
@@ -159,4 +160,4 @@ export default {
159
160
  display: none;
160
161
  }
161
162
  }
162
- </style>
163
+ </style>
Binary file