@atlaskit/media-viewer 54.6.4 → 54.6.6
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 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/analytics/ufoExperiences.js +1 -1
- package/dist/cjs/content.js +6 -4
- package/dist/cjs/download.js +6 -5
- package/dist/cjs/errorMessage.js +5 -5
- package/dist/cjs/header.js +24 -19
- package/dist/cjs/item-viewer.js +5 -5
- package/dist/cjs/list.js +2 -2
- package/dist/cjs/loading.js +2 -2
- package/dist/cjs/media-viewer.js +2 -2
- package/dist/cjs/navigation.js +6 -5
- package/dist/cjs/viewers/archiveSidebar/archive-sidebar-folder-entry.js +2 -2
- package/dist/cjs/viewers/archiveSidebar/archive.js +9 -7
- package/dist/cjs/viewers/archiveSidebar/styleWrappers.js +2 -2
- package/dist/cjs/viewers/audio.js +2 -2
- package/dist/cjs/viewers/base-viewer.js +2 -2
- package/dist/cjs/viewers/codeViewer/index.js +4 -3
- package/dist/cjs/viewers/doc/passwordInput.js +6 -6
- package/dist/cjs/viewers/image/index.js +2 -2
- package/dist/cjs/viewers/image/interactive-img.js +14 -10
- package/dist/cjs/viewers/svg/index.js +9 -7
- package/dist/cjs/viewers/svg/utils.js +3 -3
- package/dist/cjs/viewers/video.js +4 -3
- package/dist/cjs/zoomControls.js +8 -6
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/analytics/ufoExperiences.js +1 -1
- package/dist/es2019/content.js +3 -1
- package/dist/es2019/download.js +2 -1
- package/dist/es2019/errorMessage.js +1 -1
- package/dist/es2019/header.js +7 -2
- package/dist/es2019/item-viewer.js +2 -2
- package/dist/es2019/list.js +1 -1
- package/dist/es2019/loading.js +1 -1
- package/dist/es2019/media-viewer.js +1 -1
- package/dist/es2019/navigation.js +2 -2
- package/dist/es2019/viewers/archiveSidebar/archive-sidebar-folder-entry.js +1 -1
- package/dist/es2019/viewers/archiveSidebar/archive.js +4 -2
- package/dist/es2019/viewers/archiveSidebar/styleWrappers.js +1 -1
- package/dist/es2019/viewers/audio.js +1 -1
- package/dist/es2019/viewers/base-viewer.js +1 -1
- package/dist/es2019/viewers/codeViewer/index.js +2 -1
- package/dist/es2019/viewers/doc/passwordInput.js +1 -1
- package/dist/es2019/viewers/image/index.js +1 -1
- package/dist/es2019/viewers/image/interactive-img.js +5 -1
- package/dist/es2019/viewers/svg/index.js +3 -1
- package/dist/es2019/viewers/svg/utils.js +1 -1
- package/dist/es2019/viewers/video.js +2 -1
- package/dist/es2019/zoomControls.js +3 -2
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/ufoExperiences.js +1 -1
- package/dist/esm/content.js +3 -1
- package/dist/esm/download.js +2 -1
- package/dist/esm/errorMessage.js +1 -1
- package/dist/esm/header.js +7 -2
- package/dist/esm/item-viewer.js +2 -2
- package/dist/esm/list.js +1 -1
- package/dist/esm/loading.js +1 -1
- package/dist/esm/media-viewer.js +1 -1
- package/dist/esm/navigation.js +2 -2
- package/dist/esm/viewers/archiveSidebar/archive-sidebar-folder-entry.js +1 -1
- package/dist/esm/viewers/archiveSidebar/archive.js +4 -2
- package/dist/esm/viewers/archiveSidebar/styleWrappers.js +1 -1
- package/dist/esm/viewers/audio.js +1 -1
- package/dist/esm/viewers/base-viewer.js +1 -1
- package/dist/esm/viewers/codeViewer/index.js +2 -1
- package/dist/esm/viewers/doc/passwordInput.js +1 -1
- package/dist/esm/viewers/image/index.js +1 -1
- package/dist/esm/viewers/image/interactive-img.js +5 -1
- package/dist/esm/viewers/svg/index.js +3 -1
- package/dist/esm/viewers/svg/utils.js +1 -1
- package/dist/esm/viewers/video.js +2 -1
- package/dist/esm/zoomControls.js +3 -2
- package/dist/types/content.d.ts +1 -1
- package/dist/types/item-viewer.d.ts +1 -1
- package/dist/types/list.d.ts +1 -1
- package/dist/types/viewers/audio.d.ts +1 -1
- package/dist/types/viewers/image/interactive-img.d.ts +2 -1
- package/dist/types/viewers/svg/utils.d.ts +2 -1
- package/dist/types/viewers/video.d.ts +1 -1
- package/package.json +5 -5
package/dist/esm/list.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React, { useState, useRef } from 'react';
|
|
3
|
-
import { hideControlsClassName } from '@atlaskit/media-ui';
|
|
3
|
+
import { hideControlsClassName } from '@atlaskit/media-ui/classNames';
|
|
4
4
|
import { ItemViewer } from './item-viewer';
|
|
5
5
|
import { HeaderWrapper, ListWrapper } from './styleWrappers';
|
|
6
6
|
import { Navigation } from './navigation';
|
package/dist/esm/loading.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import AkSpinner from '@atlaskit/spinner/spinner';
|
|
4
|
-
import { messages } from '@atlaskit/media-ui';
|
|
4
|
+
import { messages } from '@atlaskit/media-ui/messages';
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
export var Spinner = function Spinner(_ref) {
|
|
7
7
|
_objectDestructuringEmpty(_ref);
|
package/dist/esm/media-viewer.js
CHANGED
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import React, { useState, useLayoutEffect, useRef } from 'react';
|
|
4
4
|
import { IntlProvider, injectIntl } from 'react-intl';
|
|
5
|
-
import { Shortcut } from '@atlaskit/media-ui';
|
|
5
|
+
import { Shortcut } from '@atlaskit/media-ui/shortcut';
|
|
6
6
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
7
7
|
import { fireAnalytics } from './analytics';
|
|
8
8
|
import { createModalEvent } from './analytics/events/screen/modal';
|
package/dist/esm/navigation.js
CHANGED
|
@@ -10,8 +10,8 @@ import React from 'react';
|
|
|
10
10
|
import { Component } from 'react';
|
|
11
11
|
import ArrowLeftCircleIcon from '@atlaskit/icon/core/chevron-left';
|
|
12
12
|
import ArrowRightCircleIcon from '@atlaskit/icon/core/chevron-right';
|
|
13
|
-
import { hideControlsClassName } from '@atlaskit/media-ui';
|
|
14
|
-
import { Shortcut } from '@atlaskit/media-ui';
|
|
13
|
+
import { hideControlsClassName } from '@atlaskit/media-ui/classNames';
|
|
14
|
+
import { Shortcut } from '@atlaskit/media-ui/shortcut';
|
|
15
15
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
17
|
import { ArrowsWrapper, RightWrapper, LeftWrapper, Arrow } from './styleWrappers';
|
|
@@ -17,7 +17,7 @@ import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
|
17
17
|
import { ArchiveSidebarFolderWrapper, ArchiveSidebarFileEntryWrapper, SidebarItemWrapper } from './styleWrappers';
|
|
18
18
|
import { getMediaTypeFromFilename, isMacPrivateFile, rejectAfter } from '../../utils';
|
|
19
19
|
import { CustomButtonItem } from './custom-button-item';
|
|
20
|
-
import { messages } from '@atlaskit/media-ui';
|
|
20
|
+
import { messages } from '@atlaskit/media-ui/messages';
|
|
21
21
|
import { ArchiveDownloadButton } from './archive-download-button';
|
|
22
22
|
import { injectIntl } from 'react-intl';
|
|
23
23
|
var ArchiveSidebarFolderEntryBase = /*#__PURE__*/function (_React$Component) {
|
|
@@ -16,8 +16,10 @@ import { unzip, HTTPRangeReader } from 'unzipit';
|
|
|
16
16
|
import { FormattedMessage } from 'react-intl';
|
|
17
17
|
import { isErrorFileState } from '@atlaskit/media-client';
|
|
18
18
|
import { isZipMimeType } from '@atlaskit/media-common/isZipMimeType';
|
|
19
|
-
import { CustomMediaPlayer
|
|
20
|
-
import {
|
|
19
|
+
import { CustomMediaPlayer } from '@atlaskit/media-ui/customMediaPlayer';
|
|
20
|
+
import { messages } from '@atlaskit/media-ui/messages';
|
|
21
|
+
import { getLanguageType } from '@atlaskit/media-ui/getLanguageType';
|
|
22
|
+
import { isCodeViewerItem } from '@atlaskit/media-ui/isCodeViewerItem';
|
|
21
23
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
22
24
|
import { Outcome } from '../../domain';
|
|
23
25
|
import { CustomVideoPlayerWrapper, AudioPlayer, CustomAudioPlayerWrapper, DefaultCoverWrapper, ListWrapper } from '../../styleWrappers';
|
|
@@ -7,7 +7,7 @@ import { forwardRef } from 'react';
|
|
|
7
7
|
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
9
|
import { useIntl } from 'react-intl';
|
|
10
|
-
import { messages } from '@atlaskit/media-ui';
|
|
10
|
+
import { messages } from '@atlaskit/media-ui/messages';
|
|
11
11
|
export var ARCHIVE_SIDE_BAR_WIDTH = 300;
|
|
12
12
|
var archiveItemViewerWrapperStyles = null;
|
|
13
13
|
var archiveSideBarStyles = null;
|
|
@@ -16,7 +16,7 @@ import { MediaViewerError } from '../errors';
|
|
|
16
16
|
import { AudioPlayer, AudioCover, Audio, DefaultCoverWrapper, CustomAudioPlayerWrapper } from '../styleWrappers';
|
|
17
17
|
import { BaseViewer } from './base-viewer';
|
|
18
18
|
import { isIE } from '../utils/isIE';
|
|
19
|
-
import { CustomMediaPlayer } from '@atlaskit/media-ui';
|
|
19
|
+
import { CustomMediaPlayer } from '@atlaskit/media-ui/customMediaPlayer';
|
|
20
20
|
import { getObjectUrlFromFileState } from '../utils/getObjectUrlFromFileState';
|
|
21
21
|
var defaultCover = /*#__PURE__*/React.createElement(DefaultCoverWrapper, null, /*#__PURE__*/React.createElement(AudioIcon, {
|
|
22
22
|
label: "cover",
|
|
@@ -10,7 +10,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
10
10
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
11
|
import React, { Fragment } from 'react';
|
|
12
12
|
import { FormattedMessage } from 'react-intl';
|
|
13
|
-
import { messages } from '@atlaskit/media-ui';
|
|
13
|
+
import { messages } from '@atlaskit/media-ui/messages';
|
|
14
14
|
import deepEqual from 'deep-equal';
|
|
15
15
|
import { globalMediaEventEmitter } from '@atlaskit/media-client';
|
|
16
16
|
import ErrorMessage from '../errorMessage';
|
|
@@ -14,7 +14,8 @@ import { MediaViewerError } from '../../errors';
|
|
|
14
14
|
import { Spinner } from '../../loading';
|
|
15
15
|
import { BaseViewer } from '../base-viewer';
|
|
16
16
|
import { DEFAULT_LANGUAGE, normaliseLineBreaks } from './util';
|
|
17
|
-
import { getLanguageType
|
|
17
|
+
import { getLanguageType } from '@atlaskit/media-ui/getLanguageType';
|
|
18
|
+
import { getExtension } from '@atlaskit/media-ui/getExtension';
|
|
18
19
|
import { msgToText } from './msg-parser';
|
|
19
20
|
import { CodeRendererAdvanced } from './CodeRendererAdvanced/CodeRendererAdvanced';
|
|
20
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
@@ -11,7 +11,7 @@ import LockIcon from '@atlaskit/icon/core/lock-locked';
|
|
|
11
11
|
import Form from '@atlaskit/form/form';
|
|
12
12
|
import Field from '@atlaskit/form/field';
|
|
13
13
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
14
|
-
import { messages } from '@atlaskit/media-ui';
|
|
14
|
+
import { messages } from '@atlaskit/media-ui/messages';
|
|
15
15
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
16
16
|
import { xcss, Box, Flex, Text } from '@atlaskit/primitives';
|
|
17
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -11,7 +11,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import { isImageRepresentationReady, isErrorFileState, addFileAttrsToUrl } from '@atlaskit/media-client';
|
|
13
13
|
import { isImageMimeTypeSupportedByBrowser } from '@atlaskit/media-common';
|
|
14
|
-
import { getOrientation } from '@atlaskit/media-ui';
|
|
14
|
+
import { getOrientation } from '@atlaskit/media-ui/imageMetaData/getOrientation';
|
|
15
15
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
16
16
|
import { Outcome } from '../../domain';
|
|
17
17
|
import { buildImgErrorDiagnostics, MediaViewerError } from '../../errors';
|
|
@@ -7,7 +7,11 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
7
7
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
8
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import { Camera
|
|
10
|
+
import { Camera } from '@atlaskit/media-ui/camera/camera';
|
|
11
|
+
import { getCssFromImageOrientation } from '@atlaskit/media-ui/imageMetaData/getCssFromImageOrientation';
|
|
12
|
+
import { hideControlsClassName } from '@atlaskit/media-ui/classNames';
|
|
13
|
+
import { Rectangle } from '@atlaskit/media-ui/rectangle';
|
|
14
|
+
import { Vector2 } from '@atlaskit/media-ui/vector2';
|
|
11
15
|
import { ANALYTICS_MEDIA_CHANNEL } from '@atlaskit/media-common';
|
|
12
16
|
import { MAX_RESOLUTION } from '@atlaskit/media-client/constants';
|
|
13
17
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React, { useState, useRef, useEffect, useCallback, useLayoutEffect } from 'react';
|
|
3
|
-
import { Camera
|
|
3
|
+
import { Camera } from '@atlaskit/media-ui/camera/camera';
|
|
4
|
+
import { messages } from '@atlaskit/media-ui/messages';
|
|
5
|
+
import { Vector2 } from '@atlaskit/media-ui/vector2';
|
|
4
6
|
import { ANALYTICS_MEDIA_CHANNEL } from '@atlaskit/media-common';
|
|
5
7
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
6
8
|
import { BaselineExtend } from '../../styleWrappers';
|
|
@@ -10,7 +10,8 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
10
10
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import { getArtifactUrl, globalMediaEventEmitter, isFileIdentifier } from '@atlaskit/media-client';
|
|
13
|
-
import { CustomMediaPlayer
|
|
13
|
+
import { CustomMediaPlayer } from '@atlaskit/media-ui/customMediaPlayer';
|
|
14
|
+
import { MediaPlayer } from '@atlaskit/media-ui/mediaPlayer';
|
|
14
15
|
import { Outcome } from '../domain';
|
|
15
16
|
import { buildVideoErrorDiagnostics, MediaViewerError } from '../errors';
|
|
16
17
|
import { Video, CustomVideoPlayerWrapper } from '../styleWrappers';
|
package/dist/esm/zoomControls.js
CHANGED
|
@@ -8,7 +8,8 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
8
8
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { Component } from 'react';
|
|
11
|
-
import { hideControlsClassName
|
|
11
|
+
import { hideControlsClassName } from '@atlaskit/media-ui/classNames';
|
|
12
|
+
import MediaButton from '@atlaskit/media-ui/MediaButton';
|
|
12
13
|
import ZoomOutIcon from '@atlaskit/icon/core/zoom-out';
|
|
13
14
|
import ZoomInIcon from '@atlaskit/icon/core/zoom-in';
|
|
14
15
|
import { ZoomWrapper, ZoomCenterControls, ZoomRightControls, ZoomLevelIndicator } from './styleWrappers';
|
|
@@ -17,7 +18,7 @@ import { fireAnalytics } from './analytics/';
|
|
|
17
18
|
import { createZoomInButtonClickEvent } from './analytics/events/ui/zoomInButtonClicked';
|
|
18
19
|
import { createZoomOutButtonClickedEvent } from './analytics/events/ui/zoomOutButtonClicked';
|
|
19
20
|
import { injectIntl } from 'react-intl';
|
|
20
|
-
import { messages } from '@atlaskit/media-ui';
|
|
21
|
+
import { messages } from '@atlaskit/media-ui/messages';
|
|
21
22
|
export var ZoomControlsBase = /*#__PURE__*/function (_Component) {
|
|
22
23
|
function ZoomControlsBase() {
|
|
23
24
|
var _this;
|
package/dist/types/content.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Component, type ReactElement } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import type { WithShowControlMethodProp } from '@atlaskit/media-ui/types';
|
|
4
4
|
export interface ContentProps {
|
|
5
5
|
onClose?: () => void;
|
|
6
6
|
children: ReactElement<WithShowControlMethodProp>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type FileState, type Identifier } from '@atlaskit/media-client';
|
|
3
|
-
import {
|
|
3
|
+
import type { WithShowControlMethodProp } from '@atlaskit/media-ui/types';
|
|
4
4
|
import { Outcome } from './domain';
|
|
5
5
|
import { MediaViewerError } from './errors';
|
|
6
6
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
package/dist/types/list.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Identifier } from '@atlaskit/media-client';
|
|
3
|
-
import {
|
|
3
|
+
import type { WithShowControlMethodProp } from '@atlaskit/media-ui/types';
|
|
4
4
|
import { type MediaViewerExtensions } from './components/types';
|
|
5
5
|
import { type MediaFeatureFlags } from '@atlaskit/media-common';
|
|
6
6
|
import { type ViewerOptionsProps } from './viewerOptions';
|
|
@@ -3,7 +3,7 @@ import { type MediaClient, type FileState } from '@atlaskit/media-client';
|
|
|
3
3
|
import { Outcome } from '../domain';
|
|
4
4
|
import { MediaViewerError } from '../errors';
|
|
5
5
|
import { type BaseState, BaseViewer } from './base-viewer';
|
|
6
|
-
import {
|
|
6
|
+
import type { WithShowControlMethodProp } from '@atlaskit/media-ui/types';
|
|
7
7
|
import { type MediaTraceContext } from '@atlaskit/media-common';
|
|
8
8
|
export type Props = Readonly<{
|
|
9
9
|
item: FileState;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Camera
|
|
2
|
+
import { Camera } from '@atlaskit/media-ui/camera/camera';
|
|
3
|
+
import { Vector2 } from '@atlaskit/media-ui/vector2';
|
|
3
4
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
4
5
|
import { ZoomLevel } from '../../domain/zoomLevel';
|
|
5
6
|
export declare function zoomLevelAfterResize(newCamera: Camera, oldCamera: Camera, oldZoomLevel: ZoomLevel): ZoomLevel;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Rectangle
|
|
1
|
+
import { Rectangle } from '@atlaskit/media-ui/rectangle';
|
|
2
|
+
import type { Camera } from '@atlaskit/media-ui/camera/camera';
|
|
2
3
|
import { ZoomLevel } from '../../domain/zoomLevel';
|
|
3
4
|
export declare const clientRectangle: (el: HTMLElement) => Rectangle;
|
|
4
5
|
export declare const naturalSizeRectangle: (el: HTMLImageElement) => Rectangle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type MediaClient, type FileState, type Identifier } from '@atlaskit/media-client';
|
|
3
|
-
import {
|
|
3
|
+
import type { WithShowControlMethodProp } from '@atlaskit/media-ui/types';
|
|
4
4
|
import { Outcome } from '../domain';
|
|
5
5
|
import { MediaViewerError } from '../errors';
|
|
6
6
|
import { type BaseState, BaseViewer } from './base-viewer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-viewer",
|
|
3
|
-
"version": "54.6.
|
|
3
|
+
"version": "54.6.6",
|
|
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/"
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@atlaskit/analytics-next": "^12.
|
|
33
|
+
"@atlaskit/analytics-next": "^12.4.0",
|
|
34
34
|
"@atlaskit/button": "^25.2.0",
|
|
35
35
|
"@atlaskit/code": "^19.1.0",
|
|
36
|
-
"@atlaskit/css": "^1.
|
|
36
|
+
"@atlaskit/css": "^1.1.0",
|
|
37
37
|
"@atlaskit/form": "^17.1.0",
|
|
38
38
|
"@atlaskit/heading": "^7.1.0",
|
|
39
39
|
"@atlaskit/icon": "^37.5.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/spinner": "^20.3.0",
|
|
56
56
|
"@atlaskit/textfield": "^10.1.0",
|
|
57
57
|
"@atlaskit/theme": "^28.1.0",
|
|
58
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
58
|
+
"@atlaskit/tmp-editor-statsig": "^163.0.0",
|
|
59
59
|
"@atlaskit/tokens": "^16.8.0",
|
|
60
60
|
"@atlaskit/tooltip": "^24.2.0",
|
|
61
61
|
"@atlaskit/ufo": "^1.0.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@atlaskit/media-test-data": "^4.0.0",
|
|
93
93
|
"@atlaskit/media-test-helpers": "^42.3.0",
|
|
94
94
|
"@atlaskit/modal-dialog": "^16.5.0",
|
|
95
|
-
"@atlaskit/select": "^22.
|
|
95
|
+
"@atlaskit/select": "^22.10.0",
|
|
96
96
|
"@atlaskit/ssr": "workspace:^",
|
|
97
97
|
"@atlaskit/toggle": "^17.2.0",
|
|
98
98
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|