@atlaskit/editor-core 216.6.2 → 216.6.3
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 +10 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c8ca7b8cde88d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c8ca7b8cde88d) -
|
|
8
|
+
Remove platform_editor_toolbar_support_custom_components feature flag
|
|
9
|
+
- [`1993b8227cbf3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1993b8227cbf3) -
|
|
10
|
+
[ux] Update selection extension APIs to allow Snippets to register at parent level
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 216.6.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -43,7 +43,7 @@ var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
|
|
|
43
43
|
showKeyline = _ref.showKeyline;
|
|
44
44
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
45
45
|
"data-testid": testId,
|
|
46
|
-
className: (0, _runtime.ax)([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
46
|
+
className: (0, _runtime.ax)([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
47
47
|
}, children);
|
|
48
48
|
};
|
|
49
49
|
var FirstChildWrapper = function FirstChildWrapper(_ref2) {
|
|
@@ -122,8 +122,8 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
122
122
|
testId: "ak-editor-main-toolbar",
|
|
123
123
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
124
124
|
}, beforeIcon && /*#__PURE__*/_react.default.createElement("div", {
|
|
125
|
-
className: (0, _runtime.ax)([styles.mainToolbarIconBefore,
|
|
126
|
-
}, beforeIcon),
|
|
125
|
+
className: (0, _runtime.ax)([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
126
|
+
}, beforeIcon), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || ((0, _expValEquals.expValEquals)('platform_editor_ssr_renderer', 'isEnabled', true) && (0, _coreUtils.isSSR)() || editorView) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
|
|
127
127
|
toolbar: toolbar,
|
|
128
128
|
components: components,
|
|
129
129
|
editorView: editorView,
|
|
@@ -136,14 +136,6 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
136
136
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/_react.default.createElement("div", {
|
|
137
137
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
138
138
|
className: (0, _runtime.ax)([styles.beforePrimaryToolbarComponents])
|
|
139
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null))
|
|
140
|
-
toolbar: toolbar,
|
|
141
|
-
components: components,
|
|
142
|
-
editorView: editorView,
|
|
143
|
-
editorAPI: editorAPI,
|
|
144
|
-
popupsMountPoint: mountPoint,
|
|
145
|
-
editorAppearance: "full-page",
|
|
146
|
-
isDisabled: disabled
|
|
147
|
-
})))));
|
|
139
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null))))));
|
|
148
140
|
});
|
|
149
141
|
};
|
|
@@ -35,7 +35,7 @@ const MainToolbarWrapper = ({
|
|
|
35
35
|
}) => {
|
|
36
36
|
return /*#__PURE__*/React.createElement("div", {
|
|
37
37
|
"data-testid": testId,
|
|
38
|
-
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
38
|
+
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && expValEquals('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
39
39
|
}, children);
|
|
40
40
|
};
|
|
41
41
|
const FirstChildWrapper = ({
|
|
@@ -116,8 +116,8 @@ export const FullPageToolbarNext = ({
|
|
|
116
116
|
testId: "ak-editor-main-toolbar",
|
|
117
117
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
118
118
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
119
|
-
className: ax([styles.mainToolbarIconBefore,
|
|
120
|
-
}, beforeIcon),
|
|
119
|
+
className: ax([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
120
|
+
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
121
121
|
toolbar: toolbar,
|
|
122
122
|
components: components,
|
|
123
123
|
editorView: editorView,
|
|
@@ -130,13 +130,5 @@ export const FullPageToolbarNext = ({
|
|
|
130
130
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
131
131
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
132
132
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
133
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))
|
|
134
|
-
toolbar: toolbar,
|
|
135
|
-
components: components,
|
|
136
|
-
editorView: editorView,
|
|
137
|
-
editorAPI: editorAPI,
|
|
138
|
-
popupsMountPoint: mountPoint,
|
|
139
|
-
editorAppearance: "full-page",
|
|
140
|
-
isDisabled: disabled
|
|
141
|
-
}))))));
|
|
133
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)))))));
|
|
142
134
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -34,7 +34,7 @@ var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
|
|
|
34
34
|
showKeyline = _ref.showKeyline;
|
|
35
35
|
return /*#__PURE__*/React.createElement("div", {
|
|
36
36
|
"data-testid": testId,
|
|
37
|
-
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
37
|
+
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && expValEquals('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
38
38
|
}, children);
|
|
39
39
|
};
|
|
40
40
|
var FirstChildWrapper = function FirstChildWrapper(_ref2) {
|
|
@@ -113,8 +113,8 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
113
113
|
testId: "ak-editor-main-toolbar",
|
|
114
114
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
115
115
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
116
|
-
className: ax([styles.mainToolbarIconBefore,
|
|
117
|
-
}, beforeIcon),
|
|
116
|
+
className: ax([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
117
|
+
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
118
118
|
toolbar: toolbar,
|
|
119
119
|
components: components,
|
|
120
120
|
editorView: editorView,
|
|
@@ -127,14 +127,6 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
127
127
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
128
128
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
129
129
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
130
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))
|
|
131
|
-
toolbar: toolbar,
|
|
132
|
-
components: components,
|
|
133
|
-
editorView: editorView,
|
|
134
|
-
editorAPI: editorAPI,
|
|
135
|
-
popupsMountPoint: mountPoint,
|
|
136
|
-
editorAppearance: "full-page",
|
|
137
|
-
isDisabled: disabled
|
|
138
|
-
})))));
|
|
130
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))))));
|
|
139
131
|
});
|
|
140
132
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.6.
|
|
3
|
+
"version": "216.6.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-plugin-connectivity": "^7.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^7.1.0",
|
|
53
53
|
"@atlaskit/editor-plugin-user-preferences": "^5.0.0",
|
|
54
|
-
"@atlaskit/editor-plugins": "^11.
|
|
54
|
+
"@atlaskit/editor-plugins": "^11.3.0",
|
|
55
55
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
56
56
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
57
57
|
"@atlaskit/editor-ssr-renderer": "^2.0.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^4.17.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^16.19.0",
|
|
70
70
|
"@atlaskit/tokens": "^9.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"uuid": "^3.1.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@atlaskit/editor-common": "^111.
|
|
86
|
+
"@atlaskit/editor-common": "^111.8.0",
|
|
87
87
|
"@atlaskit/link-provider": "^4.1.0",
|
|
88
88
|
"@atlaskit/media-core": "^37.0.0",
|
|
89
89
|
"react": "^18.2.0",
|
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
"@atlaskit/editor-plugin-list": "^9.0.0",
|
|
103
103
|
"@atlaskit/editor-plugin-paste": "^8.0.0",
|
|
104
104
|
"@atlaskit/link-provider": "^4.1.0",
|
|
105
|
-
"@atlaskit/logo": "^19.
|
|
105
|
+
"@atlaskit/logo": "^19.10.0",
|
|
106
106
|
"@atlaskit/media-core": "^37.0.0",
|
|
107
107
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
108
108
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
109
|
-
"@atlaskit/modal-dialog": "^14.
|
|
110
|
-
"@atlaskit/renderer": "^125.
|
|
109
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
110
|
+
"@atlaskit/renderer": "^125.4.0",
|
|
111
111
|
"@atlaskit/section-message": "^8.12.0",
|
|
112
112
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.2.0",
|