@aurodesignsystem-dev/auro-formkit 0.0.0-pr1554.19 → 0.0.0-pr1554.2
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 +13 -54
- package/components/combobox/demo/getting-started.min.js +13 -54
- package/components/combobox/demo/index.min.js +13 -54
- package/components/combobox/dist/index.js +13 -54
- package/components/combobox/dist/registered.js +13 -54
- package/components/counter/demo/customize.min.js +9 -31
- package/components/counter/demo/index.min.js +9 -31
- package/components/counter/dist/index.js +9 -31
- package/components/counter/dist/registered.js +9 -31
- package/components/datepicker/demo/customize.min.js +11 -50
- package/components/datepicker/demo/index.min.js +11 -50
- package/components/datepicker/dist/index.js +11 -50
- package/components/datepicker/dist/registered.js +11 -50
- package/components/dropdown/demo/api.md +0 -1
- package/components/dropdown/demo/customize.min.js +8 -30
- package/components/dropdown/demo/getting-started.min.js +8 -30
- package/components/dropdown/demo/index.min.js +8 -30
- package/components/dropdown/dist/auro-dropdown.d.ts +0 -8
- package/components/dropdown/dist/index.js +8 -30
- package/components/dropdown/dist/registered.js +8 -30
- package/components/form/demo/customize.min.js +46 -187
- package/components/form/demo/getting-started.min.js +46 -187
- package/components/form/demo/index.min.js +46 -187
- package/components/form/demo/registerDemoDeps.min.js +46 -187
- package/components/input/demo/customize.min.js +2 -19
- package/components/input/demo/getting-started.min.js +2 -19
- package/components/input/demo/index.min.js +2 -19
- package/components/input/dist/index.js +2 -19
- package/components/input/dist/registered.js +2 -19
- 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 +9 -31
- package/components/select/demo/getting-started.min.js +9 -31
- package/components/select/demo/index.min.js +9 -31
- package/components/select/dist/index.js +9 -31
- package/components/select/dist/registered.js +9 -31
- package/custom-elements.json +1517 -1527
- 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 = '202607160501';
|
|
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.
|
|
@@ -12627,18 +12627,6 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
12627
12627
|
checkDisplayValueSlotChange() {
|
|
12628
12628
|
const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
|
|
12629
12629
|
if (!slot) {
|
|
12630
|
-
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
12631
|
-
// children so hasDisplayValueContent isn't stuck false when called
|
|
12632
|
-
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
12633
|
-
// Check for any element (including custom elements like <auro-icon>
|
|
12634
|
-
// that render via shadow DOM with no text content).
|
|
12635
|
-
const lightDomNodes = Array.from(this.querySelectorAll('[slot="displayValue"]:not(slot)'));
|
|
12636
|
-
this.hasDisplayValueContent = lightDomNodes.some((node) => (
|
|
12637
|
-
node.textContent.trim().length > 0 ||
|
|
12638
|
-
node.children.length > 0 ||
|
|
12639
|
-
node.shadowRoot !== null
|
|
12640
|
-
));
|
|
12641
|
-
this.requestUpdate();
|
|
12642
12630
|
return;
|
|
12643
12631
|
}
|
|
12644
12632
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -12649,20 +12637,15 @@ let AuroInput$2 = class AuroInput extends BaseInput$2 {
|
|
|
12649
12637
|
// displayValue wrapper to render (with hasContent class) but show
|
|
12650
12638
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
12651
12639
|
// being visible on preset/deeplink load.
|
|
12652
|
-
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
12653
|
-
// treated as content even when they have no text or light-DOM children.
|
|
12654
12640
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
12655
12641
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
12656
12642
|
return node.textContent.trim().length > 0;
|
|
12657
12643
|
}
|
|
12658
12644
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
12659
|
-
return node.textContent.trim().length > 0 ||
|
|
12660
|
-
node.children.length > 0 ||
|
|
12661
|
-
node.shadowRoot !== null;
|
|
12645
|
+
return node.textContent.trim().length > 0 || node.children.length > 0;
|
|
12662
12646
|
}
|
|
12663
12647
|
return false;
|
|
12664
12648
|
});
|
|
12665
|
-
this.requestUpdate();
|
|
12666
12649
|
}
|
|
12667
12650
|
|
|
12668
12651
|
firstUpdated() {
|
|
@@ -26765,7 +26748,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$2 {
|
|
|
26765
26748
|
}
|
|
26766
26749
|
};
|
|
26767
26750
|
|
|
26768
|
-
var formkitVersion$2$1 = '
|
|
26751
|
+
var formkitVersion$2$1 = '202607160501';
|
|
26769
26752
|
|
|
26770
26753
|
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}
|
|
26771
26754
|
`,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}}
|
|
@@ -32493,7 +32476,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$2 {
|
|
|
32493
32476
|
}
|
|
32494
32477
|
};
|
|
32495
32478
|
|
|
32496
|
-
var formkitVersion$1$3 = '
|
|
32479
|
+
var formkitVersion$1$3 = '202607160501';
|
|
32497
32480
|
|
|
32498
32481
|
let AuroElement$2$2 = class AuroElement extends i$2 {
|
|
32499
32482
|
static get properties() {
|
|
@@ -32633,15 +32616,6 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
32633
32616
|
this.matchWidth = false;
|
|
32634
32617
|
this.noHideOnThisFocusLoss = false;
|
|
32635
32618
|
|
|
32636
|
-
/**
|
|
32637
|
-
* When true, the dropdown skips its generic focus restoration on close.
|
|
32638
|
-
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
32639
|
-
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
32640
|
-
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
32641
|
-
* @public
|
|
32642
|
-
*/
|
|
32643
|
-
this.noFocusRestoreOnClose = false;
|
|
32644
|
-
|
|
32645
32619
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
32646
32620
|
|
|
32647
32621
|
// Layout Config
|
|
@@ -32816,23 +32790,10 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
32816
32790
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
32817
32791
|
if (slot) {
|
|
32818
32792
|
const assigned = slot.assignedElements();
|
|
32819
|
-
|
|
32820
|
-
|
|
32821
|
-
|
|
32822
|
-
|
|
32823
|
-
// Try finding a focusable descendant first (handles non-focusable
|
|
32824
|
-
// wrappers like <div> containing a <button>). If none found, try
|
|
32825
|
-
// focusing the element directly (works for custom elements like
|
|
32826
|
-
// auro-input that have delegatesFocus or a custom focus() method).
|
|
32827
|
-
const descendants = getFocusableElements$4(el);
|
|
32828
|
-
if (descendants.length > 0) {
|
|
32829
|
-
descendants[0].focus();
|
|
32830
|
-
return;
|
|
32831
|
-
}
|
|
32832
|
-
el.focus();
|
|
32833
|
-
if (document.activeElement === el) {
|
|
32834
|
-
return;
|
|
32835
|
-
}
|
|
32793
|
+
const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
|
|
32794
|
+
if (focusable) {
|
|
32795
|
+
focusable.focus();
|
|
32796
|
+
return;
|
|
32836
32797
|
}
|
|
32837
32798
|
}
|
|
32838
32799
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -33292,7 +33253,7 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33292
33253
|
}
|
|
33293
33254
|
|
|
33294
33255
|
const eventType = event.detail.eventType || "unknown";
|
|
33295
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown"
|
|
33256
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
33296
33257
|
this.focusTrigger();
|
|
33297
33258
|
}
|
|
33298
33259
|
|
|
@@ -33300,9 +33261,9 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
|
|
|
33300
33261
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
33301
33262
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
33302
33263
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
33303
|
-
// When
|
|
33264
|
+
// When noHideOnThisFocusLoss is true, the consumer (e.g. combobox) manages
|
|
33304
33265
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
33305
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
33266
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noHideOnThisFocusLoss) {
|
|
33306
33267
|
// wait til the bib gets fully closed and rendered
|
|
33307
33268
|
setTimeout(() => {
|
|
33308
33269
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -46168,7 +46129,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$2 {
|
|
|
46168
46129
|
}
|
|
46169
46130
|
};
|
|
46170
46131
|
|
|
46171
|
-
var formkitVersion$7 = '
|
|
46132
|
+
var formkitVersion$7 = '202607160501';
|
|
46172
46133
|
|
|
46173
46134
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
46174
46135
|
// See LICENSE in the project root for license information.
|
|
@@ -46456,18 +46417,6 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
46456
46417
|
checkDisplayValueSlotChange() {
|
|
46457
46418
|
const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
|
|
46458
46419
|
if (!slot) {
|
|
46459
|
-
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
46460
|
-
// children so hasDisplayValueContent isn't stuck false when called
|
|
46461
|
-
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
46462
|
-
// Check for any element (including custom elements like <auro-icon>
|
|
46463
|
-
// that render via shadow DOM with no text content).
|
|
46464
|
-
const lightDomNodes = Array.from(this.querySelectorAll('[slot="displayValue"]:not(slot)'));
|
|
46465
|
-
this.hasDisplayValueContent = lightDomNodes.some((node) => (
|
|
46466
|
-
node.textContent.trim().length > 0 ||
|
|
46467
|
-
node.children.length > 0 ||
|
|
46468
|
-
node.shadowRoot !== null
|
|
46469
|
-
));
|
|
46470
|
-
this.requestUpdate();
|
|
46471
46420
|
return;
|
|
46472
46421
|
}
|
|
46473
46422
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -46478,20 +46427,15 @@ let AuroInput$1 = class AuroInput extends BaseInput$1 {
|
|
|
46478
46427
|
// displayValue wrapper to render (with hasContent class) but show
|
|
46479
46428
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
46480
46429
|
// being visible on preset/deeplink load.
|
|
46481
|
-
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
46482
|
-
// treated as content even when they have no text or light-DOM children.
|
|
46483
46430
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
46484
46431
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
46485
46432
|
return node.textContent.trim().length > 0;
|
|
46486
46433
|
}
|
|
46487
46434
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
46488
|
-
return node.textContent.trim().length > 0 ||
|
|
46489
|
-
node.children.length > 0 ||
|
|
46490
|
-
node.shadowRoot !== null;
|
|
46435
|
+
return node.textContent.trim().length > 0 || node.children.length > 0;
|
|
46491
46436
|
}
|
|
46492
46437
|
return false;
|
|
46493
46438
|
});
|
|
46494
|
-
this.requestUpdate();
|
|
46495
46439
|
}
|
|
46496
46440
|
|
|
46497
46441
|
firstUpdated() {
|
|
@@ -51138,7 +51082,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$2 {
|
|
|
51138
51082
|
}
|
|
51139
51083
|
};
|
|
51140
51084
|
|
|
51141
|
-
var formkitVersion$1$2 = '
|
|
51085
|
+
var formkitVersion$1$2 = '202607160501';
|
|
51142
51086
|
|
|
51143
51087
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
51144
51088
|
// See LICENSE in the project root for license information.
|
|
@@ -55286,7 +55230,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$2 {
|
|
|
55286
55230
|
}
|
|
55287
55231
|
};
|
|
55288
55232
|
|
|
55289
|
-
var formkitVersion$6 = '
|
|
55233
|
+
var formkitVersion$6 = '202607160501';
|
|
55290
55234
|
|
|
55291
55235
|
let AuroElement$1$2 = class AuroElement extends i$2 {
|
|
55292
55236
|
static get properties() {
|
|
@@ -55426,15 +55370,6 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
55426
55370
|
this.matchWidth = false;
|
|
55427
55371
|
this.noHideOnThisFocusLoss = false;
|
|
55428
55372
|
|
|
55429
|
-
/**
|
|
55430
|
-
* When true, the dropdown skips its generic focus restoration on close.
|
|
55431
|
-
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
55432
|
-
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
55433
|
-
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
55434
|
-
* @public
|
|
55435
|
-
*/
|
|
55436
|
-
this.noFocusRestoreOnClose = false;
|
|
55437
|
-
|
|
55438
55373
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
55439
55374
|
|
|
55440
55375
|
// Layout Config
|
|
@@ -55609,23 +55544,10 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
55609
55544
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
55610
55545
|
if (slot) {
|
|
55611
55546
|
const assigned = slot.assignedElements();
|
|
55612
|
-
|
|
55613
|
-
|
|
55614
|
-
|
|
55615
|
-
|
|
55616
|
-
// Try finding a focusable descendant first (handles non-focusable
|
|
55617
|
-
// wrappers like <div> containing a <button>). If none found, try
|
|
55618
|
-
// focusing the element directly (works for custom elements like
|
|
55619
|
-
// auro-input that have delegatesFocus or a custom focus() method).
|
|
55620
|
-
const descendants = getFocusableElements$3(el);
|
|
55621
|
-
if (descendants.length > 0) {
|
|
55622
|
-
descendants[0].focus();
|
|
55623
|
-
return;
|
|
55624
|
-
}
|
|
55625
|
-
el.focus();
|
|
55626
|
-
if (document.activeElement === el) {
|
|
55627
|
-
return;
|
|
55628
|
-
}
|
|
55547
|
+
const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
|
|
55548
|
+
if (focusable) {
|
|
55549
|
+
focusable.focus();
|
|
55550
|
+
return;
|
|
55629
55551
|
}
|
|
55630
55552
|
}
|
|
55631
55553
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -56085,7 +56007,7 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56085
56007
|
}
|
|
56086
56008
|
|
|
56087
56009
|
const eventType = event.detail.eventType || "unknown";
|
|
56088
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown"
|
|
56010
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
56089
56011
|
this.focusTrigger();
|
|
56090
56012
|
}
|
|
56091
56013
|
|
|
@@ -56093,9 +56015,9 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
|
|
|
56093
56015
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
56094
56016
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
56095
56017
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
56096
|
-
// When
|
|
56018
|
+
// When noHideOnThisFocusLoss is true, the consumer (e.g. combobox) manages
|
|
56097
56019
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
56098
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
56020
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noHideOnThisFocusLoss) {
|
|
56099
56021
|
// wait til the bib gets fully closed and rendered
|
|
56100
56022
|
setTimeout(() => {
|
|
56101
56023
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -59335,7 +59257,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$2 {
|
|
|
59335
59257
|
}
|
|
59336
59258
|
};
|
|
59337
59259
|
|
|
59338
|
-
var formkitVersion$5 = '
|
|
59260
|
+
var formkitVersion$5 = '202607160501';
|
|
59339
59261
|
|
|
59340
59262
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
59341
59263
|
// See LICENSE in the project root for license information.
|
|
@@ -61100,7 +61022,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$2 {
|
|
|
61100
61022
|
}
|
|
61101
61023
|
};
|
|
61102
61024
|
|
|
61103
|
-
var formkitVersion$4 = '
|
|
61025
|
+
var formkitVersion$4 = '202607160501';
|
|
61104
61026
|
|
|
61105
61027
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
61106
61028
|
// See LICENSE in the project root for license information.
|
|
@@ -66413,7 +66335,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$2 {
|
|
|
66413
66335
|
}
|
|
66414
66336
|
};
|
|
66415
66337
|
|
|
66416
|
-
var formkitVersion$2 = '
|
|
66338
|
+
var formkitVersion$2 = '202607160501';
|
|
66417
66339
|
|
|
66418
66340
|
let AuroElement$2$1 = class AuroElement extends i$2 {
|
|
66419
66341
|
static get properties() {
|
|
@@ -66553,15 +66475,6 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
66553
66475
|
this.matchWidth = false;
|
|
66554
66476
|
this.noHideOnThisFocusLoss = false;
|
|
66555
66477
|
|
|
66556
|
-
/**
|
|
66557
|
-
* When true, the dropdown skips its generic focus restoration on close.
|
|
66558
|
-
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
66559
|
-
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
66560
|
-
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
66561
|
-
* @public
|
|
66562
|
-
*/
|
|
66563
|
-
this.noFocusRestoreOnClose = false;
|
|
66564
|
-
|
|
66565
66478
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
66566
66479
|
|
|
66567
66480
|
// Layout Config
|
|
@@ -66736,23 +66649,10 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
66736
66649
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
66737
66650
|
if (slot) {
|
|
66738
66651
|
const assigned = slot.assignedElements();
|
|
66739
|
-
|
|
66740
|
-
|
|
66741
|
-
|
|
66742
|
-
|
|
66743
|
-
// Try finding a focusable descendant first (handles non-focusable
|
|
66744
|
-
// wrappers like <div> containing a <button>). If none found, try
|
|
66745
|
-
// focusing the element directly (works for custom elements like
|
|
66746
|
-
// auro-input that have delegatesFocus or a custom focus() method).
|
|
66747
|
-
const descendants = getFocusableElements$2(el);
|
|
66748
|
-
if (descendants.length > 0) {
|
|
66749
|
-
descendants[0].focus();
|
|
66750
|
-
return;
|
|
66751
|
-
}
|
|
66752
|
-
el.focus();
|
|
66753
|
-
if (document.activeElement === el) {
|
|
66754
|
-
return;
|
|
66755
|
-
}
|
|
66652
|
+
const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
|
|
66653
|
+
if (focusable) {
|
|
66654
|
+
focusable.focus();
|
|
66655
|
+
return;
|
|
66756
66656
|
}
|
|
66757
66657
|
}
|
|
66758
66658
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -67212,7 +67112,7 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67212
67112
|
}
|
|
67213
67113
|
|
|
67214
67114
|
const eventType = event.detail.eventType || "unknown";
|
|
67215
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown"
|
|
67115
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
67216
67116
|
this.focusTrigger();
|
|
67217
67117
|
}
|
|
67218
67118
|
|
|
@@ -67220,9 +67120,9 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
|
|
|
67220
67120
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
67221
67121
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
67222
67122
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
67223
|
-
// When
|
|
67123
|
+
// When noHideOnThisFocusLoss is true, the consumer (e.g. combobox) manages
|
|
67224
67124
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
67225
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
67125
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noHideOnThisFocusLoss) {
|
|
67226
67126
|
// wait til the bib gets fully closed and rendered
|
|
67227
67127
|
setTimeout(() => {
|
|
67228
67128
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -80088,7 +79988,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$2 {
|
|
|
80088
79988
|
}
|
|
80089
79989
|
};
|
|
80090
79990
|
|
|
80091
|
-
var formkitVersion$1$1 = '
|
|
79991
|
+
var formkitVersion$1$1 = '202607160501';
|
|
80092
79992
|
|
|
80093
79993
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
80094
79994
|
// See LICENSE in the project root for license information.
|
|
@@ -80376,18 +80276,6 @@ class AuroInput extends BaseInput {
|
|
|
80376
80276
|
checkDisplayValueSlotChange() {
|
|
80377
80277
|
const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
|
|
80378
80278
|
if (!slot) {
|
|
80379
|
-
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
80380
|
-
// children so hasDisplayValueContent isn't stuck false when called
|
|
80381
|
-
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
80382
|
-
// Check for any element (including custom elements like <auro-icon>
|
|
80383
|
-
// that render via shadow DOM with no text content).
|
|
80384
|
-
const lightDomNodes = Array.from(this.querySelectorAll('[slot="displayValue"]:not(slot)'));
|
|
80385
|
-
this.hasDisplayValueContent = lightDomNodes.some((node) => (
|
|
80386
|
-
node.textContent.trim().length > 0 ||
|
|
80387
|
-
node.children.length > 0 ||
|
|
80388
|
-
node.shadowRoot !== null
|
|
80389
|
-
));
|
|
80390
|
-
this.requestUpdate();
|
|
80391
80279
|
return;
|
|
80392
80280
|
}
|
|
80393
80281
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -80398,20 +80286,15 @@ class AuroInput extends BaseInput {
|
|
|
80398
80286
|
// displayValue wrapper to render (with hasContent class) but show
|
|
80399
80287
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
80400
80288
|
// being visible on preset/deeplink load.
|
|
80401
|
-
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
80402
|
-
// treated as content even when they have no text or light-DOM children.
|
|
80403
80289
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
80404
80290
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
80405
80291
|
return node.textContent.trim().length > 0;
|
|
80406
80292
|
}
|
|
80407
80293
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
80408
|
-
return node.textContent.trim().length > 0 ||
|
|
80409
|
-
node.children.length > 0 ||
|
|
80410
|
-
node.shadowRoot !== null;
|
|
80294
|
+
return node.textContent.trim().length > 0 || node.children.length > 0;
|
|
80411
80295
|
}
|
|
80412
80296
|
return false;
|
|
80413
80297
|
});
|
|
80414
|
-
this.requestUpdate();
|
|
80415
80298
|
}
|
|
80416
80299
|
|
|
80417
80300
|
firstUpdated() {
|
|
@@ -81238,7 +81121,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$2 {
|
|
|
81238
81121
|
}
|
|
81239
81122
|
};
|
|
81240
81123
|
|
|
81241
|
-
var formkitVersion$3 = '
|
|
81124
|
+
var formkitVersion$3 = '202607160501';
|
|
81242
81125
|
|
|
81243
81126
|
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}`;
|
|
81244
81127
|
|
|
@@ -82283,6 +82166,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82283
82166
|
// hidden when input.value is set in the same tick as the append.
|
|
82284
82167
|
if (typeof this.input.checkDisplayValueSlotChange === 'function') {
|
|
82285
82168
|
this.input.checkDisplayValueSlotChange();
|
|
82169
|
+
this.input.requestUpdate();
|
|
82286
82170
|
}
|
|
82287
82171
|
} else if (this.value) {
|
|
82288
82172
|
// No optionSelected yet (e.g. setMenuValue was called but the menu's
|
|
@@ -82303,6 +82187,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82303
82187
|
this.input.appendChild(syntheticDV);
|
|
82304
82188
|
if (typeof this.input.checkDisplayValueSlotChange === 'function') {
|
|
82305
82189
|
this.input.checkDisplayValueSlotChange();
|
|
82190
|
+
this.input.requestUpdate();
|
|
82306
82191
|
}
|
|
82307
82192
|
}
|
|
82308
82193
|
|
|
@@ -82475,10 +82360,6 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
82475
82360
|
// from combobox's light DOM and won't be detected by dropdown's contains() check.
|
|
82476
82361
|
this.dropdown.noHideOnThisFocusLoss = true;
|
|
82477
82362
|
|
|
82478
|
-
// Suppress the dropdown's generic focus restoration on close — the combobox
|
|
82479
|
-
// manages its own focus via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
82480
|
-
this.dropdown.noFocusRestoreOnClose = true;
|
|
82481
|
-
|
|
82482
82363
|
// Listen for the ID to be added to the dropdown so we can capture it and use it for accessibility.
|
|
82483
82364
|
this.dropdown.addEventListener('auroDropdown-idAdded', (event) => {
|
|
82484
82365
|
this.dropdownId = event.detail.id;
|
|
@@ -90097,7 +89978,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
90097
89978
|
}
|
|
90098
89979
|
};
|
|
90099
89980
|
|
|
90100
|
-
var formkitVersion$1 = '
|
|
89981
|
+
var formkitVersion$1 = '202607160501';
|
|
90101
89982
|
|
|
90102
89983
|
class AuroElement extends i$2 {
|
|
90103
89984
|
static get properties() {
|
|
@@ -90237,15 +90118,6 @@ class AuroDropdown extends AuroElement {
|
|
|
90237
90118
|
this.matchWidth = false;
|
|
90238
90119
|
this.noHideOnThisFocusLoss = false;
|
|
90239
90120
|
|
|
90240
|
-
/**
|
|
90241
|
-
* When true, the dropdown skips its generic focus restoration on close.
|
|
90242
|
-
* Set by consumers (e.g. combobox) that manage their own focus routing
|
|
90243
|
-
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
90244
|
-
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
90245
|
-
* @public
|
|
90246
|
-
*/
|
|
90247
|
-
this.noFocusRestoreOnClose = false;
|
|
90248
|
-
|
|
90249
90121
|
this.errorMessage = undefined; // TODO - check with Doug if there is still more to do here
|
|
90250
90122
|
|
|
90251
90123
|
// Layout Config
|
|
@@ -90420,23 +90292,10 @@ class AuroDropdown extends AuroElement {
|
|
|
90420
90292
|
const slot = this.trigger.querySelector('slot[name="trigger"]');
|
|
90421
90293
|
if (slot) {
|
|
90422
90294
|
const assigned = slot.assignedElements();
|
|
90423
|
-
|
|
90424
|
-
|
|
90425
|
-
|
|
90426
|
-
|
|
90427
|
-
// Try finding a focusable descendant first (handles non-focusable
|
|
90428
|
-
// wrappers like <div> containing a <button>). If none found, try
|
|
90429
|
-
// focusing the element directly (works for custom elements like
|
|
90430
|
-
// auro-input that have delegatesFocus or a custom focus() method).
|
|
90431
|
-
const descendants = getFocusableElements(el);
|
|
90432
|
-
if (descendants.length > 0) {
|
|
90433
|
-
descendants[0].focus();
|
|
90434
|
-
return;
|
|
90435
|
-
}
|
|
90436
|
-
el.focus();
|
|
90437
|
-
if (document.activeElement === el) {
|
|
90438
|
-
return;
|
|
90439
|
-
}
|
|
90295
|
+
const focusable = assigned.find((el) => !el.hasAttribute('disabled'));
|
|
90296
|
+
if (focusable) {
|
|
90297
|
+
focusable.focus();
|
|
90298
|
+
return;
|
|
90440
90299
|
}
|
|
90441
90300
|
}
|
|
90442
90301
|
// Fallback: try DOM children (non-slotted content)
|
|
@@ -90896,7 +90755,7 @@ class AuroDropdown extends AuroElement {
|
|
|
90896
90755
|
}
|
|
90897
90756
|
|
|
90898
90757
|
const eventType = event.detail.eventType || "unknown";
|
|
90899
|
-
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown"
|
|
90758
|
+
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
90900
90759
|
this.focusTrigger();
|
|
90901
90760
|
}
|
|
90902
90761
|
|
|
@@ -90904,9 +90763,9 @@ class AuroDropdown extends AuroElement {
|
|
|
90904
90763
|
// On Tab-driven close (eventType "focusloss"), let focus advance naturally
|
|
90905
90764
|
// — restoring to the trigger would trap the user on this dropdown, forcing
|
|
90906
90765
|
// an extra Tab to move on. Escape and outside-click still restore.
|
|
90907
|
-
// When
|
|
90766
|
+
// When noHideOnThisFocusLoss is true, the consumer (e.g. combobox) manages
|
|
90908
90767
|
// its own focus restoration — skip the generic trigger focus to avoid races.
|
|
90909
|
-
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.
|
|
90768
|
+
if (!this.isPopoverVisible && eventType !== "focusloss" && !this.noHideOnThisFocusLoss) {
|
|
90910
90769
|
// wait til the bib gets fully closed and rendered
|
|
90911
90770
|
setTimeout(() => {
|
|
90912
90771
|
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
@@ -92192,7 +92051,7 @@ class AuroHelpText extends i$2 {
|
|
|
92192
92051
|
}
|
|
92193
92052
|
}
|
|
92194
92053
|
|
|
92195
|
-
var formkitVersion = '
|
|
92054
|
+
var formkitVersion = '202607160501';
|
|
92196
92055
|
|
|
92197
92056
|
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}`;
|
|
92198
92057
|
|
|
@@ -12268,7 +12268,7 @@ class AuroHelpText extends i$3 {
|
|
|
12268
12268
|
}
|
|
12269
12269
|
}
|
|
12270
12270
|
|
|
12271
|
-
var formkitVersion = '
|
|
12271
|
+
var formkitVersion = '202607160501';
|
|
12272
12272
|
|
|
12273
12273
|
/**
|
|
12274
12274
|
* @license
|
|
@@ -12568,18 +12568,6 @@ class AuroInput extends BaseInput {
|
|
|
12568
12568
|
checkDisplayValueSlotChange() {
|
|
12569
12569
|
const slot = this.shadowRoot?.querySelector('slot[name="displayValue"]');
|
|
12570
12570
|
if (!slot) {
|
|
12571
|
-
// Shadow slot not yet rendered — fall back to checking light-DOM
|
|
12572
|
-
// children so hasDisplayValueContent isn't stuck false when called
|
|
12573
|
-
// before firstUpdated (e.g. from auro-combobox during mount).
|
|
12574
|
-
// Check for any element (including custom elements like <auro-icon>
|
|
12575
|
-
// that render via shadow DOM with no text content).
|
|
12576
|
-
const lightDomNodes = Array.from(this.querySelectorAll('[slot="displayValue"]:not(slot)'));
|
|
12577
|
-
this.hasDisplayValueContent = lightDomNodes.some((node) => (
|
|
12578
|
-
node.textContent.trim().length > 0 ||
|
|
12579
|
-
node.children.length > 0 ||
|
|
12580
|
-
node.shadowRoot !== null
|
|
12581
|
-
));
|
|
12582
|
-
this.requestUpdate();
|
|
12583
12571
|
return;
|
|
12584
12572
|
}
|
|
12585
12573
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
@@ -12590,20 +12578,15 @@ class AuroInput extends BaseInput {
|
|
|
12590
12578
|
// displayValue wrapper to render (with hasContent class) but show
|
|
12591
12579
|
// nothing, blocking the combobox's synthetic displayValue from
|
|
12592
12580
|
// being visible on preset/deeplink load.
|
|
12593
|
-
// Custom elements (e.g. <auro-icon>) that render via shadow DOM are
|
|
12594
|
-
// treated as content even when they have no text or light-DOM children.
|
|
12595
12581
|
this.hasDisplayValueContent = nodes.some((node) => {
|
|
12596
12582
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
12597
12583
|
return node.textContent.trim().length > 0;
|
|
12598
12584
|
}
|
|
12599
12585
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
12600
|
-
return node.textContent.trim().length > 0 ||
|
|
12601
|
-
node.children.length > 0 ||
|
|
12602
|
-
node.shadowRoot !== null;
|
|
12586
|
+
return node.textContent.trim().length > 0 || node.children.length > 0;
|
|
12603
12587
|
}
|
|
12604
12588
|
return false;
|
|
12605
12589
|
});
|
|
12606
|
-
this.requestUpdate();
|
|
12607
12590
|
}
|
|
12608
12591
|
|
|
12609
12592
|
firstUpdated() {
|