@aurodesignsystem/auro-library 4.5.0 → 5.0.0
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 +12 -0
- package/package.json +1 -1
- package/scripts/runtime/floatingUI.mjs +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
# [5.0.0](https://github.com/AlaskaAirlines/auro-library/compare/v4.5.0...v5.0.0) (2025-05-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update positioning strategy and remove dom node transportation from FloatingUI ([3e01ab2](https://github.com/AlaskaAirlines/auro-library/commit/3e01ab2e8cadfa76d7d057abc6626b7b09ef568f))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### BREAKING CHANGES
|
|
12
|
+
|
|
13
|
+
* this changes the fundamental strategy for implementing FloatingUI and will require accommodating changes in consuming code to work correctly
|
|
14
|
+
|
|
3
15
|
# [4.5.0](https://github.com/AlaskaAirlines/auro-library/compare/v4.4.1...v4.5.0) (2025-05-15)
|
|
4
16
|
|
|
5
17
|
|
package/package.json
CHANGED
|
@@ -152,6 +152,7 @@ export default class AuroFloatingUI {
|
|
|
152
152
|
|
|
153
153
|
// Compute the position of the bib
|
|
154
154
|
computePosition(this.element.trigger, this.element.bib, {
|
|
155
|
+
strategy: this.element.floaterConfig?.strategy || 'fixed',
|
|
155
156
|
placement: this.element.floaterConfig?.placement,
|
|
156
157
|
middleware: middleware || []
|
|
157
158
|
}).then(({ x, y }) => { // eslint-disable-line id-length
|
|
@@ -589,8 +590,6 @@ export default class AuroFloatingUI {
|
|
|
589
590
|
this.element.hoverToggle = this.element.floaterConfig.hoverToggle;
|
|
590
591
|
}
|
|
591
592
|
|
|
592
|
-
document.body.append(this.element.bib);
|
|
593
|
-
|
|
594
593
|
this.regenerateBibId();
|
|
595
594
|
this.handleTriggerTabIndex();
|
|
596
595
|
|