@aurodesignsystem-dev/auro-formkit 0.0.0-pr1497.6 → 0.0.0-pr1498.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +2 -2
- package/components/checkbox/demo/getting-started.min.js +2 -2
- package/components/checkbox/demo/index.min.js +2 -2
- package/components/checkbox/dist/index.js +2 -2
- package/components/checkbox/dist/registered.js +2 -2
- package/components/combobox/demo/customize.md +7 -3
- package/components/combobox/demo/customize.min.js +1438 -1668
- package/components/combobox/demo/getting-started.min.js +1440 -1670
- package/components/combobox/demo/index.min.js +1440 -1670
- package/components/combobox/dist/auro-combobox.d.ts +5 -0
- package/components/combobox/dist/index.js +485 -140
- package/components/combobox/dist/registered.js +485 -140
- package/components/counter/demo/customize.min.js +20 -3
- package/components/counter/demo/index.min.js +20 -3
- package/components/counter/dist/index.js +5447 -192
- package/components/counter/dist/registered.js +5447 -192
- package/components/datepicker/demo/customize.min.js +149 -58
- package/components/datepicker/demo/index.min.js +149 -58
- package/components/datepicker/dist/index.js +149 -58
- package/components/datepicker/dist/registered.js +149 -58
- package/components/dropdown/demo/customize.min.js +18 -1
- package/components/dropdown/demo/getting-started.min.js +18 -1
- package/components/dropdown/demo/index.min.js +18 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -0
- package/components/dropdown/dist/index.js +18 -1
- package/components/dropdown/dist/registered.js +18 -1
- package/components/form/demo/customize.min.js +7910 -7909
- package/components/form/demo/getting-started.min.js +7910 -7909
- package/components/form/demo/index.min.js +7910 -7909
- package/components/form/demo/registerDemoDeps.min.js +7872 -7871
- package/components/input/demo/customize.min.js +131 -56
- package/components/input/demo/getting-started.min.js +131 -56
- package/components/input/demo/index.min.js +131 -56
- package/components/input/dist/base-input.d.ts +16 -0
- package/components/input/dist/index.js +131 -56
- package/components/input/dist/registered.js +131 -56
- package/components/menu/demo/api.md +41 -45
- package/components/menu/demo/customize.md +0 -28
- package/components/menu/demo/index.min.js +779 -1354
- package/components/menu/dist/auro-menu.d.ts +95 -110
- package/components/menu/dist/auro-menuoption.d.ts +32 -138
- package/components/menu/dist/index.js +753 -1308
- package/components/menu/dist/registered.js +765 -1308
- package/components/radio/demo/customize.min.js +2 -2
- package/components/radio/demo/getting-started.min.js +2 -2
- package/components/radio/demo/index.min.js +2 -2
- package/components/radio/dist/index.js +2 -2
- package/components/radio/dist/registered.js +2 -2
- package/components/select/demo/customize.md +7 -3
- package/components/select/demo/customize.min.js +1088 -1615
- package/components/select/demo/getting-started.min.js +1088 -1615
- package/components/select/demo/index.min.js +1088 -1615
- package/components/select/dist/index.js +63 -15
- package/components/select/dist/registered.js +63 -15
- package/components/select/dist/selectUtils.d.ts +12 -0
- package/custom-elements.json +379 -1025
- package/package.json +1 -1
- package/components/menu/dist/auro-menu.context.d.ts +0 -238
|
@@ -727,7 +727,7 @@ class AuroFormValidation {
|
|
|
727
727
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
|
|
728
728
|
const input = elem.renderRoot.querySelector('input');
|
|
729
729
|
|
|
730
|
-
if (input.validationMessage.length > 0) {
|
|
730
|
+
if (input && input.validationMessage.length > 0) {
|
|
731
731
|
elem.errorMessage = input.validationMessage;
|
|
732
732
|
}
|
|
733
733
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox') && elem.errorMessage === '') {
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606100232';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606100232';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -6303,6 +6303,15 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6303
6303
|
this.focusTrap = undefined;
|
|
6304
6304
|
}
|
|
6305
6305
|
|
|
6306
|
+
// Restore any focus-loss suppression we installed for a prior trap state.
|
|
6307
|
+
// The desktopModal trap moves focus into the bib via RAF, which would
|
|
6308
|
+
// otherwise trip AuroFloatingUI.handleFocusLoss (a popover-top-layer
|
|
6309
|
+
// timing issue makes its :focus-within guard miss the focused button).
|
|
6310
|
+
if (this._priorNoHideOnFocusLoss !== undefined) {
|
|
6311
|
+
this.noHideOnThisFocusLoss = this._priorNoHideOnFocusLoss;
|
|
6312
|
+
this._priorNoHideOnFocusLoss = undefined;
|
|
6313
|
+
}
|
|
6314
|
+
|
|
6306
6315
|
if (this.isPopoverVisible) {
|
|
6307
6316
|
if (!this.isBibFullscreen) {
|
|
6308
6317
|
if (this.desktopModal) {
|
|
@@ -6378,6 +6387,14 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6378
6387
|
};
|
|
6379
6388
|
this.addEventListener('keydown', this._bibTabHandler);
|
|
6380
6389
|
|
|
6390
|
+
// Suppress AuroFloatingUI's auto-hide-on-focus-loss while the
|
|
6391
|
+
// desktopModal trap owns focus management. Without this, the very
|
|
6392
|
+
// first focus move into the bib (from the RAF below) triggers
|
|
6393
|
+
// handleFocusLoss → hideBib, tearing down the trap before the
|
|
6394
|
+
// user can press Tab.
|
|
6395
|
+
this._priorNoHideOnFocusLoss = this.noHideOnThisFocusLoss;
|
|
6396
|
+
this.noHideOnThisFocusLoss = true;
|
|
6397
|
+
|
|
6381
6398
|
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
6382
6399
|
requestAnimationFrame(() => {
|
|
6383
6400
|
const focusables = getFocusableElements(this.bibContent);
|
|
@@ -727,7 +727,7 @@ class AuroFormValidation {
|
|
|
727
727
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
|
|
728
728
|
const input = elem.renderRoot.querySelector('input');
|
|
729
729
|
|
|
730
|
-
if (input.validationMessage.length > 0) {
|
|
730
|
+
if (input && input.validationMessage.length > 0) {
|
|
731
731
|
elem.errorMessage = input.validationMessage;
|
|
732
732
|
}
|
|
733
733
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-combobox') && elem.errorMessage === '') {
|
|
@@ -1099,7 +1099,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var formkitVersion$1 = '
|
|
1102
|
+
var formkitVersion$1 = '202606100232';
|
|
1103
1103
|
|
|
1104
1104
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1105
1105
|
// See LICENSE in the project root for license information.
|
|
@@ -5445,7 +5445,7 @@ class AuroHelpText extends i$2 {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
5447
|
|
|
5448
|
-
var formkitVersion = '
|
|
5448
|
+
var formkitVersion = '202606100232';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -6303,6 +6303,15 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6303
6303
|
this.focusTrap = undefined;
|
|
6304
6304
|
}
|
|
6305
6305
|
|
|
6306
|
+
// Restore any focus-loss suppression we installed for a prior trap state.
|
|
6307
|
+
// The desktopModal trap moves focus into the bib via RAF, which would
|
|
6308
|
+
// otherwise trip AuroFloatingUI.handleFocusLoss (a popover-top-layer
|
|
6309
|
+
// timing issue makes its :focus-within guard miss the focused button).
|
|
6310
|
+
if (this._priorNoHideOnFocusLoss !== undefined) {
|
|
6311
|
+
this.noHideOnThisFocusLoss = this._priorNoHideOnFocusLoss;
|
|
6312
|
+
this._priorNoHideOnFocusLoss = undefined;
|
|
6313
|
+
}
|
|
6314
|
+
|
|
6306
6315
|
if (this.isPopoverVisible) {
|
|
6307
6316
|
if (!this.isBibFullscreen) {
|
|
6308
6317
|
if (this.desktopModal) {
|
|
@@ -6378,6 +6387,14 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6378
6387
|
};
|
|
6379
6388
|
this.addEventListener('keydown', this._bibTabHandler);
|
|
6380
6389
|
|
|
6390
|
+
// Suppress AuroFloatingUI's auto-hide-on-focus-loss while the
|
|
6391
|
+
// desktopModal trap owns focus management. Without this, the very
|
|
6392
|
+
// first focus move into the bib (from the RAF below) triggers
|
|
6393
|
+
// handleFocusLoss → hideBib, tearing down the trap before the
|
|
6394
|
+
// user can press Tab.
|
|
6395
|
+
this._priorNoHideOnFocusLoss = this.noHideOnThisFocusLoss;
|
|
6396
|
+
this.noHideOnThisFocusLoss = true;
|
|
6397
|
+
|
|
6381
6398
|
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
6382
6399
|
requestAnimationFrame(() => {
|
|
6383
6400
|
const focusables = getFocusableElements(this.bibContent);
|