@atlaskit/renderer 114.5.0 → 114.5.1

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
+ ## 114.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#131541](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131541)
8
+ [`14e2b8676868b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14e2b8676868b) -
9
+ ENGHEALTH-23692 Iconography lift for renderer
10
+
3
11
  ## 114.5.0
4
12
 
5
13
  ### Minor Changes
@@ -11,7 +11,7 @@ var _react2 = require("react");
11
11
  var _reactIntlNext = require("react-intl-next");
12
12
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
13
13
  var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
14
- var _copy = _interopRequireDefault(require("@atlaskit/icon/glyph/copy"));
14
+ var _copy = _interopRequireDefault(require("@atlaskit/icon/core/migration/copy"));
15
15
  var _clipboard = require("../../../utils/clipboard");
16
16
  var _messages = require("@atlaskit/editor-common/messages");
17
17
  var _enums = require("../../../../analytics/enums");
@@ -18,7 +18,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
18
18
  var _react = _interopRequireDefault(require("react"));
19
19
  var _react2 = require("@emotion/react");
20
20
  var _colors = require("@atlaskit/theme/colors");
21
- var _link = _interopRequireDefault(require("@atlaskit/icon/glyph/link"));
21
+ var _link = _interopRequireDefault(require("@atlaskit/icon/core/migration/link"));
22
22
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
23
23
  var _reactIntlNext = require("react-intl-next");
24
24
  var _messages = require("../../messages");
@@ -121,8 +121,8 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
121
121
  type: "button"
122
122
  }, (0, _react2.jsx)(_link.default, {
123
123
  label: _this.getCopyAriaLabel(),
124
- size: _this.props.level > 3 ? 'small' : 'medium',
125
- primaryColor: _this.state.isClicked ? "var(--ds-icon-selected, ".concat(_colors.B400, ")") : "var(--ds-icon-subtle, ".concat(_colors.N200, ")")
124
+ LEGACY_size: _this.props.level > 3 ? 'small' : 'medium',
125
+ color: _this.state.isClicked ? "var(--ds-icon-selected, ".concat(_colors.B400, ")") : "var(--ds-icon-subtle, ".concat(_colors.N200, ")")
126
126
  }));
127
127
  });
128
128
  return _this;
@@ -10,12 +10,12 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
  var _react = _interopRequireDefault(require("react"));
12
12
  var _react2 = require("@emotion/react");
13
- var _hint = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/hint"));
13
+ var _lightbulbEditorHint = _interopRequireDefault(require("@atlaskit/icon/core/migration/lightbulb--editor-hint"));
14
14
  var _adfSchema = require("@atlaskit/adf-schema");
15
15
  var _panel = require("@atlaskit/editor-common/panel");
16
16
  var _editorPalette = require("@atlaskit/editor-palette");
17
- var _emoji = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/emoji"));
18
- var _emoji2 = _interopRequireDefault(require("./emoji"));
17
+ var _emojiEditorEmoji = _interopRequireDefault(require("@atlaskit/icon/core/migration/emoji--editor-emoji"));
18
+ var _emoji = _interopRequireDefault(require("./emoji"));
19
19
  var _icons = require("@atlaskit/editor-common/icons");
20
20
  var _consts = require("@atlaskit/editor-shared-styles/consts");
21
21
  var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react");
@@ -208,10 +208,10 @@ var panelIcons = {
208
208
  info: _icons.PanelInfoIcon,
209
209
  success: _icons.PanelSuccessIcon,
210
210
  note: _icons.PanelNoteIcon,
211
- tip: _hint.default,
211
+ tip: _lightbulbEditorHint.default,
212
212
  warning: _icons.PanelWarningIcon,
213
213
  error: _icons.PanelErrorIcon,
214
- custom: _emoji.default
214
+ custom: _emojiEditorEmoji.default
215
215
  };
216
216
  var Panel = function Panel(props) {
217
217
  var allowCustomPanels = props.allowCustomPanels,
@@ -228,7 +228,7 @@ var Panel = function Panel(props) {
228
228
  var getIcon = function getIcon() {
229
229
  if (panelType === _adfSchema.PanelType.CUSTOM) {
230
230
  if (panelIcon && providers) {
231
- return (0, _react2.jsx)(_emoji2.default, {
231
+ return (0, _react2.jsx)(_emoji.default, {
232
232
  id: panelIconId,
233
233
  text: panelIconText,
234
234
  shortName: panelIcon,
@@ -67,7 +67,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
67
67
  var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
68
68
  var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
69
69
  var packageName = "@atlaskit/renderer";
70
- var packageVersion = "114.5.0";
70
+ var packageVersion = "114.5.1";
71
71
  var setAsQueryContainerStyles = (0, _react2.css)({
72
72
  containerName: 'ak-renderer-wrapper',
73
73
  containerType: 'inline-size',
@@ -8,7 +8,7 @@ import { useState } from 'react';
8
8
  import { injectIntl } from 'react-intl-next';
9
9
  import Tooltip from '@atlaskit/tooltip';
10
10
  import Button from '@atlaskit/button/custom-theme-button';
11
- import CopyIcon from '@atlaskit/icon/glyph/copy';
11
+ import CopyIcon from '@atlaskit/icon/core/migration/copy';
12
12
  import { copyTextToClipboard } from '../../../utils/clipboard';
13
13
  import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages';
14
14
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../../../analytics/enums';
@@ -9,7 +9,7 @@ import React from 'react';
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { css, jsx } from '@emotion/react';
11
11
  import { N200, N500, B400 } from '@atlaskit/theme/colors';
12
- import LinkIcon from '@atlaskit/icon/glyph/link';
12
+ import LinkIcon from '@atlaskit/icon/core/migration/link';
13
13
  import Tooltip from '@atlaskit/tooltip';
14
14
  import { injectIntl } from 'react-intl-next';
15
15
  import { headingAnchorLinkMessages } from '../../messages';
@@ -87,8 +87,8 @@ class HeadingAnchor extends React.PureComponent {
87
87
  type: "button"
88
88
  }, jsx(LinkIcon, {
89
89
  label: this.getCopyAriaLabel(),
90
- size: this.props.level > 3 ? 'small' : 'medium',
91
- primaryColor: this.state.isClicked ? `var(--ds-icon-selected, ${B400})` : `var(--ds-icon-subtle, ${N200})`
90
+ LEGACY_size: this.props.level > 3 ? 'small' : 'medium',
91
+ color: this.state.isClicked ? `var(--ds-icon-selected, ${B400})` : `var(--ds-icon-subtle, ${N200})`
92
92
  }));
93
93
  });
94
94
  }
@@ -6,11 +6,11 @@ import _extends from "@babel/runtime/helpers/extends";
6
6
  import React from 'react';
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
- import TipIcon from '@atlaskit/icon/glyph/editor/hint';
9
+ import TipIcon from '@atlaskit/icon/core/migration/lightbulb--editor-hint';
10
10
  import { PanelType } from '@atlaskit/adf-schema';
11
11
  import { PanelSharedCssClassName, panelSharedStylesWithoutPrefix } from '@atlaskit/editor-common/panel';
12
12
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
13
- import EmojiIcon from '@atlaskit/icon/glyph/editor/emoji';
13
+ import EmojiIcon from '@atlaskit/icon/core/migration/emoji--editor-emoji';
14
14
  import EmojiItem from './emoji';
15
15
  import { PanelInfoIcon, PanelSuccessIcon, PanelNoteIcon, PanelWarningIcon, PanelErrorIcon } from '@atlaskit/editor-common/icons';
16
16
  import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
@@ -48,7 +48,7 @@ import { removeEmptySpaceAroundContent } from './rendererHelper';
48
48
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
49
49
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
50
50
  const packageName = "@atlaskit/renderer";
51
- const packageVersion = "114.5.0";
51
+ const packageVersion = "114.5.1";
52
52
  const setAsQueryContainerStyles = css({
53
53
  containerName: 'ak-renderer-wrapper',
54
54
  containerType: 'inline-size',
@@ -9,7 +9,7 @@ import { useState } from 'react';
9
9
  import { injectIntl } from 'react-intl-next';
10
10
  import Tooltip from '@atlaskit/tooltip';
11
11
  import Button from '@atlaskit/button/custom-theme-button';
12
- import CopyIcon from '@atlaskit/icon/glyph/copy';
12
+ import CopyIcon from '@atlaskit/icon/core/migration/copy';
13
13
  import { copyTextToClipboard } from '../../../utils/clipboard';
14
14
  import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages';
15
15
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../../../analytics/enums';
@@ -20,7 +20,7 @@ import React from 'react';
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
  import { css, jsx } from '@emotion/react';
22
22
  import { N200, N500, B400 } from '@atlaskit/theme/colors';
23
- import LinkIcon from '@atlaskit/icon/glyph/link';
23
+ import LinkIcon from '@atlaskit/icon/core/migration/link';
24
24
  import Tooltip from '@atlaskit/tooltip';
25
25
  import { injectIntl } from 'react-intl-next';
26
26
  import { headingAnchorLinkMessages } from '../../messages';
@@ -115,8 +115,8 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
115
115
  type: "button"
116
116
  }, jsx(LinkIcon, {
117
117
  label: _this.getCopyAriaLabel(),
118
- size: _this.props.level > 3 ? 'small' : 'medium',
119
- primaryColor: _this.state.isClicked ? "var(--ds-icon-selected, ".concat(B400, ")") : "var(--ds-icon-subtle, ".concat(N200, ")")
118
+ LEGACY_size: _this.props.level > 3 ? 'small' : 'medium',
119
+ color: _this.state.isClicked ? "var(--ds-icon-selected, ".concat(B400, ")") : "var(--ds-icon-subtle, ".concat(N200, ")")
120
120
  }));
121
121
  });
122
122
  return _this;
@@ -11,11 +11,11 @@ var _excluded = ["backgroundColor", "hasIcon"],
11
11
  import React from 'react';
12
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
13
  import { css, jsx } from '@emotion/react';
14
- import TipIcon from '@atlaskit/icon/glyph/editor/hint';
14
+ import TipIcon from '@atlaskit/icon/core/migration/lightbulb--editor-hint';
15
15
  import { PanelType } from '@atlaskit/adf-schema';
16
16
  import { PanelSharedCssClassName, panelSharedStylesWithoutPrefix } from '@atlaskit/editor-common/panel';
17
17
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
18
- import EmojiIcon from '@atlaskit/icon/glyph/editor/emoji';
18
+ import EmojiIcon from '@atlaskit/icon/core/migration/emoji--editor-emoji';
19
19
  import EmojiItem from './emoji';
20
20
  import { PanelInfoIcon, PanelSuccessIcon, PanelNoteIcon, PanelWarningIcon, PanelErrorIcon } from '@atlaskit/editor-common/icons';
21
21
  import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
@@ -57,7 +57,7 @@ import { removeEmptySpaceAroundContent } from './rendererHelper';
57
57
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
58
58
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
59
59
  var packageName = "@atlaskit/renderer";
60
- var packageVersion = "114.5.0";
60
+ var packageVersion = "114.5.1";
61
61
  var setAsQueryContainerStyles = css({
62
62
  containerName: 'ak-renderer-wrapper',
63
63
  containerType: 'inline-size',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "114.5.0",
3
+ "version": "114.5.1",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"