@magicgol/polyjuice 0.33.2 → 0.33.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.33.2",
3
+ "version": "0.33.3",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -52,6 +52,10 @@ export default {
52
52
  type: Boolean,
53
53
  default: false
54
54
  },
55
+ unselectable: {
56
+ type: Boolean,
57
+ default: false
58
+ },
55
59
  role: {
56
60
  type: String,
57
61
  default: null,
@@ -67,6 +71,7 @@ export default {
67
71
  'mg-footballer-list-body': true,
68
72
  'mg-footballer-list-body--disabled': this.disabled === true,
69
73
  'mg-footballer-list-body--selected': this.selected === true,
74
+ 'mg-footballer-list-body--unselectable': this.unselectable === true,
70
75
  'mg-footballer-list-body--goalkeeper': this.role === 'P',
71
76
  'mg-footballer-list-body--defender': this.role === 'D',
72
77
  'mg-footballer-list-body--midfielder': this.role === 'C',
@@ -152,5 +157,13 @@ export default {
152
157
  }
153
158
  }
154
159
  }
160
+
161
+ &--unselectable {
162
+ > div {
163
+ border: 0 !important;
164
+ box-shadow: none !important;
165
+ background: none !important;
166
+ }
167
+ }
155
168
  }
156
169
  </style>
@@ -36,7 +36,7 @@ export default {
36
36
  <style lang="scss">
37
37
  .mg-selection-box {
38
38
  &-shadow {
39
- height: 5.625rem;
39
+ height: 7.5rem;
40
40
  }
41
41
 
42
42
  &-content {