@aurodesignsystem-dev/auro-formkit 0.0.0-pr1553.1 → 0.0.0-pr1554.0

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.
Files changed (44) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/customize.min.js +42 -14
  7. package/components/combobox/demo/getting-started.min.js +42 -14
  8. package/components/combobox/demo/index.min.js +42 -14
  9. package/components/combobox/dist/index.js +42 -14
  10. package/components/combobox/dist/registered.js +42 -14
  11. package/components/counter/demo/customize.min.js +2 -2
  12. package/components/counter/demo/index.min.js +2 -2
  13. package/components/counter/dist/index.js +2 -2
  14. package/components/counter/dist/registered.js +2 -2
  15. package/components/datepicker/demo/customize.min.js +7 -4
  16. package/components/datepicker/demo/index.min.js +7 -4
  17. package/components/datepicker/dist/index.js +7 -4
  18. package/components/datepicker/dist/registered.js +7 -4
  19. package/components/dropdown/demo/customize.min.js +1 -1
  20. package/components/dropdown/demo/getting-started.min.js +1 -1
  21. package/components/dropdown/demo/index.min.js +1 -1
  22. package/components/dropdown/dist/index.js +1 -1
  23. package/components/dropdown/dist/registered.js +1 -1
  24. package/components/form/demo/customize.min.js +60 -26
  25. package/components/form/demo/getting-started.min.js +60 -26
  26. package/components/form/demo/index.min.js +60 -26
  27. package/components/form/demo/registerDemoDeps.min.js +60 -26
  28. package/components/input/demo/customize.min.js +5 -2
  29. package/components/input/demo/getting-started.min.js +5 -2
  30. package/components/input/demo/index.min.js +5 -2
  31. package/components/input/dist/index.js +5 -2
  32. package/components/input/dist/registered.js +5 -2
  33. package/components/radio/demo/customize.min.js +1 -1
  34. package/components/radio/demo/getting-started.min.js +1 -1
  35. package/components/radio/demo/index.min.js +1 -1
  36. package/components/radio/dist/index.js +1 -1
  37. package/components/radio/dist/registered.js +1 -1
  38. package/components/select/demo/customize.min.js +2 -2
  39. package/components/select/demo/getting-started.min.js +2 -2
  40. package/components/select/demo/index.min.js +2 -2
  41. package/components/select/dist/index.js +2 -2
  42. package/components/select/dist/registered.js +2 -2
  43. package/custom-elements.json +550 -550
  44. package/package.json +1 -1
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607102138';
1278
+ var formkitVersion = '202607152158';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607102138';
1278
+ var formkitVersion = '202607152158';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607102138';
1278
+ var formkitVersion = '202607152158';
1279
1279
 
1280
1280
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1281
1281
  // See LICENSE in the project root for license information.
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
1228
1228
  }
1229
1229
  }
1230
1230
 
1231
- var formkitVersion = '202607102138';
1231
+ var formkitVersion = '202607152158';
1232
1232
 
1233
1233
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1234
1234
  // See LICENSE in the project root for license information.
@@ -1228,7 +1228,7 @@ class AuroHelpText extends LitElement {
1228
1228
  }
1229
1229
  }
1230
1230
 
1231
- var formkitVersion = '202607102138';
1231
+ var formkitVersion = '202607152158';
1232
1232
 
1233
1233
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1234
1234
  // See LICENSE in the project root for license information.
@@ -4971,7 +4971,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4971
4971
  }
4972
4972
  };
4973
4973
 
4974
- var formkitVersion$2 = '202607102138';
4974
+ var formkitVersion$2 = '202607152158';
4975
4975
 
4976
4976
  let AuroElement$2 = class AuroElement extends i$3 {
4977
4977
  static get properties() {
@@ -18600,7 +18600,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18600
18600
  }
18601
18601
  };
18602
18602
 
18603
- var formkitVersion$1 = '202607102138';
18603
+ var formkitVersion$1 = '202607152158';
18604
18604
 
18605
18605
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18606
18606
  // See LICENSE in the project root for license information.
