@atlaskit/editor-plugin-code-block 8.1.21 → 8.1.22

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,13 @@
1
1
  # @atlaskit/editor-plugin-code-block
2
2
 
3
+ ## 8.1.22
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9f03725ffb7b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f03725ffb7b8) -
8
+ Removing feature flag with changing internal use of custom icons.
9
+ - Updated dependencies
10
+
3
11
  ## 8.1.21
4
12
 
5
13
  ### Patch Changes
@@ -6,8 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.WrapIcon = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
10
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
9
  var CustomGlyph = function CustomGlyph() {
12
10
  return /*#__PURE__*/_react.default.createElement("svg", {
13
11
  width: "24",
@@ -24,13 +22,8 @@ var CustomGlyph = function CustomGlyph() {
24
22
  })));
25
23
  };
26
24
  var WrapIcon = exports.WrapIcon = function WrapIcon() {
27
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ?
28
- /*#__PURE__*/
29
25
  // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
30
- _react.default.createElement(CustomGlyph, {
26
+ return /*#__PURE__*/_react.default.createElement(CustomGlyph, {
31
27
  "aria-label": "wrapIcon"
32
- }) : /*#__PURE__*/_react.default.createElement(_icon.default, {
33
- glyph: CustomGlyph,
34
- label: "wrapIcon"
35
28
  });
36
29
  };
@@ -1,6 +1,4 @@
1
1
  import React from 'react';
2
- import Icon from '@atlaskit/icon';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
2
  const CustomGlyph = () => /*#__PURE__*/React.createElement("svg", {
5
3
  width: "24",
6
4
  height: "24",
@@ -15,13 +13,8 @@ const CustomGlyph = () => /*#__PURE__*/React.createElement("svg", {
15
13
  fillRule: "evenodd"
16
14
  })));
17
15
  export const WrapIcon = () => {
18
- return fg('platform-custom-icon-migration') ?
19
- /*#__PURE__*/
20
16
  // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
21
- React.createElement(CustomGlyph, {
17
+ return /*#__PURE__*/React.createElement(CustomGlyph, {
22
18
  "aria-label": "wrapIcon"
23
- }) : /*#__PURE__*/React.createElement(Icon, {
24
- glyph: CustomGlyph,
25
- label: "wrapIcon"
26
19
  });
27
20
  };
@@ -1,6 +1,4 @@
1
1
  import React from 'react';
2
- import Icon from '@atlaskit/icon';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
2
  var CustomGlyph = function CustomGlyph() {
5
3
  return /*#__PURE__*/React.createElement("svg", {
6
4
  width: "24",
@@ -17,13 +15,8 @@ var CustomGlyph = function CustomGlyph() {
17
15
  })));
18
16
  };
19
17
  export var WrapIcon = function WrapIcon() {
20
- return fg('platform-custom-icon-migration') ?
21
- /*#__PURE__*/
22
18
  // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
23
- React.createElement(CustomGlyph, {
19
+ return /*#__PURE__*/React.createElement(CustomGlyph, {
24
20
  "aria-label": "wrapIcon"
25
- }) : /*#__PURE__*/React.createElement(Icon, {
26
- glyph: CustomGlyph,
27
- label: "wrapIcon"
28
21
  });
29
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block",
3
- "version": "8.1.21",
3
+ "version": "8.1.22",
4
4
  "description": "Code block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -40,14 +40,14 @@
40
40
  "@atlaskit/editor-plugin-toolbar": "^3.4.0",
41
41
  "@atlaskit/editor-prosemirror": "^7.2.0",
42
42
  "@atlaskit/editor-toolbar": "^0.18.0",
43
- "@atlaskit/icon": "^29.1.0",
43
+ "@atlaskit/icon": "^29.3.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
46
- "@atlaskit/tmp-editor-statsig": "^15.12.0",
46
+ "@atlaskit/tmp-editor-statsig": "^15.14.0",
47
47
  "@babel/runtime": "^7.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^110.44.0",
50
+ "@atlaskit/editor-common": "^110.46.0",
51
51
  "react": "^18.2.0",
52
52
  "react-intl-next": "npm:react-intl@^5.18.1"
53
53
  },
@@ -93,9 +93,6 @@
93
93
  }
94
94
  },
95
95
  "platform-feature-flags": {
96
- "platform-custom-icon-migration": {
97
- "type": "boolean"
98
- },
99
96
  "code_block_auto_insertion_bug_fix": {
100
97
  "type": "boolean"
101
98
  },