@atlaskit/media-viewer 52.4.25 → 52.4.27

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,17 @@
1
1
  # @atlaskit/media-viewer
2
2
 
3
+ ## 52.4.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 52.4.26
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 52.4.25
4
16
 
5
17
  ### Patch Changes
@@ -1336,7 +1348,6 @@
1336
1348
  - [#40767](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40767)
1337
1349
  [`8836e1fb91c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8836e1fb91c) - [ux]
1338
1350
  Upgraded pdfjs-dist from 2.0.943 to 2.16.105. This includes changes such as:
1339
-
1340
1351
  - [MEX-2580] displaying digital signatures on MediaViewer
1341
1352
  - [MEX-2225] handling the 'Cannot read properties of undefined' error
1342
1353
  - [MEX-2162] showing non-latin characters on MediaViewer
@@ -2579,7 +2590,6 @@
2579
2590
 
2580
2591
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
2581
2592
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
2582
-
2583
2593
  - @atlaskit/docs@8.3.2
2584
2594
  - @atlaskit/visual-regression@0.1.9
2585
2595
  - @atlaskit/analytics-next@6.3.5
@@ -2829,7 +2839,6 @@
2829
2839
  > remove deprecated "context" property from media components in favor of "mediaClientConfig"
2830
2840
 
2831
2841
  This affects all public media UI components:
2832
-
2833
2842
  - Card
2834
2843
  - Filmstrip
2835
2844
  - SmartMediaEditor
@@ -3278,13 +3287,11 @@ withAnalyticsEvents<Props>()(Button);
3278
3287
  ### Minor Changes
3279
3288
 
3280
3289
  - [minor][7b48b319a3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7b48b319a3):
3281
-
3282
3290
  - Remove media-core dependency and allow to pass mediaClientConfig as part of public api
3283
3291
 
3284
3292
  ## 43.0.3
3285
3293
 
3286
3294
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
3287
-
3288
3295
  - This is just a safety release in case anything strange happened in in the previous one. See Pull
3289
3296
  Request #5942 for details
3290
3297
 
@@ -3319,7 +3326,6 @@ withAnalyticsEvents<Props>()(Button);
3319
3326
  ## 43.0.0
3320
3327
 
3321
3328
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
3322
-
3323
3329
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
3324
3330
  this package, please ensure you use at least this version of react and react-dom.
3325
3331
 
@@ -3361,7 +3367,6 @@ withAnalyticsEvents<Props>()(Button);
3361
3367
  ## 40.1.11
3362
3368
 
3363
3369
  - [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
3364
-
3365
3370
  - Bump tslib
3366
3371
 
3367
3372
  ## 40.1.10
@@ -3381,26 +3386,22 @@ withAnalyticsEvents<Props>()(Button);
3381
3386
  ## 40.1.9
3382
3387
 
3383
3388
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
3384
-
3385
3389
  - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
3386
3390
  supplied from itself.
3387
3391
 
3388
3392
  ## 40.1.8
3389
3393
 
3390
3394
  - [patch][8bdebe02f1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8bdebe02f1):
3391
-
3392
3395
  - Remove tests from MediaViewer dist
3393
3396
 
3394
3397
  ## 40.1.7
3395
3398
 
3396
3399
  - [patch][bee4101a63](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bee4101a63):
3397
-
3398
3400
  - instrument analytics for audio and video play and error events
3399
3401
 
3400
3402
  ## 40.1.6
3401
3403
 
3402
3404
  - [patch][caf134141e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/caf134141e):
3403
-
3404
3405
  - Fix incorrect MediaButton imports
3405
3406
 
3406
3407
  ## 40.1.5
@@ -3423,13 +3424,11 @@ withAnalyticsEvents<Props>()(Button);
3423
3424
  ## 40.1.4
3424
3425
 
3425
3426
  - [patch][4e1138a13a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4e1138a13a):
3426
-
3427
3427
  - add close event to MVNG
3428
3428
 
3429
3429
  ## 40.1.3
3430
3430
 
3431
3431
  - [patch][32317ff8f3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/32317ff8f3):
3432
-
3433
3432
  - MS-1633 Renderer passes a list of files and external images to a Card to be opened with Media
3434
3433
  Viewer
3435
3434
 
@@ -3445,13 +3444,11 @@ withAnalyticsEvents<Props>()(Button);
3445
3444
  ## 40.1.1
3446
3445
 
3447
3446
  - [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
3448
-
3449
3447
  - Enable esModuleInterop for typescript, this allows correct use of default exports
3450
3448
 
3451
3449
  ## 40.1.0
3452
3450
 
3453
3451
  - [minor][e1c1fa454a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e1c1fa454a):
3454
-
3455
3452
  - Support external image identifier in MediaViewer
3456
3453
 
3457
3454
  ## 40.0.0
@@ -3475,13 +3472,11 @@ withAnalyticsEvents<Props>()(Button);
3475
3472
  ## 39.0.1
3476
3473
 
3477
3474
  - [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
3478
-
3479
3475
  - Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
3480
3476
 
3481
3477
  ## 39.0.0
3482
3478
 
3483
3479
  - [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
3484
-
3485
3480
  - Dropped ES5 distributables from the typescript packages
3486
3481
 
3487
3482
  - Updated dependencies
@@ -3533,7 +3528,6 @@ withAnalyticsEvents<Props>()(Button);
3533
3528
  ## 37.0.0
3534
3529
 
3535
3530
  - [patch][6bd4c428e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6bd4c428e2):
3536
-
3537
3531
  - load image preview as soon representation is present instead of waiting for file status to be
3538
3532
  processed
3539
3533
 
@@ -3547,13 +3541,11 @@ withAnalyticsEvents<Props>()(Button);
3547
3541
  ## 36.1.0
3548
3542
 
3549
3543
  - [minor][f1b46bcb42](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1b46bcb42):
3550
-
3551
3544
  - ED-6259 Enable stricter types for media packages
3552
3545
 
3553
3546
  ## 36.0.0
3554
3547
 
3555
3548
  - [major][6e49c7c418](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6e49c7c418):
3556
-
3557
3549
  - Remove custom MediaViewerItem + Identifier types and use the one from media-core as part of
3558
3550
  public api
3559
3551
 
@@ -3578,7 +3570,6 @@ withAnalyticsEvents<Props>()(Button);
3578
3570
  ## 35.2.0
3579
3571
 
3580
3572
  - [minor][fde1cf51e0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fde1cf51e0):
3581
-
3582
3573
  - Code split component
3583
3574
 
3584
3575
  - Updated dependencies
@@ -3590,19 +3581,16 @@ withAnalyticsEvents<Props>()(Button);
3590
3581
  ## 35.1.2
3591
3582
 
3592
3583
  - [patch][05d5d28e5d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/05d5d28e5d):
3593
-
3594
3584
  - cleanup MVNG analytics as part of MS-1184
3595
3585
 
3596
3586
  ## 35.1.1
3597
3587
 
3598
3588
  - [patch][ef469cbb0b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ef469cbb0b):
3599
-
3600
3589
  - MS-357 replaced @atlaskit/util-shared-styles from media components by @atlaskit/theme
3601
3590
 
3602
3591
  ## 35.1.0
3603
3592
 
3604
3593
  - [minor][a74d635f1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a74d635f1c):
3605
-
3606
3594
  - Remove feedback button
3607
3595
 
3608
3596
  ## 35.0.0
@@ -3659,19 +3647,16 @@ withAnalyticsEvents<Props>()(Button);
3659
3647
  ## 32.1.0
3660
3648
 
3661
3649
  - [minor][2dc7a74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dc7a74):
3662
-
3663
3650
  - Remember video quality in video player in MediaViewer
3664
3651
 
3665
3652
  ## 32.0.1
3666
3653
 
3667
3654
  - [patch][3cc69de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3cc69de):
3668
-
3669
3655
  - only apply css pixelation to zoomed in images
3670
3656
 
3671
3657
  ## 32.0.0
3672
3658
 
3673
3659
  - [major][c91adfe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c91adfe):
3674
-
3675
3660
  - remove customVideoPlayer featureFlag prop and enable by default
3676
3661
 
3677
3662
  ## 31.0.0
@@ -3685,7 +3670,6 @@ withAnalyticsEvents<Props>()(Button);
3685
3670
  ## 30.0.0
3686
3671
 
3687
3672
  - [patch][72d37fb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/72d37fb):
3688
-
3689
3673
  - Remove deprecated methods from media-core
3690
3674
  - Use context.collection methods in MediaViewer
3691
3675
  - Remove link support from media-card
@@ -3703,13 +3687,11 @@ withAnalyticsEvents<Props>()(Button);
3703
3687
  ## 29.2.0
3704
3688
 
3705
3689
  - [minor][8314694](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8314694):
3706
-
3707
3690
  - Support uploading + processing files in MediaViewer
3708
3691
 
3709
3692
  ## 29.1.0
3710
3693
 
3711
3694
  - [minor][6bc785d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6bc785d):
3712
-
3713
3695
  - default to HD video if available in video viewer
3714
3696
 
3715
3697
  ## 29.0.2
@@ -3723,7 +3705,6 @@ withAnalyticsEvents<Props>()(Button);
3723
3705
  ## 29.0.1
3724
3706
 
3725
3707
  - [patch][ca16fa9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ca16fa9):
3726
-
3727
3708
  - Add SSR support to media components
3728
3709
 
3729
3710
  ## 29.0.0
@@ -3762,20 +3743,17 @@ withAnalyticsEvents<Props>()(Button);
3762
3743
  ## 27.1.0
3763
3744
 
3764
3745
  - [minor][5de3574](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5de3574):
3765
-
3766
3746
  - CustomVideoPlayer is now CustomMediaPlayer and supports audio through type property. Media
3767
3747
  Viewer now uses custom audio player for audio everywhere except IE11.
3768
3748
 
3769
3749
  ## 27.0.6
3770
3750
 
3771
3751
  - [patch][01697a6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/01697a6):
3772
-
3773
3752
  - CustomVideoPlayer improvements: fix currentTime origin + apply custom theme
3774
3753
 
3775
3754
  ## 27.0.5
3776
3755
 
3777
3756
  - [patch][c1ea81c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c1ea81c):
3778
-
3779
3757
  - use custom video player for inline video in media-card
3780
3758
 
3781
3759
  ## 27.0.4
@@ -3793,7 +3771,6 @@ withAnalyticsEvents<Props>()(Button);
3793
3771
  ## 27.0.3
3794
3772
 
3795
3773
  - [patch][5a6de24](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5a6de24):
3796
-
3797
3774
  - translate component properties in media components
3798
3775
 
3799
3776
  ## 27.0.2
@@ -3833,7 +3810,6 @@ withAnalyticsEvents<Props>()(Button);
3833
3810
  ## 26.0.1
3834
3811
 
3835
3812
  - [patch][8584c5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8584c5a):
3836
-
3837
3813
  - Fix zoom not sorting numerical values correctly
3838
3814
 
3839
3815
  ## 26.0.0
@@ -3854,31 +3830,26 @@ withAnalyticsEvents<Props>()(Button);
3854
3830
  ## 25.0.2
3855
3831
 
3856
3832
  - [patch][714f6ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/714f6ba):
3857
-
3858
3833
  - Add analytics for navigation events in MediaViewer
3859
3834
 
3860
3835
  ## 25.0.1
3861
3836
 
3862
3837
  - [patch][74c9cd1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/74c9cd1):
3863
-
3864
3838
  - Add analytics for zoom controls
3865
3839
 
3866
3840
  ## 25.0.0
3867
3841
 
3868
3842
  - [major][023cb45](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/023cb45" d):
3869
-
3870
3843
  - Add i18n support to MediaViewer
3871
3844
 
3872
3845
  ## 24.1.11
3873
3846
 
3874
3847
  - [patch][12afe80](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12afe80" d):
3875
-
3876
3848
  - Move mocks directory structure to fix dist build issues
3877
3849
 
3878
3850
  ## 24.1.10
3879
3851
 
3880
3852
  - [patch][4b84e8b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4b84e8b" d):
3881
-
3882
3853
  - Avoid unnecessary render cycle in ItemViewer
3883
3854
 
3884
3855
  ## 24.1.9
@@ -508,7 +508,7 @@ var Video = exports.Video = function Video(_ref17) {
508
508
  controls = _ref17.controls,
509
509
  src = _ref17.src;
510
510
  return (
511
- // eslint-disable-next-line jsx-a11y/media-has-caption
511
+ // eslint-disable-next-line @atlassian/a11y/media-has-caption
512
512
  (0, _react.jsx)("video", {
513
513
  css: videoStyles,
514
514
  autoPlay: autoPlay,
@@ -592,7 +592,7 @@ var ImageWrapper = exports.ImageWrapper = /*#__PURE__*/(0, _react2.forwardRef)(f
592
592
  style = _ref24.style,
593
593
  className = _ref24.className;
594
594
  return (
595
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
595
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
596
596
  (0, _react.jsx)("div", {
597
597
  "data-testid": datatestId,
598
598
  onClick: onClick,
@@ -634,7 +634,7 @@ var Img = exports.Img = function Img(_ref25) {
634
634
  }
635
635
  }, [canDrag, isDragging]);
636
636
  return (
637
- // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, @atlassian/a11y/no-noninteractive-element-interactions
637
+ // eslint-disable-next-line @atlassian/a11y/no-noninteractive-element-interactions
638
638
  (0, _react.jsx)("img", {
639
639
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
640
640
  className: className
@@ -721,7 +721,7 @@ var Audio = exports.Audio = /*#__PURE__*/(0, _react2.forwardRef)(function (_ref3
721
721
  src = _ref34.src,
722
722
  preload = _ref34.preload;
723
723
  return (
724
- // eslint-disable-next-line jsx-a11y/media-has-caption
724
+ // eslint-disable-next-line @atlassian/a11y/media-has-caption
725
725
  (0, _react.jsx)("audio", {
726
726
  css: audioStyles,
727
727
  ref: ref,
@@ -150,7 +150,7 @@ var ArchiveDownloadButtonWrapper = exports.ArchiveDownloadButtonWrapper = functi
150
150
  var children = _ref4.children,
151
151
  onClick = _ref4.onClick;
152
152
  return (
153
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
153
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
154
154
  (0, _react2.jsx)("div", {
155
155
  css: archiveDownloadButtonWrapperStyles,
156
156
  onClick: onClick,
@@ -161,7 +161,7 @@ var ArchiveDownloadButtonWrapper = exports.ArchiveDownloadButtonWrapper = functi
161
161
  var DisabledArchiveDownloadButtonWrapper = exports.DisabledArchiveDownloadButtonWrapper = function DisabledArchiveDownloadButtonWrapper(_ref5) {
162
162
  var children = _ref5.children;
163
163
  return (
164
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
164
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/no-static-element-interactions
165
165
  (0, _react2.jsx)("div", {
166
166
  css: disabledArchiveDownloadButtonWrapperStyles,
167
167
  "data-testid": "media-disabledArchiveDownloadButton"
@@ -244,7 +244,7 @@ var PDFRendererBase = function PDFRendererBase(_ref2) {
244
244
  ref: savePdfElement
245
245
  },
246
246
  /*#__PURE__*/
247
- // eslint-disable-next-line @atlaskit/design-system/prefer-primitives, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
247
+ // eslint-disable-next-line @atlaskit/design-system/prefer-primitives, @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
248
248
  _react.default.createElement("div", {
249
249
  // eslint-disable-next-line @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
250
250
  className: pdfViewerClassName,
@@ -28,7 +28,7 @@ var ImageWrapper = exports.ImageWrapper = /*#__PURE__*/(0, _react2.forwardRef)(f
28
28
  onClick = _ref.onClick,
29
29
  isHidden = _ref.isHidden;
30
30
  return (
31
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
31
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
32
32
  (0, _react.jsx)("div", {
33
33
  "data-testid": "media-viewer-svg-wrapper",
34
34
  onClick: onClick,
@@ -487,7 +487,7 @@ export const Video = ({
487
487
  controls,
488
488
  src
489
489
  }) =>
490
- // eslint-disable-next-line jsx-a11y/media-has-caption
490
+ // eslint-disable-next-line @atlassian/a11y/media-has-caption
491
491
  jsx("video", {
492
492
  css: videoStyles,
493
493
  autoPlay: autoPlay,
@@ -562,7 +562,7 @@ export const ImageWrapper = /*#__PURE__*/forwardRef(({
562
562
  style,
563
563
  className
564
564
  }, ref) =>
565
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
565
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
566
566
  jsx("div", {
567
567
  "data-testid": datatestId,
568
568
  onClick: onClick,
@@ -601,7 +601,7 @@ export const Img = ({
601
601
  }
602
602
  }, [canDrag, isDragging]);
603
603
  return (
604
- // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, @atlassian/a11y/no-noninteractive-element-interactions
604
+ // eslint-disable-next-line @atlassian/a11y/no-noninteractive-element-interactions
605
605
  jsx("img", {
606
606
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
607
607
  className: className
@@ -680,7 +680,7 @@ export const Audio = /*#__PURE__*/forwardRef(({
680
680
  src,
681
681
  preload
682
682
  }, ref) =>
683
- // eslint-disable-next-line jsx-a11y/media-has-caption
683
+ // eslint-disable-next-line @atlassian/a11y/media-has-caption
684
684
  jsx("audio", {
685
685
  css: audioStyles,
686
686
  ref: ref,
@@ -147,7 +147,7 @@ export const ArchiveDownloadButtonWrapper = ({
147
147
  onClick
148
148
  }) => {
149
149
  return (
150
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
150
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
151
151
  jsx("div", {
152
152
  css: archiveDownloadButtonWrapperStyles,
153
153
  onClick: onClick,
@@ -159,7 +159,7 @@ export const DisabledArchiveDownloadButtonWrapper = ({
159
159
  children
160
160
  }) => {
161
161
  return (
162
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
162
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/no-static-element-interactions
163
163
  jsx("div", {
164
164
  css: disabledArchiveDownloadButtonWrapperStyles,
165
165
  "data-testid": "media-disabledArchiveDownloadButton"
@@ -164,7 +164,7 @@ const PDFRendererBase = ({
164
164
  ref: savePdfElement
165
165
  },
166
166
  /*#__PURE__*/
167
- // eslint-disable-next-line @atlaskit/design-system/prefer-primitives, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
167
+ // eslint-disable-next-line @atlaskit/design-system/prefer-primitives, @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
168
168
  React.createElement("div", {
169
169
  // eslint-disable-next-line @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
170
170
  className: pdfViewerClassName,
@@ -21,7 +21,7 @@ export const ImageWrapper = /*#__PURE__*/forwardRef(({
21
21
  onClick,
22
22
  isHidden
23
23
  }, ref) =>
24
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
24
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
25
25
  jsx("div", {
26
26
  "data-testid": "media-viewer-svg-wrapper",
27
27
  onClick: onClick,
@@ -499,7 +499,7 @@ export var Video = function Video(_ref17) {
499
499
  controls = _ref17.controls,
500
500
  src = _ref17.src;
501
501
  return (
502
- // eslint-disable-next-line jsx-a11y/media-has-caption
502
+ // eslint-disable-next-line @atlassian/a11y/media-has-caption
503
503
  jsx("video", {
504
504
  css: videoStyles,
505
505
  autoPlay: autoPlay,
@@ -583,7 +583,7 @@ export var ImageWrapper = /*#__PURE__*/forwardRef(function (_ref24, ref) {
583
583
  style = _ref24.style,
584
584
  className = _ref24.className;
585
585
  return (
586
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
586
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
587
587
  jsx("div", {
588
588
  "data-testid": datatestId,
589
589
  onClick: onClick,
@@ -625,7 +625,7 @@ export var Img = function Img(_ref25) {
625
625
  }
626
626
  }, [canDrag, isDragging]);
627
627
  return (
628
- // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, @atlassian/a11y/no-noninteractive-element-interactions
628
+ // eslint-disable-next-line @atlassian/a11y/no-noninteractive-element-interactions
629
629
  jsx("img", {
630
630
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
631
631
  className: className
@@ -712,7 +712,7 @@ export var Audio = /*#__PURE__*/forwardRef(function (_ref34, ref) {
712
712
  src = _ref34.src,
713
713
  preload = _ref34.preload;
714
714
  return (
715
- // eslint-disable-next-line jsx-a11y/media-has-caption
715
+ // eslint-disable-next-line @atlassian/a11y/media-has-caption
716
716
  jsx("audio", {
717
717
  css: audioStyles,
718
718
  ref: ref,
@@ -141,7 +141,7 @@ export var ArchiveDownloadButtonWrapper = function ArchiveDownloadButtonWrapper(
141
141
  var children = _ref4.children,
142
142
  onClick = _ref4.onClick;
143
143
  return (
144
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
144
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
145
145
  jsx("div", {
146
146
  css: archiveDownloadButtonWrapperStyles,
147
147
  onClick: onClick,
@@ -152,7 +152,7 @@ export var ArchiveDownloadButtonWrapper = function ArchiveDownloadButtonWrapper(
152
152
  export var DisabledArchiveDownloadButtonWrapper = function DisabledArchiveDownloadButtonWrapper(_ref5) {
153
153
  var children = _ref5.children;
154
154
  return (
155
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
155
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/no-static-element-interactions
156
156
  jsx("div", {
157
157
  css: disabledArchiveDownloadButtonWrapperStyles,
158
158
  "data-testid": "media-disabledArchiveDownloadButton"
@@ -235,7 +235,7 @@ var PDFRendererBase = function PDFRendererBase(_ref2) {
235
235
  ref: savePdfElement
236
236
  },
237
237
  /*#__PURE__*/
238
- // eslint-disable-next-line @atlaskit/design-system/prefer-primitives, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
238
+ // eslint-disable-next-line @atlaskit/design-system/prefer-primitives, @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
239
239
  React.createElement("div", {
240
240
  // eslint-disable-next-line @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
241
241
  className: pdfViewerClassName,
@@ -21,7 +21,7 @@ export var ImageWrapper = /*#__PURE__*/forwardRef(function (_ref, ref) {
21
21
  onClick = _ref.onClick,
22
22
  isHidden = _ref.isHidden;
23
23
  return (
24
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
24
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
25
25
  jsx("div", {
26
26
  "data-testid": "media-viewer-svg-wrapper",
27
27
  onClick: onClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-viewer",
3
- "version": "52.4.25",
3
+ "version": "52.4.27",
4
4
  "description": "MediaViewer is Atlassian's powerful solution for viewing files on the web. It's both powerful and extendable yet easy-to-integrate",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,13 +34,13 @@
34
34
  "@atlaskit/analytics-next": "^11.1.0",
35
35
  "@atlaskit/button": "^23.5.0",
36
36
  "@atlaskit/code": "^17.2.0",
37
- "@atlaskit/css": "^0.14.0",
37
+ "@atlaskit/css": "^0.15.0",
38
38
  "@atlaskit/form": "^14.2.0",
39
39
  "@atlaskit/heading": "^5.2.0",
40
- "@atlaskit/icon": "^28.3.0",
40
+ "@atlaskit/icon": "^28.5.0",
41
41
  "@atlaskit/icon-file-type": "^7.0.0",
42
- "@atlaskit/icon-lab": "^5.8.0",
43
- "@atlaskit/media-client": "^35.4.0",
42
+ "@atlaskit/icon-lab": "^5.10.0",
43
+ "@atlaskit/media-client": "^35.5.0",
44
44
  "@atlaskit/media-client-react": "^4.1.0",
45
45
  "@atlaskit/media-common": "^12.3.0",
46
46
  "@atlaskit/media-document-viewer": "^0.4.0",
@@ -48,12 +48,12 @@
48
48
  "@atlaskit/media-ui": "^28.7.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/portal": "^5.1.0",
51
- "@atlaskit/primitives": "^14.15.0",
51
+ "@atlaskit/primitives": "^15.0.0",
52
52
  "@atlaskit/side-navigation": "^11.0.0",
53
53
  "@atlaskit/spinner": "^19.0.0",
54
54
  "@atlaskit/textfield": "^8.0.0",
55
55
  "@atlaskit/theme": "^21.0.0",
56
- "@atlaskit/tokens": "^6.4.0",
56
+ "@atlaskit/tokens": "^7.0.0",
57
57
  "@atlaskit/tooltip": "^20.5.0",
58
58
  "@atlaskit/ufo": "^0.4.0",
59
59
  "@babel/runtime": "^7.0.0",
@@ -61,7 +61,7 @@
61
61
  "@codemirror/language-data": "6.5.1",
62
62
  "@codemirror/state": "6.5.1",
63
63
  "@codemirror/view": "6.36.2",
64
- "@compiled/react": "^0.18.3",
64
+ "@compiled/react": "^0.18.6",
65
65
  "@kenjiuno/msgreader": "^1.2.6",
66
66
  "@lezer/highlight": "1.2.1",
67
67
  "deep-equal": "^1.0.1",