@aurodesignsystem-dev/auro-formkit 0.0.0-pr1554.3 → 0.0.0-pr1554.5

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 (43) 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 +32 -8
  7. package/components/combobox/demo/getting-started.min.js +32 -8
  8. package/components/combobox/demo/index.min.js +32 -8
  9. package/components/combobox/dist/index.js +32 -8
  10. package/components/combobox/dist/registered.js +32 -8
  11. package/components/counter/demo/customize.min.js +17 -5
  12. package/components/counter/demo/index.min.js +17 -5
  13. package/components/counter/dist/index.js +17 -5
  14. package/components/counter/dist/registered.js +17 -5
  15. package/components/datepicker/demo/customize.min.js +32 -8
  16. package/components/datepicker/demo/index.min.js +32 -8
  17. package/components/datepicker/dist/index.js +32 -8
  18. package/components/datepicker/dist/registered.js +32 -8
  19. package/components/dropdown/demo/customize.min.js +16 -4
  20. package/components/dropdown/demo/getting-started.min.js +16 -4
  21. package/components/dropdown/demo/index.min.js +16 -4
  22. package/components/dropdown/dist/index.js +16 -4
  23. package/components/dropdown/dist/registered.js +16 -4
  24. package/components/form/demo/customize.min.js +115 -31
  25. package/components/form/demo/getting-started.min.js +115 -31
  26. package/components/form/demo/index.min.js +115 -31
  27. package/components/form/demo/registerDemoDeps.min.js +115 -31
  28. package/components/input/demo/customize.min.js +15 -3
  29. package/components/input/demo/getting-started.min.js +15 -3
  30. package/components/input/demo/index.min.js +15 -3
  31. package/components/input/dist/index.js +15 -3
  32. package/components/input/dist/registered.js +15 -3
  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 +17 -5
  39. package/components/select/demo/getting-started.min.js +17 -5
  40. package/components/select/demo/index.min.js +17 -5
  41. package/components/select/dist/index.js +17 -5
  42. package/components/select/dist/registered.js +17 -5
  43. package/package.json +1 -1
@@ -1275,7 +1275,7 @@ class AuroHelpText extends i$2 {
1275
1275
  }
1276
1276
  }
1277
1277
 
1278
- var formkitVersion = '202607160513';
1278
+ var formkitVersion = '202607160603';
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 = '202607160513';
1278
+ var formkitVersion = '202607160603';
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 = '202607160513';
1278
+ var formkitVersion = '202607160603';
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 = '202607160513';
1231
+ var formkitVersion = '202607160603';
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 = '202607160513';
1231
+ var formkitVersion = '202607160603';
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 = '202607160513';
4974
+ var formkitVersion$2 = '202607160603';
4975
4975
 
