@community-release/nx-ui 0.0.59 → 0.0.61
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/dist/module.json
CHANGED
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
clear: 'Clear input',
|
|
145
145
|
close: 'Close',
|
|
146
146
|
submit: 'Ok',
|
|
147
|
-
itemsFound: `
|
|
147
|
+
itemsFound: `Results found`,
|
|
148
148
|
noItemsFound: `No items found`,
|
|
149
149
|
};
|
|
150
150
|
}
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
* - focus <input />
|
|
336
336
|
*/
|
|
337
337
|
function handleListItemClick(item) {
|
|
338
|
-
emit('update:modelValue',
|
|
338
|
+
emit('update:modelValue', item.name);
|
|
339
339
|
listHide();
|
|
340
340
|
|
|
341
341
|
selectInput();
|
|
@@ -435,13 +435,13 @@
|
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
// ♿ Annotation for screen reader users, to annotate the number of results found
|
|
438
|
-
const a11yAnnotation = ref('');
|
|
438
|
+
const a11yAnnotation = ref('...');
|
|
439
439
|
let tA11y;
|
|
440
440
|
|
|
441
441
|
watch(filteredList, (v) => {
|
|
442
442
|
clearTimeout(tA11y);
|
|
443
443
|
tA11y = setTimeout(() => {
|
|
444
|
-
a11yAnnotation.value = v.length ? props.dictionary['itemsFound']
|
|
444
|
+
a11yAnnotation.value = v.length ? (props.dictionary['itemsFound'] +': '+ v.length) : props.dictionary['noItemsFound'];
|
|
445
445
|
}, 500);
|
|
446
446
|
});
|
|
447
447
|
|
|
@@ -490,15 +490,13 @@
|
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
.component-ui-typeahead-input-grid {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
display: grid;
|
|
496
|
-
grid-template-columns: auto 50px;
|
|
493
|
+
display: flex;
|
|
497
494
|
gap: @com-space-micro;
|
|
498
|
-
|
|
499
495
|
|
|
500
|
-
input:
|
|
501
|
-
|
|
496
|
+
> .component-ui-input { flex: 1; }
|
|
497
|
+
> .component-ui-button {
|
|
498
|
+
flex: 0 0 auto;
|
|
499
|
+
padding: 0 @com-space-micro;
|
|
502
500
|
}
|
|
503
501
|
|
|
504
502
|
.component-ui-input .component-ui-button {
|
|
@@ -518,6 +516,10 @@
|
|
|
518
516
|
outline-offset: -8px;
|
|
519
517
|
}
|
|
520
518
|
}
|
|
519
|
+
|
|
520
|
+
input:focus-visible {
|
|
521
|
+
outline: unset;
|
|
522
|
+
}
|
|
521
523
|
}
|
|
522
524
|
|
|
523
525
|
.component-ui-typeahead-input-list {
|