@@ -18891,7 +18891,10 @@ class AuroInput extends BaseInput {
18891
18891
  // directly to auro-input's light DOM alongside the forwarder still
18892
18892
  // counts as content. The prior nodes[0].tagName === 'SLOT' recursion
18893
18893
  // discarded any siblings past the forwarder.
18894
- const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
18894
+ const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
18895
+ if (!slot) {
18896
+ return;
18897
+ }
18895
18898
  const nodes = slot.assignedNodes({ flatten: true });
18896
18899
 
18897
18900
  this.hasDisplayValueContent = nodes.length > 0;
@@ -19721,7 +19724,7 @@ class AuroBibtemplate extends i$3 {
19721
19724
  }
19722
19725
  }
19723
19726
 
19724
- var formkitVersion = '202607102138';
19727
+ var formkitVersion = '202607152158';
19725
19728
 
19726
19729
  var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
19727
19730
 
@@ -20758,14 +20761,28 @@ class AuroCombobox extends AuroElement {
20758
20761
  const displayValueEl = this.menu.optionSelected.querySelector("[slot='displayValue']");
20759
20762
  if (displayValueEl) {
20760
20763
  this.input.appendChild(displayValueEl.cloneNode(true));
20761
- // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20762
- // re-evaluate the slot and re-render so the displayValue wrapper
20763
- // gets its hasContent class. Without this, the apple/icon stays
20764
- // hidden when input.value is set in the same tick as the append.
20765
- if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20766
- this.input.checkDisplayValueSlotChange();
20767
- this.input.requestUpdate();
20768
- }
20764
+ }
20765
+
20766
+ // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20767
+ // re-evaluate the slot and re-render so the displayValue wrapper
20768
+ // gets its hasContent class. Without this, the apple/icon stays
20769
+ // hidden when input.value is set in the same tick as the append.
20770
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20771
+ this.input.checkDisplayValueSlotChange();
20772
+ this.input.requestUpdate();
20773
+ }
20774
+ } else if (this.value) {
20775
+ // No optionSelected yet (e.g. setMenuValue was called but the menu's
20776
+ // auroMenu-selectedOption event hasn't fired yet, or we're on remount
20777
+ // with no options loaded). Synthesize a displayValue from the value so
20778
+ // the overlay isn't blank.
20779
+ const syntheticDV = document.createElement('span');
20780
+ syntheticDV.setAttribute('slot', 'displayValue');
20781
+ syntheticDV.textContent = this.value;
20782
+ this.input.appendChild(syntheticDV);
20783
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20784
+ this.input.checkDisplayValueSlotChange();
20785
+ this.input.requestUpdate();
20769
20786
  }
20770
20787
  }
20771
20788
 
