@enso-ui/select 3.2.0 → 3.3.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 +1 -1
- package/src/bulma/VueSelect.vue +12 -1
package/package.json
CHANGED
package/src/bulma/VueSelect.vue
CHANGED
|
@@ -20,7 +20,11 @@
|
|
|
20
20
|
ref="dropdown">
|
|
21
21
|
<template #trigger="{ triggerEvents, open }">
|
|
22
22
|
<button class="button input"
|
|
23
|
-
:class="[
|
|
23
|
+
:class="[
|
|
24
|
+
{ 'has-error': hasError },
|
|
25
|
+
{ 'is-successful': isSuccess },
|
|
26
|
+
{ 'has-warning': hasWarning },
|
|
27
|
+
]"
|
|
24
28
|
type="button"
|
|
25
29
|
:disabled="disabled"
|
|
26
30
|
@click="reload"
|
|
@@ -163,6 +167,10 @@ export default {
|
|
|
163
167
|
type: Boolean,
|
|
164
168
|
default: false,
|
|
165
169
|
},
|
|
170
|
+
hasWarning: {
|
|
171
|
+
type: Boolean,
|
|
172
|
+
default: false,
|
|
173
|
+
},
|
|
166
174
|
isSuccess: {
|
|
167
175
|
type: Boolean,
|
|
168
176
|
default: false,
|
|
@@ -232,6 +240,9 @@ export default {
|
|
|
232
240
|
&.is-successful {
|
|
233
241
|
border-color: $success;
|
|
234
242
|
}
|
|
243
|
+
&.has-warning {
|
|
244
|
+
border-color: $warning;
|
|
245
|
+
}
|
|
235
246
|
|
|
236
247
|
.control-display {
|
|
237
248
|
&.with-clear-button {
|