react-covideo-embed 1.0.0 → 1.0.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/build/app/App.d.ts +2 -1
- package/build/app/pages/insertVideo/InsertVideo.d.ts +1 -1
- package/build/app/pages/insertVideo/components/CopyVideoButton.d.ts +1 -1
- package/build/app/pages/insertVideo/components/InsertButton.d.ts +1 -1
- package/build/app/pages/insertVideo/components/InsertVideoSettings.d.ts +1 -1
- package/build/app/pages/insertVideo/components/VehicleSearch.d.ts +1 -1
- package/build/app/pages/lesaTV/LesaTV.d.ts +1 -1
- package/build/app/pages/lesaTV/components/PageInfo.d.ts +1 -1
- package/build/app/pages/lesaTV/components/Search.d.ts +1 -1
- package/build/app/pages/library/Library.d.ts +1 -1
- package/build/app/pages/library/components/NoVideos.d.ts +1 -1
- package/build/app/pages/library/components/PageInfo.d.ts +1 -1
- package/build/app/pages/library/components/Search.d.ts +1 -1
- package/build/app/pages/library/components/UserDropdown.d.ts +1 -1
- package/build/app/pages/library/components/VideoItem.d.ts +1 -1
- package/build/app/pages/library/components/VideoItemThumbnail.d.ts +1 -1
- package/build/app/pages/login/Login.d.ts +1 -1
- package/build/app/pages/merge/Merge.d.ts +1 -1
- package/build/app/pages/merge/components/Player.d.ts +1 -1
- package/build/app/pages/merge/components/VideoMerge.d.ts +1 -1
- package/build/app/pages/merge/components/VideoRow.d.ts +1 -1
- package/build/app/pages/merge/components/VideoThumbnail.d.ts +1 -1
- package/build/app/pages/previewUpload/PreviewUpload.d.ts +1 -1
- package/build/app/pages/record/both/RecordBoth.d.ts +1 -1
- package/build/app/pages/record/both/main/Main.d.ts +1 -1
- package/build/app/pages/record/cam/RecordCam.d.ts +1 -1
- package/build/app/pages/record/cam/main/Main.d.ts +1 -1
- package/build/app/pages/record/home/RecordHome.d.ts +1 -1
- package/build/app/pages/record/screen/RecordScreen.d.ts +1 -1
- package/build/app/pages/record/screen/main/Main.d.ts +1 -1
- package/build/app/pages/video/Upload.d.ts +1 -1
- package/build/app/pages/video/components/Preview.d.ts +1 -1
- package/build/app/pages/video/components/videoPlayer/VideoPlayer.d.ts +1 -1
- package/build/app/pages/video/components/videoPlayer/components/onScreenPlayButton.d.ts +1 -1
- package/build/app/pages/video/components/videoPlayer/components/progressBar.d.ts +1 -1
- package/build/app/pages/video/components/videoPlayer/components/trim/Handle.d.ts +1 -1
- package/build/app/pages/video/components/videoPlayer/components/trim/TimelineRange.d.ts +1 -1
- package/build/app/pages/video/components/videoPlayer/components/trim/Trim.d.ts +1 -1
- package/build/app/pages/video/components/videoPlayer/components/trim/VideoPreviewTrack.d.ts +1 -1
- package/build/app/pages/video/components/videoPlayer/components/videoControls.d.ts +1 -1
- package/build/app/pages/video/videoDetails/components/AttributesFields.d.ts +1 -1
- package/build/app/pages/voiceover/Voiceover.d.ts +1 -1
- package/build/app/pages/voiceover/components/AudioRecorder.d.ts +1 -1
- package/build/app/pages/voiceover/components/VideoPreview.d.ts +1 -1
- package/build/app/pages/wheelsTV/WheelsTV.d.ts +1 -1
- package/build/app/pages/wheelsTV/components/PageInfo.d.ts +1 -1
- package/build/app/pages/wheelsTV/components/Search.d.ts +1 -1
- package/build/index.js +2 -2
- package/build/index.js.LICENSE.txt +4 -5
- package/build/lib/components/ButtonDropdown.d.ts +1 -1
- package/build/lib/components/CheckboxInput.d.ts +1 -1
- package/build/lib/components/CloseButton.d.ts +1 -1
- package/build/lib/components/Container.d.ts +1 -1
- package/build/lib/components/CountDown.d.ts +1 -1
- package/build/lib/components/DragAndDrop.d.ts +1 -1
- package/build/lib/components/Dropdown.d.ts +1 -1
- package/build/lib/components/HoverPopup.d.ts +1 -1
- package/build/lib/components/Label.d.ts +1 -1
- package/build/lib/components/LoadingIndicator.d.ts +1 -1
- package/build/lib/components/Logo.d.ts +1 -1
- package/build/lib/components/MainWrapper.d.ts +1 -1
- package/build/lib/components/PreviewVideoBar.d.ts +1 -1
- package/build/lib/components/RouteLeavingGuard.d.ts +1 -1
- package/build/lib/components/TopBar.d.ts +1 -1
- package/build/lib/components/inputs/RadioInput.d.ts +1 -1
- package/build/lib/components/modal/Modal.d.ts +1 -1
- package/build/lib/components/modal/ModalQuickShareMarkAsSent.d.ts +1 -1
- package/build/lib/components/modal/ModalRecordingSettings.d.ts +1 -1
- package/build/lib/components/modals/Modal.d.ts +1 -1
- package/build/lib/components/modals/ModalInputText.d.ts +1 -1
- package/build/lib/components/modals/ModalLeave.d.ts +1 -1
- package/build/lib/components/modals/ModalPrompt.d.ts +1 -1
- package/build/lib/components/modals/ModalUpload.d.ts +1 -1
- package/build/lib/components/toast-notifications/ToastNotification.d.ts +1 -1
- package/build/lib/components/toast-notifications/index.d.ts +1 -1
- package/build/lib/components/videoUpload/MultipleUploadList.d.ts +1 -1
- package/build/lib/components/videoUpload/VideoUpload.d.ts +1 -1
- package/build/lib/context/ActionDispatchContext.d.ts +1 -1
- package/build/lib/context/AuthorizationContext.d.ts +1 -1
- package/build/lib/images/volumeOff.d.ts +1 -1
- package/package.json +7 -7
|
@@ -51,9 +51,8 @@
|
|
|
51
51
|
* LICENSE file in the root directory of this source tree.
|
|
52
52
|
*/
|
|
53
53
|
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* react-jsx-runtime.production.min.js
|
|
54
|
+
/** @license React v16.13.1
|
|
55
|
+
* react-is.production.min.js
|
|
57
56
|
*
|
|
58
57
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
59
58
|
*
|
|
@@ -61,8 +60,8 @@
|
|
|
61
60
|
* LICENSE file in the root directory of this source tree.
|
|
62
61
|
*/
|
|
63
62
|
|
|
64
|
-
/** @license React v16.
|
|
65
|
-
* react-
|
|
63
|
+
/** @license React v16.14.0
|
|
64
|
+
* react-jsx-runtime.production.min.js
|
|
66
65
|
*
|
|
67
66
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
68
67
|
*
|
|
@@ -18,5 +18,5 @@ type Props = {
|
|
|
18
18
|
onClick?: (e?: React.SyntheticEvent | React.SyntheticEvent<Element, Event>) => void;
|
|
19
19
|
title?: string;
|
|
20
20
|
};
|
|
21
|
-
export declare const ButtonDropdown: ({ text, subtext, type, icon, iconOther, backgroundColor, borderColor, hoverBorderColor, textColor, disabled, margin, width, fontSize, padding, height, onClick, title, }: Props) =>
|
|
21
|
+
export declare const ButtonDropdown: ({ text, subtext, type, icon, iconOther, backgroundColor, borderColor, hoverBorderColor, textColor, disabled, margin, width, fontSize, padding, height, onClick, title, }: Props) => JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -15,5 +15,5 @@ interface CheckboxI {
|
|
|
15
15
|
ignoreGrayForAllSelect?: boolean;
|
|
16
16
|
isAutomotive?: boolean;
|
|
17
17
|
}
|
|
18
|
-
export declare const CheckboxInput: (props: CheckboxI) =>
|
|
18
|
+
export declare const CheckboxInput: (props: CheckboxI) => JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
onClick: () => void;
|
|
10
10
|
style?: React.CSSProperties;
|
|
11
11
|
};
|
|
12
|
-
export declare const CloseButton: React.MemoExoticComponent<({ disabled, onClick, light, zIndex, padding, marginTop, marginRight, style, }: Props) =>
|
|
12
|
+
export declare const CloseButton: React.MemoExoticComponent<({ disabled, onClick, light, zIndex, padding, marginTop, marginRight, style, }: Props) => JSX.Element>;
|
|
13
13
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CountDown: ({ counter, willStart, onClick, hide, height, width, }: any) =>
|
|
1
|
+
export declare const CountDown: ({ counter, willStart, onClick, hide, height, width, }: any) => JSX.Element;
|
|
@@ -17,5 +17,5 @@ interface Props {
|
|
|
17
17
|
buttonBorder?: string;
|
|
18
18
|
placeholder?: string;
|
|
19
19
|
}
|
|
20
|
-
declare const DragAndDrop: ({ accept, inputStyle, onDrop, text, width, height, marginTop, disabled, textStyle, backgroundColor, placeholder, }: Props) =>
|
|
20
|
+
declare const DragAndDrop: ({ accept, inputStyle, onDrop, text, width, height, marginTop, disabled, textStyle, backgroundColor, placeholder, }: Props) => JSX.Element;
|
|
21
21
|
export default DragAndDrop;
|
|
@@ -25,5 +25,5 @@ type Props = {
|
|
|
25
25
|
Option: (props: any) => JSX.Element;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export declare const Dropdown: ({ options, value, onChange, isSearchable, extraStyles, creatable, isClearable, disabled, maxMenuHeight, defaultValue, placeholder, controlShouldRenderValue, customComponents, }: Props) =>
|
|
28
|
+
export declare const Dropdown: ({ options, value, onChange, isSearchable, extraStyles, creatable, isClearable, disabled, maxMenuHeight, defaultValue, placeholder, controlShouldRenderValue, customComponents, }: Props) => JSX.Element;
|
|
29
29
|
export {};
|
|
@@ -11,5 +11,5 @@ type Props = {
|
|
|
11
11
|
showTriangle?: boolean;
|
|
12
12
|
cursor?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const HoverPopup: ({ hoverable, className, popup, position, padding, width, maxWidth, disableHover, showTriangle, cursor, }: Props) =>
|
|
14
|
+
export declare const HoverPopup: ({ hoverable, className, popup, position, padding, width, maxWidth, disableHover, showTriangle, cursor, }: Props) => JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
zIndex?: number;
|
|
8
8
|
onRetry?: () => void;
|
|
9
9
|
};
|
|
10
|
-
export declare const LoadingIndicator: ({ isLoading, error, text, color, height, zIndex, onRetry, }: Props) =>
|
|
10
|
+
export declare const LoadingIndicator: ({ isLoading, error, text, color, height, zIndex, onRetry, }: Props) => JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -4,5 +4,5 @@ type PreviewProps = {
|
|
|
4
4
|
setInsertAfterSave: (arg: boolean) => void;
|
|
5
5
|
uploadLoading: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const PreviewVideoBar: ({ onSaveVideo, isSaveDisabled, setInsertAfterSave, uploadLoading, }: PreviewProps) =>
|
|
7
|
+
export declare const PreviewVideoBar: ({ onSaveVideo, isSaveDisabled, setInsertAfterSave, uploadLoading, }: PreviewProps) => JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -14,5 +14,5 @@ interface Props {
|
|
|
14
14
|
showDiscardIcon?: boolean;
|
|
15
15
|
showSaveIcon?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const RouteLeavingGuard: ({ when, navigate, shouldBlockNavigation, onConfirm, onDiscard, onStay, stay, title, text, discardButtonText, confirmButtonText, showDiscardIcon, showSaveIcon, }: Props) =>
|
|
17
|
+
declare const RouteLeavingGuard: ({ when, navigate, shouldBlockNavigation, onConfirm, onDiscard, onStay, stay, title, text, discardButtonText, confirmButtonText, showDiscardIcon, showSaveIcon, }: Props) => JSX.Element;
|
|
18
18
|
export default RouteLeavingGuard;
|
|
@@ -5,5 +5,5 @@ type Props = {
|
|
|
5
5
|
right?: React.ReactNode;
|
|
6
6
|
justify?: 'center' | 'space-between';
|
|
7
7
|
};
|
|
8
|
-
export declare const TopBar: ({ left, right, center }: Props) =>
|
|
8
|
+
export declare const TopBar: ({ left, right, center }: Props) => JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -10,5 +10,5 @@ interface RadioProps {
|
|
|
10
10
|
onClick?: (e?: any) => void;
|
|
11
11
|
checkedColor?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const RadioInput: (props: RadioProps) =>
|
|
13
|
+
export declare const RadioInput: (props: RadioProps) => JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
bodyOverflowY?: string;
|
|
10
10
|
bodyOverflowX?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, }: Props) =>
|
|
12
|
+
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, }: Props) => JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
useAutomotive: boolean;
|
|
11
11
|
}>;
|
|
12
12
|
};
|
|
13
|
-
export declare const ModalQuickShareMarkAsSent: ({ handleModalClose, quickShareMarkAsSentHandler, isQuickShareLoading, markAsSentPayload, getMarkAsSentPayload, }: Props) =>
|
|
13
|
+
export declare const ModalQuickShareMarkAsSent: ({ handleModalClose, quickShareMarkAsSentHandler, isQuickShareLoading, markAsSentPayload, getMarkAsSentPayload, }: Props) => JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
handleSubmit: (data: object) => void;
|
|
7
7
|
initialSettings: any;
|
|
8
8
|
};
|
|
9
|
-
export declare const ModalRecordingSettings: ({ disabled, handleModalClose, handleSubmit, initialSettings, }: Props) =>
|
|
9
|
+
export declare const ModalRecordingSettings: ({ disabled, handleModalClose, handleSubmit, initialSettings, }: Props) => JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
bodyOverflowY?: string;
|
|
10
10
|
bodyOverflowX?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, }: Props) =>
|
|
12
|
+
export declare const Modal: ({ style, children, widthOnDesktop, disableFullScreen, maxHeight, overrideBodyHeight, bodyOverflowY, bodyOverflowX, }: Props) => JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
handleSubmit: (value: string) => void;
|
|
8
8
|
handleModalClose: () => void;
|
|
9
9
|
};
|
|
10
|
-
export declare const ModalInputText: ({ title, label, defaultValue, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, }: Props) =>
|
|
10
|
+
export declare const ModalInputText: ({ title, label, defaultValue, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, }: Props) => JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -11,5 +11,5 @@ type Props = {
|
|
|
11
11
|
onClickConfirmButton: () => void;
|
|
12
12
|
handleModalClose?: () => void;
|
|
13
13
|
};
|
|
14
|
-
export declare const ModalLeave: ({ open, disabled, title, text, discardButtonText, confirmButtonText, onClickDiscardButton, onClickConfirmButton, showDiscardIcon, showSaveIcon, handleModalClose, }: Props) =>
|
|
14
|
+
export declare const ModalLeave: ({ open, disabled, title, text, discardButtonText, confirmButtonText, onClickDiscardButton, onClickConfirmButton, showDiscardIcon, showSaveIcon, handleModalClose, }: Props) => JSX.Element | null;
|
|
15
15
|
export {};
|
|
@@ -8,5 +8,5 @@ type Props = {
|
|
|
8
8
|
handleModalClose: () => void;
|
|
9
9
|
primaryButtonType?: 'danger' | 'default';
|
|
10
10
|
};
|
|
11
|
-
export declare const ModalPrompt: ({ title, content, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, primaryButtonType, }: Props) =>
|
|
11
|
+
export declare const ModalPrompt: ({ title, content, primaryButtonText, secondaryButtonText, handleModalClose, handleSubmit, primaryButtonType, }: Props) => JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -3,5 +3,5 @@ type UploadProps = {
|
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
onSuccess: (data: number[]) => void;
|
|
5
5
|
};
|
|
6
|
-
export declare const ModalUpload: ({ handleModalClose, disabled, onSuccess, }: UploadProps) =>
|
|
6
|
+
export declare const ModalUpload: ({ handleModalClose, disabled, onSuccess, }: UploadProps) => JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -4,5 +4,5 @@ type MultipleUploadProps = {
|
|
|
4
4
|
uploadingData: IUploadingData;
|
|
5
5
|
setUploadingData: (arg: IUploadingData) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const MultipleUploadList: ({ progress, uploadingData, setUploadingData, }: MultipleUploadProps) =>
|
|
7
|
+
export declare const MultipleUploadList: ({ progress, uploadingData, setUploadingData, }: MultipleUploadProps) => JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -5,5 +5,5 @@ type UploadProps = {
|
|
|
5
5
|
handleModalClose: () => void;
|
|
6
6
|
onSuccess: (data: number[]) => void;
|
|
7
7
|
};
|
|
8
|
-
declare const VideoUpload: ({ handleModalClose, onSuccess }: UploadProps) =>
|
|
8
|
+
declare const VideoUpload: ({ handleModalClose, onSuccess }: UploadProps) => JSX.Element;
|
|
9
9
|
export default VideoUpload;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ActionDispatchContext: import("react").Context<any>;
|
|
3
|
-
export declare const ActionDispatchProvider: ({ children }: any) =>
|
|
3
|
+
export declare const ActionDispatchProvider: ({ children }: any) => JSX.Element;
|
|
4
4
|
export declare const useActionDispatchContextState: () => any;
|
|
@@ -110,6 +110,6 @@ type Props = {
|
|
|
110
110
|
initialUser?: any;
|
|
111
111
|
children: ReactNode;
|
|
112
112
|
};
|
|
113
|
-
export declare const AuthorizationContextProvider: ({ initialUser, children, }: Props) =>
|
|
113
|
+
export declare const AuthorizationContextProvider: ({ initialUser, children, }: Props) => JSX.Element;
|
|
114
114
|
export declare const useAuthorizationContext: () => IContextProps;
|
|
115
115
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function VolumeOffIcon(props: any):
|
|
1
|
+
export function VolumeOffIcon(props: any): JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-covideo-embed",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Covideo platform as an embeddable React component.",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"author": "Covideo",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"react": "^
|
|
17
|
-
"react-dom": "^
|
|
16
|
+
"react": "^16.13.1",
|
|
17
|
+
"react-dom": "^16.13.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@types/jwt-decode": "^3.1.0",
|
|
36
36
|
"@types/lodash": "^4.14.190",
|
|
37
37
|
"@types/node": "18.19.0",
|
|
38
|
-
"@types/react": "^
|
|
38
|
+
"@types/react": "^16.9.12",
|
|
39
39
|
"@types/react-beautiful-dnd": "^13.1.3",
|
|
40
|
-
"@types/react-dom": "
|
|
40
|
+
"@types/react-dom": "16.8.4",
|
|
41
41
|
"@types/react-router-dom": "^5.3.3",
|
|
42
42
|
"@types/styled-components": "^5.1.26",
|
|
43
43
|
"css-loader": "^6.8.1",
|
|
44
44
|
"file-loader": "^6.2.0",
|
|
45
|
-
"react": "^
|
|
46
|
-
"react-dom": "^
|
|
45
|
+
"react": "^16.13.1",
|
|
46
|
+
"react-dom": "^16.13.1",
|
|
47
47
|
"storybook": "^8.0.2",
|
|
48
48
|
"style-loader": "^3.3.3",
|
|
49
49
|
"ts-loader": "^9.4.4",
|