@conboai/storybook.components 0.4.75 → 0.4.77

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.
@@ -11,7 +11,6 @@ export interface ImagePlayerProps {
11
11
  formatCaptureTime: (snapshot: Snapshot) => string;
12
12
  onChange?: (snapshot: Snapshot) => void;
13
13
  onInitialLoad?: (snapshot: Snapshot) => void;
14
- loading?: boolean;
15
14
  disabled?: boolean;
16
15
  sx?: SxProps;
17
16
  shapes: Shape[];
@@ -1,23 +1,6 @@
1
1
  import { SxProps } from '@mui/material';
2
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
3
  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
4
  export declare const imageContainerSx: {
22
5
  position: string;
23
6
  display: string;
@@ -15,14 +15,12 @@ export interface MapPlayerProps {
15
15
  lat: number;
16
16
  }[];
17
17
  }) => void;
18
- loading?: boolean;
19
18
  disabled?: boolean;
20
19
  sx?: SxProps;
21
20
  clearFrameDetails?: () => void;
22
21
  fetchFrameDetails?: (value: string) => void;
23
22
  delay?: string;
24
23
  onClear?: () => void;
25
- previewImageSize?: string;
26
24
  mapHeight?: string;
27
25
  getCurrentTime?: (value: string) => void;
28
26
  onSelectPoint?: (geo: GeoType) => void;
@@ -1,26 +1,3 @@
1
1
  import { SxProps } from '@mui/material';
2
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
- };
3
+ export declare const getGeoBoxSx: (mapHeight: string) => SxProps;
@@ -0,0 +1,24 @@
1
+ import { default as React, ReactNode } from 'react';
2
+
3
+ interface IPlayerPanel {
4
+ disabled?: boolean;
5
+ data: any[];
6
+ startTime?: string;
7
+ currentTime?: string;
8
+ endTime?: string;
9
+ delay?: string;
10
+ isPlayingForward?: boolean;
11
+ isPlayingBackward?: boolean;
12
+ currentIndex?: number;
13
+ onSliderChange: (event: any, newValue: any) => void;
14
+ onSliderChangeCommitted: (event: any, newValue: any) => void;
15
+ onValueLabelFormat: string | ((value: number, index: number) => ReactNode) | undefined;
16
+ onStep: (value: number) => void;
17
+ onPlayingBackwardClick: () => void;
18
+ onPlayingForwardClick: () => void;
19
+ onSetStepForAutoPlay: (value: number) => void;
20
+ stepForAutoPlay: number;
21
+ maxSliderValue?: number;
22
+ }
23
+ declare const PlayerPanel: ({ disabled, data, startTime, currentTime, endTime, delay, isPlayingBackward, isPlayingForward, currentIndex, onSliderChange, onSliderChangeCommitted, onValueLabelFormat, onStep, onPlayingBackwardClick, onPlayingForwardClick, onSetStepForAutoPlay, stepForAutoPlay, maxSliderValue, }: IPlayerPanel) => React.JSX.Element;
24
+ export default PlayerPanel;
@@ -0,0 +1 @@
1
+ export { default as PlayerPanel } from './PlayerPanel';
@@ -0,0 +1,7 @@
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 sliderSx: SxProps;
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ITab } from '../../interfaces/tab';
3
3
 
4
- declare const Tab: FC<ITab>;
5
- export default Tab;
4
+ declare const _default: React.NamedExoticComponent<ITab>;
5
+ export default _default;