@atlaskit/media-card 81.6.16 → 81.7.0
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 +20 -0
- package/dist/cjs/card/card.js +3 -3
- package/dist/cjs/card/cardAnalytics.js +2 -2
- package/dist/cjs/card/cardLoader.js +3 -3
- package/dist/cjs/card/cardView.js +9 -9
- package/dist/cjs/card/cardWithMediaClient.js +6 -5
- package/dist/cjs/card/externalImageCard.js +2 -2
- package/dist/cjs/card/fileCard.js +13 -12
- package/dist/cjs/card/inlinePlayer.js +7 -6
- package/dist/cjs/card/inlinePlayerWrapper-compiled.js +2 -2
- package/dist/cjs/card/media-card-analytics-error-boundary.js +3 -3
- package/dist/cjs/card/svgView/svgImage-compiled.js +2 -1
- package/dist/cjs/card/svgView/svgView.js +2 -2
- package/dist/cjs/card/svgView/svgViewV2.js +2 -1
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +2 -2
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionIconButton.js +4 -4
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionsDropdownMenu.js +9 -8
- package/dist/cjs/card/ui/imageRenderer/helpers.js +4 -4
- package/dist/cjs/card/ui/imageRenderer/imageRendererV2.js +2 -2
- package/dist/cjs/card/ui/imageRenderer/index.js +2 -2
- package/dist/cjs/card/ui/openMediaViewerButton/openMediaViewerButton.js +2 -2
- package/dist/cjs/inline/loader.js +3 -3
- package/dist/cjs/inline/mediaInlineAnalyticsErrorBoundary.js +2 -2
- package/dist/cjs/inline/mediaInlineCard.js +8 -8
- package/dist/cjs/utils/lightCards/cardLoading.js +1 -1
- package/dist/cjs/utils/mediaPerformanceObserver/mediaPerformanceObserver.js +3 -3
- package/dist/cjs/utils/ufoExperiences.js +12 -9
- package/dist/es2019/card/card.js +2 -2
- package/dist/es2019/card/cardAnalytics.js +1 -1
- package/dist/es2019/card/cardLoader.js +1 -1
- package/dist/es2019/card/cardView.js +4 -4
- package/dist/es2019/card/cardWithMediaClient.js +3 -2
- package/dist/es2019/card/externalImageCard.js +1 -1
- package/dist/es2019/card/fileCard.js +4 -3
- package/dist/es2019/card/inlinePlayer.js +3 -2
- package/dist/es2019/card/inlinePlayerWrapper-compiled.js +1 -1
- package/dist/es2019/card/media-card-analytics-error-boundary.js +2 -2
- package/dist/es2019/card/svgView/svgImage-compiled.js +2 -1
- package/dist/es2019/card/svgView/svgView.js +1 -1
- package/dist/es2019/card/svgView/svgViewV2.js +2 -1
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +1 -1
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionIconButton.js +2 -2
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionsDropdownMenu.js +5 -3
- package/dist/es2019/card/ui/imageRenderer/helpers.js +1 -1
- package/dist/es2019/card/ui/imageRenderer/imageRendererV2.js +1 -1
- package/dist/es2019/card/ui/imageRenderer/index.js +1 -1
- package/dist/es2019/card/ui/openMediaViewerButton/openMediaViewerButton.js +1 -1
- package/dist/es2019/inline/loader.js +2 -2
- package/dist/es2019/inline/mediaInlineAnalyticsErrorBoundary.js +1 -1
- package/dist/es2019/inline/mediaInlineCard.js +4 -4
- package/dist/es2019/utils/lightCards/cardLoading.js +1 -1
- package/dist/es2019/utils/mediaPerformanceObserver/mediaPerformanceObserver.js +1 -1
- package/dist/es2019/utils/ufoExperiences.js +5 -3
- package/dist/esm/card/card.js +2 -2
- package/dist/esm/card/cardAnalytics.js +1 -1
- package/dist/esm/card/cardLoader.js +1 -1
- package/dist/esm/card/cardView.js +4 -4
- package/dist/esm/card/cardWithMediaClient.js +3 -2
- package/dist/esm/card/externalImageCard.js +1 -1
- package/dist/esm/card/fileCard.js +4 -3
- package/dist/esm/card/inlinePlayer.js +3 -2
- package/dist/esm/card/inlinePlayerWrapper-compiled.js +1 -1
- package/dist/esm/card/media-card-analytics-error-boundary.js +2 -2
- package/dist/esm/card/svgView/svgImage-compiled.js +2 -1
- package/dist/esm/card/svgView/svgView.js +1 -1
- package/dist/esm/card/svgView/svgViewV2.js +2 -1
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +1 -1
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionIconButton.js +2 -2
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionsDropdownMenu.js +5 -3
- package/dist/esm/card/ui/imageRenderer/helpers.js +1 -1
- package/dist/esm/card/ui/imageRenderer/imageRendererV2.js +1 -1
- package/dist/esm/card/ui/imageRenderer/index.js +1 -1
- package/dist/esm/card/ui/openMediaViewerButton/openMediaViewerButton.js +1 -1
- package/dist/esm/inline/loader.js +2 -2
- package/dist/esm/inline/mediaInlineAnalyticsErrorBoundary.js +1 -1
- package/dist/esm/inline/mediaInlineCard.js +4 -4
- package/dist/esm/utils/lightCards/cardLoading.js +1 -1
- package/dist/esm/utils/mediaPerformanceObserver/mediaPerformanceObserver.js +1 -1
- package/dist/esm/utils/ufoExperiences.js +5 -3
- package/dist/types/card/cardAnalytics.d.ts +1 -1
- package/dist/types/card/cardView.d.ts +2 -1
- package/dist/types/card/inlinePlayer.d.ts +2 -1
- package/dist/types/card/media-card-analytics-error-boundary.d.ts +1 -1
- package/dist/types/card/types.d.ts +2 -2
- package/dist/types/card/ui/actionsBar/cardActions/styles.d.ts +1 -1
- package/dist/types/card/ui/wrapper/types.d.ts +1 -1
- package/dist/types/inline/loader.d.ts +1 -1
- package/dist/types/inline/mediaInlineAnalyticsErrorBoundary.d.ts +1 -1
- package/dist/types/inline/mediaInlineCardAnalytics.d.ts +1 -1
- package/dist/types/types.d.ts +2 -2
- package/dist/types/utils/analytics/analytics.d.ts +2 -1
- package/example-helpers/index.tsx +2 -1
- package/example-helpers/selectableCard.tsx +1 -1
- package/example-helpers/svg-helpers/dimensionPicker.tsx +2 -2
- package/example-helpers/svg-helpers/toggle.tsx +1 -1
- package/example-helpers/svg-helpers/uploader.ts +1 -1
- package/package.json +32 -27
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { Suspense, useContext } from 'react';
|
|
3
3
|
import Loadable from 'react-loadable';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
import { CardLoading } from '../utils/lightCards/cardLoading';
|
|
6
6
|
import UFOSegment from '@atlaskit/react-ufo/segment';
|
|
7
7
|
var MediaCardContext = /*#__PURE__*/React.createContext({});
|
|
@@ -5,10 +5,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import React, { useEffect, useState, useRef, useMemo } from 'react';
|
|
6
6
|
import { defineMessages, useIntl } from 'react-intl';
|
|
7
7
|
import { isFileIdentifier } from '@atlaskit/media-client';
|
|
8
|
-
import
|
|
8
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
9
9
|
import { MimeTypeIcon } from '@atlaskit/media-ui/mime-type-icon';
|
|
10
|
-
import SpinnerIcon from '@atlaskit/spinner';
|
|
11
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
10
|
+
import SpinnerIcon from '@atlaskit/spinner/spinner';
|
|
11
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
12
12
|
import { useMergeRefs } from 'use-callback-ref';
|
|
13
13
|
import { messages } from '@atlaskit/media-ui';
|
|
14
14
|
import { createAndFireMediaCardEvent } from '../utils/analytics';
|
|
@@ -32,7 +32,7 @@ import { useBreakpoint } from './useBreakpoint';
|
|
|
32
32
|
import OpenMediaViewerButton from './ui/openMediaViewerButton/openMediaViewerButton';
|
|
33
33
|
import { useCurrentValueRef } from '../utils/useCurrentValueRef';
|
|
34
34
|
import { SvgView } from './svgView';
|
|
35
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
35
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
36
36
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
37
37
|
var i18n = defineMessages({
|
|
38
38
|
traceIdTooltip: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { withMediaClientAndSettings
|
|
2
|
+
import { withMediaClientAndSettings } from '@atlaskit/media-client-react/with-media-client-and-settings';
|
|
3
|
+
import { withMediaClient } from '@atlaskit/media-client-react/with-media-client';
|
|
3
4
|
import MediaCardAnalyticsErrorBoundary from './media-card-analytics-error-boundary';
|
|
4
5
|
import { Card as InternalCard } from './card';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
7
|
export var CardWithMediaClient = function CardWithMediaClient(props) {
|
|
7
8
|
var dimensions = props.dimensions,
|
|
8
9
|
onClick = props.onClick;
|
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
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; }
|
|
4
4
|
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) { _defineProperty(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; }
|
|
5
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
5
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
6
6
|
import { globalMediaEventEmitter } from '@atlaskit/media-client';
|
|
7
7
|
import { getRandomTelemetryId } from '@atlaskit/media-common';
|
|
8
8
|
import { MediaViewer } from '@atlaskit/media-viewer';
|
|
@@ -5,9 +5,10 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
5
5
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
6
6
|
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; }
|
|
7
7
|
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) { _defineProperty(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; }
|
|
8
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
9
9
|
import { globalMediaEventEmitter, RECENTS_COLLECTION, imageResizeModeToFileImageMode, isProcessedFileState, isErrorFileState, toCommonMediaClientError } from '@atlaskit/media-client';
|
|
10
|
-
import { useFileState
|
|
10
|
+
import { useFileState } from '@atlaskit/media-client-react/use-file-state';
|
|
11
|
+
import { useMediaClient } from '@atlaskit/media-client-react/use-media-client';
|
|
11
12
|
import { isMimeTypeSupportedByBrowser, isVideoMimeTypeSupportedByBrowser, getRandomTelemetryId } from '@atlaskit/media-common';
|
|
12
13
|
import { MediaViewer } from '@atlaskit/media-viewer';
|
|
13
14
|
import React, { Suspense, useEffect, useMemo, useRef, useState, useCallback } from 'react';
|
|
@@ -35,7 +36,7 @@ import { useContext } from 'react';
|
|
|
35
36
|
import { DateOverrideContext } from '../dateOverrideContext';
|
|
36
37
|
import { useIntl } from 'react-intl';
|
|
37
38
|
import { AbuseModal } from '@atlaskit/media-ui/abuseModal';
|
|
38
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
39
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
39
40
|
import { getActiveTrace } from '@atlaskit/react-ufo/experience-trace-id-context';
|
|
40
41
|
import usePressTracing from '@atlaskit/react-ufo/use-press-tracing';
|
|
41
42
|
var traceContextRetriever = function traceContextRetriever() {
|
|
@@ -10,8 +10,9 @@ import { CardLoading } from '../utils/lightCards/cardLoading';
|
|
|
10
10
|
import { ProgressBar } from './ui/progressBar/progressBar';
|
|
11
11
|
import { InlinePlayerWrapper } from './inlinePlayerWrapper';
|
|
12
12
|
import { useBreakpoint } from './useBreakpoint';
|
|
13
|
-
import { useFileState
|
|
14
|
-
import {
|
|
13
|
+
import { useFileState } from '@atlaskit/media-client-react/use-file-state';
|
|
14
|
+
import { useMediaClient } from '@atlaskit/media-client-react/use-media-client';
|
|
15
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
16
|
export var getPreferredVideoArtifact = function getPreferredVideoArtifact(fileState) {
|
|
16
17
|
if (fileState.status === 'processed' || fileState.status === 'processing') {
|
|
17
18
|
var artifacts = fileState.artifacts;
|
|
@@ -7,7 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import { getDimensionsWithDefault } from '../utils/lightCards/getDimensionsWithDefault';
|
|
8
8
|
import { VcMediaWrapperProps } from '@atlaskit/react-ufo/vc-media';
|
|
9
9
|
import UFOCustomData from '@atlaskit/react-ufo/custom-data';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
var hideNativeBrowserTextSelectionStyles = null;
|
|
12
12
|
var selectedBorderStyle = null;
|
|
13
13
|
|
|
@@ -11,7 +11,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import { withMediaAnalyticsContext } from '@atlaskit/media-common';
|
|
13
13
|
import { UnhandledErrorCard } from './ui/unhandledErrorCard';
|
|
14
|
-
import
|
|
14
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
15
15
|
import { fireMediaCardEvent } from '../utils/analytics';
|
|
16
16
|
var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
17
17
|
function WrappedMediaCardAnalyticsErrorBoundary(props) {
|
|
@@ -80,7 +80,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
|
|
|
80
80
|
}(React.Component);
|
|
81
81
|
_defineProperty(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
|
|
82
82
|
var packageName = "@atlaskit/media-card";
|
|
83
|
-
var packageVersion = "81.6.
|
|
83
|
+
var packageVersion = "81.6.16";
|
|
84
84
|
|
|
85
85
|
// @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
|
|
86
86
|
var MediaCardAnalyticsErrorBoundary = withMediaAnalyticsContext({
|
|
@@ -8,7 +8,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
9
9
|
import { MediaCardError } from '../../errors';
|
|
10
10
|
import { calculateSvgDimensions } from './helpers';
|
|
11
|
-
import { useResolveSvg
|
|
11
|
+
import { useResolveSvg } from '@atlaskit/media-svg/use-resolve-svg';
|
|
12
|
+
import { MediaSVGError } from '@atlaskit/media-svg';
|
|
12
13
|
var getErrorReason = function getErrorReason(svgReason) {
|
|
13
14
|
switch (svgReason) {
|
|
14
15
|
case 'img-error':
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import { SvgView as SvgViewCompiled } from './svgImage-compiled';
|
|
4
4
|
import { SvgView as SvgViewV2 } from './svgViewV2';
|
|
5
5
|
export var SvgView = function SvgView(props) {
|
|
@@ -7,7 +7,8 @@ import React from 'react';
|
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { useMemo } from 'react';
|
|
9
9
|
import { MediaCardError } from '../../errors';
|
|
10
|
-
import { useResolveSvg
|
|
10
|
+
import { useResolveSvg } from '@atlaskit/media-svg/use-resolve-svg';
|
|
11
|
+
import { MediaSVGError } from '@atlaskit/media-svg';
|
|
11
12
|
import { ImageRenderer } from '../ui/imageRenderer/imageRendererV2';
|
|
12
13
|
var getErrorReason = function getErrorReason(svgReason) {
|
|
13
14
|
switch (svgReason) {
|
|
@@ -9,7 +9,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
9
9
|
import { forwardRef } from 'react';
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
13
|
var variantStyleMap = {
|
|
14
14
|
filled: "_bfhk1bhr _irr36o2t",
|
|
15
15
|
default: "_irr31dpa"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
2
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
3
3
|
import { CardActionButton } from './cardActionButton';
|
|
4
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
4
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
5
5
|
import { fireMediaCardEvent } from '../../../../utils/analytics';
|
|
6
6
|
export var CardActionIconButton = function CardActionIconButton(_ref) {
|
|
7
7
|
var icon = _ref.icon,
|
|
@@ -2,10 +2,12 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
var _excluded = ["triggerRef", "isSelected", "testId", "onClick"];
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
5
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
6
6
|
import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
7
|
-
import DropdownMenu
|
|
8
|
-
import
|
|
7
|
+
import DropdownMenu from '@atlaskit/dropdown-menu/dropdown-menu';
|
|
8
|
+
import DropdownItemGroup from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
|
|
9
|
+
import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
|
|
10
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
9
11
|
import { createAndFireMediaCardEvent, fireMediaCardEvent } from '../../../../utils/analytics';
|
|
10
12
|
import { CardActionButton } from './cardActionButton';
|
|
11
13
|
// Trick applied due to the lack of props type of DropdownItem
|
|
@@ -10,7 +10,7 @@ import { calculateDimensions, calculateInitialDimensions } from './helpers';
|
|
|
10
10
|
import { useCurrentValueRef } from '../../../utils/useCurrentValueRef';
|
|
11
11
|
import { ImageRendererWrapper } from './wrapper';
|
|
12
12
|
import { isFileIdentifier } from '@atlaskit/media-client';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
14
14
|
import UFOCustomData from '@atlaskit/react-ufo/custom-data';
|
|
15
15
|
import { useInteractionContext } from '@atlaskit/react-ufo/interaction-context';
|
|
16
16
|
var baseStyles = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ImageRenderer as ImageRendererV1 } from './imageRenderer';
|
|
3
3
|
import { ImageRenderer as ImageRendererV2 } from './imageRendererV2';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
export var ImageRenderer = function ImageRenderer(props) {
|
|
6
6
|
return fg('platform_media_card_image_render') ? /*#__PURE__*/React.createElement(ImageRendererV2, props) : /*#__PURE__*/React.createElement(ImageRendererV1, props);
|
|
7
7
|
};
|
|
@@ -4,7 +4,7 @@ var _excluded = ["fileName", "innerRef"];
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { injectIntl, IntlProvider, useIntl } from 'react-intl';
|
|
6
6
|
import { messages } from '@atlaskit/media-ui';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
8
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
9
9
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
10
10
|
var OpenMediaViewerButton = function OpenMediaViewerButton(_ref) {
|
|
@@ -11,7 +11,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
11
11
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import { MediaInlineCardLoadingView } from '@atlaskit/media-ui';
|
|
14
|
-
import
|
|
14
|
+
import AnalyticsContext from '@atlaskit/analytics-next/AnalyticsContext';
|
|
15
15
|
var MediaInlineCardLoader = /*#__PURE__*/function (_React$PureComponent) {
|
|
16
16
|
function MediaInlineCardLoader() {
|
|
17
17
|
var _this;
|
|
@@ -101,7 +101,7 @@ var MediaInlineCardLoader = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
101
101
|
ErrorBoundary = _this$state.ErrorBoundary;
|
|
102
102
|
var analyticsContext = {
|
|
103
103
|
packageVersion: "@atlaskit/media-card",
|
|
104
|
-
packageName: "81.6.
|
|
104
|
+
packageName: "81.6.16",
|
|
105
105
|
componentName: 'mediaInlineCard',
|
|
106
106
|
component: 'mediaInlineCard'
|
|
107
107
|
};
|
|
@@ -9,7 +9,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
9
9
|
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; }
|
|
10
10
|
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) { _defineProperty(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; }
|
|
11
11
|
import React from 'react';
|
|
12
|
-
import
|
|
12
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
13
13
|
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
14
14
|
import { fireMediaCardEvent } from '../utils/analytics';
|
|
15
15
|
var ErrorBoundaryComponent = function ErrorBoundaryComponent(_ref) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
2
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
3
3
|
import { FileFetcherError, toCommonMediaClientError } from '@atlaskit/media-client';
|
|
4
4
|
import { MediaInlineCardErroredView, MediaInlineCardLoadedView, MediaInlineCardLoadingView, messages } from '@atlaskit/media-ui';
|
|
5
5
|
import { formatDate } from '@atlaskit/media-ui/formatDate';
|
|
6
6
|
import { MimeTypeIcon } from '@atlaskit/media-ui/mime-type-icon';
|
|
7
7
|
import { MediaViewer } from '@atlaskit/media-viewer';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
10
|
import React, { useEffect, useRef, useState } from 'react';
|
|
11
11
|
import ReactDOM from 'react-dom';
|
|
12
12
|
import { createIntl, injectIntl, IntlProvider } from 'react-intl';
|
|
13
13
|
import { MediaCardError } from '../errors';
|
|
14
14
|
import { fireMediaCardEvent } from '../utils/analytics';
|
|
15
15
|
import { getErrorStatusPayload, getFailedProcessingStatusPayload, getSucceededStatusPayload } from './mediaInlineCardAnalytics';
|
|
16
|
-
import { useCopyIntent } from '@atlaskit/media-client-react';
|
|
16
|
+
import { useCopyIntent } from '@atlaskit/media-client-react/use-copy-intent';
|
|
17
17
|
import usePressTracing from '@atlaskit/react-ufo/use-press-tracing';
|
|
18
18
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
19
19
|
// UI component which renders an inline link in the appropiate state based on a media file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import SpinnerIcon from '@atlaskit/spinner';
|
|
2
|
+
import SpinnerIcon from '@atlaskit/spinner/spinner';
|
|
3
3
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
4
|
import { LoadingBar } from '../../card/ui/loadingBar/loadingBar';
|
|
5
5
|
import { getDimensionsWithDefault } from './getDimensionsWithDefault';
|
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
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; }
|
|
3
3
|
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) { _defineProperty(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; }
|
|
4
4
|
import { ANALYTICS_MEDIA_CHANNEL } from '@atlaskit/media-common/analytics';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
6
|
import { getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
|
|
7
7
|
import { createMediaDurationMetrics, createUfoDurationMetrics } from './durationMetrics';
|
|
8
8
|
import { sendUfoDurationMetrics } from './ufo';
|
|
@@ -3,17 +3,19 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
|
3
3
|
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; }
|
|
4
4
|
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) { _defineProperty(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; }
|
|
5
5
|
import { useCallback, useEffect, useMemo, useRef } from 'react';
|
|
6
|
-
import { UFOExperience
|
|
6
|
+
import { UFOExperience } from '@atlaskit/ufo/experience';
|
|
7
|
+
import { ExperiencePerformanceTypes, ExperienceTypes } from '@atlaskit/ufo/experience-types';
|
|
8
|
+
import { ConcurrentExperience } from '@atlaskit/ufo/concurrent-experience';
|
|
7
9
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
8
10
|
import { isValidUuid } from '@atlaskit/media-common/isValidUuid';
|
|
9
|
-
import { UFOExperienceState } from '@atlaskit/ufo';
|
|
11
|
+
import { UFOExperienceState } from '@atlaskit/ufo/experience-state';
|
|
10
12
|
import { extractErrorInfo, getRenderErrorRequestMetadata } from './analytics';
|
|
11
13
|
import { MediaCardError } from '../errors';
|
|
12
14
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
13
15
|
import { getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
|
|
14
16
|
import { getMediaGlobalScope } from './globalScope/globalScope';
|
|
15
17
|
var packageName = "@atlaskit/media-card";
|
|
16
|
-
var packageVersion = "81.6.
|
|
18
|
+
var packageVersion = "81.6.16";
|
|
17
19
|
var SAMPLE_RATE = 0.05;
|
|
18
20
|
|
|
19
21
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FileAttributes, type MediaTraceContext, type PerformanceAttributes } from '@atlaskit/media-common';
|
|
2
|
-
import {
|
|
2
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
3
|
import { type SSRStatus } from '../utils/analytics';
|
|
4
4
|
import { type CardStatus } from '../types';
|
|
5
5
|
import { MediaCardError } from '../errors';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React, { type MouseEvent } from 'react';
|
|
2
2
|
import { type MessageDescriptor } from 'react-intl';
|
|
3
3
|
import { type MediaItemType, type FileDetails, type ImageResizeMode, type Identifier } from '@atlaskit/media-client';
|
|
4
|
-
import { type WithAnalyticsEventsProps
|
|
4
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
5
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
5
6
|
import { type CardStatus, type MediaCardCursor, type CardDimensions, type TitleBoxIcon } from '../types';
|
|
6
7
|
import { type MediaFilePreview } from '@atlaskit/media-file-preview';
|
|
7
8
|
import { type CardAction } from './actions';
|
|
@@ -2,7 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { type FileIdentifier, type FileState, type MediaFileArtifacts } from '@atlaskit/media-client';
|
|
3
3
|
import { type NumericalCardDimensions } from '@atlaskit/media-common';
|
|
4
4
|
import { type CardDimensions } from '../types';
|
|
5
|
-
import {
|
|
5
|
+
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
6
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
6
7
|
import type { CardPreview } from '../types';
|
|
7
8
|
export interface InlinePlayerOwnProps {
|
|
8
9
|
identifier: FileIdentifier;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type MediaFeatureFlags } from '@atlaskit/media-common';
|
|
3
3
|
import { type CardDimensions, type CardOnClickCallback } from '../types';
|
|
4
|
-
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
4
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
5
5
|
export type MediaCardAnalyticsErrorBoundaryProps = PropsWithChildren<{
|
|
6
6
|
dimensions?: CardDimensions;
|
|
7
7
|
data?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ReactElement, type RefObject } from 'react';
|
|
2
2
|
import type React from 'react';
|
|
3
|
-
import
|
|
4
|
-
import type { WithMediaClientConfigProps } from '@atlaskit/media-client-react';
|
|
3
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
4
|
+
import type { WithMediaClientConfigProps } from '@atlaskit/media-client-react/with-media-client';
|
|
5
5
|
import type { CardBaseProps } from './card';
|
|
6
6
|
import { type CardDimensions } from '../types';
|
|
7
7
|
export type InlinePlayerWrapperProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type SerializedStyles } from '@emotion/react';
|
|
2
2
|
import { type MouseEvent, type HTMLAttributes } from 'react';
|
|
3
3
|
import type React from 'react';
|
|
4
|
-
import
|
|
4
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
5
5
|
export declare enum CardActionIconButtonVariant {
|
|
6
6
|
default = "default",
|
|
7
7
|
filled = "filled"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MouseEvent } from 'react';
|
|
2
2
|
import type React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
4
4
|
import { type CardDimensions, type CardAppearance } from '../../../types';
|
|
5
5
|
import { type Breakpoint } from '../common';
|
|
6
6
|
import { type MediaCardCursor } from '../../../types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { WithMediaClientConfigProps } from '@atlaskit/media-client-react/with-media-client';
|
|
3
3
|
import { type MediaInlineCardProps } from './mediaInlineCard';
|
|
4
4
|
export type MediaInlineCardWithMediaClientConfigProps = WithMediaClientConfigProps<MediaInlineCardProps>;
|
|
5
5
|
type MediaInlineCardWithMediaClientConfigComponent = React.ComponentType<MediaInlineCardWithMediaClientConfigProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type MediaFeatureFlags } from '@atlaskit/media-common';
|
|
3
|
-
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
4
4
|
export type MediaInlineAnalyticsErrorBoundaryProps = PropsWithChildren<{
|
|
5
5
|
isSelected?: boolean;
|
|
6
6
|
data?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FileState } from '@atlaskit/media-client';
|
|
2
2
|
import { type RenderInlineCardFailedEventPayload, type RenderInlineCardSucceededEventPayload } from '../utils/analytics';
|
|
3
3
|
import { MediaCardError } from '../errors';
|
|
4
|
-
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
5
5
|
import type { ProcessingFailReason } from '@atlaskit/media-state/file-state';
|
|
6
6
|
export declare const getSucceededStatusPayload: (fileState?: FileState) => RenderInlineCardSucceededEventPayload;
|
|
7
7
|
export declare const getErrorStatusPayload: (fileId: string, error: MediaCardError, fileState?: FileState) => RenderInlineCardFailedEventPayload;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type MouseEvent } from 'react';
|
|
5
5
|
import { type FileDetails, type MediaClient, type Identifier, type ImageResizeMode, type FileState } from '@atlaskit/media-client';
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
6
|
+
import type { MediaSettings } from '@atlaskit/media-client-react/media-parsed-settings';
|
|
7
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
8
8
|
import { type MediaFeatureFlags, type NumericalCardDimensions, type SSR } from '@atlaskit/media-common';
|
|
9
9
|
import { type CardAction } from './card/actions';
|
|
10
10
|
import { type MediaCardError, type MediaCardErrorPrimaryReason } from './errors';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type ErrorInfo } from 'react';
|
|
2
2
|
import { type FileDetails, type FileStatus, type MediaClientErrorReason, type RequestErrorMetadata, type RequestMetadata } from '@atlaskit/media-client';
|
|
3
3
|
import { type FileAttributes, type PerformanceAttributes, type OperationalEventPayload, type UIEventPayload, type WithFileAttributes, type WithPerformanceAttributes, type SuccessAttributes, type FailureAttributes, type MediaTraceContext, type WithTraceContext } from '@atlaskit/media-common/analytics';
|
|
4
|
-
import {
|
|
4
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
5
|
+
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
5
6
|
import { type MediaCardError, type MediaCardErrorPrimaryReason } from '../../errors';
|
|
6
7
|
import { type CardPreviewSource, type CardDimensions, type CardStatus } from '../../types';
|
|
7
8
|
import { type SSR } from '@atlaskit/media-common';
|
|
@@ -12,7 +12,8 @@ import {
|
|
|
12
12
|
createRateLimitedError,
|
|
13
13
|
} from '@atlaskit/media-client/test-helpers';
|
|
14
14
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
15
|
-
import FabricAnalyticsListeners
|
|
15
|
+
import FabricAnalyticsListeners from '@atlaskit/analytics-listeners/FabricAnalyticsListeners';
|
|
16
|
+
import type { AnalyticsWebClient } from '@atlaskit/analytics-listeners/types';
|
|
16
17
|
import { payloadPublisher } from '@atlassian/ufo';
|
|
17
18
|
|
|
18
19
|
import AnnotateIcon from '@atlaskit/icon/core/edit';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Component } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import type { MediaClientConfig } from '@atlaskit/media-core/auth';
|
|
4
4
|
import { type Identifier } from '@atlaskit/media-client';
|
|
5
5
|
import { Card } from '../src';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
2
2
|
|
|
3
|
-
import { Label } from '@atlaskit/form';
|
|
3
|
+
import { Label } from '@atlaskit/form/label/default';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, Flex, xcss } from '@atlaskit/primitives';
|
|
6
|
-
import Range from '@atlaskit/range';
|
|
6
|
+
import Range from '@atlaskit/range/range';
|
|
7
7
|
|
|
8
8
|
import { ToggleBox } from './toggle';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type SyntheticEvent, useState } from 'react';
|
|
2
2
|
|
|
3
3
|
import { type FileIdentifier } from '@atlaskit/media-client';
|
|
4
|
-
import { useMediaClient } from '@atlaskit/media-client-react';
|
|
4
|
+
import { useMediaClient } from '@atlaskit/media-client-react/use-media-client';
|
|
5
5
|
|
|
6
6
|
export const useSvgUploader = (
|
|
7
7
|
collectionName?: string,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-card",
|
|
3
|
-
"version": "81.
|
|
3
|
+
"version": "81.7.0",
|
|
4
4
|
"description": "Includes all media card related components, CardView, CardViewSmall, Card...",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,31 +31,32 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@atlaskit/analytics-next": "^12.3.0",
|
|
34
|
-
"@atlaskit/dropdown-menu": "^18.
|
|
34
|
+
"@atlaskit/dropdown-menu": "^18.2.0",
|
|
35
35
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
36
|
-
"@atlaskit/icon": "^37.
|
|
36
|
+
"@atlaskit/icon": "^37.5.0",
|
|
37
37
|
"@atlaskit/interaction-context": "^4.0.0",
|
|
38
|
-
"@atlaskit/link": "^5.
|
|
39
|
-
"@atlaskit/media-client": "^37.
|
|
40
|
-
"@atlaskit/media-client-react": "^6.
|
|
41
|
-
"@atlaskit/media-common": "^14.
|
|
42
|
-
"@atlaskit/media-file-preview": "^1.
|
|
38
|
+
"@atlaskit/link": "^5.1.0",
|
|
39
|
+
"@atlaskit/media-client": "^37.5.0",
|
|
40
|
+
"@atlaskit/media-client-react": "^6.2.0",
|
|
41
|
+
"@atlaskit/media-common": "^14.5.0",
|
|
42
|
+
"@atlaskit/media-file-preview": "^1.2.0",
|
|
43
43
|
"@atlaskit/media-state": "^3.1.0",
|
|
44
|
-
"@atlaskit/media-svg": "^3.
|
|
45
|
-
"@atlaskit/media-ui": "^30.
|
|
46
|
-
"@atlaskit/media-viewer": "^54.
|
|
44
|
+
"@atlaskit/media-svg": "^3.2.0",
|
|
45
|
+
"@atlaskit/media-ui": "^30.12.0",
|
|
46
|
+
"@atlaskit/media-viewer": "^54.6.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
48
|
-
"@atlaskit/primitives": "^22.
|
|
49
|
-
"@atlaskit/progress-bar": "^5.
|
|
48
|
+
"@atlaskit/primitives": "^22.4.0",
|
|
49
|
+
"@atlaskit/progress-bar": "^5.2.0",
|
|
50
50
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
51
|
-
"@atlaskit/react-ufo": "^7.
|
|
52
|
-
"@atlaskit/
|
|
53
|
-
"@atlaskit/
|
|
54
|
-
"@atlaskit/
|
|
55
|
-
"@atlaskit/
|
|
56
|
-
"@atlaskit/
|
|
51
|
+
"@atlaskit/react-ufo": "^7.7.0",
|
|
52
|
+
"@atlaskit/section-message": "^10.1.0",
|
|
53
|
+
"@atlaskit/spinner": "^20.3.0",
|
|
54
|
+
"@atlaskit/theme": "^28.1.0",
|
|
55
|
+
"@atlaskit/tmp-editor-statsig": "^157.0.0",
|
|
56
|
+
"@atlaskit/tokens": "^16.8.0",
|
|
57
|
+
"@atlaskit/tooltip": "^24.2.0",
|
|
57
58
|
"@atlaskit/ufo": "^1.0.0",
|
|
58
|
-
"@atlaskit/visually-hidden": "^4.
|
|
59
|
+
"@atlaskit/visually-hidden": "^4.3.0",
|
|
59
60
|
"@babel/runtime": "^7.0.0",
|
|
60
61
|
"@compiled/react": "^1.0.2",
|
|
61
62
|
"classnames": "^2.2.5",
|
|
@@ -74,16 +75,20 @@
|
|
|
74
75
|
"@af/integration-testing": "workspace:^",
|
|
75
76
|
"@atlaskit/analytics-listeners": "^11.1.0",
|
|
76
77
|
"@atlaskit/analytics-namespaced-context": "^8.1.0",
|
|
77
|
-
"@atlaskit/
|
|
78
|
-
"@atlaskit/
|
|
78
|
+
"@atlaskit/button": "^25.2.0",
|
|
79
|
+
"@atlaskit/checkbox": "^19.1.0",
|
|
80
|
+
"@atlaskit/form": "^17.1.0",
|
|
81
|
+
"@atlaskit/heading": "^7.1.0",
|
|
82
|
+
"@atlaskit/inline-message": "^16.3.0",
|
|
79
83
|
"@atlaskit/media-core": "^38.0.0",
|
|
80
|
-
"@atlaskit/media-picker": "^72.
|
|
84
|
+
"@atlaskit/media-picker": "^72.3.0",
|
|
81
85
|
"@atlaskit/media-test-data": "^4.0.0",
|
|
82
|
-
"@atlaskit/media-test-helpers": "^42.
|
|
83
|
-
"@atlaskit/radio": "^10.
|
|
84
|
-
"@atlaskit/range": "^12.
|
|
86
|
+
"@atlaskit/media-test-helpers": "^42.3.0",
|
|
87
|
+
"@atlaskit/radio": "^10.1.0",
|
|
88
|
+
"@atlaskit/range": "^12.1.0",
|
|
89
|
+
"@atlaskit/select": "^22.8.0",
|
|
85
90
|
"@atlaskit/ssr": "workspace:^",
|
|
86
|
-
"@atlaskit/toggle": "^17.
|
|
91
|
+
"@atlaskit/toggle": "^17.2.0",
|
|
87
92
|
"@atlassian/a11y-jest-testing": "^0.16.0",
|
|
88
93
|
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
89
94
|
"@atlassian/testing-library": "^0.11.0",
|