@atlaskit/renderer 124.22.1 → 124.22.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,13 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 124.22.2
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
  ## 124.22.1
4
12
 
5
13
  ### Patch Changes
@@ -10,32 +10,15 @@ var _reactIntlNext = require("react-intl-next");
10
10
  var _textWrap = _interopRequireDefault(require("@atlaskit/icon/core/text-wrap"));
11
11
  var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
12
12
  var _messages = require("@atlaskit/editor-common/messages");
13
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
14
13
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
15
14
  var _analyticsContext = _interopRequireDefault(require("../../../../analytics/analyticsContext"));
16
15
  var _enums = require("../../../../analytics/enums");
17
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
16
  /**
19
17
  * @jsxRuntime classic
20
18
  * @jsx jsx
21
19
  */
22
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
21
 
24
- var WrapIcon = function WrapIcon() {
25
- return (0, _react.jsx)("svg", {
26
- width: "24",
27
- height: "24",
28
- fill: "none",
29
- viewBox: "0 0 24 24"
30
- }, (0, _react.jsx)("g", {
31
- fill: "currentColor",
32
- clipPath: "url(#clip0_654_431)"
33
- }, (0, _react.jsx)("path", {
34
- d: "M20 4h-1v16h1V4ZM3 8a1 1 0 0 1 1-1h9.5a4.5 4.5 0 1 1 0 9h-2.086l.293.293a1 1 0 0 1-1.414 1.414l-2-2a1 1 0 0 1 0-1.414l2-2a1 1 0 0 1 1.414 1.414l-.293.293H13.5a2.5 2.5 0 0 0 0-5H4a1 1 0 0 1-1-1Z",
35
- clipRule: "evenodd",
36
- fillRule: "evenodd"
37
- })));
38
- };
39
22
  var CodeBlockWrapButton = function CodeBlockWrapButton(_ref) {
40
23
  var setWrapLongLines = _ref.setWrapLongLines,
41
24
  wrapLongLines = _ref.wrapLongLines,
@@ -54,10 +37,7 @@ var CodeBlockWrapButton = function CodeBlockWrapButton(_ref) {
54
37
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
55
38
  ,
56
39
  className: "wrap-code ".concat(wrapLongLines ? 'clicked' : ''),
57
- iconBefore: (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? (0, _react.jsx)(_textWrap.default, {
58
- label: ""
59
- }) : (0, _react.jsx)(_icon.default, {
60
- glyph: WrapIcon,
40
+ iconBefore: (0, _react.jsx)(_textWrap.default, {
61
41
  label: ""
62
42
  }),
63
43
  isSelected: wrapLongLines,
@@ -8,26 +8,9 @@ import { injectIntl } from 'react-intl-next';
8
8
  import TextWrapIcon from '@atlaskit/icon/core/text-wrap';
9
9
  import Button from '@atlaskit/button/custom-theme-button';
10
10
  import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages';
11
- import Icon from '@atlaskit/icon';
12
11
  import Tooltip from '@atlaskit/tooltip';
13
12
  import AnalyticsContext from '../../../../analytics/analyticsContext';
14
13
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../../../analytics/enums';
15
- import { fg } from '@atlaskit/platform-feature-flags';
16
- const WrapIcon = () => {
17
- return jsx("svg", {
18
- width: "24",
19
- height: "24",
20
- fill: "none",
21
- viewBox: "0 0 24 24"
22
- }, jsx("g", {
23
- fill: "currentColor",
24
- clipPath: "url(#clip0_654_431)"
25
- }, jsx("path", {
26
- d: "M20 4h-1v16h1V4ZM3 8a1 1 0 0 1 1-1h9.5a4.5 4.5 0 1 1 0 9h-2.086l.293.293a1 1 0 0 1-1.414 1.414l-2-2a1 1 0 0 1 0-1.414l2-2a1 1 0 0 1 1.414 1.414l-.293.293H13.5a2.5 2.5 0 0 0 0-5H4a1 1 0 0 1-1-1Z",
27
- clipRule: "evenodd",
28
- fillRule: "evenodd"
29
- })));
30
- };
31
14
  const CodeBlockWrapButton = ({
32
15
  setWrapLongLines,
33
16
  wrapLongLines,
@@ -47,10 +30,7 @@ const CodeBlockWrapButton = ({
47
30
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
48
31
  ,
49
32
  className: `wrap-code ${wrapLongLines ? 'clicked' : ''}`,
50
- iconBefore: fg('platform-custom-icon-migration') ? jsx(TextWrapIcon, {
51
- label: ""
52
- }) : jsx(Icon, {
53
- glyph: WrapIcon,
33
+ iconBefore: jsx(TextWrapIcon, {
54
34
  label: ""
55
35
  }),
56
36
  isSelected: wrapLongLines,
@@ -8,26 +8,9 @@ import { injectIntl } from 'react-intl-next';
8
8
  import TextWrapIcon from '@atlaskit/icon/core/text-wrap';
9
9
  import Button from '@atlaskit/button/custom-theme-button';
10
10
  import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages';
11
- import Icon from '@atlaskit/icon';
12
11
  import Tooltip from '@atlaskit/tooltip';
13
12
  import AnalyticsContext from '../../../../analytics/analyticsContext';
14
13
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../../../analytics/enums';
15
- import { fg } from '@atlaskit/platform-feature-flags';
16
- var WrapIcon = function WrapIcon() {
17
- return jsx("svg", {
18
- width: "24",
19
- height: "24",
20
- fill: "none",
21
- viewBox: "0 0 24 24"
22
- }, jsx("g", {
23
- fill: "currentColor",
24
- clipPath: "url(#clip0_654_431)"
25
- }, jsx("path", {
26
- d: "M20 4h-1v16h1V4ZM3 8a1 1 0 0 1 1-1h9.5a4.5 4.5 0 1 1 0 9h-2.086l.293.293a1 1 0 0 1-1.414 1.414l-2-2a1 1 0 0 1 0-1.414l2-2a1 1 0 0 1 1.414 1.414l-.293.293H13.5a2.5 2.5 0 0 0 0-5H4a1 1 0 0 1-1-1Z",
27
- clipRule: "evenodd",
28
- fillRule: "evenodd"
29
- })));
30
- };
31
14
  var CodeBlockWrapButton = function CodeBlockWrapButton(_ref) {
32
15
  var setWrapLongLines = _ref.setWrapLongLines,
33
16
  wrapLongLines = _ref.wrapLongLines,
@@ -46,10 +29,7 @@ var CodeBlockWrapButton = function CodeBlockWrapButton(_ref) {
46
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
47
30
  ,
48
31
  className: "wrap-code ".concat(wrapLongLines ? 'clicked' : ''),
49
- iconBefore: fg('platform-custom-icon-migration') ? jsx(TextWrapIcon, {
50
- label: ""
51
- }) : jsx(Icon, {
52
- glyph: WrapIcon,
32
+ iconBefore: jsx(TextWrapIcon, {
53
33
  label: ""
54
34
  }),
55
35
  isSelected: wrapLongLines,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "124.22.1",
3
+ "version": "124.22.2",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -57,7 +57,7 @@
57
57
  "@atlaskit/status": "^3.0.0",
58
58
  "@atlaskit/task-decision": "^19.2.0",
59
59
  "@atlaskit/theme": "^21.0.0",
60
- "@atlaskit/tmp-editor-statsig": "^15.13.0",
60
+ "@atlaskit/tmp-editor-statsig": "^15.14.0",
61
61
  "@atlaskit/tokens": "^8.6.0",
62
62
  "@atlaskit/tooltip": "^20.11.0",
63
63
  "@atlaskit/visually-hidden": "^3.0.0",
@@ -242,9 +242,6 @@
242
242
  "jfp-magma-ssr-iv-editor-codeblock": {
243
243
  "type": "boolean"
244
244
  },
245
- "platform-custom-icon-migration": {
246
- "type": "boolean"
247
- },
248
245
  "platform_fix_macro_renders_in_layouts": {
249
246
  "type": "boolean"
250
247
  }