@brightcove/components-embed-code-modal 0.8.3 → 0.8.5
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/__tests__/EmbedCode.test.d.ts +2 -0
- package/__tests__/EmbedCode.test.d.ts.map +1 -0
- package/__tests__/InteractivityProject.test.d.ts +2 -0
- package/__tests__/InteractivityProject.test.d.ts.map +1 -0
- package/__tests__/PlayerPreview.test.d.ts +2 -0
- package/__tests__/PlayerPreview.test.d.ts.map +1 -0
- package/__tests__/TabsHeader.test.d.ts +2 -0
- package/__tests__/TabsHeader.test.d.ts.map +1 -0
- package/__tests__/TabsSection.test.d.ts +2 -0
- package/__tests__/TabsSection.test.d.ts.map +1 -0
- package/__tests__/TitleWithTooltip.test.d.ts +2 -0
- package/__tests__/TitleWithTooltip.test.d.ts.map +1 -0
- package/__tests__/VideoPlayer.test.d.ts +2 -0
- package/__tests__/VideoPlayer.test.d.ts.map +1 -0
- package/__tests__/util.test.d.ts +2 -0
- package/__tests__/util.test.d.ts.map +1 -0
- package/index.js +58 -0
- package/index.js.map +1 -0
- package/package.json +5 -15
- package/src/index.d.ts +5 -0
- package/src/index.d.ts.map +1 -0
- package/src/js/EmbedCodeModal.d.ts +23 -0
- package/src/js/EmbedCodeModal.d.ts.map +1 -0
- package/src/js/components/CustomSettingsDropdown.d.ts +11 -0
- package/src/js/components/CustomSettingsDropdown.d.ts.map +1 -0
- package/src/js/components/EmbedCopySection.d.ts +4 -0
- package/src/js/components/EmbedCopySection.d.ts.map +1 -0
- package/src/js/components/ModalContainer.d.ts +23 -0
- package/src/js/components/ModalContainer.d.ts.map +1 -0
- package/src/js/components/NoPlayerModal.d.ts +8 -0
- package/src/js/components/NoPlayerModal.d.ts.map +1 -0
- package/src/js/components/PlayerPreview.d.ts +4 -0
- package/src/js/components/PlayerPreview.d.ts.map +1 -0
- package/src/js/components/TabsHeader.d.ts +11 -0
- package/src/js/components/TabsHeader.d.ts.map +1 -0
- package/src/js/components/TabsSection.d.ts +15 -0
- package/src/js/components/TabsSection.d.ts.map +1 -0
- package/src/js/components/TitleWithTooltip.d.ts +8 -0
- package/src/js/components/TitleWithTooltip.d.ts.map +1 -0
- package/src/js/components/VideoLinks.d.ts +9 -0
- package/src/js/components/VideoLinks.d.ts.map +1 -0
- package/src/js/components/VideoPlayer.d.ts +24 -0
- package/src/js/components/VideoPlayer.d.ts.map +1 -0
- package/src/js/components/{index.ts → index.d.ts} +1 -0
- package/src/js/components/index.d.ts.map +1 -0
- package/src/js/constants/baseUrls.d.ts +5 -0
- package/src/js/constants/baseUrls.d.ts.map +1 -0
- package/src/js/constants/embed.d.ts +9 -0
- package/src/js/constants/embed.d.ts.map +1 -0
- package/src/js/constants/player.d.ts +27 -0
- package/src/js/constants/player.d.ts.map +1 -0
- package/src/js/constants/pluginsRegistry.d.ts +7 -0
- package/src/js/constants/pluginsRegistry.d.ts.map +1 -0
- package/src/js/hooks/useGetPlayers.d.ts +3 -0
- package/src/js/hooks/useGetPlayers.d.ts.map +1 -0
- package/src/js/i18n.d.ts +341 -0
- package/src/js/i18n.d.ts.map +1 -0
- package/src/js/services/players-api.d.ts +5 -0
- package/src/js/services/players-api.d.ts.map +1 -0
- package/src/js/services/url-shortener.d.ts +4 -0
- package/src/js/services/url-shortener.d.ts.map +1 -0
- package/src/js/types/EmbedCodeModalProps.d.ts +59 -0
- package/src/js/types/EmbedCodeModalProps.d.ts.map +1 -0
- package/src/js/types/EmbedCodeProps.d.ts +13 -0
- package/src/js/types/EmbedCodeProps.d.ts.map +1 -0
- package/src/js/types/players.d.ts +58 -0
- package/src/js/types/players.d.ts.map +1 -0
- package/src/js/types/studioModule.d.ts +8 -0
- package/src/js/types/studioModule.d.ts.map +1 -0
- package/src/js/utils/addPluginsDataToPlayers.d.ts +6 -0
- package/src/js/utils/addPluginsDataToPlayers.d.ts.map +1 -0
- package/src/js/utils/call.d.ts +14 -0
- package/src/js/utils/call.d.ts.map +1 -0
- package/src/js/utils/dimensions.d.ts +9 -0
- package/src/js/utils/dimensions.d.ts.map +1 -0
- package/src/js/utils/featureSwitches.d.ts +2 -0
- package/src/js/utils/featureSwitches.d.ts.map +1 -0
- package/src/js/utils/util.d.ts +67 -0
- package/src/js/utils/util.d.ts.map +1 -0
- package/src/module.d.ts +2 -0
- package/src/module.d.ts.map +1 -0
- package/src/styles/typings.td.d.ts +13 -0
- package/src/styles/typings.td.d.ts.map +1 -0
- package/src/types/studio.d.ts +202 -0
- package/src/types/studio.d.ts.map +1 -0
- package/.eslintignore +0 -7
- package/.eslintrc +0 -23
- package/.husky/pre-commit +0 -4
- package/.nvmrc +0 -1
- package/.prettierignore +0 -7
- package/.prettierrc +0 -5
- package/.release-it.json +0 -40
- package/.whitesource +0 -3
- package/CHANGELOG.md +0 -342
- package/CODEOWNERS +0 -37
- package/PULL_REQUEST_TEMPLATE.md +0 -17
- package/__tests__/EmbedCode.test.tsx +0 -51
- package/__tests__/InteractivityProject.test.tsx +0 -50
- package/__tests__/PlayerPreview.test.tsx +0 -23
- package/__tests__/TabsHeader.test.tsx +0 -19
- package/__tests__/TabsSection.test.tsx +0 -46
- package/__tests__/TitleWithTooltip.test.tsx +0 -45
- package/__tests__/VideoPlayer.test.tsx +0 -38
- package/__tests__/util.test.ts +0 -89
- package/babel.config.json +0 -17
- package/etc/wildcard.brightcove.com.key +0 -27
- package/etc/wildcard.brightcove.com.pem +0 -96
- package/jest/jest.setup.js +0 -62
- package/jest/jest.stub.js +0 -4
- package/jest.config.js +0 -24
- package/scripts/create-dist-pkg-prod.js +0 -18
- package/src/index.ts +0 -16
- package/src/js/EmbedCodeModal.tsx +0 -88
- package/src/js/components/CustomSettingsDropdown.tsx +0 -184
- package/src/js/components/EmbedCopySection.tsx +0 -130
- package/src/js/components/ModalContainer.tsx +0 -274
- package/src/js/components/NoPlayerModal.tsx +0 -42
- package/src/js/components/PlayerPreview.tsx +0 -116
- package/src/js/components/TabsHeader.tsx +0 -31
- package/src/js/components/TabsSection.tsx +0 -74
- package/src/js/components/TitleWithTooltip.tsx +0 -39
- package/src/js/components/VideoLinks.tsx +0 -83
- package/src/js/components/VideoPlayer.tsx +0 -303
- package/src/js/constants/baseUrls.ts +0 -4
- package/src/js/constants/embed.ts +0 -12
- package/src/js/constants/player.ts +0 -32
- package/src/js/constants/pluginsRegistry.ts +0 -30
- package/src/js/hooks/useGetPlayers.ts +0 -12
- package/src/js/i18n.ts +0 -43
- package/src/js/services/players-api.ts +0 -26
- package/src/js/services/url-shortener.ts +0 -10
- package/src/js/types/EmbedCodeModalProps.ts +0 -72
- package/src/js/types/EmbedCodeProps.ts +0 -13
- package/src/js/types/brightcoveEmbedCode.d.ts +0 -18
- package/src/js/types/players.ts +0 -64
- package/src/js/types/react-i18next.d.ts +0 -8
- package/src/js/types/studioModule.ts +0 -7
- package/src/js/utils/addPluginsDataToPlayers.ts +0 -59
- package/src/js/utils/call.ts +0 -31
- package/src/js/utils/dimensions.ts +0 -53
- package/src/js/utils/featureSwitches.ts +0 -16
- package/src/js/utils/util.ts +0 -153
- package/src/module.tsx +0 -246
- package/src/styles/CustomSettingsDropdown.sass +0 -42
- package/src/styles/EmbedCode.sass +0 -30
- package/src/styles/EmbedCodeModal.sass +0 -76
- package/src/styles/base.sass +0 -1
- package/src/styles/theme.sass +0 -11
- package/src/styles/typings.td.ts +0 -9
- package/src/translations/en.json +0 -53
- package/src/translations/es.json +0 -53
- package/src/translations/fr.json +0 -53
- package/src/translations/ja.json +0 -53
- package/src/translations/ko.json +0 -53
- package/src/translations/zh.json +0 -53
- package/src/types/studio.ts +0 -197
- package/tsconfig.json +0 -34
- package/webpack.config.js +0 -97
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typings.td.d.ts","sourceRoot":"","sources":["../../../src/styles/typings.td.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,eAAe,CAAC;IAC7B,MAAM,OAAO,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC/C,eAAe,OAAO,CAAC;CACxB;AAED,OAAO,QAAQ,eAAe,CAAC;IAC7B,MAAM,OAAO,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC/C,eAAe,OAAO,CAAC;CACxB"}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface SetiSetting {
|
|
3
|
+
creator: string;
|
|
4
|
+
name: string;
|
|
5
|
+
values: string | boolean;
|
|
6
|
+
value_type: string;
|
|
7
|
+
read_only: boolean;
|
|
8
|
+
path: string;
|
|
9
|
+
}
|
|
10
|
+
interface Module {
|
|
11
|
+
api: Record<string, {
|
|
12
|
+
origin: string;
|
|
13
|
+
proxyPath?: string;
|
|
14
|
+
version: string;
|
|
15
|
+
}>;
|
|
16
|
+
bcApiConfig: Record<string, string>;
|
|
17
|
+
beta: boolean;
|
|
18
|
+
icon: string;
|
|
19
|
+
id: string;
|
|
20
|
+
key: string;
|
|
21
|
+
logoutURL: string;
|
|
22
|
+
profileEditUrl: string;
|
|
23
|
+
roleRequired: string;
|
|
24
|
+
root: string;
|
|
25
|
+
title: string;
|
|
26
|
+
sdk_root: string;
|
|
27
|
+
scope: string;
|
|
28
|
+
}
|
|
29
|
+
interface ProfileVisibility {
|
|
30
|
+
[key: string]: 'show' | 'hide';
|
|
31
|
+
}
|
|
32
|
+
interface UserAccount {
|
|
33
|
+
edition: string;
|
|
34
|
+
id: string;
|
|
35
|
+
is_admin: boolean;
|
|
36
|
+
is_express: boolean;
|
|
37
|
+
mediaSharingEnabled: boolean;
|
|
38
|
+
name: string;
|
|
39
|
+
primary_admin_id: string | number;
|
|
40
|
+
restricted: boolean;
|
|
41
|
+
roles: Array<string>;
|
|
42
|
+
settings: {
|
|
43
|
+
module_core_versions: {
|
|
44
|
+
[key: string]: SetiSetting;
|
|
45
|
+
};
|
|
46
|
+
module_versions: {
|
|
47
|
+
[key: string]: SetiSetting;
|
|
48
|
+
};
|
|
49
|
+
account: {
|
|
50
|
+
[key: string]: SetiSetting;
|
|
51
|
+
};
|
|
52
|
+
ingestion: {
|
|
53
|
+
profile_visibility: {
|
|
54
|
+
profile: {
|
|
55
|
+
visibility: ProfileVisibility;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
featureSwitches: {
|
|
60
|
+
[key: string]: boolean;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
status: string;
|
|
64
|
+
trial_account: boolean;
|
|
65
|
+
use_quova: boolean;
|
|
66
|
+
}
|
|
67
|
+
interface Product {
|
|
68
|
+
color: string;
|
|
69
|
+
defaultModule: string;
|
|
70
|
+
env: string;
|
|
71
|
+
features: Record<string, unknown>;
|
|
72
|
+
key: string;
|
|
73
|
+
layout: string;
|
|
74
|
+
modules: Record<string, string | boolean>[];
|
|
75
|
+
path: string;
|
|
76
|
+
supportName: string;
|
|
77
|
+
systemStatus: string;
|
|
78
|
+
title: string;
|
|
79
|
+
}
|
|
80
|
+
interface User {
|
|
81
|
+
accounts: Array<UserAccount>;
|
|
82
|
+
currentAccount: UserAccount;
|
|
83
|
+
email_address: string;
|
|
84
|
+
featureSwitches: {
|
|
85
|
+
[key: string]: boolean;
|
|
86
|
+
};
|
|
87
|
+
feature_provisioning: {
|
|
88
|
+
[key: string]: SetiSetting;
|
|
89
|
+
};
|
|
90
|
+
first_name: string;
|
|
91
|
+
id: string;
|
|
92
|
+
last_name: string;
|
|
93
|
+
locale: string;
|
|
94
|
+
timezone: string;
|
|
95
|
+
locked: boolean;
|
|
96
|
+
lockedByAdmin: boolean;
|
|
97
|
+
module_versions: {
|
|
98
|
+
[key: string]: SetiSetting;
|
|
99
|
+
};
|
|
100
|
+
module_core_versions: {
|
|
101
|
+
[key: string]: SetiSetting;
|
|
102
|
+
};
|
|
103
|
+
settings: {
|
|
104
|
+
[key: string]: SetiSetting;
|
|
105
|
+
};
|
|
106
|
+
map: {
|
|
107
|
+
features: {
|
|
108
|
+
[key: string]: SetiSetting;
|
|
109
|
+
};
|
|
110
|
+
status: SetiSetting;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
interface ErrorResponder extends Error {
|
|
114
|
+
responseCode: number;
|
|
115
|
+
responseText: string;
|
|
116
|
+
}
|
|
117
|
+
interface BCApi {
|
|
118
|
+
CORSSupport: boolean;
|
|
119
|
+
PATH: {
|
|
120
|
+
[key: string]: string;
|
|
121
|
+
};
|
|
122
|
+
accessToken: Record<string, unknown>;
|
|
123
|
+
accessTokenExpiry: never;
|
|
124
|
+
accessTokenLastResponseTimestamp: never;
|
|
125
|
+
accessTokenState: number;
|
|
126
|
+
accessTokenStateFailureCount: number;
|
|
127
|
+
accountId: string;
|
|
128
|
+
call: <Type>(requestParams: Record<string, unknown>, responder: (response: Type) => void, errorResponder: (err: ErrorResponder) => void) => unknown;
|
|
129
|
+
authenticate: (callback: (error: Record<string, unknown>, token: string) => void) => void;
|
|
130
|
+
getToken: () => string;
|
|
131
|
+
login: () => void;
|
|
132
|
+
createRequest: (requestParams: {
|
|
133
|
+
path: string;
|
|
134
|
+
data: unknown;
|
|
135
|
+
header: Record<string, unknown>;
|
|
136
|
+
}) => XMLHttpRequest;
|
|
137
|
+
}
|
|
138
|
+
export interface StudioModule {
|
|
139
|
+
bcApi: BCApi;
|
|
140
|
+
config: {
|
|
141
|
+
features: Record<string, unknown>;
|
|
142
|
+
lang: string;
|
|
143
|
+
messages: Record<string, string>;
|
|
144
|
+
user: User;
|
|
145
|
+
product: Product;
|
|
146
|
+
module: Module;
|
|
147
|
+
};
|
|
148
|
+
api: () => BCApi;
|
|
149
|
+
getAPIConfig: () => Record<string, Record<string, string>>;
|
|
150
|
+
getCurrentUserAccount: () => UserAccount;
|
|
151
|
+
getFeature: (id: string) => unknown;
|
|
152
|
+
getLanguage: () => string;
|
|
153
|
+
getModule: () => Module;
|
|
154
|
+
getModuleRoot: () => string;
|
|
155
|
+
getModuleUrl: () => string;
|
|
156
|
+
getProduct: () => Product;
|
|
157
|
+
getUser: () => User;
|
|
158
|
+
handleAccountSwitch: (callback: () => void) => void;
|
|
159
|
+
init: (config: unknown) => void;
|
|
160
|
+
injectStyles: (styles: unknown) => void;
|
|
161
|
+
parseMessages: (txt: string) => unknown;
|
|
162
|
+
parseTemplates: (txt: string, delim: string) => unknown;
|
|
163
|
+
setPageTitle: (title: string) => string;
|
|
164
|
+
showAccessDenied: () => void;
|
|
165
|
+
on: (event: string, callback: EventListener, context?: unknown, mode?: unknown) => void;
|
|
166
|
+
once: (event: string, callback: EventListener, context?: unknown) => void;
|
|
167
|
+
off: (event: string, callback: EventListener) => void;
|
|
168
|
+
_initBCApi: (accountId: string, moduleId: string, scope: string, config: Record<string, unknown>) => unknown;
|
|
169
|
+
}
|
|
170
|
+
interface ToastArgs {
|
|
171
|
+
details?: string | object;
|
|
172
|
+
hideAfter?: number;
|
|
173
|
+
title?: string;
|
|
174
|
+
message: string | JSX.Element;
|
|
175
|
+
}
|
|
176
|
+
interface Toaster {
|
|
177
|
+
alert: (args: ToastArgs) => number;
|
|
178
|
+
error: (args: ToastArgs) => number;
|
|
179
|
+
success: (args: ToastArgs) => number;
|
|
180
|
+
warn: (args: ToastArgs) => number;
|
|
181
|
+
notice: (args: ToastArgs) => number;
|
|
182
|
+
info: (args: ToastArgs) => number;
|
|
183
|
+
dismiss: (id: number) => void;
|
|
184
|
+
mounted: boolean;
|
|
185
|
+
}
|
|
186
|
+
export interface StudioBrightcove {
|
|
187
|
+
ConfirmationDialog: {
|
|
188
|
+
open: (props: Record<string, unknown>) => void;
|
|
189
|
+
};
|
|
190
|
+
InContextHelp: {
|
|
191
|
+
close: () => void;
|
|
192
|
+
open: () => void;
|
|
193
|
+
toggle: () => void;
|
|
194
|
+
};
|
|
195
|
+
StudioServer: {
|
|
196
|
+
openProductPackagesModal: () => void;
|
|
197
|
+
};
|
|
198
|
+
Toaster: Toaster;
|
|
199
|
+
studio: StudioModule;
|
|
200
|
+
}
|
|
201
|
+
export {};
|
|
202
|
+
//# sourceMappingURL=studio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studio.d.ts","sourceRoot":"","sources":["../../../src/types/studio.ts"],"names":[],"mappings":";AAAA,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,MAAM;IACd,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,iBAAiB;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC;AAED,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,gBA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,GAAG,CAAC,OAAO,CAAC;CAC/B;AAED,UAAU,OAAO;IACf,KAAK,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAAC;IACnC,KAAK,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAAC;IACnC,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAAC;IACrC,IAAI,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAAC;IAClC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAAC;IACpC,IAAI,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAAC;IAClC,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,kBAAkB,EAAE;QAClB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;KAChD,CAAC;IACF,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,IAAI,CAAC;QAClB,IAAI,EAAE,MAAM,IAAI,CAAC;QACjB,MAAM,EAAE,MAAM,IAAI,CAAC;KACpB,CAAC;IACF,YAAY,EAAE;QACZ,wBAAwB,EAAE,MAAM,IAAI,CAAC;KACtC,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;CACtB"}
|
package/.eslintignore
DELETED
package/.eslintrc
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": [
|
|
3
|
-
"@brightcove/eslint-config-applications",
|
|
4
|
-
"@brightcove/eslint-config-applications/react",
|
|
5
|
-
"plugin:@typescript-eslint/recommended",
|
|
6
|
-
"plugin:import/typescript",
|
|
7
|
-
"plugin:react-hooks/recommended",
|
|
8
|
-
"prettier"
|
|
9
|
-
],
|
|
10
|
-
"rules": {
|
|
11
|
-
"react-hooks/rules-of-hooks": "warn",
|
|
12
|
-
"react-hooks/exhaustive-deps": "warn"
|
|
13
|
-
},
|
|
14
|
-
"parser": "@typescript-eslint/parser",
|
|
15
|
-
"parserOptions": {
|
|
16
|
-
"ecmaVersion": 2020
|
|
17
|
-
} ,
|
|
18
|
-
"settings": {
|
|
19
|
-
"react": {
|
|
20
|
-
"version": "detect"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
package/.husky/pre-commit
DELETED
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v22.9.0
|
package/.prettierignore
DELETED
package/.prettierrc
DELETED
package/.release-it.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hooks": {
|
|
3
|
-
"before:init": ["npm run lint", "npm install --legacy-peer-deps", "kacl prerelease"],
|
|
4
|
-
"after:bump": ["kacl release", "npm run build"],
|
|
5
|
-
"after:release": ["npm run notify", "echo Successfully released ${name} v${version} to ${repo.repository}."]
|
|
6
|
-
},
|
|
7
|
-
"git": {
|
|
8
|
-
"changelog": "git log --pretty=format:\"* %s (%h)\" ${latestTag}...HEAD",
|
|
9
|
-
"requireCleanWorkingDir": false,
|
|
10
|
-
"requireUpstream": false,
|
|
11
|
-
"requireCommits": true,
|
|
12
|
-
"addUntrackedFiles": false,
|
|
13
|
-
"commit": true,
|
|
14
|
-
"commitMessage": "Release v${version}",
|
|
15
|
-
"commitArgs": "",
|
|
16
|
-
"tag": true,
|
|
17
|
-
"tagName": "v${version}",
|
|
18
|
-
"tagAnnotation": "Release v${version}",
|
|
19
|
-
"tagArgs": "",
|
|
20
|
-
"push": true,
|
|
21
|
-
"pushArgs": "--follow-tags",
|
|
22
|
-
"pushRepo": "origin"
|
|
23
|
-
},
|
|
24
|
-
"github": {
|
|
25
|
-
"release": true,
|
|
26
|
-
"releaseName": "v${version}",
|
|
27
|
-
"releaseNotes": null,
|
|
28
|
-
"preRelease": false,
|
|
29
|
-
"draft": false,
|
|
30
|
-
"tokenRef": "GITHUB_TOKEN",
|
|
31
|
-
"assets": [],
|
|
32
|
-
"host": null,
|
|
33
|
-
"timeout": 0,
|
|
34
|
-
"proxy": null
|
|
35
|
-
},
|
|
36
|
-
"npm": {
|
|
37
|
-
"publish": true,
|
|
38
|
-
"publishPath": "./build"
|
|
39
|
-
}
|
|
40
|
-
}
|
package/.whitesource
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
6
|
-
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [Unreleased]
|
|
9
|
-
### Changed
|
|
10
|
-
- [PLAYCUST-3043](https://brightcove.atlassian.net/browse/PLAYCUST-3043) Update to node v22.9.0
|
|
11
|
-
|
|
12
|
-
## [0.8.2] - 2024-10-31
|
|
13
|
-
### Added
|
|
14
|
-
- [PLAYCUST-2953](https://brightcove.atlassian.net/browse/PLAYCUST-2953) Add translations
|
|
15
|
-
|
|
16
|
-
## [0.8.1] - 2024-10-22
|
|
17
|
-
### Fixed
|
|
18
|
-
- [PLAYCUST-3157](https://brightcove.atlassian.net/browse/PLAYCUST-3157) Fix dvr default state and render logic
|
|
19
|
-
|
|
20
|
-
## [0.8.0] - 2024-10-21
|
|
21
|
-
### Added
|
|
22
|
-
- [PLAYCUST-3157](https://brightcove.atlassian.net/browse/PLAYCUST-3157) Add support for low latency
|
|
23
|
-
|
|
24
|
-
## [0.7.2] - 2024-10-03
|
|
25
|
-
### Added
|
|
26
|
-
- [PLAYCUST-3082](https://brightcove.atlassian.net/browse/PLAYCUST-3082) Update Embed Code Modal Library in Live 2.0
|
|
27
|
-
|
|
28
|
-
## [0.7.1] - 2024-09-24
|
|
29
|
-
### Fixed
|
|
30
|
-
- [PLAYCUST-2882](https://brightcove.atlassian.net/browse/PLAYCUST-2882) Fix iframe embed code aspect ratio padding
|
|
31
|
-
|
|
32
|
-
## [0.7.1] - 2024-09-24
|
|
33
|
-
### Fixed
|
|
34
|
-
- [PLAYCUST-2937](https://brightcove.atlassian.net/browse/PLAYCUST-2937) playerListForSelection breaking the module when being an empty array
|
|
35
|
-
|
|
36
|
-
## [0.7.0] - 2024-09-23
|
|
37
|
-
### Added
|
|
38
|
-
- [PLAYCUST-2938](https://brightcove.atlassian.net/browse/PLAYCUST-2938) Add DVR livePlaybackToken option
|
|
39
|
-
|
|
40
|
-
## [0.6.0] - 2024-08-14
|
|
41
|
-
### Added
|
|
42
|
-
- [PLAYCUST-2595](https://brightcove.atlassian.net/browse/PLAYCUST-2595) Display custom settings for Project type
|
|
43
|
-
|
|
44
|
-
### Fixed
|
|
45
|
-
- [PLAYCUST-2595](https://brightcove.atlassian.net/browse/PLAYCUST-2595) Horizontal scroll getting displayed when expanding custom settings section
|
|
46
|
-
- [PLAYCUST-2584](https://brightcove.atlassian.net/browse/PLAYCUST-2584) Use correct aspect ratio class
|
|
47
|
-
|
|
48
|
-
## [0.5.1] - 2024-07-22
|
|
49
|
-
### Fixed
|
|
50
|
-
- [PLAYCUST-2799](https://brightcove.atlassian.net/browse/PLAYCUST-2799) Disable iframe for MAPs enabled player
|
|
51
|
-
|
|
52
|
-
## [0.5.0] - 2024-04-17
|
|
53
|
-
### Changed
|
|
54
|
-
- [PLAYCUST-2449](https://brightcove.atlassian.net/browse/PLAYCUST-2449) Remove Player Preview and links when player is of type outstream
|
|
55
|
-
|
|
56
|
-
### Fixed
|
|
57
|
-
- [PLAYCUST-2455](https://brightcove.atlassian.net/browse/PLAYCUST-2455) Fix viewer ID tracking validation
|
|
58
|
-
|
|
59
|
-
## [0.4.4] - 2024-03-29
|
|
60
|
-
### Added
|
|
61
|
-
- [PLAYCUST-2249](https://brightcove.atlassian.net/browse/PLAYCUST-2249) Support for interactivityProjectId
|
|
62
|
-
|
|
63
|
-
## [0.4.3] - 2024-03-29
|
|
64
|
-
### Added
|
|
65
|
-
- [PLAYCUST-2368](https://brightcove.atlassian.net/browse/PLAYCUST-2368) Disable iframe publish for Viewer ID Tracking
|
|
66
|
-
- [PLAYCUST-2249](https://brightcove.atlassian.net/browse/PLAYCUST-2249) Player select component
|
|
67
|
-
|
|
68
|
-
## [0.4.2] - 2023-12-29
|
|
69
|
-
### Fixed
|
|
70
|
-
- [PLAYCUST-2002](https://brightcove.atlassian.net/browse/PLAYCUST-2002) Demo site not working
|
|
71
|
-
|
|
72
|
-
## [0.4.1] - 2023-11-24
|
|
73
|
-
### Fixed
|
|
74
|
-
- [PLAYCUST-2050](https://brightcove.atlassian.net/browse/PLAYCUST-2050) Fix Javascript tab crash
|
|
75
|
-
|
|
76
|
-
## [0.4.0] - 2023-11-02
|
|
77
|
-
### Added
|
|
78
|
-
- [PLAYCUST-1941](https://brightcove.atlassian.net/browse/PLAYCUST-1941) Preselect favorite player in Video Embed
|
|
79
|
-
- [PLAYCUST-1946](https://brightcove.atlassian.net/browse/PLAYCUST-1946) Custom settings dropdown for TYPE VIDEO
|
|
80
|
-
|
|
81
|
-
### Changed
|
|
82
|
-
- [PLAYCUST-1469](https://brightcove.atlassian.net/browse/PLAYCUST-1469) `preview` link from Player Type now redirects to preview-players.brightcove.net
|
|
83
|
-
|
|
84
|
-
## [0.3.7] - 2023-09-18
|
|
85
|
-
### Added
|
|
86
|
-
- [PLAYCUST-1947](https://brightcove.atlassian.net/browse/PLAYCUST-1947)`embedCodeProperties` prop for the Embed Code generation
|
|
87
|
-
|
|
88
|
-
## [0.3.6] - 2023-07-19
|
|
89
|
-
### Fixed
|
|
90
|
-
- [PLAYCUST-1720](https://brightcove.atlassian.net/browse/PLAYCUST-1720) Fix typography for iframe text from `iFrame` to `iframe`
|
|
91
|
-
- [PLAYCUST-1899](https://brightcove.atlassian.net/browse/PLAYCUST-1899) Create player with v2 interactivity plugin
|
|
92
|
-
|
|
93
|
-
## [0.3.5] - 2023-04-19
|
|
94
|
-
### Changed
|
|
95
|
-
- [PLAYCUST-1618](https://brightcove.atlassian.net/browse/PLAYCUST-1618) [BREAKING] Change prop name from `playerPayload` to `data`
|
|
96
|
-
|
|
97
|
-
## [0.3.4] - 2023-03-23
|
|
98
|
-
### Fixed
|
|
99
|
-
- Internal: Updated peerDependencies
|
|
100
|
-
|
|
101
|
-
## [0.3.3] - 2023-03-23
|
|
102
|
-
### Fixed
|
|
103
|
-
- [PLAYCUST-1648](https://brightcove.atlassian.net/browse/PLAYCUST-1648) Project Player Preview when player has been created
|
|
104
|
-
|
|
105
|
-
## [0.3.2] - 2023-03-07
|
|
106
|
-
### Fixed
|
|
107
|
-
- [PLAYCUST-1637](https://brightcove.atlassian.net/browse/PLAYCUST-1637) Fixed Project Player Preview
|
|
108
|
-
- [PLAYCUST-1624](https://brightcove.atlassian.net/browse/PLAYCUST-1624) Update no player modal text to reference players module
|
|
109
|
-
|
|
110
|
-
## [0.3.1] - 2023-03-02
|
|
111
|
-
### Fixed
|
|
112
|
-
- [PLAYCUST-1625](https://brightcove.atlassian.net/browse/PLAYCUST-1625) Check for Interactivity Plugin using Registry ID OR Name
|
|
113
|
-
|
|
114
|
-
## [0.3.0] - 2023-03-01
|
|
115
|
-
### Changed
|
|
116
|
-
- [PLAYCUST-1625](https://brightcove.atlassian.net/browse/PLAYCUST-1625) Check for Interactivity Plugin using Registry ID
|
|
117
|
-
|
|
118
|
-
## [0.2.2] - 2023-02-21
|
|
119
|
-
### Changed
|
|
120
|
-
- [LIVE-2447](https://brightcove.atlassian.net/browse/LIVE-2447) Default playerID to be the first in the list
|
|
121
|
-
|
|
122
|
-
## [0.2.1] - 2023-02-15
|
|
123
|
-
### Fixed
|
|
124
|
-
- [LIVE-2447](https://brightcove.atlassian.net/browse/LIVE-2447) Update peerDependencies and dependencies
|
|
125
|
-
|
|
126
|
-
## [0.2.0] - 2023-02-08
|
|
127
|
-
### Fixed
|
|
128
|
-
- [LIVE-2447](https://brightcove.atlassian.net/browse/LIVE-2447) Interactivity params for preview, player and embed code
|
|
129
|
-
|
|
130
|
-
## [0.1.28] - 2023-02-01
|
|
131
|
-
### Added
|
|
132
|
-
- [LIVE-2455](https://brightcove.atlassian.net/browse/LIVE-2455) Create Player if no Interactivity-enabled Player is found
|
|
133
|
-
- [LIVE-2533](https://brightcove.atlassian.net/browse/LIVE-2533) Embed Code Modal Translations
|
|
134
|
-
|
|
135
|
-
## [0.1.27] - 2022-12-21
|
|
136
|
-
### Added
|
|
137
|
-
- [LIVE-2448](https://brightcove.atlassian.net/browse/LIVE-2448) Interactivity attribute to react player loader when using the interactivity modal
|
|
138
|
-
|
|
139
|
-
## [0.1.26] - 2022-11-18
|
|
140
|
-
### Added
|
|
141
|
-
- Support for Interactivity player
|
|
142
|
-
|
|
143
|
-
## [0.1.25] - 2022-10-06
|
|
144
|
-
### Added
|
|
145
|
-
- Campaign Plugin and Plugins notice for Player embed
|
|
146
|
-
|
|
147
|
-
### Changed
|
|
148
|
-
- VideoPayload type
|
|
149
|
-
|
|
150
|
-
## [0.1.24] - 2022-09-29
|
|
151
|
-
### Changed
|
|
152
|
-
- Export for payload types
|
|
153
|
-
|
|
154
|
-
## [0.1.23] - 2022-09-28
|
|
155
|
-
### Added
|
|
156
|
-
- Export for `PlayerPayload`
|
|
157
|
-
|
|
158
|
-
### Fixed
|
|
159
|
-
- Typings in `package.json`
|
|
160
|
-
|
|
161
|
-
## [0.1.22] - 2022-09-27
|
|
162
|
-
### Fixed
|
|
163
|
-
- Type exports for build
|
|
164
|
-
|
|
165
|
-
## [0.1.21] - 2022-09-01
|
|
166
|
-
### Added
|
|
167
|
-
- Player type context
|
|
168
|
-
|
|
169
|
-
### Changed
|
|
170
|
-
- **BREAKING CHANGE** `video` prop to `data`
|
|
171
|
-
|
|
172
|
-
## [0.1.20] - 2022-08-11
|
|
173
|
-
### Fixed
|
|
174
|
-
- Video title truncation small fix
|
|
175
|
-
|
|
176
|
-
## [0.1.19] - 2022-08-09
|
|
177
|
-
### Fixed
|
|
178
|
-
- PLAYCUST-1254 add support for safari clipboard
|
|
179
|
-
- PLAYCUST-1254 make sure peerDep for @brightcove/react-player-loader matches with media-four module
|
|
180
|
-
- remove unused variables
|
|
181
|
-
- Long video titles are now truncated
|
|
182
|
-
|
|
183
|
-
## [0.1.18] - 2022-08-03
|
|
184
|
-
### Changed
|
|
185
|
-
- upgrade `@brightcove/studio-components` to 7.0.0
|
|
186
|
-
- remove deprecated props
|
|
187
|
-
|
|
188
|
-
## [0.1.17] - 2022-07-26
|
|
189
|
-
### Changed
|
|
190
|
-
- Add `@brightcove/react-player-loader` as peerDependency so its handled by parent module
|
|
191
|
-
|
|
192
|
-
## [0.1.16] - 2022-07-22
|
|
193
|
-
### Changed
|
|
194
|
-
- Removed older design
|
|
195
|
-
|
|
196
|
-
### Fixed
|
|
197
|
-
- Translation strings when copying url
|
|
198
|
-
- Support custom css on player configuration by using iframes
|
|
199
|
-
- Translation string when Campaign player is selected
|
|
200
|
-
|
|
201
|
-
## [0.1.15] - 2022-07-13
|
|
202
|
-
### Added
|
|
203
|
-
- Sort players dropdown
|
|
204
|
-
|
|
205
|
-
### Fixed
|
|
206
|
-
- Trigger Toast notifications up to parent module
|
|
207
|
-
|
|
208
|
-
## [0.1.14] - 2022-07-05
|
|
209
|
-
### Fixed
|
|
210
|
-
- Hide iFrame embed code for Campaign-enabled players
|
|
211
|
-
|
|
212
|
-
## [0.1.13] - 2022-06-29
|
|
213
|
-
### Added
|
|
214
|
-
- Shorten url on preview button click
|
|
215
|
-
|
|
216
|
-
### Fixed
|
|
217
|
-
- Show Config Message only for players with non-bc plugins
|
|
218
|
-
|
|
219
|
-
## [0.1.12] - 2022-06-24
|
|
220
|
-
### Fixed
|
|
221
|
-
- Remove extra preview button
|
|
222
|
-
|
|
223
|
-
## [0.1.11] - 2022-06-20
|
|
224
|
-
### Added
|
|
225
|
-
- Add Copy URL and Preview button
|
|
226
|
-
|
|
227
|
-
## [0.1.10] - 2022-06-01
|
|
228
|
-
### Changed
|
|
229
|
-
- update custom copy field
|
|
230
|
-
|
|
231
|
-
## [0.1.9] - 2022-05-26
|
|
232
|
-
### Changed
|
|
233
|
-
- `CopyField` to use latest `studio-components` version
|
|
234
|
-
|
|
235
|
-
### Fixed
|
|
236
|
-
- Keep Javascript enabled for campaign players
|
|
237
|
-
|
|
238
|
-
## [0.1.8] - 2022-05-26
|
|
239
|
-
### Added
|
|
240
|
-
- Prevent iFrame from being copied when the selected player is campaign
|
|
241
|
-
|
|
242
|
-
## [0.1.7] - 2022-05-23
|
|
243
|
-
### Fixed
|
|
244
|
-
- `EmbedCodeModalTypes` export change to value instead of type
|
|
245
|
-
|
|
246
|
-
## [0.1.6] - 2022-05-18
|
|
247
|
-
### Added
|
|
248
|
-
- Notice when player selected has plugins
|
|
249
|
-
- Update iFrame/Javascript code snippet when selected player changes
|
|
250
|
-
- Player preview using ReactPlayerLoader
|
|
251
|
-
- Player preview link updates with player selected
|
|
252
|
-
|
|
253
|
-
### Fixed
|
|
254
|
-
- Only fetch list of players when modal is open
|
|
255
|
-
|
|
256
|
-
## [0.1.5] - 2022-05-10
|
|
257
|
-
### Added
|
|
258
|
-
- Feature switch for new enhancements
|
|
259
|
-
- Component now receives a `type` prop
|
|
260
|
-
- Fetch list of players
|
|
261
|
-
|
|
262
|
-
### Changed
|
|
263
|
-
- Design updates
|
|
264
|
-
|
|
265
|
-
## [0.1.4] - 2022-04-28
|
|
266
|
-
### Added
|
|
267
|
-
- KACL validation
|
|
268
|
-
|
|
269
|
-
### Fixed
|
|
270
|
-
- Missing docs link in tooltip
|
|
271
|
-
|
|
272
|
-
## [0.1.3] - 2022-04-12
|
|
273
|
-
### Changed
|
|
274
|
-
- Toaster moved to be inside modal content
|
|
275
|
-
|
|
276
|
-
## [0.1.2] - 2022-02-23
|
|
277
|
-
### Changed
|
|
278
|
-
- Style tweaks for the modal
|
|
279
|
-
|
|
280
|
-
## [0.1.1] - 2021-12-21
|
|
281
|
-
### Added
|
|
282
|
-
- Trigger open when video object gets passed into props
|
|
283
|
-
|
|
284
|
-
## 0.1.0 - 2021-11-26
|
|
285
|
-
### Added
|
|
286
|
-
- Initial commit of embed code modal component
|
|
287
|
-
|
|
288
|
-
[Unreleased]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.8.2...HEAD
|
|
289
|
-
[0.8.2]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.8.1...v0.8.2
|
|
290
|
-
[0.8.1]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.8.0...v0.8.1
|
|
291
|
-
[0.8.0]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.7.2...v0.8.0
|
|
292
|
-
[0.7.2]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.7.1...v0.7.2
|
|
293
|
-
[0.7.1]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.7.1...v0.7.1
|
|
294
|
-
[0.7.1]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.7.0...v0.7.1
|
|
295
|
-
[0.7.0]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.6.0...v0.7.0
|
|
296
|
-
[0.6.0]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.5.1...v0.6.0
|
|
297
|
-
[0.5.1]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.5.0...v0.5.1
|
|
298
|
-
[0.5.0]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.4.4...v0.5.0
|
|
299
|
-
[0.4.4]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.4.3...v0.4.4
|
|
300
|
-
[0.4.3]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.4.2...v0.4.3
|
|
301
|
-
[0.4.2]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.4.1...v0.4.2
|
|
302
|
-
[0.4.1]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.4.0...v0.4.1
|
|
303
|
-
[0.4.0]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.3.7...v0.4.0
|
|
304
|
-
[0.3.7]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.3.6...v0.3.7
|
|
305
|
-
[0.3.6]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.3.5...v0.3.6
|
|
306
|
-
[0.3.5]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.3.4...v0.3.5
|
|
307
|
-
[0.3.4]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.3.3...v0.3.4
|
|
308
|
-
[0.3.3]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.3.2...v0.3.3
|
|
309
|
-
[0.3.2]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.3.1...v0.3.2
|
|
310
|
-
[0.3.1]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.3.0...v0.3.1
|
|
311
|
-
[0.3.0]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.2.2...v0.3.0
|
|
312
|
-
[0.2.2]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.2.1...v0.2.2
|
|
313
|
-
[0.2.1]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.2.0...v0.2.1
|
|
314
|
-
[0.2.0]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.28...v0.2.0
|
|
315
|
-
[0.1.28]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.27...v0.1.28
|
|
316
|
-
[0.1.27]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.26...v0.1.27
|
|
317
|
-
[0.1.26]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.25...v0.1.26
|
|
318
|
-
[0.1.25]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.24...v0.1.25
|
|
319
|
-
[0.1.24]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.23...v0.1.24
|
|
320
|
-
[0.1.23]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.22...v0.1.23
|
|
321
|
-
[0.1.22]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.21...v0.1.22
|
|
322
|
-
[0.1.21]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.20...v0.1.21
|
|
323
|
-
[0.1.20]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.19...v0.1.20
|
|
324
|
-
[0.1.19]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.18...v0.1.19
|
|
325
|
-
[0.1.18]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.17...v0.1.18
|
|
326
|
-
[0.1.17]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.16...v0.1.17
|
|
327
|
-
[0.1.16]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.15...v0.1.16
|
|
328
|
-
[0.1.15]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.14...v0.1.15
|
|
329
|
-
[0.1.14]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.13...v0.1.14
|
|
330
|
-
[0.1.13]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.12...v0.1.13
|
|
331
|
-
[0.1.12]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.11...v0.1.12
|
|
332
|
-
[0.1.11]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.10...v0.1.11
|
|
333
|
-
[0.1.10]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.9...v0.1.10
|
|
334
|
-
[0.1.9]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.8...v0.1.9
|
|
335
|
-
[0.1.8]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.7...v0.1.8
|
|
336
|
-
[0.1.7]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.6...v0.1.7
|
|
337
|
-
[0.1.6]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.5...v0.1.6
|
|
338
|
-
[0.1.5]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.4...v0.1.5
|
|
339
|
-
[0.1.4]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.3...v0.1.4
|
|
340
|
-
[0.1.3]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.2...v0.1.3
|
|
341
|
-
[0.1.2]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.1...v0.1.2
|
|
342
|
-
[0.1.1]: https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal/compare/v0.1.0...v0.1.1
|