@brightcove/components-embed-code-modal 0.3.3 → 0.3.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightcove/components-embed-code-modal",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"@brightcove/eslint-config-applications": "^0.3.0",
|
|
34
34
|
"@brightcove/kacl": "^0.1.11",
|
|
35
35
|
"@brightcove/notify-change": "^0.1.7",
|
|
36
|
+
"@brightcove/studio-api-services": "^6.69.0",
|
|
36
37
|
"@brightcove/studio-components": "7.0.0",
|
|
37
38
|
"@brightcove/studio-design-tokens": "^1.15.0",
|
|
38
39
|
"@brightcove/studio-icons": "^8.14.0",
|
|
@@ -72,12 +73,12 @@
|
|
|
72
73
|
"dependencies": {
|
|
73
74
|
"@brightcove/react-player-loader": "^1.4.2",
|
|
74
75
|
"@brightcove/player-embed-code": "^1.5.0",
|
|
75
|
-
"@brightcove/studio-api-services": "^6.69.0",
|
|
76
76
|
"i18next": "^21.5.4",
|
|
77
77
|
"react-i18next": "^11.14.3",
|
|
78
78
|
"react-query": "^3.38.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
+
"@brightcove/studio-api-services": "^6.69.0",
|
|
81
82
|
"@brightcove/studio-components": "*",
|
|
82
83
|
"@brightcove/studio-design-tokens": "*",
|
|
83
84
|
"@brightcove/studio-icons": "*",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { EmbedCodeModalTypes, ModalDataPayload } from './types/EmbedCodeModalProps';
|
|
3
3
|
export interface EmbedCodeModalProps {
|
|
4
|
-
|
|
4
|
+
data: ModalDataPayload;
|
|
5
5
|
language?: 'en' | 'es' | 'fr' | 'ko' | 'ja' | 'zh';
|
|
6
6
|
embedCodeModalType?: EmbedCodeModalTypes;
|
|
7
7
|
}
|
|
8
|
-
declare const EmbedModal: ({
|
|
8
|
+
declare const EmbedModal: ({ data, language, embedCodeModalType, }: EmbedCodeModalProps) => JSX.Element | null;
|
|
9
9
|
export default EmbedModal;
|
|
10
10
|
//# sourceMappingURL=EmbedCodeModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCodeModal.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModal.tsx"],"names":[],"mappings":";AASA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAQrC,MAAM,WAAW,mBAAmB;IAClC,
|
|
1
|
+
{"version":3,"file":"EmbedCodeModal.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModal.tsx"],"names":[],"mappings":";AASA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAQrC,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACnD,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;CAC1C;AAED,QAAA,MAAM,UAAU,4CAIb,mBAAmB,uBA+BrB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -5,6 +5,6 @@ interface ModalContainerProps extends EmbedCodeModalProps {
|
|
|
5
5
|
handleSetHasCreatedPlayer: (value: boolean) => void;
|
|
6
6
|
hasCreatedPlayer: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const ModalContainer: ({ handleSetComponentKey,
|
|
8
|
+
export declare const ModalContainer: ({ handleSetComponentKey, data, embedCodeModalType, handleSetHasCreatedPlayer, hasCreatedPlayer, }: ModalContainerProps) => JSX.Element | null;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=ModalContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ModalContainer.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAaxD,UAAU,mBAAoB,SAAQ,mBAAmB;IACvD,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,yBAAyB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ModalContainer.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAaxD,UAAU,mBAAoB,SAAQ,mBAAmB;IACvD,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,yBAAyB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,sGAMxB,mBAAmB,uBAgNrB,CAAC"}
|