@aurodesignsystem-dev/auro-formkit 0.0.0-pr1408.8 → 0.0.0-pr1411.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 (62) 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 +121 -144
  7. package/components/combobox/demo/index.min.js +121 -144
  8. package/components/combobox/demo/keyboardBehavior.html +1 -0
  9. package/components/combobox/demo/keyboardBehavior.md +21 -22
  10. package/components/combobox/dist/index.js +87 -117
  11. package/components/combobox/dist/registered.js +87 -117
  12. package/components/counter/demo/api.md +1 -1
  13. package/components/counter/demo/api.min.js +184 -148
  14. package/components/counter/demo/index.min.js +184 -148
  15. package/components/counter/demo/keyboardBehavior.html +1 -0
  16. package/components/counter/demo/keyboardBehavior.md +1 -1
  17. package/components/counter/dist/auro-counter.d.ts +11 -8
  18. package/components/counter/dist/index.js +184 -148
  19. package/components/counter/dist/keyboardStrategy.d.ts +4 -0
  20. package/components/counter/dist/registered.js +184 -148
  21. package/components/datepicker/demo/api.min.js +89 -120
  22. package/components/datepicker/demo/index.min.js +89 -120
  23. package/components/datepicker/demo/keyboardBehavior.html +1 -0
  24. package/components/datepicker/demo/keyboardBehavior.md +14 -13
  25. package/components/datepicker/dist/index.js +84 -115
  26. package/components/datepicker/dist/registered.js +84 -115
  27. package/components/dropdown/demo/api.md +0 -1
  28. package/components/dropdown/demo/api.min.js +99 -123
  29. package/components/dropdown/demo/index.md +2 -2
  30. package/components/dropdown/demo/index.min.js +99 -123
  31. package/components/dropdown/demo/keyboardBehavior.html +1 -0
  32. package/components/dropdown/dist/auro-dropdown.d.ts +0 -8
  33. package/components/dropdown/dist/auro-dropdownBib.d.ts +1 -40
  34. package/components/dropdown/dist/dropdownBibKeyboardStrategy.d.ts +7 -0
  35. package/components/dropdown/dist/index.js +83 -111
  36. package/components/dropdown/dist/registered.js +83 -111
  37. package/components/form/demo/api.min.js +542 -564
  38. package/components/form/demo/index.min.js +542 -564
  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 +34 -27
  46. package/components/menu/demo/index.min.js +34 -27
  47. package/components/menu/dist/auro-menu.d.ts +0 -6
  48. package/components/menu/dist/index.js +34 -27
  49. package/components/menu/dist/registered.js +34 -27
  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 +181 -178
  55. package/components/select/demo/index.min.js +181 -178
  56. package/components/select/demo/keyboardBehavior.html +1 -0
  57. package/components/select/demo/keyboardBehavior.md +240 -239
  58. package/components/select/dist/index.js +147 -151
  59. package/components/select/dist/registered.js +147 -151
  60. package/components/select/dist/selectKeyboardStrategy.d.ts +3 -1
  61. package/custom-elements.json +1521 -1503
  62. package/package.json +5 -3
File without changes
@@ -6759,7 +6759,7 @@ class AuroHelpText extends i$3 {
6759
6759
  }
6760
6760
  }
6761
6761
 
6762
- var formkitVersion = '202603310455';
6762
+ var formkitVersion = '202604021512';
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 = '202603310455';
6687
+ var formkitVersion = '202604021512';
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 = '202603310455';
6628
+ var formkitVersion = '202604021512';
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 = '202603310455';
6628
+ var formkitVersion = '202604021512';
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.
@@ -965,7 +965,7 @@ class AuroMenuOption extends AuroElement {
965
965
  });
966
966
 
