@magicgol/polyjuice 0.32.0 → 0.32.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -65,7 +65,7 @@ export default {
65
65
  font-family: 'Ubuntu', sans-serif;
66
66
  font-size: 1rem;
67
67
  font-weight: 500;
68
- height: 3.5rem;
68
+ height: 3.75rem;
69
69
 
70
70
  svg {
71
71
  fill: map-get($palette, 'brand');
@@ -28,10 +28,10 @@ const Template = (args, { argTypes }) => ({
28
28
  template: `
29
29
  <div class="row">
30
30
  <div class="col-6 p-0">
31
- <mg-list-head @click="$emit('click')" v-bind="$props"><template v-if="${'default' in args}" v-slot>${args.default}</template></mg-list-head>
31
+ <mg-list-head>Another head</mg-list-head>
32
32
  </div>
33
33
  <div class="col-6 p-0">
34
- <mg-list-head>Another head</mg-list-head>
34
+ <mg-list-head @click="$emit('click')" v-bind="$props"><template v-if="${'default' in args}" v-slot>${args.default}</template></mg-list-head>
35
35
  </div>
36
36
  </div>`,
37
37
  });
@@ -1,13 +1,13 @@
1
1
  <template>
2
2
  <div
3
- class="d-flex align-items-center text-uppercase pb-2 px-2"
4
- :class="classes"
3
+ class="text-uppercase pb-2 px-2"
4
+ :class="[classes, {'d-flex align-items-center': active, 'justify-content-center text-center': alignCenter}]"
5
5
  >
6
6
  <div><slot></slot></div>
7
7
  <svgicon
8
8
  v-if="active"
9
9
  name="arrow-down"
10
- class="ml-2"
10
+ class="ml-1"
11
11
  ></svgicon>
12
12
  </div>
13
13
  </template>
@@ -20,7 +20,11 @@ export default {
20
20
  active: {
21
21
  type: Boolean,
22
22
  default: false
23
- }
23
+ },
24
+ alignCenter: {
25
+ type: Boolean,
26
+ default: false
27
+ },
24
28
  },
25
29
 
26
30
  computed: {