@aurodesignsystem-dev/auro-formkit 0.0.0-pr1395.2 → 0.0.0-pr1396.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 (38) hide show
  1. package/components/checkbox/demo/api.min.js +1 -1
  2. package/components/checkbox/demo/index.min.js +1 -1
  3. package/components/checkbox/dist/index.js +1 -1
  4. package/components/checkbox/dist/registered.js +1 -1
  5. package/components/combobox/demo/api.min.js +45 -13
  6. package/components/combobox/demo/index.min.js +45 -13
  7. package/components/combobox/dist/index.js +45 -13
  8. package/components/combobox/dist/registered.js +45 -13
  9. package/components/counter/demo/api.min.js +44 -12
  10. package/components/counter/demo/index.min.js +44 -12
  11. package/components/counter/dist/index.js +44 -12
  12. package/components/counter/dist/registered.js +44 -12
  13. package/components/datepicker/demo/api.min.js +51 -85
  14. package/components/datepicker/demo/index.min.js +51 -85
  15. package/components/datepicker/dist/index.js +51 -85
  16. package/components/datepicker/dist/registered.js +51 -85
  17. package/components/dropdown/demo/api.min.js +43 -11
  18. package/components/dropdown/demo/index.min.js +43 -11
  19. package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -2
  20. package/components/dropdown/dist/index.js +43 -11
  21. package/components/dropdown/dist/registered.js +43 -11
  22. package/components/form/demo/api.min.js +187 -125
  23. package/components/form/demo/index.min.js +187 -125
  24. package/components/input/demo/api.min.js +1 -1
  25. package/components/input/demo/index.min.js +1 -1
  26. package/components/input/dist/index.js +1 -1
  27. package/components/input/dist/registered.js +1 -1
  28. package/components/radio/demo/api.min.js +1 -1
  29. package/components/radio/demo/index.min.js +1 -1
  30. package/components/radio/dist/index.js +1 -1
  31. package/components/radio/dist/registered.js +1 -1
  32. package/components/select/demo/api.min.js +44 -12
  33. package/components/select/demo/index.min.js +44 -12
  34. package/components/select/dist/index.js +44 -12
  35. package/components/select/dist/registered.js +44 -12
  36. package/custom-elements.json +1418 -1420
  37. package/package.json +2 -1
  38. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +0 -4
@@ -7458,7 +7458,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$4 {
7458
7458
  }
7459
7459
  };
7460
7460
 
7461
- var formkitVersion$8 = '202603241855';
7461
+ var formkitVersion$8 = '202603242359';
7462
7462
 
7463
7463
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
7464
7464
  // See LICENSE in the project root for license information.
@@ -17366,7 +17366,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$4 {
17366
17366
  }
17367
17367
  };
17368
17368
 
17369
- var formkitVersion$2$1 = '202603241855';
17369
+ var formkitVersion$2$1 = '202603242359';
17370
17370
 
17371
17371
  let l$1$2 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$3`${s$6(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1$2 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1$3=i$7`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
17372
17372
  `,u$4$2=i$7`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .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, 450);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, 450);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, .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, .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, .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, .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, .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, .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(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
@@ -20774,6 +20774,7 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
20774
20774
 
20775
20775
  this.shape = "rounded";
20776
20776
  this.matchWidth = false;
20777
+ this.hasActiveDescendant = false;
20777
20778
  }
20778
20779
 
20779
20780
  static get styles() {
@@ -20860,6 +20861,18 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
20860
20861
  */
20861
20862
  dialogRole: {
20862
20863
  type: String
20864
+ },
20865
+
20866
+ /**
20867
+ * Set by auro-dropdown when a menu option is highlighted via
20868
+ * aria-activedescendant. The dialog keyboard bridge checks this
20869
+ * flag so that Enter selects the highlighted option instead of
20870
+ * activating the focused interactive element (e.g. the trigger
20871
+ * button, or the bibtemplate close button in fullscreen).
20872
+ * @private
20873
+ */
20874
+ hasActiveDescendant: {
20875
+ type: Boolean
20863
20876
  }
20864
20877
  };
20865
20878
  }
