@aurodesignsystem-dev/auro-formkit 0.0.0-pr1500.0 → 0.0.0-pr1501.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/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 +27 -15
- package/components/combobox/demo/getting-started.min.js +27 -15
- package/components/combobox/demo/index.min.js +27 -15
- package/components/combobox/dist/index.js +27 -15
- package/components/combobox/dist/registered.js +27 -15
- package/components/counter/demo/customize.min.js +20 -2
- package/components/counter/demo/index.min.js +20 -2
- package/components/counter/dist/index.js +5447 -191
- package/components/counter/dist/registered.js +5447 -191
- package/components/datepicker/demo/customize.md +2 -442
- package/components/datepicker/demo/customize.min.js +46 -27
- package/components/datepicker/demo/index.min.js +46 -27
- package/components/datepicker/dist/index.js +46 -27
- package/components/datepicker/dist/registered.js +46 -27
- package/components/datepicker/dist/src/auro-datepicker.d.ts +2 -2
- package/components/dropdown/demo/customize.min.js +19 -1
- package/components/dropdown/demo/getting-started.min.js +19 -1
- package/components/dropdown/demo/index.min.js +19 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +2 -0
- package/components/dropdown/dist/index.js +19 -1
- package/components/dropdown/dist/registered.js +19 -1
- package/components/form/demo/customize.min.js +5859 -5792
- package/components/form/demo/getting-started.min.js +5859 -5792
- package/components/form/demo/index.min.js +5859 -5792
- package/components/form/demo/registerDemoDeps.min.js +5855 -5788
- package/components/input/demo/customize.md +0 -2
- package/components/input/demo/customize.min.js +6 -6
- package/components/input/demo/getting-started.min.js +6 -6
- package/components/input/demo/index.min.js +6 -6
- package/components/input/dist/index.js +6 -6
- package/components/input/dist/registered.js +6 -6
- 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 +20 -2
- package/components/select/demo/getting-started.min.js +20 -2
- package/components/select/demo/index.min.js +20 -2
- package/components/select/dist/index.js +20 -2
- package/components/select/dist/registered.js +20 -2
- package/custom-elements.json +2841 -2841
- package/package.json +1 -1
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606102117';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606102117';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1260,7 +1260,7 @@ class AuroHelpText extends i$2 {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
var formkitVersion = '
|
|
1263
|
+
var formkitVersion = '202606102117';
|
|
1264
1264
|
|
|
1265
1265
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1266
1266
|
// See LICENSE in the project root for license information.
|
|
@@ -1213,7 +1213,7 @@ class AuroHelpText extends LitElement {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
1215
|
|
|
1216
|
-
var formkitVersion = '
|
|
1216
|
+
var formkitVersion = '202606102117';
|
|
1217
1217
|
|
|
1218
1218
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1219
1219
|
// See LICENSE in the project root for license information.
|
|
@@ -1213,7 +1213,7 @@ class AuroHelpText extends LitElement {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
1215
|
|
|
1216
|
-
var formkitVersion = '
|
|
1216
|
+
var formkitVersion = '202606102117';
|
|
1217
1217
|
|
|
1218
1218
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1219
1219
|
// See LICENSE in the project root for license information.
|
|
@@ -4856,7 +4856,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4856
4856
|
}
|
|
4857
4857
|
};
|
|
4858
4858
|
|
|
4859
|
-
var formkitVersion$2 = '
|
|
4859
|
+
var formkitVersion$2 = '202606102117';
|
|
4860
4860
|
|
|
4861
4861
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4862
4862
|
static get properties() {
|
|
@@ -5714,9 +5714,27 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5714
5714
|
this.focusTrap = undefined;
|
|
5715
5715
|
}
|
|
5716
5716
|
|
|
5717
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
5718
|
+
if (this._noHideOverridden) {
|
|
5719
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
5720
|
+
this._noHideOverridden = false;
|
|
5721
|
+
this._priorNoHide = undefined;
|
|
5722
|
+
}
|
|
5723
|
+
|
|
5717
5724
|
if (this.isPopoverVisible) {
|
|
5718
5725
|
if (!this.isBibFullscreen) {
|
|
5719
5726
|
if (this.desktopModal) {
|
|
5727
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
5728
|
+
// match the host when focus is on a slotted element projected through
|
|
5729
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
5730
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
5731
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
5732
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
5733
|
+
// is safe — Escape and outside-click still close the bib.
|
|
5734
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
5735
|
+
this._noHideOverridden = true;
|
|
5736
|
+
this.noHideOnThisFocusLoss = true;
|
|
5737
|
+
|
|
5720
5738
|
// Desktop modal: trap focus only within the bib content.
|
|
5721
5739
|
// Can't use FocusTrap on the bib element because keydown events
|
|
5722
5740
|
// from slotted content bubble through the dropdown host (light DOM),
|
|
@@ -16390,7 +16408,11 @@ class AuroInputUtilities {
|
|
|
16390
16408
|
return part.value;
|
|
16391
16409
|
}
|
|
16392
16410
|
})
|
|
16393
|
-
.join("")
|
|
16411
|
+
.join("")
|
|
16412
|
+
// Remove whitespace and leading/trailing special characters for IMask compatibility
|
|
16413
|
+
// for example, ko-KR's format is `YYYY. MM. DD.` which causes issues with IMask if we don't remove the trailing period.
|
|
16414
|
+
.replace(/\s/gu, '')
|
|
16415
|
+
.replace(/^[^A-Z0-9]+|[^A-Z0-9]+$/gu, '');
|
|
16394
16416
|
}
|
|
16395
16417
|
|
|
16396
16418
|
/**
|
|
@@ -18348,7 +18370,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18348
18370
|
}
|
|
18349
18371
|
};
|
|
18350
18372
|
|
|
18351
|
-
var formkitVersion$1 = '
|
|
18373
|
+
var formkitVersion$1 = '202606102117';
|
|
18352
18374
|
|
|
18353
18375
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18354
18376
|
// See LICENSE in the project root for license information.
|
|
@@ -18686,10 +18708,6 @@ class AuroInput extends BaseInput {
|
|
|
18686
18708
|
return i18n(this.lang, this.type);
|
|
18687
18709
|
}
|
|
18688
18710
|
|
|
18689
|
-
if (this.type === 'date') {
|
|
18690
|
-
return i18n(this.lang, this.dateFormatMap[this.format] || 'dateMMDDYYYY');
|
|
18691
|
-
}
|
|
18692
|
-
|
|
18693
18711
|
return '';
|
|
18694
18712
|
}
|
|
18695
18713
|
|
|
@@ -19473,7 +19491,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19473
19491
|
}
|
|
19474
19492
|
}
|
|
19475
19493
|
|
|
19476
|
-
var formkitVersion = '
|
|
19494
|
+
var formkitVersion = '202606102117';
|
|
19477
19495
|
|
|
19478
19496
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19479
19497
|
|
|
@@ -20704,14 +20722,8 @@ class AuroCombobox extends AuroElement {
|
|
|
20704
20722
|
const len = nativeInput.value.length;
|
|
20705
20723
|
nativeInput.setSelectionRange(len, len);
|
|
20706
20724
|
}
|
|
20707
|
-
} else
|
|
20708
|
-
const focusedEl = this.querySelector(":focus");
|
|
20725
|
+
} else {
|
|
20709
20726
|
this.input.focus();
|
|
20710
|
-
// current focus is on a menuoption, after clicking on it.
|
|
20711
|
-
if (this.persistInput && focusedEl && (focusedEl.tagName.toLowerCase() === 'auro-menuoption' || focusedEl.hasAttribute('auro-menuoption'))) {
|
|
20712
|
-
this.setClearBtnFocus();
|
|
20713
|
-
this.validate(true);
|
|
20714
|
-
}
|
|
20715
20727
|
}
|
|
20716
20728
|
}
|
|
20717
20729
|
|
|
@@ -4856,7 +4856,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4856
4856
|
}
|
|
4857
4857
|
};
|
|
4858
4858
|
|
|
4859
|
-
var formkitVersion$2 = '
|
|
4859
|
+
var formkitVersion$2 = '202606102117';
|
|
4860
4860
|
|
|
4861
4861
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4862
4862
|
static get properties() {
|
|
@@ -5714,9 +5714,27 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5714
5714
|
this.focusTrap = undefined;
|
|
5715
5715
|
}
|
|
5716
5716
|
|
|
5717
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
5718
|
+
if (this._noHideOverridden) {
|
|
5719
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
5720
|
+
this._noHideOverridden = false;
|
|
5721
|
+
this._priorNoHide = undefined;
|
|
5722
|
+
}
|
|
5723
|
+
|
|
5717
5724
|
if (this.isPopoverVisible) {
|
|
5718
5725
|
if (!this.isBibFullscreen) {
|
|
5719
5726
|
if (this.desktopModal) {
|
|
5727
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
5728
|
+
// match the host when focus is on a slotted element projected through
|
|
5729
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
5730
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
5731
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
5732
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
5733
|
+
// is safe — Escape and outside-click still close the bib.
|
|
5734
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
5735
|
+
this._noHideOverridden = true;
|
|
5736
|
+
this.noHideOnThisFocusLoss = true;
|
|
5737
|
+
|
|
5720
5738
|
// Desktop modal: trap focus only within the bib content.
|
|
5721
5739
|
// Can't use FocusTrap on the bib element because keydown events
|
|
5722
5740
|
// from slotted content bubble through the dropdown host (light DOM),
|
|
@@ -16390,7 +16408,11 @@ class AuroInputUtilities {
|
|
|
16390
16408
|
return part.value;
|
|
16391
16409
|
}
|
|
16392
16410
|
})
|
|
16393
|
-
.join("")
|
|
16411
|
+
.join("")
|
|
16412
|
+
// Remove whitespace and leading/trailing special characters for IMask compatibility
|
|
16413
|
+
// for example, ko-KR's format is `YYYY. MM. DD.` which causes issues with IMask if we don't remove the trailing period.
|
|
16414
|
+
.replace(/\s/gu, '')
|
|
16415
|
+
.replace(/^[^A-Z0-9]+|[^A-Z0-9]+$/gu, '');
|
|
16394
16416
|
}
|
|
16395
16417
|
|
|
16396
16418
|
/**
|
|
@@ -18348,7 +18370,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18348
18370
|
}
|
|
18349
18371
|
};
|
|
18350
18372
|
|
|
18351
|
-
var formkitVersion$1 = '
|
|
18373
|
+
var formkitVersion$1 = '202606102117';
|
|
18352
18374
|
|
|
18353
18375
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18354
18376
|
// See LICENSE in the project root for license information.
|
|
@@ -18686,10 +18708,6 @@ class AuroInput extends BaseInput {
|
|
|
18686
18708
|
return i18n(this.lang, this.type);
|
|
18687
18709
|
}
|
|
18688
18710
|
|
|
18689
|
-
if (this.type === 'date') {
|
|
18690
|
-
return i18n(this.lang, this.dateFormatMap[this.format] || 'dateMMDDYYYY');
|
|
18691
|
-
}
|
|
18692
|
-
|
|
18693
18711
|
return '';
|
|
18694
18712
|
}
|
|
18695
18713
|
|
|
@@ -19473,7 +19491,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19473
19491
|
}
|
|
19474
19492
|
}
|
|
19475
19493
|
|
|
19476
|
-
var formkitVersion = '
|
|
19494
|
+
var formkitVersion = '202606102117';
|
|
19477
19495
|
|
|
19478
19496
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19479
19497
|
|
|
@@ -20704,14 +20722,8 @@ class AuroCombobox extends AuroElement {
|
|
|
20704
20722
|
const len = nativeInput.value.length;
|
|
20705
20723
|
nativeInput.setSelectionRange(len, len);
|
|
20706
20724
|
}
|
|
20707
|
-
} else
|
|
20708
|
-
const focusedEl = this.querySelector(":focus");
|
|
20725
|
+
} else {
|
|
20709
20726
|
this.input.focus();
|
|
20710
|
-
// current focus is on a menuoption, after clicking on it.
|
|
20711
|
-
if (this.persistInput && focusedEl && (focusedEl.tagName.toLowerCase() === 'auro-menuoption' || focusedEl.hasAttribute('auro-menuoption'))) {
|
|
20712
|
-
this.setClearBtnFocus();
|
|
20713
|
-
this.validate(true);
|
|
20714
|
-
}
|
|
20715
20727
|
}
|
|
20716
20728
|
}
|
|
20717
20729
|
|
|
@@ -4871,7 +4871,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4871
4871
|
}
|
|
4872
4872
|
};
|
|
4873
4873
|
|
|
4874
|
-
var formkitVersion$2 = '
|
|
4874
|
+
var formkitVersion$2 = '202606102117';
|
|
4875
4875
|
|
|
4876
4876
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4877
4877
|
static get properties() {
|
|
@@ -5729,9 +5729,27 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5729
5729
|
this.focusTrap = undefined;
|
|
5730
5730
|
}
|
|
5731
5731
|
|
|
5732
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
5733
|
+
if (this._noHideOverridden) {
|
|
5734
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
5735
|
+
this._noHideOverridden = false;
|
|
5736
|
+
this._priorNoHide = undefined;
|
|
5737
|
+
}
|
|
5738
|
+
|
|
5732
5739
|
if (this.isPopoverVisible) {
|
|
5733
5740
|
if (!this.isBibFullscreen) {
|
|
5734
5741
|
if (this.desktopModal) {
|
|
5742
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
5743
|
+
// match the host when focus is on a slotted element projected through
|
|
5744
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
5745
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
5746
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
5747
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
5748
|
+
// is safe — Escape and outside-click still close the bib.
|
|
5749
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
5750
|
+
this._noHideOverridden = true;
|
|
5751
|
+
this.noHideOnThisFocusLoss = true;
|
|
5752
|
+
|
|
5735
5753
|
// Desktop modal: trap focus only within the bib content.
|
|
5736
5754
|
// Can't use FocusTrap on the bib element because keydown events
|
|
5737
5755
|
// from slotted content bubble through the dropdown host (light DOM),
|
|
@@ -16405,7 +16423,11 @@ class AuroInputUtilities {
|
|
|
16405
16423
|
return part.value;
|
|
16406
16424
|
}
|
|
16407
16425
|
})
|
|
16408
|
-
.join("")
|
|
16426
|
+
.join("")
|
|
16427
|
+
// Remove whitespace and leading/trailing special characters for IMask compatibility
|
|
16428
|
+
// for example, ko-KR's format is `YYYY. MM. DD.` which causes issues with IMask if we don't remove the trailing period.
|
|
16429
|
+
.replace(/\s/gu, '')
|
|
16430
|
+
.replace(/^[^A-Z0-9]+|[^A-Z0-9]+$/gu, '');
|
|
16409
16431
|
}
|
|
16410
16432
|
|
|
16411
16433
|
/**
|
|
@@ -18363,7 +18385,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
18363
18385
|
}
|
|
18364
18386
|
};
|
|
18365
18387
|
|
|
18366
|
-
var formkitVersion$1 = '
|
|
18388
|
+
var formkitVersion$1 = '202606102117';
|
|
18367
18389
|
|
|
18368
18390
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18369
18391
|
// See LICENSE in the project root for license information.
|
|
@@ -18701,10 +18723,6 @@ class AuroInput extends BaseInput {
|
|
|
18701
18723
|
return i18n(this.lang, this.type);
|
|
18702
18724
|
}
|
|
18703
18725
|
|
|
18704
|
-
if (this.type === 'date') {
|
|
18705
|
-
return i18n(this.lang, this.dateFormatMap[this.format] || 'dateMMDDYYYY');
|
|
18706
|
-
}
|
|
18707
|
-
|
|
18708
18726
|
return '';
|
|
18709
18727
|
}
|
|
18710
18728
|
|
|
@@ -19488,7 +19506,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
19488
19506
|
}
|
|
19489
19507
|
}
|
|
19490
19508
|
|
|
19491
|
-
var formkitVersion = '
|
|
19509
|
+
var formkitVersion = '202606102117';
|
|
19492
19510
|
|
|
19493
19511
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
19494
19512
|
|
|
@@ -20719,14 +20737,8 @@ class AuroCombobox extends AuroElement {
|
|
|
20719
20737
|
const len = nativeInput.value.length;
|
|
20720
20738
|
nativeInput.setSelectionRange(len, len);
|
|
20721
20739
|
}
|
|
20722
|
-
} else
|
|
20723
|
-
const focusedEl = this.querySelector(":focus");
|
|
20740
|
+
} else {
|
|
20724
20741
|
this.input.focus();
|
|
20725
|
-
// current focus is on a menuoption, after clicking on it.
|
|
20726
|
-
if (this.persistInput && focusedEl && (focusedEl.tagName.toLowerCase() === 'auro-menuoption' || focusedEl.hasAttribute('auro-menuoption'))) {
|
|
20727
|
-
this.setClearBtnFocus();
|
|
20728
|
-
this.validate(true);
|
|
20729
|
-
}
|
|
20730
20742
|
}
|
|
20731
20743
|
}
|
|
20732
20744
|
|
|
@@ -4789,7 +4789,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
};
|
|
4791
4791
|
|
|
4792
|
-
var formkitVersion$2 = '
|
|
4792
|
+
var formkitVersion$2 = '202606102117';
|
|
4793
4793
|
|
|
4794
4794
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4795
4795
|
static get properties() {
|
|
@@ -5647,9 +5647,27 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5647
5647
|
this.focusTrap = undefined;
|
|
5648
5648
|
}
|
|
5649
5649
|
|
|
5650
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
5651
|
+
if (this._noHideOverridden) {
|
|
5652
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
5653
|
+
this._noHideOverridden = false;
|
|
5654
|
+
this._priorNoHide = undefined;
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5650
5657
|
if (this.isPopoverVisible) {
|
|
5651
5658
|
if (!this.isBibFullscreen) {
|
|
5652
5659
|
if (this.desktopModal) {
|
|
5660
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
5661
|
+
// match the host when focus is on a slotted element projected through
|
|
5662
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
5663
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
5664
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
5665
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
5666
|
+
// is safe — Escape and outside-click still close the bib.
|
|
5667
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
5668
|
+
this._noHideOverridden = true;
|
|
5669
|
+
this.noHideOnThisFocusLoss = true;
|
|
5670
|
+
|
|
5653
5671
|
// Desktop modal: trap focus only within the bib content.
|
|
5654
5672
|
// Can't use FocusTrap on the bib element because keydown events
|
|
5655
5673
|
// from slotted content bubble through the dropdown host (light DOM),
|
|
@@ -16316,7 +16334,11 @@ class AuroInputUtilities {
|
|
|
16316
16334
|
return part.value;
|
|
16317
16335
|
}
|
|
16318
16336
|
})
|
|
16319
|
-
.join("")
|
|
16337
|
+
.join("")
|
|
16338
|
+
// Remove whitespace and leading/trailing special characters for IMask compatibility
|
|
16339
|
+
// for example, ko-KR's format is `YYYY. MM. DD.` which causes issues with IMask if we don't remove the trailing period.
|
|
16340
|
+
.replace(/\s/gu, '')
|
|
16341
|
+
.replace(/^[^A-Z0-9]+|[^A-Z0-9]+$/gu, '');
|
|
16320
16342
|
}
|
|
16321
16343
|
|
|
16322
16344
|
/**
|
|
@@ -18274,7 +18296,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18274
18296
|
}
|
|
18275
18297
|
};
|
|
18276
18298
|
|
|
18277
|
-
var formkitVersion$1 = '
|
|
18299
|
+
var formkitVersion$1 = '202606102117';
|
|
18278
18300
|
|
|
18279
18301
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18280
18302
|
// See LICENSE in the project root for license information.
|
|
@@ -18612,10 +18634,6 @@ class AuroInput extends BaseInput {
|
|
|
18612
18634
|
return i18n(this.lang, this.type);
|
|
18613
18635
|
}
|
|
18614
18636
|
|
|
18615
|
-
if (this.type === 'date') {
|
|
18616
|
-
return i18n(this.lang, this.dateFormatMap[this.format] || 'dateMMDDYYYY');
|
|
18617
|
-
}
|
|
18618
|
-
|
|
18619
18637
|
return '';
|
|
18620
18638
|
}
|
|
18621
18639
|
|
|
@@ -19399,7 +19417,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19399
19417
|
}
|
|
19400
19418
|
}
|
|
19401
19419
|
|
|
19402
|
-
var formkitVersion = '
|
|
19420
|
+
var formkitVersion = '202606102117';
|
|
19403
19421
|
|
|
19404
19422
|
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}`;
|
|
19405
19423
|
|
|
@@ -20630,14 +20648,8 @@ class AuroCombobox extends AuroElement {
|
|
|
20630
20648
|
const len = nativeInput.value.length;
|
|
20631
20649
|
nativeInput.setSelectionRange(len, len);
|
|
20632
20650
|
}
|
|
20633
|
-
} else
|
|
20634
|
-
const focusedEl = this.querySelector(":focus");
|
|
20651
|
+
} else {
|
|
20635
20652
|
this.input.focus();
|
|
20636
|
-
// current focus is on a menuoption, after clicking on it.
|
|
20637
|
-
if (this.persistInput && focusedEl && (focusedEl.tagName.toLowerCase() === 'auro-menuoption' || focusedEl.hasAttribute('auro-menuoption'))) {
|
|
20638
|
-
this.setClearBtnFocus();
|
|
20639
|
-
this.validate(true);
|
|
20640
|
-
}
|
|
20641
20653
|
}
|
|
20642
20654
|
}
|
|
20643
20655
|
|
|
@@ -4789,7 +4789,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
};
|
|
4791
4791
|
|
|
4792
|
-
var formkitVersion$2 = '
|
|
4792
|
+
var formkitVersion$2 = '202606102117';
|
|
4793
4793
|
|
|
4794
4794
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4795
4795
|
static get properties() {
|
|
@@ -5647,9 +5647,27 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5647
5647
|
this.focusTrap = undefined;
|
|
5648
5648
|
}
|
|
5649
5649
|
|
|
5650
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
5651
|
+
if (this._noHideOverridden) {
|
|
5652
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
5653
|
+
this._noHideOverridden = false;
|
|
5654
|
+
this._priorNoHide = undefined;
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5650
5657
|
if (this.isPopoverVisible) {
|
|
5651
5658
|
if (!this.isBibFullscreen) {
|
|
5652
5659
|
if (this.desktopModal) {
|
|
5660
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
5661
|
+
// match the host when focus is on a slotted element projected through
|
|
5662
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
5663
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
5664
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
5665
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
5666
|
+
// is safe — Escape and outside-click still close the bib.
|
|
5667
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
5668
|
+
this._noHideOverridden = true;
|
|
5669
|
+
this.noHideOnThisFocusLoss = true;
|
|
5670
|
+
|
|
5653
5671
|
// Desktop modal: trap focus only within the bib content.
|
|
5654
5672
|
// Can't use FocusTrap on the bib element because keydown events
|
|
5655
5673
|
// from slotted content bubble through the dropdown host (light DOM),
|
|
@@ -16316,7 +16334,11 @@ class AuroInputUtilities {
|
|
|
16316
16334
|
return part.value;
|
|
16317
16335
|
}
|
|
16318
16336
|
})
|
|
16319
|
-
.join("")
|
|
16337
|
+
.join("")
|
|
16338
|
+
// Remove whitespace and leading/trailing special characters for IMask compatibility
|
|
16339
|
+
// for example, ko-KR's format is `YYYY. MM. DD.` which causes issues with IMask if we don't remove the trailing period.
|
|
16340
|
+
.replace(/\s/gu, '')
|
|
16341
|
+
.replace(/^[^A-Z0-9]+|[^A-Z0-9]+$/gu, '');
|
|
16320
16342
|
}
|
|
16321
16343
|
|
|
16322
16344
|
/**
|
|
@@ -18274,7 +18296,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18274
18296
|
}
|
|
18275
18297
|
};
|
|
18276
18298
|
|
|
18277
|
-
var formkitVersion$1 = '
|
|
18299
|
+
var formkitVersion$1 = '202606102117';
|
|
18278
18300
|
|
|
18279
18301
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18280
18302
|
// See LICENSE in the project root for license information.
|
|
@@ -18612,10 +18634,6 @@ class AuroInput extends BaseInput {
|
|
|
18612
18634
|
return i18n(this.lang, this.type);
|
|
18613
18635
|
}
|
|
18614
18636
|
|
|
18615
|
-
if (this.type === 'date') {
|
|
18616
|
-
return i18n(this.lang, this.dateFormatMap[this.format] || 'dateMMDDYYYY');
|
|
18617
|
-
}
|
|
18618
|
-
|
|
18619
18637
|
return '';
|
|
18620
18638
|
}
|
|
18621
18639
|
|
|
@@ -19399,7 +19417,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19399
19417
|
}
|
|
19400
19418
|
}
|
|
19401
19419
|
|
|
19402
|
-
var formkitVersion = '
|
|
19420
|
+
var formkitVersion = '202606102117';
|
|
19403
19421
|
|
|
19404
19422
|
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}`;
|
|
19405
19423
|
|
|
@@ -20630,14 +20648,8 @@ class AuroCombobox extends AuroElement {
|
|
|
20630
20648
|
const len = nativeInput.value.length;
|
|
20631
20649
|
nativeInput.setSelectionRange(len, len);
|
|
20632
20650
|
}
|
|
20633
|
-
} else
|
|
20634
|
-
const focusedEl = this.querySelector(":focus");
|
|
20651
|
+
} else {
|
|
20635
20652
|
this.input.focus();
|
|
20636
|
-
// current focus is on a menuoption, after clicking on it.
|
|
20637
|
-
if (this.persistInput && focusedEl && (focusedEl.tagName.toLowerCase() === 'auro-menuoption' || focusedEl.hasAttribute('auro-menuoption'))) {
|
|
20638
|
-
this.setClearBtnFocus();
|
|
20639
|
-
this.validate(true);
|
|
20640
|
-
}
|
|
20641
20653
|
}
|
|
20642
20654
|
}
|
|
20643
20655
|
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606102117';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606102117';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -6303,9 +6303,27 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6303
6303
|
this.focusTrap = undefined;
|
|
6304
6304
|
}
|
|
6305
6305
|
|
|
6306
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
6307
|
+
if (this._noHideOverridden) {
|
|
6308
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
6309
|
+
this._noHideOverridden = false;
|
|
6310
|
+
this._priorNoHide = undefined;
|
|
6311
|
+
}
|
|
6312
|
+
|
|
6306
6313
|
if (this.isPopoverVisible) {
|
|
6307
6314
|
if (!this.isBibFullscreen) {
|
|
6308
6315
|
if (this.desktopModal) {
|
|
6316
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
6317
|
+
// match the host when focus is on a slotted element projected through
|
|
6318
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
6319
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
6320
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
6321
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
6322
|
+
// is safe — Escape and outside-click still close the bib.
|
|
6323
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
6324
|
+
this._noHideOverridden = true;
|
|
6325
|
+
this.noHideOnThisFocusLoss = true;
|
|
6326
|
+
|
|
6309
6327
|
// Desktop modal: trap focus only within the bib content.
|
|
6310
6328
|
// Can't use FocusTrap on the bib element because keydown events
|
|
6311
6329
|
// from slotted content bubble through the dropdown host (light DOM),
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606102117';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606102117';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -6303,9 +6303,27 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6303
6303
|
this.focusTrap = undefined;
|
|
6304
6304
|
}
|
|
6305
6305
|
|
|
6306
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
6307
|
+
if (this._noHideOverridden) {
|
|
6308
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
6309
|
+
this._noHideOverridden = false;
|
|
6310
|
+
this._priorNoHide = undefined;
|
|
6311
|
+
}
|
|
6312
|
+
|
|
6306
6313
|
if (this.isPopoverVisible) {
|
|
6307
6314
|
if (!this.isBibFullscreen) {
|
|
6308
6315
|
if (this.desktopModal) {
|
|
6316
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
6317
|
+
// match the host when focus is on a slotted element projected through
|
|
6318
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
6319
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
6320
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
6321
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
6322
|
+
// is safe — Escape and outside-click still close the bib.
|
|
6323
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
6324
|
+
this._noHideOverridden = true;
|
|
6325
|
+
this.noHideOnThisFocusLoss = true;
|
|
6326
|
+
|
|
6309
6327
|
// Desktop modal: trap focus only within the bib content.
|
|
6310
6328
|
// Can't use FocusTrap on the bib element because keydown events
|
|
6311
6329
|
// from slotted content bubble through the dropdown host (light DOM),
|