@atlaskit/media-table 15.0.17 → 15.0.19
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 +219 -99
- package/compass.yml +4 -3
- package/dist/cjs/component/mediaTable.js +5 -2
- package/dist/cjs/component/nameCell.js +15 -11
- package/dist/cjs/component/styles.js +33 -6
- package/dist/es2019/component/mediaTable.js +4 -1
- package/dist/es2019/component/nameCell.js +15 -11
- package/dist/es2019/component/styles.js +26 -19
- package/dist/esm/component/mediaTable.js +4 -1
- package/dist/esm/component/nameCell.js +15 -11
- package/dist/esm/component/styles.js +32 -5
- package/dist/types/component/downloadButton.d.ts +1 -1
- package/dist/types/component/mediaTable.d.ts +3 -3
- package/dist/types/component/nameCell.d.ts +3 -3
- package/dist/types/component/previewButton.d.ts +1 -1
- package/dist/types/types.d.ts +4 -4
- package/dist/types/util/generateHeadValues.d.ts +1 -1
- package/dist/types/util/generateRowValues.d.ts +1 -1
- package/dist/types/util/getValidTableProps.d.ts +1 -1
- package/dist/types/util/index.d.ts +1 -1
- package/dist/types-ts4.5/component/downloadButton.d.ts +1 -1
- package/dist/types-ts4.5/component/mediaTable.d.ts +3 -3
- package/dist/types-ts4.5/component/nameCell.d.ts +3 -3
- package/dist/types-ts4.5/component/previewButton.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +4 -4
- package/dist/types-ts4.5/util/generateHeadValues.d.ts +1 -1
- package/dist/types-ts4.5/util/generateRowValues.d.ts +1 -1
- package/dist/types-ts4.5/util/getValidTableProps.d.ts +1 -1
- package/dist/types-ts4.5/util/index.d.ts +1 -1
- package/example-helpers/helpers.tsx +95 -107
- package/example-helpers/styles.tsx +18 -21
- package/package.json +77 -79
- package/report.api.md +43 -44
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
# @atlaskit/media-table
|
|
2
2
|
|
|
3
|
+
## 15.0.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 15.0.18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 15.0.17
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
19
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
20
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
21
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
22
|
|
|
9
23
|
## 15.0.16
|
|
10
24
|
|
|
@@ -40,7 +54,9 @@
|
|
|
40
54
|
|
|
41
55
|
### Patch Changes
|
|
42
56
|
|
|
43
|
-
- [#41659](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41659)
|
|
57
|
+
- [#41659](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41659)
|
|
58
|
+
[`a0c97a19dba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0c97a19dba) - Remove
|
|
59
|
+
unused utils and depreciated exports in mediaClient.
|
|
44
60
|
- Updated dependencies
|
|
45
61
|
|
|
46
62
|
## 15.0.10
|
|
@@ -65,19 +81,26 @@
|
|
|
65
81
|
|
|
66
82
|
### Patch Changes
|
|
67
83
|
|
|
68
|
-
- [#37340](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37340)
|
|
84
|
+
- [#37340](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37340)
|
|
85
|
+
[`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out
|
|
86
|
+
of peer dependency enforcement
|
|
69
87
|
|
|
70
88
|
## 15.0.6
|
|
71
89
|
|
|
72
90
|
### Patch Changes
|
|
73
91
|
|
|
74
|
-
- [#36757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36757)
|
|
92
|
+
- [#36757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36757)
|
|
93
|
+
[`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add
|
|
94
|
+
postinstall check to enforce internal peer dependencies
|
|
75
95
|
|
|
76
96
|
## 15.0.5
|
|
77
97
|
|
|
78
98
|
### Patch Changes
|
|
79
99
|
|
|
80
|
-
- [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728)
|
|
100
|
+
- [#33728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33728)
|
|
101
|
+
[`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) - Internal
|
|
102
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
103
|
+
change.
|
|
81
104
|
|
|
82
105
|
## 15.0.4
|
|
83
106
|
|
|
@@ -89,7 +112,9 @@
|
|
|
89
112
|
|
|
90
113
|
### Patch Changes
|
|
91
114
|
|
|
92
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
115
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
116
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
117
|
+
legacy types are published for TS 4.5-4.8
|
|
93
118
|
- Updated dependencies
|
|
94
119
|
|
|
95
120
|
## 15.0.2
|
|
@@ -102,14 +127,18 @@
|
|
|
102
127
|
|
|
103
128
|
### Patch Changes
|
|
104
129
|
|
|
105
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
130
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
131
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
132
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
106
133
|
- Updated dependencies
|
|
107
134
|
|
|
108
135
|
## 15.0.0
|
|
109
136
|
|
|
110
137
|
### Minor Changes
|
|
111
138
|
|
|
112
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
139
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
140
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
141
|
+
minor dependency bump
|
|
113
142
|
|
|
114
143
|
### Patch Changes
|
|
115
144
|
|
|
@@ -125,7 +154,9 @@
|
|
|
125
154
|
|
|
126
155
|
### Patch Changes
|
|
127
156
|
|
|
128
|
-
- [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248)
|
|
157
|
+
- [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248)
|
|
158
|
+
[`c3eba8c788d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3eba8c788d) - Updates
|
|
159
|
+
Media Viewer input data object
|
|
129
160
|
- Updated dependencies
|
|
130
161
|
|
|
131
162
|
## 14.1.5
|
|
@@ -162,50 +193,64 @@
|
|
|
162
193
|
|
|
163
194
|
### Minor Changes
|
|
164
195
|
|
|
165
|
-
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
196
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
197
|
+
[`2c1a0c45a0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c1a0c45a0b) - [ux]
|
|
198
|
+
Instrumented `@atlaskit/media-table` with the new theming package, `@atlaskit/tokens`.
|
|
166
199
|
|
|
167
|
-
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
168
|
-
These changes are intended to be interoperable with the legacy theme implementation.
|
|
200
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
201
|
+
alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
202
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
169
203
|
|
|
170
204
|
### Patch Changes
|
|
171
205
|
|
|
172
|
-
- [`7fc3932cc78`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7fc3932cc78) - [ux]
|
|
206
|
+
- [`7fc3932cc78`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7fc3932cc78) - [ux]
|
|
207
|
+
Removed hover and focus state styling as the base component applies those already.
|
|
173
208
|
- Updated dependencies
|
|
174
209
|
|
|
175
210
|
## 14.0.0
|
|
176
211
|
|
|
177
212
|
### Major Changes
|
|
178
213
|
|
|
179
|
-
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
214
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
215
|
+
[`64a9be7d742`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64a9be7d742) - [ux] Add
|
|
216
|
+
a preconfiguration for columns with the key 'preview' to display a media preview button
|
|
180
217
|
|
|
181
218
|
### Minor Changes
|
|
182
219
|
|
|
183
|
-
- [`692477d9854`](https://bitbucket.org/atlassian/atlassian-frontend/commits/692477d9854) - [ux]
|
|
220
|
+
- [`692477d9854`](https://bitbucket.org/atlassian/atlassian-frontend/commits/692477d9854) - [ux]
|
|
221
|
+
Adds row selection & row highlighting to media table component
|
|
184
222
|
|
|
185
223
|
### Patch Changes
|
|
186
224
|
|
|
187
|
-
- [`153829bfcb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153829bfcb3) - Upgrade
|
|
225
|
+
- [`153829bfcb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153829bfcb3) - Upgrade
|
|
226
|
+
caching algorithm library lru-fast to lru_map.
|
|
188
227
|
- Updated dependencies
|
|
189
228
|
|
|
190
229
|
## 13.0.2
|
|
191
230
|
|
|
192
231
|
### Patch Changes
|
|
193
232
|
|
|
194
|
-
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
233
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
234
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
235
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
195
236
|
- Updated dependencies
|
|
196
237
|
|
|
197
238
|
## 13.0.1
|
|
198
239
|
|
|
199
240
|
### Patch Changes
|
|
200
241
|
|
|
201
|
-
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
242
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
243
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
244
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
202
245
|
- Updated dependencies
|
|
203
246
|
|
|
204
247
|
## 13.0.0
|
|
205
248
|
|
|
206
249
|
### Major Changes
|
|
207
250
|
|
|
208
|
-
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
|
|
251
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
|
|
252
|
+
[`af775dcb785`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af775dcb785) -
|
|
253
|
+
[MEX-1034] Migrated from styled-components library to @emotion/react in @atlaskit/media-table
|
|
209
254
|
|
|
210
255
|
### Patch Changes
|
|
211
256
|
|
|
@@ -227,20 +272,25 @@
|
|
|
227
272
|
|
|
228
273
|
### Patch Changes
|
|
229
274
|
|
|
230
|
-
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
275
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
276
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
277
|
+
to TypeScript 4.2.4
|
|
231
278
|
- Updated dependencies
|
|
232
279
|
|
|
233
280
|
## 11.0.0
|
|
234
281
|
|
|
235
282
|
### Minor Changes
|
|
236
283
|
|
|
237
|
-
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
284
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
|
|
285
|
+
[`f862d5ae7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f862d5ae7aa) - remove
|
|
286
|
+
RxJs peer dependency
|
|
287
|
+
- [`118f3af101f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/118f3af101f) - Media
|
|
288
|
+
Client APIs has been updated to use MediaSubscribable which provides subscription functionality
|
|
289
|
+
(similar to RxJs observables). It exposes subscribe method that is called with MediaObserver as an
|
|
290
|
+
argument and returns MediaSubscription. MediaSubscription exposes unsubscribe method.
|
|
241
291
|
|
|
242
|
-
getFileState:
|
|
243
|
-
|
|
292
|
+
getFileState: The returned type of this function has changed from RxJs ReplaySubject to
|
|
293
|
+
MediaSubscribable.
|
|
244
294
|
|
|
245
295
|
```
|
|
246
296
|
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
|
|
@@ -263,8 +313,8 @@
|
|
|
263
313
|
subscription.unsubscribe();
|
|
264
314
|
```
|
|
265
315
|
|
|
266
|
-
upload:
|
|
267
|
-
|
|
316
|
+
upload: The returned type of this function has changed from RxJs ReplaySubject to
|
|
317
|
+
MediaSubscribable.
|
|
268
318
|
|
|
269
319
|
```
|
|
270
320
|
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
|
|
@@ -287,8 +337,8 @@
|
|
|
287
337
|
subscription.unsubscribe();
|
|
288
338
|
```
|
|
289
339
|
|
|
290
|
-
getItems:
|
|
291
|
-
|
|
340
|
+
getItems: The returned type of this function has changed from RxJs ReplaySubject to
|
|
341
|
+
MediaSubscribable.
|
|
292
342
|
|
|
293
343
|
```
|
|
294
344
|
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
|
|
@@ -325,7 +375,9 @@
|
|
|
325
375
|
|
|
326
376
|
### Patch Changes
|
|
327
377
|
|
|
328
|
-
- [#19261](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19261)
|
|
378
|
+
- [#19261](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19261)
|
|
379
|
+
[`6a5dc78b511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a5dc78b511) - Remove
|
|
380
|
+
dateformat from media packages
|
|
329
381
|
|
|
330
382
|
## 10.0.1
|
|
331
383
|
|
|
@@ -337,13 +389,19 @@
|
|
|
337
389
|
|
|
338
390
|
### Major Changes
|
|
339
391
|
|
|
340
|
-
- [#14810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14810)
|
|
392
|
+
- [#14810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14810)
|
|
393
|
+
[`47f58da5946`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f58da5946) -
|
|
394
|
+
ED-13322, ED-13324, ED-13326, ED-13323, ED-13204: Upgrade and support react-intl@^5.18.1 including
|
|
395
|
+
breaking API changes, types and tests in atlassian-frontend packages
|
|
341
396
|
|
|
342
|
-
What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages
|
|
343
|
-
|
|
344
|
-
|
|
397
|
+
What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages
|
|
398
|
+
now rely on consumers installing ^5.18.1, otherwise editor usage of react-intl will mismatch with
|
|
399
|
+
actual installed react-intl APIs. Why change was made: As part of a coordinated upgrade effort
|
|
400
|
+
across AF packages, as react-intl v2 is quite dated. How consumer should update their code: Ensure
|
|
401
|
+
react-intl ^5.18.1 is installed in consuming applications.
|
|
345
402
|
|
|
346
|
-
Upgrade guide: To consume atlassian-frontend packages that use react-intl5 setup a second provider
|
|
403
|
+
Upgrade guide: To consume atlassian-frontend packages that use react-intl5 setup a second provider
|
|
404
|
+
for the new version, using an npm alias
|
|
347
405
|
|
|
348
406
|
```js
|
|
349
407
|
"react-intl": "^2.6.0",
|
|
@@ -355,23 +413,23 @@
|
|
|
355
413
|
import { IntlProvider as IntlNextProvider } from 'react-intl-next';
|
|
356
414
|
|
|
357
415
|
return (
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
416
|
+
<IntlProvider
|
|
417
|
+
key={locale}
|
|
418
|
+
data-test-language={locale}
|
|
419
|
+
locale={locale}
|
|
420
|
+
defaultLocale={DEFAULT_LOCALE}
|
|
421
|
+
messages={messages}
|
|
422
|
+
>
|
|
423
|
+
<IntlNextProvider
|
|
424
|
+
key={locale}
|
|
425
|
+
data-test-language={locale}
|
|
426
|
+
locale={locale}
|
|
427
|
+
defaultLocale={DEFAULT_LOCALE}
|
|
428
|
+
messages={messages}
|
|
429
|
+
>
|
|
430
|
+
{children}
|
|
431
|
+
</IntlNextProvider>
|
|
432
|
+
</IntlProvider>
|
|
375
433
|
);
|
|
376
434
|
```
|
|
377
435
|
|
|
@@ -383,7 +441,9 @@
|
|
|
383
441
|
|
|
384
442
|
### Patch Changes
|
|
385
443
|
|
|
386
|
-
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694)
|
|
444
|
+
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694)
|
|
445
|
+
[`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal
|
|
446
|
+
upgrade of memoize-one to 6.0.0
|
|
387
447
|
|
|
388
448
|
## 9.0.2
|
|
389
449
|
|
|
@@ -395,7 +455,9 @@
|
|
|
395
455
|
|
|
396
456
|
### Patch Changes
|
|
397
457
|
|
|
398
|
-
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
|
|
458
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
|
|
459
|
+
[`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update
|
|
460
|
+
package.jsons to remove unused dependencies.
|
|
399
461
|
- Updated dependencies
|
|
400
462
|
|
|
401
463
|
## 9.0.0
|
|
@@ -408,14 +470,18 @@
|
|
|
408
470
|
|
|
409
471
|
### Patch Changes
|
|
410
472
|
|
|
411
|
-
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
|
|
473
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
|
|
474
|
+
[`3cd9ee2d15b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cd9ee2d15b) - Added
|
|
475
|
+
RxJS compatiblity notice in Media docs
|
|
412
476
|
- Updated dependencies
|
|
413
477
|
|
|
414
478
|
## 8.0.6
|
|
415
479
|
|
|
416
480
|
### Patch Changes
|
|
417
481
|
|
|
418
|
-
- [#10206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10206)
|
|
482
|
+
- [#10206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10206)
|
|
483
|
+
[`153f5588cab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/153f5588cab) -
|
|
484
|
+
VULN-328572 - Upgrade dateformat to address security vuln
|
|
419
485
|
|
|
420
486
|
## 8.0.5
|
|
421
487
|
|
|
@@ -439,14 +505,18 @@
|
|
|
439
505
|
|
|
440
506
|
### Patch Changes
|
|
441
507
|
|
|
442
|
-
- [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571)
|
|
508
|
+
- [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571)
|
|
509
|
+
[`6d0d354481`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d0d354481) - BENTO-7803
|
|
510
|
+
Prevent download button from opening the media preview
|
|
443
511
|
- Updated dependencies
|
|
444
512
|
|
|
445
513
|
## 8.0.1
|
|
446
514
|
|
|
447
515
|
### Patch Changes
|
|
448
516
|
|
|
449
|
-
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
517
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
518
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
519
|
+
packages using babel rather than tsc
|
|
450
520
|
- Updated dependencies
|
|
451
521
|
|
|
452
522
|
## 8.0.0
|
|
@@ -459,20 +529,27 @@
|
|
|
459
529
|
|
|
460
530
|
### Major Changes
|
|
461
531
|
|
|
462
|
-
- [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
|
|
532
|
+
- [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
|
|
533
|
+
[`4fe0ee2c04`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fe0ee2c04) - API
|
|
534
|
+
change: Move rowProps prop to each individual row item to allow different props to be applied to
|
|
535
|
+
each table row
|
|
463
536
|
|
|
464
537
|
### Patch Changes
|
|
465
538
|
|
|
466
|
-
- [`0135387fdd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0135387fdd) - BENTO-7391
|
|
539
|
+
- [`0135387fdd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0135387fdd) - BENTO-7391
|
|
540
|
+
Add eventType in media-table DownloadButton analytics call
|
|
467
541
|
- Updated dependencies
|
|
468
542
|
|
|
469
543
|
## 6.0.2
|
|
470
544
|
|
|
471
545
|
### Patch Changes
|
|
472
546
|
|
|
473
|
-
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
474
|
-
|
|
475
|
-
|
|
547
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
548
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
549
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
550
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
551
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
552
|
+
`devDependencies` to denote version that the package was built with.
|
|
476
553
|
- Updated dependencies
|
|
477
554
|
|
|
478
555
|
## 6.0.1
|
|
@@ -485,7 +562,9 @@
|
|
|
485
562
|
|
|
486
563
|
### Minor Changes
|
|
487
564
|
|
|
488
|
-
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
565
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
566
|
+
[`7d831363d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d831363d9) - Migrated
|
|
567
|
+
to declarative entry points
|
|
489
568
|
|
|
490
569
|
### Patch Changes
|
|
491
570
|
|
|
@@ -501,54 +580,79 @@
|
|
|
501
580
|
|
|
502
581
|
### Patch Changes
|
|
503
582
|
|
|
504
|
-
- [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424)
|
|
505
|
-
|
|
506
|
-
|
|
583
|
+
- [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424)
|
|
584
|
+
[`a7eb47bc69`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7eb47bc69) - Add
|
|
585
|
+
analytic channel to download button analyticsEvent
|
|
586
|
+
- [`92094dd855`](https://bitbucket.org/atlassian/atlassian-frontend/commits/92094dd855) - Remove
|
|
587
|
+
faulty import in mediaTable
|
|
588
|
+
- [`9254b203f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9254b203f9) - Removing
|
|
589
|
+
unused code to be published
|
|
507
590
|
- Updated dependencies
|
|
508
591
|
|
|
509
592
|
## 5.2.1
|
|
510
593
|
|
|
511
594
|
### Patch Changes
|
|
512
595
|
|
|
513
|
-
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
596
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
597
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
598
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
514
599
|
|
|
515
|
-
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
516
|
-
to prevent duplicates of tslib being bundled.
|
|
600
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
601
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
517
602
|
|
|
518
603
|
## 5.2.0
|
|
519
604
|
|
|
520
605
|
### Minor Changes
|
|
521
606
|
|
|
522
|
-
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
523
|
-
|
|
524
|
-
|
|
607
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
608
|
+
[`c026e59e68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c026e59e68) - Move
|
|
609
|
+
truncateText helper from media-card to media-ui and expose entry point. Export optional NameCell
|
|
610
|
+
component from MediaTable.
|
|
611
|
+
- [`89a1c63251`](https://bitbucket.org/atlassian/atlassian-frontend/commits/89a1c63251) - Add the
|
|
612
|
+
rowProps property, which enables consumers to apply properties to the underlying row component.
|
|
613
|
+
Move truncateText helper from media-card to media-ui and expose entry point. Export optional
|
|
614
|
+
NameCell component from MediaTable.
|
|
615
|
+
- [`6c3c26f10c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c3c26f10c) - Add fixed
|
|
616
|
+
width to download button column in media-table
|
|
525
617
|
|
|
526
618
|
### Patch Changes
|
|
527
619
|
|
|
528
|
-
- [`fa6fb5dfbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa6fb5dfbb) - Removing
|
|
529
|
-
|
|
620
|
+
- [`fa6fb5dfbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa6fb5dfbb) - Removing
|
|
621
|
+
unused code to be published
|
|
622
|
+
- [`dff687b37a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dff687b37a) - Expose
|
|
623
|
+
onKeyPress prop for dynamic-table and use it to show mediaViewer
|
|
530
624
|
- Updated dependencies
|
|
531
625
|
|
|
532
626
|
## 5.1.1
|
|
533
627
|
|
|
534
628
|
### Patch Changes
|
|
535
629
|
|
|
536
|
-
- [#3892](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3892)
|
|
630
|
+
- [#3892](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3892)
|
|
631
|
+
[`ff9c75810c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff9c75810c) - Remove
|
|
632
|
+
faulty import in mediaTable
|
|
537
633
|
|
|
538
634
|
## 5.1.0
|
|
539
635
|
|
|
540
636
|
### Minor Changes
|
|
541
637
|
|
|
542
|
-
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
543
|
-
|
|
544
|
-
|
|
638
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
639
|
+
[`0934ad8798`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0934ad8798) - Add
|
|
640
|
+
onPreviewOpen and onPreviewClose props
|
|
641
|
+
- [`6cf40e50ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cf40e50ea) - Add UI
|
|
642
|
+
analyticsEvent to individual row download button and table row click
|
|
643
|
+
- [`6c554b874b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c554b874b) - Remove
|
|
644
|
+
obsolete collectionName from RowData type. The collectionName should be included in the item
|
|
645
|
+
identifier if it is required.
|
|
545
646
|
|
|
546
647
|
## 5.0.0
|
|
547
648
|
|
|
548
649
|
### Major Changes
|
|
549
650
|
|
|
550
|
-
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
551
|
-
|
|
651
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
652
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
653
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
654
|
+
IE11. For more information see:
|
|
655
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
552
656
|
|
|
553
657
|
### Patch Changes
|
|
554
658
|
|
|
@@ -558,12 +662,16 @@
|
|
|
558
662
|
|
|
559
663
|
### Major Changes
|
|
560
664
|
|
|
561
|
-
- [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763)
|
|
665
|
+
- [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763)
|
|
666
|
+
[`198b19dcc7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/198b19dcc7) - Refactor
|
|
667
|
+
items to take a FileIdentifier instead of string id
|
|
562
668
|
|
|
563
669
|
### Minor Changes
|
|
564
670
|
|
|
565
|
-
- [`f4b74d89c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4b74d89c1) - Add i18n
|
|
566
|
-
|
|
671
|
+
- [`f4b74d89c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4b74d89c1) - Add i18n
|
|
672
|
+
support to media-table
|
|
673
|
+
- [`e44e4959b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e44e4959b3) - Expose
|
|
674
|
+
sortKey and sortOrder as props. Add props documentation
|
|
567
675
|
|
|
568
676
|
### Patch Changes
|
|
569
677
|
|
|
@@ -573,24 +681,28 @@
|
|
|
573
681
|
|
|
574
682
|
### Patch Changes
|
|
575
683
|
|
|
576
|
-
- [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443)
|
|
684
|
+
- [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443)
|
|
685
|
+
[`51aa5587ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51aa5587ef) - bump
|
|
686
|
+
media-client: Remove stack traces from media analytic events
|
|
577
687
|
- Updated dependencies
|
|
578
688
|
|
|
579
689
|
## 3.0.0
|
|
580
690
|
|
|
581
691
|
### Major Changes
|
|
582
692
|
|
|
583
|
-
- [#2841](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2841)
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
Add isFixedSize to DynamicTableStateless prop
|
|
587
|
-
|
|
693
|
+
- [#2841](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2841)
|
|
694
|
+
[`4af9cf854d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4af9cf854d) - Refactor
|
|
695
|
+
items to take a FileIdentifier instead of string id Add i18n support to media-table Expose sortKey
|
|
696
|
+
and sortOrder as props. Add props documentation Add isFixedSize to DynamicTableStateless prop Add
|
|
697
|
+
temporary workaround for FileIdentifier type
|
|
588
698
|
|
|
589
699
|
## 2.0.0
|
|
590
700
|
|
|
591
701
|
### Major Changes
|
|
592
702
|
|
|
593
|
-
- [#2629](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2629)
|
|
703
|
+
- [#2629](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2629)
|
|
704
|
+
[`07952b96f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07952b96f8) - - New
|
|
705
|
+
implementation of MediaTable with upgraded API
|
|
594
706
|
|
|
595
707
|
**New API Requirements**
|
|
596
708
|
|
|
@@ -608,7 +720,9 @@
|
|
|
608
720
|
}[]
|
|
609
721
|
```
|
|
610
722
|
|
|
611
|
-
- `columns`: The columns that we want to display for the table. If download button is required,
|
|
723
|
+
- `columns`: The columns that we want to display for the table. If download button is required,
|
|
724
|
+
need to have the 'download' key defined in columns (MediaTable will override whats in content
|
|
725
|
+
for download).
|
|
612
726
|
|
|
613
727
|
```
|
|
614
728
|
HeadType = {
|
|
@@ -623,8 +737,9 @@
|
|
|
623
737
|
}
|
|
624
738
|
```
|
|
625
739
|
|
|
626
|
-
NOTE: Objecty property key in RowData must match with the key in the columns for it to be
|
|
627
|
-
E.g. Below would only render `file` data in the table, as the columns do
|
|
740
|
+
NOTE: Objecty property key in RowData must match with the key in the columns for it to be
|
|
741
|
+
displayed in the table. E.g. Below would only render `file` data in the table, as the columns do
|
|
742
|
+
not have the `trial` key defined within the cells array.
|
|
628
743
|
|
|
629
744
|
```
|
|
630
745
|
const items: MediaTableItem[] = [
|
|
@@ -684,16 +799,21 @@
|
|
|
684
799
|
|
|
685
800
|
### Minor Changes
|
|
686
801
|
|
|
687
|
-
- [`07952b96f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07952b96f8) - Add
|
|
688
|
-
|
|
802
|
+
- [`07952b96f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07952b96f8) - Add
|
|
803
|
+
support for isLoading, pageNumber, onSetPage, and onSort props
|
|
804
|
+
- [`07952b96f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07952b96f8) - Add
|
|
805
|
+
support for pageNumber, itemsPerPage and totalItems props
|
|
689
806
|
|
|
690
807
|
## 1.1.0
|
|
691
808
|
|
|
692
809
|
### Minor Changes
|
|
693
810
|
|
|
694
|
-
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
|
|
811
|
+
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
|
|
812
|
+
[`2c36ac5f82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c36ac5f82) - NOISSUE
|
|
813
|
+
Add es2019 module to media-table package.json
|
|
695
814
|
|
|
696
815
|
### Patch Changes
|
|
697
816
|
|
|
698
|
-
- [`98f462e2aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f462e2aa) - Bumping
|
|
817
|
+
- [`98f462e2aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f462e2aa) - Bumping
|
|
818
|
+
use the latest version of @atlaskit/spinner
|
|
699
819
|
- Updated dependencies
|
package/compass.yml
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
name: Media Table
|
|
2
2
|
id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/68a05520-f5c0-4478-9b4e-a3e36b80ca6c'
|
|
3
|
-
description:
|
|
3
|
+
description:
|
|
4
|
+
This package provides the capability to display the already uploaded media in tabular format with
|
|
5
|
+
pagination.
|
|
4
6
|
configVersion: 1
|
|
5
7
|
typeId: UI_ELEMENT
|
|
6
8
|
ownerId: 'ari:cloud:teams::team/ef910622-ce0a-44a0-b441-ba89efe7891b'
|
|
@@ -44,6 +46,5 @@ links:
|
|
|
44
46
|
relationships:
|
|
45
47
|
DEPENDS_ON:
|
|
46
48
|
- 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/652381b6-c323-4b50-bf31-c94941a0b6ef'
|
|
47
|
-
|
|
48
49
|
# Learn more about formatting compass.yml:
|
|
49
|
-
# https://go.atlassian.com/compass-yml-format
|
|
50
|
+
# https://go.atlassian.com/compass-yml-format
|