@design.estate/dees-catalog 3.61.1 → 3.61.2
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_bundle/bundle.js +17 -12
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-input/dees-input-list/dees-input-list.js +17 -12
- package/dist_ts_web/elements/00group-utility/dees-icon/dees-icon.js +2 -1
- package/dist_watch/bundle.js +15 -10
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-input/dees-input-list/dees-input-list.ts +12 -12
- package/ts_web/elements/00group-utility/dees-icon/dees-icon.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design.estate/dees-catalog",
|
|
3
|
-
"version": "3.61.
|
|
3
|
+
"version": "3.61.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
|
|
6
6
|
"main": "dist_ts_web/index.js",
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '3.61.
|
|
6
|
+
version: '3.61.2',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
}
|
|
@@ -665,11 +665,13 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
|
|
|
665
665
|
this.currentCandidateIndex = -1;
|
|
666
666
|
this.matchingCandidates = [];
|
|
667
667
|
this.validationText = '';
|
|
668
|
-
|
|
669
|
-
const input = this.shadowRoot?.querySelector('.add-input') as HTMLInputElement;
|
|
670
|
-
if (input) { input.value = ''; input.focus(); }
|
|
671
|
-
|
|
672
668
|
this.emitChange();
|
|
669
|
+
|
|
670
|
+
// Re-focus input after Lit re-renders
|
|
671
|
+
this.updateComplete.then(() => {
|
|
672
|
+
const input = this.shadowRoot?.querySelector('.add-input') as HTMLInputElement;
|
|
673
|
+
if (input) { input.value = ''; input.focus(); }
|
|
674
|
+
});
|
|
673
675
|
}
|
|
674
676
|
|
|
675
677
|
/**
|
|
@@ -708,15 +710,13 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
|
|
|
708
710
|
this.value = [...this.value, trimmedValue];
|
|
709
711
|
this.inputValue = '';
|
|
710
712
|
this.validationText = '';
|
|
711
|
-
|
|
712
|
-
// Clear the input
|
|
713
|
-
const input = this.shadowRoot?.querySelector('.add-input') as HTMLInputElement;
|
|
714
|
-
if (input) {
|
|
715
|
-
input.value = '';
|
|
716
|
-
input.focus();
|
|
717
|
-
}
|
|
718
|
-
|
|
719
713
|
this.emitChange();
|
|
714
|
+
|
|
715
|
+
// Re-focus input after Lit re-renders
|
|
716
|
+
this.updateComplete.then(() => {
|
|
717
|
+
const input = this.shadowRoot?.querySelector('.add-input') as HTMLInputElement;
|
|
718
|
+
if (input) { input.value = ''; input.focus(); }
|
|
719
|
+
});
|
|
720
720
|
}
|
|
721
721
|
|
|
722
722
|
private startEdit(index: number) {
|