@aurodesignsystem-dev/auro-formkit 0.0.0-pr1475.4 → 0.0.0-pr1477.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 (73) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +0 -7
  2. package/components/bibtemplate/dist/index.js +1 -9
  3. package/components/bibtemplate/dist/registered.js +1 -9
  4. package/components/checkbox/demo/customize.min.js +1 -1
  5. package/components/checkbox/demo/getting-started.min.js +1 -1
  6. package/components/checkbox/demo/index.min.js +1 -1
  7. package/components/checkbox/dist/index.js +1 -1
  8. package/components/checkbox/dist/registered.js +1 -1
  9. package/components/combobox/demo/customize.min.js +18 -234
  10. package/components/combobox/demo/getting-started.min.js +18 -234
  11. package/components/combobox/demo/index.min.js +18 -234
  12. package/components/combobox/demo/keyboard-behavior.md +68 -8
  13. package/components/combobox/dist/index.js +18 -234
  14. package/components/combobox/dist/registered.js +18 -234
  15. package/components/counter/demo/customize.min.js +15 -231
  16. package/components/counter/demo/index.min.js +15 -231
  17. package/components/counter/demo/keyboard-behavior.md +0 -1
  18. package/components/counter/dist/index.js +433 -45
  19. package/components/counter/dist/registered.js +2 -10
  20. package/components/datepicker/demo/accessibility.md +3 -51
  21. package/components/datepicker/demo/api.md +0 -9
  22. package/components/datepicker/demo/customize.html +0 -2
  23. package/components/datepicker/demo/customize.md +8 -72
  24. package/components/datepicker/demo/design.md +1 -3
  25. package/components/datepicker/demo/index.js +1 -5
  26. package/components/datepicker/demo/index.md +1 -81
  27. package/components/datepicker/demo/index.min.js +101 -1350
  28. package/components/datepicker/demo/keyboard-behavior.md +2 -201
  29. package/components/datepicker/demo/voiceover.md +12 -19
  30. package/components/datepicker/dist/index.js +111 -1284
  31. package/components/datepicker/dist/registered.js +111 -1284
  32. package/components/datepicker/dist/src/auro-calendar-cell.d.ts +1 -64
  33. package/components/datepicker/dist/src/auro-calendar-month.d.ts +0 -28
  34. package/components/datepicker/dist/src/auro-calendar.d.ts +0 -84
  35. package/components/datepicker/dist/src/auro-datepicker.d.ts +0 -80
  36. package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +3 -5
  37. package/components/dropdown/demo/accessibility.md +0 -11
  38. package/components/dropdown/demo/api.md +0 -1
  39. package/components/dropdown/demo/customize.md +0 -3
  40. package/components/dropdown/demo/customize.min.js +13 -221
  41. package/components/dropdown/demo/getting-started.min.js +13 -221
  42. package/components/dropdown/demo/index.min.js +13 -221
  43. package/components/dropdown/demo/keyboard-behavior.md +0 -1
  44. package/components/dropdown/dist/auro-dropdown.d.ts +1 -31
  45. package/components/dropdown/dist/index.js +13 -221
  46. package/components/dropdown/dist/registered.js +13 -221
  47. package/components/form/demo/customize.min.js +987 -2806
  48. package/components/form/demo/getting-started.min.js +987 -2806
  49. package/components/form/demo/index.min.js +987 -2806
  50. package/components/form/demo/registerDemoDeps.min.js +982 -2801
  51. package/components/input/demo/customize.min.js +1 -1
  52. package/components/input/demo/getting-started.min.js +1 -1
  53. package/components/input/demo/index.min.js +1 -1
  54. package/components/input/dist/index.js +1 -1
  55. package/components/input/dist/registered.js +1 -1
  56. package/components/radio/demo/getting-started.js +1 -1
  57. package/components/radio/demo/getting-started.md +1 -1
  58. package/components/radio/demo/index.min.js +1 -1
  59. package/components/radio/dist/index.js +1 -1
  60. package/components/radio/dist/registered.js +1 -1
  61. package/components/select/demo/customize.min.js +33 -247
  62. package/components/select/demo/getting-started.min.js +33 -247
  63. package/components/select/demo/index.min.js +33 -247
  64. package/components/select/demo/keyboard-behavior.md +54 -9
  65. package/components/select/dist/index.js +33 -247
  66. package/components/select/dist/registered.js +33 -247
  67. package/custom-elements.json +1491 -2163
  68. package/package.json +2 -2
  69. package/components/datepicker/demo/customize.js +0 -19
  70. package/components/datepicker/demo/customize.min.js +0 -25810
  71. package/components/radio/demo/customize.min.js +0 -2186
  72. package/components/radio/demo/demo-support.min.js +0 -55807
  73. package/components/radio/demo/getting-started.min.js +0 -2205
