@atlaskit/editor-plugin-status 3.0.2 → 3.1.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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-status
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#120472](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120472)
|
|
8
|
+
[`73c800ab5f2fc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73c800ab5f2fc) -
|
|
9
|
+
ED-26766 update adf-schema from 47.2.1 to 47.6.0 and adf-schema-json from 1.27.0 to 1.31.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#119706](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/119706)
|
|
14
|
+
[`42fd258ba482e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42fd258ba482e) -
|
|
15
|
+
ED-26704: enables editor node virtualization experiment
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 3.0.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -10,6 +10,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
10
10
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
11
11
|
var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
12
12
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
|
+
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
13
14
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
15
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
16
|
var isSSR = Boolean(process.env.REACT_SSR);
|
|
@@ -99,7 +100,7 @@ var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B
|
|
|
99
100
|
* @returns
|
|
100
101
|
*/
|
|
101
102
|
var statusNodeSpec = exports.statusNodeSpec = function statusNodeSpec() {
|
|
102
|
-
if (isSSR ||
|
|
103
|
+
if (isSSR || (0, _experiments.editorExperiment)("platform_editor_inline_node_virtualization", "off")) {
|
|
103
104
|
return _adfSchema.status;
|
|
104
105
|
}
|
|
105
106
|
return _objectSpread(_objectSpread({}, _adfSchema.status), {}, {
|
|
@@ -2,6 +2,7 @@ import { createIntl } from 'react-intl-next';
|
|
|
2
2
|
import { status } from '@atlaskit/adf-schema';
|
|
3
3
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
5
6
|
const isSSR = Boolean(process.env.REACT_SSR);
|
|
6
7
|
let intl;
|
|
7
8
|
|
|
@@ -89,7 +90,7 @@ const isAndroidChromium = typeof window !== 'undefined' && /Version\/.* Chrome\/
|
|
|
89
90
|
* @returns
|
|
90
91
|
*/
|
|
91
92
|
export const statusNodeSpec = () => {
|
|
92
|
-
if (isSSR ||
|
|
93
|
+
if (isSSR || editorExperiment("platform_editor_inline_node_virtualization", "off")) {
|
|
93
94
|
return status;
|
|
94
95
|
}
|
|
95
96
|
return {
|
|
@@ -5,6 +5,7 @@ import { createIntl } from 'react-intl-next';
|
|
|
5
5
|
import { status } from '@atlaskit/adf-schema';
|
|
6
6
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
8
9
|
var isSSR = Boolean(process.env.REACT_SSR);
|
|
9
10
|
var intl;
|
|
10
11
|
|
|
@@ -92,7 +93,7 @@ var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B
|
|
|
92
93
|
* @returns
|
|
93
94
|
*/
|
|
94
95
|
export var statusNodeSpec = function statusNodeSpec() {
|
|
95
|
-
if (isSSR ||
|
|
96
|
+
if (isSSR || editorExperiment("platform_editor_inline_node_virtualization", "off")) {
|
|
96
97
|
return status;
|
|
97
98
|
}
|
|
98
99
|
return _objectSpread(_objectSpread({}, status), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-status",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Status plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^47.
|
|
36
|
+
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
38
|
-
"@atlaskit/editor-common": "^100.
|
|
39
|
-
"@atlaskit/editor-plugin-analytics": "^2.
|
|
38
|
+
"@atlaskit/editor-common": "^100.5.0",
|
|
39
|
+
"@atlaskit/editor-plugin-analytics": "^2.1.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
42
42
|
"@atlaskit/icon": "^24.1.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/status": "^3.0.0",
|
|
45
45
|
"@atlaskit/theme": "^17.0.0",
|
|
46
|
-
"@atlaskit/tokens": "^4.
|
|
46
|
+
"@atlaskit/tokens": "^4.3.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1"
|
|
49
49
|
},
|
|
@@ -106,9 +106,6 @@
|
|
|
106
106
|
"platform_inline_node_as_valid_annotation_selection": {
|
|
107
107
|
"type": "boolean"
|
|
108
108
|
},
|
|
109
|
-
"platform_editor_lego__inline_node_virtualization": {
|
|
110
|
-
"type": "boolean"
|
|
111
|
-
},
|
|
112
109
|
"visual-refresh_drop_5": {
|
|
113
110
|
"type": "boolean"
|
|
114
111
|
}
|