@atlaskit/media-table 15.0.10 → 15.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/media-table
2
2
 
3
+ ## 15.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41659](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41659) [`a0c97a19dba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0c97a19dba) - Remove unused utils and depreciated exports in mediaClient.
8
+ - Updated dependencies
9
+
3
10
  ## 15.0.10
4
11
 
5
12
  ### Patch Changes
@@ -22,19 +29,19 @@
22
29
 
23
30
  ### Patch Changes
24
31
 
25
- - [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
32
+ - [#37340](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37340) [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
26
33
 
27
34
  ## 15.0.6
28
35
 
29
36
  ### Patch Changes
30
37
 
31
- - [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
38
+ - [#36757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36757) [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
32
39
 
33
40
  ## 15.0.5
34
41
 
35
42
  ### Patch Changes
36
43
 
37
- - [`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.
44
+ - [#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.
38
45
 
39
46
  ## 15.0.4
40
47
 
@@ -46,7 +53,7 @@
46
53
 
47
54
  ### Patch Changes
48
55
 
49
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
56
+ - [#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
50
57
  - Updated dependencies
51
58
 
52
59
  ## 15.0.2
@@ -59,14 +66,14 @@
59
66
 
60
67
  ### Patch Changes
61
68
 
62
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
69
+ - [#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`
63
70
  - Updated dependencies
64
71
 
65
72
  ## 15.0.0
66
73
 
67
74
  ### Minor Changes
68
75
 
69
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
76
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
70
77
 
71
78
  ### Patch Changes
72
79
 
@@ -82,7 +89,7 @@
82
89
 
83
90
  ### Patch Changes
84
91
 
85
- - [`c3eba8c788d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3eba8c788d) - Updates Media Viewer input data object
92
+ - [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248) [`c3eba8c788d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3eba8c788d) - Updates Media Viewer input data object
86
93
  - Updated dependencies
87
94
 
88
95
  ## 14.1.5
@@ -119,7 +126,7 @@
119
126
 
120
127
  ### Minor Changes
121
128
 
122
- - [`2c1a0c45a0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c1a0c45a0b) - [ux] Instrumented `@atlaskit/media-table` with the new theming package, `@atlaskit/tokens`.
129
+ - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`2c1a0c45a0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c1a0c45a0b) - [ux] Instrumented `@atlaskit/media-table` with the new theming package, `@atlaskit/tokens`.
123
130
 
124
131
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
125
132
  These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
@@ -133,7 +140,7 @@
133
140
 
134
141
  ### Major Changes
135
142
 
136
- - [`64a9be7d742`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64a9be7d742) - [ux] Add a preconfiguration for columns with the key 'preview' to display a media preview button
143
+ - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`64a9be7d742`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64a9be7d742) - [ux] Add a preconfiguration for columns with the key 'preview' to display a media preview button
137
144
 
138
145
  ### Minor Changes
139
146
 
@@ -148,21 +155,21 @@
148
155
 
149
156
  ### Patch Changes
150
157
 
151
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
158
+ - [#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`
152
159
  - Updated dependencies
153
160
 
154
161
  ## 13.0.1
155
162
 
156
163
  ### Patch Changes
157
164
 
158
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
165
+ - [#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`.
159
166
  - Updated dependencies
160
167
 
161
168
  ## 13.0.0
162
169
 
163
170
  ### Major Changes
164
171
 
165
- - [`af775dcb785`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af775dcb785) - [MEX-1034] Migrated from styled-components library to @emotion/react in @atlaskit/media-table
172
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`af775dcb785`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af775dcb785) - [MEX-1034] Migrated from styled-components library to @emotion/react in @atlaskit/media-table
166
173
 
167
174
  ### Patch Changes
168
175
 
@@ -184,14 +191,14 @@
184
191
 
185
192
  ### Patch Changes
186
193
 
187
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
194
+ - [#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
188
195
  - Updated dependencies
189
196
 
190
197
  ## 11.0.0
191
198
 
192
199
  ### Minor Changes
193
200
 
194
- - [`f862d5ae7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f862d5ae7aa) - remove RxJs peer dependency
201
+ - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`f862d5ae7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f862d5ae7aa) - remove RxJs peer dependency
195
202
  - [`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).
196
203
  It exposes subscribe method that is called with MediaObserver as an argument and returns MediaSubscription.
197
204
  MediaSubscription exposes unsubscribe method.
@@ -282,7 +289,7 @@
282
289
 
283
290
  ### Patch Changes
284
291
 
285
- - [`6a5dc78b511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a5dc78b511) - Remove dateformat from media packages
292
+ - [#19261](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19261) [`6a5dc78b511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a5dc78b511) - Remove dateformat from media packages
286
293
 
287
294
  ## 10.0.1
288
295
 
@@ -294,7 +301,7 @@
294
301
 
295
302
  ### Major Changes
296
303
 
297
- - [`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
304
+ - [#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
298
305
 
299
306
  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.
300
307
  Why change was made: As part of a coordinated upgrade effort across AF packages, as react-intl v2 is quite dated.
@@ -340,7 +347,7 @@
340
347
 
341
348
  ### Patch Changes
342
349
 
343
- - [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
350
+ - [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694) [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
344
351
 
345
352
  ## 9.0.2
346
353
 
@@ -352,7 +359,7 @@
352
359
 
353
360
  ### Patch Changes
354
361
 
355
- - [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
362
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
356
363
  - Updated dependencies
357
364
 
358
365
  ## 9.0.0
@@ -365,14 +372,14 @@
365
372
 
366
373
  ### Patch Changes
367
374
 
368
- - [`3cd9ee2d15b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cd9ee2d15b) - Added RxJS compatiblity notice in Media docs
375
+ - [#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
369
376
  - Updated dependencies
370
377
 
371
378
  ## 8.0.6
372
379
 
373
380
  ### Patch Changes
374
381
 
375
- - [`153f5588cab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153f5588cab) - VULN-328572 - Upgrade dateformat to address security vuln
382
+ - [#10206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10206) [`153f5588cab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153f5588cab) - VULN-328572 - Upgrade dateformat to address security vuln
376
383
 
377
384
  ## 8.0.5
378
385
 
@@ -396,14 +403,14 @@
396
403
 
397
404
  ### Patch Changes
398
405
 
399
- - [`6d0d354481`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d0d354481) - BENTO-7803 Prevent download button from opening the media preview
406
+ - [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571) [`6d0d354481`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d0d354481) - BENTO-7803 Prevent download button from opening the media preview
400
407
  - Updated dependencies
401
408
 
402
409
  ## 8.0.1
403
410
 
404
411
  ### Patch Changes
405
412
 
406
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
413
+ - [#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
407
414
  - Updated dependencies
408
415
 
409
416
  ## 8.0.0
@@ -416,7 +423,7 @@
416
423
 
417
424
  ### Major Changes
418
425
 
419
- - [`4fe0ee2c04`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fe0ee2c04) - API change: Move rowProps prop to each individual row item to allow different props to be applied to each table row
426
+ - [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516) [`4fe0ee2c04`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fe0ee2c04) - API change: Move rowProps prop to each individual row item to allow different props to be applied to each table row
420
427
 
421
428
  ### Patch Changes
422
429
 
@@ -427,7 +434,7 @@
427
434
 
428
435
  ### Patch Changes
429
436
 
430
- - [`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.
437
+ - [#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.
431
438
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
432
439
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
433
440
  - Updated dependencies
@@ -442,7 +449,7 @@
442
449
 
443
450
  ### Minor Changes
444
451
 
445
- - [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated to declarative entry points
452
+ - [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated to declarative entry points
446
453
 
447
454
  ### Patch Changes
448
455
 
@@ -458,7 +465,7 @@
458
465
 
459
466
  ### Patch Changes
460
467
 
461
- - [`a7eb47bc69`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7eb47bc69) - Add analytic channel to download button analyticsEvent
468
+ - [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424) [`a7eb47bc69`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7eb47bc69) - Add analytic channel to download button analyticsEvent
462
469
  - [`92094dd855`](https://bitbucket.org/atlassian/atlassian-frontend/commits/92094dd855) - Remove faulty import in mediaTable
463
470
  - [`9254b203f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9254b203f9) - Removing unused code to be published
464
471
  - Updated dependencies
@@ -467,7 +474,7 @@
467
474
 
468
475
  ### Patch Changes
469
476
 
470
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
477
+ - [#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
471
478
 
472
479
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
473
480
  to prevent duplicates of tslib being bundled.
@@ -476,7 +483,7 @@
476
483
 
477
484
  ### Minor Changes
478
485
 
479
- - [`c026e59e68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c026e59e68) - Move truncateText helper from media-card to media-ui and expose entry point. Export optional NameCell component from MediaTable.
486
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`c026e59e68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c026e59e68) - Move truncateText helper from media-card to media-ui and expose entry point. Export optional NameCell component from MediaTable.
480
487
  - [`89a1c63251`](https://bitbucket.org/atlassian/atlassian-frontend/commits/89a1c63251) - Add the rowProps property, which enables consumers to apply properties to the underlying row component. Move truncateText helper from media-card to media-ui and expose entry point. Export optional NameCell component from MediaTable.
481
488
  - [`6c3c26f10c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c3c26f10c) - Add fixed width to download button column in media-table
482
489
 
@@ -490,13 +497,13 @@
490
497
 
491
498
  ### Patch Changes
492
499
 
493
- - [`ff9c75810c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff9c75810c) - Remove faulty import in mediaTable
500
+ - [#3892](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3892) [`ff9c75810c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff9c75810c) - Remove faulty import in mediaTable
494
501
 
495
502
  ## 5.1.0
496
503
 
497
504
  ### Minor Changes
498
505
 
499
- - [`0934ad8798`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0934ad8798) - Add onPreviewOpen and onPreviewClose props
506
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`0934ad8798`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0934ad8798) - Add onPreviewOpen and onPreviewClose props
500
507
  - [`6cf40e50ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cf40e50ea) - Add UI analyticsEvent to individual row download button and table row click
501
508
  - [`6c554b874b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c554b874b) - Remove obsolete collectionName from RowData type. The collectionName should be included in the item identifier if it is required.
502
509
 
@@ -504,7 +511,7 @@
504
511
 
505
512
  ### Major Changes
506
513
 
507
- - [`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.
514
+ - [#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.
508
515
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
509
516
 
510
517
  ### Patch Changes
@@ -515,7 +522,7 @@
515
522
 
516
523
  ### Major Changes
517
524
 
518
- - [`198b19dcc7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/198b19dcc7) - Refactor items to take a FileIdentifier instead of string id
525
+ - [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`198b19dcc7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/198b19dcc7) - Refactor items to take a FileIdentifier instead of string id
519
526
 
520
527
  ### Minor Changes
521
528
 
@@ -530,14 +537,14 @@
530
537
 
531
538
  ### Patch Changes
532
539
 
533
- - [`51aa5587ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51aa5587ef) - bump media-client: Remove stack traces from media analytic events
540
+ - [#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
534
541
  - Updated dependencies
535
542
 
536
543
  ## 3.0.0
537
544
 
538
545
  ### Major Changes
539
546
 
540
- - [`4af9cf854d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4af9cf854d) - Refactor items to take a FileIdentifier instead of string id
547
+ - [#2841](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2841) [`4af9cf854d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4af9cf854d) - Refactor items to take a FileIdentifier instead of string id
541
548
  Add i18n support to media-table
542
549
  Expose sortKey and sortOrder as props. Add props documentation
543
550
  Add isFixedSize to DynamicTableStateless prop
@@ -547,7 +554,7 @@
547
554
 
548
555
  ### Major Changes
549
556
 
550
- - [`07952b96f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07952b96f8) - - New implementation of MediaTable with upgraded API
557
+ - [#2629](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2629) [`07952b96f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07952b96f8) - - New implementation of MediaTable with upgraded API
551
558
 
552
559
  **New API Requirements**
553
560
 
@@ -648,7 +655,7 @@
648
655
 
649
656
  ### Minor Changes
650
657
 
651
- - [`2c36ac5f82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c36ac5f82) - NOISSUE Add es2019 module to media-table package.json
658
+ - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`2c36ac5f82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c36ac5f82) - NOISSUE Add es2019 module to media-table package.json
652
659
 
653
660
  ### Patch Changes
654
661
 
@@ -50,5 +50,4 @@ var MediaDownloadButton = function MediaDownloadButton(props) {
50
50
  }
51
51
  });
52
52
  };
53
- var _default = (0, _reactIntlNext.injectIntl)(MediaDownloadButton);
54
- exports.default = _default;
53
+ var _default = exports.default = (0, _reactIntlNext.injectIntl)(MediaDownloadButton);
@@ -21,6 +21,7 @@ var _reactDom = _interopRequireDefault(require("react-dom"));
21
21
  var _reactIntlNext = require("react-intl-next");
22
22
  var _dynamicTable = require("@atlaskit/dynamic-table");
23
23
  var _mediaClient = require("@atlaskit/media-client");
24
+ var _mediaClientReact = require("@atlaskit/media-client-react");
24
25
  var _mediaViewer = require("@atlaskit/media-viewer");
25
26
  var _styles = require("./styles");
26
27
  var _downloadButton = _interopRequireDefault(require("./downloadButton"));
@@ -33,7 +34,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
33
34
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
34
35
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
35
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**@jsx jsx */ // eslint-disable-next-line import/no-extraneous-dependencies
36
- var MediaTable = /*#__PURE__*/function (_Component) {
37
+ var MediaTable = exports.MediaTable = /*#__PURE__*/function (_Component) {
37
38
  (0, _inherits2.default)(MediaTable, _Component);
38
39
  var _super = _createSuper(MediaTable);
39
40
  function MediaTable() {
@@ -294,8 +295,6 @@ var MediaTable = /*#__PURE__*/function (_Component) {
294
295
  }]);
295
296
  return MediaTable;
296
297
  }(_react2.Component);
297
- exports.MediaTable = MediaTable;
298
- var _default = (0, _mediaClient.withMediaClient)((0, _analyticsNext.withAnalyticsEvents)()((0, _reactIntlNext.injectIntl)(MediaTable, {
298
+ var _default = exports.default = (0, _mediaClientReact.withMediaClient)((0, _analyticsNext.withAnalyticsEvents)()((0, _reactIntlNext.injectIntl)(MediaTable, {
299
299
  enforceContext: false
300
- })));
301
- exports.default = _default;
300
+ })));
@@ -14,7 +14,7 @@ var _mediaTypeIcon = require("@atlaskit/media-ui/media-type-icon");
14
14
  var _styles = require("./styles");
15
15
  var _excluded = ["mediaType", "text"];
16
16
  /**@jsx jsx */
17
- var NameCell = function NameCell(props) {
17
+ var NameCell = exports.NameCell = function NameCell(props) {
18
18
  var mediaType = props.mediaType,
19
19
  text = props.text,
20
20
  rest = (0, _objectWithoutProperties2.default)(props, _excluded);
@@ -29,5 +29,4 @@ var NameCell = function NameCell(props) {
29
29
  }, (0, _react.jsx)(_truncateText.Truncate, (0, _extends2.default)({
30
30
  text: text
31
31
  }, rest)))));
32
- };
33
- exports.NameCell = NameCell;
32
+ };
@@ -46,5 +46,4 @@ var MediaPreviewButton = function MediaPreviewButton(props) {
46
46
  }
47
47
  });
48
48
  };
49
- var _default = (0, _reactIntlNext.injectIntl)(MediaPreviewButton);
50
- exports.default = _default;
49
+ var _default = exports.default = (0, _reactIntlNext.injectIntl)(MediaPreviewButton);
@@ -8,9 +8,6 @@ exports.truncateWrapperStyles = exports.nameCellWrapperStyles = exports.mediaTab
8
8
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
9
  var _react = require("@emotion/react");
10
10
  var _templateObject, _templateObject2, _templateObject3;
11
- var nameCellWrapperStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n"])));
12
- exports.nameCellWrapperStyles = nameCellWrapperStyles;
13
- var truncateWrapperStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n min-width: 0;\n width: 100%;\n margin-left: ", ";\n\n span:first-of-type {\n &::first-letter {\n text-transform: capitalize;\n }\n }\n"])), "var(--ds-space-050, 4px)");
14
- exports.truncateWrapperStyles = truncateWrapperStyles;
15
- var mediaTableWrapperStyles = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n tr {\n cursor: pointer;\n\n td:empty {\n padding: 0;\n }\n }\n"])));
16
- exports.mediaTableWrapperStyles = mediaTableWrapperStyles;
11
+ var nameCellWrapperStyles = exports.nameCellWrapperStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n"])));
12
+ var truncateWrapperStyles = exports.truncateWrapperStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n min-width: 0;\n width: 100%;\n margin-left: ", ";\n\n span:first-of-type {\n &::first-letter {\n text-transform: capitalize;\n }\n }\n"])), "var(--ds-space-050, 4px)");
13
+ var mediaTableWrapperStyles = exports.mediaTableWrapperStyles = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n tr {\n cursor: pointer;\n\n td:empty {\n padding: 0;\n }\n }\n"])));
@@ -4,9 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.CELL_KEY_PREVIEW = exports.CELL_KEY_DOWNLOAD = exports.ANALYTICS_MEDIA_CHANNEL = void 0;
7
- var CELL_KEY_DOWNLOAD = 'download';
8
- exports.CELL_KEY_DOWNLOAD = CELL_KEY_DOWNLOAD;
9
- var CELL_KEY_PREVIEW = 'preview';
10
- exports.CELL_KEY_PREVIEW = CELL_KEY_PREVIEW;
11
- var ANALYTICS_MEDIA_CHANNEL = 'media';
12
- exports.ANALYTICS_MEDIA_CHANNEL = ANALYTICS_MEDIA_CHANNEL;
7
+ var CELL_KEY_DOWNLOAD = exports.CELL_KEY_DOWNLOAD = 'download';
8
+ var CELL_KEY_PREVIEW = exports.CELL_KEY_PREVIEW = 'preview';
9
+ var ANALYTICS_MEDIA_CHANNEL = exports.ANALYTICS_MEDIA_CHANNEL = 'media';
@@ -21,5 +21,4 @@ var generateHeadValues = (0, _memoizeOne.default)(function (columns) {
21
21
  })
22
22
  };
23
23
  });
