@aurodesignsystem/auro-formkit 6.2.0 → 6.2.2-rc-1658589.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +7 -28
  2. package/components/checkbox/demo/customize.min.js +7 -3
  3. package/components/checkbox/demo/getting-started.min.js +7 -3
  4. package/components/checkbox/demo/index.min.js +7 -3
  5. package/components/checkbox/dist/index.js +7 -3
  6. package/components/checkbox/dist/registered.js +7 -3
  7. package/components/combobox/demo/customize.min.js +166 -24
  8. package/components/combobox/demo/getting-started.min.js +166 -24
  9. package/components/combobox/demo/index.min.js +166 -24
  10. package/components/combobox/dist/auro-combobox.d.ts +14 -0
  11. package/components/combobox/dist/index.js +74 -12
  12. package/components/combobox/dist/registered.js +74 -12
  13. package/components/counter/demo/api.md +4 -4
  14. package/components/counter/demo/customize.html +3 -0
  15. package/components/counter/demo/customize.md +4 -4
  16. package/components/counter/demo/customize.min.js +237 -199
  17. package/components/counter/demo/getting-started.min.js +92 -61
  18. package/components/counter/demo/index.min.js +92 -61
  19. package/components/counter/dist/auro-counter-group.d.ts +11 -15
  20. package/components/counter/dist/index.js +92 -61
  21. package/components/counter/dist/registered.js +92 -61
  22. package/components/datepicker/demo/customize.min.js +42 -10
  23. package/components/datepicker/demo/getting-started.min.js +42 -10
  24. package/components/datepicker/demo/index.min.js +42 -10
  25. package/components/datepicker/dist/index.js +42 -10
  26. package/components/datepicker/dist/registered.js +42 -10
  27. package/components/dropdown/demo/customize.min.js +1 -1
  28. package/components/dropdown/demo/getting-started.min.js +35 -7
  29. package/components/dropdown/demo/index.min.js +1 -1
  30. package/components/dropdown/dist/index.js +1 -1
  31. package/components/dropdown/dist/registered.js +1 -1
  32. package/components/form/demo/customize.min.js +367 -121
  33. package/components/form/demo/getting-started.min.js +367 -121
  34. package/components/form/demo/index.min.js +367 -121
  35. package/components/form/demo/registerDemoDeps.min.js +367 -121
  36. package/components/input/demo/customize.min.js +34 -6
  37. package/components/input/demo/getting-started.min.js +34 -6
  38. package/components/input/demo/index.min.js +34 -6
  39. package/components/input/dist/auro-input.d.ts +14 -0
  40. package/components/input/dist/index.js +34 -6
  41. package/components/input/dist/registered.js +34 -6
  42. package/components/menu/demo/api.md +1 -1
  43. package/components/menu/demo/index.min.js +92 -12
  44. package/components/menu/dist/auro-menu-utils.d.ts +15 -2
  45. package/components/menu/dist/auro-menu.d.ts +1 -1
  46. package/components/menu/dist/index.js +92 -12
  47. package/components/menu/dist/registered.js +92 -12
  48. package/components/radio/demo/customize.min.js +7 -3
  49. package/components/radio/demo/getting-started.min.js +7 -3
  50. package/components/radio/demo/index.min.js +7 -3
  51. package/components/radio/dist/index.js +7 -3
  52. package/components/radio/dist/registered.js +7 -3
  53. package/components/select/demo/customize.min.js +111 -26
  54. package/components/select/demo/getting-started.min.js +111 -26
  55. package/components/select/demo/index.min.js +111 -26
  56. package/components/select/dist/index.js +19 -14
  57. package/components/select/dist/registered.js +19 -14
  58. package/custom-elements.json +92 -41
  59. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,35 +1,14 @@