967
967
  return u$1`
968
- <div class="${classes}">
968
+ <div class="${classes}" aria-disabled="${this.disabled ? 'true' : 'false'}">
969
969
  ${this.selected && !this.noCheckmark
970
970
  ? this.generateIconHtml(checkmarkIcon.svg)
971
971
  : undefined}
@@ -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
  /**
@@ -2088,7 +2088,7 @@ class AuroMenu extends AuroElement {
2088
2088
 
2089
2089
  this.provideContext();
2090
2090
 
2091
- this.addEventListener('keydown', this.handleKeyDown);
2091
+ // this.addEventListener('keydown', this.handleKeyDown);
2092
2092
  this.addEventListener('auroMenuOption-click', this.handleMouseSelect);
2093
2093
  this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
2094
2094
  this.addEventListener('slotchange', this.handleSlotChange);
@@ -2096,7 +2096,7 @@ class AuroMenu extends AuroElement {
2096
2096
  }
2097
2097
 
2098
2098
  disconnectedCallback() {
2099
- this.removeEventListener('keydown', this.handleKeyDown);
2099
+ // this.removeEventListener('keydown', this.handleKeyDown);
2100
2100
  this.removeEventListener('auroMenuOption-click', this.handleMouseSelect);
2101
2101
  this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
2102
2102
  this.removeEventListener('slotchange', this.handleSlotChange);
@@ -2237,26 +2237,33 @@ class AuroMenu extends AuroElement {
2237
2237
 
2238
2238
  // Event Handlers
2239
2239
 
2240
- /**
2241
- * Handles keyboard navigation.
2242
- * @private
2243
- * @param {KeyboardEvent} event - Event object from the browser.
2244
- */
2245
- handleKeyDown(event) {
2246
- event.preventDefault();
2247
- switch (event.key) {
2248
- case "ArrowDown":
2249
- this.menuService.highlightNext();
2250
- break;
2251
- case "ArrowUp":
2252
- this.menuService.highlightPrevious();
2253
- break;
2254
- case "Tab":
2255
- case "Enter":
2256
- this.menuService.selectHighlightedOption();
2257
- break;
2258
- }
2259
- }
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
+ // }
2260
2267
 
2261
2268
  /**
2262
2269
  * Navigates the menu options in the specified direction.
@@ -873,7 +873,7 @@ class AuroMenuOption extends AuroElement {
873
873
  });
874
874
 
875
875
  return u$1`
876
- <div class="${classes}">
876
+ <div class="${classes}" aria-disabled="${this.disabled ? 'true' : 'false'}">
877
877
  ${this.selected && !this.noCheckmark
878
878
  ? this.generateIconHtml(checkmarkIcon.svg)
879
879
  : undefined}
@@ -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
  /**
@@ -1996,7 +1996,7 @@ class AuroMenu extends AuroElement {
1996
1996
 
1997
1997
  this.provideContext();
1998
1998
 
1999
- this.addEventListener('keydown', this.handleKeyDown);
1999
+ // this.addEventListener('keydown', this.handleKeyDown);
2000
2000
  this.addEventListener('auroMenuOption-click', this.handleMouseSelect);
2001
2001
  this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
2002
2002
  this.addEventListener('slotchange', this.handleSlotChange);
@@ -2004,7 +2004,7 @@ class AuroMenu extends AuroElement {
2004
2004
  }
2005
2005
 
2006
2006
  disconnectedCallback() {
2007
- this.removeEventListener('keydown', this.handleKeyDown);
2007
+ // this.removeEventListener('keydown', this.handleKeyDown);
2008
2008
  this.removeEventListener('auroMenuOption-click', this.handleMouseSelect);
2009
2009
  this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
2010
2010
  this.removeEventListener('slotchange', this.handleSlotChange);
@@ -2145,26 +2145,33 @@ class AuroMenu extends AuroElement {
2145
2145
 
2146
2146
  // Event Handlers
2147
2147
 
2148
- /**
2149
- * Handles keyboard navigation.
2150
- * @private
2151
- * @param {KeyboardEvent} event - Event object from the browser.
2152
- */
2153
- handleKeyDown(event) {
2154
- event.preventDefault();
2155
- switch (event.key) {
2156
- case "ArrowDown":
2157
- this.menuService.highlightNext();
2158
- break;
2159
- case "ArrowUp":
2160
- this.menuService.highlightPrevious();
2161
- break;
2162
- case "Tab":
2163
- case "Enter":
2164
- this.menuService.selectHighlightedOption();
2165
- break;
2166
- }
2167
- }
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
+ // }
2168
2175
 