@@ -20943,7 +20956,7 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
20943
20956
  /**
20944
20957
  * Forwards the dialog's native `cancel` event (fired on ESC) as
20945
20958
  * an `auro-bib-cancel` custom event so parent components can close.
20946
- * @param {HTMLDialogElement} dialog
20959
+ * @param {HTMLDialogElement} dialog - The dialog element to attach the cancel listener to.
20947
20960
  * @private
20948
20961
  */
20949
20962
  _setupCancelHandler(dialog) {
@@ -20987,7 +21000,7 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
20987
21000
  * is a secondary path for parent components that also listen for
20988
21001
  * Escape keydown.
20989
21002
  *
20990
- * @param {HTMLDialogElement} dialog
21003
+ * @param {HTMLDialogElement} dialog - The dialog element to attach the keyboard bridge to.
20991
21004
  * @private
20992
21005
  */
20993
21006
  _setupKeyboardBridge(dialog) {
@@ -21006,15 +21019,23 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
21006
21019
 
21007
21020
  // Custom elements (auro-button) don't get the native Enter→click
21008
21021
  // behavior that <button> has. Find the button in the composed path
21009
- // and click it directly.
21022
+ // and click it directly — but only when no menu option is
21023
+ // highlighted. In fullscreen mode focus stays on the close button
21024
+ // while arrow keys move the active-descendant highlight through
21025
+ // the listbox. If the user presses Enter with an option
21026
+ // highlighted, the intent is to select that option, not to click
21027
+ // the close button. In that case we fall through and bridge the
21028
+ // Enter key to the parent component's keyboard strategy.
21010
21029
  if (event.key === 'Enter') {
21011
- const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
21012
- const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
21013
- if (btn) {
21014
- event.preventDefault();
21015
- event.stopPropagation();
21016
- btn.click();
21017
- return;
21030
+ if (!this.hasActiveDescendant) {
21031
+ const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
21032
+ const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
21033
+ if (btn) {
21034
+ event.preventDefault();
21035
+ event.stopPropagation();
21036
+ btn.click();
21037
+ return;
21038
+ }
21018
21039
  }
21019
21040
  }
21020
21041
 
@@ -21129,6 +21150,8 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
21129
21150
  * Closes the dialog.
21130
21151
  */
21131
21152
  close() {
21153
+ this.hasActiveDescendant = false;
21154
+
21132
21155
  const dialog = this.shadowRoot.querySelector('dialog');
21133
21156
 
21134
21157
  if (dialog && dialog.open) {
@@ -21406,7 +21429,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$4 {
21406
21429
  }
21407
21430
  };
21408
21431
 
21409
- var formkitVersion$1$3 = '202603241855';
21432
+ var formkitVersion$1$3 = '202603242359';
21410
21433
 
21411
21434
  let AuroElement$2$2 = class AuroElement extends i$4 {
21412
21435
  static get properties() {
@@ -21725,6 +21748,15 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
21725
21748
  this.trigger.ariaActiveDescendantElement = null;
21726
21749
  this.trigger.removeAttribute('aria-activedescendant');
21727
21750
  }
21751
+
21752
+ // In fullscreen, focus stays on the close button while arrow keys
21753
+ // highlight options via active-descendant. Without this flag the
21754
+ // keyboard bridge clicks the close button on Enter (closing the
21755
+ // bib without selecting). When true, the bridge skips the button
21756
+ // click and forwards Enter to the parent to make the selection.
21757
+ if (this.bibContent) {
21758
+ this.bibContent.hasActiveDescendant = this.isBibFullscreen && Boolean(element);
21759
+ }
21728
21760
  }
21729
21761
 
21730
21762
  // function to define props used within the scope of this component
@@ -29154,7 +29186,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$4 {
29154
29186
  }
29155
29187
  };
29156
29188
 
29157
- var formkitVersion$7 = '202603241855';
29189
+ var formkitVersion$7 = '202603242359';
29158
29190
 
29159
29191
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
29160
29192
  // See LICENSE in the project root for license information.
@@ -30349,75 +30381,6 @@ function restoreTriggerAfterClose$2(dropdown, focusTarget) {
30349
30381
  });
30350
30382
  }
30351
30383
 
30352
- /**
30353
- * Computes display state once per keydown event.
30354
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
30355
- *
30356
- * @param {HTMLElement} component - The component with a dropdown reference.
30357
- * @param {Object} [options] - Optional config.
30358
- * @param {HTMLElement} [options.dropdown] - Explicit dropdown reference. Falls back to component.dropdown.
30359
- * @param {Function} [options.inputResolver] - Called with (component, ctx) to resolve the active input element.
30360
- * @returns {{isExpanded: boolean, isModal: boolean, isPopover: boolean, activeInput: HTMLElement|null}}
30361
- * isModal and isPopover reflect the display mode (fullscreen vs not) regardless of expanded state.
30362
- */
30363
- function createDisplayContext$2(component, options = {}) {
30364
- const dd = options.dropdown || component.dropdown;
30365
- // isPopoverVisible reflects as the `open` attribute.
30366
- // It reports whether the bib is open in any mode (popover or modal).
30367
- const isExpanded = Boolean(dd && dd.isPopoverVisible);
30368
- const isFullscreen = Boolean(dd && dd.isBibFullscreen);
30369
-
30370
- const ctx = {
30371
- isExpanded,
30372
- isModal: isFullscreen,
30373
- isPopover: !isFullscreen,
30374
- activeInput: null,
30375
- };
30376
-
30377
- if (options.inputResolver) {
30378
- const resolvedInput = options.inputResolver(component, ctx);
30379
- // Guard against resolvers returning undefined or non-HTMLElement values.
30380
- ctx.activeInput = resolvedInput instanceof HTMLElement ? resolvedInput : null;
30381
- }
30382
-
30383
- return ctx;
30384
- }
30385
-
30386
- /**
30387
- * Wires up a keydown listener that dispatches to strategy[evt.key] or strategy.default.
30388
- * Handles both sync and async handlers.
30389
- * @param {HTMLElement} component - The component to attach the listener to.
30390
- * @param {Object} strategy - Map of key names to handler functions.
30391
- * @param {Object} [options] - Optional config passed to createDisplayContext.
30392
- */
30393
- function applyKeyboardStrategy$2(component, strategy, options = {}) {
30394
- component.addEventListener('keydown', async (evt) => {
30395
- const handler = strategy[evt.key] || strategy.default;
30396
- if (typeof handler === 'function') {
30397
- const ctx = createDisplayContext$2(component, options);
30398
- await handler(component, evt, ctx);
30399
- }
30400
- });
30401
- }
30402
-
30403
- // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
30404
- // See LICENSE in the project root for license information.
30405
-
30406
- const datepickerKeyboardStrategy = {
30407
- Enter(component, evt, ctx) {
30408
- if (!ctx.isExpanded) {
30409
- evt.preventDefault();
30410
- component.dropdown.show();
30411
- }
30412
- },
30413
-
30414
- Tab(component, _evt, ctx) {
30415
- if (ctx.isExpanded && ctx.isModal) {
30416
- component.dropdown.hide();
30417
- }
30418
- },
30419
- };
30420
-
30421
30384
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
30422
30385
  // See LICENSE in the project root for license information.
30423
30386
 
@@ -30427,7 +30390,7 @@ const datepickerKeyboardStrategy = {
30427
30390
  /**
30428
30391
  * The `auro-datepicker` component provides users with a way to select a date or date range from a calendar popup or fullscreen calendar on mobile.
30429
30392
  * @customElement auro-datepicker
30430
- *
30393
+ *
30431
30394
  * @slot helpText - Defines the content of the helpText.
30432
30395
  * @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
30433
30396
  * @slot ariaLabel.input.clear - Sets aria-label on clear button
@@ -31231,8 +31194,11 @@ class AuroDatePicker extends AuroElement$5 {
31231
31194
  // Tab closes the fullscreen dialog (same pattern as select).
31232
31195
  // The dialog event bridge intercepts Tab and re-dispatches it as a
31233
31196
  // composed keydown; this listener catches the re-dispatched event.
31234
- // Enter opens the bib when it is closed.
31235
- applyKeyboardStrategy$2(this, datepickerKeyboardStrategy);
31197
+ this.addEventListener('keydown', (evt) => {
31198
+ if (evt.key === 'Tab' && this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
31199
+ this.dropdown.hide();
31200
+ }
31201
+ });
31236
31202
 
31237
31203
  this.dropdown.addEventListener('auroDropdown-triggerClick', () => {
31238
31204
  if (!this.isPopoverVisible) {
@@ -33750,7 +33716,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
33750
33716
  }
33751
33717
  };
33752
33718
 
33753
- var formkitVersion$1$2 = '202603241855';
33719
+ var formkitVersion$1$2 = '202603242359';
33754
33720
 
33755
33721
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
33756
33722
  // See LICENSE in the project root for license information.
@@ -37124,6 +37090,7 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
37124
37090
 
37125
37091
  this.shape = "rounded";
37126
37092
  this.matchWidth = false;
37093
+ this.hasActiveDescendant = false;
37127
37094
  }
37128
37095
 
37129
37096
  static get styles() {
@@ -37210,6 +37177,18 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
37210
37177
  */
37211
37178
  dialogRole: {
37212
37179
  type: String
37180
+ },
37181
+
37182
+ /**
37183
+ * Set by auro-dropdown when a menu option is highlighted via
37184
+ * aria-activedescendant. The dialog keyboard bridge checks this
37185
+ * flag so that Enter selects the highlighted option instead of
37186
+ * activating the focused interactive element (e.g. the trigger
37187
+ * button, or the bibtemplate close button in fullscreen).
37188
+ * @private
37189
+ */
37190
+ hasActiveDescendant: {
37191
+ type: Boolean
37213
37192
  }
37214
37193
  };
37215
37194
  }
