@atlaskit/editor-common 110.41.9 → 110.42.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 +19 -0
- package/afm-cc/tsconfig.json +6 -0
- package/afm-jira/tsconfig.json +6 -0
- package/afm-products/tsconfig.json +6 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/extensibility/Extension/Extension/index.js +6 -3
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/extensibility/Extension/Extension/index.js +6 -3
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/extensibility/Extension/Extension/index.js +6 -3
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types/analytics/types/sync-block-events.d.ts +3 -2
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/sync-block-events.d.ts +3 -2
- package/package.json +9 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.42.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`5f95a3d8edc0c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5f95a3d8edc0c) -
|
|
8
|
+
EDITOR-3356 fix macro renderer syle inside layout
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 110.41.10
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`f14e76661c943`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f14e76661c943) -
|
|
19
|
+
[EDITOR-2844] Save reference synced block on document to BE when a page is saved
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 110.41.9
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
{
|
|
28
28
|
"path": "../../activity-provider/afm-cc/tsconfig.json"
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
"path": "../../adf-schema/afm-cc/tsconfig.json"
|
|
32
|
+
},
|
|
30
33
|
{
|
|
31
34
|
"path": "../../adf-utils/afm-cc/tsconfig.json"
|
|
32
35
|
},
|
|
@@ -63,6 +66,9 @@
|
|
|
63
66
|
{
|
|
64
67
|
"path": "../../editor-palette/afm-cc/tsconfig.json"
|
|
65
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"path": "../../editor-prosemirror/afm-cc/tsconfig.json"
|
|
71
|
+
},
|
|
66
72
|
{
|
|
67
73
|
"path": "../../editor-shared-styles/afm-cc/tsconfig.json"
|
|
68
74
|
},
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
{
|
|
28
28
|
"path": "../../activity-provider/afm-jira/tsconfig.json"
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
"path": "../../adf-schema/afm-jira/tsconfig.json"
|
|
32
|
+
},
|
|
30
33
|
{
|
|
31
34
|
"path": "../../adf-utils/afm-jira/tsconfig.json"
|
|
32
35
|
},
|
|
@@ -63,6 +66,9 @@
|
|
|
63
66
|
{
|
|
64
67
|
"path": "../../editor-palette/afm-jira/tsconfig.json"
|
|
65
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"path": "../../editor-prosemirror/afm-jira/tsconfig.json"
|
|
71
|
+
},
|
|
66
72
|
{
|
|
67
73
|
"path": "../../editor-shared-styles/afm-jira/tsconfig.json"
|
|
68
74
|
},
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
{
|
|
28
28
|
"path": "../../activity-provider/afm-products/tsconfig.json"
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
"path": "../../adf-schema/afm-products/tsconfig.json"
|
|
32
|
+
},
|
|
30
33
|
{
|
|
31
34
|
"path": "../../adf-utils/afm-products/tsconfig.json"
|
|
32
35
|
},
|
|
@@ -63,6 +66,9 @@
|
|
|
63
66
|
{
|
|
64
67
|
"path": "../../editor-palette/afm-products/tsconfig.json"
|
|
65
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"path": "../../editor-prosemirror/afm-products/tsconfig.json"
|
|
71
|
+
},
|
|
66
72
|
{
|
|
67
73
|
"path": "../../editor-shared-styles/afm-products/tsconfig.json"
|
|
68
74
|
},
|
|
@@ -527,6 +527,7 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
|
|
|
527
527
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_SOURCE_URL"] = "syncedBlockSourceUrl";
|
|
528
528
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_UPDATE_CACHE"] = "syncedBlockUpdateCache";
|
|
529
529
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_UPDATE"] = "syncedBlockUpdate";
|
|
530
|
+
ACTION_SUBJECT_ID["REFERENCE_SYNCED_BLOCK_UPDATE"] = "referenceSyncedBlockUpdate";
|
|
530
531
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_CREATE"] = "syncedBlockCreate";
|
|
531
532
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_DELETE"] = "syncedBlockDelete";
|
|
532
533
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_GET_SOURCE_INFO"] = "syncedBlockGetSourceInfo";
|
|
@@ -36,6 +36,9 @@ var hoverStyles = (0, _react2.css)({
|
|
|
36
36
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, #8C8F97)")
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
+
var containerStyle = (0, _react2.css)({
|
|
40
|
+
containerType: 'inline-size'
|
|
41
|
+
});
|
|
39
42
|
function ExtensionWithPluginState(props) {
|
|
40
43
|
var _node$attrs;
|
|
41
44
|
var node = props.node,
|
|
@@ -188,10 +191,10 @@ function ExtensionWithPluginState(props) {
|
|
|
188
191
|
"data-testid": "extension-overflow-wrapper"
|
|
189
192
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
190
193
|
,
|
|
191
|
-
className: overflowClassNames
|
|
194
|
+
className: overflowClassNames,
|
|
195
|
+
css: [
|
|
192
196
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
193
|
-
,
|
|
194
|
-
css: _styles2.overflowWrapperStyles
|
|
197
|
+
_styles2.overflowWrapperStyles, (0, _platformFeatureFlags.fg)('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
195
198
|
}, (0, _react2.jsx)("div", {
|
|
196
199
|
className: 'extension-overlay',
|
|
197
200
|
css: _styles.overlay
|
|
@@ -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 = "110.41.
|
|
22
|
+
var packageVersion = "110.41.10";
|
|
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 = "110.41.
|
|
27
|
+
var packageVersion = "110.41.10";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -521,6 +521,7 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
521
521
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_SOURCE_URL"] = "syncedBlockSourceUrl";
|
|
522
522
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_UPDATE_CACHE"] = "syncedBlockUpdateCache";
|
|
523
523
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_UPDATE"] = "syncedBlockUpdate";
|
|
524
|
+
ACTION_SUBJECT_ID["REFERENCE_SYNCED_BLOCK_UPDATE"] = "referenceSyncedBlockUpdate";
|
|
524
525
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_CREATE"] = "syncedBlockCreate";
|
|
525
526
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_DELETE"] = "syncedBlockDelete";
|
|
526
527
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_GET_SOURCE_INFO"] = "syncedBlockGetSourceInfo";
|
|
@@ -24,6 +24,9 @@ const hoverStyles = css({
|
|
|
24
24
|
boxShadow: `0 0 0 1px ${"var(--ds-border-input, #8C8F97)"}`
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
+
const containerStyle = css({
|
|
28
|
+
containerType: 'inline-size'
|
|
29
|
+
});
|
|
27
30
|
function ExtensionWithPluginState(props) {
|
|
28
31
|
var _node$attrs, _node$attrs$parameter, _node$attrs$parameter2, _node$attrs$parameter3;
|
|
29
32
|
const {
|
|
@@ -180,10 +183,10 @@ function ExtensionWithPluginState(props) {
|
|
|
180
183
|
"data-testid": "extension-overflow-wrapper"
|
|
181
184
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
182
185
|
,
|
|
183
|
-
className: overflowClassNames
|
|
186
|
+
className: overflowClassNames,
|
|
187
|
+
css: [
|
|
184
188
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
185
|
-
,
|
|
186
|
-
css: overflowWrapperStyles
|
|
189
|
+
overflowWrapperStyles, fg('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
187
190
|
}, jsx("div", {
|
|
188
191
|
className: 'extension-overlay',
|
|
189
192
|
css: overlay
|
|
@@ -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 = "110.41.
|
|
7
|
+
const packageVersion = "110.41.10";
|
|
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 = "110.41.
|
|
17
|
+
const packageVersion = "110.41.10";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -521,6 +521,7 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
521
521
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_SOURCE_URL"] = "syncedBlockSourceUrl";
|
|
522
522
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_UPDATE_CACHE"] = "syncedBlockUpdateCache";
|
|
523
523
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_UPDATE"] = "syncedBlockUpdate";
|
|
524
|
+
ACTION_SUBJECT_ID["REFERENCE_SYNCED_BLOCK_UPDATE"] = "referenceSyncedBlockUpdate";
|
|
524
525
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_CREATE"] = "syncedBlockCreate";
|
|
525
526
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_DELETE"] = "syncedBlockDelete";
|
|
526
527
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_GET_SOURCE_INFO"] = "syncedBlockGetSourceInfo";
|
|
@@ -29,6 +29,9 @@ var hoverStyles = css({
|
|
|
29
29
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, #8C8F97)")
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
+
var containerStyle = css({
|
|
33
|
+
containerType: 'inline-size'
|
|
34
|
+
});
|
|
32
35
|
function ExtensionWithPluginState(props) {
|
|
33
36
|
var _node$attrs;
|
|
34
37
|
var node = props.node,
|
|
@@ -181,10 +184,10 @@ function ExtensionWithPluginState(props) {
|
|
|
181
184
|
"data-testid": "extension-overflow-wrapper"
|
|
182
185
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
183
186
|
,
|
|
184
|
-
className: overflowClassNames
|
|
187
|
+
className: overflowClassNames,
|
|
188
|
+
css: [
|
|
185
189
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
186
|
-
,
|
|
187
|
-
css: overflowWrapperStyles
|
|
190
|
+
overflowWrapperStyles, fg('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
188
191
|
}, jsx("div", {
|
|
189
192
|
className: 'extension-overlay',
|
|
190
193
|
css: overlay
|
|
@@ -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 = "110.41.
|
|
13
|
+
var packageVersion = "110.41.10";
|
|
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 = "110.41.
|
|
24
|
+
var packageVersion = "110.41.10";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -513,6 +513,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
513
513
|
SYNCED_BLOCK_SOURCE_URL = "syncedBlockSourceUrl",
|
|
514
514
|
SYNCED_BLOCK_UPDATE_CACHE = "syncedBlockUpdateCache",
|
|
515
515
|
SYNCED_BLOCK_UPDATE = "syncedBlockUpdate",
|
|
516
|
+
REFERENCE_SYNCED_BLOCK_UPDATE = "referenceSyncedBlockUpdate",
|
|
516
517
|
SYNCED_BLOCK_CREATE = "syncedBlockCreate",
|
|
517
518
|
SYNCED_BLOCK_DELETE = "syncedBlockDelete",
|
|
518
519
|
SYNCED_BLOCK_GET_SOURCE_INFO = "syncedBlockGetSourceInfo",
|
|
@@ -6,10 +6,11 @@ type SyncedBlockErrorAttributes = {
|
|
|
6
6
|
export type SyncedBlockSourceURLErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_SOURCE_URL, SyncedBlockErrorAttributes>;
|
|
7
7
|
export type SyncedBlockUpdateCacheErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_UPDATE_CACHE, SyncedBlockErrorAttributes>;
|
|
8
8
|
export type SyncedBlockUpdateErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_UPDATE, SyncedBlockErrorAttributes>;
|
|
9
|
+
export type ReferenceSyncedBlockUpdateErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.REFERENCE_SYNCED_BLOCK_UPDATE, SyncedBlockErrorAttributes>;
|
|
9
10
|
export type SyncedBlockCreateErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_CREATE, SyncedBlockErrorAttributes>;
|
|
10
11
|
export type SyncedBlockDeleteErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_DELETE, SyncedBlockErrorAttributes>;
|
|
11
12
|
export type SyncedBlockGetSourceInfoErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_GET_SOURCE_INFO, SyncedBlockErrorAttributes>;
|
|
12
13
|
export type SyncedBlockFetchErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_FETCH, SyncedBlockErrorAttributes>;
|
|
13
|
-
export type SyncBlockEventPayload = SyncedBlockSourceURLErrorAEP | SyncedBlockUpdateCacheErrorAEP | SyncedBlockUpdateErrorAEP | SyncedBlockCreateErrorAEP | SyncedBlockDeleteErrorAEP | SyncedBlockGetSourceInfoErrorAEP | SyncedBlockFetchErrorAEP;
|
|
14
|
-
export type RendererSyncBlockEventPayload = SyncedBlockGetSourceInfoErrorAEP | SyncedBlockFetchErrorAEP;
|
|
14
|
+
export type SyncBlockEventPayload = SyncedBlockSourceURLErrorAEP | SyncedBlockUpdateCacheErrorAEP | SyncedBlockUpdateErrorAEP | SyncedBlockCreateErrorAEP | SyncedBlockDeleteErrorAEP | SyncedBlockGetSourceInfoErrorAEP | SyncedBlockFetchErrorAEP | ReferenceSyncedBlockUpdateErrorAEP;
|
|
15
|
+
export type RendererSyncBlockEventPayload = SyncedBlockGetSourceInfoErrorAEP | SyncedBlockFetchErrorAEP | ReferenceSyncedBlockUpdateErrorAEP;
|
|
15
16
|
export {};
|
|
@@ -513,6 +513,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
513
513
|
SYNCED_BLOCK_SOURCE_URL = "syncedBlockSourceUrl",
|
|
514
514
|
SYNCED_BLOCK_UPDATE_CACHE = "syncedBlockUpdateCache",
|
|
515
515
|
SYNCED_BLOCK_UPDATE = "syncedBlockUpdate",
|
|
516
|
+
REFERENCE_SYNCED_BLOCK_UPDATE = "referenceSyncedBlockUpdate",
|
|
516
517
|
SYNCED_BLOCK_CREATE = "syncedBlockCreate",
|
|
517
518
|
SYNCED_BLOCK_DELETE = "syncedBlockDelete",
|
|
518
519
|
SYNCED_BLOCK_GET_SOURCE_INFO = "syncedBlockGetSourceInfo",
|
|
@@ -6,10 +6,11 @@ type SyncedBlockErrorAttributes = {
|
|
|
6
6
|
export type SyncedBlockSourceURLErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_SOURCE_URL, SyncedBlockErrorAttributes>;
|
|
7
7
|
export type SyncedBlockUpdateCacheErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_UPDATE_CACHE, SyncedBlockErrorAttributes>;
|
|
8
8
|
export type SyncedBlockUpdateErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_UPDATE, SyncedBlockErrorAttributes>;
|
|
9
|
+
export type ReferenceSyncedBlockUpdateErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.REFERENCE_SYNCED_BLOCK_UPDATE, SyncedBlockErrorAttributes>;
|
|
9
10
|
export type SyncedBlockCreateErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_CREATE, SyncedBlockErrorAttributes>;
|
|
10
11
|
export type SyncedBlockDeleteErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_DELETE, SyncedBlockErrorAttributes>;
|
|
11
12
|
export type SyncedBlockGetSourceInfoErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_GET_SOURCE_INFO, SyncedBlockErrorAttributes>;
|
|
12
13
|
export type SyncedBlockFetchErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_FETCH, SyncedBlockErrorAttributes>;
|
|
13
|
-
export type SyncBlockEventPayload = SyncedBlockSourceURLErrorAEP | SyncedBlockUpdateCacheErrorAEP | SyncedBlockUpdateErrorAEP | SyncedBlockCreateErrorAEP | SyncedBlockDeleteErrorAEP | SyncedBlockGetSourceInfoErrorAEP | SyncedBlockFetchErrorAEP;
|
|
14
|
-
export type RendererSyncBlockEventPayload = SyncedBlockGetSourceInfoErrorAEP | SyncedBlockFetchErrorAEP;
|
|
14
|
+
export type SyncBlockEventPayload = SyncedBlockSourceURLErrorAEP | SyncedBlockUpdateCacheErrorAEP | SyncedBlockUpdateErrorAEP | SyncedBlockCreateErrorAEP | SyncedBlockDeleteErrorAEP | SyncedBlockGetSourceInfoErrorAEP | SyncedBlockFetchErrorAEP | ReferenceSyncedBlockUpdateErrorAEP;
|
|
15
|
+
export type RendererSyncBlockEventPayload = SyncedBlockGetSourceInfoErrorAEP | SyncedBlockFetchErrorAEP | ReferenceSyncedBlockUpdateErrorAEP;
|
|
15
16
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.
|
|
3
|
+
"version": "110.42.0",
|
|
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/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
33
|
-
"@atlaskit/adf-schema": "^51.5.
|
|
33
|
+
"@atlaskit/adf-schema": "^51.5.0",
|
|
34
34
|
"@atlaskit/adf-utils": "^19.26.0",
|
|
35
35
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.10.0",
|
|
36
36
|
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
45
45
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
46
46
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
47
|
-
"@atlaskit/editor-prosemirror": "7.
|
|
47
|
+
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
48
48
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
49
49
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
50
50
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
52
52
|
"@atlaskit/emoji": "^69.9.0",
|
|
53
|
-
"@atlaskit/icon": "^29.
|
|
54
|
-
"@atlaskit/icon-object": "^7.
|
|
53
|
+
"@atlaskit/icon": "^29.1.0",
|
|
54
|
+
"@atlaskit/icon-object": "^7.4.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
56
|
"@atlaskit/link-datasource": "^4.30.0",
|
|
57
57
|
"@atlaskit/link-picker": "^4.1.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^15.10.0",
|
|
85
85
|
"@atlaskit/tokens": "^8.4.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.11.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -275,6 +275,9 @@
|
|
|
275
275
|
},
|
|
276
276
|
"platform_editor_table_numbered_table_border": {
|
|
277
277
|
"type": "boolean"
|
|
278
|
+
},
|
|
279
|
+
"platform_fix_macro_renders_in_layouts": {
|
|
280
|
+
"type": "boolean"
|
|
278
281
|
}
|
|
279
282
|
}
|
|
280
283
|
}
|