@aurodesignsystem-dev/auro-formkit 0.0.0-pr1431.3 → 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 +230 -44
- package/components/combobox/demo/index.min.js +230 -44
- package/components/combobox/dist/auro-combobox.d.ts +4 -0
- package/components/combobox/dist/index.js +142 -22
- package/components/combobox/dist/registered.js +142 -22
- 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 +326 -54
- package/components/form/demo/index.min.js +326 -54
- 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.min.js +88 -22
- package/components/menu/demo/index.min.js +88 -22
- package/components/menu/dist/index.js +88 -22
- package/components/menu/dist/registered.js +88 -22
- 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 +118 -24
- package/components/select/demo/index.min.js +118 -24
- package/components/select/dist/index.js +30 -2
- package/components/select/dist/registered.js +30 -2
- package/custom-elements.json +1441 -1432
- 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
|
|
|
@@ -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')) {
|
|
@@ -61240,7 +61418,7 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61240
61418
|
this.setAttribute('aria-selected', this.selected.toString());
|
|
61241
61419
|
|
|
61242
61420
|
// Update menu service selection state if this isn't an internal update
|
|
61243
|
-
if (this.internalUpdateInProgress !== true) {
|
|
61421
|
+
if (this.internalUpdateInProgress !== true && this.menuService) {
|
|
61244
61422
|
this.menuService[this.selected ? 'selectOption' : 'deselectOption'](this);
|
|
61245
61423
|
}
|
|
61246
61424
|
}
|
|
@@ -61275,9 +61453,10 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61275
61453
|
}
|
|
61276
61454
|
|
|
61277
61455
|
disconnectedCallback() {
|
|
61278
|
-
|
|
61279
|
-
|
|
61280
|
-
|
|
61456
|
+
const { menuService } = this;
|
|
61457
|
+
if (menuService) {
|
|
61458
|
+
menuService.unsubscribe(this.handleMenuChange);
|
|
61459
|
+
menuService.removeMenuOption(this);
|
|
61281
61460
|
}
|
|
61282
61461
|
}
|
|
61283
61462
|
|
|
@@ -61446,9 +61625,11 @@ class AuroMenuOption extends AuroElement$2 {
|
|
|
61446
61625
|
* @private
|
|
61447
61626
|
*/
|
|
61448
61627
|
handleMouseEnter() {
|
|
61449
|
-
|
|
61450
|
-
|
|
61628
|
+
const { menuService } = this;
|
|
61629
|
+
if (!menuService || this.disabled) {
|
|
61630
|
+
return;
|
|
61451
61631
|
}
|
|
61632
|
+
menuService.setHighlightedOption(this);
|
|
61452
61633
|
}
|
|
61453
61634
|
|
|
61454
61635
|
/**
|
|
@@ -61852,10 +62033,15 @@ class MenuService {
|
|
|
61852
62033
|
return;
|
|
61853
62034
|
}
|
|
61854
62035
|
|
|
62036
|
+
const before = this.selectedOptions || [];
|
|
61855
62037
|
const optionsSet = new Set(optionsToDeselect);
|
|
61856
|
-
|
|
61857
|
-
|
|
62038
|
+
const after = before.filter(opt => !optionsSet.has(opt));
|
|
62039
|
+
|
|
62040
|
+
if (this.optionsArraysMatch(after, before)) {
|
|
62041
|
+
return;
|
|
62042
|
+
}
|
|
61858
62043
|
|
|
62044
|
+
this.selectedOptions = after;
|
|
61859
62045
|
this.stageUpdate();
|
|
61860
62046
|
}
|
|
61861
62047
|
|
|
@@ -61951,6 +62137,16 @@ class MenuService {
|
|
|
61951
62137
|
return;
|
|
61952
62138
|
}
|
|
61953
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
|
+
|
|
61954
62150
|
this.clearPendingValue();
|
|
61955
62151
|
|
|
61956
62152
|
if (this.selectedOptions.length > 0) {
|
|
@@ -62131,6 +62327,9 @@ class MenuService {
|
|
|
62131
62327
|
this.notify({ type: 'optionsChange', options: this._menuOptions });
|
|
62132
62328
|
|
|
62133
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;
|
|
62134
62333
|
this.queuePendingValue(this._pendingValue);
|
|
62135
62334
|
}
|
|
62136
62335
|
}
|
|
@@ -62475,7 +62674,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62475
62674
|
* @returns {string} - Returns the label of the currently selected option(s).
|
|
62476
62675
|
*/
|
|
62477
62676
|
get currentLabel() {
|
|
62478
|
-
|
|
62677
|
+
const { menuService } = this;
|
|
62678
|
+
if (!menuService) {
|
|
62679
|
+
return '';
|
|
62680
|
+
}
|
|
62681
|
+
return menuService.currentLabel;
|
|
62479
62682
|
};
|
|
62480
62683
|
|
|
62481
62684
|
/**
|
|
@@ -62498,7 +62701,12 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62498
62701
|
* @param {number} value - Sets the index of the currently active option.
|
|
62499
62702
|
*/
|
|
62500
62703
|
set index(value) {
|
|
62501
|
-
this
|
|
62704
|
+
const { menuService } = this;
|
|
62705
|
+
if (!menuService) {
|
|
62706
|
+
return;
|
|
62707
|
+
}
|
|
62708
|
+
|
|
62709
|
+
menuService.setHighlightedIndex(value);
|
|
62502
62710
|
}
|
|
62503
62711
|
|
|
62504
62712
|
/**
|
|
@@ -62520,7 +62728,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62520
62728
|
* @returns {String|Array<String>}
|
|
62521
62729
|
*/
|
|
62522
62730
|
get formattedValue() {
|
|
62523
|
-
|
|
62731
|
+
const { menuService } = this;
|
|
62732
|
+
if (!menuService) {
|
|
62733
|
+
return '';
|
|
62734
|
+
}
|
|
62735
|
+
return menuService.currentValue;
|
|
62524
62736
|
}
|
|
62525
62737
|
|
|
62526
62738
|
/**
|
|
@@ -62564,7 +62776,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62564
62776
|
* @param {HTMLElement} option - The option to set as active.
|
|
62565
62777
|
*/
|
|
62566
62778
|
updateActiveOption(option) {
|
|
62567
|
-
this
|
|
62779
|
+
const { menuService } = this;
|
|
62780
|
+
if (!menuService) {
|
|
62781
|
+
return;
|
|
62782
|
+
}
|
|
62783
|
+
menuService.setHighlightedOption(option);
|
|
62568
62784
|
}
|
|
62569
62785
|
|
|
62570
62786
|
/**
|
|
@@ -62592,7 +62808,8 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62592
62808
|
if (event.type === 'valueChange') {
|
|
62593
62809
|
|
|
62594
62810
|
// New option is array value or first option with fallback to undefined for empty array in all cases
|
|
62595
|
-
const
|
|
62811
|
+
const options = event.options || [];
|
|
62812
|
+
const newOption = this.multiSelect && options.length ? options : options[0] || undefined;
|
|
62596
62813
|
const newValue = event.stringValue;
|
|
62597
62814
|
|
|
62598
62815
|
// Check if the option or value has actually changed
|
|
@@ -62601,8 +62818,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62601
62818
|
this.setInternalValue(newValue);
|
|
62602
62819
|
}
|
|
62603
62820
|
|
|
62604
|
-
// Notify components of selection change
|
|
62605
|
-
this.notifySelectionChange(
|
|
62821
|
+
// Notify components of selection change (pass normalized options to avoid undefined iterability errors)
|
|
62822
|
+
this.notifySelectionChange({
|
|
62823
|
+
...event,
|
|
62824
|
+
options
|
|
62825
|
+
});
|
|
62606
62826
|
}
|
|
62607
62827
|
|
|
62608
62828
|
if (event.type === 'highlightChange') {
|
|
@@ -62625,7 +62845,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62625
62845
|
* @returns {Array<HTMLElement>}
|
|
62626
62846
|
*/
|
|
62627
62847
|
get selectedOptions() {
|
|
62628
|
-
|
|
62848
|
+
const { menuService } = this;
|
|
62849
|
+
if (!menuService) {
|
|
62850
|
+
return [];
|
|
62851
|
+
}
|
|
62852
|
+
return menuService.selectedOptions;
|
|
62629
62853
|
}
|
|
62630
62854
|
|
|
62631
62855
|
/**
|
|
@@ -62633,7 +62857,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62633
62857
|
* @returns {HTMLElement|null}
|
|
62634
62858
|
*/
|
|
62635
62859
|
get selectedOption() {
|
|
62636
|
-
|
|
62860
|
+
const { menuService } = this;
|
|
62861
|
+
if (!menuService) {
|
|
62862
|
+
return null;
|
|
62863
|
+
}
|
|
62864
|
+
return menuService.selectedOptions[0] || null;
|
|
62637
62865
|
}
|
|
62638
62866
|
|
|
62639
62867
|
// Lifecycle Methods
|
|
@@ -62677,7 +62905,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62677
62905
|
// keys are not yet resolved (framework mount-order race), selectByValue
|
|
62678
62906
|
// queues a bounded retry automatically via queuePendingValue.
|
|
62679
62907
|
if (changedProperties.has('value') && !this.internalUpdateInProgress) {
|
|
62680
|
-
|
|
62908
|
+
const { menuService } = this;
|
|
62909
|
+
if (!menuService) {
|
|
62910
|
+
return;
|
|
62911
|
+
}
|
|
62912
|
+
menuService.selectByValue(this.value);
|
|
62681
62913
|
}
|
|
62682
62914
|
|
|
62683
62915
|
// Handle loading state changes
|
|
@@ -62742,7 +62974,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62742
62974
|
* @protected
|
|
62743
62975
|
*/
|
|
62744
62976
|
makeSelection() {
|
|
62745
|
-
this
|
|
62977
|
+
const { menuService } = this;
|
|
62978
|
+
if (!menuService) {
|
|
62979
|
+
return;
|
|
62980
|
+
}
|
|
62981
|
+
menuService.selectHighlightedOption();
|
|
62746
62982
|
}
|
|
62747
62983
|
|
|
62748
62984
|
/**
|
|
@@ -62761,7 +62997,11 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62761
62997
|
* @public
|
|
62762
62998
|
*/
|
|
62763
62999
|
reset() {
|
|
62764
|
-
this
|
|
63000
|
+
const { menuService } = this;
|
|
63001
|
+
if (!menuService) {
|
|
63002
|
+
return;
|
|
63003
|
+
}
|
|
63004
|
+
menuService.reset();
|
|
62765
63005
|
|
|
62766
63006
|
// Dispatch reset event
|
|
62767
63007
|
dispatchMenuEvent(this, 'auroMenu-selectValueReset');
|
|
@@ -62796,10 +63036,14 @@ class AuroMenu extends AuroElement$2 {
|
|
|
62796
63036
|
* @protected
|
|
62797
63037
|
*/
|
|
62798
63038
|
navigateOptions(direction) {
|
|
63039
|
+
const { menuService } = this;
|
|
63040
|
+
if (!menuService) {
|
|
63041
|
+
return;
|
|
63042
|
+
}
|
|
62799
63043
|
if (direction === 'up') {
|
|
62800
|
-
|
|
63044
|
+
menuService.highlightPrevious();
|
|
62801
63045
|
} else if (direction === 'down') {
|
|
62802
|
-
|
|
63046
|
+
menuService.highlightNext();
|
|
62803
63047
|
}
|
|
62804
63048
|
}
|
|
62805
63049
|
|
|
@@ -66096,6 +66340,7 @@ class AuroFloatingUI {
|
|
|
66096
66340
|
this.focusHandler = null;
|
|
66097
66341
|
this.clickHandler = null;
|
|
66098
66342
|
this.keyDownHandler = null;
|
|
66343
|
+
this.touchHandler = null;
|
|
66099
66344
|
|
|
66100
66345
|
/**
|
|
66101
66346
|
* @private
|
|
@@ -66513,6 +66758,28 @@ class AuroFloatingUI {
|
|
|
66513
66758
|
setTimeout(() => {
|
|
66514
66759
|
window.addEventListener("click", this.clickHandler);
|
|
66515
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 });
|
|
66516
66783
|
}
|
|
66517
66784
|
|
|
66518
66785
|
cleanupHideHandlers() {
|
|
@@ -66528,6 +66795,11 @@ class AuroFloatingUI {
|
|
|
66528
66795
|
this.clickHandler = null;
|
|
66529
66796
|
}
|
|
66530
66797
|
|
|
66798
|
+
if (this.touchHandler) {
|
|
66799
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
66800
|
+
this.touchHandler = null;
|
|
66801
|
+
}
|
|
66802
|
+
|
|
66531
66803
|
if (this.keyDownHandler) {
|
|
66532
66804
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
66533
66805
|
this.keyDownHandler = null;
|
|
@@ -68002,7 +68274,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
68002
68274
|
}
|
|
68003
68275
|
};
|
|
68004
68276
|
|
|
68005
|
-
var formkitVersion$1 = '
|
|
68277
|
+
var formkitVersion$1 = '202604100244';
|
|
68006
68278
|
|
|
68007
68279
|
class AuroElement extends i$4 {
|
|
68008
68280
|
static get properties() {
|
|
@@ -69755,7 +70027,7 @@ class AuroHelpText extends i$4 {
|
|
|
69755
70027
|
}
|
|
69756
70028
|
}
|
|
69757
70029
|
|
|
69758
|
-
var formkitVersion = '
|
|
70030
|
+
var formkitVersion = '202604100244';
|
|
69759
70031
|
|
|
69760
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}`;
|
|
69761
70033
|
|