@magicgol/polyjuice 0.56.1 → 0.56.3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.56.1",
3
+ "version": "0.56.3",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -30,7 +30,7 @@
30
30
  <!-- ROLE BADGE -->
31
31
  <div
32
32
  v-bind:class="{'pl-2': inverted, 'pr-2': !inverted}"
33
- v-if="role"
33
+ v-if="showRole"
34
34
  >
35
35
  <mg-role-badge
36
36
  :role="role"
@@ -65,11 +65,15 @@ export default {
65
65
  type: Boolean,
66
66
  default: false,
67
67
  },
68
+ showRole: {
69
+ type: Boolean,
70
+ default: true
71
+ },
68
72
  role: {
69
73
  type: String,
70
74
  default: null,
71
75
  validator: function (value) {
72
- return ['P', 'D', 'C', 'A', 'U'].indexOf(value) !== -1;
76
+ return ['P', 'D', 'C', 'A'].indexOf(value) !== -1;
73
77
  },
74
78
  },
75
79
  firstname: {
@@ -36,7 +36,7 @@ export default {
36
36
  type: String,
37
37
  default: null,
38
38
  validator: function (value) {
39
- return ['P', 'D', 'C', 'A', 'U'].indexOf(value) !== -1;
39
+ return ['P', 'D', 'C', 'A'].indexOf(value) !== -1;
40
40
  },
41
41
  },
42
42
  pressed: {
@@ -38,7 +38,7 @@ export default {
38
38
 
39
39
  <style lang="scss">
40
40
  .mg-team-badge {
41
- border: 1px solid #efefef;
41
+ border: 1px solid #e2e7ef;
42
42
  height: 1.125rem;
43
43
  width: 1.125rem;
44
44
  min-width: 1.125rem;