@atlaskit/renderer 118.6.9 → 118.6.11
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/afm-cc/tsconfig.json +1 -1
- package/dist/cjs/react/marks/breakout.js +25 -1
- package/dist/cjs/react/nodes/table/colgroup.js +2 -1
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +13 -5
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/marks/breakout.js +26 -2
- package/dist/es2019/react/nodes/table/colgroup.js +2 -1
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +11 -2
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/marks/breakout.js +26 -2
- package/dist/esm/react/nodes/table/colgroup.js +2 -1
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +14 -6
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/types/react/marks/breakout.d.ts +6 -0
- package/dist/types-ts4.5/react/marks/breakout.d.ts +6 -0
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 118.6.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 118.6.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#165707](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165707)
|
|
14
|
+
[`dc0945a65df05`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dc0945a65df05) -
|
|
15
|
+
[JIV-20854] Make sure that we always use maxScalingPercent for table width when fg
|
|
16
|
+
platform-ssr-table-resize is toggled on
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 118.6.9
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -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) :
|
|
@@ -13,6 +13,7 @@ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
|
13
13
|
var _nodeWidth = require("@atlaskit/editor-common/node-width");
|
|
14
14
|
var _useFeatureFlags = require("../../../use-feature-flags");
|
|
15
15
|
var _rendererContext = require("../../../renderer-context");
|
|
16
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
17
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17
18
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18
19
|
// we allow scaling down column widths by no more than 30%
|
|
@@ -163,7 +164,7 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
|
|
|
163
164
|
scaleDownPercent = calcScalePercent({
|
|
164
165
|
renderWidth: renderWidth,
|
|
165
166
|
tableWidth: tableWidth,
|
|
166
|
-
maxScale: shouldTable100ScaleDown ? 1 : maxScalingPercent,
|
|
167
|
+
maxScale: (0, _platformFeatureFlags.fg)('platform-ssr-table-resize') ? maxScalingPercent : shouldTable100ScaleDown ? 1 : maxScalingPercent,
|
|
167
168
|
isNumberColumnEnabled: isNumberColumnEnabled
|
|
168
169
|
});
|
|
169
170
|
}
|
|
@@ -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.11";
|
|
66
66
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
67
67
|
containerName: 'ak-renderer-wrapper',
|
|
68
68
|
containerType: 'inline-size'
|
|
@@ -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) :
|
|
@@ -5,6 +5,7 @@ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
|
5
5
|
import { getTableContainerWidth } from '@atlaskit/editor-common/node-width';
|
|
6
6
|
import { useFeatureFlags } from '../../../use-feature-flags';
|
|
7
7
|
import { useRendererContext } from '../../../renderer-context';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
9
|
|
|
9
10
|
// we allow scaling down column widths by no more than 30%
|
|
10
11
|
// this intends to reduce unwanted scrolling in the Renderer in these scenarios:
|
|
@@ -151,7 +152,7 @@ const renderScaleDownColgroup = props => {
|
|
|
151
152
|
scaleDownPercent = calcScalePercent({
|
|
152
153
|
renderWidth,
|
|
153
154
|
tableWidth,
|
|
154
|
-
maxScale: shouldTable100ScaleDown ? 1 : maxScalingPercent,
|
|
155
|
+
maxScale: fg('platform-ssr-table-resize') ? maxScalingPercent : shouldTable100ScaleDown ? 1 : maxScalingPercent,
|
|
155
156
|
isNumberColumnEnabled: isNumberColumnEnabled
|
|
156
157
|
});
|
|
157
158
|
}
|
|
@@ -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.11";
|
|
52
52
|
const setAsQueryContainerStyles = css({
|
|
53
53
|
containerName: 'ak-renderer-wrapper',
|
|
54
54
|
containerType: 'inline-size'
|
|
@@ -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) :
|
|
@@ -8,6 +8,7 @@ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
|
8
8
|
import { getTableContainerWidth } from '@atlaskit/editor-common/node-width';
|
|
9
9
|
import { useFeatureFlags } from '../../../use-feature-flags';
|
|
10
10
|
import { useRendererContext } from '../../../renderer-context';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
12
|
|
|
12
13
|
// we allow scaling down column widths by no more than 30%
|
|
13
14
|
// this intends to reduce unwanted scrolling in the Renderer in these scenarios:
|
|
@@ -157,7 +158,7 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
|
|
|
157
158
|
scaleDownPercent = calcScalePercent({
|
|
158
159
|
renderWidth: renderWidth,
|
|
159
160
|
tableWidth: tableWidth,
|
|
160
|
-
maxScale: shouldTable100ScaleDown ? 1 : maxScalingPercent,
|
|
161
|
+
maxScale: fg('platform-ssr-table-resize') ? maxScalingPercent : shouldTable100ScaleDown ? 1 : maxScalingPercent,
|
|
161
162
|
isNumberColumnEnabled: isNumberColumnEnabled
|
|
162
163
|
});
|
|
163
164
|
}
|
|
@@ -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.11";
|
|
57
57
|
var setAsQueryContainerStyles = css({
|
|
58
58
|
containerName: 'ak-renderer-wrapper',
|
|
59
59
|
containerType: 'inline-size'
|
|
@@ -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;
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "118.6.
|
|
3
|
+
"version": "118.6.11",
|
|
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",
|
|
@@ -56,7 +56,7 @@
|
|
|
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.0.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
|
},
|