@atlaskit/renderer 124.21.1 → 124.22.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,24 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 124.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
8
+ Migrated and cleaned up legacy iconography usage.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 124.21.2
15
+
16
+ ### Patch Changes
17
+
18
+ - [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
19
+ Icon entrypoint migration
20
+ - Updated dependencies
21
+
3
22
  ## 124.21.1
4
23
 
5
24
  ### Patch Changes
@@ -9,12 +9,12 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
9
9
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _react2 = require("@emotion/react");
12
- var _lightbulbEditorHint = _interopRequireDefault(require("@atlaskit/icon/core/migration/lightbulb--editor-hint"));
12
+ var _lightbulb = _interopRequireDefault(require("@atlaskit/icon/core/lightbulb"));
13
13
  var _adfSchema = require("@atlaskit/adf-schema");
14
14
  var _panel = require("@atlaskit/editor-common/panel");
15
15
  var _editorPalette = require("@atlaskit/editor-palette");
16
- var _emojiEditorEmoji = _interopRequireDefault(require("@atlaskit/icon/core/migration/emoji--editor-emoji"));
17
- var _emoji = _interopRequireDefault(require("./emoji"));
16
+ var _emoji = _interopRequireDefault(require("@atlaskit/icon/core/emoji"));
17
+ var _emoji2 = _interopRequireDefault(require("./emoji"));
18
18
  var _icons = require("@atlaskit/editor-common/icons");
19
19
  var _consts = require("@atlaskit/editor-shared-styles/consts");
20
20
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
@@ -190,10 +190,10 @@ var panelIcons = {
190
190
  info: _icons.PanelInfoIcon,
191
191
  success: _icons.PanelSuccessIcon,
192
192
  note: _icons.PanelNoteIcon,
193
- tip: _lightbulbEditorHint.default,
193
+ tip: _lightbulb.default,
194
194
  warning: _icons.PanelWarningIcon,
195
195
  error: _icons.PanelErrorIcon,
196
- custom: _emojiEditorEmoji.default
196
+ custom: _emoji.default
197
197
  };
198
198
  var Panel = function Panel(props) {
199
199
  var allowCustomPanels = props.allowCustomPanels,
@@ -211,7 +211,7 @@ var Panel = function Panel(props) {
211
211
  var getIcon = function getIcon() {
212
212
  if (panelType === _adfSchema.PanelType.CUSTOM) {
213
213
  if (panelIcon && providers) {
214
- return (0, _react2.jsx)(_emoji.default, {
214
+ return (0, _react2.jsx)(_emoji2.default, {
215
215
  id: panelIconId,
216
216
  text: panelIconText,
217
217
  shortName: panelIcon,
@@ -14,8 +14,7 @@ var _react2 = _interopRequireWildcard(require("react"));
14
14
  var _analytics = require("@atlaskit/editor-common/analytics");
15
15
  var _ui = require("@atlaskit/editor-common/ui");
16
16
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
17
- var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-right"));
18
- var _chevronRight2 = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
17
+ var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
19
18
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
20
19
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
20
  var _uniqueId2 = _interopRequireDefault(require("lodash/uniqueId"));
@@ -266,9 +265,8 @@ function Expand(_ref2) {
266
265
  expanded: expanded
267
266
  }, isMobile ? (0, _react.jsx)(_ui.ExpandIconWrapper, {
268
267
  expanded: expanded
269
- }, (0, _react.jsx)(_chevronRight2.default, {
268
+ }, (0, _react.jsx)(_chevronRight.default, {
270
269
  label: label,
271
- LEGACY_fallbackIcon: _chevronRight.default,
272
270
  spacing: "spacious",
273
271
  size: "small"
274
272
  })) : (0, _react.jsx)(_tooltip.default, {
@@ -280,9 +278,8 @@ function Expand(_ref2) {
280
278
  testId: 'tooltip'
281
279
  }, (0, _react.jsx)(_ui.ExpandIconWrapper, {
282
280
  expanded: expanded
283
- }, (0, _react.jsx)(_chevronRight2.default, {
281
+ }, (0, _react.jsx)(_chevronRight.default, {
284
282
  label: label,
285
- LEGACY_fallbackIcon: _chevronRight.default,
286
283
  spacing: "spacious",
287
284
  size: "small"
288
285
  }))), (0, _react.jsx)("span", {
@@ -69,7 +69,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
69
69
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
70
70
  var TABLE_INFO_TIMEOUT = 10000;
71
71
  var packageName = "@atlaskit/renderer";
72
- var packageVersion = "0.0.0-development";
72
+ var packageVersion = "124.21.2";
73
73
  var setAsQueryContainerStyles = (0, _react2.css)({
74
74
  containerName: 'ak-renderer-wrapper',
75
75
  containerType: 'inline-size'
@@ -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/core/migration/lightbulb--editor-hint';
9
+ import TipIcon from '@atlaskit/icon/core/lightbulb';
10
10
  import { PanelType } from '@atlaskit/adf-schema';
11
11
  import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
12
12
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
13
- import EmojiIcon from '@atlaskit/icon/core/migration/emoji--editor-emoji';
13
+ import EmojiIcon from '@atlaskit/icon/core/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';
@@ -10,7 +10,6 @@ import React, { useCallback, useRef, Suspense, lazy } from 'react';
10
10
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
11
11
  import { ExpandIconWrapper, ExpandLayoutWrapperWithRef, expandMessages, WidthProvider } from '@atlaskit/editor-common/ui';
12
12
  import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset } from '@atlaskit/editor-shared-styles';
13
- import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
14
13
  import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
15
14
  import Tooltip from '@atlaskit/tooltip';
16
15
  import { fg } from '@atlaskit/platform-feature-flags';
@@ -248,7 +247,6 @@ function Expand({
248
247
  expanded: expanded
249
248
  }, jsx(ChevronRightIcon, {
250
249
  label: label,
251
- LEGACY_fallbackIcon: ChevronRightIconLegacy,
252
250
  spacing: "spacious",
253
251
  size: "small"
254
252
  })) : jsx(Tooltip, {
@@ -262,7 +260,6 @@ function Expand({
262
260
  expanded: expanded
263
261
  }, jsx(ChevronRightIcon, {
264
262
  label: label,
265
- LEGACY_fallbackIcon: ChevronRightIconLegacy,
266
263
  spacing: "spacious",
267
264
  size: "small"
268
265
  }))), jsx("span", {
@@ -55,7 +55,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
55
55
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
56
56
  const TABLE_INFO_TIMEOUT = 10000;
57
57
  const packageName = "@atlaskit/renderer";
58
- const packageVersion = "0.0.0-development";
58
+ const packageVersion = "124.21.2";
59
59
  const setAsQueryContainerStyles = css({
60
60
  containerName: 'ak-renderer-wrapper',
61
61
  containerType: 'inline-size'
@@ -8,11 +8,11 @@ var _excluded = ["backgroundColor", "hasIcon"];
8
8
  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
- import TipIcon from '@atlaskit/icon/core/migration/lightbulb--editor-hint';
11
+ import TipIcon from '@atlaskit/icon/core/lightbulb';
12
12
  import { PanelType } from '@atlaskit/adf-schema';
13
13
  import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
14
14
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
15
- import EmojiIcon from '@atlaskit/icon/core/migration/emoji--editor-emoji';
15
+ import EmojiIcon from '@atlaskit/icon/core/emoji';
16
16
  import EmojiItem from './emoji';
17
17
  import { PanelInfoIcon, PanelSuccessIcon, PanelNoteIcon, PanelWarningIcon, PanelErrorIcon } from '@atlaskit/editor-common/icons';
18
18
  import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
@@ -13,7 +13,6 @@ import React, { useCallback, useRef, Suspense, lazy } from 'react';
13
13
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
14
14
  import { ExpandIconWrapper, ExpandLayoutWrapperWithRef, expandMessages, WidthProvider } from '@atlaskit/editor-common/ui';
15
15
  import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset } from '@atlaskit/editor-shared-styles';
16
- import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
17
16
  import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
18
17
  import Tooltip from '@atlaskit/tooltip';
19
18
  import { fg } from '@atlaskit/platform-feature-flags';
@@ -259,7 +258,6 @@ function Expand(_ref2) {
259
258
  expanded: expanded
260
259
  }, jsx(ChevronRightIcon, {
261
260
  label: label,
262
- LEGACY_fallbackIcon: ChevronRightIconLegacy,
263
261
  spacing: "spacious",
264
262
  size: "small"
265
263
  })) : jsx(Tooltip, {
@@ -273,7 +271,6 @@ function Expand(_ref2) {
273
271
  expanded: expanded
274
272
  }, jsx(ChevronRightIcon, {
275
273
  label: label,
276
- LEGACY_fallbackIcon: ChevronRightIconLegacy,
277
274
  spacing: "spacious",
278
275
  size: "small"
279
276
  }))), jsx("span", {
@@ -60,7 +60,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
60
60
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
61
61
  var TABLE_INFO_TIMEOUT = 10000;
62
62
  var packageName = "@atlaskit/renderer";
63
- var packageVersion = "0.0.0-development";
63
+ var packageVersion = "124.21.2";
64
64
  var setAsQueryContainerStyles = css({
65
65
  containerName: 'ak-renderer-wrapper',
66
66
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "124.21.1",
3
+ "version": "124.22.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
31
31
  "@atlaskit/analytics-next": "^11.1.0",
32
32
  "@atlaskit/browser-apis": "^0.0.1",
33
- "@atlaskit/button": "^23.7.0",
33
+ "@atlaskit/button": "^23.8.0",
34
34
  "@atlaskit/code": "^17.4.0",
35
35
  "@atlaskit/editor-json-transformer": "^8.31.0",
36
36
  "@atlaskit/editor-palette": "^2.1.0",
@@ -38,12 +38,12 @@
38
38
  "@atlaskit/editor-shared-styles": "^3.10.0",
39
39
  "@atlaskit/emoji": "^69.9.0",
40
40
  "@atlaskit/feature-gate-js-client": "^5.5.0",
41
- "@atlaskit/icon": "^29.1.0",
41
+ "@atlaskit/icon": "^29.2.0",
42
42
  "@atlaskit/link": "^3.2.0",
43
43
  "@atlaskit/link-datasource": "^4.30.0",
44
44
  "@atlaskit/link-extractors": "^2.4.0",
45
45
  "@atlaskit/linking-common": "^9.9.0",
46
- "@atlaskit/media-card": "^79.10.0",
46
+ "@atlaskit/media-card": "^79.11.0",
47
47
  "@atlaskit/media-client": "^35.7.0",
48
48
  "@atlaskit/media-client-react": "^4.1.0",
49
49
  "@atlaskit/media-common": "^12.3.0",
@@ -53,12 +53,12 @@
53
53
  "@atlaskit/platform-feature-flags": "^1.1.0",
54
54
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
55
55
  "@atlaskit/react-ufo": "^4.16.0",
56
- "@atlaskit/smart-card": "^43.16.0",
56
+ "@atlaskit/smart-card": "^43.17.0",
57
57
  "@atlaskit/status": "^3.0.0",
58
58
  "@atlaskit/task-decision": "^19.2.0",
59
59
  "@atlaskit/theme": "^21.0.0",
60
60
  "@atlaskit/tmp-editor-statsig": "^15.12.0",
61
- "@atlaskit/tokens": "^8.5.0",
61
+ "@atlaskit/tokens": "^8.6.0",
62
62
  "@atlaskit/tooltip": "^20.11.0",
63
63
  "@atlaskit/visually-hidden": "^3.0.0",
64
64
  "@babel/runtime": "^7.0.0",
@@ -71,7 +71,7 @@
71
71
  "uuid": "^3.1.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "@atlaskit/editor-common": "^110.44.0",
74
+ "@atlaskit/editor-common": "^110.45.0",
75
75
  "@atlaskit/link-provider": "^4.0.0",
76
76
  "@atlaskit/media-core": "^37.0.0",
77
77
  "react": "^18.2.0",
@@ -90,7 +90,7 @@
90
90
  "@atlaskit/mention": "^24.4.0",
91
91
  "@atlaskit/modal-dialog": "^14.9.0",
92
92
  "@atlaskit/navigation-next": "patch:@atlaskit/navigation-next@npm%3A9.0.17#~/.yarn/patches/@atlaskit-navigation-next-npm-9.0.17-958ca0ab9d.patch",
93
- "@atlaskit/profilecard": "^24.24.0",
93
+ "@atlaskit/profilecard": "^24.25.0",
94
94
  "@atlaskit/util-data-test": "^18.3.0",
95
95
  "@atlassian/feature-flags-test-utils": "^1.0.0",
96
96
  "@testing-library/react": "^16.3.0",