@atlaskit/editor-plugin-synced-block 13.0.1 → 13.0.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
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
{
|
|
50
50
|
"path": "../../editor-plugin-decorations/afm-products/tsconfig.json"
|
|
51
51
|
},
|
|
52
|
+
{
|
|
53
|
+
"path": "../../editor-plugin-editor-disabled/afm-products/tsconfig.json"
|
|
54
|
+
},
|
|
52
55
|
{
|
|
53
56
|
"path": "../../editor-plugin-floating-toolbar/afm-products/tsconfig.json"
|
|
54
57
|
},
|
|
@@ -91,6 +94,9 @@
|
|
|
91
94
|
{
|
|
92
95
|
"path": "../../../design-system/modal-dialog/afm-products/tsconfig.json"
|
|
93
96
|
},
|
|
97
|
+
{
|
|
98
|
+
"path": "../../../platform/feature-experiments/afm-products/tsconfig.json"
|
|
99
|
+
},
|
|
94
100
|
{
|
|
95
101
|
"path": "../../../platform/feature-flags/afm-products/tsconfig.json"
|
|
96
102
|
},
|
|
@@ -23,7 +23,7 @@ var _SyncBlockRendererWrapper = require("../ui/SyncBlockRendererWrapper");
|
|
|
23
23
|
var _SyncBlockSSRReactContextsProvider = require("../ui/SyncBlockSSRReactContextsProvider");
|
|
24
24
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
25
25
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26
|
-
function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
26
|
+
function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; } // oxlint-disable-next-line import/no-duplicates
|
|
27
27
|
// Event types that should be intercepted (returned as handled) when they
|
|
28
28
|
// originate inside the sync block content area, so ProseMirror does not
|
|
29
29
|
// convert them into node-level selections or drag operations and the browser
|
|
@@ -3,6 +3,8 @@ import React from 'react';
|
|
|
3
3
|
import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { ErrorBoundary } from '@atlaskit/editor-common/error-boundary';
|
|
5
5
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
6
|
+
// oxlint-disable-next-line import/no-duplicates
|
|
7
|
+
|
|
6
8
|
import { SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName, SyncBlockActionsProvider } from '@atlaskit/editor-common/sync-block';
|
|
7
9
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
8
10
|
import { removeSyncedBlockAtPos } from '../editor-commands';
|
|
@@ -12,6 +12,8 @@ import React from 'react';
|
|
|
12
12
|
import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
|
|
13
13
|
import { ErrorBoundary } from '@atlaskit/editor-common/error-boundary';
|
|
14
14
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
15
|
+
// oxlint-disable-next-line import/no-duplicates
|
|
16
|
+
|
|
15
17
|
import { SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName, SyncBlockActionsProvider } from '@atlaskit/editor-common/sync-block';
|
|
16
18
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
17
19
|
import { removeSyncedBlockAtPos } from '../editor-commands';
|
package/docs/0-intro.tsx
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
import { AtlassianInternalWarning, code, md } from '@atlaskit/docs';
|
|
4
|
-
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
5
4
|
import { createEditorUseOnlyNotice } from '@atlaskit/editor-common/doc-utils';
|
|
6
5
|
import { token } from '@atlaskit/tokens';
|
|
7
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-synced-block",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.3",
|
|
4
4
|
"description": "SyncedBlock plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"atlaskit:src": "src/index.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaskit/adf-schema": "^
|
|
23
|
+
"@atlaskit/adf-schema": "^57.0.0",
|
|
24
24
|
"@atlaskit/button": "25.0.4",
|
|
25
|
-
"@atlaskit/dropdown-menu": "18.0.
|
|
26
|
-
"@atlaskit/editor-json-transformer": "^9.
|
|
25
|
+
"@atlaskit/dropdown-menu": "18.0.4",
|
|
26
|
+
"@atlaskit/editor-json-transformer": "^9.4.0",
|
|
27
27
|
"@atlaskit/editor-plugin-analytics": "^15.0.0",
|
|
28
28
|
"@atlaskit/editor-plugin-block-menu": "^14.0.0",
|
|
29
29
|
"@atlaskit/editor-plugin-connectivity": "15.0.0",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@atlaskit/icon": "37.3.0",
|
|
43
43
|
"@atlaskit/icon-lab": "^7.5.0",
|
|
44
44
|
"@atlaskit/logo": "^21.4.0",
|
|
45
|
-
"@atlaskit/lozenge": "^15.
|
|
45
|
+
"@atlaskit/lozenge": "^15.1.0",
|
|
46
46
|
"@atlaskit/modal-dialog": "^16.3.0",
|
|
47
47
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^22.2.0",
|
|
50
50
|
"@atlaskit/spinner": "20.1.2",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^148.0.0",
|
|
52
52
|
"@atlaskit/tokens": "16.7.0",
|
|
53
53
|
"@atlaskit/tooltip": "^24.0.0",
|
|
54
54
|
"@atlaskit/visually-hidden": "^4.2.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"memoize-one": "^6.0.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@atlaskit/editor-common": "^119.
|
|
63
|
+
"@atlaskit/editor-common": "^119.5.0",
|
|
64
64
|
"react": "^18.2.0 || ^19.2.0",
|
|
65
65
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
66
66
|
},
|