@atlaskit/media-viewer 48.0.16 → 48.1.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.
Files changed (73) hide show
  1. package/CHANGELOG.md +80 -61
  2. package/dist/cjs/analytics/events/operational/commenced.js +2 -3
  3. package/dist/cjs/analytics/events/operational/loadFailed.js +2 -3
  4. package/dist/cjs/analytics/events/operational/loadSucceeded.js +2 -3
  5. package/dist/cjs/analytics/events/operational/previewUnsupported.js +2 -3
  6. package/dist/cjs/analytics/events/operational/zipEntryLoadFailed.js +2 -3
  7. package/dist/cjs/analytics/events/operational/zipEntryLoadSucceeded.js +2 -3
  8. package/dist/cjs/analytics/events/screen/modal.js +2 -3
  9. package/dist/cjs/analytics/events/ui/closed.js +2 -3
  10. package/dist/cjs/analytics/events/ui/downloadButtonClicked.js +2 -3
  11. package/dist/cjs/analytics/events/ui/failedPreviewDownloadButtonClicked.js +2 -3
  12. package/dist/cjs/analytics/events/ui/navigated.js +3 -5
  13. package/dist/cjs/analytics/index.js +3 -6
  14. package/dist/cjs/analytics/ufoExperiences.js +5 -8
  15. package/dist/cjs/classnames.js +1 -2
  16. package/dist/cjs/components/media-viewer-analytics-error-boundary.js +1 -2
  17. package/dist/cjs/components/media-viewer-loader.js +2 -4
  18. package/dist/cjs/components/media-viewer.js +23 -3
  19. package/dist/cjs/content.js +2 -3
  20. package/dist/cjs/domain/outcome.js +2 -3
  21. package/dist/cjs/domain/zoomLevel.js +2 -3
  22. package/dist/cjs/download.js +5 -9
  23. package/dist/cjs/error-images.js +2 -4
  24. package/dist/cjs/errorMessage.js +4 -8
  25. package/dist/cjs/errors.js +2 -4
  26. package/dist/cjs/header.js +2 -4
  27. package/dist/cjs/item-viewer.js +5 -10
  28. package/dist/cjs/list.js +2 -3
  29. package/dist/cjs/loading.js +2 -3
  30. package/dist/cjs/media-viewer.js +3 -5
  31. package/dist/cjs/navigation.js +4 -8
  32. package/dist/cjs/styleWrappers.js +41 -79
  33. package/dist/cjs/styles.js +41 -80
  34. package/dist/cjs/utils/getIdentifierCollection.js +2 -3
  35. package/dist/cjs/utils/getObjectUrlFromFileState.js +2 -3
  36. package/dist/cjs/utils/index.js +10 -19
  37. package/dist/cjs/utils/isIE.js +2 -3
  38. package/dist/cjs/viewers/archiveSidebar/archive-sidebar-folder-entry.js +2 -3
  39. package/dist/cjs/viewers/archiveSidebar/archive-sidebar-header.js +2 -3
  40. package/dist/cjs/viewers/archiveSidebar/archive-sidebar-renderer.js +2 -3
  41. package/dist/cjs/viewers/archiveSidebar/archive-sidebar.js +2 -3
  42. package/dist/cjs/viewers/archiveSidebar/archive.js +3 -6
  43. package/dist/cjs/viewers/archiveSidebar/archiveViewerLoader.js +2 -3
  44. package/dist/cjs/viewers/archiveSidebar/consts.js +2 -4
  45. package/dist/cjs/viewers/archiveSidebar/styleWrappers.js +13 -25
  46. package/dist/cjs/viewers/archiveSidebar/styles.js +15 -29
  47. package/dist/cjs/viewers/audio.js +2 -3
  48. package/dist/cjs/viewers/base-viewer.js +2 -3
  49. package/dist/cjs/viewers/codeViewer/codeViewerRenderer.js +4 -7
  50. package/dist/cjs/viewers/codeViewer/index.js +2 -3
  51. package/dist/cjs/viewers/codeViewer/styles.js +4 -6
  52. package/dist/cjs/viewers/codeViewer/util.js +4 -7
  53. package/dist/cjs/viewers/doc/index.js +2 -3
  54. package/dist/cjs/viewers/doc/pdfRenderer.js +3 -5
  55. package/dist/cjs/viewers/doc/processError.js +2 -3
  56. package/dist/cjs/viewers/image/index.js +2 -3
  57. package/dist/cjs/viewers/image/interactive-img.js +3 -5
  58. package/dist/cjs/viewers/modalSpinner.js +2 -4
  59. package/dist/cjs/viewers/video.js +1 -2
  60. package/dist/cjs/zoomControls.js +2 -4
  61. package/dist/es2019/analytics/index.js +1 -1
  62. package/dist/es2019/analytics/ufoExperiences.js +1 -1
  63. package/dist/es2019/components/media-viewer.js +22 -1
  64. package/dist/esm/analytics/index.js +1 -1
  65. package/dist/esm/analytics/ufoExperiences.js +1 -1
  66. package/dist/esm/components/media-viewer.js +22 -1
  67. package/dist/types/components/types.d.ts +4 -0
  68. package/dist/types/index.d.ts +1 -1
  69. package/dist/types-ts4.5/components/types.d.ts +4 -0
  70. package/dist/types-ts4.5/index.d.ts +1 -1
  71. package/package.json +4 -4
  72. package/report.api.md +6 -0
  73. package/tmp/api-report-tmp.d.ts +6 -0
