@magicgol/polyjuice 0.42.1 → 0.42.3
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.42.
|
3
|
+
"version": "0.42.3",
|
4
4
|
"scripts": {
|
5
5
|
"serve": "vue-cli-service serve",
|
6
6
|
"build": "vue-cli-service build",
|
@@ -19,11 +19,11 @@
|
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@babel/core": "^7.17.9",
|
22
|
-
"@storybook/addon-actions": "^6.5.
|
23
|
-
"@storybook/addon-essentials": "^6.5.
|
24
|
-
"@storybook/addon-links": "^6.5.
|
22
|
+
"@storybook/addon-actions": "^6.5.13",
|
23
|
+
"@storybook/addon-essentials": "^6.5.13",
|
24
|
+
"@storybook/addon-links": "^6.5.13",
|
25
25
|
"@storybook/preset-scss": "^1.0.3",
|
26
|
-
"@storybook/vue": "^6.5.
|
26
|
+
"@storybook/vue": "^6.5.13",
|
27
27
|
"@vue/cli-plugin-babel": "~4.5.15",
|
28
28
|
"@vue/cli-plugin-eslint": "~4.5.15",
|
29
29
|
"@vue/cli-service": "~4.5.15",
|
@@ -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: {
|
@@ -30,6 +30,10 @@ export default {
|
|
30
30
|
placeholder: {
|
31
31
|
type: String,
|
32
32
|
default: null
|
33
|
+
},
|
34
|
+
error: {
|
35
|
+
type: Boolean,
|
36
|
+
default: false,
|
33
37
|
}
|
34
38
|
},
|
35
39
|
computed: {
|
@@ -76,5 +80,9 @@ export default {
|
|
76
80
|
&--focused {
|
77
81
|
border-color: #444444 !important;
|
78
82
|
}
|
83
|
+
|
84
|
+
&--errored {
|
85
|
+
border-color: map-get($palette, 'warning') !important;
|
86
|
+
}
|
79
87
|
}
|
80
88
|
</style>
|
@@ -65,7 +65,9 @@ export default {
|
|
65
65
|
width: 1.375rem;
|
66
66
|
|
67
67
|
svg {
|
68
|
-
|
68
|
+
fill: white;
|
69
|
+
height: 18px;
|
70
|
+
visibility: hidden;
|
69
71
|
}
|
70
72
|
}
|
71
73
|
|
@@ -75,9 +77,7 @@ export default {
|
|
75
77
|
border-color: map-get($palette, 'brand');
|
76
78
|
|
77
79
|
svg {
|
78
|
-
|
79
|
-
fill: white;
|
80
|
-
height: 18px;
|
80
|
+
visibility: visible;
|
81
81
|
}
|
82
82
|
}
|
83
83
|
}
|