@aurodesignsystem/auro-formkit 5.8.1 → 5.9.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +7 -15
  2. package/components/checkbox/demo/api.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/api.md +7 -6
  7. package/components/combobox/demo/api.min.js +1651 -987
  8. package/components/combobox/demo/index.min.js +1651 -987
  9. package/components/combobox/dist/auro-combobox.d.ts +9 -8
  10. package/components/combobox/dist/index.js +86 -85
  11. package/components/combobox/dist/registered.js +86 -85
  12. package/components/counter/demo/api.min.js +2 -2
  13. package/components/counter/demo/index.min.js +2 -2
  14. package/components/counter/dist/index.js +2 -2
  15. package/components/counter/dist/registered.js +2 -2
  16. package/components/datepicker/demo/api.min.js +4 -3
  17. package/components/datepicker/demo/index.min.js +4 -3
  18. package/components/datepicker/dist/index.js +4 -3
  19. package/components/datepicker/dist/registered.js +4 -3
  20. package/components/dropdown/demo/api.min.js +1 -1
  21. package/components/dropdown/demo/index.min.js +1 -1
  22. package/components/dropdown/dist/index.js +1 -1
  23. package/components/dropdown/dist/registered.js +1 -1
  24. package/components/input/demo/api.min.js +2 -1
  25. package/components/input/demo/index.min.js +2 -1
  26. package/components/input/dist/index.js +2 -1
  27. package/components/input/dist/registered.js +2 -1
  28. package/components/menu/demo/api.js +4 -0
  29. package/components/menu/demo/api.md +271 -26
  30. package/components/menu/demo/api.min.js +1591 -863
  31. package/components/menu/demo/index.html +1 -0
  32. package/components/menu/demo/index.js +2 -0
  33. package/components/menu/demo/index.md +95 -1
  34. package/components/menu/demo/index.min.js +1524 -810
  35. package/components/menu/dist/auro-menu.context.d.ts +222 -0
  36. package/components/menu/dist/auro-menu.d.ts +93 -53
  37. package/components/menu/dist/auro-menuoption.d.ts +115 -13
  38. package/components/menu/dist/index.js +1441 -798
  39. package/components/menu/dist/registered.js +1440 -809
  40. package/components/radio/demo/api.min.js +1 -1
  41. package/components/radio/demo/index.min.js +1 -1
  42. package/components/radio/dist/index.js +1 -1
  43. package/components/radio/dist/registered.js +1 -1
  44. package/components/select/demo/api.md +8 -7
  45. package/components/select/demo/api.min.js +1573 -1006
  46. package/components/select/demo/index.min.js +1573 -1006
  47. package/components/select/dist/auro-select.d.ts +11 -35
  48. package/components/select/dist/index.js +64 -160
  49. package/components/select/dist/registered.js +64 -160
  50. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,22 +1,14 @@
