@brightcove/components-embed-code-modal 0.1.7 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightcove/components-embed-code-modal",
3
- "version": "0.1.7",
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",
@@ -1,4 +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
4
  //# sourceMappingURL=EmbedCode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedCode.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCode.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAgBzD,eAAO,MAAM,SAAS,gDAKnB,cAAc,gBA+FhB,CAAC"}
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"}
@@ -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;AAwBtC,eAAO,MAAM,uBAAuB,qBAGjC,mBAAmB,uBAiPrB,CAAC"}
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"}
@@ -1,7 +1,4 @@
1
1
  import { EmbedCodeModalTypes } from 'js/types/EmbedCodeModalProps';
2
- declare const useGetPlayers: (type: EmbedCodeModalTypes, isEmbedTypesEnabled: boolean, isPlayersCallEnabled: boolean) => import("react-query").QueryObserverIdleResult<import("../types/players").GetPlayersPayload, unknown> | import("react-query").QueryObserverLoadingErrorResult<import("../types/players").GetPlayersPayload, unknown> | import("react-query").QueryObserverLoadingResult<import("../types/players").GetPlayersPayload, unknown> | import("react-query").QueryObserverRefetchErrorResult<import("../types/players").GetPlayersPayload, unknown> | import("react-query").QueryObserverSuccessResult<import("../types/players").GetPlayersPayload, unknown> | {
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;
7
4
  //# sourceMappingURL=useGetPlayers.d.ts.map
@@ -1 +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;;;CAW9B,CAAC;AAEF,eAAe,aAAa,CAAC"}
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;
@@ -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"}
@@ -3,5 +3,6 @@ export declare type EmbedCodeProps = {
3
3
  accountId: string;
4
4
  videoId: string;
5
5
  playerId: string;
6
+ isCampaign: boolean;
6
7
  };
7
8
  //# sourceMappingURL=EmbedCodeProps.d.ts.map
@@ -1 +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;CAClB,CAAC"}
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"}