@brightcove/components-embed-code-modal 0.1.6 → 0.1.8
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/__tests__/EmbedCodeModalComponent.spec.d.ts +1 -0
- package/__tests__/EmbedCodeModalComponent.spec.d.ts.map +1 -0
- package/index.js +7 -2
- package/index.js.map +1 -1
- package/package.json +2 -1
- package/src/index.d.ts +2 -1
- package/src/index.d.ts.map +1 -0
- package/src/js/EmbedCode.d.ts +2 -1
- package/src/js/EmbedCode.d.ts.map +1 -0
- package/src/js/EmbedCodeModal.d.ts +1 -0
- package/src/js/EmbedCodeModal.d.ts.map +1 -0
- package/src/js/EmbedCodeModalComponent.d.ts +1 -0
- package/src/js/EmbedCodeModalComponent.d.ts.map +1 -0
- package/src/js/constants/baseUrls.d.ts +1 -0
- package/src/js/constants/baseUrls.d.ts.map +1 -0
- package/src/js/constants/player.d.ts +1 -0
- package/src/js/constants/player.d.ts.map +1 -0
- package/src/js/hooks/useGetPlayers.d.ts +2 -4
- package/src/js/hooks/useGetPlayers.d.ts.map +1 -0
- package/src/js/i18n.d.ts +7 -0
- package/src/js/i18n.d.ts.map +1 -0
- package/src/js/services/players-api.d.ts +1 -0
- package/src/js/services/players-api.d.ts.map +1 -0
- package/src/js/types/EmbedCodeModalProps.d.ts +1 -0
- package/src/js/types/EmbedCodeModalProps.d.ts.map +1 -0
- package/src/js/types/EmbedCodeProps.d.ts +2 -0
- package/src/js/types/EmbedCodeProps.d.ts.map +1 -0
- package/src/js/types/players.d.ts +1 -0
- package/src/js/types/players.d.ts.map +1 -0
- package/src/js/types/studioModule.d.ts +1 -0
- package/src/js/types/studioModule.d.ts.map +1 -0
- package/src/js/utils/call.d.ts +1 -0
- package/src/js/utils/call.d.ts.map +1 -0
- package/src/js/utils/util.d.ts +1 -0
- package/src/js/utils/util.d.ts.map +1 -0
- package/src/styles/typings.td.d.ts +1 -0
- package/src/styles/typings.td.d.ts.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightcove/components-embed-code-modal",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"@brightcove/studio-components": "^4.4.3",
|
|
70
70
|
"@brightcove/studio-design-tokens": "1.13.0",
|
|
71
71
|
"@brightcove/studio-icons": "8.6.1",
|
|
72
|
+
"classnames": "^2.3.1",
|
|
72
73
|
"i18next": "^21.5.4",
|
|
73
74
|
"react": ">=17.0.2",
|
|
74
75
|
"react-dom": ">=17.0.2",
|
package/src/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import EmbedCodeModal from './js/EmbedCodeModal';
|
|
2
|
-
import type
|
|
2
|
+
import { type VideoPayload, EmbedCodeModalTypes } from './js/types/EmbedCodeModalProps';
|
|
3
3
|
export { EmbedCodeModal, VideoPayload, EmbedCodeModalTypes };
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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"}
|
package/src/js/EmbedCode.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { EmbedCodeProps } from 'js/types/EmbedCodeProps';
|
|
3
|
-
export declare const EmbedCode: ({ isIFrame, accountId, videoId, playerId, }: EmbedCodeProps) => JSX.Element;
|
|
3
|
+
export declare const EmbedCode: ({ isIFrame, accountId, videoId, playerId, isCampaign, }: EmbedCodeProps) => JSX.Element;
|
|
4
|
+
//# sourceMappingURL=EmbedCode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbedCode.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCode.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAgBzD,eAAO,MAAM,SAAS,4DAMnB,cAAc,gBAwGhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbedCodeModal.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModal.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAUnE,QAAA,MAAM,cAAc,UAAW,mBAAmB,gBAYjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbedCodeModalComponent.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModalComponent.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,mBAAmB,EAEpB,MAAM,8BAA8B,CAAC;AAwBtC,eAAO,MAAM,uBAAuB,qBAGjC,mBAAmB,uBAoPrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"baseUrls.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/baseUrls.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,4CAA4C,CAAC;AAChE,eAAO,MAAM,QAAQ,oCAAoC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/player.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,YAAY,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { EmbedCodeModalTypes } from 'js/types/EmbedCodeModalProps';
|
|
2
|
-
declare const useGetPlayers: (type: EmbedCodeModalTypes, isEmbedTypesEnabled: boolean, isPlayersCallEnabled: boolean) => import("react-query").
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
data: null;
|
|
5
|
-
};
|
|
2
|
+
declare const useGetPlayers: (type: EmbedCodeModalTypes, isEmbedTypesEnabled: boolean, isPlayersCallEnabled: boolean) => import("react-query").UseQueryResult<import("../types/players").GetPlayersPayload, unknown>;
|
|
6
3
|
export default useGetPlayers;
|
|
4
|
+
//# sourceMappingURL=useGetPlayers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetPlayers.d.ts","sourceRoot":"","sources":["../../../../src/js/hooks/useGetPlayers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,QAAA,MAAM,aAAa,SACX,mBAAmB,uBACJ,OAAO,wBACN,OAAO,gGAY9B,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/src/js/i18n.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare const resources: {
|
|
|
16
16
|
};
|
|
17
17
|
helperText: string;
|
|
18
18
|
helperTextNew: string;
|
|
19
|
+
helperTextWarning: string;
|
|
19
20
|
};
|
|
20
21
|
closeModal: string;
|
|
21
22
|
toasterTitle: string;
|
|
@@ -40,6 +41,7 @@ export declare const resources: {
|
|
|
40
41
|
};
|
|
41
42
|
helperText: string;
|
|
42
43
|
helperTextNew: string;
|
|
44
|
+
helperTextWarning: string;
|
|
43
45
|
};
|
|
44
46
|
closeModal: string;
|
|
45
47
|
toasterTitle: string;
|
|
@@ -64,6 +66,7 @@ export declare const resources: {
|
|
|
64
66
|
};
|
|
65
67
|
helperText: string;
|
|
66
68
|
helperTextNew: string;
|
|
69
|
+
helperTextWarning: string;
|
|
67
70
|
};
|
|
68
71
|
closeModal: string;
|
|
69
72
|
toasterTitle: string;
|
|
@@ -88,6 +91,7 @@ export declare const resources: {
|
|
|
88
91
|
};
|
|
89
92
|
helperText: string;
|
|
90
93
|
helperTextNew: string;
|
|
94
|
+
helperTextWarning: string;
|
|
91
95
|
};
|
|
92
96
|
closeModal: string;
|
|
93
97
|
toasterTitle: string;
|
|
@@ -112,6 +116,7 @@ export declare const resources: {
|
|
|
112
116
|
};
|
|
113
117
|
helperText: string;
|
|
114
118
|
helperTextNew: string;
|
|
119
|
+
helperTextWarning: string;
|
|
115
120
|
};
|
|
116
121
|
closeModal: string;
|
|
117
122
|
toasterTitle: string;
|
|
@@ -136,6 +141,7 @@ export declare const resources: {
|
|
|
136
141
|
};
|
|
137
142
|
helperText: string;
|
|
138
143
|
helperTextNew: string;
|
|
144
|
+
helperTextWarning: string;
|
|
139
145
|
};
|
|
140
146
|
closeModal: string;
|
|
141
147
|
toasterTitle: string;
|
|
@@ -146,3 +152,4 @@ export declare const resources: {
|
|
|
146
152
|
};
|
|
147
153
|
};
|
|
148
154
|
export default i18n;
|
|
155
|
+
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC;AAaF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"players-api.d.ts","sourceRoot":"","sources":["../../../../src/js/services/players-api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,eAAO,MAAM,UAAU,QAAa,QAAQ,iBAAiB,CAE5D,CAAC"}
|
|
@@ -0,0 +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,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACnD,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbedCodeProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeProps.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../../../src/js/types/players.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,oBAAY,aAAa,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAC;CAClC,CAAC;AAEF,oBAAY,UAAU,GAAG;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studioModule.d.ts","sourceRoot":"","sources":["../../../../src/js/types/studioModule.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,GAAG,CAAC;IACf,KAAK,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC9B,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAChC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,YAAY,EAAE,YAAY,CAAC;KAC5B;CACF"}
|
package/src/js/utils/call.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/call.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,WAGxB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;CAOrB,CAAC;AAEF,eAAO,MAAM,IAAI,iCAShB,CAAC;AAEF,eAAO,MAAM,OAAO,mDAGnB,CAAC"}
|
package/src/js/utils/util.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/util.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CAGlD;AAED;;GAEG;AACH,wBAAgB,IAAI,YAEnB;AAED;;GAEG;AACH,wBAAgB,UAAU,kFAEzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typings.td.d.ts","sourceRoot":"","sources":["../../../src/styles/typings.td.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,eAAe,CAAC;IAC7B,MAAM,OAAO,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC/C,eAAe,OAAO,CAAC;CACxB;AAED,OAAO,QAAQ,eAAe,CAAC;IAC7B,MAAM,OAAO,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC/C,eAAe,OAAO,CAAC;CACxB"}
|