4976
4976
  let AuroElement$2 = class AuroElement extends i$3 {
4977
4977
  static get properties() {
@@ -5285,9 +5285,21 @@ class AuroDropdown extends AuroElement$2 {
5285
5285
  const slot = this.trigger.querySelector('slot[name="trigger"]');
5286
5286
  if (slot) {
5287
5287
  const assigned = slot.assignedElements();
5288
- const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
5289
- if (focusable) {
5290
- focusable.focus();
5288
+ for (const el of assigned) {
5289
+ if (el.hasAttribute('disabled')) {
5290
+ continue;
5291
+ }
5292
+ // Try focusing the assigned element directly (works for focusable
5293
+ // components like auro-input that have delegatesFocus or a custom
5294
+ // focus() method). If it's a non-focusable wrapper (e.g. <div>
5295
+ // containing a <button>), find the first focusable descendant.
5296
+ const focusables = getFocusableElements(el);
5297
+ if (focusables.length > 0) {
5298
+ focusables[0].focus();
5299
+ return;
5300
+ }
5301
+ // Element itself might be focusable (custom element with focus())
5302
+ el.focus();
5291
5303
  return;
5292
5304
  }
5293
5305
  }
@@ -18631,7 +18643,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18631
18643
  }
18632
18644
  };
18633
18645
 
18634
- var formkitVersion$1 = '202607160513';
18646
+ var formkitVersion$1 = '202607160603';
18635
18647
 
18636
18648
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18637
18649
  // See LICENSE in the project root for license information.
@@ -18922,8 +18934,15 @@ class AuroInput extends BaseInput {
18922
18934
  // Shadow slot not yet rendered — fall back to checking light-DOM
18923
18935
  // children so hasDisplayValueContent isn't stuck false when called
18924
18936
  // before firstUpdated (e.g. from auro-combobox during mount).
18937
+ // Check for any element (including custom elements like <auro-icon>
18938
+ // that render via shadow DOM with no text content).
18925
18939
  const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
18926
- this.hasDisplayValueContent = Boolean(lightDomContent && lightDomContent.textContent.trim().length > 0);
18940
+ this.hasDisplayValueContent = Boolean(lightDomContent && (
18941
+ lightDomContent.textContent.trim().length > 0 ||
18942
+ lightDomContent.children.length > 0 ||
18943
+ lightDomContent.shadowRoot !== null
18944
+ ));
18945
+ this.requestUpdate();
18927
18946
  return;
18928
18947
  }
18929
18948
  const nodes = slot.assignedNodes({ flatten: true });
@@ -18934,15 +18953,20 @@ class AuroInput extends BaseInput {
18934
18953
  // displayValue wrapper to render (with hasContent class) but show
18935
18954
  // nothing, blocking the combobox's synthetic displayValue from
18936
18955
  // being visible on preset/deeplink load.
18956
+ // Custom elements (e.g. <auro-icon>) that render via shadow DOM are
18957
+ // treated as content even when they have no text or light-DOM children.
18937
18958
  this.hasDisplayValueContent = nodes.some((node) => {
18938
18959
  if (node.nodeType === Node.TEXT_NODE) {
18939
18960
  return node.textContent.trim().length > 0;
18940
18961
  }
18941
18962
  if (node.nodeType === Node.ELEMENT_NODE) {
18942
- return node.textContent.trim().length > 0 || node.children.length > 0;
18963
+ return node.textContent.trim().length > 0 ||
18964
+ node.children.length > 0 ||
18965
+ node.shadowRoot !== null;
18943
18966
  }
18944
18967
  return false;
18945
18968
  });
18969
+ this.requestUpdate();
18946
18970
  }
18947
18971
 
18948
18972
  firstUpdated() {
@@ -19769,7 +19793,7 @@ class AuroBibtemplate extends i$3 {
19769
19793
  }
19770
19794
  }
19771
19795
 
19772
- var formkitVersion = '202607160513';
19796
+ var formkitVersion = '202607160603';
19773
19797
 
19774
19798
  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}`;
19775
19799
 
@@ -4971,7 +4971,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4971
4971
  }
4972
4972
  };
4973
4973
 
4974
- var formkitVersion$2 = '202607160513';
4974
+ var formkitVersion$2 = '202607160603';
4975
4975
 
4976
4976
  let AuroElement$2 = class AuroElement extends i$3 {
4977
4977
  static get properties() {
@@ -5285,9 +5285,21 @@ class AuroDropdown extends AuroElement$2 {
5285
5285
  const slot = this.trigger.querySelector('slot[name="trigger"]');
5286
5286
  if (slot) {
5287
5287
  const assigned = slot.assignedElements();
5288
- const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
5289
- if (focusable) {
5290
- focusable.focus();
5288
+ for (const el of assigned) {
5289
+ if (el.hasAttribute('disabled')) {
5290
+ continue;
5291
+ }
5292
+ // Try focusing the assigned element directly (works for focusable
5293
+ // components like auro-input that have delegatesFocus or a custom
5294
+ // focus() method). If it's a non-focusable wrapper (e.g. <div>
5295
+ // containing a <button>), find the first focusable descendant.
5296
+ const focusables = getFocusableElements(el);
5297
+ if (focusables.length > 0) {
5298
+ focusables[0].focus();
5299
+ return;
5300
+ }
5301
+ // Element itself might be focusable (custom element with focus())
5302
+ el.focus();
5291
5303
  return;
5292
5304
  }
5293
5305
  }
@@ -18631,7 +18643,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18631
18643
  }
18632
18644
  };
18633
18645
 
18634
- var formkitVersion$1 = '202607160513';
18646
+ var formkitVersion$1 = '202607160603';
18635
18647
 
18636
18648
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18637
18649
  // See LICENSE in the project root for license information.
@@ -18922,8 +18934,15 @@ class AuroInput extends BaseInput {
18922
18934
  // Shadow slot not yet rendered — fall back to checking light-DOM
18923
18935
  // children so hasDisplayValueContent isn't stuck false when called
18924
18936
  // before firstUpdated (e.g. from auro-combobox during mount).
18937
+ // Check for any element (including custom elements like <auro-icon>
18938
+ // that render via shadow DOM with no text content).
18925
18939
  const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
18926
- this.hasDisplayValueContent = Boolean(lightDomContent && lightDomContent.textContent.trim().length > 0);
18940
+ this.hasDisplayValueContent = Boolean(lightDomContent && (
18941
+ lightDomContent.textContent.trim().length > 0 ||
18942
+ lightDomContent.children.length > 0 ||
18943
+ lightDomContent.shadowRoot !== null
18944
+ ));
18945
+ this.requestUpdate();
18927
18946
  return;
18928
18947
  }
18929
18948
  const nodes = slot.assignedNodes({ flatten: true });
@@ -18934,15 +18953,20 @@ class AuroInput extends BaseInput {
18934
18953
  // displayValue wrapper to render (with hasContent class) but show
18935
18954
  // nothing, blocking the combobox's synthetic displayValue from
18936
18955
  // being visible on preset/deeplink load.
18956
+ // Custom elements (e.g. <auro-icon>) that render via shadow DOM are
18957
+ // treated as content even when they have no text or light-DOM children.
18937
18958
  this.hasDisplayValueContent = nodes.some((node) => {
18938
18959
  if (node.nodeType === Node.TEXT_NODE) {
18939
18960
  return node.textContent.trim().length > 0;
18940
18961
  }
18941
18962
  if (node.nodeType === Node.ELEMENT_NODE) {
18942
- return node.textContent.trim().length > 0 || node.children.length > 0;
18963
+ return node.textContent.trim().length > 0 ||
18964
+ node.children.length > 0 ||
18965
+ node.shadowRoot !== null;
18943
18966
  }
18944
18967
  return false;
18945
18968
  });
18969
+ this.requestUpdate();
18946
18970
  }
18947
18971
 
18948
18972
  firstUpdated() {
@@ -19769,7 +19793,7 @@ class AuroBibtemplate extends i$3 {
19769
19793
  }
19770
19794
  }
19771
19795
 
19772
- var formkitVersion = '202607160513';
19796
+ var formkitVersion = '202607160603';
19773
19797
 
19774
19798
  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}`;
19775
19799
 
@@ -4986,7 +4986,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4986
4986
  }
