@aurodesignsystem/auro-formkit 5.10.0 → 5.11.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/CHANGELOG.md +55 -15
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +6 -0
- package/components/bibtemplate/dist/index.js +12 -0
- package/components/bibtemplate/dist/registered.js +12 -0
- package/components/checkbox/demo/api.min.js +3 -3
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.min.js +1140 -305
- package/components/combobox/demo/index.min.js +1140 -305
- package/components/combobox/dist/auro-combobox.d.ts +24 -1
- package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +6 -0
- package/components/combobox/dist/index.js +1082 -264
- package/components/combobox/dist/registered.js +1082 -264
- package/components/counter/demo/api.min.js +583 -172
- package/components/counter/demo/index.min.js +583 -172
- package/components/counter/dist/auro-counter.d.ts +8 -0
- package/components/counter/dist/buttonVersion.d.ts +1 -1
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +583 -172
- package/components/counter/dist/registered.js +583 -172
- package/components/datepicker/demo/api.md +108 -85
- package/components/datepicker/demo/api.min.js +872 -257
- package/components/datepicker/demo/index.md +18 -12
- package/components/datepicker/demo/index.min.js +872 -257
- package/components/datepicker/dist/auro-calendar.d.ts +6 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +11 -1
- package/components/datepicker/dist/index.js +819 -208
- package/components/datepicker/dist/registered.js +819 -208
- package/components/dropdown/demo/api.md +15 -17
- package/components/dropdown/demo/api.min.js +537 -183
- package/components/dropdown/demo/index.min.js +537 -183
- package/components/dropdown/dist/auro-dropdown.d.ts +27 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +87 -0
- package/components/dropdown/dist/index.js +514 -160
- package/components/dropdown/dist/keyboardUtils.d.ts +18 -0
- package/components/dropdown/dist/registered.js +514 -160
- package/components/form/README.md +47 -2
- package/components/form/demo/api.js +2 -0
- package/components/form/demo/api.md +303 -30
- package/components/form/demo/api.min.js +69256 -62
- package/components/form/demo/index.html +0 -1
- package/components/form/demo/index.js +1 -0
- package/components/form/demo/index.md +1 -275
- package/components/form/demo/index.min.js +69255 -62
- package/components/form/demo/readme.md +47 -2
- package/components/form/demo/working.html +123 -32
- package/components/form/dist/auro-form.d.ts +98 -61
- package/components/form/dist/index.js +135 -51
- package/components/form/dist/registered.js +135 -51
- package/components/input/demo/api.md +1 -0
- package/components/input/demo/api.min.js +78 -24
- package/components/input/demo/index.min.js +78 -24
- package/components/input/dist/base-input.d.ts +34 -0
- package/components/input/dist/index.js +78 -24
- package/components/input/dist/registered.js +78 -24
- package/components/menu/demo/api.md +4 -10
- package/components/menu/demo/api.min.js +18 -5
- package/components/menu/demo/index.min.js +18 -5
- package/components/menu/dist/auro-menuoption.d.ts +0 -8
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +18 -5
- package/components/menu/dist/registered.js +18 -5
- package/components/radio/demo/api.min.js +3 -3
- package/components/radio/demo/index.min.js +3 -3
- package/components/radio/dist/index.js +3 -3
- package/components/radio/dist/registered.js +3 -3
- package/components/select/demo/api.js +2 -0
- package/components/select/demo/api.md +333 -78
- package/components/select/demo/api.min.js +945 -282
- package/components/select/demo/index.min.js +933 -282
- package/components/select/dist/auro-select.d.ts +26 -0
- package/components/select/dist/index.js +881 -247
- package/components/select/dist/registered.js +881 -247
- package/components/select/dist/selectKeyboardStrategy.d.ts +8 -0
- package/custom-elements.json +596 -89
- package/package.json +7 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,69 @@
|
|
|
1
|
-
# [5.
|
|
1
|
+
# [5.11.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v5.10.0...v5.11.0) (2026-03-10)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* **combobox:**
|
|
10
|
-
* **combobox:**
|
|
11
|
-
* **combobox:**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
6
|
+
* **combobox, dropdown:** enhance dropdown behavior for fullscreen and button interactions ([bc4ff17](https://github.com/AlaskaAirlines/auro-formkit/commit/bc4ff1790782617c06a01b9884a04e51a45763d6))
|
|
7
|
+
* **combobox, select:** improve Tab key behavior for accessibility in fullscreen and non-fullscreen modes ([f466745](https://github.com/AlaskaAirlines/auro-formkit/commit/f466745dcc6a251c68275356428f8d5f4d73b142))
|
|
8
|
+
* **combobox:** add description for appearance property in JSDoc ([44ce771](https://github.com/AlaskaAirlines/auro-formkit/commit/44ce77134eea1a8b85a393dcea6050110e2b8652))
|
|
9
|
+
* **combobox:** fix test by managing focus during fullscreen dialog transitions ([c40a1bf](https://github.com/AlaskaAirlines/auro-formkit/commit/c40a1bf5db2b4f651007477448a567379cb97182))
|
|
10
|
+
* **combobox:** make label slot selector element-agnostic ([d2afe7e](https://github.com/AlaskaAirlines/auro-formkit/commit/d2afe7ede7ab7b3d048457d09498bf8372ce6a62))
|
|
11
|
+
* **combobox:** prevent default behavior when clear button is focused ([6058438](https://github.com/AlaskaAirlines/auro-formkit/commit/60584386947acef6752feccd11e91cc0809fbe67))
|
|
12
|
+
* **combobox:** prevent fullscreen dialog from closing immediately after reopen ([ecf8998](https://github.com/AlaskaAirlines/auro-formkit/commit/ecf899836092af8f0ebb307fff2ea0bdaa52f114))
|
|
13
|
+
* **combobox:** reset _inFullscreenTransition flag on disconnect ([27d18ad](https://github.com/AlaskaAirlines/auro-formkit/commit/27d18ade8c6586849ebbbb6c76a681313b9e1c92))
|
|
14
|
+
* **combobox:** restore focus to trigger input after closing fullscreen dialog ([0fbd4d5](https://github.com/AlaskaAirlines/auro-formkit/commit/0fbd4d53694cc117ee0fd7edc958c60c065906f1))
|
|
15
|
+
* **combobox:** suppress validation during fullscreen focus transition ([8fd9b95](https://github.com/AlaskaAirlines/auro-formkit/commit/8fd9b95cedfbaa357a0ba3394b6478177e00940d))
|
|
16
|
+
* **combobox:** update test to manage focus during fullscreen dialog transitions ([c517b04](https://github.com/AlaskaAirlines/auro-formkit/commit/c517b046fc8dfc32160424ee232421f506a99c12))
|
|
17
|
+
* **counter-group:** close fullscreen dialog with Tab key for improved accessibility ([ba54a38](https://github.com/AlaskaAirlines/auro-formkit/commit/ba54a381d211c5a2c35275237262b27e89c7ae18))
|
|
18
|
+
* **counter:** voiceover to read raw number instead of percentage AB[#1443553](https://github.com/AlaskaAirlines/auro-formkit/issues/1443553) ([e275fe0](https://github.com/AlaskaAirlines/auro-formkit/commit/e275fe06c4e24ed77cbbcc0714dd1ae36e729d57))
|
|
19
|
+
* **datepicker:** accessibility and focus management for fullscreen dropdown ([5ec0cb9](https://github.com/AlaskaAirlines/auro-formkit/commit/5ec0cb9e6256633c4bc22e08c1af3c2e6f2db1c6))
|
|
20
|
+
* **datepicker:** close fullscreen dialog with Tab key for improved accessibility ([51742be](https://github.com/AlaskaAirlines/auro-formkit/commit/51742be661b9310d5854600c4e2feae3ae01916c))
|
|
21
|
+
* **datepicker:** use double rAF for reliable close-button focus in fullscreen dialog ([54594df](https://github.com/AlaskaAirlines/auro-formkit/commit/54594df959af7379c5631ed9258c96f5a83eea99))
|
|
22
|
+
* **dialog:** reset dialog dimensions for custom styling ([6712bd2](https://github.com/AlaskaAirlines/auro-formkit/commit/6712bd2cdd2e65d127c3d30f8487d79c36b0885a))
|
|
23
|
+
* **dropdown, select:** handle tab key behavior across full-screen and desktop ([6db8d89](https://github.com/AlaskaAirlines/auro-formkit/commit/6db8d89866a35c4556513f7a83e430370bca3e9e))
|
|
24
|
+
* **dropdown:** add matchWidth attribute for consistent dropdown sizing ([4bbfb47](https://github.com/AlaskaAirlines/auro-formkit/commit/4bbfb47d2d63f4bbbd4c605e1b1d63e9ed96bdda))
|
|
25
|
+
* **dropdown:** address page scroll lock in mobile AB[#1490375](https://github.com/AlaskaAirlines/auro-formkit/issues/1490375) ([5fb0560](https://github.com/AlaskaAirlines/auro-formkit/commit/5fb0560c67e3c14b50cbc8ab191ea43d3ef6194b))
|
|
26
|
+
* **dropdown:** change dialog position to relative for accurate placement ([8a31130](https://github.com/AlaskaAirlines/auro-formkit/commit/8a3113066bb26e126fb10a84b33fe2f42eb2fef6))
|
|
27
|
+
* **dropdown:** enhance keyboard event handling for accessibility in modal dialogs ([37f7a0d](https://github.com/AlaskaAirlines/auro-formkit/commit/37f7a0d35d8f1d39a6ff3f20f62e8961811344e5))
|
|
28
|
+
* **dropdown:** expose dialogRole property on AuroDropdownBib to avoid shadow DOM piercing ([5a0e339](https://github.com/AlaskaAirlines/auro-formkit/commit/5a0e3393fbe4c0fa8a70b7a99f32d969bb37eaf2))
|
|
29
|
+
* **dropdown:** prevent layout containment on dropdown host for proper positioning ([5895d57](https://github.com/AlaskaAirlines/auro-formkit/commit/5895d5744579a54efeb53a46d070b0968f7dee41))
|
|
30
|
+
* **dropdown:** prevent page scroll and enhance backdrop behavior for fullscreen dialogs on mobile ([28d1b29](https://github.com/AlaskaAirlines/auro-formkit/commit/28d1b2976c8995e1fdcaa650d780127339ca3b16))
|
|
31
|
+
* **dropdown:** remove autoPlacement from right bib trigger description because they conflict ([10e6da3](https://github.com/AlaskaAirlines/auro-formkit/commit/10e6da3886037e828f263e4ac241d3d62b6b66f6))
|
|
32
|
+
* **dropdown:** replace popover API with dialog element for accessibility #AB1475605 ([cd58918](https://github.com/AlaskaAirlines/auro-formkit/commit/cd5891860f985933da09a8f1c0ae3f33f44e626a)), closes [#AB1475605](https://github.com/AlaskaAirlines/auro-formkit/issues/AB1475605)
|
|
33
|
+
* ensure virtual keyboard retention in fullscreen dialogs for iOS Safari ([047229d](https://github.com/AlaskaAirlines/auro-formkit/commit/047229d3bd6827d692777a96a20181e1159c81af))
|
|
34
|
+
* **input, combobox:** add autofocus to input and enable focus delegation for fullscreen dialogs ([4b4bb6e](https://github.com/AlaskaAirlines/auro-formkit/commit/4b4bb6e10575b267130b1913fc9ce38d6229097f))
|
|
35
|
+
* **input:** address credit card autofill validation issue AB[#1481792](https://github.com/AlaskaAirlines/auro-formkit/issues/1481792) ([4a80de0](https://github.com/AlaskaAirlines/auro-formkit/commit/4a80de0a7466744eafdceb7e98d6ef614099cb11))
|
|
36
|
+
* **input:** address credit card autofill validation issue AB[#1481792](https://github.com/AlaskaAirlines/auro-formkit/issues/1481792) ([1b2b2ae](https://github.com/AlaskaAirlines/auro-formkit/commit/1b2b2ae29a56e6139eab6922d0f84de2053c77f6))
|
|
37
|
+
* lint errors ([c8f5ea5](https://github.com/AlaskaAirlines/auro-formkit/commit/c8f5ea58fb77cbad130258bf25faba3baf802027))
|
|
38
|
+
* **menu:** replace random ID generation with monotonic counter in auro-menuoption ([f07bc5f](https://github.com/AlaskaAirlines/auro-formkit/commit/f07bc5f24830369e62482806b61ac60225a4db87))
|
|
39
|
+
* move shadowRootOptions from constructor mutation to static class field ([bef802b](https://github.com/AlaskaAirlines/auro-formkit/commit/bef802b91f38ff1147212e1b4e48f8f6a327bcc3))
|
|
40
|
+
* **reset:** allow select to fully reset when function is called ([fa55e45](https://github.com/AlaskaAirlines/auro-formkit/commit/fa55e450e85721ad9f73ea42e4ca4a83547655ec))
|
|
41
|
+
* **scroll:** prevent double scroll bar on menu in max-height select ([606cd8a](https://github.com/AlaskaAirlines/auro-formkit/commit/606cd8aec7be5d989f39fa43a614454eaf20667e))
|
|
42
|
+
* **select, dropdown, combobox:** update Tab key behavior for accessibility compliance ([85ce2e0](https://github.com/AlaskaAirlines/auro-formkit/commit/85ce2e06866792d59a471a273fe8f411fdad255c))
|
|
43
|
+
* **select:** check dropdown trigger exists ([0b7deba](https://github.com/AlaskaAirlines/auro-formkit/commit/0b7deba1f70b81ae1f7168b2ae922ee797557c1e))
|
|
44
|
+
* **select:** ensure dropdown trigger is focused only if it exists ([63c7088](https://github.com/AlaskaAirlines/auro-formkit/commit/63c708870a3295c1cf15132abcd2c0986e4a6923))
|
|
45
|
+
* **select:** remove autoPlacement from right bib trigger because they conflict ([cb3c463](https://github.com/AlaskaAirlines/auro-formkit/commit/cb3c463fe711a8c6f8eae281c816c72d0b9086f3))
|
|
46
|
+
* **select:** restore focus to trigger after closing fullscreen dialog ([f95194c](https://github.com/AlaskaAirlines/auro-formkit/commit/f95194ca6ce2839a9eb3c1004abfec4c884dcf64))
|
|
47
|
+
* **select:** scroll selected option into view when dropdown opens - rebase merge oversight ([d47e4fd](https://github.com/AlaskaAirlines/auro-formkit/commit/d47e4fd5eb5c22047385f02c3c289c9a8ed47450))
|
|
48
|
+
* **select:** set focus to dropdown trigger after hiding the bib ([d047ec1](https://github.com/AlaskaAirlines/auro-formkit/commit/d047ec1de7ab298c161bc2aaa267dca4fcda54fd))
|
|
49
|
+
* stringfy counter's aria-valuetext AB[#1443553](https://github.com/AlaskaAirlines/auro-formkit/issues/1443553) ([3a14172](https://github.com/AlaskaAirlines/auro-formkit/commit/3a14172df462688fcde66dcd99962378594bc159))
|
|
50
|
+
* update auro-library to guard against voiceover taps dismissing dialogs ([2268a3b](https://github.com/AlaskaAirlines/auro-formkit/commit/2268a3bd79ef710eb1aa96e0f21325c782211401))
|
|
16
51
|
|
|
17
52
|
|
|
18
53
|
### Features
|
|
19
54
|
|
|
20
|
-
* add
|
|
55
|
+
* add focusCloseButton method for improved accessibility in fullscreen dialogs ([2cbc2e9](https://github.com/AlaskaAirlines/auro-formkit/commit/2cbc2e945f2492bb796ed3cd7e810fe12656d1ba))
|
|
56
|
+
* **datepicker:** add label slots for a11y compliance AB[#1398255](https://github.com/AlaskaAirlines/auro-formkit/issues/1398255) ([7f8214e](https://github.com/AlaskaAirlines/auro-formkit/commit/7f8214e235b84d819adb58eed24b39e6c9cb159d))
|
|
57
|
+
* **form:** implement Enter key submission for form elements and enhance validation logic AB[#1485830](https://github.com/AlaskaAirlines/auro-formkit/issues/1485830) ([9ddb54c](https://github.com/AlaskaAirlines/auro-formkit/commit/9ddb54c6d4a24591e4ed69ff9aca86df9a4924fa))
|
|
58
|
+
* keyboardStrategy maps ([e084776](https://github.com/AlaskaAirlines/auro-formkit/commit/e084776222405978431a99e10ff7dcac31d403ad))
|
|
59
|
+
* **select:** add functionality for activating option programmatically ([8afe40e](https://github.com/AlaskaAirlines/auro-formkit/commit/8afe40e889745820ff755f08fcd83caee55e47ec))
|
|
21
60
|
|
|
22
61
|
|
|
23
|
-
###
|
|
62
|
+
### Performance Improvements
|
|
24
63
|
|
|
25
|
-
*
|
|
26
|
-
*
|
|
64
|
+
* **combobox:** improve scroll behavior for a11y support ([a45563f](https://github.com/AlaskaAirlines/auro-formkit/commit/a45563f4ac2bdd0b64ea32743b020d204896c8c5))
|
|
65
|
+
* **scroll:** activated menuoption into view AB[#1489578](https://github.com/AlaskaAirlines/auro-formkit/issues/1489578) ([8787c53](https://github.com/AlaskaAirlines/auro-formkit/commit/8787c5346b1103ae83bab1249f6cf6d6a0b22ddd))
|
|
66
|
+
* **select:** scroll selected menuoption into view AB[#1489578](https://github.com/AlaskaAirlines/auro-formkit/issues/1489578) ([e581feb](https://github.com/AlaskaAirlines/auro-formkit/commit/e581febaaf9ef8eabe5ccd939609758d114ea376))
|
|
27
67
|
|
|
28
68
|
### Changelog
|
|
29
69
|
|
|
@@ -48,6 +48,12 @@ export class AuroBibtemplate extends LitElement {
|
|
|
48
48
|
* @returns {void}
|
|
49
49
|
*/
|
|
50
50
|
preventBodyScroll(event: Event): void;
|
|
51
|
+
/**
|
|
52
|
+
* Focuses the close button inside the bibtemplate's shadow DOM.
|
|
53
|
+
* Used by parent components to set initial focus when the fullscreen dialog opens.
|
|
54
|
+
* @returns {void}
|
|
55
|
+
*/
|
|
56
|
+
focusCloseButton(): void;
|
|
51
57
|
onCloseButtonClick(): void;
|
|
52
58
|
/**
|
|
53
59
|
* Exposes CSS parts for styling from parent components.
|
|
@@ -322,6 +322,18 @@ class AuroBibtemplate extends LitElement {
|
|
|
322
322
|
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
+
/**
|
|
326
|
+
* Focuses the close button inside the bibtemplate's shadow DOM.
|
|
327
|
+
* Used by parent components to set initial focus when the fullscreen dialog opens.
|
|
328
|
+
* @returns {void}
|
|
329
|
+
*/
|
|
330
|
+
focusCloseButton() {
|
|
331
|
+
const closeBtn = this.shadowRoot.querySelector('#closeButton');
|
|
332
|
+
if (closeBtn) {
|
|
333
|
+
closeBtn.focus();
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
325
337
|
onCloseButtonClick() {
|
|
326
338
|
this.dispatchEvent(new Event("close-click", { bubbles: true,
|
|
327
339
|
composed: true }));
|
|
@@ -322,6 +322,18 @@ class AuroBibtemplate extends LitElement {
|
|
|
322
322
|
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
+
/**
|
|
326
|
+
* Focuses the close button inside the bibtemplate's shadow DOM.
|
|
327
|
+
* Used by parent components to set initial focus when the fullscreen dialog opens.
|
|
328
|
+
* @returns {void}
|
|
329
|
+
*/
|
|
330
|
+
focusCloseButton() {
|
|
331
|
+
const closeBtn = this.shadowRoot.querySelector('#closeButton');
|
|
332
|
+
if (closeBtn) {
|
|
333
|
+
closeBtn.focus();
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
325
337
|
onCloseButtonClick() {
|
|
326
338
|
this.dispatchEvent(new Event("close-click", { bubbles: true,
|
|
327
339
|
composed: true }));
|
|
@@ -1300,7 +1300,7 @@ class AuroFormValidation {
|
|
|
1300
1300
|
}
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
1303
|
-
if (!hasValue && elem.required && elem.touched) {
|
|
1303
|
+
if (!hasValue && elem.required && (force || elem.touched)) {
|
|
1304
1304
|
elem.validity = 'valueMissing';
|
|
1305
1305
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
1306
1306
|
} else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
@@ -1324,7 +1324,7 @@ class AuroFormValidation {
|
|
|
1324
1324
|
if (!isCombobox || isCombobox && !elem.persistInput) {
|
|
1325
1325
|
|
|
1326
1326
|
// run validation on all inputs since we're going to use them to set the validity of this component
|
|
1327
|
-
this.auroInputElements.forEach(input => input.validate());
|
|
1327
|
+
this.auroInputElements.forEach(input => input.validate(force));
|
|
1328
1328
|
|
|
1329
1329
|
// Reset element validity to the validity of the input
|
|
1330
1330
|
elem.validity = this.auroInputElements[0].validity;
|
|
@@ -1687,7 +1687,7 @@ class AuroHelpText extends i$2 {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
|
-
var formkitVersion = '
|
|
1690
|
+
var formkitVersion = '202603102257';
|
|
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.
|
|
@@ -1292,7 +1292,7 @@ class AuroFormValidation {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
}
|
|
1294
1294
|
|
|
1295
|
-
if (!hasValue && elem.required && elem.touched) {
|
|
1295
|
+
if (!hasValue && elem.required && (force || elem.touched)) {
|
|
1296
1296
|
elem.validity = 'valueMissing';
|
|
1297
1297
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
1298
1298
|
} else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
@@ -1316,7 +1316,7 @@ class AuroFormValidation {
|
|
|
1316
1316
|
if (!isCombobox || isCombobox && !elem.persistInput) {
|
|
1317
1317
|
|
|
1318
1318
|
// run validation on all inputs since we're going to use them to set the validity of this component
|
|
1319
|
-
this.auroInputElements.forEach(input => input.validate());
|
|
1319
|
+
this.auroInputElements.forEach(input => input.validate(force));
|
|
1320
1320
|
|
|
1321
1321
|
// Reset element validity to the validity of the input
|
|
1322
1322
|
elem.validity = this.auroInputElements[0].validity;
|
|
@@ -1679,7 +1679,7 @@ class AuroHelpText extends i$2 {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
|
-
var formkitVersion = '
|
|
1682
|
+
var formkitVersion = '202603102257';
|
|
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.
|
|
@@ -1245,7 +1245,7 @@ class AuroFormValidation {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
|
|
1248
|
-
if (!hasValue && elem.required && elem.touched) {
|
|
1248
|
+
if (!hasValue && elem.required && (force || elem.touched)) {
|
|
1249
1249
|
elem.validity = 'valueMissing';
|
|
1250
1250
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
1251
1251
|
} else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
@@ -1269,7 +1269,7 @@ class AuroFormValidation {
|
|
|
1269
1269
|
if (!isCombobox || isCombobox && !elem.persistInput) {
|
|
1270
1270
|
|
|
1271
1271
|
// run validation on all inputs since we're going to use them to set the validity of this component
|
|
1272
|
-
this.auroInputElements.forEach(input => input.validate());
|
|
1272
|
+
this.auroInputElements.forEach(input => input.validate(force));
|
|
1273
1273
|
|
|
1274
1274
|
// Reset element validity to the validity of the input
|
|
1275
1275
|
elem.validity = this.auroInputElements[0].validity;
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202603102257';
|
|
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.
|
|
@@ -1245,7 +1245,7 @@ class AuroFormValidation {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
|
|
1248
|
-
if (!hasValue && elem.required && elem.touched) {
|
|
1248
|
+
if (!hasValue && elem.required && (force || elem.touched)) {
|
|
1249
1249
|
elem.validity = 'valueMissing';
|
|
1250
1250
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
1251
1251
|
} else if (hasValue && this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
@@ -1269,7 +1269,7 @@ class AuroFormValidation {
|
|
|
1269
1269
|
if (!isCombobox || isCombobox && !elem.persistInput) {
|
|
1270
1270
|
|
|
1271
1271
|
// run validation on all inputs since we're going to use them to set the validity of this component
|
|
1272
|
-
this.auroInputElements.forEach(input => input.validate());
|
|
1272
|
+
this.auroInputElements.forEach(input => input.validate(force));
|
|
1273
1273
|
|
|
1274
1274
|
// Reset element validity to the validity of the input
|
|
1275
1275
|
elem.validity = this.auroInputElements[0].validity;
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202603102257';
|
|
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.
|