@aurodesignsystem/auro-library 5.4.0 → 5.5.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ ## [5.5.1](https://github.com/AlaskaAirlines/auro-library/compare/v5.5.0...v5.5.1) (2025-08-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * convert a11ytransporter to be a module (.mjs) and add barrel file support ([846f5ab](https://github.com/AlaskaAirlines/auro-library/commit/846f5aba4586f3cca922ce363196e764936ea3ca))
9
+
10
+ # [5.5.0](https://github.com/AlaskaAirlines/auro-library/compare/v5.4.0...v5.5.0) (2025-08-19)
11
+
12
+
13
+ ### Features
14
+
15
+ * add shift middleware to AuroFloatingUI configuration [#191](https://github.com/AlaskaAirlines/auro-library/issues/191) ([5f6d291](https://github.com/AlaskaAirlines/auro-library/commit/5f6d29165b0a1473f1e6085c0de3f3ba9b79f966))
16
+
3
17
  # [5.4.0](https://github.com/AlaskaAirlines/auro-library/compare/v5.3.3...v5.4.0) (2025-08-14)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem/auro-library",
3
- "version": "5.4.0",
3
+ "version": "5.5.1",
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",
@@ -0,0 +1,2 @@
1
+ export { transportAriaAttributes, transportAllA11yAttributes } from "./a11yTransporter.mjs";
2
+ export { transportAttributes } from "./transportAttributes.mjs";
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable line-comment-position, no-inline-comments */
2
2
 
3
- import { autoUpdate, computePosition, offset, autoPlacement, flip } from '@floating-ui/dom';
3
+ import { autoUpdate, computePosition, offset, autoPlacement, flip, shift } from '@floating-ui/dom';
4
4
 
5
5
 
6
6
  const MAX_CONFIGURATION_COUNT = 10;
@@ -166,6 +166,7 @@ export default class AuroFloatingUI {
166
166
  // Define the middlware for the floater configuration
167
167
  const middleware = [
168
168
  offset(this.element.floaterConfig?.offset || 0),
169
+ ...this.element.floaterConfig?.shift ? [shift()] : [], // Add shift middleware if shift is enabled.
169
170
  ...this.element.floaterConfig?.flip ? [flip()] : [], // Add flip middleware if flip is enabled.
170
171
  ...this.element.floaterConfig?.autoPlacement ? [autoPlacement()] : [], // Add autoPlacement middleware if autoPlacement is enabled.
171
172
  ];