@atlaskit/editor-plugin-block-type 11.2.1 → 11.2.3
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-block-type
|
|
2
2
|
|
|
3
|
+
## 11.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.2.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`3d0b3f8b4d802`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d0b3f8b4d802) -
|
|
14
|
+
Remove platform_editor_toolbar_aifc_responsive experiment
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 11.2.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -5,10 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.getToolbarComponents = void 0;
|
|
8
|
-
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
8
|
var _react = _interopRequireDefault(require("react"));
|
|
10
9
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
11
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
12
10
|
var _blockTypes = require("../block-types");
|
|
13
11
|
var _HeadingButton = require("./ToolbarBlockType/HeadingButton");
|
|
14
12
|
var _QuoteButton = require("./ToolbarBlockType/QuoteButton");
|
|
@@ -47,11 +45,11 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
|
|
|
47
45
|
type: _toolbar.TEXT_STYLES_MENU.type,
|
|
48
46
|
key: _toolbar.TEXT_STYLES_MENU.key,
|
|
49
47
|
rank: _toolbar.TEXT_STYLES_MENU_RANK[_toolbar.TEXT_STYLES_MENU_SECTION.key]
|
|
50
|
-
}
|
|
48
|
+
}, {
|
|
51
49
|
type: _toolbar.TEXT_COLLAPSED_MENU.type,
|
|
52
50
|
key: _toolbar.TEXT_COLLAPSED_MENU.key,
|
|
53
51
|
rank: _toolbar.TEXT_COLLAPSED_MENU_RANK[_toolbar.TEXT_STYLES_MENU_SECTION.key]
|
|
54
|
-
}]
|
|
52
|
+
}]
|
|
55
53
|
}];
|
|
56
54
|
Object.values((0, _blockTypes.toolbarBlockTypesWithRank)()).forEach(function (blockType) {
|
|
57
55
|
if (blockType.toolbarKey) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TEXT_STYLES_GROUP, TEXT_SECTION_RANK, TEXT_SECTION, TEXT_STYLES_MENU, TEXT_STYLES_GROUP_RANK, TEXT_STYLES_MENU_SECTION, TEXT_STYLES_MENU_RANK, TEXT_COLLAPSED_MENU_RANK, TEXT_COLLAPSED_MENU, TEXT_SECTION_PRIMARY_TOOLBAR_RANK, TEXT_SECTION_PRIMARY_TOOLBAR } from '@atlaskit/editor-common/toolbar';
|
|
3
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
3
|
import { toolbarBlockTypesWithRank } from '../block-types';
|
|
5
4
|
import { HeadingButton } from './ToolbarBlockType/HeadingButton';
|
|
6
5
|
import { QuoteButton } from './ToolbarBlockType/QuoteButton';
|
|
@@ -38,11 +37,11 @@ export const getToolbarComponents = api => {
|
|
|
38
37
|
type: TEXT_STYLES_MENU.type,
|
|
39
38
|
key: TEXT_STYLES_MENU.key,
|
|
40
39
|
rank: TEXT_STYLES_MENU_RANK[TEXT_STYLES_MENU_SECTION.key]
|
|
41
|
-
},
|
|
40
|
+
}, {
|
|
42
41
|
type: TEXT_COLLAPSED_MENU.type,
|
|
43
42
|
key: TEXT_COLLAPSED_MENU.key,
|
|
44
43
|
rank: TEXT_COLLAPSED_MENU_RANK[TEXT_STYLES_MENU_SECTION.key]
|
|
45
|
-
}]
|
|
44
|
+
}]
|
|
46
45
|
}];
|
|
47
46
|
Object.values(toolbarBlockTypesWithRank()).forEach(blockType => {
|
|
48
47
|
if (blockType.toolbarKey) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { TEXT_STYLES_GROUP, TEXT_SECTION_RANK, TEXT_SECTION, TEXT_STYLES_MENU, TEXT_STYLES_GROUP_RANK, TEXT_STYLES_MENU_SECTION, TEXT_STYLES_MENU_RANK, TEXT_COLLAPSED_MENU_RANK, TEXT_COLLAPSED_MENU, TEXT_SECTION_PRIMARY_TOOLBAR_RANK, TEXT_SECTION_PRIMARY_TOOLBAR } from '@atlaskit/editor-common/toolbar';
|
|
4
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
5
3
|
import { toolbarBlockTypesWithRank } from '../block-types';
|
|
6
4
|
import { HeadingButton } from './ToolbarBlockType/HeadingButton';
|
|
7
5
|
import { QuoteButton } from './ToolbarBlockType/QuoteButton';
|
|
@@ -40,11 +38,11 @@ export var getToolbarComponents = function getToolbarComponents(api) {
|
|
|
40
38
|
type: TEXT_STYLES_MENU.type,
|
|
41
39
|
key: TEXT_STYLES_MENU.key,
|
|
42
40
|
rank: TEXT_STYLES_MENU_RANK[TEXT_STYLES_MENU_SECTION.key]
|
|
43
|
-
}
|
|
41
|
+
}, {
|
|
44
42
|
type: TEXT_COLLAPSED_MENU.type,
|
|
45
43
|
key: TEXT_COLLAPSED_MENU.key,
|
|
46
44
|
rank: TEXT_COLLAPSED_MENU_RANK[TEXT_STYLES_MENU_SECTION.key]
|
|
47
|
-
}]
|
|
45
|
+
}]
|
|
48
46
|
}];
|
|
49
47
|
Object.values(toolbarBlockTypesWithRank()).forEach(function (blockType) {
|
|
50
48
|
if (blockType.toolbarKey) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.3",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"@atlaskit/editor-toolbar": "^0.19.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.3.0",
|
|
46
46
|
"@atlaskit/icon": "^30.0.0",
|
|
47
|
-
"@atlaskit/icon-lab": "^5.
|
|
47
|
+
"@atlaskit/icon-lab": "^5.15.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^17.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
51
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
52
52
|
"@atlaskit/theme": "^21.0.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^17.0.0",
|
|
54
54
|
"@atlaskit/tokens": "^10.1.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@emotion/react": "^11.7.1"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^111.
|
|
59
|
+
"@atlaskit/editor-common": "^111.9.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|