@atlaskit/editor-plugin-selection-toolbar 5.0.6 → 6.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,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 6.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 5.0.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`c0113eeccb2df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c0113eeccb2df) -
|
|
14
|
+
[ux] ED-29120 add a new config option for default editor preset
|
|
15
|
+
(`toolbar.enableNewToolbarExperience`) which allows the new toolbar to be disabled. This is needed
|
|
16
|
+
for editors that can't be excluded at the experiment level.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 5.0.6
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -42,7 +42,7 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
|
|
|
42
42
|
config = _ref.config;
|
|
43
43
|
var __selectionToolbarHandlers = [];
|
|
44
44
|
var primaryToolbarComponent;
|
|
45
|
-
var isToolbarAIFCEnabled = (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true, {
|
|
45
|
+
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true, {
|
|
46
46
|
exposure: true
|
|
47
47
|
});
|
|
48
48
|
var userPreferencesProvider = config.userPreferencesProvider,
|
|
@@ -32,7 +32,7 @@ export const selectionToolbarPlugin = ({
|
|
|
32
32
|
}) => {
|
|
33
33
|
const __selectionToolbarHandlers = [];
|
|
34
34
|
let primaryToolbarComponent;
|
|
35
|
-
const isToolbarAIFCEnabled = editorExperiment('platform_editor_toolbar_aifc', true, {
|
|
35
|
+
const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true, {
|
|
36
36
|
exposure: true
|
|
37
37
|
});
|
|
38
38
|
const {
|
|
@@ -35,7 +35,7 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(_ref) {
|
|
|
35
35
|
config = _ref.config;
|
|
36
36
|
var __selectionToolbarHandlers = [];
|
|
37
37
|
var primaryToolbarComponent;
|
|
38
|
-
var isToolbarAIFCEnabled = editorExperiment('platform_editor_toolbar_aifc', true, {
|
|
38
|
+
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true, {
|
|
39
39
|
exposure: true
|
|
40
40
|
});
|
|
41
41
|
var userPreferencesProvider = config.userPreferencesProvider,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-toolbar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/css": "^0.14.0",
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
34
|
-
"@atlaskit/editor-plugin-block-controls": "^
|
|
35
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
36
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
37
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
38
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
39
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
40
|
-
"@atlaskit/editor-plugin-user-preferences": "^
|
|
33
|
+
"@atlaskit/editor-plugin-analytics": "^5.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-block-controls": "^6.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-connectivity": "^5.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^7.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^6.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-toolbar": "^2.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-user-intent": "^3.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-user-preferences": "^3.0.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
42
42
|
"@atlaskit/editor-toolbar": "^0.8.0",
|
|
43
43
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"@atlaskit/icon-lab": "^5.7.0",
|
|
46
46
|
"@atlaskit/menu": "^8.4.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^12.9.0",
|
|
49
49
|
"@atlaskit/tokens": "^6.3.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"bind-event-listener": "^3.0.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^
|
|
54
|
+
"@atlaskit/editor-common": "^109.0.0",
|
|
55
55
|
"react": "^18.2.0",
|
|
56
56
|
"react-dom": "^18.2.0",
|
|
57
57
|
"react-intl-next": "npm:react-intl@^5.18.1"
|