@@ -21515,6 +21532,15 @@ class AuroCombobox extends AuroElement {
21515
21532
  * @returns {void}
21516
21533
  */
21517
21534
  handleTriggerInputValueChange(event) {
21535
+ // Clear a stale _programmaticFilterRefresh when the user is genuinely
21536
+ // interacting. On mount, updated('value') sets the flag, but the early
21537
+ // return at `this.value === this.input.value` exits before clearing it.
21538
+ // Without this, the first keystroke after mount fails to set _userTyped
21539
+ // and the bib doesn't open.
21540
+ if (this._programmaticFilterRefresh && this.componentHasFocus) {
21541
+ this._programmaticFilterRefresh = false;
21542
+ }
21543
+
21518
21544
  // 'input' fires for every user-initiated value change — typing, paste,
21519
21545
  // IME composition end, dead-key composition, drag-drop. Flip _userTyped
21520
21546
  // here so updated('availableOptions') auto-opens the bib for sources
@@ -21554,10 +21580,12 @@ class AuroCombobox extends AuroElement {
21554
21580
  inputResolver: (comp, ctx) => (ctx.isModal && comp.inputInBib ? comp.inputInBib : comp.input),
21555
21581
  });
21556
21582
 
21557
- this.addEventListener('focusin', () => {
21583
+ this.addEventListener('focusin', (event) => {
21558
21584
  this.touched = true;
21559
21585
 
21560
- this.focus();
21586
+ if (event.composedPath()[0] === this) {
21587
+ this.focus();
21588
+ }
21561
21589
  });
21562
21590
 
21563
21591
  this.addEventListener('auroFormElement-validated', (evt) => {
@@ -4971,7 +4971,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4971
4971
  }
4972
4972
  };
4973
4973
 
4974
- var formkitVersion$2 = '202607102138';
4974
+ var formkitVersion$2 = '202607152158';
4975
4975
 
4976
4976
  let AuroElement$2 = class AuroElement extends i$3 {
4977
4977
  static get properties() {
@@ -18600,7 +18600,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18600
18600
  }
18601
18601
  };
18602
18602
 
18603
- var formkitVersion$1 = '202607102138';
18603
+ var formkitVersion$1 = '202607152158';
18604
18604
 
18605
18605
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18606
18606
  // See LICENSE in the project root for license information.
@@ -18891,7 +18891,10 @@ class AuroInput extends BaseInput {
18891
18891
  // directly to auro-input's light DOM alongside the forwarder still
18892
18892
  // counts as content. The prior nodes[0].tagName === 'SLOT' recursion
18893
18893
  // discarded any siblings past the forwarder.
18894
- const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
18894
+ const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
18895
+ if (!slot) {
18896
+ return;
18897
+ }
18895
18898
  const nodes = slot.assignedNodes({ flatten: true });
18896
18899
 
18897
18900
  this.hasDisplayValueContent = nodes.length > 0;
@@ -19721,7 +19724,7 @@ class AuroBibtemplate extends i$3 {
19721
19724
  }
19722
19725
  }
19723
19726
 
19724
- var formkitVersion = '202607102138';
19727
+ var formkitVersion = '202607152158';
19725
19728
 
19726
19729
  var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
19727
19730
 
@@ -20758,14 +20761,28 @@ class AuroCombobox extends AuroElement {
20758
20761
  const displayValueEl = this.menu.optionSelected.querySelector("[slot='displayValue']");
20759
20762
  if (displayValueEl) {
20760
20763
  this.input.appendChild(displayValueEl.cloneNode(true));
20761
- // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20762
- // re-evaluate the slot and re-render so the displayValue wrapper
20763
- // gets its hasContent class. Without this, the apple/icon stays
20764
- // hidden when input.value is set in the same tick as the append.
20765
- if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20766
- this.input.checkDisplayValueSlotChange();
20767
- this.input.requestUpdate();
20768
- }
20764
+ }
20765
+
20766
+ // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20767
+ // re-evaluate the slot and re-render so the displayValue wrapper
20768
+ // gets its hasContent class. Without this, the apple/icon stays
20769
+ // hidden when input.value is set in the same tick as the append.
20770
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20771
+ this.input.checkDisplayValueSlotChange();
20772
+ this.input.requestUpdate();
20773
+ }
20774
+ } else if (this.value) {
20775
+ // No optionSelected yet (e.g. setMenuValue was called but the menu's
20776
+ // auroMenu-selectedOption event hasn't fired yet, or we're on remount
20777
+ // with no options loaded). Synthesize a displayValue from the value so
20778
+ // the overlay isn't blank.
20779
+ const syntheticDV = document.createElement('span');
20780
+ syntheticDV.setAttribute('slot', 'displayValue');
20781
+ syntheticDV.textContent = this.value;
20782
+ this.input.appendChild(syntheticDV);
20783
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20784
+ this.input.checkDisplayValueSlotChange();
20785
+ this.input.requestUpdate();
20769
20786
  }
20770
20787
  }
20771
20788
 