package/CHANGELOG.md CHANGED
@@ -1,10 +1,29 @@
1
1
  # @atlaskit/media-viewer
2
2
 
3
+ ## 48.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#40647](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40647) [`0de92f17021`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0de92f17021) - Bump react-focus-lock to latest version
8
+
9
+ ## 48.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#40057](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40057) [`be5adc1c861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be5adc1c861) - MEX-2566 New feature: Enable cross-origin communication for when media viewer is opened and closed via a [MessageEvent](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent). The message data sent will be of type `MediaMessage`, which follows the below format.
14
+
15
+ ```
16
+ {
17
+ source: 'media';
18
+ event: 'mediaViewerOpened' | 'mediaViewerClosed';
19
+ }
20
+ ```
21
+
3
22
  ## 48.0.16
4
23
 
5
24
  ### Patch Changes
6
25
 
7
- - [`dcef48fcb56`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcef48fcb56) - Dependency for @types/enzyme set as static as the following patch version contains a breaking change
26
+ - [#40009](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40009) [`dcef48fcb56`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcef48fcb56) - Dependency for @types/enzyme set as static as the following patch version contains a breaking change
8
27
 
9
28
  ## 48.0.15
10
29
 
@@ -16,13 +35,13 @@
16
35
 
17
36
  ### Patch Changes
18
37
 
19
- - [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
38
+ - [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787) [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
20
39
 
21
40
  ## 48.0.13
22
41
 
23
42
  ### Patch Changes
24
43
 
25
- - [`d6081fc0e01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6081fc0e01) - [ux] Bug Fix: Prevent scrolling to the top of the page after closing MediaViewer. In doing so, MediaViewer will no longer return the focus to its initial position onced MediaViewer is closed.
44
+ - [#39693](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39693) [`d6081fc0e01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6081fc0e01) - [ux] Bug Fix: Prevent scrolling to the top of the page after closing MediaViewer. In doing so, MediaViewer will no longer return the focus to its initial position onced MediaViewer is closed.
26
45
 
27
46
  ## 48.0.12
28
47
 
@@ -34,7 +53,7 @@
34
53
 
35
54
  ### Patch Changes
36
55
 
37
- - [`ede6ee7aaab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ede6ee7aaab) - Updated tests, examples and moving towards /test-helper export in packages to prevent circular dependancies
56
+ - [#39255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39255) [`ede6ee7aaab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ede6ee7aaab) - Updated tests, examples and moving towards /test-helper export in packages to prevent circular dependancies
38
57
  - Updated dependencies
39
58
 
40
59
  ## 48.0.10
@@ -53,7 +72,7 @@
53
72
 
54
73
  ### Patch Changes
55
74
 
56
- - [`5953474fd5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5953474fd5f) - [ux] [MEX-2514] Prevent the body (i.e. the background) from scrolling when Media Viewer is open to improve the user experience
75
+ - [#37986](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37986) [`5953474fd5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5953474fd5f) - [ux] [MEX-2514] Prevent the body (i.e. the background) from scrolling when Media Viewer is open to improve the user experience
57
76
 
58
77
  ## 48.0.7
59
78
 
@@ -65,14 +84,14 @@
65
84
 
66
85
  ### Patch Changes
67
86
 
68
- - [`8b9680efe08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b9680efe08) - Better logging of PDFjs errors
87
+ - [#35121](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35121) [`8b9680efe08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b9680efe08) - Better logging of PDFjs errors
69
88
  - Updated dependencies
70
89
 
71
90
  ## 48.0.5
72
91
 
73
92
  ### Patch Changes
74
93
 
75
- - [`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
94
+ - [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728) [`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
76
95
 
77
96
  ## 48.0.4
78
97
 
@@ -96,13 +115,13 @@
96
115
 
97
116
  ### Patch Changes
98
117
 
99
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
118
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
100
119
 
101
120
  ## 48.0.0
102
121
 
103
122
  ### Major Changes
104
123
 
105
- - [`8c6a6cf4bc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c6a6cf4bc4) - Media Viewer no longer accepts a collection name as a data source. Integrators should pass the full list of files to browse, instead.
124
+ - [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771) [`8c6a6cf4bc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c6a6cf4bc4) - Media Viewer no longer accepts a collection name as a data source. Integrators should pass the full list of files to browse, instead.
106
125
 
107
126
  ### Patch Changes
108
127
 
@@ -112,13 +131,13 @@
112
131
 
113
132
  ### Patch Changes
114
133
 
115
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
134
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
116
135
 
117
136
  ## 47.6.0
118
137
 
119
138
  ### Minor Changes
120
139
 
121
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
140
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
122
141
 
123
142
  ### Patch Changes
124
143
 
@@ -128,27 +147,27 @@
128
147
 
129
148
  ### Patch Changes
130
149
 
131
- - [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
150
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
132
151
  - Updated dependencies
133
152
 
134
153
  ## 47.5.2
135
154
 
136
155
  ### Patch Changes
137
156
 
138
- - [`ae5a7de77c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae5a7de77c8) - Fixed exported component prop types
157
+ - [#31891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31891) [`ae5a7de77c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae5a7de77c8) - Fixed exported component prop types
139
158
 
140
159
  ## 47.5.1
141
160
 
142
161
  ### Patch Changes
143
162
 
144
- - [`b37723f2cfa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b37723f2cfa) - The component now logs the full provided feature flags object
163
+ - [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`b37723f2cfa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b37723f2cfa) - The component now logs the full provided feature flags object
145
164
  - Updated dependencies
146
165
 
147
166
  ## 47.5.0
148
167
 
149
168
  ### Minor Changes
150
169
 
151
- - [`c3eba8c788d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3eba8c788d) - Deprecation notice: Media Viewer no longer accepts a collection name as a data source. Integrators should pass the full list of files to browse through the new "items" property.
170
+ - [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248) [`c3eba8c788d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3eba8c788d) - Deprecation notice: Media Viewer no longer accepts a collection name as a data source. Integrators should pass the full list of files to browse through the new "items" property.
152
171
 
153
172
  ### Patch Changes
154
173
 
@@ -164,7 +183,7 @@
164
183
 
165
184
  ### Patch Changes
166
185
 
167
- - [`35192e267e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35192e267e4) - Updates to support the new @atlaskit/tokens theming API.
186
+ - [#30005](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30005) [`35192e267e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35192e267e4) - Updates to support the new @atlaskit/tokens theming API.
168
187
 
169
188
  ## 47.4.1
170
189
 
@@ -176,7 +195,7 @@
176
195
 
177
196
  ### Minor Changes
178
197
 
179
- - [`2b3859896cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b3859896cc) - Added new Feature Flag to control internal Media Client behaviour
198
+ - [#28932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28932) [`2b3859896cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b3859896cc) - Added new Feature Flag to control internal Media Client behaviour
180
199
 
181
200
  ### Patch Changes
182
201
 
@@ -192,7 +211,7 @@
192
211
 
193
212
  ### Minor Changes
194
213
 
195
- - [`2168c4e0d81`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2168c4e0d81) - Implement traceContext in media-viewer
214
+ - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`2168c4e0d81`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2168c4e0d81) - Implement traceContext in media-viewer
196
215
  - [`0bccac57db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0bccac57db6) - remove mediaUploadApiV2 Feature flag
197
216
 
198
217
  ### Patch Changes
@@ -215,7 +234,7 @@
215
234
 
216
235
  ### Minor Changes
217
236
 
218
- - [`0213586e12e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0213586e12e) - [ux] Instrumented '@atlaskit/media-viewer' with the new theming package, `@atlaskit/tokens`, and updated the lightbox experience to use new colors from the new color palette.
237
+ - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`0213586e12e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0213586e12e) - [ux] Instrumented '@atlaskit/media-viewer' with the new theming package, `@atlaskit/tokens`, and updated the lightbox experience to use new colors from the new color palette.
219
238
 
220
239
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
221
240
 
@@ -234,13 +253,13 @@
234
253
 
235
254
  ### Patch Changes
236
255
 
237
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
256
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
238
257
 
239
258
  ## 47.1.0
240
259
 
241
260
  ### Minor Changes
242
261
 
243
- - [`4733432ab0c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4733432ab0c) - [ux] Support rendering code files including txt less than 10MB. For better performance, render code files in plain html if line counts exceed 10k or file size exceeds 5MB.
262
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`4733432ab0c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4733432ab0c) - [ux] Support rendering code files including txt less than 10MB. For better performance, render code files in plain html if line counts exceed 10k or file size exceeds 5MB.
244
263
 
245
264
  ### Patch Changes
246
265
 
@@ -252,20 +271,20 @@
252
271
 
253
272
  ### Patch Changes
254
273
 
255
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
274
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
256
275
 
257
276
  ## 47.0.1
258
277
 
259
278
  ### Patch Changes
260
279
 
261
- - [`a332288b5ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a332288b5ea) - Added analytics for media-card memoryCacheLogging and added relevant featureFlag keys for media-common package.
280
+ - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`a332288b5ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a332288b5ea) - Added analytics for media-card memoryCacheLogging and added relevant featureFlag keys for media-common package.
262
281
  - Updated dependencies
263
282
 
264
283
  ## 47.0.0
265
284
 
266
285
  ### Major Changes
267
286
 
268
- - [`910bb0dca94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/910bb0dca94) - Migrated to emotion from styled-components
287
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`910bb0dca94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/910bb0dca94) - Migrated to emotion from styled-components
269
288
 
270
289
  ### Patch Changes
271
290
 
@@ -278,7 +297,7 @@
278
297
 
279
298
  ### Minor Changes
280
299
 
281
- - [`1a76e2839e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a76e2839e6) - Default value for mediaUploadApiV2 Media feature flag set to true.
300
+ - [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`1a76e2839e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a76e2839e6) - Default value for mediaUploadApiV2 Media feature flag set to true.
282
301
 
283
302
  ### Patch Changes
284
303
 
@@ -288,7 +307,7 @@
288
307
 
289
308
  ### Minor Changes
290
309
 
291
- - [`bfde909c9b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bfde909c9b4) - Add new feature flag mediaUploadApiV2
310
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`bfde909c9b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bfde909c9b4) - Add new feature flag mediaUploadApiV2
292
311
  - [`35e43fcc798`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35e43fcc798) - Add ufo feature flag logging
293
312
  - [`31cf1fff440`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31cf1fff440) - Flagged events with file states processing and uploading for UFO payload
294
313
 
@@ -302,7 +321,7 @@
302
321
 
303
322
  ### Minor Changes
304
323
 
305
- - [`d2e212a2676`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2e212a2676) - Added media environment to UFO payload
324
+ - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`d2e212a2676`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2e212a2676) - Added media environment to UFO payload
306
325
 
307
326
  ### Patch Changes
308
327
 
@@ -312,14 +331,14 @@
312
331
 
313
332
  ### Patch Changes
314
333
 
315
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
334
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
316
335
  - Updated dependencies
317
336
 
318
337
  ## 46.2.1
319
338
 
320
339
  ### Patch Changes
321
340
 
322
- - [`a44c7c42fa7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a44c7c42fa7) - Added payload publisher wrapper for logging ufo events in examples
341
+ - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033) [`a44c7c42fa7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a44c7c42fa7) - Added payload publisher wrapper for logging ufo events in examples
323
342
  - [`5a79ea6f7d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a79ea6f7d6) - Add support for assessing the mimetype of a file when deciding what viewer to show
