@atlaskit/editor-plugin-extension 26.0.0 → 27.0.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 +14 -0
- package/dist/cjs/ui/ConfigPanel/ConfigPanelLoader.js +1 -1
- package/dist/es2019/ui/ConfigPanel/ConfigPanelLoader.js +2 -2
- package/dist/esm/ui/ConfigPanel/ConfigPanelLoader.js +2 -2
- package/example-utils/config-panel/ExtensionNodePicker.tsx +2 -2
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 27.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 26.0.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`01a66c61973bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/01a66c61973bc) -
|
|
14
|
+
Remove lazy-loaded components from SSR bundle.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 26.0.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -20,7 +20,7 @@ var loadConfigPanel = function loadConfigPanel() {
|
|
|
20
20
|
return module.default;
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
-
var ConfigPanelLazy = (0, _reactLooselyLazy.
|
|
23
|
+
var ConfigPanelLazy = (0, _reactLooselyLazy.lazy)(function () {
|
|
24
24
|
return Promise.resolve().then(function () {
|
|
25
25
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_editor-core-config-panel" */
|
|
26
26
|
'./ConfigPanelFieldsLoader'));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Loadable from 'react-loadable';
|
|
3
3
|
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
4
|
-
import {
|
|
4
|
+
import { lazy, LazySuspense } from 'react-loosely-lazy';
|
|
5
5
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
6
6
|
import LoadingState from './LoadingState';
|
|
7
7
|
const loadConfigPanel = () => import( /* webpackChunkName: "@atlaskit-internal_editor-core-config-panel" */
|
|
8
8
|
'./ConfigPanelFieldsLoader').then(module => module.default);
|
|
9
|
-
const ConfigPanelLazy =
|
|
9
|
+
const ConfigPanelLazy = lazy(() => import( /* webpackChunkName: "@atlaskit-internal_editor-core-config-panel" */
|
|
10
10
|
'./ConfigPanelFieldsLoader').then(module => module.default));
|
|
11
11
|
const ConfigPanelLoadable = Loadable({
|
|
12
12
|
loader: loadConfigPanel,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Loadable from 'react-loadable';
|
|
3
3
|
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
4
|
-
import {
|
|
4
|
+
import { lazy, LazySuspense } from 'react-loosely-lazy';
|
|
5
5
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
6
6
|
import LoadingState from './LoadingState';
|
|
7
7
|
var loadConfigPanel = function loadConfigPanel() {
|
|
@@ -10,7 +10,7 @@ var loadConfigPanel = function loadConfigPanel() {
|
|
|
10
10
|
return module.default;
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
|
-
var ConfigPanelLazy =
|
|
13
|
+
var ConfigPanelLazy = lazy(function () {
|
|
14
14
|
return import( /* webpackChunkName: "@atlaskit-internal_editor-core-config-panel" */
|
|
15
15
|
'./ConfigPanelFieldsLoader').then(function (module) {
|
|
16
16
|
return module.default;
|
|
@@ -5,7 +5,7 @@ import React, { useState } from 'react';
|
|
|
5
5
|
|
|
6
6
|
import Loadable from 'react-loadable';
|
|
7
7
|
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
8
|
-
import {
|
|
8
|
+
import { lazy, LazySuspense } from 'react-loosely-lazy';
|
|
9
9
|
|
|
10
10
|
import type {
|
|
11
11
|
ExtensionManifest,
|
|
@@ -48,7 +48,7 @@ const getExtensionIconComponents = (icon: ExtensionIconLoader): ExtensionIconCom
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
const components = {
|
|
51
|
-
lazy:
|
|
51
|
+
lazy: lazy(icon),
|
|
52
52
|
loadable: Loadable<{ label: string }, never>({
|
|
53
53
|
loader: icon,
|
|
54
54
|
loading: () => null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "27.0.0",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"@atlaskit/code": "^20.0.0",
|
|
37
37
|
"@atlaskit/datetime-picker": "^19.0.0",
|
|
38
38
|
"@atlaskit/editor-json-transformer": "^10.0.0",
|
|
39
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
40
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
41
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
42
|
-
"@atlaskit/editor-plugin-context-identifier": "^
|
|
43
|
-
"@atlaskit/editor-plugin-context-panel": "^
|
|
44
|
-
"@atlaskit/editor-plugin-copy-button": "^
|
|
45
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
46
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
47
|
-
"@atlaskit/editor-plugin-mentions": "^
|
|
48
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
49
|
-
"@atlaskit/editor-plugin-width": "^
|
|
39
|
+
"@atlaskit/editor-plugin-analytics": "^24.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-block-menu": "^23.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-connectivity": "^24.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-context-identifier": "^24.0.0",
|
|
43
|
+
"@atlaskit/editor-plugin-context-panel": "^26.0.0",
|
|
44
|
+
"@atlaskit/editor-plugin-copy-button": "^24.0.0",
|
|
45
|
+
"@atlaskit/editor-plugin-decorations": "^24.0.0",
|
|
46
|
+
"@atlaskit/editor-plugin-feature-flags": "^23.0.0",
|
|
47
|
+
"@atlaskit/editor-plugin-mentions": "^26.0.0",
|
|
48
|
+
"@atlaskit/editor-plugin-toolbar": "^21.0.0",
|
|
49
|
+
"@atlaskit/editor-plugin-width": "^25.0.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^4.3.0",
|
|
52
52
|
"@atlaskit/editor-tables": "^3.2.0",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"@atlaskit/react-select": "^4.12.0",
|
|
65
65
|
"@atlaskit/section-message": "^10.2.0",
|
|
66
66
|
"@atlaskit/select": "^23.1.0",
|
|
67
|
-
"@atlaskit/smart-user-picker": "^12.
|
|
67
|
+
"@atlaskit/smart-user-picker": "^12.2.0",
|
|
68
68
|
"@atlaskit/spinner": "^20.4.0",
|
|
69
69
|
"@atlaskit/tabs": "^21.3.0",
|
|
70
70
|
"@atlaskit/textarea": "^10.2.0",
|
|
71
71
|
"@atlaskit/textfield": "^10.2.0",
|
|
72
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
72
|
+
"@atlaskit/tmp-editor-statsig": "^220.0.0",
|
|
73
73
|
"@atlaskit/toggle": "^17.3.0",
|
|
74
74
|
"@atlaskit/tokens": "^20.1.0",
|
|
75
|
-
"@atlaskit/tooltip": "^24.
|
|
75
|
+
"@atlaskit/tooltip": "^24.4.0",
|
|
76
76
|
"@atlaskit/user-picker": "^14.0.0",
|
|
77
77
|
"@babel/runtime": "^7.0.0",
|
|
78
78
|
"@emotion/react": "^11.7.1",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"uuid": "^11.1.1"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@atlaskit/editor-common": "^
|
|
88
|
+
"@atlaskit/editor-common": "^128.0.0",
|
|
89
89
|
"react": "^18.2.0 || ^19.2.0",
|
|
90
90
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
91
91
|
},
|