@atlaskit/editor-plugin-toolbar 7.1.2 → 7.2.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,16 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-toolbar
|
|
2
2
|
|
|
3
|
+
## 7.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`2f70251ed8022`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f70251ed8022) -
|
|
8
|
+
Clean up experiment platform_editor_experience_tracking
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 7.1.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -15,7 +15,6 @@ var _state = require("@atlaskit/editor-prosemirror/state");
|
|
|
15
15
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
16
16
|
var _editorToolbarModel = require("@atlaskit/editor-toolbar-model");
|
|
17
17
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
19
18
|
var _selectionToolbarOpenExperience = require("./pm-plugins/experiences/selection-toolbar-open-experience");
|
|
20
19
|
var _pluginKey = require("./pm-plugins/plugin-key");
|
|
21
20
|
var _consts = require("./ui/consts");
|
|
@@ -236,7 +235,7 @@ var toolbarPlugin = exports.toolbarPlugin = function toolbarPlugin(_ref) {
|
|
|
236
235
|
}
|
|
237
236
|
});
|
|
238
237
|
}
|
|
239
|
-
}].concat((0, _toConsumableArray2.default)(!disableSelectionToolbar
|
|
238
|
+
}].concat((0, _toConsumableArray2.default)(!disableSelectionToolbar ? [{
|
|
240
239
|
name: 'selectionToolbarOpenExperience',
|
|
241
240
|
plugin: function plugin() {
|
|
242
241
|
return (0, _selectionToolbarOpenExperience.getSelectionToolbarOpenExperiencePlugin)({
|
|
@@ -5,7 +5,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
5
5
|
import { findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
6
6
|
import { createComponentRegistry } from '@atlaskit/editor-toolbar-model';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
import { getSelectionToolbarOpenExperiencePlugin } from './pm-plugins/experiences/selection-toolbar-open-experience';
|
|
10
9
|
import { editorToolbarPluginKey } from './pm-plugins/plugin-key';
|
|
11
10
|
import { DEFAULT_POPUP_SELECTORS } from './ui/consts';
|
|
@@ -228,7 +227,7 @@ export const toolbarPlugin = ({
|
|
|
228
227
|
}
|
|
229
228
|
});
|
|
230
229
|
}
|
|
231
|
-
}, ...(!disableSelectionToolbar
|
|
230
|
+
}, ...(!disableSelectionToolbar ? [{
|
|
232
231
|
name: 'selectionToolbarOpenExperience',
|
|
233
232
|
plugin: () => getSelectionToolbarOpenExperiencePlugin({
|
|
234
233
|
refs,
|
|
@@ -11,7 +11,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
11
11
|
import { findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
12
12
|
import { createComponentRegistry } from '@atlaskit/editor-toolbar-model';
|
|
13
13
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
14
|
import { getSelectionToolbarOpenExperiencePlugin } from './pm-plugins/experiences/selection-toolbar-open-experience';
|
|
16
15
|
import { editorToolbarPluginKey } from './pm-plugins/plugin-key';
|
|
17
16
|
import { DEFAULT_POPUP_SELECTORS } from './ui/consts';
|
|
@@ -229,7 +228,7 @@ export var toolbarPlugin = function toolbarPlugin(_ref) {
|
|
|
229
228
|
}
|
|
230
229
|
});
|
|
231
230
|
}
|
|
232
|
-
}].concat(_toConsumableArray(!disableSelectionToolbar
|
|
231
|
+
}].concat(_toConsumableArray(!disableSelectionToolbar ? [{
|
|
233
232
|
name: 'selectionToolbarOpenExperience',
|
|
234
233
|
plugin: function plugin() {
|
|
235
234
|
return getSelectionToolbarOpenExperiencePlugin({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "Toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-user-preferences": "^8.1.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
40
|
-
"@atlaskit/editor-toolbar": "^1.
|
|
40
|
+
"@atlaskit/editor-toolbar": "^1.2.0",
|
|
41
41
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
43
|
+
"@atlaskit/tmp-editor-statsig": "^80.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"bind-event-listener": "^3.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@atlaskit/editor-common": "^114.
|
|
48
|
+
"@atlaskit/editor-common": "^114.30.0",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
51
51
|
},
|