@magicgol/polyjuice 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
<slot name="tab-right"></slot>
|
9
9
|
</div>
|
10
10
|
</div>
|
11
|
-
<div class="
|
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>
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
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
|
-
</
|
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;
|