@aurodesignsystem-dev/auro-formkit 0.0.0-pr1475.2 → 0.0.0-pr1475.4

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 (47) 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 +22 -3
  7. package/components/combobox/demo/getting-started.min.js +22 -3
  8. package/components/combobox/demo/index.min.js +22 -3
  9. package/components/combobox/dist/index.js +22 -3
  10. package/components/combobox/dist/registered.js +22 -3
  11. package/components/counter/demo/customize.min.js +21 -2
  12. package/components/counter/demo/index.min.js +21 -2
  13. package/components/counter/dist/index.js +45 -441
  14. package/components/counter/dist/registered.js +1 -1
  15. package/components/datepicker/demo/customize.min.js +126 -49
  16. package/components/datepicker/demo/index.js +4 -1
  17. package/components/datepicker/demo/index.md +2 -2
  18. package/components/datepicker/demo/index.min.js +131 -51
  19. package/components/datepicker/dist/index.js +126 -49
  20. package/components/datepicker/dist/registered.js +126 -49
  21. package/components/datepicker/dist/src/auro-calendar-cell.d.ts +13 -9
  22. package/components/dropdown/demo/customize.min.js +20 -1
  23. package/components/dropdown/demo/getting-started.min.js +20 -1
  24. package/components/dropdown/demo/index.min.js +20 -1
  25. package/components/dropdown/dist/index.js +20 -1
  26. package/components/dropdown/dist/registered.js +20 -1
  27. package/components/form/demo/customize.min.js +1042 -908
  28. package/components/form/demo/getting-started.min.js +1042 -908
  29. package/components/form/demo/index.min.js +1042 -908
  30. package/components/form/demo/registerDemoDeps.min.js +1037 -903
  31. package/components/input/demo/customize.min.js +1 -1
  32. package/components/input/demo/getting-started.min.js +1 -1
  33. package/components/input/demo/index.min.js +1 -1
  34. package/components/input/dist/index.js +1 -1
  35. package/components/input/dist/registered.js +1 -1
  36. package/components/radio/demo/customize.min.js +1 -1
  37. package/components/radio/demo/getting-started.min.js +1 -1
  38. package/components/radio/demo/index.min.js +1 -1
  39. package/components/radio/dist/index.js +1 -1
  40. package/components/radio/dist/registered.js +1 -1
  41. package/components/select/demo/customize.min.js +21 -2
  42. package/components/select/demo/getting-started.min.js +21 -2
  43. package/components/select/demo/index.min.js +21 -2
  44. package/components/select/dist/index.js +21 -2
  45. package/components/select/dist/registered.js +21 -2
  46. package/custom-elements.json +13 -22
  47. package/package.json +1 -1
@@ -1682,7 +1682,7 @@ class AuroHelpText extends i$2 {
1682
1682
  }
1683
1683
  }
1684
1684
 
1685
- var formkitVersion = '202605182240';
1685
+ var formkitVersion = '202605190056';
1686
1686
 
1687
1687
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1688
1688
  // See LICENSE in the project root for license information.
@@ -1682,7 +1682,7 @@ class AuroHelpText extends i$2 {
1682
1682
  }
1683
1683
  }
1684
1684
 
1685
- var formkitVersion = '202605182240';
1685
+ var formkitVersion = '202605190056';
1686
1686
 
1687
1687
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1688
1688
  // See LICENSE in the project root for license information.
@@ -1682,7 +1682,7 @@ class AuroHelpText extends i$2 {
1682
1682
  }
1683
1683
  }
1684
1684
 
1685
- var formkitVersion = '202605182240';
1685
+ var formkitVersion = '202605190056';
1686
1686
 
1687
1687
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1688
1688
  // See LICENSE in the project root for license information.
@@ -1635,7 +1635,7 @@ class AuroHelpText extends LitElement {
1635
1635
  }
1636
1636
  }
1637
1637
 
1638
- var formkitVersion = '202605182240';
1638
+ var formkitVersion = '202605190056';
1639
1639
 
1640
1640
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1641
1641
  // See LICENSE in the project root for license information.
@@ -1635,7 +1635,7 @@ class AuroHelpText extends LitElement {
1635
1635
  }
1636
1636
  }