@@ -21515,6 +21532,15 @@ class AuroCombobox extends AuroElement {
21515
21532
  * @returns {void}
21516
21533
  */
21517
21534
  handleTriggerInputValueChange(event) {
21535
+ // Clear a stale _programmaticFilterRefresh when the user is genuinely
21536
+ // interacting. On mount, updated('value') sets the flag, but the early
21537
+ // return at `this.value === this.input.value` exits before clearing it.
21538
+ // Without this, the first keystroke after mount fails to set _userTyped
21539
+ // and the bib doesn't open.
21540
+ if (this._programmaticFilterRefresh && this.componentHasFocus) {
21541
+ this._programmaticFilterRefresh = false;
21542
+ }
21543
+
21518
21544
  // 'input' fires for every user-initiated value change — typing, paste,
21519
21545
  // IME composition end, dead-key composition, drag-drop. Flip _userTyped
21520
21546
  // here so updated('availableOptions') auto-opens the bib for sources
@@ -21554,10 +21580,12 @@ class AuroCombobox extends AuroElement {
21554
21580
  inputResolver: (comp, ctx) => (ctx.isModal && comp.inputInBib ? comp.inputInBib : comp.input),
21555
21581
  });
21556
21582
 
21557
- this.addEventListener('focusin', () => {
21583
+ this.addEventListener('focusin', (event) => {
21558
21584
  this.touched = true;
21559
21585
 
21560
- this.focus();
21586
+ if (event.composedPath()[0] === this) {
21587
+ this.focus();
21588
+ }
21561
21589
  });
21562
21590
 
21563
21591
  this.addEventListener('auroFormElement-validated', (evt) => {
@@ -4986,7 +4986,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4986
4986
  }
4987
4987
  };
4988
4988
 
4989
- var formkitVersion$2 = '202607102138';
4989
+ var formkitVersion$2 = '202607152158';
4990
4990
 
4991
4991
  let AuroElement$2 = class AuroElement extends i$3 {
4992
4992
  static get properties() {
@@ -18615,7 +18615,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18615
18615
  }
18616
18616
  };
18617
18617
 
18618
- var formkitVersion$1 = '202607102138';
18618
+ var formkitVersion$1 = '202607152158';
18619
18619
 
18620
18620
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18621
18621
  // See LICENSE in the project root for license information.
@@ -18906,7 +18906,10 @@ class AuroInput extends BaseInput {
18906
18906
  // directly to auro-input's light DOM alongside the forwarder still
18907
18907
  // counts as content. The prior nodes[0].tagName === 'SLOT' recursion
18908
18908
  // discarded any siblings past the forwarder.
18909
- const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
18909
+ const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
18910
+ if (!slot) {
18911
+ return;
18912
+ }
18910
18913
  const nodes = slot.assignedNodes({ flatten: true });
18911
18914
 
18912
18915
  this.hasDisplayValueContent = nodes.length > 0;
@@ -19736,7 +19739,7 @@ class AuroBibtemplate extends i$3 {
19736
19739
  }
19737
19740
  }
19738
19741
 
19739
- var formkitVersion = '202607102138';
19742
+ var formkitVersion = '202607152158';
19740
19743
 
19741
19744
  var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
19742
19745
 
@@ -20773,14 +20776,28 @@ class AuroCombobox extends AuroElement {
20773
20776
  const displayValueEl = this.menu.optionSelected.querySelector("[slot='displayValue']");
20774
20777
  if (displayValueEl) {
20775
20778
  this.input.appendChild(displayValueEl.cloneNode(true));
20776
- // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20777
- // re-evaluate the slot and re-render so the displayValue wrapper
20778
- // gets its hasContent class. Without this, the apple/icon stays
20779
- // hidden when input.value is set in the same tick as the append.
20780
- if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20781
- this.input.checkDisplayValueSlotChange();
20782
- this.input.requestUpdate();
20783
- }
20779
+ }
20780
+
20781
+ // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20782
+ // re-evaluate the slot and re-render so the displayValue wrapper
20783
+ // gets its hasContent class. Without this, the apple/icon stays
20784
+ // hidden when input.value is set in the same tick as the append.
20785
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20786
+ this.input.checkDisplayValueSlotChange();
20787
+ this.input.requestUpdate();
20788
+ }
20789
+ } else if (this.value) {
20790
+ // No optionSelected yet (e.g. setMenuValue was called but the menu's
20791
+ // auroMenu-selectedOption event hasn't fired yet, or we're on remount
20792
+ // with no options loaded). Synthesize a displayValue from the value so
20793
+ // the overlay isn't blank.
20794
+ const syntheticDV = document.createElement('span');
20795
+ syntheticDV.setAttribute('slot', 'displayValue');
20796
+ syntheticDV.textContent = this.value;
20797
+ this.input.appendChild(syntheticDV);
20798
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20799
+ this.input.checkDisplayValueSlotChange();
20800
+ this.input.requestUpdate();
20784
20801
  }
20785
20802
  }
20786
20803
 
