@atlaskit/editor-plugin-alignment 8.0.3 → 8.0.5
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-alignment
|
|
2
2
|
|
|
3
|
+
## 8.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.0.4
|
|
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
|
## 8.0.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -9,7 +9,6 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
|
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
12
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
13
12
|
var _AlignmentMenu = require("./Toolbar/AlignmentMenu");
|
|
14
13
|
var _AlignmentMenuItem = require("./Toolbar/AlignmentMenuItem");
|
|
15
14
|
var _MenuSection = require("./Toolbar/MenuSection");
|
|
@@ -76,11 +75,11 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
|
|
|
76
75
|
type: _toolbar.ALIGNMENT_MENU.type,
|
|
77
76
|
key: _toolbar.ALIGNMENT_MENU.key,
|
|
78
77
|
rank: _toolbar.ALIGNMENT_MENU_RANK[_toolbar.ALIGNMENT_MENU_SECTION.key]
|
|
79
|
-
}
|
|
78
|
+
}, {
|
|
80
79
|
type: _toolbar.TEXT_COLLAPSED_MENU.type,
|
|
81
80
|
key: _toolbar.TEXT_COLLAPSED_MENU.key,
|
|
82
81
|
rank: _toolbar.TEXT_COLLAPSED_MENU_RANK[_toolbar.ALIGNMENT_MENU_SECTION.key]
|
|
83
|
-
}]
|
|
84
|
-
component:
|
|
82
|
+
}],
|
|
83
|
+
component: _MenuSection.MenuSection
|
|
85
84
|
}].concat((0, _toConsumableArray2.default)(getAlignmentMenuItems(api)));
|
|
86
85
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ALIGNMENT_GROUP, ALIGNMENT_GROUP_RANK, ALIGNMENT_MENU, ALIGNMENT_MENU_SECTION, TEXT_SECTION, TEXT_SECTION_RANK, ALIGNMENT_MENU_RANK, TEXT_COLLAPSED_MENU_RANK, TEXT_COLLAPSED_MENU, TEXT_SECTION_PRIMARY_TOOLBAR, TEXT_SECTION_PRIMARY_TOOLBAR_RANK } from '@atlaskit/editor-common/toolbar';
|
|
3
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
3
|
import { AlignmentMenu } from './Toolbar/AlignmentMenu';
|
|
5
4
|
import { AlignmentMenuItem } from './Toolbar/AlignmentMenuItem';
|
|
6
5
|
import { MenuSection } from './Toolbar/MenuSection';
|
|
@@ -68,11 +67,11 @@ export const getToolbarComponents = api => {
|
|
|
68
67
|
type: ALIGNMENT_MENU.type,
|
|
69
68
|
key: ALIGNMENT_MENU.key,
|
|
70
69
|
rank: ALIGNMENT_MENU_RANK[ALIGNMENT_MENU_SECTION.key]
|
|
71
|
-
},
|
|
70
|
+
}, {
|
|
72
71
|
type: TEXT_COLLAPSED_MENU.type,
|
|
73
72
|
key: TEXT_COLLAPSED_MENU.key,
|
|
74
73
|
rank: TEXT_COLLAPSED_MENU_RANK[ALIGNMENT_MENU_SECTION.key]
|
|
75
|
-
}]
|
|
76
|
-
component:
|
|
74
|
+
}],
|
|
75
|
+
component: MenuSection
|
|
77
76
|
}, ...getAlignmentMenuItems(api)];
|
|
78
77
|
};
|
|
@@ -2,7 +2,6 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { ALIGNMENT_GROUP, ALIGNMENT_GROUP_RANK, ALIGNMENT_MENU, ALIGNMENT_MENU_SECTION, TEXT_SECTION, TEXT_SECTION_RANK, ALIGNMENT_MENU_RANK, TEXT_COLLAPSED_MENU_RANK, TEXT_COLLAPSED_MENU, TEXT_SECTION_PRIMARY_TOOLBAR, TEXT_SECTION_PRIMARY_TOOLBAR_RANK } from '@atlaskit/editor-common/toolbar';
|
|
5
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
5
|
import { AlignmentMenu } from './Toolbar/AlignmentMenu';
|
|
7
6
|
import { AlignmentMenuItem } from './Toolbar/AlignmentMenuItem';
|
|
8
7
|
import { MenuSection } from './Toolbar/MenuSection';
|
|
@@ -69,11 +68,11 @@ export var getToolbarComponents = function getToolbarComponents(api) {
|
|
|
69
68
|
type: ALIGNMENT_MENU.type,
|
|
70
69
|
key: ALIGNMENT_MENU.key,
|
|
71
70
|
rank: ALIGNMENT_MENU_RANK[ALIGNMENT_MENU_SECTION.key]
|
|
72
|
-
}
|
|
71
|
+
}, {
|
|
73
72
|
type: TEXT_COLLAPSED_MENU.type,
|
|
74
73
|
key: TEXT_COLLAPSED_MENU.key,
|
|
75
74
|
rank: TEXT_COLLAPSED_MENU_RANK[ALIGNMENT_MENU_SECTION.key]
|
|
76
|
-
}]
|
|
77
|
-
component:
|
|
75
|
+
}],
|
|
76
|
+
component: MenuSection
|
|
78
77
|
}].concat(_toConsumableArray(getAlignmentMenuItems(api)));
|
|
79
78
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-alignment",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.5",
|
|
4
4
|
"description": "Alignment plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@atlaskit/editor-toolbar": "^0.19.0",
|
|
42
42
|
"@atlaskit/icon": "^30.0.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^17.0.0",
|
|
45
45
|
"@atlaskit/tokens": "^10.1.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@compiled/react": "^0.18.6"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@atlaskit/editor-common": "^111.
|
|
50
|
+
"@atlaskit/editor-common": "^111.9.0",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
52
|
"react-dom": "^18.2.0",
|
|
53
53
|
"react-intl-next": "npm:react-intl@^5.18.1"
|