@aurodesignsystem-dev/auro-formkit 0.0.0-pr1522.3 → 0.0.0-pr1524.1
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/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.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/customize.min.js +79 -24
- package/components/combobox/demo/getting-started.min.js +79 -24
- package/components/combobox/demo/index.min.js +79 -24
- package/components/combobox/dist/auro-combobox.d.ts +10 -0
- package/components/combobox/dist/index.js +79 -24
- package/components/combobox/dist/registered.js +79 -24
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +19 -21
- package/components/datepicker/demo/index.min.js +19 -21
- package/components/datepicker/dist/index.js +19 -21
- package/components/datepicker/dist/registered.js +19 -21
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +179 -82
- package/components/form/demo/getting-started.min.js +179 -82
- package/components/form/demo/index.min.js +179 -82
- package/components/form/demo/registerDemoDeps.min.js +179 -82
- package/components/input/demo/customize.min.js +17 -19
- package/components/input/demo/getting-started.min.js +17 -19
- package/components/input/demo/index.min.js +17 -19
- package/components/input/dist/index.js +17 -19
- package/components/input/dist/registered.js +17 -19
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.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/customize.min.js +62 -16
- package/components/select/demo/getting-started.min.js +62 -16
- package/components/select/demo/index.min.js +62 -16
- package/components/select/dist/auro-select.d.ts +6 -0
- package/components/select/dist/index.js +62 -16
- package/components/select/dist/registered.js +62 -16
- package/custom-elements.json +16 -2
- package/package.json +1 -1
|
@@ -4812,7 +4812,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4812
4812
|
}
|
|
4813
4813
|
};
|
|
4814
4814
|
|
|
4815
|
-
var formkitVersion$2 = '
|
|
4815
|
+
var formkitVersion$2 = '202607022214';
|
|
4816
4816
|
|
|
4817
4817
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4818
4818
|
static get properties() {
|
|
@@ -17694,14 +17694,17 @@ class BaseInput extends AuroElement$1 {
|
|
|
17694
17694
|
* @returns {void}
|
|
17695
17695
|
*/
|
|
17696
17696
|
notifyValueChanged() {
|
|
17697
|
-
|
|
17698
|
-
|
|
17699
|
-
|
|
17697
|
+
// This echoes Lit's reactive value update (and handleClickClear's
|
|
17698
|
+
// programmatic clear) — it is NOT a fresh user-input event. Mark it
|
|
17699
|
+
// `isProgrammatic` so consumers (e.g. auro-combobox) can distinguish
|
|
17700
|
+
// it from genuine user typing and skip clobbering their own
|
|
17701
|
+
// programmatic state during init-time renders.
|
|
17702
|
+
const inputEvent = new Event('input', {
|
|
17700
17703
|
bubbles: true,
|
|
17701
17704
|
composed: true,
|
|
17702
17705
|
});
|
|
17706
|
+
inputEvent.isProgrammatic = true;
|
|
17703
17707
|
|
|
17704
|
-
// Dispatched event to alert outside shadow DOM context of event firing.
|
|
17705
17708
|
this.dispatchEvent(inputEvent);
|
|
17706
17709
|
}
|
|
17707
17710
|
|
|
@@ -18414,7 +18417,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18414
18417
|
}
|
|
18415
18418
|
};
|
|
18416
18419
|
|
|
18417
|
-
var formkitVersion$1 = '
|
|
18420
|
+
var formkitVersion$1 = '202607022214';
|
|
18418
18421
|
|
|
18419
18422
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18420
18423
|
// See LICENSE in the project root for license information.
|
|
@@ -18700,20 +18703,15 @@ class AuroInput extends BaseInput {
|
|
|
18700
18703
|
* @returns {void}
|
|
18701
18704
|
*/
|
|
18702
18705
|
checkDisplayValueSlotChange() {
|
|
18703
|
-
|
|
18704
|
-
|
|
18705
|
-
//
|
|
18706
|
-
|
|
18707
|
-
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
let hasContent = false;
|
|
18711
|
-
|
|
18712
|
-
if (nodes.length > 0) {
|
|
18713
|
-
hasContent = true;
|
|
18714
|
-
}
|
|
18706
|
+
// flatten:true resolves through auro-combobox's forwarding slot
|
|
18707
|
+
// (<slot name="displayValue" slot="displayValue">) so a clone appended
|
|
18708
|
+
// directly to auro-input's light DOM alongside the forwarder still
|
|
18709
|
+
// counts as content. The prior nodes[0].tagName === 'SLOT' recursion
|
|
18710
|
+
// discarded any siblings past the forwarder.
|
|
18711
|
+
const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
|
|
18712
|
+
const nodes = slot.assignedNodes({ flatten: true });
|
|
18715
18713
|
|
|
18716
|
-
this.hasDisplayValueContent =
|
|
18714
|
+
this.hasDisplayValueContent = nodes.length > 0;
|
|
18717
18715
|
}
|
|
18718
18716
|
|
|
18719
18717
|
firstUpdated() {
|
|
@@ -19540,7 +19538,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19540
19538
|
}
|
|
19541
19539
|
}
|
|
19542
19540
|
|
|
19543
|
-
var formkitVersion = '
|
|
19541
|
+
var formkitVersion = '202607022214';
|
|
19544
19542
|
|
|
19545
19543
|
var styleCss$1 = 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}: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}`;
|
|
19546
19544
|
|
|
@@ -20639,9 +20637,19 @@ class AuroCombobox extends AuroElement {
|
|
|
20639
20637
|
/**
|
|
20640
20638
|
* Processes hidden state of all menu options and determines if there are any available options not hidden.
|
|
20641
20639
|
* @private
|
|
20640
|
+
* @param {object} [options={}] - Optional flag bag.
|
|
20641
|
+
* @param {boolean} [options.preferComboboxValue=false] - When true,
|
|
20642
|
+
* handleMenuOptions matches the selected option against `this.value`
|
|
20643
|
+
* first instead of `this.input.value`. Needed on mount and re-mount
|
|
20644
|
+
* because under `persistInput` the consumer's typedValue prop can drift
|
|
20645
|
+
* from the framework value (Svelte `{#key}` re-mount after a swap, or
|
|
20646
|
+
* SPA preselect after route change) and the old input-first match would
|
|
20647
|
+
* then pick the stale text. Only handleSlotChange passes this; typing
|
|
20648
|
+
* and clearing paths keep the input-first match so user clears aren't
|
|
20649
|
+
* undone.
|
|
20642
20650
|
* @returns {void}
|
|
20643
20651
|
*/
|
|
20644
|
-
handleMenuOptions() {
|
|
20652
|
+
handleMenuOptions({ preferComboboxValue = false } = {}) {
|
|
20645
20653
|
this.generateOptionsArray();
|
|
20646
20654
|
this.availableOptions = [];
|
|
20647
20655
|
// Single source of truth for the menu's filter/highlight token per call.
|
|
@@ -20662,7 +20670,20 @@ class AuroCombobox extends AuroElement {
|
|
|
20662
20670
|
option.setAttribute('aria-posinset', index + 1);
|
|
20663
20671
|
});
|
|
20664
20672
|
|
|
20665
|
-
|
|
20673
|
+
// On mount/re-mount (via handleSlotChange), prefer the framework-set
|
|
20674
|
+
// `this.value` when it matches a menu option. Covers SPA preselect and
|
|
20675
|
+
// consumer swap patterns (e.g. Svelte `{#key}` re-mount) where
|
|
20676
|
+
// `this.value` is authoritative but `this.input.value` may be empty or
|
|
20677
|
+
// carry stale typed text from another field. Event-driven callers do
|
|
20678
|
+
// not pass the flag, otherwise user clears would be undone by
|
|
20679
|
+
// re-syncing to the previous combobox.value.
|
|
20680
|
+
if (preferComboboxValue &&
|
|
20681
|
+
this.value &&
|
|
20682
|
+
this.menu.options?.some((opt) => opt.value === this.value)) {
|
|
20683
|
+
this.setMenuValue(this.value);
|
|
20684
|
+
this.syncValuesAndStates();
|
|
20685
|
+
} else if (this.input.value &&
|
|
20686
|
+
this.menu.options?.some((opt) => opt.value === this.input.value)) {
|
|
20666
20687
|
this.setMenuValue(this.input.value);
|
|
20667
20688
|
this.syncValuesAndStates();
|
|
20668
20689
|
}
|
|
@@ -21099,7 +21120,25 @@ class AuroCombobox extends AuroElement {
|
|
|
21099
21120
|
this.optionActive = evt.detail;
|
|
21100
21121
|
|
|
21101
21122
|
if (this.input) {
|
|
21102
|
-
|
|
21123
|
+
// setActiveDescendant runs after Lit's update finishes because the
|
|
21124
|
+
// template's `.a11yActivedescendant` binding calls setAttribute on
|
|
21125
|
+
// the internal <input> in auro-input.updated(), which clears the
|
|
21126
|
+
// reflected ariaActiveDescendantElement property. Setting the ref
|
|
21127
|
+
// synchronously here would get overwritten by that attribute write.
|
|
21128
|
+
// Awaiting updateComplete lets the attribute write finish first,
|
|
21129
|
+
// then the ref sticks and screen readers can cross the shadow-DOM
|
|
21130
|
+
// boundary to the auro-menuoption in light DOM.
|
|
21131
|
+
//
|
|
21132
|
+
// The equality check covers the async gap: this.optionActive can
|
|
21133
|
+
// change before the callback runs (user arrowed elsewhere, or the
|
|
21134
|
+
// menu closed and cleared it to null), so we bail if the target
|
|
21135
|
+
// no longer matches to avoid reinstating a stale ref.
|
|
21136
|
+
const targetOption = this.optionActive;
|
|
21137
|
+
this.updateComplete.then(() => {
|
|
21138
|
+
if (this.input && this.optionActive === targetOption) {
|
|
21139
|
+
this.input.setActiveDescendant(targetOption);
|
|
21140
|
+
}
|
|
21141
|
+
});
|
|
21103
21142
|
}
|
|
21104
21143
|
|
|
21105
21144
|
// In fullscreen mode the menu sits inside a nested <dialog> shadow root,
|
|
@@ -21236,6 +21275,18 @@ class AuroCombobox extends AuroElement {
|
|
|
21236
21275
|
}
|
|
21237
21276
|
}
|
|
21238
21277
|
|
|
21278
|
+
// SPA preselect guard: on init render, auro-input's notifyValueChanged
|
|
21279
|
+
// echoes an empty value through as an isProgrammatic input event before
|
|
21280
|
+
// the framework-set combobox.value has propagated down to the input.
|
|
21281
|
+
// Without this bail, the `this.value = this.input.value` below clobbers
|
|
21282
|
+
// the framework value with '' and clear() wipes optionSelected. Scoped
|
|
21283
|
+
// to the exact shape of that echo (isProgrammatic + non-empty combobox
|
|
21284
|
+
// value + empty input.value) so it doesn't affect the swap/typed paths
|
|
21285
|
+
// where value/input already track each other through the sync helpers.
|
|
21286
|
+
if (event && event.isProgrammatic && this.value && !this.input.value) {
|
|
21287
|
+
return;
|
|
21288
|
+
}
|
|
21289
|
+
|
|
21239
21290
|
this.value = this.input.value;
|
|
21240
21291
|
|
|
21241
21292
|
// Ignore re-entrant input events caused by programmatic value sets.
|
|
@@ -21668,7 +21719,11 @@ class AuroCombobox extends AuroElement {
|
|
|
21668
21719
|
}
|
|
21669
21720
|
});
|
|
21670
21721
|
|
|
21671
|
-
|
|
21722
|
+
// Slot change (mount/re-mount): pass `preferComboboxValue` so that a
|
|
21723
|
+
// framework-set `this.value` wins over any stale `input.value` when
|
|
21724
|
+
// matching against the newly-available options. Fixes the display
|
|
21725
|
+
// for SPA preselect and Svelte `{#key}` re-mount swap patterns.
|
|
21726
|
+
this.handleMenuOptions({ preferComboboxValue: true });
|
|
21672
21727
|
|
|
21673
21728
|
break;
|
|
21674
21729
|
|
|
@@ -4812,7 +4812,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4812
4812
|
}
|
|
4813
4813
|
};
|
|
4814
4814
|
|
|
4815
|
-
var formkitVersion$2 = '
|
|
4815
|
+
var formkitVersion$2 = '202607022214';
|
|
4816
4816
|
|
|
4817
4817
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4818
4818
|
static get properties() {
|
|
@@ -17694,14 +17694,17 @@ class BaseInput extends AuroElement$1 {
|
|
|
17694
17694
|
* @returns {void}
|
|
17695
17695
|
*/
|
|
17696
17696
|
notifyValueChanged() {
|
|
17697
|
-
|
|
17698
|
-
|
|
17699
|
-
|
|
17697
|
+
// This echoes Lit's reactive value update (and handleClickClear's
|
|
17698
|
+
// programmatic clear) — it is NOT a fresh user-input event. Mark it
|
|
17699
|
+
// `isProgrammatic` so consumers (e.g. auro-combobox) can distinguish
|
|
17700
|
+
// it from genuine user typing and skip clobbering their own
|
|
17701
|
+
// programmatic state during init-time renders.
|
|
17702
|
+
const inputEvent = new Event('input', {
|
|
17700
17703
|
bubbles: true,
|
|
17701
17704
|
composed: true,
|
|
17702
17705
|
});
|
|
17706
|
+
inputEvent.isProgrammatic = true;
|
|
17703
17707
|
|
|
17704
|
-
// Dispatched event to alert outside shadow DOM context of event firing.
|
|
17705
17708
|
this.dispatchEvent(inputEvent);
|
|
17706
17709
|
}
|
|
17707
17710
|
|
|
@@ -18414,7 +18417,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18414
18417
|
}
|
|
18415
18418
|
};
|
|
18416
18419
|
|
|
18417
|
-
var formkitVersion$1 = '
|
|
18420
|
+
var formkitVersion$1 = '202607022214';
|
|
18418
18421
|
|
|
18419
18422
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18420
18423
|
// See LICENSE in the project root for license information.
|
|
@@ -18700,20 +18703,15 @@ class AuroInput extends BaseInput {
|
|
|
18700
18703
|
* @returns {void}
|
|
18701
18704
|
*/
|
|
18702
18705
|
checkDisplayValueSlotChange() {
|
|
18703
|
-
|
|
18704
|
-
|
|
18705
|
-
//
|
|
18706
|
-
|
|
18707
|
-
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
let hasContent = false;
|
|
18711
|
-
|
|
18712
|
-
if (nodes.length > 0) {
|
|
18713
|
-
hasContent = true;
|
|
18714
|
-
}
|
|
18706
|
+
// flatten:true resolves through auro-combobox's forwarding slot
|
|
18707
|
+
// (<slot name="displayValue" slot="displayValue">) so a clone appended
|
|
18708
|
+
// directly to auro-input's light DOM alongside the forwarder still
|
|
18709
|
+
// counts as content. The prior nodes[0].tagName === 'SLOT' recursion
|
|
18710
|
+
// discarded any siblings past the forwarder.
|
|
18711
|
+
const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
|
|
18712
|
+
const nodes = slot.assignedNodes({ flatten: true });
|
|
18715
18713
|
|
|
18716
|
-
this.hasDisplayValueContent =
|
|
18714
|
+
this.hasDisplayValueContent = nodes.length > 0;
|
|
18717
18715
|
}
|
|
18718
18716
|
|
|
18719
18717
|
firstUpdated() {
|
|
@@ -19540,7 +19538,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19540
19538
|
}
|
|
19541
19539
|
}
|
|
19542
19540
|
|
|
19543
|
-
var formkitVersion = '
|
|
19541
|
+
var formkitVersion = '202607022214';
|
|
19544
19542
|
|
|
19545
19543
|
var styleCss$1 = 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}: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}`;
|
|
19546
19544
|
|
|
@@ -20639,9 +20637,19 @@ class AuroCombobox extends AuroElement {
|
|
|
20639
20637
|
/**
|
|
20640
20638
|
* Processes hidden state of all menu options and determines if there are any available options not hidden.
|
|
20641
20639
|
* @private
|
|
20640
|
+
* @param {object} [options={}] - Optional flag bag.
|
|
20641
|
+
* @param {boolean} [options.preferComboboxValue=false] - When true,
|
|
20642
|
+
* handleMenuOptions matches the selected option against `this.value`
|
|
20643
|
+
* first instead of `this.input.value`. Needed on mount and re-mount
|
|
20644
|
+
* because under `persistInput` the consumer's typedValue prop can drift
|
|
20645
|
+
* from the framework value (Svelte `{#key}` re-mount after a swap, or
|
|
20646
|
+
* SPA preselect after route change) and the old input-first match would
|
|
20647
|
+
* then pick the stale text. Only handleSlotChange passes this; typing
|
|
20648
|
+
* and clearing paths keep the input-first match so user clears aren't
|
|
20649
|
+
* undone.
|
|
20642
20650
|
* @returns {void}
|
|
20643
20651
|
*/
|
|
20644
|
-
handleMenuOptions() {
|
|
20652
|
+
handleMenuOptions({ preferComboboxValue = false } = {}) {
|
|
20645
20653
|
this.generateOptionsArray();
|
|
20646
20654
|
this.availableOptions = [];
|
|
20647
20655
|
// Single source of truth for the menu's filter/highlight token per call.
|
|
@@ -20662,7 +20670,20 @@ class AuroCombobox extends AuroElement {
|
|
|
20662
20670
|
option.setAttribute('aria-posinset', index + 1);
|
|
20663
20671
|
});
|
|
20664
20672
|
|
|
20665
|
-
|
|
20673
|
+
// On mount/re-mount (via handleSlotChange), prefer the framework-set
|
|
20674
|
+
// `this.value` when it matches a menu option. Covers SPA preselect and
|
|
20675
|
+
// consumer swap patterns (e.g. Svelte `{#key}` re-mount) where
|
|
20676
|
+
// `this.value` is authoritative but `this.input.value` may be empty or
|
|
20677
|
+
// carry stale typed text from another field. Event-driven callers do
|
|
20678
|
+
// not pass the flag, otherwise user clears would be undone by
|
|
20679
|
+
// re-syncing to the previous combobox.value.
|
|
20680
|
+
if (preferComboboxValue &&
|
|
20681
|
+
this.value &&
|
|
20682
|
+
this.menu.options?.some((opt) => opt.value === this.value)) {
|
|
20683
|
+
this.setMenuValue(this.value);
|
|
20684
|
+
this.syncValuesAndStates();
|
|
20685
|
+
} else if (this.input.value &&
|
|
20686
|
+
this.menu.options?.some((opt) => opt.value === this.input.value)) {
|
|
20666
20687
|
this.setMenuValue(this.input.value);
|
|
20667
20688
|
this.syncValuesAndStates();
|
|
20668
20689
|
}
|
|
@@ -21099,7 +21120,25 @@ class AuroCombobox extends AuroElement {
|
|
|
21099
21120
|
this.optionActive = evt.detail;
|
|
21100
21121
|
|
|
21101
21122
|
if (this.input) {
|
|
21102
|
-
|
|
21123
|
+
// setActiveDescendant runs after Lit's update finishes because the
|
|
21124
|
+
// template's `.a11yActivedescendant` binding calls setAttribute on
|
|
21125
|
+
// the internal <input> in auro-input.updated(), which clears the
|
|
21126
|
+
// reflected ariaActiveDescendantElement property. Setting the ref
|
|
21127
|
+
// synchronously here would get overwritten by that attribute write.
|
|
21128
|
+
// Awaiting updateComplete lets the attribute write finish first,
|
|
21129
|
+
// then the ref sticks and screen readers can cross the shadow-DOM
|
|
21130
|
+
// boundary to the auro-menuoption in light DOM.
|
|
21131
|
+
//
|
|
21132
|
+
// The equality check covers the async gap: this.optionActive can
|
|
21133
|
+
// change before the callback runs (user arrowed elsewhere, or the
|
|
21134
|
+
// menu closed and cleared it to null), so we bail if the target
|
|
21135
|
+
// no longer matches to avoid reinstating a stale ref.
|
|
21136
|
+
const targetOption = this.optionActive;
|
|
21137
|
+
this.updateComplete.then(() => {
|
|
21138
|
+
if (this.input && this.optionActive === targetOption) {
|
|
21139
|
+
this.input.setActiveDescendant(targetOption);
|
|
21140
|
+
}
|
|
21141
|
+
});
|
|
21103
21142
|
}
|
|
21104
21143
|
|
|
21105
21144
|
// In fullscreen mode the menu sits inside a nested <dialog> shadow root,
|
|
@@ -21236,6 +21275,18 @@ class AuroCombobox extends AuroElement {
|
|
|
21236
21275
|
}
|
|
21237
21276
|
}
|
|
21238
21277
|
|
|
21278
|
+
// SPA preselect guard: on init render, auro-input's notifyValueChanged
|
|
21279
|
+
// echoes an empty value through as an isProgrammatic input event before
|
|
21280
|
+
// the framework-set combobox.value has propagated down to the input.
|
|
21281
|
+
// Without this bail, the `this.value = this.input.value` below clobbers
|
|
21282
|
+
// the framework value with '' and clear() wipes optionSelected. Scoped
|
|
21283
|
+
// to the exact shape of that echo (isProgrammatic + non-empty combobox
|
|
21284
|
+
// value + empty input.value) so it doesn't affect the swap/typed paths
|
|
21285
|
+
// where value/input already track each other through the sync helpers.
|
|
21286
|
+
if (event && event.isProgrammatic && this.value && !this.input.value) {
|
|
21287
|
+
return;
|
|
21288
|
+
}
|
|
21289
|
+
|
|
21239
21290
|
this.value = this.input.value;
|
|
21240
21291
|
|
|
21241
21292
|
// Ignore re-entrant input events caused by programmatic value sets.
|
|
@@ -21668,7 +21719,11 @@ class AuroCombobox extends AuroElement {
|
|
|
21668
21719
|
}
|
|
21669
21720
|
});
|
|
21670
21721
|
|
|
21671
|
-
|
|
21722
|
+
// Slot change (mount/re-mount): pass `preferComboboxValue` so that a
|
|
21723
|
+
// framework-set `this.value` wins over any stale `input.value` when
|
|
21724
|
+
// matching against the newly-available options. Fixes the display
|
|
21725
|
+
// for SPA preselect and Svelte `{#key}` re-mount swap patterns.
|
|
21726
|
+
this.handleMenuOptions({ preferComboboxValue: true });
|
|
21672
21727
|
|
|
21673
21728
|
break;
|
|
21674
21729
|
|
|
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
|
|
1117
|
-
var formkitVersion$1 = '
|
|
1117
|
+
var formkitVersion$1 = '202607022214';
|
|
1118
1118
|
|
|
1119
1119
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1120
1120
|
// See LICENSE in the project root for license information.
|
|
@@ -5460,7 +5460,7 @@ class AuroHelpText extends i$2 {
|
|
|
5460
5460
|
}
|
|
5461
5461
|
}
|
|
5462
5462
|
|
|
5463
|
-
var formkitVersion = '
|
|
5463
|
+
var formkitVersion = '202607022214';
|
|
5464
5464
|
|
|
5465
5465
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5466
5466
|
static get properties() {
|
|
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
|
|
1117
|
-
var formkitVersion$1 = '
|
|
1117
|
+
var formkitVersion$1 = '202607022214';
|
|
1118
1118
|
|
|
1119
1119
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1120
1120
|
// See LICENSE in the project root for license information.
|
|
@@ -5460,7 +5460,7 @@ class AuroHelpText extends i$2 {
|
|
|
5460
5460
|
}
|
|
5461
5461
|
}
|
|
5462
5462
|
|
|
5463
|
-
var formkitVersion = '
|
|
5463
|
+
var formkitVersion = '202607022214';
|
|
5464
5464
|
|
|
5465
5465
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5466
5466
|
static get properties() {
|
|
@@ -1064,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
1066
|
|
|
1067
|
-
var formkitVersion$1 = '
|
|
1067
|
+
var formkitVersion$1 = '202607022214';
|
|
1068
1068
|
|
|
1069
1069
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1070
1070
|
// See LICENSE in the project root for license information.
|
|
@@ -5392,7 +5392,7 @@ class AuroHelpText extends LitElement {
|
|
|
5392
5392
|
}
|
|
5393
5393
|
}
|
|
5394
5394
|
|
|
5395
|
-
var formkitVersion = '
|
|
5395
|
+
var formkitVersion = '202607022214';
|
|
5396
5396
|
|
|
5397
5397
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5398
5398
|
static get properties() {
|
|
@@ -1064,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
1066
|
|
|
1067
|
-
var formkitVersion$1 = '
|
|
1067
|
+
var formkitVersion$1 = '202607022214';
|
|
1068
1068
|
|
|
1069
1069
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1070
1070
|
// See LICENSE in the project root for license information.
|
|
@@ -5392,7 +5392,7 @@ class AuroHelpText extends LitElement {
|
|
|
5392
5392
|
}
|
|
5393
5393
|
}
|
|
5394
5394
|
|
|
5395
|
-
var formkitVersion = '
|
|
5395
|
+
var formkitVersion = '202607022214';
|
|
5396
5396
|
|
|
5397
5397
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5398
5398
|
static get properties() {
|
|
@@ -13685,7 +13685,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13685
13685
|
}
|
|
13686
13686
|
}
|
|
13687
13687
|
|
|
13688
|
-
var formkitVersion$2 = '
|
|
13688
|
+
var formkitVersion$2 = '202607022214';
|
|
13689
13689
|
|
|
13690
13690
|
let l$1 = 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$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = 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$4 = 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$3=i$3`: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}
|
|
13691
13691
|
`,u$6=i$3`.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}}
|
|
@@ -19527,7 +19527,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19527
19527
|
}
|
|
19528
19528
|
};
|
|
19529
19529
|
|
|
19530
|
-
var formkitVersion$1 = '
|
|
19530
|
+
var formkitVersion$1 = '202607022214';
|
|
19531
19531
|
|
|
19532
19532
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
19533
19533
|
static get properties() {
|
|
@@ -32416,14 +32416,17 @@ class BaseInput extends AuroElement$1 {
|
|
|
32416
32416
|
* @returns {void}
|
|
32417
32417
|
*/
|
|
32418
32418
|
notifyValueChanged() {
|
|
32419
|
-
|
|
32420
|
-
|
|
32421
|
-
|
|
32419
|
+
// This echoes Lit's reactive value update (and handleClickClear's
|
|
32420
|
+
// programmatic clear) — it is NOT a fresh user-input event. Mark it
|
|
32421
|
+
// `isProgrammatic` so consumers (e.g. auro-combobox) can distinguish
|
|
32422
|
+
// it from genuine user typing and skip clobbering their own
|
|
32423
|
+
// programmatic state during init-time renders.
|
|
32424
|
+
const inputEvent = new Event('input', {
|
|
32422
32425
|
bubbles: true,
|
|
32423
32426
|
composed: true,
|
|
32424
32427
|
});
|
|
32428
|
+
inputEvent.isProgrammatic = true;
|
|
32425
32429
|
|
|
32426
|
-
// Dispatched event to alert outside shadow DOM context of event firing.
|
|
32427
32430
|
this.dispatchEvent(inputEvent);
|
|
32428
32431
|
}
|
|
32429
32432
|
|
|
@@ -33136,7 +33139,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
33136
33139
|
}
|
|
33137
33140
|
};
|
|
33138
33141
|
|
|
33139
|
-
var formkitVersion = '
|
|
33142
|
+
var formkitVersion = '202607022214';
|
|
33140
33143
|
|
|
33141
33144
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
33142
33145
|
// See LICENSE in the project root for license information.
|
|
@@ -33422,20 +33425,15 @@ class AuroInput extends BaseInput {
|
|
|
33422
33425
|
* @returns {void}
|
|
33423
33426
|
*/
|
|
33424
33427
|
checkDisplayValueSlotChange() {
|
|
33425
|
-
|
|
33426
|
-
|
|
33427
|
-
//
|
|
33428
|
-
|
|
33429
|
-
|
|
33430
|
-
|
|
33431
|
-
|
|
33432
|
-
|
|
33433
|
-
|
|
33434
|
-
if (nodes.length > 0) {
|
|
33435
|
-
hasContent = true;
|
|
33436
|
-
}
|
|
33437
|
-
|
|
33438
|
-
this.hasDisplayValueContent = hasContent;
|
|
33428
|
+
// flatten:true resolves through auro-combobox's forwarding slot
|
|
33429
|
+
// (<slot name="displayValue" slot="displayValue">) so a clone appended
|
|
33430
|
+
// directly to auro-input's light DOM alongside the forwarder still
|
|
33431
|
+
// counts as content. The prior nodes[0].tagName === 'SLOT' recursion
|
|
33432
|
+
// discarded any siblings past the forwarder.
|
|
33433
|
+
const slot = this.shadowRoot.querySelector('slot[name="displayValue"]');
|
|
33434
|
+
const nodes = slot.assignedNodes({ flatten: true });
|
|
33435
|
+
|
|
33436
|
+
this.hasDisplayValueContent = nodes.length > 0;
|
|
33439
33437
|
}
|
|
33440
33438
|
|
|
33441
33439
|
firstUpdated() {
|