@atlaskit/renderer 133.17.9 → 134.0.1
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 +17 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-products/tsconfig.json +3 -0
- package/dist/cjs/react/nodes/panel-compiled.js +1 -2
- package/dist/cjs/react/nodes/panel-emotion.js +1 -2
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +31 -29
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/panel-compiled.js +1 -2
- package/dist/es2019/react/nodes/panel-emotion.js +1 -2
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +36 -33
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/panel-compiled.js +1 -2
- package/dist/esm/react/nodes/panel-emotion.js +1 -2
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +31 -29
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 134.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ae5ca1873aef4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ae5ca1873aef4) -
|
|
8
|
+
Clean up feature gate `platform_editor_nested_dnd_styles_changes`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 134.0.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`2681224a00763`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2681224a00763) -
|
|
16
|
+
Allow rounded table cell descendants elements to not clip within cell when
|
|
17
|
+
platform_editor_table_q4_loveability and platform_editor_table_q4_patch_7 are enabled.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 133.17.9
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -106,6 +106,9 @@
|
|
|
106
106
|
{
|
|
107
107
|
"path": "../../../media/media-viewer/afm-products/tsconfig.json"
|
|
108
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"path": "../../../platform/feature-experiments/afm-products/tsconfig.json"
|
|
111
|
+
},
|
|
109
112
|
{
|
|
110
113
|
"path": "../../../platform/feature-flags/afm-products/tsconfig.json"
|
|
111
114
|
},
|
|
@@ -15,7 +15,6 @@ 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 _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
18
|
var _excluded = ["backgroundColor", "children", "className", "hasIcon"];
|
|
20
19
|
/**
|
|
21
20
|
* Compiled branch of the `platform_editor_static_css` experiment.
|
|
@@ -45,7 +44,7 @@ var PanelStyledCompiled = exports.PanelStyledCompiled = function PanelStyledComp
|
|
|
45
44
|
var customBackgroundColor = backgroundColor ? (0, _editorPalette.hexToEditorBackgroundPaletteColor)(backgroundColor) || backgroundColor : undefined;
|
|
46
45
|
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, props, {
|
|
47
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- intentional: preserve existing PanelSharedCssClassName.prefix class
|
|
48
|
-
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",
|
|
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]),
|
|
49
48
|
style: _objectSpread(_objectSpread({}, {
|
|
50
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- intentional: custom panel background is dynamic via CSS variable
|
|
51
50
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
@@ -12,7 +12,6 @@ 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 _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
15
|
var _excluded = ["backgroundColor", "hasIcon"];
|
|
17
16
|
/**
|
|
18
17
|
* @jsxRuntime classic
|
|
@@ -177,7 +176,7 @@ var PanelStyledEmotion = exports.PanelStyledEmotion = function PanelStyledEmotio
|
|
|
177
176
|
{
|
|
178
177
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
179
178
|
},
|
|
180
|
-
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === _adfSchema.PanelType.CUSTOM && backgroundColor && panelCustomBackground,
|
|
179
|
+
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === _adfSchema.PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
181
180
|
// Ignored via go/ees005
|
|
182
181
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
183
182
|
}, props), props.children);
|
|
@@ -8,6 +8,7 @@ exports.textHighlightPaddingStyles = exports.RendererStyleContainer = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _style = require("./style");
|
|
11
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
11
12
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
13
|
var _consts = require("../../consts");
|
|
13
14
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
@@ -1524,23 +1525,19 @@ var roundedTableOuterBorderOverlayStyles = (0, _react.css)((0, _defineProperty2.
|
|
|
1524
1525
|
},
|
|
1525
1526
|
'> tbody > tr > th[data-reaches-top][data-reaches-left], > tbody > tr > td[data-reaches-top][data-reaches-left]': {
|
|
1526
1527
|
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1527
|
-
backgroundClip: 'border-box'
|
|
1528
|
-
clipPath: "inset(0 round ".concat("var(--ds-radius-xlarge, 12px)", " 0 0 0)")
|
|
1528
|
+
backgroundClip: 'border-box'
|
|
1529
1529
|
},
|
|
1530
1530
|
'> tbody > tr > th[data-reaches-top][data-reaches-right], > tbody > tr > td[data-reaches-top][data-reaches-right]': {
|
|
1531
1531
|
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1532
|
-
backgroundClip: 'border-box'
|
|
1533
|
-
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1532
|
+
backgroundClip: 'border-box'
|
|
1534
1533
|
},
|
|
1535
1534
|
'> tbody > tr > th[data-reaches-bottom][data-reaches-left], > tbody > tr > td[data-reaches-bottom][data-reaches-left]': {
|
|
1536
1535
|
borderBottomLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1537
|
-
backgroundClip: 'border-box'
|
|
1538
|
-
clipPath: "inset(0 round 0 0 0 ".concat("var(--ds-radius-xlarge, 12px)", ")")
|
|
1536
|
+
backgroundClip: 'border-box'
|
|
1539
1537
|
},
|
|
1540
1538
|
'> tbody > tr > th[data-reaches-bottom][data-reaches-right], > tbody > tr > td[data-reaches-bottom][data-reaches-right]': {
|
|
1541
1539
|
borderBottomRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1542
|
-
backgroundClip: 'border-box'
|
|
1543
|
-
clipPath: "inset(0 round 0 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0)")
|
|
1540
|
+
backgroundClip: 'border-box'
|
|
1544
1541
|
}
|
|
1545
1542
|
}), ".".concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, ".is-sticky > .").concat(_styles.TableSharedCssClassName.TABLE_STICKY_WRAPPER), {
|
|
1546
1543
|
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
@@ -1562,13 +1559,11 @@ var roundedTableOuterBorderOverlayStyles = (0, _react.css)((0, _defineProperty2.
|
|
|
1562
1559
|
},
|
|
1563
1560
|
'> tbody > tr > th[data-reaches-left], > tbody > tr > td[data-reaches-left]': {
|
|
1564
1561
|
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1565
|
-
borderBottomLeftRadius: 0
|
|
1566
|
-
clipPath: "inset(0 round ".concat("var(--ds-radius-xlarge, 12px)", " 0 0 0)")
|
|
1562
|
+
borderBottomLeftRadius: 0
|
|
1567
1563
|
},
|
|
1568
1564
|
'> tbody > tr > th[data-reaches-right], > tbody > tr > td[data-reaches-right]': {
|
|
1569
1565
|
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1570
|
-
borderBottomRightRadius: 0
|
|
1571
|
-
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1566
|
+
borderBottomRightRadius: 0
|
|
1572
1567
|
},
|
|
1573
1568
|
'> tbody > tr > th[data-reaches-left][data-reaches-bottom], > tbody > tr > td[data-reaches-left][data-reaches-bottom]': {
|
|
1574
1569
|
borderBottomLeftRadius: 0
|
|
@@ -1583,6 +1578,29 @@ var roundedTableOuterBorderOverlayStyles = (0, _react.css)((0, _defineProperty2.
|
|
|
1583
1578
|
borderBottomRightRadius: 0
|
|
1584
1579
|
}
|
|
1585
1580
|
}));
|
|
1581
|
+
|
|
1582
|
+
// Remove when cleaning up platform_editor_table_q4_patch_7.
|
|
1583
|
+
var roundedTableLegacyClipPathStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, " > table,\n\t.").concat(_styles.TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table,\n\t.").concat(_styles.TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), {
|
|
1584
|
+
'> tbody > tr > th[data-reaches-top][data-reaches-left], > tbody > tr > td[data-reaches-top][data-reaches-left]': {
|
|
1585
|
+
clipPath: "inset(0 round ".concat("var(--ds-radius-xlarge, 12px)", " 0 0 0)")
|
|
1586
|
+
},
|
|
1587
|
+
'> tbody > tr > th[data-reaches-top][data-reaches-right], > tbody > tr > td[data-reaches-top][data-reaches-right]': {
|
|
1588
|
+
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1589
|
+
},
|
|
1590
|
+
'> tbody > tr > th[data-reaches-bottom][data-reaches-left], > tbody > tr > td[data-reaches-bottom][data-reaches-left]': {
|
|
1591
|
+
clipPath: "inset(0 round 0 0 0 ".concat("var(--ds-radius-xlarge, 12px)", ")")
|
|
1592
|
+
},
|
|
1593
|
+
'> tbody > tr > th[data-reaches-bottom][data-reaches-right], > tbody > tr > td[data-reaches-bottom][data-reaches-right]': {
|
|
1594
|
+
clipPath: "inset(0 round 0 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0)")
|
|
1595
|
+
}
|
|
1596
|
+
}), ".".concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, ".is-sticky > .").concat(_styles.TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), {
|
|
1597
|
+
'> tbody > tr > th[data-reaches-left], > tbody > tr > td[data-reaches-left]': {
|
|
1598
|
+
clipPath: "inset(0 round ".concat("var(--ds-radius-xlarge, 12px)", " 0 0 0)")
|
|
1599
|
+
},
|
|
1600
|
+
'> tbody > tr > th[data-reaches-right], > tbody > tr > td[data-reaches-right]': {
|
|
1601
|
+
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1602
|
+
}
|
|
1603
|
+
}));
|
|
1586
1604
|
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\"])"), {
|
|
1587
1605
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1588
1606
|
width: 'max-content !important',
|
|
@@ -1642,22 +1660,6 @@ var firstNodeWithNotMarginTopWithNestedDnD = (0, _react.css)((0, _defineProperty
|
|
|
1642
1660
|
}
|
|
1643
1661
|
}
|
|
1644
1662
|
}));
|
|
1645
|
-
var firstNodeWithNotMarginTop = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, " > table,\n\t\t.").concat(_styles.TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table,\n\t\t.").concat(_styles.TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), {
|
|
1646
|
-
'> tbody > tr > th, > tbody > tr > td': {
|
|
1647
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
1648
|
-
'> :first-child:not(style), > style:first-child + *': {
|
|
1649
|
-
marginTop: 0
|
|
1650
|
-
},
|
|
1651
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
1652
|
-
'> .ProseMirror-gapcursor:first-child + *, > style:first-child + .ProseMirror-gapcursor + *': {
|
|
1653
|
-
marginTop: 0
|
|
1654
|
-
},
|
|
1655
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
1656
|
-
'> .ProseMirror-gapcursor:first-child + span + *, > style:first-child + .ProseMirror-gapcursor + span + *': {
|
|
1657
|
-
marginTop: 0
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
}));
|
|
1661
1663
|
var rendererTableStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
1662
1664
|
zIndex: 0,
|
|
1663
1665
|
transition: "all 0.1s linear",
|
|
@@ -2255,7 +2257,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
|
|
|
2255
2257
|
// this should be placed after baseOtherStyles
|
|
2256
2258
|
(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,
|
|
2257
2259
|
// merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
|
|
2258
|
-
(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, _platformFeatureFlags.fg)('platform_editor_table_q4_patch_1') && roundedTableRemixBlockHighlightStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && ((0, _platformFeatureFlags.fg)('platform_editor_table_renderer_fix_2') ? tableContentModeScopedStyles : tableContentModeStyles), (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,
|
|
2260
|
+
(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) && (0, _platformFeatureFlags.fg)('platform_editor_table_q4_patch_1') && roundedTableRemixBlockHighlightStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && ((0, _platformFeatureFlags.fg)('platform_editor_table_renderer_fix_2') ? tableContentModeScopedStyles : tableContentModeStyles), (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],
|
|
2259
2261
|
"data-testid": testId
|
|
2260
2262
|
}, children);
|
|
2261
2263
|
};
|
|
@@ -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 = "
|
|
76
|
+
var packageVersion = "134.0.0";
|
|
77
77
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
78
78
|
containerName: 'ak-renderer-wrapper',
|
|
79
79
|
containerType: 'inline-size'
|
|
@@ -12,7 +12,6 @@ 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';
|
|
16
15
|
// New custom icons are a little smaller than predefined icons.
|
|
17
16
|
// To fix alignment issues with custom icons, vertical alignment is updated.
|
|
18
17
|
const panelEmojiSpriteVerticalAlignment = -(8 * 3 - akEditorCustomIconSize) / 2;
|
|
@@ -34,7 +33,7 @@ export const PanelStyledCompiled = ({
|
|
|
34
33
|
const customBackgroundColor = backgroundColor ? hexToEditorBackgroundPaletteColor(backgroundColor) || backgroundColor : undefined;
|
|
35
34
|
return /*#__PURE__*/React.createElement("div", _extends({}, props, {
|
|
36
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- intentional: preserve existing PanelSharedCssClassName.prefix class
|
|
37
|
-
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",
|
|
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]),
|
|
38
37
|
style: {
|
|
39
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- intentional: custom panel background is dynamic via CSS variable
|
|
40
39
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
@@ -16,7 +16,6 @@ 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';
|
|
20
19
|
// New custom icons are a little smaller than predefined icons.
|
|
21
20
|
// To fix alignment issues with custom icons, vertical alignment is updated.
|
|
22
21
|
const panelEmojiSpriteVerticalAlignment = -(8 * 3 - akEditorCustomIconSize) / 2;
|
|
@@ -170,7 +169,7 @@ export const PanelStyledEmotion = ({
|
|
|
170
169
|
{
|
|
171
170
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
172
171
|
},
|
|
173
|
-
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && panelCustomBackground,
|
|
172
|
+
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
174
173
|
// Ignored via go/ees005
|
|
175
174
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
176
175
|
}, props), props.children);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import { css, jsx } from '@emotion/react'; // oxlint-ignore @typescript-eslint/consistent-type-imports -- classic @jsx jsx factory + jsx.JSX.Element types
|
|
10
10
|
|
|
11
11
|
import { FullPagePadding } from './style';
|
|
12
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
12
13
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
14
|
import { RendererCssClassName } from '../../consts';
|
|
14
15
|
import { akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorFullPageNarrowBreakout, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorMaxWidthLayoutWidth, akEditorGutterPadding, akEditorLineHeight, akEditorSelectedNodeClassName, akEditorShadowZIndex, akEditorStickyHeaderZIndex, akEditorTableCellMinWidth, akEditorTableNumberColumnWidth, blockNodesVerticalMargin, scaledBlockNodesVerticalMargin, gridMediumMaxWidth, akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize } from '@atlaskit/editor-shared-styles';
|
|
@@ -1910,23 +1911,19 @@ const roundedTableOuterBorderOverlayStyles = css({
|
|
|
1910
1911
|
},
|
|
1911
1912
|
'> tbody > tr > th[data-reaches-top][data-reaches-left], > tbody > tr > td[data-reaches-top][data-reaches-left]': {
|
|
1912
1913
|
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1913
|
-
backgroundClip: 'border-box'
|
|
1914
|
-
clipPath: `inset(0 round ${"var(--ds-radius-xlarge, 12px)"} 0 0 0)`
|
|
1914
|
+
backgroundClip: 'border-box'
|
|
1915
1915
|
},
|
|
1916
1916
|
'> tbody > tr > th[data-reaches-top][data-reaches-right], > tbody > tr > td[data-reaches-top][data-reaches-right]': {
|
|
1917
1917
|
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1918
|
-
backgroundClip: 'border-box'
|
|
1919
|
-
clipPath: `inset(0 round 0 ${"var(--ds-radius-xlarge, 12px)"} 0 0)`
|
|
1918
|
+
backgroundClip: 'border-box'
|
|
1920
1919
|
},
|
|
1921
1920
|
'> tbody > tr > th[data-reaches-bottom][data-reaches-left], > tbody > tr > td[data-reaches-bottom][data-reaches-left]': {
|
|
1922
1921
|
borderBottomLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1923
|
-
backgroundClip: 'border-box'
|
|
1924
|
-
clipPath: `inset(0 round 0 0 0 ${"var(--ds-radius-xlarge, 12px)"})`
|
|
1922
|
+
backgroundClip: 'border-box'
|
|
1925
1923
|
},
|
|
1926
1924
|
'> tbody > tr > th[data-reaches-bottom][data-reaches-right], > tbody > tr > td[data-reaches-bottom][data-reaches-right]': {
|
|
1927
1925
|
borderBottomRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1928
|
-
backgroundClip: 'border-box'
|
|
1929
|
-
clipPath: `inset(0 round 0 0 ${"var(--ds-radius-xlarge, 12px)"} 0)`
|
|
1926
|
+
backgroundClip: 'border-box'
|
|
1930
1927
|
}
|
|
1931
1928
|
},
|
|
1932
1929
|
[`.${TableSharedCssClassName.TABLE_CONTAINER}.is-sticky > .${TableSharedCssClassName.TABLE_STICKY_WRAPPER}`]: {
|
|
@@ -1951,13 +1948,11 @@ const roundedTableOuterBorderOverlayStyles = css({
|
|
|
1951
1948
|
},
|
|
1952
1949
|
'> tbody > tr > th[data-reaches-left], > tbody > tr > td[data-reaches-left]': {
|
|
1953
1950
|
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1954
|
-
borderBottomLeftRadius: 0
|
|
1955
|
-
clipPath: `inset(0 round ${"var(--ds-radius-xlarge, 12px)"} 0 0 0)`
|
|
1951
|
+
borderBottomLeftRadius: 0
|
|
1956
1952
|
},
|
|
1957
1953
|
'> tbody > tr > th[data-reaches-right], > tbody > tr > td[data-reaches-right]': {
|
|
1958
1954
|
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1959
|
-
borderBottomRightRadius: 0
|
|
1960
|
-
clipPath: `inset(0 round 0 ${"var(--ds-radius-xlarge, 12px)"} 0 0)`
|
|
1955
|
+
borderBottomRightRadius: 0
|
|
1961
1956
|
},
|
|
1962
1957
|
'> tbody > tr > th[data-reaches-left][data-reaches-bottom], > tbody > tr > td[data-reaches-left][data-reaches-bottom]': {
|
|
1963
1958
|
borderBottomLeftRadius: 0
|
|
@@ -1973,6 +1968,34 @@ const roundedTableOuterBorderOverlayStyles = css({
|
|
|
1973
1968
|
}
|
|
1974
1969
|
}
|
|
1975
1970
|
});
|
|
1971
|
+
|
|
1972
|
+
// Remove when cleaning up platform_editor_table_q4_patch_7.
|
|
1973
|
+
const roundedTableLegacyClipPathStyles = css({
|
|
1974
|
+
[`.${TableSharedCssClassName.TABLE_CONTAINER} > table,
|
|
1975
|
+
.${TableSharedCssClassName.TABLE_NODE_WRAPPER} > table,
|
|
1976
|
+
.${TableSharedCssClassName.TABLE_STICKY_WRAPPER} > table`]: {
|
|
1977
|
+
'> tbody > tr > th[data-reaches-top][data-reaches-left], > tbody > tr > td[data-reaches-top][data-reaches-left]': {
|
|
1978
|
+
clipPath: `inset(0 round ${"var(--ds-radius-xlarge, 12px)"} 0 0 0)`
|
|
1979
|
+
},
|
|
1980
|
+
'> tbody > tr > th[data-reaches-top][data-reaches-right], > tbody > tr > td[data-reaches-top][data-reaches-right]': {
|
|
1981
|
+
clipPath: `inset(0 round 0 ${"var(--ds-radius-xlarge, 12px)"} 0 0)`
|
|
1982
|
+
},
|
|
1983
|
+
'> tbody > tr > th[data-reaches-bottom][data-reaches-left], > tbody > tr > td[data-reaches-bottom][data-reaches-left]': {
|
|
1984
|
+
clipPath: `inset(0 round 0 0 0 ${"var(--ds-radius-xlarge, 12px)"})`
|
|
1985
|
+
},
|
|
1986
|
+
'> tbody > tr > th[data-reaches-bottom][data-reaches-right], > tbody > tr > td[data-reaches-bottom][data-reaches-right]': {
|
|
1987
|
+
clipPath: `inset(0 round 0 0 ${"var(--ds-radius-xlarge, 12px)"} 0)`
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
[`.${TableSharedCssClassName.TABLE_CONTAINER}.is-sticky > .${TableSharedCssClassName.TABLE_STICKY_WRAPPER} > table`]: {
|
|
1991
|
+
'> tbody > tr > th[data-reaches-left], > tbody > tr > td[data-reaches-left]': {
|
|
1992
|
+
clipPath: `inset(0 round ${"var(--ds-radius-xlarge, 12px)"} 0 0 0)`
|
|
1993
|
+
},
|
|
1994
|
+
'> tbody > tr > th[data-reaches-right], > tbody > tr > td[data-reaches-right]': {
|
|
1995
|
+
clipPath: `inset(0 round 0 ${"var(--ds-radius-xlarge, 12px)"} 0 0)`
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
});
|
|
1976
1999
|
const tableContentModeStyles = css({
|
|
1977
2000
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
1978
2001
|
[`.${RendererCssClassName.DOCUMENT} .${TableSharedCssClassName.TABLE_CONTAINER}:has(table[data-initial-width-mode="content"])`]: {
|
|
@@ -2063,26 +2086,6 @@ const firstNodeWithNotMarginTopWithNestedDnD = css({
|
|
|
2063
2086
|
}
|
|
2064
2087
|
}
|
|
2065
2088
|
});
|
|
2066
|
-
const firstNodeWithNotMarginTop = css({
|
|
2067
|
-
[`.${TableSharedCssClassName.TABLE_CONTAINER} > table,
|
|
2068
|
-
.${TableSharedCssClassName.TABLE_NODE_WRAPPER} > table,
|
|
2069
|
-
.${TableSharedCssClassName.TABLE_STICKY_WRAPPER} > table`]: {
|
|
2070
|
-
'> tbody > tr > th, > tbody > tr > td': {
|
|
2071
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
2072
|
-
'> :first-child:not(style), > style:first-child + *': {
|
|
2073
|
-
marginTop: 0
|
|
2074
|
-
},
|
|
2075
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
2076
|
-
'> .ProseMirror-gapcursor:first-child + *, > style:first-child + .ProseMirror-gapcursor + *': {
|
|
2077
|
-
marginTop: 0
|
|
2078
|
-
},
|
|
2079
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
2080
|
-
'> .ProseMirror-gapcursor:first-child + span + *, > style:first-child + .ProseMirror-gapcursor + span + *': {
|
|
2081
|
-
marginTop: 0
|
|
2082
|
-
}
|
|
2083
|
-
}
|
|
2084
|
-
}
|
|
2085
|
-
});
|
|
2086
2089
|
const rendererTableStyles = css({
|
|
2087
2090
|
[`.${RendererCssClassName.DOCUMENT} .${TableSharedCssClassName.TABLE_CONTAINER}`]: {
|
|
2088
2091
|
zIndex: 0,
|
|
@@ -2885,7 +2888,7 @@ export const RendererStyleContainer = props => {
|
|
|
2885
2888
|
// this should be placed after baseOtherStyles
|
|
2886
2889
|
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,
|
|
2887
2890
|
// merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
|
|
2888
|
-
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) && fg('platform_editor_table_q4_patch_1') && roundedTableRemixBlockHighlightStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (fg('platform_editor_table_renderer_fix_2') ? tableContentModeScopedStyles : tableContentModeStyles), 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,
|
|
2891
|
+
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) && fg('platform_editor_table_q4_patch_1') && roundedTableRemixBlockHighlightStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (fg('platform_editor_table_renderer_fix_2') ? tableContentModeScopedStyles : tableContentModeStyles), 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],
|
|
2889
2892
|
"data-testid": testId
|
|
2890
2893
|
}, children);
|
|
2891
2894
|
};
|
|
@@ -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 = "
|
|
62
|
+
const packageVersion = "134.0.0";
|
|
63
63
|
const setAsQueryContainerStyles = css({
|
|
64
64
|
containerName: 'ak-renderer-wrapper',
|
|
65
65
|
containerType: 'inline-size'
|
|
@@ -17,7 +17,6 @@ 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';
|
|
21
20
|
// New custom icons are a little smaller than predefined icons.
|
|
22
21
|
// To fix alignment issues with custom icons, vertical alignment is updated.
|
|
23
22
|
var panelEmojiSpriteVerticalAlignment = -(8 * 3 - akEditorCustomIconSize) / 2;
|
|
@@ -38,7 +37,7 @@ var PanelStyledCompiled = function PanelStyledCompiled(_ref) {
|
|
|
38
37
|
var customBackgroundColor = backgroundColor ? hexToEditorBackgroundPaletteColor(backgroundColor) || backgroundColor : undefined;
|
|
39
38
|
return /*#__PURE__*/React.createElement("div", _extends({}, props, {
|
|
40
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- intentional: preserve existing PanelSharedCssClassName.prefix class
|
|
41
|
-
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",
|
|
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]),
|
|
42
41
|
style: _objectSpread(_objectSpread({}, {
|
|
43
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- intentional: custom panel background is dynamic via CSS variable
|
|
44
43
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
@@ -18,7 +18,6 @@ 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';
|
|
22
21
|
// New custom icons are a little smaller than predefined icons.
|
|
23
22
|
// To fix alignment issues with custom icons, vertical alignment is updated.
|
|
24
23
|
var panelEmojiSpriteVerticalAlignment = -(8 * 3 - akEditorCustomIconSize) / 2;
|
|
@@ -171,7 +170,7 @@ var PanelStyledEmotion = function PanelStyledEmotion(_ref) {
|
|
|
171
170
|
{
|
|
172
171
|
'--ak-renderer-panel-custom-bg-color': customBackgroundColor
|
|
173
172
|
},
|
|
174
|
-
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && panelCustomBackground,
|
|
173
|
+
css: [panelBaseStyles, !hasIcon && panelHasNoIconStyles, props['data-panel-type'] === PanelType.CUSTOM && backgroundColor && panelCustomBackground, panelNestedIconStyles, nestedPanelStyles]
|
|
175
174
|
// Ignored via go/ees005
|
|
176
175
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
177
176
|
}, props), props.children);
|
|
@@ -13,6 +13,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
13
13
|
import { css, jsx } from '@emotion/react'; // oxlint-ignore @typescript-eslint/consistent-type-imports -- classic @jsx jsx factory + jsx.JSX.Element types
|
|
14
14
|
|
|
15
15
|
import { FullPagePadding } from './style';
|
|
16
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
16
17
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
18
|
import { RendererCssClassName } from '../../consts';
|
|
18
19
|
import { akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorFullPageNarrowBreakout, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorMaxWidthLayoutWidth, akEditorGutterPadding, akEditorLineHeight, akEditorSelectedNodeClassName, akEditorShadowZIndex, akEditorStickyHeaderZIndex, akEditorTableCellMinWidth, akEditorTableNumberColumnWidth, blockNodesVerticalMargin, scaledBlockNodesVerticalMargin, gridMediumMaxWidth, akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize } from '@atlaskit/editor-shared-styles';
|
|
@@ -1517,23 +1518,19 @@ var roundedTableOuterBorderOverlayStyles = css(_defineProperty(_defineProperty(_
|
|
|
1517
1518
|
},
|
|
1518
1519
|
'> tbody > tr > th[data-reaches-top][data-reaches-left], > tbody > tr > td[data-reaches-top][data-reaches-left]': {
|
|
1519
1520
|
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1520
|
-
backgroundClip: 'border-box'
|
|
1521
|
-
clipPath: "inset(0 round ".concat("var(--ds-radius-xlarge, 12px)", " 0 0 0)")
|
|
1521
|
+
backgroundClip: 'border-box'
|
|
1522
1522
|
},
|
|
1523
1523
|
'> tbody > tr > th[data-reaches-top][data-reaches-right], > tbody > tr > td[data-reaches-top][data-reaches-right]': {
|
|
1524
1524
|
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1525
|
-
backgroundClip: 'border-box'
|
|
1526
|
-
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1525
|
+
backgroundClip: 'border-box'
|
|
1527
1526
|
},
|
|
1528
1527
|
'> tbody > tr > th[data-reaches-bottom][data-reaches-left], > tbody > tr > td[data-reaches-bottom][data-reaches-left]': {
|
|
1529
1528
|
borderBottomLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1530
|
-
backgroundClip: 'border-box'
|
|
1531
|
-
clipPath: "inset(0 round 0 0 0 ".concat("var(--ds-radius-xlarge, 12px)", ")")
|
|
1529
|
+
backgroundClip: 'border-box'
|
|
1532
1530
|
},
|
|
1533
1531
|
'> tbody > tr > th[data-reaches-bottom][data-reaches-right], > tbody > tr > td[data-reaches-bottom][data-reaches-right]': {
|
|
1534
1532
|
borderBottomRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1535
|
-
backgroundClip: 'border-box'
|
|
1536
|
-
clipPath: "inset(0 round 0 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0)")
|
|
1533
|
+
backgroundClip: 'border-box'
|
|
1537
1534
|
}
|
|
1538
1535
|
}), ".".concat(TableSharedCssClassName.TABLE_CONTAINER, ".is-sticky > .").concat(TableSharedCssClassName.TABLE_STICKY_WRAPPER), {
|
|
1539
1536
|
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
@@ -1555,13 +1552,11 @@ var roundedTableOuterBorderOverlayStyles = css(_defineProperty(_defineProperty(_
|
|
|
1555
1552
|
},
|
|
1556
1553
|
'> tbody > tr > th[data-reaches-left], > tbody > tr > td[data-reaches-left]': {
|
|
1557
1554
|
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1558
|
-
borderBottomLeftRadius: 0
|
|
1559
|
-
clipPath: "inset(0 round ".concat("var(--ds-radius-xlarge, 12px)", " 0 0 0)")
|
|
1555
|
+
borderBottomLeftRadius: 0
|
|
1560
1556
|
},
|
|
1561
1557
|
'> tbody > tr > th[data-reaches-right], > tbody > tr > td[data-reaches-right]': {
|
|
1562
1558
|
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)",
|
|
1563
|
-
borderBottomRightRadius: 0
|
|
1564
|
-
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1559
|
+
borderBottomRightRadius: 0
|
|
1565
1560
|
},
|
|
1566
1561
|
'> tbody > tr > th[data-reaches-left][data-reaches-bottom], > tbody > tr > td[data-reaches-left][data-reaches-bottom]': {
|
|
1567
1562
|
borderBottomLeftRadius: 0
|
|
@@ -1576,6 +1571,29 @@ var roundedTableOuterBorderOverlayStyles = css(_defineProperty(_defineProperty(_
|
|
|
1576
1571
|
borderBottomRightRadius: 0
|
|
1577
1572
|
}
|
|
1578
1573
|
}));
|
|
1574
|
+
|
|
1575
|
+
// Remove when cleaning up platform_editor_table_q4_patch_7.
|
|
1576
|
+
var roundedTableLegacyClipPathStyles = css(_defineProperty(_defineProperty({}, ".".concat(TableSharedCssClassName.TABLE_CONTAINER, " > table,\n\t.").concat(TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table,\n\t.").concat(TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), {
|
|
1577
|
+
'> tbody > tr > th[data-reaches-top][data-reaches-left], > tbody > tr > td[data-reaches-top][data-reaches-left]': {
|
|
1578
|
+
clipPath: "inset(0 round ".concat("var(--ds-radius-xlarge, 12px)", " 0 0 0)")
|
|
1579
|
+
},
|
|
1580
|
+
'> tbody > tr > th[data-reaches-top][data-reaches-right], > tbody > tr > td[data-reaches-top][data-reaches-right]': {
|
|
1581
|
+
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1582
|
+
},
|
|
1583
|
+
'> tbody > tr > th[data-reaches-bottom][data-reaches-left], > tbody > tr > td[data-reaches-bottom][data-reaches-left]': {
|
|
1584
|
+
clipPath: "inset(0 round 0 0 0 ".concat("var(--ds-radius-xlarge, 12px)", ")")
|
|
1585
|
+
},
|
|
1586
|
+
'> tbody > tr > th[data-reaches-bottom][data-reaches-right], > tbody > tr > td[data-reaches-bottom][data-reaches-right]': {
|
|
1587
|
+
clipPath: "inset(0 round 0 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0)")
|
|
1588
|
+
}
|
|
1589
|
+
}), ".".concat(TableSharedCssClassName.TABLE_CONTAINER, ".is-sticky > .").concat(TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), {
|
|
1590
|
+
'> tbody > tr > th[data-reaches-left], > tbody > tr > td[data-reaches-left]': {
|
|
1591
|
+
clipPath: "inset(0 round ".concat("var(--ds-radius-xlarge, 12px)", " 0 0 0)")
|
|
1592
|
+
},
|
|
1593
|
+
'> tbody > tr > th[data-reaches-right], > tbody > tr > td[data-reaches-right]': {
|
|
1594
|
+
clipPath: "inset(0 round 0 ".concat("var(--ds-radius-xlarge, 12px)", " 0 0)")
|
|
1595
|
+
}
|
|
1596
|
+
}));
|
|
1579
1597
|
var tableContentModeStyles = css(_defineProperty(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT, " .").concat(TableSharedCssClassName.TABLE_CONTAINER, ":has(table[data-initial-width-mode=\"content\"])"), {
|
|
1580
1598
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1581
1599
|
width: 'max-content !important',
|
|
@@ -1635,22 +1653,6 @@ var firstNodeWithNotMarginTopWithNestedDnD = css(_defineProperty({}, ".".concat(
|
|
|
1635
1653
|
}
|
|
1636
1654
|
}
|
|
1637
1655
|
}));
|
|
1638
|
-
var firstNodeWithNotMarginTop = css(_defineProperty({}, ".".concat(TableSharedCssClassName.TABLE_CONTAINER, " > table,\n\t\t.").concat(TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table,\n\t\t.").concat(TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), {
|
|
1639
|
-
'> tbody > tr > th, > tbody > tr > td': {
|
|
1640
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
1641
|
-
'> :first-child:not(style), > style:first-child + *': {
|
|
1642
|
-
marginTop: 0
|
|
1643
|
-
},
|
|
1644
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
1645
|
-
'> .ProseMirror-gapcursor:first-child + *, > style:first-child + .ProseMirror-gapcursor + *': {
|
|
1646
|
-
marginTop: 0
|
|
1647
|
-
},
|
|
1648
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
1649
|
-
'> .ProseMirror-gapcursor:first-child + span + *, > style:first-child + .ProseMirror-gapcursor + span + *': {
|
|
1650
|
-
marginTop: 0
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
}));
|
|
1654
1656
|
var rendererTableStyles = css(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT, " .").concat(TableSharedCssClassName.TABLE_CONTAINER), _defineProperty(_defineProperty(_defineProperty({
|
|
1655
1657
|
zIndex: 0,
|
|
1656
1658
|
transition: "all 0.1s linear",
|
|
@@ -2248,7 +2250,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
|
|
|
2248
2250
|
// this should be placed after baseOtherStyles
|
|
2249
2251
|
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,
|
|
2250
2252
|
// merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
|
|
2251
|
-
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) && fg('platform_editor_table_q4_patch_1') && roundedTableRemixBlockHighlightStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (fg('platform_editor_table_renderer_fix_2') ? tableContentModeScopedStyles : tableContentModeStyles), 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,
|
|
2253
|
+
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) && fg('platform_editor_table_q4_patch_1') && roundedTableRemixBlockHighlightStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (fg('platform_editor_table_renderer_fix_2') ? tableContentModeScopedStyles : tableContentModeStyles), 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],
|
|
2252
2254
|
"data-testid": testId
|
|
2253
2255
|
}, children);
|
|
2254
2256
|
};
|
|
@@ -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 = "
|
|
67
|
+
var packageVersion = "134.0.0";
|
|
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": "
|
|
3
|
+
"version": "134.0.1",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"@atlaskit/media-filmstrip": "^52.2.0",
|
|
60
60
|
"@atlaskit/media-ui": "^30.11.0",
|
|
61
61
|
"@atlaskit/media-viewer": "^54.5.0",
|
|
62
|
+
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
62
63
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
63
64
|
"@atlaskit/platform-feature-flags-react": "^1.1.0",
|
|
64
65
|
"@atlaskit/pragmatic-drag-and-drop": "^2.0.0",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"@atlaskit/status": "^5.8.0",
|
|
69
70
|
"@atlaskit/task-decision": "^21.8.0",
|
|
70
71
|
"@atlaskit/theme": "^26.1.0",
|
|
71
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
72
|
+
"@atlaskit/tmp-editor-statsig": "^138.0.0",
|
|
72
73
|
"@atlaskit/tokens": "^16.3.0",
|
|
73
74
|
"@atlaskit/tooltip": "^24.0.0",
|
|
74
75
|
"@atlaskit/visually-hidden": "^4.2.0",
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
"uuid": "^3.1.0"
|
|
84
85
|
},
|
|
85
86
|
"peerDependencies": {
|
|
86
|
-
"@atlaskit/editor-common": "^
|
|
87
|
+
"@atlaskit/editor-common": "^117.0.0",
|
|
87
88
|
"@atlaskit/link-provider": "^5.3.0",
|
|
88
89
|
"@atlaskit/media-core": "^38.0.0",
|
|
89
90
|
"react": "^18.2.0",
|
|
@@ -109,6 +110,7 @@
|
|
|
109
110
|
"@atlaskit/util-data-test": "^19.1.0",
|
|
110
111
|
"@atlassian/a11y-jest-testing": "^0.14.0",
|
|
111
112
|
"@atlassian/a11y-playwright-testing": "^0.10.0",
|
|
113
|
+
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
112
114
|
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
113
115
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
114
116
|
"@atlassian/testing-library": "^0.11.0",
|
|
@@ -175,9 +177,6 @@
|
|
|
175
177
|
"platform_renderer_sample_high_volume_events": {
|
|
176
178
|
"type": "boolean"
|
|
177
179
|
},
|
|
178
|
-
"platform_editor_nested_dnd_styles_changes": {
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
180
|
"platform_editor_table_q4_patch_1": {
|
|
182
181
|
"type": "boolean"
|
|
183
182
|
},
|