@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.
- package/dist/components/empty/default/MrlEmpty.d.ts +15 -0
- package/dist/components/empty/default/index.d.ts +1 -0
- package/dist/components/empty/index.d.ts +2 -0
- package/dist/components/empty/large/MrlEmptyLarge.d.ts +15 -0
- package/dist/components/empty/large/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/menu/demo/MenuGroupWithTrigger.d.ts +5 -3
- package/dist/components/menu/demo/MenuWithTrigger.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/styles/empty/module.scss +18 -0
- package/package.json +1 -1
|
@@ -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,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';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { MenuWithTriggerProps } from './MenuWithTrigger';
|
|
2
3
|
/**
|
|
3
|
-
* Demo of a menu
|
|
4
|
+
* Demo of a menu with a trigger for stories and testing
|
|
4
5
|
*
|
|
5
|
-
* @
|
|
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 {};
|