@brightcove/components-embed-code-modal 0.2.0 → 0.2.1
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 +15 -14
- package/src/js/components/ModalContainer.d.ts.map +1 -1
- package/src/js/components/PlayersDropdown.d.ts.map +1 -1
- package/src/js/components/VideoPlayer.d.ts.map +1 -1
- package/src/js/constants/player.d.ts +2 -2
- package/src/js/types/players.d.ts +2 -2
- package/src/js/types/players.d.ts.map +1 -1
- package/src/js/utils/addPluginsDataToPlayers.d.ts +1 -2
- 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.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"demo": "NODE_ENV=development webpack-dev-server --progress --color",
|
|
14
14
|
"build": "NODE_ENV=production webpack --progress && cp ./README.md ./build && node scripts/create-dist-pkg-prod && tsc",
|
|
15
|
+
"build:watch": "NODE_ENV=production webpack --watch",
|
|
16
|
+
"clean": "rm -r build",
|
|
15
17
|
"lint": "eslint \"{src,__tests__,demo}/**/*.{ts,tsx,js,jsx}\"",
|
|
16
18
|
"type-check": "tsc",
|
|
17
19
|
"notify": "notify-change -m proj-projstudio",
|
|
@@ -33,8 +35,10 @@
|
|
|
33
35
|
"@brightcove/notify-change": "^0.1.7",
|
|
34
36
|
"@brightcove/react-player-loader": "^1.4.2",
|
|
35
37
|
"@brightcove/studio-components": "7.0.0",
|
|
38
|
+
"@brightcove/studio-design-tokens": "^1.15.0",
|
|
39
|
+
"@brightcove/studio-icons": "^8.14.0",
|
|
36
40
|
"@testing-library/jest-dom": "^5.16.5",
|
|
37
|
-
"@testing-library/react": "^
|
|
41
|
+
"@testing-library/react": "^12.1.5",
|
|
38
42
|
"@testing-library/user-event": "^14.4.3",
|
|
39
43
|
"@types/jest": "^27.4.0",
|
|
40
44
|
"@types/react": "^17.0.37",
|
|
@@ -54,8 +58,8 @@
|
|
|
54
58
|
"jest-canvas-mock": "^2.3.1",
|
|
55
59
|
"lint-staged": "^12.1.2",
|
|
56
60
|
"prettier": "^2.5.0",
|
|
57
|
-
"react
|
|
58
|
-
"react-
|
|
61
|
+
"react": "^17.0.2",
|
|
62
|
+
"react-dom": "^17.0.2",
|
|
59
63
|
"release-it": "^14.11.8",
|
|
60
64
|
"resize-observer-polyfill": "^1.5.1",
|
|
61
65
|
"sass": "^1.44.0",
|
|
@@ -67,24 +71,21 @@
|
|
|
67
71
|
"webpack-dev-server": "^4.5.0"
|
|
68
72
|
},
|
|
69
73
|
"dependencies": {
|
|
70
|
-
"@brightcove/player-embed-code": "1.5.0",
|
|
71
|
-
"@brightcove/studio-api-services": "^6.
|
|
72
|
-
"@brightcove/studio-design-tokens": "1.13.0",
|
|
73
|
-
"@brightcove/studio-icons": "8.9.0",
|
|
74
|
-
"classnames": "^2.3.1",
|
|
74
|
+
"@brightcove/player-embed-code": "^1.5.0",
|
|
75
|
+
"@brightcove/studio-api-services": "^6.69.0",
|
|
75
76
|
"i18next": "^21.5.4",
|
|
76
|
-
"react": ">=17.0.2",
|
|
77
|
-
"react-dom": ">=17.0.2",
|
|
78
77
|
"react-i18next": "^11.14.3",
|
|
79
78
|
"react-query": "^3.38.0"
|
|
80
79
|
},
|
|
81
80
|
"peerDependencies": {
|
|
81
|
+
"@brightcove/react-player-loader": "^1.4.2",
|
|
82
|
+
"@brightcove/studio-components": "*",
|
|
83
|
+
"@brightcove/studio-design-tokens": "*",
|
|
84
|
+
"@brightcove/studio-icons": "*",
|
|
82
85
|
"react": ">=17.0.2",
|
|
83
86
|
"react-dnd": ">=14.0.4",
|
|
84
87
|
"react-dnd-html5-backend": ">=14.0.2",
|
|
85
|
-
"react-dom": ">=17.0.2"
|
|
86
|
-
"@brightcove/studio-components": "7.0.0",
|
|
87
|
-
"@brightcove/react-player-loader": "^1.4.2"
|
|
88
|
+
"react-dom": ">=17.0.2"
|
|
88
89
|
},
|
|
89
90
|
"module": "./index.js"
|
|
90
91
|
}
|
|
@@ -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;
|
|
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;CACnC;AAED,eAAO,MAAM,cAAc,kEAIxB,mBAAmB,uBA8MrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayersDropdown.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayersDropdown.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC1C,sBAAsB,EAAE,gBAAgB,EAAE,CAAC;IAC3C,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,mDAIzB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"PlayersDropdown.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayersDropdown.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC1C,sBAAsB,EAAE,gBAAgB,EAAE,CAAC;IAC3C,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,mDAIzB,mBAAmB,uBAmDrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,aAAa,EAEd,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAe1B,eAAO,MAAM,WAAW;WAMf,YAAY,GAAG,cAAc;wBAChB,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;iBA0FvB,CAAC"}
|
|
@@ -8,9 +8,9 @@ export declare const PLAYERS: {
|
|
|
8
8
|
default: {
|
|
9
9
|
hasCustomPlugins: boolean;
|
|
10
10
|
id: string;
|
|
11
|
-
|
|
11
|
+
hasCampaignPlugin: boolean;
|
|
12
12
|
label: string;
|
|
13
|
-
|
|
13
|
+
hasInteractivityPlugin: boolean;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export declare const DEFAULT_INTERACTIVITY_PLAYER: {
|
|
@@ -6,8 +6,8 @@ export declare type PlayersObjectItem = {
|
|
|
6
6
|
label: string;
|
|
7
7
|
id: string;
|
|
8
8
|
hasCustomPlugins: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
hasCampaignPlugin: boolean;
|
|
10
|
+
hasInteractivityPlugin: boolean;
|
|
11
11
|
};
|
|
12
12
|
export declare type PlayersObject = {
|
|
13
13
|
[key: string]: PlayersObjectItem;
|
|
@@ -1 +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,gBAAgB,EAAE,OAAO,CAAC;IAC1B,
|
|
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,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,OAAO,CAAC;CACjC,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;AAEF,oBAAY,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAEzD,oBAAY,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,oBAAY,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,6 +1,5 @@
|
|
|
1
1
|
import { GetPlayersPayload, PlayerSelectItem, PlayersObject } from 'js/types/players';
|
|
2
|
-
|
|
3
|
-
export declare function addPluginsDataToPlayers(players: GetPlayersPayload, comparingName: string | undefined, embedCodeModalType: EmbedCodeModalTypes): {
|
|
2
|
+
export declare function addPluginsDataToPlayers(players: GetPlayersPayload): {
|
|
4
3
|
players: PlayersObject;
|
|
5
4
|
playerListForSelection: PlayerSelectItem[];
|
|
6
5
|
};
|
|
@@ -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;AAO1B,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,iBAAiB;;;EAiCjE"}
|