@atlaskit/renderer 135.0.7 → 135.0.9
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 +15 -0
- package/dist/cjs/react/nodes/panel-compiled.compiled.css +1 -0
- package/dist/cjs/react/nodes/panel-compiled.js +4 -1
- package/dist/cjs/react/nodes/panel-emotion.js +12 -1
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +1 -13
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/panel-compiled.compiled.css +1 -0
- package/dist/es2019/react/nodes/panel-compiled.js +4 -1
- package/dist/es2019/react/nodes/panel-emotion.js +12 -1
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +1 -18
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/panel-compiled.compiled.css +1 -0
- package/dist/esm/react/nodes/panel-compiled.js +4 -1
- package/dist/esm/react/nodes/panel-emotion.js +12 -1
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +1 -13
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 135.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b52df281b2214`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b52df281b2214) -
|
|
8
|
+
Clean up feature gate `platform_editor_table_renderer_fix_2`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 135.0.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`2a425de8b292b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2a425de8b292b) -
|
|
16
|
+
EDITOR-8504 Fix nested info panel icon colour
|
|
17
|
+
|
|
3
18
|
## 135.0.7
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
._18w0h2mm.ak-editor-panel{position:relative}
|
|
10
10
|
._18y8qm1h.ak-editor-panel[data-panel-type=note] .ak-editor-panel__icon{color:var(--ds-icon-discovery,#af59e1)}
|
|
11
11
|
._19agidpf.ak-editor-panel .ak-editor-panel__content{flex-shrink:0}
|
|
12
|
+
._19mdyhbg.ak-editor-panel[data-panel-type=info] .ak-editor-panel__icon{color:var(--ds-icon-information,#357de8)}
|
|
12
13
|
._19s71txw.ak-editor-panel{display:flex}
|
|
13
14
|
._1a3fnkob.ak-editor-panel .ak-editor-panel__icon>span{vertical-align:middle}
|
|
14
15
|
._1b0jutpp.ak-editor-panel[data-panel-type=custom]{padding-right:var(--ds-space-150,9pt)}
|
|
@@ -15,6 +15,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
15
15
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
16
16
|
var _consts = require("@atlaskit/editor-shared-styles/consts");
|
|
17
17
|
var _editorPalette = require("@atlaskit/editor-palette");
|
|
18
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
19
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
18
20
|
var _excluded = ["backgroundColor", "children", "className", "hasIcon"];
|
|
19
21
|
/**
|
|
20
22
|
* Compiled branch of the `platform_editor_static_css` experiment.
|
|
@@ -32,6 +34,7 @@ var blockNodesVerticalMargin = '0.75rem';
|
|
|
32
34
|
var akEditorTableCellMinWidth = 48;
|
|
33
35
|
var panelBaseStyles = null;
|
|
34
36
|
var panelHasNoIconStyles = null;
|
|
37
|
+
var panelInfoIconStyles = null;
|
|
35
38
|
var panelNestedIconStyles = null;
|
|
36
39
|
var nestedPanelStyles = null;
|
|
37
40
|
var panelCustomBackground = null;
|
|
@@ -44,7 +47,7 @@ var PanelStyledCompiled = exports.PanelStyledCompiled = function PanelStyledComp
|
|
|
44
47
|
var customBackgroundColor = backgroundColor ? (0, _editorPalette.hexToEditorBackgroundPaletteColor)(backgroundColor) || backgroundColor : undefined;
|
|
45
48
|
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, props, {
|
|
46
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- intentional: preserve existing PanelSharedCssClassName.prefix class
|
|
47
|
-
className: (0, _runtime.ax)(["_lklzfajl _imyb1bbz _50vakb7n _19agidpf _1q6xf1ug _jde2v77o _1bi2v77o _gb1eidpf _11k7idpf _fc9iidpf _1554u2gc _1eiopxbi _1w22u2gc _66ohu2gc _1it3jmsf _19s71txw _18w0h2mm _13n84jg8 _6qwr1hna _ujht1s93 _iqv91kw7 _1l9midpf _1v1c1ejb _11wb1ejb _1oah1ntv _1pciu2gc _1cgk1h6o _5zphglyw _wz94glyw _zs6jglyw _1n3wglyw _1yw1vq3b _1h33yhbg _1a3fnkob _1uvd116y _1hauowts _7c6p1t9x _udsa1o8l _nlelp2ly _18y8qm1h _e5ovn729 _g8a34pcx _1g6dibhp _1udservl _15sp1vk5 _1fe7s4qr _s4ldn729 _gt7x4pcx", !hasIcon && "_1whxutpp _1b0jutpp", props['data-panel-type'] === _adfSchema.PanelType.CUSTOM && backgroundColor && "_122m1aok", "_9dunutpp _pzbautpp", "_1wvnia51", className]),
|
|
50
|
+
className: (0, _runtime.ax)(["_lklzfajl _imyb1bbz _50vakb7n _19agidpf _1q6xf1ug _jde2v77o _1bi2v77o _gb1eidpf _11k7idpf _fc9iidpf _1554u2gc _1eiopxbi _1w22u2gc _66ohu2gc _1it3jmsf _19s71txw _18w0h2mm _13n84jg8 _6qwr1hna _ujht1s93 _iqv91kw7 _1l9midpf _1v1c1ejb _11wb1ejb _1oah1ntv _1pciu2gc _1cgk1h6o _5zphglyw _wz94glyw _zs6jglyw _1n3wglyw _1yw1vq3b _1h33yhbg _1a3fnkob _1uvd116y _1hauowts _7c6p1t9x _udsa1o8l _nlelp2ly _18y8qm1h _e5ovn729 _g8a34pcx _1g6dibhp _1udservl _15sp1vk5 _1fe7s4qr _s4ldn729 _gt7x4pcx", (0, _expValEquals.expValEquals)('platform_editor_nest_table_in_panel', 'isEnabled', true) && (0, _fg.fg)('platform_editor_nest_table_in_panel_patch_2') && "_19mdyhbg", !hasIcon && "_1whxutpp _1b0jutpp", props['data-panel-type'] === _adfSchema.PanelType.CUSTOM && backgroundColor && "_122m1aok", "_9dunutpp _pzbautpp", "_1wvnia51", className]),
|
|
48
51
|
style: _objectSpread(_objectSpread({}, {
|
|
49
52
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- intentional: custom panel background is dynamic via CSS variable
|
|
50
53
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
@@ -12,6 +12,8 @@ var _react2 = require("@emotion/react");
|
|
|
12
12
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
13
13
|
var _consts = require("@atlaskit/editor-shared-styles/consts");
|
|
14
14
|
var _editorPalette = require("@atlaskit/editor-palette");
|
|
15
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
16
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
15
17
|
var _excluded = ["backgroundColor", "hasIcon"];
|
|
16
18
|
/**
|
|
17
19
|
* @jsxRuntime classic
|
|
@@ -143,6 +145,15 @@ var panelHasNoIconStyles = (0, _react2.css)({
|
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
});
|
|
148
|
+
var panelInfoIconStyles = (0, _react2.css)({
|
|
149
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
150
|
+
'&.ak-editor-panel[data-panel-type="info"]': {
|
|
151
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
152
|
+
'.ak-editor-panel__icon': {
|
|
153
|
+
color: "var(--ds-icon-information, #357DE8)"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
});
|
|
146
157
|
var panelNestedIconStyles = (0, _react2.css)({
|
|
147
158
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
148
159
|
'&.ak-editor-panel__no-icon': {
|
|
@@ -176,7 +187,7 @@ var PanelStyledEmotion = exports.PanelStyledEmotion = function PanelStyledEmotio
|
|
|
176
187
|
{
|
|
177
188
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
178
189
|
},
|
|
179
|
-
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === _adfSchema.PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
190
|
+
css: [panelBaseStyles, (0, _expValEquals.expValEquals)('platform_editor_nest_table_in_panel', 'isEnabled', true) && (0, _fg.fg)('platform_editor_nest_table_in_panel_patch_2') && panelInfoIconStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === _adfSchema.PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
180
191
|
// Ignored via go/ees005
|
|
181
192
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
182
193
|
}, props), props.children);
|
|
@@ -1649,18 +1649,6 @@ var roundedTableLegacyClipPathStyles = (0, _react.css)((0, _defineProperty2.defa
|
|
|
1649
1649
|
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1650
1650
|
}
|
|
1651
1651
|
}));
|
|
1652
|
-
var tableContentModeStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, ":has(table[data-initial-width-mode=\"content\"])"), {
|
|
1653
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1654
|
-
width: 'max-content !important',
|
|
1655
|
-
maxWidth: 'var(--renderer-table-max-width)'
|
|
1656
|
-
}), ".".concat(_consts.RendererCssClassName.DOCUMENT, " table[data-initial-width-mode=\"content\"] > colgroup > col"), {
|
|
1657
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1658
|
-
width: 'unset !important'
|
|
1659
|
-
}));
|
|
1660
|
-
|
|
1661
|
-
// Gated behind `platform_editor_table_renderer_fix_2`. Scopes `:has()` to the
|
|
1662
|
-
// container's OWN table (direct child) so a nested content-mode table (e.g. inside
|
|
1663
|
-
// an Excerpt macro) no longer blows out its non-content ancestor container.
|
|
1664
1652
|
var tableContentModeScopedStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, ":has(> table[data-initial-width-mode=\"content\"]),\n\t.").concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, ":has(> .").concat(_styles.TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table[data-initial-width-mode=\"content\"]),\n\t.").concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, ":has(> .").concat(_styles.TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table[data-initial-width-mode=\"content\"])"), {
|
|
1665
1653
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1666
1654
|
width: 'max-content !important',
|
|
@@ -2305,7 +2293,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
|
|
|
2305
2293
|
// this should be placed after baseOtherStyles
|
|
2306
2294
|
(0, _expValEquals.expValEquals)('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && ((0, _expValEquals.expValEquals)('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), inlineExtensionRendererMarginFix, allowNestedHeaderLinks && ((0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle,
|
|
2307
2295
|
// merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
|
|
2308
|
-
(0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_q4_patch_7') && roundedTableLegacyClipPathStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableRemixBlockHighlightStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
2296
|
+
(0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_q4_patch_7') && roundedTableLegacyClipPathStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableRemixBlockHighlightStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeScopedStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_table_nested_renderer_fix') && tableContentModeNestedTableStyles, tableRendererHeaderStylesForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, firstNodeWithNotMarginTopWithNestedDnD, rendererTableStyles, isStickyScrollbarOn && stickyScrollbarStyles, isStickyScrollbarOn && (0, _expValEquals.expValEquals)('platform_editor_table_css_overflow_shadow', 'isEnabled', true) && stickyScrollbarOverflowShadowFixStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) && rendererTableSortableColumnValignStyles, allowColumnSorting && allowNestedHeaderLinks && ((0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && ((0, _expValEquals.expValEquals)('editor_tinymce_full_width_mode', 'isEnabled', true) || (0, _expValEquals.expValEquals)('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? contentMode === 'compact' ? scaledDenseEmojiStyles : scaledEmojiStyles : contentMode === 'compact' ? denseStyles : undefined, contentMode === 'compact' ? scaledDenseUnicodeEmojiStylesNew : scaledUnicodeEmojiStylesNew, (0, _experiments.editorExperiment)('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && (0, _experiments.editorExperiment)('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, (0, _expValEquals.expValEquals)('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
|
|
2309
2297
|
"data-testid": testId
|
|
2310
2298
|
}, children);
|
|
2311
2299
|
};
|
|
@@ -73,7 +73,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
73
73
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
74
74
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
75
75
|
var packageName = "@atlaskit/renderer";
|
|
76
|
-
var packageVersion = "135.0.
|
|
76
|
+
var packageVersion = "135.0.8";
|
|
77
77
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
78
78
|
containerName: 'ak-renderer-wrapper',
|
|
79
79
|
containerType: 'inline-size'
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
._18w0h2mm.ak-editor-panel{position:relative}
|
|
9
9
|
._18y8qm1h.ak-editor-panel[data-panel-type=note] .ak-editor-panel__icon{color:var(--ds-icon-discovery,#af59e1)}
|
|
10
10
|
._19agidpf.ak-editor-panel .ak-editor-panel__content{flex-shrink:0}
|
|
11
|
+
._19mdyhbg.ak-editor-panel[data-panel-type=info] .ak-editor-panel__icon{color:var(--ds-icon-information,#357de8)}
|
|
11
12
|
._19s71txw.ak-editor-panel{display:flex}
|
|
12
13
|
._1a3fnkob.ak-editor-panel .ak-editor-panel__icon>span{vertical-align:middle}
|
|
13
14
|
._1alzoqnp.ak-editor-panel{margin-top:.75rem}
|
|
@@ -12,6 +12,8 @@ import React from 'react';
|
|
|
12
12
|
import { PanelType } from '@atlaskit/adf-schema';
|
|
13
13
|
import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
|
|
14
14
|
import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
|
|
15
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
16
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
17
|
// New custom icons are a little smaller than predefined icons.
|
|
16
18
|
// To fix alignment issues with custom icons, vertical alignment is updated.
|
|
17
19
|
const panelEmojiSpriteVerticalAlignment = -(8 * 3 - akEditorCustomIconSize) / 2;
|
|
@@ -20,6 +22,7 @@ const blockNodesVerticalMargin = '0.75rem';
|
|
|
20
22
|
const akEditorTableCellMinWidth = 48;
|
|
21
23
|
const panelBaseStyles = null;
|
|
22
24
|
const panelHasNoIconStyles = null;
|
|
25
|
+
const panelInfoIconStyles = null;
|
|
23
26
|
const panelNestedIconStyles = null;
|
|
24
27
|
const nestedPanelStyles = null;
|
|
25
28
|
const panelCustomBackground = null;
|
|
@@ -33,7 +36,7 @@ export const PanelStyledCompiled = ({
|
|
|
33
36
|
const customBackgroundColor = backgroundColor ? hexToEditorBackgroundPaletteColor(backgroundColor) || backgroundColor : undefined;
|
|
34
37
|
return /*#__PURE__*/React.createElement("div", _extends({}, props, {
|
|
35
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- intentional: preserve existing PanelSharedCssClassName.prefix class
|
|
36
|
-
className: ax(["_lklzfajl _1alzoqnp _xmo1idpf _u70eidpf _1m1jidpf _50vakb7n _19agidpf _1q6xf1ug _jde2v77o _1bi2v77o _gb1eidpf _11k7idpf _fc9iidpf _1554u2gc _1eiopxbi _1w22u2gc _66ohu2gc _1it3ckbl _19s71txw _18w0h2mm _13n84jg8 _6qwr1hna _ujht1s93 _iqv91kw7 _1l9midpf _1v1c1ejb _11wb1ejb _1oah1ntv _1pciu2gc _1cgk1h6o _5zphglyw _wz94glyw _zs6jglyw _1n3wglyw _1yw1vq3b _1h33yhbg _1a3fnkob _1uvd116y _1hau12gs _7c6pj39m _udsa1o8l _nlelp2ly _18y8qm1h _e5ovn729 _g8a34pcx _1g6dibhp _1udservl _15sp1vk5 _1fe7s4qr _s4ldn729 _gt7x4pcx", !hasIcon && "_1whxutpp _1b0jutpp", props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && "_122m1aok", "_9dunutpp _pzbautpp", "_1wvnia51", className]),
|
|
39
|
+
className: ax(["_lklzfajl _1alzoqnp _xmo1idpf _u70eidpf _1m1jidpf _50vakb7n _19agidpf _1q6xf1ug _jde2v77o _1bi2v77o _gb1eidpf _11k7idpf _fc9iidpf _1554u2gc _1eiopxbi _1w22u2gc _66ohu2gc _1it3ckbl _19s71txw _18w0h2mm _13n84jg8 _6qwr1hna _ujht1s93 _iqv91kw7 _1l9midpf _1v1c1ejb _11wb1ejb _1oah1ntv _1pciu2gc _1cgk1h6o _5zphglyw _wz94glyw _zs6jglyw _1n3wglyw _1yw1vq3b _1h33yhbg _1a3fnkob _1uvd116y _1hau12gs _7c6pj39m _udsa1o8l _nlelp2ly _18y8qm1h _e5ovn729 _g8a34pcx _1g6dibhp _1udservl _15sp1vk5 _1fe7s4qr _s4ldn729 _gt7x4pcx", expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) && fg('platform_editor_nest_table_in_panel_patch_2') && "_19mdyhbg", !hasIcon && "_1whxutpp _1b0jutpp", props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && "_122m1aok", "_9dunutpp _pzbautpp", "_1wvnia51", className]),
|
|
37
40
|
style: {
|
|
38
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- intentional: custom panel background is dynamic via CSS variable
|
|
39
42
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
@@ -16,6 +16,8 @@ import { css, jsx } from '@emotion/react';
|
|
|
16
16
|
import { PanelType } from '@atlaskit/adf-schema';
|
|
17
17
|
import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
|
|
18
18
|
import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
|
|
19
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
20
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
19
21
|
// New custom icons are a little smaller than predefined icons.
|
|
20
22
|
// To fix alignment issues with custom icons, vertical alignment is updated.
|
|
21
23
|
const panelEmojiSpriteVerticalAlignment = -(8 * 3 - akEditorCustomIconSize) / 2;
|
|
@@ -135,6 +137,15 @@ const panelHasNoIconStyles = css({
|
|
|
135
137
|
}
|
|
136
138
|
}
|
|
137
139
|
});
|
|
140
|
+
const panelInfoIconStyles = css({
|
|
141
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
142
|
+
'&.ak-editor-panel[data-panel-type="info"]': {
|
|
143
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
144
|
+
'.ak-editor-panel__icon': {
|
|
145
|
+
color: "var(--ds-icon-information, #357DE8)"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
});
|
|
138
149
|
const panelNestedIconStyles = css({
|
|
139
150
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
140
151
|
'&.ak-editor-panel__no-icon': {
|
|
@@ -169,7 +180,7 @@ export const PanelStyledEmotion = ({
|
|
|
169
180
|
{
|
|
170
181
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
171
182
|
},
|
|
172
|
-
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
183
|
+
css: [panelBaseStyles, expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) && fg('platform_editor_nest_table_in_panel_patch_2') && panelInfoIconStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
173
184
|
// Ignored via go/ees005
|
|
174
185
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
175
186
|
}, props), props.children);
|
|
@@ -2044,23 +2044,6 @@ const roundedTableLegacyClipPathStyles = css({
|
|
|
2044
2044
|
}
|
|
2045
2045
|
}
|
|
2046
2046
|
});
|
|
2047
|
-
const tableContentModeStyles = css({
|
|
2048
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
2049
|
-
[`.${RendererCssClassName.DOCUMENT} .${TableSharedCssClassName.TABLE_CONTAINER}:has(table[data-initial-width-mode="content"])`]: {
|
|
2050
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
2051
|
-
width: 'max-content !important',
|
|
2052
|
-
maxWidth: 'var(--renderer-table-max-width)'
|
|
2053
|
-
},
|
|
2054
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
2055
|
-
[`.${RendererCssClassName.DOCUMENT} table[data-initial-width-mode="content"] > colgroup > col`]: {
|
|
2056
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
2057
|
-
width: 'unset !important'
|
|
2058
|
-
}
|
|
2059
|
-
});
|
|
2060
|
-
|
|
2061
|
-
// Gated behind `platform_editor_table_renderer_fix_2`. Scopes `:has()` to the
|
|
2062
|
-
// container's OWN table (direct child) so a nested content-mode table (e.g. inside
|
|
2063
|
-
// an Excerpt macro) no longer blows out its non-content ancestor container.
|
|
2064
2047
|
const tableContentModeScopedStyles = css({
|
|
2065
2048
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
2066
2049
|
[`.${RendererCssClassName.DOCUMENT} .${TableSharedCssClassName.TABLE_CONTAINER}:has(> table[data-initial-width-mode="content"]),
|
|
@@ -2936,7 +2919,7 @@ export const RendererStyleContainer = props => {
|
|
|
2936
2919
|
// this should be placed after baseOtherStyles
|
|
2937
2920
|
expValEquals('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && (expValEquals('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), inlineExtensionRendererMarginFix, allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle,
|
|
2938
2921
|
// merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
|
|
2939
|
-
fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && !isExperimentEnabled('platform_editor_table_q4_patch_7') && roundedTableLegacyClipPathStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableRemixBlockHighlightStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
2922
|
+
fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && !isExperimentEnabled('platform_editor_table_q4_patch_7') && roundedTableLegacyClipPathStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableRemixBlockHighlightStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeScopedStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && fg('platform_editor_table_nested_renderer_fix') && tableContentModeNestedTableStyles, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, firstNodeWithNotMarginTopWithNestedDnD, rendererTableStyles, isStickyScrollbarOn && stickyScrollbarStyles, isStickyScrollbarOn && expValEquals('platform_editor_table_css_overflow_shadow', 'isEnabled', true) && stickyScrollbarOverflowShadowFixStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) && rendererTableSortableColumnValignStyles, allowColumnSorting && allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && (expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEquals('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? contentMode === 'compact' ? scaledDenseEmojiStyles : scaledEmojiStyles : contentMode === 'compact' ? denseStyles : undefined, contentMode === 'compact' ? scaledDenseUnicodeEmojiStylesNew : scaledUnicodeEmojiStylesNew, editorExperiment('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, editorExperiment('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
|
|
2940
2923
|
"data-testid": testId
|
|
2941
2924
|
}, children);
|
|
2942
2925
|
};
|
|
@@ -59,7 +59,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
59
59
|
const TABLE_INFO_TIMEOUT = 10000;
|
|
60
60
|
const RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
61
61
|
const packageName = "@atlaskit/renderer";
|
|
62
|
-
const packageVersion = "135.0.
|
|
62
|
+
const packageVersion = "135.0.8";
|
|
63
63
|
const setAsQueryContainerStyles = css({
|
|
64
64
|
containerName: 'ak-renderer-wrapper',
|
|
65
65
|
containerType: 'inline-size'
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
._18w0h2mm.ak-editor-panel{position:relative}
|
|
10
10
|
._18y8qm1h.ak-editor-panel[data-panel-type=note] .ak-editor-panel__icon{color:var(--ds-icon-discovery,#af59e1)}
|
|
11
11
|
._19agidpf.ak-editor-panel .ak-editor-panel__content{flex-shrink:0}
|
|
12
|
+
._19mdyhbg.ak-editor-panel[data-panel-type=info] .ak-editor-panel__icon{color:var(--ds-icon-information,#357de8)}
|
|
12
13
|
._19s71txw.ak-editor-panel{display:flex}
|
|
13
14
|
._1a3fnkob.ak-editor-panel .ak-editor-panel__icon>span{vertical-align:middle}
|
|
14
15
|
._1b0jutpp.ak-editor-panel[data-panel-type=custom]{padding-right:var(--ds-space-150,9pt)}
|
|
@@ -17,6 +17,8 @@ import React from 'react';
|
|
|
17
17
|
import { PanelType } from '@atlaskit/adf-schema';
|
|
18
18
|
import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
|
|
19
19
|
import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
|
|
20
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
21
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
22
|
// New custom icons are a little smaller than predefined icons.
|
|
21
23
|
// To fix alignment issues with custom icons, vertical alignment is updated.
|
|
22
24
|
var panelEmojiSpriteVerticalAlignment = -(8 * 3 - akEditorCustomIconSize) / 2;
|
|
@@ -25,6 +27,7 @@ var blockNodesVerticalMargin = '0.75rem';
|
|
|
25
27
|
var akEditorTableCellMinWidth = 48;
|
|
26
28
|
var panelBaseStyles = null;
|
|
27
29
|
var panelHasNoIconStyles = null;
|
|
30
|
+
var panelInfoIconStyles = null;
|
|
28
31
|
var panelNestedIconStyles = null;
|
|
29
32
|
var nestedPanelStyles = null;
|
|
30
33
|
var panelCustomBackground = null;
|
|
@@ -37,7 +40,7 @@ var PanelStyledCompiled = function PanelStyledCompiled(_ref) {
|
|
|
37
40
|
var customBackgroundColor = backgroundColor ? hexToEditorBackgroundPaletteColor(backgroundColor) || backgroundColor : undefined;
|
|
38
41
|
return /*#__PURE__*/React.createElement("div", _extends({}, props, {
|
|
39
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- intentional: preserve existing PanelSharedCssClassName.prefix class
|
|
40
|
-
className: ax(["_lklzfajl _imyb1bbz _50vakb7n _19agidpf _1q6xf1ug _jde2v77o _1bi2v77o _gb1eidpf _11k7idpf _fc9iidpf _1554u2gc _1eiopxbi _1w22u2gc _66ohu2gc _1it3jmsf _19s71txw _18w0h2mm _13n84jg8 _6qwr1hna _ujht1s93 _iqv91kw7 _1l9midpf _1v1c1ejb _11wb1ejb _1oah1ntv _1pciu2gc _1cgk1h6o _5zphglyw _wz94glyw _zs6jglyw _1n3wglyw _1yw1vq3b _1h33yhbg _1a3fnkob _1uvd116y _1hauowts _7c6p1t9x _udsa1o8l _nlelp2ly _18y8qm1h _e5ovn729 _g8a34pcx _1g6dibhp _1udservl _15sp1vk5 _1fe7s4qr _s4ldn729 _gt7x4pcx", !hasIcon && "_1whxutpp _1b0jutpp", props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && "_122m1aok", "_9dunutpp _pzbautpp", "_1wvnia51", className]),
|
|
43
|
+
className: ax(["_lklzfajl _imyb1bbz _50vakb7n _19agidpf _1q6xf1ug _jde2v77o _1bi2v77o _gb1eidpf _11k7idpf _fc9iidpf _1554u2gc _1eiopxbi _1w22u2gc _66ohu2gc _1it3jmsf _19s71txw _18w0h2mm _13n84jg8 _6qwr1hna _ujht1s93 _iqv91kw7 _1l9midpf _1v1c1ejb _11wb1ejb _1oah1ntv _1pciu2gc _1cgk1h6o _5zphglyw _wz94glyw _zs6jglyw _1n3wglyw _1yw1vq3b _1h33yhbg _1a3fnkob _1uvd116y _1hauowts _7c6p1t9x _udsa1o8l _nlelp2ly _18y8qm1h _e5ovn729 _g8a34pcx _1g6dibhp _1udservl _15sp1vk5 _1fe7s4qr _s4ldn729 _gt7x4pcx", expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) && fg('platform_editor_nest_table_in_panel_patch_2') && "_19mdyhbg", !hasIcon && "_1whxutpp _1b0jutpp", props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && "_122m1aok", "_9dunutpp _pzbautpp", "_1wvnia51", className]),
|
|
41
44
|
style: _objectSpread(_objectSpread({}, {
|
|
42
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- intentional: custom panel background is dynamic via CSS variable
|
|
43
46
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
@@ -18,6 +18,8 @@ import { css, jsx } from '@emotion/react';
|
|
|
18
18
|
import { PanelType } from '@atlaskit/adf-schema';
|
|
19
19
|
import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
|
|
20
20
|
import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
|
|
21
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
21
23
|
// New custom icons are a little smaller than predefined icons.
|
|
22
24
|
// To fix alignment issues with custom icons, vertical alignment is updated.
|
|
23
25
|
var panelEmojiSpriteVerticalAlignment = -(8 * 3 - akEditorCustomIconSize) / 2;
|
|
@@ -137,6 +139,15 @@ var panelHasNoIconStyles = css({
|
|
|
137
139
|
}
|
|
138
140
|
}
|
|
139
141
|
});
|
|
142
|
+
var panelInfoIconStyles = css({
|
|
143
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
144
|
+
'&.ak-editor-panel[data-panel-type="info"]': {
|
|
145
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
146
|
+
'.ak-editor-panel__icon': {
|
|
147
|
+
color: "var(--ds-icon-information, #357DE8)"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
});
|
|
140
151
|
var panelNestedIconStyles = css({
|
|
141
152
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
142
153
|
'&.ak-editor-panel__no-icon': {
|
|
@@ -170,7 +181,7 @@ var PanelStyledEmotion = function PanelStyledEmotion(_ref) {
|
|
|
170
181
|
{
|
|
171
182
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
172
183
|
},
|
|
173
|
-
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
184
|
+
css: [panelBaseStyles, expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) && fg('platform_editor_nest_table_in_panel_patch_2') && panelInfoIconStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
174
185
|
// Ignored via go/ees005
|
|
175
186
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
176
187
|
}, props), props.children);
|
|
@@ -1642,18 +1642,6 @@ var roundedTableLegacyClipPathStyles = css(_defineProperty(_defineProperty({}, "
|
|
|
1642
1642
|
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1643
1643
|
}
|
|
1644
1644
|
}));
|
|
1645
|
-
var tableContentModeStyles = css(_defineProperty(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT, " .").concat(TableSharedCssClassName.TABLE_CONTAINER, ":has(table[data-initial-width-mode=\"content\"])"), {
|
|
1646
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1647
|
-
width: 'max-content !important',
|
|
1648
|
-
maxWidth: 'var(--renderer-table-max-width)'
|
|
1649
|
-
}), ".".concat(RendererCssClassName.DOCUMENT, " table[data-initial-width-mode=\"content\"] > colgroup > col"), {
|
|
1650
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1651
|
-
width: 'unset !important'
|
|
1652
|
-
}));
|
|
1653
|
-
|
|
1654
|
-
// Gated behind `platform_editor_table_renderer_fix_2`. Scopes `:has()` to the
|
|
1655
|
-
// container's OWN table (direct child) so a nested content-mode table (e.g. inside
|
|
1656
|
-
// an Excerpt macro) no longer blows out its non-content ancestor container.
|
|
1657
1645
|
var tableContentModeScopedStyles = css(_defineProperty(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT, " .").concat(TableSharedCssClassName.TABLE_CONTAINER, ":has(> table[data-initial-width-mode=\"content\"]),\n\t.").concat(RendererCssClassName.DOCUMENT, " .").concat(TableSharedCssClassName.TABLE_CONTAINER, ":has(> .").concat(TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table[data-initial-width-mode=\"content\"]),\n\t.").concat(RendererCssClassName.DOCUMENT, " .").concat(TableSharedCssClassName.TABLE_CONTAINER, ":has(> .").concat(TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table[data-initial-width-mode=\"content\"])"), {
|
|
1658
1646
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1659
1647
|
width: 'max-content !important',
|
|
@@ -2298,7 +2286,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
|
|
|
2298
2286
|
// this should be placed after baseOtherStyles
|
|
2299
2287
|
expValEquals('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && (expValEquals('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), inlineExtensionRendererMarginFix, allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle,
|
|
2300
2288
|
// merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
|
|
2301
|
-
fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && !isExperimentEnabled('platform_editor_table_q4_patch_7') && roundedTableLegacyClipPathStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableRemixBlockHighlightStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
2289
|
+
fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && !isExperimentEnabled('platform_editor_table_q4_patch_7') && roundedTableLegacyClipPathStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableRemixBlockHighlightStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeScopedStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && fg('platform_editor_table_nested_renderer_fix') && tableContentModeNestedTableStyles, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, firstNodeWithNotMarginTopWithNestedDnD, rendererTableStyles, isStickyScrollbarOn && stickyScrollbarStyles, isStickyScrollbarOn && expValEquals('platform_editor_table_css_overflow_shadow', 'isEnabled', true) && stickyScrollbarOverflowShadowFixStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) && rendererTableSortableColumnValignStyles, allowColumnSorting && allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && (expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEquals('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? contentMode === 'compact' ? scaledDenseEmojiStyles : scaledEmojiStyles : contentMode === 'compact' ? denseStyles : undefined, contentMode === 'compact' ? scaledDenseUnicodeEmojiStylesNew : scaledUnicodeEmojiStylesNew, editorExperiment('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, editorExperiment('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
|
|
2302
2290
|
"data-testid": testId
|
|
2303
2291
|
}, children);
|
|
2304
2292
|
};
|
|
@@ -64,7 +64,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
64
64
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
65
65
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
66
66
|
var packageName = "@atlaskit/renderer";
|
|
67
|
-
var packageVersion = "135.0.
|
|
67
|
+
var packageVersion = "135.0.8";
|
|
68
68
|
var setAsQueryContainerStyles = css({
|
|
69
69
|
containerName: 'ak-renderer-wrapper',
|
|
70
70
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "135.0.
|
|
3
|
+
"version": "135.0.9",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^1.1.0",
|
|
65
65
|
"@atlaskit/pragmatic-drag-and-drop": "^2.0.0",
|
|
66
66
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
67
|
-
"@atlaskit/react-ufo": "^7.
|
|
67
|
+
"@atlaskit/react-ufo": "^7.4.0",
|
|
68
68
|
"@atlaskit/smart-card": "^45.17.0",
|
|
69
69
|
"@atlaskit/status": "^5.8.0",
|
|
70
70
|
"@atlaskit/task-decision": "^21.8.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/tooltip": "^24.0.0",
|
|
75
75
|
"@atlaskit/visually-hidden": "^4.2.0",
|
|
76
76
|
"@babel/runtime": "^7.0.0",
|
|
77
|
-
"@compiled/react": "^1.0.
|
|
77
|
+
"@compiled/react": "^1.0.2",
|
|
78
78
|
"@emotion/react": "^11.7.1",
|
|
79
79
|
"bind-event-listener": "^3.0.0",
|
|
80
80
|
"lodash": "^4.17.21",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"uuid": "^3.1.0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@atlaskit/editor-common": "^118.
|
|
87
|
+
"@atlaskit/editor-common": "^118.10.0",
|
|
88
88
|
"@atlaskit/link-provider": "^5.3.0",
|
|
89
89
|
"@atlaskit/media-core": "^38.0.0",
|
|
90
90
|
"react": "^18.2.0",
|
|
@@ -177,9 +177,6 @@
|
|
|
177
177
|
"platform_renderer_sample_high_volume_events": {
|
|
178
178
|
"type": "boolean"
|
|
179
179
|
},
|
|
180
|
-
"platform_editor_table_renderer_fix_2": {
|
|
181
|
-
"type": "boolean"
|
|
182
|
-
},
|
|
183
180
|
"platform_editor_comments_api_manager": {
|
|
184
181
|
"type": "boolean"
|
|
185
182
|
},
|
|
@@ -202,6 +199,9 @@
|
|
|
202
199
|
"platform_editor_bordered_panel_nested_in_table": {
|
|
203
200
|
"type": "boolean"
|
|
204
201
|
},
|
|
202
|
+
"platform_editor_nest_table_in_panel_patch_2": {
|
|
203
|
+
"type": "boolean"
|
|
204
|
+
},
|
|
205
205
|
"confluence_frontend_fix_view_page_slo": {
|
|
206
206
|
"type": "boolean"
|
|
207
207
|
},
|