@aurodesignsystem-dev/auro-formkit 0.0.0-pr1431.2 → 0.0.0-pr1433.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/api.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/api.min.js +235 -47
- package/components/combobox/demo/index.min.js +235 -47
- package/components/combobox/dist/auro-combobox.d.ts +4 -0
- package/components/combobox/dist/index.js +144 -24
- package/components/combobox/dist/registered.js +144 -24
- package/components/counter/demo/api.min.js +30 -2
- package/components/counter/demo/index.min.js +30 -2
- package/components/counter/dist/index.js +30 -2
- package/components/counter/dist/registered.js +30 -2
- package/components/datepicker/demo/api.min.js +33 -3
- package/components/datepicker/demo/index.min.js +33 -3
- package/components/datepicker/dist/index.js +33 -3
- package/components/datepicker/dist/registered.js +33 -3
- package/components/dropdown/demo/api.min.js +29 -1
- package/components/dropdown/demo/index.min.js +29 -1
- package/components/dropdown/dist/index.js +29 -1
- package/components/dropdown/dist/registered.js +29 -1
- package/components/form/demo/api.min.js +331 -57
- package/components/form/demo/index.min.js +331 -57
- package/components/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/api.min.js +91 -23
- package/components/menu/demo/index.min.js +91 -23
- package/components/menu/dist/auro-menuoption.d.ts +2 -0
- package/components/menu/dist/index.js +91 -23
- package/components/menu/dist/registered.js +91 -23
- package/components/radio/demo/api.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/api.min.js +121 -25
- package/components/select/demo/index.min.js +121 -25
- package/components/select/dist/index.js +30 -2
- package/components/select/dist/registered.js +30 -2
- package/custom-elements.json +422 -411
- package/package.json +2 -2
|
@@ -7470,7 +7470,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$4 {
|
|
|
7470
7470
|
}
|
|
7471
7471
|
};
|
|
7472
7472
|
|
|
7473
|
-
var formkitVersion$8 = '
|
|
7473
|
+
var formkitVersion$8 = '202604100244';
|
|
7474
7474
|
|
|
7475
7475
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7476
7476
|
// See LICENSE in the project root for license information.
|
|
@@ -17392,7 +17392,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$4 {
|
|
|
17392
17392
|
}
|
|
17393
17393
|
};
|
|
17394
17394
|
|
|
17395
|
-
var formkitVersion$2$1 = '
|
|
17395
|
+
var formkitVersion$2$1 = '202604100244';
|
|
17396
17396
|
|
|
17397
17397
|
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$3`${s$6(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$7`: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}
|
|
17398
17398
|
`,u$4$2=i$7`.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}}
|
|
@@ -19664,6 +19664,7 @@ let AuroFloatingUI$3 = class AuroFloatingUI {
|
|
|
19664
19664
|
this.focusHandler = null;
|
|
19665
19665
|
this.clickHandler = null;
|
|
19666
19666
|
this.keyDownHandler = null;
|
|
19667
|
+
this.touchHandler = null;
|
|
19667
19668
|
|
|
19668
19669
|
/**
|
|
19669
19670
|
* @private
|
|
@@ -20081,6 +20082,28 @@ let AuroFloatingUI$3 = class AuroFloatingUI {
|
|
|
20081
20082
|
setTimeout(() => {
|
|
20082
20083
|
window.addEventListener("click", this.clickHandler);
|
|
20083
20084
|
}, 0);
|
|
20085
|
+
|
|
20086
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
20087
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
20088
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
20089
|
+
this.touchHandler = (evt) => {
|
|
20090
|
+
const element = this.element;
|
|
20091
|
+
if (!element?.bib) {
|
|
20092
|
+
return;
|
|
20093
|
+
}
|
|
20094
|
+
|
|
20095
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
20096
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
20097
|
+
return;
|
|
20098
|
+
}
|
|
20099
|
+
|
|
20100
|
+
const path = evt.composedPath();
|
|
20101
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
20102
|
+
this.hideBib("click");
|
|
20103
|
+
}
|
|
20104
|
+
};
|
|
20105
|
+
|
|
20106
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
20084
20107
|
}
|
|
20085
20108
|
|
|
20086
20109
|
cleanupHideHandlers() {
|
|
@@ -20096,6 +20119,11 @@ let AuroFloatingUI$3 = class AuroFloatingUI {
|
|
|
20096
20119
|
this.clickHandler = null;
|
|
20097
20120
|
}
|
|
20098
20121
|
|
|
20122
|
+
if (this.touchHandler) {
|
|
20123
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
20124
|
+
this.touchHandler = null;
|
|
20125
|
+
}
|
|
20126
|
+
|
|
20099
20127
|
if (this.keyDownHandler) {
|
|
20100
20128
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
20101
20129
|
this.keyDownHandler = null;
|
|
@@ -21570,7 +21598,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$4 {
|
|
|
21570
21598
|
}
|
|
21571
21599
|
};
|
|
21572
21600
|
|
|
21573
|
-
var formkitVersion$1$3 = '
|
|
21601
|
+
var formkitVersion$1$3 = '202604100244';
|
|
21574
21602
|
|
|
21575
21603
|
let AuroElement$2$2 = class AuroElement extends i$4 {
|
|
21576
21604
|
static get properties() {
|
|
@@ -29327,7 +29355,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$4 {
|
|
|
29327
29355
|
}
|
|
29328
29356
|
};
|
|
29329
29357
|
|
|
29330
|
-
var formkitVersion$7 = '
|
|
29358
|
+
var formkitVersion$7 = '202604100244';
|
|
29331
29359
|
|
|
29332
29360
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
29333
29361
|
// See LICENSE in the project root for license information.
|
|
@@ -31436,6 +31464,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
31436
31464
|
// is already inert when the modal opens. noHideOnThisFocusLoss
|
|
31437
31465
|
// prevents the floater from closing the bib when focus leaves.
|
|
31438
31466
|
this.dropdown.trigger.inert = true;
|
|
31467
|
+
this.dropdown.noHideOnThisFocusLoss = true;
|
|
31439
31468
|
|
|
31440
31469
|
// The dropdown sets disableFocusTrap, so its own updated() lifecycle
|
|
31441
31470
|
// opens the dialog as non-modal (dialog.setAttribute('open', '')).
|
|
@@ -31468,6 +31497,7 @@ class AuroDatePicker extends AuroElement$5 {
|
|
|
31468
31497
|
// still has focus (e.g. Escape, date selected) — not when the user tabbed away,
|
|
31469
31498
|
// which would pull them back and require extra Tab presses to escape.
|
|
31470
31499
|
this.dropdown.trigger.inert = false;
|
|
31500
|
+
this.dropdown.noHideOnThisFocusLoss = false;
|
|
31471
31501
|
if (this.hasFocus) {
|
|
31472
31502
|
requestAnimationFrame(() => {
|
|
31473
31503
|
if (!this.dropdown.isPopoverVisible) {
|
|
@@ -33984,7 +34014,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
33984
34014
|
}
|
|
33985
34015
|
};
|
|
33986
34016
|
|
|
33987
|
-
var formkitVersion$1$2 = '
|
|
34017
|
+
var formkitVersion$1$2 = '202604100244';
|
|
33988
34018
|
|
|
33989
34019
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
33990
34020
|
// See LICENSE in the project root for license information.
|
|
@@ -36244,6 +36274,7 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
36244
36274
|
this.focusHandler = null;
|
|
36245
36275
|
this.clickHandler = null;
|
|
36246
36276
|
this.keyDownHandler = null;
|
|
36277
|
+
this.touchHandler = null;
|
|
36247
36278
|
|
|
36248
36279
|
/**
|
|
36249
36280
|
* @private
|
|
@@ -36661,6 +36692,28 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
36661
36692
|
setTimeout(() => {
|
|
36662
36693
|
window.addEventListener("click", this.clickHandler);
|
|
36663
36694
|
}, 0);
|
|
36695
|
+
|
|
36696
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
36697
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
36698
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
36699
|
+
this.touchHandler = (evt) => {
|
|
36700
|
+
const element = this.element;
|
|
36701
|
+
if (!element?.bib) {
|
|
36702
|
+
return;
|
|
36703
|
+
}
|
|
36704
|
+
|
|
36705
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
36706
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
36707
|
+
return;
|
|
36708
|
+
}
|
|
36709
|
+
|
|
36710
|
+
const path = evt.composedPath();
|
|
36711
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
36712
|
+
this.hideBib("click");
|
|
36713
|
+
}
|
|
36714
|
+
};
|
|
36715
|
+
|
|
36716
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
36664
36717
|
}
|
|
36665
36718
|
|
|
36666
36719
|
cleanupHideHandlers() {
|
|
@@ -36676,6 +36729,11 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
36676
36729
|
this.clickHandler = null;
|
|
36677
36730
|
}
|
|
36678
36731
|
|
|
36732
|
+
if (this.touchHandler) {
|
|
36733
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
36734
|
+
this.touchHandler = null;
|
|
36735
|
+
}
|
|
36736
|
+
|
|
36679
36737
|
if (this.keyDownHandler) {
|
|
36680
36738
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
36681
36739
|
this.keyDownHandler = null;
|
|
@@ -38150,7 +38208,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
38150
38208
|
}
|
|
38151
38209
|
};
|
|
38152
38210
|
|
|
38153
|
-
var formkitVersion$6 = '
|
|
38211
|
+
var formkitVersion$6 = '202604100244';
|
|
38154
38212
|
|
|
38155
38213
|
let AuroElement$1$2 = class AuroElement extends i$4 {
|
|
38156
38214
|
static get properties() {
|
|
@@ -42242,7 +42300,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
42242
42300
|
}
|
|
42243
42301
|
};
|
|
42244
42302
|
|
|
42245
|
-
var formkitVersion$5 = '
|
|
42303
|
+
var formkitVersion$5 = '202604100244';
|
|
42246
42304
|
|
|
42247
42305
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
42248
42306
|
// See LICENSE in the project root for license information.
|
|
@@ -44411,7 +44469,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
44411
44469
|
}
|
|
44412
44470
|
};
|
|
44413
44471
|
|
|
44414
|
-
var formkitVersion$4 = '
|
|
44472
|
+
var formkitVersion$4 = '202604100244';
|
|
44415
44473
|
|
|
44416
44474
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
44417
44475
|
// See LICENSE in the project root for license information.
|
|
@@ -47965,6 +48023,7 @@ let AuroFloatingUI$1 = class AuroFloatingUI {
|
|
|
47965
48023
|
this.focusHandler = null;
|
|
47966
48024
|
this.clickHandler = null;
|
|
47967
48025
|
this.keyDownHandler = null;
|
|
48026
|
+
this.touchHandler = null;
|
|
47968
48027
|
|
|
47969
48028
|
/**
|
|
47970
48029
|
* @private
|
|
@@ -48382,6 +48441,28 @@ let AuroFloatingUI$1 = class AuroFloatingUI {
|
|
|
48382
48441
|
setTimeout(() => {
|
|
48383
48442
|
window.addEventListener("click", this.clickHandler);
|
|
48384
48443
|
}, 0);
|
|
48444
|
+
|
|
48445
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
48446
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
48447
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
48448
|
+
this.touchHandler = (evt) => {
|
|
48449
|
+
const element = this.element;
|
|
48450
|
+
if (!element?.bib) {
|
|
48451
|
+
return;
|
|
48452
|
+
}
|
|
48453
|
+
|
|
48454
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
48455
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
48456
|
+
return;
|
|
48457
|
+
}
|
|
48458
|
+
|
|
48459
|
+
const path = evt.composedPath();
|
|
48460
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
48461
|
+
this.hideBib("click");
|
|
48462
|
+
}
|
|
48463
|
+
};
|
|
48464
|
+
|
|
48465
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
48385
48466
|
}
|
|
48386
48467
|
|
|
48387
48468
|
cleanupHideHandlers() {
|
|
@@ -48397,6 +48478,11 @@ let AuroFloatingUI$1 = class AuroFloatingUI {
|
|
|
48397
48478
|
this.clickHandler = null;
|
|
48398
48479
|
}
|
|
48399
48480
|
|
|
48481
|
+
if (this.touchHandler) {
|
|
48482
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
48483
|
+
this.touchHandler = null;
|
|
48484
|
+
}
|
|
48485
|
+
|
|
48400
48486
|
if (this.keyDownHandler) {
|
|
48401
48487
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
48402
48488
|
this.keyDownHandler = null;
|
|
@@ -49871,7 +49957,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
49871
49957
|
}
|
|
49872
49958
|
};
|
|
49873
49959
|
|
|
49874
|
-
var formkitVersion$2 = '
|
|
49960
|
+
var formkitVersion$2 = '202604100244';
|
|
49875
49961
|
|
|
49876
49962
|
let AuroElement$2$1 = class AuroElement extends i$4 {
|
|
49877
49963
|
static get properties() {
|
|
@@ -57628,7 +57714,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
57628
57714
|
}
|
|
57629
57715
|
};
|
|
57630
57716
|
|
|
57631
|
-
var formkitVersion$1$1 = '
|
|
57717
|
+
var formkitVersion$1$1 = '202604100244';
|
|
57632
57718
|
|
|
57633
57719
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
57634
57720
|
// See LICENSE in the project root for license information.
|
|
@@ -58693,11 +58779,11 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$4 {
|
|
|
58693
58779
|
}
|
|
58694
58780
|
};
|
|
58695
58781
|
|
|
58696
|
-
var formkitVersion$3 = '
|
|
58782
|
+
var formkitVersion$3 = '202604100244';
|
|
58697
58783
|
|
|
58698
58784
|
var styleCss$1$3 = i$7`.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}`;
|
|
58699
58785
|
|
|
58700
|
-
var styleEmphasizedCss$2 = i$7`:host([layout*=emphasized][shape*=pill]) [auro-input]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}:host([layout=emphasized]) [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown]:hover{--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown][layout*=emphasized]::part(wrapper){--ds-auro-dropdown-trigger-background-color: transparent}`;
|
|
58786
|
+
var styleEmphasizedCss$2 = i$7`:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]::part(inputHelpText){display:none}:host([layout=emphasized]) [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown]:hover{--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown][layout*=emphasized]::part(wrapper){--ds-auro-dropdown-trigger-background-color: transparent}`;
|
|
58701
58787
|
|
|
58702
58788
|
var styleSnowflakeCss$2 = i$7`:host([layout*=snowflake][shape*=snowflake]) [auro-input]{width:100%}:host([layout*=snowflake][shape*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake][shape*=snowflake])::part(helpText){text-align:center}`;
|
|
58703
58789
|
|
|
@@ -59556,7 +59642,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
59556
59642
|
* @returns {void}
|
|
59557
59643
|
*/
|
|
59558
59644
|
activateFirstEnabledAvailableOption() {
|
|
59559
|
-
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.
|
|
59645
|
+
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.hasAttribute('nomatch'));
|
|
59560
59646
|
this.updateActiveOption(firstEnabledOptionIndex);
|
|
59561
59647
|
}
|
|
59562
59648
|
|
|
@@ -59570,7 +59656,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
59570
59656
|
|
|
59571
59657
|
// Work backwards through the available options array to find the last enabled option
|
|
59572
59658
|
for (let index = this.availableOptions.length - 1; index >= 0; index -= 1) {
|
|
59573
|
-
if (!this.availableOptions[index].disabled && !this.availableOptions[index].
|
|
59659
|
+
if (!this.availableOptions[index].disabled && !this.availableOptions[index].hasAttribute('nomatch')) {
|
|
59574
59660
|
lastEnabledOptionIndex = index;
|
|
59575
59661
|
break;
|
|
59576
59662
|
}
|
|
@@ -59655,14 +59741,18 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
59655
59741
|
/**
|
|
59656
59742
|
* Update displayValue or input.value, it's called when making a selection.
|
|
59657
59743
|
* @param {string} label - The label of the selected option.
|
|
59744
|
+
* @param {object} [options={}] - Optional display update settings.
|
|
59745
|
+
* @param {boolean} [options.force=false] - Force display sync while focused.
|
|
59658
59746
|
* @private
|
|
59659
59747
|
*/
|
|
59660
|
-
updateTriggerTextDisplay(label) {
|
|
59748
|
+
updateTriggerTextDisplay(label, options = {}) {
|
|
59749
|
+
const { force = false } = options;
|
|
59750
|
+
|
|
59661
59751
|
// update the input content if persistInput is false
|
|
59662
59752
|
// in suggestion mode, do not override input value if no selection has been made and the input currently has focus
|
|
59663
59753
|
const isInputFocusedWithNoSelection = !this.menu.value && (this.input.matches(':focus-within') || (this.inputInBib && this.inputInBib.matches(':focus-within')));
|
|
59664
59754
|
|
|
59665
|
-
if (!this.persistInput && !(this.behavior === 'suggestion' && isInputFocusedWithNoSelection)) {
|
|
59755
|
+
if (!this.persistInput && (force || !(this.behavior === 'suggestion' && isInputFocusedWithNoSelection))) {
|
|
59666
59756
|
this.input.value = label || this.value;
|
|
59667
59757
|
}
|
|
59668
59758
|
|
|
@@ -59739,6 +59829,13 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
59739
59829
|
* @returns {void}
|
|
59740
59830
|
*/
|
|
59741
59831
|
showBib() {
|
|
59832
|
+
// Do not auto-open from programmatic value/option updates when the
|
|
59833
|
+
// combobox is not focused. User-driven interactions still open normally
|
|
59834
|
+
// once focus enters the component.
|
|
59835
|
+
if (!this.componentHasFocus && !this.dropdown.isPopoverVisible) {
|
|
59836
|
+
return;
|
|
59837
|
+
}
|
|
59838
|
+
|
|
59742
59839
|
if (!this.input.value && !this.dropdown.isBibFullscreen) {
|
|
59743
59840
|
this.dropdown.hide();
|
|
59744
59841
|
return;
|
|
@@ -60027,6 +60124,25 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
60027
60124
|
|
|
60028
60125
|
// Handle menu option selection like select does
|
|
60029
60126
|
this.menu.addEventListener('auroMenu-selectedOption', (event) => {
|
|
60127
|
+
const hasMatchingOptionForValue =
|
|
60128
|
+
typeof this.value === 'string' &&
|
|
60129
|
+
this.value.length > 0 &&
|
|
60130
|
+
this.menu && Array.isArray(this.menu.options) &&
|
|
60131
|
+
this.menu.options.some((opt) => opt.value === this.value);
|
|
60132
|
+
|
|
60133
|
+
const isInitNoMatch = event.detail && event.detail.reason === 'no-match' &&
|
|
60134
|
+
this.menu && this.menu.options && this.menu.options.length === 0 &&
|
|
60135
|
+
typeof this.value === 'string' &&
|
|
60136
|
+
this.value.length > 0;
|
|
60137
|
+
|
|
60138
|
+
const isTransientProgrammaticNoMatch = event.detail && event.detail.reason === 'no-match' &&
|
|
60139
|
+
this._suppressNextEmptyInputClear &&
|
|
60140
|
+
hasMatchingOptionForValue;
|
|
60141
|
+
|
|
60142
|
+
if (isInitNoMatch || isTransientProgrammaticNoMatch) {
|
|
60143
|
+
return;
|
|
60144
|
+
}
|
|
60145
|
+
|
|
60030
60146
|
// Update the optionSelected from the event details, not manually
|
|
60031
60147
|
[this.optionSelected] = event.detail.options;
|
|
60032
60148
|
|
|
@@ -60202,7 +60318,18 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
60202
60318
|
}
|
|
60203
60319
|
|
|
60204
60320
|
if (!this.input.value) {
|
|
60205
|
-
this.
|
|
60321
|
+
const hasCommittedValue = typeof this.value === 'string' && this.value.length > 0;
|
|
60322
|
+
const hasCommittedSelection = Boolean(this.menu && this.menu.optionSelected);
|
|
60323
|
+
const isBlurSideEffect = !this.componentHasFocus && !this.dropdownOpen;
|
|
60324
|
+
const isTransientEmptyInputEvent = this._suppressNextEmptyInputClear && (!event || !event.detail || event.detail.value === null || event.detail.value === undefined);
|
|
60325
|
+
|
|
60326
|
+
// Preserve a committed value when an empty input event is emitted as a
|
|
60327
|
+
// side effect of focus leaving the combobox (e.g., clicking a swap
|
|
60328
|
+
// control between two comboboxes). User-driven empty input while focused
|
|
60329
|
+
// should still clear as before.
|
|
60330
|
+
if (!(isTransientEmptyInputEvent || (isBlurSideEffect && hasCommittedValue && hasCommittedSelection))) {
|
|
60331
|
+
this.clear();
|
|
60332
|
+
}
|
|
60206
60333
|
}
|
|
60207
60334
|
this.handleMenuOptions();
|
|
60208
60335
|
|
|
@@ -60385,6 +60512,19 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
60385
60512
|
}
|
|
60386
60513
|
|
|
60387
60514
|
updated(changedProperties) {
|
|
60515
|
+
if (changedProperties.has('typedValue')) {
|
|
60516
|
+
const nextTypedValue = this.typedValue === null || this.typedValue === undefined ? '' : this.typedValue;
|
|
60517
|
+
if (this.input && this.input.value !== nextTypedValue) {
|
|
60518
|
+
this.input.value = nextTypedValue;
|
|
60519
|
+
}
|
|
60520
|
+
if (this.inputInBib && this.inputInBib.value !== nextTypedValue) {
|
|
60521
|
+
this.inputInBib.value = nextTypedValue;
|
|
60522
|
+
}
|
|
60523
|
+
if (this.menu) {
|
|
60524
|
+
this.menu.matchWord = normalizeFilterValue(nextTypedValue);
|
|
60525
|
+
}
|
|
60526
|
+
}
|
|
60527
|
+
|
|
60388
60528
|
// After the component is ready, send direct value changes to auro-menu.
|
|
60389
60529
|
if (changedProperties.has('value')) {
|
|
60390
60530
|
if (this.value && this.value.length > 0) {
|
|
@@ -60412,6 +60552,19 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
60412
60552
|
this.clear();
|
|
60413
60553
|
}
|
|
60414
60554
|
}
|
|
60555
|
+
|
|
60556
|
+
// Keep trigger text synced after value/menu state has settled. Force the
|
|
60557
|
+
// update so external programmatic swaps reflect immediately in the UI
|
|
60558
|
+
// even if the input still technically holds focus during the same tick.
|
|
60559
|
+
if (this.value) {
|
|
60560
|
+
const selectedOption = this.menu && this.menu.optionSelected;
|
|
60561
|
+
const hasMatchingSelectedOption = selectedOption && selectedOption.value === this.value;
|
|
60562
|
+
const selectedOptionLabel = (selectedOption && selectedOption.getAttribute('label')) || (selectedOption && selectedOption.textContent ? selectedOption.textContent.trim() : undefined);
|
|
60563
|
+
const nextDisplayLabel = hasMatchingSelectedOption ? (selectedOptionLabel || this.value) : this.value;
|
|
60564
|
+
|
|
60565
|
+
this.updateTriggerTextDisplay(nextDisplayLabel, { force: true });
|
|
60566
|
+
}
|
|
60567
|
+
|
|
60415
60568
|
if (this.value && !this.componentHasFocus) {
|
|
60416
60569
|
// If the value got set programmatically make sure we hide the bib
|
|
60417
60570
|
// when input is not taking the focus (input can be in dropdown.trigger or in bibtemplate)
|
|
@@ -60423,22 +60576,47 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
60423
60576
|
this.menu.matchWord = normalizeFilterValue(this.input.value);
|
|
60424
60577
|
}
|
|
60425
60578
|
|
|
60426
|
-
|
|
60427
|
-
|
|
60428
|
-
|
|
60429
|
-
|
|
60430
|
-
|
|
60431
|
-
|
|
60432
|
-
|
|
60433
|
-
|
|
60434
|
-
|
|
60579
|
+
// Only dispatch 'input' when the value transition is meaningful — at least one
|
|
60580
|
+
// of old/new must be a non-empty string. Skipping the event when both are
|
|
60581
|
+
// empty/undefined prevents a feedback loop during SPA navigation where Lit's
|
|
60582
|
+
// initial update cycle fires before the parent framework (e.g. Svelte) has
|
|
60583
|
+
// had a chance to set the preselected value as a property. Without this
|
|
60584
|
+
// guard the event arrives with el.value === undefined, the surrounding
|
|
60585
|
+
// framework reads it as '' and writes that back, permanently obscuring the
|
|
60586
|
+
// intended preselected value.
|
|
60587
|
+
const _oldValue = changedProperties.get('value');
|
|
60588
|
+
const _oldIsNonEmpty = typeof _oldValue === 'string' && _oldValue.length > 0;
|
|
60589
|
+
const _newIsNonEmpty = typeof this.value === 'string' && this.value.length > 0;
|
|
60590
|
+
|
|
60591
|
+
if (_newIsNonEmpty && this.menu && Array.isArray(this.menu.options) && this.menu.options.some((opt) => opt.value === this.value)) {
|
|
60592
|
+
this._suppressNextEmptyInputClear = true;
|
|
60593
|
+
clearTimeout(this._suppressNextEmptyInputClearTimeout);
|
|
60594
|
+
const suppressNextEmptyInputClearDelay = 300;
|
|
60595
|
+
this._suppressNextEmptyInputClearTimeout = setTimeout(() => {
|
|
60596
|
+
this._suppressNextEmptyInputClear = false;
|
|
60597
|
+
}, suppressNextEmptyInputClearDelay);
|
|
60598
|
+
} else {
|
|
60599
|
+
this._suppressNextEmptyInputClear = false;
|
|
60600
|
+
}
|
|
60435
60601
|
|
|
60436
|
-
|
|
60437
|
-
|
|
60438
|
-
|
|
60439
|
-
|
|
60440
|
-
|
|
60441
|
-
|
|
60602
|
+
if (_oldIsNonEmpty || _newIsNonEmpty) {
|
|
60603
|
+
this.dispatchEvent(new CustomEvent('input', {
|
|
60604
|
+
bubbles: true,
|
|
60605
|
+
cancelable: false,
|
|
60606
|
+
composed: true,
|
|
60607
|
+
detail: {
|
|
60608
|
+
optionSelected: this.menu.optionSelected,
|
|
60609
|
+
value: this.menu.value
|
|
60610
|
+
}
|
|
60611
|
+
}));
|
|
60612
|
+
|
|
60613
|
+
// Deprecated, need to be removed.
|
|
60614
|
+
this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
|
|
60615
|
+
bubbles: true,
|
|
60616
|
+
cancelable: false,
|
|
60617
|
+
composed: true,
|
|
60618
|
+
}));
|
|
60619
|
+
}
|
|
60442
60620
|
}
|
|
60443
60621
|
|
|
60444
60622
|
if (changedProperties.has('availableOptions')) {
|
|
@@ -61058,6 +61236,7 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61058
61236
|
this.selected = false;
|
|
61059
61237
|
this.noCheckmark = false;
|
|
61060
61238
|
this.disabled = false;
|
|
61239
|
+
this.noMatch = false;
|
|
61061
61240
|
|
|
61062
61241
|
/**
|
|
61063
61242
|
* @private
|
|
@@ -61138,7 +61317,8 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61138
61317
|
*/
|
|
61139
61318
|
noMatch: {
|
|
61140
61319
|
type: Boolean,
|
|
61141
|
-
reflect: true
|
|
61320
|
+
reflect: true,
|
|
61321
|
+
attribute: 'nomatch'
|
|
61142
61322
|
},
|
|
61143
61323
|
|
|
61144
61324
|
/**
|
|
@@ -61238,7 +61418,7 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61238
61418
|
this.setAttribute('aria-selected', this.selected.toString());
|
|
61239
61419
|
|
|
61240
61420
|
// Update menu service selection state if this isn't an internal update
|
|
61241
|
-
if (this.internalUpdateInProgress !== true) {
|
|
61421
|
+
if (this.internalUpdateInProgress !== true && this.menuService) {
|
|
61242
61422
|
this.menuService[this.selected ? 'selectOption' : 'deselectOption'](this);
|
|
61243
61423
|
}
|
|
61244
61424
|
}
|
|
@@ -61273,9 +61453,10 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61273
61453
|
}
|
|
61274
61454
|
|
|
61275
61455
|
disconnectedCallback() {
|
|
61276
|
-
|
|
61277
|
-
|
|
61278
|
-
|
|
61456
|
+
const { menuService } = this;
|
|
61457
|
+
if (menuService) {
|
|
61458
|
+
menuService.unsubscribe(this.handleMenuChange);
|
|
61459
|
+
menuService.removeMenuOption(this);
|
|
61279
61460
|
}
|
|
61280
61461
|
}
|
|
61281
61462
|
|
|
@@ -61444,9 +61625,11 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61444
61625
|
* @private
|
|
61445
61626
|
*/
|
|
61446
61627
|
handleMouseEnter() {
|
|
61447
|
-
|
|
61448
|
-
|
|
61628
|
+
const { menuService } = this;
|
|
61629
|
+
if (!menuService || this.disabled) {
|
|
61630
|
+
return;
|
|
61449
61631
|
}
|
|
61632
|
+
menuService.setHighlightedOption(this);
|
|
61450
61633
|
}
|
|
61451
61634
|
|
|
61452
61635
|
/**
|
|
@@ -61850,10 +62033,15 @@ class MenuService {
|
|
|
61850
62033
|
return;
|
|
61851
62034
|
}
|
|
61852
62035
|
|
|
62036
|
+
const before = this.selectedOptions || [];
|
|
61853
62037
|
const optionsSet = new Set(optionsToDeselect);
|
|
61854
|
-
|
|
61855
|
-
.filter(opt => !optionsSet.has(opt));
|
|
62038
|
+
const after = before.filter(opt => !optionsSet.has(opt));
|
|
61856
62039
|
|
|
62040
|
+
if (this.optionsArraysMatch(after, before)) {
|
|
62041
|
+
return;
|
|
62042
|
+
}
|
|
62043
|
+
|
|
62044
|
+
this.selectedOptions = after;
|
|
61857
62045
|
this.stageUpdate();
|
|
61858
62046
|
}
|
|
61859
62047
|
|
|
@@ -61949,6 +62137,16 @@ class MenuService {
|
|
|
61949
62137
|
return;
|
|
61950
62138
|
}
|
|
61951
62139
|
|
|
62140
|
+
const hostValue = this.host && this.host.value;
|
|
62141
|
+
const hostHasValue = hostValue !== undefined &&
|
|
62142
|
+
hostValue !== null &&
|
|
62143
|
+
(!Array.isArray(hostValue) || hostValue.length > 0) &&
|
|
62144
|
+
(typeof hostValue !== 'string' || hostValue.trim() !== '');
|
|
62145
|
+
|
|
62146
|
+
if (hostHasValue && this._pendingValue != null) {
|
|
62147
|
+
return;
|
|
62148
|
+
}
|
|
62149
|
+
|
|
61952
62150
|
this.clearPendingValue();
|
|
61953
62151
|
|
|
61954
62152
|
if (this.selectedOptions.length > 0) {
|
|
@@ -62129,6 +62327,9 @@ class MenuService {
|
|
|
62129
62327
|
this.notify({ type: 'optionsChange', options: this._menuOptions });
|
|
62130
62328
|
|
|
62131
62329
|
if (this._pendingValue != null) {
|
|
62330
|
+
// Reset the retry count so a new option registration gives a fresh
|
|
62331
|
+
// budget — the initial retries fired before delayed options arrived.
|
|
62332
|
+
this._pendingRetryCount = 0;
|
|
62132
62333
|
this.queuePendingValue(this._pendingValue);
|
|
62133
62334
|
}
|
|
62134
62335
|
}
|
|
@@ -62473,7 +62674,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62473
62674
|
* @returns {string} - Returns the label of the currently selected option(s).
|
|
62474
62675
|
*/
|
|
62475
62676
|
get currentLabel() {
|
|
62476
|
-
|
|
62677
|
+
const { menuService } = this;
|
|
62678
|
+
if (!menuService) {
|
|
62679
|
+
return '';
|
|
62680
|
+
}
|
|
62681
|
+
return menuService.currentLabel;
|
|
62477
62682
|
};
|
|
62478
62683
|
|
|
62479
62684
|
/**
|
|
@@ -62496,7 +62701,12 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62496
62701
|
* @param {number} value - Sets the index of the currently active option.
|
|
62497
62702
|
*/
|
|
62498
62703
|
set index(value) {
|
|
62499
|
-
this
|
|
62704
|
+
const { menuService } = this;
|
|
62705
|
+
if (!menuService) {
|
|
62706
|
+
return;
|
|
62707
|
+
}
|
|
62708
|
+
|
|
62709
|
+
menuService.setHighlightedIndex(value);
|
|
62500
62710
|
}
|
|
62501
62711
|
|
|
62502
62712
|
/**
|
|
@@ -62518,7 +62728,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62518
62728
|
* @returns {String|Array<String>}
|
|
62519
62729
|
*/
|
|
62520
62730
|
get formattedValue() {
|
|
62521
|
-
|
|
62731
|
+
const { menuService } = this;
|
|
62732
|
+
if (!menuService) {
|
|
62733
|
+
return '';
|
|
62734
|
+
}
|
|
62735
|
+
return menuService.currentValue;
|
|
62522
62736
|
}
|
|
62523
62737
|
|
|
62524
62738
|
/**
|
|
@@ -62562,7 +62776,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62562
62776
|
* @param {HTMLElement} option - The option to set as active.
|
|
62563
62777
|
*/
|
|
62564
62778
|
updateActiveOption(option) {
|
|
62565
|
-
this
|
|
62779
|
+
const { menuService } = this;
|
|
62780
|
+
if (!menuService) {
|
|
62781
|
+
return;
|
|
62782
|
+
}
|
|
62783
|
+
menuService.setHighlightedOption(option);
|
|
62566
62784
|
}
|
|
62567
62785
|
|
|
62568
62786
|
/**
|
|
@@ -62590,7 +62808,8 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62590
62808
|
if (event.type === 'valueChange') {
|
|
62591
62809
|
|
|
62592
62810
|
// New option is array value or first option with fallback to undefined for empty array in all cases
|
|
62593
|
-
const
|
|
62811
|
+
const options = event.options || [];
|
|
62812
|
+
const newOption = this.multiSelect && options.length ? options : options[0] || undefined;
|
|
62594
62813
|
const newValue = event.stringValue;
|
|
62595
62814
|
|
|
62596
62815
|
// Check if the option or value has actually changed
|
|
@@ -62599,8 +62818,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62599
62818
|
this.setInternalValue(newValue);
|
|
62600
62819
|
}
|
|
62601
62820
|
|
|
62602
|
-
// Notify components of selection change
|
|
62603
|
-
this.notifySelectionChange(
|
|
62821
|
+
// Notify components of selection change (pass normalized options to avoid undefined iterability errors)
|
|
62822
|
+
this.notifySelectionChange({
|
|
62823
|
+
...event,
|
|
62824
|
+
options
|
|
62825
|
+
});
|
|
62604
62826
|
}
|
|
62605
62827
|
|
|
62606
62828
|
if (event.type === 'highlightChange') {
|
|
@@ -62623,7 +62845,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62623
62845
|
* @returns {Array<HTMLElement>}
|
|
62624
62846
|
*/
|
|
62625
62847
|
get selectedOptions() {
|
|
62626
|
-
|
|
62848
|
+
const { menuService } = this;
|
|
62849
|
+
if (!menuService) {
|
|
62850
|
+
return [];
|
|
62851
|
+
}
|
|
62852
|
+
return menuService.selectedOptions;
|
|
62627
62853
|
}
|
|
62628
62854
|
|
|
62629
62855
|
/**
|
|
@@ -62631,7 +62857,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62631
62857
|
* @returns {HTMLElement|null}
|
|
62632
62858
|
*/
|
|
62633
62859
|
get selectedOption() {
|
|
62634
|
-
|
|
62860
|
+
const { menuService } = this;
|
|
62861
|
+
if (!menuService) {
|
|
62862
|
+
return null;
|
|
62863
|
+
}
|
|
62864
|
+
return menuService.selectedOptions[0] || null;
|
|
62635
62865
|
}
|
|
62636
62866
|
|
|
62637
62867
|
// Lifecycle Methods
|
|
@@ -62675,7 +62905,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62675
62905
|
// keys are not yet resolved (framework mount-order race), selectByValue
|
|
62676
62906
|
// queues a bounded retry automatically via queuePendingValue.
|
|
62677
62907
|
if (changedProperties.has('value') && !this.internalUpdateInProgress) {
|
|
62678
|
-
|
|
62908
|
+
const { menuService } = this;
|
|
62909
|
+
if (!menuService) {
|
|
62910
|
+
return;
|
|
62911
|
+
}
|
|
62912
|
+
menuService.selectByValue(this.value);
|
|
62679
62913
|
}
|
|
62680
62914
|
|
|
62681
62915
|
// Handle loading state changes
|
|
@@ -62740,7 +62974,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62740
62974
|
* @protected
|
|
62741
62975
|
*/
|
|
62742
62976
|
makeSelection() {
|
|
62743
|
-
this
|
|
62977
|
+
const { menuService } = this;
|
|
62978
|
+
if (!menuService) {
|
|
62979
|
+
return;
|
|
62980
|
+
}
|
|
62981
|
+
menuService.selectHighlightedOption();
|
|
62744
62982
|
}
|
|
62745
62983
|
|
|
62746
62984
|
/**
|
|
@@ -62759,7 +62997,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62759
62997
|
* @public
|
|
62760
62998
|
*/
|
|
62761
62999
|
reset() {
|
|
62762
|
-
this
|
|
63000
|
+
const { menuService } = this;
|
|
63001
|
+
if (!menuService) {
|
|
63002
|
+
return;
|
|
63003
|
+
}
|
|
63004
|
+
menuService.reset();
|
|
62763
63005
|
|
|
62764
63006
|
// Dispatch reset event
|
|
62765
63007
|
dispatchMenuEvent(this, 'auroMenu-selectValueReset');
|
|
@@ -62794,10 +63036,14 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62794
63036
|
* @protected
|
|
62795
63037
|
*/
|
|
62796
63038
|
navigateOptions(direction) {
|
|
63039
|
+
const { menuService } = this;
|
|
63040
|
+
if (!menuService) {
|
|
63041
|
+
return;
|
|
63042
|
+
}
|
|
62797
63043
|
if (direction === 'up') {
|
|
62798
|
-
|
|
63044
|
+
menuService.highlightPrevious();
|
|
62799
63045
|
} else if (direction === 'down') {
|
|
62800
|
-
|
|
63046
|
+
menuService.highlightNext();
|
|
62801
63047
|
}
|
|
62802
63048
|
}
|
|
62803
63049
|
|
|
@@ -66094,6 +66340,7 @@ class AuroFloatingUI {
|
|
|
66094
66340
|
this.focusHandler = null;
|
|
66095
66341
|
this.clickHandler = null;
|
|
66096
66342
|
this.keyDownHandler = null;
|
|
66343
|
+
this.touchHandler = null;
|
|
66097
66344
|
|
|
66098
66345
|
/**
|
|
66099
66346
|
* @private
|
|
@@ -66511,6 +66758,28 @@ class AuroFloatingUI {
|
|
|
66511
66758
|
setTimeout(() => {
|
|
66512
66759
|
window.addEventListener("click", this.clickHandler);
|
|
66513
66760
|
}, 0);
|
|
66761
|
+
|
|
66762
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
66763
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
66764
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
66765
|
+
this.touchHandler = (evt) => {
|
|
66766
|
+
const element = this.element;
|
|
66767
|
+
if (!element?.bib) {
|
|
66768
|
+
return;
|
|
66769
|
+
}
|
|
66770
|
+
|
|
66771
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
66772
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
66773
|
+
return;
|
|
66774
|
+
}
|
|
66775
|
+
|
|
66776
|
+
const path = evt.composedPath();
|
|
66777
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
66778
|
+
this.hideBib("click");
|
|
66779
|
+
}
|
|
66780
|
+
};
|
|
66781
|
+
|
|
66782
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
66514
66783
|
}
|
|
66515
66784
|
|
|
66516
66785
|
cleanupHideHandlers() {
|
|
@@ -66526,6 +66795,11 @@ class AuroFloatingUI {
|
|
|
66526
66795
|
this.clickHandler = null;
|
|
66527
66796
|
}
|
|
66528
66797
|
|
|
66798
|
+
if (this.touchHandler) {
|
|
66799
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
66800
|
+
this.touchHandler = null;
|
|
66801
|
+
}
|
|
66802
|
+
|
|
66529
66803
|
if (this.keyDownHandler) {
|
|
66530
66804
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
66531
66805
|
this.keyDownHandler = null;
|
|
@@ -68000,7 +68274,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
68000
68274
|
}
|
|
68001
68275
|
};
|
|
68002
68276
|
|
|
68003
|
-
var formkitVersion$1 = '
|
|
68277
|
+
var formkitVersion$1 = '202604100244';
|
|
68004
68278
|
|
|
68005
68279
|
class AuroElement extends i$4 {
|
|
68006
68280
|
static get properties() {
|
|
@@ -69753,7 +70027,7 @@ class AuroHelpText extends i$4 {
|
|
|
69753
70027
|
}
|
|
69754
70028
|
}
|
|
69755
70029
|
|
|
69756
|
-
var formkitVersion = '
|
|
70030
|
+
var formkitVersion = '202604100244';
|
|
69757
70031
|
|
|
69758
70032
|
var styleCss = i$7`.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);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, 0.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, 0.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, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-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, 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, 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}`;
|
|
69759
70033
|
|