@brightcove/components-embed-code-modal 0.4.2 → 0.4.3

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.4.2",
3
+ "version": "0.4.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
@@ -34,7 +34,7 @@
34
34
  "@brightcove/kacl": "^0.1.11",
35
35
  "@brightcove/notify-change": "^0.1.7",
36
36
  "@brightcove/studio-api-services": "^6.69.0",
37
- "@brightcove/studio-components": "^7.20.0",
37
+ "@brightcove/studio-components": "^7.23.3",
38
38
  "@brightcove/studio-design-tokens": "^1.15.0",
39
39
  "@brightcove/studio-icons": "^8.14.0",
40
40
  "@testing-library/jest-dom": "^5.16.5",
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAcvC,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAW7D,eAAO,MAAM,aAAa,2DAKvB,aAAa,sBA0Df,CAAC"}
1
+ {"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAevC,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAW7D,eAAO,MAAM,aAAa,2DAKvB,aAAa,sBAgEf,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import { EmbedCodeProperties } from 'js/types/EmbedCodeModalProps';
3
- export declare const TabsSection: ({ isCampaign, ...rest }: {
3
+ export declare const TabsSection: ({ isCampaign, isViewerIdSource, ...rest }: {
4
4
  playerId: string;
5
5
  isCampaign: boolean;
6
+ isViewerIdSource: boolean;
6
7
  videoId?: string | undefined;
7
8
  accountId: string;
8
9
  interactivityProjectId?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TabsSection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,WAAW;cAIZ,MAAM;gBACJ,OAAO;;eAER,MAAM;;;uBAiClB,CAAC"}
1
+ {"version":3,"file":"TabsSection.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TabsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,WAAW;cAKZ,MAAM;gBACJ,OAAO;sBACD,OAAO;;eAEd,MAAM;;;uBA6ClB,CAAC"}
@@ -4,10 +4,5 @@ interface TitleWithTooltipProps {
4
4
  id: string;
5
5
  }
6
6
  export declare const TitleWithTooltip: ({ name, id }: TitleWithTooltipProps) => React.JSX.Element;
7
- interface ToltipContentProps {
8
- tooltipTextNew: string;
9
- tooltipLink: string;
10
- }
11
- export declare const TooltipContent: ({ tooltipTextNew, tooltipLink, }: ToltipContentProps) => React.JSX.Element;
12
7
  export {};
13
8
  //# sourceMappingURL=TitleWithTooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAM5D,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB,sBA6BnE,CAAC;AAEF,UAAU,kBAAkB;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,eAAO,MAAM,cAAc,qCAGxB,kBAAkB,sBAUpB,CAAC"}
1
+ {"version":3,"file":"TitleWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/components/TitleWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB,sBA6BnE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAkB1B,eAAO,MAAM,WAAW;WAQf,YAAY,GAAG,cAAc;wBAChB,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;;;uBAuHvB,CAAC"}
1
+ {"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAkB1B,eAAO,MAAM,WAAW;WAQf,YAAY,GAAG,cAAc;wBAChB,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;;;uBA+IvB,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export * from './EmbedCopySection';
2
2
  export * from './ModalContainer';
3
- export * from './PlayersDropdown';
4
3
  export * from './TitleWithTooltip';
5
4
  export * from './TabsHeader';
6
5
  export * from './TabsSection';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/js/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/js/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC"}
@@ -12,6 +12,7 @@ export declare const PLAYERS: {
12
12
  hasCampaignPlugin: boolean;
13
13
  label: string;
14
14
  hasInteractivityPlugin: boolean;
15
+ hasViewerIDSource: boolean;
15
16
  };
16
17
  };
17
18
  export declare const DEFAULT_INTERACTIVITY_PLAYER: {
@@ -1 +1 @@
1
- {"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/player.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAE/D,eAAO,MAAM,yBAAyB;;;GAKrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;CAOxC,CAAC"}
1
+ {"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/player.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAE/D,eAAO,MAAM,yBAAyB;;;GAKrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;CAOxC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export declare const bcHostedPlugins: string[];
2
2
  export declare const CAMPAIGN_PLUGIN_NAME = "bcMapPlugin";
3
+ export declare const VIEWER_ID_KEY_NAME = "viewer_id_source";
3
4
  export declare const INTERACTIVITY_PLUGIN_NAME = "interactivityViewer";
4
5
  export declare const INTERACTIVITY_REGISTRY_ID = "@brightcove/videojs-interactivity-viewer";
5
6
  //# sourceMappingURL=pluginsRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pluginsRegistry.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/pluginsRegistry.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe,UAqB3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAgB,CAAC;AAClD,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,6CACM,CAAC"}
1
+ {"version":3,"file":"pluginsRegistry.d.ts","sourceRoot":"","sources":["../../../../src/js/constants/pluginsRegistry.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe,UAqB3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAgB,CAAC;AAClD,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AACrD,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,6CACM,CAAC"}
package/src/js/i18n.d.ts CHANGED
@@ -18,6 +18,7 @@ export declare const resources: {
18
18
  };
19
19
  helperText: string;
20
20
  helperTextWarning: string;
21
+ viewerIdTextWarning: string;
21
22
  };
22
23
  done: string;
23
24
  close: string;
@@ -65,6 +66,7 @@ export declare const resources: {
65
66
  };
66
67
  helperText: string;
67
68
  helperTextWarning: string;
69
+ viewerIdTextWarning: string;
68
70
  };
69
71
  toasterTitle: string;
70
72
  toasterMessage: string;
@@ -112,6 +114,7 @@ export declare const resources: {
112
114
  };
113
115
  helperText: string;
114
116
  helperTextWarning: string;
117
+ viewerIdTextWarning: string;
115
118
  };
116
119
  toasterTitle: string;
117
120
  toasterMessage: string;
@@ -159,6 +162,7 @@ export declare const resources: {
159
162
  };
160
163
  helperText: string;
161
164
  helperTextWarning: string;
165
+ viewerIdTextWarning: string;
162
166
  };
163
167
  toasterTitle: string;
164
168
  toasterMessage: string;
@@ -206,6 +210,7 @@ export declare const resources: {
206
210
  };
207
211
  helperText: string;
208
212
  helperTextWarning: string;
213
+ viewerIdTextWarning: string;
209
214
  };
210
215
  toasterTitle: string;
211
216
  toasterMessage: string;
@@ -253,6 +258,7 @@ export declare const resources: {
253
258
  };
254
259
  helperText: string;
255
260
  helperTextWarning: string;
261
+ viewerIdTextWarning: string;
256
262
  };
257
263
  toasterTitle: string;
258
264
  toasterMessage: string;
@@ -1 +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"}
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"}
@@ -8,6 +8,7 @@ export type PlayersObjectItem = {
8
8
  hasCustomPlugins: boolean;
9
9
  hasCampaignPlugin: boolean;
10
10
  hasInteractivityPlugin: boolean;
11
+ hasViewerIDSource: boolean;
11
12
  };
12
13
  export type PlayersObject = {
13
14
  [key: string]: PlayersObjectItem;
@@ -1 +1 @@
1
- {"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../../../src/js/types/players.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,OAAO,CAAC;IAC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AW,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,MAAM,MAAM,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 +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;AAQ1B,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,iBAAiB;;;EAmCjE"}
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;AAS1B,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,iBAAiB;;;EAuCjE"}