@mdtl/uikit 0.0.32 → 0.0.34

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,7 @@
1
+ import * as React from 'react';
2
+ interface ILoadingIndicatorProps {
3
+ open: boolean;
4
+ message?: string;
5
+ }
6
+ export declare const LoadingIndicator: React.FC<ILoadingIndicatorProps>;
7
+ export {};
@@ -0,0 +1,12 @@
1
+ import { default as React, FC } from 'react';
2
+ import { SnackbarStyle } from './interfaces';
3
+ interface ISnackbarProps {
4
+ isOpen: boolean;
5
+ style: SnackbarStyle;
6
+ label: string;
7
+ description: string | string[];
8
+ action?: React.ReactNode;
9
+ setConfig: (config: Partial<ISnackbarProps>) => void;
10
+ }
11
+ export declare const Snackbar: FC<ISnackbarProps>;
12
+ export {};
@@ -0,0 +1 @@
1
+ export type SnackbarStyle = 'primary' | 'secondary' | 'warning' | 'error' | 'success';
package/dist/index.d.ts CHANGED
@@ -15,4 +15,6 @@ export { Menu } from './components/Menu/Menu';
15
15
  export * from './components/Menu/interfaces';
16
16
  export { ExpandableText } from './components/ExpandableText/ExpandableText';
17
17
  export { CustomSwitch } from './components/CustomSwitch/CustomSwitch';
18
+ export { LoadingIndicator } from './components/LoadingIndicator/LoadingIndicator';
19
+ export { Snackbar } from './components/Snackbar/Snackbar';
18
20
  export { generateGuid } from './utils/generateGuid';