1
- # [6.2.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v6.1.0...v6.2.0) (2026-09-10)
1
+ ## [6.2.2-rc-1658589.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v6.2.1...v6.2.2-rc-1658589.1) (2026-10-07)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **checkbox:** correct aria-invalid placement and error association AB[#1636704](https://github.com/AlaskaAirlines/auro-formkit/issues/1636704) ([5307dc6](https://github.com/AlaskaAirlines/auro-formkit/commit/5307dc6caadfdda225c3b9a798601e022bfc8f87)), closes [AB#1344690](https://github.com/AB/issues/1344690)
7
- * **checkbox:** sync child error and aria-invalid on group slot change AB[#1636704](https://github.com/AlaskaAirlines/auro-formkit/issues/1636704) ([b045d7a](https://github.com/AlaskaAirlines/auro-formkit/commit/b045d7ac421b0617c51271f32bf14779b41ca0f0)), closes [AB#1344690](https://github.com/AB/issues/1344690)
8
- * clear stale menu selection styling when combobox value is cleared AB[#1634259](https://github.com/AlaskaAirlines/auro-formkit/issues/1634259) ([0244c15](https://github.com/AlaskaAirlines/auro-formkit/commit/0244c15ea44642f725bf8c215087fb9d5faeeab1)), closes [AB#1606433](https://github.com/AB/issues/1606433)
9
- * **combobox:** reset clear-button flag on disconnect to prevent stale value clear [#1603](https://github.com/AlaskaAirlines/auro-formkit/issues/1603) ([996d6b1](https://github.com/AlaskaAirlines/auro-formkit/commit/996d6b1a83c0aba111a7e5a10316ec93ac026042))
10
- * **combobox:** reset value and optionSelected on clear-button click AB[#1634257](https://github.com/AlaskaAirlines/auro-formkit/issues/1634257) ([277008a](https://github.com/AlaskaAirlines/auro-formkit/commit/277008afdbfc8b55880f6ec0407856e11b761f9f))
11
- * correct CEM types and add deprecation flags for editor IntelliSense AB[#1633053](https://github.com/AlaskaAirlines/auro-formkit/issues/1633053) ([ad5dca8](https://github.com/AlaskaAirlines/auro-formkit/commit/ad5dca8ec05e837bb5573348691003b5100196a0)), closes [AB#1633054](https://github.com/AB/issues/1633054)
12
- * correct enumerated CEM types and normalize checkbox event tags [#1595](https://github.com/AlaskaAirlines/auro-formkit/issues/1595) ([b4cf6df](https://github.com/AlaskaAirlines/auro-formkit/commit/b4cf6df91375ee634cfa39703b57727583661ce6))
13
- * **counter:** implement Shift+Tab navigation for counter-group dropdown AB[#1606347](https://github.com/AlaskaAirlines/auro-formkit/issues/1606347) ([34af97d](https://github.com/AlaskaAirlines/auro-formkit/commit/34af97d18c4d63e8229ebbf2c3f15497be4b8ac0))
14
- * **counter:** keep dropdown open and preserve focus on counter button click AB[#1634231](https://github.com/AlaskaAirlines/auro-formkit/issues/1634231) ([d6b1961](https://github.com/AlaskaAirlines/auro-formkit/commit/d6b19619faabe8906b09053c31a5a100a751be34))
15
- * **counter:** re-register pointerdown listener on group reconnect [#1600](https://github.com/AlaskaAirlines/auro-formkit/issues/1600) ([ec70d6c](https://github.com/AlaskaAirlines/auro-formkit/commit/ec70d6ccd42a7bebc6c272454c65fc80714cfe2c)), closes [AB#1634231](https://github.com/AB/issues/1634231)
16
- * **counter:** replace pointerdown focus workaround with focus-within [#1600](https://github.com/AlaskaAirlines/auro-formkit/issues/1600) ([5624cec](https://github.com/AlaskaAirlines/auro-formkit/commit/5624cecf7d3ea92e312fba473551d9d968e1a8fd))
17
- * **counter:** reset pointerdown flag after consuming it on focusout [#1600](https://github.com/AlaskaAirlines/auro-formkit/issues/1600) ([1e884c5](https://github.com/AlaskaAirlines/auro-formkit/commit/1e884c5f4b5c37f6fe16e72c5fe4bb7123f9140c))
18
- * generate unique IDs with generateUUID in radio and checkbox groups [#1608](https://github.com/AlaskaAirlines/auro-formkit/issues/1608) ([3c11f79](https://github.com/AlaskaAirlines/auro-formkit/commit/3c11f7936ce6f2a4dca656d8e98cda5f27e35d6a))
19
- * **radio:** correct aria-invalid placement and error association AB[#1344690](https://github.com/AlaskaAirlines/auro-formkit/issues/1344690) ([150f1b1](https://github.com/AlaskaAirlines/auro-formkit/commit/150f1b1923761f1b80d439de210d9820d5ac2aa4))
20
- * **radio:** sync child error and aria-invalid on group slot change AB[#1344690](https://github.com/AlaskaAirlines/auro-formkit/issues/1344690) ([dc6380a](https://github.com/AlaskaAirlines/auro-formkit/commit/dc6380ab1f3cbed13dc0e53a22dbc27759281046))
21
- * **tests:** update test configuration for concurrency and improve fixture handling [#2513](https://github.com/AlaskaAirlines/auro-formkit/issues/2513) ([154e9ee](https://github.com/AlaskaAirlines/auro-formkit/commit/154e9ee538da2d384aaf39798367d5f2627712ea))
22
-
23
-
24
- ### Features
25
-
26
- * **checkbox:** expose the group fieldset as a checkbox-group part AB[#1636704](https://github.com/AlaskaAirlines/auro-formkit/issues/1636704) ([73b390f](https://github.com/AlaskaAirlines/auro-formkit/commit/73b390ff18391a11e142d4521a788f325ed0c8a9))
27
- * **reset:** implement reset functionality in counter AB[#1593509](https://github.com/AlaskaAirlines/auro-formkit/issues/1593509) ([ba6e7cd](https://github.com/AlaskaAirlines/auro-formkit/commit/ba6e7cd4303374269bfc324d075db5777efc7bac))
28
-
29
-
30
- ### Performance Improvements
31
-
32
- * update dependencies AB[#1638609](https://github.com/AlaskaAirlines/auro-formkit/issues/1638609) ([7004865](https://github.com/AlaskaAirlines/auro-formkit/commit/7004865381ad2a2fc463b34a1bb3a8bf8a0a163b))
6
+ * **counter:** remove non-functional error property from auro-counter-group AB[#1642036](https://github.com/AlaskaAirlines/auro-formkit/issues/1642036) ([de5092d](https://github.com/AlaskaAirlines/auro-formkit/commit/de5092d948d9208fff3a391f87327466c592d4cb))
7
+ * **input:** keep empty clear wrapper hidden so error icon does not shift on hover AB[#1561213](https://github.com/AlaskaAirlines/auro-formkit/issues/1561213) ([1cf3970](https://github.com/AlaskaAirlines/auro-formkit/commit/1cf397066d54e5ad72a51ad53e1d243094393d25))
8
+ * **menu:** close remaining ancestor-disabled gaps found by review [#1625](https://github.com/AlaskaAirlines/auro-formkit/issues/1625) ([34cd185](https://github.com/AlaskaAirlines/auro-formkit/commit/34cd18550dab83698b8cf010d2ca36def2a10408)), closes [AB#1566578](https://github.com/AB/issues/1566578)
9
+ * **menu:** guard aria-disabled clear against nested-ancestor state [#1625](https://github.com/AlaskaAirlines/auro-formkit/issues/1625) ([89ff0fe](https://github.com/AlaskaAirlines/auro-formkit/commit/89ff0feaf1dc0fe75adefb05bb3e9e52ba9b9cd0)), closes [AB#1566578](https://github.com/AB/issues/1566578)
10
+ * **menu:** stop disabled propagation and close all follow-up gaps AB[#1566578](https://github.com/AlaskaAirlines/auro-formkit/issues/1566578) ([7a734da](https://github.com/AlaskaAirlines/auro-formkit/commit/7a734dae8b9cdb5f96ae274497763239fb64d466))
11
+ * **select:** truncate placeholder, label, and value with ellipsis in all layouts AB[#1602239](https://github.com/AlaskaAirlines/auro-formkit/issues/1602239) ([bd794df](https://github.com/AlaskaAirlines/auro-formkit/commit/bd794df1906467bd1d2aa98c48b6a0dfc2306bcd))
33
12
 
34
13
  # Changelog
35
14
 
@@ -835,7 +835,11 @@ class AuroFormValidation {
835
835
  ( elem.touched || (!elem.touched && typeof elem.value !== "undefined") )
836
836
  );
837
837
 
838
- if (elem.hasAttribute('error')) {
838
+ // auro-counter-group derives its error state solely from its child counters,
839
+ // so an `error` attribute on the group itself is ignored.
840
+ const hasCustomError = elem.hasAttribute('error') && !this.runtimeUtils.elementMatch(elem, 'auro-counter-group');
841
+
842
+ if (hasCustomError) {
839
843
  elem.validity = 'customError';
840
844
  elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
841
845
  validationShouldRun = false;
@@ -930,7 +934,7 @@ class AuroFormValidation {
930
934
  }
931
935
  }
932
936
 
933
- if (validationShouldRun || elem.hasAttribute('error')) {
937
+ if (validationShouldRun || hasCustomError) {
934
938
  // Use the validity message override if it is declared
935
939
  if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
936
940
  elem.errorMessage = elem.ValidityMessageOverride;
@@ -1326,7 +1330,7 @@ class AuroHelpText extends i$2 {
1326
1330
  }
1327
1331
  }
1328
1332
 
1329
- var formkitVersion = '202609101658';
1333
+ var formkitVersion = '202610071552';
1330
1334
 
1331
1335
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1332
1336
  // See LICENSE in the project root for license information.
@@ -835,7 +835,11 @@ class AuroFormValidation {
835
835
  ( elem.touched || (!elem.touched && typeof elem.value !== "undefined") )
836
836
  );
837
837
 
838
- if (elem.hasAttribute('error')) {
838
+ // auro-counter-group derives its error state solely from its child counters,
839
+ // so an `error` attribute on the group itself is ignored.
840
+ const hasCustomError = elem.hasAttribute('error') && !this.runtimeUtils.elementMatch(elem, 'auro-counter-group');
841
+
842
+ if (hasCustomError) {
839
843
  elem.validity = 'customError';
840
844
  elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
841
845
  validationShouldRun = false;
@@ -930,7 +934,7 @@ class AuroFormValidation {
930
934
  }
931
935
  }
932
936
 
933
- if (validationShouldRun || elem.hasAttribute('error')) {
937
+ if (validationShouldRun || hasCustomError) {
934
938
  // Use the validity message override if it is declared
935
939
  if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
936
940
  elem.errorMessage = elem.ValidityMessageOverride;
@@ -1326,7 +1330,7 @@ class AuroHelpText extends i$2 {
1326
1330
  }
1327
1331
  }
1328
1332
 
1329
- var formkitVersion = '202609101658';
1333
+ var formkitVersion = '202610071552';
1330
1334
 
1331
1335
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1332
1336
  // See LICENSE in the project root for license information.
@@ -835,7 +835,11 @@ class AuroFormValidation {
835
835
  ( elem.touched || (!elem.touched && typeof elem.value !== "undefined") )
836
836
  );
837
837
 
838
- if (elem.hasAttribute('error')) {
838
+ // auro-counter-group derives its error state solely from its child counters,
839
+ // so an `error` attribute on the group itself is ignored.
840
+ const hasCustomError = elem.hasAttribute('error') && !this.runtimeUtils.elementMatch(elem, 'auro-counter-group');
841
+
842
+ if (hasCustomError) {
839
843
  elem.validity = 'customError';
840
844
  elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
841
845
  validationShouldRun = false;
@@ -930,7 +934,7 @@ class AuroFormValidation {
930
934
  }
931
935
  }
932
936
 
933
- if (validationShouldRun || elem.hasAttribute('error')) {
937
+ if (validationShouldRun || hasCustomError) {
934
938
  // Use the validity message override if it is declared
935
939
  if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
936
940
  elem.errorMessage = elem.ValidityMessageOverride;
@@ -1326,7 +1330,7 @@ class AuroHelpText extends i$2 {
1326
1330
  }
1327
1331
  }
1328
1332
 
1329
- var formkitVersion = '202609101658';
1333
+ var formkitVersion = '202610071552';
1330
1334
 
1331
1335
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1332
1336
  // See LICENSE in the project root for license information.
@@ -788,7 +788,11 @@ class AuroFormValidation {
788
788
  ( elem.touched || (!elem.touched && typeof elem.value !== "undefined") )
789
789
  );
790
790
 
791
- if (elem.hasAttribute('error')) {
791
+ // auro-counter-group derives its error state solely from its child counters,
792
+ // so an `error` attribute on the group itself is ignored.
793
+ const hasCustomError = elem.hasAttribute('error') && !this.runtimeUtils.elementMatch(elem, 'auro-counter-group');
794
+
795
+ if (hasCustomError) {
792
796
  elem.validity = 'customError';
793
797
  elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
794
798
  validationShouldRun = false;
@@ -883,7 +887,7 @@ class AuroFormValidation {
883
887
  }
884
888
  }
885
889
 
886
- if (validationShouldRun || elem.hasAttribute('error')) {
890
+ if (validationShouldRun || hasCustomError) {
887
891
  // Use the validity message override if it is declared
888
892
  if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
889
893
  elem.errorMessage = elem.ValidityMessageOverride;
@@ -1279,7 +1283,7 @@ class AuroHelpText extends LitElement {
1279
1283
  }
1280
1284
  }
1281
1285
 
1282
- var formkitVersion = '202609101658';
1286
+ var formkitVersion = '202610071552';
1283
1287
 
1284
1288
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1285
1289
  // See LICENSE in the project root for license information.
@@ -788,7 +788,11 @@ class AuroFormValidation {
788
788
  ( elem.touched || (!elem.touched && typeof elem.value !== "undefined") )
789
789
  );
790
790
 
791
- if (elem.hasAttribute('error')) {
791
+ // auro-counter-group derives its error state solely from its child counters,
792
+ // so an `error` attribute on the group itself is ignored.
793
+ const hasCustomError = elem.hasAttribute('error') && !this.runtimeUtils.elementMatch(elem, 'auro-counter-group');
794
+
795
+ if (hasCustomError) {
792
796
  elem.validity = 'customError';
793
797
  elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
794
798
  validationShouldRun = false;
@@ -883,7 +887,7 @@ class AuroFormValidation {
883
887
  }
884
888
  }
885
889
 
886
- if (validationShouldRun || elem.hasAttribute('error')) {
890
+ if (validationShouldRun || hasCustomError) {
887
891
  // Use the validity message override if it is declared
888
892
  if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
889
893
  elem.errorMessage = elem.ValidityMessageOverride;
@@ -1279,7 +1283,7 @@ class AuroHelpText extends LitElement {
1279
1283
  }
1280
1284
  }
1281
1285
 
1282
- var formkitVersion = '202609101658';
1286
+ var formkitVersion = '202610071552';
1283
1287
 
1284
1288
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1285
1289
  // See LICENSE in the project root for license information.