@aurodesignsystem-dev/auro-formkit 0.0.0-pr1554.12 → 0.0.0-pr1554.14
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 +32 -39
- package/components/combobox/demo/getting-started.min.js +32 -39
- package/components/combobox/demo/index.min.js +32 -39
- package/components/combobox/dist/index.js +32 -39
- package/components/combobox/dist/registered.js +32 -39
- package/components/counter/demo/customize.min.js +20 -14
- package/components/counter/demo/index.min.js +20 -14
- package/components/counter/dist/index.js +20 -14
- package/components/counter/dist/registered.js +20 -14
- package/components/datepicker/demo/customize.min.js +21 -15
- package/components/datepicker/demo/index.min.js +21 -15
- package/components/datepicker/dist/index.js +21 -15
- package/components/datepicker/dist/registered.js +21 -15
- package/components/dropdown/demo/customize.min.js +19 -13
- package/components/dropdown/demo/getting-started.min.js +19 -13
- package/components/dropdown/demo/index.min.js +19 -13
- package/components/dropdown/dist/auro-dropdown.d.ts +8 -0
- package/components/dropdown/dist/index.js +19 -13
- package/components/dropdown/dist/registered.js +19 -13
- package/components/form/demo/customize.min.js +96 -85
- package/components/form/demo/getting-started.min.js +96 -85
- package/components/form/demo/index.min.js +96 -85
- package/components/form/demo/registerDemoDeps.min.js +96 -85
- 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 +20 -14
- package/components/select/demo/getting-started.min.js +20 -14
- package/components/select/demo/index.min.js +20 -14
- package/components/select/dist/index.js +20 -14
- package/components/select/dist/registered.js +20 -14
- package/custom-elements.json +10 -0
- package/package.json +1 -1
|
@@ -13380,7 +13380,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$3 {
|
|
|
13380
13380
|
}
|
|
13381
13381
|
};
|
|
13382
13382
|
|
|
13383
|
-
var formkitVersion$8 = '
|
|
13383
|
+
var formkitVersion$8 = '202607160755';
|
|
13384
13384
|
|
|
13385
13385
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13386
13386
|
// See LICENSE in the project root for license information.
|
|
@@ -27804,7 +27804,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
27804
27804
|
}
|
|
27805
27805
|
};
|
|
27806
27806
|
|
|
27807
|
-
var formkitVersion$2$1 = '
|
|
27807
|
+
var formkitVersion$2$1 = '202607160755';
|
|
27808
27808
|
|
|
27809
27809
|
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$2`${s$3(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$6`: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}
|
|
27810
27810
|
`,u$4$2=i$6`.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}}
|
|
@@ -33532,7 +33532,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
|
|
|
33532
33532
|
}
|
|
33533
33533
|
};
|
|
33534
33534
|
|
|
33535
|
-
var formkitVersion$1$3 = '
|
|
33535
|
+
var formkitVersion$1$3 = '202607160755';
|
|
33536
33536
|
|
|
33537
33537
|
let AuroElement$2$2 = class AuroElement extends i$3 {
|
|
33538
33538
|
static get properties() {
|
|
@@ -33672,6 +33672,15 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33672
33672
|
this.matchWidth = false;
|
|
33673
33673
|
this.noHideOnThisFocusLoss = false;
|
|
33674
33674
|
|
|
33675
|
+
/**
|
|
33676
|
+
* When true, the dropdown skips its generic focus restoration on close.
|
|
33677
|
+
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
33678
|
+
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
33679
|
+
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
33680
|
+
* @private
|
|
33681
|
+
*/
|
|
33682
|
+
this.noFocusRestoreOnClose = false;
|
|
33683
|
+
|
|
33675
33684
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
33676
33685
|
|
|
33677
33686
|
// Layout Config
|
|
@@ -33845,25 +33854,22 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33845
33854
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
33846
33855
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
33847
33856
|
if (slot) {
|
|
33848
|
-
const assigned = slot.assignedElements(
|
|
33857
|
+
const assigned = slot.assignedElements();
|
|
33849
33858
|
for (const el of assigned) {
|
|
33850
33859
|
if (el.hasAttribute('disabled')) {
|
|
33851
33860
|
continue;
|
|
33852
33861
|
}
|
|
33853
|
-
|
|
33854
|
-
//
|
|
33862
|
+
// Try finding a focusable descendant first (handles non-focusable
|
|
33863
|
+
// wrappers like <div> containing a <button>). If none found, try
|
|
33864
|
+
// focusing the element directly (works for custom elements like
|
|
33865
|
+
// auro-input that have delegatesFocus or a custom focus() method).
|
|
33855
33866
|
const descendants = getFocusableElements$4(el);
|
|
33856
33867
|
if (descendants.length > 0) {
|
|
33857
33868
|
descendants[0].focus();
|
|
33858
33869
|
return;
|
|
33859
33870
|
}
|
|
33860
|
-
|
|
33861
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
33862
|
-
const prevActive = document.activeElement;
|
|
33863
33871
|
el.focus();
|
|
33864
|
-
|
|
33865
|
-
return;
|
|
33866
|
-
}
|
|
33872
|
+
return;
|
|
33867
33873
|
}
|
|
33868
33874
|
}
|
|
33869
33875
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -34323,7 +34329,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
34323
34329
|
}
|
|
34324
34330
|
|
|
34325
34331
|
const eventType = event.detail.eventType || "unknown";
|
|
34326
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
34332
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
34327
34333
|
this.focusTrigger();
|
|
34328
34334
|
}
|
|
34329
34335
|
|
|
@@ -34331,9 +34337,9 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
34331
34337
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
34332
34338
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
34333
34339
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
34334
|
-
// When
|
|
34340
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
34335
34341
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
34336
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
34342
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
34337
34343
|
// wait til the bib gets fully closed and rendered
|
|
34338
34344
|
setTimeout(() => {
|
|
34339
34345
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -47199,7 +47205,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
|
|
|
47199
47205
|
}
|
|
47200
47206
|
};
|
|
47201
47207
|
|
|
47202
|
-
var formkitVersion$7 = '
|
|
47208
|
+
var formkitVersion$7 = '202607160755';
|
|
47203
47209
|
|
|
47204
47210
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
47205
47211
|
// See LICENSE in the project root for license information.
|
|
@@ -52167,7 +52173,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
|
|
|
52167
52173
|
}
|
|
52168
52174
|
};
|
|
52169
52175
|
|
|
52170
|
-
var formkitVersion$1$2 = '
|
|
52176
|
+
var formkitVersion$1$2 = '202607160755';
|
|
52171
52177
|
|
|
52172
52178
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
52173
52179
|
// See LICENSE in the project root for license information.
|
|
@@ -56315,7 +56321,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
|
|
|
56315
56321
|
}
|
|
56316
56322
|
};
|
|
56317
56323
|
|
|
56318
|
-
var formkitVersion$6 = '
|
|
56324
|
+
var formkitVersion$6 = '202607160755';
|
|
56319
56325
|
|
|
56320
56326
|
let AuroElement$1$2 = class AuroElement extends i$3 {
|
|
56321
56327
|
static get properties() {
|
|
@@ -56455,6 +56461,15 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56455
56461
|
this.matchWidth = false;
|
|
56456
56462
|
this.noHideOnThisFocusLoss = false;
|
|
56457
56463
|
|
|
56464
|
+
/**
|
|
56465
|
+
* When true, the dropdown skips its generic focus restoration on close.
|
|
56466
|
+
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
56467
|
+
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
56468
|
+
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
56469
|
+
* @private
|
|
56470
|
+
*/
|
|
56471
|
+
this.noFocusRestoreOnClose = false;
|
|
56472
|
+
|
|
56458
56473
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
56459
56474
|
|
|
56460
56475
|
// Layout Config
|
|
@@ -56628,25 +56643,22 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56628
56643
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
56629
56644
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
56630
56645
|
if (slot) {
|
|
56631
|
-
const assigned = slot.assignedElements(
|
|
56646
|
+
const assigned = slot.assignedElements();
|
|
56632
56647
|
for (const el of assigned) {
|
|
56633
56648
|
if (el.hasAttribute('disabled')) {
|
|
56634
56649
|
continue;
|
|
56635
56650
|
}
|
|
56636
|
-
|
|
56637
|
-
//
|
|
56651
|
+
// Try finding a focusable descendant first (handles non-focusable
|
|
56652
|
+
// wrappers like <div> containing a <button>). If none found, try
|
|
56653
|
+
// focusing the element directly (works for custom elements like
|
|
56654
|
+
// auro-input that have delegatesFocus or a custom focus() method).
|
|
56638
56655
|
const descendants = getFocusableElements$3(el);
|
|
56639
56656
|
if (descendants.length > 0) {
|
|
56640
56657
|
descendants[0].focus();
|
|
56641
56658
|
return;
|
|
56642
56659
|
}
|
|
56643
|
-
|
|
56644
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
56645
|
-
const prevActive = document.activeElement;
|
|
56646
56660
|
el.focus();
|
|
56647
|
-
|
|
56648
|
-
return;
|
|
56649
|
-
}
|
|
56661
|
+
return;
|
|
56650
56662
|
}
|
|
56651
56663
|
}
|
|
56652
56664
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -57106,7 +57118,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
57106
57118
|
}
|
|
57107
57119
|
|
|
57108
57120
|
const eventType = event.detail.eventType || "unknown";
|
|
57109
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
57121
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
57110
57122
|
this.focusTrigger();
|
|
57111
57123
|
}
|
|
57112
57124
|
|
|
@@ -57114,9 +57126,9 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
57114
57126
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
57115
57127
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
57116
57128
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
57117
|
-
// When
|
|
57129
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
57118
57130
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
57119
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
57131
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
57120
57132
|
// wait til the bib gets fully closed and rendered
|
|
57121
57133
|
setTimeout(() => {
|
|
57122
57134
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -60356,7 +60368,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
|
|
|
60356
60368
|
}
|
|
60357
60369
|
};
|
|
60358
60370
|
|
|
60359
|
-
var formkitVersion$5 = '
|
|
60371
|
+
var formkitVersion$5 = '202607160755';
|
|
60360
60372
|
|
|
60361
60373
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
60362
60374
|
// See LICENSE in the project root for license information.
|
|
@@ -62121,7 +62133,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
|
|
|
62121
62133
|
}
|
|
62122
62134
|
};
|
|
62123
62135
|
|
|
62124
|
-
var formkitVersion$4 = '
|
|
62136
|
+
var formkitVersion$4 = '202607160755';
|
|
62125
62137
|
|
|
62126
62138
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
62127
62139
|
// See LICENSE in the project root for license information.
|
|
@@ -67434,7 +67446,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
67434
67446
|
}
|
|
67435
67447
|
};
|
|
67436
67448
|
|
|
67437
|
-
var formkitVersion$2 = '
|
|
67449
|
+
var formkitVersion$2 = '202607160755';
|
|
67438
67450
|
|
|
67439
67451
|
let AuroElement$2$1 = class AuroElement extends i$3 {
|
|
67440
67452
|
static get properties() {
|
|
@@ -67574,6 +67586,15 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67574
67586
|
this.matchWidth = false;
|
|
67575
67587
|
this.noHideOnThisFocusLoss = false;
|
|
67576
67588
|
|
|
67589
|
+
/**
|
|
67590
|
+
* When true, the dropdown skips its generic focus restoration on close.
|
|
67591
|
+
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
67592
|
+
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
67593
|
+
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
67594
|
+
* @private
|
|
67595
|
+
*/
|
|
67596
|
+
this.noFocusRestoreOnClose = false;
|
|
67597
|
+
|
|
67577
67598
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
67578
67599
|
|
|
67579
67600
|
// Layout Config
|
|
@@ -67747,25 +67768,22 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67747
67768
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
67748
67769
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
67749
67770
|
if (slot) {
|
|
67750
|
-
const assigned = slot.assignedElements(
|
|
67771
|
+
const assigned = slot.assignedElements();
|
|
67751
67772
|
for (const el of assigned) {
|
|
67752
67773
|
if (el.hasAttribute('disabled')) {
|
|
67753
67774
|
continue;
|
|
67754
67775
|
}
|
|
67755
|
-
|
|
67756
|
-
//
|
|
67776
|
+
// Try finding a focusable descendant first (handles non-focusable
|
|
67777
|
+
// wrappers like <div> containing a <button>). If none found, try
|
|
67778
|
+
// focusing the element directly (works for custom elements like
|
|
67779
|
+
// auro-input that have delegatesFocus or a custom focus() method).
|
|
67757
67780
|
const descendants = getFocusableElements$2(el);
|
|
67758
67781
|
if (descendants.length > 0) {
|
|
67759
67782
|
descendants[0].focus();
|
|
67760
67783
|
return;
|
|
67761
67784
|
}
|
|
67762
|
-
|
|
67763
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
67764
|
-
const prevActive = document.activeElement;
|
|
67765
67785
|
el.focus();
|
|
67766
|
-
|
|
67767
|
-
return;
|
|
67768
|
-
}
|
|
67786
|
+
return;
|
|
67769
67787
|
}
|
|
67770
67788
|
}
|
|
67771
67789
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -68225,7 +68243,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
68225
68243
|
}
|
|
68226
68244
|
|
|
68227
68245
|
const eventType = event.detail.eventType || "unknown";
|
|
68228
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
68246
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
68229
68247
|
this.focusTrigger();
|
|
68230
68248
|
}
|
|
68231
68249
|
|
|
@@ -68233,9 +68251,9 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
68233
68251
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
68234
68252
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
68235
68253
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
68236
|
-
// When
|
|
68254
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
68237
68255
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
68238
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
68256
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
68239
68257
|
// wait til the bib gets fully closed and rendered
|
|
68240
68258
|
setTimeout(() => {
|
|
68241
68259
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -81101,7 +81119,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
|
|
|
81101
81119
|
}
|
|
81102
81120
|
};
|
|
81103
81121
|
|
|
81104
|
-
var formkitVersion$1$1 = '
|
|
81122
|
+
var formkitVersion$1$1 = '202607160755';
|
|
81105
81123
|
|
|
81106
81124
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
81107
81125
|
// See LICENSE in the project root for license information.
|
|
@@ -82249,7 +82267,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
82249
82267
|
}
|
|
82250
82268
|
};
|
|
82251
82269
|
|
|
82252
|
-
var formkitVersion$3 = '
|
|
82270
|
+
var formkitVersion$3 = '202607160755';
|
|
82253
82271
|
|
|
82254
82272
|
var styleCss$1$3 = i$6`.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}`;
|
|
82255
82273
|
|
|
@@ -83306,30 +83324,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83306
83324
|
// human-readable label (e.g. "Seattle, WA"). For consumers where
|
|
83307
83325
|
// value ≠ label, this produces a brief flash of the raw value until
|
|
83308
83326
|
// the option elements load and updateTriggerTextDisplay re-runs with
|
|
83309
|
-
// the correct label.
|
|
83310
|
-
|
|
83311
|
-
//
|
|
83312
|
-
|
|
83313
|
-
|
|
83314
|
-
|
|
83315
|
-
|
|
83316
|
-
return node.textContent.trim().length > 0;
|
|
83317
|
-
}
|
|
83318
|
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
83319
|
-
return node.textContent.trim().length > 0 ||
|
|
83320
|
-
node.children.length > 0 ||
|
|
83321
|
-
node.shadowRoot !== null;
|
|
83322
|
-
}
|
|
83323
|
-
return false;
|
|
83324
|
-
}));
|
|
83325
|
-
|
|
83326
|
-
if (!hasSlottedDisplayValue) {
|
|
83327
|
-
const syntheticDV = document.createElement('span');
|
|
83328
|
-
syntheticDV.setAttribute('slot', 'displayValue');
|
|
83329
|
-
syntheticDV.textContent = this.value;
|
|
83330
|
-
this.input.appendChild(syntheticDV);
|
|
83331
|
-
}
|
|
83332
|
-
|
|
83327
|
+
// the correct label. This is intentionally preferred over a blank
|
|
83328
|
+
// state — the displayValueInTrigger.remove() cleanup above ensures
|
|
83329
|
+
// this placeholder is replaced once the real option is available.
|
|
83330
|
+
const syntheticDV = document.createElement('span');
|
|
83331
|
+
syntheticDV.setAttribute('slot', 'displayValue');
|
|
83332
|
+
syntheticDV.textContent = this.value;
|
|
83333
|
+
this.input.appendChild(syntheticDV);
|
|
83333
83334
|
if (typeof this.input.checkDisplayValueSlotChange === 'function') {
|
|
83334
83335
|
this.input.checkDisplayValueSlotChange();
|
|
83335
83336
|
this.input.requestUpdate();
|
|
@@ -83505,6 +83506,10 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83505
83506
|
// from combobox's light DOM and won't be detected by dropdown's contains() check.
|
|
83506
83507
|
this.dropdown.noHideOnThisFocusLoss = true;
|
|
83507
83508
|
|
|
83509
|
+
// Suppress the dropdown's generic focus restoration on close — the combobox
|
|
83510
|
+
// manages its own focus via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
83511
|
+
this.dropdown.noFocusRestoreOnClose = true;
|
|
83512
|
+
|
|
83508
83513
|
// Listen for the ID to be added to the dropdown so we can capture it and use it for accessibility.
|
|
83509
83514
|
this.dropdown.addEventListener('auroDropdown-idAdded', (event) => {
|
|
83510
83515
|
this.dropdownId = event.detail.id;
|
|
@@ -91123,7 +91128,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
91123
91128
|
}
|
|
91124
91129
|
};
|
|
91125
91130
|
|
|
91126
|
-
var formkitVersion$1 = '
|
|
91131
|
+
var formkitVersion$1 = '202607160755';
|
|
91127
91132
|
|
|
91128
91133
|
class AuroElement extends i$3 {
|
|
91129
91134
|
static get properties() {
|
|
@@ -91263,6 +91268,15 @@ class AuroDropdown extends AuroElement {
|
|
|
91263
91268
|
this.matchWidth = false;
|
|
91264
91269
|
this.noHideOnThisFocusLoss = false;
|
|
91265
91270
|
|
|
91271
|
+
/**
|
|
91272
|
+
* When true, the dropdown skips its generic focus restoration on close.
|
|
91273
|
+
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
91274
|
+
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
91275
|
+
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
91276
|
+
* @private
|
|
91277
|
+
*/
|
|
91278
|
+
this.noFocusRestoreOnClose = false;
|
|
91279
|
+
|
|
91266
91280
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
91267
91281
|
|
|
91268
91282
|
// Layout Config
|
|
@@ -91436,25 +91450,22 @@ class AuroDropdown extends AuroElement {
|
|
|
91436
91450
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
91437
91451
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
91438
91452
|
if (slot) {
|
|
91439
|
-
const assigned = slot.assignedElements(
|
|
91453
|
+
const assigned = slot.assignedElements();
|
|
91440
91454
|
for (const el of assigned) {
|
|
91441
91455
|
if (el.hasAttribute('disabled')) {
|
|
91442
91456
|
continue;
|
|
91443
91457
|
}
|
|
91444
|
-
|
|
91445
|
-
//
|
|
91458
|
+
// Try finding a focusable descendant first (handles non-focusable
|
|
91459
|
+
// wrappers like <div> containing a <button>). If none found, try
|
|
91460
|
+
// focusing the element directly (works for custom elements like
|
|
91461
|
+
// auro-input that have delegatesFocus or a custom focus() method).
|
|
91446
91462
|
const descendants = getFocusableElements(el);
|
|
91447
91463
|
if (descendants.length > 0) {
|
|
91448
91464
|
descendants[0].focus();
|
|
91449
91465
|
return;
|
|
91450
91466
|
}
|
|
91451
|
-
|
|
91452
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
91453
|
-
const prevActive = document.activeElement;
|
|
91454
91467
|
el.focus();
|
|
91455
|
-
|
|
91456
|
-
return;
|
|
91457
|
-
}
|
|
91468
|
+
return;
|
|
91458
91469
|
}
|
|
91459
91470
|
}
|
|
91460
91471
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -91914,7 +91925,7 @@ class AuroDropdown extends AuroElement {
|
|
|
91914
91925
|
}
|
|
91915
91926
|
|
|
91916
91927
|
const eventType = event.detail.eventType || "unknown";
|
|
91917
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
91928
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
91918
91929
|
this.focusTrigger();
|
|
91919
91930
|
}
|
|
91920
91931
|
|
|
@@ -91922,9 +91933,9 @@ class AuroDropdown extends AuroElement {
|
|
|
91922
91933
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
91923
91934
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
91924
91935
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
91925
|
-
// When
|
|
91936
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
91926
91937
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
91927
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
91938
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
91928
91939
|
// wait til the bib gets fully closed and rendered
|
|
91929
91940
|
setTimeout(() => {
|
|
91930
91941
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -93210,7 +93221,7 @@ class AuroHelpText extends i$3 {
|
|
|
93210
93221
|
}
|
|
93211
93222
|
}
|
|
93212
93223
|
|
|
93213
|
-
var formkitVersion = '
|
|
93224
|
+
var formkitVersion = '202607160755';
|
|
93214
93225
|
|
|
93215
93226
|
var styleCss = i$6`.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}`;
|
|
93216
93227
|
|