@atlaskit/media-picker 70.0.5 → 70.0.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 -44
- package/compass.yml +4 -14
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/util/ufoExperiences.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/util/ufoExperiences.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/util/ufoExperiences.js +1 -1
- package/example-helpers/NativeMediaViewer.tsx +3 -3
- package/example-helpers/stylesWrapper.tsx +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/media-picker
|
|
2
2
|
|
|
3
|
+
## 70.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 70.0.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 70.0.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1947,7 +1959,6 @@
|
|
|
1947
1959
|
|
|
1948
1960
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1949
1961
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1950
|
-
|
|
1951
1962
|
- @atlaskit/docs@8.3.2
|
|
1952
1963
|
- @atlaskit/analytics-next@6.3.5
|
|
1953
1964
|
- @atlaskit/button@13.3.7
|
|
@@ -2358,7 +2369,6 @@
|
|
|
2358
2369
|
> remove deprecated "context" property from media components in favor of "mediaClientConfig"
|
|
2359
2370
|
|
|
2360
2371
|
This affects all public media UI components:
|
|
2361
|
-
|
|
2362
2372
|
- Card
|
|
2363
2373
|
- Filmstrip
|
|
2364
2374
|
- SmartMediaEditor
|
|
@@ -2603,7 +2613,6 @@ https://product-fabric.atlassian.net/browse/FM-2393
|
|
|
2603
2613
|
- Fixed bug where editor crashes after unmounting react component.
|
|
2604
2614
|
- https://product-fabric.atlassian.net/browse/ED-7318
|
|
2605
2615
|
- Fixed bug where custom emojis are not been showed on the editor
|
|
2606
|
-
|
|
2607
2616
|
- https://product-fabric.atlassian.net/browse/ED-7726
|
|
2608
2617
|
|
|
2609
2618
|
- [patch][3addfe526a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3addfe526a):
|
|
@@ -3230,7 +3239,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3230
3239
|
## 42.0.2
|
|
3231
3240
|
|
|
3232
3241
|
- [patch][168df43047](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/168df43047):
|
|
3233
|
-
|
|
3234
3242
|
- Fix clipboard component deactivation logic when used in multiple contexts.
|
|
3235
3243
|
|
|
3236
3244
|
## 42.0.1
|
|
@@ -3248,7 +3256,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3248
3256
|
## 42.0.0
|
|
3249
3257
|
|
|
3250
3258
|
- [major][59cce82fd1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/59cce82fd1):
|
|
3251
|
-
|
|
3252
3259
|
- Remove Binary component from MediaPicker
|
|
3253
3260
|
|
|
3254
3261
|
If you want to upload a file (string or blob) to media, you should instead use
|
|
@@ -3271,13 +3278,11 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3271
3278
|
## 41.0.1
|
|
3272
3279
|
|
|
3273
3280
|
- [patch][5cfa2ddf93](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5cfa2ddf93):
|
|
3274
|
-
|
|
3275
3281
|
- add clipboard support to MediaPicker
|
|
3276
3282
|
|
|
3277
3283
|
## 41.0.0
|
|
3278
3284
|
|
|
3279
3285
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
3280
|
-
|
|
3281
3286
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
3282
3287
|
this package, please ensure you use at least this version of react and react-dom.
|
|
3283
3288
|
|
|
@@ -3308,7 +3313,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3308
3313
|
## 40.0.0
|
|
3309
3314
|
|
|
3310
3315
|
- [patch][6ffa3eaae9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6ffa3eaae9):
|
|
3311
|
-
|
|
3312
3316
|
- Emit file-added events in the tenant context
|
|
3313
3317
|
|
|
3314
3318
|
- Updated dependencies
|
|
@@ -3354,7 +3358,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3354
3358
|
## 38.1.5
|
|
3355
3359
|
|
|
3356
3360
|
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
3357
|
-
|
|
3358
3361
|
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
|
|
3359
3362
|
supplied from itself.
|
|
3360
3363
|
|
|
@@ -3385,7 +3388,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3385
3388
|
## 38.1.3
|
|
3386
3389
|
|
|
3387
3390
|
- [patch][0ff405bd0f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0ff405bd0f):
|
|
3388
|
-
|
|
3389
3391
|
- Removed CardView and CardViewLoader from public APIs and replaced it with light-weight and
|
|
3390
3392
|
stateless CardLoading and CardError components. Handling of external images is now done by Card
|
|
3391
3393
|
component itself using ExternalImageIdentifier interface.
|
|
@@ -3430,19 +3432,16 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3430
3432
|
## 38.1.2
|
|
3431
3433
|
|
|
3432
3434
|
- [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
|
|
3433
|
-
|
|
3434
3435
|
- Enable esModuleInterop for typescript, this allows correct use of default exports
|
|
3435
3436
|
|
|
3436
3437
|
## 38.1.1
|
|
3437
3438
|
|
|
3438
3439
|
- [patch][60a89f843f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/60a89f843f):
|
|
3439
|
-
|
|
3440
3440
|
- cleanup DOM elements on teardown and deactivate
|
|
3441
3441
|
|
|
3442
3442
|
## 38.1.0
|
|
3443
3443
|
|
|
3444
3444
|
- [minor][e36f791fd6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e36f791fd6):
|
|
3445
|
-
|
|
3446
3445
|
- Improve types
|
|
3447
3446
|
|
|
3448
3447
|
## 38.0.0
|
|
@@ -3470,19 +3469,16 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3470
3469
|
## 37.0.2
|
|
3471
3470
|
|
|
3472
3471
|
- [patch][b3c60e3c9c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b3c60e3c9c):
|
|
3473
|
-
|
|
3474
3472
|
- Update media-editor dependency
|
|
3475
3473
|
|
|
3476
3474
|
## 37.0.1
|
|
3477
3475
|
|
|
3478
3476
|
- [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
|
|
3479
|
-
|
|
3480
3477
|
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
|
|
3481
3478
|
|
|
3482
3479
|
## 37.0.0
|
|
3483
3480
|
|
|
3484
3481
|
- [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
3485
|
-
|
|
3486
3482
|
- Dropped ES5 distributables from the typescript packages
|
|
3487
3483
|
|
|
3488
3484
|
- Updated dependencies
|
|
@@ -3524,7 +3520,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3524
3520
|
## 35.0.2
|
|
3525
3521
|
|
|
3526
3522
|
- [patch][ff3f40bc38](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ff3f40bc38):
|
|
3527
|
-
|
|
3528
3523
|
- Fix remove from cache function, which fixes issue when user is deleting recent image in media
|
|
3529
3524
|
picker
|
|
3530
3525
|
|
|
@@ -3557,7 +3552,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3557
3552
|
## 35.0.0
|
|
3558
3553
|
|
|
3559
3554
|
- [patch][6bd4c428e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6bd4c428e2):
|
|
3560
|
-
|
|
3561
3555
|
- load image preview as soon representation is present instead of waiting for file status to be
|
|
3562
3556
|
processed
|
|
3563
3557
|
|
|
@@ -3573,13 +3567,11 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3573
3567
|
## 34.1.0
|
|
3574
3568
|
|
|
3575
3569
|
- [minor][f1b46bcb42](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1b46bcb42):
|
|
3576
|
-
|
|
3577
3570
|
- ED-6259 Enable stricter types for media packages
|
|
3578
3571
|
|
|
3579
3572
|
## 34.0.0
|
|
3580
3573
|
|
|
3581
3574
|
- [patch][2e676676ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2e676676ba):
|
|
3582
|
-
|
|
3583
3575
|
- Use Identifier from media-core instead of media-card
|
|
3584
3576
|
|
|
3585
3577
|
- Updated dependencies
|
|
@@ -3627,19 +3619,16 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3627
3619
|
## 33.0.1
|
|
3628
3620
|
|
|
3629
3621
|
- [patch][ef469cbb0b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ef469cbb0b):
|
|
3630
|
-
|
|
3631
3622
|
- MS-357 replaced @atlaskit/util-shared-styles from media components by @atlaskit/theme
|
|
3632
3623
|
|
|
3633
3624
|
## 33.0.0
|
|
3634
3625
|
|
|
3635
3626
|
- [major][65b73cc466](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65b73cc466):
|
|
3636
|
-
|
|
3637
3627
|
- Code split media-picker: make MediaPicker factory async and make editor use it
|
|
3638
3628
|
|
|
3639
3629
|
## 32.0.1
|
|
3640
3630
|
|
|
3641
3631
|
- [patch][6ead14f4eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6ead14f4eb):
|
|
3642
|
-
|
|
3643
3632
|
- Move Async module loading of EditorView into media-editor component.
|
|
3644
3633
|
|
|
3645
3634
|
- Updated dependencies
|
|
@@ -3649,11 +3638,9 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3649
3638
|
## 32.0.0
|
|
3650
3639
|
|
|
3651
3640
|
- [minor][4e82fedc90](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4e82fedc90):
|
|
3652
|
-
|
|
3653
3641
|
- Expose real id upfront for remote files in MediaPicker
|
|
3654
3642
|
|
|
3655
3643
|
- [major][9d881f1eb8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d881f1eb8):
|
|
3656
|
-
|
|
3657
3644
|
- Use real id upfront for remote files + remove PublicMediaFile interface + now integrators can
|
|
3658
3645
|
just use file.id from public events
|
|
3659
3646
|
|
|
@@ -3669,7 +3656,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3669
3656
|
## 31.0.2
|
|
3670
3657
|
|
|
3671
3658
|
- [patch][07a187bb30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/07a187bb30):
|
|
3672
|
-
|
|
3673
3659
|
- Fetch cloud accounts only on cloud folder opening
|
|
3674
3660
|
|
|
3675
3661
|
## 31.0.1
|
|
@@ -3704,7 +3690,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3704
3690
|
## 30.0.0
|
|
3705
3691
|
|
|
3706
3692
|
- [patch][6da174b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6da174b):
|
|
3707
|
-
|
|
3708
3693
|
- Implementation of MediaEditor is partially moved to media-editor
|
|
3709
3694
|
|
|
3710
3695
|
- Updated dependencies [dadef80](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dadef80):
|
|
@@ -3721,25 +3706,21 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3721
3706
|
## 29.0.3
|
|
3722
3707
|
|
|
3723
3708
|
- [patch][e6516fb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e6516fb):
|
|
3724
|
-
|
|
3725
3709
|
- Move media mocks into right location to prevent them to be included in dist
|
|
3726
3710
|
|
|
3727
3711
|
## 29.0.2
|
|
3728
3712
|
|
|
3729
3713
|
- [patch][a55e4e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a55e4e6):
|
|
3730
|
-
|
|
3731
3714
|
- Remove Axios dependency from media-picker
|
|
3732
3715
|
|
|
3733
3716
|
## 29.0.1
|
|
3734
3717
|
|
|
3735
3718
|
- [patch][c91adfe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c91adfe):
|
|
3736
|
-
|
|
3737
3719
|
- remove customVideoPlayer featureFlag prop and enable by default
|
|
3738
3720
|
|
|
3739
3721
|
## 29.0.0
|
|
3740
3722
|
|
|
3741
3723
|
- [patch][cbb8cb5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbb8cb5):
|
|
3742
|
-
|
|
3743
3724
|
- Remove redundant fileStreamCache createKey() method and replace the cache key with id everywhere
|
|
3744
3725
|
|
|
3745
3726
|
- Updated dependencies [cbb8cb5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbb8cb5):
|
|
@@ -3762,20 +3743,17 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3762
3743
|
## 27.0.5
|
|
3763
3744
|
|
|
3764
3745
|
- [patch][8314694](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8314694):
|
|
3765
|
-
|
|
3766
3746
|
- Support uploading + processing files in MediaViewer
|
|
3767
3747
|
|
|
3768
3748
|
## 27.0.4
|
|
3769
3749
|
|
|
3770
3750
|
- [patch][442821a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/442821a):
|
|
3771
|
-
|
|
3772
3751
|
- Fix the issue with being unable to save image inserted into the editor: pass collection to
|
|
3773
3752
|
tenant auth for file polling
|
|
3774
3753
|
|
|
3775
3754
|
## 27.0.3
|
|
3776
3755
|
|
|
3777
3756
|
- [patch][b677631](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b677631):
|
|
3778
|
-
|
|
3779
3757
|
- Add new example and ensure occurrenceKey is set for all copy/withToken calls
|
|
3780
3758
|
|
|
3781
3759
|
## 27.0.2
|
|
@@ -3789,13 +3767,11 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3789
3767
|
## 27.0.1
|
|
3790
3768
|
|
|
3791
3769
|
- [patch][ca16fa9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ca16fa9):
|
|
3792
|
-
|
|
3793
3770
|
- Add SSR support to media components
|
|
3794
3771
|
|
|
3795
3772
|
## 27.0.0
|
|
3796
3773
|
|
|
3797
3774
|
- [major][6cb6696](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6cb6696):
|
|
3798
|
-
|
|
3799
3775
|
- All file ids returned in any of the triggered events (including syncronouse one like
|
|
3800
3776
|
uploads-start) are real file IDs and not a temp. one;
|
|
3801
3777
|
|
|
@@ -3819,14 +3795,12 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3819
3795
|
## 25.0.8
|
|
3820
3796
|
|
|
3821
3797
|
- [patch][ff8b31d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ff8b31d):
|
|
3822
|
-
|
|
3823
3798
|
- Pass uploadParams to createStore when initializing MediaPicker popup. This fixes an issue when
|
|
3824
3799
|
calling /copy/withToken endpoint
|
|
3825
3800
|
|
|
3826
3801
|
## 25.0.7
|
|
3827
3802
|
|
|
3828
3803
|
- [patch][5f12909](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5f12909):
|
|
3829
|
-
|
|
3830
3804
|
- remove tenant property from MediaPicker + make show() faster
|
|
3831
3805
|
|
|
3832
3806
|
## 25.0.6
|
|
@@ -3852,7 +3826,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3852
3826
|
## 25.0.5
|
|
3853
3827
|
|
|
3854
3828
|
- [patch][92a6240](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/92a6240):
|
|
3855
|
-
|
|
3856
3829
|
- Picking video file will now send dimensions same way as image would
|
|
3857
3830
|
|
|
3858
3831
|
## 25.0.4
|
|
@@ -3899,13 +3872,11 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3899
3872
|
## 25.0.1
|
|
3900
3873
|
|
|
3901
3874
|
- [patch][b9d9e9a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b9d9e9a):
|
|
3902
|
-
|
|
3903
3875
|
- Support advanced i18n mode in MediaPicker
|
|
3904
3876
|
|
|
3905
3877
|
## 25.0.0
|
|
3906
3878
|
|
|
3907
3879
|
- [minor][801fd18](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/801fd18):
|
|
3908
|
-
|
|
3909
3880
|
- Ability to delete file from recents has been added; MediaFile now has optional fields
|
|
3910
3881
|
userUpfrontId and userOccurrenceKey;
|
|
3911
3882
|
|
|
@@ -3918,11 +3889,9 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
3918
3889
|
## 24.0.1
|
|
3919
3890
|
|
|
3920
3891
|
- [patch][e151c1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e151c1a):
|
|
3921
|
-
|
|
3922
3892
|
- Removes dependency on @atlaskit/layer-manager
|
|
3923
3893
|
|
|
3924
3894
|
As of component versions:
|
|
3925
|
-
|
|
3926
3895
|
- \`@atlaskit/modal-dialog@7.0.0\`
|
|
3927
3896
|
- \`@atlaskit/tooltip@12.0.2\`
|
|
3928
3897
|
- \`@atlaskit/flag@9.0.6\`
|
|
@@ -4452,7 +4421,6 @@ https://product-fabric.atlassian.net/browse/MS-1942
|
|
|
4452
4421
|
|
|
4453
4422
|
- [patch] Updated dependencies
|
|
4454
4423
|
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
4455
|
-
|
|
4456
4424
|
- @atlaskit/spinner@7.0.0
|
|
4457
4425
|
- @atlaskit/media-card@29.1.0
|
|
4458
4426
|
- @atlaskit/modal-dialog@5.1.0
|
package/compass.yml
CHANGED
|
@@ -3,26 +3,16 @@ id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3
|
|
|
3
3
|
description: Library for handling file uploads
|
|
4
4
|
configVersion: 1
|
|
5
5
|
typeId: UI_ELEMENT
|
|
6
|
-
ownerId: 'ari:cloud:teams::team/
|
|
6
|
+
ownerId: 'ari:cloud:teams::team/3bee892f-cb1b-496c-b866-0f08d9e0296c'
|
|
7
7
|
fields:
|
|
8
8
|
lifecycle: Active
|
|
9
9
|
tier: 4
|
|
10
10
|
labels:
|
|
11
11
|
- atlassian-platform
|
|
12
|
-
customFields:
|
|
13
|
-
- name: Dev Owner
|
|
14
|
-
type: user
|
|
15
|
-
value: null
|
|
16
|
-
- name: Product
|
|
17
|
-
type: text
|
|
18
|
-
value: null
|
|
19
|
-
- name: Test
|
|
20
|
-
type: text
|
|
21
|
-
value: null
|
|
22
12
|
links:
|
|
23
13
|
- name: ''
|
|
24
14
|
type: REPOSITORY
|
|
25
|
-
url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/media/media-picker/'
|
|
15
|
+
url: 'https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/media/media-picker/'
|
|
26
16
|
- name: ''
|
|
27
17
|
type: DOCUMENT
|
|
28
18
|
url: 'https://atlaskit.atlassian.com/packages/media/media-picker'
|
|
@@ -34,13 +24,13 @@ links:
|
|
|
34
24
|
url: 'https://atlassian.signalfx.com/#/dashboard/E-vk3wqAwAA?groupId=E-vkzo1AwAA&configId=E-vk5fsAwAA&startTime=-7d&endTime=Now'
|
|
35
25
|
- name: ''
|
|
36
26
|
type: CHAT_CHANNEL
|
|
37
|
-
url: 'https://atlassian.slack.com/archives/
|
|
27
|
+
url: 'https://atlassian.slack.com/archives/C05J5GNHPLN'
|
|
38
28
|
- name: ''
|
|
39
29
|
type: ON_CALL
|
|
40
30
|
url: 'https://atlassian.app.opsgenie.com/settings/schedule/detail/b62291ff-4029-4f26-b7fc-d75d46d7aebc'
|
|
41
31
|
- name: ''
|
|
42
32
|
type: PROJECT
|
|
43
|
-
url: 'https://product-fabric.atlassian.net/jira/software/c/projects/
|
|
33
|
+
url: 'https://product-fabric.atlassian.net/jira/software/c/projects/BMPT/boards/5090'
|
|
44
34
|
relationships:
|
|
45
35
|
DEPENDS_ON:
|
|
46
36
|
- 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/652381b6-c323-4b50-bf31-c94941a0b6ef'
|
|
@@ -9,7 +9,7 @@ var _mediaClient = require("@atlaskit/media-client");
|
|
|
9
9
|
// Component name will be prefixed with "media-picker-" in logs. Check ufoExperiences in utils files
|
|
10
10
|
|
|
11
11
|
var packageName = "@atlaskit/media-picker";
|
|
12
|
-
var packageVersion = "
|
|
12
|
+
var packageVersion = "0.0.0-development";
|
|
13
13
|
function getPackageAttributes(componentName) {
|
|
14
14
|
return {
|
|
15
15
|
packageName: packageName,
|
|
@@ -12,7 +12,7 @@ var _mediaClient = require("@atlaskit/media-client");
|
|
|
12
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
13
|
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; }
|
|
14
14
|
var packageName = "@atlaskit/media-picker";
|
|
15
|
-
var packageVersion = "
|
|
15
|
+
var packageVersion = "0.0.0-development";
|
|
16
16
|
var ufoExperience;
|
|
17
17
|
var initExperience = function initExperience(id, componentName) {
|
|
18
18
|
if (!ufoExperience) {
|
|
@@ -3,7 +3,7 @@ import { isRequestError } from '@atlaskit/media-client';
|
|
|
3
3
|
// Component name will be prefixed with "media-picker-" in logs. Check ufoExperiences in utils files
|
|
4
4
|
|
|
5
5
|
const packageName = "@atlaskit/media-picker";
|
|
6
|
-
const packageVersion = "
|
|
6
|
+
const packageVersion = "0.0.0-development";
|
|
7
7
|
export function getPackageAttributes(componentName) {
|
|
8
8
|
return {
|
|
9
9
|
packageName,
|
|
@@ -2,7 +2,7 @@ import { ConcurrentExperience, ExperiencePerformanceTypes, ExperienceTypes } fro
|
|
|
2
2
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
3
3
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
4
4
|
const packageName = "@atlaskit/media-picker";
|
|
5
|
-
const packageVersion = "
|
|
5
|
+
const packageVersion = "0.0.0-development";
|
|
6
6
|
let ufoExperience;
|
|
7
7
|
const initExperience = (id, componentName) => {
|
|
8
8
|
if (!ufoExperience) {
|
|
@@ -3,7 +3,7 @@ import { isRequestError } from '@atlaskit/media-client';
|
|
|
3
3
|
// Component name will be prefixed with "media-picker-" in logs. Check ufoExperiences in utils files
|
|
4
4
|
|
|
5
5
|
var packageName = "@atlaskit/media-picker";
|
|
6
|
-
var packageVersion = "
|
|
6
|
+
var packageVersion = "0.0.0-development";
|
|
7
7
|
export function getPackageAttributes(componentName) {
|
|
8
8
|
return {
|
|
9
9
|
packageName: packageName,
|
|
@@ -5,7 +5,7 @@ import { ConcurrentExperience, ExperiencePerformanceTypes, ExperienceTypes } fro
|
|
|
5
5
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
6
6
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
7
7
|
var packageName = "@atlaskit/media-picker";
|
|
8
|
-
var packageVersion = "
|
|
8
|
+
var packageVersion = "0.0.0-development";
|
|
9
9
|
var ufoExperience;
|
|
10
10
|
var initExperience = function initExperience(id, componentName) {
|
|
11
11
|
if (!ufoExperience) {
|
|
@@ -73,13 +73,13 @@ export const NativeMediaViewer = ({ id, mediaClient }: NativeMediaViewerProps) =
|
|
|
73
73
|
|
|
74
74
|
switch (mediaType) {
|
|
75
75
|
case 'image':
|
|
76
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop,
|
|
76
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/alt-text -- Ignored via go/DSP-18766
|
|
77
77
|
return <img style={{ width: '100%' }} src={url} />;
|
|
78
78
|
case 'video':
|
|
79
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop,
|
|
79
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/media-has-caption -- Ignored via go/DSP-18766
|
|
80
80
|
return <video style={{ width: '100%' }} src={url} />;
|
|
81
81
|
case 'audio':
|
|
82
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop,
|
|
82
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/media-has-caption -- Ignored via go/DSP-18766
|
|
83
83
|
return <audio style={{ width: '100%' }} src={url} />;
|
|
84
84
|
case 'doc':
|
|
85
85
|
return (
|
|
@@ -102,6 +102,6 @@ type PastedImageProps = {
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
export const PastedImage = ({ src, style, title }: PastedImageProps) => {
|
|
105
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values,
|
|
105
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, @atlassian/a11y/alt-text -- Ignored via go/DSP-18766
|
|
106
106
|
return <img src={src} title={title} css={pastedImageStyles(style)} />;
|
|
107
107
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-picker",
|
|
3
|
-
"version": "70.0.
|
|
3
|
+
"version": "70.0.7",
|
|
4
4
|
"description": "Library for handling file uploads",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
33
|
-
"@atlaskit/flag": "^17.
|
|
34
|
-
"@atlaskit/icon": "^28.
|
|
35
|
-
"@atlaskit/media-client": "^35.
|
|
33
|
+
"@atlaskit/flag": "^17.5.0",
|
|
34
|
+
"@atlaskit/icon": "^28.5.0",
|
|
35
|
+
"@atlaskit/media-client": "^35.5.0",
|
|
36
36
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
37
37
|
"@atlaskit/media-common": "^12.3.0",
|
|
38
|
-
"@atlaskit/media-ui": "^28.
|
|
38
|
+
"@atlaskit/media-ui": "^28.7.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/theme": "^
|
|
41
|
-
"@atlaskit/tokens": "^
|
|
40
|
+
"@atlaskit/theme": "^21.0.0",
|
|
41
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
42
42
|
"@atlaskit/ufo": "^0.4.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"eventemitter2": "^4.1.0",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@atlaskit/analytics-listeners": "^9.
|
|
58
|
-
"@atlaskit/analytics-namespaced-context": "^7.
|
|
59
|
-
"@atlaskit/button": "^23.
|
|
57
|
+
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
58
|
+
"@atlaskit/analytics-namespaced-context": "^7.1.0",
|
|
59
|
+
"@atlaskit/button": "^23.5.0",
|
|
60
60
|
"@atlaskit/media-core": "^37.0.0",
|
|
61
61
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
62
62
|
"@atlaskit/ssr": "workspace:^",
|