@aurodesignsystem/auro-library 5.2.2 → 5.2.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.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/scripts/runtime/floatingUI.mjs +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [5.2.3](https://github.com/AlaskaAirlines/auro-library/compare/v5.2.2...v5.2.3) (2025-07-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* check for matchWidth before forcing dropdown width ([706f7ee](https://github.com/AlaskaAirlines/auro-library/commit/706f7eefe15d2ab5f5e208a14fe6e337d5b4e1c5))
|
|
9
|
+
|
|
3
10
|
## [5.2.2](https://github.com/AlaskaAirlines/auro-library/compare/v5.2.1...v5.2.2) (2025-06-27)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -95,7 +95,7 @@ export default class AuroFloatingUI {
|
|
|
95
95
|
*/
|
|
96
96
|
mirrorSize() {
|
|
97
97
|
// mirror the boxsize from bibSizer
|
|
98
|
-
if (this.element.bibSizer) {
|
|
98
|
+
if (this.element.bibSizer && this.element.matchWidth) {
|
|
99
99
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
100
100
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
101
101
|
if (sizerStyle.width !== '0px') {
|
|
@@ -307,7 +307,7 @@ export default class AuroFloatingUI {
|
|
|
307
307
|
if (this.element.contains(activeElement) || this.element.bib?.contains(activeElement)) {
|
|
308
308
|
return;
|
|
309
309
|
}
|
|
310
|
-
|
|
310
|
+
|
|
311
311
|
// if fullscreen bib is in fullscreen mode, do not close
|
|
312
312
|
if (this.element.bib.hasAttribute('isfullscreen')) {
|
|
313
313
|
return;
|
|
@@ -495,7 +495,7 @@ export default class AuroFloatingUI {
|
|
|
495
495
|
|
|
496
496
|
event.preventDefault();
|
|
497
497
|
this.handleClick();
|
|
498
|
-
}
|
|
498
|
+
}
|
|
499
499
|
break;
|
|
500
500
|
case 'mouseenter':
|
|
501
501
|
if (this.element.hoverToggle) {
|