@atlaskit/editor-plugin-text-formatting 1.14.0 → 1.14.2
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,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-formatting
|
|
2
2
|
|
|
3
|
+
## 1.14.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#135500](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/135500)
|
|
8
|
+
[`d97d77c47b7cb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d97d77c47b7cb) -
|
|
9
|
+
[ux] Migrate new ADS icons on Editor primary toolbar
|
|
10
|
+
|
|
11
|
+
## 1.14.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#134213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134213)
|
|
16
|
+
[`93bd7032842ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93bd7032842ec) -
|
|
17
|
+
[ux] [ED-24636] Bump ADF Schema package
|
|
18
|
+
|
|
3
19
|
## 1.14.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -14,8 +14,8 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
|
14
14
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
15
15
|
var _preset = require("@atlaskit/editor-common/preset");
|
|
16
16
|
var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
|
|
17
|
-
var
|
|
18
|
-
var
|
|
17
|
+
var _textBoldEditorBold = _interopRequireDefault(require("@atlaskit/icon/core/migration/text-bold--editor-bold"));
|
|
18
|
+
var _textItalicEditorItalic = _interopRequireDefault(require("@atlaskit/icon/core/migration/text-italic--editor-italic"));
|
|
19
19
|
var _commands = require("../../../commands");
|
|
20
20
|
var _types = require("../types");
|
|
21
21
|
var _IconsMarkSchema;
|
|
@@ -37,7 +37,9 @@ var IconButtons = function IconButtons(editorAnalyticsAPI) {
|
|
|
37
37
|
message: _messages.toolbarMessages.bold,
|
|
38
38
|
tooltipKeymap: _keymaps.toggleBold,
|
|
39
39
|
component: function component() {
|
|
40
|
-
return (0, _react2.jsx)(
|
|
40
|
+
return (0, _react2.jsx)(_textBoldEditorBold.default, {
|
|
41
|
+
color: "currentColor",
|
|
42
|
+
spacing: "spacious",
|
|
41
43
|
label: ""
|
|
42
44
|
});
|
|
43
45
|
}
|
|
@@ -48,7 +50,9 @@ var IconButtons = function IconButtons(editorAnalyticsAPI) {
|
|
|
48
50
|
message: _messages.toolbarMessages.italic,
|
|
49
51
|
tooltipKeymap: _keymaps.toggleItalic,
|
|
50
52
|
component: function component() {
|
|
51
|
-
return (0, _react2.jsx)(
|
|
53
|
+
return (0, _react2.jsx)(_textItalicEditorItalic.default, {
|
|
54
|
+
color: "currentColor",
|
|
55
|
+
spacing: "spacious",
|
|
52
56
|
label: ""
|
|
53
57
|
});
|
|
54
58
|
}
|
|
@@ -11,8 +11,8 @@ import { getAriaKeyshortcuts, toggleBold, toggleCode, toggleItalic, toggleStrike
|
|
|
11
11
|
import { toolbarMessages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import { editorCommandToPMCommand } from '@atlaskit/editor-common/preset';
|
|
13
13
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
14
|
-
import BoldIcon from '@atlaskit/icon/
|
|
15
|
-
import ItalicIcon from '@atlaskit/icon/
|
|
14
|
+
import BoldIcon from '@atlaskit/icon/core/migration/text-bold--editor-bold';
|
|
15
|
+
import ItalicIcon from '@atlaskit/icon/core/migration/text-italic--editor-italic';
|
|
16
16
|
import { toggleCodeWithAnalytics, toggleEmWithAnalytics, toggleStrikeWithAnalytics, toggleStrongWithAnalytics, toggleSubscriptWithAnalytics, toggleSuperscriptWithAnalytics, toggleUnderlineWithAnalytics } from '../../../commands';
|
|
17
17
|
import { IconTypes } from '../types';
|
|
18
18
|
const withToolbarInputMethod = func => editorCommandToPMCommand(func(INPUT_METHOD.TOOLBAR));
|
|
@@ -23,6 +23,8 @@ const IconButtons = editorAnalyticsAPI => ({
|
|
|
23
23
|
message: toolbarMessages.bold,
|
|
24
24
|
tooltipKeymap: toggleBold,
|
|
25
25
|
component: () => jsx(BoldIcon, {
|
|
26
|
+
color: "currentColor",
|
|
27
|
+
spacing: "spacious",
|
|
26
28
|
label: ""
|
|
27
29
|
})
|
|
28
30
|
},
|
|
@@ -32,6 +34,8 @@ const IconButtons = editorAnalyticsAPI => ({
|
|
|
32
34
|
message: toolbarMessages.italic,
|
|
33
35
|
tooltipKeymap: toggleItalic,
|
|
34
36
|
component: () => jsx(ItalicIcon, {
|
|
37
|
+
color: "currentColor",
|
|
38
|
+
spacing: "spacious",
|
|
35
39
|
label: ""
|
|
36
40
|
})
|
|
37
41
|
},
|
|
@@ -13,8 +13,8 @@ import { getAriaKeyshortcuts, toggleBold, toggleCode, toggleItalic, toggleStrike
|
|
|
13
13
|
import { toolbarMessages } from '@atlaskit/editor-common/messages';
|
|
14
14
|
import { editorCommandToPMCommand } from '@atlaskit/editor-common/preset';
|
|
15
15
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
16
|
-
import BoldIcon from '@atlaskit/icon/
|
|
17
|
-
import ItalicIcon from '@atlaskit/icon/
|
|
16
|
+
import BoldIcon from '@atlaskit/icon/core/migration/text-bold--editor-bold';
|
|
17
|
+
import ItalicIcon from '@atlaskit/icon/core/migration/text-italic--editor-italic';
|
|
18
18
|
import { toggleCodeWithAnalytics, toggleEmWithAnalytics, toggleStrikeWithAnalytics, toggleStrongWithAnalytics, toggleSubscriptWithAnalytics, toggleSuperscriptWithAnalytics, toggleUnderlineWithAnalytics } from '../../../commands';
|
|
19
19
|
import { IconTypes } from '../types';
|
|
20
20
|
var withToolbarInputMethod = function withToolbarInputMethod(func) {
|
|
@@ -29,6 +29,8 @@ var IconButtons = function IconButtons(editorAnalyticsAPI) {
|
|
|
29
29
|
tooltipKeymap: toggleBold,
|
|
30
30
|
component: function component() {
|
|
31
31
|
return jsx(BoldIcon, {
|
|
32
|
+
color: "currentColor",
|
|
33
|
+
spacing: "spacious",
|
|
32
34
|
label: ""
|
|
33
35
|
});
|
|
34
36
|
}
|
|
@@ -40,6 +42,8 @@ var IconButtons = function IconButtons(editorAnalyticsAPI) {
|
|
|
40
42
|
tooltipKeymap: toggleItalic,
|
|
41
43
|
component: function component() {
|
|
42
44
|
return jsx(ItalicIcon, {
|
|
45
|
+
color: "currentColor",
|
|
46
|
+
spacing: "spacious",
|
|
43
47
|
label: ""
|
|
44
48
|
});
|
|
45
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-formatting",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"description": "Text-formatting plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/adf-schema": "^40.
|
|
36
|
-
"@atlaskit/editor-common": "^88.
|
|
35
|
+
"@atlaskit/adf-schema": "^40.9.0",
|
|
36
|
+
"@atlaskit/editor-common": "^88.5.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.8.0",
|
|
38
38
|
"@atlaskit/editor-plugin-primary-toolbar": "^2.0.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
40
40
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
41
41
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
42
|
-
"@atlaskit/icon": "^22.
|
|
42
|
+
"@atlaskit/icon": "^22.15.0",
|
|
43
43
|
"@atlaskit/prosemirror-input-rules": "^3.2.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1",
|