@atlaskit/editor-core 209.3.1 → 209.3.2
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 +9 -0
- package/dist/cjs/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +0 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +0 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +0 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +9 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 209.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#191913](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/191913)
|
|
8
|
+
[`6d1e56695e91d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6d1e56695e91d) -
|
|
9
|
+
EDITOR-1131 Bump adf-schema package to 50.0.0
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 209.3.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -6,16 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ignoreAttribute = exports.contentComponentClickWrapper = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
10
9
|
var ignoreAttribute = exports.ignoreAttribute = 'data-editor-content-component';
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
12
|
* Wraps content components in a data attribute to ignore
|
|
14
13
|
*/
|
|
15
14
|
var contentComponentClickWrapper = exports.contentComponentClickWrapper = function contentComponentClickWrapper(reactComponents) {
|
|
16
|
-
if (!(0, _platformFeatureFlags.fg)('platform_editor_content_component_ignore_click')) {
|
|
17
|
-
return reactComponents;
|
|
18
|
-
}
|
|
19
15
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
20
16
|
"data-editor-content-component": 'true'
|
|
21
17
|
}, reactComponents);
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
export const ignoreAttribute = 'data-editor-content-component';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Wraps content components in a data attribute to ignore
|
|
7
6
|
*/
|
|
8
7
|
export const contentComponentClickWrapper = reactComponents => {
|
|
9
|
-
if (!fg('platform_editor_content_component_ignore_click')) {
|
|
10
|
-
return reactComponents;
|
|
11
|
-
}
|
|
12
8
|
return /*#__PURE__*/React.createElement("div", {
|
|
13
9
|
"data-editor-content-component": 'true'
|
|
14
10
|
}, reactComponents);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "209.3.
|
|
2
|
+
export const version = "209.3.1";
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
export var ignoreAttribute = 'data-editor-content-component';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Wraps content components in a data attribute to ignore
|
|
7
6
|
*/
|
|
8
7
|
export var contentComponentClickWrapper = function contentComponentClickWrapper(reactComponents) {
|
|
9
|
-
if (!fg('platform_editor_content_component_ignore_click')) {
|
|
10
|
-
return reactComponents;
|
|
11
|
-
}
|
|
12
8
|
return /*#__PURE__*/React.createElement("div", {
|
|
13
9
|
"data-editor-content-component": 'true'
|
|
14
10
|
}, reactComponents);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "209.3.
|
|
2
|
+
export var version = "209.3.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "209.3.
|
|
3
|
+
"version": "209.3.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
42
|
-
"@atlaskit/adf-schema": "^
|
|
42
|
+
"@atlaskit/adf-schema": "^50.0.1",
|
|
43
43
|
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|
|
44
44
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
45
45
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
46
|
-
"@atlaskit/button": "^23.
|
|
46
|
+
"@atlaskit/button": "^23.3.0",
|
|
47
47
|
"@atlaskit/css": "^0.12.0",
|
|
48
48
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
49
49
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
62
62
|
"@atlaskit/react-ufo": "^4.1.0",
|
|
63
63
|
"@atlaskit/task-decision": "^19.2.0",
|
|
64
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
64
|
+
"@atlaskit/tmp-editor-statsig": "^9.17.0",
|
|
65
65
|
"@atlaskit/tokens": "^5.6.0",
|
|
66
|
-
"@atlaskit/tooltip": "^20.
|
|
66
|
+
"@atlaskit/tooltip": "^20.4.0",
|
|
67
67
|
"@atlaskit/width-detector": "^5.0.0",
|
|
68
68
|
"@babel/runtime": "^7.0.0",
|
|
69
69
|
"@emotion/react": "^11.7.1",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
102
102
|
"@atlaskit/media-test-helpers": "^37.0.0",
|
|
103
103
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
104
|
-
"@atlaskit/primitives": "^14.
|
|
105
|
-
"@atlaskit/renderer": "^120.
|
|
106
|
-
"@atlaskit/section-message": "^8.
|
|
104
|
+
"@atlaskit/primitives": "^14.11.0",
|
|
105
|
+
"@atlaskit/renderer": "^120.3.0",
|
|
106
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
107
107
|
"@atlaskit/smart-card": "^40.5.0",
|
|
108
108
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
109
|
-
"@atlaskit/toggle": "^15.
|
|
109
|
+
"@atlaskit/toggle": "^15.1.0",
|
|
110
110
|
"@atlaskit/util-data-test": "^18.0.0",
|
|
111
111
|
"@atlaskit/visual-regression": "workspace:^",
|
|
112
112
|
"@atlassian/adf-schema-json": "^1.31.0",
|
|
@@ -244,9 +244,6 @@
|
|
|
244
244
|
"type": "boolean",
|
|
245
245
|
"referenceOnly": true
|
|
246
246
|
},
|
|
247
|
-
"platform_editor_content_component_ignore_click": {
|
|
248
|
-
"type": "boolean"
|
|
249
|
-
},
|
|
250
247
|
"platform_editor_use_preferences_plugin": {
|
|
251
248
|
"type": "boolean",
|
|
252
249
|
"referenceOnly": true
|