@aurodesignsystem/auro-formkit 5.9.4 → 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.
Files changed (93) hide show
  1. package/CHANGELOG.md +62 -2
  2. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +16 -0
  3. package/components/bibtemplate/dist/buttonVersion.d.ts +1 -1
  4. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  5. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  6. package/components/bibtemplate/dist/index.js +38 -16
  7. package/components/bibtemplate/dist/registered.js +38 -16
  8. package/components/checkbox/demo/api.md +7 -0
  9. package/components/checkbox/demo/api.min.js +19 -16
  10. package/components/checkbox/demo/index.min.js +19 -16
  11. package/components/checkbox/dist/auro-checkbox-group.d.ts +4 -3
  12. package/components/checkbox/dist/auro-checkbox.d.ts +2 -0
  13. package/components/checkbox/dist/index.js +10 -7
  14. package/components/checkbox/dist/registered.js +10 -7
  15. package/components/combobox/demo/api.js +2 -2
  16. package/components/combobox/demo/api.md +80 -0
  17. package/components/combobox/demo/api.min.js +1676 -645
  18. package/components/combobox/demo/index.min.js +1657 -640
  19. package/components/combobox/dist/auro-combobox.d.ts +25 -2
  20. package/components/combobox/dist/comboboxKeyboardStrategy.d.ts +6 -0
  21. package/components/combobox/dist/index.js +1500 -501
  22. package/components/combobox/dist/registered.js +1500 -501
  23. package/components/counter/demo/api.min.js +1014 -427
  24. package/components/counter/demo/index.min.js +1014 -427
  25. package/components/counter/dist/auro-counter-button.d.ts +11 -2
  26. package/components/counter/dist/auro-counter.d.ts +8 -0
  27. package/components/counter/dist/buttonVersion.d.ts +1 -1
  28. package/components/counter/dist/iconVersion.d.ts +1 -1
  29. package/components/counter/dist/index.js +972 -389
  30. package/components/counter/dist/registered.js +972 -389
  31. package/components/datepicker/demo/api.md +110 -87
  32. package/components/datepicker/demo/api.min.js +1457 -665
  33. package/components/datepicker/demo/index.md +18 -12
  34. package/components/datepicker/demo/index.min.js +1457 -665
  35. package/components/datepicker/dist/auro-calendar.d.ts +6 -0
  36. package/components/datepicker/dist/auro-datepicker.d.ts +12 -2
  37. package/components/datepicker/dist/buttonVersion.d.ts +1 -1
  38. package/components/datepicker/dist/iconVersion.d.ts +1 -1
  39. package/components/datepicker/dist/index.js +1249 -461
  40. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  41. package/components/datepicker/dist/registered.js +1249 -461
  42. package/components/dropdown/demo/api.md +16 -18
  43. package/components/dropdown/demo/api.min.js +892 -378
  44. package/components/dropdown/demo/index.min.js +892 -378
  45. package/components/dropdown/dist/auro-dropdown.d.ts +27 -1
  46. package/components/dropdown/dist/auro-dropdownBib.d.ts +87 -0
  47. package/components/dropdown/dist/iconVersion.d.ts +1 -1
  48. package/components/dropdown/dist/index.js +862 -348
  49. package/components/dropdown/dist/keyboardUtils.d.ts +18 -0
  50. package/components/dropdown/dist/registered.js +862 -348
  51. package/components/form/README.md +47 -2
  52. package/components/form/demo/api.js +2 -0
  53. package/components/form/demo/api.md +303 -30
  54. package/components/form/demo/api.min.js +69263 -67
  55. package/components/form/demo/index.html +0 -1
  56. package/components/form/demo/index.js +1 -0
  57. package/components/form/demo/index.md +1 -275
  58. package/components/form/demo/index.min.js +69262 -67
  59. package/components/form/demo/readme.md +47 -2
  60. package/components/form/demo/working.html +123 -32
  61. package/components/form/dist/auro-form.d.ts +106 -61
  62. package/components/form/dist/index.js +143 -57
  63. package/components/form/dist/registered.js +143 -57
  64. package/components/input/demo/api.md +6 -1
  65. package/components/input/demo/api.min.js +164 -103
  66. package/components/input/demo/index.min.js +164 -103
  67. package/components/input/dist/auro-input.d.ts +23 -0
  68. package/components/input/dist/base-input.d.ts +36 -18
  69. package/components/input/dist/buttonVersion.d.ts +1 -1
  70. package/components/input/dist/iconVersion.d.ts +1 -1
  71. package/components/input/dist/index.js +119 -58
  72. package/components/input/dist/registered.js +119 -58
  73. package/components/menu/demo/api.md +4 -10
  74. package/components/menu/demo/api.min.js +36 -22
  75. package/components/menu/demo/index.min.js +36 -22
  76. package/components/menu/dist/auro-menuoption.d.ts +0 -7
  77. package/components/menu/dist/iconVersion.d.ts +1 -1
  78. package/components/menu/dist/index.js +25 -11
  79. package/components/menu/dist/registered.js +25 -11
  80. package/components/radio/demo/api.min.js +13 -13
  81. package/components/radio/demo/index.min.js +13 -13
  82. package/components/radio/dist/index.js +4 -4
  83. package/components/radio/dist/registered.js +4 -4
  84. package/components/select/demo/api.js +2 -0
  85. package/components/select/demo/api.md +333 -78
  86. package/components/select/demo/api.min.js +1339 -505
  87. package/components/select/demo/index.min.js +1327 -505
  88. package/components/select/dist/auro-select.d.ts +26 -0
  89. package/components/select/dist/index.js +1266 -462
  90. package/components/select/dist/registered.js +1266 -462
  91. package/components/select/dist/selectKeyboardStrategy.d.ts +8 -0
  92. package/custom-elements.json +18655 -0
  93. package/package.json +47 -13
