@atlaskit/media-viewer 48.1.0 → 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 (65) hide show
  1. package/CHANGELOG.md +68 -62
  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 +2 -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/esm/analytics/index.js +1 -1
  64. package/dist/esm/analytics/ufoExperiences.js +1 -1
  65. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,10 +1,16 @@
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
+
3
9
  ## 48.1.0
4
10
 
5
11
  ### Minor Changes
6
12
 
7
- - [`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.
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.
8
14
 
9
15
  ```
10
16
  {
@@ -17,7 +23,7 @@
17
23
 
18
24
  ### Patch Changes
19
25
 
20
- - [`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
21
27
 
22
28
  ## 48.0.15
23
29
 
@@ -29,13 +35,13 @@
29
35
 
30
36
  ### Patch Changes
31
37
 
32
- - [`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.
33
39
 
34
40
  ## 48.0.13
35
41
 
36
42
  ### Patch Changes
37
43
 
38
- - [`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.
39
45
 
40
46
  ## 48.0.12
41
47
 
@@ -47,7 +53,7 @@
47
53
 
48
54
  ### Patch Changes
49
55
 
50
- - [`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
51
57
  - Updated dependencies
52
58
 
53
59
  ## 48.0.10
@@ -66,7 +72,7 @@
66
72
 
67
73
  ### Patch Changes
68
74
 
69
- - [`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
70
76
 
71
77
  ## 48.0.7
72
78
 
@@ -78,14 +84,14 @@
78
84
 
79
85
  ### Patch Changes
80
86
 
81
- - [`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
82
88
  - Updated dependencies
83
89
 
84
90
  ## 48.0.5
85
91
 
86
92
  ### Patch Changes
87
93
 
88
- - [`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.
89
95
 
90
96
  ## 48.0.4
91
97
 
@@ -109,13 +115,13 @@
109
115
 
110
116
  ### Patch Changes
111
117
 
112
- - [`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
113
119
 
114
120
  ## 48.0.0
115
121
 
116
122
  ### Major Changes
117
123
 
118
- - [`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.
119
125
 
120
126
  ### Patch Changes
121
127
 
@@ -125,13 +131,13 @@
125
131
 
126
132
  ### Patch Changes
127
133
 
128
- - [`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`
129
135
 
130
136
  ## 47.6.0
131
137
 
132
138
  ### Minor Changes
133
139
 
134
- - [`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
135
141
 
136
142
  ### Patch Changes
137
143
 
@@ -141,27 +147,27 @@
141
147
 
142
148
  ### Patch Changes
143
149
 
144
- - [`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
145
151
  - Updated dependencies
146
152
 
147
153
  ## 47.5.2
148
154
 
149
155
  ### Patch Changes
150
156
 
151
- - [`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
152
158
 
153
159
  ## 47.5.1
154
160
 
155
161
  ### Patch Changes
156
162
 
157
- - [`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
158
164
  - Updated dependencies
159
165
 
160
166
  ## 47.5.0
161
167
 
162
168
  ### Minor Changes
163
169
 
164
- - [`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.
165
171
 
166
172
  ### Patch Changes
167
173
 
@@ -177,7 +183,7 @@
177
183
 
178
184
  ### Patch Changes
179
185
 
180
- - [`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.
181
187
 
182
188
  ## 47.4.1
183
189
 
@@ -189,7 +195,7 @@
189
195
 
190
196
  ### Minor Changes
191
197
 
192
- - [`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
193
199
 
194
200
  ### Patch Changes
195
201
 
@@ -205,7 +211,7 @@
205
211
 
206
212
  ### Minor Changes
207
213
 
208
- - [`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
209
215
  - [`0bccac57db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0bccac57db6) - remove mediaUploadApiV2 Feature flag
210
216
 
211
217
  ### Patch Changes
@@ -228,7 +234,7 @@
228
234
 
229
235
  ### Minor Changes
230
236
 
231
- - [`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.
232
238
 
233
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.
234
240
 
@@ -247,13 +253,13 @@
247
253
 
248
254
  ### Patch Changes
249
255
 
250
- - [`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`
251
257
 
252
258
  ## 47.1.0
253
259
 
254
260
  ### Minor Changes
255
261
 
256
- - [`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.
257
263
 
258
264
  ### Patch Changes
259
265
 
@@ -265,20 +271,20 @@
265
271
 
266
272
  ### Patch Changes
267
273
 
268
- - [`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`.
269
275
 
270
276
  ## 47.0.1
271
277
 
272
278
  ### Patch Changes
273
279
 
274
- - [`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.
275
281
  - Updated dependencies
276
282
 
277
283
  ## 47.0.0
278
284
 
279
285
  ### Major Changes
280
286
 
281
- - [`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
282
288
 
283
289
  ### Patch Changes
284
290
 
@@ -291,7 +297,7 @@
291
297
 
292
298
  ### Minor Changes
293
299
 
294
- - [`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.
295
301
 
296
302
  ### Patch Changes
297
303
 
@@ -301,7 +307,7 @@
301
307
 
302
308
  ### Minor Changes
303
309
 
304
- - [`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
305
311
  - [`35e43fcc798`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35e43fcc798) - Add ufo feature flag logging
306
312
  - [`31cf1fff440`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31cf1fff440) - Flagged events with file states processing and uploading for UFO payload
307
313
 
@@ -315,7 +321,7 @@
315
321
 
316
322
  ### Minor Changes
317
323
 
318
- - [`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
319
325
 
320
326
  ### Patch Changes
321
327
 
@@ -325,14 +331,14 @@
325
331
 
326
332
  ### Patch Changes
327
333
 
328
- - [`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
329
335
  - Updated dependencies
330
336
 
331
337
  ## 46.2.1
332
338
 
333
339
  ### Patch Changes
334
340
 
335
- - [`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
336
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
337
343
  - [`065ae19cb44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/065ae19cb44) - Enforced "up to date" logged feature flags via type checks
338
344
  - Updated dependencies
@@ -341,7 +347,7 @@
341
347
 
342
348
  ### Minor Changes
343
349
 
344
- - [`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
345
351
  - [`f862d5ae7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f862d5ae7aa) - remove RxJs peer dependency
346
352
  - [`dea110be493`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dea110be493) - [ux] MEX-1334 Implemented code splitting in media-viewer
347
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).
@@ -428,7 +434,7 @@
428
434
 
429
435
  ### Minor Changes
430
436
 
431
- - [`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
432
438
  - [`94539e589cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/94539e589cc) - MEX-1105 Migrated @atlaskit/button to @atlaskit/button/standard-button
433
439
 
434
440
  ### Patch Changes
@@ -440,14 +446,14 @@
440
446
 
441
447
  ### Patch Changes
442
448
 
443
- - [`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
444
450
  - Updated dependencies
445
451
 
446
452
  ## 46.0.0
447
453
 
448
454
  ### Major Changes
449
455
 
450
- - [`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
451
457
 
452
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.
453
459
  Why change was made: As part of a coordinated upgrade effort across AF packages, as react-intl v2 is quite dated.
@@ -493,7 +499,7 @@
493
499
 
494
500
  ### Patch Changes
495
501
 
496
- - [`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
497
503
  - [`2b24fcc59f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b24fcc59f2) - Removed Code Viewer and Zip Previews Feature Flags
498
504
  - Updated dependencies
499
505
 
@@ -501,7 +507,7 @@
501
507
 
502
508
  ### Patch Changes
503
509
 
504
- - [`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
505
511
  - Updated dependencies
506
512
 
507
513
  ## 45.8.9
@@ -514,7 +520,7 @@
514
520
 
515
521
  ### Patch Changes
516
522
 
517
- - [`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
518
524
  - [`4777a174e6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4777a174e6d) - Added analytics support for customMediaPlayer + screen event + entrypoint for locales
519
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.
520
526
  - [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
@@ -530,7 +536,7 @@
530
536
 
531
537
  ### Patch Changes
532
538
 
533
- - [`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"
534
540
  - [`10932f6ae07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10932f6ae07) - SPFE-561: Remove the URLSearchParams polyfill
535
541
  - Updated dependencies
536
542
 
@@ -538,28 +544,28 @@
538
544
 
539
545
  ### Patch Changes
540
546
 
541
- - [`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
542
548
  - Updated dependencies
543
549
 
544
550
  ## 45.8.4
545
551
 
546
552
  ### Patch Changes
547
553
 
548
- - [`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
549
555
  - Updated dependencies
550
556
 
551
557
  ## 45.8.3
552
558
 
553
559
  ### Patch Changes
554
560
 
555
- - [`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
556
562
  - Updated dependencies
557
563
 
558
564
  ## 45.8.2
559
565
 
560
566
  ### Patch Changes
561
567
 
562
- - [`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
563
569
  - [`7ba7af04db8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ba7af04db8) - Type fixes related to consumption of `@atlaskit/code`
564
570
  - Updated dependencies
565
571
 
@@ -567,7 +573,7 @@
567
573
 
568
574
  ### Patch Changes
569
575
 
570
- - [`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
571
577
  - [`341311b4eb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/341311b4eb4) - Fix double events firing for media-viewer when errorMessage is rendered twice
572
578
  - [`abc38bc9990`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abc38bc9990) - Added request metadata to failed frontend SLIs
573
579
  - Updated dependencies
@@ -576,7 +582,7 @@
576
582
 
577
583
  ### Minor Changes
578
584
 
579
- - [`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
580
586
 
581
587
  ### Patch Changes
582
588
 
@@ -587,7 +593,7 @@
587
593
 
588
594
  ### Minor Changes
589
595
 
590
- - [`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
591
597
 
592
598
  ### Patch Changes
593
599
 
@@ -603,7 +609,7 @@
603
609
 
604
610
  ### Minor Changes
605
611
 
606
- - [`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
607
613
 
608
614
  ### Patch Changes
609
615
 
@@ -613,27 +619,27 @@
613
619
 
614
620
  ### Patch Changes
615
621
 
616
- - [`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
617
623
  - Updated dependencies
618
624
 
619
625
  ## 45.5.2
620
626
 
621
627
  ### Patch Changes
622
628
 
623
- - [`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
624
630
 
625
631
  ## 45.5.1
626
632
 
627
633
  ### Patch Changes
628
634
 
629
- - [`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
630
636
  - Updated dependencies
631
637
 
632
638
  ## 45.5.0
633
639
 
634
640
  ### Minor Changes
635
641
 
636
- - [`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
637
643
 
638
644
  ### Patch Changes
639
645
 
@@ -645,7 +651,7 @@
645
651
 
646
652
  ### Minor Changes
647
653
 
648
- - [`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
649
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.
650
656
 
651
657
  ### Patch Changes
@@ -656,7 +662,7 @@
656
662
 
657
663
  ### Patch Changes
658
664
 
659
- - [`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.
660
666
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
661
667
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
662
668
 
@@ -670,7 +676,7 @@
670
676
 
671
677
  ### Minor Changes
672
678
 
673
- - [`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
674
680
 
675
681
  ### Patch Changes
676
682
 
@@ -686,7 +692,7 @@
686
692
 
687
693
  ### Minor Changes
688
694
 
689
- - [`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
690
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
691
697
  - [`0837e7611b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0837e7611b) - Adding spinner to ArchiveViewer entry preview section
692
698
 
@@ -698,7 +704,7 @@
698
704
 
699
705
  ### Patch Changes
700
706
 
701
- - [`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
702
708
 
703
709
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
704
710
  to prevent duplicates of tslib being bundled.
@@ -707,13 +713,13 @@
707
713
 
708
714
  ### Patch Changes
709
715
 
710
- - [`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
711
717
 
712
718
  ## 45.1.0
713
719
 
714
720
  ### Minor Changes
715
721
 
716
- - [`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
717
723
  - [`6faafb144c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6faafb144c) - Introduce MediaFeatureFlags. Refactor components to use.
718
724
  - [`af4a8c4262`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4a8c4262) - Added custom error message for encrypted zip file previews
719
725
  - [`8cfc88423a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cfc88423a) - Added more zip examples and added error handling for zip previews
@@ -735,14 +741,14 @@
735
741
 
736
742
  ### Patch Changes
737
743
 
738
- - [`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)
739
745
  - [`6bcdf043ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6bcdf043ae) - Fixed flaky Media-Viewer integration tests
740
746
 
741
747
  ## 45.0.0
742
748
 
743
749
  ### Major Changes
744
750
 
745
- - [`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.
746
752
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
747
753
 
748
754
  ### Patch Changes
@@ -753,21 +759,21 @@
753
759
 
754
760
  ### Patch Changes
755
761
 
756
- - [`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
757
763
  - Updated dependencies
758
764
 
759
765
  ## 44.4.3
760
766
 
761
767
  ### Patch Changes
762
768
 
763
- - [`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
764
770
  - Updated dependencies
765
771
 
766
772
  ## 44.4.2
767
773
 
768
774
  ### Patch Changes
769
775
 
770
- - [`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
771
777
  - [`cc5935bf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc5935bf4f) - Use MediaTypeIcon from media-ui
772
778
  - [`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove unused dependencies
773
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
+ };