@atlaskit/editor-core 215.9.3 → 215.9.4
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 +8 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +1 -3
- package/dist/cjs/ui/Toolbar/Toolbar.js +3 -5
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +1 -3
- package/dist/es2019/ui/Toolbar/Toolbar.js +3 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +1 -3
- package/dist/esm/ui/Toolbar/Toolbar.js +3 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.9.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`54ccde94eb18c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/54ccde94eb18c) -
|
|
8
|
+
ED-29459 Clean up platform_editor_toolbar_aifc_toolbar_analytic
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 215.9.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -475,9 +475,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
475
475
|
"data-testid": "editor-content-container"
|
|
476
476
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
477
477
|
,
|
|
478
|
-
style: style
|
|
479
|
-
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
|
|
480
|
-
,
|
|
478
|
+
style: style,
|
|
481
479
|
tabIndex: isScrollable ? 0 : undefined,
|
|
482
480
|
role: isScrollable ? 'region' : undefined
|
|
483
481
|
}, children);
|
|
@@ -92,13 +92,11 @@ var ToolbarNext = exports.ToolbarNext = function ToolbarNext(_ref) {
|
|
|
92
92
|
isDisabled: patch6Enabled ? isDisabled : isOffline || isDisabled,
|
|
93
93
|
popupsMountPoint: popupsMountPoint,
|
|
94
94
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
95
|
-
popupsScrollableElement: popupsScrollableElement
|
|
96
|
-
|
|
97
|
-
,
|
|
98
|
-
fireAnalyticsEvent: (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_toolbar_analytic', 'isEnabled', true) ? function (payload) {
|
|
95
|
+
popupsScrollableElement: popupsScrollableElement,
|
|
96
|
+
fireAnalyticsEvent: function fireAnalyticsEvent(payload) {
|
|
99
97
|
var _editorAPI$analytics;
|
|
100
98
|
editorAPI === null || editorAPI === void 0 || (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 || _editorAPI$analytics.actions.fireAnalyticsEvent(payload);
|
|
101
|
-
}
|
|
99
|
+
}
|
|
102
100
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbarModel.ToolbarModelRenderer, {
|
|
103
101
|
toolbar: toolbar,
|
|
104
102
|
components: components,
|
|
@@ -471,9 +471,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
471
471
|
"data-testid": "editor-content-container"
|
|
472
472
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
473
473
|
,
|
|
474
|
-
style: style
|
|
475
|
-
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
|
|
476
|
-
,
|
|
474
|
+
style: style,
|
|
477
475
|
tabIndex: isScrollable ? 0 : undefined,
|
|
478
476
|
role: isScrollable ? 'region' : undefined
|
|
479
477
|
}, children);
|
|
@@ -86,13 +86,11 @@ export const ToolbarNext = ({
|
|
|
86
86
|
isDisabled: patch6Enabled ? isDisabled : isOffline || isDisabled,
|
|
87
87
|
popupsMountPoint: popupsMountPoint,
|
|
88
88
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
89
|
-
popupsScrollableElement: popupsScrollableElement
|
|
90
|
-
|
|
91
|
-
,
|
|
92
|
-
fireAnalyticsEvent: expValEquals('platform_editor_toolbar_aifc_toolbar_analytic', 'isEnabled', true) ? payload => {
|
|
89
|
+
popupsScrollableElement: popupsScrollableElement,
|
|
90
|
+
fireAnalyticsEvent: payload => {
|
|
93
91
|
var _editorAPI$analytics;
|
|
94
92
|
editorAPI === null || editorAPI === void 0 ? void 0 : (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 ? void 0 : _editorAPI$analytics.actions.fireAnalyticsEvent(payload);
|
|
95
|
-
}
|
|
93
|
+
}
|
|
96
94
|
}, /*#__PURE__*/React.createElement(ToolbarModelRenderer, {
|
|
97
95
|
toolbar: toolbar,
|
|
98
96
|
components: components,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.9.
|
|
2
|
+
export const version = "215.9.3";
|
|
@@ -467,9 +467,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
467
467
|
"data-testid": "editor-content-container"
|
|
468
468
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
469
469
|
,
|
|
470
|
-
style: style
|
|
471
|
-
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
|
|
472
|
-
,
|
|
470
|
+
style: style,
|
|
473
471
|
tabIndex: isScrollable ? 0 : undefined,
|
|
474
472
|
role: isScrollable ? 'region' : undefined
|
|
475
473
|
}, children);
|
|
@@ -86,13 +86,11 @@ export var ToolbarNext = function ToolbarNext(_ref) {
|
|
|
86
86
|
isDisabled: patch6Enabled ? isDisabled : isOffline || isDisabled,
|
|
87
87
|
popupsMountPoint: popupsMountPoint,
|
|
88
88
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
89
|
-
popupsScrollableElement: popupsScrollableElement
|
|
90
|
-
|
|
91
|
-
,
|
|
92
|
-
fireAnalyticsEvent: expValEquals('platform_editor_toolbar_aifc_toolbar_analytic', 'isEnabled', true) ? function (payload) {
|
|
89
|
+
popupsScrollableElement: popupsScrollableElement,
|
|
90
|
+
fireAnalyticsEvent: function fireAnalyticsEvent(payload) {
|
|
93
91
|
var _editorAPI$analytics;
|
|
94
92
|
editorAPI === null || editorAPI === void 0 || (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 || _editorAPI$analytics.actions.fireAnalyticsEvent(payload);
|
|
95
|
-
}
|
|
93
|
+
}
|
|
96
94
|
}, /*#__PURE__*/React.createElement(ToolbarModelRenderer, {
|
|
97
95
|
toolbar: toolbar,
|
|
98
96
|
components: components,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.9.
|
|
2
|
+
export var version = "215.9.3";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.9.
|
|
3
|
+
"version": "215.9.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
65
65
|
"@atlaskit/react-ufo": "^4.14.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^13.24.0",
|
|
68
68
|
"@atlaskit/tokens": "^7.0.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.7.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@atlaskit/modal-dialog": "^14.6.0",
|
|
107
107
|
"@atlaskit/primitives": "^16.1.0",
|
|
108
108
|
"@atlaskit/renderer": "^124.9.0",
|
|
109
|
-
"@atlaskit/section-message": "^8.
|
|
109
|
+
"@atlaskit/section-message": "^8.9.0",
|
|
110
110
|
"@atlaskit/smart-card": "^43.5.0",
|
|
111
111
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
112
112
|
"@atlaskit/toggle": "^15.1.0",
|