@aurodesignsystem-dev/auro-formkit 0.0.0-pr1430.0 → 0.0.0-pr1431.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/api.min.js +3 -3
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.html +1 -0
- package/components/combobox/demo/api.js +3 -1
- package/components/combobox/demo/api.md +75 -0
- package/components/combobox/demo/api.min.js +34 -124
- package/components/combobox/demo/index.min.js +21 -123
- package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +1 -1
- package/components/combobox/dist/index.js +21 -123
- package/components/combobox/dist/registered.js +21 -123
- package/components/counter/demo/api.html +3 -0
- package/components/counter/demo/api.js +4 -0
- package/components/counter/demo/api.md +130 -0
- package/components/counter/demo/api.min.js +63 -132
- package/components/counter/demo/index.min.js +43 -132
- package/components/counter/dist/counterGroupKeyboardStrategy.d.ts +3 -0
- package/components/counter/dist/index.js +43 -132
- package/components/counter/dist/registered.js +43 -132
- package/components/datepicker/demo/api.html +1 -0
- package/components/datepicker/demo/api.js +2 -0
- package/components/datepicker/demo/api.md +57 -0
- package/components/datepicker/demo/api.min.js +106 -123
- package/components/datepicker/demo/index.min.js +94 -123
- package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -1
- package/components/datepicker/dist/index.js +94 -123
- package/components/datepicker/dist/registered.js +94 -123
- package/components/dropdown/demo/api.html +1 -0
- package/components/dropdown/demo/api.js +2 -0
- package/components/dropdown/demo/api.md +95 -0
- package/components/dropdown/demo/api.min.js +25 -116
- package/components/dropdown/demo/index.min.js +5 -116
- package/components/dropdown/dist/index.js +5 -116
- package/components/dropdown/dist/registered.js +5 -116
- package/components/form/demo/api.min.js +220 -547
- package/components/form/demo/index.min.js +220 -547
- 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 +2 -2
- package/components/radio/demo/index.min.js +2 -2
- package/components/radio/dist/index.js +2 -2
- package/components/radio/dist/registered.js +2 -2
- package/components/select/demo/api.html +1 -0
- package/components/select/demo/api.js +2 -0
- package/components/select/demo/api.md +76 -0
- package/components/select/demo/api.min.js +35 -129
- package/components/select/demo/index.min.js +22 -129
- package/components/select/dist/index.js +18 -125
- package/components/select/dist/registered.js +18 -125
- package/custom-elements.json +1451 -1427
- package/package.json +3 -2
|
@@ -568,7 +568,7 @@ const {
|
|
|
568
568
|
|
|
569
569
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
570
570
|
|
|
571
|
-
let AuroLibraryRuntimeUtils$
|
|
571
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
572
572
|
|
|
573
573
|
/* eslint-disable jsdoc/require-param */
|
|
574
574
|
|
|
@@ -651,7 +651,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
651
651
|
class AuroFormValidation {
|
|
652
652
|
|
|
653
653
|
constructor() {
|
|
654
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
654
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
655
655
|
}
|
|
656
656
|
|
|
657
657
|
/**
|
|
@@ -1333,6 +1333,10 @@ const selectKeyboardStrategy = {
|
|
|
1333
1333
|
if (!ctx.isExpanded) {
|
|
1334
1334
|
return;
|
|
1335
1335
|
}
|
|
1336
|
+
|
|
1337
|
+
// Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups
|
|
1338
|
+
evt.stopPropagation();
|
|
1339
|
+
|
|
1336
1340
|
component.dropdown.hide();
|
|
1337
1341
|
},
|
|
1338
1342
|
|
|
@@ -1468,7 +1472,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
1468
1472
|
|
|
1469
1473
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
1470
1474
|
|
|
1471
|
-
let AuroLibraryRuntimeUtils$
|
|
1475
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
1472
1476
|
|
|
1473
1477
|
/* eslint-disable jsdoc/require-param */
|
|
1474
1478
|
|
|
@@ -3257,7 +3261,6 @@ class AuroFloatingUI {
|
|
|
3257
3261
|
this.focusHandler = null;
|
|
3258
3262
|
this.clickHandler = null;
|
|
3259
3263
|
this.keyDownHandler = null;
|
|
3260
|
-
this.touchHandler = null;
|
|
3261
3264
|
|
|
3262
3265
|
/**
|
|
3263
3266
|
* @private
|
|
@@ -3675,28 +3678,6 @@ class AuroFloatingUI {
|
|
|
3675
3678
|
setTimeout(() => {
|
|
3676
3679
|
window.addEventListener("click", this.clickHandler);
|
|
3677
3680
|
}, 0);
|
|
3678
|
-
|
|
3679
|
-
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
3680
|
-
// tapping an inert backdrop never reaches the click handler above.
|
|
3681
|
-
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
3682
|
-
this.touchHandler = (evt) => {
|
|
3683
|
-
const element = this.element;
|
|
3684
|
-
if (!element?.bib) {
|
|
3685
|
-
return;
|
|
3686
|
-
}
|
|
3687
|
-
|
|
3688
|
-
// fullscreen (modal) dialog handles its own dismissal
|
|
3689
|
-
if (element.bib.hasAttribute("isfullscreen")) {
|
|
3690
|
-
return;
|
|
3691
|
-
}
|
|
3692
|
-
|
|
3693
|
-
const path = evt.composedPath();
|
|
3694
|
-
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
3695
|
-
this.hideBib("click");
|
|
3696
|
-
}
|
|
3697
|
-
};
|
|
3698
|
-
|
|
3699
|
-
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
3700
3681
|
}
|
|
3701
3682
|
|
|
3702
3683
|
cleanupHideHandlers() {
|
|
@@ -3712,11 +3693,6 @@ class AuroFloatingUI {
|
|
|
3712
3693
|
this.clickHandler = null;
|
|
3713
3694
|
}
|
|
3714
3695
|
|
|
3715
|
-
if (this.touchHandler) {
|
|
3716
|
-
window.removeEventListener("touchstart", this.touchHandler);
|
|
3717
|
-
this.touchHandler = null;
|
|
3718
|
-
}
|
|
3719
|
-
|
|
3720
3696
|
if (this.keyDownHandler) {
|
|
3721
3697
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
3722
3698
|
this.keyDownHandler = null;
|
|
@@ -4509,89 +4485,6 @@ let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
4509
4485
|
|
|
4510
4486
|
var iconVersion$2 = '9.1.2';
|
|
4511
4487
|
|
|
4512
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
4513
|
-
// See LICENSE in the project root for license information.
|
|
4514
|
-
|
|
4515
|
-
// ---------------------------------------------------------------------
|
|
4516
|
-
|
|
4517
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4518
|
-
|
|
4519
|
-
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
4520
|
-
|
|
4521
|
-
/* eslint-disable jsdoc/require-param */
|
|
4522
|
-
|
|
4523
|
-
/**
|
|
4524
|
-
* This will register a new custom element with the browser.
|
|
4525
|
-
* @param {String} name - The name of the custom element.
|
|
4526
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
4527
|
-
* @returns {void}
|
|
4528
|
-
*/
|
|
4529
|
-
registerComponent(name, componentClass) {
|
|
4530
|
-
if (!customElements.get(name)) {
|
|
4531
|
-
customElements.define(name, class extends componentClass {});
|
|
4532
|
-
}
|
|
4533
|
-
}
|
|
4534
|
-
|
|
4535
|
-
/**
|
|
4536
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
4537
|
-
* @returns {void}
|
|
4538
|
-
*/
|
|
4539
|
-
closestElement(
|
|
4540
|
-
selector, // selector like in .closest()
|
|
4541
|
-
base = this, // extra functionality to skip a parent
|
|
4542
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
4543
|
-
!el || el === document || el === window
|
|
4544
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
4545
|
-
: found
|
|
4546
|
-
? found // found a selector INside this element
|
|
4547
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
4548
|
-
) {
|
|
4549
|
-
return __Closest(base);
|
|
4550
|
-
}
|
|
4551
|
-
/* eslint-enable jsdoc/require-param */
|
|
4552
|
-
|
|
4553
|
-
/**
|
|
4554
|
-
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
4555
|
-
* @param {Object} elem - The element to check.
|
|
4556
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
4557
|
-
* @returns {void}
|
|
4558
|
-
*/
|
|
4559
|
-
handleComponentTagRename(elem, tagName) {
|
|
4560
|
-
const tag = tagName.toLowerCase();
|
|
4561
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
4562
|
-
|
|
4563
|
-
if (elemTag !== tag) {
|
|
4564
|
-
elem.setAttribute(tag, true);
|
|
4565
|
-
}
|
|
4566
|
-
}
|
|
4567
|
-
|
|
4568
|
-
/**
|
|
4569
|
-
* Validates if an element is a specific Auro component.
|
|
4570
|
-
* @param {Object} elem - The element to validate.
|
|
4571
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
4572
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
4573
|
-
*/
|
|
4574
|
-
elementMatch(elem, tagName) {
|
|
4575
|
-
const tag = tagName.toLowerCase();
|
|
4576
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
4577
|
-
|
|
4578
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
4579
|
-
}
|
|
4580
|
-
|
|
4581
|
-
/**
|
|
4582
|
-
* Gets the text content of a named slot.
|
|
4583
|
-
* @returns {String}
|
|
4584
|
-
* @private
|
|
4585
|
-
*/
|
|
4586
|
-
getSlotText(elem, name) {
|
|
4587
|
-
const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
|
|
4588
|
-
const nodes = slot?.assignedNodes({ flatten: true }) || [];
|
|
4589
|
-
const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
|
|
4590
|
-
|
|
4591
|
-
return text || null;
|
|
4592
|
-
}
|
|
4593
|
-
};
|
|
4594
|
-
|
|
4595
4488
|
/**
|
|
4596
4489
|
* Computes display state once per keydown event.
|
|
4597
4490
|
* Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
|
|
@@ -5059,7 +4952,7 @@ var tokensCss$2 = i$6`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
5059
4952
|
|
|
5060
4953
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
5061
4954
|
|
|
5062
|
-
let AuroLibraryRuntimeUtils$
|
|
4955
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
5063
4956
|
|
|
5064
4957
|
/* eslint-disable jsdoc/require-param */
|
|
5065
4958
|
|
|
@@ -5152,7 +5045,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
5152
5045
|
this.onDark = false;
|
|
5153
5046
|
this.hasTextContent = false;
|
|
5154
5047
|
|
|
5155
|
-
AuroLibraryRuntimeUtils$
|
|
5048
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
5156
5049
|
}
|
|
5157
5050
|
|
|
5158
5051
|
static get styles() {
|
|
@@ -5218,7 +5111,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
5218
5111
|
*
|
|
5219
5112
|
*/
|
|
5220
5113
|
static register(name = "auro-helptext") {
|
|
5221
|
-
AuroLibraryRuntimeUtils$
|
|
5114
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
5222
5115
|
}
|
|
5223
5116
|
|
|
5224
5117
|
updated() {
|
|
@@ -5274,7 +5167,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
5274
5167
|
}
|
|
5275
5168
|
};
|
|
5276
5169
|
|
|
5277
|
-
var formkitVersion$1 = '
|
|
5170
|
+
var formkitVersion$1 = '202604091424';
|
|
5278
5171
|
|
|
5279
5172
|
class AuroElement extends i$3 {
|
|
5280
5173
|
static get properties() {
|
|
@@ -5380,7 +5273,7 @@ class AuroElement extends i$3 {
|
|
|
5380
5273
|
}
|
|
5381
5274
|
}
|
|
5382
5275
|
|
|
5383
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
5276
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
5384
5277
|
// See LICENSE in the project root for license information.
|
|
5385
5278
|
|
|
5386
5279
|
|
|
@@ -5485,7 +5378,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5485
5378
|
/**
|
|
5486
5379
|
* @private
|
|
5487
5380
|
*/
|
|
5488
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
5381
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
5489
5382
|
|
|
5490
5383
|
/**
|
|
5491
5384
|
* @private
|
|
@@ -5903,7 +5796,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5903
5796
|
*
|
|
5904
5797
|
*/
|
|
5905
5798
|
static register(name = "auro-dropdown") {
|
|
5906
|
-
AuroLibraryRuntimeUtils$
|
|
5799
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
5907
5800
|
}
|
|
5908
5801
|
|
|
5909
5802
|
/**
|
|
@@ -7027,13 +6920,13 @@ class AuroHelpText extends i$3 {
|
|
|
7027
6920
|
}
|
|
7028
6921
|
}
|
|
7029
6922
|
|
|
7030
|
-
var formkitVersion = '
|
|
6923
|
+
var formkitVersion = '202604091424';
|
|
7031
6924
|
|
|
7032
6925
|
var styleCss$2 = i$6`.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}`;
|
|
7033
6926
|
|
|
7034
6927
|
var emphasizedColorCss = i$6`:host([layout=emphasized]) [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown]:hover{--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown][layout*=emphasized]::part(wrapper){--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}`;
|
|
7035
6928
|
|
|
7036
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
6929
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
7037
6930
|
// See LICENSE in the project root for license information.
|
|
7038
6931
|
|
|
7039
6932
|
|
|
@@ -7096,7 +6989,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7096
6989
|
/**
|
|
7097
6990
|
* @private
|
|
7098
6991
|
*/
|
|
7099
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
6992
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
7100
6993
|
|
|
7101
6994
|
/**
|
|
7102
6995
|
* Generate unique names for dependency components.
|
|
@@ -7652,7 +7545,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7652
7545
|
*
|
|
7653
7546
|
*/
|
|
7654
7547
|
static register(name = "auro-select") {
|
|
7655
|
-
AuroLibraryRuntimeUtils$
|
|
7548
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroSelect);
|
|
7656
7549
|
}
|
|
7657
7550
|
|
|
7658
7551
|
/**
|
|
@@ -8670,7 +8563,7 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
8670
8563
|
*
|
|
8671
8564
|
*/
|
|
8672
8565
|
static register(name = "auro-menuoption") {
|
|
8673
|
-
AuroLibraryRuntimeUtils$
|
|
8566
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroMenuOption);
|
|
8674
8567
|
}
|
|
8675
8568
|
|
|
8676
8569
|
/**
|
|
@@ -8712,7 +8605,7 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
8712
8605
|
/**
|
|
8713
8606
|
* @private
|
|
8714
8607
|
*/
|
|
8715
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
8608
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
8716
8609
|
|
|
8717
8610
|
// Initialize context-related properties
|
|
8718
8611
|
this.menuService = null;
|
|
@@ -10150,7 +10043,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
10150
10043
|
*
|
|
10151
10044
|
*/
|
|
10152
10045
|
static register(name = "auro-menu") {
|
|
10153
|
-
AuroLibraryRuntimeUtils$
|
|
10046
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroMenu);
|
|
10154
10047
|
}
|
|
10155
10048
|
|
|
10156
10049
|
/**
|
|
@@ -10300,7 +10193,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
10300
10193
|
}
|
|
10301
10194
|
|
|
10302
10195
|
firstUpdated() {
|
|
10303
|
-
AuroLibraryRuntimeUtils$
|
|
10196
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
10304
10197
|
|
|
10305
10198
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
10306
10199
|
this.initializeMenu();
|
|
@@ -531,7 +531,7 @@ const {
|
|
|
531
531
|
|
|
532
532
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
533
533
|
|
|
534
|
-
let AuroLibraryRuntimeUtils$
|
|
534
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
535
535
|
|
|
536
536
|
/* eslint-disable jsdoc/require-param */
|
|
537
537
|
|
|
@@ -614,7 +614,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
614
614
|
class AuroFormValidation {
|
|
615
615
|
|
|
616
616
|
constructor() {
|
|
617
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
617
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
618
618
|
}
|
|
619
619
|
|
|
620
620
|
/**
|
|
@@ -1290,6 +1290,10 @@ const selectKeyboardStrategy = {
|
|
|
1290
1290
|
if (!ctx.isExpanded) {
|
|
1291
1291
|
return;
|
|
1292
1292
|
}
|
|
1293
|
+
|
|
1294
|
+
// Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups
|
|
1295
|
+
evt.stopPropagation();
|
|
1296
|
+
|
|
1293
1297
|
component.dropdown.hide();
|
|
1294
1298
|
},
|
|
1295
1299
|
|
|
@@ -1401,7 +1405,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
1401
1405
|
|
|
1402
1406
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
1403
1407
|
|
|
1404
|
-
let AuroLibraryRuntimeUtils$
|
|
1408
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
1405
1409
|
|
|
1406
1410
|
/* eslint-disable jsdoc/require-param */
|
|
1407
1411
|
|
|
@@ -3190,7 +3194,6 @@ class AuroFloatingUI {
|
|
|
3190
3194
|
this.focusHandler = null;
|
|
3191
3195
|
this.clickHandler = null;
|
|
3192
3196
|
this.keyDownHandler = null;
|
|
3193
|
-
this.touchHandler = null;
|
|
3194
3197
|
|
|
3195
3198
|
/**
|
|
3196
3199
|
* @private
|
|
@@ -3608,28 +3611,6 @@ class AuroFloatingUI {
|
|
|
3608
3611
|
setTimeout(() => {
|
|
3609
3612
|
window.addEventListener("click", this.clickHandler);
|
|
3610
3613
|
}, 0);
|
|
3611
|
-
|
|
3612
|
-
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
3613
|
-
// tapping an inert backdrop never reaches the click handler above.
|
|
3614
|
-
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
3615
|
-
this.touchHandler = (evt) => {
|
|
3616
|
-
const element = this.element;
|
|
3617
|
-
if (!element?.bib) {
|
|
3618
|
-
return;
|
|
3619
|
-
}
|
|
3620
|
-
|
|
3621
|
-
// fullscreen (modal) dialog handles its own dismissal
|
|
3622
|
-
if (element.bib.hasAttribute("isfullscreen")) {
|
|
3623
|
-
return;
|
|
3624
|
-
}
|
|
3625
|
-
|
|
3626
|
-
const path = evt.composedPath();
|
|
3627
|
-
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
3628
|
-
this.hideBib("click");
|
|
3629
|
-
}
|
|
3630
|
-
};
|
|
3631
|
-
|
|
3632
|
-
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
3633
3614
|
}
|
|
3634
3615
|
|
|
3635
3616
|
cleanupHideHandlers() {
|
|
@@ -3645,11 +3626,6 @@ class AuroFloatingUI {
|
|
|
3645
3626
|
this.clickHandler = null;
|
|
3646
3627
|
}
|
|
3647
3628
|
|
|
3648
|
-
if (this.touchHandler) {
|
|
3649
|
-
window.removeEventListener("touchstart", this.touchHandler);
|
|
3650
|
-
this.touchHandler = null;
|
|
3651
|
-
}
|
|
3652
|
-
|
|
3653
3629
|
if (this.keyDownHandler) {
|
|
3654
3630
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
3655
3631
|
this.keyDownHandler = null;
|
|
@@ -4442,89 +4418,6 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
4442
4418
|
|
|
4443
4419
|
var iconVersion$1 = '9.1.2';
|
|
4444
4420
|
|
|
4445
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
4446
|
-
// See LICENSE in the project root for license information.
|
|
4447
|
-
|
|
4448
|
-
// ---------------------------------------------------------------------
|
|
4449
|
-
|
|
4450
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4451
|
-
|
|
4452
|
-
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
4453
|
-
|
|
4454
|
-
/* eslint-disable jsdoc/require-param */
|
|
4455
|
-
|
|
4456
|
-
/**
|
|
4457
|
-
* This will register a new custom element with the browser.
|
|
4458
|
-
* @param {String} name - The name of the custom element.
|
|
4459
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
4460
|
-
* @returns {void}
|
|
4461
|
-
*/
|
|
4462
|
-
registerComponent(name, componentClass) {
|
|
4463
|
-
if (!customElements.get(name)) {
|
|
4464
|
-
customElements.define(name, class extends componentClass {});
|
|
4465
|
-
}
|
|
4466
|
-
}
|
|
4467
|
-
|
|
4468
|
-
/**
|
|
4469
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
4470
|
-
* @returns {void}
|
|
4471
|
-
*/
|
|
4472
|
-
closestElement(
|
|
4473
|
-
selector, // selector like in .closest()
|
|
4474
|
-
base = this, // extra functionality to skip a parent
|
|
4475
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
4476
|
-
!el || el === document || el === window
|
|
4477
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
4478
|
-
: found
|
|
4479
|
-
? found // found a selector INside this element
|
|
4480
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
4481
|
-
) {
|
|
4482
|
-
return __Closest(base);
|
|
4483
|
-
}
|
|
4484
|
-
/* eslint-enable jsdoc/require-param */
|
|
4485
|
-
|
|
4486
|
-
/**
|
|
4487
|
-
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
4488
|
-
* @param {Object} elem - The element to check.
|
|
4489
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
4490
|
-
* @returns {void}
|
|
4491
|
-
*/
|
|
4492
|
-
handleComponentTagRename(elem, tagName) {
|
|
4493
|
-
const tag = tagName.toLowerCase();
|
|
4494
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
4495
|
-
|
|
4496
|
-
if (elemTag !== tag) {
|
|
4497
|
-
elem.setAttribute(tag, true);
|
|
4498
|
-
}
|
|
4499
|
-
}
|
|
4500
|
-
|
|
4501
|
-
/**
|
|
4502
|
-
* Validates if an element is a specific Auro component.
|
|
4503
|
-
* @param {Object} elem - The element to validate.
|
|
4504
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
4505
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
4506
|
-
*/
|
|
4507
|
-
elementMatch(elem, tagName) {
|
|
4508
|
-
const tag = tagName.toLowerCase();
|
|
4509
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
4510
|
-
|
|
4511
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
4512
|
-
}
|
|
4513
|
-
|
|
4514
|
-
/**
|
|
4515
|
-
* Gets the text content of a named slot.
|
|
4516
|
-
* @returns {String}
|
|
4517
|
-
* @private
|
|
4518
|
-
*/
|
|
4519
|
-
getSlotText(elem, name) {
|
|
4520
|
-
const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
|
|
4521
|
-
const nodes = slot?.assignedNodes({ flatten: true }) || [];
|
|
4522
|
-
const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
|
|
4523
|
-
|
|
4524
|
-
return text || null;
|
|
4525
|
-
}
|
|
4526
|
-
};
|
|
4527
|
-
|
|
4528
4421
|
/**
|
|
4529
4422
|
* Computes display state once per keydown event.
|
|
4530
4423
|
* Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
|
|
@@ -4992,7 +4885,7 @@ var tokensCss$2 = css`:host{--ds-auro-helptext-color: var(--ds-basic-color-texti
|
|
|
4992
4885
|
|
|
4993
4886
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
4994
4887
|
|
|
4995
|
-
let AuroLibraryRuntimeUtils$
|
|
4888
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
4996
4889
|
|
|
4997
4890
|
/* eslint-disable jsdoc/require-param */
|
|
4998
4891
|
|
|
@@ -5085,7 +4978,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
5085
4978
|
this.onDark = false;
|
|
5086
4979
|
this.hasTextContent = false;
|
|
5087
4980
|
|
|
5088
|
-
AuroLibraryRuntimeUtils$
|
|
4981
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
5089
4982
|
}
|
|
5090
4983
|
|
|
5091
4984
|
static get styles() {
|
|
@@ -5151,7 +5044,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
5151
5044
|
*
|
|
5152
5045
|
*/
|
|
5153
5046
|
static register(name = "auro-helptext") {
|
|
5154
|
-
AuroLibraryRuntimeUtils$
|
|
5047
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
5155
5048
|
}
|
|
5156
5049
|
|
|
5157
5050
|
updated() {
|
|
@@ -5207,7 +5100,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
5207
5100
|
}
|
|
5208
5101
|
};
|
|
5209
5102
|
|
|
5210
|
-
var formkitVersion$1 = '
|
|
5103
|
+
var formkitVersion$1 = '202604091424';
|
|
5211
5104
|
|
|
5212
5105
|
class AuroElement extends LitElement {
|
|
5213
5106
|
static get properties() {
|
|
@@ -5313,7 +5206,7 @@ class AuroElement extends LitElement {
|
|
|
5313
5206
|
}
|
|
5314
5207
|
}
|
|
5315
5208
|
|
|
5316
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
5209
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
5317
5210
|
// See LICENSE in the project root for license information.
|
|
5318
5211
|
|
|
5319
5212
|
|
|
@@ -5418,7 +5311,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5418
5311
|
/**
|
|
5419
5312
|
* @private
|
|
5420
5313
|
*/
|
|
5421
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
5314
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
5422
5315
|
|
|
5423
5316
|
/**
|
|
5424
5317
|
* @private
|
|
@@ -5836,7 +5729,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5836
5729
|
*
|
|
5837
5730
|
*/
|
|
5838
5731
|
static register(name = "auro-dropdown") {
|
|
5839
|
-
AuroLibraryRuntimeUtils$
|
|
5732
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
5840
5733
|
}
|
|
5841
5734
|
|
|
5842
5735
|
/**
|
|
@@ -6960,13 +6853,13 @@ class AuroHelpText extends LitElement {
|
|
|
6960
6853
|
}
|
|
6961
6854
|
}
|
|
6962
6855
|
|
|
6963
|
-
var formkitVersion = '
|
|
6856
|
+
var formkitVersion = '202604091424';
|
|
6964
6857
|
|
|
6965
6858
|
var styleCss = css`.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}`;
|
|
6966
6859
|
|
|
6967
6860
|
var emphasizedColorCss = css`:host([layout=emphasized]) [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown]:hover{--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout=emphasized]) [auro-dropdown][layout*=emphasized]::part(wrapper){--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}`;
|
|
6968
6861
|
|
|
6969
|
-
// Copyright (c) 2026 Alaska Airlines. All
|
|
6862
|
+
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
6970
6863
|
// See LICENSE in the project root for license information.
|
|
6971
6864
|
|
|
6972
6865
|
|
|
@@ -7029,7 +6922,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7029
6922
|
/**
|
|
7030
6923
|
* @private
|
|
7031
6924
|
*/
|
|
7032
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
6925
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
7033
6926
|
|
|
7034
6927
|
/**
|
|
7035
6928
|
* Generate unique names for dependency components.
|
|
@@ -7585,7 +7478,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7585
7478
|
*
|
|
7586
7479
|
*/
|
|
7587
7480
|
static register(name = "auro-select") {
|
|
7588
|
-
AuroLibraryRuntimeUtils$
|
|
7481
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroSelect);
|
|
7589
7482
|
}
|
|
7590
7483
|
|
|
7591
7484
|
/**
|