@atlaskit/renderer 118.6.11 → 118.6.13
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 +21 -0
- package/dist/cjs/i18n/sk.js +7 -5
- package/dist/cjs/i18n/sr.js +25 -0
- package/dist/cjs/react/nodes/blockCard.js +2 -1
- package/dist/cjs/ui/Expand.js +5 -3
- package/dist/cjs/ui/ExtensionRenderer.js +6 -2
- package/dist/cjs/ui/Renderer/index.js +7 -2
- package/dist/es2019/i18n/sk.js +7 -5
- package/dist/es2019/i18n/sr.js +19 -0
- package/dist/es2019/react/nodes/blockCard.js +2 -1
- package/dist/es2019/ui/Expand.js +5 -3
- package/dist/es2019/ui/ExtensionRenderer.js +6 -2
- package/dist/es2019/ui/Renderer/index.js +5 -2
- package/dist/esm/i18n/sk.js +7 -5
- package/dist/esm/i18n/sr.js +19 -0
- package/dist/esm/react/nodes/blockCard.js +2 -1
- package/dist/esm/ui/Expand.js +5 -3
- package/dist/esm/ui/ExtensionRenderer.js +6 -2
- package/dist/esm/ui/Renderer/index.js +7 -2
- package/dist/types/i18n/sk.d.ts +2 -0
- package/dist/types/i18n/sr.d.ts +18 -0
- package/dist/types/react/nodes/extension.d.ts +2 -0
- package/dist/types/ui/ExtensionRenderer.d.ts +4 -1
- package/dist/types-ts4.5/i18n/sk.d.ts +2 -0
- package/dist/types-ts4.5/i18n/sr.d.ts +18 -0
- package/dist/types-ts4.5/react/nodes/extension.d.ts +2 -0
- package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +4 -1
- package/package.json +10 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 118.6.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#168960](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/168960)
|
|
8
|
+
[`466dfce6472d2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/466dfce6472d2) -
|
|
9
|
+
Adds memoization of internal validationOverrides prop to avoid re-serialization of ADF
|
|
10
|
+
|
|
11
|
+
## 118.6.12
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#168516](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/168516)
|
|
16
|
+
[`c5bf272abb6bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c5bf272abb6bc) -
|
|
17
|
+
Allow extra prop in InlineNodeRendererWrapper
|
|
18
|
+
- [#166270](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/166270)
|
|
19
|
+
[`231ec9798652d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/231ec9798652d) -
|
|
20
|
+
[ux] Added hideIconLoadingSkeleton prop to CardSSR to allow for hiding the loading skeleton for
|
|
21
|
+
image icons in the title of block cards. Set to true in the renderer.
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 118.6.11
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/cjs/i18n/sk.js
CHANGED
|
@@ -13,11 +13,13 @@ exports.default = void 0;
|
|
|
13
13
|
*/
|
|
14
14
|
//Slovak
|
|
15
15
|
var _default = exports.default = {
|
|
16
|
-
'fabric.editor.headingLink.ascSortingLabel': '
|
|
17
|
-
'fabric.editor.headingLink.copied': '
|
|
18
|
-
'fabric.editor.headingLink.copyAnchorLink': '
|
|
19
|
-
'fabric.editor.headingLink.copyAriaLabel': '
|
|
20
|
-
'fabric.editor.headingLink.
|
|
16
|
+
'fabric.editor.headingLink.ascSortingLabel': 'vzostupne',
|
|
17
|
+
'fabric.editor.headingLink.copied': 'Skopírované!',
|
|
18
|
+
'fabric.editor.headingLink.copyAnchorLink': 'Skopírovať prepojenie do nadpisu',
|
|
19
|
+
'fabric.editor.headingLink.copyAriaLabel': 'Kopírovať',
|
|
20
|
+
'fabric.editor.headingLink.descSortingLabel': 'zostupne',
|
|
21
|
+
'fabric.editor.headingLink.failedToCopy': 'Nepodarilo sa skopírovať',
|
|
22
|
+
'fabric.editor.headingLink.noneSortingLabel': 'žiadne',
|
|
21
23
|
'fabric.editor.inlineComment.marker.end': 'koniec vnoreného komentára',
|
|
22
24
|
'fabric.editor.inlineComment.marker.start': 'začiatok vnoreného komentára'
|
|
23
25
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE:
|
|
10
|
+
*
|
|
11
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
|
+
*/
|
|
14
|
+
//Serbian (Serbia) [sr-RS]
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.editor.headingLink.ascSortingLabel': 'rastući',
|
|
17
|
+
'fabric.editor.headingLink.copied': 'Kopirano!',
|
|
18
|
+
'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj link naslova',
|
|
19
|
+
'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
|
|
20
|
+
'fabric.editor.headingLink.descSortingLabel': 'opadajući',
|
|
21
|
+
'fabric.editor.headingLink.failedToCopy': 'Kopiranje nije uspelo',
|
|
22
|
+
'fabric.editor.headingLink.noneSortingLabel': 'nijedno',
|
|
23
|
+
'fabric.editor.inlineComment.marker.end': 'kraj umetnutog komentara',
|
|
24
|
+
'fabric.editor.inlineComment.marker.start': 'početak umetnutog komentara'
|
|
25
|
+
};
|
|
@@ -134,7 +134,8 @@ function BlockCard(props) {
|
|
|
134
134
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
135
135
|
}, cardProps, {
|
|
136
136
|
url: url,
|
|
137
|
-
onError: onError
|
|
137
|
+
onError: onError,
|
|
138
|
+
hideIconLoadingSkeleton: (0, _platformFeatureFlags.fg)('platform_fix_block_card_img_icon_vc')
|
|
138
139
|
}));
|
|
139
140
|
} else {
|
|
140
141
|
cardComponent = (0, _react.jsx)(_smartCard.Card, (0, _extends2.default)({
|
package/dist/cjs/ui/Expand.js
CHANGED
|
@@ -15,7 +15,7 @@ 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
17
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-right"));
|
|
18
|
-
var _chevronRight2 = _interopRequireDefault(require("@atlaskit/icon/
|
|
18
|
+
var _chevronRight2 = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
|
|
19
19
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
20
20
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
21
21
|
var _uniqueId2 = _interopRequireDefault(require("lodash/uniqueId"));
|
|
@@ -238,7 +238,8 @@ function Expand(_ref) {
|
|
|
238
238
|
}, (0, _react.jsx)(_chevronRight2.default, {
|
|
239
239
|
label: label,
|
|
240
240
|
LEGACY_fallbackIcon: _chevronRight.default,
|
|
241
|
-
spacing: "spacious"
|
|
241
|
+
spacing: "spacious",
|
|
242
|
+
size: "small"
|
|
242
243
|
})) : (0, _react.jsx)(_tooltip.default, {
|
|
243
244
|
content: label,
|
|
244
245
|
position: "top"
|
|
@@ -251,7 +252,8 @@ function Expand(_ref) {
|
|
|
251
252
|
}, (0, _react.jsx)(_chevronRight2.default, {
|
|
252
253
|
label: label,
|
|
253
254
|
LEGACY_fallbackIcon: _chevronRight.default,
|
|
254
|
-
spacing: "spacious"
|
|
255
|
+
spacing: "spacious",
|
|
256
|
+
size: "small"
|
|
255
257
|
}))), (0, _react.jsx)("span", {
|
|
256
258
|
css: titleStyles,
|
|
257
259
|
id: id
|
|
@@ -134,10 +134,14 @@ function ExtensionRenderer(props) {
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
var InlineNodeRendererWrapper = exports.InlineNodeRendererWrapper = function InlineNodeRendererWrapper(_ref) {
|
|
137
|
-
var children = _ref.children
|
|
137
|
+
var children = _ref.children,
|
|
138
|
+
ssrPlaceholder = _ref.ssrPlaceholder,
|
|
139
|
+
ssrPlaceholderReplace = _ref.ssrPlaceholderReplace;
|
|
138
140
|
return (0, _react.jsx)("div", {
|
|
139
141
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
140
142
|
className: "inline-extension-renderer",
|
|
141
|
-
css: inlineExtensionStyle
|
|
143
|
+
css: inlineExtensionStyle,
|
|
144
|
+
"data-ssr-placeholder": ssrPlaceholder,
|
|
145
|
+
"data-ssr-placeholder-replace": ssrPlaceholderReplace
|
|
142
146
|
}, children);
|
|
143
147
|
};
|
|
@@ -62,7 +62,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
62
62
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
63
63
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
64
64
|
var packageName = "@atlaskit/renderer";
|
|
65
|
-
var packageVersion = "118.6.
|
|
65
|
+
var packageVersion = "118.6.13";
|
|
66
66
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
67
67
|
containerName: 'ak-renderer-wrapper',
|
|
68
68
|
containerType: 'inline-size'
|
|
@@ -491,6 +491,11 @@ function Renderer(props) {
|
|
|
491
491
|
var _ref = (0, _react.useContext)(_ValidationContext.ValidationContext) || {},
|
|
492
492
|
skipValidation = _ref.skipValidation,
|
|
493
493
|
allowNestedTables = _ref.allowNestedTables;
|
|
494
|
+
var validationOverrides = (0, _react.useMemo)(function () {
|
|
495
|
+
return {
|
|
496
|
+
allowNestedTables: allowNestedTables
|
|
497
|
+
};
|
|
498
|
+
}, [allowNestedTables]);
|
|
494
499
|
var RendererComponent = getRendererComponent(props.nodeComponents);
|
|
495
500
|
return (0, _react2.jsx)(RendererComponent
|
|
496
501
|
// Ignored via go/ees005
|
|
@@ -499,7 +504,7 @@ function Renderer(props) {
|
|
|
499
504
|
startPos: startPos,
|
|
500
505
|
isTopLevelRenderer: isTopLevelRenderer,
|
|
501
506
|
skipValidation: skipValidation,
|
|
502
|
-
validationOverrides: {
|
|
507
|
+
validationOverrides: (0, _platformFeatureFlags.fg)('cc_complexit_fe_reduce_rerender_2') ? validationOverrides : {
|
|
503
508
|
allowNestedTables: allowNestedTables
|
|
504
509
|
}
|
|
505
510
|
}));
|
package/dist/es2019/i18n/sk.js
CHANGED
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Slovak
|
|
9
9
|
export default {
|
|
10
|
-
'fabric.editor.headingLink.ascSortingLabel': '
|
|
11
|
-
'fabric.editor.headingLink.copied': '
|
|
12
|
-
'fabric.editor.headingLink.copyAnchorLink': '
|
|
13
|
-
'fabric.editor.headingLink.copyAriaLabel': '
|
|
14
|
-
'fabric.editor.headingLink.
|
|
10
|
+
'fabric.editor.headingLink.ascSortingLabel': 'vzostupne',
|
|
11
|
+
'fabric.editor.headingLink.copied': 'Skopírované!',
|
|
12
|
+
'fabric.editor.headingLink.copyAnchorLink': 'Skopírovať prepojenie do nadpisu',
|
|
13
|
+
'fabric.editor.headingLink.copyAriaLabel': 'Kopírovať',
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': 'zostupne',
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': 'Nepodarilo sa skopírovať',
|
|
16
|
+
'fabric.editor.headingLink.noneSortingLabel': 'žiadne',
|
|
15
17
|
'fabric.editor.inlineComment.marker.end': 'koniec vnoreného komentára',
|
|
16
18
|
'fabric.editor.inlineComment.marker.start': 'začiatok vnoreného komentára'
|
|
17
19
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Serbia) [sr-RS]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.headingLink.ascSortingLabel': 'rastući',
|
|
11
|
+
'fabric.editor.headingLink.copied': 'Kopirano!',
|
|
12
|
+
'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj link naslova',
|
|
13
|
+
'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': 'opadajući',
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': 'Kopiranje nije uspelo',
|
|
16
|
+
'fabric.editor.headingLink.noneSortingLabel': 'nijedno',
|
|
17
|
+
'fabric.editor.inlineComment.marker.end': 'kraj umetnutog komentara',
|
|
18
|
+
'fabric.editor.inlineComment.marker.start': 'početak umetnutog komentara'
|
|
19
|
+
};
|
|
@@ -121,7 +121,8 @@ export default function BlockCard(props) {
|
|
|
121
121
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
122
122
|
}, cardProps, {
|
|
123
123
|
url: url,
|
|
124
|
-
onError: onError
|
|
124
|
+
onError: onError,
|
|
125
|
+
hideIconLoadingSkeleton: fg('platform_fix_block_card_img_icon_vc')
|
|
125
126
|
}));
|
|
126
127
|
} else {
|
|
127
128
|
cardComponent = jsx(Card, _extends({
|
package/dist/es2019/ui/Expand.js
CHANGED
|
@@ -11,7 +11,7 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/anal
|
|
|
11
11
|
import { ExpandIconWrapper, ExpandLayoutWrapperWithRef, expandMessages, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset } from '@atlaskit/editor-shared-styles';
|
|
13
13
|
import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
|
|
14
|
-
import ChevronRightIcon from '@atlaskit/icon/
|
|
14
|
+
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
15
15
|
import Tooltip from '@atlaskit/tooltip';
|
|
16
16
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
17
17
|
import _uniqueId from 'lodash/uniqueId';
|
|
@@ -218,7 +218,8 @@ function Expand({
|
|
|
218
218
|
}, jsx(ChevronRightIcon, {
|
|
219
219
|
label: label,
|
|
220
220
|
LEGACY_fallbackIcon: ChevronRightIconLegacy,
|
|
221
|
-
spacing: "spacious"
|
|
221
|
+
spacing: "spacious",
|
|
222
|
+
size: "small"
|
|
222
223
|
})) : jsx(Tooltip, {
|
|
223
224
|
content: label,
|
|
224
225
|
position: "top"
|
|
@@ -231,7 +232,8 @@ function Expand({
|
|
|
231
232
|
}, jsx(ChevronRightIcon, {
|
|
232
233
|
label: label,
|
|
233
234
|
LEGACY_fallbackIcon: ChevronRightIconLegacy,
|
|
234
|
-
spacing: "spacious"
|
|
235
|
+
spacing: "spacious",
|
|
236
|
+
size: "small"
|
|
235
237
|
}))), jsx("span", {
|
|
236
238
|
css: titleStyles,
|
|
237
239
|
id: id
|
|
@@ -119,11 +119,15 @@ export default function ExtensionRenderer(props) {
|
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
export const InlineNodeRendererWrapper = ({
|
|
122
|
-
children
|
|
122
|
+
children,
|
|
123
|
+
ssrPlaceholder,
|
|
124
|
+
ssrPlaceholderReplace
|
|
123
125
|
}) => {
|
|
124
126
|
return jsx("div", {
|
|
125
127
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
126
128
|
className: "inline-extension-renderer",
|
|
127
|
-
css: inlineExtensionStyle
|
|
129
|
+
css: inlineExtensionStyle,
|
|
130
|
+
"data-ssr-placeholder": ssrPlaceholder,
|
|
131
|
+
"data-ssr-placeholder-replace": ssrPlaceholderReplace
|
|
128
132
|
}, children);
|
|
129
133
|
};
|
|
@@ -48,7 +48,7 @@ import { PortalContext } from './PortalContext';
|
|
|
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 = "118.6.
|
|
51
|
+
const packageVersion = "118.6.13";
|
|
52
52
|
const setAsQueryContainerStyles = css({
|
|
53
53
|
containerName: 'ak-renderer-wrapper',
|
|
54
54
|
containerType: 'inline-size'
|
|
@@ -479,6 +479,9 @@ export function Renderer(props) {
|
|
|
479
479
|
skipValidation,
|
|
480
480
|
allowNestedTables
|
|
481
481
|
} = useContext(ValidationContext) || {};
|
|
482
|
+
const validationOverrides = useMemo(() => ({
|
|
483
|
+
allowNestedTables
|
|
484
|
+
}), [allowNestedTables]);
|
|
482
485
|
const RendererComponent = getRendererComponent(props.nodeComponents);
|
|
483
486
|
return jsx(RendererComponent
|
|
484
487
|
// Ignored via go/ees005
|
|
@@ -487,7 +490,7 @@ export function Renderer(props) {
|
|
|
487
490
|
startPos: startPos,
|
|
488
491
|
isTopLevelRenderer: isTopLevelRenderer,
|
|
489
492
|
skipValidation: skipValidation,
|
|
490
|
-
validationOverrides: {
|
|
493
|
+
validationOverrides: fg('cc_complexit_fe_reduce_rerender_2') ? validationOverrides : {
|
|
491
494
|
allowNestedTables
|
|
492
495
|
}
|
|
493
496
|
}));
|
package/dist/esm/i18n/sk.js
CHANGED
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//Slovak
|
|
9
9
|
export default {
|
|
10
|
-
'fabric.editor.headingLink.ascSortingLabel': '
|
|
11
|
-
'fabric.editor.headingLink.copied': '
|
|
12
|
-
'fabric.editor.headingLink.copyAnchorLink': '
|
|
13
|
-
'fabric.editor.headingLink.copyAriaLabel': '
|
|
14
|
-
'fabric.editor.headingLink.
|
|
10
|
+
'fabric.editor.headingLink.ascSortingLabel': 'vzostupne',
|
|
11
|
+
'fabric.editor.headingLink.copied': 'Skopírované!',
|
|
12
|
+
'fabric.editor.headingLink.copyAnchorLink': 'Skopírovať prepojenie do nadpisu',
|
|
13
|
+
'fabric.editor.headingLink.copyAriaLabel': 'Kopírovať',
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': 'zostupne',
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': 'Nepodarilo sa skopírovať',
|
|
16
|
+
'fabric.editor.headingLink.noneSortingLabel': 'žiadne',
|
|
15
17
|
'fabric.editor.inlineComment.marker.end': 'koniec vnoreného komentára',
|
|
16
18
|
'fabric.editor.inlineComment.marker.start': 'začiatok vnoreného komentára'
|
|
17
19
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Serbia) [sr-RS]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.headingLink.ascSortingLabel': 'rastući',
|
|
11
|
+
'fabric.editor.headingLink.copied': 'Kopirano!',
|
|
12
|
+
'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj link naslova',
|
|
13
|
+
'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': 'opadajući',
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': 'Kopiranje nije uspelo',
|
|
16
|
+
'fabric.editor.headingLink.noneSortingLabel': 'nijedno',
|
|
17
|
+
'fabric.editor.inlineComment.marker.end': 'kraj umetnutog komentara',
|
|
18
|
+
'fabric.editor.inlineComment.marker.start': 'početak umetnutog komentara'
|
|
19
|
+
};
|
|
@@ -126,7 +126,8 @@ export default function BlockCard(props) {
|
|
|
126
126
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
127
127
|
}, cardProps, {
|
|
128
128
|
url: url,
|
|
129
|
-
onError: onError
|
|
129
|
+
onError: onError,
|
|
130
|
+
hideIconLoadingSkeleton: fg('platform_fix_block_card_img_icon_vc')
|
|
130
131
|
}));
|
|
131
132
|
} else {
|
|
132
133
|
cardComponent = jsx(Card, _extends({
|
package/dist/esm/ui/Expand.js
CHANGED
|
@@ -14,7 +14,7 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/anal
|
|
|
14
14
|
import { ExpandIconWrapper, ExpandLayoutWrapperWithRef, expandMessages, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
15
15
|
import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset } from '@atlaskit/editor-shared-styles';
|
|
16
16
|
import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
|
|
17
|
-
import ChevronRightIcon from '@atlaskit/icon/
|
|
17
|
+
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
18
18
|
import Tooltip from '@atlaskit/tooltip';
|
|
19
19
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
20
20
|
import _uniqueId from 'lodash/uniqueId';
|
|
@@ -229,7 +229,8 @@ function Expand(_ref) {
|
|
|
229
229
|
}, jsx(ChevronRightIcon, {
|
|
230
230
|
label: label,
|
|
231
231
|
LEGACY_fallbackIcon: ChevronRightIconLegacy,
|
|
232
|
-
spacing: "spacious"
|
|
232
|
+
spacing: "spacious",
|
|
233
|
+
size: "small"
|
|
233
234
|
})) : jsx(Tooltip, {
|
|
234
235
|
content: label,
|
|
235
236
|
position: "top"
|
|
@@ -242,7 +243,8 @@ function Expand(_ref) {
|
|
|
242
243
|
}, jsx(ChevronRightIcon, {
|
|
243
244
|
label: label,
|
|
244
245
|
LEGACY_fallbackIcon: ChevronRightIconLegacy,
|
|
245
|
-
spacing: "spacious"
|
|
246
|
+
spacing: "spacious",
|
|
247
|
+
size: "small"
|
|
246
248
|
}))), jsx("span", {
|
|
247
249
|
css: titleStyles,
|
|
248
250
|
id: id
|
|
@@ -125,10 +125,14 @@ export default function ExtensionRenderer(props) {
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
export var InlineNodeRendererWrapper = function InlineNodeRendererWrapper(_ref) {
|
|
128
|
-
var children = _ref.children
|
|
128
|
+
var children = _ref.children,
|
|
129
|
+
ssrPlaceholder = _ref.ssrPlaceholder,
|
|
130
|
+
ssrPlaceholderReplace = _ref.ssrPlaceholderReplace;
|
|
129
131
|
return jsx("div", {
|
|
130
132
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
131
133
|
className: "inline-extension-renderer",
|
|
132
|
-
css: inlineExtensionStyle
|
|
134
|
+
css: inlineExtensionStyle,
|
|
135
|
+
"data-ssr-placeholder": ssrPlaceholder,
|
|
136
|
+
"data-ssr-placeholder-replace": ssrPlaceholderReplace
|
|
133
137
|
}, children);
|
|
134
138
|
};
|
|
@@ -53,7 +53,7 @@ import { PortalContext } from './PortalContext';
|
|
|
53
53
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
54
54
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
55
55
|
var packageName = "@atlaskit/renderer";
|
|
56
|
-
var packageVersion = "118.6.
|
|
56
|
+
var packageVersion = "118.6.13";
|
|
57
57
|
var setAsQueryContainerStyles = css({
|
|
58
58
|
containerName: 'ak-renderer-wrapper',
|
|
59
59
|
containerType: 'inline-size'
|
|
@@ -482,6 +482,11 @@ export function Renderer(props) {
|
|
|
482
482
|
var _ref = useContext(ValidationContext) || {},
|
|
483
483
|
skipValidation = _ref.skipValidation,
|
|
484
484
|
allowNestedTables = _ref.allowNestedTables;
|
|
485
|
+
var validationOverrides = useMemo(function () {
|
|
486
|
+
return {
|
|
487
|
+
allowNestedTables: allowNestedTables
|
|
488
|
+
};
|
|
489
|
+
}, [allowNestedTables]);
|
|
485
490
|
var RendererComponent = getRendererComponent(props.nodeComponents);
|
|
486
491
|
return jsx(RendererComponent
|
|
487
492
|
// Ignored via go/ees005
|
|
@@ -490,7 +495,7 @@ export function Renderer(props) {
|
|
|
490
495
|
startPos: startPos,
|
|
491
496
|
isTopLevelRenderer: isTopLevelRenderer,
|
|
492
497
|
skipValidation: skipValidation,
|
|
493
|
-
validationOverrides: {
|
|
498
|
+
validationOverrides: fg('cc_complexit_fe_reduce_rerender_2') ? validationOverrides : {
|
|
494
499
|
allowNestedTables: allowNestedTables
|
|
495
500
|
}
|
|
496
501
|
}));
|
package/dist/types/i18n/sk.d.ts
CHANGED
|
@@ -9,7 +9,9 @@ declare const _default: {
|
|
|
9
9
|
'fabric.editor.headingLink.copied': string;
|
|
10
10
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
11
11
|
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
12
13
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
14
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
15
|
'fabric.editor.inlineComment.marker.end': string;
|
|
14
16
|
'fabric.editor.inlineComment.marker.start': string;
|
|
15
17
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.copied': string;
|
|
10
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
14
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
15
|
+
'fabric.editor.inlineComment.marker.end': string;
|
|
16
|
+
'fabric.editor.inlineComment.marker.start': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -34,6 +34,7 @@ declare const _default: {
|
|
|
34
34
|
overflowContainerWidth: number;
|
|
35
35
|
scrollable?: NodeList | undefined;
|
|
36
36
|
diff?: number | undefined;
|
|
37
|
+
visibilityManager?: import("@atlaskit/editor-common/node-visibility").NodeVisibilityManager | undefined;
|
|
37
38
|
state: {
|
|
38
39
|
showLeftShadow: boolean;
|
|
39
40
|
showRightShadow: boolean;
|
|
@@ -73,6 +74,7 @@ declare const _default: {
|
|
|
73
74
|
overflowContainerWidth: number;
|
|
74
75
|
scrollable?: NodeList | undefined;
|
|
75
76
|
diff?: number | undefined;
|
|
77
|
+
visibilityManager?: import("@atlaskit/editor-common/node-visibility").NodeVisibilityManager | undefined;
|
|
76
78
|
state: {
|
|
77
79
|
showLeftShadow: boolean;
|
|
78
80
|
showRightShadow: boolean;
|
|
@@ -28,5 +28,8 @@ interface Props {
|
|
|
28
28
|
}) => JSX.Element;
|
|
29
29
|
}
|
|
30
30
|
export default function ExtensionRenderer(props: Props): JSX.Element;
|
|
31
|
-
export declare const InlineNodeRendererWrapper: ({ children }: React.PropsWithChildren<
|
|
31
|
+
export declare const InlineNodeRendererWrapper: ({ children, ssrPlaceholder, ssrPlaceholderReplace, }: React.PropsWithChildren<{
|
|
32
|
+
ssrPlaceholder?: string | undefined;
|
|
33
|
+
ssrPlaceholderReplace?: string | undefined;
|
|
34
|
+
}>) => jsx.JSX.Element;
|
|
32
35
|
export {};
|
|
@@ -9,7 +9,9 @@ declare const _default: {
|
|
|
9
9
|
'fabric.editor.headingLink.copied': string;
|
|
10
10
|
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
11
11
|
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
12
13
|
'fabric.editor.headingLink.failedToCopy': string;
|
|
14
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
15
|
'fabric.editor.inlineComment.marker.end': string;
|
|
14
16
|
'fabric.editor.inlineComment.marker.start': string;
|
|
15
17
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.copied': string;
|
|
10
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
12
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
14
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
15
|
+
'fabric.editor.inlineComment.marker.end': string;
|
|
16
|
+
'fabric.editor.inlineComment.marker.start': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -34,6 +34,7 @@ declare const _default: {
|
|
|
34
34
|
overflowContainerWidth: number;
|
|
35
35
|
scrollable?: NodeList | undefined;
|
|
36
36
|
diff?: number | undefined;
|
|
37
|
+
visibilityManager?: import("@atlaskit/editor-common/node-visibility").NodeVisibilityManager | undefined;
|
|
37
38
|
state: {
|
|
38
39
|
showLeftShadow: boolean;
|
|
39
40
|
showRightShadow: boolean;
|
|
@@ -73,6 +74,7 @@ declare const _default: {
|
|
|
73
74
|
overflowContainerWidth: number;
|
|
74
75
|
scrollable?: NodeList | undefined;
|
|
75
76
|
diff?: number | undefined;
|
|
77
|
+
visibilityManager?: import("@atlaskit/editor-common/node-visibility").NodeVisibilityManager | undefined;
|
|
76
78
|
state: {
|
|
77
79
|
showLeftShadow: boolean;
|
|
78
80
|
showRightShadow: boolean;
|
|
@@ -28,5 +28,8 @@ interface Props {
|
|
|
28
28
|
}) => JSX.Element;
|
|
29
29
|
}
|
|
30
30
|
export default function ExtensionRenderer(props: Props): JSX.Element;
|
|
31
|
-
export declare const InlineNodeRendererWrapper: ({ children }: React.PropsWithChildren<
|
|
31
|
+
export declare const InlineNodeRendererWrapper: ({ children, ssrPlaceholder, ssrPlaceholderReplace, }: React.PropsWithChildren<{
|
|
32
|
+
ssrPlaceholder?: string | undefined;
|
|
33
|
+
ssrPlaceholderReplace?: string | undefined;
|
|
34
|
+
}>) => jsx.JSX.Element;
|
|
32
35
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "118.6.
|
|
3
|
+
"version": "118.6.13",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
32
32
|
"@atlaskit/button": "^23.2.0",
|
|
33
33
|
"@atlaskit/code": "^17.2.0",
|
|
34
|
-
"@atlaskit/editor-common": "^106.
|
|
34
|
+
"@atlaskit/editor-common": "^106.6.0",
|
|
35
35
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
36
36
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
53
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
54
54
|
"@atlaskit/react-ufo": "^3.13.0",
|
|
55
|
-
"@atlaskit/smart-card": "^38.
|
|
55
|
+
"@atlaskit/smart-card": "^38.9.0",
|
|
56
56
|
"@atlaskit/status": "^3.0.0",
|
|
57
57
|
"@atlaskit/task-decision": "^19.2.0",
|
|
58
58
|
"@atlaskit/theme": "^18.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^6.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^6.2.0",
|
|
60
60
|
"@atlaskit/tokens": "^5.1.0",
|
|
61
61
|
"@atlaskit/tooltip": "^20.3.0",
|
|
62
62
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -142,6 +142,9 @@
|
|
|
142
142
|
"cc_complexit_fe_reduce_fragment_serialization": {
|
|
143
143
|
"type": "boolean"
|
|
144
144
|
},
|
|
145
|
+
"cc_complexit_fe_reduce_rerender_2": {
|
|
146
|
+
"type": "boolean"
|
|
147
|
+
},
|
|
145
148
|
"platform_editor_annotation_position_comment_nodes": {
|
|
146
149
|
"type": "boolean"
|
|
147
150
|
},
|
|
@@ -262,6 +265,9 @@
|
|
|
262
265
|
},
|
|
263
266
|
"confluence_frontend_fix_view_page_slo": {
|
|
264
267
|
"type": "boolean"
|
|
268
|
+
},
|
|
269
|
+
"platform_fix_block_card_img_icon_vc": {
|
|
270
|
+
"type": "boolean"
|
|
265
271
|
}
|
|
266
272
|
},
|
|
267
273
|
"af:exports": {
|