@aurodesignsystem-dev/auro-formkit 0.0.0-pr1431.2 → 0.0.0-pr1432.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 +2 -7
- package/components/checkbox/demo/index.min.js +2 -7
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
- package/components/checkbox/dist/index.js +2 -7
- package/components/checkbox/dist/registered.js +2 -7
- package/components/combobox/demo/api.min.js +37 -7
- package/components/combobox/demo/index.min.js +37 -7
- package/components/combobox/dist/index.js +34 -6
- package/components/combobox/dist/registered.js +34 -6
- package/components/counter/demo/api.min.js +41 -32
- package/components/counter/demo/index.min.js +41 -32
- package/components/counter/dist/auro-counter.d.ts +0 -7
- package/components/counter/dist/index.js +41 -32
- package/components/counter/dist/registered.js +41 -32
- package/components/datepicker/demo/api.min.js +31 -3
- package/components/datepicker/demo/index.min.js +31 -3
- package/components/datepicker/dist/index.js +31 -3
- package/components/datepicker/dist/registered.js +31 -3
- package/components/dropdown/demo/api.min.js +29 -1
- package/components/dropdown/demo/index.min.js +29 -1
- package/components/dropdown/dist/index.js +29 -1
- package/components/dropdown/dist/registered.js +29 -1
- package/components/form/demo/api.min.js +143 -53
- package/components/form/demo/index.min.js +143 -53
- 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/menu/demo/api.md +1 -1
- package/components/menu/demo/api.min.js +3 -1
- package/components/menu/demo/index.min.js +3 -1
- package/components/menu/dist/auro-menuoption.d.ts +2 -0
- package/components/menu/dist/index.js +3 -1
- package/components/menu/dist/registered.js +3 -1
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +33 -3
- package/components/select/demo/index.min.js +33 -3
- package/components/select/dist/index.js +30 -2
- package/components/select/dist/registered.js +30 -2
- package/custom-elements.json +1678 -1691
- package/package.json +2 -2
|
@@ -169,7 +169,7 @@ class AuroCheckbox extends i$2 {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
_initializeDefaults() {
|
|
172
|
-
this.
|
|
172
|
+
this.appearance = 'default';
|
|
173
173
|
this.checked = false;
|
|
174
174
|
this.disabled = false;
|
|
175
175
|
this.error = false;
|
|
@@ -1687,7 +1687,7 @@ class AuroHelpText extends i$2 {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
|
-
var formkitVersion = '
|
|
1690
|
+
var formkitVersion = '202604141823';
|
|
1691
1691
|
|
|
1692
1692
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1693
1693
|
// See LICENSE in the project root for license information.
|
|
@@ -2016,11 +2016,6 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
2016
2016
|
* @returns {void}
|
|
2017
2017
|
*/
|
|
2018
2018
|
updated(changedProperties) {
|
|
2019
|
-
if (changedProperties.has('layout')) {
|
|
2020
|
-
this.checkboxes.forEach((el) => {
|
|
2021
|
-
el.layout = this.layout;
|
|
2022
|
-
});
|
|
2023
|
-
}
|
|
2024
2019
|
|
|
2025
2020
|
if (changedProperties.has('disabled')) {
|
|
2026
2021
|
this.checkboxes.forEach((el) => {
|
|
@@ -161,7 +161,7 @@ class AuroCheckbox extends i$2 {
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
_initializeDefaults() {
|
|
164
|
-
this.
|
|
164
|
+
this.appearance = 'default';
|
|
165
165
|
this.checked = false;
|
|
166
166
|
this.disabled = false;
|
|
167
167
|
this.error = false;
|
|
@@ -1679,7 +1679,7 @@ class AuroHelpText extends i$2 {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
|
-
var formkitVersion = '
|
|
1682
|
+
var formkitVersion = '202604141823';
|
|
1683
1683
|
|
|
1684
1684
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1685
1685
|
// See LICENSE in the project root for license information.
|
|
@@ -2008,11 +2008,6 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
2008
2008
|
* @returns {void}
|
|
2009
2009
|
*/
|
|
2010
2010
|
updated(changedProperties) {
|
|
2011
|
-
if (changedProperties.has('layout')) {
|
|
2012
|
-
this.checkboxes.forEach((el) => {
|
|
2013
|
-
el.layout = this.layout;
|
|
2014
|
-
});
|
|
2015
|
-
}
|
|
2016
2011
|
|
|
2017
2012
|
if (changedProperties.has('disabled')) {
|
|
2018
2013
|
this.checkboxes.forEach((el) => {
|
|
@@ -121,7 +121,7 @@ class AuroCheckbox extends LitElement {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
_initializeDefaults() {
|
|
124
|
-
this.
|
|
124
|
+
this.appearance = 'default';
|
|
125
125
|
this.checked = false;
|
|
126
126
|
this.disabled = false;
|
|
127
127
|
this.error = false;
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202604141823';
|
|
1636
1636
|
|
|
1637
1637
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
@@ -1961,11 +1961,6 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1961
1961
|
* @returns {void}
|
|
1962
1962
|
*/
|
|
1963
1963
|
updated(changedProperties) {
|
|
1964
|
-
if (changedProperties.has('layout')) {
|
|
1965
|
-
this.checkboxes.forEach((el) => {
|
|
1966
|
-
el.layout = this.layout;
|
|
1967
|
-
});
|
|
1968
|
-
}
|
|
1969
1964
|
|
|
1970
1965
|
if (changedProperties.has('disabled')) {
|
|
1971
1966
|
this.checkboxes.forEach((el) => {
|
|
@@ -121,7 +121,7 @@ class AuroCheckbox extends LitElement {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
_initializeDefaults() {
|
|
124
|
-
this.
|
|
124
|
+
this.appearance = 'default';
|
|
125
125
|
this.checked = false;
|
|
126
126
|
this.disabled = false;
|
|
127
127
|
this.error = false;
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202604141823';
|
|
1636
1636
|
|
|
1637
1637
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
@@ -1961,11 +1961,6 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1961
1961
|
* @returns {void}
|
|
1962
1962
|
*/
|
|
1963
1963
|
updated(changedProperties) {
|
|
1964
|
-
if (changedProperties.has('layout')) {
|
|
1965
|
-
this.checkboxes.forEach((el) => {
|
|
1966
|
-
el.layout = this.layout;
|
|
1967
|
-
});
|
|
1968
|
-
}
|
|
1969
1964
|
|
|
1970
1965
|
if (changedProperties.has('disabled')) {
|
|
1971
1966
|
this.checkboxes.forEach((el) => {
|
|
@@ -3294,6 +3294,7 @@ class AuroFloatingUI {
|
|
|
3294
3294
|
this.focusHandler = null;
|
|
3295
3295
|
this.clickHandler = null;
|
|
3296
3296
|
this.keyDownHandler = null;
|
|
3297
|
+
this.touchHandler = null;
|
|
3297
3298
|
|
|
3298
3299
|
/**
|
|
3299
3300
|
* @private
|
|
@@ -3711,6 +3712,28 @@ class AuroFloatingUI {
|
|
|
3711
3712
|
setTimeout(() => {
|
|
3712
3713
|
window.addEventListener("click", this.clickHandler);
|
|
3713
3714
|
}, 0);
|
|
3715
|
+
|
|
3716
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
3717
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
3718
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
3719
|
+
this.touchHandler = (evt) => {
|
|
3720
|
+
const element = this.element;
|
|
3721
|
+
if (!element?.bib) {
|
|
3722
|
+
return;
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
3726
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
3727
|
+
return;
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
const path = evt.composedPath();
|
|
3731
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
3732
|
+
this.hideBib("click");
|
|
3733
|
+
}
|
|
3734
|
+
};
|
|
3735
|
+
|
|
3736
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
3714
3737
|
}
|
|
3715
3738
|
|
|
3716
3739
|
cleanupHideHandlers() {
|
|
@@ -3726,6 +3749,11 @@ class AuroFloatingUI {
|
|
|
3726
3749
|
this.clickHandler = null;
|
|
3727
3750
|
}
|
|
3728
3751
|
|
|
3752
|
+
if (this.touchHandler) {
|
|
3753
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
3754
|
+
this.touchHandler = null;
|
|
3755
|
+
}
|
|
3756
|
+
|
|
3729
3757
|
if (this.keyDownHandler) {
|
|
3730
3758
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
3731
3759
|
this.keyDownHandler = null;
|
|
@@ -5200,7 +5228,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
5200
5228
|
}
|
|
5201
5229
|
};
|
|
5202
5230
|
|
|
5203
|
-
var formkitVersion$2 = '
|
|
5231
|
+
var formkitVersion$2 = '202604141823';
|
|
5204
5232
|
|
|
5205
5233
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5206
5234
|
static get properties() {
|
|
@@ -12964,7 +12992,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12964
12992
|
}
|
|
12965
12993
|
};
|
|
12966
12994
|
|
|
12967
|
-
var formkitVersion$1 = '
|
|
12995
|
+
var formkitVersion$1 = '202604141823';
|
|
12968
12996
|
|
|
12969
12997
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12970
12998
|
// See LICENSE in the project root for license information.
|
|
@@ -14029,11 +14057,11 @@ class AuroBibtemplate extends i$4 {
|
|
|
14029
14057
|
}
|
|
14030
14058
|
}
|
|
14031
14059
|
|
|
14032
|
-
var formkitVersion = '
|
|
14060
|
+
var formkitVersion = '202604141823';
|
|
14033
14061
|
|
|
14034
14062
|
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}`;
|
|
14035
14063
|
|
|
14036
|
-
var styleEmphasizedCss = i$7`:host([layout*=emphasized][shape*=pill]) [auro-input]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}: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: transparent}`;
|
|
14064
|
+
var styleEmphasizedCss = i$7`:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]::part(inputHelpText){display:none}: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: transparent}`;
|
|
14037
14065
|
|
|
14038
14066
|
var styleSnowflakeCss = i$7`:host([layout*=snowflake][shape*=snowflake]) [auro-input]{width:100%}:host([layout*=snowflake][shape*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake][shape*=snowflake])::part(helpText){text-align:center}`;
|
|
14039
14067
|
|
|
@@ -14892,7 +14920,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14892
14920
|
* @returns {void}
|
|
14893
14921
|
*/
|
|
14894
14922
|
activateFirstEnabledAvailableOption() {
|
|
14895
|
-
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.
|
|
14923
|
+
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.hasAttribute('nomatch'));
|
|
14896
14924
|
this.updateActiveOption(firstEnabledOptionIndex);
|
|
14897
14925
|
}
|
|
14898
14926
|
|
|
@@ -14906,7 +14934,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14906
14934
|
|
|
14907
14935
|
// Work backwards through the available options array to find the last enabled option
|
|
14908
14936
|
for (let index = this.availableOptions.length - 1; index >= 0; index -= 1) {
|
|
14909
|
-
if (!this.availableOptions[index].disabled && !this.availableOptions[index].
|
|
14937
|
+
if (!this.availableOptions[index].disabled && !this.availableOptions[index].hasAttribute('nomatch')) {
|
|
14910
14938
|
lastEnabledOptionIndex = index;
|
|
14911
14939
|
break;
|
|
14912
14940
|
}
|
|
@@ -16171,6 +16199,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
16171
16199
|
this.selected = false;
|
|
16172
16200
|
this.noCheckmark = false;
|
|
16173
16201
|
this.disabled = false;
|
|
16202
|
+
this.noMatch = false;
|
|
16174
16203
|
|
|
16175
16204
|
/**
|
|
16176
16205
|
* @private
|
|
@@ -16251,7 +16280,8 @@ class AuroMenuOption extends AuroElement {
|
|
|
16251
16280
|
*/
|
|
16252
16281
|
noMatch: {
|
|
16253
16282
|
type: Boolean,
|
|
16254
|
-
reflect: true
|
|
16283
|
+
reflect: true,
|
|
16284
|
+
attribute: 'nomatch'
|
|
16255
16285
|
},
|
|
16256
16286
|
|
|
16257
16287
|
/**
|
|
@@ -3206,6 +3206,7 @@ class AuroFloatingUI {
|
|
|
3206
3206
|
this.focusHandler = null;
|
|
3207
3207
|
this.clickHandler = null;
|
|
3208
3208
|
this.keyDownHandler = null;
|
|
3209
|
+
this.touchHandler = null;
|
|
3209
3210
|
|
|
3210
3211
|
/**
|
|
3211
3212
|
* @private
|
|
@@ -3623,6 +3624,28 @@ class AuroFloatingUI {
|
|
|
3623
3624
|
setTimeout(() => {
|
|
3624
3625
|
window.addEventListener("click", this.clickHandler);
|
|
3625
3626
|
}, 0);
|
|
3627
|
+
|
|
3628
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
3629
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
3630
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
3631
|
+
this.touchHandler = (evt) => {
|
|
3632
|
+
const element = this.element;
|
|
3633
|
+
if (!element?.bib) {
|
|
3634
|
+
return;
|
|
3635
|
+
}
|
|
3636
|
+
|
|
3637
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
3638
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
3639
|
+
return;
|
|
3640
|
+
}
|
|
3641
|
+
|
|
3642
|
+
const path = evt.composedPath();
|
|
3643
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
3644
|
+
this.hideBib("click");
|
|
3645
|
+
}
|
|
3646
|
+
};
|
|
3647
|
+
|
|
3648
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
3626
3649
|
}
|
|
3627
3650
|
|
|
3628
3651
|
cleanupHideHandlers() {
|
|
@@ -3638,6 +3661,11 @@ class AuroFloatingUI {
|
|
|
3638
3661
|
this.clickHandler = null;
|
|
3639
3662
|
}
|
|
3640
3663
|
|
|
3664
|
+
if (this.touchHandler) {
|
|
3665
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
3666
|
+
this.touchHandler = null;
|
|
3667
|
+
}
|
|
3668
|
+
|
|
3641
3669
|
if (this.keyDownHandler) {
|
|
3642
3670
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
3643
3671
|
this.keyDownHandler = null;
|
|
@@ -5112,7 +5140,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
5112
5140
|
}
|
|
5113
5141
|
};
|
|
5114
5142
|
|
|
5115
|
-
var formkitVersion$2 = '
|
|
5143
|
+
var formkitVersion$2 = '202604141823';
|
|
5116
5144
|
|
|
5117
5145
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5118
5146
|
static get properties() {
|
|
@@ -12876,7 +12904,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12876
12904
|
}
|
|
12877
12905
|
};
|
|
12878
12906
|
|
|
12879
|
-
var formkitVersion$1 = '
|
|
12907
|
+
var formkitVersion$1 = '202604141823';
|
|
12880
12908
|
|
|
12881
12909
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12882
12910
|
// See LICENSE in the project root for license information.
|
|
@@ -13941,11 +13969,11 @@ class AuroBibtemplate extends i$4 {
|
|
|
13941
13969
|
}
|
|
13942
13970
|
}
|
|
13943
13971
|
|
|
13944
|
-
var formkitVersion = '
|
|
13972
|
+
var formkitVersion = '202604141823';
|
|
13945
13973
|
|
|
13946
13974
|
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}`;
|
|
13947
13975
|
|
|
13948
|
-
var styleEmphasizedCss = i$7`:host([layout*=emphasized][shape*=pill]) [auro-input]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}: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: transparent}`;
|
|
13976
|
+
var styleEmphasizedCss = i$7`:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]::part(inputHelpText){display:none}: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: transparent}`;
|
|
13949
13977
|
|
|
13950
13978
|
var styleSnowflakeCss = i$7`:host([layout*=snowflake][shape*=snowflake]) [auro-input]{width:100%}:host([layout*=snowflake][shape*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake][shape*=snowflake])::part(helpText){text-align:center}`;
|
|
13951
13979
|
|
|
@@ -14804,7 +14832,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14804
14832
|
* @returns {void}
|
|
14805
14833
|
*/
|
|
14806
14834
|
activateFirstEnabledAvailableOption() {
|
|
14807
|
-
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.
|
|
14835
|
+
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.hasAttribute('nomatch'));
|
|
14808
14836
|
this.updateActiveOption(firstEnabledOptionIndex);
|
|
14809
14837
|
}
|
|
14810
14838
|
|
|
@@ -14818,7 +14846,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14818
14846
|
|
|
14819
14847
|
// Work backwards through the available options array to find the last enabled option
|
|
14820
14848
|
for (let index = this.availableOptions.length - 1; index >= 0; index -= 1) {
|
|
14821
|
-
if (!this.availableOptions[index].disabled && !this.availableOptions[index].
|
|
14849
|
+
if (!this.availableOptions[index].disabled && !this.availableOptions[index].hasAttribute('nomatch')) {
|
|
14822
14850
|
lastEnabledOptionIndex = index;
|
|
14823
14851
|
break;
|
|
14824
14852
|
}
|
|
@@ -16083,6 +16111,7 @@ class AuroMenuOption extends AuroElement {
|
|
|
16083
16111
|
this.selected = false;
|
|
16084
16112
|
this.noCheckmark = false;
|
|
16085
16113
|
this.disabled = false;
|
|
16114
|
+
this.noMatch = false;
|
|
16086
16115
|
|
|
16087
16116
|
/**
|
|
16088
16117
|
* @private
|
|
@@ -16163,7 +16192,8 @@ class AuroMenuOption extends AuroElement {
|
|
|
16163
16192
|
*/
|
|
16164
16193
|
noMatch: {
|
|
16165
16194
|
type: Boolean,
|
|
16166
|
-
reflect: true
|
|
16195
|
+
reflect: true,
|
|
16196
|
+
attribute: 'nomatch'
|
|
16167
16197
|
},
|
|
16168
16198
|
|
|
16169
16199
|
/**
|
|
@@ -3139,6 +3139,7 @@ class AuroFloatingUI {
|
|
|
3139
3139
|
this.focusHandler = null;
|
|
3140
3140
|
this.clickHandler = null;
|
|
3141
3141
|
this.keyDownHandler = null;
|
|
3142
|
+
this.touchHandler = null;
|
|
3142
3143
|
|
|
3143
3144
|
/**
|
|
3144
3145
|
* @private
|
|
@@ -3556,6 +3557,28 @@ class AuroFloatingUI {
|
|
|
3556
3557
|
setTimeout(() => {
|
|
3557
3558
|
window.addEventListener("click", this.clickHandler);
|
|
3558
3559
|
}, 0);
|
|
3560
|
+
|
|
3561
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
3562
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
3563
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
3564
|
+
this.touchHandler = (evt) => {
|
|
3565
|
+
const element = this.element;
|
|
3566
|
+
if (!element?.bib) {
|
|
3567
|
+
return;
|
|
3568
|
+
}
|
|
3569
|
+
|
|
3570
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
3571
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
3572
|
+
return;
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
const path = evt.composedPath();
|
|
3576
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
3577
|
+
this.hideBib("click");
|
|
3578
|
+
}
|
|
3579
|
+
};
|
|
3580
|
+
|
|
3581
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
3559
3582
|
}
|
|
3560
3583
|
|
|
3561
3584
|
cleanupHideHandlers() {
|
|
@@ -3571,6 +3594,11 @@ class AuroFloatingUI {
|
|
|
3571
3594
|
this.clickHandler = null;
|
|
3572
3595
|
}
|
|
3573
3596
|
|
|
3597
|
+
if (this.touchHandler) {
|
|
3598
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
3599
|
+
this.touchHandler = null;
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3574
3602
|
if (this.keyDownHandler) {
|
|
3575
3603
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
3576
3604
|
this.keyDownHandler = null;
|
|
@@ -5045,7 +5073,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5045
5073
|
}
|
|
5046
5074
|
};
|
|
5047
5075
|
|
|
5048
|
-
var formkitVersion$2 = '
|
|
5076
|
+
var formkitVersion$2 = '202604141823';
|
|
5049
5077
|
|
|
5050
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5051
5079
|
static get properties() {
|
|
@@ -12802,7 +12830,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12802
12830
|
}
|
|
12803
12831
|
};
|
|
12804
12832
|
|
|
12805
|
-
var formkitVersion$1 = '
|
|
12833
|
+
var formkitVersion$1 = '202604141823';
|
|
12806
12834
|
|
|
12807
12835
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12808
12836
|
// See LICENSE in the project root for license information.
|
|
@@ -13867,11 +13895,11 @@ class AuroBibtemplate extends LitElement {
|
|
|
13867
13895
|
}
|
|
13868
13896
|
}
|
|
13869
13897
|
|
|
13870
|
-
var formkitVersion = '
|
|
13898
|
+
var formkitVersion = '202604141823';
|
|
13871
13899
|
|
|
13872
13900
|
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}`;
|
|
13873
13901
|
|
|
13874
|
-
var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-input]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}: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: transparent}`;
|
|
13902
|
+
var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]::part(inputHelpText){display:none}: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: transparent}`;
|
|
13875
13903
|
|
|
13876
13904
|
var styleSnowflakeCss = css`:host([layout*=snowflake][shape*=snowflake]) [auro-input]{width:100%}:host([layout*=snowflake][shape*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake][shape*=snowflake])::part(helpText){text-align:center}`;
|
|
13877
13905
|
|
|
@@ -14730,7 +14758,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14730
14758
|
* @returns {void}
|
|
14731
14759
|
*/
|
|
14732
14760
|
activateFirstEnabledAvailableOption() {
|
|
14733
|
-
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.
|
|
14761
|
+
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.hasAttribute('nomatch'));
|
|
14734
14762
|
this.updateActiveOption(firstEnabledOptionIndex);
|
|
14735
14763
|
}
|
|
14736
14764
|
|
|
@@ -14744,7 +14772,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14744
14772
|
|
|
14745
14773
|
// Work backwards through the available options array to find the last enabled option
|
|
14746
14774
|
for (let index = this.availableOptions.length - 1; index >= 0; index -= 1) {
|
|
14747
|
-
if (!this.availableOptions[index].disabled && !this.availableOptions[index].
|
|
14775
|
+
if (!this.availableOptions[index].disabled && !this.availableOptions[index].hasAttribute('nomatch')) {
|
|
14748
14776
|
lastEnabledOptionIndex = index;
|
|
14749
14777
|
break;
|
|
14750
14778
|
}
|
|
@@ -3139,6 +3139,7 @@ class AuroFloatingUI {
|
|
|
3139
3139
|
this.focusHandler = null;
|
|
3140
3140
|
this.clickHandler = null;
|
|
3141
3141
|
this.keyDownHandler = null;
|
|
3142
|
+
this.touchHandler = null;
|
|
3142
3143
|
|
|
3143
3144
|
/**
|
|
3144
3145
|
* @private
|
|
@@ -3556,6 +3557,28 @@ class AuroFloatingUI {
|
|
|
3556
3557
|
setTimeout(() => {
|
|
3557
3558
|
window.addEventListener("click", this.clickHandler);
|
|
3558
3559
|
}, 0);
|
|
3560
|
+
|
|
3561
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
3562
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
3563
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
3564
|
+
this.touchHandler = (evt) => {
|
|
3565
|
+
const element = this.element;
|
|
3566
|
+
if (!element?.bib) {
|
|
3567
|
+
return;
|
|
3568
|
+
}
|
|
3569
|
+
|
|
3570
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
3571
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
3572
|
+
return;
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
const path = evt.composedPath();
|
|
3576
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
3577
|
+
this.hideBib("click");
|
|
3578
|
+
}
|
|
3579
|
+
};
|
|
3580
|
+
|
|
3581
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
3559
3582
|
}
|
|
3560
3583
|
|
|
3561
3584
|
cleanupHideHandlers() {
|
|
@@ -3571,6 +3594,11 @@ class AuroFloatingUI {
|
|
|
3571
3594
|
this.clickHandler = null;
|
|
3572
3595
|
}
|
|
3573
3596
|
|
|
3597
|
+
if (this.touchHandler) {
|
|
3598
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
3599
|
+
this.touchHandler = null;
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3574
3602
|
if (this.keyDownHandler) {
|
|
3575
3603
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
3576
3604
|
this.keyDownHandler = null;
|
|
@@ -5045,7 +5073,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
5045
5073
|
}
|
|
5046
5074
|
};
|
|
5047
5075
|
|
|
5048
|
-
var formkitVersion$2 = '
|
|
5076
|
+
var formkitVersion$2 = '202604141823';
|
|
5049
5077
|
|
|
5050
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5051
5079
|
static get properties() {
|
|
@@ -12802,7 +12830,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12802
12830
|
}
|
|
12803
12831
|
};
|
|
12804
12832
|
|
|
12805
|
-
var formkitVersion$1 = '
|
|
12833
|
+
var formkitVersion$1 = '202604141823';
|
|
12806
12834
|
|
|
12807
12835
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12808
12836
|
// See LICENSE in the project root for license information.
|
|
@@ -13867,11 +13895,11 @@ class AuroBibtemplate extends LitElement {
|
|
|
13867
13895
|
}
|
|
13868
13896
|
}
|
|
13869
13897
|
|
|
13870
|
-
var formkitVersion = '
|
|
13898
|
+
var formkitVersion = '202604141823';
|
|
13871
13899
|
|
|
13872
13900
|
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}`;
|
|
13873
13901
|
|
|
13874
|
-
var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-input]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input]::part(inputHelpText){display:none}: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: transparent}`;
|
|
13902
|
+
var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]:hover{--ds-auro-input-background-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843));--ds-auro-input-container-color: var(--ds-advanced-color-dropdown-emphasized-background, rgba(0, 39, 74, 0.1019607843))}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]{width:100%}:host([layout*=emphasized][shape*=pill]) [auro-input][slot=trigger]::part(inputHelpText){display:none}: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: transparent}`;
|
|
13875
13903
|
|
|
13876
13904
|
var styleSnowflakeCss = css`:host([layout*=snowflake][shape*=snowflake]) [auro-input]{width:100%}:host([layout*=snowflake][shape*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake][shape*=snowflake])::part(helpText){text-align:center}`;
|
|
13877
13905
|
|
|
@@ -14730,7 +14758,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14730
14758
|
* @returns {void}
|
|
14731
14759
|
*/
|
|
14732
14760
|
activateFirstEnabledAvailableOption() {
|
|
14733
|
-
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.
|
|
14761
|
+
const firstEnabledOptionIndex = this.availableOptions.findIndex((opt) => !opt.disabled && !opt.hasAttribute('nomatch'));
|
|
14734
14762
|
this.updateActiveOption(firstEnabledOptionIndex);
|
|
14735
14763
|
}
|
|
14736
14764
|
|
|
@@ -14744,7 +14772,7 @@ class AuroCombobox extends AuroElement {
|
|
|
14744
14772
|
|
|
14745
14773
|
// Work backwards through the available options array to find the last enabled option
|
|
14746
14774
|
for (let index = this.availableOptions.length - 1; index >= 0; index -= 1) {
|
|
14747
|
-
if (!this.availableOptions[index].disabled && !this.availableOptions[index].
|
|
14775
|
+
if (!this.availableOptions[index].disabled && !this.availableOptions[index].hasAttribute('nomatch')) {
|
|
14748
14776
|
lastEnabledOptionIndex = index;
|
|
14749
14777
|
break;
|
|
14750
14778
|
}
|