@magicgol/polyjuice 0.28.0 → 0.28.1
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -40,8 +40,11 @@ export default {
|
|
40
40
|
default: false,
|
41
41
|
},
|
42
42
|
opacity: {
|
43
|
-
type:
|
44
|
-
default:
|
43
|
+
type: String,
|
44
|
+
default: 'high',
|
45
|
+
validator: function (value) {
|
46
|
+
return ['high', 'low'].indexOf(value) !== -1;
|
47
|
+
},
|
45
48
|
},
|
46
49
|
},
|
47
50
|
|
@@ -50,7 +53,8 @@ export default {
|
|
50
53
|
return {
|
51
54
|
'mg-footballer-box': true,
|
52
55
|
'mg-footballer-box--background': this.background === true,
|
53
|
-
'mg-footballer-box--opacity': this.opacity ===
|
56
|
+
'mg-footballer-box--opacity-high': this.opacity === 'high',
|
57
|
+
'mg-footballer-box--opacity-low': this.opacity === 'low',
|
54
58
|
'mg-footballer-box--goalkeeper': this.role === 'P',
|
55
59
|
'mg-footballer-box--defender': this.role === 'D',
|
56
60
|
'mg-footballer-box--midfielder': this.role === 'C',
|