1
- ## [5.8.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v5.8.0...v5.8.1) (2025-11-11)
1
+ # [5.9.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v5.8.1...v5.9.0) (2025-11-19)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * apply active, focust-within and hover just to not disabled elements in dropdown ([0eb4e27](https://github.com/AlaskaAirlines/auro-formkit/commit/0eb4e27366de5a79e16836864b78026fde8696ed))
7
- * make no match option appear when no valid options [#1197](https://github.com/AlaskaAirlines/auro-formkit/issues/1197) ([b5310e6](https://github.com/AlaskaAirlines/auro-formkit/commit/b5310e6f8518d8c28e9eb1a89f729698d0564b7f))
8
- * properly set value on custom registered select [#1216](https://github.com/AlaskaAirlines/auro-formkit/issues/1216) ([d243a1e](https://github.com/AlaskaAirlines/auro-formkit/commit/d243a1e72560f9a5bed1bd2cb4126d10a840227c))
9
- * refactor dependency versioning mechanism [#1221](https://github.com/AlaskaAirlines/auro-formkit/issues/1221) ([3d136f3](https://github.com/AlaskaAirlines/auro-formkit/commit/3d136f34cd057bbc81b1c75c4854d3b5ad2187c4))
10
- * remove changes to combobx, since its behavior is being affected by dropdown ([40cae72](https://github.com/AlaskaAirlines/auro-formkit/commit/40cae720838ef5b62b0ab1dfd7e83c8f048ac38b))
11
- * remove hover behavior on disabled auro-dropdown [#1190](https://github.com/AlaskaAirlines/auro-formkit/issues/1190) ([15cbdb6](https://github.com/AlaskaAirlines/auro-formkit/commit/15cbdb65dbb0901f50ba04f896e97c195a833787))
12
- * remove hover behavior on disabled combobox elements [#1172](https://github.com/AlaskaAirlines/auro-formkit/issues/1172) ([5985b5e](https://github.com/AlaskaAirlines/auro-formkit/commit/5985b5e0525e2f21e9993497ccb505553eb64aa2))
13
- * remove hover behavior on disabled input elements [#1182](https://github.com/AlaskaAirlines/auro-formkit/issues/1182) ([87c5755](https://github.com/AlaskaAirlines/auro-formkit/commit/87c5755df172be4fd3b5ad457fb82a68358d1970))
14
- * remove hover behavior on disabled radio elements [#1171](https://github.com/AlaskaAirlines/auro-formkit/issues/1171) ([ab83597](https://github.com/AlaskaAirlines/auro-formkit/commit/ab835975888e0f9d84512ce7cde532d7c4eda936))
15
- * reorder task dependencies in turbo.json for consistent build order ([370d452](https://github.com/AlaskaAirlines/auro-formkit/commit/370d4525bcad94dabf318939aed410c7b48b417f))
16
- * update `placeholderStr` when `placeholder` attr gets changed [#1214](https://github.com/AlaskaAirlines/auro-formkit/issues/1214) ([b375d3d](https://github.com/AlaskaAirlines/auro-formkit/commit/b375d3d813d34415ef8186e6a8f32d522a4703dc))
17
- * update task dependencies in turbo.json for improved build order ([0893e60](https://github.com/AlaskaAirlines/auro-formkit/commit/0893e6091af39919c520f6a12933bbb742b24642))
18
- * update task dependencies in turbo.json for improved build order ([9ad4535](https://github.com/AlaskaAirlines/auro-formkit/commit/9ad4535b4b204051d25e2fae2cff293f95f562d7))
19
- * update version correctly for combobox helptext ([f356a84](https://github.com/AlaskaAirlines/auro-formkit/commit/f356a84fbd68f54e22d546b07b1260897f3e4ea5))
6
+ * repair a couple bugs introduced by changes ([e228f99](https://github.com/AlaskaAirlines/auro-formkit/commit/e228f99c3e39f20e0f8018844e21b1e1435ec7d9))
7
+
8
+
9
+ ### Features
10
+
11
+ * [#1187](https://github.com/AlaskaAirlines/auro-formkit/issues/1187) - integrate context management for menu options and selection handling ([eb6f331](https://github.com/AlaskaAirlines/auro-formkit/commit/eb6f33192d684449d9b2f2792628f455191c3080))
20
12
 
21
13
  ### Changelog
22
14
 
@@ -1607,7 +1607,7 @@ class AuroHelpText extends i$2 {
1607
1607
  }
1608
1608
  }
1609
1609
 
1610
- var formkitVersion = '202511110110';
1610
+ var formkitVersion = '202511191711';
1611
1611
 
1612
1612
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1613
1613
  // See LICENSE in the project root for license information.
@@ -1599,7 +1599,7 @@ class AuroHelpText extends i$2 {
1599
1599
  }
1600
1600
  }
1601
1601
 
1602
- var formkitVersion = '202511110110';
1602
+ var formkitVersion = '202511191711';
1603
1603
 
1604
1604
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1605
1605
  // See LICENSE in the project root for license information.
@@ -1552,7 +1552,7 @@ class AuroHelpText extends LitElement {
1552
1552
  }
1553
1553
  }
1554
1554
 
1555
- var formkitVersion = '202511110110';
1555
+ var formkitVersion = '202511191711';
1556
1556
 
1557
1557
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1558
1558
  // See LICENSE in the project root for license information.
@@ -1552,7 +1552,7 @@ class AuroHelpText extends LitElement {
1552
1552
  }
1553
1553
  }
1554
1554
 
1555
- var formkitVersion = '202511110110';
1555
+ var formkitVersion = '202511191711';
1556
1556
 
1557
1557
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1558
1558
  // See LICENSE in the project root for license information.
@@ -55,18 +55,19 @@
55
55
  | [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
56
56
  | [isValid](#isValid) | `(): boolean` | Checks if the element is valid. |
57
57
  | [reset](#reset) | `(): void` | Resets component to initial state. |
58
+ | [setMenuValue](#setMenuValue) | `(value: string): void` | Sets the menu value if menu is available.<br /><br />**value**: The value to set on the menu. |
58
59
  | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
59
60
  | [updateActiveOption](#updateActiveOption) | `(index: number): void` | Updates the active option in the menu.<br /><br />**index**: Index of the option to make active. |
60
61
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
61
62
 
62
63
  ## Events
63
64
 
64
- | Event | Type | Description |
65
- |-----------------------------|------------------------------------------------|--------------------------------------------------|
66
- | `auroCombobox-valueSet` | `CustomEvent<any>` | (Deprecated) Notifies that the component has a new value set. |
67
- | `auroFormElement-validated` | | Notifies that the component value(s) have been validated. |
68
- | [input](#input) | `CustomEvent<any>` | Notifies that the component has a new value set. |
69
- | [inputValue](#inputValue) | `CustomEvent<{ value: string \| undefined; }>` | Notifies that the components internal HTML5 input value has changed. |
65
+ | Event | Type | Description |
66
+ |-----------------------------|--------------------------------------------------|--------------------------------------------------|
67
+ | `auroCombobox-valueSet` | `CustomEvent<any>` | (Deprecated) Notifies that the component has a new value set. |
68
+ | `auroFormElement-validated` | | Notifies that the component value(s) have been validated. |
69
+ | [input](#input) | `CustomEvent<{ optionSelected: any; value: any; }>` | Notifies that the component has a new value set. |
70
+ | [inputValue](#inputValue) | `CustomEvent<{ value: string \| undefined; }>` | Notifies that the components internal HTML5 input value has changed. |
70
71
 
71
72
  ## Slots
72
73