package/CHANGELOG.md CHANGED
@@ -1,9 +1,69 @@
1
- ## [5.9.4](https://github.com/AlaskaAirlines/auro-formkit/compare/v5.9.3...v5.9.4) (2026-02-06)
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
- * user input credit card formatting logic [#1324](https://github.com/AlaskaAirlines/auro-formkit/issues/1324) ([d3e120d](https://github.com/AlaskaAirlines/auro-formkit/commit/d3e120db1f14f680d83cd6c5123de0ab1d53da92))
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))
51
+
52
+
53
+ ### Features
54
+
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))
60
+
61
+
62
+ ### Performance Improvements
63
+
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))
7
67
 
8
68
  ### Changelog
9
69
 
@@ -1,3 +1,13 @@
1
+ /**
2
+ * The `auro-bibtemplate` element provides users a template for creating modal dialog elements.
3
+ * @customElement auro-bibtemplate
4
+ *
5
+ * @slot default - The default slot for the main content.
6
+ * @slot header - Slot for the header content.
7
+ * @slot subheader - Slot for the subheader content.
8
+ * @slot footer - Slot for the footer content.
9
+ * @slot ariaLabel.close - Slot for the close button aria-label.
10
+ */
1
11
  export class AuroBibtemplate extends LitElement {
2
12
  static get styles(): import("lit").CSSResult[];
3
13
  static get properties(): {
@@ -38,6 +48,12 @@ export class AuroBibtemplate extends LitElement {
38
48
  * @returns {void}
39
49
  */
40
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;
41
57
  onCloseButtonClick(): void;
42
58
  /**
43
59
  * Exposes CSS parts for styling from parent components.
@@ -1,2 +1,2 @@
1
- declare const _default: "12.3.0";
1
+ declare const _default: "12.3.2";
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: "5.0.0";
1
+ declare const _default: "5.0.1";
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: "9.1.1";
1
+ declare const _default: "9.1.2";
2
2
  export default _default;