@aurodesignsystem-dev/auro-formkit 0.0.0-pr1604.0 → 0.0.0-pr1608.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +31 -10
- package/components/checkbox/demo/getting-started.min.js +31 -10
- package/components/checkbox/demo/index.min.js +31 -10
- package/components/checkbox/dist/auro-checkbox-group.d.ts +4 -0
- package/components/checkbox/dist/index.js +31 -10
- package/components/checkbox/dist/registered.js +31 -10
- package/components/combobox/demo/customize.min.js +110 -4
- package/components/combobox/demo/getting-started.min.js +110 -4
- package/components/combobox/demo/index.min.js +110 -4
- package/components/combobox/dist/auro-combobox.d.ts +22 -0
- package/components/combobox/dist/index.js +94 -4
- package/components/combobox/dist/registered.js +94 -4
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/getting-started.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/getting-started.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 +2 -2
- 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.min.js +186 -34
- package/components/form/demo/getting-started.min.js +186 -34
- package/components/form/demo/index.min.js +186 -34
- package/components/form/demo/registerDemoDeps.min.js +186 -34
- 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/menu/demo/index.min.js +16 -0
- package/components/menu/dist/index.js +16 -0
- package/components/menu/dist/registered.js +16 -0
- package/components/radio/demo/customize.min.js +33 -8
- package/components/radio/demo/getting-started.min.js +33 -8
- package/components/radio/demo/index.min.js +33 -8
- package/components/radio/dist/auro-radio-group.d.ts +4 -0
- package/components/radio/dist/index.js +33 -8
- package/components/radio/dist/registered.js +33 -8
- package/components/select/demo/customize.min.js +18 -2
- package/components/select/demo/getting-started.min.js +18 -2
- package/components/select/demo/index.min.js +18 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +1567 -1547
- package/package.json +1 -1
|
@@ -10551,7 +10551,7 @@ function getDateFormatFromLocale$3 (locale) {
|
|
|
10551
10551
|
* ensuring that each identifier is distinct and can be easily generated without the need
|
|
10552
10552
|
* for external libraries or complex algorithms.
|
|
10553
10553
|
*/
|
|
10554
|
-
let UniqueId$
|
|
10554
|
+
let UniqueId$4 = class UniqueId {
|
|
10555
10555
|
/**
|
|
10556
10556
|
* Creates a unique hash based on the current timestamp.
|
|
10557
10557
|
* @returns {Function} Timestamp as a base-36 string
|
|
@@ -10766,7 +10766,7 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
|
|
|
10766
10766
|
this.touched = false;
|
|
10767
10767
|
|
|
10768
10768
|
/** @private */
|
|
10769
|
-
this.uniqueId = new UniqueId$
|
|
10769
|
+
this.uniqueId = new UniqueId$4().create();
|
|
10770
10770
|
|
|
10771
10771
|
/** @private */
|
|
10772
10772
|
this.util = new AuroInputUtilities$3({
|
|
@@ -12467,7 +12467,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12467
12467
|
}
|
|
12468
12468
|
};
|
|
12469
12469
|
|
|
12470
|
-
var formkitVersion$8 = '
|
|
12470
|
+
var formkitVersion$8 = '202609021913';
|
|
12471
12471
|
|
|
12472
12472
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12473
12473
|
// See LICENSE in the project root for license information.
|
|
@@ -27030,7 +27030,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
27030
27030
|
}
|
|
27031
27031
|
};
|
|
27032
27032
|
|
|
27033
|
-
var formkitVersion$2$1 = '
|
|
27033
|
+
var formkitVersion$2$1 = '202609021913';
|
|
27034
27034
|
|
|
27035
27035
|
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}
|
|
27036
27036
|
`,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}}
|
|
@@ -32874,7 +32874,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
32874
32874
|
}
|
|
32875
32875
|
};
|
|
32876
32876
|
|
|
32877
|
-
var formkitVersion$1$3 = '
|
|
32877
|
+
var formkitVersion$1$3 = '202609021913';
|
|
32878
32878
|
|
|
32879
32879
|
/**
|
|
32880
32880
|
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
@@ -44820,7 +44820,7 @@ function getDateFormatFromLocale$2 (locale) {
|
|
|
44820
44820
|
* ensuring that each identifier is distinct and can be easily generated without the need
|
|
44821
44821
|
* for external libraries or complex algorithms.
|
|
44822
44822
|
*/
|
|
44823
|
-
let UniqueId$
|
|
44823
|
+
let UniqueId$3 = class UniqueId {
|
|
44824
44824
|
/**
|
|
44825
44825
|
* Creates a unique hash based on the current timestamp.
|
|
44826
44826
|
* @returns {Function} Timestamp as a base-36 string
|
|
@@ -45035,7 +45035,7 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
|
|
|
45035
45035
|
this.touched = false;
|
|
45036
45036
|
|
|
45037
45037
|
/** @private */
|
|
45038
|
-
this.uniqueId = new UniqueId$
|
|
45038
|
+
this.uniqueId = new UniqueId$3().create();
|
|
45039
45039
|
|
|
45040
45040
|
/** @private */
|
|
45041
45041
|
this.util = new AuroInputUtilities$2({
|
|
@@ -46736,7 +46736,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
46736
46736
|
}
|
|
46737
46737
|
};
|
|
46738
46738
|
|
|
46739
|
-
var formkitVersion$7 = '
|
|
46739
|
+
var formkitVersion$7 = '202609021913';
|
|
46740
46740
|
|
|
46741
46741
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
46742
46742
|
// See LICENSE in the project root for license information.
|
|
@@ -51842,7 +51842,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
51842
51842
|
}
|
|
51843
51843
|
};
|
|
51844
51844
|
|
|
51845
|
-
var formkitVersion$1$2 = '
|
|
51845
|
+
var formkitVersion$1$2 = '202609021913';
|
|
51846
51846
|
|
|
51847
51847
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
51848
51848
|
// See LICENSE in the project root for license information.
|
|
@@ -56142,7 +56142,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
56142
56142
|
}
|
|
56143
56143
|
};
|
|
56144
56144
|
|
|
56145
|
-
var formkitVersion$6 = '
|
|
56145
|
+
var formkitVersion$6 = '202609021913';
|
|
56146
56146
|
|
|
56147
56147
|
/**
|
|
56148
56148
|
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
@@ -60093,6 +60093,22 @@ let AuroDependencyVersioning$6 = class AuroDependencyVersioning {
|
|
|
60093
60093
|
}
|
|
60094
60094
|
};
|
|
60095
60095
|
|
|
60096
|
+
/**
|
|
60097
|
+
* Class for generating unique hashes based on the current timestamp.
|
|
60098
|
+
* This can be used to create unique identifiers for elements or data within an application,
|
|
60099
|
+
* ensuring that each identifier is distinct and can be easily generated without the need
|
|
60100
|
+
* for external libraries or complex algorithms.
|
|
60101
|
+
*/
|
|
60102
|
+
let UniqueId$2 = class UniqueId {
|
|
60103
|
+
/**
|
|
60104
|
+
* Creates a unique hash based on the current timestamp.
|
|
60105
|
+
* @returns {Function} Timestamp as a base-36 string
|
|
60106
|
+
*/
|
|
60107
|
+
create() {
|
|
60108
|
+
return Date.now().toString(36);
|
|
60109
|
+
}
|
|
60110
|
+
};
|
|
60111
|
+
|
|
60096
60112
|
var colorCss$7 = i$4`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]),:host([appearance=inverse]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]),:host([appearance=inverse][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
60097
60113
|
|
|
60098
60114
|
var styleCss$7 = i$4`.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}:host{position:relative;display:block}.helptext-wrapper{display:none}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
@@ -60327,7 +60343,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
60327
60343
|
}
|
|
60328
60344
|
};
|
|
60329
60345
|
|
|
60330
|
-
var formkitVersion$5 = '
|
|
60346
|
+
var formkitVersion$5 = '202609021913';
|
|
60331
60347
|
|
|
60332
60348
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
60333
60349
|
// See LICENSE in the project root for license information.
|
|
@@ -60398,6 +60414,11 @@ class AuroRadioGroup extends i$2 {
|
|
|
60398
60414
|
* @private
|
|
60399
60415
|
*/
|
|
60400
60416
|
this.helpTextTag = versioning.generateTag('auro-formkit-radio-helptext', formkitVersion$5, AuroHelpText$5);
|
|
60417
|
+
|
|
60418
|
+
/**
|
|
60419
|
+
* @private
|
|
60420
|
+
*/
|
|
60421
|
+
this.uniqueId = new UniqueId$2().create();
|
|
60401
60422
|
}
|
|
60402
60423
|
|
|
60403
60424
|
static get styles() {
|
|
@@ -60651,16 +60672,14 @@ class AuroRadioGroup extends i$2 {
|
|
|
60651
60672
|
|
|
60652
60673
|
if (changedProperties.has('validity')) {
|
|
60653
60674
|
if (this.validity && this.validity !== 'valid') {
|
|
60654
|
-
this.setAttribute('aria-invalid', 'true');
|
|
60655
|
-
|
|
60656
60675
|
this.items.forEach((el) => {
|
|
60657
60676
|
el.setAttribute('error', true);
|
|
60677
|
+
el.setAttribute('aria-invalid', 'true');
|
|
60658
60678
|
});
|
|
60659
60679
|
} else {
|
|
60660
|
-
this.removeAttribute('aria-invalid');
|
|
60661
|
-
|
|
60662
60680
|
this.items.forEach((el) => {
|
|
60663
60681
|
el.removeAttribute('error');
|
|
60682
|
+
el.removeAttribute('aria-invalid');
|
|
60664
60683
|
});
|
|
60665
60684
|
}
|
|
60666
60685
|
}
|
|
@@ -60865,7 +60884,13 @@ class AuroRadioGroup extends i$2 {
|
|
|
60865
60884
|
};
|
|
60866
60885
|
|
|
60867
60886
|
return u$d`
|
|
60868
|
-
<fieldset
|
|
60887
|
+
<fieldset
|
|
60888
|
+
class="${e$2(groupClasses)}"
|
|
60889
|
+
part="radio-group"
|
|
60890
|
+
role="radiogroup"
|
|
60891
|
+
aria-invalid="${o$4(this.validity && this.validity !== 'valid' ? 'true' : undefined)}"
|
|
60892
|
+
aria-describedby="${this.uniqueId}"
|
|
60893
|
+
>
|
|
60869
60894
|
<legend class="${e$2(legendClasses)}">
|
|
60870
60895
|
<slot name="legend" @slotchange=${this.handleLegendSlotChange}></slot>
|
|
60871
60896
|
${this.required ? undefined : u$d`<slot name="optionalLabel"> (optional)</slot>`}
|
|
@@ -60875,11 +60900,11 @@ class AuroRadioGroup extends i$2 {
|
|
|
60875
60900
|
|
|
60876
60901
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
60877
60902
|
? u$d`
|
|
60878
|
-
<${this.helpTextTag} appearance="${this.onDark ? 'inverse' : this.appearance}" part="helpText">
|
|
60903
|
+
<${this.helpTextTag} id="${this.uniqueId}" appearance="${this.onDark ? 'inverse' : this.appearance}" part="helpText">
|
|
60879
60904
|
<slot name="helpText"></slot>
|
|
60880
60905
|
</${this.helpTextTag}>`
|
|
60881
60906
|
: u$d`
|
|
60882
|
-
<${this.helpTextTag} appearance="${this.onDark ? 'inverse' : this.appearance}" role="alert" error aria-live="assertive" part="helpText">
|
|
60907
|
+
<${this.helpTextTag} id="${this.uniqueId}" appearance="${this.onDark ? 'inverse' : this.appearance}" role="alert" error aria-live="assertive" part="helpText">
|
|
60883
60908
|
${this.errorMessage}
|
|
60884
60909
|
</${this.helpTextTag}>`
|
|
60885
60910
|
}
|
|
@@ -61883,6 +61908,22 @@ let AuroDependencyVersioning$5 = class AuroDependencyVersioning {
|
|
|
61883
61908
|
}
|
|
61884
61909
|
};
|
|
61885
61910
|
|
|
61911
|
+
/**
|
|
61912
|
+
* Class for generating unique hashes based on the current timestamp.
|
|
61913
|
+
* This can be used to create unique identifiers for elements or data within an application,
|
|
61914
|
+
* ensuring that each identifier is distinct and can be easily generated without the need
|
|
61915
|
+
* for external libraries or complex algorithms.
|
|
61916
|
+
*/
|
|
61917
|
+
let UniqueId$1 = class UniqueId {
|
|
61918
|
+
/**
|
|
61919
|
+
* Creates a unique hash based on the current timestamp.
|
|
61920
|
+
* @returns {Function} Timestamp as a base-36 string
|
|
61921
|
+
*/
|
|
61922
|
+
create() {
|
|
61923
|
+
return Date.now().toString(36);
|
|
61924
|
+
}
|
|
61925
|
+
};
|
|
61926
|
+
|
|
61886
61927
|
var styleCss$1$4 = i$4`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}[auro-helptext]{margin-top:var(--ds-size-150, 0.75rem)}`;
|
|
61887
61928
|
|
|
61888
61929
|
var colorCss$1$4 = i$4`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark]),:host([appearance=inverse]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][disabled]),:host([appearance=inverse][disabled]){--ds-auro-checkbox-group-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}`;
|
|
@@ -62121,7 +62162,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
62121
62162
|
}
|
|
62122
62163
|
};
|
|
62123
62164
|
|
|
62124
|
-
var formkitVersion$4 = '
|
|
62165
|
+
var formkitVersion$4 = '202609021913';
|
|
62125
62166
|
|
|
62126
62167
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
62127
62168
|
// See LICENSE in the project root for license information.
|
|
@@ -62198,6 +62239,11 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
62198
62239
|
* @private
|
|
62199
62240
|
*/
|
|
62200
62241
|
this.helpTextTag = versioning.generateTag('auro-formkit-checkbox-helptext', formkitVersion$4, AuroHelpText$4);
|
|
62242
|
+
|
|
62243
|
+
/**
|
|
62244
|
+
* @private
|
|
62245
|
+
*/
|
|
62246
|
+
this.uniqueId = new UniqueId$1().create();
|
|
62201
62247
|
}
|
|
62202
62248
|
|
|
62203
62249
|
static get styles() {
|
|
@@ -62483,8 +62529,10 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
62483
62529
|
this.checkboxes.forEach((el) => {
|
|
62484
62530
|
if (this.validity && this.validity !== 'valid') {
|
|
62485
62531
|
el.setAttribute('error', true);
|
|
62532
|
+
el.setAttribute('aria-invalid', 'true');
|
|
62486
62533
|
} else {
|
|
62487
62534
|
el.removeAttribute('error');
|
|
62535
|
+
el.removeAttribute('aria-invalid');
|
|
62488
62536
|
}
|
|
62489
62537
|
});
|
|
62490
62538
|
}
|
|
@@ -62510,12 +62558,6 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
62510
62558
|
}
|
|
62511
62559
|
|
|
62512
62560
|
if (changedProperties.has('error')) {
|
|
62513
|
-
if (this.error) {
|
|
62514
|
-
this.setAttribute('aria-invalid', true);
|
|
62515
|
-
} else {
|
|
62516
|
-
this.removeAttribute('aria-invalid');
|
|
62517
|
-
}
|
|
62518
|
-
|
|
62519
62561
|
this.validate(true);
|
|
62520
62562
|
}
|
|
62521
62563
|
}
|
|
@@ -62534,7 +62576,11 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
62534
62576
|
};
|
|
62535
62577
|
|
|
62536
62578
|
return u$d`
|
|
62537
|
-
<fieldset
|
|
62579
|
+
<fieldset
|
|
62580
|
+
class="${e$2(groupClasses)}"
|
|
62581
|
+
aria-invalid="${o$4(this.validity && this.validity !== 'valid' ? 'true' : undefined)}"
|
|
62582
|
+
aria-describedby="${this.uniqueId}"
|
|
62583
|
+
>
|
|
62538
62584
|
<legend>
|
|
62539
62585
|
<slot name="legend"></slot>
|
|
62540
62586
|
${this.required ? undefined : u$d`<slot name="optionalLabel"> (optional)</slot>`}
|
|
@@ -62544,11 +62590,11 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
62544
62590
|
|
|
62545
62591
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
62546
62592
|
? u$d`
|
|
62547
|
-
<${this.helpTextTag} part="helpText" appearance="${this.onDark ? 'inverse' : this.appearance}">
|
|
62593
|
+
<${this.helpTextTag} id="${this.uniqueId}" part="helpText" appearance="${this.onDark ? 'inverse' : this.appearance}">
|
|
62548
62594
|
<slot name="helpText"></slot>
|
|
62549
62595
|
</${this.helpTextTag}>`
|
|
62550
62596
|
: u$d`
|
|
62551
|
-
<${this.helpTextTag} error appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
62597
|
+
<${this.helpTextTag} id="${this.uniqueId}" error appearance="${this.onDark ? 'inverse' : this.appearance}" role="alert" aria-live="assertive" part="helpText">
|
|
62552
62598
|
${this.errorMessage}
|
|
62553
62599
|
</${this.helpTextTag}>`
|
|
62554
62600
|
}
|
|
@@ -67548,7 +67594,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
67548
67594
|
}
|
|
67549
67595
|
};
|
|
67550
67596
|
|
|
67551
|
-
var formkitVersion$2 = '
|
|
67597
|
+
var formkitVersion$2 = '202609021913';
|
|
67552
67598
|
|
|
67553
67599
|
/**
|
|
67554
67600
|
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
@@ -81410,7 +81456,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
81410
81456
|
}
|
|
81411
81457
|
};
|
|
81412
81458
|
|
|
81413
|
-
var formkitVersion$1$1 = '
|
|
81459
|
+
var formkitVersion$1$1 = '202609021913';
|
|
81414
81460
|
|
|
81415
81461
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
81416
81462
|
// See LICENSE in the project root for license information.
|
|
@@ -82602,7 +82648,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
82602
82648
|
}
|
|
82603
82649
|
};
|
|
82604
82650
|
|
|
82605
|
-
var formkitVersion$3 = '
|
|
82651
|
+
var formkitVersion$3 = '202609021913';
|
|
82606
82652
|
|
|
82607
82653
|
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}`;
|
|
82608
82654
|
|
|
@@ -83043,6 +83089,11 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83043
83089
|
this.behavior = "suggestion";
|
|
83044
83090
|
this.clearBtnFocused = false;
|
|
83045
83091
|
|
|
83092
|
+
// One-shot: set when the input's clear button is activated so the
|
|
83093
|
+
// SPA-preselect guard in handleInputValueChange doesn't swallow the
|
|
83094
|
+
// genuine clear (AB#1634257).
|
|
83095
|
+
this._clearBtnActivated = false;
|
|
83096
|
+
|
|
83046
83097
|
// Defaults that effect the overall layout of the combobox
|
|
83047
83098
|
this.checkmark = false;
|
|
83048
83099
|
this.dvInputOnly = false;
|
|
@@ -84000,6 +84051,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84000
84051
|
this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$);
|
|
84001
84052
|
this.inputInBib = this.bibtemplate.querySelector(this.inputTag._$litStatic$);
|
|
84002
84053
|
|
|
84054
|
+
// Mirror the trigger's clear-button tracking onto the fullscreen bib input
|
|
84055
|
+
// so clearing there also fully resets the combobox (AB#1634257). See
|
|
84056
|
+
// trackClearBtnActivation for why this must run in the capture phase.
|
|
84057
|
+
if (this.inputInBib && this.inputInBib !== this.input) {
|
|
84058
|
+
this.trackClearBtnActivation(this.inputInBib);
|
|
84059
|
+
}
|
|
84060
|
+
|
|
84003
84061
|
// Pass label text to the dropdown bib for accessible dialog naming
|
|
84004
84062
|
const labelElement = this.querySelector('[slot="label"]');
|
|
84005
84063
|
if (labelElement) {
|
|
@@ -84385,6 +84443,52 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84385
84443
|
this.clearBtnFocused = false;
|
|
84386
84444
|
}
|
|
84387
84445
|
});
|
|
84446
|
+
|
|
84447
|
+
this.trackClearBtnActivation(this.input);
|
|
84448
|
+
}
|
|
84449
|
+
|
|
84450
|
+
/**
|
|
84451
|
+
* Flags genuine clear-button activations on an auro-input so the SPA-preselect
|
|
84452
|
+
* guard in handleInputValueChange doesn't swallow them.
|
|
84453
|
+
*
|
|
84454
|
+
* The auro-input clear button fires an `isProgrammatic` input event (via
|
|
84455
|
+
* notifyValueChanged) that is indistinguishable in shape from the
|
|
84456
|
+
* SPA-preselect echo that guard bails on (isProgrammatic + set value + empty
|
|
84457
|
+
* input). Without this one-shot flag, clicking clear would leave
|
|
84458
|
+
* this.value/optionSelected stale (AB#1634257).
|
|
84459
|
+
*
|
|
84460
|
+
* Delegated on the shadow root so it works regardless of when .clearBtn
|
|
84461
|
+
* renders (it only exists after a value is set), and covers both real clicks
|
|
84462
|
+
* and programmatic clearBtn.click() (which no focusin precedes). Registered in
|
|
84463
|
+
* the CAPTURE phase so the flag is set BEFORE the button's own @click
|
|
84464
|
+
* (handleClickClear) fires its synchronous input event — which is when
|
|
84465
|
+
* handleInputValueChange reads the flag.
|
|
84466
|
+
* @private
|
|
84467
|
+
* @param {Element} inputEl - The auro-input whose clear button to track.
|
|
84468
|
+
* @returns {void}
|
|
84469
|
+
*/
|
|
84470
|
+
trackClearBtnActivation(inputEl) {
|
|
84471
|
+
if (!inputEl || !inputEl.shadowRoot) {
|
|
84472
|
+
return;
|
|
84473
|
+
}
|
|
84474
|
+
inputEl.shadowRoot.addEventListener('click', (event) => {
|
|
84475
|
+
if (event.target.closest('.clearBtn')) {
|
|
84476
|
+
this._clearBtnActivated = true;
|
|
84477
|
+
|
|
84478
|
+
// Bound the flag's lifetime to this synchronous clear -> input window.
|
|
84479
|
+
// auro-input's handleClickClear fires its input event synchronously
|
|
84480
|
+
// (before any macrotask runs), so handleInputValueChange consumes the
|
|
84481
|
+
// flag first and this reset is a harmless no-op. It only does real work
|
|
84482
|
+
// if that input event never arrives (e.g. auro-input throws mid-clear),
|
|
84483
|
+
// guaranteeing the flag can't survive to be misread as a genuine clear
|
|
84484
|
+
// by a later unrelated event such as an SPA-preselect echo (AB#1634257).
|
|
84485
|
+
// Scheduled via _scheduleTimer so disconnectedCallback cancels it if the
|
|
84486
|
+
// component tears down inside that window.
|
|
84487
|
+
this._scheduleTimer(() => {
|
|
84488
|
+
this._clearBtnActivated = false;
|
|
84489
|
+
}, 0);
|
|
84490
|
+
}
|
|
84491
|
+
}, true);
|
|
84388
84492
|
}
|
|
84389
84493
|
|
|
84390
84494
|
/**
|
|
@@ -84426,6 +84530,17 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84426
84530
|
* @returns {void}
|
|
84427
84531
|
*/
|
|
84428
84532
|
handleInputValueChange(event) {
|
|
84533
|
+
// Consume the one-shot clear-button flag on EVERY entry, before any branch
|
|
84534
|
+
// below can early-return. trackClearBtnActivation sets it in the capture
|
|
84535
|
+
// phase right before auro-input's clear button fires its synchronous input
|
|
84536
|
+
// event; reading and immediately clearing it here guarantees the flag never
|
|
84537
|
+
// survives a handleInputValueChange call to leak into a later event (e.g.
|
|
84538
|
+
// the bib branch bailing at _syncingDisplayValue, or an SPA-preselect echo)
|
|
84539
|
+
// where it would defeat the guard below. Held in a local so that guard can
|
|
84540
|
+
// still tell a genuine clear from the init-render echo (AB#1634257).
|
|
84541
|
+
const clearBtnActivated = this._clearBtnActivated;
|
|
84542
|
+
this._clearBtnActivated = false;
|
|
84543
|
+
|
|
84429
84544
|
// When the event comes from the fullscreen bib input, sync the value to
|
|
84430
84545
|
// the trigger input. Setting trigger.value triggers Lit's updated()
|
|
84431
84546
|
// (async, microtask) which fires notifyValueChanged() → another 'input'
|
|
@@ -84473,7 +84588,12 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84473
84588
|
// to the exact shape of that echo (isProgrammatic + non-empty combobox
|
|
84474
84589
|
// value + empty input.value) so it doesn't affect the swap/typed paths
|
|
84475
84590
|
// where value/input already track each other through the sync helpers.
|
|
84476
|
-
|
|
84591
|
+
// The clear button's echo has the same shape (isProgrammatic + set value +
|
|
84592
|
+
// empty input) but is a genuine user clear that MUST reset this.value and
|
|
84593
|
+
// optionSelected below. clearBtnActivated (consumed at the top of this
|
|
84594
|
+
// method) is true only for that genuine clear, so only the real
|
|
84595
|
+
// SPA-preselect echo bails (AB#1634257).
|
|
84596
|
+
if (event && event.isProgrammatic && this.value && !this.input.value && !clearBtnActivated) {
|
|
84477
84597
|
return;
|
|
84478
84598
|
}
|
|
84479
84599
|
|
|
@@ -84618,6 +84738,14 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84618
84738
|
// retry would otherwise keep rescheduling itself indefinitely.
|
|
84619
84739
|
this._pendingTimers.forEach((id) => clearTimeout(id));
|
|
84620
84740
|
this._pendingTimers.clear();
|
|
84741
|
+
|
|
84742
|
+
// Cancelling the timers above drops the macrotask that would have reset
|
|
84743
|
+
// _clearBtnActivated, so reset it here too. Otherwise a disconnect inside
|
|
84744
|
+
// the clear-click -> macrotask window strands the flag `true`; instance
|
|
84745
|
+
// state survives reconnect, and the first matching input event (including
|
|
84746
|
+
// an SPA-preselect echo) would then bypass the guard in
|
|
84747
|
+
// handleInputValueChange and silently clear value/optionSelected (AB#1634257).
|
|
84748
|
+
this._clearBtnActivated = false;
|
|
84621
84749
|
}
|
|
84622
84750
|
|
|
84623
84751
|
firstUpdated() {
|
|
@@ -84716,6 +84844,14 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
84716
84844
|
}
|
|
84717
84845
|
if (this.menu.value || this.menu.optionSelected) {
|
|
84718
84846
|
this.menu.reset();
|
|
84847
|
+
} else {
|
|
84848
|
+
// The menu's selection properties are already cleared, but option
|
|
84849
|
+
// elements can still carry a stale `selected` attribute (e.g. the menu
|
|
84850
|
+
// options were rebuilt after the value was set, orphaning the DOM from
|
|
84851
|
+
// the now-null optionSelected). reset() is skipped above in that case,
|
|
84852
|
+
// so re-sync the option DOM directly to guarantee no option renders as
|
|
84853
|
+
// selected once the field is cleared (AB#1634259).
|
|
84854
|
+
this.menu.clearSelection();
|
|
84719
84855
|
}
|
|
84720
84856
|
} finally {
|
|
84721
84857
|
this._clearing = false;
|
|
@@ -86350,6 +86486,22 @@ class AuroMenu extends AuroElement$2 {
|
|
|
86350
86486
|
this.value = undefined;
|
|
86351
86487
|
this._selectedKey = undefined;
|
|
86352
86488
|
this._index = -1;
|
|
86489
|
+
|
|
86490
|
+
// Eagerly sync the option DOM to the now-empty selection. Nulling the
|
|
86491
|
+
// reactive properties above normally schedules updated() → updateItemsState,
|
|
86492
|
+
// but that only runs when a property actually changes. If an option still
|
|
86493
|
+
// carries a stale `selected`/`aria-selected` attribute while these
|
|
86494
|
+
// properties are already undefined (e.g. options were rebuilt after a value
|
|
86495
|
+
// was set), no re-render fires and the option keeps rendering as selected.
|
|
86496
|
+
// Strip that state now so no option looks selected after a clear (AB#1634259).
|
|
86497
|
+
// Intentionally leaves `active`/`optionActive` untouched so a highlighted
|
|
86498
|
+
// option remains keyboard-re-selectable after emptying the value (AB#1606433).
|
|
86499
|
+
this.updateItemsState(new Map([
|
|
86500
|
+
[
|
|
86501
|
+
'optionSelected',
|
|
86502
|
+
true
|
|
86503
|
+
]
|
|
86504
|
+
]));
|
|
86353
86505
|
}
|
|
86354
86506
|
|
|
86355
86507
|
/**
|
|
@@ -92033,7 +92185,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
92033
92185
|
}
|
|
92034
92186
|
};
|
|
92035
92187
|
|
|
92036
|
-
var formkitVersion$1 = '
|
|
92188
|
+
var formkitVersion$1 = '202609021913';
|
|
92037
92189
|
|
|
92038
92190
|
/**
|
|
92039
92191
|
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
@@ -94206,7 +94358,7 @@ class AuroHelpText extends i$2 {
|
|
|
94206
94358
|
}
|
|
94207
94359
|
}
|
|
94208
94360
|
|
|
94209
|
-
var formkitVersion = '
|
|
94361
|
+
var formkitVersion = '202609021913';
|
|
94210
94362
|
|
|
94211
94363
|
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{max-width:100%}.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%;box-sizing:border-box;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{overflow:hidden;height:auto;text-overflow:ellipsis;white-space:nowrap}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}`;
|
|
94212
94364
|
|
|
@@ -12396,7 +12396,7 @@ class AuroHelpText extends i$3 {
|
|
|
12396
12396
|
}
|
|
12397
12397
|
}
|
|
12398
12398
|
|
|
12399
|
-
var formkitVersion = '
|
|
12399
|
+
var formkitVersion = '202609021913';
|
|
12400
12400
|
|
|
12401
12401
|
/**
|
|
12402
12402
|
* @license
|
|
@@ -12396,7 +12396,7 @@ class AuroHelpText extends i$3 {
|
|
|
12396
12396
|
}
|
|
12397
12397
|
}
|
|
12398
12398
|
|
|
12399
|
-
var formkitVersion = '
|
|
12399
|
+
var formkitVersion = '202609021913';
|
|
12400
12400
|
|
|
12401
12401
|
/**
|
|
12402
12402
|
* @license
|
|
@@ -12396,7 +12396,7 @@ class AuroHelpText extends i$3 {
|
|
|
12396
12396
|
}
|
|
12397
12397
|
}
|
|
12398
12398
|
|
|
12399
|
-
var formkitVersion = '
|
|
12399
|
+
var formkitVersion = '202609021913';
|
|
12400
12400
|
|
|
12401
12401
|
/**
|
|
12402
12402
|
* @license
|
|
@@ -12338,7 +12338,7 @@ class AuroHelpText extends LitElement {
|
|
|
12338
12338
|
}
|
|
12339
12339
|
}
|
|
12340
12340
|
|
|
12341
|
-
var formkitVersion = '
|
|
12341
|
+
var formkitVersion = '202609021913';
|
|
12342
12342
|
|
|
12343
12343
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12344
12344
|
// See LICENSE in the project root for license information.
|
|
@@ -12338,7 +12338,7 @@ class AuroHelpText extends LitElement {
|
|
|
12338
12338
|
}
|
|
12339
12339
|
}
|
|
12340
12340
|
|
|
12341
|
-
var formkitVersion = '
|
|
12341
|
+
var formkitVersion = '202609021913';
|
|
12342
12342
|
|
|
12343
12343
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12344
12344
|
// See LICENSE in the project root for license information.
|
|
@@ -1305,6 +1305,22 @@ class AuroMenu extends AuroElement {
|
|
|
1305
1305
|
this.value = undefined;
|
|
1306
1306
|
this._selectedKey = undefined;
|
|
1307
1307
|
this._index = -1;
|
|
1308
|
+
|
|
1309
|
+
// Eagerly sync the option DOM to the now-empty selection. Nulling the
|
|
1310
|
+
// reactive properties above normally schedules updated() → updateItemsState,
|
|
1311
|
+
// but that only runs when a property actually changes. If an option still
|
|
1312
|
+
// carries a stale `selected`/`aria-selected` attribute while these
|
|
1313
|
+
// properties are already undefined (e.g. options were rebuilt after a value
|
|
1314
|
+
// was set), no re-render fires and the option keeps rendering as selected.
|
|
1315
|
+
// Strip that state now so no option looks selected after a clear (AB#1634259).
|
|
1316
|
+
// Intentionally leaves `active`/`optionActive` untouched so a highlighted
|
|
1317
|
+
// option remains keyboard-re-selectable after emptying the value (AB#1606433).
|
|
1318
|
+
this.updateItemsState(new Map([
|
|
1319
|
+
[
|
|
1320
|
+
'optionSelected',
|
|
1321
|
+
true
|
|
1322
|
+
]
|
|
1323
|
+
]));
|
|
1308
1324
|
}
|
|
1309
1325
|
|
|
1310
1326
|
/**
|