@atlaskit/renderer 112.5.0 → 112.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
+ ## 112.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#162141](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/162141)
8
+ [`e292090371d60`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e292090371d60) -
9
+ migrate expand chevron to new icon
10
+
3
11
  ## 112.5.0
4
12
 
5
13
  ### Minor Changes
@@ -16,6 +16,7 @@ var _analytics = require("@atlaskit/editor-common/analytics");
16
16
  var _ui = require("@atlaskit/editor-common/ui");
17
17
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
18
18
  var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-right"));
19
+ var _chevronRight2 = _interopRequireDefault(require("@atlaskit/icon/utility/chevron-right"));
19
20
  var _constants = require("@atlaskit/theme/constants");
20
21
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
21
22
  var _uniqueId2 = _interopRequireDefault(require("lodash/uniqueId"));
@@ -165,8 +166,10 @@ function Expand(_ref) {
165
166
  expanded: expanded
166
167
  }, isMobile ? (0, _react.jsx)(_ui.ExpandIconWrapper, {
167
168
  expanded: expanded
168
- }, (0, _react.jsx)(_chevronRight.default, {
169
- label: label
169
+ }, (0, _react.jsx)(_chevronRight2.default, {
170
+ label: label,
171
+ LEGACY_fallbackIcon: _chevronRight.default,
172
+ spacing: "spacious"
170
173
  })) : (0, _react.jsx)(_tooltip.default, {
171
174
  content: label,
172
175
  position: "top"
@@ -176,8 +179,10 @@ function Expand(_ref) {
176
179
  testId: 'tooltip'
177
180
  }, (0, _react.jsx)(_ui.ExpandIconWrapper, {
178
181
  expanded: expanded
179
- }, (0, _react.jsx)(_chevronRight.default, {
180
- label: label
182
+ }, (0, _react.jsx)(_chevronRight2.default, {
183
+ label: label,
184
+ LEGACY_fallbackIcon: _chevronRight.default,
185
+ spacing: "spacious"
181
186
  }))), (0, _react.jsx)("span", {
182
187
  css: titleStyles,
183
188
  id: id
@@ -65,7 +65,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
65
65
  var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
66
66
  var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
67
67
  var packageName = "@atlaskit/renderer";
68
- var packageVersion = "112.5.0";
68
+ var packageVersion = "112.5.1";
69
69
  var setAsQueryContainerStyles = (0, _react2.css)({
70
70
  containerName: 'ak-renderer-wrapper',
71
71
  containerType: 'inline-size',
@@ -10,7 +10,8 @@ import React, { useCallback, useRef } from 'react';
10
10
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
11
11
  import { clearNextSiblingMarginTopStyle, ExpandIconWrapper, ExpandLayoutWrapperWithRef, expandMessages, sharedExpandStyles, WidthProvider } from '@atlaskit/editor-common/ui';
12
12
  import { akEditorLineHeight, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
13
- import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
13
+ import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
14
+ import ChevronRightIcon from '@atlaskit/icon/utility/chevron-right';
14
15
  import { fontSize } from '@atlaskit/theme/constants';
15
16
  import Tooltip from '@atlaskit/tooltip';
16
17
  import _uniqueId from 'lodash/uniqueId';
@@ -150,7 +151,9 @@ function Expand({
150
151
  }, isMobile ? jsx(ExpandIconWrapper, {
151
152
  expanded: expanded
152
153
  }, jsx(ChevronRightIcon, {
153
- label: label
154
+ label: label,
155
+ LEGACY_fallbackIcon: ChevronRightIconLegacy,
156
+ spacing: "spacious"
154
157
  })) : jsx(Tooltip, {
155
158
  content: label,
156
159
  position: "top"
@@ -161,7 +164,9 @@ function Expand({
161
164
  }, jsx(ExpandIconWrapper, {
162
165
  expanded: expanded
163
166
  }, jsx(ChevronRightIcon, {
164
- label: label
167
+ label: label,
168
+ LEGACY_fallbackIcon: ChevronRightIconLegacy,
169
+ spacing: "spacious"
165
170
  }))), jsx("span", {
166
171
  css: titleStyles,
167
172
  id: id
@@ -45,7 +45,7 @@ import { countNodes } from './count-nodes';
45
45
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
46
46
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
47
47
  const packageName = "@atlaskit/renderer";
48
- const packageVersion = "112.5.0";
48
+ const packageVersion = "112.5.1";
49
49
  const setAsQueryContainerStyles = css({
50
50
  containerName: 'ak-renderer-wrapper',
51
51
  containerType: 'inline-size',
@@ -15,7 +15,8 @@ import React, { useCallback, useRef } from 'react';
15
15
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
16
16
  import { clearNextSiblingMarginTopStyle, ExpandIconWrapper, ExpandLayoutWrapperWithRef, expandMessages, sharedExpandStyles, WidthProvider } from '@atlaskit/editor-common/ui';
17
17
  import { akEditorLineHeight, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
18
- import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
18
+ import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
19
+ import ChevronRightIcon from '@atlaskit/icon/utility/chevron-right';
19
20
  import { fontSize } from '@atlaskit/theme/constants';
20
21
  import Tooltip from '@atlaskit/tooltip';
21
22
  import _uniqueId from 'lodash/uniqueId';
@@ -156,7 +157,9 @@ function Expand(_ref) {
156
157
  }, isMobile ? jsx(ExpandIconWrapper, {
157
158
  expanded: expanded
158
159
  }, jsx(ChevronRightIcon, {
159
- label: label
160
+ label: label,
161
+ LEGACY_fallbackIcon: ChevronRightIconLegacy,
162
+ spacing: "spacious"
160
163
  })) : jsx(Tooltip, {
161
164
  content: label,
162
165
  position: "top"
@@ -167,7 +170,9 @@ function Expand(_ref) {
167
170
  }, jsx(ExpandIconWrapper, {
168
171
  expanded: expanded
169
172
  }, jsx(ChevronRightIcon, {
170
- label: label
173
+ label: label,
174
+ LEGACY_fallbackIcon: ChevronRightIconLegacy,
175
+ spacing: "spacious"
171
176
  }))), jsx("span", {
172
177
  css: titleStyles,
173
178
  id: id
@@ -55,7 +55,7 @@ import { countNodes } from './count-nodes';
55
55
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
56
56
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
57
57
  var packageName = "@atlaskit/renderer";
58
- var packageVersion = "112.5.0";
58
+ var packageVersion = "112.5.1";
59
59
  var setAsQueryContainerStyles = css({
60
60
  containerName: 'ak-renderer-wrapper',
61
61
  containerType: 'inline-size',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "112.5.0",
3
+ "version": "112.5.1",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"