@atlaskit/editor-plugin-synced-block 6.0.13 → 6.0.14

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.
@@ -1,7 +1,6 @@
1
1
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
2
  import type { SyncBlockStoreManager } from '@atlaskit/editor-synced-block-provider';
3
3
  import type { SyncedBlockPlugin } from '../syncedBlockPluginType';
4
- export declare const SYNC_BLOCK_FETCH_INTERVAL = 3000;
5
4
  export declare const SyncBlockRefresher: ({ syncBlockStoreManager, api, }: {
6
5
  api?: ExtractInjectionAPI<SyncedBlockPlugin>;
7
6
  syncBlockStoreManager: SyncBlockStoreManager;
@@ -1,7 +1,6 @@
1
1
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
2
  import type { SyncBlockStoreManager } from '@atlaskit/editor-synced-block-provider';
3
3
  import type { SyncedBlockPlugin } from '../syncedBlockPluginType';
4
- export declare const SYNC_BLOCK_FETCH_INTERVAL = 3000;
5
4
  export declare const SyncBlockRefresher: ({ syncBlockStoreManager, api, }: {
6
5
  api?: ExtractInjectionAPI<SyncedBlockPlugin>;
7
6
  syncBlockStoreManager: SyncBlockStoreManager;
package/docs/0-intro.tsx CHANGED
@@ -5,21 +5,20 @@ import { AtlassianInternalWarning, code, md } from '@atlaskit/docs';
5
5
  import { createEditorUseOnlyNotice } from '@atlaskit/editor-common/doc-utils';
6
6
  import { token } from '@atlaskit/tokens';
7
7
 
8
- export default md`
8
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- md template from @atlaskit/docs
9
+ const _default_1: any = md`
9
10
 
10
11
  ${createEditorUseOnlyNotice('Editor Plugin Synced Block', [
11
- { name: 'Editor Core', link: '/packages/editor/editor-core' },
12
+ { name: 'Editor Core', link: '/packages/editor/editor-core' },
12
13
  ])}
13
14
 
14
15
 
15
- ${
16
- (
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
18
- <div style={{ marginTop: token('space.100', '8px') }}>
19
- <AtlassianInternalWarning />
20
- </div>
21
- )
22
- }
16
+ ${(
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
18
+ <div style={{ marginTop: token('space.100', '8px') }}>
19
+ <AtlassianInternalWarning />
20
+ </div>
21
+ )}
23
22
 
24
23
  This package includes the synced block plugin used by \`@atlaskit/editor-core\`.
25
24
 
@@ -41,3 +40,4 @@ For internal Atlassian, visit the slack channel [#help-editor](https://atlassian
41
40
  ---
42
41
  Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.
43
42
  `;
43
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-synced-block",
3
- "version": "6.0.13",
3
+ "version": "6.0.14",
4
4
  "description": "SyncedBlock plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,7 +29,7 @@
29
29
  "atlaskit:src": "src/index.ts",
30
30
  "dependencies": {
31
31
  "@atlaskit/adf-schema": "^52.4.0",
32
- "@atlaskit/button": "23.10.3",
32
+ "@atlaskit/button": "23.10.4",
33
33
  "@atlaskit/dropdown-menu": "16.7.1",
34
34
  "@atlaskit/editor-json-transformer": "^8.31.0",
35
35
  "@atlaskit/editor-plugin-analytics": "^8.0.0",
@@ -54,9 +54,9 @@
54
54
  "@atlaskit/platform-feature-flags": "^1.1.0",
55
55
  "@atlaskit/primitives": "^18.0.0",
56
56
  "@atlaskit/spinner": "19.0.11",
57
- "@atlaskit/tmp-editor-statsig": "^40.5.0",
57
+ "@atlaskit/tmp-editor-statsig": "^40.6.0",
58
58
  "@atlaskit/tokens": "11.1.1",
59
- "@atlaskit/tooltip": "^20.14.0",
59
+ "@atlaskit/tooltip": "^21.0.0",
60
60
  "@atlaskit/visually-hidden": "^3.0.0",
61
61
  "@babel/runtime": "^7.0.0",
62
62
  "@compiled/react": "^0.20.0",
@@ -65,7 +65,7 @@
65
65
  "react-intl-next": "npm:react-intl@^5.18.1"
66
66
  },
67
67
  "peerDependencies": {
68
- "@atlaskit/editor-common": "^112.5.0",
68
+ "@atlaskit/editor-common": "^112.6.0",
69
69
  "react": "^18.2.0"
70
70
  },
71
71
  "devDependencies": {
@@ -108,9 +108,6 @@
108
108
  }
109
109
  },
110
110
  "platform-feature-flags": {
111
- "platform_synced_block_patch_5": {
112
- "type": "boolean"
113
- },
114
111
  "platform_editor_block_menu_v2_patch_3": {
115
112
  "type": "boolean"
116
113
  },
@@ -1,27 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.lazyBodiedSyncBlockView = void 0;
8
- var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
9
- var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
10
- 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" != (0, _typeof2.default)(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); }
11
- // Delete this file when cleaning up platform_synced_block_patch_5
12
- var lazyBodiedSyncBlockView = exports.lazyBodiedSyncBlockView = function lazyBodiedSyncBlockView(props) {
13
- return (0, _lazyNodeView.withLazyLoading)({
14
- nodeName: 'bodiedSyncBlock',
15
- getNodeViewOptions: function getNodeViewOptions() {},
16
- loader: function loader() {
17
- var result = Promise.resolve().then(function () {
18
- return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_editor-plugin-bodied-synced-block-nodeview" */
19
- './bodiedSyncedBlock'));
20
- }).then(function (_ref) {
21
- var bodiedSyncBlockNodeView = _ref.bodiedSyncBlockNodeView;
22
- return bodiedSyncBlockNodeView(props);
23
- });
24
- return result;
25
- }
26
- });
27
- };
@@ -1,17 +0,0 @@
1
- import { withLazyLoading } from '@atlaskit/editor-common/lazy-node-view';
2
- // Delete this file when cleaning up platform_synced_block_patch_5
3
- export const lazyBodiedSyncBlockView = props => {
4
- return withLazyLoading({
5
- nodeName: 'bodiedSyncBlock',
6
- getNodeViewOptions: () => {},
7
- loader: () => {
8
- const result = import( /* webpackChunkName: "@atlaskit-internal_editor-plugin-bodied-synced-block-nodeview" */
9
- './bodiedSyncedBlock').then(({
10
- bodiedSyncBlockNodeView
11
- }) => {
12
- return bodiedSyncBlockNodeView(props);
13
- });
14
- return result;
15
- }
16
- });
17
- };
@@ -1,16 +0,0 @@
1
- import { withLazyLoading } from '@atlaskit/editor-common/lazy-node-view';
2
- // Delete this file when cleaning up platform_synced_block_patch_5
3
- export var lazyBodiedSyncBlockView = function lazyBodiedSyncBlockView(props) {
4
- return withLazyLoading({
5
- nodeName: 'bodiedSyncBlock',
6
- getNodeViewOptions: function getNodeViewOptions() {},
7
- loader: function loader() {
8
- var result = import( /* webpackChunkName: "@atlaskit-internal_editor-plugin-bodied-synced-block-nodeview" */
9
- './bodiedSyncedBlock').then(function (_ref) {
10
- var bodiedSyncBlockNodeView = _ref.bodiedSyncBlockNodeView;
11
- return bodiedSyncBlockNodeView(props);
12
- });
13
- return result;
14
- }
15
- });
16
- };
@@ -1,3 +0,0 @@
1
- import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
2
- import type { BodiedSyncBlockNodeViewProperties } from './bodiedSyncedBlock';
3
- export declare const lazyBodiedSyncBlockView: (props: BodiedSyncBlockNodeViewProperties) => NodeViewConstructor;
@@ -1,3 +0,0 @@
1
- import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
2
- import type { BodiedSyncBlockNodeViewProperties } from './bodiedSyncedBlock';
3
- export declare const lazyBodiedSyncBlockView: (props: BodiedSyncBlockNodeViewProperties) => NodeViewConstructor;