@atlaskit/editor-plugin-alignment 7.0.8 → 7.0.9
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,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-alignment
|
|
2
2
|
|
|
3
|
+
## 7.0.9
|
|
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
|
+
|
|
3
13
|
## 7.0.8
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -19,9 +19,7 @@ var defaultConfig = {
|
|
|
19
19
|
};
|
|
20
20
|
var alignmentPlugin = exports.alignmentPlugin = function alignmentPlugin(_ref) {
|
|
21
21
|
var api = _ref.api;
|
|
22
|
-
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
23
|
-
exposure: true
|
|
24
|
-
});
|
|
22
|
+
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
25
23
|
var primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
|
|
26
24
|
var editorView = _ref2.editorView,
|
|
27
25
|
popupsMountPoint = _ref2.popupsMountPoint,
|
|
@@ -13,9 +13,7 @@ const defaultConfig = {
|
|
|
13
13
|
export const alignmentPlugin = ({
|
|
14
14
|
api
|
|
15
15
|
}) => {
|
|
16
|
-
const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
17
|
-
exposure: true
|
|
18
|
-
});
|
|
16
|
+
const isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
19
17
|
const primaryToolbarComponent = ({
|
|
20
18
|
editorView,
|
|
21
19
|
popupsMountPoint,
|
|
@@ -12,9 +12,7 @@ var defaultConfig = {
|
|
|
12
12
|
};
|
|
13
13
|
export var alignmentPlugin = function alignmentPlugin(_ref) {
|
|
14
14
|
var api = _ref.api;
|
|
15
|
-
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
16
|
-
exposure: true
|
|
17
|
-
});
|
|
15
|
+
var isToolbarAIFCEnabled = Boolean(api === null || api === void 0 ? void 0 : api.toolbar);
|
|
18
16
|
var primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
|
|
19
17
|
var editorView = _ref2.editorView,
|
|
20
18
|
popupsMountPoint = _ref2.popupsMountPoint,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-alignment",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.9",
|
|
4
4
|
"description": "Alignment plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/editor-toolbar": "^0.15.0",
|
|
42
42
|
"@atlaskit/icon": "^28.5.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^13.10.0",
|
|
45
45
|
"@atlaskit/tokens": "^6.4.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@compiled/react": "^0.18.3"
|