@aurodesignsystem-dev/auro-formkit 0.0.0-pr1431.3 → 0.0.0-pr1432.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/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 +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 +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 -15
- package/components/datepicker/demo/index.min.js +31 -15
- package/components/datepicker/dist/index.js +31 -15
- package/components/datepicker/dist/registered.js +31 -15
- 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 +138 -86
- package/components/form/demo/index.min.js +138 -86
- 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/dist/index.js +30 -2
- package/components/select/dist/registered.js +30 -2
- package/custom-elements.json +1632 -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 = '202604151427';
|
|
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 = '202604151427';
|
|
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 = '202604151427';
|
|
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 = '202604151427';
|
|
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 = '202604151427';
|
|
5204
5232
|
|
|
5205
5233
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5206
5234
|
static get properties() {
|
|
@@ -12167,18 +12195,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
12167
12195
|
return this.pattern;
|
|
12168
12196
|
}
|
|
12169
12197
|
|
|
12170
|
-
/**
|
|
12171
|
-
* Required to convert SVG icons from data to HTML string.
|
|
12172
|
-
* @private
|
|
12173
|
-
* @param {string} icon HTML string for requested icon.
|
|
12174
|
-
* @returns {object} Appended HTML for SVG.
|
|
12175
|
-
*/
|
|
12176
|
-
getIconAsHtml(icon) {
|
|
12177
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
12178
|
-
|
|
12179
|
-
return dom.body.firstChild;
|
|
12180
|
-
}
|
|
12181
|
-
|
|
12182
12198
|
/**
|
|
12183
12199
|
* Sends event notifying that the input has changed it's value.
|
|
12184
12200
|
* @private
|
|
@@ -12964,7 +12980,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12964
12980
|
}
|
|
12965
12981
|
};
|
|
12966
12982
|
|
|
12967
|
-
var formkitVersion$1 = '
|
|
12983
|
+
var formkitVersion$1 = '202604151427';
|
|
12968
12984
|
|
|
12969
12985
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12970
12986
|
// See LICENSE in the project root for license information.
|
|
@@ -14029,11 +14045,11 @@ class AuroBibtemplate extends i$4 {
|
|
|
14029
14045
|
}
|
|
14030
14046
|
}
|
|
14031
14047
|
|
|
14032
|
-
var formkitVersion = '
|
|
14048
|
+
var formkitVersion = '202604151427';
|
|
14033
14049
|
|
|
14034
14050
|
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
14051
|
|
|
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}`;
|
|
14052
|
+
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
14053
|
|
|
14038
14054
|
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
14055
|
|
|
@@ -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 = '202604151427';
|
|
5116
5144
|
|
|
5117
5145
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5118
5146
|
static get properties() {
|
|
@@ -12079,18 +12107,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
12079
12107
|
return this.pattern;
|
|
12080
12108
|
}
|
|
12081
12109
|
|
|
12082
|
-
/**
|
|
12083
|
-
* Required to convert SVG icons from data to HTML string.
|
|
12084
|
-
* @private
|
|
12085
|
-
* @param {string} icon HTML string for requested icon.
|
|
12086
|
-
* @returns {object} Appended HTML for SVG.
|
|
12087
|
-
*/
|
|
12088
|
-
getIconAsHtml(icon) {
|
|
12089
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
12090
|
-
|
|
12091
|
-
return dom.body.firstChild;
|
|
12092
|
-
}
|
|
12093
|
-
|
|
12094
12110
|
/**
|
|
12095
12111
|
* Sends event notifying that the input has changed it's value.
|
|
12096
12112
|
* @private
|
|
@@ -12876,7 +12892,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12876
12892
|
}
|
|
12877
12893
|
};
|
|
12878
12894
|
|
|
12879
|
-
var formkitVersion$1 = '
|
|
12895
|
+
var formkitVersion$1 = '202604151427';
|
|
12880
12896
|
|
|
12881
12897
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12882
12898
|
// See LICENSE in the project root for license information.
|
|
@@ -13941,11 +13957,11 @@ class AuroBibtemplate extends i$4 {
|
|
|
13941
13957
|
}
|
|
13942
13958
|
}
|
|
13943
13959
|
|
|
13944
|
-
var formkitVersion = '
|
|
13960
|
+
var formkitVersion = '202604151427';
|
|
13945
13961
|
|
|
13946
13962
|
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
13963
|
|
|
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}`;
|
|
13964
|
+
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
13965
|
|
|
13950
13966
|
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
13967
|
|
|
@@ -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 = '202604151427';
|
|
5049
5077
|
|
|
5050
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5051
5079
|
static get properties() {
|
|
@@ -12005,18 +12033,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
12005
12033
|
return this.pattern;
|
|
12006
12034
|
}
|
|
12007
12035
|
|
|
12008
|
-
/**
|
|
12009
|
-
* Required to convert SVG icons from data to HTML string.
|
|
12010
|
-
* @private
|
|
12011
|
-
* @param {string} icon HTML string for requested icon.
|
|
12012
|
-
* @returns {object} Appended HTML for SVG.
|
|
12013
|
-
*/
|
|
12014
|
-
getIconAsHtml(icon) {
|
|
12015
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
12016
|
-
|
|
12017
|
-
return dom.body.firstChild;
|
|
12018
|
-
}
|
|
12019
|
-
|
|
12020
12036
|
/**
|
|
12021
12037
|
* Sends event notifying that the input has changed it's value.
|
|
12022
12038
|
* @private
|
|
@@ -12802,7 +12818,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12802
12818
|
}
|
|
12803
12819
|
};
|
|
12804
12820
|
|
|
12805
|
-
var formkitVersion$1 = '
|
|
12821
|
+
var formkitVersion$1 = '202604151427';
|
|
12806
12822
|
|
|
12807
12823
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12808
12824
|
// See LICENSE in the project root for license information.
|
|
@@ -13867,11 +13883,11 @@ class AuroBibtemplate extends LitElement {
|
|
|
13867
13883
|
}
|
|
13868
13884
|
}
|
|
13869
13885
|
|
|
13870
|
-
var formkitVersion = '
|
|
13886
|
+
var formkitVersion = '202604151427';
|
|
13871
13887
|
|
|
13872
13888
|
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
13889
|
|
|
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}`;
|
|
13890
|
+
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
13891
|
|
|
13876
13892
|
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
13893
|
|
|
@@ -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 = '202604151427';
|
|
5049
5077
|
|
|
5050
5078
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
5051
5079
|
static get properties() {
|
|
@@ -12005,18 +12033,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
12005
12033
|
return this.pattern;
|
|
12006
12034
|
}
|
|
12007
12035
|
|
|
12008
|
-
/**
|
|
12009
|
-
* Required to convert SVG icons from data to HTML string.
|
|
12010
|
-
* @private
|
|
12011
|
-
* @param {string} icon HTML string for requested icon.
|
|
12012
|
-
* @returns {object} Appended HTML for SVG.
|
|
12013
|
-
*/
|
|
12014
|
-
getIconAsHtml(icon) {
|
|
12015
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
12016
|
-
|
|
12017
|
-
return dom.body.firstChild;
|
|
12018
|
-
}
|
|
12019
|
-
|
|
12020
12036
|
/**
|
|
12021
12037
|
* Sends event notifying that the input has changed it's value.
|
|
12022
12038
|
* @private
|
|
@@ -12802,7 +12818,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12802
12818
|
}
|
|
12803
12819
|
};
|
|
12804
12820
|
|
|
12805
|
-
var formkitVersion$1 = '
|
|
12821
|
+
var formkitVersion$1 = '202604151427';
|
|
12806
12822
|
|
|
12807
12823
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12808
12824
|
// See LICENSE in the project root for license information.
|
|
@@ -13867,11 +13883,11 @@ class AuroBibtemplate extends LitElement {
|
|
|
13867
13883
|
}
|
|
13868
13884
|
}
|
|
13869
13885
|
|
|
13870
|
-
var formkitVersion = '
|
|
13886
|
+
var formkitVersion = '202604151427';
|
|
13871
13887
|
|
|
13872
13888
|
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
13889
|
|
|
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}`;
|
|
13890
|
+
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
13891
|
|
|
13876
13892
|
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
13893
|
|
|
@@ -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 = '202604151427';
|
|
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.
|
|
@@ -1862,25 +1862,6 @@ class AuroCounter extends i$2 {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
1864
|
|
|
1865
|
-
/**
|
|
1866
|
-
* Sets ariaDescribedByElements on the spinbutton to the slotted description elements,
|
|
1867
|
-
* bridging the shadow DOM boundary for screen readers.
|
|
1868
|
-
* @param {Event} event - The slotchange event.
|
|
1869
|
-
* @private
|
|
1870
|
-
*/
|
|
1871
|
-
onDescriptionSlotChange(event) {
|
|
1872
|
-
const assignedNodes = event.target.assignedElements();
|
|
1873
|
-
const spinbutton = this.shadowRoot.querySelector('[role="spinbutton"]');
|
|
1874
|
-
|
|
1875
|
-
if (spinbutton) {
|
|
1876
|
-
if (assignedNodes.length > 0) {
|
|
1877
|
-
spinbutton.ariaDescribedByElements = assignedNodes;
|
|
1878
|
-
} else {
|
|
1879
|
-
spinbutton.ariaDescribedByElements = [];
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
}
|
|
1883
|
-
|
|
1884
1865
|
updated(changedProperties) {
|
|
1885
1866
|
if (changedProperties.has("value")) {
|
|
1886
1867
|
this.validate();
|
|
@@ -1932,22 +1913,22 @@ class AuroCounter extends i$2 {
|
|
|
1932
1913
|
|
|
1933
1914
|
<div class="counterWrapper">
|
|
1934
1915
|
<div class="counter">
|
|
1935
|
-
<div class="content" >
|
|
1936
|
-
<label
|
|
1916
|
+
<div class="content" id="counter-label">
|
|
1917
|
+
<label class="label">
|
|
1937
1918
|
<slot @slotchange="${this.onDefaultSlotChange}"></slot>
|
|
1938
1919
|
</label>
|
|
1939
|
-
<slot name="description" class="body-xs"
|
|
1920
|
+
<slot name="description" class="body-xs"></slot>
|
|
1940
1921
|
</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}"
|
|
1922
|
+
<div
|
|
1923
|
+
part="counterControl"
|
|
1924
|
+
aria-disabled="${o$2(this.disabled ? 'true' : undefined)}"
|
|
1925
|
+
aria-labelledby="counter-label"
|
|
1926
|
+
aria-valuemax="${this.max}"
|
|
1927
|
+
aria-valuemin="${this.min}"
|
|
1947
1928
|
aria-valuenow="${this.value}"
|
|
1948
1929
|
aria-valuetext="${this.value !== undefined ? this.value : this.min}"
|
|
1949
|
-
role="spinbutton"
|
|
1950
|
-
tabindex="${this.disabled ? '-1' : '0'}"
|
|
1930
|
+
role="spinbutton"
|
|
1931
|
+
tabindex="${this.disabled ? '-1' : '0'}"
|
|
1951
1932
|
>
|
|
1952
1933
|
<auro-counter-button
|
|
1953
1934
|
aria-label="${this.runtimeUtils.getSlotText(this, 'ariaLabel.minus') || '−'}"
|
|
@@ -3799,6 +3780,7 @@ class AuroFloatingUI {
|
|
|
3799
3780
|
this.focusHandler = null;
|
|
3800
3781
|
this.clickHandler = null;
|
|
3801
3782
|
this.keyDownHandler = null;
|
|
3783
|
+
this.touchHandler = null;
|
|
3802
3784
|
|
|
3803
3785
|
/**
|
|
3804
3786
|
* @private
|
|
@@ -4216,6 +4198,28 @@ class AuroFloatingUI {
|
|
|
4216
4198
|
setTimeout(() => {
|
|
4217
4199
|
window.addEventListener("click", this.clickHandler);
|
|
4218
4200
|
}, 0);
|
|
4201
|
+
|
|
4202
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
4203
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
4204
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
4205
|
+
this.touchHandler = (evt) => {
|
|
4206
|
+
const element = this.element;
|
|
4207
|
+
if (!element?.bib) {
|
|
4208
|
+
return;
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
4212
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
4213
|
+
return;
|
|
4214
|
+
}
|
|
4215
|
+
|
|
4216
|
+
const path = evt.composedPath();
|
|
4217
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
4218
|
+
this.hideBib("click");
|
|
4219
|
+
}
|
|
4220
|
+
};
|
|
4221
|
+
|
|
4222
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
4219
4223
|
}
|
|
4220
4224
|
|
|
4221
4225
|
cleanupHideHandlers() {
|
|
@@ -4231,6 +4235,11 @@ class AuroFloatingUI {
|
|
|
4231
4235
|
this.clickHandler = null;
|
|
4232
4236
|
}
|
|
4233
4237
|
|
|
4238
|
+
if (this.touchHandler) {
|
|
4239
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
4240
|
+
this.touchHandler = null;
|
|
4241
|
+
}
|
|
4242
|
+
|
|
4234
4243
|
if (this.keyDownHandler) {
|
|
4235
4244
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
4236
4245
|
this.keyDownHandler = null;
|
|
@@ -5705,7 +5714,7 @@ class AuroHelpText extends i$2 {
|
|
|
5705
5714
|
}
|
|
5706
5715
|
}
|
|
5707
5716
|
|
|
5708
|
-
var formkitVersion = '
|
|
5717
|
+
var formkitVersion = '202604151427';
|
|
5709
5718
|
|
|
5710
5719
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5711
5720
|
static get properties() {
|