@asd20/ui-next 2.0.25 → 2.0.26
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -291,6 +291,7 @@ $input-reversed-text-color: var(--color__accent-t100);
|
|
|
291
291
|
& :deep(.multiselect__input:focus),
|
|
292
292
|
& :deep(.multiselect__single:focus) {
|
|
293
293
|
border-color: var(--color__accent);
|
|
294
|
+
border-radius: 0.2rem;
|
|
294
295
|
@include asd20-focus;
|
|
295
296
|
}
|
|
296
297
|
& :deep(.multiselect__tags) {
|
|
@@ -308,7 +309,8 @@ $input-reversed-text-color: var(--color__accent-t100);
|
|
|
308
309
|
color: var(--website-page__background-color);
|
|
309
310
|
font-weight: normal;
|
|
310
311
|
background: var(--background-color);
|
|
311
|
-
border-radius: 0;
|
|
312
|
+
border-radius: 0.25rem;
|
|
313
|
+
padding-left: 0.25rem;
|
|
312
314
|
}
|
|
313
315
|
& :deep(.multiselect__tag-icon) {
|
|
314
316
|
font-weight: bold;
|
|
@@ -368,6 +370,15 @@ $input-reversed-text-color: var(--color__accent-t100);
|
|
|
368
370
|
background: var(--color__accent);
|
|
369
371
|
color: var(--website-page__background-color);
|
|
370
372
|
}
|
|
373
|
+
& :deep(.multiselect__option--highlight:after),
|
|
374
|
+
& :deep(.multiselect__option--selected:after),
|
|
375
|
+
& :deep(.multiselect__option--selected.multiselect__option--highlight:after) {
|
|
376
|
+
display: block;
|
|
377
|
+
margin-top: 0.25rem;
|
|
378
|
+
font-size: 0.75rem;
|
|
379
|
+
font-weight: 400;
|
|
380
|
+
line-height: 1.2;
|
|
381
|
+
}
|
|
371
382
|
& :deep(.multiselect__option),
|
|
372
383
|
& :deep(.option__title) {
|
|
373
384
|
color: var(--website-page__title-color);
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
<input
|
|
36
|
+
v-show="showSearchInput"
|
|
36
37
|
:id="id"
|
|
37
38
|
ref="searchInput"
|
|
38
39
|
:value="search"
|
|
@@ -203,6 +204,9 @@ export default {
|
|
|
203
204
|
showPlaceholder() {
|
|
204
205
|
return !this.search && !this.selectedOptions.length && !this.isOpen
|
|
205
206
|
},
|
|
207
|
+
showSearchInput() {
|
|
208
|
+
return this.isOpen || !!this.search
|
|
209
|
+
},
|
|
206
210
|
placeholderText() {
|
|
207
211
|
return this.placeholder || 'Select options'
|
|
208
212
|
},
|
|
@@ -479,7 +483,7 @@ export default {
|
|
|
479
483
|
width: auto;
|
|
480
484
|
min-height: 1.25rem;
|
|
481
485
|
margin: 0;
|
|
482
|
-
padding: 0;
|
|
486
|
+
padding: 0 0 0 0.25rem;
|
|
483
487
|
border: 0;
|
|
484
488
|
outline: 0;
|
|
485
489
|
background: transparent;
|