24
- var _default = (0, _memoizeOne.default)(generateHeadValues);
25
- exports.default = _default;
24
+ var _default = exports.default = (0, _memoizeOne.default)(generateHeadValues);
@@ -21,7 +21,7 @@ function generateEmptyRows(emptyCells, length) {
21
21
  };
22
22
  });
23
23
  }
24
- var generateEmptyRow = (0, _memoizeOne.default)(function (headerCells) {
24
+ var generateEmptyRow = exports.generateEmptyRow = (0, _memoizeOne.default)(function (headerCells) {
25
25
  return headerCells.map(function (cell) {
26
26
  return {
27
27
  key: cell.key,
@@ -29,16 +29,14 @@ var generateEmptyRow = (0, _memoizeOne.default)(function (headerCells) {
29
29
  };
30
30
  });
31
31
  });
32
- exports.generateEmptyRow = generateEmptyRow;
33
- var prependRows = (0, _memoizeOne.default)(function (emptyCells, itemsPerPage, pageNumber) {
32
+ var prependRows = exports.prependRows = (0, _memoizeOne.default)(function (emptyCells, itemsPerPage, pageNumber) {
34
33
  if (!itemsPerPage || !pageNumber) {
35
34
  return [];
36
35
  }
37
36
  var itemsCount = (pageNumber - 1) * itemsPerPage;
38
37
  return generateEmptyRows(emptyCells, itemsCount);
39
38
  });
40
- exports.prependRows = prependRows;
41
- var appendRows = (0, _memoizeOne.default)(function (emptyCells, rowsLength, itemsPerPage, pageNumber, totalItems) {
39
+ var appendRows = exports.appendRows = (0, _memoizeOne.default)(function (emptyCells, rowsLength, itemsPerPage, pageNumber, totalItems) {
42
40
  if (!itemsPerPage || !pageNumber || !totalItems) {
43
41
  return [];
44
42
  }
@@ -46,7 +44,6 @@ var appendRows = (0, _memoizeOne.default)(function (emptyCells, rowsLength, item
46
44
  var itemsCount = (Math.ceil(totalItems / itemsPerPage) - pageNumber) * itemsPerPage - rowsDiff;
47
45
  return generateEmptyRows(emptyCells, itemsCount);
48
46
  });
49
- exports.appendRows = appendRows;
50
47
  function generateRowValues(_ref) {
51
48
  var itemsPerPage = _ref.itemsPerPage,
52
49
  pageNumber = _ref.pageNumber,
@@ -41,5 +41,4 @@ var getValidTableProps = function getValidTableProps(itemsCount, itemsPerPage, p
41
41
  validItemsPerPage: validItemsPerPage
42
42
  };
43
43
  };
44
- var _default = (0, _memoizeOne.default)(getValidTableProps);
45
- exports.default = _default;
44
+ var _default = exports.default = (0, _memoizeOne.default)(getValidTableProps);
@@ -6,7 +6,8 @@ import ReactDOM from 'react-dom';
6
6
  // eslint-disable-next-line import/no-extraneous-dependencies
7
7
  import { IntlProvider, injectIntl } from 'react-intl-next';
8
8
  import { DynamicTableStateless } from '@atlaskit/dynamic-table';
9
- import { isFileIdentifier, withMediaClient, isProcessedFileState } from '@atlaskit/media-client';
9
+ import { isFileIdentifier, isProcessedFileState } from '@atlaskit/media-client';
10
+ import { withMediaClient } from '@atlaskit/media-client-react';
10
11
  import { MediaViewer } from '@atlaskit/media-viewer';
11
12
  import { mediaTableWrapperStyles } from './styles';
12
13
  import DownloadButton from './downloadButton';
@@ -18,7 +18,8 @@ import ReactDOM from 'react-dom';
18
18
  // eslint-disable-next-line import/no-extraneous-dependencies
19
19
  import { IntlProvider, injectIntl } from 'react-intl-next';
20
20
  import { DynamicTableStateless } from '@atlaskit/dynamic-table';
21
- import { isFileIdentifier, withMediaClient, isProcessedFileState } from '@atlaskit/media-client';
21
+ import { isFileIdentifier, isProcessedFileState } from '@atlaskit/media-client';
22
+ import { withMediaClient } from '@atlaskit/media-client-react';
22
23
  import { MediaViewer } from '@atlaskit/media-viewer';
23
24
  import { mediaTableWrapperStyles } from './styles';
24
25
  import DownloadButton from './downloadButton';
@@ -24,5 +24,5 @@ export declare class MediaTable extends Component<MediaTableProps & WrappedCompo
24
24
  private renderMediaViewer;
25
25
  render(): jsx.JSX.Element;
26
26
  }
27
- declare const _default: React.ComponentType<import("@atlaskit/media-client").WithMediaClientConfigProps<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<MediaTableProps & WrappedComponentProps<"intl">>>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>>;
27
+ declare const _default: React.ComponentType<import("@atlaskit/media-client-react").WithMediaClientConfigProps<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<MediaTableProps & WrappedComponentProps<"intl">>>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>>;
28
28
  export default _default;
@@ -24,5 +24,5 @@ export declare class MediaTable extends Component<MediaTableProps & WrappedCompo
24
24
  private renderMediaViewer;
25
25
  render(): jsx.JSX.Element;
26
26
  }
27
- declare const _default: React.ComponentType<import("@atlaskit/media-client").WithMediaClientConfigProps<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<MediaTableProps & WrappedComponentProps<"intl">>>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>>;
27
+ declare const _default: React.ComponentType<import("@atlaskit/media-client-react").WithMediaClientConfigProps<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<MediaTableProps & WrappedComponentProps<"intl">>>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>>;
28
28
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-table",
3
- "version": "15.0.10",
3
+ "version": "15.0.11",
4
4
  "description": "Table UI component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,14 +35,15 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@atlaskit/analytics-next": "^9.1.0",
38
- "@atlaskit/button": "^16.10.0",
38
+ "@atlaskit/button": "^16.11.0",
39
39
  "@atlaskit/dynamic-table": "^14.11.0",
40
40
  "@atlaskit/icon": "^21.12.0",
41
- "@atlaskit/media-client": "^24.0.0",
41
+ "@atlaskit/media-client": "^25.0.0",
42
+ "@atlaskit/media-client-react": "^1.3.0",
42
43
  "@atlaskit/media-ui": "^25.0.0",
43
- "@atlaskit/media-viewer": "^48.0.0",
44
+ "@atlaskit/media-viewer": "^48.1.0",
44
45
  "@atlaskit/theme": "^12.6.0",
45
- "@atlaskit/tokens": "^1.22.0",
46
+ "@atlaskit/tokens": "^1.28.0",
46
47
  "@atlaskit/tooltip": "^17.8.0",
47
48
  "@babel/runtime": "^7.0.0",
48
49
  "memoize-one": "^6.0.0"
package/report.api.md CHANGED
@@ -28,7 +28,7 @@ import { SortOrderType } from '@atlaskit/dynamic-table/types';
28
28
  import { TruncateProps } from '@atlaskit/media-ui/truncateText';
29
29
  import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
30
30
  import { WithIntlProps } from 'react-intl-next';
31
- import { WithMediaClientConfigProps } from '@atlaskit/media-client';
31
+ import { WithMediaClientConfigProps } from '@atlaskit/media-client-react';
32
32
  import { WrappedComponentProps } from 'react-intl-next';
33
33
 
34
34
  // @public (undocumented)
@@ -17,7 +17,7 @@ import { SortOrderType } from '@atlaskit/dynamic-table/types';
17
17
  import { TruncateProps } from '@atlaskit/media-ui/truncateText';
18
18
  import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
19
19
  import { WithIntlProps } from 'react-intl-next';
20
- import { WithMediaClientConfigProps } from '@atlaskit/media-client';
20
+ import { WithMediaClientConfigProps } from '@atlaskit/media-client-react';
21
21
  import { WrappedComponentProps } from 'react-intl-next';
22
22
 
23
23
  // @public (undocumented)