4987
4987
  };
4988
4988
 
4989
- var formkitVersion$2 = '202607160513';
4989
+ var formkitVersion$2 = '202607160603';
4990
4990
 
4991
4991
  let AuroElement$2 = class AuroElement extends i$3 {
4992
4992
  static get properties() {
@@ -5300,9 +5300,21 @@ class AuroDropdown extends AuroElement$2 {
5300
5300
  const slot = this.trigger.querySelector('slot[name="trigger"]');
5301
5301
  if (slot) {
5302
5302
  const assigned = slot.assignedElements();
5303
- const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
5304
- if (focusable) {
5305
- focusable.focus();
5303
+ for (const el of assigned) {
5304
+ if (el.hasAttribute('disabled')) {
5305
+ continue;
5306
+ }
5307
+ // Try focusing the assigned element directly (works for focusable
5308
+ // components like auro-input that have delegatesFocus or a custom
5309
+ // focus() method). If it's a non-focusable wrapper (e.g. <div>
5310
+ // containing a <button>), find the first focusable descendant.
5311
+ const focusables = getFocusableElements(el);
5312
+ if (focusables.length > 0) {
5313
+ focusables[0].focus();
5314
+ return;
5315
+ }
5316
+ // Element itself might be focusable (custom element with focus())
5317
+ el.focus();
5306
5318
  return;
5307
5319
  }
5308
5320
  }
@@ -18646,7 +18658,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
18646
18658
  }
18647
18659
  };
18648
18660
 
18649
- var formkitVersion$1 = '202607160513';
18661
+ var formkitVersion$1 = '202607160603';
18650
18662
 
18651
18663
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18652
18664
  // See LICENSE in the project root for license information.
@@ -18937,8 +18949,15 @@ class AuroInput extends BaseInput {
18937
18949
  // Shadow slot not yet rendered — fall back to checking light-DOM
18938
18950
  // children so hasDisplayValueContent isn't stuck false when called
18939
18951
  // before firstUpdated (e.g. from auro-combobox during mount).
18952
+ // Check for any element (including custom elements like <auro-icon>
18953
+ // that render via shadow DOM with no text content).
18940
18954
  const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
18941
- this.hasDisplayValueContent = Boolean(lightDomContent && lightDomContent.textContent.trim().length > 0);
18955
+ this.hasDisplayValueContent = Boolean(lightDomContent && (
18956
+ lightDomContent.textContent.trim().length > 0 ||
18957
+ lightDomContent.children.length > 0 ||
18958
+ lightDomContent.shadowRoot !== null
18959
+ ));
18960
+ this.requestUpdate();
18942
18961
  return;
18943
18962
  }
18944
18963
  const nodes = slot.assignedNodes({ flatten: true });
@@ -18949,15 +18968,20 @@ class AuroInput extends BaseInput {
18949
18968
  // displayValue wrapper to render (with hasContent class) but show
18950
18969
  // nothing, blocking the combobox's synthetic displayValue from
18951
18970
  // being visible on preset/deeplink load.
18971
+ // Custom elements (e.g. <auro-icon>) that render via shadow DOM are
18972
+ // treated as content even when they have no text or light-DOM children.
18952
18973
  this.hasDisplayValueContent = nodes.some((node) => {
18953
18974
  if (node.nodeType === Node.TEXT_NODE) {
18954
18975
  return node.textContent.trim().length > 0;
18955
18976
  }
18956
18977
  if (node.nodeType === Node.ELEMENT_NODE) {
18957
- return node.textContent.trim().length > 0 || node.children.length > 0;
18978
+ return node.textContent.trim().length > 0 ||
18979
+ node.children.length > 0 ||
18980
+ node.shadowRoot !== null;
18958
18981
  }
18959
18982
  return false;
18960
18983
  });
18984
+ this.requestUpdate();
18961
18985
  }
18962
18986
 
18963
18987
  firstUpdated() {
@@ -19784,7 +19808,7 @@ class AuroBibtemplate extends i$3 {
19784
19808
  }
19785
19809
  }
19786
19810
 
19787
- var formkitVersion = '202607160513';
19811
+ var formkitVersion = '202607160603';
19788
19812
 
19789
19813
  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}`;
19790
19814
 
@@ -4904,7 +4904,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4904
4904
  }
4905
4905
  };
4906
4906
 
4907
- var formkitVersion$2 = '202607160513';
4907
+ var formkitVersion$2 = '202607160603';
4908
4908
 
4909
4909
  let AuroElement$2 = class AuroElement extends LitElement {
4910
4910
  static get properties() {
@@ -5218,9 +5218,21 @@ class AuroDropdown extends AuroElement$2 {
5218
5218
  const slot = this.trigger.querySelector('slot[name="trigger"]');
5219
5219
  if (slot) {
5220
5220
  const assigned = slot.assignedElements();
5221
- const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
5222
- if (focusable) {
5223
- focusable.focus();
5221
+ for (const el of assigned) {
5222
+ if (el.hasAttribute('disabled')) {
5223
+ continue;
5224
+ }
5225
+ // Try focusing the assigned element directly (works for focusable
5226
+ // components like auro-input that have delegatesFocus or a custom
5227
+ // focus() method). If it's a non-focusable wrapper (e.g. <div>
5228
+ // containing a <button>), find the first focusable descendant.
5229
+ const focusables = getFocusableElements(el);
5230
+ if (focusables.length > 0) {
5231
+ focusables[0].focus();
5232
+ return;
5233
+ }
5234
+ // Element itself might be focusable (custom element with focus())
5235
+ el.focus();
5224
5236
  return;
5225
5237
  }
5226
5238
  }
@@ -18557,7 +18569,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18557
18569
  }
18558
18570
  };
18559
18571
 
18560
- var formkitVersion$1 = '202607160513';
18572
+ var formkitVersion$1 = '202607160603';
18561
18573
 
18562
18574
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18563
18575
  // See LICENSE in the project root for license information.
@@ -18848,8 +18860,15 @@ class AuroInput extends BaseInput {
18848
18860
  // Shadow slot not yet rendered — fall back to checking light-DOM
18849
18861
  // children so hasDisplayValueContent isn't stuck false when called
18850
18862
  // before firstUpdated (e.g. from auro-combobox during mount).
18863
+ // Check for any element (including custom elements like <auro-icon>
18864
+ // that render via shadow DOM with no text content).
18851
18865
  const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
18852
- this.hasDisplayValueContent = Boolean(lightDomContent && lightDomContent.textContent.trim().length > 0);
18866
+ this.hasDisplayValueContent = Boolean(lightDomContent && (
18867
+ lightDomContent.textContent.trim().length > 0 ||
18868
+ lightDomContent.children.length > 0 ||
18869
+ lightDomContent.shadowRoot !== null
18870
+ ));
18871
+ this.requestUpdate();
18853
18872
  return;
18854
18873
  }
18855
18874
  const nodes = slot.assignedNodes({ flatten: true });
@@ -18860,15 +18879,20 @@ class AuroInput extends BaseInput {
18860
18879
  // displayValue wrapper to render (with hasContent class) but show
18861
18880
  // nothing, blocking the combobox's synthetic displayValue from
18862
18881
  // being visible on preset/deeplink load.
18882
+ // Custom elements (e.g. <auro-icon>) that render via shadow DOM are
18883
+ // treated as content even when they have no text or light-DOM children.
18863
18884
  this.hasDisplayValueContent = nodes.some((node) => {
18864
18885
  if (node.nodeType === Node.TEXT_NODE) {
18865
18886
  return node.textContent.trim().length > 0;
18866
18887
  }
18867
18888
  if (node.nodeType === Node.ELEMENT_NODE) {
18868
- return node.textContent.trim().length > 0 || node.children.length > 0;
18889
+ return node.textContent.trim().length > 0 ||
18890
+ node.children.length > 0 ||
18891
+ node.shadowRoot !== null;
18869
18892
  }
18870
18893
  return false;
18871
18894
  });
18895
+ this.requestUpdate();
18872
18896
  }
18873
18897
 
18874
18898
  firstUpdated() {
@@ -19695,7 +19719,7 @@ class AuroBibtemplate extends LitElement {
19695
19719
  }
19696
19720
  }
19697
19721
 
19698
- var formkitVersion = '202607160513';
19722
+ var formkitVersion = '202607160603';
19699
19723
 
19700
19724
  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}`;
19701
19725
 
@@ -4904,7 +4904,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4904
4904
  }