324
343
  - [`065ae19cb44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/065ae19cb44) - Enforced "up to date" logged feature flags via type checks
325
344
  - Updated dependencies
@@ -328,7 +347,7 @@
328
347
 
329
348
  ### Minor Changes
330
349
 
331
- - [`60136fd1e34`](https://bitbucket.org/atlassian/atlassian-frontend/commits/60136fd1e34) - Replicate Media Viewer Reliability Events using UFO client library
350
+ - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`60136fd1e34`](https://bitbucket.org/atlassian/atlassian-frontend/commits/60136fd1e34) - Replicate Media Viewer Reliability Events using UFO client library
332
351
  - [`f862d5ae7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f862d5ae7aa) - remove RxJs peer dependency
333
352
  - [`dea110be493`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dea110be493) - [ux] MEX-1334 Implemented code splitting in media-viewer
334
353
  - [`118f3af101f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/118f3af101f) - Media Client APIs has been updated to use MediaSubscribable which provides subscription functionality (similar to RxJs observables).
@@ -415,7 +434,7 @@
415
434
 
416
435
  ### Minor Changes
417
436
 
418
- - [`30fffbfe4d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30fffbfe4d6) - Replaced Deprecated dependency @atlaskit/navigation-next with @atlaskit/side-navigation and styled-components
437
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`30fffbfe4d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30fffbfe4d6) - Replaced Deprecated dependency @atlaskit/navigation-next with @atlaskit/side-navigation and styled-components
419
438
  - [`94539e589cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/94539e589cc) - MEX-1105 Migrated @atlaskit/button to @atlaskit/button/standard-button
