@muraldevkit/ui-toolkit 2.31.3 → 2.31.4

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.
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
+ import { MenuWithTriggerProps } from './MenuWithTrigger';
2
3
  /**
3
- * Demo of a menu group with a trigger for stories and testing
4
+ * Demo of a menu with a trigger for stories and testing
4
5
  *
5
- * @returns {Element} The menu group with trigger demo
6
+ * @param {MenuWithTriggerProps} props - The props for the menu with trigger
7
+ * @returns {Element} The menu with trigger demo
6
8
  */
7
- export declare const MenuGroupWithTrigger: () => JSX.Element;
9
+ export declare const MenuGroupWithTrigger: ({ alignment, position, spacing, actionState, customPosition, onClose }: MenuWithTriggerProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { CustomMenuPosition } from '../';
3
3
  import { MenuPosition, ActionState, MenuAlignment } from '../constants';
4
- interface MenuWithTriggerProps {
4
+ export interface MenuWithTriggerProps {
5
5
  position?: MenuPosition;
6
6
  spacing?: 'default' | 'compact';
7
7
  alignment?: MenuAlignment;
@@ -17,4 +17,3 @@ interface MenuWithTriggerProps {
17
17
  * @returns {Element} The menu with trigger demo
18
18
  */
19
19
  export declare const MenuWithTrigger: ({ alignment, position, spacing, actionState, customPosition, onClose, triggerAlignment }: MenuWithTriggerProps) => JSX.Element;
20
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "2.31.3",
3
+ "version": "2.31.4",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",