@aurodesignsystem-dev/auro-formkit 0.0.0-pr1377.0 → 0.0.0-pr1377.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/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 -16
- package/components/combobox/demo/index.min.js +59 -16
- package/components/combobox/dist/auro-combobox.d.ts +1 -0
- package/components/combobox/dist/index.js +59 -16
- package/components/combobox/dist/registered.js +59 -16
- package/components/counter/demo/api.min.js +26 -13
- package/components/counter/demo/index.min.js +26 -13
- package/components/counter/dist/index.js +26 -13
- package/components/counter/dist/registered.js +26 -13
- package/components/datepicker/demo/api.min.js +27 -14
- package/components/datepicker/demo/index.min.js +27 -14
- package/components/datepicker/dist/index.js +27 -14
- package/components/datepicker/dist/registered.js +27 -14
- package/components/dropdown/demo/api.min.js +25 -12
- package/components/dropdown/demo/index.min.js +25 -12
- package/components/dropdown/dist/index.js +25 -12
- package/components/dropdown/dist/registered.js +25 -12
- package/components/form/demo/api.min.js +143 -60
- package/components/form/demo/index.min.js +143 -60
- 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 +28 -14
- package/components/select/demo/index.min.js +28 -14
- package/components/select/dist/index.js +28 -14
- package/components/select/dist/registered.js +28 -14
- package/custom-elements.json +2 -2
- package/package.json +2 -2
|
@@ -2336,19 +2336,32 @@ class AuroFloatingUI {
|
|
|
2336
2336
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
2337
2337
|
*/
|
|
2338
2338
|
hideBib(eventType = "unknown") {
|
|
2339
|
-
if (
|
|
2340
|
-
|
|
2341
|
-
|
|
2339
|
+
if (this.element.disabled) {
|
|
2340
|
+
return;
|
|
2341
|
+
}
|
|
2342
2342
|
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
this.showing = false;
|
|
2349
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
2350
|
-
}
|
|
2343
|
+
// noToggle dropdowns should not close when the trigger is clicked (the
|
|
2344
|
+
// "toggle" behavior), but they CAN still close via other interactions like
|
|
2345
|
+
// Escape key or focus loss.
|
|
2346
|
+
if (this.element.noToggle && eventType === "click") {
|
|
2347
|
+
return;
|
|
2351
2348
|
}
|
|
2349
|
+
|
|
2350
|
+
this.lockScroll(false);
|
|
2351
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
2352
|
+
|
|
2353
|
+
if (this.element.isPopoverVisible) {
|
|
2354
|
+
this.element.isPopoverVisible = false;
|
|
2355
|
+
}
|
|
2356
|
+
if (this.showing) {
|
|
2357
|
+
this.cleanupHideHandlers();
|
|
2358
|
+
this.showing = false;
|
|
2359
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
// Only clear the global reference if the bib was actually hidden.
|
|
2363
|
+
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
2364
|
+
// the singleton state so other dropdowns can't detect this one is still open.
|
|
2352
2365
|
document.expandedAuroFloater = null;
|
|
2353
2366
|
}
|
|
2354
2367
|
|
|
@@ -3706,7 +3719,7 @@ class AuroHelpText extends i {
|
|
|
3706
3719
|
}
|
|
3707
3720
|
}
|
|
3708
3721
|
|
|
3709
|
-
var formkitVersion = '
|
|
3722
|
+
var formkitVersion = '202603181736';
|
|
3710
3723
|
|
|
3711
3724
|
class AuroElement extends i {
|
|
3712
3725
|
static get properties() {
|
|
@@ -2276,19 +2276,32 @@ class AuroFloatingUI {
|
|
|
2276
2276
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
2277
2277
|
*/
|
|
2278
2278
|
hideBib(eventType = "unknown") {
|
|
2279
|
-
if (
|
|
2280
|
-
|
|
2281
|
-
|
|
2279
|
+
if (this.element.disabled) {
|
|
2280
|
+
return;
|
|
2281
|
+
}
|
|
2282
2282
|
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
this.showing = false;
|
|
2289
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
2290
|
-
}
|
|
2283
|
+
// noToggle dropdowns should not close when the trigger is clicked (the
|
|
2284
|
+
// "toggle" behavior), but they CAN still close via other interactions like
|
|
2285
|
+
// Escape key or focus loss.
|
|
2286
|
+
if (this.element.noToggle && eventType === "click") {
|
|
2287
|
+
return;
|
|
2291
2288
|
}
|
|
2289
|
+
|
|
2290
|
+
this.lockScroll(false);
|
|
2291
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
2292
|
+
|
|
2293
|
+
if (this.element.isPopoverVisible) {
|
|
2294
|
+
this.element.isPopoverVisible = false;
|
|
2295
|
+
}
|
|
2296
|
+
if (this.showing) {
|
|
2297
|
+
this.cleanupHideHandlers();
|
|
2298
|
+
this.showing = false;
|
|
2299
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
// Only clear the global reference if the bib was actually hidden.
|
|
2303
|
+
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
2304
|
+
// the singleton state so other dropdowns can't detect this one is still open.
|
|
2292
2305
|
document.expandedAuroFloater = null;
|
|
2293
2306
|
}
|
|
2294
2307
|
|
|
@@ -3646,7 +3659,7 @@ class AuroHelpText extends i {
|
|
|
3646
3659
|
}
|
|
3647
3660
|
}
|
|
3648
3661
|
|
|
3649
|
-
var formkitVersion = '
|
|
3662
|
+
var formkitVersion = '202603181736';
|
|
3650
3663
|
|
|
3651
3664
|
class AuroElement extends i {
|
|
3652
3665
|
static get properties() {
|
|
@@ -2210,19 +2210,32 @@ class AuroFloatingUI {
|
|
|
2210
2210
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
2211
2211
|
*/
|
|
2212
2212
|
hideBib(eventType = "unknown") {
|
|
2213
|
-
if (
|
|
2214
|
-
|
|
2215
|
-
|
|
2213
|
+
if (this.element.disabled) {
|
|
2214
|
+
return;
|
|
2215
|
+
}
|
|
2216
2216
|
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
this.showing = false;
|
|
2223
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
2224
|
-
}
|
|
2217
|
+
// noToggle dropdowns should not close when the trigger is clicked (the
|
|
2218
|
+
// "toggle" behavior), but they CAN still close via other interactions like
|
|
2219
|
+
// Escape key or focus loss.
|
|
2220
|
+
if (this.element.noToggle && eventType === "click") {
|
|
2221
|
+
return;
|
|
2225
2222
|
}
|
|
2223
|
+
|
|
2224
|
+
this.lockScroll(false);
|
|
2225
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
2226
|
+
|
|
2227
|
+
if (this.element.isPopoverVisible) {
|
|
2228
|
+
this.element.isPopoverVisible = false;
|
|
2229
|
+
}
|
|
2230
|
+
if (this.showing) {
|
|
2231
|
+
this.cleanupHideHandlers();
|
|
2232
|
+
this.showing = false;
|
|
2233
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
// Only clear the global reference if the bib was actually hidden.
|
|
2237
|
+
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
2238
|
+
// the singleton state so other dropdowns can't detect this one is still open.
|
|
2226
2239
|
document.expandedAuroFloater = null;
|
|
2227
2240
|
}
|
|
2228
2241
|
|
|
@@ -3555,7 +3568,7 @@ class AuroHelpText extends LitElement {
|
|
|
3555
3568
|
}
|
|
3556
3569
|
}
|
|
3557
3570
|
|
|
3558
|
-
var formkitVersion = '
|
|
3571
|
+
var formkitVersion = '202603181736';
|
|
3559
3572
|
|
|
3560
3573
|
class AuroElement extends LitElement {
|
|
3561
3574
|
static get properties() {
|
|
@@ -2210,19 +2210,32 @@ class AuroFloatingUI {
|
|
|
2210
2210
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
2211
2211
|
*/
|
|
2212
2212
|
hideBib(eventType = "unknown") {
|
|
2213
|
-
if (
|
|
2214
|
-
|
|
2215
|
-
|
|
2213
|
+
if (this.element.disabled) {
|
|
2214
|
+
return;
|
|
2215
|
+
}
|
|
2216
2216
|
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
this.showing = false;
|
|
2223
|
-
this.dispatchEventDropdownToggle(eventType);
|
|
2224
|
-
}
|
|
2217
|
+
// noToggle dropdowns should not close when the trigger is clicked (the
|
|
2218
|
+
// "toggle" behavior), but they CAN still close via other interactions like
|
|
2219
|
+
// Escape key or focus loss.
|
|
2220
|
+
if (this.element.noToggle && eventType === "click") {
|
|
2221
|
+
return;
|
|
2225
2222
|
}
|
|
2223
|
+
|
|
2224
|
+
this.lockScroll(false);
|
|
2225
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
2226
|
+
|
|
2227
|
+
if (this.element.isPopoverVisible) {
|
|
2228
|
+
this.element.isPopoverVisible = false;
|
|
2229
|
+
}
|
|
2230
|
+
if (this.showing) {
|
|
2231
|
+
this.cleanupHideHandlers();
|
|
2232
|
+
this.showing = false;
|
|
2233
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
// Only clear the global reference if the bib was actually hidden.
|
|
2237
|
+
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
2238
|
+
// the singleton state so other dropdowns can't detect this one is still open.
|
|
2226
2239
|
document.expandedAuroFloater = null;
|
|
2227
2240
|
}
|
|
2228
2241
|
|
|
@@ -3555,7 +3568,7 @@ class AuroHelpText extends LitElement {
|
|
|
3555
3568
|
}
|
|
3556
3569
|
}
|
|
3557
3570
|
|
|
3558
|
-
var formkitVersion = '
|
|
3571
|
+
var formkitVersion = '202603181736';
|
|
3559
3572
|
|
|
3560
3573
|
class AuroElement extends LitElement {
|
|
3561
3574
|
static get properties() {
|
|
@@ -7458,7 +7458,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$4 {
|
|
|
7458
7458
|
}
|
|
7459
7459
|
};
|
|
7460
7460
|
|
|
7461
|
-
var formkitVersion$8 = '
|
|
7461
|
+
var formkitVersion$8 = '202603181736';
|
|
7462
7462
|
|
|
7463
7463
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7464
7464
|
// See LICENSE in the project root for license information.
|
|
@@ -17366,7 +17366,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$4 {
|
|
|
17366
17366
|
}
|
|
17367
17367
|
};
|
|
17368
17368
|
|
|
17369
|
-
var formkitVersion$2$1 = '
|
|
17369
|
+
var formkitVersion$2$1 = '202603181736';
|
|
17370
17370
|
|
|
17371
17371
|
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}
|
|
17372
17372
|
`,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}}
|
|
@@ -20048,19 +20048,32 @@ let AuroFloatingUI$3 = class AuroFloatingUI {
|
|
|
20048
20048
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
20049
20049
|
*/
|
|
20050
20050
|
hideBib(eventType = "unknown") {
|
|
20051
|
-
if (
|
|
20052
|
-
|
|
20053
|
-
|
|
20051
|
+
if (this.element.disabled) {
|
|
20052
|
+
return;
|
|
20053
|
+
}
|
|
20054
20054
|
|
|
20055
|
-
|
|
20056
|
-
|
|
20057
|
-
|
|
20058
|
-
|
|
20059
|
-
|
|
20060
|
-
|
|
20061
|
-
|
|
20062
|
-
|
|
20055
|
+
// noToggle dropdowns should not close when the trigger is clicked (the
|
|
20056
|
+
// "toggle" behavior), but they CAN still close via other interactions like
|
|
20057
|
+
// Escape key or focus loss.
|
|
20058
|
+
if (this.element.noToggle && eventType === "click") {
|
|
20059
|
+
return;
|
|
20060
|
+
}
|
|
20061
|
+
|
|
20062
|
+
this.lockScroll(false);
|
|
20063
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
20064
|
+
|
|
20065
|
+
if (this.element.isPopoverVisible) {
|
|
20066
|
+
this.element.isPopoverVisible = false;
|
|
20067
|
+
}
|
|
20068
|
+
if (this.showing) {
|
|
20069
|
+
this.cleanupHideHandlers();
|
|
20070
|
+
this.showing = false;
|
|
20071
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
20063
20072
|
}
|
|
20073
|
+
|
|
20074
|
+
// Only clear the global reference if the bib was actually hidden.
|
|
20075
|
+
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
20076
|
+
// the singleton state so other dropdowns can't detect this one is still open.
|
|
20064
20077
|
document.expandedAuroFloater = null;
|
|
20065
20078
|
}
|
|
20066
20079
|
|
|
@@ -21393,7 +21406,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$4 {
|
|
|
21393
21406
|
}
|
|
21394
21407
|
};
|
|
21395
21408
|
|
|
21396
|
-
var formkitVersion$1$3 = '
|
|
21409
|
+
var formkitVersion$1$3 = '202603181736';
|
|
21397
21410
|
|
|
21398
21411
|
let AuroElement$2$2 = class AuroElement extends i$4 {
|
|
21399
21412
|
static get properties() {
|
|
@@ -29141,7 +29154,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$4 {
|
|
|
29141
29154
|
}
|
|
29142
29155
|
};
|
|
29143
29156
|
|
|
29144
|
-
var formkitVersion$7 = '
|
|
29157
|
+
var formkitVersion$7 = '202603181736';
|
|
29145
29158
|
|
|
29146
29159
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
29147
29160
|
// See LICENSE in the project root for license information.
|
|
@@ -33701,7 +33714,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
33701
33714
|
}
|
|
33702
33715
|
};
|
|
33703
33716
|
|
|
33704
|
-
var formkitVersion$1$2 = '
|
|
33717
|
+
var formkitVersion$1$2 = '202603181736';
|
|
33705
33718
|
|
|
33706
33719
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
33707
33720
|
// See LICENSE in the project root for license information.
|
|
@@ -36331,19 +36344,32 @@ let AuroFloatingUI$2 = class AuroFloatingUI {
|
|
|
36331
36344
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
36332
36345
|
*/
|
|
36333
36346
|
hideBib(eventType = "unknown") {
|
|
36334
|
-
if (
|
|
36335
|
-
|
|
36336
|
-
|
|
36347
|
+
if (this.element.disabled) {
|
|
36348
|
+
return;
|
|
36349
|
+
}
|
|
36337
36350
|
|
|
36338
|
-
|
|
36339
|
-
|
|
36340
|
-
|
|
36341
|
-
|
|
36342
|
-
|
|
36343
|
-
|
|
36344
|
-
|
|
36345
|
-
|
|
36351
|
+
// noToggle dropdowns should not close when the trigger is clicked (the
|
|
36352
|
+
// "toggle" behavior), but they CAN still close via other interactions like
|
|
36353
|
+
// Escape key or focus loss.
|
|
36354
|
+
if (this.element.noToggle && eventType === "click") {
|
|
36355
|
+
return;
|
|
36356
|
+
}
|
|
36357
|
+
|
|
36358
|
+
this.lockScroll(false);
|
|
36359
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
36360
|
+
|
|
36361
|
+
if (this.element.isPopoverVisible) {
|
|
36362
|
+
this.element.isPopoverVisible = false;
|
|
36363
|
+
}
|
|
36364
|
+
if (this.showing) {
|
|
36365
|
+
this.cleanupHideHandlers();
|
|
36366
|
+
this.showing = false;
|
|
36367
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
36346
36368
|
}
|
|
36369
|
+
|
|
36370
|
+
// Only clear the global reference if the bib was actually hidden.
|
|
36371
|
+
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
36372
|
+
// the singleton state so other dropdowns can't detect this one is still open.
|
|
36347
36373
|
document.expandedAuroFloater = null;
|
|
36348
36374
|
}
|
|
36349
36375
|
|
|
@@ -37676,7 +37702,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
37676
37702
|
}
|
|
37677
37703
|
};
|
|
37678
37704
|
|
|
37679
|
-
var formkitVersion$6 = '
|
|
37705
|
+
var formkitVersion$6 = '202603181736';
|
|
37680
37706
|
|
|
37681
37707
|
let AuroElement$1$2 = class AuroElement extends i$4 {
|
|
37682
37708
|
static get properties() {
|
|
@@ -41744,7 +41770,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
41744
41770
|
}
|
|
41745
41771
|
};
|
|
41746
41772
|
|
|
41747
|
-
var formkitVersion$5 = '
|
|
41773
|
+
var formkitVersion$5 = '202603181736';
|
|
41748
41774
|
|
|
41749
41775
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
41750
41776
|
// See LICENSE in the project root for license information.
|
|
@@ -43913,7 +43939,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
43913
43939
|
}
|
|
43914
43940
|
};
|
|
43915
43941
|
|
|
43916
|
-
var formkitVersion$4 = '
|
|
43942
|
+
var formkitVersion$4 = '202603181736';
|
|
43917
43943
|
|
|
43918
43944
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
43919
43945
|
// See LICENSE in the project root for license information.
|
|
@@ -45550,6 +45576,17 @@ const comboboxKeyboardStrategy = {
|
|
|
45550
45576
|
// since Safari does not propagate :focus-within through shadow DOM.
|
|
45551
45577
|
const clearBtnHasFocus = clearBtn && clearBtn.shadowRoot && clearBtn.shadowRoot.activeElement !== null;
|
|
45552
45578
|
|
|
45579
|
+
if (evt.shiftKey) {
|
|
45580
|
+
// Shift+Tab from clear button: move focus back to the input
|
|
45581
|
+
if (clearBtnHasFocus) {
|
|
45582
|
+
ctx.activeInput.focus();
|
|
45583
|
+
return;
|
|
45584
|
+
}
|
|
45585
|
+
// Shift+Tab from input (or no clear button): close without selecting
|
|
45586
|
+
component.hideBib();
|
|
45587
|
+
return;
|
|
45588
|
+
}
|
|
45589
|
+
|
|
45553
45590
|
// Tab from input: if clear button exists and doesn't have focus, focus it
|
|
45554
45591
|
if (clearBtn && !clearBtnHasFocus && ctx.activeInput.value) {
|
|
45555
45592
|
// Force clear button container visible to work around Safari not
|
|
@@ -45587,8 +45624,8 @@ const comboboxKeyboardStrategy = {
|
|
|
45587
45624
|
return;
|
|
45588
45625
|
}
|
|
45589
45626
|
|
|
45590
|
-
// Non-fullscreen: select + close
|
|
45591
|
-
if (component.menu.optionActive && component.menu.optionActive.value) {
|
|
45627
|
+
// Non-fullscreen: select + close (Shift+Tab closes without selecting)
|
|
45628
|
+
if (!evt.shiftKey && component.menu.optionActive && component.menu.optionActive.value) {
|
|
45592
45629
|
component.menu.value = component.menu.optionActive.value;
|
|
45593
45630
|
}
|
|
45594
45631
|
component.hideBib();
|
|
@@ -47823,19 +47860,32 @@ let AuroFloatingUI$1 = class AuroFloatingUI {
|
|
|
47823
47860
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
47824
47861
|
*/
|
|
47825
47862
|
hideBib(eventType = "unknown") {
|
|
47826
|
-
if (
|
|
47827
|
-
|
|
47828
|
-
|
|
47863
|
+
if (this.element.disabled) {
|
|
47864
|
+
return;
|
|
47865
|
+
}
|
|
47829
47866
|
|
|
47830
|
-
|
|
47831
|
-
|
|
47832
|
-
|
|
47833
|
-
|
|
47834
|
-
|
|
47835
|
-
|
|
47836
|
-
|
|
47837
|
-
|
|
47867
|
+
// noToggle dropdowns should not close when the trigger is clicked (the
|
|
47868
|
+
// "toggle" behavior), but they CAN still close via other interactions like
|
|
47869
|
+
// Escape key or focus loss.
|
|
47870
|
+
if (this.element.noToggle && eventType === "click") {
|
|
47871
|
+
return;
|
|
47872
|
+
}
|
|
47873
|
+
|
|
47874
|
+
this.lockScroll(false);
|
|
47875
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
47876
|
+
|
|
47877
|
+
if (this.element.isPopoverVisible) {
|
|
47878
|
+
this.element.isPopoverVisible = false;
|
|
47879
|
+
}
|
|
47880
|
+
if (this.showing) {
|
|
47881
|
+
this.cleanupHideHandlers();
|
|
47882
|
+
this.showing = false;
|
|
47883
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
47838
47884
|
}
|
|
47885
|
+
|
|
47886
|
+
// Only clear the global reference if the bib was actually hidden.
|
|
47887
|
+
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
47888
|
+
// the singleton state so other dropdowns can't detect this one is still open.
|
|
47839
47889
|
document.expandedAuroFloater = null;
|
|
47840
47890
|
}
|
|
47841
47891
|
|
|
@@ -49168,7 +49218,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
49168
49218
|
}
|
|
49169
49219
|
};
|
|
49170
49220
|
|
|
49171
|
-
var formkitVersion$2 = '
|
|
49221
|
+
var formkitVersion$2 = '202603181736';
|
|
49172
49222
|
|
|
49173
49223
|
let AuroElement$2$1 = class AuroElement extends i$4 {
|
|
49174
49224
|
static get properties() {
|
|
@@ -56916,7 +56966,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
56916
56966
|
}
|
|
56917
56967
|
};
|
|
56918
56968
|
|
|
56919
|
-
var formkitVersion$1$1 = '
|
|
56969
|
+
var formkitVersion$1$1 = '202603181736';
|
|
56920
56970
|
|
|
56921
56971
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
56922
56972
|
// See LICENSE in the project root for license information.
|
|
@@ -57955,7 +58005,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$4 {
|
|
|
57955
58005
|
}
|
|
57956
58006
|
};
|
|
57957
58007
|
|
|
57958
|
-
var formkitVersion$3 = '
|
|
58008
|
+
var formkitVersion$3 = '202603181736';
|
|
57959
58009
|
|
|
57960
58010
|
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}`;
|
|
57961
58011
|
|
|
@@ -58342,6 +58392,7 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
58342
58392
|
this.value = undefined;
|
|
58343
58393
|
this.typedValue = undefined;
|
|
58344
58394
|
this.behavior = "suggestion";
|
|
58395
|
+
this.clearBtnFocused = false;
|
|
58345
58396
|
|
|
58346
58397
|
// Defaults that effect the overall layout of the combobox
|
|
58347
58398
|
this.checkmark = false;
|
|
@@ -58992,6 +59043,9 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
58992
59043
|
if (this.dropdownOpen) {
|
|
58993
59044
|
const expandedDelay = 150;
|
|
58994
59045
|
this._expandedTimeout = setTimeout(() => {
|
|
59046
|
+
if (!this.value) {
|
|
59047
|
+
this.updateActiveOption(0);
|
|
59048
|
+
}
|
|
58995
59049
|
this.triggerExpandedState = true;
|
|
58996
59050
|
}, expandedDelay);
|
|
58997
59051
|
} else {
|
|
@@ -59298,6 +59352,21 @@ class AuroCombobox extends AuroElement$3 {
|
|
|
59298
59352
|
this.validate();
|
|
59299
59353
|
}
|
|
59300
59354
|
});
|
|
59355
|
+
|
|
59356
|
+
/**
|
|
59357
|
+
* Track focus on the clear button within the input.
|
|
59358
|
+
* This is used to prevent unwanted interactions when the clear button is focused.
|
|
59359
|
+
*
|
|
59360
|
+
* Use event delegation on the shadow root so the listener works regardless
|
|
59361
|
+
* of when .clearBtn is rendered (it only exists after a value is set).
|
|
59362
|
+
*/
|
|
59363
|
+
this.input.shadowRoot.addEventListener('focusin', (event) => {
|
|
59364
|
+
if (event.target.closest('.clearBtn')) {
|
|
59365
|
+
this.clearBtnFocused = true;
|
|
59366
|
+
} else {
|
|
59367
|
+
this.clearBtnFocused = false;
|
|
59368
|
+
}
|
|
59369
|
+
});
|
|
59301
59370
|
}
|
|
59302
59371
|
|
|
59303
59372
|
/**
|
|
@@ -63209,7 +63278,8 @@ const selectKeyboardStrategy = {
|
|
|
63209
63278
|
|
|
63210
63279
|
// Tab selects the focused option and closes the popup per the
|
|
63211
63280
|
// WAI-ARIA APG select-only combobox / listbox pattern.
|
|
63212
|
-
|
|
63281
|
+
// Shift+Tab closes without selecting (user is navigating backward).
|
|
63282
|
+
if (!evt.shiftKey && component.optionActive && !component.multiSelect) {
|
|
63213
63283
|
component.menu.makeSelection();
|
|
63214
63284
|
}
|
|
63215
63285
|
component.dropdown.hide();
|
|
@@ -65466,19 +65536,32 @@ class AuroFloatingUI {
|
|
|
65466
65536
|
* @param {String} eventType - The event type that triggered the hiding action.
|
|
65467
65537
|
*/
|
|
65468
65538
|
hideBib(eventType = "unknown") {
|
|
65469
|
-
if (
|
|
65470
|
-
|
|
65471
|
-
|
|
65539
|
+
if (this.element.disabled) {
|
|
65540
|
+
return;
|
|
65541
|
+
}
|
|
65472
65542
|
|
|
65473
|
-
|
|
65474
|
-
|
|
65475
|
-
|
|
65476
|
-
|
|
65477
|
-
|
|
65478
|
-
|
|
65479
|
-
|
|
65480
|
-
|
|
65543
|
+
// noToggle dropdowns should not close when the trigger is clicked (the
|
|
65544
|
+
// "toggle" behavior), but they CAN still close via other interactions like
|
|
65545
|
+
// Escape key or focus loss.
|
|
65546
|
+
if (this.element.noToggle && eventType === "click") {
|
|
65547
|
+
return;
|
|
65548
|
+
}
|
|
65549
|
+
|
|
65550
|
+
this.lockScroll(false);
|
|
65551
|
+
this.element.triggerChevron?.removeAttribute("data-expanded");
|
|
65552
|
+
|
|
65553
|
+
if (this.element.isPopoverVisible) {
|
|
65554
|
+
this.element.isPopoverVisible = false;
|
|
65555
|
+
}
|
|
65556
|
+
if (this.showing) {
|
|
65557
|
+
this.cleanupHideHandlers();
|
|
65558
|
+
this.showing = false;
|
|
65559
|
+
this.dispatchEventDropdownToggle(eventType);
|
|
65481
65560
|
}
|
|
65561
|
+
|
|
65562
|
+
// Only clear the global reference if the bib was actually hidden.
|
|
65563
|
+
// Clearing it when hideBib is blocked (e.g. noToggle + click) corrupts
|
|
65564
|
+
// the singleton state so other dropdowns can't detect this one is still open.
|
|
65482
65565
|
document.expandedAuroFloater = null;
|
|
65483
65566
|
}
|
|
65484
65567
|
|
|
@@ -66811,7 +66894,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
66811
66894
|
}
|
|
66812
66895
|
};
|
|
66813
66896
|
|
|
66814
|
-
var formkitVersion$1 = '
|
|
66897
|
+
var formkitVersion$1 = '202603181736';
|
|
66815
66898
|
|
|
66816
66899
|
class AuroElement extends i$4 {
|
|
66817
66900
|
static get properties() {
|
|
@@ -68555,7 +68638,7 @@ class AuroHelpText extends i$4 {
|
|
|
68555
68638
|
}
|
|
68556
68639
|
}
|
|
68557
68640
|
|
|
68558
|
-
var formkitVersion = '
|
|
68641
|
+
var formkitVersion = '202603181736';
|
|
68559
68642
|
|
|
68560
68643
|
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}`;
|
|
68561
68644
|
|