@aurodesignsystem-dev/auro-formkit 0.0.0-pr1424.4 → 0.0.0-pr1424.6
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 -8
- package/components/checkbox/demo/index.min.js +2 -8
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
- package/components/checkbox/dist/index.js +2 -8
- package/components/checkbox/dist/registered.js +2 -8
- package/components/combobox/demo/api.min.js +32 -16
- package/components/combobox/demo/index.min.js +32 -16
- package/components/combobox/dist/index.js +32 -16
- package/components/combobox/dist/registered.js +32 -16
- package/components/counter/demo/api.min.js +45 -21
- package/components/counter/demo/index.min.js +45 -21
- package/components/counter/dist/auro-counter.d.ts +3 -2
- package/components/counter/dist/index.js +45 -21
- package/components/counter/dist/registered.js +45 -21
- package/components/datepicker/demo/api.md +6 -6
- package/components/datepicker/demo/api.min.js +51 -29
- package/components/datepicker/demo/index.min.js +51 -29
- package/components/datepicker/dist/auro-datepicker.d.ts +2 -1
- package/components/datepicker/dist/index.js +51 -29
- package/components/datepicker/dist/registered.js +51 -29
- 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 +162 -90
- package/components/form/demo/index.min.js +162 -90
- package/components/input/demo/api.min.js +1 -13
- package/components/input/demo/index.min.js +1 -13
- package/components/input/dist/base-input.d.ts +0 -7
- package/components/input/dist/index.js +1 -13
- package/components/input/dist/registered.js +1 -13
- 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 +30 -2
- package/components/select/demo/index.min.js +30 -2
- package/components/select/demo/keyboard-behavior.html +81 -0
- package/components/select/dist/index.js +30 -2
- package/components/select/dist/registered.js +30 -2
- package/custom-elements.json +1426 -1470
- 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 = '202604222001';
|
|
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,12 +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
|
-
|
|
2025
2019
|
if (changedProperties.has('disabled')) {
|
|
2026
2020
|
this.checkboxes.forEach((el) => {
|
|
2027
2021
|
if (this.disabled) {
|
|
@@ -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 = '202604222001';
|
|
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,12 +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
|
-
|
|
2017
2011
|
if (changedProperties.has('disabled')) {
|
|
2018
2012
|
this.checkboxes.forEach((el) => {
|
|
2019
2013
|
if (this.disabled) {
|
|
@@ -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 = '202604222001';
|
|
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,12 +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
|
-
|
|
1970
1964
|
if (changedProperties.has('disabled')) {
|
|
1971
1965
|
this.checkboxes.forEach((el) => {
|
|
1972
1966
|
if (this.disabled) {
|
|
@@ -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 = '202604222001';
|
|
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,12 +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
|
-
|
|
1970
1964
|
if (changedProperties.has('disabled')) {
|
|
1971
1965
|
this.checkboxes.forEach((el) => {
|
|
1972
1966
|
if (this.disabled) {
|
|
@@ -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 = '202604222001';
|
|
5204
5232
|
|
|
5205
5233
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5206
5234
|
static get properties() {
|
|
@@ -12159,18 +12187,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
12159
12187
|
return this.pattern;
|
|
12160
12188
|
}
|
|
12161
12189
|
|
|
12162
|
-
/**
|
|
12163
|
-
* Required to convert SVG icons from data to HTML string.
|
|
12164
|
-
* @private
|
|
12165
|
-
* @param {string} icon HTML string for requested icon.
|
|
12166
|
-
* @returns {object} Appended HTML for SVG.
|
|
12167
|
-
*/
|
|
12168
|
-
getIconAsHtml(icon) {
|
|
12169
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
12170
|
-
|
|
12171
|
-
return dom.body.firstChild;
|
|
12172
|
-
}
|
|
12173
|
-
|
|
12174
12190
|
/**
|
|
12175
12191
|
* Sends event notifying that the input has changed it's value.
|
|
12176
12192
|
* @private
|
|
@@ -12956,7 +12972,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12956
12972
|
}
|
|
12957
12973
|
};
|
|
12958
12974
|
|
|
12959
|
-
var formkitVersion$1 = '
|
|
12975
|
+
var formkitVersion$1 = '202604222001';
|
|
12960
12976
|
|
|
12961
12977
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12962
12978
|
// See LICENSE in the project root for license information.
|
|
@@ -14021,11 +14037,11 @@ class AuroBibtemplate extends i$4 {
|
|
|
14021
14037
|
}
|
|
14022
14038
|
}
|
|
14023
14039
|
|
|
14024
|
-
var formkitVersion = '
|
|
14040
|
+
var formkitVersion = '202604222001';
|
|
14025
14041
|
|
|
14026
14042
|
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}`;
|
|
14027
14043
|
|
|
14028
|
-
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}`;
|
|
14044
|
+
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}`;
|
|
14029
14045
|
|
|
14030
14046
|
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}`;
|
|
14031
14047
|
|
|
@@ -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 = '202604222001';
|
|
5116
5144
|
|
|
5117
5145
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5118
5146
|
static get properties() {
|
|
@@ -12071,18 +12099,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
12071
12099
|
return this.pattern;
|
|
12072
12100
|
}
|
|
12073
12101
|
|
|
12074
|
-
/**
|
|
12075
|
-
* Required to convert SVG icons from data to HTML string.
|
|
12076
|
-
* @private
|
|
12077
|
-
* @param {string} icon HTML string for requested icon.
|
|
12078
|
-
* @returns {object} Appended HTML for SVG.
|
|
12079
|
-
*/
|
|
12080
|
-
getIconAsHtml(icon) {
|
|
12081
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
12082
|
-
|
|
12083
|
-
return dom.body.firstChild;
|
|
12084
|
-
}
|
|
12085
|
-
|
|
12086
12102
|
/**
|
|
12087
12103
|
* Sends event notifying that the input has changed it's value.
|
|
12088
12104
|
* @private
|
|
@@ -12868,7 +12884,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12868
12884
|
}
|
|
12869
12885
|
};
|
|
12870
12886
|
|
|
12871
|
-
var formkitVersion$1 = '
|
|
12887
|
+
var formkitVersion$1 = '202604222001';
|
|
12872
12888
|
|
|
12873
12889
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12874
12890
|
// See LICENSE in the project root for license information.
|
|
@@ -13933,11 +13949,11 @@ class AuroBibtemplate extends i$4 {
|
|
|
13933
13949
|
}
|
|
13934
13950
|
}
|
|
13935
13951
|
|
|
13936
|
-
var formkitVersion = '
|
|
13952
|
+
var formkitVersion = '202604222001';
|
|
13937
13953
|
|
|
13938
13954
|
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}`;
|
|
13939
13955
|
|
|
13940
|
-
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}`;
|
|
13956
|
+
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}`;
|
|
13941
13957
|
|
|
13942
13958
|
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}`;
|
|
13943
13959
|
|
|
@@ -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 = '202604222001';
|
|
5049
5077
|
|
|
5050
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5051
5079
|
static get properties() {
|
|
@@ -11997,18 +12025,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11997
12025
|
return this.pattern;
|
|
11998
12026
|
}
|
|
11999
12027
|
|
|
12000
|
-
/**
|
|
12001
|
-
* Required to convert SVG icons from data to HTML string.
|
|
12002
|
-
* @private
|
|
12003
|
-
* @param {string} icon HTML string for requested icon.
|
|
12004
|
-
* @returns {object} Appended HTML for SVG.
|
|
12005
|
-
*/
|
|
12006
|
-
getIconAsHtml(icon) {
|
|
12007
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
12008
|
-
|
|
12009
|
-
return dom.body.firstChild;
|
|
12010
|
-
}
|
|
12011
|
-
|
|
12012
12028
|
/**
|
|
12013
12029
|
* Sends event notifying that the input has changed it's value.
|
|
12014
12030
|
* @private
|
|
@@ -12794,7 +12810,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12794
12810
|
}
|
|
12795
12811
|
};
|
|
12796
12812
|
|
|
12797
|
-
var formkitVersion$1 = '
|
|
12813
|
+
var formkitVersion$1 = '202604222001';
|
|
12798
12814
|
|
|
12799
12815
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12800
12816
|
// See LICENSE in the project root for license information.
|
|
@@ -13859,11 +13875,11 @@ class AuroBibtemplate extends LitElement {
|
|
|
13859
13875
|
}
|
|
13860
13876
|
}
|
|
13861
13877
|
|
|
13862
|
-
var formkitVersion = '
|
|
13878
|
+
var formkitVersion = '202604222001';
|
|
13863
13879
|
|
|
13864
13880
|
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}`;
|
|
13865
13881
|
|
|
13866
|
-
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}`;
|
|
13882
|
+
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}`;
|
|
13867
13883
|
|
|
13868
13884
|
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}`;
|
|
13869
13885
|
|
|
@@ -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 = '202604222001';
|
|
5049
5077
|
|
|
5050
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5051
5079
|
static get properties() {
|
|
@@ -11997,18 +12025,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11997
12025
|
return this.pattern;
|
|
11998
12026
|
}
|
|
11999
12027
|
|
|
12000
|
-
/**
|
|
12001
|
-
* Required to convert SVG icons from data to HTML string.
|
|
12002
|
-
* @private
|
|
12003
|
-
* @param {string} icon HTML string for requested icon.
|
|
12004
|
-
* @returns {object} Appended HTML for SVG.
|
|
12005
|
-
*/
|
|
12006
|
-
getIconAsHtml(icon) {
|
|
12007
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
12008
|
-
|
|
12009
|
-
return dom.body.firstChild;
|
|
12010
|
-
}
|
|
12011
|
-
|
|
12012
12028
|
/**
|
|
12013
12029
|
* Sends event notifying that the input has changed it's value.
|
|
12014
12030
|
* @private
|
|
@@ -12794,7 +12810,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12794
12810
|
}
|
|
12795
12811
|
};
|
|
12796
12812
|
|
|
12797
|
-
var formkitVersion$1 = '
|
|
12813
|
+
var formkitVersion$1 = '202604222001';
|
|
12798
12814
|
|
|
12799
12815
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12800
12816
|
// See LICENSE in the project root for license information.
|
|
@@ -13859,11 +13875,11 @@ class AuroBibtemplate extends LitElement {
|
|
|
13859
13875
|
}
|
|
13860
13876
|
}
|
|
13861
13877
|
|
|
13862
|
-
var formkitVersion = '
|
|
13878
|
+
var formkitVersion = '202604222001';
|
|
13863
13879
|
|
|
13864
13880
|
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}`;
|
|
13865
13881
|
|
|
13866
|
-
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}`;
|
|
13882
|
+
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}`;
|
|
13867
13883
|
|
|
13868
13884
|
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}`;
|
|
13869
13885
|
|
|
@@ -1521,7 +1521,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
};
|
|
1523
1523
|
|
|
1524
|
-
var formkitVersion$1 = '
|
|
1524
|
+
var formkitVersion$1 = '202604222001';
|
|
1525
1525
|
|
|
1526
1526
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1527
1527
|
// See LICENSE in the project root for license information.
|
|
@@ -1863,21 +1863,17 @@ class AuroCounter extends i$2 {
|
|
|
1863
1863
|
}
|
|
1864
1864
|
|
|
1865
1865
|
/**
|
|
1866
|
-
*
|
|
1867
|
-
*
|
|
1866
|
+
* Handles the slotchange event for the description slot.
|
|
1867
|
+
* Updates ariaDescribedByElements on the spinbutton.
|
|
1868
|
+
*
|
|
1868
1869
|
* @param {Event} event - The slotchange event.
|
|
1869
1870
|
* @private
|
|
1870
1871
|
*/
|
|
1871
1872
|
onDescriptionSlotChange(event) {
|
|
1872
|
-
const assignedNodes = event.target.assignedElements();
|
|
1873
1873
|
const spinbutton = this.shadowRoot.querySelector('[role="spinbutton"]');
|
|
1874
|
-
|
|
1875
1874
|
if (spinbutton) {
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
} else {
|
|
1879
|
-
spinbutton.ariaDescribedByElements = [];
|
|
1880
|
-
}
|
|
1875
|
+
const assigned = event.target.assignedElements();
|
|
1876
|
+
spinbutton.ariaDescribedByElements = assigned.length > 0 ? assigned : [];
|
|
1881
1877
|
}
|
|
1882
1878
|
}
|
|
1883
1879
|
|
|
@@ -1932,22 +1928,22 @@ class AuroCounter extends i$2 {
|
|
|
1932
1928
|
|
|
1933
1929
|
<div class="counterWrapper">
|
|
1934
1930
|
<div class="counter">
|
|
1935
|
-
<div class="content" >
|
|
1936
|
-
<label
|
|
1931
|
+
<div class="content" id="counter-label">
|
|
1932
|
+
<label class="label">
|
|
1937
1933
|
<slot @slotchange="${this.onDefaultSlotChange}"></slot>
|
|
1938
1934
|
</label>
|
|
1939
1935
|
<slot name="description" class="body-xs" @slotchange="${this.onDescriptionSlotChange}"></slot>
|
|
1940
1936
|
</div>
|
|
1941
|
-
<div
|
|
1942
|
-
part="counterControl"
|
|
1943
|
-
aria-disabled="${o$2(this.disabled ? 'true' : undefined)}"
|
|
1944
|
-
aria-labelledby="counter-label"
|
|
1945
|
-
aria-valuemax="${this.max}"
|
|
1946
|
-
aria-valuemin="${this.min}"
|
|
1937
|
+
<div
|
|
1938
|
+
part="counterControl"
|
|
1939
|
+
aria-disabled="${o$2(this.disabled ? 'true' : undefined)}"
|
|
1940
|
+
aria-labelledby="counter-label"
|
|
1941
|
+
aria-valuemax="${this.max}"
|
|
1942
|
+
aria-valuemin="${this.min}"
|
|
1947
1943
|
aria-valuenow="${this.value}"
|
|
1948
1944
|
aria-valuetext="${this.value !== undefined ? this.value : this.min}"
|
|
1949
|
-
role="spinbutton"
|
|
1950
|
-
tabindex="${this.disabled ? '-1' : '0'}"
|
|
1945
|
+
role="spinbutton"
|
|
1946
|
+
tabindex="${this.disabled ? '-1' : '0'}"
|
|
1951
1947
|
>
|
|
1952
1948
|
<auro-counter-button
|
|
1953
1949
|
aria-label="${this.runtimeUtils.getSlotText(this, 'ariaLabel.minus') || '−'}"
|
|
@@ -3799,6 +3795,7 @@ class AuroFloatingUI {
|
|
|
3799
3795
|
this.focusHandler = null;
|
|
3800
3796
|
this.clickHandler = null;
|
|
3801
3797
|
this.keyDownHandler = null;
|
|
3798
|
+
this.touchHandler = null;
|
|
3802
3799
|
|
|
3803
3800
|
/**
|
|
3804
3801
|
* @private
|
|
@@ -4216,6 +4213,28 @@ class AuroFloatingUI {
|
|
|
4216
4213
|
setTimeout(() => {
|
|
4217
4214
|
window.addEventListener("click", this.clickHandler);
|
|
4218
4215
|
}, 0);
|
|
4216
|
+
|
|
4217
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
4218
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
4219
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
4220
|
+
this.touchHandler = (evt) => {
|
|
4221
|
+
const element = this.element;
|
|
4222
|
+
if (!element?.bib) {
|
|
4223
|
+
return;
|
|
4224
|
+
}
|
|
4225
|
+
|
|
4226
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
4227
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
4228
|
+
return;
|
|
4229
|
+
}
|
|
4230
|
+
|
|
4231
|
+
const path = evt.composedPath();
|
|
4232
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
4233
|
+
this.hideBib("click");
|
|
4234
|
+
}
|
|
4235
|
+
};
|
|
4236
|
+
|
|
4237
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
4219
4238
|
}
|
|
4220
4239
|
|
|
4221
4240
|
cleanupHideHandlers() {
|
|
@@ -4231,6 +4250,11 @@ class AuroFloatingUI {
|
|
|
4231
4250
|
this.clickHandler = null;
|
|
4232
4251
|
}
|
|
4233
4252
|
|
|
4253
|
+
if (this.touchHandler) {
|
|
4254
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
4255
|
+
this.touchHandler = null;
|
|
4256
|
+
}
|
|
4257
|
+
|
|
4234
4258
|
if (this.keyDownHandler) {
|
|
4235
4259
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
4236
4260
|
this.keyDownHandler = null;
|
|
@@ -5705,7 +5729,7 @@ class AuroHelpText extends i$2 {
|
|
|
5705
5729
|
}
|
|
5706
5730
|
}
|
|
5707
5731
|
|
|
5708
|
-
var formkitVersion = '
|
|
5732
|
+
var formkitVersion = '202604222001';
|
|
5709
5733
|
|
|
5710
5734
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5711
5735
|
static get properties() {
|