@atlaskit/editor-core 216.6.7 → 216.7.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 +11 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -1
- package/dist/cjs/ui/Toolbar/Toolbar.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -1
- package/dist/es2019/ui/Toolbar/Toolbar.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -1
- package/dist/esm/ui/Toolbar/Toolbar.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/Appearance/FullPage/FullPageToolbarNext.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbarNext.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ee5135bafb31d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee5135bafb31d) -
|
|
8
|
+
[EDITOR-4495] clean up platform_editor_toolbar_aifc_patch_4
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 216.6.7
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -157,7 +157,7 @@ var FullPageEditor = exports.FullPageEditor = function FullPageEditor(props) {
|
|
|
157
157
|
(0, _editorSharedStyles.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT)(isToolbarAIFCEnabled)
|
|
158
158
|
}
|
|
159
159
|
}, !isEditorToolbarHidden && (isToolbarAIFCEnabled ? (0, _react2.jsx)(_FullPageToolbarNext.FullPageToolbarNext, {
|
|
160
|
-
disabled:
|
|
160
|
+
disabled: !!props.disabled,
|
|
161
161
|
toolbarDockingPosition: toolbarDockingPosition !== null && toolbarDockingPosition !== void 0 ? toolbarDockingPosition : toolbarDocking,
|
|
162
162
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
163
163
|
editorAPI: editorAPI,
|
|
@@ -85,7 +85,7 @@ var ToolbarNext = exports.ToolbarNext = function ToolbarNext(_ref) {
|
|
|
85
85
|
return /*#__PURE__*/_react.default.createElement(_toolbar.EditorToolbarProvider, {
|
|
86
86
|
editorView: editorView !== null && editorView !== void 0 ? editorView : null,
|
|
87
87
|
editorAppearance: editorAppearance,
|
|
88
|
-
editorViewMode:
|
|
88
|
+
editorViewMode: editorViewMode !== null && editorViewMode !== void 0 ? editorViewMode : 'edit',
|
|
89
89
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
|
90
90
|
isOffline: isOffline
|
|
91
91
|
}, /*#__PURE__*/_react.default.createElement(_toolbar.EditorToolbarUIProvider, {
|
|
@@ -142,7 +142,7 @@ export const FullPageEditor = props => {
|
|
|
142
142
|
FULL_PAGE_EDITOR_TOOLBAR_HEIGHT(isToolbarAIFCEnabled)
|
|
143
143
|
}
|
|
144
144
|
}, !isEditorToolbarHidden && (isToolbarAIFCEnabled ? jsx(FullPageToolbarNext, {
|
|
145
|
-
disabled:
|
|
145
|
+
disabled: !!props.disabled,
|
|
146
146
|
toolbarDockingPosition: (_toolbarDockingPositi = toolbarDockingPosition) !== null && _toolbarDockingPositi !== void 0 ? _toolbarDockingPositi : toolbarDocking,
|
|
147
147
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
148
148
|
editorAPI: editorAPI,
|
|
@@ -79,7 +79,7 @@ export const ToolbarNext = ({
|
|
|
79
79
|
return /*#__PURE__*/React.createElement(EditorToolbarProvider, {
|
|
80
80
|
editorView: editorView !== null && editorView !== void 0 ? editorView : null,
|
|
81
81
|
editorAppearance: editorAppearance,
|
|
82
|
-
editorViewMode:
|
|
82
|
+
editorViewMode: editorViewMode !== null && editorViewMode !== void 0 ? editorViewMode : 'edit',
|
|
83
83
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
|
84
84
|
isOffline: isOffline
|
|
85
85
|
}, /*#__PURE__*/React.createElement(EditorToolbarUIProvider, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "216.6.
|
|
2
|
+
export const version = "216.6.7";
|
|
@@ -147,7 +147,7 @@ export var FullPageEditor = function FullPageEditor(props) {
|
|
|
147
147
|
FULL_PAGE_EDITOR_TOOLBAR_HEIGHT(isToolbarAIFCEnabled)
|
|
148
148
|
}
|
|
149
149
|
}, !isEditorToolbarHidden && (isToolbarAIFCEnabled ? jsx(FullPageToolbarNext, {
|
|
150
|
-
disabled:
|
|
150
|
+
disabled: !!props.disabled,
|
|
151
151
|
toolbarDockingPosition: toolbarDockingPosition !== null && toolbarDockingPosition !== void 0 ? toolbarDockingPosition : toolbarDocking,
|
|
152
152
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
153
153
|
editorAPI: editorAPI,
|
|
@@ -79,7 +79,7 @@ export var ToolbarNext = function ToolbarNext(_ref) {
|
|
|
79
79
|
return /*#__PURE__*/React.createElement(EditorToolbarProvider, {
|
|
80
80
|
editorView: editorView !== null && editorView !== void 0 ? editorView : null,
|
|
81
81
|
editorAppearance: editorAppearance,
|
|
82
|
-
editorViewMode:
|
|
82
|
+
editorViewMode: editorViewMode !== null && editorViewMode !== void 0 ? editorViewMode : 'edit',
|
|
83
83
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
|
84
84
|
isOffline: isOffline
|
|
85
85
|
}, /*#__PURE__*/React.createElement(EditorToolbarUIProvider, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "216.6.
|
|
2
|
+
export var version = "216.6.7";
|
|
@@ -11,7 +11,7 @@ import type { PrimaryToolbarComponents } from '../../../types';
|
|
|
11
11
|
type FullPageToolbarNextProps = {
|
|
12
12
|
beforeIcon?: React.ReactNode;
|
|
13
13
|
customPrimaryToolbarComponents?: PrimaryToolbarComponents;
|
|
14
|
-
disabled
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
editorAPI?: PublicPluginAPI<[ToolbarPlugin]>;
|
|
16
16
|
editorView?: EditorView;
|
|
17
17
|
popupsBoundariesElement?: HTMLElement;
|
|
@@ -11,7 +11,7 @@ import type { PrimaryToolbarComponents } from '../../../types';
|
|
|
11
11
|
type FullPageToolbarNextProps = {
|
|
12
12
|
beforeIcon?: React.ReactNode;
|
|
13
13
|
customPrimaryToolbarComponents?: PrimaryToolbarComponents;
|
|
14
|
-
disabled
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
editorAPI?: PublicPluginAPI<[
|
|
16
16
|
ToolbarPlugin
|
|
17
17
|
]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.
|
|
3
|
+
"version": "216.7.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -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.25.0",
|
|
70
70
|
"@atlaskit/tokens": "^10.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|