@aurodesignsystem-dev/auro-formkit 0.0.0-pr1474.5 → 0.0.0-pr1474.6
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.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +3 -3
- package/components/combobox/demo/getting-started.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.md +13 -4
- package/components/form/demo/customize.min.js +158 -41
- package/components/form/demo/getting-started.min.js +158 -41
- package/components/form/demo/index.min.js +158 -41
- package/components/form/demo/registerDemoDeps.min.js +144 -37
- package/components/form/dist/auro-form.d.ts +11 -3
- package/components/form/dist/index.js +14 -4
- package/components/form/dist/registered.js +14 -4
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.md +1 -0
- package/components/select/demo/customize.md +71 -0
- package/components/select/demo/customize.min.js +133 -26
- package/components/select/demo/getting-started.min.js +133 -26
- package/components/select/demo/index.min.js +133 -26
- package/components/select/demo/keyboard-behavior.md +18 -0
- package/components/select/dist/auro-select.d.ts +38 -2
- package/components/select/dist/index.js +133 -26
- package/components/select/dist/registered.js +133 -26
- package/components/select/dist/selectUtils.d.ts +12 -0
- package/custom-elements.json +442 -350
- package/package.json +1 -1
|
@@ -12328,7 +12328,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12328
12328
|
}
|
|
12329
12329
|
};
|
|
12330
12330
|
|
|
12331
|
-
var formkitVersion$8 = '
|
|
12331
|
+
var formkitVersion$8 = '202606182125';
|
|
12332
12332
|
|
|
12333
12333
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12334
12334
|
// See LICENSE in the project root for license information.
|
|
@@ -26447,7 +26447,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
26447
26447
|
}
|
|
26448
26448
|
};
|
|
26449
26449
|
|
|
26450
|
-
var formkitVersion$2$1 = '
|
|
26450
|
+
var formkitVersion$2$1 = '202606182125';
|
|
26451
26451
|
|
|
26452
26452
|
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$5`${s$5(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$4`: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}
|
|
26453
26453
|
`,u$4$2=i$4`.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}}
|
|
@@ -31958,7 +31958,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
31958
31958
|
}
|
|
31959
31959
|
};
|
|
31960
31960
|
|
|
31961
|
-
var formkitVersion$1$3 = '
|
|
31961
|
+
var formkitVersion$1$3 = '202606182125';
|
|
31962
31962
|
|
|
31963
31963
|
let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
31964
31964
|
static get properties() {
|
|
@@ -45540,7 +45540,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
45540
45540
|
}
|
|
45541
45541
|
};
|
|
45542
45542
|
|
|
45543
|
-
var formkitVersion$7 = '
|
|
45543
|
+
var formkitVersion$7 = '202606182125';
|
|
45544
45544
|
|
|
45545
45545
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
45546
45546
|
// See LICENSE in the project root for license information.
|
|
@@ -50237,7 +50237,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
50237
50237
|
}
|
|
50238
50238
|
};
|
|
50239
50239
|
|
|
50240
|
-
var formkitVersion$1$2 = '
|
|
50240
|
+
var formkitVersion$1$2 = '202606182125';
|
|
50241
50241
|
|
|
50242
50242
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
50243
50243
|
// See LICENSE in the project root for license information.
|
|
@@ -54565,7 +54565,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
54565
54565
|
}
|
|
54566
54566
|
};
|
|
54567
54567
|
|
|
54568
|
-
var formkitVersion$6 = '
|
|
54568
|
+
var formkitVersion$6 = '202606182125';
|
|
54569
54569
|
|
|
54570
54570
|
let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
54571
54571
|
static get properties() {
|
|
@@ -58497,7 +58497,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
58497
58497
|
}
|
|
58498
58498
|
};
|
|
58499
58499
|
|
|
58500
|
-
var formkitVersion$5 = '
|
|
58500
|
+
var formkitVersion$5 = '202606182125';
|
|
58501
58501
|
|
|
58502
58502
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
58503
58503
|
// See LICENSE in the project root for license information.
|
|
@@ -60247,7 +60247,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
60247
60247
|
}
|
|
60248
60248
|
};
|
|
60249
60249
|
|
|
60250
|
-
var formkitVersion$4 = '
|
|
60250
|
+
var formkitVersion$4 = '202606182125';
|
|
60251
60251
|
|
|
60252
60252
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
60253
60253
|
// See LICENSE in the project root for license information.
|
|
@@ -65462,7 +65462,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
65462
65462
|
}
|
|
65463
65463
|
};
|
|
65464
65464
|
|
|
65465
|
-
var formkitVersion$2 = '
|
|
65465
|
+
var formkitVersion$2 = '202606182125';
|
|
65466
65466
|
|
|
65467
65467
|
let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
65468
65468
|
static get properties() {
|
|
@@ -79044,7 +79044,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
79044
79044
|
}
|
|
79045
79045
|
};
|
|
79046
79046
|
|
|
79047
|
-
var formkitVersion$1$1 = '
|
|
79047
|
+
var formkitVersion$1$1 = '202606182125';
|
|
79048
79048
|
|
|
79049
79049
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
79050
79050
|
// See LICENSE in the project root for license information.
|
|
@@ -80165,7 +80165,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
80165
80165
|
}
|
|
80166
80166
|
};
|
|
80167
80167
|
|
|
80168
|
-
var formkitVersion$3 = '
|
|
80168
|
+
var formkitVersion$3 = '202606182125';
|
|
80169
80169
|
|
|
80170
80170
|
var styleCss$1$3 = i$4`.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}`;
|
|
80171
80171
|
|
|
@@ -84929,6 +84929,21 @@ function getEnabledOptions(menu) {
|
|
|
84929
84929
|
return (menu?.options || []).filter((option) => !option.disabled);
|
|
84930
84930
|
}
|
|
84931
84931
|
|
|
84932
|
+
/**
|
|
84933
|
+
* Returns the active (selectable + visible) options for type-ahead navigation.
|
|
84934
|
+
*
|
|
84935
|
+
* Uses auro-menuoption's `isActive` getter, which excludes disabled, hidden,
|
|
84936
|
+
* and static options (e.g. `static nomatch` placeholders) so the type-ahead
|
|
84937
|
+
* cursor never lands on a non-actionable item. Same empty-safe handling as
|
|
84938
|
+
* `getEnabledOptions`.
|
|
84939
|
+
*
|
|
84940
|
+
* @param {HTMLElement | null | undefined} menu - The auro-menu element.
|
|
84941
|
+
* @returns {Array<HTMLElement>} Active options, empty array when none.
|
|
84942
|
+
*/
|
|
84943
|
+
function getActiveOptions(menu) {
|
|
84944
|
+
return (menu?.options || []).filter((option) => option.isActive);
|
|
84945
|
+
}
|
|
84946
|
+
|
|
84932
84947
|
/* eslint-disable new-cap */
|
|
84933
84948
|
|
|
84934
84949
|
const selectKeyboardStrategy = {
|
|
@@ -84961,6 +84976,14 @@ const selectKeyboardStrategy = {
|
|
|
84961
84976
|
},
|
|
84962
84977
|
|
|
84963
84978
|
Escape(component, evt, ctx) {
|
|
84979
|
+
// Always clear the type-ahead buffer — Escape is a universal cancel.
|
|
84980
|
+
// Safe to call when the buffer is empty.
|
|
84981
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
84982
|
+
if (typeof component._clearTypeaheadBuffer === 'function') {
|
|
84983
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
84984
|
+
component._clearTypeaheadBuffer();
|
|
84985
|
+
}
|
|
84986
|
+
|
|
84964
84987
|
if (!ctx.isExpanded) {
|
|
84965
84988
|
return;
|
|
84966
84989
|
}
|
|
@@ -85020,16 +85043,25 @@ const selectKeyboardStrategy = {
|
|
|
85020
85043
|
},
|
|
85021
85044
|
|
|
85022
85045
|
default(component, evt, ctx) {
|
|
85023
|
-
|
|
85046
|
+
// Space resolves to either typeahead-buffer extension or bib toggle
|
|
85047
|
+
// depending on whether a type-ahead buffer is active. Mirrors native
|
|
85048
|
+
// <select> and the WAI-ARIA APG Listbox guidance: mid-typeahead space
|
|
85049
|
+
// is a search character (e.g. "San Francisco"); otherwise it toggles.
|
|
85024
85050
|
if (evt.key === ' ') {
|
|
85025
85051
|
evt.preventDefault();
|
|
85026
85052
|
evt.stopPropagation();
|
|
85053
|
+
if (component.typeaheadBuffer && component.typeaheadBuffer.length > 0) {
|
|
85054
|
+
component.updateActiveOptionBasedOnKey(evt.key);
|
|
85055
|
+
return;
|
|
85056
|
+
}
|
|
85027
85057
|
if (ctx.isExpanded) {
|
|
85028
85058
|
component.dropdown.hide();
|
|
85029
|
-
|
|
85059
|
+
} else {
|
|
85060
|
+
component.dropdown.show();
|
|
85030
85061
|
}
|
|
85031
|
-
|
|
85062
|
+
return;
|
|
85032
85063
|
}
|
|
85064
|
+
component.updateActiveOptionBasedOnKey(evt.key);
|
|
85033
85065
|
},
|
|
85034
85066
|
};
|
|
85035
85067
|
|
|
@@ -88941,7 +88973,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
88941
88973
|
}
|
|
88942
88974
|
};
|
|
88943
88975
|
|
|
88944
|
-
var formkitVersion$1 = '
|
|
88976
|
+
var formkitVersion$1 = '202606182125';
|
|
88945
88977
|
|
|
88946
88978
|
class AuroElement extends i$2 {
|
|
88947
88979
|
static get properties() {
|
|
@@ -90954,7 +90986,7 @@ class AuroHelpText extends i$2 {
|
|
|
90954
90986
|
}
|
|
90955
90987
|
}
|
|
90956
90988
|
|
|
90957
|
-
var formkitVersion = '
|
|
90989
|
+
var formkitVersion = '202606182125';
|
|
90958
90990
|
|
|
90959
90991
|
var styleCss = i$4`.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}`;
|
|
90960
90992
|
|
|
@@ -91059,6 +91091,16 @@ class AuroSelect extends AuroElement$1 {
|
|
|
91059
91091
|
* @private
|
|
91060
91092
|
*/
|
|
91061
91093
|
this.hasDisplayValueContent = false;
|
|
91094
|
+
|
|
91095
|
+
/**
|
|
91096
|
+
* @private
|
|
91097
|
+
*/
|
|
91098
|
+
this.typeaheadBuffer = '';
|
|
91099
|
+
|
|
91100
|
+
/**
|
|
91101
|
+
* @private
|
|
91102
|
+
*/
|
|
91103
|
+
this._typeaheadTimeout = null;
|
|
91062
91104
|
}
|
|
91063
91105
|
|
|
91064
91106
|
/**
|
|
@@ -91071,6 +91113,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
91071
91113
|
this.fullscreenBreakpoint = 'sm';
|
|
91072
91114
|
this.onDark = false;
|
|
91073
91115
|
this.isPopoverVisible = false;
|
|
91116
|
+
this.typeaheadTimeoutMs = 500;
|
|
91074
91117
|
|
|
91075
91118
|
// Layout Config
|
|
91076
91119
|
this.layout = 'classic';
|
|
@@ -91374,6 +91417,16 @@ class AuroSelect extends AuroElement$1 {
|
|
|
91374
91417
|
attribute: false
|
|
91375
91418
|
},
|
|
91376
91419
|
|
|
91420
|
+
/**
|
|
91421
|
+
* Milliseconds of keyboard inactivity before the type-ahead buffer resets.
|
|
91422
|
+
* Increase for users who type slowly.
|
|
91423
|
+
* @default 500
|
|
91424
|
+
*/
|
|
91425
|
+
typeaheadTimeoutMs: {
|
|
91426
|
+
type: Number,
|
|
91427
|
+
reflect: true
|
|
91428
|
+
},
|
|
91429
|
+
|
|
91377
91430
|
/**
|
|
91378
91431
|
* Specifies the `validityState` this element is in.
|
|
91379
91432
|
*/
|
|
@@ -91813,6 +91866,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
91813
91866
|
this.addEventListener('blur', () => {
|
|
91814
91867
|
this.validate();
|
|
91815
91868
|
this.hasFocus = false;
|
|
91869
|
+
this._clearTypeaheadBuffer();
|
|
91816
91870
|
});
|
|
91817
91871
|
}
|
|
91818
91872
|
|
|
@@ -91826,41 +91880,89 @@ class AuroSelect extends AuroElement$1 {
|
|
|
91826
91880
|
}
|
|
91827
91881
|
}
|
|
91828
91882
|
|
|
91883
|
+
/**
|
|
91884
|
+
* Returns the lowercase, trimmed text content of a menu option.
|
|
91885
|
+
* @private
|
|
91886
|
+
* @param {HTMLElement} option - The menu option element.
|
|
91887
|
+
* @returns {string}
|
|
91888
|
+
*/
|
|
91889
|
+
_getOptionDisplayText(option) {
|
|
91890
|
+
return (option.textContent || '').trim().toLowerCase();
|
|
91891
|
+
}
|
|
91892
|
+
|
|
91893
|
+
/**
|
|
91894
|
+
* Empties the type-ahead buffer and cancels any pending reset timeout.
|
|
91895
|
+
* Called when focus leaves the component, when Escape closes the bib, and on disconnect
|
|
91896
|
+
* so a stale buffer never bridges into a fresh interaction.
|
|
91897
|
+
* @private
|
|
91898
|
+
*/
|
|
91899
|
+
_clearTypeaheadBuffer() {
|
|
91900
|
+
if (this._typeaheadTimeout) {
|
|
91901
|
+
clearTimeout(this._typeaheadTimeout);
|
|
91902
|
+
this._typeaheadTimeout = null;
|
|
91903
|
+
}
|
|
91904
|
+
this.typeaheadBuffer = '';
|
|
91905
|
+
}
|
|
91906
|
+
|
|
91829
91907
|
/**
|
|
91830
91908
|
* Updates the active option in the menu based on keyboard input.
|
|
91909
|
+
*
|
|
91910
|
+
* Implements the WAI-ARIA APG Listbox type-ahead pattern: accumulates printable
|
|
91911
|
+
* keystrokes into a buffer that resets after `typeaheadTimeoutMs` of inactivity.
|
|
91912
|
+
* A multi-character buffer matches the first option whose displayed text starts
|
|
91913
|
+
* with the buffer; repeating a single character cycles through options that start
|
|
91914
|
+
* with that character.
|
|
91831
91915
|
* @private
|
|
91832
91916
|
* @param {string} _key - The key pressed by the user.
|
|
91833
91917
|
* @returns {void}
|
|
91834
91918
|
*/
|
|
91835
91919
|
updateActiveOptionBasedOnKey(_key) {
|
|
91920
|
+
// Ignore non-printable keys (Shift, ArrowDown, Tab, etc.)
|
|
91921
|
+
if (typeof _key !== 'string' || _key.length !== 1) {
|
|
91922
|
+
return;
|
|
91923
|
+
}
|
|
91836
91924
|
|
|
91837
|
-
//
|
|
91838
|
-
|
|
91839
|
-
|
|
91840
|
-
//
|
|
91841
|
-
|
|
91925
|
+
// No selectable options to match against — clear any stale buffer/timer so
|
|
91926
|
+
// Space stays a bib toggle and the next keystroke after fresh options load
|
|
91927
|
+
// starts cleanly. `getActiveOptions` excludes disabled, hidden, and static
|
|
91928
|
+
// options (e.g. `static nomatch` placeholders). Checked BEFORE mutating
|
|
91929
|
+
// the buffer.
|
|
91930
|
+
const options = getActiveOptions(this.menu);
|
|
91931
|
+
if (!options.length) {
|
|
91932
|
+
this._clearTypeaheadBuffer();
|
|
91933
|
+
return;
|
|
91934
|
+
}
|
|
91842
91935
|
|
|
91843
|
-
|
|
91844
|
-
this.lastLetter = key;
|
|
91936
|
+
const key = _key.toLowerCase();
|
|
91845
91937
|
|
|
91846
|
-
//
|
|
91847
|
-
|
|
91848
|
-
|
|
91849
|
-
|
|
91850
|
-
|
|
91938
|
+
// Reset the buffer after a period of inactivity
|
|
91939
|
+
if (this._typeaheadTimeout) {
|
|
91940
|
+
clearTimeout(this._typeaheadTimeout);
|
|
91941
|
+
}
|
|
91942
|
+
this._typeaheadTimeout = setTimeout(() => {
|
|
91943
|
+
this._clearTypeaheadBuffer();
|
|
91944
|
+
}, this.typeaheadTimeoutMs);
|
|
91851
91945
|
|
|
91852
|
-
|
|
91853
|
-
if (letterOptions.length) {
|
|
91946
|
+
this.typeaheadBuffer += key;
|
|
91854
91947
|
|
|
91855
|
-
|
|
91856
|
-
this.dropdown.show();
|
|
91948
|
+
const isRepeatedChar = this.typeaheadBuffer.length > 1 && new Set(this.typeaheadBuffer).size === 1;
|
|
91857
91949
|
|
|
91858
|
-
|
|
91859
|
-
|
|
91950
|
+
let match = null;
|
|
91951
|
+
if (isRepeatedChar) {
|
|
91952
|
+
const matches = options.filter((option) => this._getOptionDisplayText(option).startsWith(key));
|
|
91953
|
+
if (matches.length) {
|
|
91954
|
+
const cycleIndex = (this.typeaheadBuffer.length - 1) % matches.length;
|
|
91955
|
+
match = matches[cycleIndex];
|
|
91956
|
+
}
|
|
91957
|
+
} else {
|
|
91958
|
+
match = options.find((option) => this._getOptionDisplayText(option).startsWith(this.typeaheadBuffer));
|
|
91959
|
+
}
|
|
91860
91960
|
|
|
91861
|
-
|
|
91862
|
-
|
|
91863
|
-
|
|
91961
|
+
if (match) {
|
|
91962
|
+
if (!this.dropdown.isPopoverVisible) {
|
|
91963
|
+
this.dropdown.show();
|
|
91964
|
+
}
|
|
91965
|
+
this.menu.updateActiveOption(match);
|
|
91864
91966
|
}
|
|
91865
91967
|
}
|
|
91866
91968
|
|
|
@@ -91974,6 +92076,11 @@ class AuroSelect extends AuroElement$1 {
|
|
|
91974
92076
|
}
|
|
91975
92077
|
}
|
|
91976
92078
|
|
|
92079
|
+
disconnectedCallback() {
|
|
92080
|
+
super.disconnectedCallback();
|
|
92081
|
+
this._clearTypeaheadBuffer();
|
|
92082
|
+
}
|
|
92083
|
+
|
|
91977
92084
|
// lifecycle runs only after the element's DOM has been updated the first time
|
|
91978
92085
|
firstUpdated() {
|
|
91979
92086
|
// Add the tag name as an attribute if it is different than the component name
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @property {string | number | boolean | string[] | null} value - The value of the form element.
|
|
4
4
|
* @property {ValidityState} validity - The validity state of the form element, stored when fired from the form element.
|
|
5
5
|
* @property {boolean} required - Whether the form element is required or not.
|
|
6
|
+
* @property {boolean} disabled - Whether the form element is currently disabled. Cached from the live attribute via the MutationObserver in `connectedCallback` and refreshed from `_handleAttributeMutations`.
|
|
6
7
|
*/
|
|
7
8
|
/**
|
|
8
9
|
* @typedef {Object.<string, FormStateMember>} FormState - The form state.
|
|
@@ -276,9 +277,12 @@ export class AuroForm extends LitElement {
|
|
|
276
277
|
* form forever (`'' !== null`) and Reset would stay enabled with nothing
|
|
277
278
|
* to actually reset.
|
|
278
279
|
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
280
|
+
* `''`, `undefined`, and `[]` all collapse to `null`. The empty-array case
|
|
281
|
+
* covers checkbox-group, radio-group, and multiselect, where `[]` means
|
|
282
|
+
* "no selection" — semantically the same as `null`/`''`. Genuine values
|
|
283
|
+
* — including `0`, `false`, non-empty strings, and non-empty arrays —
|
|
284
|
+
* pass through unchanged so number, boolean, and populated multi-value
|
|
285
|
+
* fields still compare correctly.
|
|
282
286
|
* @param {*} value - Value to normalize.
|
|
283
287
|
* @returns {*}
|
|
284
288
|
* @private
|
|
@@ -380,6 +384,10 @@ export type FormStateMember = {
|
|
|
380
384
|
* - Whether the form element is required or not.
|
|
381
385
|
*/
|
|
382
386
|
required: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* - Whether the form element is currently disabled. Cached from the live attribute via the MutationObserver in `connectedCallback` and refreshed from `_handleAttributeMutations`.
|
|
389
|
+
*/
|
|
390
|
+
disabled: boolean;
|
|
383
391
|
};
|
|
384
392
|
/**
|
|
385
393
|
* - The form state.
|
|
@@ -93,6 +93,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
93
93
|
* @property {string | number | boolean | string[] | null} value - The value of the form element.
|
|
94
94
|
* @property {ValidityState} validity - The validity state of the form element, stored when fired from the form element.
|
|
95
95
|
* @property {boolean} required - Whether the form element is required or not.
|
|
96
|
+
* @property {boolean} disabled - Whether the form element is currently disabled. Cached from the live attribute via the MutationObserver in `connectedCallback` and refreshed from `_handleAttributeMutations`.
|
|
96
97
|
*/
|
|
97
98
|
|
|
98
99
|
/**
|
|
@@ -446,15 +447,24 @@ class AuroForm extends LitElement {
|
|
|
446
447
|
* form forever (`'' !== null`) and Reset would stay enabled with nothing
|
|
447
448
|
* to actually reset.
|
|
448
449
|
*
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
*
|
|
450
|
+
* `''`, `undefined`, and `[]` all collapse to `null`. The empty-array case
|
|
451
|
+
* covers checkbox-group, radio-group, and multiselect, where `[]` means
|
|
452
|
+
* "no selection" — semantically the same as `null`/`''`. Genuine values
|
|
453
|
+
* — including `0`, `false`, non-empty strings, and non-empty arrays —
|
|
454
|
+
* pass through unchanged so number, boolean, and populated multi-value
|
|
455
|
+
* fields still compare correctly.
|
|
452
456
|
* @param {*} value - Value to normalize.
|
|
453
457
|
* @returns {*}
|
|
454
458
|
* @private
|
|
455
459
|
*/
|
|
456
460
|
_normalizeEmpty(value) {
|
|
457
|
-
|
|
461
|
+
if (value === '' || value === undefined) {
|
|
462
|
+
return null;
|
|
463
|
+
}
|
|
464
|
+
if (Array.isArray(value) && value.length === 0) {
|
|
465
|
+
return null;
|
|
466
|
+
}
|
|
467
|
+
return value;
|
|
458
468
|
}
|
|
459
469
|
|
|
460
470
|
/**
|
|
@@ -93,6 +93,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
93
93
|
* @property {string | number | boolean | string[] | null} value - The value of the form element.
|
|
94
94
|
* @property {ValidityState} validity - The validity state of the form element, stored when fired from the form element.
|
|
95
95
|
* @property {boolean} required - Whether the form element is required or not.
|
|
96
|
+
* @property {boolean} disabled - Whether the form element is currently disabled. Cached from the live attribute via the MutationObserver in `connectedCallback` and refreshed from `_handleAttributeMutations`.
|
|
96
97
|
*/
|
|
97
98
|
|
|
98
99
|
/**
|
|
@@ -446,15 +447,24 @@ class AuroForm extends LitElement {
|
|
|
446
447
|
* form forever (`'' !== null`) and Reset would stay enabled with nothing
|
|
447
448
|
* to actually reset.
|
|
448
449
|
*
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
*
|
|
450
|
+
* `''`, `undefined`, and `[]` all collapse to `null`. The empty-array case
|
|
451
|
+
* covers checkbox-group, radio-group, and multiselect, where `[]` means
|
|
452
|
+
* "no selection" — semantically the same as `null`/`''`. Genuine values
|
|
453
|
+
* — including `0`, `false`, non-empty strings, and non-empty arrays —
|
|
454
|
+
* pass through unchanged so number, boolean, and populated multi-value
|
|
455
|
+
* fields still compare correctly.
|
|
452
456
|
* @param {*} value - Value to normalize.
|
|
453
457
|
* @returns {*}
|
|
454
458
|
* @private
|
|
455
459
|
*/
|
|
456
460
|
_normalizeEmpty(value) {
|
|
457
|
-
|
|
461
|
+
if (value === '' || value === undefined) {
|
|
462
|
+
return null;
|
|
463
|
+
}
|
|
464
|
+
if (Array.isArray(value) && value.length === 0) {
|
|
465
|
+
return null;
|
|
466
|
+
}
|
|
467
|
+
return value;
|
|
458
468
|
}
|
|
459
469
|
|
|
460
470
|
/**
|
|
@@ -12257,7 +12257,7 @@ class AuroHelpText extends i$3 {
|
|
|
12257
12257
|
}
|
|
12258
12258
|
}
|
|
12259
12259
|
|
|
12260
|
-
var formkitVersion = '
|
|
12260
|
+
var formkitVersion = '202606182125';
|
|
12261
12261
|
|
|
12262
12262
|
/**
|
|
12263
12263
|
* @license
|
|
@@ -12257,7 +12257,7 @@ class AuroHelpText extends i$3 {
|
|
|
12257
12257
|
}
|
|
12258
12258
|
}
|
|
12259
12259
|
|
|
12260
|
-
var formkitVersion = '
|
|
12260
|
+
var formkitVersion = '202606182125';
|
|
12261
12261
|
|
|
12262
12262
|
/**
|
|
12263
12263
|
* @license
|
|
@@ -12257,7 +12257,7 @@ class AuroHelpText extends i$3 {
|
|
|
12257
12257
|
}
|
|
12258
12258
|
}
|
|
12259
12259
|
|
|
12260
|
-
var formkitVersion = '
|
|
12260
|
+
var formkitVersion = '202606182125';
|
|
12261
12261
|
|
|
12262
12262
|
/**
|
|
12263
12263
|
* @license
|
|
@@ -12199,7 +12199,7 @@ class AuroHelpText extends LitElement {
|
|
|
12199
12199
|
}
|
|
12200
12200
|
}
|
|
12201
12201
|
|
|
12202
|
-
var formkitVersion = '
|
|
12202
|
+
var formkitVersion = '202606182125';
|
|
12203
12203
|
|
|
12204
12204
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12205
12205
|
// See LICENSE in the project root for license information.
|
|
@@ -12199,7 +12199,7 @@ class AuroHelpText extends LitElement {
|
|
|
12199
12199
|
}
|
|
12200
12200
|
}
|
|
12201
12201
|
|
|
12202
|
-
var formkitVersion = '
|
|
12202
|
+
var formkitVersion = '202606182125';
|
|
12203
12203
|
|
|
12204
12204
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12205
12205
|
// See LICENSE in the project root for license information.
|
|
@@ -1212,7 +1212,7 @@ class AuroHelpText extends i$2 {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
|
|
1215
|
-
var formkitVersion = '
|
|
1215
|
+
var formkitVersion = '202606182125';
|
|
1216
1216
|
|
|
1217
1217
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1218
1218
|
// See LICENSE in the project root for license information.
|
|
@@ -1212,7 +1212,7 @@ class AuroHelpText extends i$2 {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
|
|
1215
|
-
var formkitVersion = '
|
|
1215
|
+
var formkitVersion = '202606182125';
|
|
1216
1216
|
|
|
1217
1217
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1218
1218
|
// See LICENSE in the project root for license information.
|
|
@@ -1212,7 +1212,7 @@ class AuroHelpText extends i$2 {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
|
|
1215
|
-
var formkitVersion = '
|
|
1215
|
+
var formkitVersion = '202606182125';
|
|
1216
1216
|
|
|
1217
1217
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1218
1218
|
// See LICENSE in the project root for license information.
|
|
@@ -1151,7 +1151,7 @@ class AuroHelpText extends LitElement {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
var formkitVersion = '
|
|
1154
|
+
var formkitVersion = '202606182125';
|
|
1155
1155
|
|
|
1156
1156
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1157
1157
|
// See LICENSE in the project root for license information.
|
|
@@ -1151,7 +1151,7 @@ class AuroHelpText extends LitElement {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
var formkitVersion = '
|
|
1154
|
+
var formkitVersion = '202606182125';
|
|
1155
1155
|
|
|
1156
1156
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1157
1157
|
// See LICENSE in the project root for license information.
|
|
@@ -38,6 +38,7 @@ The `auro-select` element is a wrapper for auro-dropdown and auro-menu to create
|
|
|
38
38
|
| `shape` | `shape` | `'classic' \| 'pill' \| 'pill-left' \| 'pill-right' \| 'snowflake'` | | Determines the shape of the dropdown bib. |
|
|
39
39
|
| `shift` | `shift` | `boolean` | false | If set, the dropdown will shift its position to avoid being cut off by the viewport. |
|
|
40
40
|
| `size` | `size` | `'lg' \| 'xl'` | | Determines the size of the dropdown bib. Only the `emphasized` layout supports size=`xl`, while all other layouts support size=`lg`. |
|
|
41
|
+
| `typeaheadTimeoutMs` | `typeaheadTimeoutMs` | `number` | "500" | Milliseconds of keyboard inactivity before the type-ahead buffer resets.<br />Increase for users who type slowly. |
|
|
41
42
|
| `validity` | `validity` | `string` | | Specifies the `validityState` this element is in. |
|
|
42
43
|
| `value` | `value` | `string` | | Value selected for the component. |
|
|
43
44
|
|