4905
4905
  };
4906
4906
 
4907
- var formkitVersion$2 = '202607160513';
4907
+ var formkitVersion$2 = '202607160603';
4908
4908
 
4909
4909
  let AuroElement$2 = class AuroElement extends LitElement {
4910
4910
  static get properties() {
@@ -5218,9 +5218,21 @@ class AuroDropdown extends AuroElement$2 {
5218
5218
  const slot = this.trigger.querySelector('slot[name="trigger"]');
5219
5219
  if (slot) {
5220
5220
  const assigned = slot.assignedElements();
5221
- const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
5222
- if (focusable) {
5223
- focusable.focus();
5221
+ for (const el of assigned) {
5222
+ if (el.hasAttribute('disabled')) {
5223
+ continue;
5224
+ }
5225
+ // Try focusing the assigned element directly (works for focusable
5226
+ // components like auro-input that have delegatesFocus or a custom
5227
+ // focus() method). If it's a non-focusable wrapper (e.g. <div>
5228
+ // containing a <button>), find the first focusable descendant.
5229
+ const focusables = getFocusableElements(el);
5230
+ if (focusables.length > 0) {
5231
+ focusables[0].focus();
5232
+ return;
5233
+ }
5234
+ // Element itself might be focusable (custom element with focus())
5235
+ el.focus();
5224
5236
  return;
5225
5237
  }
5226
5238
  }
@@ -18557,7 +18569,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18557
18569
  }
18558
18570
  };
18559
18571
 
18560
- var formkitVersion$1 = '202607160513';
18572
+ var formkitVersion$1 = '202607160603';
18561
18573
 
18562
18574
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18563
18575
  // See LICENSE in the project root for license information.
@@ -18848,8 +18860,15 @@ class AuroInput extends BaseInput {
18848
18860
  // Shadow slot not yet rendered — fall back to checking light-DOM
18849
18861
  // children so hasDisplayValueContent isn't stuck false when called
18850
18862
  // before firstUpdated (e.g. from auro-combobox during mount).
18863
+ // Check for any element (including custom elements like <auro-icon>
18864
+ // that render via shadow DOM with no text content).
18851
18865
  const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
18852
- this.hasDisplayValueContent = Boolean(lightDomContent && lightDomContent.textContent.trim().length > 0);
18866
+ this.hasDisplayValueContent = Boolean(lightDomContent && (
18867
+ lightDomContent.textContent.trim().length > 0 ||
18868
+ lightDomContent.children.length > 0 ||
18869
+ lightDomContent.shadowRoot !== null
18870
+ ));
18871
+ this.requestUpdate();
18853
18872
  return;
18854
18873
  }
18855
18874
  const nodes = slot.assignedNodes({ flatten: true });
@@ -18860,15 +18879,20 @@ class AuroInput extends BaseInput {
18860
18879
  // displayValue wrapper to render (with hasContent class) but show
18861
18880
  // nothing, blocking the combobox's synthetic displayValue from
18862
18881
  // being visible on preset/deeplink load.
18882
+ // Custom elements (e.g. <auro-icon>) that render via shadow DOM are
18883
+ // treated as content even when they have no text or light-DOM children.
18863
18884
  this.hasDisplayValueContent = nodes.some((node) => {
18864
18885
  if (node.nodeType === Node.TEXT_NODE) {
18865
18886
  return node.textContent.trim().length > 0;
18866
18887
  }
18867
18888
  if (node.nodeType === Node.ELEMENT_NODE) {
18868
- return node.textContent.trim().length > 0 || node.children.length > 0;
18889
+ return node.textContent.trim().length > 0 ||
18890
+ node.children.length > 0 ||
18891
+ node.shadowRoot !== null;
18869
18892
  }
18870
18893
  return false;
18871
18894
  });
18895
+ this.requestUpdate();
18872
18896
  }
18873
18897
 
18874
18898
  firstUpdated() {
@@ -19695,7 +19719,7 @@ class AuroBibtemplate extends LitElement {
19695
19719
  }
19696
19720
  }
19697
19721
 
19698
- var formkitVersion = '202607160513';
19722
+ var formkitVersion = '202607160603';
19699
19723
 
19700
19724
  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}`;
19701
19725
 
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var formkitVersion$1 = '202607160513';
1117
+ var formkitVersion$1 = '202607160603';
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 = '202607160513';
5283
+ var formkitVersion = '202607160603';
5284
5284
 
5285
5285
  let AuroElement$1 = class AuroElement extends i$2 {
5286
5286
  static get properties() {
@@ -5594,9 +5594,21 @@ class AuroDropdown extends AuroElement$1 {
5594
5594
  const slot = this.trigger.querySelector('slot[name="trigger"]');
5595
5595
  if (slot) {
5596
5596
  const assigned = slot.assignedElements();
5597
- const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
5598
- if (focusable) {
5599
- focusable.focus();
5597
+ for (const el of assigned) {
5598
+ if (el.hasAttribute('disabled')) {
5599
+ continue;
5600
+ }
5601
+ // Try focusing the assigned element directly (works for focusable
5602
+ // components like auro-input that have delegatesFocus or a custom
5603
+ // focus() method). If it's a non-focusable wrapper (e.g. <div>
5604
+ // containing a <button>), find the first focusable descendant.
5605
+ const focusables = getFocusableElements(el);
5606
+ if (focusables.length > 0) {
5607
+ focusables[0].focus();
5608
+ return;
5609
+ }
5610
+ // Element itself might be focusable (custom element with focus())
5611
+ el.focus();
5600
5612
  return;
5601
5613
  }
5602
5614
  }
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var formkitVersion$1 = '202607160513';
1117
+ var formkitVersion$1 = '202607160603';
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 = '202607160513';
5283
+ var formkitVersion = '202607160603';
5284
5284
 
5285
5285
  let AuroElement$1 = class AuroElement extends i$2 {
5286
5286
  static get properties() {
@@ -5594,9 +5594,21 @@ class AuroDropdown extends AuroElement$1 {
5594
5594
  const slot = this.trigger.querySelector('slot[name="trigger"]');
5595
5595
  if (slot) {
5596
5596
  const assigned = slot.assignedElements();
5597
- const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
5598
- if (focusable) {
5599
- focusable.focus();
5597
+ for (const el of assigned) {
5598
+ if (el.hasAttribute('disabled')) {
5599
+ continue;
5600
+ }
5601
+ // Try focusing the assigned element directly (works for focusable
5602
+ // components like auro-input that have delegatesFocus or a custom
5603
+ // focus() method). If it's a non-focusable wrapper (e.g. <div>
5604
+ // containing a <button>), find the first focusable descendant.
5605
+ const focusables = getFocusableElements(el);
5606
+ if (focusables.length > 0) {
5607
+ focusables[0].focus();
5608
+ return;
5609
+ }
5610
+ // Element itself might be focusable (custom element with focus())
5611
+ el.focus();
5600
5612
  return;
5601
5613
  }
5602
5614
  }
@@ -1064,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1064
1064
  }
1065
1065
  };
1066
1066
 
1067
- var formkitVersion$1 = '202607160513';
1067
+ var formkitVersion$1 = '202607160603';
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 = '202607160513';
5215
+ var formkitVersion = '202607160603';
5216
5216
 
5217
5217
  let AuroElement$1 = class AuroElement extends LitElement {
5218
5218
  static get properties() {
@@ -5526,9 +5526,21 @@ class AuroDropdown extends AuroElement$1 {
5526
5526
  const slot = this.trigger.querySelector('slot[name="trigger"]');
5527
5527
  if (slot) {
5528
5528
  const assigned = slot.assignedElements();
5529
- const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
5530
- if (focusable) {
5531
- focusable.focus();
5529
+ for (const el of assigned) {
5530
+ if (el.hasAttribute('disabled')) {
5531
+ continue;
5532
+ }
5533
+ // Try focusing the assigned element directly (works for focusable
5534
+ // components like auro-input that have delegatesFocus or a custom
5535
+ // focus() method). If it's a non-focusable wrapper (e.g. <div>
5536
+ // containing a <button>), find the first focusable descendant.
5537
+ const focusables = getFocusableElements(el);
5538
+ if (focusables.length > 0) {
5539
+ focusables[0].focus();
5540
+ return;
5541
+ }
5542
+ // Element itself might be focusable (custom element with focus())
5543
+ el.focus();
5532
5544
  return;
5533
5545
  }
5534
5546
  }