@magicgol/polyjuice 0.21.1 → 0.21.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -4,7 +4,10 @@
|
|
4
4
|
:class="classes"
|
5
5
|
>
|
6
6
|
<slot v-if="slotVisibility"></slot>
|
7
|
-
<template v-else>
|
7
|
+
<template v-else>
|
8
|
+
<template v-if="role">{{ role }}</template>
|
9
|
+
<template v-else>-</template>
|
10
|
+
</template>
|
8
11
|
</div>
|
9
12
|
</template>
|
10
13
|
|
@@ -15,7 +18,7 @@ export default {
|
|
15
18
|
props: {
|
16
19
|
role: {
|
17
20
|
type: String,
|
18
|
-
default:
|
21
|
+
default: null,
|
19
22
|
validator: function (value) {
|
20
23
|
return ['P', 'D', 'C', 'A'].indexOf(value) !== -1;
|
21
24
|
},
|
@@ -53,6 +56,7 @@ export default {
|
|
53
56
|
@import '../../../assets/palette';
|
54
57
|
|
55
58
|
.mg-role-badge {
|
59
|
+
background-color: #c2c2c2;
|
56
60
|
font-family: 'Ubuntu', sans-serif;
|
57
61
|
font-weight: 600;
|
58
62
|
|