@veritree/ui 0.55.0 → 0.56.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/mixins/form-control.js +7 -1
- package/package.json +1 -1
package/mixins/form-control.js
CHANGED
|
@@ -69,7 +69,7 @@ export const formControlStyleMixin = {
|
|
|
69
69
|
? 'border-error-300'
|
|
70
70
|
: this.isSuccess
|
|
71
71
|
? 'border-success-300'
|
|
72
|
-
: this
|
|
72
|
+
: this.isOutline
|
|
73
73
|
? 'border-gray-700'
|
|
74
74
|
: 'border-gray-300',
|
|
75
75
|
// height styles
|
|
@@ -86,5 +86,11 @@ export const formControlStyleMixin = {
|
|
|
86
86
|
: null,
|
|
87
87
|
];
|
|
88
88
|
},
|
|
89
|
+
|
|
90
|
+
// not all places as form control is used needs outline,
|
|
91
|
+
// so this is here mostly as a placeholder
|
|
92
|
+
isOutline() {
|
|
93
|
+
return null
|
|
94
|
+
}
|
|
89
95
|
},
|
|
90
96
|
};
|