@atlaskit/editor-plugin-text-formatting 1.11.1 → 1.11.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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-formatting
|
|
2
2
|
|
|
3
|
+
## 1.11.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#125353](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/125353)
|
|
8
|
+
[`77847728bf617`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77847728bf617) -
|
|
9
|
+
Migrate icons in Editor primary toolbar
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 1.11.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -10,6 +10,8 @@ var _react2 = require("@emotion/react");
|
|
|
10
10
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
11
11
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
12
12
|
var _more = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/more"));
|
|
13
|
+
var _showMoreHorizontalEditorMore = _interopRequireDefault(require("@atlaskit/icon/utility/migration/show-more-horizontal--editor-more"));
|
|
14
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
15
|
/**
|
|
14
16
|
* @jsxRuntime classic
|
|
15
17
|
* @jsx jsx
|
|
@@ -36,7 +38,10 @@ var MoreButton = exports.MoreButton = /*#__PURE__*/_react.default.memo(function
|
|
|
36
38
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
37
39
|
(0, _react2.jsx)("div", {
|
|
38
40
|
css: _styles.triggerWrapperStyles
|
|
39
|
-
}, (0, _react2.jsx)(
|
|
41
|
+
}, (0, _platformFeatureFlags.fg)('platform_editor_migration_icon_and_typography') ? (0, _react2.jsx)(_showMoreHorizontalEditorMore.default, {
|
|
42
|
+
label: "",
|
|
43
|
+
color: "currentColor"
|
|
44
|
+
}) : (0, _react2.jsx)(_more.default, {
|
|
40
45
|
label: ""
|
|
41
46
|
})),
|
|
42
47
|
"aria-expanded": ariaExpanded,
|
|
@@ -9,6 +9,8 @@ import { jsx } from '@emotion/react';
|
|
|
9
9
|
import { triggerWrapperStyles } from '@atlaskit/editor-common/styles';
|
|
10
10
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
11
11
|
import MoreIcon from '@atlaskit/icon/glyph/editor/more';
|
|
12
|
+
import ShowMoreHorizontalIcon from '@atlaskit/icon/utility/migration/show-more-horizontal--editor-more';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
14
|
export const MoreButton = /*#__PURE__*/React.memo(({
|
|
13
15
|
label,
|
|
14
16
|
'aria-expanded': ariaExpanded,
|
|
@@ -29,7 +31,10 @@ export const MoreButton = /*#__PURE__*/React.memo(({
|
|
|
29
31
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
30
32
|
jsx("div", {
|
|
31
33
|
css: triggerWrapperStyles
|
|
32
|
-
}, jsx(
|
|
34
|
+
}, fg('platform_editor_migration_icon_and_typography') ? jsx(ShowMoreHorizontalIcon, {
|
|
35
|
+
label: "",
|
|
36
|
+
color: "currentColor"
|
|
37
|
+
}) : jsx(MoreIcon, {
|
|
33
38
|
label: ""
|
|
34
39
|
})),
|
|
35
40
|
"aria-expanded": ariaExpanded,
|
|
@@ -9,6 +9,8 @@ import { jsx } from '@emotion/react';
|
|
|
9
9
|
import { triggerWrapperStyles } from '@atlaskit/editor-common/styles';
|
|
10
10
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
11
11
|
import MoreIcon from '@atlaskit/icon/glyph/editor/more';
|
|
12
|
+
import ShowMoreHorizontalIcon from '@atlaskit/icon/utility/migration/show-more-horizontal--editor-more';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
14
|
export var MoreButton = /*#__PURE__*/React.memo(function (_ref) {
|
|
13
15
|
var label = _ref.label,
|
|
14
16
|
ariaExpanded = _ref['aria-expanded'],
|
|
@@ -28,7 +30,10 @@ export var MoreButton = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
28
30
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
29
31
|
jsx("div", {
|
|
30
32
|
css: triggerWrapperStyles
|
|
31
|
-
}, jsx(
|
|
33
|
+
}, fg('platform_editor_migration_icon_and_typography') ? jsx(ShowMoreHorizontalIcon, {
|
|
34
|
+
label: "",
|
|
35
|
+
color: "currentColor"
|
|
36
|
+
}) : jsx(MoreIcon, {
|
|
32
37
|
label: ""
|
|
33
38
|
})),
|
|
34
39
|
"aria-expanded": ariaExpanded,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-formatting",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"description": "Text-formatting plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/adf-schema": "^40.3.0",
|
|
36
|
-
"@atlaskit/editor-common": "^87.
|
|
36
|
+
"@atlaskit/editor-common": "^87.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.6.0",
|
|
38
38
|
"@atlaskit/editor-plugin-primary-toolbar": "^1.3.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.8.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
44
44
|
"@atlaskit/prosemirror-input-rules": "^3.2.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
@@ -92,6 +92,9 @@
|
|
|
92
92
|
"platform-feature-flags": {
|
|
93
93
|
"platform.editor.simplify-inline-cards-in-code-blocks_jw6t1": {
|
|
94
94
|
"type": "boolean"
|
|
95
|
+
},
|
|
96
|
+
"platform_editor_migration_icon_and_typography": {
|
|
97
|
+
"type": "boolean"
|
|
95
98
|
}
|
|
96
99
|
}
|
|
97
100
|
}
|