@atlaskit/editor-plugin-block-menu 0.0.4 → 0.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,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-menu
|
|
2
2
|
|
|
3
|
+
## 0.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3145f278b1f7a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3145f278b1f7a) -
|
|
8
|
+
[ux] [ED-28473] minor UI updates for editor-toolbar
|
|
9
|
+
|
|
10
|
+
- Use ADS ButtonGroup for ToolbarButtonGroup
|
|
11
|
+
- Remove groupLocation prop and use CSS instead
|
|
12
|
+
- Use DropdownItemGroup for ToolbarDropdownItemSection and expand props for section separator and
|
|
13
|
+
title
|
|
14
|
+
- Support ReactNode as content for ToolbarTooltip and add missing shortcuts in tooltips
|
|
15
|
+
- Center Icons for split buttons and make chevron icon 24px wide
|
|
16
|
+
- Align dropdown menu UI with current editor design
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 0.0.4
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -30,7 +30,9 @@ var getBlockMenuComponents = exports.getBlockMenuComponents = function getBlockM
|
|
|
30
30
|
rank: 200,
|
|
31
31
|
component: function component(_ref2) {
|
|
32
32
|
var children = _ref2.children;
|
|
33
|
-
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItemSection,
|
|
33
|
+
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItemSection, {
|
|
34
|
+
hasSeparator: true
|
|
35
|
+
}, children);
|
|
34
36
|
}
|
|
35
37
|
}, {
|
|
36
38
|
type: 'block-menu-section',
|
|
@@ -38,7 +40,9 @@ var getBlockMenuComponents = exports.getBlockMenuComponents = function getBlockM
|
|
|
38
40
|
rank: 300,
|
|
39
41
|
component: function component(_ref3) {
|
|
40
42
|
var children = _ref3.children;
|
|
41
|
-
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItemSection,
|
|
43
|
+
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItemSection, {
|
|
44
|
+
hasSeparator: true
|
|
45
|
+
}, children);
|
|
42
46
|
}
|
|
43
47
|
}, {
|
|
44
48
|
type: 'block-menu-nested',
|
|
@@ -25,7 +25,9 @@ export const getBlockMenuComponents = () => {
|
|
|
25
25
|
component: ({
|
|
26
26
|
children
|
|
27
27
|
}) => {
|
|
28
|
-
return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection,
|
|
28
|
+
return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, {
|
|
29
|
+
hasSeparator: true
|
|
30
|
+
}, children);
|
|
29
31
|
}
|
|
30
32
|
}, {
|
|
31
33
|
type: 'block-menu-section',
|
|
@@ -34,7 +36,9 @@ export const getBlockMenuComponents = () => {
|
|
|
34
36
|
component: ({
|
|
35
37
|
children
|
|
36
38
|
}) => {
|
|
37
|
-
return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection,
|
|
39
|
+
return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, {
|
|
40
|
+
hasSeparator: true
|
|
41
|
+
}, children);
|
|
38
42
|
}
|
|
39
43
|
}, {
|
|
40
44
|
type: 'block-menu-nested',
|
|
@@ -23,7 +23,9 @@ export var getBlockMenuComponents = function getBlockMenuComponents() {
|
|
|
23
23
|
rank: 200,
|
|
24
24
|
component: function component(_ref2) {
|
|
25
25
|
var children = _ref2.children;
|
|
26
|
-
return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection,
|
|
26
|
+
return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, {
|
|
27
|
+
hasSeparator: true
|
|
28
|
+
}, children);
|
|
27
29
|
}
|
|
28
30
|
}, {
|
|
29
31
|
type: 'block-menu-section',
|
|
@@ -31,7 +33,9 @@ export var getBlockMenuComponents = function getBlockMenuComponents() {
|
|
|
31
33
|
rank: 300,
|
|
32
34
|
component: function component(_ref3) {
|
|
33
35
|
var children = _ref3.children;
|
|
34
|
-
return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection,
|
|
36
|
+
return /*#__PURE__*/React.createElement(ToolbarDropdownItemSection, {
|
|
37
|
+
hasSeparator: true
|
|
38
|
+
}, children);
|
|
35
39
|
}
|
|
36
40
|
}, {
|
|
37
41
|
type: 'block-menu-nested',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-menu",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "BlockMenu plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@babel/runtime": "^7.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@atlaskit/editor-common": "^107.
|
|
48
|
+
"@atlaskit/editor-common": "^107.24.0",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
51
51
|
},
|