@brightcove/components-embed-code-modal 0.1.21 → 0.1.23
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 +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -1
- package/src/index.d.ts +2 -2
- package/src/index.d.ts.map +1 -1
- package/src/js/EmbedCodeModal.d.ts +7 -2
- package/src/js/EmbedCodeModal.d.ts.map +1 -1
- package/src/js/components/EmbedCopySection.d.ts.map +1 -1
- package/src/js/components/ModalContainer.d.ts +1 -1
- package/src/js/components/ModalContainer.d.ts.map +1 -1
- package/src/js/components/PlayerPreview.d.ts.map +1 -1
- package/src/js/components/PlayersDropdown.d.ts.map +1 -1
- package/src/js/components/TabsSection.d.ts.map +1 -1
- package/src/js/components/TitleWithTooltip.d.ts.map +1 -1
- package/src/js/types/EmbedCodeModalProps.d.ts +1 -6
- package/src/js/types/EmbedCodeModalProps.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightcove/components-embed-code-modal",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
|
|
7
7
|
},
|
|
8
8
|
"description": "Embed Code Modal used for publishing videos",
|
|
9
9
|
"main": "./index.js",
|
|
10
|
+
"types": "./src/index.d.ts",
|
|
10
11
|
"author": "Campaign Team",
|
|
11
12
|
"scripts": {
|
|
12
13
|
"demo": "NODE_ENV=development webpack-dev-server --progress --color",
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import EmbedCodeModal from './js/EmbedCodeModal';
|
|
2
|
-
import { type VideoPayload, EmbedCodeModalTypes } from './js/types/EmbedCodeModalProps';
|
|
3
|
-
export { EmbedCodeModal, VideoPayload, EmbedCodeModalTypes };
|
|
2
|
+
import { type VideoPayload, type PlayerPayload, EmbedCodeModalTypes } from './js/types/EmbedCodeModalProps';
|
|
3
|
+
export { EmbedCodeModal, VideoPayload, PlayerPayload, EmbedCodeModalTypes };
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,EACL,KAAK,YAAY,EACjB,mBAAmB,EACpB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,mBAAmB,EACpB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { EmbedCodeModalTypes, ModalDataType } from './types/EmbedCodeModalProps';
|
|
3
|
+
export interface EmbedCodeModalProps {
|
|
4
|
+
data: ModalDataType;
|
|
5
|
+
language?: 'en' | 'es' | 'fr' | 'ko' | 'ja' | 'zh';
|
|
6
|
+
type?: EmbedCodeModalTypes;
|
|
7
|
+
}
|
|
8
|
+
declare const EmbedModal: ({ data, language, type }: EmbedCodeModalProps) => JSX.Element | null;
|
|
4
9
|
export default EmbedModal;
|
|
5
10
|
//# sourceMappingURL=EmbedCodeModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCodeModal.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModal.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"EmbedCodeModal.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModal.tsx"],"names":[],"mappings":";AASA,OAAO,EACL,mBAAmB,EACnB,aAAa,EACd,MAAM,6BAA6B,CAAC;AAQrC,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACnD,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC5B;AAED,QAAA,MAAM,UAAU,6BAA8B,mBAAmB,uBAahE,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCopySection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/EmbedCopySection.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AA8BzD,eAAO,MAAM,SAAS,WAAY,cAAc,
|
|
1
|
+
{"version":3,"file":"EmbedCopySection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/EmbedCopySection.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AA8BzD,eAAO,MAAM,SAAS,WAAY,cAAc,gBA+C/C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { EmbedCodeModalProps } from 'js/
|
|
2
|
+
import { EmbedCodeModalProps } from 'js/EmbedCodeModal';
|
|
3
3
|
export declare const ModalContainer: ({ data, type, }: EmbedCodeModalProps) => JSX.Element | null;
|
|
4
4
|
//# sourceMappingURL=ModalContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ModalContainer.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ModalContainer.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA2BxD,eAAO,MAAM,cAAc,oBAGxB,mBAAmB,uBAsCrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,eAAO,MAAM,aAAa,4BAAiC,aAAa,gBAyBvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayersDropdown.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayersDropdown.tsx"],"names":[],"mappings":";AAKA,OAAO,EAEL,iBAAiB,EAElB,MAAM,kBAAkB,CAAC;AAK1B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,eAAe,iBAAkB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"PlayersDropdown.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayersDropdown.tsx"],"names":[],"mappings":";AAKA,OAAO,EAEL,iBAAiB,EAElB,MAAM,kBAAkB,CAAC;AAK1B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,eAAe,iBAAkB,mBAAmB,gBAsDhE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsSection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsSection.tsx"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW;cAIZ,MAAM;gBACJ,OAAO;;eAER,MAAM;
|
|
1
|
+
{"version":3,"file":"TabsSection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsSection.tsx"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW;cAIZ,MAAM;gBACJ,OAAO;;eAER,MAAM;iBA+BlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAK5D,UAAU,qBAAqB;IAC7B,KAAK,EAAE,YAAY,CAAC;CACrB;AACD,eAAO,MAAM,gBAAgB,cAAe,qBAAqB,
|
|
1
|
+
{"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAK5D,UAAU,qBAAqB;IAC7B,KAAK,EAAE,YAAY,CAAC;CACrB;AACD,eAAO,MAAM,gBAAgB,cAAe,qBAAqB,gBA6BhE,CAAC;AAEF,UAAU,kBAAkB;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,eAAO,MAAM,cAAc,qCAGxB,kBAAkB,gBAUpB,CAAC"}
|
|
@@ -7,16 +7,11 @@ export interface VideoPayload {
|
|
|
7
7
|
}
|
|
8
8
|
export interface PlayerPayload {
|
|
9
9
|
playerId: string;
|
|
10
|
-
accountId
|
|
10
|
+
accountId?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare enum EmbedCodeModalTypes {
|
|
13
13
|
PLAYER = "player",
|
|
14
14
|
VIDEO = "video"
|
|
15
15
|
}
|
|
16
16
|
export declare type ModalDataType = VideoPayload | PlayerPayload;
|
|
17
|
-
export declare type EmbedCodeModalProps = {
|
|
18
|
-
data: ModalDataType;
|
|
19
|
-
language?: 'en' | 'es' | 'fr' | 'ko' | 'ja' | 'zh';
|
|
20
|
-
type?: EmbedCodeModalTypes;
|
|
21
|
-
};
|
|
22
17
|
//# sourceMappingURL=EmbedCodeModalProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCodeModalProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeModalProps.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"EmbedCodeModalProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeModalProps.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,aAAa,GAAG,YAAY,GAAG,aAAa,CAAC"}
|