@@ -37293,7 +37272,7 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
37293
37272
  /**
37294
37273
  * Forwards the dialog's native `cancel` event (fired on ESC) as
37295
37274
  * an `auro-bib-cancel` custom event so parent components can close.
37296
- * @param {HTMLDialogElement} dialog
37275
+ * @param {HTMLDialogElement} dialog - The dialog element to attach the cancel listener to.
37297
37276
  * @private
37298
37277
  */
37299
37278
  _setupCancelHandler(dialog) {
@@ -37337,7 +37316,7 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
37337
37316
  * is a secondary path for parent components that also listen for
37338
37317
  * Escape keydown.
37339
37318
  *
37340
- * @param {HTMLDialogElement} dialog
37319
+ * @param {HTMLDialogElement} dialog - The dialog element to attach the keyboard bridge to.
37341
37320
  * @private
37342
37321
  */
37343
37322
  _setupKeyboardBridge(dialog) {
@@ -37356,15 +37335,23 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
37356
37335
 
37357
37336
  // Custom elements (auro-button) don't get the native Enter→click
37358
37337
  // behavior that <button> has. Find the button in the composed path
37359
- // and click it directly.
37338
+ // and click it directly — but only when no menu option is
37339
+ // highlighted. In fullscreen mode focus stays on the close button
37340
+ // while arrow keys move the active-descendant highlight through
37341
+ // the listbox. If the user presses Enter with an option
37342
+ // highlighted, the intent is to select that option, not to click
37343
+ // the close button. In that case we fall through and bridge the
37344
+ // Enter key to the parent component's keyboard strategy.
37360
37345
  if (event.key === 'Enter') {
37361
- const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
37362
- const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
37363
- if (btn) {
37364
- event.preventDefault();
37365
- event.stopPropagation();
37366
- btn.click();
37367
- return;
37346
+ if (!this.hasActiveDescendant) {
37347
+ const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
37348
+ const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
37349
+ if (btn) {
37350
+ event.preventDefault();
37351
+ event.stopPropagation();
37352
+ btn.click();
37353
+ return;
37354
+ }
37368
37355
  }
37369
37356
  }
37370
37357
 
@@ -37479,6 +37466,8 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
37479
37466
  * Closes the dialog.
37480
37467
  */
37481
37468
  close() {
37469
+ this.hasActiveDescendant = false;
37470
+
37482
37471
  const dialog = this.shadowRoot.querySelector('dialog');
37483
37472
 
37484
37473
  if (dialog && dialog.open) {
@@ -37756,7 +37745,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
37756
37745
  }
37757
37746
  };
37758
37747
 
37759
- var formkitVersion$6 = '202603241855';
37748
+ var formkitVersion$6 = '202603242359';
37760
37749
 
37761
37750
  let AuroElement$1$2 = class AuroElement extends i$4 {
37762
37751
  static get properties() {
@@ -38075,6 +38064,15 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
38075
38064
  this.trigger.ariaActiveDescendantElement = null;
38076
38065
  this.trigger.removeAttribute('aria-activedescendant');
38077
38066
  }
38067
+
38068
+ // In fullscreen, focus stays on the close button while arrow keys
38069
+ // highlight options via active-descendant. Without this flag the
38070
+ // keyboard bridge clicks the close button on Enter (closing the
38071
+ // bib without selecting). When true, the bridge skips the button
38072
+ // click and forwards Enter to the parent to make the selection.
38073
+ if (this.bibContent) {
38074
+ this.bibContent.hasActiveDescendant = this.isBibFullscreen && Boolean(element);
38075
+ }
38078
38076
  }
38079
38077
 
38080
38078
  // function to define props used within the scope of this component
@@ -41824,7 +41822,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
41824
41822
  }
41825
41823
  };
41826
41824
 
41827
- var formkitVersion$5 = '202603241855';
41825
+ var formkitVersion$5 = '202603242359';
41828
41826
 
41829
41827
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
41830
41828
  // See LICENSE in the project root for license information.
@@ -43993,7 +43991,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
43993
43991
  }
