@conboai/storybook.components 0.2.3 → 0.2.4

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,9 @@
1
+ import { default as React, FC } from 'react';
2
+
3
+ interface IMediaModalProps {
4
+ open: boolean;
5
+ handleClose: () => void;
6
+ children: React.ReactNode;
7
+ }
8
+ declare const MediaModal: FC<IMediaModalProps>;
9
+ export default MediaModal;
@@ -0,0 +1,4 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const modalSx: SxProps;
4
+ export declare const closeButtonSx: SxProps;
@@ -18,6 +18,7 @@ interface Icons {
18
18
  play: Icon;
19
19
  pause: Icon;
20
20
  downloadVideo: Icon;
21
+ fullScreen: Icon;
21
22
  }
22
23
  interface Icon {
23
24
  paths: string[];
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+
3
+ interface IVideoModalProps {
4
+ isModalOpen?: boolean;
5
+ onModalClose: () => void;
6
+ isLoading?: boolean;
7
+ src: string;
8
+ isHls?: boolean;
9
+ }
10
+ declare const VideoModal: FC<IVideoModalProps>;
11
+ export default VideoModal;
@@ -4,6 +4,8 @@ interface IVideoPlayer {
4
4
  isLoading?: boolean;
5
5
  src: string;
6
6
  isHls?: boolean;
7
+ onFullScreen?: (value: boolean) => void;
8
+ isModalOpen?: boolean;
7
9
  }
8
10
  declare const VideoPlayer: FC<IVideoPlayer>;
9
11
  export default VideoPlayer;
@@ -1,3 +1,8 @@
1
1
  import { SxProps } from '@mui/material';
2
+ import { CSSProperties } from 'react';
2
3
 
3
4
  export declare const gridSx: SxProps;
5
+ export declare const playControlsSx: SxProps;
6
+ export declare const containerSx: (isModalOpen: boolean) => SxProps;
7
+ export declare const videoStyles: (isLoading: boolean) => CSSProperties | undefined;
8
+ export declare const controlsSx: (isModalOpen: boolean) => SxProps;