@atlaskit/media-ui 28.7.5 → 28.7.7
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 +12 -62
- package/dist/cjs/customMediaPlayer/react-video-renderer/video.js +2 -2
- package/dist/cjs/mediaImage/styled.js +1 -1
- package/dist/es2019/customMediaPlayer/react-video-renderer/video.js +2 -2
- package/dist/es2019/mediaImage/styled.js +1 -1
- package/dist/esm/customMediaPlayer/react-video-renderer/video.js +2 -2
- package/dist/esm/mediaImage/styled.js +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 28.7.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 28.7.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 28.7.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -711,7 +723,6 @@
|
|
|
711
723
|
- [#141583](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/141583)
|
|
712
724
|
[`ba6def6b9d3ce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ba6def6b9d3ce) -
|
|
713
725
|
Updated Media card and UI to avoid contributing to TTVC metrics
|
|
714
|
-
|
|
715
726
|
- Media card will always render the `img`, even while it is still loading (in that case, the `img`
|
|
716
727
|
will just be hidden). It will also use a custom loading spinner with no interaction context.
|
|
717
728
|
- Media image will allow a null value for the image source. It will also always render the `img`
|
|
@@ -1780,7 +1791,6 @@
|
|
|
1780
1791
|
[`3592e304adc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3592e304adc) - [ux]
|
|
1781
1792
|
Underlying icons used in MediaTypeIcon (that is also used as part of MimeTypeIcon) has been
|
|
1782
1793
|
replaced. This mean they will change size (2px) and in some cases colour (like for audio file).
|
|
1783
|
-
|
|
1784
1794
|
- Add `data-type` attribute for easier testing for both MediaTypeIcon and MimeTypeIcon components
|
|
1785
1795
|
- Add `testId` prop to both MediaTypeIcon and MimeTypeIcon
|
|
1786
1796
|
|
|
@@ -2082,7 +2092,6 @@
|
|
|
2082
2092
|
**Ticket:** EDM-1120
|
|
2083
2093
|
|
|
2084
2094
|
**Changes:**
|
|
2085
|
-
|
|
2086
2095
|
- Refactored Card Link `view` tests to separate files to be more maintainable;
|
|
2087
2096
|
- Added unit tests to all Card Link actions;
|
|
2088
2097
|
- Added unit tests to Card Link PreviewAction;
|
|
@@ -2105,7 +2114,6 @@
|
|
|
2105
2114
|
|
|
2106
2115
|
Added integration tests across the board, asserting that a new window is opened to kick off the
|
|
2107
2116
|
3LO flow.
|
|
2108
|
-
|
|
2109
2117
|
- Added integration test for account connection and try another account flows for Inline Links;
|
|
2110
2118
|
- Added integration test for account connection and try another account flows for Card Links;
|
|
2111
2119
|
- Added integration test for account connection and try another account flows for Embed Links;
|
|
@@ -2115,7 +2123,6 @@
|
|
|
2115
2123
|
|
|
2116
2124
|
Further, added an `AuthorizationWindow` method to the `@atlaskit/media-integration-test-helpers`,
|
|
2117
2125
|
with the following methods:
|
|
2118
|
-
|
|
2119
2126
|
- `AuthorizationWindow.open()` - to open a window to authorize, dependent on which card state it
|
|
2120
2127
|
is being activated from;
|
|
2121
2128
|
- `AuthorizationWindow.checkUrl()` - to check if the window URL when redirected is the same as the
|
|
@@ -2627,7 +2634,6 @@
|
|
|
2627
2634
|
|
|
2628
2635
|
- Updated dependencies
|
|
2629
2636
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
2630
|
-
|
|
2631
2637
|
- @atlaskit/docs@8.3.2
|
|
2632
2638
|
- @atlaskit/avatar-group@5.0.4
|
|
2633
2639
|
- @atlaskit/avatar@17.1.7
|
|
@@ -2994,7 +3000,6 @@ Bumped dependencies.
|
|
|
2994
3000
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
2995
3001
|
|
|
2996
3002
|
In this PR, we are:
|
|
2997
|
-
|
|
2998
3003
|
- Re-introducing dist build folders
|
|
2999
3004
|
- Adding back cjs
|
|
3000
3005
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -3099,7 +3104,6 @@ Bumped dependencies.
|
|
|
3099
3104
|
## 11.2.6
|
|
3100
3105
|
|
|
3101
3106
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
3102
|
-
|
|
3103
3107
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
3104
3108
|
Request #5942 for details
|
|
3105
3109
|
|
|
@@ -3122,7 +3126,6 @@ Bumped dependencies.
|
|
|
3122
3126
|
## 11.2.3
|
|
3123
3127
|
|
|
3124
3128
|
- [patch][391c93daf7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/391c93daf7):
|
|
3125
|
-
|
|
3126
3129
|
- Prevents inline videos in Editor/Renderer to be played simulteneously in the same page
|
|
3127
3130
|
|
|
3128
3131
|
## 11.2.2
|
|
@@ -3136,19 +3139,16 @@ Bumped dependencies.
|
|
|
3136
3139
|
## 11.2.1
|
|
3137
3140
|
|
|
3138
3141
|
- [patch][1c9586e1a0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1c9586e1a0):
|
|
3139
|
-
|
|
3140
3142
|
- Reverted strings to the original format
|
|
3141
3143
|
|
|
3142
3144
|
## 11.2.0
|
|
3143
3145
|
|
|
3144
3146
|
- [minor][061eb57bab](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/061eb57bab):
|
|
3145
|
-
|
|
3146
3147
|
- Added partial i18n support to media-ui
|
|
3147
3148
|
|
|
3148
3149
|
## 11.1.2
|
|
3149
3150
|
|
|
3150
3151
|
- [patch][6a52b3d258](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a52b3d258):
|
|
3151
|
-
|
|
3152
3152
|
- fix for clicking behaviour in view/edit mode for Inline Smart Links.
|
|
3153
3153
|
|
|
3154
3154
|
## 11.1.1
|
|
@@ -3160,53 +3160,45 @@ Bumped dependencies.
|
|
|
3160
3160
|
## 11.1.0
|
|
3161
3161
|
|
|
3162
3162
|
- [minor][121c945cc6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/121c945cc6):
|
|
3163
|
-
|
|
3164
3163
|
- fix padding, hover, icon for Inline Links.
|
|
3165
3164
|
|
|
3166
3165
|
## 11.0.0
|
|
3167
3166
|
|
|
3168
3167
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
3169
|
-
|
|
3170
3168
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
3171
3169
|
this package, please ensure you use at least this version of react and react-dom.
|
|
3172
3170
|
|
|
3173
3171
|
## 10.1.11
|
|
3174
3172
|
|
|
3175
3173
|
- [patch][682279973f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/682279973f):
|
|
3176
|
-
|
|
3177
3174
|
- Changed Unauthorized and Errored inline view for smart cards to be text only and added color
|
|
3178
3175
|
theming for smart link titles
|
|
3179
3176
|
|
|
3180
3177
|
## 10.1.10
|
|
3181
3178
|
|
|
3182
3179
|
- [patch][1a18876567](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1a18876567):
|
|
3183
|
-
|
|
3184
3180
|
- Changed behaviour so that icon and first 8 characters of a smart link no longer break when
|
|
3185
3181
|
wrapping.
|
|
3186
3182
|
|
|
3187
3183
|
## 10.1.9
|
|
3188
3184
|
|
|
3189
3185
|
- [patch][d3cad2622e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3cad2622e):
|
|
3190
|
-
|
|
3191
3186
|
- Removes babel-runtime in favour of @babel/runtime
|
|
3192
3187
|
|
|
3193
3188
|
## 10.1.8
|
|
3194
3189
|
|
|
3195
3190
|
- [patch][687f535a12](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/687f535a12):
|
|
3196
|
-
|
|
3197
3191
|
- Changed smart link selection in editor mode to not include text selection, but retain it in
|
|
3198
3192
|
renderer mode
|
|
3199
3193
|
|
|
3200
3194
|
## 10.1.7
|
|
3201
3195
|
|
|
3202
3196
|
- [patch][cfec2f0b70](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfec2f0b70):
|
|
3203
|
-
|
|
3204
3197
|
- Fixed a text selection bug for inline smart links
|
|
3205
3198
|
|
|
3206
3199
|
## 10.1.6
|
|
3207
3200
|
|
|
3208
3201
|
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
|
3209
|
-
|
|
3210
3202
|
- Bump tslib
|
|
3211
3203
|
|
|
3212
3204
|
## 10.1.5
|
|
@@ -3230,7 +3222,6 @@ Bumped dependencies.
|
|
|
3230
3222
|
## 10.1.4
|
|
3231
3223
|
|
|
3232
3224
|
- [patch][bee4101a63](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bee4101a63):
|
|
3233
|
-
|
|
3234
3225
|
- instrument analytics for audio and video play and error events
|
|
3235
3226
|
|
|
3236
3227
|
## 10.1.3
|
|
@@ -3253,19 +3244,16 @@ Bumped dependencies.
|
|
|
3253
3244
|
## 10.1.2
|
|
3254
3245
|
|
|
3255
3246
|
- [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
|
|
3256
|
-
|
|
3257
3247
|
- Enable esModuleInterop for typescript, this allows correct use of default exports
|
|
3258
3248
|
|
|
3259
3249
|
## 10.1.1
|
|
3260
3250
|
|
|
3261
3251
|
- [patch][106d046114](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/106d046114):
|
|
3262
|
-
|
|
3263
3252
|
- Fix issue with media-viewer opening in CC on inline video player controlls clicked
|
|
3264
3253
|
|
|
3265
3254
|
## 10.1.0
|
|
3266
3255
|
|
|
3267
3256
|
- [minor][5d70c1ee30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5d70c1ee30):
|
|
3268
|
-
|
|
3269
3257
|
- MediaImage component added (moved from @atlaskit/media-card). With extra fields: crossOrigin,
|
|
3270
3258
|
onImageLoad, onImageError
|
|
3271
3259
|
|
|
@@ -3278,43 +3266,36 @@ Bumped dependencies.
|
|
|
3278
3266
|
## 10.0.4
|
|
3279
3267
|
|
|
3280
3268
|
- [patch][62834d5210](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/62834d5210):
|
|
3281
|
-
|
|
3282
3269
|
- update dependency version of @atlaskit/spinner
|
|
3283
3270
|
|
|
3284
3271
|
## 10.0.3
|
|
3285
3272
|
|
|
3286
3273
|
- [patch][9b0dd21ce7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9b0dd21ce7):
|
|
3287
|
-
|
|
3288
3274
|
- allow the appearance of lozenges within smart link tasks to be configured
|
|
3289
3275
|
|
|
3290
3276
|
## 10.0.2
|
|
3291
3277
|
|
|
3292
3278
|
- [patch][aa117f5341](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aa117f5341):
|
|
3293
|
-
|
|
3294
3279
|
- fix alignment and UI for inline Smart Links.
|
|
3295
3280
|
|
|
3296
3281
|
## 10.0.1
|
|
3297
3282
|
|
|
3298
3283
|
- [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
|
|
3299
|
-
|
|
3300
3284
|
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
|
|
3301
3285
|
|
|
3302
3286
|
## 10.0.0
|
|
3303
3287
|
|
|
3304
3288
|
- [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
3305
|
-
|
|
3306
3289
|
- Dropped ES5 distributables from the typescript packages
|
|
3307
3290
|
|
|
3308
3291
|
## 9.2.3
|
|
3309
3292
|
|
|
3310
3293
|
- [patch][8ed53a1cbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8ed53a1cbb):
|
|
3311
|
-
|
|
3312
3294
|
- fix padding, wrapping for inline smart links.
|
|
3313
3295
|
|
|
3314
3296
|
## 9.2.2
|
|
3315
3297
|
|
|
3316
3298
|
- [patch][be479e2335](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/be479e2335):
|
|
3317
|
-
|
|
3318
3299
|
- fix link opening logic for view and edit mode.
|
|
3319
3300
|
|
|
3320
3301
|
## 9.2.1
|
|
@@ -3340,69 +3321,58 @@ Bumped dependencies.
|
|
|
3340
3321
|
## 9.2.0
|
|
3341
3322
|
|
|
3342
3323
|
- [minor][b7ead07438](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b7ead07438):
|
|
3343
|
-
|
|
3344
3324
|
- New messages to support media-editor changes
|
|
3345
3325
|
|
|
3346
3326
|
## 9.1.0
|
|
3347
3327
|
|
|
3348
3328
|
- [minor][41147bbc4c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/41147bbc4c):
|
|
3349
|
-
|
|
3350
3329
|
- Fix for links in editor
|
|
3351
3330
|
|
|
3352
3331
|
## 9.0.1
|
|
3353
3332
|
|
|
3354
3333
|
- [patch][9aa8faebd4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9aa8faebd4):
|
|
3355
|
-
|
|
3356
3334
|
- Added strict typing for i18n messages
|
|
3357
3335
|
|
|
3358
3336
|
## 9.0.0
|
|
3359
3337
|
|
|
3360
3338
|
- [major][d5bce1ea15](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d5bce1ea15):
|
|
3361
|
-
|
|
3362
3339
|
- Breaking change. ModalSpinner props has changed. now it's blankedColor: string and
|
|
3363
3340
|
invertSpinnerColor: boolean
|
|
3364
3341
|
|
|
3365
3342
|
## 8.5.1
|
|
3366
3343
|
|
|
3367
3344
|
- [patch][ef469cbb0b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ef469cbb0b):
|
|
3368
|
-
|
|
3369
3345
|
- MS-357 replaced @atlaskit/util-shared-styles from media components by @atlaskit/theme
|
|
3370
3346
|
|
|
3371
3347
|
## 8.5.0
|
|
3372
3348
|
|
|
3373
3349
|
- [minor][be66d1da3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/be66d1da3a):
|
|
3374
|
-
|
|
3375
3350
|
- Introduce ModalSpinner component to be used in modal type component while those loading via code
|
|
3376
3351
|
split
|
|
3377
3352
|
|
|
3378
3353
|
## 8.4.2
|
|
3379
3354
|
|
|
3380
3355
|
- [patch][af3918bc89](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af3918bc89):
|
|
3381
|
-
|
|
3382
3356
|
- The url part of the unauthorized link is now grey
|
|
3383
3357
|
|
|
3384
3358
|
## 8.4.1
|
|
3385
3359
|
|
|
3386
3360
|
- [patch][56c5a4b41f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/56c5a4b41f):
|
|
3387
|
-
|
|
3388
3361
|
- Fix "try again" should not be showing when there are no auth methods
|
|
3389
3362
|
|
|
3390
3363
|
## 8.4.0
|
|
3391
3364
|
|
|
3392
3365
|
- [minor][63e6f7d420](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/63e6f7d420):
|
|
3393
|
-
|
|
3394
3366
|
- Fix missing attributes for link view
|
|
3395
3367
|
|
|
3396
3368
|
## 8.3.1
|
|
3397
3369
|
|
|
3398
3370
|
- [patch][bef9abc8de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bef9abc8de):
|
|
3399
|
-
|
|
3400
3371
|
- added background colour to inline card views, fixed icon alignment.
|
|
3401
3372
|
|
|
3402
3373
|
## 8.3.0
|
|
3403
3374
|
|
|
3404
3375
|
- [minor][89668941e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89668941e6):
|
|
3405
|
-
|
|
3406
3376
|
- Flip width and height around when image is on it's side according to metadata orientation;
|
|
3407
3377
|
Introduce isRotated utility
|
|
3408
3378
|
|
|
@@ -3429,7 +3399,6 @@ Bumped dependencies.
|
|
|
3429
3399
|
## 8.2.4
|
|
3430
3400
|
|
|
3431
3401
|
- [patch][e7100a8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7100a8):
|
|
3432
|
-
|
|
3433
3402
|
- Minor tests realted changes
|
|
3434
3403
|
|
|
3435
3404
|
- Updated dependencies [3ad16f3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3ad16f3):
|
|
@@ -3438,25 +3407,21 @@ Bumped dependencies.
|
|
|
3438
3407
|
## 8.2.3
|
|
3439
3408
|
|
|
3440
3409
|
- [patch][e6516fb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e6516fb):
|
|
3441
|
-
|
|
3442
3410
|
- Move media mocks into right location to prevent them to be included in dist
|
|
3443
3411
|
|
|
3444
3412
|
## 8.2.2
|
|
3445
3413
|
|
|
3446
3414
|
- [patch][ca16fa9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ca16fa9):
|
|
3447
|
-
|
|
3448
3415
|
- Add SSR support to media components
|
|
3449
3416
|
|
|
3450
3417
|
## 8.2.1
|
|
3451
3418
|
|
|
3452
3419
|
- [patch][9c50550](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c50550):
|
|
3453
|
-
|
|
3454
3420
|
- Do not show connect button if there are no auth methods.
|
|
3455
3421
|
|
|
3456
3422
|
## 8.2.0
|
|
3457
3423
|
|
|
3458
3424
|
- [minor][95f98cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/95f98cc):
|
|
3459
|
-
|
|
3460
3425
|
- User can click on a smart card to open a new window/tab
|
|
3461
3426
|
|
|
3462
3427
|
## 8.1.2
|
|
@@ -3480,13 +3445,11 @@ Bumped dependencies.
|
|
|
3480
3445
|
## 8.1.1
|
|
3481
3446
|
|
|
3482
3447
|
- [patch][e375b42](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e375b42):
|
|
3483
|
-
|
|
3484
3448
|
- Update props description
|
|
3485
3449
|
|
|
3486
3450
|
## 8.1.0
|
|
3487
3451
|
|
|
3488
3452
|
- [minor][8fbb36f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8fbb36f):
|
|
3489
|
-
|
|
3490
3453
|
- Change impl. of CustomVideoPlayer; add disableThumbTooltip property to TimeRange component; Add
|
|
3491
3454
|
ability to mouse click and drag right away to TimeRange even if clicked outside of thumb
|
|
3492
3455
|
control;
|
|
@@ -3494,26 +3457,22 @@ Bumped dependencies.
|
|
|
3494
3457
|
## 8.0.0
|
|
3495
3458
|
|
|
3496
3459
|
- [major][5de3574](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5de3574):
|
|
3497
|
-
|
|
3498
3460
|
- CustomVideoPlayer is now CustomMediaPlayer and supports audio through type property. Media
|
|
3499
3461
|
Viewer now uses custom audio player for audio everywhere except IE11.
|
|
3500
3462
|
|
|
3501
3463
|
## 7.11.0
|
|
3502
3464
|
|
|
3503
3465
|
- [minor][01697a6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/01697a6):
|
|
3504
|
-
|
|
3505
3466
|
- CustomVideoPlayer improvements: fix currentTime origin + apply custom theme
|
|
3506
3467
|
|
|
3507
3468
|
## 7.10.0
|
|
3508
3469
|
|
|
3509
3470
|
- [minor][c1ea81c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c1ea81c):
|
|
3510
|
-
|
|
3511
3471
|
- use custom video player for inline video in media-card
|
|
3512
3472
|
|
|
3513
3473
|
## 7.9.0
|
|
3514
3474
|
|
|
3515
3475
|
- [minor][c61f828](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c61f828):
|
|
3516
|
-
|
|
3517
3476
|
- add bounds to camera module
|
|
3518
3477
|
|
|
3519
3478
|
## 7.8.2
|
|
@@ -3536,19 +3495,16 @@ Bumped dependencies.
|
|
|
3536
3495
|
## 7.8.1
|
|
3537
3496
|
|
|
3538
3497
|
- [patch][4c0c2a0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4c0c2a0):
|
|
3539
|
-
|
|
3540
3498
|
- Fix Cards throwing Error when client is not provided.
|
|
3541
3499
|
|
|
3542
3500
|
## 7.8.0
|
|
3543
3501
|
|
|
3544
3502
|
- [minor][5a6de24](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5a6de24):
|
|
3545
|
-
|
|
3546
3503
|
- translate component properties in media components
|
|
3547
3504
|
|
|
3548
3505
|
## 7.7.0
|
|
3549
3506
|
|
|
3550
3507
|
- [minor][df32968](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df32968):
|
|
3551
|
-
|
|
3552
3508
|
- Introduced pending state (which is represented as a link) and a race between resolving state and
|
|
3553
3509
|
the data fetch.
|
|
3554
3510
|
|
|
@@ -3583,26 +3539,22 @@ Bumped dependencies.
|
|
|
3583
3539
|
## 7.6.0
|
|
3584
3540
|
|
|
3585
3541
|
- [minor][b9d9e9a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b9d9e9a):
|
|
3586
|
-
|
|
3587
3542
|
- Support advanced i18n mode in MediaPicker
|
|
3588
3543
|
|
|
3589
3544
|
## 7.5.0
|
|
3590
3545
|
|
|
3591
3546
|
- [minor][2cac27f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2cac27f):
|
|
3592
|
-
|
|
3593
3547
|
- InfiniteScroll component now triggers on load and on change (where is previously only onScroll
|
|
3594
3548
|
event)
|
|
3595
3549
|
|
|
3596
3550
|
## 7.4.1
|
|
3597
3551
|
|
|
3598
3552
|
- [patch][a567cc9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a567cc9):
|
|
3599
|
-
|
|
3600
3553
|
- Improve rendering of Smart Cards.
|
|
3601
3554
|
|
|
3602
3555
|
## 7.4.0
|
|
3603
3556
|
|
|
3604
3557
|
- [minor][b758737](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b758737):
|
|
3605
|
-
|
|
3606
3558
|
- add i18n support to media-avatar-picker
|
|
3607
3559
|
|
|
3608
3560
|
## 7.3.1
|
|
@@ -3614,7 +3566,6 @@ Bumped dependencies.
|
|
|
3614
3566
|
## 7.3.0
|
|
3615
3567
|
|
|
3616
3568
|
- [minor][023cb45](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/023cb45" d):
|
|
3617
|
-
|
|
3618
3569
|
- Add i18n support to MediaViewer
|
|
3619
3570
|
|
|
3620
3571
|
## 7.2.1
|
|
@@ -3626,7 +3577,6 @@ Bumped dependencies.
|
|
|
3626
3577
|
## 7.2.0
|
|
3627
3578
|
|
|
3628
3579
|
- [minor][439dde6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/439dde6" d):
|
|
3629
|
-
|
|
3630
3580
|
- rotate local image preview in cards based on the file orientation
|
|
3631
3581
|
|
|
3632
3582
|
## 7.1.1
|
|
@@ -302,7 +302,7 @@ var Video = exports.Video = /*#__PURE__*/function (_Component) {
|
|
|
302
302
|
if (sourceType === 'video') {
|
|
303
303
|
return children(
|
|
304
304
|
/*#__PURE__*/
|
|
305
|
-
// eslint-disable-next-line
|
|
305
|
+
// eslint-disable-next-line @atlassian/a11y/media-has-caption
|
|
306
306
|
_react.default.createElement("video", (0, _extends2.default)({
|
|
307
307
|
"data-testid": "media-video-element",
|
|
308
308
|
ref: this.videoRef,
|
|
@@ -314,7 +314,7 @@ var Video = exports.Video = /*#__PURE__*/function (_Component) {
|
|
|
314
314
|
onError: onTextTrackError
|
|
315
315
|
})), videoState, actions, this.videoRef);
|
|
316
316
|
} else {
|
|
317
|
-
// eslint-disable-next-line
|
|
317
|
+
// eslint-disable-next-line @atlassian/a11y/media-has-caption
|
|
318
318
|
return children( /*#__PURE__*/_react.default.createElement("audio", (0, _extends2.default)({
|
|
319
319
|
ref: this.audioRef
|
|
320
320
|
}, props)), videoState, actions, this.audioRef);
|
|
@@ -32,7 +32,7 @@ var ImageComponent = exports.ImageComponent = function ImageComponent(props) {
|
|
|
32
32
|
otherProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
33
33
|
return (
|
|
34
34
|
/*#__PURE__*/
|
|
35
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop,
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/alt-text -- Ignored via go/DSP-18766
|
|
36
36
|
_react.default.createElement("img", (0, _extends2.default)({}, otherProps, {
|
|
37
37
|
ref: imageRef,
|
|
38
38
|
style: _objectSpread(_objectSpread({}, imgStyle), style)
|
|
@@ -298,7 +298,7 @@ export class Video extends Component {
|
|
|
298
298
|
if (sourceType === 'video') {
|
|
299
299
|
return children(
|
|
300
300
|
/*#__PURE__*/
|
|
301
|
-
// eslint-disable-next-line
|
|
301
|
+
// eslint-disable-next-line @atlassian/a11y/media-has-caption
|
|
302
302
|
React.createElement("video", _extends({
|
|
303
303
|
"data-testid": "media-video-element",
|
|
304
304
|
ref: this.videoRef,
|
|
@@ -310,7 +310,7 @@ export class Video extends Component {
|
|
|
310
310
|
onError: onTextTrackError
|
|
311
311
|
})), videoState, actions, this.videoRef);
|
|
312
312
|
} else {
|
|
313
|
-
// eslint-disable-next-line
|
|
313
|
+
// eslint-disable-next-line @atlassian/a11y/media-has-caption
|
|
314
314
|
return children( /*#__PURE__*/React.createElement("audio", _extends({
|
|
315
315
|
ref: this.audioRef
|
|
316
316
|
}, props)), videoState, actions, this.audioRef);
|
|
@@ -23,7 +23,7 @@ export const ImageComponent = props => {
|
|
|
23
23
|
} = props;
|
|
24
24
|
return (
|
|
25
25
|
/*#__PURE__*/
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop,
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/alt-text -- Ignored via go/DSP-18766
|
|
27
27
|
React.createElement("img", _extends({}, otherProps, {
|
|
28
28
|
ref: imageRef,
|
|
29
29
|
style: {
|
|
@@ -294,7 +294,7 @@ export var Video = /*#__PURE__*/function (_Component) {
|
|
|
294
294
|
if (sourceType === 'video') {
|
|
295
295
|
return children(
|
|
296
296
|
/*#__PURE__*/
|
|
297
|
-
// eslint-disable-next-line
|
|
297
|
+
// eslint-disable-next-line @atlassian/a11y/media-has-caption
|
|
298
298
|
React.createElement("video", _extends({
|
|
299
299
|
"data-testid": "media-video-element",
|
|
300
300
|
ref: this.videoRef,
|
|
@@ -306,7 +306,7 @@ export var Video = /*#__PURE__*/function (_Component) {
|
|
|
306
306
|
onError: onTextTrackError
|
|
307
307
|
})), videoState, actions, this.videoRef);
|
|
308
308
|
} else {
|
|
309
|
-
// eslint-disable-next-line
|
|
309
|
+
// eslint-disable-next-line @atlassian/a11y/media-has-caption
|
|
310
310
|
return children( /*#__PURE__*/React.createElement("audio", _extends({
|
|
311
311
|
ref: this.audioRef
|
|
312
312
|
}, props)), videoState, actions, this.audioRef);
|
|
@@ -26,7 +26,7 @@ export var ImageComponent = function ImageComponent(props) {
|
|
|
26
26
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
27
|
return (
|
|
28
28
|
/*#__PURE__*/
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop,
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/alt-text -- Ignored via go/DSP-18766
|
|
30
30
|
React.createElement("img", _extends({}, otherProps, {
|
|
31
31
|
ref: imageRef,
|
|
32
32
|
style: _objectSpread(_objectSpread({}, imgStyle), style)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-ui",
|
|
3
|
-
"version": "28.7.
|
|
3
|
+
"version": "28.7.7",
|
|
4
4
|
"description": "Includes common components and utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,34 +25,34 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@atlaskit/afm-i18n-platform-media-media-ui": "2.7.0",
|
|
27
27
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
28
|
-
"@atlaskit/button": "^23.
|
|
28
|
+
"@atlaskit/button": "^23.5.0",
|
|
29
29
|
"@atlaskit/code": "^17.2.0",
|
|
30
|
-
"@atlaskit/css": "^0.
|
|
30
|
+
"@atlaskit/css": "^0.15.0",
|
|
31
31
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
32
|
-
"@atlaskit/flag": "^17.
|
|
33
|
-
"@atlaskit/form": "^14.
|
|
34
|
-
"@atlaskit/icon": "^28.
|
|
32
|
+
"@atlaskit/flag": "^17.5.0",
|
|
33
|
+
"@atlaskit/form": "^14.2.0",
|
|
34
|
+
"@atlaskit/icon": "^28.5.0",
|
|
35
35
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
36
|
-
"@atlaskit/icon-lab": "^5.
|
|
36
|
+
"@atlaskit/icon-lab": "^5.10.0",
|
|
37
37
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
38
38
|
"@atlaskit/locale": "^3.0.0",
|
|
39
|
-
"@atlaskit/media-client": "^35.
|
|
39
|
+
"@atlaskit/media-client": "^35.5.0",
|
|
40
40
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
41
41
|
"@atlaskit/media-common": "^12.3.0",
|
|
42
42
|
"@atlaskit/media-state": "^1.8.0",
|
|
43
|
-
"@atlaskit/modal-dialog": "^14.
|
|
43
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
|
-
"@atlaskit/primitives": "^
|
|
45
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
46
46
|
"@atlaskit/range": "^9.2.0",
|
|
47
|
-
"@atlaskit/react-ufo": "^4.
|
|
47
|
+
"@atlaskit/react-ufo": "^4.12.0",
|
|
48
48
|
"@atlaskit/select": "^21.3.0",
|
|
49
49
|
"@atlaskit/spinner": "^19.0.0",
|
|
50
50
|
"@atlaskit/theme": "^21.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^
|
|
52
|
-
"@atlaskit/tooltip": "^20.
|
|
51
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
52
|
+
"@atlaskit/tooltip": "^20.5.0",
|
|
53
53
|
"@atlaskit/width-detector": "^5.0.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
|
-
"@compiled/react": "^0.18.
|
|
55
|
+
"@compiled/react": "^0.18.6",
|
|
56
56
|
"@emotion/styled": "^11.0.0",
|
|
57
57
|
"blueimp-load-image": "2.19.0",
|
|
58
58
|
"bytes": "^3.1.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@af/visual-regression": "workspace:^",
|
|
71
|
-
"@atlaskit/analytics-listeners": "^9.
|
|
71
|
+
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
72
72
|
"@atlaskit/media-test-data": "^3.2.0",
|
|
73
73
|
"@atlaskit/ssr": "workspace:^",
|
|
74
74
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|