@aurodesignsystem/auro-library 5.3.0 → 5.3.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 +14 -0
- package/package.json +1 -1
- package/scripts/runtime/floatingUI.mjs +2 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [5.3.2](https://github.com/AlaskaAirlines/auro-library/compare/v5.3.1...v5.3.2) (2025-07-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* remove mousedown `preventDefault` on bib ([0f92a2f](https://github.com/AlaskaAirlines/auro-library/commit/0f92a2fd3c10cbe0c2d978aa6b3bf2404fae0761))
|
|
9
|
+
|
|
10
|
+
## [5.3.1](https://github.com/AlaskaAirlines/auro-library/compare/v5.3.0...v5.3.1) (2025-07-11)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* add contain: layout as needed to resolve issues with positioning in projects that use tailwindcss ([ad8474d](https://github.com/AlaskaAirlines/auro-library/commit/ad8474d958bcf088be880f494f0505e873819490))
|
|
16
|
+
|
|
3
17
|
# [5.3.0](https://github.com/AlaskaAirlines/auro-library/compare/v5.2.3...v5.3.0) (2025-07-04)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -231,6 +231,7 @@ export default class AuroFloatingUI {
|
|
|
231
231
|
this.element.bib.style.left = "0px";
|
|
232
232
|
this.element.bib.style.width = '';
|
|
233
233
|
this.element.bib.style.height = '';
|
|
234
|
+
this.element.style.contain = '';
|
|
234
235
|
|
|
235
236
|
// reset the size that was mirroring `size` css-part
|
|
236
237
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
@@ -255,6 +256,7 @@ export default class AuroFloatingUI {
|
|
|
255
256
|
this.element.bib.style.position = '';
|
|
256
257
|
this.element.bib.removeAttribute('isfullscreen');
|
|
257
258
|
this.element.isBibFullscreen = false;
|
|
259
|
+
this.element.style.contain = 'layout';
|
|
258
260
|
}
|
|
259
261
|
|
|
260
262
|
const isChanged = this.strategy && this.strategy !== value;
|
|
@@ -317,12 +319,6 @@ export default class AuroFloatingUI {
|
|
|
317
319
|
}
|
|
318
320
|
|
|
319
321
|
setupHideHandlers() {
|
|
320
|
-
this.preventFocusLoseOnBibClick = (event) => {
|
|
321
|
-
event.preventDefault();
|
|
322
|
-
event.stopPropagation();
|
|
323
|
-
};
|
|
324
|
-
this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
|
|
325
|
-
|
|
326
322
|
// Define handlers & store references
|
|
327
323
|
this.focusHandler = () => this.handleFocusLoss();
|
|
328
324
|
|
|
@@ -372,11 +368,6 @@ export default class AuroFloatingUI {
|
|
|
372
368
|
cleanupHideHandlers() {
|
|
373
369
|
// Remove event listeners if they exist
|
|
374
370
|
|
|
375
|
-
if (this.preventFocusLoseOnBibClick) {
|
|
376
|
-
this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
|
|
377
|
-
delete this.preventFocusLoseOnBibClick;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
371
|
if (this.focusHandler) {
|
|
381
372
|
document.removeEventListener('focusin', this.focusHandler);
|
|
382
373
|
this.focusHandler = null;
|