@atlaskit/editor-plugin-insert-block 8.2.4 → 8.2.6
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 8.2.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3d0b3f8b4d802`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d0b3f8b4d802) -
|
|
8
|
+
Remove platform_editor_toolbar_aifc_responsive experiment
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 8.2.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 8.2.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -9,7 +9,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
10
10
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
11
11
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
13
12
|
var _CodeBlockButton = require("./toolbar-components/CodeBlockButton");
|
|
14
13
|
var _configResolver = require("./toolbar-components/config-resolver");
|
|
15
14
|
var _EmojiButton = require("./toolbar-components/EmojiButton");
|
|
@@ -35,12 +34,12 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
|
|
|
35
34
|
|
|
36
35
|
// Helper function to create responsive wrapper component
|
|
37
36
|
var createResponsiveComponent = function createResponsiveComponent(showAt) {
|
|
38
|
-
return
|
|
37
|
+
return function (_ref2) {
|
|
39
38
|
var children = _ref2.children;
|
|
40
39
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.Show, {
|
|
41
40
|
above: (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_undo_redo_confluence') ? showAt || 'lg' : 'lg'
|
|
42
41
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButtonGroup, null, children));
|
|
43
|
-
}
|
|
42
|
+
};
|
|
44
43
|
};
|
|
45
44
|
|
|
46
45
|
// TaskList Group
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { INSERT_BLOCK_SECTION, TASK_LIST_GROUP, MEDIA_GROUP, INSERT_BLOCK_SECTION_RANK, TASK_LIST_BUTTON, TASK_LIST_GROUP_RANK, MEDIA_BUTTON, MENTION_GROUP, MEDIA_GROUP_RANK, MENTION_BUTTON, MENTION_GROUP_RANK, EMOJI_GROUP, EMOJI_BUTTON, EMOJI_GROUP_RANK, LAYOUT_GROUP, LAYOUT_BUTTON, LAYOUT_GROUP_RANK, TABLE_GROUP_RANK, TABLE_BUTTON, TABLE_GROUP, TABLE_SIZE_PICKER, INSERT_GROUP, INSERT_BUTTON, INSERT_GROUP_RANK, CODE_BLOCK_GROUP, CODE_BLOCK_BUTTON, CODE_BLOCK_GROUP_RANK } from '@atlaskit/editor-common/toolbar';
|
|
3
3
|
import { Show, ToolbarButtonGroup } from '@atlaskit/editor-toolbar';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
5
|
import { CodeBlockButton } from './toolbar-components/CodeBlockButton';
|
|
7
6
|
import { resolveToolbarConfig } from './toolbar-components/config-resolver';
|
|
8
7
|
import { EmojiButton } from './toolbar-components/EmojiButton';
|
|
@@ -29,11 +28,11 @@ export const getToolbarComponents = ({
|
|
|
29
28
|
|
|
30
29
|
// Helper function to create responsive wrapper component
|
|
31
30
|
const createResponsiveComponent = showAt => {
|
|
32
|
-
return
|
|
31
|
+
return ({
|
|
33
32
|
children
|
|
34
33
|
}) => /*#__PURE__*/React.createElement(Show, {
|
|
35
34
|
above: fg('platform_editor_toolbar_aifc_undo_redo_confluence') ? showAt || 'lg' : 'lg'
|
|
36
|
-
}, /*#__PURE__*/React.createElement(ToolbarButtonGroup, null, children))
|
|
35
|
+
}, /*#__PURE__*/React.createElement(ToolbarButtonGroup, null, children));
|
|
37
36
|
};
|
|
38
37
|
|
|
39
38
|
// TaskList Group
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { INSERT_BLOCK_SECTION, TASK_LIST_GROUP, MEDIA_GROUP, INSERT_BLOCK_SECTION_RANK, TASK_LIST_BUTTON, TASK_LIST_GROUP_RANK, MEDIA_BUTTON, MENTION_GROUP, MEDIA_GROUP_RANK, MENTION_BUTTON, MENTION_GROUP_RANK, EMOJI_GROUP, EMOJI_BUTTON, EMOJI_GROUP_RANK, LAYOUT_GROUP, LAYOUT_BUTTON, LAYOUT_GROUP_RANK, TABLE_GROUP_RANK, TABLE_BUTTON, TABLE_GROUP, TABLE_SIZE_PICKER, INSERT_GROUP, INSERT_BUTTON, INSERT_GROUP_RANK, CODE_BLOCK_GROUP, CODE_BLOCK_BUTTON, CODE_BLOCK_GROUP_RANK } from '@atlaskit/editor-common/toolbar';
|
|
3
3
|
import { Show, ToolbarButtonGroup } from '@atlaskit/editor-toolbar';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
5
|
import { CodeBlockButton } from './toolbar-components/CodeBlockButton';
|
|
7
6
|
import { resolveToolbarConfig } from './toolbar-components/config-resolver';
|
|
8
7
|
import { EmojiButton } from './toolbar-components/EmojiButton';
|
|
@@ -28,12 +27,12 @@ export var getToolbarComponents = function getToolbarComponents(_ref) {
|
|
|
28
27
|
|
|
29
28
|
// Helper function to create responsive wrapper component
|
|
30
29
|
var createResponsiveComponent = function createResponsiveComponent(showAt) {
|
|
31
|
-
return
|
|
30
|
+
return function (_ref2) {
|
|
32
31
|
var children = _ref2.children;
|
|
33
32
|
return /*#__PURE__*/React.createElement(Show, {
|
|
34
33
|
above: fg('platform_editor_toolbar_aifc_undo_redo_confluence') ? showAt || 'lg' : 'lg'
|
|
35
34
|
}, /*#__PURE__*/React.createElement(ToolbarButtonGroup, null, children));
|
|
36
|
-
}
|
|
35
|
+
};
|
|
37
36
|
};
|
|
38
37
|
|
|
39
38
|
// TaskList Group
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.6",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-plugin-quick-insert": "^7.1.0",
|
|
52
52
|
"@atlaskit/editor-plugin-rule": "^7.0.0",
|
|
53
53
|
"@atlaskit/editor-plugin-status": "^8.1.0",
|
|
54
|
-
"@atlaskit/editor-plugin-table": "^
|
|
54
|
+
"@atlaskit/editor-plugin-table": "^17.0.0",
|
|
55
55
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^10.1.0",
|
|
56
56
|
"@atlaskit/editor-plugin-toolbar": "^4.1.0",
|
|
57
57
|
"@atlaskit/editor-plugin-type-ahead": "^7.0.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/icon-lab": "^5.14.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/theme": "^21.0.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^16.34.0",
|
|
68
68
|
"@atlaskit/tokens": "^10.1.0",
|
|
69
69
|
"@babel/runtime": "^7.0.0",
|
|
70
70
|
"@emotion/react": "^11.7.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"react-virtualized": "^9.22.6"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@atlaskit/editor-common": "^111.
|
|
77
|
+
"@atlaskit/editor-common": "^111.9.0",
|
|
78
78
|
"react": "^18.2.0",
|
|
79
79
|
"react-dom": "^18.2.0",
|
|
80
80
|
"react-intl-next": "npm:react-intl@^5.18.1"
|