@magicgol/polyjuice 0.42.0 → 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.0",
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: {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  :class="classes"
4
- class="border bg-white rounded p-1"
4
+ class="bg-white rounded p-1"
5
5
  >
6
6
  <textarea
7
7
  v-on:input="$emit('input', $event.target.value)"
@@ -44,7 +44,6 @@ export default {
44
44
  },
45
45
  methods: {
46
46
  propagateFocus () {
47
- console.log('propage focus')
48
47
  this.focus = true;
49
48
  this.$emit('focus');
50
49
  },
@@ -61,7 +60,7 @@ export default {
61
60
  @import '../../../../assets/palette';
62
61
 
63
62
  .mg-textarea {
64
- border-color: #c2c2c2;
63
+ border: 1px solid #c2c2c2;
65
64
 
66
65
  > textarea {
67
66
  font-family: 'Raleway', sans-serif;