@aurodesignsystem-dev/auro-formkit 0.0.0-pr1346.13 → 0.0.0-pr1346.14
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 +59 -42
- package/components/combobox/demo/index.min.js +59 -42
- package/components/combobox/dist/index.js +59 -42
- package/components/combobox/dist/registered.js +59 -42
- package/components/counter/demo/api.min.js +58 -41
- package/components/counter/demo/index.min.js +58 -41
- package/components/counter/dist/index.js +58 -41
- package/components/counter/dist/registered.js +58 -41
- package/components/datepicker/demo/api.min.js +59 -42
- package/components/datepicker/demo/index.min.js +59 -42
- package/components/datepicker/dist/index.js +59 -42
- package/components/datepicker/dist/registered.js +59 -42
- package/components/dropdown/demo/api.min.js +57 -40
- package/components/dropdown/demo/index.min.js +57 -40
- package/components/dropdown/dist/auro-dropdownBib.d.ts +42 -0
- package/components/dropdown/dist/index.js +57 -40
- package/components/dropdown/dist/registered.js +57 -40
- package/components/form/demo/api.min.js +237 -169
- package/components/form/demo/index.min.js +237 -169
- 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/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 +58 -41
- package/components/select/demo/index.min.js +58 -41
- package/components/select/dist/index.js +58 -41
- package/components/select/dist/registered.js +58 -41
- package/custom-elements.json +1418 -1390
- package/package.json +1 -1
|
@@ -7447,7 +7447,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$4 {
|
|
|
7447
7447
|
}
|
|
7448
7448
|
};
|
|
7449
7449
|
|
|
7450
|
-
var formkitVersion$8 = '
|
|
7450
|
+
var formkitVersion$8 = '202603091748';
|
|
7451
7451
|
|
|
7452
7452
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7453
7453
|
// See LICENSE in the project root for license information.
|
|
@@ -17355,7 +17355,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$4 {
|
|
|
17355
17355
|
}
|
|
17356
17356
|
};
|
|
17357
17357
|
|
|
17358
|
-
var formkitVersion$2$1 = '
|
|
17358
|
+
var formkitVersion$2$1 = '202603091748';
|
|
17359
17359
|
|
|
17360
17360
|
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}
|
|
17361
17361
|
`,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}}
|
|
@@ -20889,45 +20889,70 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
|
|
|
20889
20889
|
firstUpdated(changedProperties) {
|
|
20890
20890
|
super.firstUpdated(changedProperties);
|
|
20891
20891
|
|
|
20892
|
-
// Handle ESC key via dialog's cancel event
|
|
20893
20892
|
const dialog = this.shadowRoot.querySelector('dialog');
|
|
20893
|
+
this._setupCancelHandler(dialog);
|
|
20894
|
+
this._setupKeyboardBridge(dialog);
|
|
20895
|
+
|
|
20896
|
+
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
20897
|
+
bubbles: true,
|
|
20898
|
+
composed: true,
|
|
20899
|
+
detail: {
|
|
20900
|
+
element: this
|
|
20901
|
+
}
|
|
20902
|
+
}));
|
|
20903
|
+
}
|
|
20904
|
+
|
|
20905
|
+
/**
|
|
20906
|
+
* Forwards the dialog's native `cancel` event (fired on ESC) as
|
|
20907
|
+
* an `auro-bib-cancel` custom event so parent components can close.
|
|
20908
|
+
* @param {HTMLDialogElement} dialog
|
|
20909
|
+
* @private
|
|
20910
|
+
*/
|
|
20911
|
+
_setupCancelHandler(dialog) {
|
|
20894
20912
|
dialog.addEventListener('cancel', (event) => {
|
|
20895
|
-
// Let parent handle closing
|
|
20896
20913
|
event.preventDefault();
|
|
20897
20914
|
this.dispatchEvent(new CustomEvent('auro-bib-cancel', {
|
|
20898
20915
|
bubbles: true,
|
|
20899
20916
|
composed: true
|
|
20900
20917
|
}));
|
|
20901
20918
|
});
|
|
20919
|
+
}
|
|
20902
20920
|
|
|
20903
|
-
|
|
20904
|
-
|
|
20905
|
-
|
|
20906
|
-
|
|
20907
|
-
|
|
20908
|
-
|
|
20909
|
-
|
|
20910
|
-
|
|
20911
|
-
|
|
20912
|
-
|
|
20913
|
-
|
|
20914
|
-
|
|
20915
|
-
|
|
20916
|
-
|
|
20917
|
-
|
|
20918
|
-
|
|
20919
|
-
|
|
20920
|
-
|
|
20921
|
-
|
|
20922
|
-
|
|
20923
|
-
|
|
20924
|
-
|
|
20925
|
-
|
|
20926
|
-
|
|
20927
|
-
|
|
20928
|
-
|
|
20929
|
-
|
|
20930
|
-
|
|
20921
|
+
/**
|
|
20922
|
+
* showModal() creates a closed focus scope — keyboard events inside
|
|
20923
|
+
* the dialog's shadow DOM do NOT bubble out to the combobox/select
|
|
20924
|
+
* keydown handlers in the parent shadow DOM. This handler bridges
|
|
20925
|
+
* that gap by re-dispatching navigation keys so they cross the
|
|
20926
|
+
* shadow boundary and reach the menu navigation logic in the parent
|
|
20927
|
+
* component.
|
|
20928
|
+
*
|
|
20929
|
+
* The trade-off: intercepting these keys means native keyboard
|
|
20930
|
+
* behaviors that would normally "just work" must be manually
|
|
20931
|
+
* re-implemented here:
|
|
20932
|
+
*
|
|
20933
|
+
* - Enter on buttons: Custom elements (auro-button) don't get the
|
|
20934
|
+
* native Enter→click that <button> provides, so we call .click()
|
|
20935
|
+
* directly when Enter is pressed on a button-like element.
|
|
20936
|
+
*
|
|
20937
|
+
* - Tab: Intercepted and re-dispatched so parent components
|
|
20938
|
+
* (select/combobox) can select the active option and close the
|
|
20939
|
+
* dialog. The <dialog> provides containment and isolation
|
|
20940
|
+
* (inert background, VoiceOver focus trapping, top layer), while
|
|
20941
|
+
* the content inside is a role="listbox" navigated via
|
|
20942
|
+
* aria-activedescendant (options are not focusable). Tab keyboard
|
|
20943
|
+
* behavior follows listbox conventions (select + close) because
|
|
20944
|
+
* the dialog's native Tab trap only cycles between the close
|
|
20945
|
+
* button and browser chrome.
|
|
20946
|
+
*
|
|
20947
|
+
* - Escape: The native <dialog> fires a `cancel` event on ESC
|
|
20948
|
+
* (handled by _setupCancelHandler), so the re-dispatched Escape
|
|
20949
|
+
* is a secondary path for parent components that also listen for
|
|
20950
|
+
* Escape keydown.
|
|
20951
|
+
*
|
|
20952
|
+
* @param {HTMLDialogElement} dialog
|
|
20953
|
+
* @private
|
|
20954
|
+
*/
|
|
20955
|
+
_setupKeyboardBridge(dialog) {
|
|
20931
20956
|
const navKeys = new Set([
|
|
20932
20957
|
'ArrowUp',
|
|
20933
20958
|
'ArrowDown',
|
|
@@ -20935,6 +20960,7 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
|
|
|
20935
20960
|
'Escape',
|
|
20936
20961
|
'Tab'
|
|
20937
20962
|
]);
|
|
20963
|
+
|
|
20938
20964
|
dialog.addEventListener('keydown', (event) => {
|
|
20939
20965
|
if (!navKeys.has(event.key)) {
|
|
20940
20966
|
return;
|
|
@@ -20969,15 +20995,6 @@ let AuroDropdownBib$3 = class AuroDropdownBib extends i$4 {
|
|
|
20969
20995
|
});
|
|
20970
20996
|
this.dispatchEvent(newEvent);
|
|
20971
20997
|
});
|
|
20972
|
-
|
|
20973
|
-
// Dispatch a custom event when the component is connected
|
|
20974
|
-
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
20975
|
-
bubbles: true,
|
|
20976
|
-
composed: true,
|
|
20977
|
-
detail: {
|
|
20978
|
-
element: this
|
|
20979
|
-
}
|
|
20980
|
-
}));
|
|
20981
20998
|
}
|
|
20982
20999
|
|
|
20983
21000
|
/**
|
|
@@ -21329,7 +21346,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$4 {
|
|
|
21329
21346
|
}
|
|
21330
21347
|
};
|
|
21331
21348
|
|
|
21332
|
-
var formkitVersion$1$3 = '
|
|
21349
|
+
var formkitVersion$1$3 = '202603091748';
|
|
21333
21350
|
|
|
21334
21351
|
let AuroElement$2$2 = class AuroElement extends i$4 {
|
|
21335
21352
|
static get properties() {
|
|
@@ -29066,7 +29083,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$4 {
|
|
|
29066
29083
|
}
|
|
29067
29084
|
};
|
|
29068
29085
|
|
|
29069
|
-
var formkitVersion$7 = '
|
|
29086
|
+
var formkitVersion$7 = '202603091748';
|
|
29070
29087
|
|
|
29071
29088
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
29072
29089
|
// See LICENSE in the project root for license information.
|
|
@@ -33620,7 +33637,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
33620
33637
|
}
|
|
33621
33638
|
};
|
|
33622
33639
|
|
|
33623
|
-
var formkitVersion$1$2 = '
|
|
33640
|
+
var formkitVersion$1$2 = '202603091748';
|
|
33624
33641
|
|
|
33625
33642
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
33626
33643
|
// See LICENSE in the project root for license information.
|
|
@@ -37105,45 +37122,70 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
|
|
|
37105
37122
|
firstUpdated(changedProperties) {
|
|
37106
37123
|
super.firstUpdated(changedProperties);
|
|
37107
37124
|
|
|
37108
|
-
// Handle ESC key via dialog's cancel event
|
|
37109
37125
|
const dialog = this.shadowRoot.querySelector('dialog');
|
|
37126
|
+
this._setupCancelHandler(dialog);
|
|
37127
|
+
this._setupKeyboardBridge(dialog);
|
|
37128
|
+
|
|
37129
|
+
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
37130
|
+
bubbles: true,
|
|
37131
|
+
composed: true,
|
|
37132
|
+
detail: {
|
|
37133
|
+
element: this
|
|
37134
|
+
}
|
|
37135
|
+
}));
|
|
37136
|
+
}
|
|
37137
|
+
|
|
37138
|
+
/**
|
|
37139
|
+
* Forwards the dialog's native `cancel` event (fired on ESC) as
|
|
37140
|
+
* an `auro-bib-cancel` custom event so parent components can close.
|
|
37141
|
+
* @param {HTMLDialogElement} dialog
|
|
37142
|
+
* @private
|
|
37143
|
+
*/
|
|
37144
|
+
_setupCancelHandler(dialog) {
|
|
37110
37145
|
dialog.addEventListener('cancel', (event) => {
|
|
37111
|
-
// Let parent handle closing
|
|
37112
37146
|
event.preventDefault();
|
|
37113
37147
|
this.dispatchEvent(new CustomEvent('auro-bib-cancel', {
|
|
37114
37148
|
bubbles: true,
|
|
37115
37149
|
composed: true
|
|
37116
37150
|
}));
|
|
37117
37151
|
});
|
|
37152
|
+
}
|
|
37118
37153
|
|
|
37119
|
-
|
|
37120
|
-
|
|
37121
|
-
|
|
37122
|
-
|
|
37123
|
-
|
|
37124
|
-
|
|
37125
|
-
|
|
37126
|
-
|
|
37127
|
-
|
|
37128
|
-
|
|
37129
|
-
|
|
37130
|
-
|
|
37131
|
-
|
|
37132
|
-
|
|
37133
|
-
|
|
37134
|
-
|
|
37135
|
-
|
|
37136
|
-
|
|
37137
|
-
|
|
37138
|
-
|
|
37139
|
-
|
|
37140
|
-
|
|
37141
|
-
|
|
37142
|
-
|
|
37143
|
-
|
|
37144
|
-
|
|
37145
|
-
|
|
37146
|
-
|
|
37154
|
+
/**
|
|
37155
|
+
* showModal() creates a closed focus scope — keyboard events inside
|
|
37156
|
+
* the dialog's shadow DOM do NOT bubble out to the combobox/select
|
|
37157
|
+
* keydown handlers in the parent shadow DOM. This handler bridges
|
|
37158
|
+
* that gap by re-dispatching navigation keys so they cross the
|
|
37159
|
+
* shadow boundary and reach the menu navigation logic in the parent
|
|
37160
|
+
* component.
|
|
37161
|
+
*
|
|
37162
|
+
* The trade-off: intercepting these keys means native keyboard
|
|
37163
|
+
* behaviors that would normally "just work" must be manually
|
|
37164
|
+
* re-implemented here:
|
|
37165
|
+
*
|
|
37166
|
+
* - Enter on buttons: Custom elements (auro-button) don't get the
|
|
37167
|
+
* native Enter→click that <button> provides, so we call .click()
|
|
37168
|
+
* directly when Enter is pressed on a button-like element.
|
|
37169
|
+
*
|
|
37170
|
+
* - Tab: Intercepted and re-dispatched so parent components
|
|
37171
|
+
* (select/combobox) can select the active option and close the
|
|
37172
|
+
* dialog. The <dialog> provides containment and isolation
|
|
37173
|
+
* (inert background, VoiceOver focus trapping, top layer), while
|
|
37174
|
+
* the content inside is a role="listbox" navigated via
|
|
37175
|
+
* aria-activedescendant (options are not focusable). Tab keyboard
|
|
37176
|
+
* behavior follows listbox conventions (select + close) because
|
|
37177
|
+
* the dialog's native Tab trap only cycles between the close
|
|
37178
|
+
* button and browser chrome.
|
|
37179
|
+
*
|
|
37180
|
+
* - Escape: The native <dialog> fires a `cancel` event on ESC
|
|
37181
|
+
* (handled by _setupCancelHandler), so the re-dispatched Escape
|
|
37182
|
+
* is a secondary path for parent components that also listen for
|
|
37183
|
+
* Escape keydown.
|
|
37184
|
+
*
|
|
37185
|
+
* @param {HTMLDialogElement} dialog
|
|
37186
|
+
* @private
|
|
37187
|
+
*/
|
|
37188
|
+
_setupKeyboardBridge(dialog) {
|
|
37147
37189
|
const navKeys = new Set([
|
|
37148
37190
|
'ArrowUp',
|
|
37149
37191
|
'ArrowDown',
|
|
@@ -37151,6 +37193,7 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
|
|
|
37151
37193
|
'Escape',
|
|
37152
37194
|
'Tab'
|
|
37153
37195
|
]);
|
|
37196
|
+
|
|
37154
37197
|
dialog.addEventListener('keydown', (event) => {
|
|
37155
37198
|
if (!navKeys.has(event.key)) {
|
|
37156
37199
|
return;
|
|
@@ -37185,15 +37228,6 @@ let AuroDropdownBib$2 = class AuroDropdownBib extends i$4 {
|
|
|
37185
37228
|
});
|
|
37186
37229
|
this.dispatchEvent(newEvent);
|
|
37187
37230
|
});
|
|
37188
|
-
|
|
37189
|
-
// Dispatch a custom event when the component is connected
|
|
37190
|
-
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
37191
|
-
bubbles: true,
|
|
37192
|
-
composed: true,
|
|
37193
|
-
detail: {
|
|
37194
|
-
element: this
|
|
37195
|
-
}
|
|
37196
|
-
}));
|
|
37197
37231
|
}
|
|
37198
37232
|
|
|
37199
37233
|
/**
|
|
@@ -37545,7 +37579,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
37545
37579
|
}
|
|
37546
37580
|
};
|
|
37547
37581
|
|
|
37548
|
-
var formkitVersion$6 = '
|
|
37582
|
+
var formkitVersion$6 = '202603091748';
|
|
37549
37583
|
|
|
37550
37584
|
let AuroElement$1$2 = class AuroElement extends i$4 {
|
|
37551
37585
|
static get properties() {
|
|
@@ -41613,7 +41647,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
41613
41647
|
}
|
|
41614
41648
|
};
|
|
41615
41649
|
|
|
41616
|
-
var formkitVersion$5 = '
|
|
41650
|
+
var formkitVersion$5 = '202603091748';
|
|
41617
41651
|
|
|
41618
41652
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
41619
41653
|
// See LICENSE in the project root for license information.
|
|
@@ -43782,7 +43816,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
43782
43816
|
}
|
|
43783
43817
|
};
|
|
43784
43818
|
|
|
43785
|
-
var formkitVersion$4 = '
|
|
43819
|
+
var formkitVersion$4 = '202603091748';
|
|
43786
43820
|
|
|
43787
43821
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
43788
43822
|
// See LICENSE in the project root for license information.
|
|
@@ -48486,45 +48520,70 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
|
|
|
48486
48520
|
firstUpdated(changedProperties) {
|
|
48487
48521
|
super.firstUpdated(changedProperties);
|
|
48488
48522
|
|
|
48489
|
-
// Handle ESC key via dialog's cancel event
|
|
48490
48523
|
const dialog = this.shadowRoot.querySelector('dialog');
|
|
48524
|
+
this._setupCancelHandler(dialog);
|
|
48525
|
+
this._setupKeyboardBridge(dialog);
|
|
48526
|
+
|
|
48527
|
+
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
48528
|
+
bubbles: true,
|
|
48529
|
+
composed: true,
|
|
48530
|
+
detail: {
|
|
48531
|
+
element: this
|
|
48532
|
+
}
|
|
48533
|
+
}));
|
|
48534
|
+
}
|
|
48535
|
+
|
|
48536
|
+
/**
|
|
48537
|
+
* Forwards the dialog's native `cancel` event (fired on ESC) as
|
|
48538
|
+
* an `auro-bib-cancel` custom event so parent components can close.
|
|
48539
|
+
* @param {HTMLDialogElement} dialog
|
|
48540
|
+
* @private
|
|
48541
|
+
*/
|
|
48542
|
+
_setupCancelHandler(dialog) {
|
|
48491
48543
|
dialog.addEventListener('cancel', (event) => {
|
|
48492
|
-
// Let parent handle closing
|
|
48493
48544
|
event.preventDefault();
|
|
48494
48545
|
this.dispatchEvent(new CustomEvent('auro-bib-cancel', {
|
|
48495
48546
|
bubbles: true,
|
|
48496
48547
|
composed: true
|
|
48497
48548
|
}));
|
|
48498
48549
|
});
|
|
48550
|
+
}
|
|
48499
48551
|
|
|
48500
|
-
|
|
48501
|
-
|
|
48502
|
-
|
|
48503
|
-
|
|
48504
|
-
|
|
48505
|
-
|
|
48506
|
-
|
|
48507
|
-
|
|
48508
|
-
|
|
48509
|
-
|
|
48510
|
-
|
|
48511
|
-
|
|
48512
|
-
|
|
48513
|
-
|
|
48514
|
-
|
|
48515
|
-
|
|
48516
|
-
|
|
48517
|
-
|
|
48518
|
-
|
|
48519
|
-
|
|
48520
|
-
|
|
48521
|
-
|
|
48522
|
-
|
|
48523
|
-
|
|
48524
|
-
|
|
48525
|
-
|
|
48526
|
-
|
|
48527
|
-
|
|
48552
|
+
/**
|
|
48553
|
+
* showModal() creates a closed focus scope — keyboard events inside
|
|
48554
|
+
* the dialog's shadow DOM do NOT bubble out to the combobox/select
|
|
48555
|
+
* keydown handlers in the parent shadow DOM. This handler bridges
|
|
48556
|
+
* that gap by re-dispatching navigation keys so they cross the
|
|
48557
|
+
* shadow boundary and reach the menu navigation logic in the parent
|
|
48558
|
+
* component.
|
|
48559
|
+
*
|
|
48560
|
+
* The trade-off: intercepting these keys means native keyboard
|
|
48561
|
+
* behaviors that would normally "just work" must be manually
|
|
48562
|
+
* re-implemented here:
|
|
48563
|
+
*
|
|
48564
|
+
* - Enter on buttons: Custom elements (auro-button) don't get the
|
|
48565
|
+
* native Enter→click that <button> provides, so we call .click()
|
|
48566
|
+
* directly when Enter is pressed on a button-like element.
|
|
48567
|
+
*
|
|
48568
|
+
* - Tab: Intercepted and re-dispatched so parent components
|
|
48569
|
+
* (select/combobox) can select the active option and close the
|
|
48570
|
+
* dialog. The <dialog> provides containment and isolation
|
|
48571
|
+
* (inert background, VoiceOver focus trapping, top layer), while
|
|
48572
|
+
* the content inside is a role="listbox" navigated via
|
|
48573
|
+
* aria-activedescendant (options are not focusable). Tab keyboard
|
|
48574
|
+
* behavior follows listbox conventions (select + close) because
|
|
48575
|
+
* the dialog's native Tab trap only cycles between the close
|
|
48576
|
+
* button and browser chrome.
|
|
48577
|
+
*
|
|
48578
|
+
* - Escape: The native <dialog> fires a `cancel` event on ESC
|
|
48579
|
+
* (handled by _setupCancelHandler), so the re-dispatched Escape
|
|
48580
|
+
* is a secondary path for parent components that also listen for
|
|
48581
|
+
* Escape keydown.
|
|
48582
|
+
*
|
|
48583
|
+
* @param {HTMLDialogElement} dialog
|
|
48584
|
+
* @private
|
|
48585
|
+
*/
|
|
48586
|
+
_setupKeyboardBridge(dialog) {
|
|
48528
48587
|
const navKeys = new Set([
|
|
48529
48588
|
'ArrowUp',
|
|
48530
48589
|
'ArrowDown',
|
|
@@ -48532,6 +48591,7 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
|
|
|
48532
48591
|
'Escape',
|
|
48533
48592
|
'Tab'
|
|
48534
48593
|
]);
|
|
48594
|
+
|
|
48535
48595
|
dialog.addEventListener('keydown', (event) => {
|
|
48536
48596
|
if (!navKeys.has(event.key)) {
|
|
48537
48597
|
return;
|
|
@@ -48566,15 +48626,6 @@ let AuroDropdownBib$1 = class AuroDropdownBib extends i$4 {
|
|
|
48566
48626
|
});
|
|
48567
48627
|
this.dispatchEvent(newEvent);
|
|
48568
48628
|
});
|
|
48569
|
-
|
|
48570
|
-
// Dispatch a custom event when the component is connected
|
|
48571
|
-
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
48572
|
-
bubbles: true,
|
|
48573
|
-
composed: true,
|
|
48574
|
-
detail: {
|
|
48575
|
-
element: this
|
|
48576
|
-
}
|
|
48577
|
-
}));
|
|
48578
48629
|
}
|
|
48579
48630
|
|
|
48580
48631
|
/**
|
|
@@ -48926,7 +48977,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
48926
48977
|
}
|
|
48927
48978
|
};
|
|
48928
48979
|
|
|
48929
|
-
var formkitVersion$2 = '
|
|
48980
|
+
var formkitVersion$2 = '202603091748';
|
|
48930
48981
|
|
|
48931
48982
|
let AuroElement$2$1 = class AuroElement extends i$4 {
|
|
48932
48983
|
static get properties() {
|
|
@@ -56663,7 +56714,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
56663
56714
|
}
|
|
56664
56715
|
};
|
|
56665
56716
|
|
|
56666
|
-
var formkitVersion$1$1 = '
|
|
56717
|
+
var formkitVersion$1$1 = '202603091748';
|
|
56667
56718
|
|
|
56668
56719
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
56669
56720
|
// See LICENSE in the project root for license information.
|
|
@@ -57702,7 +57753,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$4 {
|
|
|
57702
57753
|
}
|
|
57703
57754
|
};
|
|
57704
57755
|
|
|
57705
|
-
var formkitVersion$3 = '
|
|
57756
|
+
var formkitVersion$3 = '202603091748';
|
|
57706
57757
|
|
|
57707
57758
|
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}`;
|
|
57708
57759
|
|
|
@@ -66013,45 +66064,70 @@ class AuroDropdownBib extends i$4 {
|
|
|
66013
66064
|
firstUpdated(changedProperties) {
|
|
66014
66065
|
super.firstUpdated(changedProperties);
|
|
66015
66066
|
|
|
66016
|
-
// Handle ESC key via dialog's cancel event
|
|
66017
66067
|
const dialog = this.shadowRoot.querySelector('dialog');
|
|
66068
|
+
this._setupCancelHandler(dialog);
|
|
66069
|
+
this._setupKeyboardBridge(dialog);
|
|
66070
|
+
|
|
66071
|
+
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
66072
|
+
bubbles: true,
|
|
66073
|
+
composed: true,
|
|
66074
|
+
detail: {
|
|
66075
|
+
element: this
|
|
66076
|
+
}
|
|
66077
|
+
}));
|
|
66078
|
+
}
|
|
66079
|
+
|
|
66080
|
+
/**
|
|
66081
|
+
* Forwards the dialog's native `cancel` event (fired on ESC) as
|
|
66082
|
+
* an `auro-bib-cancel` custom event so parent components can close.
|
|
66083
|
+
* @param {HTMLDialogElement} dialog
|
|
66084
|
+
* @private
|
|
66085
|
+
*/
|
|
66086
|
+
_setupCancelHandler(dialog) {
|
|
66018
66087
|
dialog.addEventListener('cancel', (event) => {
|
|
66019
|
-
// Let parent handle closing
|
|
66020
66088
|
event.preventDefault();
|
|
66021
66089
|
this.dispatchEvent(new CustomEvent('auro-bib-cancel', {
|
|
66022
66090
|
bubbles: true,
|
|
66023
66091
|
composed: true
|
|
66024
66092
|
}));
|
|
66025
66093
|
});
|
|
66094
|
+
}
|
|
66026
66095
|
|
|
66027
|
-
|
|
66028
|
-
|
|
66029
|
-
|
|
66030
|
-
|
|
66031
|
-
|
|
66032
|
-
|
|
66033
|
-
|
|
66034
|
-
|
|
66035
|
-
|
|
66036
|
-
|
|
66037
|
-
|
|
66038
|
-
|
|
66039
|
-
|
|
66040
|
-
|
|
66041
|
-
|
|
66042
|
-
|
|
66043
|
-
|
|
66044
|
-
|
|
66045
|
-
|
|
66046
|
-
|
|
66047
|
-
|
|
66048
|
-
|
|
66049
|
-
|
|
66050
|
-
|
|
66051
|
-
|
|
66052
|
-
|
|
66053
|
-
|
|
66054
|
-
|
|
66096
|
+
/**
|
|
66097
|
+
* showModal() creates a closed focus scope — keyboard events inside
|
|
66098
|
+
* the dialog's shadow DOM do NOT bubble out to the combobox/select
|
|
66099
|
+
* keydown handlers in the parent shadow DOM. This handler bridges
|
|
66100
|
+
* that gap by re-dispatching navigation keys so they cross the
|
|
66101
|
+
* shadow boundary and reach the menu navigation logic in the parent
|
|
66102
|
+
* component.
|
|
66103
|
+
*
|
|
66104
|
+
* The trade-off: intercepting these keys means native keyboard
|
|
66105
|
+
* behaviors that would normally "just work" must be manually
|
|
66106
|
+
* re-implemented here:
|
|
66107
|
+
*
|
|
66108
|
+
* - Enter on buttons: Custom elements (auro-button) don't get the
|
|
66109
|
+
* native Enter→click that <button> provides, so we call .click()
|
|
66110
|
+
* directly when Enter is pressed on a button-like element.
|
|
66111
|
+
*
|
|
66112
|
+
* - Tab: Intercepted and re-dispatched so parent components
|
|
66113
|
+
* (select/combobox) can select the active option and close the
|
|
66114
|
+
* dialog. The <dialog> provides containment and isolation
|
|
66115
|
+
* (inert background, VoiceOver focus trapping, top layer), while
|
|
66116
|
+
* the content inside is a role="listbox" navigated via
|
|
66117
|
+
* aria-activedescendant (options are not focusable). Tab keyboard
|
|
66118
|
+
* behavior follows listbox conventions (select + close) because
|
|
66119
|
+
* the dialog's native Tab trap only cycles between the close
|
|
66120
|
+
* button and browser chrome.
|
|
66121
|
+
*
|
|
66122
|
+
* - Escape: The native <dialog> fires a `cancel` event on ESC
|
|
66123
|
+
* (handled by _setupCancelHandler), so the re-dispatched Escape
|
|
66124
|
+
* is a secondary path for parent components that also listen for
|
|
66125
|
+
* Escape keydown.
|
|
66126
|
+
*
|
|
66127
|
+
* @param {HTMLDialogElement} dialog
|
|
66128
|
+
* @private
|
|
66129
|
+
*/
|
|
66130
|
+
_setupKeyboardBridge(dialog) {
|
|
66055
66131
|
const navKeys = new Set([
|
|
66056
66132
|
'ArrowUp',
|
|
66057
66133
|
'ArrowDown',
|
|
@@ -66059,6 +66135,7 @@ class AuroDropdownBib extends i$4 {
|
|
|
66059
66135
|
'Escape',
|
|
66060
66136
|
'Tab'
|
|
66061
66137
|
]);
|
|
66138
|
+
|
|
66062
66139
|
dialog.addEventListener('keydown', (event) => {
|
|
66063
66140
|
if (!navKeys.has(event.key)) {
|
|
66064
66141
|
return;
|
|
@@ -66093,15 +66170,6 @@ class AuroDropdownBib extends i$4 {
|
|
|
66093
66170
|
});
|
|
66094
66171
|
this.dispatchEvent(newEvent);
|
|
66095
66172
|
});
|
|
66096
|
-
|
|
66097
|
-
// Dispatch a custom event when the component is connected
|
|
66098
|
-
this.dispatchEvent(new CustomEvent('auro-dropdownbib-connected', {
|
|
66099
|
-
bubbles: true,
|
|
66100
|
-
composed: true,
|
|
66101
|
-
detail: {
|
|
66102
|
-
element: this
|
|
66103
|
-
}
|
|
66104
|
-
}));
|
|
66105
66173
|
}
|
|
66106
66174
|
|
|
66107
66175
|
/**
|
|
@@ -66453,7 +66521,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
66453
66521
|
}
|
|
66454
66522
|
};
|
|
66455
66523
|
|
|
66456
|
-
var formkitVersion$1 = '
|
|
66524
|
+
var formkitVersion$1 = '202603091748';
|
|
66457
66525
|
|
|
66458
66526
|
class AuroElement extends i$4 {
|
|
66459
66527
|
static get properties() {
|
|
@@ -68197,7 +68265,7 @@ class AuroHelpText extends i$4 {
|
|
|
68197
68265
|
}
|
|
68198
68266
|
}
|
|
68199
68267
|
|
|
68200
|
-
var formkitVersion = '
|
|
68268
|
+
var formkitVersion = '202603091748';
|
|
68201
68269
|
|
|
68202
68270
|
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}`;
|
|
68203
68271
|
|