@magicgol/polyjuice 0.42.1 → 0.42.2

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.42.1",
3
+ "version": "0.42.2",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  class="text-uppercase pb-2 px-2"
4
- :class="[classes, {'d-flex align-items-center': active, 'justify-content-center text-center': alignCenter, 'justify-content-start text-left': !alignCenter}]"
4
+ :class="[classes, {'d-flex align-items-center': active, 'justify-content-center text-center': alignCenter, 'justify-content-end text-right': alignRight, 'justify-content-start text-left': !alignCenter && !alignRight}]"
5
5
  >
6
6
  <div><slot></slot></div>
7
7
  <svgicon
@@ -25,6 +25,10 @@ export default {
25
25
  type: Boolean,
26
26
  default: false
27
27
  },
28
+ alignRight: {
29
+ type: Boolean,
30
+ default: false
31
+ },
28
32
  },
29
33
 
30
34
  computed: {