@magicgol/polyjuice 0.15.0 → 0.15.1

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.15.0",
3
+ "version": "0.15.1",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -8,7 +8,7 @@
8
8
  <slot name="tab-right"></slot>
9
9
  </div>
10
10
  </div>
11
- <div class="py-4 px-3">
11
+ <div class="p-4">
12
12
  <slot></slot>
13
13
  </div>
14
14
  </div>
@@ -17,36 +17,5 @@
17
17
  <script>
18
18
  export default {
19
19
  name: 'mg-filing-cabinet',
20
-
21
- props: {
22
- // icon: {
23
- // type: String
24
- // },
25
- // level: {
26
- // type: String,
27
- // default: 'normal',
28
- // validator: function (value) {
29
- // return ['normal', 'club'].indexOf(value) !== -1;
30
- // },
31
- // }
32
- },
33
-
34
- computed: {
35
- classes() {
36
- return {
37
- 'mg-filing-cabinet': true,
38
- // 'mg-icon-badge--club': this.level === 'club',
39
- // 'mg-icon-badge--normal': this.level === 'normal',
40
- };
41
- },
42
- },
43
20
  };
44
21
  </script>
45
-
46
- <style lang="scss">
47
- @import '../../../assets/palette';
48
-
49
- .mg-filing-cabinet {
50
-
51
- }
52
- </style>
@@ -71,10 +71,11 @@ export default {
71
71
  }
72
72
 
73
73
  &--huge {
74
+ border: 2px solid #fff;
74
75
  font-size: 1.25rem;
75
- height: 2.5rem;
76
- width: 2.5rem;
77
- min-width: 2.5rem;
76
+ height: 2.75rem;
77
+ width: 2.75rem;
78
+ min-width: 2.75rem;
78
79
  }
79
80
 
80
81
  &--goalkeeper {
@@ -1,14 +1,14 @@
1
1
  <template>
2
- <a
2
+ <button
3
+ type="button"
3
4
  class="p-3 d-flex align-items-center w-100 text-white border-0"
4
5
  :class="classes"
5
- :href="href"
6
6
  :disabled="disabled"
7
7
  @click="$emit('click')"
8
8
  >
9
9
  <span class="flex-grow-0"><svgicon :name="channel"></svgicon></span>
10
10
  <span class="flex-grow-1 text-center"><slot></slot></span>
11
- </a>
11
+ </button>
12
12
  </template>
13
13
 
14
14
  <script>
@@ -26,9 +26,6 @@ export default {
26
26
  validator: function (value) {
27
27
  return ['facebook', 'google'].indexOf(value) !== -1;
28
28
  },
29
- },
30
- href: {
31
- type: String
32
29
  }
33
30
  },
34
31
 
@@ -61,6 +58,7 @@ export default {
61
58
  font-size: 0.8125rem;
62
59
  font-weight: 700;
63
60
  outline: none;
61
+ text-decoration: none;
64
62
 
65
63
  svg {
66
64
  fill: white;