@aurodesignsystem/auro-library 5.3.1 → 5.3.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 +14 -0
- package/package.json +10 -10
- package/scripts/runtime/floatingUI.mjs +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [5.3.3](https://github.com/AlaskaAirlines/auro-library/compare/v5.3.2...v5.3.3) (2025-08-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* move test related dependencies to devDependencies ([3d877f8](https://github.com/AlaskaAirlines/auro-library/commit/3d877f86c8a98b9ecdb44d83329fe391a8379483))
|
|
9
|
+
|
|
10
|
+
## [5.3.2](https://github.com/AlaskaAirlines/auro-library/compare/v5.3.1...v5.3.2) (2025-07-16)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* remove mousedown `preventDefault` on bib ([0f92a2f](https://github.com/AlaskaAirlines/auro-library/commit/0f92a2fd3c10cbe0c2d978aa6b3bf2404fae0761))
|
|
16
|
+
|
|
3
17
|
## [5.3.1](https://github.com/AlaskaAirlines/auro-library/compare/v5.3.0...v5.3.1) (2025-07-11)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurodesignsystem/auro-library",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.3",
|
|
4
4
|
"description": "This repository holds shared scripts, utilities, and workflows utilized across repositories along the Auro Design System.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,16 @@
|
|
|
14
14
|
"bin": {
|
|
15
15
|
"generateDocs": "./bin/generateDocs.mjs"
|
|
16
16
|
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@floating-ui/dom": "^1.6.11",
|
|
19
|
+
"handlebars": "^4.7.8",
|
|
20
|
+
"markdown-magic": "^2.6.1"
|
|
21
|
+
},
|
|
17
22
|
"devDependencies": {
|
|
23
|
+
"sinon": "^20.0.0",
|
|
24
|
+
"npm-run-all": "^4.1.5",
|
|
25
|
+
"@open-wc/testing": "^4.0.0",
|
|
26
|
+
"@aurodesignsystem/auro-cli": "^2.5.0",
|
|
18
27
|
"@aurodesignsystem/eslint-config": "1.3.4",
|
|
19
28
|
"@commitlint/cli": "^18.5.0",
|
|
20
29
|
"@commitlint/config-conventional": "^18.5.0",
|
|
@@ -79,14 +88,5 @@
|
|
|
79
88
|
},
|
|
80
89
|
"bugs": {
|
|
81
90
|
"url": "https://github.com/AlaskaAirlines/auro-library/issues"
|
|
82
|
-
},
|
|
83
|
-
"dependencies": {
|
|
84
|
-
"@aurodesignsystem/auro-cli": "^2.5.0",
|
|
85
|
-
"@floating-ui/dom": "^1.6.11",
|
|
86
|
-
"@open-wc/testing": "^4.0.0",
|
|
87
|
-
"handlebars": "^4.7.8",
|
|
88
|
-
"markdown-magic": "^2.6.1",
|
|
89
|
-
"npm-run-all": "^4.1.5",
|
|
90
|
-
"sinon": "^20.0.0"
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -319,12 +319,6 @@ export default class AuroFloatingUI {
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
setupHideHandlers() {
|
|
322
|
-
this.preventFocusLoseOnBibClick = (event) => {
|
|
323
|
-
event.preventDefault();
|
|
324
|
-
event.stopPropagation();
|
|
325
|
-
};
|
|
326
|
-
this.element.bib.addEventListener('mousedown', this.preventFocusLoseOnBibClick);
|
|
327
|
-
|
|
328
322
|
// Define handlers & store references
|
|
329
323
|
this.focusHandler = () => this.handleFocusLoss();
|
|
330
324
|
|
|
@@ -374,11 +368,6 @@ export default class AuroFloatingUI {
|
|
|
374
368
|
cleanupHideHandlers() {
|
|
375
369
|
// Remove event listeners if they exist
|
|
376
370
|
|
|
377
|
-
if (this.preventFocusLoseOnBibClick) {
|
|
378
|
-
this.element.bib.removeEventListener('mousedown', this.preventFocusLoseOnBibClick);
|
|
379
|
-
delete this.preventFocusLoseOnBibClick;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
371
|
if (this.focusHandler) {
|
|
383
372
|
document.removeEventListener('focusin', this.focusHandler);
|
|
384
373
|
this.focusHandler = null;
|