@aurodesignsystem/auro-library 4.3.0 → 4.3.1
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 +14 -0
- package/package.json +1 -1
- package/scripts/runtime/floatingUI.mjs +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [4.3.1](https://github.com/AlaskaAirlines/auro-library/compare/v4.3.0...v4.3.1) (2025-04-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* add .element to fix undefined value on isPopoverVisible ([69f4223](https://github.com/AlaskaAirlines/auro-library/commit/69f4223e35a6f180d932e669c2514a03369a47a3))
|
|
9
|
+
|
|
10
|
+
## [4.3.1-beta.1](https://github.com/AlaskaAirlines/auro-library/compare/v4.3.0...v4.3.1-beta.1) (2025-04-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* add .element to fix undefined value on isPopoverVisible ([69f4223](https://github.com/AlaskaAirlines/auro-library/commit/69f4223e35a6f180d932e669c2514a03369a47a3))
|
|
16
|
+
|
|
3
17
|
# [4.3.0](https://github.com/AlaskaAirlines/auro-library/compare/v4.2.1...v4.3.0) (2025-04-18)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -265,7 +265,7 @@ export default class AuroFloatingUI {
|
|
|
265
265
|
/**
|
|
266
266
|
* @private
|
|
267
267
|
* getting called on 'blur' in trigger or `focusin` in document
|
|
268
|
-
*
|
|
268
|
+
*
|
|
269
269
|
* Hides the bib if focus moves outside of the trigger or bib, unless a 'noHideOnThisFocusLoss' flag is set.
|
|
270
270
|
* This method checks if the currently active element is still within the trigger or bib.
|
|
271
271
|
* If not, and if the bib isn't in fullscreen mode with focus lost, it hides the bib.
|
|
@@ -381,7 +381,7 @@ export default class AuroFloatingUI {
|
|
|
381
381
|
// Close any other dropdown that is already open
|
|
382
382
|
const existedVisibleFloatingUI = document.expandedAuroFormkitDropdown || document.expandedAuroFloater;
|
|
383
383
|
if (existedVisibleFloatingUI && existedVisibleFloatingUI !== this &&
|
|
384
|
-
existedVisibleFloatingUI.isPopoverVisible &&
|
|
384
|
+
existedVisibleFloatingUI.element.isPopoverVisible &&
|
|
385
385
|
document.expandedAuroFloater.eventPrefix === this.eventPrefix) {
|
|
386
386
|
document.expandedAuroFloater.hideBib();
|
|
387
387
|
}
|
|
@@ -558,7 +558,7 @@ export default class AuroFloatingUI {
|
|
|
558
558
|
this.id = window.crypto.randomUUID();
|
|
559
559
|
this.element.setAttribute('id', this.id);
|
|
560
560
|
}
|
|
561
|
-
|
|
561
|
+
|
|
562
562
|
this.element.bib.setAttribute("id", `${this.id}-floater-bib`);
|
|
563
563
|
}
|
|
564
564
|
|
|
@@ -611,7 +611,7 @@ export default class AuroFloatingUI {
|
|
|
611
611
|
if (this.element.bib) {
|
|
612
612
|
this.element.shadowRoot.append(this.element.bib);
|
|
613
613
|
}
|
|
614
|
-
|
|
614
|
+
|
|
615
615
|
// Remove event & keyboard listeners
|
|
616
616
|
if (this.element?.trigger) {
|
|
617
617
|
this.element.trigger.removeEventListener('keydown', this.handleEvent);
|