react-covideo-embed 1.0.34 → 1.0.35
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/index.d.ts +3 -0
- package/build/index.js +138 -138
- package/build/lib/context/ConfigurationContext.d.ts +13 -0
- package/build/lib/images/CdkLogo.d.ts +2 -0
- package/build/lib/images/CdkSmallLogo.d.ts +2 -0
- package/build/lib/images/CovideoLogo.d.ts +2 -0
- package/build/lib/images/CovideoSmallLogo.d.ts +2 -0
- package/package.json +2 -2
- package/styled.d.ts +4 -2
- package/build/lib/images/LogoCDS.d.ts +0 -2
- package/build/lib/images/LogoGeneral.d.ts +0 -2
- package/build/lib/images/NewLogo.d.ts +0 -2
- package/build/lib/images/SmallLogoIcon.d.ts +0 -2
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { ENVIRONMENT } from 'lib/config';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
+
export declare enum WHITELABEL {
|
|
4
|
+
CDK = "cdk"
|
|
5
|
+
}
|
|
6
|
+
export declare enum THEME_NAME {
|
|
7
|
+
AUTOMOTIVE = "automotive",
|
|
8
|
+
COVIDEO = "covideo",
|
|
9
|
+
KENNECTED = "kennected",
|
|
10
|
+
PROVIDEO = "provideo",
|
|
11
|
+
APP_2_VID = "app2vid",
|
|
12
|
+
BRANDING = "branding",
|
|
13
|
+
CDK = "cdk"
|
|
14
|
+
}
|
|
3
15
|
interface ConfigurationProviderProps {
|
|
4
16
|
token?: string;
|
|
5
17
|
env?: ENVIRONMENT;
|
|
@@ -21,6 +33,7 @@ interface ConfigurationProviderProps {
|
|
|
21
33
|
token: string;
|
|
22
34
|
}) => void;
|
|
23
35
|
reRender: () => void;
|
|
36
|
+
whitelabel?: WHITELABEL;
|
|
24
37
|
}
|
|
25
38
|
type ShowFeature = {
|
|
26
39
|
showInsertFeature: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-covideo-embed",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Covideo platform as an embeddable React component.",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"react-beautiful-dnd": "^13.1.1",
|
|
77
77
|
"react-compound-slider": "^3.4.0",
|
|
78
78
|
"react-covideo-ai-assist": "0.0.33",
|
|
79
|
-
"react-covideo-common": "0.1.
|
|
79
|
+
"react-covideo-common": "0.1.62",
|
|
80
80
|
"react-dropzone": "11.3.2",
|
|
81
81
|
"react-full-screen": "^1.1.1",
|
|
82
82
|
"react-icons": "^4.7.1",
|
package/styled.d.ts
CHANGED
|
@@ -31,7 +31,9 @@ export type MainThemeColors = {
|
|
|
31
31
|
declare module 'styled-components' {
|
|
32
32
|
export interface DefaultTheme {
|
|
33
33
|
colors: IColors & MainThemeColors;
|
|
34
|
-
containerWidth:
|
|
35
|
-
containerHeight:
|
|
34
|
+
containerWidth: number;
|
|
35
|
+
containerHeight: number;
|
|
36
|
+
themeName: string;
|
|
37
|
+
isCdkEnviroment: string;
|
|
36
38
|
}
|
|
37
39
|
}
|