@aurodesignsystem-dev/auro-formkit 0.0.0-pr1318.0 → 0.0.0-pr1318.10
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 +63 -7
- package/components/combobox/demo/index.min.js +63 -7
- package/components/combobox/dist/auro-combobox.d.ts +1 -1
- package/components/combobox/dist/index.js +63 -7
- package/components/combobox/dist/registered.js +63 -7
- package/components/counter/demo/api.min.js +17 -3
- package/components/counter/demo/index.min.js +17 -3
- package/components/counter/dist/index.js +17 -3
- package/components/counter/dist/registered.js +17 -3
- package/components/datepicker/demo/api.min.js +43 -5
- package/components/datepicker/demo/index.min.js +43 -5
- package/components/datepicker/dist/index.js +43 -5
- package/components/datepicker/dist/registered.js +43 -5
- package/components/dropdown/demo/api.min.js +16 -2
- package/components/dropdown/demo/index.min.js +16 -2
- package/components/dropdown/dist/auro-dropdown.d.ts +9 -0
- package/components/dropdown/dist/index.js +16 -2
- package/components/dropdown/dist/registered.js +16 -2
- package/components/input/demo/api.md +5 -3
- package/components/input/demo/api.min.js +26 -2
- package/components/input/demo/index.min.js +26 -2
- package/components/input/dist/auro-input.d.ts +1 -0
- package/components/input/dist/base-input.d.ts +10 -0
- package/components/input/dist/index.js +26 -2
- package/components/input/dist/registered.js +26 -2
- 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 +56 -11
- package/components/select/demo/index.min.js +56 -11
- package/components/select/dist/auro-select.d.ts +7 -0
- package/components/select/dist/index.js +56 -11
- package/components/select/dist/registered.js +56 -11
- package/custom-elements.json +92 -5
- package/package.json +9 -3
|
@@ -9278,7 +9278,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
9278
9278
|
}
|
|
9279
9279
|
}
|
|
9280
9280
|
|
|
9281
|
-
var formkitVersion$2 = '
|
|
9281
|
+
var formkitVersion$2 = '202602112105';
|
|
9282
9282
|
|
|
9283
9283
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = 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$3=i$3`: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}
|
|
9284
9284
|
`,u$6=i$3`.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}}
|
|
@@ -13009,7 +13009,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
13009
13009
|
}
|
|
13010
13010
|
};
|
|
13011
13011
|
|
|
13012
|
-
var formkitVersion$1 = '
|
|
13012
|
+
var formkitVersion$1 = '202602112105';
|
|
13013
13013
|
|
|
13014
13014
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
13015
13015
|
static get properties() {
|
|
@@ -13296,6 +13296,20 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
13296
13296
|
}
|
|
13297
13297
|
}
|
|
13298
13298
|
|
|
13299
|
+
/**
|
|
13300
|
+
* Sets the active descendant element for accessibility.
|
|
13301
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
13302
|
+
* This function is used in components that contain `auro-dropdown` to set the active descendant.
|
|
13303
|
+
* @private
|
|
13304
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
13305
|
+
* @returns {void}
|
|
13306
|
+
*/
|
|
13307
|
+
setActiveDescendant(element) {
|
|
13308
|
+
if (this.trigger) {
|
|
13309
|
+
this.trigger.ariaActiveDescendantElement = element;
|
|
13310
|
+
}
|
|
13311
|
+
}
|
|
13312
|
+
|
|
13299
13313
|
// function to define props used within the scope of this component
|
|
13300
13314
|
static get properties() {
|
|
13301
13315
|
return {
|
|
@@ -13939,7 +13953,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
13939
13953
|
tabindex="${o$2(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
13940
13954
|
role="${o$2(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
13941
13955
|
aria-expanded="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
13942
|
-
aria-controls="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
13956
|
+
aria-controls="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : `${this.dropdownId}-floater-bib`)}"
|
|
13943
13957
|
aria-labelledby="${o$2(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
13944
13958
|
@focusin="${this.handleFocusin}"
|
|
13945
13959
|
@blur="${this.handleFocusOut}">
|
|
@@ -19402,6 +19416,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
19402
19416
|
|
|
19403
19417
|
/**
|
|
19404
19418
|
* The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
19419
|
+
* **Note**: This attribute is not intended to be used with a `type` or `format` that already has a defined length, such as credit-cards, dates or phone numbers.
|
|
19405
19420
|
*/
|
|
19406
19421
|
maxLength: {
|
|
19407
19422
|
type: Number,
|
|
@@ -19927,6 +19942,11 @@ class BaseInput extends AuroElement$1 {
|
|
|
19927
19942
|
* @returns {void}
|
|
19928
19943
|
*/
|
|
19929
19944
|
handleInput(event) {
|
|
19945
|
+
// Process credit card type detection and formatting during input
|
|
19946
|
+
if (this.type === 'credit-card') {
|
|
19947
|
+
this.processCreditCard();
|
|
19948
|
+
}
|
|
19949
|
+
|
|
19930
19950
|
// Sets value property to value of element value (el.value).
|
|
19931
19951
|
this.value = this.inputElement.value;
|
|
19932
19952
|
|
|
@@ -20006,6 +20026,20 @@ class BaseInput extends AuroElement$1 {
|
|
|
20006
20026
|
return activeEl;
|
|
20007
20027
|
}
|
|
20008
20028
|
|
|
20029
|
+
/**
|
|
20030
|
+
* Sets the active descendant element for accessibility.
|
|
20031
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
20032
|
+
* This function is used in components that contain `auro-input` to set the active descendant.
|
|
20033
|
+
* @private
|
|
20034
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
20035
|
+
* @returns {void}
|
|
20036
|
+
*/
|
|
20037
|
+
setActiveDescendant(element) {
|
|
20038
|
+
if (this.inputElement) {
|
|
20039
|
+
this.inputElement.ariaActiveDescendantElement = element;
|
|
20040
|
+
}
|
|
20041
|
+
}
|
|
20042
|
+
|
|
20009
20043
|
/**
|
|
20010
20044
|
* Validates value.
|
|
20011
20045
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
@@ -20044,6 +20078,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
20044
20078
|
|
|
20045
20079
|
if (this.type in defaultLengths) {
|
|
20046
20080
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
20081
|
+
this.maxLength = this.lengthForType;
|
|
20047
20082
|
this.inputmode = this.inputmode || 'numeric';
|
|
20048
20083
|
} else if (this.type === 'number') {
|
|
20049
20084
|
this.inputmode = this.inputmode || 'numeric';
|
|
@@ -20154,6 +20189,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
20154
20189
|
*/
|
|
20155
20190
|
processCreditCard() {
|
|
20156
20191
|
const creditCard = this.matchInputValueToCreditCard();
|
|
20192
|
+
const previousFormat = this.format;
|
|
20157
20193
|
|
|
20158
20194
|
this.format = creditCard.maskFormat;
|
|
20159
20195
|
|
|
@@ -20166,7 +20202,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
20166
20202
|
this.inputIconName = creditCard.cardIcon;
|
|
20167
20203
|
}
|
|
20168
20204
|
|
|
20169
|
-
if
|
|
20205
|
+
// Only reconfigure the mask if the format has changed
|
|
20206
|
+
if (this.inputElement && previousFormat !== this.format) {
|
|
20170
20207
|
this.configureAutoFormatting();
|
|
20171
20208
|
}
|
|
20172
20209
|
}
|
|
@@ -20627,7 +20664,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
20627
20664
|
}
|
|
20628
20665
|
};
|
|
20629
20666
|
|
|
20630
|
-
var formkitVersion = '
|
|
20667
|
+
var formkitVersion = '202602112105';
|
|
20631
20668
|
|
|
20632
20669
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
20633
20670
|
// See LICENSE in the project root for license information.
|
|
@@ -20829,6 +20866,7 @@ class AuroInput extends BaseInput {
|
|
|
20829
20866
|
/**
|
|
20830
20867
|
* Common display value wrapper classes.
|
|
20831
20868
|
* @private
|
|
20869
|
+
* @returns {Record<string, boolean>}
|
|
20832
20870
|
*/
|
|
20833
20871
|
get commonDisplayValueWrapperClasses() {
|
|
20834
20872
|
return {
|
|
@@ -9228,7 +9228,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
9228
9228
|
}
|
|
9229
9229
|
}
|
|
9230
9230
|
|
|
9231
|
-
var formkitVersion$2 = '
|
|
9231
|
+
var formkitVersion$2 = '202602112105';
|
|
9232
9232
|
|
|
9233
9233
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1=css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
9234
9234
|
`,u$4=css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -12941,7 +12941,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
12941
12941
|
}
|
|
12942
12942
|
};
|
|
12943
12943
|
|
|
12944
|
-
var formkitVersion$1 = '
|
|
12944
|
+
var formkitVersion$1 = '202602112105';
|
|
12945
12945
|
|
|
12946
12946
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
12947
12947
|
static get properties() {
|
|
@@ -13228,6 +13228,20 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
13228
13228
|
}
|
|
13229
13229
|
}
|
|
13230
13230
|
|
|
13231
|
+
/**
|
|
13232
|
+
* Sets the active descendant element for accessibility.
|
|
13233
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
13234
|
+
* This function is used in components that contain `auro-dropdown` to set the active descendant.
|
|
13235
|
+
* @private
|
|
13236
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
13237
|
+
* @returns {void}
|
|
13238
|
+
*/
|
|
13239
|
+
setActiveDescendant(element) {
|
|
13240
|
+
if (this.trigger) {
|
|
13241
|
+
this.trigger.ariaActiveDescendantElement = element;
|
|
13242
|
+
}
|
|
13243
|
+
}
|
|
13244
|
+
|
|
13231
13245
|
// function to define props used within the scope of this component
|
|
13232
13246
|
static get properties() {
|
|
13233
13247
|
return {
|
|
@@ -13871,7 +13885,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
13871
13885
|
tabindex="${ifDefined(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
13872
13886
|
role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
13873
13887
|
aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
13874
|
-
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
13888
|
+
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : `${this.dropdownId}-floater-bib`)}"
|
|
13875
13889
|
aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
13876
13890
|
@focusin="${this.handleFocusin}"
|
|
13877
13891
|
@blur="${this.handleFocusOut}">
|
|
@@ -19327,6 +19341,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
19327
19341
|
|
|
19328
19342
|
/**
|
|
19329
19343
|
* The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
19344
|
+
* **Note**: This attribute is not intended to be used with a `type` or `format` that already has a defined length, such as credit-cards, dates or phone numbers.
|
|
19330
19345
|
*/
|
|
19331
19346
|
maxLength: {
|
|
19332
19347
|
type: Number,
|
|
@@ -19852,6 +19867,11 @@ class BaseInput extends AuroElement$1 {
|
|
|
19852
19867
|
* @returns {void}
|
|
19853
19868
|
*/
|
|
19854
19869
|
handleInput(event) {
|
|
19870
|
+
// Process credit card type detection and formatting during input
|
|
19871
|
+
if (this.type === 'credit-card') {
|
|
19872
|
+
this.processCreditCard();
|
|
19873
|
+
}
|
|
19874
|
+
|
|
19855
19875
|
// Sets value property to value of element value (el.value).
|
|
19856
19876
|
this.value = this.inputElement.value;
|
|
19857
19877
|
|
|
@@ -19931,6 +19951,20 @@ class BaseInput extends AuroElement$1 {
|
|
|
19931
19951
|
return activeEl;
|
|
19932
19952
|
}
|
|
19933
19953
|
|
|
19954
|
+
/**
|
|
19955
|
+
* Sets the active descendant element for accessibility.
|
|
19956
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
19957
|
+
* This function is used in components that contain `auro-input` to set the active descendant.
|
|
19958
|
+
* @private
|
|
19959
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
19960
|
+
* @returns {void}
|
|
19961
|
+
*/
|
|
19962
|
+
setActiveDescendant(element) {
|
|
19963
|
+
if (this.inputElement) {
|
|
19964
|
+
this.inputElement.ariaActiveDescendantElement = element;
|
|
19965
|
+
}
|
|
19966
|
+
}
|
|
19967
|
+
|
|
19934
19968
|
/**
|
|
19935
19969
|
* Validates value.
|
|
19936
19970
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
@@ -19969,6 +20003,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
19969
20003
|
|
|
19970
20004
|
if (this.type in defaultLengths) {
|
|
19971
20005
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
20006
|
+
this.maxLength = this.lengthForType;
|
|
19972
20007
|
this.inputmode = this.inputmode || 'numeric';
|
|
19973
20008
|
} else if (this.type === 'number') {
|
|
19974
20009
|
this.inputmode = this.inputmode || 'numeric';
|
|
@@ -20079,6 +20114,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
20079
20114
|
*/
|
|
20080
20115
|
processCreditCard() {
|
|
20081
20116
|
const creditCard = this.matchInputValueToCreditCard();
|
|
20117
|
+
const previousFormat = this.format;
|
|
20082
20118
|
|
|
20083
20119
|
this.format = creditCard.maskFormat;
|
|
20084
20120
|
|
|
@@ -20091,7 +20127,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
20091
20127
|
this.inputIconName = creditCard.cardIcon;
|
|
20092
20128
|
}
|
|
20093
20129
|
|
|
20094
|
-
if
|
|
20130
|
+
// Only reconfigure the mask if the format has changed
|
|
20131
|
+
if (this.inputElement && previousFormat !== this.format) {
|
|
20095
20132
|
this.configureAutoFormatting();
|
|
20096
20133
|
}
|
|
20097
20134
|
}
|
|
@@ -20552,7 +20589,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
20552
20589
|
}
|
|
20553
20590
|
};
|
|
20554
20591
|
|
|
20555
|
-
var formkitVersion = '
|
|
20592
|
+
var formkitVersion = '202602112105';
|
|
20556
20593
|
|
|
20557
20594
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
20558
20595
|
// See LICENSE in the project root for license information.
|
|
@@ -20754,6 +20791,7 @@ class AuroInput extends BaseInput {
|
|
|
20754
20791
|
/**
|
|
20755
20792
|
* Common display value wrapper classes.
|
|
20756
20793
|
* @private
|
|
20794
|
+
* @returns {Record<string, boolean>}
|
|
20757
20795
|
*/
|
|
20758
20796
|
get commonDisplayValueWrapperClasses() {
|
|
20759
20797
|
return {
|
|
@@ -9228,7 +9228,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
9228
9228
|
}
|
|
9229
9229
|
}
|
|
9230
9230
|
|
|
9231
|
-
var formkitVersion$2 = '
|
|
9231
|
+
var formkitVersion$2 = '202602112105';
|
|
9232
9232
|
|
|
9233
9233
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1=css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
9234
9234
|
`,u$4=css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -12941,7 +12941,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
12941
12941
|
}
|
|
12942
12942
|
};
|
|
12943
12943
|
|
|
12944
|
-
var formkitVersion$1 = '
|
|
12944
|
+
var formkitVersion$1 = '202602112105';
|
|
12945
12945
|
|
|
12946
12946
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
12947
12947
|
static get properties() {
|
|
@@ -13228,6 +13228,20 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
13228
13228
|
}
|
|
13229
13229
|
}
|
|
13230
13230
|
|
|
13231
|
+
/**
|
|
13232
|
+
* Sets the active descendant element for accessibility.
|
|
13233
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
13234
|
+
* This function is used in components that contain `auro-dropdown` to set the active descendant.
|
|
13235
|
+
* @private
|
|
13236
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
13237
|
+
* @returns {void}
|
|
13238
|
+
*/
|
|
13239
|
+
setActiveDescendant(element) {
|
|
13240
|
+
if (this.trigger) {
|
|
13241
|
+
this.trigger.ariaActiveDescendantElement = element;
|
|
13242
|
+
}
|
|
13243
|
+
}
|
|
13244
|
+
|
|
13231
13245
|
// function to define props used within the scope of this component
|
|
13232
13246
|
static get properties() {
|
|
13233
13247
|
return {
|
|
@@ -13871,7 +13885,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
13871
13885
|
tabindex="${ifDefined(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
13872
13886
|
role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
13873
13887
|
aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
13874
|
-
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
13888
|
+
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : `${this.dropdownId}-floater-bib`)}"
|
|
13875
13889
|
aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
13876
13890
|
@focusin="${this.handleFocusin}"
|
|
13877
13891
|
@blur="${this.handleFocusOut}">
|
|
@@ -19327,6 +19341,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
19327
19341
|
|
|
19328
19342
|
/**
|
|
19329
19343
|
* The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
19344
|
+
* **Note**: This attribute is not intended to be used with a `type` or `format` that already has a defined length, such as credit-cards, dates or phone numbers.
|
|
19330
19345
|
*/
|
|
19331
19346
|
maxLength: {
|
|
19332
19347
|
type: Number,
|
|
@@ -19852,6 +19867,11 @@ class BaseInput extends AuroElement$1 {
|
|
|
19852
19867
|
* @returns {void}
|
|
19853
19868
|
*/
|
|
19854
19869
|
handleInput(event) {
|
|
19870
|
+
// Process credit card type detection and formatting during input
|
|
19871
|
+
if (this.type === 'credit-card') {
|
|
19872
|
+
this.processCreditCard();
|
|
19873
|
+
}
|
|
19874
|
+
|
|
19855
19875
|
// Sets value property to value of element value (el.value).
|
|
19856
19876
|
this.value = this.inputElement.value;
|
|
19857
19877
|
|
|
@@ -19931,6 +19951,20 @@ class BaseInput extends AuroElement$1 {
|
|
|
19931
19951
|
return activeEl;
|
|
19932
19952
|
}
|
|
19933
19953
|
|
|
19954
|
+
/**
|
|
19955
|
+
* Sets the active descendant element for accessibility.
|
|
19956
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
19957
|
+
* This function is used in components that contain `auro-input` to set the active descendant.
|
|
19958
|
+
* @private
|
|
19959
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
19960
|
+
* @returns {void}
|
|
19961
|
+
*/
|
|
19962
|
+
setActiveDescendant(element) {
|
|
19963
|
+
if (this.inputElement) {
|
|
19964
|
+
this.inputElement.ariaActiveDescendantElement = element;
|
|
19965
|
+
}
|
|
19966
|
+
}
|
|
19967
|
+
|
|
19934
19968
|
/**
|
|
19935
19969
|
* Validates value.
|
|
19936
19970
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
@@ -19969,6 +20003,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
19969
20003
|
|
|
19970
20004
|
if (this.type in defaultLengths) {
|
|
19971
20005
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
20006
|
+
this.maxLength = this.lengthForType;
|
|
19972
20007
|
this.inputmode = this.inputmode || 'numeric';
|
|
19973
20008
|
} else if (this.type === 'number') {
|
|
19974
20009
|
this.inputmode = this.inputmode || 'numeric';
|
|
@@ -20079,6 +20114,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
20079
20114
|
*/
|
|
20080
20115
|
processCreditCard() {
|
|
20081
20116
|
const creditCard = this.matchInputValueToCreditCard();
|
|
20117
|
+
const previousFormat = this.format;
|
|
20082
20118
|
|
|
20083
20119
|
this.format = creditCard.maskFormat;
|
|
20084
20120
|
|
|
@@ -20091,7 +20127,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
20091
20127
|
this.inputIconName = creditCard.cardIcon;
|
|
20092
20128
|
}
|
|
20093
20129
|
|
|
20094
|
-
if
|
|
20130
|
+
// Only reconfigure the mask if the format has changed
|
|
20131
|
+
if (this.inputElement && previousFormat !== this.format) {
|
|
20095
20132
|
this.configureAutoFormatting();
|
|
20096
20133
|
}
|
|
20097
20134
|
}
|
|
@@ -20552,7 +20589,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
20552
20589
|
}
|
|
20553
20590
|
};
|
|
20554
20591
|
|
|
20555
|
-
var formkitVersion = '
|
|
20592
|
+
var formkitVersion = '202602112105';
|
|
20556
20593
|
|
|
20557
20594
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
20558
20595
|
// See LICENSE in the project root for license information.
|
|
@@ -20754,6 +20791,7 @@ class AuroInput extends BaseInput {
|
|
|
20754
20791
|
/**
|
|
20755
20792
|
* Common display value wrapper classes.
|
|
20756
20793
|
* @private
|
|
20794
|
+
* @returns {Record<string, boolean>}
|
|
20757
20795
|
*/
|
|
20758
20796
|
get commonDisplayValueWrapperClasses() {
|
|
20759
20797
|
return {
|
|
@@ -3405,7 +3405,7 @@ class AuroHelpText extends i {
|
|
|
3405
3405
|
}
|
|
3406
3406
|
}
|
|
3407
3407
|
|
|
3408
|
-
var formkitVersion = '
|
|
3408
|
+
var formkitVersion = '202602112105';
|
|
3409
3409
|
|
|
3410
3410
|
class AuroElement extends i {
|
|
3411
3411
|
static get properties() {
|
|
@@ -3692,6 +3692,20 @@ class AuroDropdown extends AuroElement {
|
|
|
3692
3692
|
}
|
|
3693
3693
|
}
|
|
3694
3694
|
|
|
3695
|
+
/**
|
|
3696
|
+
* Sets the active descendant element for accessibility.
|
|
3697
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
3698
|
+
* This function is used in components that contain `auro-dropdown` to set the active descendant.
|
|
3699
|
+
* @private
|
|
3700
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
3701
|
+
* @returns {void}
|
|
3702
|
+
*/
|
|
3703
|
+
setActiveDescendant(element) {
|
|
3704
|
+
if (this.trigger) {
|
|
3705
|
+
this.trigger.ariaActiveDescendantElement = element;
|
|
3706
|
+
}
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3695
3709
|
// function to define props used within the scope of this component
|
|
3696
3710
|
static get properties() {
|
|
3697
3711
|
return {
|
|
@@ -4335,7 +4349,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4335
4349
|
tabindex="${o(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
4336
4350
|
role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
4337
4351
|
aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
4338
|
-
aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
4352
|
+
aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : `${this.dropdownId}-floater-bib`)}"
|
|
4339
4353
|
aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
4340
4354
|
@focusin="${this.handleFocusin}"
|
|
4341
4355
|
@blur="${this.handleFocusOut}">
|
|
@@ -3345,7 +3345,7 @@ class AuroHelpText extends i {
|
|
|
3345
3345
|
}
|
|
3346
3346
|
}
|
|
3347
3347
|
|
|
3348
|
-
var formkitVersion = '
|
|
3348
|
+
var formkitVersion = '202602112105';
|
|
3349
3349
|
|
|
3350
3350
|
class AuroElement extends i {
|
|
3351
3351
|
static get properties() {
|
|
@@ -3632,6 +3632,20 @@ class AuroDropdown extends AuroElement {
|
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
|
|
3635
|
+
/**
|
|
3636
|
+
* Sets the active descendant element for accessibility.
|
|
3637
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
3638
|
+
* This function is used in components that contain `auro-dropdown` to set the active descendant.
|
|
3639
|
+
* @private
|
|
3640
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
3641
|
+
* @returns {void}
|
|
3642
|
+
*/
|
|
3643
|
+
setActiveDescendant(element) {
|
|
3644
|
+
if (this.trigger) {
|
|
3645
|
+
this.trigger.ariaActiveDescendantElement = element;
|
|
3646
|
+
}
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3635
3649
|
// function to define props used within the scope of this component
|
|
3636
3650
|
static get properties() {
|
|
3637
3651
|
return {
|
|
@@ -4275,7 +4289,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4275
4289
|
tabindex="${o(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
4276
4290
|
role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
4277
4291
|
aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
4278
|
-
aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
4292
|
+
aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : `${this.dropdownId}-floater-bib`)}"
|
|
4279
4293
|
aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
4280
4294
|
@focusin="${this.handleFocusin}"
|
|
4281
4295
|
@blur="${this.handleFocusOut}">
|
|
@@ -341,6 +341,15 @@ export class AuroDropdown extends AuroElement {
|
|
|
341
341
|
* If not, trigger element will get focus.
|
|
342
342
|
*/
|
|
343
343
|
focus(): void;
|
|
344
|
+
/**
|
|
345
|
+
* Sets the active descendant element for accessibility.
|
|
346
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
347
|
+
* This function is used in components that contain `auro-dropdown` to set the active descendant.
|
|
348
|
+
* @private
|
|
349
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
350
|
+
* @returns {void}
|
|
351
|
+
*/
|
|
352
|
+
private setActiveDescendant;
|
|
344
353
|
/**
|
|
345
354
|
* Accessor for reusing the focusable entity query string.
|
|
346
355
|
* @private
|
|
@@ -3254,7 +3254,7 @@ class AuroHelpText extends LitElement {
|
|
|
3254
3254
|
}
|
|
3255
3255
|
}
|
|
3256
3256
|
|
|
3257
|
-
var formkitVersion = '
|
|
3257
|
+
var formkitVersion = '202602112105';
|
|
3258
3258
|
|
|
3259
3259
|
class AuroElement extends LitElement {
|
|
3260
3260
|
static get properties() {
|
|
@@ -3541,6 +3541,20 @@ class AuroDropdown extends AuroElement {
|
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
|
|
3544
|
+
/**
|
|
3545
|
+
* Sets the active descendant element for accessibility.
|
|
3546
|
+
* Uses ariaActiveDescendantElement to cross shadow DOM boundaries.
|
|
3547
|
+
* This function is used in components that contain `auro-dropdown` to set the active descendant.
|
|
3548
|
+
* @private
|
|
3549
|
+
* @param {HTMLElement|null} element - The element to set as the active descendant, or null to clear.
|
|
3550
|
+
* @returns {void}
|
|
3551
|
+
*/
|
|
3552
|
+
setActiveDescendant(element) {
|
|
3553
|
+
if (this.trigger) {
|
|
3554
|
+
this.trigger.ariaActiveDescendantElement = element;
|
|
3555
|
+
}
|
|
3556
|
+
}
|
|
3557
|
+
|
|
3544
3558
|
// function to define props used within the scope of this component
|
|
3545
3559
|
static get properties() {
|
|
3546
3560
|
return {
|
|
@@ -4184,7 +4198,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4184
4198
|
tabindex="${ifDefined(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
4185
4199
|
role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
4186
4200
|
aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
4187
|
-
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
4201
|
+
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : `${this.dropdownId}-floater-bib`)}"
|
|
4188
4202
|
aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
4189
4203
|
@focusin="${this.handleFocusin}"
|
|
4190
4204
|
@blur="${this.handleFocusOut}">
|