@@ -6672,7 +6672,7 @@ class AuroHelpText extends i$3 {
6672
6672
  }
6673
6673
  }
6674
6674
 
6675
- var formkitVersion = '202605190056';
6675
+ var formkitVersion = '202605192014';
6676
6676
 
6677
6677
  /**
6678
6678
  * @license
@@ -6672,7 +6672,7 @@ class AuroHelpText extends i$3 {
6672
6672
  }
6673
6673
  }
6674
6674
 
6675
- var formkitVersion = '202605190056';
6675
+ var formkitVersion = '202605192014';
6676
6676
 
6677
6677
  /**
6678
6678
  * @license
@@ -6672,7 +6672,7 @@ class AuroHelpText extends i$3 {
6672
6672
  }
6673
6673
  }
6674
6674
 
6675
- var formkitVersion = '202605190056';
6675
+ var formkitVersion = '202605192014';
6676
6676
 
6677
6677
  /**
6678
6678
  * @license
@@ -6614,7 +6614,7 @@ class AuroHelpText extends LitElement {
6614
6614
  }
6615
6615
  }
6616
6616
 
6617
- var formkitVersion = '202605190056';
6617
+ var formkitVersion = '202605192014';
6618
6618
 
6619
6619
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6620
6620
  // See LICENSE in the project root for license information.
@@ -6614,7 +6614,7 @@ class AuroHelpText extends LitElement {
6614
6614
  }
6615
6615
  }
6616
6616
 
6617
- var formkitVersion = '202605190056';
6617
+ var formkitVersion = '202605192014';
6618
6618
 
6619
6619
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6620
6620
  // See LICENSE in the project root for license information.
@@ -9,7 +9,7 @@ AuroRadioGroup.register();
9
9
  AuroRadio.register('custom-radio');
10
10
  AuroRadioGroup.register('custom-radio-group');
11
11
 
12
- export async function initExamples(initCount) {
12
+ export function initExamples(initCount) {
13
13
  initCount = initCount || 0;
14
14
 
15
15
  try {
@@ -434,7 +434,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
434
434
  <!-- AURO-GENERATED-CONTENT:END -->
435
435
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/reset-state.js) -->
436
436
  <!-- The below code snippet is automatically added from ./../apiExamples/reset-state.js -->
437
- <pre class="language-js"><code class="language-js">export async function resetStateExample() {
437
+ <pre class="language-js"><code class="language-js">export function resetStateExample() {
438
438
  const elem = document.querySelector('#resetStateExample');
439
439
 
440
440
  document.querySelector('#resetStateBtn').addEventListener('click', () =&gt; {
@@ -1634,7 +1634,7 @@ class AuroHelpText extends i$2 {
1634
1634
  }
1635
1635
  }
1636
1636
 
1637
- var formkitVersion = '202605190056';
1637
+ var formkitVersion = '202605192014';
1638
1638
 
1639
1639
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1640
1640
  // See LICENSE in the project root for license information.
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
1573
1573
  }
1574
1574
  }
1575
1575
 
1576
- var formkitVersion = '202605190056';
1576
+ var formkitVersion = '202605192014';
1577
1577
 
1578
1578
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1579
1579
  // See LICENSE in the project root for license information.
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
1573
1573
  }
1574
1574
  }
1575
1575
 
1576
- var formkitVersion = '202605190056';
1576
+ var formkitVersion = '202605192014';
1577
1577
 
1578
1578
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1579
1579
  // See LICENSE in the project root for license information.
@@ -1305,28 +1305,30 @@ function navigateArrow(component, direction, options = {}) {
1305
1305
  const selectKeyboardStrategy = {
1306
1306
  ArrowDown(component, evt, ctx) {
1307
1307
  evt.preventDefault();
1308
- if (evt.altKey || evt.metaKey) {
1309
- // navigate to last enabled option
1310
- selectKeyboardStrategy.End(component, evt, ctx);
1311
- return;
1308
+ if (ctx.isExpanded) {
1309
+ if (evt.altKey || evt.ctrlKey || evt.metaKey) {
1310
+ // navigate to last enabled option
1311
+ selectKeyboardStrategy.End(component, evt, ctx);
1312
+ } else {
1313
+ navigateArrow(component, 'down', { ctx });
1314
+ }
1315
+ } else {
1316
+ component.dropdown.show();
1312
1317
  }
1313
- navigateArrow(component, 'down', {
1314
- ctx,
1315
- showFn: () => component.dropdown.show(),
1316
- });
1317
1318
  },
1318
1319
 
1319
1320
  ArrowUp(component, evt, ctx) {
1320
1321
  evt.preventDefault();
1321
- if (evt.altKey || evt.metaKey) {
1322
- // navigate to first enabled option
1323
- selectKeyboardStrategy.Home(component, evt, ctx);
1324
- return;
1322
+ if (ctx.isExpanded) {
1323
+ if (evt.altKey || evt.ctrlKey || evt.metaKey) {
1324
+ // navigate to first enabled option
1325
+ selectKeyboardStrategy.Home(component, evt, ctx);
1326
+ } else {
1327
+ navigateArrow(component, 'up', { ctx });
1328
+ }
1329
+ } else {
1330
+ component.dropdown.show();
1325
1331
  }
1326
- navigateArrow(component, 'up', {
1327
- ctx,
1328
- showFn: () => component.dropdown.show(),
1329
- });
1330
1332
  },
1331
1333
 
1332
1334
  Escape(component, evt, ctx) {
@@ -4702,7 +4704,7 @@ function applyKeyboardStrategy(component, strategy, options = {}) {
4702
4704
  });
4703
4705
  }
4704
4706
 
4705
- var styleCss$2$1 = i$6`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host dialog{width:auto;max-width:none;height:auto;max-height:none;padding:0;border:none;margin:0;outline:none;transform:translateZ(0)}:host dialog::backdrop{background:transparent}:host(:not([isfullscreen])) dialog{position:relative;inset:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}:host(:not([isfullscreen])) .container[class*=shape-rounded]{border-radius:16px}:host([desktopmodal]:popover-open)::backdrop{background:transparent}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([isfullscreen]) .container::backdrop{background:var(--ds-color-background-primary, #fff)}:host(:popover-open){position:fixed;overflow:visible;padding:0;border:none;margin:0;background:transparent;inset:unset;outline:none}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}.util_displayHiddenVisually{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip-path:inset(50%);white-space:nowrap}`;
4707
+ var styleCss$2$1 = i$6`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host dialog{width:auto;max-width:none;height:auto;max-height:none;padding:0;border:none;margin:0;outline:none;transform:translateZ(0)}:host dialog::backdrop{background:transparent}:host(:not([isfullscreen])) dialog{position:relative;inset:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}:host(:not([isfullscreen])) .container[class*=shape-rounded]{border-radius:16px}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([isfullscreen]) .container::backdrop{background:var(--ds-color-background-primary, #fff)}:host(:popover-open){position:fixed;overflow:visible;padding:0;border:none;margin:0;background:transparent;inset:unset;outline:none}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}.util_displayHiddenVisually{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip-path:inset(50%);white-space:nowrap}`;
4706
4708
 
4707
4709
  var colorCss$2$1 = i$6`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
4708
4710
 
@@ -5333,7 +5335,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
5333
5335
  }
5334
5336
  };
5335
5337
 
5336
- var formkitVersion$1 = '202605190056';
5338
+ var formkitVersion$1 = '202605192014';
5337
5339
 
5338
5340
  class AuroElement extends i$3 {
5339
5341
  static get properties() {
@@ -5513,7 +5515,6 @@ class AuroDropdown extends AuroElement {
5513
5515
  _intializeDefaults() {
5514
5516
  this.appearance = 'default';
5515
5517
  this.chevron = false;
5516
- this.desktopModal = false;
5517
5518
  this.disabled = false;
5518
5519
  this.disableKeyboardHandling = false;
5519
5520
  this.error = false;
@@ -5694,14 +5695,6 @@ class AuroDropdown extends AuroElement {
5694
5695
  reflect: true
5695
5696
  },
5696
5697
 
5697
- /**
5698
- * If declared, the dropdown will behave as a modal dialog when in a desktop viewport size.
5699
- */
5700
- desktopModal: {
5701
- type: Boolean,
5702
- reflect: true
5703
- },
5704
-
5705
5698
  /**
5706
5699
  * If declared, the dropdown will only show by calling the API .show() public method.
5707
5700
  */
