@muraldevkit/ui-toolkit 4.36.0-dev-tJX9.1 → 4.36.1-dev-wCfI.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "4.36.0-dev-tJX9.1",
3
+ "version": "4.36.1-dev-wCfI.1",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1,18 +0,0 @@
1
- import { RefObject } from 'react';
2
- import { MrlTooltipAnchor, MrlTooltipPosition } from '../constants';
3
- interface PositionStyle {
4
- top: number;
5
- left: number;
6
- }
7
- /**
8
- * Calculates and returns the position style for a tooltip based on the trigger element, tooltip element, position, and anchor.
9
- *
10
- * @param triggerRef - A reference to the trigger element that the tooltip is anchored to.
11
- * @param tooltipRef - A reference to the tooltip element whose position is being calculated.
12
- * @param position - The position of the tooltip relative to the trigger element (e.g., 'top', 'bottom', 'left', 'right').
13
- * @param anchor - The anchor point of the tooltip relative to the trigger element (e.g., 'start', 'center', 'end').
14
- * @param isVisible - A boolean indicating whether the tooltip is visible.
15
- * @returns An object containing the calculated `top` and `left` values for the tooltip's position.
16
- */
17
- export declare function useTooltipPosition(triggerRef: RefObject<HTMLElement>, tooltipRef: RefObject<HTMLElement>, position: MrlTooltipPosition, anchor: MrlTooltipAnchor, isVisible: boolean): PositionStyle;
18
- export {};