@aurodesignsystem-dev/auro-formkit 0.0.0-pr1398.2 → 0.0.0-pr1398.3

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 (61) hide show
  1. package/components/checkbox/demo/api.min.js +1 -1
  2. package/components/checkbox/demo/index.min.js +1 -1
  3. package/components/checkbox/demo/keyboardBehavior.md +0 -0
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/api.min.js +129 -166
  7. package/components/combobox/demo/index.min.js +129 -166
  8. package/components/combobox/demo/keyboardBehavior.html +81 -0
  9. package/components/combobox/demo/keyboardBehavior.md +308 -0
  10. package/components/combobox/dist/index.js +87 -134
  11. package/components/combobox/dist/registered.js +87 -134
  12. package/components/counter/demo/api.min.js +157 -160
  13. package/components/counter/demo/index.min.js +157 -160
  14. package/components/counter/demo/keyboardBehavior.html +81 -0
  15. package/components/counter/demo/keyboardBehavior.md +127 -0
  16. package/components/counter/dist/auro-counter.d.ts +0 -7
  17. package/components/counter/dist/index.js +157 -160
  18. package/components/counter/dist/keyboardStrategy.d.ts +4 -0
  19. package/components/counter/dist/registered.js +157 -160
  20. package/components/datepicker/demo/api.min.js +89 -137
  21. package/components/datepicker/demo/index.min.js +89 -137
  22. package/components/datepicker/demo/keyboardBehavior.html +81 -0
  23. package/components/datepicker/demo/keyboardBehavior.md +24 -0
  24. package/components/datepicker/dist/index.js +84 -132
  25. package/components/datepicker/dist/registered.js +84 -132
  26. package/components/dropdown/demo/api.md +0 -1
  27. package/components/dropdown/demo/api.min.js +99 -140
  28. package/components/dropdown/demo/index.md +2 -2
  29. package/components/dropdown/demo/index.min.js +99 -140
  30. package/components/dropdown/demo/keyboardBehavior.html +81 -0
  31. package/components/dropdown/demo/keyboardBehavior.md +77 -0
  32. package/components/dropdown/dist/auro-dropdown.d.ts +0 -8
  33. package/components/dropdown/dist/auro-dropdownBib.d.ts +1 -50
  34. package/components/dropdown/dist/dropdownBibKeyboardStrategy.d.ts +7 -0
  35. package/components/dropdown/dist/index.js +83 -128
  36. package/components/dropdown/dist/registered.js +83 -128
  37. package/components/form/demo/api.min.js +466 -599
  38. package/components/form/demo/index.min.js +466 -599
  39. package/components/form/demo/keyboardBehavior.md +0 -0
  40. package/components/input/demo/api.min.js +1 -1
  41. package/components/input/demo/index.min.js +1 -1
  42. package/components/input/demo/keyboardBehavior.md +0 -0
  43. package/components/input/dist/index.js +1 -1
  44. package/components/input/dist/registered.js +1 -1
  45. package/components/menu/demo/api.min.js +42 -32
  46. package/components/menu/demo/index.min.js +42 -32
  47. package/components/menu/dist/auro-menu.d.ts +3 -11
  48. package/components/menu/dist/index.js +42 -32
  49. package/components/menu/dist/registered.js +42 -32
  50. package/components/radio/demo/api.min.js +1 -1
  51. package/components/radio/demo/index.min.js +1 -1
  52. package/components/radio/dist/index.js +1 -1
  53. package/components/radio/dist/registered.js +1 -1
  54. package/components/select/demo/api.min.js +132 -167
  55. package/components/select/demo/index.min.js +132 -167
  56. package/components/select/demo/keyboardBehavior.html +81 -0
  57. package/components/select/demo/keyboardBehavior.md +246 -0
  58. package/components/select/dist/index.js +90 -135
  59. package/components/select/dist/registered.js +90 -135
  60. package/custom-elements.json +61 -89
  61. package/package.json +2 -2
File without changes
@@ -6759,7 +6759,7 @@ class AuroHelpText extends i$3 {
6759
6759
  }
