@atlaskit/renderer 124.22.0 → 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 +16 -0
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -21
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -21
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -21
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
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
|
+
|
|
11
|
+
## 124.22.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`4cb9e393d31fb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4cb9e393d31fb) -
|
|
16
|
+
ENGHEALTH-40105: add missing a117 coverage
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 124.22.0
|
|
4
20
|
|
|
5
21
|
### Minor 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,
|
|
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,
|
|
@@ -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 = "124.
|
|
72
|
+
var packageVersion = "124.22.1";
|
|
73
73
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
74
74
|
containerName: 'ak-renderer-wrapper',
|
|
75
75
|
containerType: 'inline-size'
|
|
@@ -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:
|
|
51
|
-
label: ""
|
|
52
|
-
}) : jsx(Icon, {
|
|
53
|
-
glyph: WrapIcon,
|
|
33
|
+
iconBefore: jsx(TextWrapIcon, {
|
|
54
34
|
label: ""
|
|
55
35
|
}),
|
|
56
36
|
isSelected: wrapLongLines,
|
|
@@ -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 = "124.
|
|
58
|
+
const packageVersion = "124.22.1";
|
|
59
59
|
const setAsQueryContainerStyles = css({
|
|
60
60
|
containerName: 'ak-renderer-wrapper',
|
|
61
61
|
containerType: 'inline-size'
|
|
@@ -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:
|
|
50
|
-
label: ""
|
|
51
|
-
}) : jsx(Icon, {
|
|
52
|
-
glyph: WrapIcon,
|
|
32
|
+
iconBefore: jsx(TextWrapIcon, {
|
|
53
33
|
label: ""
|
|
54
34
|
}),
|
|
55
35
|
isSelected: wrapLongLines,
|
|
@@ -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 = "124.
|
|
63
|
+
var packageVersion = "124.22.1";
|
|
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.22.
|
|
3
|
+
"version": "124.22.2",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,7 +38,7 @@
|
|
|
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.
|
|
41
|
+
"@atlaskit/icon": "^29.3.0",
|
|
42
42
|
"@atlaskit/link": "^3.2.0",
|
|
43
43
|
"@atlaskit/link-datasource": "^4.30.0",
|
|
44
44
|
"@atlaskit/link-extractors": "^2.4.0",
|
|
@@ -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.
|
|
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",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"uuid": "^3.1.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@atlaskit/editor-common": "^110.
|
|
74
|
+
"@atlaskit/editor-common": "^110.46.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.
|
|
93
|
+
"@atlaskit/profilecard": "^24.26.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",
|
|
@@ -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
|
}
|