@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
|
@@ -12339,7 +12339,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$2 {
|
|
|
12339
12339
|
}
|
|
12340
12340
|
};
|
|
12341
12341
|
|
|
12342
|
-
var formkitVersion$8 = '
|
|
12342
|
+
var formkitVersion$8 = '202607160801';
|
|
12343
12343
|
|
|
12344
12344
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12345
12345
|
// See LICENSE in the project root for license information.
|
|
@@ -12633,15 +12633,11 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
12633
12633
|
// Check for any element (including custom elements like <auro-icon>
|
|
12634
12634
|
// that render via shadow DOM with no text content).
|
|
12635
12635
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
12636
|
-
|
|
12636
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
12637
12637
|
lightDomContent.textContent.trim().length > 0 ||
|
|
12638
12638
|
lightDomContent.children.length > 0 ||
|
|
12639
12639
|
lightDomContent.shadowRoot !== null
|
|
12640
12640
|
));
|
|
12641
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
12642
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
12643
|
-
this.requestUpdate();
|
|
12644
|
-
}
|
|
12645
12641
|
return;
|
|
12646
12642
|
}
|
|
12647
12643
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -26767,7 +26763,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
26767
26763
|
}
|
|
26768
26764
|
};
|
|
26769
26765
|
|
|
26770
|
-
var formkitVersion$2$1 = '
|
|
26766
|
+
var formkitVersion$2$1 = '202607160801';
|
|
26771
26767
|
|
|
26772
26768
|
let l$1$2 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1$2 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1$3=i$4`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
26773
26769
|
`,u$4$2=i$4`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -32495,7 +32491,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
32495
32491
|
}
|
|
32496
32492
|
};
|
|
32497
32493
|
|
|
32498
|
-
var formkitVersion$1$3 = '
|
|
32494
|
+
var formkitVersion$1$3 = '202607160801';
|
|
32499
32495
|
|
|
32500
32496
|
let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
32501
32497
|
static get properties() {
|
|
@@ -32635,6 +32631,15 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
32635
32631
|
this.matchWidth = false;
|
|
32636
32632
|
this.noHideOnThisFocusLoss = false;
|
|
32637
32633
|
|
|
32634
|
+
/**
|
|
32635
|
+
* When true, the dropdown skips its generic focus restoration on close.
|
|
32636
|
+
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
32637
|
+
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
32638
|
+
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
32639
|
+
* @public
|
|
32640
|
+
*/
|
|
32641
|
+
this.noFocusRestoreOnClose = false;
|
|
32642
|
+
|
|
32638
32643
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
32639
32644
|
|
|
32640
32645
|
// Layout Config
|
|
@@ -32808,25 +32813,22 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
32808
32813
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
32809
32814
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
32810
32815
|
if (slot) {
|
|
32811
|
-
const assigned = slot.assignedElements(
|
|
32816
|
+
const assigned = slot.assignedElements();
|
|
32812
32817
|
for (const el of assigned) {
|
|
32813
32818
|
if (el.hasAttribute('disabled')) {
|
|
32814
32819
|
continue;
|
|
32815
32820
|
}
|
|
32816
|
-
|
|
32817
|
-
//
|
|
32821
|
+
// Try finding a focusable descendant first (handles non-focusable
|
|
32822
|
+
// wrappers like <div> containing a <button>). If none found, try
|
|
32823
|
+
// focusing the element directly (works for custom elements like
|
|
32824
|
+
// auro-input that have delegatesFocus or a custom focus() method).
|
|
32818
32825
|
const descendants = getFocusableElements$4(el);
|
|
32819
32826
|
if (descendants.length > 0) {
|
|
32820
32827
|
descendants[0].focus();
|
|
32821
32828
|
return;
|
|
32822
32829
|
}
|
|
32823
|
-
|
|
32824
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
32825
|
-
const prevActive = document.activeElement;
|
|
32826
32830
|
el.focus();
|
|
32827
|
-
|
|
32828
|
-
return;
|
|
32829
|
-
}
|
|
32831
|
+
return;
|
|
32830
32832
|
}
|
|
32831
32833
|
}
|
|
32832
32834
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -33286,7 +33288,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33286
33288
|
}
|
|
33287
33289
|
|
|
33288
33290
|
const eventType = event.detail.eventType || "unknown";
|
|
33289
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
33291
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
33290
33292
|
this.focusTrigger();
|
|
33291
33293
|
}
|
|
33292
33294
|
|
|
@@ -33294,9 +33296,9 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33294
33296
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
33295
33297
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
33296
33298
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
33297
|
-
// When
|
|
33299
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
33298
33300
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
33299
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
33301
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
33300
33302
|
// wait til the bib gets fully closed and rendered
|
|
33301
33303
|
setTimeout(() => {
|
|
33302
33304
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -46162,7 +46164,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
46162
46164
|
}
|
|
46163
46165
|
};
|
|
46164
46166
|
|
|
46165
|
-
var formkitVersion$7 = '
|
|
46167
|
+
var formkitVersion$7 = '202607160801';
|
|
46166
46168
|
|
|
46167
46169
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
46168
46170
|
// See LICENSE in the project root for license information.
|
|
@@ -46456,15 +46458,11 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
46456
46458
|
// Check for any element (including custom elements like <auro-icon>
|
|
46457
46459
|
// that render via shadow DOM with no text content).
|
|
46458
46460
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
46459
|
-
|
|
46461
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
46460
46462
|
lightDomContent.textContent.trim().length > 0 ||
|
|
46461
46463
|
lightDomContent.children.length > 0 ||
|
|
46462
46464
|
lightDomContent.shadowRoot !== null
|
|
46463
46465
|
));
|
|
46464
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
46465
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
46466
|
-
this.requestUpdate();
|
|
46467
|
-
}
|
|
46468
46466
|
return;
|
|
46469
46467
|
}
|
|
46470
46468
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -51134,7 +51132,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
51134
51132
|
}
|
|
51135
51133
|
};
|
|
51136
51134
|
|
|
51137
|
-
var formkitVersion$1$2 = '
|
|
51135
|
+
var formkitVersion$1$2 = '202607160801';
|
|
51138
51136
|
|
|
51139
51137
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
51140
51138
|
// See LICENSE in the project root for license information.
|
|
@@ -55282,7 +55280,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
55282
55280
|
}
|
|
55283
55281
|
};
|
|
55284
55282
|
|
|
55285
|
-
var formkitVersion$6 = '
|
|
55283
|
+
var formkitVersion$6 = '202607160801';
|
|
55286
55284
|
|
|
55287
55285
|
let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
55288
55286
|
static get properties() {
|
|
@@ -55422,6 +55420,15 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
55422
55420
|
this.matchWidth = false;
|
|
55423
55421
|
this.noHideOnThisFocusLoss = false;
|
|
55424
55422
|
|
|
55423
|
+
/**
|
|
55424
|
+
* When true, the dropdown skips its generic focus restoration on close.
|
|
55425
|
+
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
55426
|
+
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
55427
|
+
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
55428
|
+
* @public
|
|
55429
|
+
*/
|
|
55430
|
+
this.noFocusRestoreOnClose = false;
|
|
55431
|
+
|
|
55425
55432
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
55426
55433
|
|
|
55427
55434
|
// Layout Config
|
|
@@ -55595,25 +55602,22 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
55595
55602
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
55596
55603
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
55597
55604
|
if (slot) {
|
|
55598
|
-
const assigned = slot.assignedElements(
|
|
55605
|
+
const assigned = slot.assignedElements();
|
|
55599
55606
|
for (const el of assigned) {
|
|
55600
55607
|
if (el.hasAttribute('disabled')) {
|
|
55601
55608
|
continue;
|
|
55602
55609
|
}
|
|
55603
|
-
|
|
55604
|
-
//
|
|
55610
|
+
// Try finding a focusable descendant first (handles non-focusable
|
|
55611
|
+
// wrappers like <div> containing a <button>). If none found, try
|
|
55612
|
+
// focusing the element directly (works for custom elements like
|
|
55613
|
+
// auro-input that have delegatesFocus or a custom focus() method).
|
|
55605
55614
|
const descendants = getFocusableElements$3(el);
|
|
55606
55615
|
if (descendants.length > 0) {
|
|
55607
55616
|
descendants[0].focus();
|
|
55608
55617
|
return;
|
|
55609
55618
|
}
|
|
55610
|
-
|
|
55611
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
55612
|
-
const prevActive = document.activeElement;
|
|
55613
55619
|
el.focus();
|
|
55614
|
-
|
|
55615
|
-
return;
|
|
55616
|
-
}
|
|
55620
|
+
return;
|
|
55617
55621
|
}
|
|
55618
55622
|
}
|
|
55619
55623
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -56073,7 +56077,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56073
56077
|
}
|
|
56074
56078
|
|
|
56075
56079
|
const eventType = event.detail.eventType || "unknown";
|
|
56076
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
56080
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
56077
56081
|
this.focusTrigger();
|
|
56078
56082
|
}
|
|
56079
56083
|
|
|
@@ -56081,9 +56085,9 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56081
56085
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
56082
56086
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
56083
56087
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
56084
|
-
// When
|
|
56088
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
56085
56089
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
56086
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
56090
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
56087
56091
|
// wait til the bib gets fully closed and rendered
|
|
56088
56092
|
setTimeout(() => {
|
|
56089
56093
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -59323,7 +59327,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
59323
59327
|
}
|
|
59324
59328
|
};
|
|
59325
59329
|
|
|
59326
|
-
var formkitVersion$5 = '
|
|
59330
|
+
var formkitVersion$5 = '202607160801';
|
|
59327
59331
|
|
|
59328
59332
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
59329
59333
|
// See LICENSE in the project root for license information.
|
|
@@ -61088,7 +61092,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
61088
61092
|
}
|
|
61089
61093
|
};
|
|
61090
61094
|
|
|
61091
|
-
var formkitVersion$4 = '
|
|
61095
|
+
var formkitVersion$4 = '202607160801';
|
|
61092
61096
|
|
|
61093
61097
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
61094
61098
|
// See LICENSE in the project root for license information.
|
|
@@ -66401,7 +66405,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
66401
66405
|
}
|
|
66402
66406
|
};
|
|
66403
66407
|
|
|
66404
|
-
var formkitVersion$2 = '
|
|
66408
|
+
var formkitVersion$2 = '202607160801';
|
|
66405
66409
|
|
|
66406
66410
|
let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
66407
66411
|
static get properties() {
|
|
@@ -66541,6 +66545,15 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
66541
66545
|
this.matchWidth = false;
|
|
66542
66546
|
this.noHideOnThisFocusLoss = false;
|
|
66543
66547
|
|
|
66548
|
+
/**
|
|
66549
|
+
* When true, the dropdown skips its generic focus restoration on close.
|
|
66550
|
+
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
66551
|
+
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
66552
|
+
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
66553
|
+
* @public
|
|
66554
|
+
*/
|
|
66555
|
+
this.noFocusRestoreOnClose = false;
|
|
66556
|
+
|
|
66544
66557
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
66545
66558
|
|
|
66546
66559
|
// Layout Config
|
|
@@ -66714,25 +66727,22 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
66714
66727
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
66715
66728
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
66716
66729
|
if (slot) {
|
|
66717
|
-
const assigned = slot.assignedElements(
|
|
66730
|
+
const assigned = slot.assignedElements();
|
|
66718
66731
|
for (const el of assigned) {
|
|
66719
66732
|
if (el.hasAttribute('disabled')) {
|
|
66720
66733
|
continue;
|
|
66721
66734
|
}
|
|
66722
|
-
|
|
66723
|
-
//
|
|
66735
|
+
// Try finding a focusable descendant first (handles non-focusable
|
|
66736
|
+
// wrappers like <div> containing a <button>). If none found, try
|
|
66737
|
+
// focusing the element directly (works for custom elements like
|
|
66738
|
+
// auro-input that have delegatesFocus or a custom focus() method).
|
|
66724
66739
|
const descendants = getFocusableElements$2(el);
|
|
66725
66740
|
if (descendants.length > 0) {
|
|
66726
66741
|
descendants[0].focus();
|
|
66727
66742
|
return;
|
|
66728
66743
|
}
|
|
66729
|
-
|
|
66730
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
66731
|
-
const prevActive = document.activeElement;
|
|
66732
66744
|
el.focus();
|
|
66733
|
-
|
|
66734
|
-
return;
|
|
66735
|
-
}
|
|
66745
|
+
return;
|
|
66736
66746
|
}
|
|
66737
66747
|
}
|
|
66738
66748
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -67192,7 +67202,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67192
67202
|
}
|
|
67193
67203
|
|
|
67194
67204
|
const eventType = event.detail.eventType || "unknown";
|
|
67195
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
67205
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
67196
67206
|
this.focusTrigger();
|
|
67197
67207
|
}
|
|
67198
67208
|
|
|
@@ -67200,9 +67210,9 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67200
67210
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
67201
67211
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
67202
67212
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
67203
|
-
// When
|
|
67213
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
67204
67214
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
67205
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
67215
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
67206
67216
|
// wait til the bib gets fully closed and rendered
|
|
67207
67217
|
setTimeout(() => {
|
|
67208
67218
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -80068,7 +80078,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
80068
80078
|
}
|
|
80069
80079
|
};
|
|
80070
80080
|
|
|
80071
|
-
var formkitVersion$1$1 = '
|
|
80081
|
+
var formkitVersion$1$1 = '202607160801';
|
|
80072
80082
|
|
|
80073
80083
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
80074
80084
|
// See LICENSE in the project root for license information.
|
|
@@ -80362,15 +80372,11 @@ class AuroInput extends BaseInput {
|
|
|
80362
80372
|
// Check for any element (including custom elements like <auro-icon>
|
|
80363
80373
|
// that render via shadow DOM with no text content).
|
|
80364
80374
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
80365
|
-
|
|
80375
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
80366
80376
|
lightDomContent.textContent.trim().length > 0 ||
|
|
80367
80377
|
lightDomContent.children.length > 0 ||
|
|
80368
80378
|
lightDomContent.shadowRoot !== null
|
|
80369
80379
|
));
|
|
80370
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
80371
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
80372
|
-
this.requestUpdate();
|
|
80373
|
-
}
|
|
80374
80380
|
return;
|
|
80375
80381
|
}
|
|
80376
80382
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -81220,7 +81226,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
81220
81226
|
}
|
|
81221
81227
|
};
|
|
81222
81228
|
|
|
81223
|
-
var formkitVersion$3 = '
|
|
81229
|
+
var formkitVersion$3 = '202607160801';
|
|
81224
81230
|
|
|
81225
81231
|
var styleCss$1$3 = i$4`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
81226
81232
|
|
|
@@ -82277,30 +82283,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82277
82283
|
// human-readable label (e.g. "Seattle, WA"). For consumers where
|
|
82278
82284
|
// value ≠ label, this produces a brief flash of the raw value until
|
|
82279
82285
|
// the option elements load and updateTriggerTextDisplay re-runs with
|
|
82280
|
-
// the correct label.
|
|
82281
|
-
|
|
82282
|
-
//
|
|
82283
|
-
|
|
82284
|
-
|
|
82285
|
-
|
|
82286
|
-
|
|
82287
|
-
return node.textContent.trim().length > 0;
|
|
82288
|
-
}
|
|
82289
|
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
82290
|
-
return node.textContent.trim().length > 0 ||
|
|
82291
|
-
node.children.length > 0 ||
|
|
82292
|
-
node.shadowRoot !== null;
|
|
82293
|
-
}
|
|
82294
|
-
return false;
|
|
82295
|
-
}));
|
|
82296
|
-
|
|
82297
|
-
if (!hasSlottedDisplayValue) {
|
|
82298
|
-
const syntheticDV = document.createElement('span');
|
|
82299
|
-
syntheticDV.setAttribute('slot', 'displayValue');
|
|
82300
|
-
syntheticDV.textContent = this.value;
|
|
82301
|
-
this.input.appendChild(syntheticDV);
|
|
82302
|
-
}
|
|
82303
|
-
|
|
82286
|
+
// the correct label. This is intentionally preferred over a blank
|
|
82287
|
+
// state — the displayValueInTrigger.remove() cleanup above ensures
|
|
82288
|
+
// this placeholder is replaced once the real option is available.
|
|
82289
|
+
const syntheticDV = document.createElement('span');
|
|
82290
|
+
syntheticDV.setAttribute('slot', 'displayValue');
|
|
82291
|
+
syntheticDV.textContent = this.value;
|
|
82292
|
+
this.input.appendChild(syntheticDV);
|
|
82304
82293
|
if (typeof this.input.checkDisplayValueSlotChange === 'function') {
|
|
82305
82294
|
this.input.checkDisplayValueSlotChange();
|
|
82306
82295
|
this.input.requestUpdate();
|
|
@@ -82476,6 +82465,10 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82476
82465
|
// from combobox's light DOM and won't be detected by dropdown's contains() check.
|
|
82477
82466
|
this.dropdown.noHideOnThisFocusLoss = true;
|
|
82478
82467
|
|
|
82468
|
+
// Suppress the dropdown's generic focus restoration on close — the combobox
|
|
82469
|
+
// manages its own focus via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
82470
|
+
this.dropdown.noFocusRestoreOnClose = true;
|
|
82471
|
+
|
|
82479
82472
|
// Listen for the ID to be added to the dropdown so we can capture it and use it for accessibility.
|
|
82480
82473
|
this.dropdown.addEventListener('auroDropdown-idAdded', (event) => {
|
|
82481
82474
|
this.dropdownId = event.detail.id;
|
|
@@ -90094,7 +90087,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
90094
90087
|
}
|
|
90095
90088
|
};
|
|
90096
90089
|
|
|
90097
|
-
var formkitVersion$1 = '
|
|
90090
|
+
var formkitVersion$1 = '202607160801';
|
|
90098
90091
|
|
|
90099
90092
|
class AuroElement extends i$2 {
|
|
90100
90093
|
static get properties() {
|
|
@@ -90234,6 +90227,15 @@ class AuroDropdown extends AuroElement {
|
|
|
90234
90227
|
this.matchWidth = false;
|
|
90235
90228
|
this.noHideOnThisFocusLoss = false;
|
|
90236
90229
|
|
|
90230
|
+
/**
|
|
90231
|
+
* When true, the dropdown skips its generic focus restoration on close.
|
|
90232
|
+
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
90233
|
+
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
90234
|
+
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
90235
|
+
* @public
|
|
90236
|
+
*/
|
|
90237
|
+
this.noFocusRestoreOnClose = false;
|
|
90238
|
+
|
|
90237
90239
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
90238
90240
|
|
|
90239
90241
|
// Layout Config
|
|
@@ -90407,25 +90409,22 @@ class AuroDropdown extends AuroElement {
|
|
|
90407
90409
|
// getFocusableElements can't find it. Query assigned nodes directly.
|
|
90408
90410
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
90409
90411
|
if (slot) {
|
|
90410
|
-
const assigned = slot.assignedElements(
|
|
90412
|
+
const assigned = slot.assignedElements();
|
|
90411
90413
|
for (const el of assigned) {
|
|
90412
90414
|
if (el.hasAttribute('disabled')) {
|
|
90413
90415
|
continue;
|
|
90414
90416
|
}
|
|
90415
|
-
|
|
90416
|
-
//
|
|
90417
|
+
// Try finding a focusable descendant first (handles non-focusable
|
|
90418
|
+
// wrappers like <div> containing a <button>). If none found, try
|
|
90419
|
+
// focusing the element directly (works for custom elements like
|
|
90420
|
+
// auro-input that have delegatesFocus or a custom focus() method).
|
|
90417
90421
|
const descendants = getFocusableElements(el);
|
|
90418
90422
|
if (descendants.length > 0) {
|
|
90419
90423
|
descendants[0].focus();
|
|
90420
90424
|
return;
|
|
90421
90425
|
}
|
|
90422
|
-
|
|
90423
|
-
// Otherwise, try focusing the assigned element itself. Only stop if focus moved.
|
|
90424
|
-
const prevActive = document.activeElement;
|
|
90425
90426
|
el.focus();
|
|
90426
|
-
|
|
90427
|
-
return;
|
|
90428
|
-
}
|
|
90427
|
+
return;
|
|
90429
90428
|
}
|
|
90430
90429
|
}
|
|
90431
90430
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -90885,7 +90884,7 @@ class AuroDropdown extends AuroElement {
|
|
|
90885
90884
|
}
|
|
90886
90885
|
|
|
90887
90886
|
const eventType = event.detail.eventType || "unknown";
|
|
90888
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.
|
|
90887
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown" && !this.noFocusRestoreOnClose) {
|
|
90889
90888
|
this.focusTrigger();
|
|
90890
90889
|
}
|
|
90891
90890
|
|
|
@@ -90893,9 +90892,9 @@ class AuroDropdown extends AuroElement {
|
|
|
90893
90892
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
90894
90893
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
90895
90894
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
90896
|
-
// When
|
|
90895
|
+
// When noFocusRestoreOnClose is true, the consumer (e.g. combobox) manages
|
|
90897
90896
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
90898
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
90897
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noFocusRestoreOnClose) {
|
|
90899
90898
|
// wait til the bib gets fully closed and rendered
|
|
90900
90899
|
setTimeout(() => {
|
|
90901
90900
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -92181,7 +92180,7 @@ class AuroHelpText extends i$2 {
|
|
|
92181
92180
|
}
|
|
92182
92181
|
}
|
|
92183
92182
|
|
|
92184
|
-
var formkitVersion = '
|
|
92183
|
+
var formkitVersion = '202607160801';
|
|
92185
92184
|
|
|
92186
92185
|
var styleCss = i$4`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
92187
92186
|
|
|
@@ -12268,7 +12268,7 @@ class AuroHelpText extends i$3 {
|
|
|
12268
12268
|
}
|
|
12269
12269
|
}
|
|
12270
12270
|
|
|
12271
|
-
var formkitVersion = '
|
|
12271
|
+
var formkitVersion = '202607160801';
|
|
12272
12272
|
|
|
12273
12273
|
/**
|
|
12274
12274
|
* @license
|
|
@@ -12574,15 +12574,11 @@ class AuroInput extends BaseInput {
|
|
|
12574
12574
|
// Check for any element (including custom elements like <auro-icon>
|
|
12575
12575
|
// that render via shadow DOM with no text content).
|
|
12576
12576
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
12577
|
-
|
|
12577
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
12578
12578
|
lightDomContent.textContent.trim().length > 0 ||
|
|
12579
12579
|
lightDomContent.children.length > 0 ||
|
|
12580
12580
|
lightDomContent.shadowRoot !== null
|
|
12581
12581
|
));
|
|
12582
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
12583
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
12584
|
-
this.requestUpdate();
|
|
12585
|
-
}
|
|
12586
12582
|
return;
|
|
12587
12583
|
}
|
|
12588
12584
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -12268,7 +12268,7 @@ class AuroHelpText extends i$3 {
|
|
|
12268
12268
|
}
|
|
12269
12269
|
}
|
|
12270
12270
|
|
|
12271
|
-
var formkitVersion = '
|
|
12271
|
+
var formkitVersion = '202607160801';
|
|
12272
12272
|
|
|
12273
12273
|
/**
|
|
12274
12274
|
* @license
|
|
@@ -12574,15 +12574,11 @@ class AuroInput extends BaseInput {
|
|
|
12574
12574
|
// Check for any element (including custom elements like <auro-icon>
|
|
12575
12575
|
// that render via shadow DOM with no text content).
|
|
12576
12576
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
12577
|
-
|
|
12577
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
12578
12578
|
lightDomContent.textContent.trim().length > 0 ||
|
|
12579
12579
|
lightDomContent.children.length > 0 ||
|
|
12580
12580
|
lightDomContent.shadowRoot !== null
|
|
12581
12581
|
));
|
|
12582
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
12583
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
12584
|
-
this.requestUpdate();
|
|
12585
|
-
}
|
|
12586
12582
|
return;
|
|
12587
12583
|
}
|
|
12588
12584
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -12268,7 +12268,7 @@ class AuroHelpText extends i$3 {
|
|
|
12268
12268
|
}
|
|
12269
12269
|
}
|
|
12270
12270
|
|
|
12271
|
-
var formkitVersion = '
|
|
12271
|
+
var formkitVersion = '202607160801';
|
|
12272
12272
|
|
|
12273
12273
|
/**
|
|
12274
12274
|
* @license
|
|
@@ -12574,15 +12574,11 @@ class AuroInput extends BaseInput {
|
|
|
12574
12574
|
// Check for any element (including custom elements like <auro-icon>
|
|
12575
12575
|
// that render via shadow DOM with no text content).
|
|
12576
12576
|
const lightDomContent = this.querySelector('[slot="displayValue"]:not(slot)');
|
|
12577
|
-
|
|
12577
|
+
this.hasDisplayValueContent = Boolean(lightDomContent && (
|
|
12578
12578
|
lightDomContent.textContent.trim().length > 0 ||
|
|
12579
12579
|
lightDomContent.children.length > 0 ||
|
|
12580
12580
|
lightDomContent.shadowRoot !== null
|
|
12581
12581
|
));
|
|
12582
|
-
if (nextHasDisplayValueContent !== this.hasDisplayValueContent) {
|
|
12583
|
-
this.hasDisplayValueContent = nextHasDisplayValueContent;
|
|
12584
|
-
this.requestUpdate();
|
|
12585
|
-
}
|
|
12586
12582
|
return;
|
|
12587
12583
|
}
|
|
12588
12584
|
const nodes = slot.assignedNodes({ flatten: true });
|