@mozaic-ds/vue 0.39.0 → 0.39.1-beta.0

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": "@mozaic-ds/vue",
3
- "version": "0.39.0",
3
+ "version": "0.39.1-beta.0",
4
4
  "description": "Vue.js implementation of Mozaic Design System",
5
5
  "author": "Adeo - Mozaic Design System",
6
6
  "scripts": {
@@ -25,7 +25,7 @@
25
25
  :is-valid="isValid"
26
26
  :disabled="disabled"
27
27
  :size="size"
28
- :root-class="[getInvalidRootClass, getValidRootClass]"
28
+ :root-class="getRootClass"
29
29
  text-input-field-class="mc-autocomplete__trigger"
30
30
  icon-position="left"
31
31
  icon="DisplaySearch48"
@@ -256,6 +256,9 @@ export default {
256
256
  getValidRootClass() {
257
257
  return (this.isValid && 'is-valid') || null;
258
258
  },
259
+ getRootClass() {
260
+ return this.getInvalidRootClass || this.getValidRootClass;
261
+ },
259
262
  },
260
263
 
261
264
  watch: {