@conboai/storybook.components 0.5.1 → 0.5.2
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/assets/icons/ErrorIcon.d.ts +4 -0
- package/dist/assets/icons/InfoIcon.d.ts +4 -0
- package/dist/assets/icons/SuccessIcon.d.ts +4 -0
- package/dist/assets/icons/WarningIcon.d.ts +4 -0
- package/dist/assets/icons/index.d.ts +4 -0
- package/dist/assets/icons/styles.d.ts +3 -0
- package/dist/build/index.d.ts +4 -1
- package/dist/components/Geo/LoadScriptWrapper.d.ts +2 -1
- package/dist/components/Svg/icons.d.ts +1 -0
- package/dist/helpers/services/toasterService.d.ts +11 -0
- package/dist/storybook.components.mjs +17440 -16901
- package/dist/style.css +1 -1
- package/package.json +2 -1
|
@@ -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';
|
package/dist/build/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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 {};
|