@brightcove/components-embed-code-modal 0.1.17 → 0.1.19
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.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@brightcove/kacl": "^0.1.11",
|
|
32
32
|
"@brightcove/notify-change": "^0.1.7",
|
|
33
33
|
"@brightcove/react-player-loader": "^1.4.2",
|
|
34
|
-
"@brightcove/studio-components": "
|
|
34
|
+
"@brightcove/studio-components": "7.0.0",
|
|
35
35
|
"@testing-library/jest-dom": "^5.16.2",
|
|
36
36
|
"@testing-library/react": "^12.1.2",
|
|
37
37
|
"@types/jest": "^27.4.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"react-dnd": ">=14.0.4",
|
|
82
82
|
"react-dnd-html5-backend": ">=14.0.2",
|
|
83
83
|
"react-dom": ">=17.0.2",
|
|
84
|
-
"@brightcove/studio-components": "
|
|
84
|
+
"@brightcove/studio-components": "7.0.0",
|
|
85
85
|
"@brightcove/react-player-loader": "^1.4.2"
|
|
86
86
|
},
|
|
87
87
|
"module": "./index.js"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedCodeModalComponent.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModalComponent.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,mBAAmB,EAEpB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"EmbedCodeModalComponent.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCodeModalComponent.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,mBAAmB,EAEpB,MAAM,8BAA8B,CAAC;AA+BtC,eAAO,MAAM,uBAAuB,qBAGjC,mBAAmB,uBA+QrB,CAAC"}
|
package/src/js/utils/util.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VideoPayload } from '../types/EmbedCodeModalProps';
|
|
1
2
|
import { PlayerSelectItem } from '../types/players';
|
|
2
3
|
/**
|
|
3
4
|
* Get the studio environment as a string.
|
|
@@ -18,4 +19,17 @@ export declare function getUrlBase(): "https://bc-players-qa.s3.amazonaws.com/"
|
|
|
18
19
|
* @returns options ordered ascending
|
|
19
20
|
*/
|
|
20
21
|
export declare function sortAsc(options: PlayerSelectItem[]): PlayerSelectItem[];
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @param video : VideoPayload type info
|
|
25
|
+
* @param playerId : playerId used for preview
|
|
26
|
+
* @returns a working preview link with given information
|
|
27
|
+
*/
|
|
28
|
+
export declare const getVideoPreviewLink: (video: VideoPayload, playerId: string) => string;
|
|
29
|
+
/**
|
|
30
|
+
* Truncates a video title property
|
|
31
|
+
* @param videoName - video title
|
|
32
|
+
* @returns truncated video title
|
|
33
|
+
*/
|
|
34
|
+
export declare const truncateVideoTitle: (videoName: string) => string;
|
|
21
35
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAMpD;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;GAEG;AACH,wBAAgB,IAAI,YAEnB;AAED;;GAEG;AACH,wBAAgB,UAAU,kFAEzB;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAEvE;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,UAAW,YAAY,YAAY,MAAM,WAGrE,CAAC;AAEL;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,cAAe,MAAM,KAAG,MAUtD,CAAC"}
|