@atlaskit/editor-plugin-selection-extension 4.1.2 → 4.2.0
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 +11 -0
- package/dist/cjs/ui/toolbar-components/MenuItem.js +1 -0
- package/dist/es2019/ui/toolbar-components/MenuItem.js +1 -0
- package/dist/esm/ui/toolbar-components/MenuItem.js +1 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types-ts4.5/types/index.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-extension
|
|
2
2
|
|
|
3
|
+
## 4.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`555ac8f256674`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/555ac8f256674) -
|
|
8
|
+
Update menu item icon size to small, tweak paddings and font styles
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 4.1.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -48,6 +48,7 @@ var MenuItem = exports.MenuItem = function MenuItem(_ref) {
|
|
|
48
48
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
|
|
49
49
|
key: extension.label,
|
|
50
50
|
elemBefore: /*#__PURE__*/_react.default.createElement(Icon, {
|
|
51
|
+
size: "small",
|
|
51
52
|
label: ""
|
|
52
53
|
}),
|
|
53
54
|
onClick: onClickHandle(extension),
|
|
@@ -41,6 +41,7 @@ export var MenuItem = function MenuItem(_ref) {
|
|
|
41
41
|
return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
|
|
42
42
|
key: extension.label,
|
|
43
43
|
elemBefore: /*#__PURE__*/React.createElement(Icon, {
|
|
44
|
+
size: "small",
|
|
44
45
|
label: ""
|
|
45
46
|
}),
|
|
46
47
|
onClick: onClickHandle(extension),
|
|
@@ -160,6 +160,7 @@ export type ExtensionMenuItemConfiguration = {
|
|
|
160
160
|
contentComponent?: React.ComponentType<SelectionExtensionComponentProps>;
|
|
161
161
|
icon: React.ComponentType<React.PropsWithChildren<{
|
|
162
162
|
label: string;
|
|
163
|
+
size?: 'small' | 'medium';
|
|
163
164
|
}>>;
|
|
164
165
|
isDisabled?: boolean;
|
|
165
166
|
label: string;
|
|
@@ -160,6 +160,7 @@ export type ExtensionMenuItemConfiguration = {
|
|
|
160
160
|
contentComponent?: React.ComponentType<SelectionExtensionComponentProps>;
|
|
161
161
|
icon: React.ComponentType<React.PropsWithChildren<{
|
|
162
162
|
label: string;
|
|
163
|
+
size?: 'small' | 'medium';
|
|
163
164
|
}>>;
|
|
164
165
|
isDisabled?: boolean;
|
|
165
166
|
label: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-extension",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "editor-plugin-selection-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"uuid": "^3.1.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@atlaskit/editor-common": "^108.
|
|
58
|
+
"@atlaskit/editor-common": "^108.5.0",
|
|
59
59
|
"react": "^18.2.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|