@aurodesignsystem-dev/auro-formkit 0.0.0-pr1393.0 → 0.0.0-pr1394.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 +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +30 -13
- package/components/combobox/demo/index.min.js +30 -13
- package/components/combobox/dist/index.js +30 -13
- package/components/combobox/dist/registered.js +30 -13
- package/components/counter/demo/api.min.js +63 -42
- package/components/counter/demo/index.min.js +63 -42
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +63 -42
- package/components/counter/dist/registered.js +63 -42
- package/components/datepicker/demo/api.min.js +30 -13
- package/components/datepicker/demo/index.min.js +30 -13
- package/components/datepicker/dist/index.js +30 -13
- package/components/datepicker/dist/registered.js +30 -13
- package/components/dropdown/demo/api.min.js +28 -11
- package/components/dropdown/demo/index.min.js +28 -11
- package/components/dropdown/dist/auro-dropdownBib.d.ts +2 -2
- package/components/dropdown/dist/index.js +28 -11
- package/components/dropdown/dist/registered.js +28 -11
- package/components/form/demo/api.min.js +155 -83
- package/components/form/demo/index.min.js +155 -83
- 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/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 +29 -12
- package/components/select/demo/index.min.js +29 -12
- package/components/select/dist/index.js +29 -12
- package/components/select/dist/registered.js +29 -12
- package/custom-elements.json +1590 -1573
- package/package.json +1 -1
|
@@ -1687,7 +1687,7 @@ class AuroHelpText extends i$2 {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
|
-
var formkitVersion = '
|
|
1690
|
+
var formkitVersion = '202603232324';
|
|
1691
1691
|
|
|
1692
1692
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1693
1693
|
// See LICENSE in the project root for license information.
|
|
@@ -1679,7 +1679,7 @@ class AuroHelpText extends i$2 {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
|
-
var formkitVersion = '
|
|
1682
|
+
var formkitVersion = '202603232324';
|
|
1683
1683
|
|
|
1684
1684
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1685
1685
|
// See LICENSE in the project root for license information.
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202603232324';
|
|
1636
1636
|
|
|
1637
1637
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202603232324';
|
|
1636
1636
|
|
|
1637
1637
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
@@ -4573,7 +4573,7 @@ class AuroDropdownBib extends i$4 {
|
|
|
4573
4573
|
/**
|
|
4574
4574
|
* Forwards the dialog's native `cancel` event (fired on ESC) as
|
|
4575
4575
|
* an `auro-bib-cancel` custom event so parent components can close.
|
|
4576
|
-
* @param {HTMLDialogElement} dialog
|
|
4576
|
+
* @param {HTMLDialogElement} dialog - The dialog element to attach the cancel listener to.
|
|
4577
4577
|
* @private
|
|
4578
4578
|
*/
|
|
4579
4579
|
_setupCancelHandler(dialog) {
|
|
@@ -4617,7 +4617,7 @@ class AuroDropdownBib extends i$4 {
|
|
|
4617
4617
|
* is a secondary path for parent components that also listen for
|
|
4618
4618
|
* Escape keydown.
|
|
4619
4619
|
*
|
|
4620
|
-
* @param {HTMLDialogElement} dialog
|
|
4620
|
+
* @param {HTMLDialogElement} dialog - The dialog element to attach the keyboard bridge to.
|
|
4621
4621
|
* @private
|
|
4622
4622
|
*/
|
|
4623
4623
|
_setupKeyboardBridge(dialog) {
|
|
@@ -4636,15 +4636,23 @@ class AuroDropdownBib extends i$4 {
|
|
|
4636
4636
|
|
|
4637
4637
|
// Custom elements (auro-button) don't get the native Enter→click
|
|
4638
4638
|
// behavior that <button> has. Find the button in the composed path
|
|
4639
|
-
// and click it directly
|
|
4639
|
+
// and click it directly — but only when no menu option is
|
|
4640
|
+
// highlighted. In fullscreen mode focus stays on the close button
|
|
4641
|
+
// while arrow keys move the active-descendant highlight through
|
|
4642
|
+
// the listbox. If the user presses Enter with an option
|
|
4643
|
+
// highlighted, the intent is to select that option, not to click
|
|
4644
|
+
// the close button. In that case we fall through and bridge the
|
|
4645
|
+
// Enter key to the parent component's keyboard strategy.
|
|
4640
4646
|
if (event.key === 'Enter') {
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4647
|
+
if (!this.hasActiveDescendant) {
|
|
4648
|
+
const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
|
|
4649
|
+
const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
|
|
4650
|
+
if (btn) {
|
|
4651
|
+
event.preventDefault();
|
|
4652
|
+
event.stopPropagation();
|
|
4653
|
+
btn.click();
|
|
4654
|
+
return;
|
|
4655
|
+
}
|
|
4648
4656
|
}
|
|
4649
4657
|
}
|
|
4650
4658
|
|
|
@@ -5036,7 +5044,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
5036
5044
|
}
|
|
5037
5045
|
};
|
|
5038
5046
|
|
|
5039
|
-
var formkitVersion$2 = '
|
|
5047
|
+
var formkitVersion$2 = '202603232324';
|
|
5040
5048
|
|
|
5041
5049
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
5042
5050
|
static get properties() {
|
|
@@ -5355,6 +5363,15 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5355
5363
|
this.trigger.ariaActiveDescendantElement = null;
|
|
5356
5364
|
this.trigger.removeAttribute('aria-activedescendant');
|
|
5357
5365
|
}
|
|
5366
|
+
|
|
5367
|
+
// In fullscreen, focus stays on the close button while arrow keys
|
|
5368
|
+
// highlight options via active-descendant. Without this flag the
|
|
5369
|
+
// keyboard bridge clicks the close button on Enter (closing the
|
|
5370
|
+
// bib without selecting). When true, the bridge skips the button
|
|
5371
|
+
// click and forwards Enter to the parent to make the selection.
|
|
5372
|
+
if (this.bibContent) {
|
|
5373
|
+
this.bibContent.hasActiveDescendant = Boolean(element);
|
|
5374
|
+
}
|
|
5358
5375
|
}
|
|
5359
5376
|
|
|
5360
5377
|
// function to define props used within the scope of this component
|
|
@@ -12791,7 +12808,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12791
12808
|
}
|
|
12792
12809
|
};
|
|
12793
12810
|
|
|
12794
|
-
var formkitVersion$1 = '
|
|
12811
|
+
var formkitVersion$1 = '202603232324';
|
|
12795
12812
|
|
|
12796
12813
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12797
12814
|
// See LICENSE in the project root for license information.
|
|
@@ -13830,7 +13847,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
13830
13847
|
}
|
|
13831
13848
|
}
|
|
13832
13849
|
|
|
13833
|
-
var formkitVersion = '
|
|
13850
|
+
var formkitVersion = '202603232324';
|
|
13834
13851
|
|
|
13835
13852
|
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}`;
|
|
13836
13853
|
|
|
@@ -4496,7 +4496,7 @@ class AuroDropdownBib extends i$4 {
|
|
|
4496
4496
|
/**
|
|
4497
4497
|
* Forwards the dialog's native `cancel` event (fired on ESC) as
|
|
4498
4498
|
* an `auro-bib-cancel` custom event so parent components can close.
|
|
4499
|
-
* @param {HTMLDialogElement} dialog
|
|
4499
|
+
* @param {HTMLDialogElement} dialog - The dialog element to attach the cancel listener to.
|
|
4500
4500
|
* @private
|
|
4501
4501
|
*/
|
|
4502
4502
|
_setupCancelHandler(dialog) {
|
|
@@ -4540,7 +4540,7 @@ class AuroDropdownBib extends i$4 {
|
|
|
4540
4540
|
* is a secondary path for parent components that also listen for
|
|
4541
4541
|
* Escape keydown.
|
|
4542
4542
|
*
|
|
4543
|
-
* @param {HTMLDialogElement} dialog
|
|
4543
|
+
* @param {HTMLDialogElement} dialog - The dialog element to attach the keyboard bridge to.
|
|
4544
4544
|
* @private
|
|
4545
4545
|
*/
|
|
4546
4546
|
_setupKeyboardBridge(dialog) {
|
|
@@ -4559,15 +4559,23 @@ class AuroDropdownBib extends i$4 {
|
|
|
4559
4559
|
|
|
4560
4560
|
// Custom elements (auro-button) don't get the native Enter→click
|
|
4561
4561
|
// behavior that <button> has. Find the button in the composed path
|
|
4562
|
-
// and click it directly
|
|
4562
|
+
// and click it directly — but only when no menu option is
|
|
4563
|
+
// highlighted. In fullscreen mode focus stays on the close button
|
|
4564
|
+
// while arrow keys move the active-descendant highlight through
|
|
4565
|
+
// the listbox. If the user presses Enter with an option
|
|
4566
|
+
// highlighted, the intent is to select that option, not to click
|
|
4567
|
+
// the close button. In that case we fall through and bridge the
|
|
4568
|
+
// Enter key to the parent component's keyboard strategy.
|
|
4563
4569
|
if (event.key === 'Enter') {
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4570
|
+
if (!this.hasActiveDescendant) {
|
|
4571
|
+
const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
|
|
4572
|
+
const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
|
|
4573
|
+
if (btn) {
|
|
4574
|
+
event.preventDefault();
|
|
4575
|
+
event.stopPropagation();
|
|
4576
|
+
btn.click();
|
|
4577
|
+
return;
|
|
4578
|
+
}
|
|
4571
4579
|
}
|
|
4572
4580
|
}
|
|
4573
4581
|
|
|
@@ -4959,7 +4967,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4959
4967
|
}
|
|
4960
4968
|
};
|
|
4961
4969
|
|
|
4962
|
-
var formkitVersion$2 = '
|
|
4970
|
+
var formkitVersion$2 = '202603232324';
|
|
4963
4971
|
|
|
4964
4972
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4965
4973
|
static get properties() {
|
|
@@ -5278,6 +5286,15 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5278
5286
|
this.trigger.ariaActiveDescendantElement = null;
|
|
5279
5287
|
this.trigger.removeAttribute('aria-activedescendant');
|
|
5280
5288
|
}
|
|
5289
|
+
|
|
5290
|
+
// In fullscreen, focus stays on the close button while arrow keys
|
|
5291
|
+
// highlight options via active-descendant. Without this flag the
|
|
5292
|
+
// keyboard bridge clicks the close button on Enter (closing the
|
|
5293
|
+
// bib without selecting). When true, the bridge skips the button
|
|
5294
|
+
// click and forwards Enter to the parent to make the selection.
|
|
5295
|
+
if (this.bibContent) {
|
|
5296
|
+
this.bibContent.hasActiveDescendant = Boolean(element);
|
|
5297
|
+
}
|
|
5281
5298
|
}
|
|
5282
5299
|
|
|
5283
5300
|
// function to define props used within the scope of this component
|
|
@@ -12714,7 +12731,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12714
12731
|
}
|
|
12715
12732
|
};
|
|
12716
12733
|
|
|
12717
|
-
var formkitVersion$1 = '
|
|
12734
|
+
var formkitVersion$1 = '202603232324';
|
|
12718
12735
|
|
|
12719
12736
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12720
12737
|
// See LICENSE in the project root for license information.
|
|
@@ -13753,7 +13770,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
13753
13770
|
}
|
|
13754
13771
|
}
|
|
13755
13772
|
|
|
13756
|
-
var formkitVersion = '
|
|
13773
|
+
var formkitVersion = '202603232324';
|
|
13757
13774
|
|
|
13758
13775
|
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}`;
|
|
13759
13776
|
|
|
@@ -4429,7 +4429,7 @@ class AuroDropdownBib extends LitElement {
|
|
|
4429
4429
|
/**
|
|
4430
4430
|
* Forwards the dialog's native `cancel` event (fired on ESC) as
|
|
4431
4431
|
* an `auro-bib-cancel` custom event so parent components can close.
|
|
4432
|
-
* @param {HTMLDialogElement} dialog
|
|
4432
|
+
* @param {HTMLDialogElement} dialog - The dialog element to attach the cancel listener to.
|
|
4433
4433
|
* @private
|
|
4434
4434
|
*/
|
|
4435
4435
|
_setupCancelHandler(dialog) {
|
|
@@ -4473,7 +4473,7 @@ class AuroDropdownBib extends LitElement {
|
|
|
4473
4473
|
* is a secondary path for parent components that also listen for
|
|
4474
4474
|
* Escape keydown.
|
|
4475
4475
|
*
|
|
4476
|
-
* @param {HTMLDialogElement} dialog
|
|
4476
|
+
* @param {HTMLDialogElement} dialog - The dialog element to attach the keyboard bridge to.
|
|
4477
4477
|
* @private
|
|
4478
4478
|
*/
|
|
4479
4479
|
_setupKeyboardBridge(dialog) {
|
|
@@ -4492,15 +4492,23 @@ class AuroDropdownBib extends LitElement {
|
|
|
4492
4492
|
|
|
4493
4493
|
// Custom elements (auro-button) don't get the native Enter→click
|
|
4494
4494
|
// behavior that <button> has. Find the button in the composed path
|
|
4495
|
-
// and click it directly
|
|
4495
|
+
// and click it directly — but only when no menu option is
|
|
4496
|
+
// highlighted. In fullscreen mode focus stays on the close button
|
|
4497
|
+
// while arrow keys move the active-descendant highlight through
|
|
4498
|
+
// the listbox. If the user presses Enter with an option
|
|
4499
|
+
// highlighted, the intent is to select that option, not to click
|
|
4500
|
+
// the close button. In that case we fall through and bridge the
|
|
4501
|
+
// Enter key to the parent component's keyboard strategy.
|
|
4496
4502
|
if (event.key === 'Enter') {
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4503
|
+
if (!this.hasActiveDescendant) {
|
|
4504
|
+
const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
|
|
4505
|
+
const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
|
|
4506
|
+
if (btn) {
|
|
4507
|
+
event.preventDefault();
|
|
4508
|
+
event.stopPropagation();
|
|
4509
|
+
btn.click();
|
|
4510
|
+
return;
|
|
4511
|
+
}
|
|
4504
4512
|
}
|
|
4505
4513
|
}
|
|
4506
4514
|
|
|
@@ -4892,7 +4900,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4892
4900
|
}
|
|
4893
4901
|
};
|
|
4894
4902
|
|
|
4895
|
-
var formkitVersion$2 = '
|
|
4903
|
+
var formkitVersion$2 = '202603232324';
|
|
4896
4904
|
|
|
4897
4905
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4898
4906
|
static get properties() {
|
|
@@ -5211,6 +5219,15 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5211
5219
|
this.trigger.ariaActiveDescendantElement = null;
|
|
5212
5220
|
this.trigger.removeAttribute('aria-activedescendant');
|
|
5213
5221
|
}
|
|
5222
|
+
|
|
5223
|
+
// In fullscreen, focus stays on the close button while arrow keys
|
|
5224
|
+
// highlight options via active-descendant. Without this flag the
|
|
5225
|
+
// keyboard bridge clicks the close button on Enter (closing the
|
|
5226
|
+
// bib without selecting). When true, the bridge skips the button
|
|
5227
|
+
// click and forwards Enter to the parent to make the selection.
|
|
5228
|
+
if (this.bibContent) {
|
|
5229
|
+
this.bibContent.hasActiveDescendant = Boolean(element);
|
|
5230
|
+
}
|
|
5214
5231
|
}
|
|
5215
5232
|
|
|
5216
5233
|
// function to define props used within the scope of this component
|
|
@@ -12640,7 +12657,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12640
12657
|
}
|
|
12641
12658
|
};
|
|
12642
12659
|
|
|
12643
|
-
var formkitVersion$1 = '
|
|
12660
|
+
var formkitVersion$1 = '202603232324';
|
|
12644
12661
|
|
|
12645
12662
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12646
12663
|
// See LICENSE in the project root for license information.
|
|
@@ -13679,7 +13696,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13679
13696
|
}
|
|
13680
13697
|
}
|
|
13681
13698
|
|
|
13682
|
-
var formkitVersion = '
|
|
13699
|
+
var formkitVersion = '202603232324';
|
|
13683
13700
|
|
|
13684
13701
|
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}`;
|
|
13685
13702
|
|
|
@@ -4429,7 +4429,7 @@ class AuroDropdownBib extends LitElement {
|
|
|
4429
4429
|
/**
|
|
4430
4430
|
* Forwards the dialog's native `cancel` event (fired on ESC) as
|
|
4431
4431
|
* an `auro-bib-cancel` custom event so parent components can close.
|
|
4432
|
-
* @param {HTMLDialogElement} dialog
|
|
4432
|
+
* @param {HTMLDialogElement} dialog - The dialog element to attach the cancel listener to.
|
|
4433
4433
|
* @private
|
|
4434
4434
|
*/
|
|
4435
4435
|
_setupCancelHandler(dialog) {
|
|
@@ -4473,7 +4473,7 @@ class AuroDropdownBib extends LitElement {
|
|
|
4473
4473
|
* is a secondary path for parent components that also listen for
|
|
4474
4474
|
* Escape keydown.
|
|
4475
4475
|
*
|
|
4476
|
-
* @param {HTMLDialogElement} dialog
|
|
4476
|
+
* @param {HTMLDialogElement} dialog - The dialog element to attach the keyboard bridge to.
|
|
4477
4477
|
* @private
|
|
4478
4478
|
*/
|
|
4479
4479
|
_setupKeyboardBridge(dialog) {
|
|
@@ -4492,15 +4492,23 @@ class AuroDropdownBib extends LitElement {
|
|
|
4492
4492
|
|
|
4493
4493
|
// Custom elements (auro-button) don't get the native Enter→click
|
|
4494
4494
|
// behavior that <button> has. Find the button in the composed path
|
|
4495
|
-
// and click it directly
|
|
4495
|
+
// and click it directly — but only when no menu option is
|
|
4496
|
+
// highlighted. In fullscreen mode focus stays on the close button
|
|
4497
|
+
// while arrow keys move the active-descendant highlight through
|
|
4498
|
+
// the listbox. If the user presses Enter with an option
|
|
4499
|
+
// highlighted, the intent is to select that option, not to click
|
|
4500
|
+
// the close button. In that case we fall through and bridge the
|
|
4501
|
+
// Enter key to the parent component's keyboard strategy.
|
|
4496
4502
|
if (event.key === 'Enter') {
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4503
|
+
if (!this.hasActiveDescendant) {
|
|
4504
|
+
const buttonSelector = 'button, [role="button"], auro-button, [auro-button]';
|
|
4505
|
+
const btn = event.composedPath().find((el) => el.matches && el.matches(buttonSelector));
|
|
4506
|
+
if (btn) {
|
|
4507
|
+
event.preventDefault();
|
|
4508
|
+
event.stopPropagation();
|
|
4509
|
+
btn.click();
|
|
4510
|
+
return;
|
|
4511
|
+
}
|
|
4504
4512
|
}
|
|
4505
4513
|
}
|
|
4506
4514
|
|
|
@@ -4892,7 +4900,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4892
4900
|
}
|
|
4893
4901
|
};
|
|
4894
4902
|
|
|
4895
|
-
var formkitVersion$2 = '
|
|
4903
|
+
var formkitVersion$2 = '202603232324';
|
|
4896
4904
|
|
|
4897
4905
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4898
4906
|
static get properties() {
|
|
@@ -5211,6 +5219,15 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5211
5219
|
this.trigger.ariaActiveDescendantElement = null;
|
|
5212
5220
|
this.trigger.removeAttribute('aria-activedescendant');
|
|
5213
5221
|
}
|
|
5222
|
+
|
|
5223
|
+
// In fullscreen, focus stays on the close button while arrow keys
|
|
5224
|
+
// highlight options via active-descendant. Without this flag the
|
|
5225
|
+
// keyboard bridge clicks the close button on Enter (closing the
|
|
5226
|
+
// bib without selecting). When true, the bridge skips the button
|
|
5227
|
+
// click and forwards Enter to the parent to make the selection.
|
|
5228
|
+
if (this.bibContent) {
|
|
5229
|
+
this.bibContent.hasActiveDescendant = Boolean(element);
|
|
5230
|
+
}
|
|
5214
5231
|
}
|
|
5215
5232
|
|
|
5216
5233
|
// function to define props used within the scope of this component
|
|
@@ -12640,7 +12657,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
12640
12657
|
}
|
|
12641
12658
|
};
|
|
12642
12659
|
|
|
12643
|
-
var formkitVersion$1 = '
|
|
12660
|
+
var formkitVersion$1 = '202603232324';
|
|
12644
12661
|
|
|
12645
12662
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12646
12663
|
// See LICENSE in the project root for license information.
|
|
@@ -13679,7 +13696,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13679
13696
|
}
|
|
13680
13697
|
}
|
|
13681
13698
|
|
|
13682
|
-
var formkitVersion = '
|
|
13699
|
+
var formkitVersion = '202603232324';
|
|
13683
13700
|
|
|
13684
13701
|
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}`;
|
|
13685
13702
|
|