@magicgol/polyjuice 0.57.1 → 0.57.2

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.57.1",
3
+ "version": "0.57.2",
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', 'large'],
11
+ options: ['normal', 'x-small', 'small', 'large'],
12
12
  defaultValue: 'normal'
13
13
  },
14
14
  default: {
@@ -38,7 +38,7 @@ export default {
38
38
  type: String,
39
39
  default: 'normal',
40
40
  validator: function (value) {
41
- return ['small', 'normal', 'large'].indexOf(value) !== -1;
41
+ return ['x-small', 'small', 'normal', 'large'].indexOf(value) !== -1;
42
42
  },
43
43
  }
44
44
  },
@@ -50,6 +50,7 @@ export default {
50
50
  'mg-club-star--disabled': this.disabled === true,
51
51
  'mg-club-star--negative': this.negative === true,
52
52
  'mg-club-star-size-small': this.size === 'small',
53
+ 'mg-club-star-size-x-small': this.size === 'x-small',
53
54
  'mg-club-star-size-normal': this.size === 'normal',
54
55
  'mg-club-star-size-large': this.size === 'large',
55
56
  };
@@ -91,6 +92,19 @@ export default {
91
92
  }
92
93
 
93
94
  &-size {
95
+ &-small {
96
+ div {
97
+ font-size: 0.75rem;
98
+ }
99
+
100
+ svg {
101
+ height: 0.75rem;
102
+ min-height: 0.75rem;
103
+ min-width: 0.75rem;
104
+ width: 0.75rem;
105
+ }
106
+ }
107
+
94
108
  &-small {
95
109
  div {
96
110
  font-size: 0.75rem;