@atlaskit/editor-common 114.13.2 → 114.13.3

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,12 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 114.13.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`69400efcd04d5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/69400efcd04d5) -
8
+ Copy snippet media before insertion
9
+
3
10
  ## 114.13.2
4
11
 
5
12
  ### Patch Changes
@@ -89,9 +89,6 @@
89
89
  {
90
90
  "path": "../../../design-system/icon/afm-cc/tsconfig.json"
91
91
  },
92
- {
93
- "path": "../../../design-system/icon-object/afm-cc/tsconfig.json"
94
- },
95
92
  {
96
93
  "path": "../../../design-system/link/afm-cc/tsconfig.json"
97
94
  },
@@ -131,6 +128,9 @@
131
128
  {
132
129
  "path": "../../../design-system/menu/afm-cc/tsconfig.json"
133
130
  },
131
+ {
132
+ "path": "../../../design-system/object/afm-cc/tsconfig.json"
133
+ },
134
134
  {
135
135
  "path": "../../../design-system/onboarding/afm-cc/tsconfig.json"
136
136
  },
@@ -89,9 +89,6 @@
89
89
  {
90
90
  "path": "../../../design-system/icon/afm-products/tsconfig.json"
91
91
  },
92
- {
93
- "path": "../../../design-system/icon-object/afm-products/tsconfig.json"
94
- },
95
92
  {
96
93
  "path": "../../../design-system/link/afm-products/tsconfig.json"
97
94
  },
@@ -131,6 +128,9 @@
131
128
  {
132
129
  "path": "../../../design-system/menu/afm-products/tsconfig.json"
133
130
  },
131
+ {
132
+ "path": "../../../design-system/object/afm-products/tsconfig.json"
133
+ },
134
134
  {
135
135
  "path": "../../../design-system/onboarding/afm-products/tsconfig.json"
136
136
  },
@@ -24,8 +24,8 @@ var _reactFocusLock = _interopRequireDefault(require("react-focus-lock"));
24
24
  var _reactIntl = require("react-intl");
25
25
  var _adfSchema = require("@atlaskit/adf-schema");
26
26
  var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
27
- var _ = _interopRequireDefault(require("@atlaskit/icon-object/glyph/page/16"));
28
27
  var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
28
+ var _page = _interopRequireDefault(require("@atlaskit/object/page"));
29
29
  var _primitives = require("@atlaskit/primitives");
30
30
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
31
31
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
@@ -127,8 +127,8 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
127
127
  description: 'Visible label for text input in hyperlink floating control'
128
128
  }
129
129
  });
130
- var defaultIcon = (0, _react2.jsx)(_.default, {
131
- label: 'page'
130
+ var defaultIcon = (0, _react2.jsx)(_page.default, {
131
+ label: "page"
132
132
  });
133
133
  var mapActivityProviderResultToLinkSearchItemData = function mapActivityProviderResultToLinkSearchItemData(_ref) {
134
134
  var name = _ref.name,
@@ -9,12 +9,12 @@ exports.wordCount = exports.sha1 = exports.mapContentTypeToIcon = void 0;
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _reactIntl = require("react-intl");
11
11
  var _rusha = _interopRequireDefault(require("rusha"));
12
- var _ = _interopRequireDefault(require("@atlaskit/icon-object/glyph/blog/16"));
13
- var _2 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/bug/16"));
14
- var _3 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/issue/16"));
15
- var _4 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/page/16"));
16
- var _5 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/story/16"));
17
- var _6 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/task/16"));
12
+ var _blog = _interopRequireDefault(require("@atlaskit/object/blog"));
13
+ var _bug = _interopRequireDefault(require("@atlaskit/object/bug"));
14
+ var _page = _interopRequireDefault(require("@atlaskit/object/page"));
15
+ var _story = _interopRequireDefault(require("@atlaskit/object/story"));
16
+ var _task = _interopRequireDefault(require("@atlaskit/object/task"));
17
+ var _workItem = _interopRequireDefault(require("@atlaskit/object/work-item"));
18
18
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
19
19
  var _messages = require("./messages");
20
20
  function filterUniqueItems(arr, comparator) {
@@ -26,37 +26,37 @@ function filterUniqueItems(arr, comparator) {
26
26
  }
27
27
  var Issue16 = function Issue16(props) {
28
28
  var intl = props.intl;
29
- return /*#__PURE__*/_react.default.createElement(_3.default, {
29
+ return /*#__PURE__*/_react.default.createElement(_workItem.default, {
30
30
  label: intl.formatMessage((0, _platformFeatureFlags.fg)('confluence-issue-terminology-refresh') ? _messages.utilMessages.hyperlinkIconIssueLabelIssueTermRefresh : _messages.utilMessages.hyperlinkIconIssueLabel)
31
31
  });
32
32
  };
33
33
  var Bug16 = function Bug16(props) {
34
34
  var intl = props.intl;
35
- return /*#__PURE__*/_react.default.createElement(_2.default, {
35
+ return /*#__PURE__*/_react.default.createElement(_bug.default, {
36
36
  label: intl.formatMessage(_messages.utilMessages.hyperlinkIconBugLabel)
37
37
  });
38
38
  };
39
39
  var Story16 = function Story16(props) {
40
40
  var intl = props.intl;
41
- return /*#__PURE__*/_react.default.createElement(_5.default, {
41
+ return /*#__PURE__*/_react.default.createElement(_story.default, {
42
42
  label: intl.formatMessage(_messages.utilMessages.hyperlinkIconStoryLabel)
43
43
  });
44
44
  };
45
45
  var Task16 = function Task16(props) {
46
46
  var intl = props.intl;
47
- return /*#__PURE__*/_react.default.createElement(_6.default, {
47
+ return /*#__PURE__*/_react.default.createElement(_task.default, {
48
48
  label: intl.formatMessage(_messages.utilMessages.hyperlinkIconTaskLabel)
49
49
  });
50
50
  };
51
51
  var Page16 = function Page16(props) {
52
52
  var intl = props.intl;
53
- return /*#__PURE__*/_react.default.createElement(_4.default, {
53
+ return /*#__PURE__*/_react.default.createElement(_page.default, {
54
54
  label: intl.formatMessage(_messages.utilMessages.hyperlinkIconPageLabel)
55
55
  });
56
56
  };
57
57
  var Blog16 = function Blog16(props) {
58
58
  var intl = props.intl;
59
- return /*#__PURE__*/_react.default.createElement(_.default, {
59
+ return /*#__PURE__*/_react.default.createElement(_blog.default, {
60
60
  label: intl.formatMessage(_messages.utilMessages.hyperlinkIconBlogLabel)
61
61
  });
62
62
  };
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "114.13.1";
22
+ var packageVersion = "114.13.3";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "114.13.1";
27
+ var packageVersion = "114.13.3";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -15,8 +15,8 @@ import FocusLock from 'react-focus-lock';
15
15
  import { defineMessages, injectIntl } from 'react-intl';
16
16
  import { isSafeUrl } from '@atlaskit/adf-schema';
17
17
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
18
- import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
19
18
  import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
19
+ import PageObject from '@atlaskit/object/page';
20
20
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
21
  import { Pressable, xcss } from '@atlaskit/primitives';
22
22
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -113,8 +113,8 @@ export const messages = defineMessages({
113
113
  description: 'Visible label for text input in hyperlink floating control'
114
114
  }
115
115
  });
116
- const defaultIcon = jsx(Page16Icon, {
117
- label: 'page'
116
+ const defaultIcon = jsx(PageObject, {
117
+ label: "page"
118
118
  });
119
119
  const mapActivityProviderResultToLinkSearchItemData = ({
120
120
  name,
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { injectIntl } from 'react-intl';
3
3
  import Rusha from 'rusha';
4
- import Blog16Icon from '@atlaskit/icon-object/glyph/blog/16';
5
- import Bug16Icon from '@atlaskit/icon-object/glyph/bug/16';
6
- import Issue16Icon from '@atlaskit/icon-object/glyph/issue/16';
7
- import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
8
- import Story16Icon from '@atlaskit/icon-object/glyph/story/16';
9
- import Task16Icon from '@atlaskit/icon-object/glyph/task/16';
4
+ import BlogObject from '@atlaskit/object/blog';
5
+ import BugObject from '@atlaskit/object/bug';
6
+ import PageObject from '@atlaskit/object/page';
7
+ import StoryObject from '@atlaskit/object/story';
8
+ import TaskObject from '@atlaskit/object/task';
9
+ import WorkItemObject from '@atlaskit/object/work-item';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import { utilMessages } from './messages';
12
12
  export function filterUniqueItems(arr, comparator) {
@@ -18,7 +18,7 @@ const Issue16 = props => {
18
18
  const {
19
19
  intl
20
20
  } = props;
21
- return /*#__PURE__*/React.createElement(Issue16Icon, {
21
+ return /*#__PURE__*/React.createElement(WorkItemObject, {
22
22
  label: intl.formatMessage(fg('confluence-issue-terminology-refresh') ? utilMessages.hyperlinkIconIssueLabelIssueTermRefresh : utilMessages.hyperlinkIconIssueLabel)
23
23
  });
24
24
  };
@@ -26,7 +26,7 @@ const Bug16 = props => {
26
26
  const {
27
27
  intl
28
28
  } = props;
29
- return /*#__PURE__*/React.createElement(Bug16Icon, {
29
+ return /*#__PURE__*/React.createElement(BugObject, {
30
30
  label: intl.formatMessage(utilMessages.hyperlinkIconBugLabel)
31
31
  });
32
32
  };
@@ -34,7 +34,7 @@ const Story16 = props => {
34
34
  const {
35
35
  intl
36
36
  } = props;
37
- return /*#__PURE__*/React.createElement(Story16Icon, {
37
+ return /*#__PURE__*/React.createElement(StoryObject, {
38
38
  label: intl.formatMessage(utilMessages.hyperlinkIconStoryLabel)
39
39
  });
40
40
  };
@@ -42,7 +42,7 @@ const Task16 = props => {
42
42
  const {
43
43
  intl
44
44
  } = props;
45
- return /*#__PURE__*/React.createElement(Task16Icon, {
45
+ return /*#__PURE__*/React.createElement(TaskObject, {
46
46
  label: intl.formatMessage(utilMessages.hyperlinkIconTaskLabel)
47
47
  });
48
48
  };
@@ -50,7 +50,7 @@ const Page16 = props => {
50
50
  const {
51
51
  intl
52
52
  } = props;
53
- return /*#__PURE__*/React.createElement(Page16Icon, {
53
+ return /*#__PURE__*/React.createElement(PageObject, {
54
54
  label: intl.formatMessage(utilMessages.hyperlinkIconPageLabel)
55
55
  });
56
56
  };
@@ -58,7 +58,7 @@ const Blog16 = props => {
58
58
  const {
59
59
  intl
60
60
  } = props;
61
- return /*#__PURE__*/React.createElement(Blog16Icon, {
61
+ return /*#__PURE__*/React.createElement(BlogObject, {
62
62
  label: intl.formatMessage(utilMessages.hyperlinkIconBlogLabel)
63
63
  });
64
64
  };
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "114.13.1";
7
+ const packageVersion = "114.13.3";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "114.13.1";
17
+ const packageVersion = "114.13.3";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -26,8 +26,8 @@ import FocusLock from 'react-focus-lock';
26
26
  import { defineMessages, injectIntl } from 'react-intl';
27
27
  import { isSafeUrl } from '@atlaskit/adf-schema';
28
28
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
29
- import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
30
29
  import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
30
+ import PageObject from '@atlaskit/object/page';
31
31
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
32
32
  import { Pressable, xcss } from '@atlaskit/primitives';
33
33
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -124,8 +124,8 @@ export var messages = defineMessages({
124
124
  description: 'Visible label for text input in hyperlink floating control'
125
125
  }
126
126
  });
127
- var defaultIcon = jsx(Page16Icon, {
128
- label: 'page'
127
+ var defaultIcon = jsx(PageObject, {
128
+ label: "page"
129
129
  });
130
130
  var mapActivityProviderResultToLinkSearchItemData = function mapActivityProviderResultToLinkSearchItemData(_ref) {
131
131
  var name = _ref.name,
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { injectIntl } from 'react-intl';
3
3
  import Rusha from 'rusha';
4
- import Blog16Icon from '@atlaskit/icon-object/glyph/blog/16';
5
- import Bug16Icon from '@atlaskit/icon-object/glyph/bug/16';
6
- import Issue16Icon from '@atlaskit/icon-object/glyph/issue/16';
7
- import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
8
- import Story16Icon from '@atlaskit/icon-object/glyph/story/16';
9
- import Task16Icon from '@atlaskit/icon-object/glyph/task/16';
4
+ import BlogObject from '@atlaskit/object/blog';
5
+ import BugObject from '@atlaskit/object/bug';
6
+ import PageObject from '@atlaskit/object/page';
7
+ import StoryObject from '@atlaskit/object/story';
8
+ import TaskObject from '@atlaskit/object/task';
9
+ import WorkItemObject from '@atlaskit/object/work-item';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import { utilMessages } from './messages';
12
12
  export function filterUniqueItems(arr, comparator) {
@@ -18,37 +18,37 @@ export function filterUniqueItems(arr, comparator) {
18
18
  }
19
19
  var Issue16 = function Issue16(props) {
20
20
  var intl = props.intl;
21
- return /*#__PURE__*/React.createElement(Issue16Icon, {
21
+ return /*#__PURE__*/React.createElement(WorkItemObject, {
22
22
  label: intl.formatMessage(fg('confluence-issue-terminology-refresh') ? utilMessages.hyperlinkIconIssueLabelIssueTermRefresh : utilMessages.hyperlinkIconIssueLabel)
23
23
  });
24
24
  };
25
25
  var Bug16 = function Bug16(props) {
26
26
  var intl = props.intl;
27
- return /*#__PURE__*/React.createElement(Bug16Icon, {
27
+ return /*#__PURE__*/React.createElement(BugObject, {
28
28
  label: intl.formatMessage(utilMessages.hyperlinkIconBugLabel)
29
29
  });
30
30
  };
31
31
  var Story16 = function Story16(props) {
32
32
  var intl = props.intl;
33
- return /*#__PURE__*/React.createElement(Story16Icon, {
33
+ return /*#__PURE__*/React.createElement(StoryObject, {
34
34
  label: intl.formatMessage(utilMessages.hyperlinkIconStoryLabel)
35
35
  });
36
36
  };
37
37
  var Task16 = function Task16(props) {
38
38
  var intl = props.intl;
39
- return /*#__PURE__*/React.createElement(Task16Icon, {
39
+ return /*#__PURE__*/React.createElement(TaskObject, {
40
40
  label: intl.formatMessage(utilMessages.hyperlinkIconTaskLabel)
41
41
  });
42
42
  };
43
43
  var Page16 = function Page16(props) {
44
44
  var intl = props.intl;
45
- return /*#__PURE__*/React.createElement(Page16Icon, {
45
+ return /*#__PURE__*/React.createElement(PageObject, {
46
46
  label: intl.formatMessage(utilMessages.hyperlinkIconPageLabel)
47
47
  });
48
48
  };
49
49
  var Blog16 = function Blog16(props) {
50
50
  var intl = props.intl;
51
- return /*#__PURE__*/React.createElement(Blog16Icon, {
51
+ return /*#__PURE__*/React.createElement(BlogObject, {
52
52
  label: intl.formatMessage(utilMessages.hyperlinkIconBlogLabel)
53
53
  });
54
54
  };
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "114.13.1";
13
+ var packageVersion = "114.13.3";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "114.13.1";
24
+ var packageVersion = "114.13.3";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -159,10 +159,16 @@ type FailedToInsertSnippetAEP = OperationalAEP<ACTION.FAILED_TO_INSERT, ACTION_S
159
159
  reason: 'emptyBody' | 'parseError';
160
160
  snippetId: string;
161
161
  } | {
162
- failedMediaFiles: number;
163
- reason: 'partialMediaCopyIntentFailure';
162
+ numFailedMediaFiles: number;
163
+ numTotalMediaFiles: number;
164
+ reason: 'snippetMediaDirectCopyFailed';
165
+ snippetId: string;
166
+ snippetMediaCopyStatus: 'copied' | 'partial-copy' | 'failed' | 'copy-unavailable';
167
+ } | {
168
+ numFailedMediaFiles: number;
169
+ numTotalMediaFiles: number;
170
+ reason: 'snippetMediaDirectCopyUnexpectedError';
164
171
  snippetId: string;
165
- totalMediaFiles: number;
166
172
  }>;
167
173
  export type InsertEventPayload = InsertDividerAEP | InsertLineBreakAEP | InsertPanelAEP | InsertCodeBlockAEP | InsertTableAEP | InsertExpandAEP | InsertActionDecisionAEP | InsertEmojiAEP | InsertStatusAEP | InsertMediaSingleAEP | InsertMediaGroupAEP | InsertMediaInlineAEP | InsertLinkAEP | InsertLinkPreviewAEP | InsertMediaLinkAEP | InsertSmartLinkAEP | InsertLayoutAEP | InsertExtensionAEP | InsertNodeViaExtensionAPIAEP | InsertDateAEP | InsertPlaceholderTextAEP | InsertNativeEmbedAEP | FailedToInsertMediaPayload | InsertReferenceSyncedBlockPayload | InsertSourceSyncedBlockPayload | InsertSnippetAEP | FailedToInsertSnippetAEP;
168
174
  export {};
@@ -159,10 +159,16 @@ type FailedToInsertSnippetAEP = OperationalAEP<ACTION.FAILED_TO_INSERT, ACTION_S
159
159
  reason: 'emptyBody' | 'parseError';
160
160
  snippetId: string;
161
161
  } | {
162
- failedMediaFiles: number;
163
- reason: 'partialMediaCopyIntentFailure';
162
+ numFailedMediaFiles: number;
163
+ numTotalMediaFiles: number;
164
+ reason: 'snippetMediaDirectCopyFailed';
165
+ snippetId: string;
166
+ snippetMediaCopyStatus: 'copied' | 'partial-copy' | 'failed' | 'copy-unavailable';
167
+ } | {
168
+ numFailedMediaFiles: number;
169
+ numTotalMediaFiles: number;
170
+ reason: 'snippetMediaDirectCopyUnexpectedError';
164
171
  snippetId: string;
165
- totalMediaFiles: number;
166
172
  }>;
167
173
  export type InsertEventPayload = InsertDividerAEP | InsertLineBreakAEP | InsertPanelAEP | InsertCodeBlockAEP | InsertTableAEP | InsertExpandAEP | InsertActionDecisionAEP | InsertEmojiAEP | InsertStatusAEP | InsertMediaSingleAEP | InsertMediaGroupAEP | InsertMediaInlineAEP | InsertLinkAEP | InsertLinkPreviewAEP | InsertMediaLinkAEP | InsertSmartLinkAEP | InsertLayoutAEP | InsertExtensionAEP | InsertNodeViaExtensionAPIAEP | InsertDateAEP | InsertPlaceholderTextAEP | InsertNativeEmbedAEP | FailedToInsertMediaPayload | InsertReferenceSyncedBlockPayload | InsertSourceSyncedBlockPayload | InsertSnippetAEP | FailedToInsertSnippetAEP;
168
174
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "114.13.2",
3
+ "version": "114.13.3",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@atlaskit/activity-provider": "^2.5.0",
40
- "@atlaskit/adf-schema": "^52.6.0",
41
- "@atlaskit/adf-utils": "^19.27.0",
40
+ "@atlaskit/adf-schema": "^52.7.0",
41
+ "@atlaskit/adf-utils": "^19.28.0",
42
42
  "@atlaskit/afm-i18n-platform-editor-editor-common": "2.18.0",
43
43
  "@atlaskit/analytics-listeners": "^10.0.0",
44
44
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
@@ -59,20 +59,20 @@
59
59
  "@atlaskit/editor-toolbar-model": "^0.4.0",
60
60
  "@atlaskit/emoji": "^70.2.0",
61
61
  "@atlaskit/icon": "^34.3.0",
62
- "@atlaskit/icon-object": "^7.5.0",
63
62
  "@atlaskit/link": "^3.4.0",
64
63
  "@atlaskit/link-datasource": "^5.2.0",
65
64
  "@atlaskit/link-picker": "^5.1.0",
66
- "@atlaskit/media-card": "^80.3.0",
67
- "@atlaskit/media-client": "^36.0.0",
65
+ "@atlaskit/media-card": "^80.4.0",
66
+ "@atlaskit/media-client": "^36.1.0",
68
67
  "@atlaskit/media-client-react": "^5.1.0",
69
- "@atlaskit/media-common": "^13.1.0",
68
+ "@atlaskit/media-common": "^13.2.0",
70
69
  "@atlaskit/media-file-preview": "^0.17.0",
71
- "@atlaskit/media-picker": "^71.1.0",
70
+ "@atlaskit/media-picker": "^71.2.0",
72
71
  "@atlaskit/media-ui": "^29.1.0",
73
72
  "@atlaskit/media-viewer": "^53.1.0",
74
73
  "@atlaskit/mention": "^25.0.0",
75
74
  "@atlaskit/menu": "^8.5.0",
75
+ "@atlaskit/object": "^1.0.0",
76
76
  "@atlaskit/onboarding": "^14.6.0",
77
77
  "@atlaskit/platform-feature-flags": "^1.1.0",
78
78
  "@atlaskit/platform-feature-flags-react": "^0.4.0",