@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-catalog",
3
- "version": "3.61.1",
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.1',
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) {
@@ -338,6 +338,7 @@ export class DeesIcon extends DeesElement {
338
338
  justify-content: center;
339
339
  line-height: 1;
340
340
  vertical-align: middle;
341
+ pointer-events: none;
341
342
  }
342
343
 
343
344
  /* Improve rendering performance */