@@ -5989,15 +5982,6 @@ class AuroDropdown extends AuroElement {
5989
5982
 
5990
5983
  disconnectedCallback() {
5991
5984
  super.disconnectedCallback();
5992
- this._clearPageInert();
5993
- if (this._bibTabHandler) {
5994
- this.removeEventListener('keydown', this._bibTabHandler);
5995
- this._bibTabHandler = undefined;
5996
- }
5997
- if (this.focusTrap) {
5998
- this.focusTrap.disconnect();
5999
- this.focusTrap = undefined;
6000
- }
6001
5985
  if (this.floater) {
6002
5986
  this.floater.hideBib('disconnect');
6003
5987
  this.floater.disconnect();
@@ -6025,45 +6009,19 @@ class AuroDropdown extends AuroElement {
6025
6009
  if (this.isPopoverVisible) {
6026
6010
  // Fullscreen: use showModal() for native accessibility (inert outside, focus trap)
6027
6011
  // Desktop: use show() for Floating UI positioning + FocusTrap for focus management
6028
- this.bibElement.value.open(this.isBibFullscreen);
6029
- this.updateFocusTrap();
6030
-
6031
- // Desktop modal: make siblings inert so content outside is not interactive
6032
- if (this.desktopModal && !this.isBibFullscreen) {
6033
- this._setPageInert();
6034
- }
6012
+ const useModal = this.isBibFullscreen;
6013
+ this.bibElement.value.open(useModal);
6035
6014
  } else {
6036
6015
  this.bibElement.value.close();
6037
- this._clearPageInert();
6038
6016
  }
6039
6017
  }
6040
6018
 
6041
6019
  // When fullscreen strategy changes while open, re-open dialog with correct mode
6042
6020
  // (e.g. resizing from desktop → mobile while dropdown is open)
6043
6021
  if (changedProperties.has('isBibFullscreen') && this.isPopoverVisible && this.bibElement.value) {
6022
+ const useModal = this.isBibFullscreen;
6044
6023
  this.bibElement.value.close();
6045
- this.bibElement.value.open(this.isBibFullscreen);
6046
-
6047
- // Re-initialize focus management for the new strategy
6048
- this.updateFocusTrap();
6049
-
6050
- // Toggle inert: desktop modal needs it, fullscreen showModal() handles it natively
6051
- if (this.desktopModal && !this.isBibFullscreen) {
6052
- this._setPageInert();
6053
- } else {
6054
- this._clearPageInert();
6055
- }
6056
- }
6057
-
6058
- // Handle desktopModal toggled while the dropdown is already open.
6059
- // Re-initialize focus trapping and page inert state to match the new mode.
6060
- if (changedProperties.has('desktopModal') && this.isPopoverVisible && !this.isBibFullscreen) {
6061
- this.updateFocusTrap();
6062
- if (this.desktopModal) {
6063
- this._setPageInert();
6064
- } else {
6065
- this._clearPageInert();
6066
- }
6024
+ this.bibElement.value.open(useModal);
6067
6025
  }
6068
6026
  }
6069
6027
 
@@ -6073,14 +6031,8 @@ class AuroDropdown extends AuroElement {
6073
6031
  * @param {CustomEvent} event - The custom event that contains the dropdown toggle information.
6074
6032
  */
6075
6033
  handleDropdownToggle(event) {
6034
+ this.updateFocusTrap();
6076
6035
  this.isPopoverVisible = event.detail.expanded;
6077
-
6078
- // Tear down FocusTrap when closing. Creation happens in updated()
6079
- // after the dialog is open so getFocusableElements can find content.
6080
- if (!this.isPopoverVisible) {
6081
- this.updateFocusTrap();
6082
- }
6083
-
6084
6036
  const eventType = event.detail.eventType || "unknown";
6085
6037
  if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
6086
6038
  this.trigger.focus();
@@ -6179,176 +6131,19 @@ class AuroDropdown extends AuroElement {
6179
6131
  * @private
6180
6132
  */
6181
6133
  updateFocusTrap() {
6182
- // Always clean up existing handlers/traps before setting up new ones
6183
- // to prevent duplicate listeners on repeated calls.
6184
- if (this._bibTabHandler) {
6185
- this.removeEventListener('keydown', this._bibTabHandler);
6186
- this._bibTabHandler = undefined;
6187
- }
6188
-
6189
- if (this.focusTrap) {
6190
- this.focusTrap.disconnect();
6191
- this.focusTrap = undefined;
6192
- }
6193
-
6194
6134
  if (this.isPopoverVisible) {
6195
6135
  if (!this.isBibFullscreen) {
6196
- if (this.desktopModal) {
6197
- // Desktop modal: trap focus only within the bib content.
6198
- // Can't use FocusTrap on the bib element because keydown events
6199
- // from slotted content bubble through the dropdown host (light DOM),
6200
- // not through the bib (shadow projection target). Using FocusTrap
6201
- // on the dropdown would include the trigger in the tab cycle.
6202
- // Instead, listen for Tab on the dropdown and manually wrap focus
6203
- // within the bib's focusable elements.
6204
- this._bibTabHandler = (event) => {
6205
- if (event.key !== 'Tab') {
6206
- return;
6207
- }
6208
-
6209
- // Collect focusable elements from the bib content.
6210
- const focusables = getFocusableElements(this.bibContent);
6211
-
6212
- // Fallback: try from slotted content directly
6213
- if (!focusables.length) {
6214
- const slot = this.shadowRoot.querySelector('.slotContent slot');
6215
- const assignedNodes = slot ? slot.assignedNodes({ flatten: true }) : [];
6216
-
6217
- for (const node of assignedNodes) {
6218
- if (node.nodeType === Node.ELEMENT_NODE) {
6219
- focusables.push(...getFocusableElements(node));
6220
- }
6221
- }
6222
- }
6223
-
6224
- if (!focusables.length) {
6225
- return;
6226
- }
6227
-
6228
- event.preventDefault();
6229
-
6230
- const direction = event.shiftKey ? -1 : 1; // eslint-disable-line no-magic-numbers
6231
-
6232
- // Walk the active element chain through shadow roots
6233
- const actives = this._getActiveElements();
6234
-
6235
- let idx = focusables.findIndex((el) => actives.includes(el));
6236
-
6237
- if (idx === -1) { // eslint-disable-line no-magic-numbers
6238
- // Focus is not on a known element — move to first/last
6239
- idx = direction === 1 ? -1 : focusables.length; // eslint-disable-line no-magic-numbers
6240
- }
6241
-
6242
- // Try each element in order, skipping any that can't receive focus
6243
- // (e.g. hidden elements, elements in collapsed sections)
6244
- for (let index = 0; index < focusables.length; index++) { // eslint-disable-line no-plusplus
6245
- let nextIdx = idx + direction;
6246
-
6247
- // Wrap around
6248
- if (nextIdx < 0) {
6249
- nextIdx = focusables.length - 1;
6250
- } else if (nextIdx >= focusables.length) {
6251
- nextIdx = 0;
6252
- }
6253
-
6254
- focusables[nextIdx].focus();
6255
-
6256
- // Verify focus actually moved to the target
6257
- const newActives = this._getActiveElements();
6258
-
6259
- if (newActives.includes(focusables[nextIdx])) {
6260
- return;
6261
- }
6262
-
6263
- // Focus didn't stick — skip this element and try the next
6264
- idx = nextIdx;
6265
- }
6266
- };
6267
- this.addEventListener('keydown', this._bibTabHandler);
6268
-
6269
- // Move initial focus into the bib content, matching FocusTrap behavior
6270
- requestAnimationFrame(() => {
6271
- const focusables = getFocusableElements(this.bibContent);
6272
- if (focusables.length) {
6273
- focusables[0].focus();
6274
- }
6275
- });
6276
- } else {
6277
- // Normal desktop: use FocusTrap on the bib element
6278
- this.focusTrap = new FocusTrap(this.bibContent);
6279
- this.focusTrap.focusFirstElement();
6280
- }
6136
+ // Desktop: show() doesn't trap focus, so use FocusTrap
6137
+ this.focusTrap = new FocusTrap(this.bibContent);
6138
+ this.focusTrap.focusFirstElement();
6281
6139
  }
6282
6140
  // Fullscreen: showModal() provides native focus trapping
6283
- }
6284
- }
6285
-
6286
- /**
6287
- * Returns the chain of active (focused) elements through shadow roots.
6288
- * @private
6289
- * @returns {Array<HTMLElement>}
6290
- */
6291
- _getActiveElements() {
6292
- let { activeElement } = document;
6293
- const actives = [activeElement];
6294
-
6295
- while (activeElement?.shadowRoot?.activeElement) {
6296
- activeElement = activeElement.shadowRoot.activeElement;
6297
- actives.push(activeElement);
6298
- }
6299
-
6300
- return actives;
6301
- }
6302
-
6303
- /**
6304
- * Sets `inert` on sibling elements of the dropdown's top-level host
6305
- * so that content outside the dropdown is not interactive while the modal is open.
6306
- * Walks up through shadow DOM boundaries to find the outermost host element
6307
- * in the light DOM, then sets `inert` on siblings at each ancestor level
6308
- * to ensure all page content outside the host subtree is inert.
6309
- * @private
6310
- */
6311
- _setPageInert() {
6312
- if (this._inertSiblings) {
6313
6141
  return;
6314
6142
  }
6315
6143
 
6316
- this._inertSiblings = [];
6317
-
6318
- // Walk up through shadow DOM boundaries to find the topmost host
6319
- // element in the light DOM. For example, if this dropdown is inside
6320
- // auro-datepicker's shadow DOM, we walk up to the datepicker element
6321
- // so we set inert on its siblings — not on the datepicker itself.
6322
- let host = this;
6323
- while (host.getRootNode() instanceof ShadowRoot) {
6324
- host = host.getRootNode().host;
6325
- }
6326
-
6327
- // Walk up the ancestor chain, inerting siblings at each level
6328
- // to ensure the entire page outside the host subtree is inert.
6329
- let current = host;
6330
- while (current.parentElement) {
6331
- const parent = current.parentElement;
6332
- for (const sibling of parent.children) {
6333
- if (sibling !== current && !sibling.inert) {
6334
- sibling.inert = true;
6335
- this._inertSiblings.push(sibling);
6336
- }
6337
- }
6338
- current = parent;
6339
- }
6340
- }
6341
-
6342
- /**
6343
- * Restores `inert` state on siblings that were made inert by `_setPageInert`.
6344
- * @private
6345
- */
6346
- _clearPageInert() {
6347
- if (this._inertSiblings) {
6348
- for (const sibling of this._inertSiblings) {
6349
- sibling.inert = false;
6350
- }
6351
- this._inertSiblings = undefined;
6144
+ if (this.focusTrap) {
6145
+ this.focusTrap.disconnect();
6146
+ this.focusTrap = undefined;
6352
6147
  }
6353
6148
  }
6354
6149
 
@@ -6587,7 +6382,6 @@ class AuroDropdown extends AuroElement {
6587
6382
  shape="${this.shape}"
6588
6383
  ?data-show="${this.isPopoverVisible}"
6589
6384
  ?isfullscreen="${this.isBibFullscreen}"
6590
- ?desktopmodal="${this.desktopModal}"
6591
6385
  .dialogLabel="${this.bibDialogLabel}"
6592
6386
  ${n$2(this.bibElement)}
6593
6387
  >
@@ -6955,14 +6749,6 @@ class AuroBibtemplate extends i$3 {
6955
6749
  large: {
6956
6750
  type: Boolean,
6957
6751
  reflect: true
6958
- },
6959
-
6960
- /**
6961
- * If declared, the footer slot will be rendered even when not in fullscreen mode.
6962
- */
6963
- showFooter: {
6964
- type: Boolean,
6965
- reflect: true
6966
6752
  }
6967
6753
  };
6968
6754
  }
@@ -7065,7 +6851,7 @@ class AuroBibtemplate extends i$3 {
7065
6851
  <slot></slot>
7066
6852
  </div>
7067
6853
 
7068
- ${this.isFullscreen || this.showFooter ? u$4`
6854
+ ${this.isFullscreen ? u$4`
7069
6855
  <div id="footerContainer">
7070
6856
  <slot name="footer"></slot>
7071
6857
  </div>` : null}
@@ -7302,7 +7088,7 @@ class AuroHelpText extends i$3 {
7302
7088
  }
7303
7089
  }
7304
7090
 
7305
- var formkitVersion = '202605190056';
7091
+ var formkitVersion = '202605192014';
7306
7092
 
7307
7093
  var styleCss$2 = 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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
7308
7094