@aurodesignsystem/auro-formkit 6.2.1 → 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 (58) hide show
  1. package/CHANGELOG.md +7 -2
  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 +0 -1
  14. package/components/counter/demo/customize.md +4 -4
  15. package/components/counter/demo/customize.min.js +10 -14
  16. package/components/counter/demo/getting-started.min.js +10 -14
  17. package/components/counter/demo/index.min.js +10 -14
  18. package/components/counter/dist/auro-counter-group.d.ts +0 -7
  19. package/components/counter/dist/index.js +10 -14
  20. package/components/counter/dist/registered.js +10 -14
  21. package/components/datepicker/demo/customize.min.js +42 -10
  22. package/components/datepicker/demo/getting-started.min.js +42 -10
  23. package/components/datepicker/demo/index.min.js +42 -10
  24. package/components/datepicker/dist/index.js +42 -10
  25. package/components/datepicker/dist/registered.js +42 -10
  26. package/components/dropdown/demo/customize.min.js +1 -1
  27. package/components/dropdown/demo/getting-started.min.js +35 -7
  28. package/components/dropdown/demo/index.min.js +1 -1
  29. package/components/dropdown/dist/index.js +1 -1
  30. package/components/dropdown/dist/registered.js +1 -1
  31. package/components/form/demo/customize.min.js +285 -74
  32. package/components/form/demo/getting-started.min.js +285 -74
  33. package/components/form/demo/index.min.js +285 -74
  34. package/components/form/demo/registerDemoDeps.min.js +285 -74
  35. package/components/input/demo/customize.min.js +34 -6
  36. package/components/input/demo/getting-started.min.js +34 -6
  37. package/components/input/demo/index.min.js +34 -6
  38. package/components/input/dist/auro-input.d.ts +14 -0
  39. package/components/input/dist/index.js +34 -6
  40. package/components/input/dist/registered.js +34 -6
  41. package/components/menu/demo/api.md +1 -1
  42. package/components/menu/demo/index.min.js +92 -12
  43. package/components/menu/dist/auro-menu-utils.d.ts +15 -2
  44. package/components/menu/dist/auro-menu.d.ts +1 -1
  45. package/components/menu/dist/index.js +92 -12
  46. package/components/menu/dist/registered.js +92 -12
  47. package/components/radio/demo/customize.min.js +7 -3
  48. package/components/radio/demo/getting-started.min.js +7 -3
  49. package/components/radio/demo/index.min.js +7 -3
  50. package/components/radio/dist/index.js +7 -3
  51. package/components/radio/dist/registered.js +7 -3
  52. package/components/select/demo/customize.min.js +111 -26
  53. package/components/select/demo/getting-started.min.js +111 -26
  54. package/components/select/demo/index.min.js +111 -26
  55. package/components/select/dist/index.js +19 -14
  56. package/components/select/dist/registered.js +19 -14
  57. package/custom-elements.json +1597 -1544
  58. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,9 +1,14 @@
1
- ## [6.2.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v6.2.0...v6.2.1) (2026-09-24)
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
- * **counter:** preserve counter-group child errors through forced validation AB[#1642340](https://github.com/AlaskaAirlines/auro-formkit/issues/1642340) ([49072d8](https://github.com/AlaskaAirlines/auro-formkit/commit/49072d804d42802c20d69b804c0e25db42278a0d))
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))
7
12
 
8
13
  # Changelog
9
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 = '202609242008';
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 = '202609242008';
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 = '202609242008';
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 = '202609242008';
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 = '202609242008';
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.