420
439
 
421
440
  ### Patch Changes
@@ -427,14 +446,14 @@
427
446
 
428
447
  ### Patch Changes
429
448
 
430
- - [`52e0cd4922c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52e0cd4922c) - [ux] There is no more flash of the an image at 100% when media viewer is opening
449
+ - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`52e0cd4922c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52e0cd4922c) - [ux] There is no more flash of the an image at 100% when media viewer is opening
431
450
  - Updated dependencies
432
451
 
433
452
  ## 46.0.0
434
453
 
435
454
  ### Major Changes
436
455
 
437
- - [`47f58da5946`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f58da5946) - ED-13322, ED-13324, ED-13326, ED-13323, ED-13204: Upgrade and support react-intl@^5.18.1 including breaking API changes, types and tests in atlassian-frontend packages
456
+ - [#14810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14810) [`47f58da5946`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f58da5946) - ED-13322, ED-13324, ED-13326, ED-13323, ED-13204: Upgrade and support react-intl@^5.18.1 including breaking API changes, types and tests in atlassian-frontend packages
438
457
 
439
458
  What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages now rely on consumers installing ^5.18.1, otherwise editor usage of react-intl will mismatch with actual installed react-intl APIs.
440
459
  Why change was made: As part of a coordinated upgrade effort across AF packages, as react-intl v2 is quite dated.
@@ -480,7 +499,7 @@
480
499
 
481
500
  ### Patch Changes
482
501
 
483
- - [`f124adcb18f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f124adcb18f) - Adding .md, .lock, .yaml, .yml, .tsx, .jsx as known extension types
502
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f124adcb18f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f124adcb18f) - Adding .md, .lock, .yaml, .yml, .tsx, .jsx as known extension types
484
503
  - [`2b24fcc59f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b24fcc59f2) - Removed Code Viewer and Zip Previews Feature Flags
485
504
  - Updated dependencies
486
505
 
@@ -488,7 +507,7 @@
488
507
 
489
508
  ### Patch Changes
490
509
 
491
- - [`fe9ced0cd70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe9ced0cd70) - Removed feature flags for polling settings
510
+ - [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`fe9ced0cd70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe9ced0cd70) - Removed feature flags for polling settings
492
511
  - Updated dependencies
493
512
 
494
513
  ## 45.8.9
@@ -501,7 +520,7 @@
501
520
 
502
521
  ### Patch Changes
503
522
 
504
- - [`6947b4a26ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6947b4a26ca) - Remove newgen folder from media-viewer src, move files up a level
523
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`6947b4a26ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6947b4a26ca) - Remove newgen folder from media-viewer src, move files up a level
505
524
  - [`4777a174e6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4777a174e6d) - Added analytics support for customMediaPlayer + screen event + entrypoint for locales
506
525
  - [`5fe6e21a9a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5fe6e21a9a0) - [ux] Upgrade to the latest version of @atlaskit/modal-dialog. This change includes shifting the primary button in the footer of the modal to be on the right instead of the left.
507
526
  - [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
@@ -517,7 +536,7 @@
517
536
 
518
537
  ### Patch Changes
519
538
 
520
- - [`ce9b9a7f44a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce9b9a7f44a) - Fixed errorDetail on failures of type "archiveviewer-docviewer-onerror"
539
+ - [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`ce9b9a7f44a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce9b9a7f44a) - Fixed errorDetail on failures of type "archiveviewer-docviewer-onerror"
521
540
  - [`10932f6ae07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10932f6ae07) - SPFE-561: Remove the URLSearchParams polyfill
522
541
  - Updated dependencies
523
542
 
@@ -525,28 +544,28 @@
525
544
 
526
545
  ### Patch Changes
527
546
 
528
- - [`8cba1694b5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cba1694b5e) - Remove pollingMaxFailuresExceeded error from implementation and feature flags
547
+ - [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`8cba1694b5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cba1694b5e) - Remove pollingMaxFailuresExceeded error from implementation and feature flags
529
548
  - Updated dependencies
530
549
 
531
550
  ## 45.8.4
532
551
 
533
552
  ### Patch Changes
534
553
 
535
- - [`3cd9ee2d15b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cd9ee2d15b) - Added RxJS compatiblity notice in Media docs
554
+ - [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`3cd9ee2d15b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cd9ee2d15b) - Added RxJS compatiblity notice in Media docs
536
555
  - Updated dependencies
537
556
 
538
557
  ## 45.8.3
539
558
 
540
559
  ### Patch Changes
541
560
 
542
- - [`611e08796a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/611e08796a4) - fix minor bugs with media-viewer::CodeViewer
561
+ - [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569) [`611e08796a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/611e08796a4) - fix minor bugs with media-viewer::CodeViewer
543
562
  - Updated dependencies
544
563
 
545
564
  ## 45.8.2
546
565
 
547
566
  ### Patch Changes
548
567
 
549
- - [`277ed9667b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/277ed9667b2) - Fixed media bundle names following atlassian-frontend linting rules
568
+ - [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`277ed9667b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/277ed9667b2) - Fixed media bundle names following atlassian-frontend linting rules
550
569
  - [`7ba7af04db8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ba7af04db8) - Type fixes related to consumption of `@atlaskit/code`
551
570
  - Updated dependencies
552
571
 
@@ -554,7 +573,7 @@
554
573
 
555
574
  ### Patch Changes
556
575
 
557
- - [`6e055f5d3c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e055f5d3c8) - [ux] Fixing a UI bug where the header covered the first 3 lines of a text/codeviewer file for Jira specifically
576
+ - [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`6e055f5d3c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e055f5d3c8) - [ux] Fixing a UI bug where the header covered the first 3 lines of a text/codeviewer file for Jira specifically
558
577
  - [`341311b4eb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/341311b4eb4) - Fix double events firing for media-viewer when errorMessage is rendered twice
559
578
  - [`abc38bc9990`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abc38bc9990) - Added request metadata to failed frontend SLIs
560
579
  - Updated dependencies
@@ -563,7 +582,7 @@
563
582
 
564
583
  ### Minor Changes
565
584
 
566
- - [`0a8ad595765`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0a8ad595765) - Further restrict primary and secondary error reasons in media-viewer
585
+ - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083) [`0a8ad595765`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0a8ad595765) - Further restrict primary and secondary error reasons in media-viewer
567
586
 
568
587
  ### Patch Changes
569
588
 
@@ -574,7 +593,7 @@
574
593
 
575
594
  ### Minor Changes
576
595
 
577
- - [`1d09c9ed549`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d09c9ed549) - refactor media-viewer for better analytics and error handling
596
+ - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`1d09c9ed549`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d09c9ed549) - refactor media-viewer for better analytics and error handling
578
597
 
579
598
  ### Patch Changes
580
599
 
@@ -590,7 +609,7 @@
590
609
 
591
610
  ### Minor Changes
592
611
 
593
- - [`56693486a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56693486a3) - [ux] Rate Limited UI for the MediaViewer. Also moved a MediaCard function into MediaClient so that that functionality can be used across multiple packages
612
+ - [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930) [`56693486a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56693486a3) - [ux] Rate Limited UI for the MediaViewer. Also moved a MediaCard function into MediaClient so that that functionality can be used across multiple packages
594
613
 
595
614
  ### Patch Changes
596
615
 
@@ -600,27 +619,27 @@
600
619
 
601
620
  ### Patch Changes
602
621
 
603
- - [`a67513394d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a67513394d) - Fixed media-viewer leaking JWT in Analytics
622
+ - [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571) [`a67513394d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a67513394d) - Fixed media-viewer leaking JWT in Analytics
604
623
  - Updated dependencies
605
624
 
606
625
  ## 45.5.2
607
626
 
608
627
  ### Patch Changes
609
628
 
610
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
629
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
611
630
 
612
631
  ## 45.5.1
613
632
 
614
633
  ### Patch Changes
615
634
 
616
- - [`b130ee1234`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b130ee1234) - handle non-200 responses for codeViewer
635
+ - [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228) [`b130ee1234`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b130ee1234) - handle non-200 responses for codeViewer
617
636
  - Updated dependencies
618
637
 
619
638
  ## 45.5.0
620
639
 
621
640
  ### Minor Changes
622
641
 
623
- - [`1e59fd65c5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e59fd65c5) - ED-8720 Add OnUnhandledClickHandler for Renderer
642
+ - [#5860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5860) [`1e59fd65c5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e59fd65c5) - ED-8720 Add OnUnhandledClickHandler for Renderer
624
643
 
625
644
  ### Patch Changes
626
645
 
@@ -632,7 +651,7 @@
632
651
 
633
652
  ### Minor Changes
634
653
 
635
- - [`f2308ddb6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2308ddb6d) - COREX-2800 Fixed sidebar opening
654
+ - [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516) [`f2308ddb6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2308ddb6d) - COREX-2800 Fixed sidebar opening
636
655
  - [`73613210d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73613210d4) - Adding support for Code and Email files so that they are now able to be previewed in the viewer.
637
656
 
638
657
  ### Patch Changes
@@ -643,7 +662,7 @@
643
662
 
644
663
  ### Patch Changes
645
664
 
646
- - [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
665
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
647
666
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
648
667
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
649
668
 
@@ -657,7 +676,7 @@
657
676
 
658
677
  ### Minor Changes
659
678
 
660
- - [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated to declarative entry points
679
+ - [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated to declarative entry points
661
680
 
662
681
  ### Patch Changes
663
682
 
@@ -673,7 +692,7 @@
673
692
 
674
693
  ### Minor Changes
675
694
 
676
- - [`f3ec9a3f14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3ec9a3f14) - Added analytics to zip previews
695
+ - [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424) [`f3ec9a3f14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3ec9a3f14) - Added analytics to zip previews
677
696
  - [`8fc5fe20df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8fc5fe20df) - Inline video player as part of the card and video player in media-viewer will now store last viewed position between sessions for given media id
678
697
  - [`0837e7611b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0837e7611b) - Adding spinner to ArchiveViewer entry preview section
679
698
 
@@ -685,7 +704,7 @@
685
704
 
686
705
  ### Patch Changes
687
706
 
688
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
707
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
689
708
 
690
709
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
691
710
  to prevent duplicates of tslib being bundled.
@@ -694,13 +713,13 @@
694
713
 
695
714
  ### Patch Changes
696
715
 
697
- - [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
716
+ - [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
698
717
 
699
718
  ## 45.1.0
700
719
 
701
720
  ### Minor Changes
702
721
 
703
- - [`65652ba165`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65652ba165) - Added 15 new icons based on the mimetype (.sketch, .gif, ect). Previously, we only had 6 icons based on the mediaType (doc/audio/unknown/image/video). Also created a dedicated examples page for icons
722
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`65652ba165`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65652ba165) - Added 15 new icons based on the mimetype (.sketch, .gif, ect). Previously, we only had 6 icons based on the mediaType (doc/audio/unknown/image/video). Also created a dedicated examples page for icons
704
723
  - [`6faafb144c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6faafb144c) - Introduce MediaFeatureFlags. Refactor components to use.
705
724
  - [`af4a8c4262`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4a8c4262) - Added custom error message for encrypted zip file previews
706
725
  - [`8cfc88423a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cfc88423a) - Added more zip examples and added error handling for zip previews
@@ -722,14 +741,14 @@
722
741
 
723
742
  ### Patch Changes
724
743
 
725
- - [`9e63f0070f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e63f0070f) - Fix HD Button (zooming on images bigger then 4K)
744
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`9e63f0070f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e63f0070f) - Fix HD Button (zooming on images bigger then 4K)
726
745
  - [`6bcdf043ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6bcdf043ae) - Fixed flaky Media-Viewer integration tests
727
746
 
728
747
  ## 45.0.0
729
748
 
730
749
  ### Major Changes
731
750
 
732
- - [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
751
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
733
752
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
734
753
 
735
754
  ### Patch Changes
@@ -740,21 +759,21 @@
740
759
 
741
760
  ### Patch Changes
742
761
 
743
- - [`b8b8a16490`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8b8a16490) - added action and actionSubject to mediaViewerModal event, so that it won't be filtered out and will fire
762
+ - [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`b8b8a16490`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8b8a16490) - added action and actionSubject to mediaViewerModal event, so that it won't be filtered out and will fire
744
763
  - Updated dependencies
745
764
 
746
765
  ## 44.4.3
747
766
 
748
767
  ### Patch Changes
749
768
 
750
- - [`51aa5587ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51aa5587ef) - bump media-client: Remove stack traces from media analytic events
769
+ - [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443) [`51aa5587ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51aa5587ef) - bump media-client: Remove stack traces from media analytic events
751
770
  - Updated dependencies
752
771
 
753
772
  ## 44.4.2
754
773
 
755
774
  ### Patch Changes
756
775
 
757
- - [`a2ffde361d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2ffde361d) - MPT-131: fetch remote preview for files not supported by the browser
776
+ - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`a2ffde361d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2ffde361d) - MPT-131: fetch remote preview for files not supported by the browser
758
777
  - [`cc5935bf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc5935bf4f) - Use MediaTypeIcon from media-ui
759
778
  - [`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove unused dependencies
760
779
  - [`98f462e2aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f462e2aa) - Bumping use the latest version of @atlaskit/spinner
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.createCommencedEvent = void 0;
7
- var createCommencedEvent = function createCommencedEvent(fileId, traceContext) {
7
+ var createCommencedEvent = exports.createCommencedEvent = function createCommencedEvent(fileId, traceContext) {
8
8
  return {
9
9
  eventType: 'operational',
10
10
  action: 'commenced',
@@ -16,5 +16,4 @@ var createCommencedEvent = function createCommencedEvent(fileId, traceContext) {
16
16
  traceContext: traceContext
17
17
  }
18
18
  };
19
- };
20
- exports.createCommencedEvent = createCommencedEvent;
19
+ };
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.createLoadFailedEvent = void 0;
7
7
  var _ = require("../..");
8
8
  var _errors = require("../../../errors");
9
- var createLoadFailedEvent = function createLoadFailedEvent(fileId, error, fileState, traceContext) {
9
+ var createLoadFailedEvent = exports.createLoadFailedEvent = function createLoadFailedEvent(fileId, error, fileState, traceContext) {
10
10
  var _getFileAttributes = (0, _.getFileAttributes)(fileState),
11
11
  fileMediatype = _getFileAttributes.fileMediatype,
12
12
  fileMimetype = _getFileAttributes.fileMimetype,
@@ -30,5 +30,4 @@ var createLoadFailedEvent = function createLoadFailedEvent(fileId, error, fileSt
30
30
  traceContext: fileMediatype === 'image' ? traceContext : undefined
31
31
  }
32
32
  };
33
- };
34
- exports.createLoadFailedEvent = createLoadFailedEvent;
33
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.createLoadSucceededEvent = void 0;
7
- var createLoadSucceededEvent = function createLoadSucceededEvent(_ref, traceContext) {
7
+ var createLoadSucceededEvent = exports.createLoadSucceededEvent = function createLoadSucceededEvent(_ref, traceContext) {
8
8
  var fileId = _ref.fileId,
9
9
  fileMediatype = _ref.fileMediatype,
10
10
  fileMimetype = _ref.fileMimetype,
@@ -25,5 +25,4 @@ var createLoadSucceededEvent = function createLoadSucceededEvent(_ref, traceCont
25
25
  traceContext: fileMediatype === 'image' ? traceContext : undefined
26
26
  }
27
27
  };
28
- };
29
- exports.createLoadSucceededEvent = createLoadSucceededEvent;
28
+ };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.createPreviewUnsupportedEvent = void 0;
7
7
  var _ = require("../..");
8
- var createPreviewUnsupportedEvent = function createPreviewUnsupportedEvent(fileState) {
8
+ var createPreviewUnsupportedEvent = exports.createPreviewUnsupportedEvent = function createPreviewUnsupportedEvent(fileState) {
9
9
  var _getFileAttributes = (0, _.getFileAttributes)(fileState),
10
10
  fileId = _getFileAttributes.fileId,
11
11
  fileMediatype = _getFileAttributes.fileMediatype,
@@ -24,5 +24,4 @@ var createPreviewUnsupportedEvent = function createPreviewUnsupportedEvent(fileS
24
24
  }
25
25
  }
26
26
  };
27
- };
28
- exports.createPreviewUnsupportedEvent = createPreviewUnsupportedEvent;
27
+ };
@@ -7,7 +7,7 @@ exports.createZipEntryLoadFailedEvent = void 0;
7
7
  var _ = require("../..");
8
8
  var _utils = require("../../../utils");
9
9
  var _errors = require("../../../errors");
10
- var createZipEntryLoadFailedEvent = function createZipEntryLoadFailedEvent(fileState, error, zipEntry) {
10
+ var createZipEntryLoadFailedEvent = exports.createZipEntryLoadFailedEvent = function createZipEntryLoadFailedEvent(fileState, error, zipEntry) {
11
11
  var _getFileAttributes = (0, _.getFileAttributes)(fileState),
12
12
  fileId = _getFileAttributes.fileId,
13
13
  fileMediatype = _getFileAttributes.fileMediatype,
@@ -36,5 +36,4 @@ var createZipEntryLoadFailedEvent = function createZipEntryLoadFailedEvent(fileS
36
36
  mimeType: zipEntry ? (0, _utils.getMimeTypeFromFilename)(zipEntry.name) : 'undefined'
37
37
  }
38
38
  };
39
- };
40
- exports.createZipEntryLoadFailedEvent = createZipEntryLoadFailedEvent;
39
+ };
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.createZipEntryLoadSucceededEvent = void 0;
7
7
  var _utils = require("../../../utils");
8
8
  var _ = require("../..");
9
- var createZipEntryLoadSucceededEvent = function createZipEntryLoadSucceededEvent(fileState, zipEntry) {
9
+ var createZipEntryLoadSucceededEvent = exports.createZipEntryLoadSucceededEvent = function createZipEntryLoadSucceededEvent(fileState, zipEntry) {
10
10
  var _getFileAttributes = (0, _.getFileAttributes)(fileState),
11
11
  fileId = _getFileAttributes.fileId,
12
12
  fileMediatype = _getFileAttributes.fileMediatype,
@@ -32,5 +32,4 @@ var createZipEntryLoadSucceededEvent = function createZipEntryLoadSucceededEvent
32
32
  mimeType: (0, _utils.getMimeTypeFromFilename)(zipEntry.name)
33
33
  }
34
34
  };
35
- };
36
- exports.createZipEntryLoadSucceededEvent = createZipEntryLoadSucceededEvent;
35
+ };