@aurodesignsystem-dev/auro-formkit 0.0.0-pr1545.0 → 0.0.0-pr1546.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 +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +276 -33
- package/components/combobox/demo/getting-started.min.js +276 -33
- package/components/combobox/demo/index.min.js +276 -33
- package/components/combobox/demo/keyboard-behavior.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +1 -0
- package/components/combobox/dist/index.js +276 -33
- package/components/combobox/dist/registered.js +276 -33
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +340 -97
- package/components/form/demo/getting-started.min.js +340 -97
- package/components/form/demo/index.min.js +340 -97
- package/components/form/demo/registerDemoDeps.min.js +340 -97
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +1507 -1507
- package/package.json +1 -1
|
@@ -12338,7 +12338,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12338
12338
|
}
|
|
12339
12339
|
};
|
|
12340
12340
|
|
|
12341
|
-
var formkitVersion$8 = '
|
|
12341
|
+
var formkitVersion$8 = '202607090129';
|
|
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.
|
|
@@ -26735,7 +26735,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
26735
26735
|
}
|
|
26736
26736
|
};
|
|
26737
26737
|
|
|
26738
|
-
var formkitVersion$2$1 = '
|
|
26738
|
+
var formkitVersion$2$1 = '202607090129';
|
|
26739
26739
|
|
|
26740
26740
|
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}
|
|
26741
26741
|
`,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}}
|
|
@@ -31506,7 +31506,7 @@ let AuroFloatingUI$3 = class AuroFloatingUI {
|
|
|
31506
31506
|
};
|
|
31507
31507
|
|
|
31508
31508
|
// Selectors for focusable elements
|
|
31509
|
-
const FOCUSABLE_SELECTORS$
|
|
31509
|
+
const FOCUSABLE_SELECTORS$4 = [
|
|
31510
31510
|
"a[href]",
|
|
31511
31511
|
"button:not([disabled])",
|
|
31512
31512
|
"textarea:not([disabled])",
|
|
@@ -31520,7 +31520,7 @@ const FOCUSABLE_SELECTORS$3 = [
|
|
|
31520
31520
|
];
|
|
31521
31521
|
|
|
31522
31522
|
// List of custom components that are known to be focusable
|
|
31523
|
-
const FOCUSABLE_COMPONENTS$
|
|
31523
|
+
const FOCUSABLE_COMPONENTS$4 = [
|
|
31524
31524
|
"auro-checkbox",
|
|
31525
31525
|
"auro-radio",
|
|
31526
31526
|
"auro-dropdown",
|
|
@@ -31542,12 +31542,12 @@ const FOCUSABLE_COMPONENTS$3 = [
|
|
|
31542
31542
|
* @param {HTMLElement} element The element to check for focusability.
|
|
31543
31543
|
* @returns {boolean} True if the element is a focusable custom component, false otherwise.
|
|
31544
31544
|
*/
|
|
31545
|
-
function isFocusableComponent$
|
|
31545
|
+
function isFocusableComponent$4(element) {
|
|
31546
31546
|
const componentName = element.tagName.toLowerCase();
|
|
31547
31547
|
|
|
31548
31548
|
// Guard Clause: Element is a focusable component
|
|
31549
31549
|
if (
|
|
31550
|
-
!FOCUSABLE_COMPONENTS$
|
|
31550
|
+
!FOCUSABLE_COMPONENTS$4.some(
|
|
31551
31551
|
(name) => element.hasAttribute(name) || componentName === name,
|
|
31552
31552
|
)
|
|
31553
31553
|
)
|
|
@@ -31571,7 +31571,7 @@ function isFocusableComponent$3(element) {
|
|
|
31571
31571
|
* @param {HTMLElement} element The element whose tabindex to read.
|
|
31572
31572
|
* @returns {?number} The numeric tabindex or null if missing/invalid.
|
|
31573
31573
|
*/
|
|
31574
|
-
function getNumericTabIndex$
|
|
31574
|
+
function getNumericTabIndex$4(element) {
|
|
31575
31575
|
const raw = element.getAttribute("tabindex");
|
|
31576
31576
|
if (raw == null) return null;
|
|
31577
31577
|
|
|
@@ -31587,7 +31587,7 @@ function getNumericTabIndex$3(element) {
|
|
|
31587
31587
|
* @param {HTMLElement} container The container to search within
|
|
31588
31588
|
* @returns {Array<HTMLElement>} An array of focusable elements within the container.
|
|
31589
31589
|
*/
|
|
31590
|
-
function getFocusableElements$
|
|
31590
|
+
function getFocusableElements$4(container) {
|
|
31591
31591
|
// Get elements in DOM order by walking the tree
|
|
31592
31592
|
const orderedFocusableElements = [];
|
|
31593
31593
|
|
|
@@ -31596,7 +31596,7 @@ function getFocusableElements$3(container) {
|
|
|
31596
31596
|
// Check if current element is focusable
|
|
31597
31597
|
if (root.nodeType === Node.ELEMENT_NODE) {
|
|
31598
31598
|
// Check if this is a custom component that is focusable
|
|
31599
|
-
const isComponentFocusable = isFocusableComponent$
|
|
31599
|
+
const isComponentFocusable = isFocusableComponent$4(root);
|
|
31600
31600
|
|
|
31601
31601
|
if (isComponentFocusable) {
|
|
31602
31602
|
// Add the component itself as a focusable element and don't traverse its shadow DOM
|
|
@@ -31605,7 +31605,7 @@ function getFocusableElements$3(container) {
|
|
|
31605
31605
|
}
|
|
31606
31606
|
|
|
31607
31607
|
// Check if the element itself matches any selector
|
|
31608
|
-
for (const selector of FOCUSABLE_SELECTORS$
|
|
31608
|
+
for (const selector of FOCUSABLE_SELECTORS$4) {
|
|
31609
31609
|
if (root.matches?.(selector)) {
|
|
31610
31610
|
orderedFocusableElements.push(root);
|
|
31611
31611
|
break; // Once we know it's focusable, no need to check other selectors
|
|
@@ -31659,20 +31659,20 @@ function getFocusableElements$3(container) {
|
|
|
31659
31659
|
|
|
31660
31660
|
// First extract elements with valid positive tabindex
|
|
31661
31661
|
const elementsWithTabindex = uniqueElements.filter((el) => {
|
|
31662
|
-
const tabindex = getNumericTabIndex$
|
|
31662
|
+
const tabindex = getNumericTabIndex$4(el);
|
|
31663
31663
|
return tabindex !== null && tabindex > 0;
|
|
31664
31664
|
});
|
|
31665
31665
|
|
|
31666
31666
|
// Sort these elements by their tabindex value
|
|
31667
31667
|
elementsWithTabindex.sort((a, b) => {
|
|
31668
|
-
const aIndex = getNumericTabIndex$
|
|
31669
|
-
const bIndex = getNumericTabIndex$
|
|
31668
|
+
const aIndex = getNumericTabIndex$4(a) ?? 0;
|
|
31669
|
+
const bIndex = getNumericTabIndex$4(b) ?? 0;
|
|
31670
31670
|
return aIndex - bIndex;
|
|
31671
31671
|
});
|
|
31672
31672
|
|
|
31673
31673
|
// Elements without tabindex (preserving their original order)
|
|
31674
31674
|
const elementsWithoutTabindex = uniqueElements.filter((el) => {
|
|
31675
|
-
const tabindex = getNumericTabIndex$
|
|
31675
|
+
const tabindex = getNumericTabIndex$4(el);
|
|
31676
31676
|
|
|
31677
31677
|
// Elements without tabindex or with tabindex of 0 stay in DOM order
|
|
31678
31678
|
return tabindex === null || tabindex === 0;
|
|
@@ -31843,7 +31843,7 @@ let FocusTrap$3 = class FocusTrap {
|
|
|
31843
31843
|
*/
|
|
31844
31844
|
_getFocusableElements() {
|
|
31845
31845
|
// Use the imported utility function to get focusable elements
|
|
31846
|
-
const elements = getFocusableElements$
|
|
31846
|
+
const elements = getFocusableElements$4(this.container);
|
|
31847
31847
|
|
|
31848
31848
|
// Return the elements found
|
|
31849
31849
|
return elements;
|
|
@@ -32628,7 +32628,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
32628
32628
|
}
|
|
32629
32629
|
};
|
|
32630
32630
|
|
|
32631
|
-
var formkitVersion$1$3 = '
|
|
32631
|
+
var formkitVersion$1$3 = '202607090129';
|
|
32632
32632
|
|
|
32633
32633
|
let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
32634
32634
|
static get properties() {
|
|
@@ -32919,7 +32919,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
32919
32919
|
*/
|
|
32920
32920
|
focus() {
|
|
32921
32921
|
if (this.isPopoverVisible && this.bibContent) {
|
|
32922
|
-
const focusables = getFocusableElements$
|
|
32922
|
+
const focusables = getFocusableElements$4(this.bibContent);
|
|
32923
32923
|
if (focusables.length > 0) {
|
|
32924
32924
|
focusables[0].focus();
|
|
32925
32925
|
}
|
|
@@ -33537,7 +33537,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33537
33537
|
}
|
|
33538
33538
|
|
|
33539
33539
|
// Collect focusable elements from the bib content.
|
|
33540
|
-
const focusables = getFocusableElements$
|
|
33540
|
+
const focusables = getFocusableElements$4(this.bibContent);
|
|
33541
33541
|
|
|
33542
33542
|
// Fallback: try from slotted content directly
|
|
33543
33543
|
if (!focusables.length) {
|
|
@@ -33546,7 +33546,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33546
33546
|
|
|
33547
33547
|
for (const node of assignedNodes) {
|
|
33548
33548
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
33549
|
-
focusables.push(...getFocusableElements$
|
|
33549
|
+
focusables.push(...getFocusableElements$4(node));
|
|
33550
33550
|
}
|
|
33551
33551
|
}
|
|
33552
33552
|
}
|
|
@@ -33606,7 +33606,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33606
33606
|
|
|
33607
33607
|
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
33608
33608
|
requestAnimationFrame(() => {
|
|
33609
|
-
const focusables = getFocusableElements$
|
|
33609
|
+
const focusables = getFocusableElements$4(this.bibContent);
|
|
33610
33610
|
if (focusables.length) {
|
|
33611
33611
|
focusables[0].focus();
|
|
33612
33612
|
}
|
|
@@ -33836,7 +33836,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33836
33836
|
if (triggerContentNodes) {
|
|
33837
33837
|
|
|
33838
33838
|
// See if any of them are focusable elements
|
|
33839
|
-
this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements$
|
|
33839
|
+
this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements$4(node).length > 0);
|
|
33840
33840
|
|
|
33841
33841
|
// If any of them are focusable elements
|
|
33842
33842
|
if (this.triggerContentFocusable) {
|
|
@@ -46246,7 +46246,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
46246
46246
|
}
|
|
46247
46247
|
};
|
|
46248
46248
|
|
|
46249
|
-
var formkitVersion$7 = '
|
|
46249
|
+
var formkitVersion$7 = '202607090129';
|
|
46250
46250
|
|
|
46251
46251
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
46252
46252
|
// See LICENSE in the project root for license information.
|
|
@@ -51162,7 +51162,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
51162
51162
|
}
|
|
51163
51163
|
};
|
|
51164
51164
|
|
|
51165
|
-
var formkitVersion$1$2 = '
|
|
51165
|
+
var formkitVersion$1$2 = '202607090129';
|
|
51166
51166
|
|
|
51167
51167
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
51168
51168
|
// See LICENSE in the project root for license information.
|
|
@@ -54368,7 +54368,7 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
54368
54368
|
};
|
|
54369
54369
|
|
|
54370
54370
|
// Selectors for focusable elements
|
|
54371
|
-
const FOCUSABLE_SELECTORS$
|
|
54371
|
+
const FOCUSABLE_SELECTORS$3 = [
|
|
54372
54372
|
"a[href]",
|
|
54373
54373
|
"button:not([disabled])",
|
|
54374
54374
|
"textarea:not([disabled])",
|
|
@@ -54382,7 +54382,7 @@ const FOCUSABLE_SELECTORS$2 = [
|
|
|
54382
54382
|
];
|
|
54383
54383
|
|
|
54384
54384
|
// List of custom components that are known to be focusable
|
|
54385
|
-
const FOCUSABLE_COMPONENTS$
|
|
54385
|
+
const FOCUSABLE_COMPONENTS$3 = [
|
|
54386
54386
|
"auro-checkbox",
|
|
54387
54387
|
"auro-radio",
|
|
54388
54388
|
"auro-dropdown",
|
|
@@ -54404,12 +54404,12 @@ const FOCUSABLE_COMPONENTS$2 = [
|
|
|
54404
54404
|
* @param {HTMLElement} element The element to check for focusability.
|
|
54405
54405
|
* @returns {boolean} True if the element is a focusable custom component, false otherwise.
|
|
54406
54406
|
*/
|
|
54407
|
-
function isFocusableComponent$
|
|
54407
|
+
function isFocusableComponent$3(element) {
|
|
54408
54408
|
const componentName = element.tagName.toLowerCase();
|
|
54409
54409
|
|
|
54410
54410
|
// Guard Clause: Element is a focusable component
|
|
54411
54411
|
if (
|
|
54412
|
-
!FOCUSABLE_COMPONENTS$
|
|
54412
|
+
!FOCUSABLE_COMPONENTS$3.some(
|
|
54413
54413
|
(name) => element.hasAttribute(name) || componentName === name,
|
|
54414
54414
|
)
|
|
54415
54415
|
)
|
|
@@ -54433,7 +54433,7 @@ function isFocusableComponent$2(element) {
|
|
|
54433
54433
|
* @param {HTMLElement} element The element whose tabindex to read.
|
|
54434
54434
|
* @returns {?number} The numeric tabindex or null if missing/invalid.
|
|
54435
54435
|
*/
|
|
54436
|
-
function getNumericTabIndex$
|
|
54436
|
+
function getNumericTabIndex$3(element) {
|
|
54437
54437
|
const raw = element.getAttribute("tabindex");
|
|
54438
54438
|
if (raw == null) return null;
|
|
54439
54439
|
|
|
@@ -54449,7 +54449,7 @@ function getNumericTabIndex$2(element) {
|
|
|
54449
54449
|
* @param {HTMLElement} container The container to search within
|
|
54450
54450
|
* @returns {Array<HTMLElement>} An array of focusable elements within the container.
|
|
54451
54451
|
*/
|
|
54452
|
-
function getFocusableElements$
|
|
54452
|
+
function getFocusableElements$3(container) {
|
|
54453
54453
|
// Get elements in DOM order by walking the tree
|
|
54454
54454
|
const orderedFocusableElements = [];
|
|
54455
54455
|
|
|
@@ -54458,7 +54458,7 @@ function getFocusableElements$2(container) {
|
|
|
54458
54458
|
// Check if current element is focusable
|
|
54459
54459
|
if (root.nodeType === Node.ELEMENT_NODE) {
|
|
54460
54460
|
// Check if this is a custom component that is focusable
|
|
54461
|
-
const isComponentFocusable = isFocusableComponent$
|
|
54461
|
+
const isComponentFocusable = isFocusableComponent$3(root);
|
|
54462
54462
|
|
|
54463
54463
|
if (isComponentFocusable) {
|
|
54464
54464
|
// Add the component itself as a focusable element and don't traverse its shadow DOM
|
|
@@ -54467,7 +54467,7 @@ function getFocusableElements$2(container) {
|
|
|
54467
54467
|
}
|
|
54468
54468
|
|
|
54469
54469
|
// Check if the element itself matches any selector
|
|
54470
|
-
for (const selector of FOCUSABLE_SELECTORS$
|
|
54470
|
+
for (const selector of FOCUSABLE_SELECTORS$3) {
|
|
54471
54471
|
if (root.matches?.(selector)) {
|
|
54472
54472
|
orderedFocusableElements.push(root);
|
|
54473
54473
|
break; // Once we know it's focusable, no need to check other selectors
|
|
@@ -54521,20 +54521,20 @@ function getFocusableElements$2(container) {
|
|
|
54521
54521
|
|
|
54522
54522
|
// First extract elements with valid positive tabindex
|
|
54523
54523
|
const elementsWithTabindex = uniqueElements.filter((el) => {
|
|
54524
|
-
const tabindex = getNumericTabIndex$
|
|
54524
|
+
const tabindex = getNumericTabIndex$3(el);
|
|
54525
54525
|
return tabindex !== null && tabindex > 0;
|
|
54526
54526
|
});
|
|
54527
54527
|
|
|
54528
54528
|
// Sort these elements by their tabindex value
|
|
54529
54529
|
elementsWithTabindex.sort((a, b) => {
|
|
54530
|
-
const aIndex = getNumericTabIndex$
|
|
54531
|
-
const bIndex = getNumericTabIndex$
|
|
54530
|
+
const aIndex = getNumericTabIndex$3(a) ?? 0;
|
|
54531
|
+
const bIndex = getNumericTabIndex$3(b) ?? 0;
|
|
54532
54532
|
return aIndex - bIndex;
|
|
54533
54533
|
});
|
|
54534
54534
|
|
|
54535
54535
|
// Elements without tabindex (preserving their original order)
|
|
54536
54536
|
const elementsWithoutTabindex = uniqueElements.filter((el) => {
|
|
54537
|
-
const tabindex = getNumericTabIndex$
|
|
54537
|
+
const tabindex = getNumericTabIndex$3(el);
|
|
54538
54538
|
|
|
54539
54539
|
// Elements without tabindex or with tabindex of 0 stay in DOM order
|
|
54540
54540
|
return tabindex === null || tabindex === 0;
|
|
@@ -54705,7 +54705,7 @@ let FocusTrap$2 = class FocusTrap {
|
|
|
54705
54705
|
*/
|
|
54706
54706
|
_getFocusableElements() {
|
|
54707
54707
|
// Use the imported utility function to get focusable elements
|
|
54708
|
-
const elements = getFocusableElements$
|
|
54708
|
+
const elements = getFocusableElements$3(this.container);
|
|
54709
54709
|
|
|
54710
54710
|
// Return the elements found
|
|
54711
54711
|
return elements;
|
|
@@ -55490,7 +55490,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
55490
55490
|
}
|
|
55491
55491
|
};
|
|
55492
55492
|
|
|
55493
|
-
var formkitVersion$6 = '
|
|
55493
|
+
var formkitVersion$6 = '202607090129';
|
|
55494
55494
|
|
|
55495
55495
|
let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
55496
55496
|
static get properties() {
|
|
@@ -55781,7 +55781,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
55781
55781
|
*/
|
|
55782
55782
|
focus() {
|
|
55783
55783
|
if (this.isPopoverVisible && this.bibContent) {
|
|
55784
|
-
const focusables = getFocusableElements$
|
|
55784
|
+
const focusables = getFocusableElements$3(this.bibContent);
|
|
55785
55785
|
if (focusables.length > 0) {
|
|
55786
55786
|
focusables[0].focus();
|
|
55787
55787
|
}
|
|
@@ -56399,7 +56399,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56399
56399
|
}
|
|
56400
56400
|
|
|
56401
56401
|
// Collect focusable elements from the bib content.
|
|
56402
|
-
const focusables = getFocusableElements$
|
|
56402
|
+
const focusables = getFocusableElements$3(this.bibContent);
|
|
56403
56403
|
|
|
56404
56404
|
// Fallback: try from slotted content directly
|
|
56405
56405
|
if (!focusables.length) {
|
|
@@ -56408,7 +56408,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56408
56408
|
|
|
56409
56409
|
for (const node of assignedNodes) {
|
|
56410
56410
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
56411
|
-
focusables.push(...getFocusableElements$
|
|
56411
|
+
focusables.push(...getFocusableElements$3(node));
|
|
56412
56412
|
}
|
|
56413
56413
|
}
|
|
56414
56414
|
}
|
|
@@ -56468,7 +56468,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56468
56468
|
|
|
56469
56469
|
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
56470
56470
|
requestAnimationFrame(() => {
|
|
56471
|
-
const focusables = getFocusableElements$
|
|
56471
|
+
const focusables = getFocusableElements$3(this.bibContent);
|
|
56472
56472
|
if (focusables.length) {
|
|
56473
56473
|
focusables[0].focus();
|
|
56474
56474
|
}
|
|
@@ -56698,7 +56698,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56698
56698
|
if (triggerContentNodes) {
|
|
56699
56699
|
|
|
56700
56700
|
// See if any of them are focusable elements
|
|
56701
|
-
this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements$
|
|
56701
|
+
this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements$3(node).length > 0);
|
|
56702
56702
|
|
|
56703
56703
|
// If any of them are focusable elements
|
|
56704
56704
|
if (this.triggerContentFocusable) {
|
|
@@ -59470,7 +59470,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
59470
59470
|
}
|
|
59471
59471
|
};
|
|
59472
59472
|
|
|
59473
|
-
var formkitVersion$5 = '
|
|
59473
|
+
var formkitVersion$5 = '202607090129';
|
|
59474
59474
|
|
|
59475
59475
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
59476
59476
|
// See LICENSE in the project root for license information.
|
|
@@ -61235,7 +61235,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
61235
61235
|
}
|
|
61236
61236
|
};
|
|
61237
61237
|
|
|
61238
|
-
var formkitVersion$4 = '
|
|
61238
|
+
var formkitVersion$4 = '202607090129';
|
|
61239
61239
|
|
|
61240
61240
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
61241
61241
|
// See LICENSE in the project root for license information.
|
|
@@ -62426,6 +62426,188 @@ function navigateArrow$1(component, direction, options = {}) {
|
|
|
62426
62426
|
}
|
|
62427
62427
|
}
|
|
62428
62428
|
|
|
62429
|
+
// Selectors for focusable elements
|
|
62430
|
+
const FOCUSABLE_SELECTORS$1 = [
|
|
62431
|
+
"a[href]",
|
|
62432
|
+
"button:not([disabled])",
|
|
62433
|
+
"textarea:not([disabled])",
|
|
62434
|
+
"input:not([disabled])",
|
|
62435
|
+
"select:not([disabled])",
|
|
62436
|
+
'[role="tab"]:not([disabled])',
|
|
62437
|
+
'[role="link"]:not([disabled])',
|
|
62438
|
+
'[role="button"]:not([disabled])',
|
|
62439
|
+
'[tabindex]:not([tabindex="-1"])',
|
|
62440
|
+
'[contenteditable]:not([contenteditable="false"])',
|
|
62441
|
+
];
|
|
62442
|
+
|
|
62443
|
+
// List of custom components that are known to be focusable
|
|
62444
|
+
const FOCUSABLE_COMPONENTS$1 = [
|
|
62445
|
+
"auro-checkbox",
|
|
62446
|
+
"auro-radio",
|
|
62447
|
+
"auro-dropdown",
|
|
62448
|
+
"auro-button",
|
|
62449
|
+
"auro-combobox",
|
|
62450
|
+
"auro-input",
|
|
62451
|
+
"auro-counter",
|
|
62452
|
+
// 'auro-menu', // Auro menu is not focusable by default, it uses a different interaction model
|
|
62453
|
+
"auro-select",
|
|
62454
|
+
"auro-datepicker",
|
|
62455
|
+
"auro-hyperlink",
|
|
62456
|
+
"auro-accordion",
|
|
62457
|
+
];
|
|
62458
|
+
|
|
62459
|
+
/**
|
|
62460
|
+
* Determines if a given element is a custom focusable component.
|
|
62461
|
+
* Returns true if the element matches a known focusable component and is not disabled.
|
|
62462
|
+
*
|
|
62463
|
+
* @param {HTMLElement} element The element to check for focusability.
|
|
62464
|
+
* @returns {boolean} True if the element is a focusable custom component, false otherwise.
|
|
62465
|
+
*/
|
|
62466
|
+
function isFocusableComponent$1(element) {
|
|
62467
|
+
const componentName = element.tagName.toLowerCase();
|
|
62468
|
+
|
|
62469
|
+
// Guard Clause: Element is a focusable component
|
|
62470
|
+
if (
|
|
62471
|
+
!FOCUSABLE_COMPONENTS$1.some(
|
|
62472
|
+
(name) => element.hasAttribute(name) || componentName === name,
|
|
62473
|
+
)
|
|
62474
|
+
)
|
|
62475
|
+
return false;
|
|
62476
|
+
|
|
62477
|
+
// Guard Clause: Element is not disabled
|
|
62478
|
+
if (element.hasAttribute("disabled")) return false;
|
|
62479
|
+
|
|
62480
|
+
// Guard Clause: The element is a hyperlink and has no href attribute
|
|
62481
|
+
if (componentName.match("hyperlink") && !element.hasAttribute("href"))
|
|
62482
|
+
return false;
|
|
62483
|
+
|
|
62484
|
+
// If all guard clauses pass, the element is a focusable component
|
|
62485
|
+
return true;
|
|
62486
|
+
}
|
|
62487
|
+
|
|
62488
|
+
/**
|
|
62489
|
+
* Safely get a numeric tabindex for an element.
|
|
62490
|
+
* Returns a number if the tabindex is a valid integer, otherwise null.
|
|
62491
|
+
*
|
|
62492
|
+
* @param {HTMLElement} element The element whose tabindex to read.
|
|
62493
|
+
* @returns {?number} The numeric tabindex or null if missing/invalid.
|
|
62494
|
+
*/
|
|
62495
|
+
function getNumericTabIndex$1(element) {
|
|
62496
|
+
const raw = element.getAttribute("tabindex");
|
|
62497
|
+
if (raw == null) return null;
|
|
62498
|
+
|
|
62499
|
+
const value = Number.parseInt(raw, 10);
|
|
62500
|
+
return Number.isNaN(value) ? null : value;
|
|
62501
|
+
}
|
|
62502
|
+
|
|
62503
|
+
/**
|
|
62504
|
+
* Retrieves all focusable elements within the container in DOM order, including those in shadow DOM and slots.
|
|
62505
|
+
* Returns a unique, ordered array of elements that can receive focus.
|
|
62506
|
+
* Also sorts elements with tabindex first, preserving their order.
|
|
62507
|
+
*
|
|
62508
|
+
* @param {HTMLElement} container The container to search within
|
|
62509
|
+
* @returns {Array<HTMLElement>} An array of focusable elements within the container.
|
|
62510
|
+
*/
|
|
62511
|
+
function getFocusableElements$1(container) {
|
|
62512
|
+
// Get elements in DOM order by walking the tree
|
|
62513
|
+
const orderedFocusableElements = [];
|
|
62514
|
+
|
|
62515
|
+
// Define a recursive function to collect focusable elements in DOM order
|
|
62516
|
+
const collectFocusableElements = (root) => {
|
|
62517
|
+
// Check if current element is focusable
|
|
62518
|
+
if (root.nodeType === Node.ELEMENT_NODE) {
|
|
62519
|
+
// Check if this is a custom component that is focusable
|
|
62520
|
+
const isComponentFocusable = isFocusableComponent$1(root);
|
|
62521
|
+
|
|
62522
|
+
if (isComponentFocusable) {
|
|
62523
|
+
// Add the component itself as a focusable element and don't traverse its shadow DOM
|
|
62524
|
+
orderedFocusableElements.push(root);
|
|
62525
|
+
return; // Skip traversing inside this component
|
|
62526
|
+
}
|
|
62527
|
+
|
|
62528
|
+
// Check if the element itself matches any selector
|
|
62529
|
+
for (const selector of FOCUSABLE_SELECTORS$1) {
|
|
62530
|
+
if (root.matches?.(selector)) {
|
|
62531
|
+
orderedFocusableElements.push(root);
|
|
62532
|
+
break; // Once we know it's focusable, no need to check other selectors
|
|
62533
|
+
}
|
|
62534
|
+
}
|
|
62535
|
+
|
|
62536
|
+
// Process shadow DOM only for non-Auro components
|
|
62537
|
+
if (root.shadowRoot) {
|
|
62538
|
+
// Process shadow DOM children in order
|
|
62539
|
+
if (root.shadowRoot.children) {
|
|
62540
|
+
Array.from(root.shadowRoot.children).forEach((child) => {
|
|
62541
|
+
collectFocusableElements(child);
|
|
62542
|
+
});
|
|
62543
|
+
}
|
|
62544
|
+
}
|
|
62545
|
+
|
|
62546
|
+
// Process slots and their assigned nodes in order
|
|
62547
|
+
if (root.tagName === "SLOT") {
|
|
62548
|
+
const assignedNodes = root.assignedNodes({ flatten: true });
|
|
62549
|
+
for (const node of assignedNodes) {
|
|
62550
|
+
collectFocusableElements(node);
|
|
62551
|
+
}
|
|
62552
|
+
} else {
|
|
62553
|
+
// Process light DOM children in order
|
|
62554
|
+
if (root.children) {
|
|
62555
|
+
Array.from(root.children).forEach((child) => {
|
|
62556
|
+
collectFocusableElements(child);
|
|
62557
|
+
});
|
|
62558
|
+
}
|
|
62559
|
+
}
|
|
62560
|
+
}
|
|
62561
|
+
};
|
|
62562
|
+
|
|
62563
|
+
// Start the traversal from the container
|
|
62564
|
+
collectFocusableElements(container);
|
|
62565
|
+
|
|
62566
|
+
// Remove duplicates that might have been collected through different paths
|
|
62567
|
+
// while preserving order
|
|
62568
|
+
const uniqueElements = [];
|
|
62569
|
+
const seen = new Set();
|
|
62570
|
+
|
|
62571
|
+
for (const element of orderedFocusableElements) {
|
|
62572
|
+
if (!seen.has(element)) {
|
|
62573
|
+
seen.add(element);
|
|
62574
|
+
uniqueElements.push(element);
|
|
62575
|
+
}
|
|
62576
|
+
}
|
|
62577
|
+
|
|
62578
|
+
// Move tab-indexed elements to the front while preserving their order
|
|
62579
|
+
// This ensures that elements with tabindex are prioritized in the focus order
|
|
62580
|
+
|
|
62581
|
+
// First extract elements with valid positive tabindex
|
|
62582
|
+
const elementsWithTabindex = uniqueElements.filter((el) => {
|
|
62583
|
+
const tabindex = getNumericTabIndex$1(el);
|
|
62584
|
+
return tabindex !== null && tabindex > 0;
|
|
62585
|
+
});
|
|
62586
|
+
|
|
62587
|
+
// Sort these elements by their tabindex value
|
|
62588
|
+
elementsWithTabindex.sort((a, b) => {
|
|
62589
|
+
const aIndex = getNumericTabIndex$1(a) ?? 0;
|
|
62590
|
+
const bIndex = getNumericTabIndex$1(b) ?? 0;
|
|
62591
|
+
return aIndex - bIndex;
|
|
62592
|
+
});
|
|
62593
|
+
|
|
62594
|
+
// Elements without tabindex (preserving their original order)
|
|
62595
|
+
const elementsWithoutTabindex = uniqueElements.filter((el) => {
|
|
62596
|
+
const tabindex = getNumericTabIndex$1(el);
|
|
62597
|
+
|
|
62598
|
+
// Elements without tabindex or with tabindex of 0 stay in DOM order
|
|
62599
|
+
return tabindex === null || tabindex === 0;
|
|
62600
|
+
});
|
|
62601
|
+
|
|
62602
|
+
// Combine both arrays with tabindex elements first
|
|
62603
|
+
const tabIndexedUniqueElements = [
|
|
62604
|
+
...elementsWithTabindex,
|
|
62605
|
+
...elementsWithoutTabindex,
|
|
62606
|
+
];
|
|
62607
|
+
|
|
62608
|
+
return tabIndexedUniqueElements;
|
|
62609
|
+
}
|
|
62610
|
+
|
|
62429
62611
|
/* eslint-disable no-underscore-dangle */
|
|
62430
62612
|
|
|
62431
62613
|
/**
|
|
@@ -62471,6 +62653,82 @@ function reconcileMenuIndex(menu) {
|
|
|
62471
62653
|
}
|
|
62472
62654
|
}
|
|
62473
62655
|
|
|
62656
|
+
/**
|
|
62657
|
+
* Commit the highlighted option and close the bib.
|
|
62658
|
+
* @param {Element} component - The auro-combobox host element.
|
|
62659
|
+
*/
|
|
62660
|
+
function selectAndClose(component) {
|
|
62661
|
+
reconcileMenuIndex(component.menu);
|
|
62662
|
+
component.menu.makeSelection();
|
|
62663
|
+
component.hideBib();
|
|
62664
|
+
}
|
|
62665
|
+
|
|
62666
|
+
/**
|
|
62667
|
+
* Whether `el` is currently visible enough to receive focus. Prefers the
|
|
62668
|
+
* browser's `checkVisibility()` (Chrome/Safari; Firefox behind a flag until
|
|
62669
|
+
* recently); otherwise combines a display/visibility check with an
|
|
62670
|
+
* ancestor-hidden probe that keeps position:fixed elements visible.
|
|
62671
|
+
* @param {Element} el - The element to test.
|
|
62672
|
+
* @returns {boolean}
|
|
62673
|
+
*/
|
|
62674
|
+
function isVisibleForFocus(el) {
|
|
62675
|
+
if (typeof el.checkVisibility === 'function') {
|
|
62676
|
+
return el.checkVisibility();
|
|
62677
|
+
}
|
|
62678
|
+
const style = el.ownerDocument.defaultView.getComputedStyle(el);
|
|
62679
|
+
if (style.display === 'none' || style.visibility === 'hidden') {
|
|
62680
|
+
return false;
|
|
62681
|
+
}
|
|
62682
|
+
return el.offsetParent !== null || style.position === 'fixed';
|
|
62683
|
+
}
|
|
62684
|
+
|
|
62685
|
+
/**
|
|
62686
|
+
* Return the tab stop that comes before `component` in page tab order,
|
|
62687
|
+
* skipping any hidden entries the walker doesn't filter itself.
|
|
62688
|
+
* @param {Element} component - The auro-combobox host element.
|
|
62689
|
+
* @returns {Element|null}
|
|
62690
|
+
*/
|
|
62691
|
+
function getPreviousTabStop(component) {
|
|
62692
|
+
const tabStops = getFocusableElements$1(component.ownerDocument.body);
|
|
62693
|
+
const componentIndex = tabStops.indexOf(component);
|
|
62694
|
+
for (let index = componentIndex - 1; index >= 0; index -= 1) {
|
|
62695
|
+
if (isVisibleForFocus(tabStops[index])) {
|
|
62696
|
+
return tabStops[index];
|
|
62697
|
+
}
|
|
62698
|
+
}
|
|
62699
|
+
return null;
|
|
62700
|
+
}
|
|
62701
|
+
|
|
62702
|
+
/**
|
|
62703
|
+
* Commit the highlighted option, close the bib, and move focus to the tab
|
|
62704
|
+
* stop before the combobox — the Shift+Tab exit path (AB#1592239).
|
|
62705
|
+
* Returns true when this function moved focus and the caller should
|
|
62706
|
+
* preventDefault; false when no previous tab stop was found and the browser's
|
|
62707
|
+
* native traversal should run.
|
|
62708
|
+
* @param {Element} component - The auro-combobox host element.
|
|
62709
|
+
* @returns {boolean}
|
|
62710
|
+
*/
|
|
62711
|
+
function selectAndExitBackward(component) {
|
|
62712
|
+
const previousTabStop = getPreviousTabStop(component);
|
|
62713
|
+
|
|
62714
|
+
// Opts this selection out of setClearBtnFocus so the focus move below
|
|
62715
|
+
// isn't clobbered. Consumed by auro-combobox's selection listener; also
|
|
62716
|
+
// cleared via microtask in case makeSelection is a no-op and the listener
|
|
62717
|
+
// never fires (microtasks run before the next user event, so this can't
|
|
62718
|
+
// leak into an unrelated selection).
|
|
62719
|
+
component._suppressClearBtnFocusOnSelection = true;
|
|
62720
|
+
selectAndClose(component);
|
|
62721
|
+
queueMicrotask(() => {
|
|
62722
|
+
component._suppressClearBtnFocusOnSelection = false;
|
|
62723
|
+
});
|
|
62724
|
+
|
|
62725
|
+
if (!previousTabStop) {
|
|
62726
|
+
return false;
|
|
62727
|
+
}
|
|
62728
|
+
doubleRaf$1(() => previousTabStop.focus());
|
|
62729
|
+
return true;
|
|
62730
|
+
}
|
|
62731
|
+
|
|
62474
62732
|
const comboboxKeyboardStrategy = {
|
|
62475
62733
|
ArrowDown(component, evt, ctx) {
|
|
62476
62734
|
// If the clear button has focus, let the browser handle ArrowDown normally.
|
|
@@ -62569,36 +62827,18 @@ const comboboxKeyboardStrategy = {
|
|
|
62569
62827
|
},
|
|
62570
62828
|
|
|
62571
62829
|
Tab(component, evt, ctx) {
|
|
62572
|
-
// Runs for both Tab and Shift+Tab.
|
|
62573
|
-
//
|
|
62574
|
-
// Current behavior:
|
|
62575
|
-
// Tab — select the active option, close the bib, and (in fullscreen
|
|
62576
|
-
// modal mode only) explicitly move focus to the trigger's
|
|
62577
|
-
// clear button. In desktop popover mode the browser's native
|
|
62578
|
-
// tab traversal takes focus forward from the input.
|
|
62579
|
-
// Shift+Tab — select the active option and close the bib. Focus then
|
|
62580
|
-
// lands on the trigger's clear button as a byproduct of the
|
|
62581
|
-
// shadow-DOM tab order, so keyboard users must press
|
|
62582
|
-
// Shift+Tab three times to exit the component (clear button
|
|
62583
|
-
// → input → previous element on the page).
|
|
62584
|
-
//
|
|
62585
|
-
// Intended behavior for Shift+Tab (per team decision, tracked in
|
|
62586
|
-
// AB#1590650): a single Shift+Tab should select the active option, close
|
|
62587
|
-
// the bib, and move focus directly to the previous focusable element on
|
|
62588
|
-
// the page — symmetric with Tab.
|
|
62589
62830
|
if (ctx.isExpanded && !isClearBtnFocused(ctx)) {
|
|
62590
|
-
|
|
62591
|
-
|
|
62592
|
-
|
|
62593
|
-
|
|
62594
|
-
|
|
62595
|
-
|
|
62831
|
+
if (evt.shiftKey) {
|
|
62832
|
+
if (selectAndExitBackward(component)) {
|
|
62833
|
+
evt.preventDefault();
|
|
62834
|
+
}
|
|
62835
|
+
return;
|
|
62836
|
+
}
|
|
62837
|
+
|
|
62838
|
+
selectAndClose(component);
|
|
62596
62839
|
|
|
62597
|
-
|
|
62598
|
-
|
|
62599
|
-
// Explicitly move focus to the trigger's clear button so the
|
|
62600
|
-
// user can continues tabbing through the page normally.
|
|
62601
|
-
if (ctx.isModal && !evt.shiftKey) {
|
|
62840
|
+
if (ctx.isModal) {
|
|
62841
|
+
// Fullscreen close does not automatically restore focus to the input.
|
|
62602
62842
|
component.setClearBtnFocus();
|
|
62603
62843
|
}
|
|
62604
62844
|
}
|
|
@@ -65351,7 +65591,7 @@ let AuroFloatingUI$1 = class AuroFloatingUI {
|
|
|
65351
65591
|
};
|
|
65352
65592
|
|
|
65353
65593
|
// Selectors for focusable elements
|
|
65354
|
-
const FOCUSABLE_SELECTORS$
|
|
65594
|
+
const FOCUSABLE_SELECTORS$2 = [
|
|
65355
65595
|
"a[href]",
|
|
65356
65596
|
"button:not([disabled])",
|
|
65357
65597
|
"textarea:not([disabled])",
|
|
@@ -65365,7 +65605,7 @@ const FOCUSABLE_SELECTORS$1 = [
|
|
|
65365
65605
|
];
|
|
65366
65606
|
|
|
65367
65607
|
// List of custom components that are known to be focusable
|
|
65368
|
-
const FOCUSABLE_COMPONENTS$
|
|
65608
|
+
const FOCUSABLE_COMPONENTS$2 = [
|
|
65369
65609
|
"auro-checkbox",
|
|
65370
65610
|
"auro-radio",
|
|
65371
65611
|
"auro-dropdown",
|
|
@@ -65387,12 +65627,12 @@ const FOCUSABLE_COMPONENTS$1 = [
|
|
|
65387
65627
|
* @param {HTMLElement} element The element to check for focusability.
|
|
65388
65628
|
* @returns {boolean} True if the element is a focusable custom component, false otherwise.
|
|
65389
65629
|
*/
|
|
65390
|
-
function isFocusableComponent$
|
|
65630
|
+
function isFocusableComponent$2(element) {
|
|
65391
65631
|
const componentName = element.tagName.toLowerCase();
|
|
65392
65632
|
|
|
65393
65633
|
// Guard Clause: Element is a focusable component
|
|
65394
65634
|
if (
|
|
65395
|
-
!FOCUSABLE_COMPONENTS$
|
|
65635
|
+
!FOCUSABLE_COMPONENTS$2.some(
|
|
65396
65636
|
(name) => element.hasAttribute(name) || componentName === name,
|
|
65397
65637
|
)
|
|
65398
65638
|
)
|
|
@@ -65416,7 +65656,7 @@ function isFocusableComponent$1(element) {
|
|
|
65416
65656
|
* @param {HTMLElement} element The element whose tabindex to read.
|
|
65417
65657
|
* @returns {?number} The numeric tabindex or null if missing/invalid.
|
|
65418
65658
|
*/
|
|
65419
|
-
function getNumericTabIndex$
|
|
65659
|
+
function getNumericTabIndex$2(element) {
|
|
65420
65660
|
const raw = element.getAttribute("tabindex");
|
|
65421
65661
|
if (raw == null) return null;
|
|
65422
65662
|
|
|
@@ -65432,7 +65672,7 @@ function getNumericTabIndex$1(element) {
|
|
|
65432
65672
|
* @param {HTMLElement} container The container to search within
|
|
65433
65673
|
* @returns {Array<HTMLElement>} An array of focusable elements within the container.
|
|
65434
65674
|
*/
|
|
65435
|
-
function getFocusableElements$
|
|
65675
|
+
function getFocusableElements$2(container) {
|
|
65436
65676
|
// Get elements in DOM order by walking the tree
|
|
65437
65677
|
const orderedFocusableElements = [];
|
|
65438
65678
|
|
|
@@ -65441,7 +65681,7 @@ function getFocusableElements$1(container) {
|
|
|
65441
65681
|
// Check if current element is focusable
|
|
65442
65682
|
if (root.nodeType === Node.ELEMENT_NODE) {
|
|
65443
65683
|
// Check if this is a custom component that is focusable
|
|
65444
|
-
const isComponentFocusable = isFocusableComponent$
|
|
65684
|
+
const isComponentFocusable = isFocusableComponent$2(root);
|
|
65445
65685
|
|
|
65446
65686
|
if (isComponentFocusable) {
|
|
65447
65687
|
// Add the component itself as a focusable element and don't traverse its shadow DOM
|
|
@@ -65450,7 +65690,7 @@ function getFocusableElements$1(container) {
|
|
|
65450
65690
|
}
|
|
65451
65691
|
|
|
65452
65692
|
// Check if the element itself matches any selector
|
|
65453
|
-
for (const selector of FOCUSABLE_SELECTORS$
|
|
65693
|
+
for (const selector of FOCUSABLE_SELECTORS$2) {
|
|
65454
65694
|
if (root.matches?.(selector)) {
|
|
65455
65695
|
orderedFocusableElements.push(root);
|
|
65456
65696
|
break; // Once we know it's focusable, no need to check other selectors
|
|
@@ -65504,20 +65744,20 @@ function getFocusableElements$1(container) {
|
|
|
65504
65744
|
|
|
65505
65745
|
// First extract elements with valid positive tabindex
|
|
65506
65746
|
const elementsWithTabindex = uniqueElements.filter((el) => {
|
|
65507
|
-
const tabindex = getNumericTabIndex$
|
|
65747
|
+
const tabindex = getNumericTabIndex$2(el);
|
|
65508
65748
|
return tabindex !== null && tabindex > 0;
|
|
65509
65749
|
});
|
|
65510
65750
|
|
|
65511
65751
|
// Sort these elements by their tabindex value
|
|
65512
65752
|
elementsWithTabindex.sort((a, b) => {
|
|
65513
|
-
const aIndex = getNumericTabIndex$
|
|
65514
|
-
const bIndex = getNumericTabIndex$
|
|
65753
|
+
const aIndex = getNumericTabIndex$2(a) ?? 0;
|
|
65754
|
+
const bIndex = getNumericTabIndex$2(b) ?? 0;
|
|
65515
65755
|
return aIndex - bIndex;
|
|
65516
65756
|
});
|
|
65517
65757
|
|
|
65518
65758
|
// Elements without tabindex (preserving their original order)
|
|
65519
65759
|
const elementsWithoutTabindex = uniqueElements.filter((el) => {
|
|
65520
|
-
const tabindex = getNumericTabIndex$
|
|
65760
|
+
const tabindex = getNumericTabIndex$2(el);
|
|
65521
65761
|
|
|
65522
65762
|
// Elements without tabindex or with tabindex of 0 stay in DOM order
|
|
65523
65763
|
return tabindex === null || tabindex === 0;
|
|
@@ -65688,7 +65928,7 @@ let FocusTrap$1 = class FocusTrap {
|
|
|
65688
65928
|
*/
|
|
65689
65929
|
_getFocusableElements() {
|
|
65690
65930
|
// Use the imported utility function to get focusable elements
|
|
65691
|
-
const elements = getFocusableElements$
|
|
65931
|
+
const elements = getFocusableElements$2(this.container);
|
|
65692
65932
|
|
|
65693
65933
|
// Return the elements found
|
|
65694
65934
|
return elements;
|
|
@@ -66473,7 +66713,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
66473
66713
|
}
|
|
66474
66714
|
};
|
|
66475
66715
|
|
|
66476
|
-
var formkitVersion$2 = '
|
|
66716
|
+
var formkitVersion$2 = '202607090129';
|
|
66477
66717
|
|
|
66478
66718
|
let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
66479
66719
|
static get properties() {
|
|
@@ -66764,7 +67004,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
66764
67004
|
*/
|
|
66765
67005
|
focus() {
|
|
66766
67006
|
if (this.isPopoverVisible && this.bibContent) {
|
|
66767
|
-
const focusables = getFocusableElements$
|
|
67007
|
+
const focusables = getFocusableElements$2(this.bibContent);
|
|
66768
67008
|
if (focusables.length > 0) {
|
|
66769
67009
|
focusables[0].focus();
|
|
66770
67010
|
}
|
|
@@ -67382,7 +67622,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67382
67622
|
}
|
|
67383
67623
|
|
|
67384
67624
|
// Collect focusable elements from the bib content.
|
|
67385
|
-
const focusables = getFocusableElements$
|
|
67625
|
+
const focusables = getFocusableElements$2(this.bibContent);
|
|
67386
67626
|
|
|
67387
67627
|
// Fallback: try from slotted content directly
|
|
67388
67628
|
if (!focusables.length) {
|
|
@@ -67391,7 +67631,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67391
67631
|
|
|
67392
67632
|
for (const node of assignedNodes) {
|
|
67393
67633
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
67394
|
-
focusables.push(...getFocusableElements$
|
|
67634
|
+
focusables.push(...getFocusableElements$2(node));
|
|
67395
67635
|
}
|
|
67396
67636
|
}
|
|
67397
67637
|
}
|
|
@@ -67451,7 +67691,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67451
67691
|
|
|
67452
67692
|
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
67453
67693
|
requestAnimationFrame(() => {
|
|
67454
|
-
const focusables = getFocusableElements$
|
|
67694
|
+
const focusables = getFocusableElements$2(this.bibContent);
|
|
67455
67695
|
if (focusables.length) {
|
|
67456
67696
|
focusables[0].focus();
|
|
67457
67697
|
}
|
|
@@ -67681,7 +67921,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67681
67921
|
if (triggerContentNodes) {
|
|
67682
67922
|
|
|
67683
67923
|
// See if any of them are focusable elements
|
|
67684
|
-
this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements$
|
|
67924
|
+
this.triggerContentFocusable = triggerContentNodes.some((node) => getFocusableElements$2(node).length > 0);
|
|
67685
67925
|
|
|
67686
67926
|
// If any of them are focusable elements
|
|
67687
67927
|
if (this.triggerContentFocusable) {
|
|
@@ -80091,7 +80331,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
80091
80331
|
}
|
|
80092
80332
|
};
|
|
80093
80333
|
|
|
80094
|
-
var formkitVersion$1$1 = '
|
|
80334
|
+
var formkitVersion$1$1 = '202607090129';
|
|
80095
80335
|
|
|
80096
80336
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
80097
80337
|
// See LICENSE in the project root for license information.
|
|
@@ -81212,7 +81452,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
81212
81452
|
}
|
|
81213
81453
|
};
|
|
81214
81454
|
|
|
81215
|
-
var formkitVersion$3 = '
|
|
81455
|
+
var formkitVersion$3 = '202607090129';
|
|
81216
81456
|
|
|
81217
81457
|
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}`;
|
|
81218
81458
|
|
|
@@ -82744,8 +82984,11 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82744
82984
|
// do not close while typing in suggestion mode with no value selected, to allow freeform input
|
|
82745
82985
|
this.hideBib();
|
|
82746
82986
|
|
|
82747
|
-
// Move focus to the clear button when the user makes a selection
|
|
82748
|
-
|
|
82987
|
+
// Move focus to the clear button when the user makes a selection,
|
|
82988
|
+
// unless the Shift+Tab handler opted this selection out.
|
|
82989
|
+
if (this._suppressClearBtnFocusOnSelection) {
|
|
82990
|
+
this._suppressClearBtnFocusOnSelection = false;
|
|
82991
|
+
} else if (!isEcho && this.menu.value !== undefined) {
|
|
82749
82992
|
this.setClearBtnFocus();
|
|
82750
82993
|
}
|
|
82751
82994
|
|
|
@@ -90190,7 +90433,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
90190
90433
|
}
|
|
90191
90434
|
};
|
|
90192
90435
|
|
|
90193
|
-
var formkitVersion$1 = '
|
|
90436
|
+
var formkitVersion$1 = '202607090129';
|
|
90194
90437
|
|
|
90195
90438
|
class AuroElement extends i$2 {
|
|
90196
90439
|
static get properties() {
|
|
@@ -92229,7 +92472,7 @@ class AuroHelpText extends i$2 {
|
|
|
92229
92472
|
}
|
|
92230
92473
|
}
|
|
92231
92474
|
|
|
92232
|
-
var formkitVersion = '
|
|
92475
|
+
var formkitVersion = '202607090129';
|
|
92233
92476
|
|
|
92234
92477
|
var styleCss = i$4`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
92235
92478
|
|