@trackunit/react-drawer 1.13.30 → 1.13.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-drawer",
3
- "version": "1.13.30",
3
+ "version": "1.13.32",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -9,10 +9,10 @@
9
9
  "dependencies": {
10
10
  "react": "19.0.0",
11
11
  "react-swipeable": "^7.0.1",
12
- "@trackunit/react-components": "1.17.26",
13
- "@trackunit/css-class-variance-utilities": "1.11.44",
14
- "@trackunit/ui-icons": "1.11.43",
15
- "@trackunit/i18n-library-translation": "1.12.29"
12
+ "@trackunit/react-components": "1.17.28",
13
+ "@trackunit/css-class-variance-utilities": "1.11.45",
14
+ "@trackunit/ui-icons": "1.11.44",
15
+ "@trackunit/i18n-library-translation": "1.12.31"
16
16
  },
17
17
  "module": "./index.esm.js",
18
18
  "main": "./index.cjs.js",
@@ -5,13 +5,6 @@ interface UseSwipeHandlersProps {
5
5
  onDragEnd?: (dragDistance: number, velocity: number) => void;
6
6
  constrainDrag?: (dragDistance: number) => boolean;
7
7
  }
8
- /**
9
- * Retrieves the Y-axis translation value of a given HTML element.
10
- *
11
- * @param element - The HTML element for which to get the Y translation. If not provided or null, returns 0.
12
- * @returns {number} - The Y translation value of the element. Returns 0 if the element is not provided or if the transform style is "none".
13
- */
14
- export declare const getElementYTranslation: (element?: HTMLElement | null) => number;
15
8
  /**
16
9
  * Hook for handling swipe events on the drawer.
17
10
  *