@atlaskit/editor-plugin-text-formatting 1.13.2 → 1.14.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-text-formatting
2
2
 
3
+ ## 1.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#133191](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133191)
8
+ [`78a1927084934`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/78a1927084934) -
9
+ [ux] Remove icon migration feature gate and migrate new icons on primary toolbar
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.13.2
4
16
 
5
17
  ### Patch Changes
@@ -9,9 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  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
- var _more = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/more"));
13
12
  var _showMoreHorizontalEditorMore = _interopRequireDefault(require("@atlaskit/icon/utility/migration/show-more-horizontal--editor-more"));
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
13
  /**
16
14
  * @jsxRuntime classic
17
15
  * @jsx jsx
@@ -38,11 +36,9 @@ var MoreButton = exports.MoreButton = /*#__PURE__*/_react.default.memo(function
38
36
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
39
37
  (0, _react2.jsx)("div", {
40
38
  css: _styles.triggerWrapperStyles
41
- }, (0, _platformFeatureFlags.fg)('platform_editor_migration_icon_and_typography') ? (0, _react2.jsx)(_showMoreHorizontalEditorMore.default, {
39
+ }, (0, _react2.jsx)(_showMoreHorizontalEditorMore.default, {
42
40
  label: "",
43
41
  color: "currentColor"
44
- }) : (0, _react2.jsx)(_more.default, {
45
- label: ""
46
42
  })),
47
43
  "aria-expanded": ariaExpanded,
48
44
  "aria-label": label,
@@ -8,9 +8,7 @@ import React from 'react';
8
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
- import MoreIcon from '@atlaskit/icon/glyph/editor/more';
12
11
  import ShowMoreHorizontalIcon from '@atlaskit/icon/utility/migration/show-more-horizontal--editor-more';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
12
  export const MoreButton = /*#__PURE__*/React.memo(({
15
13
  label,
16
14
  'aria-expanded': ariaExpanded,
@@ -31,11 +29,9 @@ export const MoreButton = /*#__PURE__*/React.memo(({
31
29
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
32
30
  jsx("div", {
33
31
  css: triggerWrapperStyles
34
- }, fg('platform_editor_migration_icon_and_typography') ? jsx(ShowMoreHorizontalIcon, {
32
+ }, jsx(ShowMoreHorizontalIcon, {
35
33
  label: "",
36
34
  color: "currentColor"
37
- }) : jsx(MoreIcon, {
38
- label: ""
39
35
  })),
40
36
  "aria-expanded": ariaExpanded,
41
37
  "aria-label": label,
@@ -8,9 +8,7 @@ import React from 'react';
8
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
- import MoreIcon from '@atlaskit/icon/glyph/editor/more';
12
11
  import ShowMoreHorizontalIcon from '@atlaskit/icon/utility/migration/show-more-horizontal--editor-more';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
12
  export var MoreButton = /*#__PURE__*/React.memo(function (_ref) {
15
13
  var label = _ref.label,
16
14
  ariaExpanded = _ref['aria-expanded'],
@@ -30,11 +28,9 @@ export var MoreButton = /*#__PURE__*/React.memo(function (_ref) {
30
28
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
31
29
  jsx("div", {
32
30
  css: triggerWrapperStyles
33
- }, fg('platform_editor_migration_icon_and_typography') ? jsx(ShowMoreHorizontalIcon, {
31
+ }, jsx(ShowMoreHorizontalIcon, {
34
32
  label: "",
35
33
  color: "currentColor"
36
- }) : jsx(MoreIcon, {
37
- label: ""
38
34
  })),
39
35
  "aria-expanded": ariaExpanded,
40
36
  "aria-label": label,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-formatting",
3
- "version": "1.13.2",
3
+ "version": "1.14.0",
4
4
  "description": "Text-formatting plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,14 +33,13 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@atlaskit/adf-schema": "^40.8.1",
36
- "@atlaskit/editor-common": "^88.0.0",
36
+ "@atlaskit/editor-common": "^88.1.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
42
  "@atlaskit/icon": "^22.14.0",
43
- "@atlaskit/platform-feature-flags": "^0.3.0",
44
43
  "@atlaskit/prosemirror-input-rules": "^3.2.0",
45
44
  "@babel/runtime": "^7.0.0",
46
45
  "@emotion/react": "^11.7.1",
@@ -88,10 +87,5 @@
88
87
  "import-no-extraneous-disable-for-examples-and-docs"
89
88
  ]
90
89
  }
91
- },
92
- "platform-feature-flags": {
93
- "platform_editor_migration_icon_and_typography": {
94
- "type": "boolean"
95
- }
96
90
  }
97
91
  }