@aurodesignsystem-dev/auro-formkit 0.0.0-pr1431.2 → 0.0.0-pr1433.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 (43) 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 +235 -47
  6. package/components/combobox/demo/index.min.js +235 -47
  7. package/components/combobox/dist/auro-combobox.d.ts +4 -0
  8. package/components/combobox/dist/index.js +144 -24
  9. package/components/combobox/dist/registered.js +144 -24
  10. package/components/counter/demo/api.min.js +30 -2
  11. package/components/counter/demo/index.min.js +30 -2
  12. package/components/counter/dist/index.js +30 -2
  13. package/components/counter/dist/registered.js +30 -2
  14. package/components/datepicker/demo/api.min.js +33 -3
  15. package/components/datepicker/demo/index.min.js +33 -3
  16. package/components/datepicker/dist/index.js +33 -3
  17. package/components/datepicker/dist/registered.js +33 -3
  18. package/components/dropdown/demo/api.min.js +29 -1
  19. package/components/dropdown/demo/index.min.js +29 -1
  20. package/components/dropdown/dist/index.js +29 -1
  21. package/components/dropdown/dist/registered.js +29 -1
  22. package/components/form/demo/api.min.js +331 -57
  23. package/components/form/demo/index.min.js +331 -57
  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/menu/demo/api.md +1 -1
  29. package/components/menu/demo/api.min.js +91 -23
  30. package/components/menu/demo/index.min.js +91 -23
  31. package/components/menu/dist/auro-menuoption.d.ts +2 -0
  32. package/components/menu/dist/index.js +91 -23
  33. package/components/menu/dist/registered.js +91 -23
  34. package/components/radio/demo/api.min.js +1 -1
  35. package/components/radio/demo/index.min.js +1 -1
  36. package/components/radio/dist/index.js +1 -1
  37. package/components/radio/dist/registered.js +1 -1
  38. package/components/select/demo/api.min.js +121 -25
  39. package/components/select/demo/index.min.js +121 -25
  40. package/components/select/dist/index.js +30 -2
  41. package/components/select/dist/registered.js +30 -2
  42. package/custom-elements.json +422 -411
  43. package/package.json +2 -2
@@ -9242,7 +9242,7 @@ class AuroBibtemplate extends LitElement {
9242
9242
  }
9243
9243
  }
9244
9244
 
9245
- var formkitVersion$2 = '202604091435';
9245
+ var formkitVersion$2 = '202604100244';
9246
9246
 