@@ -21530,6 +21547,15 @@ class AuroCombobox extends AuroElement {
21530
21547
  * @returns {void}
21531
21548
  */
21532
21549
  handleTriggerInputValueChange(event) {
21550
+ // Clear a stale _programmaticFilterRefresh when the user is genuinely
21551
+ // interacting. On mount, updated('value') sets the flag, but the early
21552
+ // return at `this.value === this.input.value` exits before clearing it.
21553
+ // Without this, the first keystroke after mount fails to set _userTyped
21554
+ // and the bib doesn't open.
21555
+ if (this._programmaticFilterRefresh && this.componentHasFocus) {
21556
+ this._programmaticFilterRefresh = false;
21557
+ }
21558
+
21533
21559
  // 'input' fires for every user-initiated value change — typing, paste,
21534
21560
  // IME composition end, dead-key composition, drag-drop. Flip _userTyped
21535
21561
  // here so updated('availableOptions') auto-opens the bib for sources
@@ -21569,10 +21595,12 @@ class AuroCombobox extends AuroElement {
21569
21595
  inputResolver: (comp, ctx) => (ctx.isModal && comp.inputInBib ? comp.inputInBib : comp.input),
21570
21596
  });
21571
21597
 
21572
- this.addEventListener('focusin', () => {
21598
+ this.addEventListener('focusin', (event) => {
21573
21599
  this.touched = true;
21574
21600
 
21575
- this.focus();
21601
+ if (event.composedPath()[0] === this) {
21602
+ this.focus();
21603
+ }
21576
21604
  });
21577
21605
 
21578
21606
  this.addEventListener('auroFormElement-validated', (evt) => {
@@ -4904,7 +4904,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4904
4904
  }
4905
4905
  };
4906
4906
 
4907
- var formkitVersion$2 = '202607102138';
4907
+ var formkitVersion$2 = '202607152158';
4908
4908
 
4909
4909
  let AuroElement$2 = class AuroElement extends LitElement {
4910
4910
  static get properties() {
@@ -18526,7 +18526,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18526
18526
  }
18527
18527
  };
18528
18528
 
18529
- var formkitVersion$1 = '202607102138';
18529
+ var formkitVersion$1 = '202607152158';
18530
18530
 
18531
18531
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18532
18532
  // See LICENSE in the project root for license information.
@@ -18817,7 +18817,10 @@ class AuroInput extends BaseInput {
18817
18817
  // directly to auro-input's light DOM alongside the forwarder still
18818
18818
  // counts as content. The prior nodes[0].tagName === 'SLOT' recursion
18819
18819
  // discarded any siblings past the forwarder.
18820
- const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
18820
+ const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
18821
+ if (!slot) {
18822
+ return;
18823
+ }
18821
18824
  const nodes = slot.assignedNodes({ flatten: true });
18822
18825
 
18823
18826
  this.hasDisplayValueContent = nodes.length > 0;
@@ -19647,7 +19650,7 @@ class AuroBibtemplate extends LitElement {
19647
19650
  }
19648
19651
  }
19649
19652
 
19650
- var formkitVersion = '202607102138';
19653
+ var formkitVersion = '202607152158';
19651
19654
 
19652
19655
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
19653
19656
 
@@ -20684,14 +20687,28 @@ class AuroCombobox extends AuroElement {
20684
20687
  const displayValueEl = this.menu.optionSelected.querySelector("[slot='displayValue']");
20685
20688
  if (displayValueEl) {
20686
20689
  this.input.appendChild(displayValueEl.cloneNode(true));
20687
- // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20688
- // re-evaluate the slot and re-render so the displayValue wrapper
20689
- // gets its hasContent class. Without this, the apple/icon stays
20690
- // hidden when input.value is set in the same tick as the append.
20691
- if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20692
- this.input.checkDisplayValueSlotChange();
20693
- this.input.requestUpdate();
20694
- }
20690
+ }
20691
+
20692
+ // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20693
+ // re-evaluate the slot and re-render so the displayValue wrapper
20694
+ // gets its hasContent class. Without this, the apple/icon stays
20695
+ // hidden when input.value is set in the same tick as the append.
20696
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20697
+ this.input.checkDisplayValueSlotChange();
20698
+ this.input.requestUpdate();
20699
+ }
20700
+ } else if (this.value) {
20701
+ // No optionSelected yet (e.g. setMenuValue was called but the menu's
20702
+ // auroMenu-selectedOption event hasn't fired yet, or we're on remount
20703
+ // with no options loaded). Synthesize a displayValue from the value so
20704
+ // the overlay isn't blank.
20705
+ const syntheticDV = document.createElement('span');
20706
+ syntheticDV.setAttribute('slot', 'displayValue');
20707
+ syntheticDV.textContent = this.value;
20708
+ this.input.appendChild(syntheticDV);
20709
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20710
+ this.input.checkDisplayValueSlotChange();
20711
+ this.input.requestUpdate();
20695
20712
  }
20696
20713
  }
