@atlaskit/editor-plugin-block-type 10.1.0 → 10.1.2
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-block-type
|
|
2
2
|
|
|
3
|
+
## 10.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ef001bf65d48f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef001bf65d48f) -
|
|
8
|
+
Remove usage of `platform_editor_toolbar_aifc` inside editor packages - instead rely on checking
|
|
9
|
+
for new toolbar plugin option, make `enableNewToolbarExperience` mandatory for consumers to opt in
|
|
10
|
+
to new toolbar experience
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 10.1.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 10.1.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -105,9 +105,7 @@ var blockquotePluginOptions = function blockquotePluginOptions(_ref2, isAllowed,
|
|
|
105
105
|
var blockTypePlugin = exports.blockTypePlugin = function blockTypePlugin(_ref3) {
|
|
106
106
|
var options = _ref3.config,
|
|
107
107
|
api = _ref3.api;
|
|
108
|
-
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
109
|
-
exposure: true
|
|
110
|
-
});
|
|
108
|
+
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
111
109
|
var primaryToolbarComponent = function primaryToolbarComponent(_ref4) {
|
|
112
110
|
var popupsMountPoint = _ref4.popupsMountPoint,
|
|
113
111
|
popupsBoundariesElement = _ref4.popupsBoundariesElement,
|
|
@@ -93,9 +93,7 @@ const blockTypePlugin = ({
|
|
|
93
93
|
config: options,
|
|
94
94
|
api
|
|
95
95
|
}) => {
|
|
96
|
-
const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
97
|
-
exposure: true
|
|
98
|
-
});
|
|
96
|
+
const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
99
97
|
const primaryToolbarComponent = ({
|
|
100
98
|
popupsMountPoint,
|
|
101
99
|
popupsBoundariesElement,
|
|
@@ -98,9 +98,7 @@ var blockquotePluginOptions = function blockquotePluginOptions(_ref2, isAllowed,
|
|
|
98
98
|
var blockTypePlugin = function blockTypePlugin(_ref3) {
|
|
99
99
|
var options = _ref3.config,
|
|
100
100
|
api = _ref3.api;
|
|
101
|
-
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
102
|
-
exposure: true
|
|
103
|
-
});
|
|
101
|
+
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
104
102
|
var primaryToolbarComponent = function primaryToolbarComponent(_ref4) {
|
|
105
103
|
var popupsMountPoint = _ref4.popupsMountPoint,
|
|
106
104
|
popupsBoundariesElement = _ref4.popupsBoundariesElement,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.2",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-selection-toolbar": "^7.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-toolbar": "^3.
|
|
40
|
+
"@atlaskit/editor-plugin-toolbar": "^3.2.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
42
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
42
|
+
"@atlaskit/editor-shared-styles": "^3.7.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
44
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
44
|
+
"@atlaskit/editor-toolbar": "^0.15.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
46
46
|
"@atlaskit/icon": "^28.5.0",
|
|
47
47
|
"@atlaskit/icon-lab": "^5.10.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
52
52
|
"@atlaskit/prosemirror-input-rules": "^3.5.0",
|
|
53
53
|
"@atlaskit/theme": "^21.0.0",
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^13.10.0",
|
|
55
55
|
"@atlaskit/tokens": "^6.4.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
57
57
|
"@emotion/react": "^11.7.1"
|