9247
9247
  let l$1 = 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=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = 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 = 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=css`: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}
9248
9248
  `,u$4=css`.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}}
@@ -11514,6 +11514,7 @@ class AuroFloatingUI {
11514
11514
  this.focusHandler = null;
11515
11515
  this.clickHandler = null;
11516
11516
  this.keyDownHandler = null;
11517
+ this.touchHandler = null;
11517
11518
 
11518
11519
  /**
11519
11520
  * @private
@@ -11931,6 +11932,28 @@ class AuroFloatingUI {
11931
11932
  setTimeout(() => {
11932
11933
  window.addEventListener("click", this.clickHandler);
11933
11934
  }, 0);
11935
+
11936
+ // iOS Safari does not fire `click` on non-interactive elements, so
11937
+ // tapping an inert backdrop never reaches the click handler above.
11938
+ // Mirror the same outside-tap logic with a passive touchstart listener.
11939
+ this.touchHandler = (evt) => {
11940
+ const element = this.element;
11941
+ if (!element?.bib) {
11942
+ return;
11943
+ }
11944
+
11945
+ // fullscreen (modal) dialog handles its own dismissal
11946
+ if (element.bib.hasAttribute("isfullscreen")) {
11947
+ return;
11948
+ }
11949
+
11950
+ const path = evt.composedPath();
11951
+ if (!path.includes(element.trigger) && !path.includes(element.bib)) {
11952
+ this.hideBib("click");
11953
+ }
11954
+ };
11955
+
11956
+ window.addEventListener("touchstart", this.touchHandler, { passive: true });
11934
11957
  }
11935
11958
 
11936
11959
  cleanupHideHandlers() {
@@ -11946,6 +11969,11 @@ class AuroFloatingUI {
11946
11969
  this.clickHandler = null;
11947
11970
  }
11948
11971
 
11972
+ if (this.touchHandler) {
11973
+ window.removeEventListener("touchstart", this.touchHandler);
11974
+ this.touchHandler = null;
11975
+ }
11976
+
11949
11977
  if (this.keyDownHandler) {
11950
11978
  document.removeEventListener("keydown", this.keyDownHandler);
11951
11979
  this.keyDownHandler = null;
@@ -13420,7 +13448,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
13420
13448
  }
13421
13449
  };
13422
13450
 
13423
- var formkitVersion$1 = '202604091435';
13451
+ var formkitVersion$1 = '202604100244';
13424
13452
 
13425
13453
  let AuroElement$2 = class AuroElement extends LitElement {
13426
13454
  static get properties() {
@@ -21177,7 +21205,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
21177
21205
  }
21178
21206
  };
21179
21207
 
21180
- var formkitVersion = '202604091435';
21208
+ var formkitVersion = '202604100244';
21181
21209
 
21182
21210
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
21183
21211
  // See LICENSE in the project root for license information.
@@ -23286,6 +23314,7 @@ class AuroDatePicker extends AuroElement {
23286
23314
  // is already inert when the modal opens. noHideOnThisFocusLoss
23287
23315
  // prevents the floater from closing the bib when focus leaves.
23288
23316
  this.dropdown.trigger.inert = true;
23317
+ this.dropdown.noHideOnThisFocusLoss = true;
23289
23318
 
23290
23319
  // The dropdown sets disableFocusTrap, so its own updated() lifecycle
23291
23320
  // opens the dialog as non-modal (dialog.setAttribute('open', '')).
@@ -23318,6 +23347,7 @@ class AuroDatePicker extends AuroElement {
23318
23347
  // still has focus (e.g. Escape, date selected) — not when the user tabbed away,
23319
23348
  // which would pull them back and require extra Tab presses to escape.
23320
23349
  this.dropdown.trigger.inert = false;
23350
+ this.dropdown.noHideOnThisFocusLoss = false;
23321
23351
  if (this.hasFocus) {
23322
23352
  requestAnimationFrame(() => {
23323
23353
  if (!this.dropdown.isPopoverVisible) {
@@ -1945,6 +1945,7 @@ class AuroFloatingUI {
1945
1945
  this.focusHandler = null;
1946
1946
  this.clickHandler = null;
1947
1947
  this.keyDownHandler = null;
1948
+ this.touchHandler = null;
1948
1949
 
1949
1950
  /**
1950
1951
  * @private
@@ -2362,6 +2363,28 @@ class AuroFloatingUI {
2362
2363
  setTimeout(() => {
2363
2364
  window.addEventListener("click", this.clickHandler);
2364
2365
  }, 0);
2366
+
2367
+ // iOS Safari does not fire `click` on non-interactive elements, so
2368
+ // tapping an inert backdrop never reaches the click handler above.
2369
+ // Mirror the same outside-tap logic with a passive touchstart listener.
2370
+ this.touchHandler = (evt) => {
2371
+ const element = this.element;
2372
+ if (!element?.bib) {
2373
+ return;
2374
+ }
2375
+
2376
+ // fullscreen (modal) dialog handles its own dismissal
2377
+ if (element.bib.hasAttribute("isfullscreen")) {
2378
+ return;
2379
+ }
2380
+
2381
+ const path = evt.composedPath();
2382
+ if (!path.includes(element.trigger) && !path.includes(element.bib)) {
2383
+ this.hideBib("click");
2384
+ }
2385
+ };
2386
+
2387
+ window.addEventListener("touchstart", this.touchHandler, { passive: true });
2365
2388
  }
2366
2389
 
2367
2390
  cleanupHideHandlers() {
@@ -2377,6 +2400,11 @@ class AuroFloatingUI {
2377
2400
  this.clickHandler = null;
2378
2401
  }
2379
2402
 
2403
+ if (this.touchHandler) {
2404
+ window.removeEventListener("touchstart", this.touchHandler);
2405
+ this.touchHandler = null;
2406
+ }
2407
+
2380
2408
  if (this.keyDownHandler) {
2381
2409
  document.removeEventListener("keydown", this.keyDownHandler);
2382
2410
  this.keyDownHandler = null;
@@ -3882,7 +3910,7 @@ class AuroHelpText extends i {
3882
3910
  }
3883
3911
  }
3884
3912
 
3885
- var formkitVersion = '202604091435';
3913
+ var formkitVersion = '202604100244';
3886
3914
 
3887
3915
  class AuroElement extends i {
3888
3916
  static get properties() {
@@ -1866,6 +1866,7 @@ class AuroFloatingUI {
1866
1866
  this.focusHandler = null;
1867
1867
  this.clickHandler = null;
1868
1868
  this.keyDownHandler = null;
1869
+ this.touchHandler = null;
1869
1870
 
1870
1871
  /**
1871
1872
  * @private
@@ -2283,6 +2284,28 @@ class AuroFloatingUI {
2283
2284
  setTimeout(() => {
2284
2285
  window.addEventListener("click", this.clickHandler);
2285
2286
  }, 0);
2287
+
2288
+ // iOS Safari does not fire `click` on non-interactive elements, so
2289
+ // tapping an inert backdrop never reaches the click handler above.
2290
+ // Mirror the same outside-tap logic with a passive touchstart listener.
2291
+ this.touchHandler = (evt) => {
2292
+ const element = this.element;
2293
+ if (!element?.bib) {
2294
+ return;
2295
+ }
2296
+
2297
+ // fullscreen (modal) dialog handles its own dismissal
2298
+ if (element.bib.hasAttribute("isfullscreen")) {
2299
+ return;
2300
+ }
2301
+
2302
+ const path = evt.composedPath();
2303
+ if (!path.includes(element.trigger) && !path.includes(element.bib)) {
2304
+ this.hideBib("click");
2305
+ }
2306
+ };
2307
+
2308
+ window.addEventListener("touchstart", this.touchHandler, { passive: true });
2286
2309
  }
2287
2310
 
2288
2311
  cleanupHideHandlers() {
@@ -2298,6 +2321,11 @@ class AuroFloatingUI {
2298
2321
  this.clickHandler = null;
2299
2322
  }
2300
2323
 
2324
+ if (this.touchHandler) {
2325
+ window.removeEventListener("touchstart", this.touchHandler);
2326
+ this.touchHandler = null;
2327
+ }
2328
+
2301
2329
  if (this.keyDownHandler) {
2302
2330
  document.removeEventListener("keydown", this.keyDownHandler);
2303
2331
  this.keyDownHandler = null;
@@ -3803,7 +3831,7 @@ class AuroHelpText extends i {
3803
3831
  }
3804
3832
  }
3805
3833
 
3806
- var formkitVersion = '202604091435';
3834
+ var formkitVersion = '202604100244';
3807
3835
 
3808
3836
  class AuroElement extends i {
3809
3837
  static get properties() {
@@ -1802,6 +1802,7 @@ class AuroFloatingUI {
1802
1802
  this.focusHandler = null;
1803
1803
  this.clickHandler = null;
1804
1804
  this.keyDownHandler = null;
1805
+ this.touchHandler = null;
1805
1806
 
1806
1807
  /**
1807
1808
  * @private
@@ -2219,6 +2220,28 @@ class AuroFloatingUI {
2219
2220
  setTimeout(() => {
2220
2221
  window.addEventListener("click", this.clickHandler);
2221
2222
  }, 0);
2223
+
2224
+ // iOS Safari does not fire `click` on non-interactive elements, so
2225
+ // tapping an inert backdrop never reaches the click handler above.
2226
+ // Mirror the same outside-tap logic with a passive touchstart listener.
2227
+ this.touchHandler = (evt) => {
2228
+ const element = this.element;
2229
+ if (!element?.bib) {
2230
+ return;
2231
+ }
2232
+
2233
+ // fullscreen (modal) dialog handles its own dismissal
2234
+ if (element.bib.hasAttribute("isfullscreen")) {
2235
+ return;
2236
+ }
2237
+
2238
+ const path = evt.composedPath();
2239
+ if (!path.includes(element.trigger) && !path.includes(element.bib)) {
2240
+ this.hideBib("click");
2241
+ }
2242
+ };
2243
+
2244
+ window.addEventListener("touchstart", this.touchHandler, { passive: true });
2222
2245
  }
2223
2246
 
2224
2247
  cleanupHideHandlers() {
@@ -2234,6 +2257,11 @@ class AuroFloatingUI {
2234
2257
  this.clickHandler = null;
2235
2258
  }
2236
2259
 
2260
+ if (this.touchHandler) {
2261
+ window.removeEventListener("touchstart", this.touchHandler);
2262
+ this.touchHandler = null;
2263
+ }
2264
+
2237
2265
  if (this.keyDownHandler) {
2238
2266
  document.removeEventListener("keydown", this.keyDownHandler);
2239
2267
  this.keyDownHandler = null;
@@ -3708,7 +3736,7 @@ class AuroHelpText extends LitElement {
3708
3736
  }
3709
3737
  }
3710
3738
 
3711
- var formkitVersion = '202604091435';
3739
+ var formkitVersion = '202604100244';
3712
3740
 
3713
3741
  class AuroElement extends LitElement {
3714
3742
  static get properties() {
@@ -1802,6 +1802,7 @@ class AuroFloatingUI {
1802
1802
  this.focusHandler = null;
1803
1803
  this.clickHandler = null;
1804
1804
  this.keyDownHandler = null;
1805
+ this.touchHandler = null;
1805
1806
 
1806
1807
  /**
1807
1808
  * @private
@@ -2219,6 +2220,28 @@ class AuroFloatingUI {
2219
2220
  setTimeout(() => {
2220
2221
  window.addEventListener("click", this.clickHandler);
2221
2222
  }, 0);
2223
+
2224
+ // iOS Safari does not fire `click` on non-interactive elements, so
2225
+ // tapping an inert backdrop never reaches the click handler above.
2226
+ // Mirror the same outside-tap logic with a passive touchstart listener.
2227
+ this.touchHandler = (evt) => {
2228
+ const element = this.element;
2229
+ if (!element?.bib) {
2230
+ return;
2231
+ }
2232
+
2233
+ // fullscreen (modal) dialog handles its own dismissal
2234
+ if (element.bib.hasAttribute("isfullscreen")) {
2235
+ return;
2236
+ }
2237
+
2238
+ const path = evt.composedPath();
2239
+ if (!path.includes(element.trigger) && !path.includes(element.bib)) {
2240
+ this.hideBib("click");
2241
+ }
2242
+ };
2243
+
2244
+ window.addEventListener("touchstart", this.touchHandler, { passive: true });
2222
2245
  }
2223
2246
 
2224
2247
  cleanupHideHandlers() {
@@ -2234,6 +2257,11 @@ class AuroFloatingUI {
2234
2257
  this.clickHandler = null;
2235
2258
  }
2236
2259
 
2260
+ if (this.touchHandler) {
2261
+ window.removeEventListener("touchstart", this.touchHandler);
2262
+ this.touchHandler = null;
2263
+ }
2264
+
2237
2265
  if (this.keyDownHandler) {
2238
2266
  document.removeEventListener("keydown", this.keyDownHandler);
2239
2267
  this.keyDownHandler = null;
@@ -3708,7 +3736,7 @@ class AuroHelpText extends LitElement {
3708
3736
  }
3709
3737
  }
3710
3738
 
3711
- var formkitVersion = '202604091435';
3739
+ var formkitVersion = '202604100244';
3712
3740
 
3713
3741
  class AuroElement extends LitElement {
3714
3742
  static get properties() {