@brightcove/components-embed-code-modal 0.4.2 → 0.4.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.
- package/index.js +12 -12
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/src/js/components/EmbedCopySection.d.ts.map +1 -1
- package/src/js/components/PlayerPreview.d.ts.map +1 -1
- package/src/js/components/TabsSection.d.ts +2 -1
- package/src/js/components/TabsSection.d.ts.map +1 -1
- package/src/js/components/TitleWithTooltip.d.ts +0 -5
- package/src/js/components/TitleWithTooltip.d.ts.map +1 -1
- package/src/js/components/VideoPlayer.d.ts.map +1 -1
- package/src/js/components/index.d.ts +0 -1
- package/src/js/components/index.d.ts.map +1 -1
- package/src/js/constants/player.d.ts +1 -0
- package/src/js/constants/player.d.ts.map +1 -1
- package/src/js/constants/pluginsRegistry.d.ts +1 -0
- package/src/js/constants/pluginsRegistry.d.ts.map +1 -1
- package/src/js/i18n.d.ts +6 -0
- package/src/js/i18n.d.ts.map +1 -1
- package/src/js/types/EmbedCodeProps.d.ts +1 -0
- package/src/js/types/EmbedCodeProps.d.ts.map +1 -1
- package/src/js/types/players.d.ts +1 -0
- package/src/js/types/players.d.ts.map +1 -1
- package/src/js/utils/addPluginsDataToPlayers.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightcove/components-embed-code-modal",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@brightcove/kacl": "^0.1.11",
|
|
35
35
|
"@brightcove/notify-change": "^0.1.7",
|
|
36
36
|
"@brightcove/studio-api-services": "^6.69.0",
|
|
37
|
-
"@brightcove/studio-components": "^7.
|
|
37
|
+
"@brightcove/studio-components": "^7.23.3",
|
|
38
38
|
"@brightcove/studio-design-tokens": "^1.15.0",
|
|
39
39
|
"@brightcove/studio-icons": "^8.14.0",
|
|
40
40
|
"@testing-library/jest-dom": "^5.16.5",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"webpack-dev-server": "^4.5.0"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
+
"@brightcove/player-embed-code": "^2.0.2",
|
|
74
75
|
"@brightcove/react-player-loader": "^1.4.2",
|
|
75
|
-
"@brightcove/player-embed-code": "^2.0.1",
|
|
76
76
|
"i18next": "^21.5.4",
|
|
77
77
|
"react-i18next": "^11.14.3",
|
|
78
78
|
"react-query": "^3.38.0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCopySection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/EmbedCopySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"EmbedCopySection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/EmbedCopySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAwDzD,eAAO,MAAM,SAAS,WAAY,cAAc,sBAmD/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAevC,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAW7D,eAAO,MAAM,aAAa,2DAKvB,aAAa,sBAgEf,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { EmbedCodeProperties } from 'js/types/EmbedCodeModalProps';
|
|
3
|
-
export declare const TabsSection: ({ isCampaign, ...rest }: {
|
|
3
|
+
export declare const TabsSection: ({ isCampaign, isViewerIdSource, ...rest }: {
|
|
4
4
|
playerId: string;
|
|
5
5
|
isCampaign: boolean;
|
|
6
|
+
isViewerIdSource: boolean;
|
|
6
7
|
videoId?: string | undefined;
|
|
7
8
|
accountId: string;
|
|
8
9
|
interactivityProjectId?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsSection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"TabsSection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,WAAW;cAKZ,MAAM;gBACJ,OAAO;sBACD,OAAO;;eAEd,MAAM;;;uBA6ClB,CAAC"}
|
|
@@ -4,10 +4,5 @@ interface TitleWithTooltipProps {
|
|
|
4
4
|
id: string;
|
|
5
5
|
}
|
|
6
6
|
export declare const TitleWithTooltip: ({ name, id }: TitleWithTooltipProps) => React.JSX.Element;
|
|
7
|
-
interface ToltipContentProps {
|
|
8
|
-
tooltipTextNew: string;
|
|
9
|
-
tooltipLink: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const TooltipContent: ({ tooltipTextNew, tooltipLink, }: ToltipContentProps) => React.JSX.Element;
|
|
12
7
|
export {};
|
|
13
8
|
//# sourceMappingURL=TitleWithTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB,sBA6BnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAkB1B,eAAO,MAAM,WAAW;WAQf,YAAY,GAAG,cAAc;wBAChB,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;;;
|
|
1
|
+
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAkB1B,eAAO,MAAM,WAAW;WAQf,YAAY,GAAG,cAAc;wBAChB,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;;;uBA+IvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/js/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/js/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/player.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAE/D,eAAO,MAAM,yBAAyB;;;GAKrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/player.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAE/D,eAAO,MAAM,yBAAyB;;;GAKrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;CAOxC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const bcHostedPlugins: string[];
|
|
2
2
|
export declare const CAMPAIGN_PLUGIN_NAME = "bcMapPlugin";
|
|
3
|
+
export declare const VIEWER_ID_KEY_NAME = "viewer_id_source";
|
|
3
4
|
export declare const INTERACTIVITY_PLUGIN_NAME = "interactivityViewer";
|
|
4
5
|
export declare const INTERACTIVITY_REGISTRY_ID = "@brightcove/videojs-interactivity-viewer";
|
|
5
6
|
//# sourceMappingURL=pluginsRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pluginsRegistry.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/pluginsRegistry.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe,UAqB3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAgB,CAAC;AAClD,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,6CACM,CAAC"}
|
|
1
|
+
{"version":3,"file":"pluginsRegistry.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/pluginsRegistry.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe,UAqB3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAgB,CAAC;AAClD,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AACrD,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,6CACM,CAAC"}
|
package/src/js/i18n.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare const resources: {
|
|
|
18
18
|
};
|
|
19
19
|
helperText: string;
|
|
20
20
|
helperTextWarning: string;
|
|
21
|
+
viewerIdTextWarning: string;
|
|
21
22
|
};
|
|
22
23
|
done: string;
|
|
23
24
|
close: string;
|
|
@@ -65,6 +66,7 @@ export declare const resources: {
|
|
|
65
66
|
};
|
|
66
67
|
helperText: string;
|
|
67
68
|
helperTextWarning: string;
|
|
69
|
+
viewerIdTextWarning: string;
|
|
68
70
|
};
|
|
69
71
|
toasterTitle: string;
|
|
70
72
|
toasterMessage: string;
|
|
@@ -112,6 +114,7 @@ export declare const resources: {
|
|
|
112
114
|
};
|
|
113
115
|
helperText: string;
|
|
114
116
|
helperTextWarning: string;
|
|
117
|
+
viewerIdTextWarning: string;
|
|
115
118
|
};
|
|
116
119
|
toasterTitle: string;
|
|
117
120
|
toasterMessage: string;
|
|
@@ -159,6 +162,7 @@ export declare const resources: {
|
|
|
159
162
|
};
|
|
160
163
|
helperText: string;
|
|
161
164
|
helperTextWarning: string;
|
|
165
|
+
viewerIdTextWarning: string;
|
|
162
166
|
};
|
|
163
167
|
toasterTitle: string;
|
|
164
168
|
toasterMessage: string;
|
|
@@ -206,6 +210,7 @@ export declare const resources: {
|
|
|
206
210
|
};
|
|
207
211
|
helperText: string;
|
|
208
212
|
helperTextWarning: string;
|
|
213
|
+
viewerIdTextWarning: string;
|
|
209
214
|
};
|
|
210
215
|
toasterTitle: string;
|
|
211
216
|
toasterMessage: string;
|
|
@@ -253,6 +258,7 @@ export declare const resources: {
|
|
|
253
258
|
};
|
|
254
259
|
helperText: string;
|
|
255
260
|
helperTextWarning: string;
|
|
261
|
+
viewerIdTextWarning: string;
|
|
256
262
|
};
|
|
257
263
|
toasterTitle: string;
|
|
258
264
|
toasterMessage: string;
|
package/src/js/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/js/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAU3B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/js/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAU3B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC;AAaF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCodeProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C,CAAC"}
|
|
1
|
+
{"version":3,"file":"EmbedCodeProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../../../src/js/types/players.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,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,GAAG,SAAS,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,aAAa,CAAC,EAAE;YACd,QAAQ,CAAC,MAAC;YACV,IAAI,CAAC,EAAE,OAAO,CAAC;YACf,WAAW,CAAC,EAAE;gBACZ,KAAK,EAAE,MAAM,CAAC;aACf,CAAC;YACF,OAAO,CAAC,EAAE;gBACR,WAAW,EAAE,MAAM,CAAC;gBACpB,OAAO,EAAE,MAAM,CAAC;aACjB,EAAE,CAAC;SACL,CAAC;KACH,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addPluginsDataToPlayers.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/addPluginsDataToPlayers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACd,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"addPluginsDataToPlayers.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/addPluginsDataToPlayers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAS1B,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,iBAAiB;;;EAuCjE"}
|