@aurodesignsystem-dev/auro-formkit 0.0.0-pr1554.13 → 0.0.0-pr1554.15
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 +33 -44
- package/components/combobox/demo/getting-started.min.js +33 -44
- package/components/combobox/demo/index.min.js +33 -44
- package/components/combobox/dist/index.js +33 -44
- package/components/combobox/dist/registered.js +33 -44
- 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 +22 -20
- package/components/datepicker/demo/index.min.js +22 -20
- package/components/datepicker/dist/index.js +22 -20
- package/components/datepicker/dist/registered.js +22 -20
- package/components/dropdown/demo/api.md +1 -0
- 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 +99 -100
- package/components/form/demo/getting-started.min.js +99 -100
- package/components/form/demo/index.min.js +99 -100
- package/components/form/demo/registerDemoDeps.min.js +99 -100
- package/components/input/demo/customize.min.js +2 -6
- package/components/input/demo/getting-started.min.js +2 -6
- package/components/input/demo/index.min.js +2 -6
- package/components/input/dist/index.js +2 -6
- package/components/input/dist/registered.js +2 -6
- 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 = '202607160801';
|
|
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.
|
|
@@ -13674,15 +13674,11 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
13674
13674
|
// Check for any element (including custom elements like <auro-icon>
|
|
13675
13675
|
// that render via shadow DOM with no text content).
|
|
13676
13676
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
13677
|
-
|
|
13677
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
13678
13678
|
lightDomContent.textContent.trim().length > 0 ||
|
|
13679
13679
|
lightDomContent.children.length > 0 ||
|
|
13680
13680
|
lightDomContent.shadowRoot !== null
|
|
13681
13681
|
));
|
|
13682
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
13683
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
13684
|
-
this.requestUpdate();
|
|
13685
|
-
}
|
|
13686
13682
|
return;
|
|
13687
13683
|
}
|
|
13688
13684
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -27808,7 +27804,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
27808
27804
|
}
|
|
27809
27805
|
};
|
|
27810
27806
|
|
|
27811
|
-
var formkitVersion$2$1 = '
|
|
27807
|
+
var formkitVersion$2$1 = '202607160801';
|
|
27812
27808
|
|
|
27813
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}
|
|
27814
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}}
|
|
@@ -33536,7 +33532,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
|
|
|
33536
33532
|
}
|
|
33537
33533
|
};
|
|
33538
33534
|
|
|
33539
|
-
var formkitVersion$1$3 = '
|
|
33535
|
+
var formkitVersion$1$3 = '202607160801';
|
|
33540
33536
|
|
|
33541
33537
|
let AuroElement$2$2 = class AuroElement extends i$3 {
|
|
33542
33538
|
static get properties() {
|
|
@@ -33676,6 +33672,15 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33676
33672
|
this.matchWidth = false;
|
|
33677
33673
|
this.noHideOnThisFocusLoss = false;
|
|
33678
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
|
+
* @public
|
|
33681
|
+
*/
|
|
33682
|
+
this.noFocusRestoreOnClose = false;
|
|
33683
|
+
|
|
33679
33684
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
33680
33685
|
|
|
33681
33686
|
// Layout Config
|
|
@@ -33849,25 +33854,22 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33849
33854
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
33850
33855
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
33851
33856
|
if (slot) {
|
|
33852
|
-
const assigned = slot.assignedElements(
|
|
33857
|
+
const assigned = slot.assignedElements();
|
|
33853
33858
|
for (const el of assigned) {
|
|
33854
33859
|
if (el.hasAttribute('disabled')) {
|
|
33855
33860
|
continue;
|
|
33856
33861
|
}
|
|
33857
|
-
|
|
33858
|
-
//
|
|
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).
|
|
33859
33866
|
const descendants = getFocusableElements$4(el);
|
|
33860
33867
|
if (descendants.length > 0) {
|
|
33861
33868
|
descendants[0].focus();
|
|
33862
33869
|
return;
|
|
33863
33870
|
}
|
|
33864
|
-
|
|
33865
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
33866
|
-
const prevActive = document.activeElement;
|
|
33867
33871
|
el.focus();
|
|
33868
|
-
|
|
33869
|
-
return;
|
|
33870
|
-
}
|
|
33872
|
+
return;
|
|
33871
33873
|
}
|
|
33872
33874
|
}
|
|
33873
33875
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -34327,7 +34329,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
34327
34329
|
}
|
|
34328
34330
|
|
|
34329
34331
|
const eventType = event.detail.eventType || "unknown";
|
|
34330
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
34332
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
34331
34333
|
this.focusTrigger();
|
|
34332
34334
|
}
|
|
34333
34335
|
|
|
@@ -34335,9 +34337,9 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
34335
34337
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
34336
34338
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
34337
34339
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
34338
|
-
// When
|
|
34340
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
34339
34341
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
34340
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
34342
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
34341
34343
|
// wait til the bib gets fully closed and rendered
|
|
34342
34344
|
setTimeout(() => {
|
|
34343
34345
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -47203,7 +47205,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
|
|
|
47203
47205
|
}
|
|
47204
47206
|
};
|
|
47205
47207
|
|
|
47206
|
-
var formkitVersion$7 = '
|
|
47208
|
+
var formkitVersion$7 = '202607160801';
|
|
47207
47209
|
|
|
47208
47210
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
47209
47211
|
// See LICENSE in the project root for license information.
|
|
@@ -47497,15 +47499,11 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
47497
47499
|
// Check for any element (including custom elements like <auro-icon>
|
|
47498
47500
|
// that render via shadow DOM with no text content).
|
|
47499
47501
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
47500
|
-
|
|
47502
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
47501
47503
|
lightDomContent.textContent.trim().length > 0 ||
|
|
47502
47504
|
lightDomContent.children.length > 0 ||
|
|
47503
47505
|
lightDomContent.shadowRoot !== null
|
|
47504
47506
|
));
|
|
47505
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
47506
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
47507
|
-
this.requestUpdate();
|
|
47508
|
-
}
|
|
47509
47507
|
return;
|
|
47510
47508
|
}
|
|
47511
47509
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -52175,7 +52173,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
|
|
|
52175
52173
|
}
|
|
52176
52174
|
};
|
|
52177
52175
|
|
|
52178
|
-
var formkitVersion$1$2 = '
|
|
52176
|
+
var formkitVersion$1$2 = '202607160801';
|
|
52179
52177
|
|
|
52180
52178
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
52181
52179
|
// See LICENSE in the project root for license information.
|
|
@@ -56323,7 +56321,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
|
|
|
56323
56321
|
}
|
|
56324
56322
|
};
|
|
56325
56323
|
|
|
56326
|
-
var formkitVersion$6 = '
|
|
56324
|
+
var formkitVersion$6 = '202607160801';
|
|
56327
56325
|
|
|
56328
56326
|
let AuroElement$1$2 = class AuroElement extends i$3 {
|
|
56329
56327
|
static get properties() {
|
|
@@ -56463,6 +56461,15 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56463
56461
|
this.matchWidth = false;
|
|
56464
56462
|
this.noHideOnThisFocusLoss = false;
|
|
56465
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
|
+
* @public
|
|
56470
|
+
*/
|
|
56471
|
+
this.noFocusRestoreOnClose = false;
|
|
56472
|
+
|
|
56466
56473
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
56467
56474
|
|
|
56468
56475
|
// Layout Config
|
|
@@ -56636,25 +56643,22 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56636
56643
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
56637
56644
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
56638
56645
|
if (slot) {
|
|
56639
|
-
const assigned = slot.assignedElements(
|
|
56646
|
+
const assigned = slot.assignedElements();
|
|
56640
56647
|
for (const el of assigned) {
|
|
56641
56648
|
if (el.hasAttribute('disabled')) {
|
|
56642
56649
|
continue;
|
|
56643
56650
|
}
|
|
56644
|
-
|
|
56645
|
-
//
|
|
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).
|
|
56646
56655
|
const descendants = getFocusableElements$3(el);
|
|
56647
56656
|
if (descendants.length > 0) {
|
|
56648
56657
|
descendants[0].focus();
|
|
56649
56658
|
return;
|
|
56650
56659
|
}
|
|
56651
|
-
|
|
56652
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
56653
|
-
const prevActive = document.activeElement;
|
|
56654
56660
|
el.focus();
|
|
56655
|
-
|
|
56656
|
-
return;
|
|
56657
|
-
}
|
|
56661
|
+
return;
|
|
56658
56662
|
}
|
|
56659
56663
|
}
|
|
56660
56664
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -57114,7 +57118,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
57114
57118
|
}
|
|
57115
57119
|
|
|
57116
57120
|
const eventType = event.detail.eventType || "unknown";
|
|
57117
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
57121
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
57118
57122
|
this.focusTrigger();
|
|
57119
57123
|
}
|
|
57120
57124
|
|
|
@@ -57122,9 +57126,9 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
57122
57126
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
57123
57127
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
57124
57128
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
57125
|
-
// When
|
|
57129
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
57126
57130
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
57127
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
57131
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
57128
57132
|
// wait til the bib gets fully closed and rendered
|
|
57129
57133
|
setTimeout(() => {
|
|
57130
57134
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -60364,7 +60368,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
|
|
|
60364
60368
|
}
|
|
60365
60369
|
};
|
|
60366
60370
|
|
|
60367
|
-
var formkitVersion$5 = '
|
|
60371
|
+
var formkitVersion$5 = '202607160801';
|
|
60368
60372
|
|
|
60369
60373
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
60370
60374
|
// See LICENSE in the project root for license information.
|
|
@@ -62129,7 +62133,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
|
|
|
62129
62133
|
}
|
|
62130
62134
|
};
|
|
62131
62135
|
|
|
62132
|
-
var formkitVersion$4 = '
|
|
62136
|
+
var formkitVersion$4 = '202607160801';
|
|
62133
62137
|
|
|
62134
62138
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
62135
62139
|
// See LICENSE in the project root for license information.
|
|
@@ -67442,7 +67446,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
67442
67446
|
}
|
|
67443
67447
|
};
|
|
67444
67448
|
|
|
67445
|
-
var formkitVersion$2 = '
|
|
67449
|
+
var formkitVersion$2 = '202607160801';
|
|
67446
67450
|
|
|
67447
67451
|
let AuroElement$2$1 = class AuroElement extends i$3 {
|
|
67448
67452
|
static get properties() {
|
|
@@ -67582,6 +67586,15 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67582
67586
|
this.matchWidth = false;
|
|
67583
67587
|
this.noHideOnThisFocusLoss = false;
|
|
67584
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
|
+
* @public
|
|
67595
|
+
*/
|
|
67596
|
+
this.noFocusRestoreOnClose = false;
|
|
67597
|
+
|
|
67585
67598
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
67586
67599
|
|
|
67587
67600
|
// Layout Config
|
|
@@ -67755,25 +67768,22 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67755
67768
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
67756
67769
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
67757
67770
|
if (slot) {
|
|
67758
|
-
const assigned = slot.assignedElements(
|
|
67771
|
+
const assigned = slot.assignedElements();
|
|
67759
67772
|
for (const el of assigned) {
|
|
67760
67773
|
if (el.hasAttribute('disabled')) {
|
|
67761
67774
|
continue;
|
|
67762
67775
|
}
|
|
67763
|
-
|
|
67764
|
-
//
|
|
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).
|
|
67765
67780
|
const descendants = getFocusableElements$2(el);
|
|
67766
67781
|
if (descendants.length > 0) {
|
|
67767
67782
|
descendants[0].focus();
|
|
67768
67783
|
return;
|
|
67769
67784
|
}
|
|
67770
|
-
|
|
67771
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
67772
|
-
const prevActive = document.activeElement;
|
|
67773
67785
|
el.focus();
|
|
67774
|
-
|
|
67775
|
-
return;
|
|
67776
|
-
}
|
|
67786
|
+
return;
|
|
67777
67787
|
}
|
|
67778
67788
|
}
|
|
67779
67789
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -68233,7 +68243,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
68233
68243
|
}
|
|
68234
68244
|
|
|
68235
68245
|
const eventType = event.detail.eventType || "unknown";
|
|
68236
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
68246
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
68237
68247
|
this.focusTrigger();
|
|
68238
68248
|
}
|
|
68239
68249
|
|
|
@@ -68241,9 +68251,9 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
68241
68251
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
68242
68252
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
68243
68253
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
68244
|
-
// When
|
|
68254
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
68245
68255
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
68246
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
68256
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
68247
68257
|
// wait til the bib gets fully closed and rendered
|
|
68248
68258
|
setTimeout(() => {
|
|
68249
68259
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -81109,7 +81119,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
|
|
|
81109
81119
|
}
|
|
81110
81120
|
};
|
|
81111
81121
|
|
|
81112
|
-
var formkitVersion$1$1 = '
|
|
81122
|
+
var formkitVersion$1$1 = '202607160801';
|
|
81113
81123
|
|
|
81114
81124
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
81115
81125
|
// See LICENSE in the project root for license information.
|
|
@@ -81403,15 +81413,11 @@ class AuroInput extends BaseInput {
|
|
|
81403
81413
|
// Check for any element (including custom elements like <auro-icon>
|
|
81404
81414
|
// that render via shadow DOM with no text content).
|
|
81405
81415
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
81406
|
-
|
|
81416
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
81407
81417
|
lightDomContent.textContent.trim().length > 0 ||
|
|
81408
81418
|
lightDomContent.children.length > 0 ||
|
|
81409
81419
|
lightDomContent.shadowRoot !== null
|
|
81410
81420
|
));
|
|
81411
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
81412
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
81413
|
-
this.requestUpdate();
|
|
81414
|
-
}
|
|
81415
81421
|
return;
|
|
81416
81422
|
}
|
|
81417
81423
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -82261,7 +82267,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
82261
82267
|
}
|
|
82262
82268
|
};
|
|
82263
82269
|
|
|
82264
|
-
var formkitVersion$3 = '
|
|
82270
|
+
var formkitVersion$3 = '202607160801';
|
|
82265
82271
|
|
|
82266
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}`;
|
|
82267
82273
|
|
|
@@ -83318,30 +83324,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83318
83324
|
// human-readable label (e.g. "Seattle, WA"). For consumers where
|
|
83319
83325
|
// value ≠ label, this produces a brief flash of the raw value until
|
|
83320
83326
|
// the option elements load and updateTriggerTextDisplay re-runs with
|
|
83321
|
-
// the correct label.
|
|
83322
|
-
|
|
83323
|
-
//
|
|
83324
|
-
|
|
83325
|
-
|
|
83326
|
-
|
|
83327
|
-
|
|
83328
|
-
return node.textContent.trim().length > 0;
|
|
83329
|
-
}
|
|
83330
|
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
83331
|
-
return node.textContent.trim().length > 0 ||
|
|
83332
|
-
node.children.length > 0 ||
|
|
83333
|
-
node.shadowRoot !== null;
|
|
83334
|
-
}
|
|
83335
|
-
return false;
|
|
83336
|
-
}));
|
|
83337
|
-
|
|
83338
|
-
if (!hasSlottedDisplayValue) {
|
|
83339
|
-
const syntheticDV = document.createElement('span');
|
|
83340
|
-
syntheticDV.setAttribute('slot', 'displayValue');
|
|
83341
|
-
syntheticDV.textContent = this.value;
|
|
83342
|
-
this.input.appendChild(syntheticDV);
|
|
83343
|
-
}
|
|
83344
|
-
|
|
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);
|
|
83345
83334
|
if (typeof this.input.checkDisplayValueSlotChange === 'function') {
|
|
83346
83335
|
this.input.checkDisplayValueSlotChange();
|
|
83347
83336
|
this.input.requestUpdate();
|
|
@@ -83517,6 +83506,10 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
83517
83506
|
// from combobox's light DOM and won't be detected by dropdown's contains() check.
|
|
83518
83507
|
this.dropdown.noHideOnThisFocusLoss = true;
|
|
83519
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
|
+
|
|
83520
83513
|
// Listen for the ID to be added to the dropdown so we can capture it and use it for accessibility.
|
|
83521
83514
|
this.dropdown.addEventListener('auroDropdown-idAdded', (event) => {
|
|
83522
83515
|
this.dropdownId = event.detail.id;
|
|
@@ -91135,7 +91128,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
91135
91128
|
}
|
|
91136
91129
|
};
|
|
91137
91130
|
|
|
91138
|
-
var formkitVersion$1 = '
|
|
91131
|
+
var formkitVersion$1 = '202607160801';
|
|
91139
91132
|
|
|
91140
91133
|
class AuroElement extends i$3 {
|
|
91141
91134
|
static get properties() {
|
|
@@ -91275,6 +91268,15 @@ class AuroDropdown extends AuroElement {
|
|
|
91275
91268
|
this.matchWidth = false;
|
|
91276
91269
|
this.noHideOnThisFocusLoss = false;
|
|
91277
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
|
+
* @public
|
|
91277
|
+
*/
|
|
91278
|
+
this.noFocusRestoreOnClose = false;
|
|
91279
|
+
|
|
91278
91280
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
91279
91281
|
|
|
91280
91282
|
// Layout Config
|
|
@@ -91448,25 +91450,22 @@ class AuroDropdown extends AuroElement {
|
|
|
91448
91450
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
91449
91451
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
91450
91452
|
if (slot) {
|
|
91451
|
-
const assigned = slot.assignedElements(
|
|
91453
|
+
const assigned = slot.assignedElements();
|
|
91452
91454
|
for (const el of assigned) {
|
|
91453
91455
|
if (el.hasAttribute('disabled')) {
|
|
91454
91456
|
continue;
|
|
91455
91457
|
}
|
|
91456
|
-
|
|
91457
|
-
//
|
|
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).
|
|
91458
91462
|
const descendants = getFocusableElements(el);
|
|
91459
91463
|
if (descendants.length > 0) {
|
|
91460
91464
|
descendants[0].focus();
|
|
91461
91465
|
return;
|
|
91462
91466
|
}
|
|
91463
|
-
|
|
91464
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
91465
|
-
const prevActive = document.activeElement;
|
|
91466
91467
|
el.focus();
|
|
91467
|
-
|
|
91468
|
-
return;
|
|
91469
|
-
}
|
|
91468
|
+
return;
|
|
91470
91469
|
}
|
|
91471
91470
|
}
|
|
91472
91471
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -91926,7 +91925,7 @@ class AuroDropdown extends AuroElement {
|
|
|
91926
91925
|
}
|
|
91927
91926
|
|
|
91928
91927
|
const eventType = event.detail.eventType || "unknown";
|
|
91929
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
91928
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
91930
91929
|
this.focusTrigger();
|
|
91931
91930
|
}
|
|
91932
91931
|
|
|
@@ -91934,9 +91933,9 @@ class AuroDropdown extends AuroElement {
|
|
|
91934
91933
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
91935
91934
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
91936
91935
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
91937
|
-
// When
|
|
91936
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
91938
91937
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
91939
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
91938
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
91940
91939
|
// wait til the bib gets fully closed and rendered
|
|
91941
91940
|
setTimeout(() => {
|
|
91942
91941
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -93222,7 +93221,7 @@ class AuroHelpText extends i$3 {
|
|
|
93222
93221
|
}
|
|
93223
93222
|
}
|
|
93224
93223
|
|
|
93225
|
-
var formkitVersion = '
|
|
93224
|
+
var formkitVersion = '202607160801';
|
|
93226
93225
|
|
|
93227
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}`;
|
|
93228
93227
|
|