20697
20714
 
@@ -21441,6 +21458,15 @@ class AuroCombobox extends AuroElement {
21441
21458
  * @returns {void}
21442
21459
  */
21443
21460
  handleTriggerInputValueChange(event) {
21461
+ // Clear a stale _programmaticFilterRefresh when the user is genuinely
21462
+ // interacting. On mount, updated('value') sets the flag, but the early
21463
+ // return at `this.value === this.input.value` exits before clearing it.
21464
+ // Without this, the first keystroke after mount fails to set _userTyped
21465
+ // and the bib doesn't open.
21466
+ if (this._programmaticFilterRefresh && this.componentHasFocus) {
21467
+ this._programmaticFilterRefresh = false;
21468
+ }
21469
+
21444
21470
  // 'input' fires for every user-initiated value change — typing, paste,
21445
21471
  // IME composition end, dead-key composition, drag-drop. Flip _userTyped
21446
21472
  // here so updated('availableOptions') auto-opens the bib for sources
@@ -21480,10 +21506,12 @@ class AuroCombobox extends AuroElement {
21480
21506
  inputResolver: (comp, ctx) => (ctx.isModal && comp.inputInBib ? comp.inputInBib : comp.input),
21481
21507
  });
21482
21508
 
21483
- this.addEventListener('focusin', () => {
21509
+ this.addEventListener('focusin', (event) => {
21484
21510
  this.touched = true;
21485
21511
 
21486
- this.focus();
21512
+ if (event.composedPath()[0] === this) {
21513
+ this.focus();
21514
+ }
21487
21515
  });
21488
21516
 
21489
21517
  this.addEventListener('auroFormElement-validated', (evt) => {
@@ -4904,7 +4904,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4904
4904
  }
4905
4905
  };
4906
4906
 
4907
- var formkitVersion$2 = '202607102138';
4907
+ var formkitVersion$2 = '202607152158';
4908
4908
 
4909
4909
  let AuroElement$2 = class AuroElement extends LitElement {
4910
4910
  static get properties() {
@@ -18526,7 +18526,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18526
18526
  }
18527
18527
  };
18528
18528
 
18529
- var formkitVersion$1 = '202607102138';
18529
+ var formkitVersion$1 = '202607152158';
18530
18530
 
18531
18531
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18532
18532
  // See LICENSE in the project root for license information.
@@ -18817,7 +18817,10 @@ class AuroInput extends BaseInput {
18817
18817
  // directly to auro-input's light DOM alongside the forwarder still
18818
18818
  // counts as content. The prior nodes[0].tagName === 'SLOT' recursion
18819
18819
  // discarded any siblings past the forwarder.
18820
- const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
18820
+ const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
18821
+ if (!slot) {
18822
+ return;
18823
+ }
18821
18824
  const nodes = slot.assignedNodes({ flatten: true });
18822
18825
 
18823
18826
  this.hasDisplayValueContent = nodes.length > 0;
@@ -19647,7 +19650,7 @@ class AuroBibtemplate extends LitElement {
19647
19650
  }
19648
19651
  }
19649
19652
 
19650
- var formkitVersion = '202607102138';
19653
+ var formkitVersion = '202607152158';
19651
19654
 
19652
19655
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
19653
19656
 
@@ -20684,14 +20687,28 @@ class AuroCombobox extends AuroElement {
20684
20687
  const displayValueEl = this.menu.optionSelected.querySelector("[slot='displayValue']");
20685
20688
  if (displayValueEl) {
20686
20689
  this.input.appendChild(displayValueEl.cloneNode(true));
20687
- // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20688
- // re-evaluate the slot and re-render so the displayValue wrapper
20689
- // gets its hasContent class. Without this, the apple/icon stays
20690
- // hidden when input.value is set in the same tick as the append.
20691
- if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20692
- this.input.checkDisplayValueSlotChange();
20693
- this.input.requestUpdate();
20694
- }
20690
+ }
20691
+
20692
+ // auro-input's hasDisplayValueContent is non-reactive; nudge it to
20693
+ // re-evaluate the slot and re-render so the displayValue wrapper
20694
+ // gets its hasContent class. Without this, the apple/icon stays
20695
+ // hidden when input.value is set in the same tick as the append.
20696
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20697
+ this.input.checkDisplayValueSlotChange();
20698
+ this.input.requestUpdate();
20699
+ }
20700
+ } else if (this.value) {
20701
+ // No optionSelected yet (e.g. setMenuValue was called but the menu's
20702
+ // auroMenu-selectedOption event hasn't fired yet, or we're on remount
20703
+ // with no options loaded). Synthesize a displayValue from the value so
20704
+ // the overlay isn't blank.
20705
+ const syntheticDV = document.createElement('span');
20706
+ syntheticDV.setAttribute('slot', 'displayValue');
20707
+ syntheticDV.textContent = this.value;
20708
+ this.input.appendChild(syntheticDV);
20709
+ if (typeof this.input.checkDisplayValueSlotChange === 'function') {
20710
+ this.input.checkDisplayValueSlotChange();
20711
+ this.input.requestUpdate();
20695
20712
  }
20696
20713
  }
20697
20714
 
@@ -21441,6 +21458,15 @@ class AuroCombobox extends AuroElement {
21441
21458
  * @returns {void}
21442
21459
  */
21443
21460
  handleTriggerInputValueChange(event) {
21461
+ // Clear a stale _programmaticFilterRefresh when the user is genuinely
21462
+ // interacting. On mount, updated('value') sets the flag, but the early
21463
+ // return at `this.value === this.input.value` exits before clearing it.
21464
+ // Without this, the first keystroke after mount fails to set _userTyped
21465
+ // and the bib doesn't open.
21466
+ if (this._programmaticFilterRefresh && this.componentHasFocus) {
21467
+ this._programmaticFilterRefresh = false;
21468
+ }
21469
+
21444
21470
  // 'input' fires for every user-initiated value change — typing, paste,
21445
21471
  // IME composition end, dead-key composition, drag-drop. Flip _userTyped
21446
21472
  // here so updated('availableOptions') auto-opens the bib for sources
@@ -21480,10 +21506,12 @@ class AuroCombobox extends AuroElement {
21480
21506
  inputResolver: (comp, ctx) => (ctx.isModal && comp.inputInBib ? comp.inputInBib : comp.input),
21481
21507
  });
21482
21508
 
21483
- this.addEventListener('focusin', () => {
21509
+ this.addEventListener('focusin', (event) => {
21484
21510
  this.touched = true;
21485
21511
 
21486
- this.focus();
21512
+ if (event.composedPath()[0] === this) {
21513
+ this.focus();
21514
+ }
21487
21515
  });
21488
21516
 
21489
21517
  this.addEventListener('auroFormElement-validated', (evt) => {
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var formkitVersion$1 = '202607102138';
1117
+ var formkitVersion$1 = '202607152158';
1118
1118
 
1119
1119
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1120
1120
  // See LICENSE in the project root for license information.
@@ -5280,7 +5280,7 @@ class AuroHelpText extends i$2 {
5280
5280
  }
5281
5281
  }
5282
5282
 
5283
- var formkitVersion = '202607102138';
5283
+ var formkitVersion = '202607152158';
5284
5284
 
5285
5285
  let AuroElement$1 = class AuroElement extends i$2 {
5286
5286
  static get properties() {
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var formkitVersion$1 = '202607102138';
1117
+ var formkitVersion$1 = '202607152158';
1118
1118
 
1119
1119
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1120
1120
  // See LICENSE in the project root for license information.
@@ -5280,7 +5280,7 @@ class AuroHelpText extends i$2 {
5280
5280
  }
5281
5281
  }
5282
5282
 
5283
- var formkitVersion = '202607102138';
5283
+ var formkitVersion = '202607152158';
5284
5284
 
5285
5285
  let AuroElement$1 = class AuroElement extends i$2 {
5286
5286
  static get properties() {
@@ -1064,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1064
1064
  }
1065
1065
  };
1066
1066
 
1067
- var formkitVersion$1 = '202607102138';
1067
+ var formkitVersion$1 = '202607152158';
1068
1068
 
1069
1069
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1070
1070
  // See LICENSE in the project root for license information.
@@ -5212,7 +5212,7 @@ class AuroHelpText extends LitElement {
5212
5212
  }
5213
5213
  }
5214
5214
 
5215
- var formkitVersion = '202607102138';
5215
+ var formkitVersion = '202607152158';
5216
5216
 
5217
5217
  let AuroElement$1 = class AuroElement extends LitElement {
5218
5218
  static get properties() {