@brightcove/components-embed-code-modal 0.3.2 → 0.3.4

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.2",
3
+ "version": "0.3.4",
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 +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,aAAa,EAAE,gBAAgB,CAAC;IAChC,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,qDAIb,mBAAmB,uBAyBrB,CAAC;AAEF,eAAe,UAAU,CAAC"}
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,aAAa,EAAE,gBAAgB,CAAC;IAChC,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,qDAIb,mBAAmB,uBA+BrB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -2,7 +2,9 @@
2
2
  import { EmbedCodeModalProps } from 'js/EmbedCodeModal';
3
3
  interface ModalContainerProps extends EmbedCodeModalProps {
4
4
  handleSetComponentKey: () => void;
5
+ handleSetHasCreatedPlayer: (value: boolean) => void;
6
+ hasCreatedPlayer: boolean;
5
7
  }
6
- export declare const ModalContainer: ({ handleSetComponentKey, playerPayload, embedCodeModalType, }: ModalContainerProps) => JSX.Element | null;
8
+ export declare const ModalContainer: ({ handleSetComponentKey, playerPayload, embedCodeModalType, handleSetHasCreatedPlayer, hasCreatedPlayer, }: ModalContainerProps) => JSX.Element | null;
7
9
  export {};
8
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;CACnC;AAED,eAAO,MAAM,cAAc,kEAIxB,mBAAmB,uBA8MrB,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,+GAMxB,mBAAmB,uBAiNrB,CAAC"}
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { VideoPayload, ProjectPayload, EmbedCodeModalTypes } from 'js/types/EmbedCodeModalProps';
3
3
  import { PlayerSelectItem, PlayersObject } from 'js/types/players';
4
- export declare const VideoPlayer: ({ video, embedCodeModalType, playerListForSelection, players, }: {
4
+ export declare const VideoPlayer: ({ video, embedCodeModalType, playerListForSelection, players, hasCreatedPlayer, }: {
5
5
  video: VideoPayload | ProjectPayload;
6
6
  embedCodeModalType: EmbedCodeModalTypes;
7
7
  playerListForSelection: PlayerSelectItem[];
8
8
  players: PlayersObject;
9
+ hasCreatedPlayer?: boolean | undefined;
9
10
  }) => JSX.Element;
10
11
  //# sourceMappingURL=VideoPlayer.d.ts.map
@@ -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;AAe1B,eAAO,MAAM,WAAW;WAMf,YAAY,GAAG,cAAc;wBAChB,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;iBA6FvB,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;AAgB1B,eAAO,MAAM,WAAW;WAOf,YAAY,GAAG,cAAc;wBAChB,mBAAmB;4BACf,gBAAgB,EAAE;aACjC,aAAa;;iBA6GvB,CAAC"}
@@ -3,6 +3,7 @@ import { PlayerSelectItem } from '../types/players';
3
3
  export declare const ROLES: {
4
4
  PUBLISHING: string;
5
5
  };
6
+ export declare const PREVIEW_URL_BASE: () => string;
6
7
  /**
7
8
  * Get the studio environment as a string.
8
9
  * @returns the studio environment
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/util.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKpD,eAAO,MAAM,KAAK;;CAEjB,CAAC;AAEF;;;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,oBAAY,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AACF;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,YAAa,uBAAuB,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