@magicgol/polyjuice 0.40.3 → 0.40.5
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
@@ -13,7 +13,7 @@ export default {
|
|
13
13
|
},
|
14
14
|
theme: {
|
15
15
|
control: { type: 'select' },
|
16
|
-
options: ['light', 'dark', 'tag', 'club', 'trial', 'goalkeeper', 'defender', 'midfielder', 'forward', 'success'],
|
16
|
+
options: ['light', 'dark', 'tag', 'target', 'club', 'trial', 'goalkeeper', 'defender', 'midfielder', 'forward', 'success'],
|
17
17
|
defaultValue: 'light'
|
18
18
|
},
|
19
19
|
default: {
|
@@ -26,7 +26,19 @@ export default {
|
|
26
26
|
type: String,
|
27
27
|
default: 'light',
|
28
28
|
validator: function (value) {
|
29
|
-
return [
|
29
|
+
return [
|
30
|
+
'light',
|
31
|
+
'dark',
|
32
|
+
'tag',
|
33
|
+
'target',
|
34
|
+
'club',
|
35
|
+
'trial',
|
36
|
+
'goalkeeper',
|
37
|
+
'defender',
|
38
|
+
'midfielder',
|
39
|
+
'forward',
|
40
|
+
'success'
|
41
|
+
].indexOf(value) !== -1;
|
30
42
|
},
|
31
43
|
},
|
32
44
|
},
|
@@ -40,6 +52,7 @@ export default {
|
|
40
52
|
'mg-label--theme-light': this.theme === 'light',
|
41
53
|
'mg-label--theme-dark': this.theme === 'dark',
|
42
54
|
'mg-label--theme-tag': this.theme === 'tag',
|
55
|
+
'mg-label--theme-target': this.theme === 'target',
|
43
56
|
'mg-label--theme-club': this.theme === 'club',
|
44
57
|
'mg-label--theme-trial': this.theme === 'trial',
|
45
58
|
'mg-label--theme-goalkeeper': this.theme === 'goalkeeper',
|
@@ -59,10 +72,11 @@ export default {
|
|
59
72
|
.mg-label {
|
60
73
|
border-radius: 32px;
|
61
74
|
padding: 0.125rem;
|
75
|
+
white-space: nowrap;
|
62
76
|
|
63
77
|
> div {
|
64
|
-
|
65
|
-
|
78
|
+
display: inline-flex;
|
79
|
+
align-items: center;
|
66
80
|
border-radius: 32px;
|
67
81
|
font-family: 'Raleway', sans-serif;
|
68
82
|
font-weight: 700;
|
@@ -73,12 +87,16 @@ export default {
|
|
73
87
|
font-size: 0.625rem;
|
74
88
|
|
75
89
|
> div {
|
76
|
-
|
90
|
+
height: 0.875rem;
|
77
91
|
}
|
78
92
|
}
|
79
93
|
|
80
94
|
&-normal {
|
81
95
|
font-size: 0.875rem;
|
96
|
+
|
97
|
+
> div {
|
98
|
+
height: 1.5rem;
|
99
|
+
}
|
82
100
|
}
|
83
101
|
}
|
84
102
|
|
@@ -107,6 +125,18 @@ export default {
|
|
107
125
|
color: map-get($palette, 'brand');
|
108
126
|
}
|
109
127
|
|
128
|
+
&-target {
|
129
|
+
background-color: map-get($palette, 'brand');
|
130
|
+
> div {
|
131
|
+
background: #fff;
|
132
|
+
svg {
|
133
|
+
height: 12px;
|
134
|
+
width: 12px;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
color: map-get($palette, 'brand');
|
138
|
+
}
|
139
|
+
|
110
140
|
&-club {
|
111
141
|
background: map-get($palette, 'club');
|
112
142
|
> div {
|
@@ -172,12 +172,11 @@ export default {
|
|
172
172
|
}
|
173
173
|
|
174
174
|
&-ribbon {
|
175
|
-
height: 24px;
|
176
175
|
right: 0;
|
177
|
-
margin-right: -
|
178
|
-
margin-top: -
|
176
|
+
margin-right: -10%;
|
177
|
+
margin-top: -10%;
|
179
178
|
top: 0;
|
180
|
-
width:
|
179
|
+
width: 40%;
|
181
180
|
|
182
181
|
svg {
|
183
182
|
fill: #075169;
|