43994
43992
  };
43995
43993
 
43996
- var formkitVersion$4 = '202603241855';
43994
+ var formkitVersion$4 = '202603242359';
43997
43995
 
43998
43996
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
43999
43997
  // See LICENSE in the project root for license information.
@@ -48668,6 +48666,7 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
48668
48666
 
48669
48667
  this.shape = "rounded";
48670
48668
  this.matchWidth = false;
48669
+ this.hasActiveDescendant = false;
48671
48670
  }
48672
48671
 
48673
48672
  static get styles() {
@@ -48754,6 +48753,18 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
48754
48753
  */
48755
48754
  dialogRole: {
48756
48755
  type: String
48756
+ },
48757
+
48758
+ /**
48759
+ * Set by auro-dropdown when a menu option is highlighted via
48760
+ * aria-activedescendant. The dialog keyboard bridge checks this
48761
+ * flag so that Enter selects the highlighted option instead of
48762
+ * activating the focused interactive element (e.g. the trigger
48763
+ * button, or the bibtemplate close button in fullscreen).
48764
+ * @private
48765
+ */
48766
+ hasActiveDescendant: {
48767
+ type: Boolean
48757
48768
  }
48758
48769
  };
48759
48770
  }
@@ -48837,7 +48848,7 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
48837
48848
  /**
48838
48849
  * Forwards the dialog's native `cancel` event (fired on ESC) as
48839
48850
  * an `auro-bib-cancel` custom event so parent components can close.
48840
- * @param {HTMLDialogElement} dialog
48851
+ * @param {HTMLDialogElement} dialog - The dialog element to attach the cancel listener to.
48841
48852
  * @private
48842
48853
  */