1637
1637
 
1638
- var formkitVersion = '202605182240';
1638
+ var formkitVersion = '202605190056';
1639
1639
 
1640
1640
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1641
1641
  // See LICENSE in the project root for license information.
@@ -5278,7 +5278,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5278
5278
  }
5279
5279
  };
5280
5280
 
5281
- var formkitVersion$2 = '202605182240';
5281
+ var formkitVersion$2 = '202605190056';
5282
5282
 
5283
5283
  let AuroElement$2 = class AuroElement extends i$4 {
5284
5284
  static get properties() {
@@ -5999,6 +5999,17 @@ class AuroDropdown extends AuroElement$2 {
5999
5999
  this._clearPageInert();
6000
6000
  }
6001
6001
  }
6002
+
6003
+ // Handle desktopModal toggled while the dropdown is already open.
6004
+ // Re-initialize focus trapping and page inert state to match the new mode.
6005
+ if (changedProperties.has('desktopModal') && this.isPopoverVisible && !this.isBibFullscreen) {
6006
+ this.updateFocusTrap();
6007
+ if (this.desktopModal) {
6008
+ this._setPageInert();
6009
+ } else {
6010
+ this._clearPageInert();
6011
+ }
6012
+ }
6002
6013
  }
6003
6014
 
6004
6015
  /**
@@ -6199,6 +6210,14 @@ class AuroDropdown extends AuroElement$2 {
6199
6210
  }
6200
6211
  };
6201
6212
  this.addEventListener('keydown', this._bibTabHandler);
6213
+
6214
+ // Move initial focus into the bib content, matching FocusTrap behavior
6215
+ requestAnimationFrame(() => {
6216
+ const focusables = getFocusableElements(this.bibContent);
6217
+ if (focusables.length) {
6218
+ focusables[0].focus();
6219
+ }
6220
+ });
6202
6221
  } else {
6203
6222
  // Normal desktop: use FocusTrap on the bib element
6204
6223
  this.focusTrap = new FocusTrap(this.bibContent);
@@ -13219,7 +13238,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
13219
13238
  }
13220
13239
  };
13221
13240
 
13222
- var formkitVersion$1 = '202605182240';
13241
+ var formkitVersion$1 = '202605190056';
13223
13242
 
13224
13243
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13225
13244
  // See LICENSE in the project root for license information.
@@ -14292,7 +14311,7 @@ class AuroBibtemplate extends i$4 {
14292
14311
  }
14293
14312
  }
14294
14313
 
14295
- var formkitVersion = '202605182240';
14314
+ var formkitVersion = '202605190056';
14296
14315
 
14297
14316
  var styleCss$3 = i$7`.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}`;
14298
14317
 
@@ -5278,7 +5278,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5278
5278
  }
5279
5279
  };
5280
5280
 
5281
- var formkitVersion$2 = '202605182240';
5281
+ var formkitVersion$2 = '202605190056';
5282
5282
 
5283
5283
  let AuroElement$2 = class AuroElement extends i$4 {
5284
5284
  static get properties() {
@@ -5999,6 +5999,17 @@ class AuroDropdown extends AuroElement$2 {
5999
5999
  this._clearPageInert();
6000
6000
  }
6001
6001
  }
6002
+
6003
+ // Handle desktopModal toggled while the dropdown is already open.
6004
+ // Re-initialize focus trapping and page inert state to match the new mode.
6005
+ if (changedProperties.has('desktopModal') && this.isPopoverVisible && !this.isBibFullscreen) {
6006
+ this.updateFocusTrap();
6007
+ if (this.desktopModal) {
6008
+ this._setPageInert();
6009
+ } else {
6010
+ this._clearPageInert();
6011
+ }
6012
+ }
6002
6013
  }
6003
6014
 
6004
6015
  /**
@@ -6199,6 +6210,14 @@ class AuroDropdown extends AuroElement$2 {
6199
6210
  }
6200
6211
  };
6201
6212
  this.addEventListener('keydown', this._bibTabHandler);
6213
+
6214
+ // Move initial focus into the bib content, matching FocusTrap behavior
6215
+ requestAnimationFrame(() => {
6216
+ const focusables = getFocusableElements(this.bibContent);
6217
+ if (focusables.length) {
6218
+ focusables[0].focus();
6219
+ }
6220
+ });
6202
6221
  } else {
6203
6222
  // Normal desktop: use FocusTrap on the bib element
6204
6223
  this.focusTrap = new FocusTrap(this.bibContent);
@@ -13219,7 +13238,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
13219
13238
  }
13220
13239
  };
13221
13240
 
13222
- var formkitVersion$1 = '202605182240';
13241
+ var formkitVersion$1 = '202605190056';
13223
13242
 
13224
13243
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13225
13244
  // See LICENSE in the project root for license information.
@@ -14292,7 +14311,7 @@ class AuroBibtemplate extends i$4 {
14292
14311
  }
14293
14312
  }
14294
14313
 
14295
- var formkitVersion = '202605182240';
14314
+ var formkitVersion = '202605190056';
14296
14315
 
14297
14316
  var styleCss$3 = i$7`.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}`;
14298
14317
 
@@ -5293,7 +5293,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5293
5293
  }
5294
5294
  };
5295
5295
 
5296
- var formkitVersion$2 = '202605182240';
5296
+ var formkitVersion$2 = '202605190056';
5297
5297
 
5298
5298
  let AuroElement$2 = class AuroElement extends i$4 {
5299
5299
  static get properties() {
@@ -6014,6 +6014,17 @@ class AuroDropdown extends AuroElement$2 {
6014
6014
  this._clearPageInert();
6015
6015
  }
6016
6016
  }
6017
+
6018
+ // Handle desktopModal toggled while the dropdown is already open.
6019
+ // Re-initialize focus trapping and page inert state to match the new mode.
6020
+ if (changedProperties.has('desktopModal') && this.isPopoverVisible && !this.isBibFullscreen) {
6021
+ this.updateFocusTrap();
6022
+ if (this.desktopModal) {
6023
+ this._setPageInert();
6024
+ } else {
6025
+ this._clearPageInert();
6026
+ }
6027
+ }
6017
6028
  }
6018
6029
 
6019
6030
  /**
@@ -6214,6 +6225,14 @@ class AuroDropdown extends AuroElement$2 {
6214
6225
  }
6215
6226
  };
6216
6227
  this.addEventListener('keydown', this._bibTabHandler);
6228
+
6229
+ // Move initial focus into the bib content, matching FocusTrap behavior
6230
+ requestAnimationFrame(() => {
6231
+ const focusables = getFocusableElements(this.bibContent);
6232
+ if (focusables.length) {
6233
+ focusables[0].focus();
6234
+ }
6235
+ });
6217
6236
  } else {
6218
6237
  // Normal desktop: use FocusTrap on the bib element
6219
6238
  this.focusTrap = new FocusTrap(this.bibContent);
@@ -13234,7 +13253,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
13234
13253
  }
13235
13254
  };
13236
13255
 
13237
- var formkitVersion$1 = '202605182240';
13256
+ var formkitVersion$1 = '202605190056';
13238
13257
 
13239
13258
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13240
13259
  // See LICENSE in the project root for license information.
@@ -14307,7 +14326,7 @@ class AuroBibtemplate extends i$4 {
14307
14326
  }
14308
14327
  }
14309
14328
 
14310
- var formkitVersion = '202605182240';
14329
+ var formkitVersion = '202605190056';
14311
14330
 
14312
14331
  var styleCss$3 = i$7`.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}`;
14313
14332
 
@@ -5211,7 +5211,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5211
5211
  }
5212
5212
  };
5213
5213
 
5214
- var formkitVersion$2 = '202605182240';
5214
+ var formkitVersion$2 = '202605190056';
5215
5215
 
5216
5216
  let AuroElement$2 = class AuroElement extends LitElement {
5217
5217
  static get properties() {
@@ -5932,6 +5932,17 @@ class AuroDropdown extends AuroElement$2 {
5932
5932
  this._clearPageInert();
5933
5933
  }
5934
5934
  }
5935
+
5936
+ // Handle desktopModal toggled while the dropdown is already open.
5937
+ // Re-initialize focus trapping and page inert state to match the new mode.
5938
+ if (changedProperties.has('desktopModal') && this.isPopoverVisible && !this.isBibFullscreen) {
5939
+ this.updateFocusTrap();
5940
+ if (this.desktopModal) {
5941
+ this._setPageInert();
5942
+ } else {
5943
+ this._clearPageInert();
5944
+ }
5945
+ }
5935
5946
  }
5936
5947
 
5937
5948
  /**
@@ -6132,6 +6143,14 @@ class AuroDropdown extends AuroElement$2 {
6132
6143
  }
6133
6144
  };
6134
6145
  this.addEventListener('keydown', this._bibTabHandler);
6146
+
6147
+ // Move initial focus into the bib content, matching FocusTrap behavior
6148
+ requestAnimationFrame(() => {
6149
+ const focusables = getFocusableElements(this.bibContent);
6150
+ if (focusables.length) {
6151
+ focusables[0].focus();
6152
+ }
6153
+ });
6135
6154
  } else {
6136
6155
  // Normal desktop: use FocusTrap on the bib element
6137
6156
  this.focusTrap = new FocusTrap(this.bibContent);
@@ -13145,7 +13164,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
13145
13164
  }
13146
13165
  };
13147
13166
 
13148
- var formkitVersion$1 = '202605182240';
13167
+ var formkitVersion$1 = '202605190056';
13149
13168
 
13150
13169
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13151
13170
  // See LICENSE in the project root for license information.
@@ -14218,7 +14237,7 @@ class AuroBibtemplate extends LitElement {
14218
14237
  }
14219
14238
  }
14220
14239
 
14221
- var formkitVersion = '202605182240';
14240
+ var formkitVersion = '202605190056';
14222
14241
 
14223
14242
  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}`;
14224
14243
 
@@ -5211,7 +5211,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5211
5211
  }
5212
5212
  };
5213
5213
 
5214
- var formkitVersion$2 = '202605182240';
5214
+ var formkitVersion$2 = '202605190056';
5215
5215
 
5216
5216
  let AuroElement$2 = class AuroElement extends LitElement {
5217
5217
  static get properties() {
@@ -5932,6 +5932,17 @@ class AuroDropdown extends AuroElement$2 {
5932
5932
  this._clearPageInert();
5933
5933
  }
5934
5934
  }
5935
+
5936
+ // Handle desktopModal toggled while the dropdown is already open.
5937
+ // Re-initialize focus trapping and page inert state to match the new mode.
5938
+ if (changedProperties.has('desktopModal') && this.isPopoverVisible && !this.isBibFullscreen) {
5939
+ this.updateFocusTrap();
5940
+ if (this.desktopModal) {
5941
+ this._setPageInert();
5942
+ } else {
5943
+ this._clearPageInert();
5944
+ }
5945
+ }
5935
5946
  }
5936
5947
 
5937
5948
  /**
@@ -6132,6 +6143,14 @@ class AuroDropdown extends AuroElement$2 {
6132
6143
  }
6133
6144
  };
6134
6145
  this.addEventListener('keydown', this._bibTabHandler);
6146
+
6147
+ // Move initial focus into the bib content, matching FocusTrap behavior
6148
+ requestAnimationFrame(() => {
6149
+ const focusables = getFocusableElements(this.bibContent);
6150
+ if (focusables.length) {
6151
+ focusables[0].focus();
6152
+ }
6153
+ });
6135
6154
  } else {
6136
6155
  // Normal desktop: use FocusTrap on the bib element
6137
6156
  this.focusTrap = new FocusTrap(this.bibContent);
@@ -13145,7 +13164,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
13145
13164
  }
13146
13165
  };
13147
13166
 
13148
- var formkitVersion$1 = '202605182240';
13167
+ var formkitVersion$1 = '202605190056';
13149
13168
 
13150
13169
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13151
13170
  // See LICENSE in the project root for license information.
@@ -14218,7 +14237,7 @@ class AuroBibtemplate extends LitElement {
14218
14237
  }
14219
14238
  }
14220
14239
 
14221
- var formkitVersion = '202605182240';
14240
+ var formkitVersion = '202605190056';
14222
14241
 
14223
14242
  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}`;
14224
14243
 
@@ -1521,7 +1521,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1521
1521
  }
1522
1522
  };
1523
1523
 
1524
- var formkitVersion$1 = '202605182240';
1524
+ var formkitVersion$1 = '202605190056';
1525
1525
 
1526
1526
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1527
1527
  // See LICENSE in the project root for license information.
@@ -5867,7 +5867,7 @@ class AuroHelpText extends i$2 {
5867
5867
  }
5868
5868
  }
5869
5869
 
5870
- var formkitVersion = '202605182240';
5870
+ var formkitVersion = '202605190056';
5871
5871
 
5872
5872
  let AuroElement$1 = class AuroElement extends i$2 {
5873
5873
  static get properties() {
@@ -6588,6 +6588,17 @@ class AuroDropdown extends AuroElement$1 {
6588
6588
  this._clearPageInert();
6589
6589
  }
6590
6590
  }
6591
+
6592
+ // Handle desktopModal toggled while the dropdown is already open.
6593
+ // Re-initialize focus trapping and page inert state to match the new mode.
6594
+ if (changedProperties.has('desktopModal') && this.isPopoverVisible && !this.isBibFullscreen) {
6595
+ this.updateFocusTrap();
6596
+ if (this.desktopModal) {
6597
+ this._setPageInert();
6598
+ } else {
6599
+ this._clearPageInert();
6600
+ }
6601
+ }
6591
6602
  }
6592
6603
 
6593
6604
  /**
@@ -6788,6 +6799,14 @@ class AuroDropdown extends AuroElement$1 {
6788
6799
  }
6789
6800
  };
6790
6801
  this.addEventListener('keydown', this._bibTabHandler);
6802
+
6803
+ // Move initial focus into the bib content, matching FocusTrap behavior
6804
+ requestAnimationFrame(() => {
6805
+ const focusables = getFocusableElements(this.bibContent);
6806
+ if (focusables.length) {
6807
+ focusables[0].focus();
6808
+ }
6809
+ });
6791
6810
  } else {
6792
6811
  // Normal desktop: use FocusTrap on the bib element
6793
6812
  this.focusTrap = new FocusTrap(this.bibContent);
@@ -1521,7 +1521,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1521
1521
  }
1522
1522
  };
1523
1523
 
1524
- var formkitVersion$1 = '202605182240';
1524
+ var formkitVersion$1 = '202605190056';
1525
1525
 
1526
1526
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1527
1527
  // See LICENSE in the project root for license information.
@@ -5867,7 +5867,7 @@ class AuroHelpText extends i$2 {
5867
5867
  }
5868
5868
  }
5869
5869
 
5870
- var formkitVersion = '202605182240';
5870
+ var formkitVersion = '202605190056';
5871
5871
 
5872
5872
  let AuroElement$1 = class AuroElement extends i$2 {
5873
5873
  static get properties() {
@@ -6588,6 +6588,17 @@ class AuroDropdown extends AuroElement$1 {
6588
6588
  this._clearPageInert();
6589
6589
  }
6590
6590
  }
6591
+
6592
+ // Handle desktopModal toggled while the dropdown is already open.
6593
+ // Re-initialize focus trapping and page inert state to match the new mode.
6594
+ if (changedProperties.has('desktopModal') && this.isPopoverVisible && !this.isBibFullscreen) {
6595
+ this.updateFocusTrap();
6596
+ if (this.desktopModal) {
6597
+ this._setPageInert();
6598
+ } else {
6599
+ this._clearPageInert();
6600
+ }
6601
+ }
6591
6602
  }
6592
6603
 
6593
6604
  /**
@@ -6788,6 +6799,14 @@ class AuroDropdown extends AuroElement$1 {
6788
6799
  }
6789
6800
  };
6790
6801
  this.addEventListener('keydown', this._bibTabHandler);
6802
+
6803
+ // Move initial focus into the bib content, matching FocusTrap behavior
6804
+ requestAnimationFrame(() => {
6805
+ const focusables = getFocusableElements(this.bibContent);
6806
+ if (focusables.length) {
6807
+ focusables[0].focus();
6808
+ }
6809
+ });
6791
6810
  } else {
6792
6811
  // Normal desktop: use FocusTrap on the bib element
6793
6812
  this.focusTrap = new FocusTrap(this.bibContent);