@atlaskit/media-card 76.0.0 → 76.0.2
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 +13 -0
- package/dist/cjs/card/card.js +1 -1
- package/dist/cjs/card/cardState.js +1 -1
- package/dist/cjs/card/getCardPreview/filePreviewStatus.js +2 -2
- package/dist/cjs/card/getCardPreview/index.js +1 -1
- package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/cjs/inline/loader.js +1 -1
- package/dist/cjs/inline/mediaInlineCard.js +1 -0
- package/dist/cjs/utils/ufoExperiences.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/card/card.js +1 -1
- package/dist/es2019/card/cardState.js +1 -1
- package/dist/es2019/card/getCardPreview/filePreviewStatus.js +2 -2
- package/dist/es2019/card/getCardPreview/index.js +1 -1
- package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/es2019/inline/loader.js +1 -1
- package/dist/es2019/inline/mediaInlineCard.js +1 -0
- package/dist/es2019/utils/ufoExperiences.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/card/card.js +1 -1
- package/dist/esm/card/cardState.js +1 -1
- package/dist/esm/card/getCardPreview/filePreviewStatus.js +2 -2
- package/dist/esm/card/getCardPreview/index.js +1 -1
- package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/esm/inline/loader.js +1 -1
- package/dist/esm/inline/mediaInlineCard.js +1 -0
- package/dist/esm/utils/ufoExperiences.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/card/getCardPreview/filePreviewStatus.d.ts +1 -2
- package/dist/types-ts4.5/card/getCardPreview/filePreviewStatus.d.ts +1 -2
- package/example-helpers/developmentUseMessage.tsx +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/media-card
|
|
2
2
|
|
|
3
|
+
## 76.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`bb442ced942`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb442ced942) - Remove newCardExperience feature flag
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 76.0.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`501218d4044`](https://bitbucket.org/atlassian/atlassian-frontend/commits/501218d4044) - MEX-2393 fix error setting in subscribe method in media-inline
|
|
15
|
+
|
|
3
16
|
## 76.0.0
|
|
4
17
|
|
|
5
18
|
### Major Changes
|
package/dist/cjs/card/card.js
CHANGED
|
@@ -48,7 +48,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
48
48
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
49
49
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
50
50
|
var packageName = "@atlaskit/media-card";
|
|
51
|
-
var packageVersion = "76.0.
|
|
51
|
+
var packageVersion = "76.0.2";
|
|
52
52
|
var CardBase = /*#__PURE__*/function (_Component) {
|
|
53
53
|
(0, _inherits2.default)(CardBase, _Component);
|
|
54
54
|
var _super = _createSuper(CardBase);
|
|
@@ -26,7 +26,7 @@ var createStateUpdater = function createStateUpdater(newState, fireErrorEvent) {
|
|
|
26
26
|
};
|
|
27
27
|
exports.createStateUpdater = createStateUpdater;
|
|
28
28
|
var getCardStateFromFileState = function getCardStateFromFileState(fileState, isBannedLocalPreview, featureFlags) {
|
|
29
|
-
var status = (0, _getCardStatus.getCardStatus)(fileState.status, (0, _getCardPreview.extractFilePreviewStatus)(fileState, isBannedLocalPreview
|
|
29
|
+
var status = (0, _getCardStatus.getCardStatus)(fileState.status, (0, _getCardPreview.extractFilePreviewStatus)(fileState, isBannedLocalPreview));
|
|
30
30
|
var error = status === 'error' && (0, _mediaClient.isErrorFileState)(fileState) ? new _errors.MediaCardError('error-file-state', new Error(fileState.message)) : undefined;
|
|
31
31
|
var progress = status === 'uploading' && fileState.status === 'uploading' ? fileState.progress : 1;
|
|
32
32
|
return {
|
|
@@ -9,13 +9,13 @@ var _mediaClient = require("@atlaskit/media-client");
|
|
|
9
9
|
var _helpers = require("./helpers");
|
|
10
10
|
// TODO: align these checks with helpers from Media Client
|
|
11
11
|
// https://product-fabric.atlassian.net/browse/BMPT-1300
|
|
12
|
-
var extractFilePreviewStatus = function extractFilePreviewStatus(fileState, isBannedLocalPreview
|
|
12
|
+
var extractFilePreviewStatus = function extractFilePreviewStatus(fileState, isBannedLocalPreview) {
|
|
13
13
|
var hasFilesize = 'size' in fileState && !!fileState.size;
|
|
14
14
|
var _ref = 'mediaType' in fileState && fileState || {},
|
|
15
15
|
mediaType = _ref.mediaType;
|
|
16
16
|
var _ref2 = 'mimeType' in fileState && fileState || {},
|
|
17
17
|
mimeType = _ref2.mimeType;
|
|
18
|
-
var isPreviewable = !!mediaType && (0, _mediaClient.isPreviewableType)(mediaType
|
|
18
|
+
var isPreviewable = !!mediaType && (0, _mediaClient.isPreviewableType)(mediaType);
|
|
19
19
|
|
|
20
20
|
// Local preview is available only if it's supported by browser and supported by Media Card (isSupportedLocalPreview)
|
|
21
21
|
// For example, SVGs are mime type NOT supported by browser but media type supported by Media Card (image)
|
|
@@ -205,7 +205,7 @@ var shouldResolvePreview = function shouldResolvePreview(_ref3) {
|
|
|
205
205
|
isBannedLocalPreview = _ref3.isBannedLocalPreview,
|
|
206
206
|
featureFlags = _ref3.featureFlags,
|
|
207
207
|
wasResolvedUpfrontPreview = _ref3.wasResolvedUpfrontPreview;
|
|
208
|
-
var statusIsPreviewable = (0, _filePreviewStatus.isPreviewableStatus)(status, (0, _filePreviewStatus.extractFilePreviewStatus)(fileState, isBannedLocalPreview
|
|
208
|
+
var statusIsPreviewable = (0, _filePreviewStatus.isPreviewableStatus)(status, (0, _filePreviewStatus.extractFilePreviewStatus)(fileState, isBannedLocalPreview));
|
|
209
209
|
var dimensionsAreBigger = (0, _dimensionComparer.isBigger)(prevDimensions, dimensions);
|
|
210
210
|
// We should not fetch the preview if the upfront one hasn't been resolved yet (it could be resolving now), even if there are new dimensions.
|
|
211
211
|
return wasResolvedUpfrontPreview && statusIsPreviewable && (!hasCardPreview || dimensionsAreBigger);
|
|
@@ -90,7 +90,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
|
|
|
90
90
|
}(_react.default.Component);
|
|
91
91
|
(0, _defineProperty2.default)(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
|
|
92
92
|
var packageName = "@atlaskit/media-card";
|
|
93
|
-
var packageVersion = "76.0.
|
|
93
|
+
var packageVersion = "76.0.2";
|
|
94
94
|
var MediaCardAnalyticsErrorBoundary = (0, _mediaCommon.withMediaAnalyticsContext)({
|
|
95
95
|
packageVersion: packageVersion,
|
|
96
96
|
packageName: packageName,
|
|
@@ -119,7 +119,7 @@ var MediaInlineCardLoader = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
119
119
|
ErrorBoundary = _this$state.ErrorBoundary;
|
|
120
120
|
var analyticsContext = {
|
|
121
121
|
packageVersion: "@atlaskit/media-card",
|
|
122
|
-
packageName: "76.0.
|
|
122
|
+
packageName: "76.0.2",
|
|
123
123
|
componentName: 'mediaInlineCard',
|
|
124
124
|
component: 'mediaInlineCard'
|
|
125
125
|
};
|
|
@@ -14,7 +14,7 @@ var _mediaClient = require("@atlaskit/media-client");
|
|
|
14
14
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
15
15
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16
16
|
var packageName = "@atlaskit/media-card";
|
|
17
|
-
var packageVersion = "76.0.
|
|
17
|
+
var packageVersion = "76.0.2";
|
|
18
18
|
var concurrentExperience;
|
|
19
19
|
var getExperience = function getExperience(id) {
|
|
20
20
|
if (!concurrentExperience) {
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/card/card.js
CHANGED
|
@@ -27,7 +27,7 @@ import { getMediaCardCursor } from '../utils/getMediaCardCursor';
|
|
|
27
27
|
import { completeUfoExperience, startUfoExperience } from '../utils/ufoExperiences';
|
|
28
28
|
import { generateUniqueId } from '../utils/generateUniqueId';
|
|
29
29
|
const packageName = "@atlaskit/media-card";
|
|
30
|
-
const packageVersion = "76.0.
|
|
30
|
+
const packageVersion = "76.0.2";
|
|
31
31
|
export class CardBase extends Component {
|
|
32
32
|
constructor(props) {
|
|
33
33
|
super(props);
|
|
@@ -18,7 +18,7 @@ export const createStateUpdater = (newState, fireErrorEvent) => prevState => {
|
|
|
18
18
|
return newState;
|
|
19
19
|
};
|
|
20
20
|
export const getCardStateFromFileState = (fileState, isBannedLocalPreview, featureFlags) => {
|
|
21
|
-
const status = getCardStatus(fileState.status, extractFilePreviewStatus(fileState, isBannedLocalPreview
|
|
21
|
+
const status = getCardStatus(fileState.status, extractFilePreviewStatus(fileState, isBannedLocalPreview));
|
|
22
22
|
const error = status === 'error' && isErrorFileState(fileState) ? new MediaCardError('error-file-state', new Error(fileState.message)) : undefined;
|
|
23
23
|
const progress = status === 'uploading' && fileState.status === 'uploading' ? fileState.progress : 1;
|
|
24
24
|
return {
|
|
@@ -4,7 +4,7 @@ import { isSupportedLocalPreview } from './helpers';
|
|
|
4
4
|
|
|
5
5
|
// TODO: align these checks with helpers from Media Client
|
|
6
6
|
// https://product-fabric.atlassian.net/browse/BMPT-1300
|
|
7
|
-
export const extractFilePreviewStatus = (fileState, isBannedLocalPreview
|
|
7
|
+
export const extractFilePreviewStatus = (fileState, isBannedLocalPreview) => {
|
|
8
8
|
const hasFilesize = 'size' in fileState && !!fileState.size;
|
|
9
9
|
const {
|
|
10
10
|
mediaType
|
|
@@ -12,7 +12,7 @@ export const extractFilePreviewStatus = (fileState, isBannedLocalPreview, featur
|
|
|
12
12
|
const {
|
|
13
13
|
mimeType
|
|
14
14
|
} = 'mimeType' in fileState && fileState || {};
|
|
15
|
-
const isPreviewable = !!mediaType && isPreviewableType(mediaType
|
|
15
|
+
const isPreviewable = !!mediaType && isPreviewableType(mediaType);
|
|
16
16
|
|
|
17
17
|
// Local preview is available only if it's supported by browser and supported by Media Card (isSupportedLocalPreview)
|
|
18
18
|
// For example, SVGs are mime type NOT supported by browser but media type supported by Media Card (image)
|
|
@@ -149,7 +149,7 @@ export const shouldResolvePreview = ({
|
|
|
149
149
|
featureFlags,
|
|
150
150
|
wasResolvedUpfrontPreview
|
|
151
151
|
}) => {
|
|
152
|
-
const statusIsPreviewable = isPreviewableStatus(status, extractFilePreviewStatus(fileState, isBannedLocalPreview
|
|
152
|
+
const statusIsPreviewable = isPreviewableStatus(status, extractFilePreviewStatus(fileState, isBannedLocalPreview));
|
|
153
153
|
const dimensionsAreBigger = isBigger(prevDimensions, dimensions);
|
|
154
154
|
// We should not fetch the preview if the upfront one hasn't been resolved yet (it could be resolving now), even if there are new dimensions.
|
|
155
155
|
return wasResolvedUpfrontPreview && statusIsPreviewable && (!hasCardPreview || dimensionsAreBigger);
|
|
@@ -66,7 +66,7 @@ class WrappedMediaCardAnalyticsErrorBoundary extends React.Component {
|
|
|
66
66
|
}
|
|
67
67
|
_defineProperty(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
|
|
68
68
|
const packageName = "@atlaskit/media-card";
|
|
69
|
-
const packageVersion = "76.0.
|
|
69
|
+
const packageVersion = "76.0.2";
|
|
70
70
|
const MediaCardAnalyticsErrorBoundary = withMediaAnalyticsContext({
|
|
71
71
|
packageVersion,
|
|
72
72
|
packageName,
|
|
@@ -37,7 +37,7 @@ export default class MediaInlineCardLoader extends React.PureComponent {
|
|
|
37
37
|
} = this.state;
|
|
38
38
|
const analyticsContext = {
|
|
39
39
|
packageVersion: "@atlaskit/media-card",
|
|
40
|
-
packageName: "76.0.
|
|
40
|
+
packageName: "76.0.2",
|
|
41
41
|
componentName: 'mediaInlineCard',
|
|
42
42
|
component: 'mediaInlineCard'
|
|
43
43
|
};
|
|
@@ -4,7 +4,7 @@ import { extractErrorInfo, getRenderErrorRequestMetadata } from './analytics';
|
|
|
4
4
|
import { MediaCardError } from '../errors';
|
|
5
5
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
6
6
|
const packageName = "@atlaskit/media-card";
|
|
7
|
-
const packageVersion = "76.0.
|
|
7
|
+
const packageVersion = "76.0.2";
|
|
8
8
|
let concurrentExperience;
|
|
9
9
|
const getExperience = id => {
|
|
10
10
|
if (!concurrentExperience) {
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/card/card.js
CHANGED
|
@@ -40,7 +40,7 @@ import { getMediaCardCursor } from '../utils/getMediaCardCursor';
|
|
|
40
40
|
import { completeUfoExperience, startUfoExperience } from '../utils/ufoExperiences';
|
|
41
41
|
import { generateUniqueId } from '../utils/generateUniqueId';
|
|
42
42
|
var packageName = "@atlaskit/media-card";
|
|
43
|
-
var packageVersion = "76.0.
|
|
43
|
+
var packageVersion = "76.0.2";
|
|
44
44
|
export var CardBase = /*#__PURE__*/function (_Component) {
|
|
45
45
|
_inherits(CardBase, _Component);
|
|
46
46
|
var _super = _createSuper(CardBase);
|
|
@@ -20,7 +20,7 @@ export var createStateUpdater = function createStateUpdater(newState, fireErrorE
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export var getCardStateFromFileState = function getCardStateFromFileState(fileState, isBannedLocalPreview, featureFlags) {
|
|
23
|
-
var status = getCardStatus(fileState.status, extractFilePreviewStatus(fileState, isBannedLocalPreview
|
|
23
|
+
var status = getCardStatus(fileState.status, extractFilePreviewStatus(fileState, isBannedLocalPreview));
|
|
24
24
|
var error = status === 'error' && isErrorFileState(fileState) ? new MediaCardError('error-file-state', new Error(fileState.message)) : undefined;
|
|
25
25
|
var progress = status === 'uploading' && fileState.status === 'uploading' ? fileState.progress : 1;
|
|
26
26
|
return {
|
|
@@ -4,13 +4,13 @@ import { isSupportedLocalPreview } from './helpers';
|
|
|
4
4
|
|
|
5
5
|
// TODO: align these checks with helpers from Media Client
|
|
6
6
|
// https://product-fabric.atlassian.net/browse/BMPT-1300
|
|
7
|
-
export var extractFilePreviewStatus = function extractFilePreviewStatus(fileState, isBannedLocalPreview
|
|
7
|
+
export var extractFilePreviewStatus = function extractFilePreviewStatus(fileState, isBannedLocalPreview) {
|
|
8
8
|
var hasFilesize = 'size' in fileState && !!fileState.size;
|
|
9
9
|
var _ref = 'mediaType' in fileState && fileState || {},
|
|
10
10
|
mediaType = _ref.mediaType;
|
|
11
11
|
var _ref2 = 'mimeType' in fileState && fileState || {},
|
|
12
12
|
mimeType = _ref2.mimeType;
|
|
13
|
-
var isPreviewable = !!mediaType && isPreviewableType(mediaType
|
|
13
|
+
var isPreviewable = !!mediaType && isPreviewableType(mediaType);
|
|
14
14
|
|
|
15
15
|
// Local preview is available only if it's supported by browser and supported by Media Card (isSupportedLocalPreview)
|
|
16
16
|
// For example, SVGs are mime type NOT supported by browser but media type supported by Media Card (image)
|
|
@@ -170,7 +170,7 @@ export var shouldResolvePreview = function shouldResolvePreview(_ref3) {
|
|
|
170
170
|
isBannedLocalPreview = _ref3.isBannedLocalPreview,
|
|
171
171
|
featureFlags = _ref3.featureFlags,
|
|
172
172
|
wasResolvedUpfrontPreview = _ref3.wasResolvedUpfrontPreview;
|
|
173
|
-
var statusIsPreviewable = isPreviewableStatus(status, extractFilePreviewStatus(fileState, isBannedLocalPreview
|
|
173
|
+
var statusIsPreviewable = isPreviewableStatus(status, extractFilePreviewStatus(fileState, isBannedLocalPreview));
|
|
174
174
|
var dimensionsAreBigger = isBigger(prevDimensions, dimensions);
|
|
175
175
|
// We should not fetch the preview if the upfront one hasn't been resolved yet (it could be resolving now), even if there are new dimensions.
|
|
176
176
|
return wasResolvedUpfrontPreview && statusIsPreviewable && (!hasCardPreview || dimensionsAreBigger);
|
|
@@ -83,7 +83,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
|
|
|
83
83
|
}(React.Component);
|
|
84
84
|
_defineProperty(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
|
|
85
85
|
var packageName = "@atlaskit/media-card";
|
|
86
|
-
var packageVersion = "76.0.
|
|
86
|
+
var packageVersion = "76.0.2";
|
|
87
87
|
var MediaCardAnalyticsErrorBoundary = withMediaAnalyticsContext({
|
|
88
88
|
packageVersion: packageVersion,
|
|
89
89
|
packageName: packageName,
|
|
@@ -103,7 +103,7 @@ var MediaInlineCardLoader = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
103
103
|
ErrorBoundary = _this$state.ErrorBoundary;
|
|
104
104
|
var analyticsContext = {
|
|
105
105
|
packageVersion: "@atlaskit/media-card",
|
|
106
|
-
packageName: "76.0.
|
|
106
|
+
packageName: "76.0.2",
|
|
107
107
|
componentName: 'mediaInlineCard',
|
|
108
108
|
component: 'mediaInlineCard'
|
|
109
109
|
};
|
|
@@ -7,7 +7,7 @@ import { extractErrorInfo, getRenderErrorRequestMetadata } from './analytics';
|
|
|
7
7
|
import { MediaCardError } from '../errors';
|
|
8
8
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
9
9
|
var packageName = "@atlaskit/media-card";
|
|
10
|
-
var packageVersion = "76.0.
|
|
10
|
+
var packageVersion = "76.0.2";
|
|
11
11
|
var concurrentExperience;
|
|
12
12
|
var getExperience = function getExperience(id) {
|
|
13
13
|
if (!concurrentExperience) {
|
package/dist/esm/version.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
2
1
|
import { CardStatus, FilePreviewStatus } from '../../types';
|
|
3
2
|
import { FileState } from '@atlaskit/media-client';
|
|
4
|
-
export declare const extractFilePreviewStatus: (fileState: FileState, isBannedLocalPreview: boolean
|
|
3
|
+
export declare const extractFilePreviewStatus: (fileState: FileState, isBannedLocalPreview: boolean) => FilePreviewStatus;
|
|
5
4
|
export declare const isPreviewableStatus: (cardStatus: CardStatus, { isPreviewable, hasPreview, isSupportedByBrowser }: FilePreviewStatus) => boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
2
1
|
import { CardStatus, FilePreviewStatus } from '../../types';
|
|
3
2
|
import { FileState } from '@atlaskit/media-client';
|
|
4
|
-
export declare const extractFilePreviewStatus: (fileState: FileState, isBannedLocalPreview: boolean
|
|
3
|
+
export declare const extractFilePreviewStatus: (fileState: FileState, isBannedLocalPreview: boolean) => FilePreviewStatus;
|
|
5
4
|
export declare const isPreviewableStatus: (cardStatus: CardStatus, { isPreviewable, hasPreview, isSupportedByBrowser }: FilePreviewStatus) => boolean;
|
|
@@ -3,7 +3,7 @@ import InlineMessage from '@atlaskit/inline-message';
|
|
|
3
3
|
|
|
4
4
|
const DevelopmentUseMessage: React.FC = () => (
|
|
5
5
|
<div style={{ textAlign: 'center' }}>
|
|
6
|
-
<InlineMessage
|
|
6
|
+
<InlineMessage appearance="warning" title="Development use only">
|
|
7
7
|
The purpose of this example is to explore on edge cases for this
|
|
8
8
|
component's feature. Some ways of using the component in here might not be
|
|
9
9
|
the standard way. It is discouraged to use this code as a base for
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-card",
|
|
3
|
-
"version": "76.0.
|
|
3
|
+
"version": "76.0.2",
|
|
4
4
|
"description": "Includes all media card related components, CardView, CardViewSmall, Card...",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"@atlaskit/dropdown-menu": "^11.9.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^2.4.0",
|
|
42
42
|
"@atlaskit/icon": "^21.12.0",
|
|
43
|
-
"@atlaskit/media-client": "^
|
|
44
|
-
"@atlaskit/media-common": "^
|
|
43
|
+
"@atlaskit/media-client": "^23.0.0",
|
|
44
|
+
"@atlaskit/media-common": "^6.0.0",
|
|
45
45
|
"@atlaskit/media-ui": "^23.0.0",
|
|
46
46
|
"@atlaskit/media-viewer": "^48.0.0",
|
|
47
47
|
"@atlaskit/spinner": "^15.5.0",
|
|
48
48
|
"@atlaskit/theme": "^12.5.0",
|
|
49
|
-
"@atlaskit/tokens": "^1.
|
|
49
|
+
"@atlaskit/tokens": "^1.5.0",
|
|
50
50
|
"@atlaskit/tooltip": "^17.8.0",
|
|
51
51
|
"@atlaskit/ufo": "^0.2.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"@atlaskit/docs": "*",
|
|
70
70
|
"@atlaskit/inline-message": "^11.5.0",
|
|
71
71
|
"@atlaskit/media-core": "^34.1.0",
|
|
72
|
-
"@atlaskit/media-picker": "^
|
|
72
|
+
"@atlaskit/media-picker": "^66.0.0",
|
|
73
73
|
"@atlaskit/media-test-helpers": "^33.0.0",
|
|
74
74
|
"@atlaskit/radio": "^5.6.0",
|
|
75
75
|
"@atlaskit/range": "^7.1.0",
|
|
76
76
|
"@atlaskit/section-message": "^6.4.0",
|
|
77
|
-
"@atlaskit/select": "^16.
|
|
77
|
+
"@atlaskit/select": "^16.5.0",
|
|
78
78
|
"@atlaskit/ssr": "*",
|
|
79
79
|
"@atlaskit/toggle": "^12.6.0",
|
|
80
80
|
"@atlaskit/visual-regression": "*",
|