48843
48854
  _setupCancelHandler(dialog) {
@@ -48881,7 +48892,7 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
48881
48892
  * is a secondary path for parent components that also listen for
48882
48893
  * Escape keydown.
48883
48894
  *
48884
- * @param {HTMLDialogElement} dialog
48895
+ * @param {HTMLDialogElement} dialog - The dialog element to attach the keyboard bridge to.
48885
48896
  * @private
48886
48897
  */
48887
48898
  _setupKeyboardBridge(dialog) {
@@ -48900,15 +48911,23 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
48900
48911
 
48901
48912
  // Custom elements (auro-button) don't get the native Enter→click
48902
48913
  // behavior that <button> has. Find the button in the composed path
48903
- // and click it directly.
48914
+ // and click it directly — but only when no menu option is
48915
+ // highlighted. In fullscreen mode focus stays on the close button
48916
+ // while arrow keys move the active-descendant highlight through
48917
+ // the listbox. If the user presses Enter with an option
48918
+ // highlighted, the intent is to select that option, not to click
48919
+ // the close button. In that case we fall through and bridge the
48920
+ // Enter key to the parent component's keyboard strategy.
48904
48921
  if (event.key === 'Enter') {
48905
- const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
48906
- const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
48907
- if (btn) {
48908
- event.preventDefault();
48909
- event.stopPropagation();
48910
- btn.click();
48911
- return;
48922
+ if (!this.hasActiveDescendant) {
48923
+ const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
48924
+ const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
48925
+ if (btn) {
48926
+ event.preventDefault();
48927
+ event.stopPropagation();
48928
+ btn.click();
48929
+ return;
48930
+ }
48912
48931
  }
48913
48932
  }
48914
48933
 
@@ -49023,6 +49042,8 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
49023
49042
  * Closes the dialog.
49024
49043
  */
49025
49044
  close() {
49045
+ this.hasActiveDescendant = false;
49046
+
49026
49047
  const dialog = this.shadowRoot.querySelector('dialog');
49027
49048
 
49028
49049
  if (dialog && dialog.open) {
@@ -49300,7 +49321,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
49300
49321
  }
49301
49322
  };
49302
49323
 
49303
- var formkitVersion$2 = '202603241855';
49324
+ var formkitVersion$2 = '202603242359';
49304
49325
 
49305
49326
  let AuroElement$2$1 = class AuroElement extends i$4 {
49306
49327
  static get properties() {
@@ -49619,6 +49640,15 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
49619
49640
  this.trigger.ariaActiveDescendantElement = null;
49620
49641
  this.trigger.removeAttribute('aria-activedescendant');
49621
49642
  }
49643
+
49644
+ // In fullscreen, focus stays on the close button while arrow keys
49645
+ // highlight options via active-descendant. Without this flag the
49646
+ // keyboard bridge clicks the close button on Enter (closing the
49647
+ // bib without selecting). When true, the bridge skips the button
49648
+ // click and forwards Enter to the parent to make the selection.
49649
+ if (this.bibContent) {
49650
+ this.bibContent.hasActiveDescendant = this.isBibFullscreen && Boolean(element);
49651
+ }
49622
49652
  }
49623
49653
 
49624
49654
  // function to define props used within the scope of this component
@@ -57048,7 +57078,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
57048
57078
  }
57049
57079
  };
57050
57080
 
57051
- var formkitVersion$1$1 = '202603241855';
57081
+ var formkitVersion$1$1 = '202603242359';
57052
57082
 
57053
57083
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
57054
57084
  // See LICENSE in the project root for license information.
@@ -58087,7 +58117,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$4 {
58087
58117
  }
58088
58118
  };
