@muraldevkit/ui-toolkit 2.31.3 → 2.32.0

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.
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ interface MrlEmptyProps {
3
+ graphic?: JSX.Element;
4
+ heading: string;
5
+ description: string;
6
+ action?: JSX.Element;
7
+ }
8
+ /**
9
+ * MrlEmpty for when there is no data to display for a single component.
10
+ *
11
+ * @param MrlEmptyProps props
12
+ * @returns MrlEmpty component
13
+ */
14
+ export declare const MrlEmpty: ({ graphic, description, action, heading }: MrlEmptyProps) => JSX.Element;
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from './MrlEmpty';
@@ -0,0 +1,2 @@
1
+ export * from './default';
2
+ export * from './large';
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ interface MrlEmptyLargeProps {
3
+ graphic?: JSX.Element;
4
+ heading: string;
5
+ description: string;
6
+ action?: JSX.Element;
7
+ }
8
+ /**
9
+ * MrlEmptyLarge for when there is no data to display for an entire page.
10
+ *
11
+ * @param MrlEmptyProps props
12
+ * @returns MrlEmptyLarge
13
+ */
14
+ export declare const MrlEmptyLarge: ({ graphic, heading, description, action }: MrlEmptyLargeProps) => JSX.Element;
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from './MrlEmptyLarge';
@@ -20,3 +20,4 @@ export * from './tooltip';
20
20
  export * from './portal';
21
21
  export * from './navigation-sidebar';
22
22
  export * from './skeleton';
23
+ export * from './empty';
@@ -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 {};