@magicgol/polyjuice 0.52.1 → 0.52.2

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": "@magicgol/polyjuice",
3
- "version": "0.52.1",
3
+ "version": "0.52.2",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -42,6 +42,10 @@ export default {
42
42
  'transparent',
43
43
  ].indexOf(value) !== -1;
44
44
  },
45
+ },
46
+ highlighted: {
47
+ type: Boolean,
48
+ default: false
45
49
  }
46
50
  },
47
51
 
@@ -49,6 +53,7 @@ export default {
49
53
  classes() {
50
54
  return {
51
55
  'mg-v-card': true,
56
+ 'mg-v-card--highlighted': this.highlighted === true,
52
57
  'mg-v-card--theme-club': this.theme === 'club',
53
58
  'mg-v-card--theme-rating': this.theme === 'rating',
54
59
  'mg-v-card--theme-goalkeeper': this.theme === 'goalkeeper',
@@ -80,7 +85,11 @@ export default {
80
85
 
81
86
  .mg-v-card {
82
87
  background: white;
83
- box-shadow: 0 8px 22px 0 rgba(0, 0, 0, 0.3);
88
+ box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.3);
89
+
90
+ &--highlighted {
91
+ border: 2px solid map-get($palette, 'highlighted');
92
+ }
84
93
 
85
94
  &--theme {
86
95
  &-club {