@conboai/storybook.components 0.4.28 → 0.4.30
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/build/index.d.ts +1 -0
- package/dist/components/MapPlayer/MapPlayer.d.ts +27 -0
- package/dist/components/MapPlayer/index.d.ts +1 -0
- package/dist/components/MapPlayer/styles.d.ts +26 -0
- package/dist/components/Shapes/Shapes.d.ts +1 -1
- package/dist/storybook.components.mjs +18350 -18019
- package/package.json +1 -1
package/dist/build/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export { Shapes } from '../components/Shapes';
|
|
|
36
36
|
export { CustomDataGrid } from '../components/CustomDataGrid';
|
|
37
37
|
export { SearchBox } from '../components/SearchBox';
|
|
38
38
|
export { ImagePlayer } from '../components/ImagePlayer';
|
|
39
|
+
export { MapPlayer } from '../components/MapPlayer';
|
|
39
40
|
export * from '../interfaces/filter';
|
|
40
41
|
export * from '../interfaces/tab';
|
|
41
42
|
export * from '../interfaces/detailsView';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
|
|
4
|
+
export interface MapPlayerProps {
|
|
5
|
+
data: any[];
|
|
6
|
+
initialCenter: {
|
|
7
|
+
lat: number;
|
|
8
|
+
lng: number;
|
|
9
|
+
};
|
|
10
|
+
onChange?: (location: {
|
|
11
|
+
lat: number;
|
|
12
|
+
lng: number;
|
|
13
|
+
time: string;
|
|
14
|
+
}) => void;
|
|
15
|
+
onInitialLoad?: (location: {
|
|
16
|
+
lat: number;
|
|
17
|
+
lng: number;
|
|
18
|
+
time: string;
|
|
19
|
+
}) => void;
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
sx?: SxProps;
|
|
23
|
+
delay?: string;
|
|
24
|
+
onClear?: () => void;
|
|
25
|
+
}
|
|
26
|
+
declare const MapPlayer: React.FC<MapPlayerProps>;
|
|
27
|
+
export default MapPlayer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MapPlayer } from './MapPlayer';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
|
|
3
|
+
export declare const boxWrapperSx: SxProps;
|
|
4
|
+
export declare const boxContentSx: SxProps;
|
|
5
|
+
export declare const getIconBtnSx: (disabled?: boolean) => SxProps;
|
|
6
|
+
export declare const getTimeSx: (disabled?: boolean) => SxProps;
|
|
7
|
+
export declare const cardMediaSx: SxProps;
|
|
8
|
+
export declare const loaderSx: SxProps;
|
|
9
|
+
export declare const loaderContainerSx: {
|
|
10
|
+
position: string;
|
|
11
|
+
top: number;
|
|
12
|
+
left: number;
|
|
13
|
+
width: string;
|
|
14
|
+
height: string;
|
|
15
|
+
display: string;
|
|
16
|
+
justifyContent: string;
|
|
17
|
+
alignItems: string;
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
zIndex: number;
|
|
20
|
+
};
|
|
21
|
+
export declare const imageContainerSx: {
|
|
22
|
+
position: string;
|
|
23
|
+
display: string;
|
|
24
|
+
justifyContent: string;
|
|
25
|
+
alignItems: string;
|
|
26
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IShapesProps } from './types';
|
|
3
3
|
|
|
4
|
-
declare const Shapes: ({ children, mode: modeFromProps, onModeChange: _onModeChange, shapes: shapesFromProps, selected, onShapeChange, onShapeSelect, onMouseMove, menu, showNumbers, showId, showOnlyPoints, showPoints, showDirection, selectedShapeZIndex, styles }: IShapesProps) => React.JSX.Element;
|
|
4
|
+
declare const Shapes: ({ children, mode: modeFromProps, onModeChange: _onModeChange, shapes: shapesFromProps, selected, onShapeChange, onShapeSelect, onMouseMove, menu, showNumbers, showId, showOnlyPoints, showPoints, showDirection, selectedShapeZIndex, styles, }: IShapesProps) => React.JSX.Element;
|
|
5
5
|
export default Shapes;
|