@aurodesignsystem/auro-library 5.2.1 → 5.2.2
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.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/scripts/runtime/floatingUI.mjs +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [5.2.2](https://github.com/AlaskaAirlines/auro-library/compare/v5.2.1...v5.2.2) (2025-06-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* correct logic for key handling when enter is pressed in the trigger of a floatingui element ([f310866](https://github.com/AlaskaAirlines/auro-library/commit/f310866d6137aa2e8a2a2a62c95bbe00867bf09d))
|
|
9
|
+
|
|
3
10
|
## [5.2.1](https://github.com/AlaskaAirlines/auro-library/compare/v5.2.0...v5.2.1) (2025-06-26)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -491,10 +491,11 @@ export default class AuroFloatingUI {
|
|
|
491
491
|
// Space is included as it's expected behavior for interactive elements
|
|
492
492
|
|
|
493
493
|
const origin = event.composedPath()[0];
|
|
494
|
-
if (event.key === 'Enter' || (
|
|
495
|
-
|
|
494
|
+
if (event.key === 'Enter' || event.key === ' ' && (!origin || origin.tagName !== "INPUT")) {
|
|
495
|
+
|
|
496
|
+
event.preventDefault();
|
|
496
497
|
this.handleClick();
|
|
497
|
-
}
|
|
498
|
+
}
|
|
498
499
|
break;
|
|
499
500
|
case 'mouseenter':
|
|
500
501
|
if (this.element.hoverToggle) {
|