@muraldevkit/ui-toolkit 2.47.1-dev.1 → 2.47.2

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.
@@ -13,7 +13,7 @@ export interface MenuWithIconTriggerProps {
13
13
  /**
14
14
  * Demo of a menu with a trigger for stories and testing
15
15
  *
16
- * @param {MenuWithTriggerProps} props - The props for the menu with trigger
16
+ * @param {MenuWithIconTriggerProps} props - The props for the menu with trigger
17
17
  * @returns {Element} The menu with trigger demo
18
18
  */
19
19
  export declare const MenuWithIconTrigger: ({ alignment, position, spacing, actionState, customPosition, onClose, triggerAlignment }: MenuWithIconTriggerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { RefObject } from 'react';
1
2
  import { Alignment, Position } from './constants';
2
3
  /**
3
4
  * useTriggerPosition hook.
@@ -12,4 +13,4 @@ import { Alignment, Position } from './constants';
12
13
  * @param disable - Whether to disable the hook.
13
14
  * @returns {Position} The calculated position of the menu element.
14
15
  */
15
- export declare const useTriggerPosition: (triggerRef: React.RefObject<HTMLElement> | undefined, elementRef: React.RefObject<HTMLElement>, menuAlign: Alignment, isElementVisible?: boolean, menuOffset?: number, disable?: boolean) => Position;
16
+ export declare const useTriggerPosition: (triggerRef: RefObject<HTMLElement> | undefined, elementRef: RefObject<HTMLElement>, menuAlign: Alignment, isElementVisible?: boolean, menuOffset?: number, disable?: boolean) => Position;