58089
58119
 
58090
- var formkitVersion$3 = '202603241855';
58120
+ var formkitVersion$3 = '202603242359';
58091
58121
 
58092
58122
  var styleCss$1$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}`;
58093
58123
 
@@ -66475,6 +66505,7 @@ class AuroDropdownBib extends i$4 {
66475
66505
 
66476
66506
  this.shape = "rounded";
66477
66507
  this.matchWidth = false;
66508
+ this.hasActiveDescendant = false;
66478
66509
  }
66479
66510
 
66480
66511
  static get styles() {
@@ -66561,6 +66592,18 @@ class AuroDropdownBib extends i$4 {
66561
66592
  */
66562
66593
  dialogRole: {
66563
66594
  type: String
66595
+ },
66596
+
66597
+ /**
66598
+ * Set by auro-dropdown when a menu option is highlighted via
66599
+ * aria-activedescendant. The dialog keyboard bridge checks this
66600
+ * flag so that Enter selects the highlighted option instead of
66601
+ * activating the focused interactive element (e.g. the trigger
66602
+ * button, or the bibtemplate close button in fullscreen).
66603
+ * @private
66604
+ */
66605
+ hasActiveDescendant: {
66606
+ type: Boolean
66564
66607
  }
66565
66608
  };
66566
66609
  }
@@ -66644,7 +66687,7 @@ class AuroDropdownBib extends i$4 {
66644
66687
  /**
66645
66688
  * Forwards the dialog's native `cancel` event (fired on ESC) as
66646
66689
  * an `auro-bib-cancel` custom event so parent components can close.
66647
- * @param {HTMLDialogElement} dialog
66690
+ * @param {HTMLDialogElement} dialog - The dialog element to attach the cancel listener to.
66648
66691
  * @private
66649
66692
  */
66650
66693
  _setupCancelHandler(dialog) {
@@ -66688,7 +66731,7 @@ class AuroDropdownBib extends i$4 {
66688
66731
  * is a secondary path for parent components that also listen for
66689
66732
  * Escape keydown.
66690
66733
  *
66691
- * @param {HTMLDialogElement} dialog
66734
+ * @param {HTMLDialogElement} dialog - The dialog element to attach the keyboard bridge to.
66692
66735
  * @private
66693
66736
  */
66694
66737
  _setupKeyboardBridge(dialog) {
@@ -66707,15 +66750,23 @@ class AuroDropdownBib extends i$4 {
66707
66750
 
66708
66751
  // Custom elements (auro-button) don't get the native Enter→click
66709
66752
  // behavior that <button> has. Find the button in the composed path
66710
- // and click it directly.
66753
+ // and click it directly — but only when no menu option is
66754
+ // highlighted. In fullscreen mode focus stays on the close button
66755
+ // while arrow keys move the active-descendant highlight through
66756
+ // the listbox. If the user presses Enter with an option
66757
+ // highlighted, the intent is to select that option, not to click
66758
+ // the close button. In that case we fall through and bridge the
66759
+ // Enter key to the parent component's keyboard strategy.
66711
66760
  if (event.key === 'Enter') {
66712
- const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
66713
- const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
66714
- if (btn) {
66715
- event.preventDefault();
66716
- event.stopPropagation();
66717
- btn.click();
66718
- return;
66761
+ if (!this.hasActiveDescendant) {
66762
+ const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
66763
+ const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
66764
+ if (btn) {
66765
+ event.preventDefault();
66766
+ event.stopPropagation();
66767
+ btn.click();
66768
+ return;
66769
+ }
66719
66770
  }
66720
66771
  }
66721
66772
 
@@ -66830,6 +66881,8 @@ class AuroDropdownBib extends i$4 {
66830
66881
  * Closes the dialog.
66831
66882
  */
66832
66883
  close() {
66884
+ this.hasActiveDescendant = false;
66885
+
66833
66886
  const dialog = this.shadowRoot.querySelector('dialog');
66834
66887
 
66835
66888
  if (dialog && dialog.open) {
@@ -67107,7 +67160,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
67107
67160
  }
67108
67161
  };
67109
67162
 
67110
- var formkitVersion$1 = '202603241855';
67163
+ var formkitVersion$1 = '202603242359';
67111
67164
 
67112
67165
  class AuroElement extends i$4 {
67113
67166
  static get properties() {
@@ -67426,6 +67479,15 @@ class AuroDropdown extends AuroElement {
67426
67479
  this.trigger.ariaActiveDescendantElement = null;
67427
67480
  this.trigger.removeAttribute('aria-activedescendant');
67428
67481
  }
67482
+
67483
+ // In fullscreen, focus stays on the close button while arrow keys
67484
+ // highlight options via active-descendant. Without this flag the
67485
+ // keyboard bridge clicks the close button on Enter (closing the
67486
+ // bib without selecting). When true, the bridge skips the button
67487
+ // click and forwards Enter to the parent to make the selection.
67488
+ if (this.bibContent) {
67489
+ this.bibContent.hasActiveDescendant = this.isBibFullscreen && Boolean(element);
67490
+ }
67429
67491
  }
67430
67492
 
67431
67493
  // function to define props used within the scope of this component
@@ -68851,7 +68913,7 @@ class AuroHelpText extends i$4 {
68851
68913
  }
68852
68914
  }
68853
68915
 
68854
- var formkitVersion = '202603241855';
68916
+ var formkitVersion = '202603242359';
68855
68917
 
68856
68918
  var styleCss = 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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-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, 450);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, 450);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}`;
68857
68919