@atlaskit/editor-plugin-toolbar 4.0.8 → 4.0.10
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 +16 -0
- package/afm-jira/tsconfig.json +1 -1
- package/dist/cjs/ui/SelectionToolbar/index.js +1 -1
- package/dist/cjs/ui/toolbar-components.js +2 -2
- package/dist/es2019/ui/SelectionToolbar/index.js +1 -1
- package/dist/es2019/ui/toolbar-components.js +2 -2
- package/dist/esm/ui/SelectionToolbar/index.js +1 -1
- package/dist/esm/ui/toolbar-components.js +2 -2
- package/package.json +2 -5
- package/build/tsconfig.json +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-toolbar
|
|
2
2
|
|
|
3
|
+
## 4.0.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8708f328d5db6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8708f328d5db6) -
|
|
8
|
+
Clean up platform_editor_toolbar_aifc_overflow_menu_update feature gate
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.0.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`ee5135bafb31d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee5135bafb31d) -
|
|
16
|
+
[EDITOR-4495] clean up platform_editor_toolbar_aifc_patch_4
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 4.0.8
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -135,7 +135,7 @@ var SelectionToolbar = exports.SelectionToolbar = function SelectionToolbar(_ref
|
|
|
135
135
|
}, /*#__PURE__*/_react.default.createElement(_toolbar.EditorToolbarProvider, {
|
|
136
136
|
editorView: editorView,
|
|
137
137
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
|
138
|
-
editorViewMode:
|
|
138
|
+
editorViewMode: editorViewMode !== null && editorViewMode !== void 0 ? editorViewMode : 'edit',
|
|
139
139
|
isOffline: isOffline
|
|
140
140
|
}, /*#__PURE__*/_react.default.createElement(_toolbar.EditorToolbarUIProvider, {
|
|
141
141
|
api: api,
|
|
@@ -213,7 +213,7 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
|
|
|
213
213
|
var children = _ref9.children;
|
|
214
214
|
return /*#__PURE__*/_react.default.createElement(_OverflowMenu.OverflowMenu, null, children);
|
|
215
215
|
}
|
|
216
|
-
}
|
|
216
|
+
}, {
|
|
217
217
|
type: _toolbar.OVERFLOW_EXTENSIONS_MENU_SECTION.type,
|
|
218
218
|
key: _toolbar.OVERFLOW_EXTENSIONS_MENU_SECTION.key,
|
|
219
219
|
parents: [{
|
|
@@ -222,7 +222,7 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
|
|
|
222
222
|
rank: _toolbar.OVERFLOW_MENU_RANK[_toolbar.OVERFLOW_EXTENSIONS_MENU_SECTION.key]
|
|
223
223
|
}],
|
|
224
224
|
component: _OverflowMenuSection.OverflowMenuSection
|
|
225
|
-
}
|
|
225
|
+
}, {
|
|
226
226
|
type: _toolbar.PIN_SECTION.type,
|
|
227
227
|
key: _toolbar.PIN_SECTION.key,
|
|
228
228
|
parents: [{
|
|
@@ -127,7 +127,7 @@ export const SelectionToolbar = ({
|
|
|
127
127
|
}, /*#__PURE__*/React.createElement(EditorToolbarProvider, {
|
|
128
128
|
editorView: editorView,
|
|
129
129
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
|
130
|
-
editorViewMode:
|
|
130
|
+
editorViewMode: editorViewMode !== null && editorViewMode !== void 0 ? editorViewMode : 'edit',
|
|
131
131
|
isOffline: isOffline
|
|
132
132
|
}, /*#__PURE__*/React.createElement(EditorToolbarUIProvider, {
|
|
133
133
|
api: api,
|
|
@@ -206,7 +206,7 @@ export const getToolbarComponents = (contextualFormattingEnabled, api, breakpoin
|
|
|
206
206
|
}) => {
|
|
207
207
|
return /*#__PURE__*/React.createElement(OverflowMenu, null, children);
|
|
208
208
|
}
|
|
209
|
-
},
|
|
209
|
+
}, {
|
|
210
210
|
type: OVERFLOW_EXTENSIONS_MENU_SECTION.type,
|
|
211
211
|
key: OVERFLOW_EXTENSIONS_MENU_SECTION.key,
|
|
212
212
|
parents: [{
|
|
@@ -215,7 +215,7 @@ export const getToolbarComponents = (contextualFormattingEnabled, api, breakpoin
|
|
|
215
215
|
rank: OVERFLOW_MENU_RANK[OVERFLOW_EXTENSIONS_MENU_SECTION.key]
|
|
216
216
|
}],
|
|
217
217
|
component: OverflowMenuSection
|
|
218
|
-
}
|
|
218
|
+
}, {
|
|
219
219
|
type: PIN_SECTION.type,
|
|
220
220
|
key: PIN_SECTION.key,
|
|
221
221
|
parents: [{
|
|
@@ -127,7 +127,7 @@ export var SelectionToolbar = function SelectionToolbar(_ref) {
|
|
|
127
127
|
}, /*#__PURE__*/React.createElement(EditorToolbarProvider, {
|
|
128
128
|
editorView: editorView,
|
|
129
129
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
|
130
|
-
editorViewMode:
|
|
130
|
+
editorViewMode: editorViewMode !== null && editorViewMode !== void 0 ? editorViewMode : 'edit',
|
|
131
131
|
isOffline: isOffline
|
|
132
132
|
}, /*#__PURE__*/React.createElement(EditorToolbarUIProvider, {
|
|
133
133
|
api: api,
|
|
@@ -206,7 +206,7 @@ export var getToolbarComponents = function getToolbarComponents(contextualFormat
|
|
|
206
206
|
var children = _ref9.children;
|
|
207
207
|
return /*#__PURE__*/React.createElement(OverflowMenu, null, children);
|
|
208
208
|
}
|
|
209
|
-
}
|
|
209
|
+
}, {
|
|
210
210
|
type: OVERFLOW_EXTENSIONS_MENU_SECTION.type,
|
|
211
211
|
key: OVERFLOW_EXTENSIONS_MENU_SECTION.key,
|
|
212
212
|
parents: [{
|
|
@@ -215,7 +215,7 @@ export var getToolbarComponents = function getToolbarComponents(contextualFormat
|
|
|
215
215
|
rank: OVERFLOW_MENU_RANK[OVERFLOW_EXTENSIONS_MENU_SECTION.key]
|
|
216
216
|
}],
|
|
217
217
|
component: OverflowMenuSection
|
|
218
|
-
}
|
|
218
|
+
}, {
|
|
219
219
|
type: PIN_SECTION.type,
|
|
220
220
|
key: PIN_SECTION.key,
|
|
221
221
|
parents: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.10",
|
|
4
4
|
"description": "Toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/editor-toolbar-model": "^0.3.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
43
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
43
|
+
"@atlaskit/tmp-editor-statsig": "^16.28.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"bind-event-listener": "^3.0.0",
|
|
46
46
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -64,9 +64,6 @@
|
|
|
64
64
|
},
|
|
65
65
|
"platform_editor_toolbar_aifc_undo_redo_confluence": {
|
|
66
66
|
"type": "boolean"
|
|
67
|
-
},
|
|
68
|
-
"platform_editor_toolbar_aifc_overflow_menu_update": {
|
|
69
|
-
"type": "boolean"
|
|
70
67
|
}
|
|
71
68
|
},
|
|
72
69
|
"techstack": {
|
package/build/tsconfig.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "es5",
|
|
5
|
-
"paths": {}
|
|
6
|
-
},
|
|
7
|
-
"include": [
|
|
8
|
-
"../src/**/*.ts",
|
|
9
|
-
"../src/**/*.tsx"
|
|
10
|
-
],
|
|
11
|
-
"exclude": [
|
|
12
|
-
"../src/**/__tests__/*",
|
|
13
|
-
"../src/**/*.test.*",
|
|
14
|
-
"../src/**/test.*",
|
|
15
|
-
"../src/**/examples.*"
|
|
16
|
-
]
|
|
17
|
-
}
|