@aurodesignsystem-dev/auro-formkit 0.0.0-pr1395.0 → 0.0.0-pr1395.2
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/api.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/api.min.js +151 -40
- package/components/combobox/demo/index.min.js +151 -40
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/api.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/api.min.js +74 -13
- package/components/datepicker/demo/index.min.js +74 -13
- package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +4 -0
- package/components/datepicker/dist/index.js +74 -13
- package/components/datepicker/dist/registered.js +74 -13
- package/components/dropdown/demo/api.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/api.min.js +240 -63
- package/components/form/demo/index.min.js +240 -63
- package/components/input/demo/api.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/menu/demo/api.md +1 -1
- package/components/menu/demo/api.min.js +148 -37
- package/components/menu/demo/index.min.js +148 -37
- package/components/menu/dist/auro-menu.context.d.ts +15 -3
- package/components/menu/dist/auro-menu.d.ts +1 -1
- package/components/menu/dist/index.js +148 -37
- package/components/menu/dist/registered.js +148 -37
- package/components/radio/demo/api.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.min.js +158 -42
- package/components/select/demo/index.min.js +158 -42
- package/components/select/dist/index.js +10 -5
- package/components/select/dist/registered.js +10 -5
- package/custom-elements.json +1514 -1429
- package/package.json +11 -4
|
@@ -7458,7 +7458,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$4 {
|
|
|
7458
7458
|
}
|
|
7459
7459
|
};
|
|
7460
7460
|
|
|
7461
|
-
var formkitVersion$8 = '
|
|
7461
|
+
var formkitVersion$8 = '202603241855';
|
|
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 = '
|
|
17369
|
+
var formkitVersion$2$1 = '202603241855';
|
|
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}}
|
|
@@ -21406,7 +21406,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$4 {
|
|
|
21406
21406
|
}
|
|
21407
21407
|
};
|
|
21408
21408
|
|
|
21409
|
-
var formkitVersion$1$3 = '
|
|
21409
|
+
var formkitVersion$1$3 = '202603241855';
|
|
21410
21410
|
|
|
21411
21411
|
let AuroElement$2$2 = class AuroElement extends i$4 {
|
|
21412
21412
|
static get properties() {
|
|
@@ -29154,7 +29154,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$4 {
|
|
|
29154
29154
|
}
|
|
29155
29155
|
};
|
|
29156
29156
|
|
|
29157
|
-
var formkitVersion$7 = '
|
|
29157
|
+
var formkitVersion$7 = '202603241855';
|
|
29158
29158
|
|
|
29159
29159
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
29160
29160
|
// See LICENSE in the project root for license information.
|
|
@@ -30349,6 +30349,75 @@ function restoreTriggerAfterClose$2(dropdown, focusTarget) {
|
|
|
30349
30349
|
});
|
|
30350
30350
|
}
|
|
30351
30351
|
|
|
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
|
+
|
|
30352
30421
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
30353
30422
|
// See LICENSE in the project root for license information.
|
|
30354
30423
|
|
|
@@ -31162,16 +31231,8 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
31162
31231
|
// Tab closes the fullscreen dialog (same pattern as select).
|
|
31163
31232
|
// The dialog event bridge intercepts Tab and re-dispatches it as a
|
|
31164
31233
|
// composed keydown; this listener catches the re-dispatched event.
|
|
31165
|
-
|
|
31166
|
-
|
|
31167
|
-
evt.preventDefault();
|
|
31168
|
-
this.dropdown.show();
|
|
31169
|
-
return;
|
|
31170
|
-
}
|
|
31171
|
-
if (evt.key === 'Tab' && this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
|
|
31172
|
-
this.dropdown.hide();
|
|
31173
|
-
}
|
|
31174
|
-
});
|
|
31234
|
+
// Enter opens the bib when it is closed.
|
|
31235
|
+
applyKeyboardStrategy$2(this, datepickerKeyboardStrategy);
|
|
31175
31236
|
|
|
31176
31237
|
this.dropdown.addEventListener('auroDropdown-triggerClick', () => {
|
|
31177
31238
|
if (!this.isPopoverVisible) {
|
|
@@ -33689,7 +33750,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
33689
33750
|
}
|
|
33690
33751
|
};
|
|
33691
33752
|
|
|
33692
|
-
var formkitVersion$1$2 = '
|
|
33753
|
+
var formkitVersion$1$2 = '202603241855';
|
|
33693
33754
|
|
|
33694
33755
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
33695
33756
|
// See LICENSE in the project root for license information.
|
|
@@ -37695,7 +37756,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
37695
37756
|
}
|
|
37696
37757
|
};
|
|
37697
37758
|
|
|
37698
|
-
var formkitVersion$6 = '
|
|
37759
|
+
var formkitVersion$6 = '202603241855';
|
|
37699
37760
|
|
|
37700
37761
|
let AuroElement$1$2 = class AuroElement extends i$4 {
|
|
37701
37762
|
static get properties() {
|
|
@@ -41763,7 +41824,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
41763
41824
|
}
|
|
41764
41825
|
};
|
|
41765
41826
|
|
|
41766
|
-
var formkitVersion$5 = '
|
|
41827
|
+
var formkitVersion$5 = '202603241855';
|
|
41767
41828
|
|
|
41768
41829
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
41769
41830
|
// See LICENSE in the project root for license information.
|
|
@@ -43932,7 +43993,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
43932
43993
|
}
|
|
43933
43994
|
};
|
|
43934
43995
|
|
|
43935
|
-
var formkitVersion$4 = '
|
|
43996
|
+
var formkitVersion$4 = '202603241855';
|
|
43936
43997
|
|
|
43937
43998
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
43938
43999
|
// See LICENSE in the project root for license information.
|
|
@@ -49239,7 +49300,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
49239
49300
|
}
|
|
49240
49301
|
};
|
|
49241
49302
|
|
|
49242
|
-
var formkitVersion$2 = '
|
|
49303
|
+
var formkitVersion$2 = '202603241855';
|
|
49243
49304
|
|
|
49244
49305
|
let AuroElement$2$1 = class AuroElement extends i$4 {
|
|
49245
49306
|
static get properties() {
|
|
@@ -56987,7 +57048,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
56987
57048
|
}
|
|
56988
57049
|
};
|
|
56989
57050
|
|
|
56990
|
-
var formkitVersion$1$1 = '
|
|
57051
|
+
var formkitVersion$1$1 = '202603241855';
|
|
56991
57052
|
|
|
56992
57053
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
56993
57054
|
// See LICENSE in the project root for license information.
|
|
@@ -58026,7 +58087,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$4 {
|
|
|
58026
58087
|
}
|
|
58027
58088
|
};
|
|
58028
58089
|
|
|
58029
|
-
var formkitVersion$3 = '
|
|
58090
|
+
var formkitVersion$3 = '202603241855';
|
|
58030
58091
|
|
|
58031
58092
|
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}`;
|
|
58032
58093
|
|
|
@@ -60437,10 +60498,20 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
60437
60498
|
subscribe: true
|
|
60438
60499
|
});
|
|
60439
60500
|
|
|
60440
|
-
// Establish the key property as early as possible
|
|
60501
|
+
// Establish the key property as early as possible.
|
|
60502
|
+
// When a framework (e.g. Svelte) inserts the element into the DOM before
|
|
60503
|
+
// setting its `value` property, both `getAttribute('value')` and
|
|
60504
|
+
// `getAttribute('key')` return null here. Setting `this.key = null`
|
|
60505
|
+
// would block the fallback in `updated()` that assigns key from the
|
|
60506
|
+
// value property (the guard checked `=== undefined`). Only assign key
|
|
60507
|
+
// if at least one source attribute is actually present so that the
|
|
60508
|
+
// `updated()` fallback can run when the value property arrives later.
|
|
60441
60509
|
const valueAttr = this.getAttribute('value');
|
|
60442
60510
|
const keyAttr = this.getAttribute('key');
|
|
60443
|
-
|
|
60511
|
+
const resolvedKey = keyAttr !== null ? keyAttr : valueAttr;
|
|
60512
|
+
if (resolvedKey !== null) {
|
|
60513
|
+
this.key = resolvedKey;
|
|
60514
|
+
}
|
|
60444
60515
|
}
|
|
60445
60516
|
|
|
60446
60517
|
firstUpdated() {
|
|
@@ -60490,8 +60561,14 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
60490
60561
|
this.updateTextHighlight();
|
|
60491
60562
|
}
|
|
60492
60563
|
|
|
60493
|
-
// Set the key to be the passed value if no key is provided
|
|
60494
|
-
|
|
60564
|
+
// Set the key to be the passed value if no key is provided.
|
|
60565
|
+
// Loose equality (== null) is intentional: it catches both null AND
|
|
60566
|
+
// undefined. When a framework (e.g. Svelte, React) inserts the element
|
|
60567
|
+
// before setting its value property, connectedCallback skips key
|
|
60568
|
+
// assignment because both attributes are null at that point. The Lit
|
|
60569
|
+
// property default for `key` is undefined (not null), so strict
|
|
60570
|
+
// === null would miss the case and the fallback would never run.
|
|
60571
|
+
if (changedProperties.has('value') && this.key == null) { // eslint-disable-line eqeqeq, no-eq-null
|
|
60495
60572
|
this.key = this.value;
|
|
60496
60573
|
}
|
|
60497
60574
|
}
|
|
@@ -60860,6 +60937,9 @@ class MenuService {
|
|
|
60860
60937
|
this._subscribers = [];
|
|
60861
60938
|
this.internalUpdateInProgress = false;
|
|
60862
60939
|
this.selectedOptions = [];
|
|
60940
|
+
this._pendingValue = null;
|
|
60941
|
+
this._pendingRetryScheduled = false;
|
|
60942
|
+
this._pendingRetryCount = 0;
|
|
60863
60943
|
}
|
|
60864
60944
|
|
|
60865
60945
|
/**
|
|
@@ -60899,6 +60979,9 @@ class MenuService {
|
|
|
60899
60979
|
hostDisconnected() {
|
|
60900
60980
|
this._subscribers = [];
|
|
60901
60981
|
this._menuOptions = [];
|
|
60982
|
+
this._pendingValue = null;
|
|
60983
|
+
this._pendingRetryScheduled = false;
|
|
60984
|
+
this._pendingRetryCount = 0;
|
|
60902
60985
|
}
|
|
60903
60986
|
|
|
60904
60987
|
/**
|
|
@@ -61101,17 +61184,22 @@ class MenuService {
|
|
|
61101
61184
|
* @param {string|number|Array<string|number>} value - The value(s) to select.
|
|
61102
61185
|
*/
|
|
61103
61186
|
selectByValue(value) {
|
|
61104
|
-
|
|
61105
|
-
if (this.internalUpdateInProgress ||
|
|
61106
|
-
this.host.internalUpdateInProgress ||
|
|
61107
|
-
value === undefined ||
|
|
61187
|
+
const isEmptyValue = value === undefined ||
|
|
61108
61188
|
value === null ||
|
|
61109
61189
|
(Array.isArray(value) && value.length === 0) ||
|
|
61110
|
-
(typeof value === 'string' && value.trim() === '')
|
|
61190
|
+
(typeof value === 'string' && value.trim() === '');
|
|
61191
|
+
|
|
61192
|
+
// Early exit for invalid/empty values
|
|
61193
|
+
if (isEmptyValue) {
|
|
61111
61194
|
return;
|
|
61112
61195
|
}
|
|
61113
61196
|
|
|
61114
|
-
|
|
61197
|
+
// If an internal update cycle is still in progress, defer value application
|
|
61198
|
+
// rather than dropping it.
|
|
61199
|
+
if (this.internalUpdateInProgress || this.host.internalUpdateInProgress) {
|
|
61200
|
+
this.queuePendingValue(value);
|
|
61201
|
+
return;
|
|
61202
|
+
}
|
|
61115
61203
|
|
|
61116
61204
|
// Normalize values to array of strings
|
|
61117
61205
|
const normalizedValues = this._getNormalizedValues(value);
|
|
@@ -61123,33 +61211,100 @@ class MenuService {
|
|
|
61123
61211
|
validatedValues = [normalizedValues[0]];
|
|
61124
61212
|
}
|
|
61125
61213
|
|
|
61214
|
+
if (this._menuOptions.length === 0) {
|
|
61215
|
+
this.queuePendingValue(value);
|
|
61216
|
+
return;
|
|
61217
|
+
}
|
|
61218
|
+
|
|
61126
61219
|
// Find matching options by comparing available options to validated values
|
|
61127
61220
|
const trackedKeys = new Set();
|
|
61128
61221
|
const optionsToSelect = this._menuOptions.filter(option => {
|
|
61129
61222
|
const passesFilter = validatedValues.includes(option.key);
|
|
61130
61223
|
const alreadyTracked = trackedKeys.has(option.key);
|
|
61224
|
+
const isActive = option.isActive;
|
|
61131
61225
|
|
|
61132
61226
|
trackedKeys.add(option.key);
|
|
61133
61227
|
|
|
61134
61228
|
// Include the option in the options to be selected if it passes the filter check and
|
|
61135
61229
|
// either hasn't been tracked yet or selectAllMatchingOptions is true
|
|
61136
|
-
return passesFilter && (!alreadyTracked || (alreadyTracked && this.selectAllMatchingOptions));
|
|
61230
|
+
return isActive && passesFilter && (!alreadyTracked || (alreadyTracked && this.selectAllMatchingOptions));
|
|
61137
61231
|
});
|
|
61138
61232
|
|
|
61139
|
-
// Handle selection
|
|
61140
|
-
|
|
61141
|
-
|
|
61142
|
-
|
|
61143
|
-
|
|
61233
|
+
// Handle no matches: clear existing selection, but do not dispatch an intermediate
|
|
61234
|
+
// undefined value that can overwrite the host value in parent components.
|
|
61235
|
+
if (!optionsToSelect.length) {
|
|
61236
|
+
const hasUnresolvedKeys = this._menuOptions.some((option) => option.isActive && option.key == null);
|
|
61237
|
+
|
|
61238
|
+
if (hasUnresolvedKeys) {
|
|
61239
|
+
this.queuePendingValue(value);
|
|
61240
|
+
return;
|
|
61241
|
+
}
|
|
61242
|
+
|
|
61243
|
+
this.clearPendingValue();
|
|
61244
|
+
|
|
61245
|
+
if (this.selectedOptions.length > 0) {
|
|
61246
|
+
this.selectedOptions = [];
|
|
61247
|
+
}
|
|
61248
|
+
|
|
61249
|
+
// Always notify so the host resets any stale invalid value, even when
|
|
61250
|
+
// selectedOptions was already empty (e.g. double-clicking set-invalid).
|
|
61251
|
+
this.stageUpdate({ reason: 'no-match' });
|
|
61252
|
+
|
|
61253
|
+
// Dispatch failure event if no matches found
|
|
61254
|
+
if (validatedValues.length) {
|
|
61255
|
+
this.dispatchChangeEvent('auroMenu-selectValueFailure', {
|
|
61256
|
+
message: 'No matching options found for the provided value(s).',
|
|
61257
|
+
values: validatedValues
|
|
61258
|
+
});
|
|
61259
|
+
}
|
|
61260
|
+
|
|
61261
|
+
return;
|
|
61144
61262
|
}
|
|
61145
61263
|
|
|
61146
|
-
|
|
61147
|
-
|
|
61148
|
-
|
|
61149
|
-
|
|
61150
|
-
|
|
61151
|
-
|
|
61264
|
+
this.clearPendingValue();
|
|
61265
|
+
|
|
61266
|
+
if (this.optionsArraysMatch(optionsToSelect, this.selectedOptions)) {
|
|
61267
|
+
return;
|
|
61268
|
+
}
|
|
61269
|
+
|
|
61270
|
+
// Apply programmatic selection as a single transaction and emit one final state.
|
|
61271
|
+
this.selectedOptions = optionsToSelect;
|
|
61272
|
+
this.stageUpdate();
|
|
61273
|
+
}
|
|
61274
|
+
|
|
61275
|
+
/**
|
|
61276
|
+
* Queues a pending value and schedules a bounded retry.
|
|
61277
|
+
* @param {string|number|Array<string|number>} value - The value to retry.
|
|
61278
|
+
*/
|
|
61279
|
+
queuePendingValue(value) {
|
|
61280
|
+
this._pendingValue = value;
|
|
61281
|
+
|
|
61282
|
+
if (this._pendingRetryScheduled || this._pendingRetryCount >= 5) {
|
|
61283
|
+
return;
|
|
61152
61284
|
}
|
|
61285
|
+
|
|
61286
|
+
this._pendingRetryScheduled = true;
|
|
61287
|
+
this._pendingRetryCount += 1;
|
|
61288
|
+
|
|
61289
|
+
setTimeout(() => {
|
|
61290
|
+
this._pendingRetryScheduled = false;
|
|
61291
|
+
|
|
61292
|
+
if (this._pendingValue == null) {
|
|
61293
|
+
return;
|
|
61294
|
+
}
|
|
61295
|
+
|
|
61296
|
+
const pendingValue = this._pendingValue;
|
|
61297
|
+
this.selectByValue(pendingValue);
|
|
61298
|
+
}, 0);
|
|
61299
|
+
}
|
|
61300
|
+
|
|
61301
|
+
/**
|
|
61302
|
+
* Clears pending retry state.
|
|
61303
|
+
*/
|
|
61304
|
+
clearPendingValue() {
|
|
61305
|
+
this._pendingValue = null;
|
|
61306
|
+
this._pendingRetryScheduled = false;
|
|
61307
|
+
this._pendingRetryCount = 0;
|
|
61153
61308
|
}
|
|
61154
61309
|
|
|
61155
61310
|
/**
|
|
@@ -61188,9 +61343,9 @@ class MenuService {
|
|
|
61188
61343
|
/**
|
|
61189
61344
|
* Stages an update to notify subscribers of state and value changes.
|
|
61190
61345
|
*/
|
|
61191
|
-
stageUpdate() {
|
|
61192
|
-
this.notifyStateChange();
|
|
61193
|
-
this.notifyValueChange();
|
|
61346
|
+
stageUpdate(meta = {}) {
|
|
61347
|
+
this.notifyStateChange(meta);
|
|
61348
|
+
this.notifyValueChange(meta);
|
|
61194
61349
|
}
|
|
61195
61350
|
|
|
61196
61351
|
/**
|
|
@@ -61205,14 +61360,18 @@ class MenuService {
|
|
|
61205
61360
|
/**
|
|
61206
61361
|
* Notifies subscribers of a state change (selected options has changed).
|
|
61207
61362
|
*/
|
|
61208
|
-
notifyStateChange() {
|
|
61209
|
-
this.notify({
|
|
61363
|
+
notifyStateChange(meta = {}) {
|
|
61364
|
+
this.notify({
|
|
61365
|
+
type: 'stateChange',
|
|
61366
|
+
selectedOptions: this.selectedOptions,
|
|
61367
|
+
...meta
|
|
61368
|
+
});
|
|
61210
61369
|
}
|
|
61211
61370
|
|
|
61212
61371
|
/**
|
|
61213
61372
|
* Notifies subscribers of a value change (current value has changed).
|
|
61214
61373
|
*/
|
|
61215
|
-
notifyValueChange() {
|
|
61374
|
+
notifyValueChange(meta = {}) {
|
|
61216
61375
|
|
|
61217
61376
|
// Prepare details for the event
|
|
61218
61377
|
const details = {
|
|
@@ -61228,10 +61387,9 @@ class MenuService {
|
|
|
61228
61387
|
|
|
61229
61388
|
this.notify({
|
|
61230
61389
|
type: 'valueChange',
|
|
61390
|
+
...meta,
|
|
61231
61391
|
...details
|
|
61232
61392
|
});
|
|
61233
|
-
|
|
61234
|
-
this.dispatchChangeEvent('auroMenu-selectedOption', details);
|
|
61235
61393
|
}
|
|
61236
61394
|
|
|
61237
61395
|
/**
|
|
@@ -61259,6 +61417,10 @@ class MenuService {
|
|
|
61259
61417
|
addMenuOption(option) {
|
|
61260
61418
|
this._menuOptions.push(option);
|
|
61261
61419
|
this.notify({ type: 'optionsChange', options: this._menuOptions });
|
|
61420
|
+
|
|
61421
|
+
if (this._pendingValue != null) {
|
|
61422
|
+
this.queuePendingValue(this._pendingValue);
|
|
61423
|
+
}
|
|
61262
61424
|
}
|
|
61263
61425
|
|
|
61264
61426
|
/**
|
|
@@ -61268,6 +61430,10 @@ class MenuService {
|
|
|
61268
61430
|
removeMenuOption(option) {
|
|
61269
61431
|
this._menuOptions = this._menuOptions.filter(opt => opt !== option);
|
|
61270
61432
|
this.notify({ type: 'optionsChange', options: this._menuOptions });
|
|
61433
|
+
|
|
61434
|
+
if (this._menuOptions.length === 0) {
|
|
61435
|
+
this.clearPendingValue();
|
|
61436
|
+
}
|
|
61271
61437
|
}
|
|
61272
61438
|
|
|
61273
61439
|
/**
|
|
@@ -61541,7 +61707,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
61541
61707
|
},
|
|
61542
61708
|
|
|
61543
61709
|
/**
|
|
61544
|
-
* Available menu options
|
|
61710
|
+
* Available menu options.
|
|
61545
61711
|
* @readonly
|
|
61546
61712
|
*/
|
|
61547
61713
|
options: {
|
|
@@ -61608,7 +61774,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
61608
61774
|
/**
|
|
61609
61775
|
* @readonly
|
|
61610
61776
|
* @returns {Array<HTMLElement>} - Returns the array of available menu options.
|
|
61611
|
-
* @deprecated
|
|
61777
|
+
* @deprecated Use `options` property instead.
|
|
61612
61778
|
*/
|
|
61613
61779
|
get items() {
|
|
61614
61780
|
return this.options;
|
|
@@ -61716,7 +61882,7 @@ class AuroMenu extends AuroElement$2 {
|
|
|
61716
61882
|
const newValue = event.stringValue;
|
|
61717
61883
|
|
|
61718
61884
|
// Check if the option or value has actually changed
|
|
61719
|
-
if (
|
|
61885
|
+
if (this.optionSelected !== newOption || this.stringValue !== newValue) {
|
|
61720
61886
|
this.optionSelected = newOption;
|
|
61721
61887
|
this.setInternalValue(newValue);
|
|
61722
61888
|
}
|
|
@@ -61790,8 +61956,13 @@ class AuroMenu extends AuroElement$2 {
|
|
|
61790
61956
|
updated(changedProperties) {
|
|
61791
61957
|
super.updated(changedProperties);
|
|
61792
61958
|
|
|
61793
|
-
//
|
|
61794
|
-
|
|
61959
|
+
// Apply value selection synchronously so that static-HTML fixtures
|
|
61960
|
+
// resolve within a single update cycle. The refactored selectByValue
|
|
61961
|
+
// no longer calls reset() first, so the destructive intermediate-event
|
|
61962
|
+
// cascade that originally required deferral is eliminated. If option
|
|
61963
|
+
// keys are not yet resolved (framework mount-order race), selectByValue
|
|
61964
|
+
// queues a bounded retry automatically via queuePendingValue.
|
|
61965
|
+
if (changedProperties.has('value') && !this.internalUpdateInProgress) {
|
|
61795
61966
|
this.menuService.selectByValue(this.value);
|
|
61796
61967
|
}
|
|
61797
61968
|
|
|
@@ -61971,12 +62142,13 @@ class AuroMenu extends AuroElement$2 {
|
|
|
61971
62142
|
* @param {any} source - The source that triggers this event.
|
|
61972
62143
|
* @private
|
|
61973
62144
|
*/
|
|
61974
|
-
notifySelectionChange({value, stringValue, keys, options} = {}) {
|
|
62145
|
+
notifySelectionChange({value, stringValue, keys, options, reason} = {}) {
|
|
61975
62146
|
dispatchMenuEvent(this, 'auroMenu-selectedOption', {
|
|
61976
62147
|
value,
|
|
61977
62148
|
stringValue,
|
|
61978
62149
|
keys,
|
|
61979
|
-
options
|
|
62150
|
+
options,
|
|
62151
|
+
reason
|
|
61980
62152
|
});
|
|
61981
62153
|
}
|
|
61982
62154
|
|
|
@@ -66935,7 +67107,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
66935
67107
|
}
|
|
66936
67108
|
};
|
|
66937
67109
|
|
|
66938
|
-
var formkitVersion$1 = '
|
|
67110
|
+
var formkitVersion$1 = '202603241855';
|
|
66939
67111
|
|
|
66940
67112
|
class AuroElement extends i$4 {
|
|
66941
67113
|
static get properties() {
|
|
@@ -68679,7 +68851,7 @@ class AuroHelpText extends i$4 {
|
|
|
68679
68851
|
}
|
|
68680
68852
|
}
|
|
68681
68853
|
|
|
68682
|
-
var formkitVersion = '
|
|
68854
|
+
var formkitVersion = '202603241855';
|
|
68683
68855
|
|
|
68684
68856
|
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}`;
|
|
68685
68857
|
|
|
@@ -69460,9 +69632,11 @@ class AuroSelect extends AuroElement$1 {
|
|
|
69460
69632
|
// Update the displayed value
|
|
69461
69633
|
this.updateDisplayedValue();
|
|
69462
69634
|
|
|
69463
|
-
|
|
69635
|
+
const options = event.detail.options || [];
|
|
69636
|
+
|
|
69464
69637
|
this.value = event.detail.stringValue;
|
|
69465
|
-
|
|
69638
|
+
|
|
69639
|
+
this.optionSelected = this.multiSelect ? options : options[0];
|
|
69466
69640
|
|
|
69467
69641
|
if (this.dropdown.isPopoverVisible) {
|
|
69468
69642
|
this.dropdown.hide();
|
|
@@ -69712,7 +69886,10 @@ class AuroSelect extends AuroElement$1 {
|
|
|
69712
69886
|
}
|
|
69713
69887
|
|
|
69714
69888
|
updated(changedProperties) {
|
|
69715
|
-
if (
|
|
69889
|
+
if (
|
|
69890
|
+
changedProperties.has('multiSelect') &&
|
|
69891
|
+
!changedProperties.has('value')
|
|
69892
|
+
) {
|
|
69716
69893
|
this.clearSelection();
|
|
69717
69894
|
}
|
|
69718
69895
|
|
|
@@ -6759,7 +6759,7 @@ class AuroHelpText extends i$3 {
|
|
|
6759
6759
|
}
|
|
6760
6760
|
}
|
|
6761
6761
|
|
|
6762
|
-
var formkitVersion = '
|
|
6762
|
+
var formkitVersion = '202603241855';
|
|
6763
6763
|
|
|
6764
6764
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6765
6765
|
// See LICENSE in the project root for license information.
|
|
@@ -6684,7 +6684,7 @@ class AuroHelpText extends i$3 {
|
|
|
6684
6684
|
}
|
|
6685
6685
|
}
|
|
6686
6686
|
|
|
6687
|
-
var formkitVersion = '
|
|
6687
|
+
var formkitVersion = '202603241855';
|
|
6688
6688
|
|
|
6689
6689
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6690
6690
|
// See LICENSE in the project root for license information.
|
|
@@ -6625,7 +6625,7 @@ class AuroHelpText extends LitElement {
|
|
|
6625
6625
|
}
|
|
6626
6626
|
}
|
|
6627
6627
|
|
|
6628
|
-
var formkitVersion = '
|
|
6628
|
+
var formkitVersion = '202603241855';
|
|
6629
6629
|
|
|
6630
6630
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6631
6631
|
// See LICENSE in the project root for license information.
|
|
@@ -6625,7 +6625,7 @@ class AuroHelpText extends LitElement {
|
|
|
6625
6625
|
}
|
|
6626
6626
|
}
|
|
6627
6627
|
|
|
6628
|
-
var formkitVersion = '
|
|
6628
|
+
var formkitVersion = '202603241855';
|
|
6629
6629
|
|
|
6630
6630
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6631
6631
|
// See LICENSE in the project root for license information.
|