@community-release/nx-ui 0.0.59 → 0.0.60

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
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "ui",
3
3
  "configKey": "ui",
4
- "version": "0.0.59"
4
+ "version": "0.0.60"
5
5
  }
@@ -144,7 +144,7 @@
144
144
  clear: 'Clear input',
145
145
  close: 'Close',
146
146
  submit: 'Ok',
147
- itemsFound: `Found {n} options`,
147
+ itemsFound: `Results found`,
148
148
  noItemsFound: `No items found`,
149
149
  };
150
150
  }
@@ -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'].replace('{n}', v.length) : props.dictionary['noItemsFound'];
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:focus-visible {
501
- outline: unset;
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-release/nx-ui",
3
- "version": "0.0.59",
3
+ "version": "0.0.60",
4
4
  "packageManager": "pnpm@10.14.0",
5
5
  "description": "nx-ui - Nuxt UI library",
6
6
  "repository": {