@conboai/storybook.components 0.4.99 → 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.
@@ -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;
@@ -7,8 +7,8 @@ export { FilterBox } from '../components/FilterBox';
7
7
  export { MainTable } from '../components/MainTable';
8
8
  export { SearchInput } from '../components/SearchInput';
9
9
  export { NotificationBar } from '../components/NotificationBar';
10
- export { Tab } from '../components/Tab';
11
- export { TabsBar } from '../components/TabsBar';
10
+ export * from '../components/Tab';
11
+ export * from '../components/TabsBar';
12
12
  export { Header } from '../components/Header';
13
13
  export { HomeLink } from '../components/HomeLink';
14
14
  export { Svg } from '../components/Svg';
@@ -26,8 +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 { AlertPopup } from '../components/AlertPopup';
30
- export { extractPrefix, extractZip, startsWithAny, parseSvg, getParsedSvgViewsFromZip } from '../components/MetroMap/MetroMapUtils';
29
+ export { extractPrefix, extractZip, startsWithAny, parseSvg, getParsedSvgViewsFromZip, } from '../components/MetroMap/MetroMapUtils';
31
30
  export { TimelineChart } from '../components/TimelineChart';
32
31
  export { TrailPathView } from '../components/TrailPathView';
33
32
  export { LoadScriptWrapper } from '../components/Geo/LoadScriptWrapper';
@@ -38,7 +37,6 @@ export { SearchBox } from '../components/SearchBox';
38
37
  export { ImagePlayer } from '../components/ImagePlayer';
39
38
  export { MapPlayer } from '../components/MapPlayer';
40
39
  export * from '../interfaces/filter';
41
- export * from '../interfaces/tab';
42
40
  export * from '../interfaces/detailsView';
43
41
  export * from '../interfaces/appTitleBar';
44
42
  export * from '../interfaces/chipsMultiSelect';
@@ -53,6 +51,7 @@ export * from '../components/Shapes/types';
53
51
  export * from '../helpers/utils/utils';
54
52
  export * from '../helpers/utils/date';
55
53
  export * from '../helpers/constants';
54
+ export { toasterService } from '../helpers/services/toasterService';
56
55
  export * from '../mocks/chipsMultiSelect';
57
56
  export * from '../mocks/detailsView';
58
57
  export * from '../mocks/filter';
@@ -61,3 +60,5 @@ export * from '../mocks/tabs';
61
60
  export * from '../mocks/time';
62
61
  export * from '../assets/styles/colors';
63
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;
@@ -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[];
@@ -1,5 +1,12 @@
1
- import { default as React } from 'react';
2
- import { ITab } from '../../interfaces/tab';
1
+ import { FC } from 'react';
3
2
 
4
- declare const _default: React.NamedExoticComponent<ITab>;
5
- export default _default;
3
+ export interface ITab {
4
+ value?: string;
5
+ onEdit?: (value: string) => void;
6
+ onDelete?: () => void;
7
+ onClick?: () => void;
8
+ color?: string;
9
+ showDelete?: boolean;
10
+ isActive?: boolean;
11
+ }
12
+ export declare const Tab: FC<ITab>;
@@ -1 +1 @@
1
- export { default as Tab } from './Tab';
1
+ export * from './Tab';
@@ -1,5 +1,16 @@
1
1
  import { FC } from 'react';
2
- import { ITabsBar } from '../../interfaces/tab';
3
2
 
4
- declare const TabsBar: FC<ITabsBar>;
5
- export default TabsBar;
3
+ export type TypeTab = {
4
+ id: string;
5
+ color: string;
6
+ title: string;
7
+ };
8
+ export interface ITabsBar {
9
+ tabs?: Array<TypeTab>;
10
+ activeId?: string;
11
+ onDelete?: (id: string) => void;
12
+ onEdit?: (id: string, value: string) => void;
13
+ onAdd?: () => void;
14
+ onClick?: (id: string) => void;
15
+ }
16
+ export declare const TabsBar: FC<ITabsBar>;
@@ -1 +1 @@
1
- export { default as TabsBar } from './TabsBar';
1
+ export * from './TabsBar';
@@ -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 {};