6760
6760
  }
6761
6761
 
6762
- var formkitVersion = '202603271519';
6762
+ var formkitVersion = '202604012043';
6763
6763
 
6764
6764
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6765
6765
  // See LICENSE in the project root for license information.
@@ -6684,7 +6684,7 @@ class AuroHelpText extends i$3 {
6684
6684
  }
6685
6685
  }
6686
6686
 
6687
- var formkitVersion = '202603271519';
6687
+ var formkitVersion = '202604012043';
6688
6688
 
6689
6689
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6690
6690
  // See LICENSE in the project root for license information.
File without changes
@@ -6625,7 +6625,7 @@ class AuroHelpText extends LitElement {
6625
6625
  }
6626
6626
  }
6627
6627
 
6628
- var formkitVersion = '202603271519';
6628
+ var formkitVersion = '202604012043';
6629
6629
 
6630
6630
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6631
6631
  // See LICENSE in the project root for license information.
@@ -6625,7 +6625,7 @@ class AuroHelpText extends LitElement {
6625
6625
  }
6626
6626
  }
6627
6627
 
6628
- var formkitVersion = '202603271519';
6628
+ var formkitVersion = '202604012043';
6629
6629
 
6630
6630
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6631
6631
  // See LICENSE in the project root for license information.
@@ -1736,10 +1736,10 @@ class AuroMenu extends AuroElement {
1736
1736
 
1737
1737
  // Event Bindings
1738
1738
 
1739
- /**
1740
- * @private
1741
- */
1742
- this.handleKeyDown = this.handleKeyDown.bind(this);
1739
+ // /**
1740
+ // * @private
1741
+ // */
1742
+ // this.handleKeyDown = this.handleKeyDown.bind(this);
1743
1743
 
1744
1744
 
1745
1745
  /**
@@ -1988,6 +1988,13 @@ class AuroMenu extends AuroElement {
1988
1988
  * @protected
1989
1989
  */
1990
1990
  provideContext() {
1991
+ if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
1992
+ this.rootMenu = false;
1993
+ this.menuService = this.parentElement.menuService;
1994
+ this._contextProvider = this.parentElement._contextProvider;
1995
+ return;
1996
+ }
1997
+
1991
1998
  this.menuService = new MenuService({host: this});
1992
1999
  this.menuService.setProperties(this.propertyValues);
1993
2000
  this.menuService.subscribe(this.handleMenuChange.bind(this));
@@ -2081,7 +2088,7 @@ class AuroMenu extends AuroElement {
2081
2088
 
2082
2089
  this.provideContext();
2083
2090
 
2084
- this.addEventListener('keydown', this.handleKeyDown);
2091
+ // this.addEventListener('keydown', this.handleKeyDown);
2085
2092
  this.addEventListener('auroMenuOption-click', this.handleMouseSelect);
2086
2093
  this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
2087
2094
  this.addEventListener('slotchange', this.handleSlotChange);
@@ -2089,7 +2096,7 @@ class AuroMenu extends AuroElement {
2089
2096
  }
2090
2097
 
2091
2098
  disconnectedCallback() {
2092
- this.removeEventListener('keydown', this.handleKeyDown);
2099
+ // this.removeEventListener('keydown', this.handleKeyDown);
2093
2100
  this.removeEventListener('auroMenuOption-click', this.handleMouseSelect);
2094
2101
  this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
2095
2102
  this.removeEventListener('slotchange', this.handleSlotChange);
@@ -2170,9 +2177,9 @@ class AuroMenu extends AuroElement {
2170
2177
  if (this.multiSelect) {
2171
2178
  this.setAttribute('aria-multiselectable', 'true');
2172
2179
  }
2173
-
2174
- this.handleNestedMenus(this);
2175
2180
  }
2181
+
2182
+ this.handleNestedMenus(this);
2176
2183
  }
2177
2184
 
2178
2185
  /**
@@ -2230,26 +2237,33 @@ class AuroMenu extends AuroElement {
2230
2237
 
2231
2238
  // Event Handlers
2232
2239
 
2233
- /**
2234
- * Handles keyboard navigation.
2235
- * @private
2236
- * @param {KeyboardEvent} event - Event object from the browser.
2237
- */
2238
- handleKeyDown(event) {
2239
- event.preventDefault();
2240
- switch (event.key) {
2241
- case "ArrowDown":
2242
- this.menuService.highlightNext();
2243
- break;
2244
- case "ArrowUp":
2245
- this.menuService.highlightPrevious();
2246
- break;
2247
- case "Tab":
2248
- case "Enter":
2249
- this.menuService.selectHighlightedOption();
2250
- break;
2251
- }
2252
- }
2240
+ // /**
2241
+ // * Handles keyboard navigation.
2242
+ // * @private
2243
+ // * @param {KeyboardEvent} event - Event object from the browser.
2244
+ // */
2245
+ // handleKeyDown(event) {
2246
+ // // Update to Chris keyboard handler
2247
+ // // We have a new "navigateArrow" function in that handler, maybe that replaces those keys here?
2248
+ // event.preventDefault();
2249
+ // switch (event.key) {
2250
+ // case "ArrowDown":
2251
+ // console.warn("ArrowDown key is pressed and heard from menu");
2252
+ // this.menuService.highlightNext();
2253
+ // break;
2254
+ // case "ArrowUp":
2255
+ // console.warn("ArrowUp key is pressed and heard from menu");
2256
+ // this.menuService.highlightPrevious();
2257
+ // break;
2258
+ // case "Tab":
2259
+ // case "Enter":
2260
+ // this.menuService.selectHighlightedOption();
2261
+ // // Does this need to get separated into two cases to handle the different expected behavior of tab vs enter?
2262
+ // break;
2263
+ // default:
2264
+ // break;
2265
+ // }
2266
+ // }
2253
2267
 
2254
2268
  /**
2255
2269
  * Navigates the menu options in the specified direction.
@@ -2269,10 +2283,6 @@ class AuroMenu extends AuroElement {
2269
2283
  * @private
2270
2284
  */
2271
2285
  handleSlotChange() {
2272
- if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
2273
- this.rootMenu = false;
2274
- }
2275
-
2276
2286
  if (this.rootMenu) {
2277
2287
  this.initializeMenu();
2278
2288
  }
@@ -1644,10 +1644,10 @@ class AuroMenu extends AuroElement {
1644
1644
 
1645
1645
  // Event Bindings
1646
1646
 
1647
- /**
1648
- * @private
1649
- */
1650
- this.handleKeyDown = this.handleKeyDown.bind(this);
1647
+ // /**
1648
+ // * @private
1649
+ // */
1650
+ // this.handleKeyDown = this.handleKeyDown.bind(this);
1651
1651
 
1652
1652
 
1653
1653
  /**
@@ -1896,6 +1896,13 @@ class AuroMenu extends AuroElement {
1896
1896
  * @protected
1897
1897
  */
1898
1898
  provideContext() {
1899
+ if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
1900
+ this.rootMenu = false;
1901
+ this.menuService = this.parentElement.menuService;
1902
+ this._contextProvider = this.parentElement._contextProvider;
1903
+ return;
1904
+ }
1905
+
1899
1906
  this.menuService = new MenuService({host: this});
1900
1907
  this.menuService.setProperties(this.propertyValues);
1901
1908
  this.menuService.subscribe(this.handleMenuChange.bind(this));
@@ -1989,7 +1996,7 @@ class AuroMenu extends AuroElement {
1989
1996
 
1990
1997
  this.provideContext();
1991
1998
 
1992
- this.addEventListener('keydown', this.handleKeyDown);
1999
+ // this.addEventListener('keydown', this.handleKeyDown);
1993
2000
  this.addEventListener('auroMenuOption-click', this.handleMouseSelect);
1994
2001
  this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1995
2002
  this.addEventListener('slotchange', this.handleSlotChange);
@@ -1997,7 +2004,7 @@ class AuroMenu extends AuroElement {
1997
2004
  }
1998
2005
 
1999
2006
  disconnectedCallback() {
2000
- this.removeEventListener('keydown', this.handleKeyDown);
2007
+ // this.removeEventListener('keydown', this.handleKeyDown);
2001
2008
  this.removeEventListener('auroMenuOption-click', this.handleMouseSelect);
2002
2009
  this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
2003
2010
  this.removeEventListener('slotchange', this.handleSlotChange);
@@ -2078,9 +2085,9 @@ class AuroMenu extends AuroElement {
2078
2085
  if (this.multiSelect) {
2079
2086
  this.setAttribute('aria-multiselectable', 'true');
2080
2087
  }
2081
-
2082
- this.handleNestedMenus(this);
2083
2088
  }
2089
+
2090
+ this.handleNestedMenus(this);
2084
2091
  }
2085
2092
 
2086
2093
  /**
@@ -2138,26 +2145,33 @@ class AuroMenu extends AuroElement {
2138
2145
 
2139
2146
  // Event Handlers
2140
2147
 
2141
- /**
2142
- * Handles keyboard navigation.
2143
- * @private
2144
- * @param {KeyboardEvent} event - Event object from the browser.
2145
- */
2146
- handleKeyDown(event) {
2147
- event.preventDefault();
2148
- switch (event.key) {
2149
- case "ArrowDown":
2150
- this.menuService.highlightNext();
2151
- break;
2152
- case "ArrowUp":
2153
- this.menuService.highlightPrevious();
2154
- break;
2155
- case "Tab":
2156
- case "Enter":
2157
- this.menuService.selectHighlightedOption();
2158
- break;
2159
- }
2160
- }
2148
+ // /**
2149
+ // * Handles keyboard navigation.
2150
+ // * @private
2151
+ // * @param {KeyboardEvent} event - Event object from the browser.
2152
+ // */
2153
+ // handleKeyDown(event) {
2154
+ // // Update to Chris keyboard handler
2155
+ // // We have a new "navigateArrow" function in that handler, maybe that replaces those keys here?
2156
+ // event.preventDefault();
2157
+ // switch (event.key) {
2158
+ // case "ArrowDown":
2159
+ // console.warn("ArrowDown key is pressed and heard from menu");
2160
+ // this.menuService.highlightNext();
2161
+ // break;
2162
+ // case "ArrowUp":
2163
+ // console.warn("ArrowUp key is pressed and heard from menu");
2164
+ // this.menuService.highlightPrevious();
2165
+ // break;
2166
+ // case "Tab":
2167
+ // case "Enter":
2168
+ // this.menuService.selectHighlightedOption();
2169
+ // // Does this need to get separated into two cases to handle the different expected behavior of tab vs enter?
2170
+ // break;
2171
+ // default:
2172
+ // break;
2173
+ // }
2174
+ // }
2161
2175
 
2162
2176
  /**
2163
2177
  * Navigates the menu options in the specified direction.
@@ -2177,10 +2191,6 @@ class AuroMenu extends AuroElement {
2177
2191
  * @private
2178
2192
  */
2179
2193
  handleSlotChange() {
2180
- if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
2181
- this.rootMenu = false;
2182
- }
2183
-
2184
2194
  if (this.rootMenu) {
2185
2195
  this.initializeMenu();
2186
2196
  }
@@ -152,12 +152,6 @@ export class AuroMenu extends AuroElement {
152
152
  multiSelect: boolean;
153
153
  allowDeselect: boolean;
154
154
  selectAllMatchingOptions: boolean;
155
- /**
156
- * Handles keyboard navigation.
157
- * @private
158
- * @param {KeyboardEvent} event - Event object from the browser.
159
- */
160
- private handleKeyDown;
161
155
  /**
162
156
  * Handles slot change events.
163
157
  * @private
@@ -201,8 +195,9 @@ export class AuroMenu extends AuroElement {
201
195
  * @protected
202
196
  */
203
197
  protected provideContext(): void;
204
- menuService: MenuService;
205
- _contextProvider: ContextProvider<import("@lit/context").Context<"menu-context", any>, this>;
198
+ rootMenu: boolean;
199
+ menuService: any;
200
+ _contextProvider: any;
206
201
  /**
207
202
  * Updates the currently active option in the menu.
208
203
  * @param {HTMLElement} option - The option to set as active.
@@ -281,7 +276,6 @@ export class AuroMenu extends AuroElement {
281
276
  * @protected
282
277
  */
283
278
  protected navigateOptions(direction: "up" | "down"): void;
284
- rootMenu: boolean;
285
279
  /**
286
280
  * Handles custom events defined on options.
287
281
  * @private
@@ -320,5 +314,3 @@ export class AuroMenu extends AuroElement {
320
314
  protected renderLayout(): void;
321
315
  }
322
316
  import { AuroElement } from "../../layoutElement/src/auroElement.js";
323
- import { MenuService } from "./auro-menu.context.js";
324
- import { ContextProvider } from "@lit/context";
@@ -1618,10 +1618,10 @@ class AuroMenu extends AuroElement {
1618
1618
 
1619
1619
  // Event Bindings
1620
1620
 
1621
- /**
1622
- * @private
1623
- */
1624
- this.handleKeyDown = this.handleKeyDown.bind(this);
1621
+ // /**
1622
+ // * @private
1623
+ // */
1624
+ // this.handleKeyDown = this.handleKeyDown.bind(this);
1625
1625
 
1626
1626
 
1627
1627
  /**
@@ -1870,6 +1870,13 @@ class AuroMenu extends AuroElement {
1870
1870
  * @protected
1871
1871
  */
1872
1872
  provideContext() {
1873
+ if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
1874
+ this.rootMenu = false;
1875
+ this.menuService = this.parentElement.menuService;
1876
+ this._contextProvider = this.parentElement._contextProvider;
1877
+ return;
1878
+ }
1879
+
1873
1880
  this.menuService = new MenuService({host: this});
1874
1881
  this.menuService.setProperties(this.propertyValues);
1875
1882
  this.menuService.subscribe(this.handleMenuChange.bind(this));
@@ -1963,7 +1970,7 @@ class AuroMenu extends AuroElement {
1963
1970
 
1964
1971
  this.provideContext();
1965
1972
 
1966
- this.addEventListener('keydown', this.handleKeyDown);
1973
+ // this.addEventListener('keydown', this.handleKeyDown);
1967
1974
  this.addEventListener('auroMenuOption-click', this.handleMouseSelect);
1968
1975
  this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1969
1976
  this.addEventListener('slotchange', this.handleSlotChange);
@@ -1971,7 +1978,7 @@ class AuroMenu extends AuroElement {
1971
1978
  }
1972
1979
 
1973
1980
  disconnectedCallback() {
1974
- this.removeEventListener('keydown', this.handleKeyDown);
1981
+ // this.removeEventListener('keydown', this.handleKeyDown);
1975
1982
  this.removeEventListener('auroMenuOption-click', this.handleMouseSelect);
1976
1983
  this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1977
1984
  this.removeEventListener('slotchange', this.handleSlotChange);
@@ -2052,9 +2059,9 @@ class AuroMenu extends AuroElement {
2052
2059
  if (this.multiSelect) {
2053
2060
  this.setAttribute('aria-multiselectable', 'true');
2054
2061
  }
2055
-
2056
- this.handleNestedMenus(this);
2057
2062
  }
2063
+
2064
+ this.handleNestedMenus(this);
2058
2065
  }
2059
2066
 
2060
2067
  /**
@@ -2112,26 +2119,33 @@ class AuroMenu extends AuroElement {
2112
2119
 
2113
2120
  // Event Handlers
2114
2121
 
2115
- /**
2116
- * Handles keyboard navigation.
2117
- * @private
2118
- * @param {KeyboardEvent} event - Event object from the browser.
2119
- */
2120
- handleKeyDown(event) {
2121
- event.preventDefault();
2122
- switch (event.key) {
2123
- case "ArrowDown":
2124
- this.menuService.highlightNext();
2125
- break;
2126
- case "ArrowUp":
2127
- this.menuService.highlightPrevious();
2128
- break;
2129
- case "Tab":
2130
- case "Enter":
2131
- this.menuService.selectHighlightedOption();
2132
- break;
2133
- }
2134
- }
2122
+ // /**
2123
+ // * Handles keyboard navigation.
2124
+ // * @private
2125
+ // * @param {KeyboardEvent} event - Event object from the browser.
2126
+ // */
2127
+ // handleKeyDown(event) {
2128
+ // // Update to Chris keyboard handler
2129
+ // // We have a new "navigateArrow" function in that handler, maybe that replaces those keys here?
2130
+ // event.preventDefault();
2131
+ // switch (event.key) {
2132
+ // case "ArrowDown":
2133
+ // console.warn("ArrowDown key is pressed and heard from menu");
2134
+ // this.menuService.highlightNext();
2135
+ // break;
2136
+ // case "ArrowUp":
2137
+ // console.warn("ArrowUp key is pressed and heard from menu");
2138
+ // this.menuService.highlightPrevious();
2139
+ // break;
2140
+ // case "Tab":
2141
+ // case "Enter":
2142
+ // this.menuService.selectHighlightedOption();
2143
+ // // Does this need to get separated into two cases to handle the different expected behavior of tab vs enter?
2144
+ // break;
2145
+ // default:
2146
+ // break;
2147
+ // }
2148
+ // }
2135
2149
 
2136
2150
  /**
2137
2151
  * Navigates the menu options in the specified direction.
@@ -2151,10 +2165,6 @@ class AuroMenu extends AuroElement {
2151
2165
  * @private
2152
2166
  */
2153
2167
  handleSlotChange() {
2154
- if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
2155
- this.rootMenu = false;
2156
- }
2157
-
2158
2168
  if (this.rootMenu) {
2159
2169
  this.initializeMenu();
2160
2170
  }
@@ -1565,10 +1565,10 @@ class AuroMenu extends AuroElement {
1565
1565
 
1566
1566
  // Event Bindings
1567
1567
 
1568
- /**
1569
- * @private
1570
- */
1571
- this.handleKeyDown = this.handleKeyDown.bind(this);
1568
+ // /**
1569
+ // * @private
1570
+ // */
1571
+ // this.handleKeyDown = this.handleKeyDown.bind(this);
1572
1572
 
1573
1573
 
1574
1574
  /**
@@ -1817,6 +1817,13 @@ class AuroMenu extends AuroElement {
1817
1817
  * @protected
1818
1818
  */
1819
1819
  provideContext() {
1820
+ if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
1821
+ this.rootMenu = false;
1822
+ this.menuService = this.parentElement.menuService;
1823
+ this._contextProvider = this.parentElement._contextProvider;
1824
+ return;
1825
+ }
1826
+
1820
1827
  this.menuService = new MenuService({host: this});
1821
1828
  this.menuService.setProperties(this.propertyValues);
1822
1829
  this.menuService.subscribe(this.handleMenuChange.bind(this));
@@ -1910,7 +1917,7 @@ class AuroMenu extends AuroElement {
1910
1917
 
1911
1918
  this.provideContext();
1912
1919
 
1913
- this.addEventListener('keydown', this.handleKeyDown);
1920
+ // this.addEventListener('keydown', this.handleKeyDown);
1914
1921
  this.addEventListener('auroMenuOption-click', this.handleMouseSelect);
1915
1922
  this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1916
1923
  this.addEventListener('slotchange', this.handleSlotChange);
@@ -1918,7 +1925,7 @@ class AuroMenu extends AuroElement {
1918
1925
  }
1919
1926
 
1920
1927
  disconnectedCallback() {
1921
- this.removeEventListener('keydown', this.handleKeyDown);
1928
+ // this.removeEventListener('keydown', this.handleKeyDown);
1922
1929
  this.removeEventListener('auroMenuOption-click', this.handleMouseSelect);
1923
1930
  this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1924
1931
  this.removeEventListener('slotchange', this.handleSlotChange);
@@ -1999,9 +2006,9 @@ class AuroMenu extends AuroElement {
1999
2006
  if (this.multiSelect) {
2000
2007
  this.setAttribute('aria-multiselectable', 'true');
2001
2008
  }
2002
-
2003
- this.handleNestedMenus(this);
2004
2009
  }
2010
+
2011
+ this.handleNestedMenus(this);
2005
2012
  }
2006
2013
 
2007
2014
  /**
@@ -2059,26 +2066,33 @@ class AuroMenu extends AuroElement {
2059
2066
 
2060
2067
  // Event Handlers
2061
2068
 
2062
- /**
2063
- * Handles keyboard navigation.
2064
- * @private
2065
- * @param {KeyboardEvent} event - Event object from the browser.
2066
- */
2067
- handleKeyDown(event) {
2068
- event.preventDefault();
2069
- switch (event.key) {
2070
- case "ArrowDown":
2071
- this.menuService.highlightNext();
2072
- break;
2073
- case "ArrowUp":
2074
- this.menuService.highlightPrevious();
2075
- break;
2076
- case "Tab":
2077
- case "Enter":
2078
- this.menuService.selectHighlightedOption();
2079
- break;
2080
- }
2081
- }
2069
+ // /**
2070
+ // * Handles keyboard navigation.
2071
+ // * @private
2072
+ // * @param {KeyboardEvent} event - Event object from the browser.
2073
+ // */
2074
+ // handleKeyDown(event) {
2075
+ // // Update to Chris keyboard handler
2076
+ // // We have a new "navigateArrow" function in that handler, maybe that replaces those keys here?
2077
+ // event.preventDefault();
2078
+ // switch (event.key) {
2079
+ // case "ArrowDown":
2080
+ // console.warn("ArrowDown key is pressed and heard from menu");
2081
+ // this.menuService.highlightNext();
2082
+ // break;
2083
+ // case "ArrowUp":
2084
+ // console.warn("ArrowUp key is pressed and heard from menu");
2085
+ // this.menuService.highlightPrevious();
2086
+ // break;
2087
+ // case "Tab":
2088
+ // case "Enter":
2089
+ // this.menuService.selectHighlightedOption();
2090
+ // // Does this need to get separated into two cases to handle the different expected behavior of tab vs enter?
2091
+ // break;
2092
+ // default:
2093
+ // break;
2094
+ // }
2095
+ // }
2082
2096
 
2083
2097
  /**
2084
2098
  * Navigates the menu options in the specified direction.
@@ -2098,10 +2112,6 @@ class AuroMenu extends AuroElement {
2098
2112
  * @private
2099
2113
  */
2100
2114
  handleSlotChange() {
2101
- if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
2102
- this.rootMenu = false;
2103
- }
2104
-
2105
2115
  if (this.rootMenu) {
2106
2116
  this.initializeMenu();
2107
2117
  }
@@ -1645,7 +1645,7 @@ class AuroHelpText extends i$2 {
1645
1645
  }
1646
1646
  }
1647
1647
 
1648
- var formkitVersion = '202603271519';
1648
+ var formkitVersion = '202604012043';
1649
1649
 
1650
1650
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1651
1651
  // See LICENSE in the project root for license information.
@@ -1620,7 +1620,7 @@ class AuroHelpText extends i$2 {
1620
1620
  }
1621
1621
  }
1622
1622
 
1623
- var formkitVersion = '202603271519';
1623
+ var formkitVersion = '202604012043';
1624
1624
 
1625
1625
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1626
1626
  // See LICENSE in the project root for license information.
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
1573
1573
  }
1574
1574
  }
1575
1575
 
1576
- var formkitVersion = '202603271519';
1576
+ var formkitVersion = '202604012043';
1577
1577
 
1578
1578
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1579
1579
  // See LICENSE in the project root for license information.
@@ -1573,7 +1573,7 @@ class AuroHelpText extends LitElement {
1573
1573
  }
1574
1574
  }
1575
1575
 
1576
- var formkitVersion = '202603271519';
1576
+ var formkitVersion = '202604012043';
1577
1577
 
1578
1578
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1579
1579
  // See LICENSE in the project root for license information.