@atlaskit/editor-plugin-extension 2.1.0 → 3.0.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
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#182298](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/182298)
|
|
8
|
+
[`2f0dfff283d2e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2f0dfff283d2e) -
|
|
9
|
+
Clean up extension button experiment which determines whether or not to show the new button label
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 2.1.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 2.1.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -187,7 +187,7 @@ var handleUpdate = exports.handleUpdate = function handleUpdate(_ref3) {
|
|
|
187
187
|
return true;
|
|
188
188
|
};
|
|
189
189
|
var createPlugin = exports.createPlugin = function createPlugin(dispatch, providerFactory, extensionHandlers, portalProviderAPI, eventDispatcher, pluginInjectionApi) {
|
|
190
|
-
var _featureFlags$macroIn
|
|
190
|
+
var _featureFlags$macroIn;
|
|
191
191
|
var useLongPressSelection = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
|
|
192
192
|
var options = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : {};
|
|
193
193
|
var featureFlags = arguments.length > 8 ? arguments[8] : undefined;
|
|
@@ -201,8 +201,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, provid
|
|
|
201
201
|
appearance: options.appearance
|
|
202
202
|
};
|
|
203
203
|
var macroInteractionDesignFeatureFlags = {
|
|
204
|
-
showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false
|
|
205
|
-
showMacroButtonUpdates: (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionButtonUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false
|
|
204
|
+
showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false
|
|
206
205
|
};
|
|
207
206
|
var showLivePagesBodiedMacrosRendererView = __rendererExtensionOptions === null || __rendererExtensionOptions === void 0 ? void 0 : __rendererExtensionOptions.isAllowedToUseRendererView;
|
|
208
207
|
return new _safePlugin.SafePlugin({
|
|
@@ -116,7 +116,7 @@ export const handleUpdate = ({
|
|
|
116
116
|
return true;
|
|
117
117
|
};
|
|
118
118
|
const createPlugin = (dispatch, providerFactory, extensionHandlers, portalProviderAPI, eventDispatcher, pluginInjectionApi, useLongPressSelection = false, options = {}, featureFlags, allowDragAndDrop = true, __rendererExtensionOptions) => {
|
|
119
|
-
var _featureFlags$macroIn
|
|
119
|
+
var _featureFlags$macroIn;
|
|
120
120
|
const state = createPluginState(dispatch, {
|
|
121
121
|
showEditButton: false,
|
|
122
122
|
showContextPanel: false
|
|
@@ -125,8 +125,7 @@ const createPlugin = (dispatch, providerFactory, extensionHandlers, portalProvid
|
|
|
125
125
|
appearance: options.appearance
|
|
126
126
|
};
|
|
127
127
|
const macroInteractionDesignFeatureFlags = {
|
|
128
|
-
showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false
|
|
129
|
-
showMacroButtonUpdates: (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionButtonUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false
|
|
128
|
+
showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false
|
|
130
129
|
};
|
|
131
130
|
const showLivePagesBodiedMacrosRendererView = __rendererExtensionOptions === null || __rendererExtensionOptions === void 0 ? void 0 : __rendererExtensionOptions.isAllowedToUseRendererView;
|
|
132
131
|
return new SafePlugin({
|
|
@@ -161,7 +161,7 @@ export var handleUpdate = function handleUpdate(_ref3) {
|
|
|
161
161
|
return true;
|
|
162
162
|
};
|
|
163
163
|
var createPlugin = function createPlugin(dispatch, providerFactory, extensionHandlers, portalProviderAPI, eventDispatcher, pluginInjectionApi) {
|
|
164
|
-
var _featureFlags$macroIn
|
|
164
|
+
var _featureFlags$macroIn;
|
|
165
165
|
var useLongPressSelection = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
|
|
166
166
|
var options = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : {};
|
|
167
167
|
var featureFlags = arguments.length > 8 ? arguments[8] : undefined;
|
|
@@ -175,8 +175,7 @@ var createPlugin = function createPlugin(dispatch, providerFactory, extensionHan
|
|
|
175
175
|
appearance: options.appearance
|
|
176
176
|
};
|
|
177
177
|
var macroInteractionDesignFeatureFlags = {
|
|
178
|
-
showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false
|
|
179
|
-
showMacroButtonUpdates: (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionButtonUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false
|
|
178
|
+
showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false
|
|
180
179
|
};
|
|
181
180
|
var showLivePagesBodiedMacrosRendererView = __rendererExtensionOptions === null || __rendererExtensionOptions === void 0 ? void 0 : __rendererExtensionOptions.isAllowedToUseRendererView;
|
|
182
181
|
return new SafePlugin({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/button": "^20.3.0",
|
|
31
31
|
"@atlaskit/checkbox": "^15.2.0",
|
|
32
32
|
"@atlaskit/datetime-picker": "^15.10.0",
|
|
33
|
-
"@atlaskit/editor-common": "^
|
|
33
|
+
"@atlaskit/editor-common": "^97.0.0",
|
|
34
34
|
"@atlaskit/editor-json-transformer": "^8.21.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
36
36
|
"@atlaskit/editor-plugin-context-identifier": "^1.3.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
44
|
-
"@atlaskit/empty-state": "^8.
|
|
45
|
-
"@atlaskit/form": "^
|
|
44
|
+
"@atlaskit/empty-state": "^8.1.0",
|
|
45
|
+
"@atlaskit/form": "^11.0.0",
|
|
46
46
|
"@atlaskit/heading": "4.0.0",
|
|
47
47
|
"@atlaskit/icon": "^23.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/textarea": "^5.7.0",
|
|
57
57
|
"@atlaskit/textfield": "^6.7.0",
|
|
58
58
|
"@atlaskit/theme": "^14.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^2.29.0",
|
|
60
60
|
"@atlaskit/toggle": "^14.0.0",
|
|
61
61
|
"@atlaskit/tokens": "^2.5.0",
|
|
62
62
|
"@atlaskit/tooltip": "^19.0.0",
|