@magicgol/polyjuice 0.37.3 → 0.37.4

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.4",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -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 {