@aurodesignsystem-dev/auro-formkit 0.0.0-pr1498.0 → 0.0.0-pr1499.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 +3 -7
- package/components/combobox/demo/customize.min.js +1705 -1459
- package/components/combobox/demo/getting-started.min.js +1705 -1459
- package/components/combobox/demo/index.min.js +1705 -1459
- package/components/combobox/dist/auro-combobox.d.ts +0 -5
- package/components/combobox/dist/index.js +162 -491
- package/components/combobox/dist/registered.js +162 -491
- package/components/counter/demo/customize.min.js +19 -18
- package/components/counter/demo/index.min.js +19 -18
- package/components/counter/dist/index.js +187 -5442
- package/components/counter/dist/registered.js +187 -5442
- package/components/datepicker/demo/customize.md +477 -384
- package/components/datepicker/demo/customize.min.js +96 -161
- package/components/datepicker/demo/index.md +0 -1
- package/components/datepicker/demo/index.min.js +96 -161
- package/components/datepicker/dist/index.js +96 -161
- package/components/datepicker/dist/registered.js +96 -161
- package/components/datepicker/dist/src/auro-datepicker.d.ts +2 -2
- package/components/dropdown/demo/customize.min.js +17 -16
- package/components/dropdown/demo/getting-started.min.js +17 -16
- package/components/dropdown/demo/index.min.js +17 -16
- package/components/dropdown/dist/auro-dropdown.d.ts +2 -1
- package/components/dropdown/dist/index.js +17 -16
- package/components/dropdown/dist/registered.js +17 -16
- package/components/form/demo/customize.min.js +7965 -7884
- package/components/form/demo/getting-started.min.js +7965 -7884
- package/components/form/demo/index.min.js +7965 -7884
- package/components/form/demo/registerDemoDeps.min.js +7934 -7853
- package/components/input/demo/customize.md +539 -472
- package/components/input/demo/customize.min.js +61 -132
- package/components/input/demo/getting-started.min.js +61 -132
- package/components/input/demo/index.min.js +61 -132
- package/components/input/dist/base-input.d.ts +0 -16
- package/components/input/dist/index.js +61 -132
- package/components/input/dist/registered.js +61 -132
- package/components/menu/demo/api.md +45 -41
- package/components/menu/demo/customize.md +28 -0
- package/components/menu/demo/index.min.js +1358 -783
- package/components/menu/dist/auro-menu.context.d.ts +238 -0
- package/components/menu/dist/auro-menu.d.ts +110 -95
- package/components/menu/dist/auro-menuoption.d.ts +138 -32
- package/components/menu/dist/index.js +1312 -757
- package/components/menu/dist/registered.js +1312 -769
- 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 +3 -7
- package/components/select/demo/customize.min.js +1634 -1089
- package/components/select/demo/getting-started.min.js +1634 -1089
- package/components/select/demo/index.min.js +1634 -1089
- package/components/select/dist/index.js +31 -61
- package/components/select/dist/registered.js +31 -61
- package/custom-elements.json +2085 -1439
- package/package.json +1 -1
- package/components/select/dist/selectUtils.d.ts +0 -12
|
@@ -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
|
|
730
|
+
if (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 = '202606101857';
|
|
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 = '202606101857';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -6303,18 +6303,27 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6303
6303
|
this.focusTrap = undefined;
|
|
6304
6304
|
}
|
|
6305
6305
|
|
|
6306
|
-
// Restore
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
this.noHideOnThisFocusLoss = this._priorNoHideOnFocusLoss;
|
|
6312
|
-
this._priorNoHideOnFocusLoss = undefined;
|
|
6306
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
6307
|
+
if (this._noHideOverridden) {
|
|
6308
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
6309
|
+
this._noHideOverridden = false;
|
|
6310
|
+
this._priorNoHide = undefined;
|
|
6313
6311
|
}
|
|
6314
6312
|
|
|
6315
6313
|
if (this.isPopoverVisible) {
|
|
6316
6314
|
if (!this.isBibFullscreen) {
|
|
6317
6315
|
if (this.desktopModal) {
|
|
6316
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
6317
|
+
// match the host when focus is on a slotted element projected through
|
|
6318
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
6319
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
6320
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
6321
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
6322
|
+
// is safe — Escape and outside-click still close the bib.
|
|
6323
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
6324
|
+
this._noHideOverridden = true;
|
|
6325
|
+
this.noHideOnThisFocusLoss = true;
|
|
6326
|
+
|
|
6318
6327
|
// Desktop modal: trap focus only within the bib content.
|
|
6319
6328
|
// Can't use FocusTrap on the bib element because keydown events
|
|
6320
6329
|
// from slotted content bubble through the dropdown host (light DOM),
|
|
@@ -6387,14 +6396,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6387
6396
|
};
|
|
6388
6397
|
this.addEventListener('keydown', this._bibTabHandler);
|
|
6389
6398
|
|
|
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
|
-
|
|
6398
6399
|
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
6399
6400
|
requestAnimationFrame(() => {
|
|
6400
6401
|
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
|
|
730
|
+
if (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 = '202606101857';
|
|
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 = '202606101857';
|
|
5449
5449
|
|
|
5450
5450
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5451
5451
|
static get properties() {
|
|
@@ -6303,18 +6303,27 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6303
6303
|
this.focusTrap = undefined;
|
|
6304
6304
|
}
|
|
6305
6305
|
|
|
6306
|
-
// Restore
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
this.noHideOnThisFocusLoss = this._priorNoHideOnFocusLoss;
|
|
6312
|
-
this._priorNoHideOnFocusLoss = undefined;
|
|
6306
|
+
// Restore the user-set noHideOnThisFocusLoss value, if we overrode it.
|
|
6307
|
+
if (this._noHideOverridden) {
|
|
6308
|
+
this.noHideOnThisFocusLoss = this._priorNoHide;
|
|
6309
|
+
this._noHideOverridden = false;
|
|
6310
|
+
this._priorNoHide = undefined;
|
|
6313
6311
|
}
|
|
6314
6312
|
|
|
6315
6313
|
if (this.isPopoverVisible) {
|
|
6316
6314
|
if (!this.isBibFullscreen) {
|
|
6317
6315
|
if (this.desktopModal) {
|
|
6316
|
+
// The floater's focus-loss check uses :focus-within, which does not
|
|
6317
|
+
// match the host when focus is on a slotted element projected through
|
|
6318
|
+
// multiple shadow roots. Without this override, focusing a button
|
|
6319
|
+
// inside the bib would be misread as focus leaving the dropdown and
|
|
6320
|
+
// close the bib immediately. desktopModal traps focus inside the
|
|
6321
|
+
// bib and inerts siblings, so suppressing focus-loss dismissal here
|
|
6322
|
+
// is safe — Escape and outside-click still close the bib.
|
|
6323
|
+
this._priorNoHide = this.noHideOnThisFocusLoss;
|
|
6324
|
+
this._noHideOverridden = true;
|
|
6325
|
+
this.noHideOnThisFocusLoss = true;
|
|
6326
|
+
|
|
6318
6327
|
// Desktop modal: trap focus only within the bib content.
|
|
6319
6328
|
// Can't use FocusTrap on the bib element because keydown events
|
|
6320
6329
|
// from slotted content bubble through the dropdown host (light DOM),
|
|
@@ -6387,14 +6396,6 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6387
6396
|
};
|
|
6388
6397
|
this.addEventListener('keydown', this._bibTabHandler);
|
|
6389
6398
|
|
|
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
|
-
|
|
6398
6399
|
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
6399
6400
|
requestAnimationFrame(() => {
|
|
6400
6401
|
const focusables = getFocusableElements(this.bibContent);
|