@atlaskit/editor-plugin-floating-toolbar 4.1.15 → 4.1.16
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
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 4.1.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#156549](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/156549)
|
|
8
|
+
[`82ccacbc259a8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/82ccacbc259a8) -
|
|
9
|
+
Remove autoconvert feature flagged code
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 4.1.15
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -195,42 +195,32 @@ var ExtensionsPlaceholder = exports.ExtensionsPlaceholder = function ExtensionsP
|
|
|
195
195
|
if (isNestedTable && ['referentiality:connections', 'chart:insert-chart'].includes(item.key)) {
|
|
196
196
|
item.disabled = true;
|
|
197
197
|
}
|
|
198
|
-
if (
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
}));
|
|
225
|
-
} else {
|
|
226
|
-
children.push( /*#__PURE__*/_react.default.createElement(ExtensionButton, {
|
|
227
|
-
node: node,
|
|
228
|
-
item: item,
|
|
229
|
-
editorView: editorView,
|
|
230
|
-
applyChangeToContextPanel: applyChangeToContextPanel,
|
|
231
|
-
extensionApi: extensionApi
|
|
232
|
-
}));
|
|
233
|
-
}
|
|
198
|
+
if ('type' in item && item.type === 'dropdown') {
|
|
199
|
+
children.push( /*#__PURE__*/_react.default.createElement(_Dropdown.default, {
|
|
200
|
+
key: item.id,
|
|
201
|
+
title: item.title,
|
|
202
|
+
icon: item.icon,
|
|
203
|
+
dispatchCommand: dispatchCommand || function () {},
|
|
204
|
+
options: item.options,
|
|
205
|
+
disabled: item.disabled,
|
|
206
|
+
tooltip: item.tooltip,
|
|
207
|
+
hideExpandIcon: item.hideExpandIcon,
|
|
208
|
+
mountPoint: popupsMountPoint,
|
|
209
|
+
boundariesElement: popupsBoundariesElement,
|
|
210
|
+
scrollableElement: popupsScrollableElement,
|
|
211
|
+
dropdownWidth: item.dropdownWidth,
|
|
212
|
+
showSelected: item.showSelected,
|
|
213
|
+
buttonTestId: item.testId,
|
|
214
|
+
editorView: editorView,
|
|
215
|
+
setDisableParentScroll: scrollable ? setDisableScroll : undefined,
|
|
216
|
+
dropdownListId: (item === null || item === void 0 ? void 0 : item.id) && "".concat(item.id, "-dropdownList"),
|
|
217
|
+
alignDropdownWithToolbar: alignDropdownWithToolbar,
|
|
218
|
+
onToggle: item.onToggle,
|
|
219
|
+
footer: item.footer,
|
|
220
|
+
onMount: item.onMount,
|
|
221
|
+
onClick: item.onClick,
|
|
222
|
+
pulse: item.pulse
|
|
223
|
+
}));
|
|
234
224
|
} else {
|
|
235
225
|
children.push( /*#__PURE__*/_react.default.createElement(ExtensionButton, {
|
|
236
226
|
node: node,
|
|
@@ -118,42 +118,32 @@ export const ExtensionsPlaceholder = props => {
|
|
|
118
118
|
if (isNestedTable && ['referentiality:connections', 'chart:insert-chart'].includes(item.key)) {
|
|
119
119
|
item.disabled = true;
|
|
120
120
|
}
|
|
121
|
-
if (
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}));
|
|
148
|
-
} else {
|
|
149
|
-
children.push( /*#__PURE__*/React.createElement(ExtensionButton, {
|
|
150
|
-
node: node,
|
|
151
|
-
item: item,
|
|
152
|
-
editorView: editorView,
|
|
153
|
-
applyChangeToContextPanel: applyChangeToContextPanel,
|
|
154
|
-
extensionApi: extensionApi
|
|
155
|
-
}));
|
|
156
|
-
}
|
|
121
|
+
if ('type' in item && item.type === 'dropdown') {
|
|
122
|
+
children.push( /*#__PURE__*/React.createElement(Dropdown, {
|
|
123
|
+
key: item.id,
|
|
124
|
+
title: item.title,
|
|
125
|
+
icon: item.icon,
|
|
126
|
+
dispatchCommand: dispatchCommand || (() => {}),
|
|
127
|
+
options: item.options,
|
|
128
|
+
disabled: item.disabled,
|
|
129
|
+
tooltip: item.tooltip,
|
|
130
|
+
hideExpandIcon: item.hideExpandIcon,
|
|
131
|
+
mountPoint: popupsMountPoint,
|
|
132
|
+
boundariesElement: popupsBoundariesElement,
|
|
133
|
+
scrollableElement: popupsScrollableElement,
|
|
134
|
+
dropdownWidth: item.dropdownWidth,
|
|
135
|
+
showSelected: item.showSelected,
|
|
136
|
+
buttonTestId: item.testId,
|
|
137
|
+
editorView: editorView,
|
|
138
|
+
setDisableParentScroll: scrollable ? setDisableScroll : undefined,
|
|
139
|
+
dropdownListId: (item === null || item === void 0 ? void 0 : item.id) && `${item.id}-dropdownList`,
|
|
140
|
+
alignDropdownWithToolbar: alignDropdownWithToolbar,
|
|
141
|
+
onToggle: item.onToggle,
|
|
142
|
+
footer: item.footer,
|
|
143
|
+
onMount: item.onMount,
|
|
144
|
+
onClick: item.onClick,
|
|
145
|
+
pulse: item.pulse
|
|
146
|
+
}));
|
|
157
147
|
} else {
|
|
158
148
|
children.push( /*#__PURE__*/React.createElement(ExtensionButton, {
|
|
159
149
|
node: node,
|
|
@@ -186,42 +186,32 @@ export var ExtensionsPlaceholder = function ExtensionsPlaceholder(props) {
|
|
|
186
186
|
if (isNestedTable && ['referentiality:connections', 'chart:insert-chart'].includes(item.key)) {
|
|
187
187
|
item.disabled = true;
|
|
188
188
|
}
|
|
189
|
-
if (
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}));
|
|
216
|
-
} else {
|
|
217
|
-
children.push( /*#__PURE__*/React.createElement(ExtensionButton, {
|
|
218
|
-
node: node,
|
|
219
|
-
item: item,
|
|
220
|
-
editorView: editorView,
|
|
221
|
-
applyChangeToContextPanel: applyChangeToContextPanel,
|
|
222
|
-
extensionApi: extensionApi
|
|
223
|
-
}));
|
|
224
|
-
}
|
|
189
|
+
if ('type' in item && item.type === 'dropdown') {
|
|
190
|
+
children.push( /*#__PURE__*/React.createElement(Dropdown, {
|
|
191
|
+
key: item.id,
|
|
192
|
+
title: item.title,
|
|
193
|
+
icon: item.icon,
|
|
194
|
+
dispatchCommand: dispatchCommand || function () {},
|
|
195
|
+
options: item.options,
|
|
196
|
+
disabled: item.disabled,
|
|
197
|
+
tooltip: item.tooltip,
|
|
198
|
+
hideExpandIcon: item.hideExpandIcon,
|
|
199
|
+
mountPoint: popupsMountPoint,
|
|
200
|
+
boundariesElement: popupsBoundariesElement,
|
|
201
|
+
scrollableElement: popupsScrollableElement,
|
|
202
|
+
dropdownWidth: item.dropdownWidth,
|
|
203
|
+
showSelected: item.showSelected,
|
|
204
|
+
buttonTestId: item.testId,
|
|
205
|
+
editorView: editorView,
|
|
206
|
+
setDisableParentScroll: scrollable ? setDisableScroll : undefined,
|
|
207
|
+
dropdownListId: (item === null || item === void 0 ? void 0 : item.id) && "".concat(item.id, "-dropdownList"),
|
|
208
|
+
alignDropdownWithToolbar: alignDropdownWithToolbar,
|
|
209
|
+
onToggle: item.onToggle,
|
|
210
|
+
footer: item.footer,
|
|
211
|
+
onMount: item.onMount,
|
|
212
|
+
onClick: item.onClick,
|
|
213
|
+
pulse: item.pulse
|
|
214
|
+
}));
|
|
225
215
|
} else {
|
|
226
216
|
children.push( /*#__PURE__*/React.createElement(ExtensionButton, {
|
|
227
217
|
node: node,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.16",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/primitives": "^14.8.0",
|
|
51
51
|
"@atlaskit/select": "^20.6.0",
|
|
52
52
|
"@atlaskit/theme": "^18.0.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^5.8.0",
|
|
54
54
|
"@atlaskit/tokens": "^5.0.0",
|
|
55
55
|
"@atlaskit/tooltip": "^20.2.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
@@ -125,9 +125,6 @@
|
|
|
125
125
|
"platform_editor_use_nested_table_pm_nodes": {
|
|
126
126
|
"type": "boolean"
|
|
127
127
|
},
|
|
128
|
-
"forge-ui-macro-autoconvert": {
|
|
129
|
-
"type": "boolean"
|
|
130
|
-
},
|
|
131
128
|
"editor_a11y_remove_redundant_wrap_icon_label": {
|
|
132
129
|
"type": "boolean"
|
|
133
130
|
},
|