@conboai/storybook.components 0.5.1 → 0.5.3

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,4 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const ErrorIcon: () => React.JSX.Element;
4
+ export default ErrorIcon;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const InfoIcon: () => React.JSX.Element;
4
+ export default InfoIcon;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const SuccessIcon: () => React.JSX.Element;
4
+ export default SuccessIcon;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const WarningIcon: () => React.JSX.Element;
4
+ export default WarningIcon;
@@ -1 +1,5 @@
1
1
  export { default as ThreeDotsIcon } from './ThreeDotsIcon';
2
+ export { default as InfoIcon } from './InfoIcon';
3
+ export { default as ErrorIcon } from './ErrorIcon';
4
+ export { default as WarningIcon } from './WarningIcon';
5
+ export { default as SuccessIcon } from './SuccessIcon';
@@ -0,0 +1,3 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const closeIconSx: SxProps;
@@ -26,7 +26,7 @@ export { ImageBox } from '../components/ImageBox';
26
26
  export { CustomSelect } from '../components/CustomSelect';
27
27
  export { MetroMap } from '../components/MetroMap';
28
28
  export { CustomInput } from '../components/CustomInput';
29
- export { extractPrefix, extractZip, startsWithAny, parseSvg, getParsedSvgViewsFromZip } from '../components/MetroMap/MetroMapUtils';
29
+ export { extractPrefix, extractZip, startsWithAny, parseSvg, getParsedSvgViewsFromZip, } from '../components/MetroMap/MetroMapUtils';
30
30
  export { TimelineChart } from '../components/TimelineChart';
31
31
  export { TrailPathView } from '../components/TrailPathView';
32
32
  export { LoadScriptWrapper } from '../components/Geo/LoadScriptWrapper';
@@ -51,6 +51,7 @@ export * from '../components/Shapes/types';
51
51
  export * from '../helpers/utils/utils';
52
52
  export * from '../helpers/utils/date';
53
53
  export * from '../helpers/constants';
54
+ export { toasterService } from '../helpers/services/toasterService';
54
55
  export * from '../mocks/chipsMultiSelect';
55
56
  export * from '../mocks/detailsView';
56
57
  export * from '../mocks/filter';
@@ -59,3 +60,5 @@ export * from '../mocks/tabs';
59
60
  export * from '../mocks/time';
60
61
  export * from '../assets/styles/colors';
61
62
  export * from '../assets/styles/common';
63
+ export * from '../assets/icons';
64
+ export { Toast } from '../shared/Toast';
@@ -2,6 +2,7 @@ import { ReactNode } from 'react';
2
2
  import { LibraryTypes } from './types';
3
3
 
4
4
  export declare const libraries: LibraryTypes[];
5
- export declare const LoadScriptWrapper: ({ children }: {
5
+ export declare const LoadScriptWrapper: ({ children, apiKey }: {
6
6
  children: ReactNode;
7
+ apiKey: string;
7
8
  }) => JSX.Element;
@@ -3,8 +3,8 @@ import { default as React } from 'react';
3
3
  interface ImageBoxProps {
4
4
  images: string[];
5
5
  imgIndex?: number;
6
- isFirstPage: boolean;
7
- setToFirstPage: (value: boolean) => void;
6
+ isFirstPage?: boolean;
7
+ setToFirstPage?: (value: boolean) => void;
8
8
  }
9
9
  declare const ImageBox: React.FC<ImageBoxProps>;
10
10
  export default ImageBox;
@@ -78,6 +78,7 @@ interface Icons {
78
78
  copy: Icon;
79
79
  show: Icon;
80
80
  hide: Icon;
81
+ largeClose: Icon;
81
82
  }
82
83
  interface Icon {
83
84
  paths: string[];
@@ -0,0 +1,11 @@
1
+ import { ToastOptions, Id } from 'react-toastify';
2
+
3
+ declare class ToasterService {
4
+ open(message: string, options?: ToastOptions): Id;
5
+ success(message: string, options?: ToastOptions): Id;
6
+ error(message: string, options?: ToastOptions): Id;
7
+ info(message: string, options?: ToastOptions): Id;
8
+ warning(message: string, options?: ToastOptions): Id;
9
+ }
10
+ export declare const toasterService: ToasterService;
11
+ export {};