2169
2176
  /**
2170
2177
  * Navigates the menu options in the specified direction.
@@ -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
@@ -847,7 +847,7 @@ class AuroMenuOption extends AuroElement {
847
847
  });
848
848
 
849
849
  return html$1`
850
- <div class="${classes}">
850
+ <div class="${classes}" aria-disabled="${this.disabled ? 'true' : 'false'}">
851
851
  ${this.selected && !this.noCheckmark
852
852
  ? this.generateIconHtml(checkmarkIcon.svg)
853
853
  : undefined}
@@ -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
  /**
@@ -1970,7 +1970,7 @@ class AuroMenu extends AuroElement {
1970
1970
 
1971
1971
  this.provideContext();
1972
1972
 
1973
- this.addEventListener('keydown', this.handleKeyDown);
1973
+ // this.addEventListener('keydown', this.handleKeyDown);
1974
1974
  this.addEventListener('auroMenuOption-click', this.handleMouseSelect);
1975
1975
  this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1976
1976
  this.addEventListener('slotchange', this.handleSlotChange);
@@ -1978,7 +1978,7 @@ class AuroMenu extends AuroElement {
1978
1978
  }
1979
1979
 
1980
1980
  disconnectedCallback() {
1981
- this.removeEventListener('keydown', this.handleKeyDown);
1981
+ // this.removeEventListener('keydown', this.handleKeyDown);
1982
1982
  this.removeEventListener('auroMenuOption-click', this.handleMouseSelect);
1983
1983
  this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1984
1984
  this.removeEventListener('slotchange', this.handleSlotChange);
@@ -2119,26 +2119,33 @@ class AuroMenu extends AuroElement {
2119
2119
 
2120
2120
  // Event Handlers
2121
2121
 
2122
- /**
2123
- * Handles keyboard navigation.
2124
- * @private
2125
- * @param {KeyboardEvent} event - Event object from the browser.
2126
- */
2127
- handleKeyDown(event) {
2128
- event.preventDefault();
2129
- switch (event.key) {
2130
- case "ArrowDown":
2131
- this.menuService.highlightNext();
2132
- break;
2133
- case "ArrowUp":
2134
- this.menuService.highlightPrevious();
2135
- break;
2136
- case "Tab":
2137
- case "Enter":
2138
- this.menuService.selectHighlightedOption();
2139
- break;
2140
- }
2141
- }
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
+ // }
2142
2149
 
2143
2150
  /**
2144
2151
  * Navigates the menu options in the specified direction.
@@ -794,7 +794,7 @@ class AuroMenuOption extends AuroElement {
794
794
  });
795
795
 
796
796
  return html$1`
797
- <div class="${classes}">
797
+ <div class="${classes}" aria-disabled="${this.disabled ? 'true' : 'false'}">
798
798
  ${this.selected && !this.noCheckmark
799
799
  ? this.generateIconHtml(checkmarkIcon.svg)
800
800
  : undefined}
@@ -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
  /**
@@ -1917,7 +1917,7 @@ class AuroMenu extends AuroElement {
1917
1917
 
1918
1918
  this.provideContext();
1919
1919
 
1920
- this.addEventListener('keydown', this.handleKeyDown);
1920
+ // this.addEventListener('keydown', this.handleKeyDown);
1921
1921
  this.addEventListener('auroMenuOption-click', this.handleMouseSelect);
1922
1922
  this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1923
1923
  this.addEventListener('slotchange', this.handleSlotChange);
@@ -1925,7 +1925,7 @@ class AuroMenu extends AuroElement {
1925
1925
  }
1926
1926
 
1927
1927
  disconnectedCallback() {
1928
- this.removeEventListener('keydown', this.handleKeyDown);
1928
+ // this.removeEventListener('keydown', this.handleKeyDown);
1929
1929
  this.removeEventListener('auroMenuOption-click', this.handleMouseSelect);
1930
1930
  this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
1931
1931
  this.removeEventListener('slotchange', this.handleSlotChange);
@@ -2066,26 +2066,33 @@ class AuroMenu extends AuroElement {
2066
2066
 
2067
2067
  // Event Handlers
2068
2068
 
2069
- /**
2070
- * Handles keyboard navigation.
2071
- * @private
2072
- * @param {KeyboardEvent} event - Event object from the browser.
2073
- */
2074
- handleKeyDown(event) {
2075
- event.preventDefault();
2076
- switch (event.key) {
2077
- case "ArrowDown":
2078
- this.menuService.highlightNext();
2079
- break;
2080
- case "ArrowUp":
2081
- this.menuService.highlightPrevious();
2082
- break;
2083
- case "Tab":
2084
- case "Enter":
2085
- this.menuService.selectHighlightedOption();
2086
- break;
2087
- }
2088
- }
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
+ // }
2089
2096
 
2090
2097
  /**
2091
2098
  * Navigates the menu options in the specified direction.
@@ -1645,7 +1645,7 @@ class AuroHelpText extends i$2 {
1645
1645
  }
1646
1646
  }
1647
1647
 
1648
- var formkitVersion = '202603310455';
1648
+ var formkitVersion = '202604021512';
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 = '202603310455';
1623
+ var formkitVersion = '202604021512';
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 = '202603310455';
1576
+ var formkitVersion = '202604021512';
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 = '202603310455';
1576
+ var formkitVersion = '202604021512';
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.