@atlaskit/renderer 118.6.10 → 118.6.12
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 +19 -0
- package/afm-cc/tsconfig.json +1 -1
- package/dist/cjs/i18n/sk.js +7 -5
- package/dist/cjs/i18n/sr.js +25 -0
- package/dist/cjs/react/marks/breakout.js +25 -1
- 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/RendererStyleContainer.js +13 -5
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/i18n/sk.js +7 -5
- package/dist/es2019/i18n/sr.js +19 -0
- package/dist/es2019/react/marks/breakout.js +26 -2
- 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/RendererStyleContainer.js +11 -2
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/i18n/sk.js +7 -5
- package/dist/esm/i18n/sr.js +19 -0
- package/dist/esm/react/marks/breakout.js +26 -2
- 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/RendererStyleContainer.js +14 -6
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/types/i18n/sk.d.ts +2 -0
- package/dist/types/i18n/sr.d.ts +18 -0
- package/dist/types/react/marks/breakout.d.ts +6 -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/marks/breakout.d.ts +6 -0
- package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +4 -1
- package/package.json +10 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 118.6.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#168516](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/168516)
|
|
8
|
+
[`c5bf272abb6bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c5bf272abb6bc) -
|
|
9
|
+
Allow extra prop in InlineNodeRendererWrapper
|
|
10
|
+
- [#166270](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/166270)
|
|
11
|
+
[`231ec9798652d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/231ec9798652d) -
|
|
12
|
+
[ux] Added hideIconLoadingSkeleton prop to CardSSR to allow for hiding the loading skeleton for
|
|
13
|
+
image icons in the title of block cards. Set to true in the renderer.
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 118.6.11
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 118.6.10
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
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
|
+
};
|
|
@@ -11,6 +11,7 @@ var _ui = require("@atlaskit/editor-common/ui");
|
|
|
11
11
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
12
12
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
13
13
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
14
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
15
|
/**
|
|
15
16
|
* @jsxRuntime classic
|
|
16
17
|
* @jsx jsx
|
|
@@ -24,6 +25,26 @@ var wrapperStyles = (0, _react.css)({
|
|
|
24
25
|
marginLeft: '50%',
|
|
25
26
|
transform: 'translateX(-50%)'
|
|
26
27
|
});
|
|
28
|
+
var CONTAINER_WITHOUT_GUTTER = "calc(100cqw - ".concat(_editorSharedStyles.akEditorGutterPadding, "px * 2)");
|
|
29
|
+
var getWidth = function getWidth(width, mode) {
|
|
30
|
+
if ((0, _experiments.editorExperiment)('advanced_layouts', true) && width) {
|
|
31
|
+
return "min(".concat(width, "px, ").concat(CONTAINER_WITHOUT_GUTTER, ")");
|
|
32
|
+
} else {
|
|
33
|
+
if (mode === 'full-width') {
|
|
34
|
+
return "max(".concat(_editorSharedStyles.akEditorDefaultLayoutWidth, "px, min(").concat(_editorSharedStyles.akEditorFullWidthLayoutWidth, "px, ").concat(CONTAINER_WITHOUT_GUTTER, "))");
|
|
35
|
+
}
|
|
36
|
+
if (mode === 'wide') {
|
|
37
|
+
return "min(var(--ak-editor--breakout-wide-layout-width), ".concat(CONTAINER_WITHOUT_GUTTER, ")");
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* React component that renders a breakout mark with dynamic width based on editor layout (wide or full-width).
|
|
44
|
+
*
|
|
45
|
+
* @param props - Breakout mark attrs, such as mode (wide or full-width).
|
|
46
|
+
* @returns The rendered breakout mark as a React element.
|
|
47
|
+
*/
|
|
27
48
|
function Breakout(props) {
|
|
28
49
|
return (0, _react.jsx)(_ui.WidthConsumer, null, function (_ref) {
|
|
29
50
|
var width = _ref.width;
|
|
@@ -36,7 +57,10 @@ function Breakout(props) {
|
|
|
36
57
|
'data-has-width': !!props.width,
|
|
37
58
|
'data-width': props.width
|
|
38
59
|
}, {
|
|
39
|
-
style
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
61
|
+
style: (0, _platformFeatureFlags.fg)('platform_breakout_cls') ? {
|
|
62
|
+
width: getWidth('width' in props ? props.width : null, props.mode)
|
|
63
|
+
} : {
|
|
40
64
|
width: (0, _experiments.editorExperiment)('advanced_layouts', true) ?
|
|
41
65
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
42
66
|
(0, _utils.calcBreakoutWithCustomWidth)(props.mode, 'width' in props ? props.width : null, width) :
|
|
@@ -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
|
};
|
|
@@ -24,7 +24,7 @@ var _table2 = require("@atlaskit/editor-common/table");
|
|
|
24
24
|
var _lightWeightCodeBlock = require("../../react/nodes/codeBlock/components/lightWeightCodeBlock");
|
|
25
25
|
var _ugcTokens = require("@atlaskit/editor-common/ugc-tokens");
|
|
26
26
|
var _getBaseFontSize = require("./get-base-font-size");
|
|
27
|
-
var _css,
|
|
27
|
+
var _css, _css4;
|
|
28
28
|
/* eslint-disable @atlaskit/ui-styling-standard/no-important-styles */
|
|
29
29
|
/* eslint-disable @atlaskit/ui-styling-standard/no-imported-style-values */
|
|
30
30
|
/* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values */
|
|
@@ -139,6 +139,14 @@ var baseStyles = (0, _react.css)((_css = {
|
|
|
139
139
|
}), (0, _defineProperty2.default)(_css, '& span[data-placeholder]', {
|
|
140
140
|
color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")")
|
|
141
141
|
})));
|
|
142
|
+
var akEditorBreakpointForSmallDevice = '1266px';
|
|
143
|
+
|
|
144
|
+
// Corresponds to the legacyContentStyles from `@atlaskit/editor-core` meant to introduce responsive breakout width.
|
|
145
|
+
var responsiveBreakoutWidth = (0, _react.css)((0, _defineProperty2.default)({
|
|
146
|
+
'--ak-editor--breakout-wide-layout-width': "".concat(_editorSharedStyles.akEditorCalculatedWideLayoutWidthSmallViewport, "px")
|
|
147
|
+
}, "@media (min-width: ".concat(akEditorBreakpointForSmallDevice, ")"), {
|
|
148
|
+
'--ak-editor--breakout-wide-layout-width': "".concat(_editorSharedStyles.akEditorCalculatedWideLayoutWidth, "px")
|
|
149
|
+
}));
|
|
142
150
|
var hideHeadingCopyLinkWrapperStyles = (0, _react.css)({
|
|
143
151
|
'& h1, & h2, & h3, & h4, & h5, & h6': (0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_headingAnchor.HeadingAnchorWrapperClassName), {
|
|
144
152
|
'&:focus-within': {
|
|
@@ -476,13 +484,13 @@ var paragraphSharedStyles = (0, _react.css)({
|
|
|
476
484
|
letterSpacing: '-0.005em'
|
|
477
485
|
}
|
|
478
486
|
});
|
|
479
|
-
var listsSharedStyles = (0, _react.css)((
|
|
487
|
+
var listsSharedStyles = (0, _react.css)((_css4 = {
|
|
480
488
|
/* =============== INDENTATION SPACING ========= */
|
|
481
489
|
'ul, ol': {
|
|
482
490
|
boxSizing: 'border-box',
|
|
483
491
|
paddingLeft: "var(--ed--list--item-counter--padding, ".concat(_styles.listItemCounterPadding, "px)")
|
|
484
492
|
}
|
|
485
|
-
}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(
|
|
493
|
+
}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_css4, "".concat(_adfSchema.orderedListSelector, ", ").concat(_adfSchema.bulletListSelector), {
|
|
486
494
|
/*
|
|
487
495
|
Ensures list item content adheres to the list's margin instead
|
|
488
496
|
of filling the entire block row. This is important to allow
|
|
@@ -514,7 +522,7 @@ var listsSharedStyles = (0, _react.css)((_css3 = {
|
|
|
514
522
|
listStyleType: 'lower-alpha'
|
|
515
523
|
}), 'ol[data-indent-level="3"], ol[data-indent-level="6"]', {
|
|
516
524
|
listStyleType: 'lower-roman'
|
|
517
|
-
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(
|
|
525
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_css4, 'ul[data-indent-level="1"], ul[data-indent-level="4"]', {
|
|
518
526
|
listStyleType: 'disc'
|
|
519
527
|
}), 'ul[data-indent-level="2"], ul[data-indent-level="5"]', {
|
|
520
528
|
listStyleType: 'circle'
|
|
@@ -1413,7 +1421,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
|
|
|
1413
1421
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
1414
1422
|
(0, _platformFeatureFlags.fg)('editor_inline_comments_on_inline_nodes') &&
|
|
1415
1423
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1416
|
-
(0, _platformFeatureFlags.fg)('annotations_align_editor_and_renderer_styles') && rendererAnnotationStylesCommentHeightFix, baseOtherStyles, allowNestedHeaderLinks && alignedHeadingAnchorStyle, mediaSingleSharedStyle, tableSharedStyle, tableRendererHeaderStylesForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, (0, _table.isStickyScrollbarEnabled)(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks, (0, _platformFeatureFlags.fg)('platform_editor_tables_numbered_column_correction') ? rendererTableColumnStyles : rendererTableColumnStylesOld, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, _browser.browser.safari && codeBlockInListSafariFixStyles],
|
|
1424
|
+
(0, _platformFeatureFlags.fg)('annotations_align_editor_and_renderer_styles') && rendererAnnotationStylesCommentHeightFix, baseOtherStyles, allowNestedHeaderLinks && alignedHeadingAnchorStyle, mediaSingleSharedStyle, tableSharedStyle, tableRendererHeaderStylesForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, (0, _table.isStickyScrollbarEnabled)(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks, (0, _platformFeatureFlags.fg)('platform_editor_tables_numbered_column_correction') ? rendererTableColumnStyles : rendererTableColumnStylesOld, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, _browser.browser.safari && codeBlockInListSafariFixStyles, (0, _platformFeatureFlags.fg)('platform_breakout_cls') ? responsiveBreakoutWidth : null],
|
|
1417
1425
|
"data-testid": testId
|
|
1418
1426
|
}, children)
|
|
1419
1427
|
);
|
|
@@ -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.12";
|
|
66
66
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
67
67
|
containerName: 'ak-renderer-wrapper',
|
|
68
68
|
containerType: 'inline-size'
|
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
|
+
};
|
|
@@ -7,8 +7,9 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { WidthConsumer } from '@atlaskit/editor-common/ui';
|
|
9
9
|
import { calcBreakoutWithCustomWidth, calcBreakoutWidth } from '@atlaskit/editor-common/utils';
|
|
10
|
-
import { blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
10
|
+
import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
11
11
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
13
|
const wrapperStyles = css({
|
|
13
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
14
15
|
margin: `${blockNodesVerticalMargin} 0`,
|
|
@@ -16,6 +17,26 @@ const wrapperStyles = css({
|
|
|
16
17
|
marginLeft: '50%',
|
|
17
18
|
transform: 'translateX(-50%)'
|
|
18
19
|
});
|
|
20
|
+
const CONTAINER_WITHOUT_GUTTER = `calc(100cqw - ${akEditorGutterPadding}px * 2)`;
|
|
21
|
+
const getWidth = (width, mode) => {
|
|
22
|
+
if (editorExperiment('advanced_layouts', true) && width) {
|
|
23
|
+
return `min(${width}px, ${CONTAINER_WITHOUT_GUTTER})`;
|
|
24
|
+
} else {
|
|
25
|
+
if (mode === 'full-width') {
|
|
26
|
+
return `max(${akEditorDefaultLayoutWidth}px, min(${akEditorFullWidthLayoutWidth}px, ${CONTAINER_WITHOUT_GUTTER}))`;
|
|
27
|
+
}
|
|
28
|
+
if (mode === 'wide') {
|
|
29
|
+
return `min(var(--ak-editor--breakout-wide-layout-width), ${CONTAINER_WITHOUT_GUTTER})`;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* React component that renders a breakout mark with dynamic width based on editor layout (wide or full-width).
|
|
36
|
+
*
|
|
37
|
+
* @param props - Breakout mark attrs, such as mode (wide or full-width).
|
|
38
|
+
* @returns The rendered breakout mark as a React element.
|
|
39
|
+
*/
|
|
19
40
|
export default function Breakout(props) {
|
|
20
41
|
return jsx(WidthConsumer, null, ({
|
|
21
42
|
width
|
|
@@ -28,7 +49,10 @@ export default function Breakout(props) {
|
|
|
28
49
|
'data-has-width': !!props.width,
|
|
29
50
|
'data-width': props.width
|
|
30
51
|
}, {
|
|
31
|
-
style
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
53
|
+
style: fg('platform_breakout_cls') ? {
|
|
54
|
+
width: getWidth('width' in props ? props.width : null, props.mode)
|
|
55
|
+
} : {
|
|
32
56
|
width: editorExperiment('advanced_layouts', true) ?
|
|
33
57
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
34
58
|
calcBreakoutWithCustomWidth(props.mode, 'width' in props ? props.width : null, width) :
|
|
@@ -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
|
};
|
|
@@ -11,7 +11,7 @@ import { B300, B400, B500, N20, N200, N30A, N40A, N60A, N800, R50, R500, Y300, Y
|
|
|
11
11
|
import { FullPagePadding } from './style';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
13
|
import { RendererCssClassName } from '../../consts';
|
|
14
|
-
import { akEditorBlockquoteBorderColor, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorLineHeight, akEditorSelectedNodeClassName, akEditorShadowZIndex, akEditorStickyHeaderZIndex, akEditorTableBorder, akEditorTableCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, blockNodesVerticalMargin, gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
|
|
14
|
+
import { akEditorBlockquoteBorderColor, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorLineHeight, akEditorSelectedNodeClassName, akEditorShadowZIndex, akEditorStickyHeaderZIndex, akEditorTableBorder, akEditorTableCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, blockNodesVerticalMargin, gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
|
|
15
15
|
import { INLINE_IMAGE_WRAPPER_CLASS_NAME } from '@atlaskit/editor-common/media-inline';
|
|
16
16
|
import { HeadingAnchorWrapperClassName } from '../../react/nodes/heading-anchor';
|
|
17
17
|
import { CodeBlockSharedCssClassName, DateSharedCssClassName, listItemCounterPadding, richMediaClassName, SmartCardSharedCssClassName, tableCellBorderWidth, tableCellMinWidth, tableCellPadding, tableMarginTop, TableSharedCssClassName, TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
@@ -198,6 +198,15 @@ const baseStyles = css({
|
|
|
198
198
|
color: `var(--ds-text-subtlest, ${N200})`
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
|
+
const akEditorBreakpointForSmallDevice = '1266px';
|
|
202
|
+
|
|
203
|
+
// Corresponds to the legacyContentStyles from `@atlaskit/editor-core` meant to introduce responsive breakout width.
|
|
204
|
+
const responsiveBreakoutWidth = css({
|
|
205
|
+
'--ak-editor--breakout-wide-layout-width': `${akEditorCalculatedWideLayoutWidthSmallViewport}px`,
|
|
206
|
+
[`@media (min-width: ${akEditorBreakpointForSmallDevice})`]: {
|
|
207
|
+
'--ak-editor--breakout-wide-layout-width': `${akEditorCalculatedWideLayoutWidth}px`
|
|
208
|
+
}
|
|
209
|
+
});
|
|
201
210
|
const hideHeadingCopyLinkWrapperStyles = css({
|
|
202
211
|
'& h1, & h2, & h3, & h4, & h5, & h6': {
|
|
203
212
|
[`.${HeadingAnchorWrapperClassName}`]: {
|
|
@@ -1805,7 +1814,7 @@ export const RendererStyleContainer = props => {
|
|
|
1805
1814
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
1806
1815
|
fg('editor_inline_comments_on_inline_nodes') &&
|
|
1807
1816
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1808
|
-
fg('annotations_align_editor_and_renderer_styles') && rendererAnnotationStylesCommentHeightFix, baseOtherStyles, allowNestedHeaderLinks && alignedHeadingAnchorStyle, mediaSingleSharedStyle, tableSharedStyle, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks, fg('platform_editor_tables_numbered_column_correction') ? rendererTableColumnStyles : rendererTableColumnStylesOld, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles],
|
|
1817
|
+
fg('annotations_align_editor_and_renderer_styles') && rendererAnnotationStylesCommentHeightFix, baseOtherStyles, allowNestedHeaderLinks && alignedHeadingAnchorStyle, mediaSingleSharedStyle, tableSharedStyle, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks, fg('platform_editor_tables_numbered_column_correction') ? rendererTableColumnStyles : rendererTableColumnStylesOld, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, fg('platform_breakout_cls') ? responsiveBreakoutWidth : null],
|
|
1809
1818
|
"data-testid": testId
|
|
1810
1819
|
}, children)
|
|
1811
1820
|
);
|
|
@@ -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.12";
|
|
52
52
|
const setAsQueryContainerStyles = css({
|
|
53
53
|
containerName: 'ak-renderer-wrapper',
|
|
54
54
|
containerType: 'inline-size'
|
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
|
+
};
|
|
@@ -7,8 +7,9 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { WidthConsumer } from '@atlaskit/editor-common/ui';
|
|
9
9
|
import { calcBreakoutWithCustomWidth, calcBreakoutWidth } from '@atlaskit/editor-common/utils';
|
|
10
|
-
import { blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
10
|
+
import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
11
11
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
13
|
var wrapperStyles = css({
|
|
13
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
14
15
|
margin: "".concat(blockNodesVerticalMargin, " 0"),
|
|
@@ -16,6 +17,26 @@ var wrapperStyles = css({
|
|
|
16
17
|
marginLeft: '50%',
|
|
17
18
|
transform: 'translateX(-50%)'
|
|
18
19
|
});
|
|
20
|
+
var CONTAINER_WITHOUT_GUTTER = "calc(100cqw - ".concat(akEditorGutterPadding, "px * 2)");
|
|
21
|
+
var getWidth = function getWidth(width, mode) {
|
|
22
|
+
if (editorExperiment('advanced_layouts', true) && width) {
|
|
23
|
+
return "min(".concat(width, "px, ").concat(CONTAINER_WITHOUT_GUTTER, ")");
|
|
24
|
+
} else {
|
|
25
|
+
if (mode === 'full-width') {
|
|
26
|
+
return "max(".concat(akEditorDefaultLayoutWidth, "px, min(").concat(akEditorFullWidthLayoutWidth, "px, ").concat(CONTAINER_WITHOUT_GUTTER, "))");
|
|
27
|
+
}
|
|
28
|
+
if (mode === 'wide') {
|
|
29
|
+
return "min(var(--ak-editor--breakout-wide-layout-width), ".concat(CONTAINER_WITHOUT_GUTTER, ")");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* React component that renders a breakout mark with dynamic width based on editor layout (wide or full-width).
|
|
36
|
+
*
|
|
37
|
+
* @param props - Breakout mark attrs, such as mode (wide or full-width).
|
|
38
|
+
* @returns The rendered breakout mark as a React element.
|
|
39
|
+
*/
|
|
19
40
|
export default function Breakout(props) {
|
|
20
41
|
return jsx(WidthConsumer, null, function (_ref) {
|
|
21
42
|
var width = _ref.width;
|
|
@@ -28,7 +49,10 @@ export default function Breakout(props) {
|
|
|
28
49
|
'data-has-width': !!props.width,
|
|
29
50
|
'data-width': props.width
|
|
30
51
|
}, {
|
|
31
|
-
style
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
53
|
+
style: fg('platform_breakout_cls') ? {
|
|
54
|
+
width: getWidth('width' in props ? props.width : null, props.mode)
|
|
55
|
+
} : {
|
|
32
56
|
width: editorExperiment('advanced_layouts', true) ?
|
|
33
57
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
34
58
|
calcBreakoutWithCustomWidth(props.mode, 'width' in props ? props.width : null, width) :
|
|
@@ -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
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
var _css,
|
|
2
|
+
var _css, _css4;
|
|
3
3
|
/* eslint-disable @atlaskit/ui-styling-standard/no-important-styles */
|
|
4
4
|
/* eslint-disable @atlaskit/ui-styling-standard/no-imported-style-values */
|
|
5
5
|
/* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values */
|
|
@@ -13,7 +13,7 @@ import { B300, B400, B500, N20, N200, N30A, N40A, N60A, N800, R50, R500, Y300, Y
|
|
|
13
13
|
import { FullPagePadding } from './style';
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import { RendererCssClassName } from '../../consts';
|
|
16
|
-
import { akEditorBlockquoteBorderColor, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorLineHeight, akEditorSelectedNodeClassName, akEditorShadowZIndex, akEditorStickyHeaderZIndex, akEditorTableBorder, akEditorTableCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, blockNodesVerticalMargin, gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
|
|
16
|
+
import { akEditorBlockquoteBorderColor, akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorLineHeight, akEditorSelectedNodeClassName, akEditorShadowZIndex, akEditorStickyHeaderZIndex, akEditorTableBorder, akEditorTableCellMinWidth, akEditorTableNumberColumnWidth, akEditorTableToolbar, blockNodesVerticalMargin, gridMediumMaxWidth } from '@atlaskit/editor-shared-styles';
|
|
17
17
|
import { INLINE_IMAGE_WRAPPER_CLASS_NAME } from '@atlaskit/editor-common/media-inline';
|
|
18
18
|
import { HeadingAnchorWrapperClassName } from '../../react/nodes/heading-anchor';
|
|
19
19
|
import { CodeBlockSharedCssClassName, DateSharedCssClassName, listItemCounterPadding, richMediaClassName, SmartCardSharedCssClassName, tableCellBorderWidth, tableCellMinWidth, tableCellPadding, tableMarginTop, TableSharedCssClassName, TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
@@ -132,6 +132,14 @@ var baseStyles = css((_css = {
|
|
|
132
132
|
}), _defineProperty(_css, '& span[data-placeholder]', {
|
|
133
133
|
color: "var(--ds-text-subtlest, ".concat(N200, ")")
|
|
134
134
|
})));
|
|
135
|
+
var akEditorBreakpointForSmallDevice = '1266px';
|
|
136
|
+
|
|
137
|
+
// Corresponds to the legacyContentStyles from `@atlaskit/editor-core` meant to introduce responsive breakout width.
|
|
138
|
+
var responsiveBreakoutWidth = css(_defineProperty({
|
|
139
|
+
'--ak-editor--breakout-wide-layout-width': "".concat(akEditorCalculatedWideLayoutWidthSmallViewport, "px")
|
|
140
|
+
}, "@media (min-width: ".concat(akEditorBreakpointForSmallDevice, ")"), {
|
|
141
|
+
'--ak-editor--breakout-wide-layout-width': "".concat(akEditorCalculatedWideLayoutWidth, "px")
|
|
142
|
+
}));
|
|
135
143
|
var hideHeadingCopyLinkWrapperStyles = css({
|
|
136
144
|
'& h1, & h2, & h3, & h4, & h5, & h6': _defineProperty(_defineProperty({}, ".".concat(HeadingAnchorWrapperClassName), {
|
|
137
145
|
'&:focus-within': {
|
|
@@ -469,13 +477,13 @@ var paragraphSharedStyles = css({
|
|
|
469
477
|
letterSpacing: '-0.005em'
|
|
470
478
|
}
|
|
471
479
|
});
|
|
472
|
-
var listsSharedStyles = css((
|
|
480
|
+
var listsSharedStyles = css((_css4 = {
|
|
473
481
|
/* =============== INDENTATION SPACING ========= */
|
|
474
482
|
'ul, ol': {
|
|
475
483
|
boxSizing: 'border-box',
|
|
476
484
|
paddingLeft: "var(--ed--list--item-counter--padding, ".concat(listItemCounterPadding, "px)")
|
|
477
485
|
}
|
|
478
|
-
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(
|
|
486
|
+
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_css4, "".concat(orderedListSelector, ", ").concat(bulletListSelector), {
|
|
479
487
|
/*
|
|
480
488
|
Ensures list item content adheres to the list's margin instead
|
|
481
489
|
of filling the entire block row. This is important to allow
|
|
@@ -507,7 +515,7 @@ var listsSharedStyles = css((_css3 = {
|
|
|
507
515
|
listStyleType: 'lower-alpha'
|
|
508
516
|
}), 'ol[data-indent-level="3"], ol[data-indent-level="6"]', {
|
|
509
517
|
listStyleType: 'lower-roman'
|
|
510
|
-
}), _defineProperty(_defineProperty(_defineProperty(
|
|
518
|
+
}), _defineProperty(_defineProperty(_defineProperty(_css4, 'ul[data-indent-level="1"], ul[data-indent-level="4"]', {
|
|
511
519
|
listStyleType: 'disc'
|
|
512
520
|
}), 'ul[data-indent-level="2"], ul[data-indent-level="5"]', {
|
|
513
521
|
listStyleType: 'circle'
|
|
@@ -1406,7 +1414,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
|
|
|
1406
1414
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
1407
1415
|
fg('editor_inline_comments_on_inline_nodes') &&
|
|
1408
1416
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1409
|
-
fg('annotations_align_editor_and_renderer_styles') && rendererAnnotationStylesCommentHeightFix, baseOtherStyles, allowNestedHeaderLinks && alignedHeadingAnchorStyle, mediaSingleSharedStyle, tableSharedStyle, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks, fg('platform_editor_tables_numbered_column_correction') ? rendererTableColumnStyles : rendererTableColumnStylesOld, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles],
|
|
1417
|
+
fg('annotations_align_editor_and_renderer_styles') && rendererAnnotationStylesCommentHeightFix, baseOtherStyles, allowNestedHeaderLinks && alignedHeadingAnchorStyle, mediaSingleSharedStyle, tableSharedStyle, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks, fg('platform_editor_tables_numbered_column_correction') ? rendererTableColumnStyles : rendererTableColumnStylesOld, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, fg('platform_breakout_cls') ? responsiveBreakoutWidth : null],
|
|
1410
1418
|
"data-testid": testId
|
|
1411
1419
|
}, children)
|
|
1412
1420
|
);
|
|
@@ -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.12";
|
|
57
57
|
var setAsQueryContainerStyles = css({
|
|
58
58
|
containerName: 'ak-renderer-wrapper',
|
|
59
59
|
containerType: 'inline-size'
|
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;
|
|
@@ -5,4 +5,10 @@
|
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
7
7
|
import type { MarkProps } from '../types';
|
|
8
|
+
/**
|
|
9
|
+
* React component that renders a breakout mark with dynamic width based on editor layout (wide or full-width).
|
|
10
|
+
*
|
|
11
|
+
* @param props - Breakout mark attrs, such as mode (wide or full-width).
|
|
12
|
+
* @returns The rendered breakout mark as a React element.
|
|
13
|
+
*/
|
|
8
14
|
export default function Breakout(props: MarkProps<BreakoutMarkAttrs>): jsx.JSX.Element;
|
|
@@ -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;
|
|
@@ -5,4 +5,10 @@
|
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
7
7
|
import type { MarkProps } from '../types';
|
|
8
|
+
/**
|
|
9
|
+
* React component that renders a breakout mark with dynamic width based on editor layout (wide or full-width).
|
|
10
|
+
*
|
|
11
|
+
* @param props - Breakout mark attrs, such as mode (wide or full-width).
|
|
12
|
+
* @returns The rendered breakout mark as a React element.
|
|
13
|
+
*/
|
|
8
14
|
export default function Breakout(props: MarkProps<BreakoutMarkAttrs>): jsx.JSX.Element;
|
|
@@ -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.12",
|
|
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.5.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": "^
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^6.1.0",
|
|
60
60
|
"@atlaskit/tokens": "^5.1.0",
|
|
61
61
|
"@atlaskit/tooltip": "^20.3.0",
|
|
62
62
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -124,6 +124,9 @@
|
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
"platform-feature-flags": {
|
|
127
|
+
"platform_breakout_cls": {
|
|
128
|
+
"type": "boolean"
|
|
129
|
+
},
|
|
127
130
|
"confluence_frontend_table_scrollbar_ttvc_fix": {
|
|
128
131
|
"type": "boolean"
|
|
129
132
|
},
|
|
@@ -259,6 +262,9 @@
|
|
|
259
262
|
},
|
|
260
263
|
"confluence_frontend_fix_view_page_slo": {
|
|
261
264
|
"type": "boolean"
|
|
265
|
+
},
|
|
266
|
+
"platform_fix_block_card_img_icon_vc": {
|
|
267
|
+
"type": "boolean"
|
|
262
268
|
}
|
|
263
269
|
},
|
|
264
270
|
"af:exports": {
|