@magicgol/polyjuice 0.37.3 → 0.37.5

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.37.3",
3
+ "version": "0.37.5",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -13,7 +13,7 @@ export default {
13
13
  },
14
14
  theme: {
15
15
  control: { type: 'select' },
16
- options: ['light', 'dark', 'goalkeeper', 'defender', 'midfielder', 'forward', 'success'],
16
+ options: ['light', 'dark', 'club', 'goalkeeper', 'defender', 'midfielder', 'forward', 'success'],
17
17
  defaultValue: 'light'
18
18
  },
19
19
  default: {
@@ -25,7 +25,7 @@ export default {
25
25
  type: String,
26
26
  default: 'light',
27
27
  validator: function (value) {
28
- return ['light', 'dark', 'goalkeeper', 'defender', 'midfielder', 'forward', 'success'].indexOf(value) !== -1;
28
+ return ['light', 'dark', 'club', 'goalkeeper', 'defender', 'midfielder', 'forward', 'success'].indexOf(value) !== -1;
29
29
  },
30
30
  },
31
31
  },
@@ -38,6 +38,7 @@ export default {
38
38
  'mg-label--size-normal': this.size === 'normal',
39
39
  'mg-label--theme-light': this.theme === 'light',
40
40
  'mg-label--theme-dark': this.theme === 'dark',
41
+ 'mg-label--theme-club': this.theme === 'club',
41
42
  'mg-label--theme-goalkeeper': this.theme === 'goalkeeper',
42
43
  'mg-label--theme-defender': this.theme === 'defender',
43
44
  'mg-label--theme-midfielder': this.theme === 'midfielder',
@@ -90,6 +91,12 @@ export default {
90
91
  color: #fff;
91
92
  }
92
93
 
94
+ &-club {
95
+ background: #fff;
96
+ border-color: map-get($palette, 'expertClub');;
97
+ color: map-get($palette, 'expertClub');;
98
+ }
99
+
93
100
  &-goalkeeper {
94
101
  background: map-get($palette, 'goalkeeper');
95
102
  border-color: map-get($palette, 'text');
@@ -44,7 +44,7 @@ export default {
44
44
  @import '../../../../assets/palette';
45
45
 
46
46
  .mg-club-square {
47
- background-color: lighten(map-get($palette, 'expertClub'), 55%);
47
+ background-color: lighten(map-get($palette, 'expertClub'), 45%);
48
48
 
49
49
  &--disabled {
50
50
  background-color: #efefef;
@@ -8,7 +8,7 @@ export default {
8
8
  argTypes: {
9
9
  size: {
10
10
  control: { type: 'select' },
11
- options: ['normal', 'small'],
11
+ options: ['normal', 'small', 'large'],
12
12
  defaultValue: 'normal'
13
13
  },
14
14
  default: {
@@ -32,7 +32,7 @@ export default {
32
32
  type: String,
33
33
  default: 'normal',
34
34
  validator: function (value) {
35
- return ['small', 'normal'].indexOf(value) !== -1;
35
+ return ['small', 'normal', 'large'].indexOf(value) !== -1;
36
36
  },
37
37
  }
38
38
  },
@@ -45,6 +45,7 @@ export default {
45
45
  'mg-club-star--negative': this.negative === true,
46
46
  'mg-club-star-size-small': this.size === 'small',
47
47
  'mg-club-star-size-normal': this.size === 'normal',
48
+ 'mg-club-star-size-large': this.size === 'large',
48
49
  };
49
50
  },
50
51
  icon () {
@@ -93,6 +94,15 @@ export default {
93
94
  width: 1.25rem;
94
95
  }
95
96
  }
97
+
98
+ &-large {
99
+ svg {
100
+ height: 1.5rem;
101
+ min-height: 1.5rem;
102
+ min-width: 1.5rem;
103
+ width: 1.5rem;
104
+ }
105
+ }
96
106
  }
97
107
 
98
108
  &--negative {