@atlaskit/editor-plugin-floating-toolbar 5.2.1 → 5.2.3
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,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 5.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`20a5aa8c4e7a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20a5aa8c4e7a0) -
|
|
8
|
+
Removed gridSize import. No visual changes.
|
|
9
|
+
|
|
10
|
+
## 5.2.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 5.2.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -10,7 +10,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
10
10
|
var _floatingToolbar = require("@atlaskit/editor-common/floating-toolbar");
|
|
11
11
|
var _toolbarFlagCheck = require("@atlaskit/editor-common/toolbar-flag-check");
|
|
12
12
|
var _menu = require("@atlaskit/menu");
|
|
13
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
14
13
|
/**
|
|
15
14
|
* @jsxRuntime classic
|
|
16
15
|
* @jsx jsx
|
|
@@ -20,8 +19,6 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
20
19
|
|
|
21
20
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
22
21
|
|
|
23
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
24
|
-
|
|
25
22
|
var menuItemDimensions = exports.menuItemDimensions = {
|
|
26
23
|
width: 175,
|
|
27
24
|
height: 32
|
|
@@ -46,9 +43,8 @@ var menuContainerStyles = (0, _react2.css)({
|
|
|
46
43
|
}
|
|
47
44
|
});
|
|
48
45
|
|
|
49
|
-
//
|
|
50
|
-
|
|
51
|
-
var itemSpacing = exports.itemSpacing = (0, _constants.gridSize)() / 2;
|
|
46
|
+
// itemSpacing is used in calculations expecting a number, hence not using a space token
|
|
47
|
+
var itemSpacing = exports.itemSpacing = 4;
|
|
52
48
|
|
|
53
49
|
// Extend the ButtonItem component type to allow mouse events to be accepted from the Typescript check
|
|
54
50
|
|
|
@@ -12,8 +12,6 @@ import { injectIntl } from 'react-intl-next';
|
|
|
12
12
|
import { DropdownMenuItem, DropdownSeparator } from '@atlaskit/editor-common/floating-toolbar';
|
|
13
13
|
import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-check';
|
|
14
14
|
import { HeadingItem } from '@atlaskit/menu';
|
|
15
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
16
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
17
15
|
export const menuItemDimensions = {
|
|
18
16
|
width: 175,
|
|
19
17
|
height: 32
|
|
@@ -38,9 +36,8 @@ const menuContainerStyles = css({
|
|
|
38
36
|
}
|
|
39
37
|
});
|
|
40
38
|
|
|
41
|
-
//
|
|
42
|
-
|
|
43
|
-
export const itemSpacing = gridSize() / 2;
|
|
39
|
+
// itemSpacing is used in calculations expecting a number, hence not using a space token
|
|
40
|
+
export const itemSpacing = 4;
|
|
44
41
|
|
|
45
42
|
// Extend the ButtonItem component type to allow mouse events to be accepted from the Typescript check
|
|
46
43
|
|
|
@@ -12,8 +12,6 @@ import { injectIntl } from 'react-intl-next';
|
|
|
12
12
|
import { DropdownMenuItem, DropdownSeparator } from '@atlaskit/editor-common/floating-toolbar';
|
|
13
13
|
import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-check';
|
|
14
14
|
import { HeadingItem } from '@atlaskit/menu';
|
|
15
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
16
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
17
15
|
export var menuItemDimensions = {
|
|
18
16
|
width: 175,
|
|
19
17
|
height: 32
|
|
@@ -38,9 +36,8 @@ var menuContainerStyles = css({
|
|
|
38
36
|
}
|
|
39
37
|
});
|
|
40
38
|
|
|
41
|
-
//
|
|
42
|
-
|
|
43
|
-
export var itemSpacing = gridSize() / 2;
|
|
39
|
+
// itemSpacing is used in calculations expecting a number, hence not using a space token
|
|
40
|
+
export var itemSpacing = 4;
|
|
44
41
|
|
|
45
42
|
// Extend the ButtonItem component type to allow mouse events to be accepted from the Typescript check
|
|
46
43
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.3",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -20,9 +20,6 @@
|
|
|
20
20
|
"*.compiled.css"
|
|
21
21
|
],
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
|
-
"af:exports": {
|
|
24
|
-
".": "./src/index.ts"
|
|
25
|
-
},
|
|
26
23
|
"dependencies": {
|
|
27
24
|
"@atlaskit/adf-utils": "^19.21.0",
|
|
28
25
|
"@atlaskit/button": "^23.4.0",
|
|
@@ -31,25 +28,25 @@
|
|
|
31
28
|
"@atlaskit/editor-plugin-analytics": "^3.0.0",
|
|
32
29
|
"@atlaskit/editor-plugin-context-panel": "^5.1.0",
|
|
33
30
|
"@atlaskit/editor-plugin-copy-button": "^3.0.0",
|
|
34
|
-
"@atlaskit/editor-plugin-decorations": "^3.
|
|
31
|
+
"@atlaskit/editor-plugin-decorations": "^3.1.0",
|
|
35
32
|
"@atlaskit/editor-plugin-editor-disabled": "^3.0.0",
|
|
36
33
|
"@atlaskit/editor-plugin-editor-viewmode": "^5.0.0",
|
|
37
34
|
"@atlaskit/editor-plugin-emoji": "^4.3.0",
|
|
38
|
-
"@atlaskit/editor-plugin-extension": "^6.
|
|
35
|
+
"@atlaskit/editor-plugin-extension": "^6.2.0",
|
|
39
36
|
"@atlaskit/editor-plugin-interaction": "^5.0.0",
|
|
40
37
|
"@atlaskit/editor-plugin-table": "^12.3.0",
|
|
41
38
|
"@atlaskit/editor-plugin-user-intent": "^1.1.0",
|
|
42
39
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
43
40
|
"@atlaskit/emoji": "^69.5.0",
|
|
44
|
-
"@atlaskit/icon": "^28.
|
|
41
|
+
"@atlaskit/icon": "^28.1.0",
|
|
45
42
|
"@atlaskit/menu": "^8.3.0",
|
|
46
43
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
47
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
|
-
"@atlaskit/primitives": "^14.
|
|
45
|
+
"@atlaskit/primitives": "^14.12.0",
|
|
49
46
|
"@atlaskit/select": "^21.2.0",
|
|
50
|
-
"@atlaskit/theme": "^
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^11.
|
|
52
|
-
"@atlaskit/tokens": "^6.
|
|
47
|
+
"@atlaskit/theme": "^20.0.0",
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^11.8.0",
|
|
49
|
+
"@atlaskit/tokens": "^6.1.0",
|
|
53
50
|
"@atlaskit/tooltip": "^20.4.0",
|
|
54
51
|
"@babel/runtime": "^7.0.0",
|
|
55
52
|
"@emotion/react": "^11.7.1",
|
|
@@ -60,7 +57,7 @@
|
|
|
60
57
|
"react-loadable": "^5.1.0"
|
|
61
58
|
},
|
|
62
59
|
"peerDependencies": {
|
|
63
|
-
"@atlaskit/editor-common": "^107.
|
|
60
|
+
"@atlaskit/editor-common": "^107.32.0",
|
|
64
61
|
"react": "^18.2.0",
|
|
65
62
|
"react-dom": "^18.2.0"
|
|
66
63
|
},
|