@atlaskit/renderer 137.2.6 → 137.3.0
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 +59 -0
- package/default/package.json +10 -0
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/cards.js +7 -0
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/media.js +7 -0
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/small-nodes.js +7 -0
- package/dist/cjs/entry-points/nodes-default.js +12 -0
- package/dist/cjs/entry-points/renderer-default.js +44 -0
- package/dist/cjs/react/marks/link.js +2 -2
- package/dist/cjs/react/nodes/extension.js +2 -2
- package/dist/cjs/react/nodes/layoutColumn.js +2 -2
- package/dist/cjs/react/nodes/nodes.js +104 -0
- package/dist/cjs/react/nodes/panel.js +2 -2
- package/dist/cjs/react/utils/EditorMediaClientProvider.js +5 -5
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +4 -1
- package/dist/cjs/ui/Renderer/index.js +5 -5
- package/dist/es2019/custom-nodes.js +6 -0
- package/dist/es2019/entry-points/custom-nodes-loosely-lazy.js +7 -0
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/cards.js +7 -0
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/media.js +7 -0
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/small-nodes.js +7 -0
- package/dist/es2019/entry-points/loosely-lazy.js +7 -0
- package/dist/es2019/entry-points/nodes-default.js +3 -0
- package/dist/es2019/entry-points/nodes.js +14 -1
- package/dist/es2019/entry-points/renderer-default.js +23 -0
- package/dist/es2019/entry-points/renderer.js +48 -1
- package/dist/es2019/index.js +21 -1
- package/dist/es2019/react/marks/link.js +2 -2
- package/dist/es2019/react/nodes/extension.js +2 -2
- package/dist/es2019/react/nodes/layoutColumn.js +2 -2
- package/dist/es2019/react/nodes/nodes.js +97 -0
- package/dist/es2019/react/nodes/panel.js +2 -2
- package/dist/es2019/react/utils/EditorMediaClientProvider.js +5 -5
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +9 -1
- package/dist/es2019/ui/Renderer/index.js +5 -5
- package/dist/esm/custom-nodes.js +6 -0
- package/dist/esm/entry-points/custom-nodes-loosely-lazy.js +7 -0
- package/dist/esm/entry-points/experimental-sync-custom-nodes/cards.js +7 -0
- package/dist/esm/entry-points/experimental-sync-custom-nodes/media.js +7 -0
- package/dist/esm/entry-points/experimental-sync-custom-nodes/small-nodes.js +7 -0
- package/dist/esm/entry-points/loosely-lazy.js +7 -0
- package/dist/esm/entry-points/nodes-default.js +3 -0
- package/dist/esm/entry-points/nodes.js +14 -1
- package/dist/esm/entry-points/renderer-default.js +25 -0
- package/dist/esm/entry-points/renderer.js +48 -1
- package/dist/esm/index.js +21 -1
- package/dist/esm/react/marks/link.js +2 -2
- package/dist/esm/react/nodes/extension.js +2 -2
- package/dist/esm/react/nodes/layoutColumn.js +2 -2
- package/dist/esm/react/nodes/nodes.js +97 -0
- package/dist/esm/react/nodes/panel.js +2 -2
- package/dist/esm/react/utils/EditorMediaClientProvider.js +5 -5
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +4 -1
- package/dist/esm/ui/Renderer/index.js +5 -5
- package/dist/types/custom-nodes.d.ts +5 -0
- package/dist/types/entry-points/custom-nodes-loosely-lazy.d.ts +5 -0
- package/dist/types/entry-points/experimental-sync-custom-nodes/cards.d.ts +5 -0
- package/dist/types/entry-points/experimental-sync-custom-nodes/media.d.ts +5 -0
- package/dist/types/entry-points/experimental-sync-custom-nodes/small-nodes.d.ts +5 -0
- package/dist/types/entry-points/loosely-lazy.d.ts +5 -0
- package/dist/types/entry-points/nodes-default.d.ts +2 -0
- package/dist/types/entry-points/nodes.d.ts +10 -0
- package/dist/types/entry-points/renderer-default.d.ts +6 -0
- package/dist/types/entry-points/renderer.d.ts +40 -1
- package/dist/types/index.d.ts +17 -1
- package/dist/types/react/nodes/nodes.d.ts +7 -0
- package/dist/types/ui/renderer-props.d.ts +4 -5
- package/nodes/default/package.json +10 -0
- package/package.json +7 -10
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { Fragment } from 'react';
|
|
3
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
3
4
|
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
4
5
|
import { getEventHandler } from '../../utils';
|
|
5
6
|
import { PLATFORM, MODE } from '../../analytics/events';
|
|
6
7
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
7
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
import AnalyticsContext from '@atlaskit/analytics-next/AnalyticsContext';
|
|
9
9
|
import { LinkUrlCompiled } from './link-compiled';
|
|
10
10
|
import { LinkUrlEmotion } from './link-emotion';
|
|
11
11
|
var LinkUrlMigration = componentWithCondition(function () {
|
|
12
|
-
return
|
|
12
|
+
return isExperimentEnabled('platform_editor_renderer_static_css');
|
|
13
13
|
}, LinkUrlCompiled, LinkUrlEmotion);
|
|
14
14
|
/**
|
|
15
15
|
* Render an ADF link mark in renderer.
|
|
@@ -161,7 +161,7 @@ export var renderExtension = function renderExtension(content, layout) {
|
|
|
161
161
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
162
162
|
,
|
|
163
163
|
className: "".concat(RendererCssClassName.EXTENSION_INNER_WRAPPER, " ").concat(overflowContainerClass),
|
|
164
|
-
css: [!(isInsideOfTable && isExperimentEnabled('platform_editor_table_fit_to_content_patch_1')) && !isInsideOfInlineExtension && fg('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
164
|
+
css: [!(isInsideOfTable && !isExperimentEnabled('platform_editor_table_fit_to_content_patch_2') && isExperimentEnabled('platform_editor_table_fit_to_content_patch_1')) && !isInsideOfInlineExtension && fg('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
165
165
|
}, asInlineAnalytics, content));
|
|
166
166
|
return centerAlignClass ? jsx("div", {
|
|
167
167
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -192,7 +192,7 @@ export var renderExtension = function renderExtension(content, layout) {
|
|
|
192
192
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
193
193
|
,
|
|
194
194
|
className: "".concat(RendererCssClassName.EXTENSION_INNER_WRAPPER, " ").concat(overflowContainerClass),
|
|
195
|
-
css: [!(isInsideOfTable && isExperimentEnabled('platform_editor_table_fit_to_content_patch_1')) && !isInsideOfInlineExtension && fg('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
195
|
+
css: [!(isInsideOfTable && !isExperimentEnabled('platform_editor_table_fit_to_content_patch_2') && isExperimentEnabled('platform_editor_table_fit_to_content_patch_1')) && !isInsideOfInlineExtension && fg('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
196
196
|
}, asInlineAnalytics, content));
|
|
197
197
|
return centerAlignClass ? jsx("div", {
|
|
198
198
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
2
3
|
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
3
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
4
|
import { LayoutSectionCompiled } from './layoutColumn-compiled';
|
|
5
5
|
import { LayoutSectionEmotion } from './layoutColumn-emotion';
|
|
6
6
|
var LayoutSectionMigration = componentWithCondition(function () {
|
|
7
|
-
return
|
|
7
|
+
return isExperimentEnabled('platform_editor_renderer_static_css');
|
|
8
8
|
}, LayoutSectionCompiled, LayoutSectionEmotion);
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
2
|
+
|
|
3
|
+
import { UnsupportedBlock, UnsupportedInline } from '@atlaskit/editor-common/ui';
|
|
4
|
+
import Expand from '../../ui/Expand';
|
|
5
|
+
import BlockCard from './blockCard';
|
|
6
|
+
import Blockquote from './blockquote';
|
|
7
|
+
import BodiedExtension from './bodiedExtension';
|
|
8
|
+
import BodiedSyncBlock from './bodiedSyncBlock';
|
|
9
|
+
import BulletList from './bulletList';
|
|
10
|
+
import Caption from './caption';
|
|
11
|
+
import CodeBlock from './codeBlock/codeBlock';
|
|
12
|
+
import WindowedCodeBlock from './codeBlock/windowedCodeBlock';
|
|
13
|
+
import DateNode from './date';
|
|
14
|
+
import DecisionItem from './decisionItem';
|
|
15
|
+
import DecisionList from './decisionList';
|
|
16
|
+
import Doc from './doc';
|
|
17
|
+
import EmbedCard from './embedCard';
|
|
18
|
+
import Emoji from './emoji';
|
|
19
|
+
import Extension from './extension';
|
|
20
|
+
import ExtensionFrame from './extensionFrame';
|
|
21
|
+
import HardBreak from './hardBreak';
|
|
22
|
+
import Heading from './heading';
|
|
23
|
+
import InlineCard from './inlineCard';
|
|
24
|
+
import InlineExtension from './inlineExtension';
|
|
25
|
+
import LayoutColumn from './layoutColumn';
|
|
26
|
+
import LayoutSection from './layoutSection';
|
|
27
|
+
import ListItem from './listItem';
|
|
28
|
+
import Media from './media';
|
|
29
|
+
import MediaGroup from './mediaGroup';
|
|
30
|
+
import MediaInline from './mediaInline';
|
|
31
|
+
import MediaSingle from './mediaSingle';
|
|
32
|
+
import Mention from './mention';
|
|
33
|
+
import MultiBodiedExtension from './multiBodiedExtension';
|
|
34
|
+
import OrderedList from './orderedList';
|
|
35
|
+
import Panel from './panel';
|
|
36
|
+
import Paragraph from './paragraph';
|
|
37
|
+
import Placeholder from './placeholder';
|
|
38
|
+
import Rule from './rule';
|
|
39
|
+
import Status from './status';
|
|
40
|
+
import SyncBlock from './syncBlock';
|
|
41
|
+
import Table from './table';
|
|
42
|
+
import { TableCell, TableHeader } from './tableCell';
|
|
43
|
+
import TableRow from './tableRow';
|
|
44
|
+
import TaskItem from './taskItem';
|
|
45
|
+
import TaskList from './taskList';
|
|
46
|
+
import UnknownBlock from './unknownBlock';
|
|
47
|
+
export var nodes = {
|
|
48
|
+
blockCard: BlockCard,
|
|
49
|
+
blockquote: Blockquote,
|
|
50
|
+
blockTaskItem: TaskItem,
|
|
51
|
+
bodiedExtension: BodiedExtension,
|
|
52
|
+
bodiedSyncBlock: BodiedSyncBlock,
|
|
53
|
+
bulletList: BulletList,
|
|
54
|
+
caption: Caption,
|
|
55
|
+
codeBlock: CodeBlock,
|
|
56
|
+
date: DateNode,
|
|
57
|
+
decisionItem: DecisionItem,
|
|
58
|
+
decisionList: DecisionList,
|
|
59
|
+
doc: Doc,
|
|
60
|
+
embedCard: EmbedCard,
|
|
61
|
+
emoji: Emoji,
|
|
62
|
+
expand: Expand,
|
|
63
|
+
extension: Extension,
|
|
64
|
+
extensionFrame: ExtensionFrame,
|
|
65
|
+
hardBreak: HardBreak,
|
|
66
|
+
heading: Heading,
|
|
67
|
+
inlineCard: InlineCard,
|
|
68
|
+
inlineExtension: InlineExtension,
|
|
69
|
+
layoutColumn: LayoutColumn,
|
|
70
|
+
layoutSection: LayoutSection,
|
|
71
|
+
listItem: ListItem,
|
|
72
|
+
media: Media,
|
|
73
|
+
mediaGroup: MediaGroup,
|
|
74
|
+
mediaInline: MediaInline,
|
|
75
|
+
mediaSingle: MediaSingle,
|
|
76
|
+
mention: Mention,
|
|
77
|
+
multiBodiedExtension: MultiBodiedExtension,
|
|
78
|
+
nestedExpand: Expand,
|
|
79
|
+
orderedList: OrderedList,
|
|
80
|
+
panel: Panel,
|
|
81
|
+
panel_c1: Panel,
|
|
82
|
+
paragraph: Paragraph,
|
|
83
|
+
placeholder: Placeholder,
|
|
84
|
+
rule: Rule,
|
|
85
|
+
status: Status,
|
|
86
|
+
syncBlock: SyncBlock,
|
|
87
|
+
table: Table,
|
|
88
|
+
tableCell: TableCell,
|
|
89
|
+
tableHeader: TableHeader,
|
|
90
|
+
tableRow: TableRow,
|
|
91
|
+
taskItem: TaskItem,
|
|
92
|
+
taskList: TaskList,
|
|
93
|
+
unknownBlock: UnknownBlock,
|
|
94
|
+
unsupportedBlock: UnsupportedBlock,
|
|
95
|
+
unsupportedInline: UnsupportedInline,
|
|
96
|
+
windowedCodeBlock: WindowedCodeBlock
|
|
97
|
+
};
|
|
@@ -4,8 +4,8 @@ import { PanelInfoIcon, PanelSuccessIcon, PanelNoteIcon, PanelWarningIcon, Panel
|
|
|
4
4
|
import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
|
|
5
5
|
import EmojiIcon from '@atlaskit/icon/core/emoji';
|
|
6
6
|
import TipIcon from '@atlaskit/icon/core/lightbulb';
|
|
7
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
7
8
|
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
9
|
import EmojiItem from './emoji';
|
|
10
10
|
import { PanelStyledCompiled } from './panel-compiled';
|
|
11
11
|
import { PanelStyledEmotion } from './panel-emotion';
|
|
@@ -19,7 +19,7 @@ var panelIcons = {
|
|
|
19
19
|
custom: EmojiIcon
|
|
20
20
|
};
|
|
21
21
|
var PanelStyledMigration = componentWithCondition(function () {
|
|
22
|
-
return
|
|
22
|
+
return isExperimentEnabled('platform_editor_renderer_static_css');
|
|
23
23
|
}, PanelStyledCompiled, PanelStyledEmotion);
|
|
24
24
|
var Panel = function Panel(props) {
|
|
25
25
|
var allowCustomPanels = props.allowCustomPanels,
|
|
@@ -3,8 +3,8 @@ import React, { useContext, useEffect, useLayoutEffect, useMemo, useState } from
|
|
|
3
3
|
import { MediaClientContext } from '@atlaskit/media-client-react/media-client-provider';
|
|
4
4
|
import { getMediaClient } from '@atlaskit/media-client-react/get-media-client';
|
|
5
5
|
import { useProviderFactory, useProviderLayout } from '@atlaskit/editor-common/provider-factory';
|
|
6
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
6
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
var getMediaClientConfigForRenderer = function getMediaClientConfigForRenderer(provider) {
|
|
9
9
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
10
10
|
return provider.viewAndUploadMediaClientConfig && fg('platform_media_video_captions') ? provider.viewAndUploadMediaClientConfig : provider.viewMediaClientConfig;
|
|
@@ -13,7 +13,7 @@ export var EditorMediaClientProvider = function EditorMediaClientProvider(_ref)
|
|
|
13
13
|
var children = _ref.children,
|
|
14
14
|
ssr = _ref.ssr;
|
|
15
15
|
var _useState = useState(function () {
|
|
16
|
-
return
|
|
16
|
+
return isExperimentEnabled('platform_editor_media_reliability_enhancements') ? ssr === null || ssr === void 0 ? void 0 : ssr.config : undefined;
|
|
17
17
|
}),
|
|
18
18
|
_useState2 = _slicedToArray(_useState, 2),
|
|
19
19
|
mediaClientConfig = _useState2[0],
|
|
@@ -35,7 +35,7 @@ export var EditorMediaClientProvider = function EditorMediaClientProvider(_ref)
|
|
|
35
35
|
*
|
|
36
36
|
* hasProvider() is synchronous and correct from render 1, closing that window.
|
|
37
37
|
*/
|
|
38
|
-
var shouldSkipContext =
|
|
38
|
+
var shouldSkipContext = isExperimentEnabled('platform_editor_media_reliability_enhancements') ? Boolean((ssr === null || ssr === void 0 ? void 0 : ssr.config) || providerFactory.hasProvider('mediaProvider') || mediaProvider) : Boolean((ssr === null || ssr === void 0 ? void 0 : ssr.config) || mediaProvider);
|
|
39
39
|
var contextMediaClient = useContext(MediaClientContext);
|
|
40
40
|
|
|
41
41
|
// MediaClientProvider currently requires a mediaClientConfig
|
|
@@ -61,7 +61,7 @@ export var EditorMediaClientProvider = function EditorMediaClientProvider(_ref)
|
|
|
61
61
|
// The two hooks below are mutually exclusive — only one runs per render — so there is no
|
|
62
62
|
// actual chaining of state updates at runtime. The lint rule cannot statically prove this.
|
|
63
63
|
useEffect(function () {
|
|
64
|
-
if (!
|
|
64
|
+
if (!isExperimentEnabled('platform_editor_media_reliability_enhancements')) {
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
if (ssr !== null && ssr !== void 0 && ssr.config) {
|
|
@@ -87,7 +87,7 @@ export var EditorMediaClientProvider = function EditorMediaClientProvider(_ref)
|
|
|
87
87
|
// Legacy path (experiment off): keep useLayoutEffect to preserve existing behaviour.
|
|
88
88
|
// remove this when clean up platform_editor_media_reliability_enhancements
|
|
89
89
|
useLayoutEffect(function () {
|
|
90
|
-
if (
|
|
90
|
+
if (isExperimentEnabled('platform_editor_media_reliability_enhancements')) {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
93
|
if (ssr !== null && ssr !== void 0 && ssr.config) {
|
|
@@ -1667,6 +1667,9 @@ var tableContentModeScopedStyles = css(_defineProperty(_defineProperty({}, ".".c
|
|
|
1667
1667
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
1668
1668
|
width: 'unset !important'
|
|
1669
1669
|
}));
|
|
1670
|
+
var tableContentModeExtensionContainmentStyles = css(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT, " table[data-initial-width-mode=\"content\"] .").concat(RendererCssClassName.EXTENSION_INNER_WRAPPER), {
|
|
1671
|
+
containerType: 'normal'
|
|
1672
|
+
}));
|
|
1670
1673
|
var tableContentModeNestedTableStyles = css(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT, " table[data-initial-width-mode=\"content\"] > tbody > tr > :is(th, td) .").concat(TableSharedCssClassName.TABLE_CONTAINER, " > table,\n\t\t.").concat(RendererCssClassName.DOCUMENT, " table[data-initial-width-mode=\"content\"] > tbody > tr > :is(th, td) .").concat(TableSharedCssClassName.TABLE_CONTAINER, " > .").concat(TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table,\n\t\t.").concat(RendererCssClassName.DOCUMENT, " table[data-initial-width-mode=\"content\"] > tbody > tr > :is(th, td) .").concat(TableSharedCssClassName.TABLE_CONTAINER, " > .").concat(TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), {
|
|
1671
1674
|
width: 'max-content !important',
|
|
1672
1675
|
maxWidth: '100%'
|
|
@@ -2301,7 +2304,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
|
|
|
2301
2304
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
2302
2305
|
fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStylesCommentHeightFix, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? baseOtherStyles : baseOtherStylesDuplicateAnchor,
|
|
2303
2306
|
// this should be placed after baseOtherStyles
|
|
2304
|
-
expValEquals('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && (expValEquals('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), forgeInlineBodiedSpacingStyle, inlineExtensionRendererMarginFix, allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle, 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) && 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, syncBlockStyles, centerWrapperStyles, isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && tableFakeBorderStyles, isInsideSyncBlock && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
|
|
2307
|
+
expValEquals('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && (expValEquals('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), forgeInlineBodiedSpacingStyle, inlineExtensionRendererMarginFix, allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle, 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) && isExperimentEnabled('platform_editor_table_fit_to_content_patch_2') && tableContentModeExtensionContainmentStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && 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, syncBlockStyles, centerWrapperStyles, isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && tableFakeBorderStyles, isInsideSyncBlock && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
|
|
2305
2308
|
"data-testid": testId
|
|
2306
2309
|
}, children);
|
|
2307
2310
|
};
|
|
@@ -65,7 +65,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
65
65
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
66
66
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
67
67
|
var packageName = "@atlaskit/renderer";
|
|
68
|
-
var packageVersion = "137.2.
|
|
68
|
+
var packageVersion = "137.2.8";
|
|
69
69
|
var setAsQueryContainerStyles = css({
|
|
70
70
|
containerName: 'ak-renderer-wrapper',
|
|
71
71
|
containerType: 'inline-size'
|
|
@@ -342,13 +342,13 @@ export var RendererFunctionalComponent = function RendererFunctionalComponent(pr
|
|
|
342
342
|
var heightWidthAnalyticsRicID;
|
|
343
343
|
var heightWidthAnalyticsRafID;
|
|
344
344
|
var handleAnalytics = function handleAnalytics() {
|
|
345
|
-
if (
|
|
345
|
+
if (Math.random() < RENDER_EVENT_SAMPLE_RATE) {
|
|
346
346
|
_fireAnalyticsEvent({
|
|
347
347
|
action: ACTION.STARTED,
|
|
348
348
|
actionSubject: ACTION_SUBJECT.RENDERER,
|
|
349
349
|
attributes: {
|
|
350
350
|
platform: PLATFORM.WEB,
|
|
351
|
-
sampleRate:
|
|
351
|
+
sampleRate: RENDER_EVENT_SAMPLE_RATE
|
|
352
352
|
},
|
|
353
353
|
eventType: EVENT_TYPE.UI
|
|
354
354
|
});
|
|
@@ -390,11 +390,11 @@ export var RendererFunctionalComponent = function RendererFunctionalComponent(pr
|
|
|
390
390
|
nodes: nodes,
|
|
391
391
|
nestedRendererType: nestedRendererType,
|
|
392
392
|
severity: severity,
|
|
393
|
-
sampleRate:
|
|
393
|
+
sampleRate: RENDER_EVENT_SAMPLE_RATE
|
|
394
394
|
},
|
|
395
395
|
eventType: EVENT_TYPE.OPERATIONAL
|
|
396
396
|
};
|
|
397
|
-
if (
|
|
397
|
+
if (Math.random() < RENDER_EVENT_SAMPLE_RATE) {
|
|
398
398
|
_fireAnalyticsEvent(event);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
3
|
+
* This entry point will be removed in January 2027.
|
|
4
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
5
|
+
*/
|
|
1
6
|
export { nodeToReact as defaultNodeComponentsWithLooselyLazy } from './react/nodes/loosely-lazy';
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
3
|
+
* This entry point will be removed in January 2027.
|
|
4
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
5
|
+
*/
|
|
1
6
|
export { nodeToReact as defaultNodeComponentsWithLooselyLazy } from '../react/nodes/loosely-lazy';
|
|
@@ -6,4 +6,9 @@
|
|
|
6
6
|
* Context: https://hello.atlassian.net/wiki/spaces/JIE/pages/5342146338 (Atlassian-internal)
|
|
7
7
|
*/
|
|
8
8
|
declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
11
|
+
* This entry point will be removed in January 2027.
|
|
12
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
13
|
+
*/
|
|
9
14
|
export default nodeToReact;
|
|
@@ -6,4 +6,9 @@
|
|
|
6
6
|
* Context: https://hello.atlassian.net/wiki/spaces/JIE/pages/5342146338 (Atlassian-internal)
|
|
7
7
|
*/
|
|
8
8
|
declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
11
|
+
* This entry point will be removed in January 2027.
|
|
12
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
13
|
+
*/
|
|
9
14
|
export default nodeToReact;
|
|
@@ -6,4 +6,9 @@
|
|
|
6
6
|
* Context: https://hello.atlassian.net/wiki/spaces/JIE/pages/5342146338 (Atlassian-internal)
|
|
7
7
|
*/
|
|
8
8
|
declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
11
|
+
* This entry point will be removed in January 2027.
|
|
12
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
13
|
+
*/
|
|
9
14
|
export default nodeToReact;
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
3
|
+
* This entry point will be removed in January 2027.
|
|
4
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
5
|
+
*/
|
|
1
6
|
export { nodeToReact } from '../react/nodes/loosely-lazy';
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
3
|
+
* This entry point will be removed in January 2027.
|
|
4
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
5
|
+
*/
|
|
1
6
|
export { BlockCard, Blockquote, BodiedExtension, BulletList, Caption, CodeBlock, Date, DecisionItem, DecisionList, Doc, DocWithSelectAllTrap, EmbedCard, Emoji, Expand, Extension, ExtensionFrame, HardBreak, Heading, InlineCard, InlineExtension, LayoutColumn, LayoutSection, ListItem, Media, MediaGroup, MediaInline, MediaSingle, Mention, MultiBodiedExtension, OrderedList, Panel, Paragraph, Placeholder, Rule, Status, Table, TableCell, TableRow, TaskItem, TaskList, UnknownBlock, WindowedCodeBlock, isEmojiDoc, isText, isTextNode, isTextWrapper, mergeTextNodes, nodeToReact, toReact, } from '../react/nodes/index';
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated This entry point is deprecated. Use `nodes` from `@atlaskit/renderer/nodes/default` for default renderer nodes.
|
|
9
|
+
* This entry point will be removed in January 2027.
|
|
10
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
11
|
+
*/
|
|
2
12
|
export type { TextWrapper } from '../react/nodes/index';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import RenderLegacy, { RendererFunctionalComponent as RendererFunctionalComponentLegacy } from '../ui/Renderer/index';
|
|
2
|
+
export { DEGRADED_SEVERITY_THRESHOLD, NORMAL_SEVERITY_THRESHOLD } from '../ui/Renderer/index';
|
|
3
|
+
export type { RendererWrapperProps } from '../ui/Renderer/index';
|
|
4
|
+
export declare const Renderer: typeof RenderLegacy;
|
|
5
|
+
export declare const RendererFunctionalComponent: typeof RendererFunctionalComponentLegacy;
|
|
6
|
+
export declare const RendererWithAnalytics: typeof RenderLegacy;
|
|
@@ -1,3 +1,42 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `DEGRADED_SEVERITY_THRESHOLD` from `@atlaskit/renderer/default` instead.
|
|
3
|
+
* This export will be removed in January 2027.
|
|
4
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
5
|
+
*/
|
|
6
|
+
export { DEGRADED_SEVERITY_THRESHOLD } from '../ui/Renderer/index';
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use `NORMAL_SEVERITY_THRESHOLD` from `@atlaskit/renderer/default` instead.
|
|
9
|
+
* This export will be removed in January 2027.
|
|
10
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
11
|
+
*/
|
|
12
|
+
export { NORMAL_SEVERITY_THRESHOLD } from '../ui/Renderer/index';
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
|
|
15
|
+
* This export will be removed in January 2027.
|
|
16
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
17
|
+
*/
|
|
18
|
+
export { Renderer } from '../ui/Renderer/index';
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Use `RendererFunctionalComponent` from `@atlaskit/renderer/default` instead.
|
|
21
|
+
* This export will be removed in January 2027.
|
|
22
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
23
|
+
*/
|
|
24
|
+
export { RendererFunctionalComponent } from '../ui/Renderer/index';
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use `RendererWithAnalytics` from `@atlaskit/renderer/default` instead.
|
|
27
|
+
* This export will be removed in January 2027.
|
|
28
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
29
|
+
*/
|
|
30
|
+
export { RendererWithAnalytics } from '../ui/Renderer/index';
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated Use `RendererWrapperProps` from `@atlaskit/renderer/default` instead.
|
|
33
|
+
* This export will be removed in January 2027.
|
|
34
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
35
|
+
*/
|
|
2
36
|
export type { RendererWrapperProps } from '../ui/Renderer/index';
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
|
|
39
|
+
* This export will be removed in January 2027.
|
|
40
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
41
|
+
*/
|
|
3
42
|
export { default } from '../ui/Renderer/index';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
export { default as ReactSerializer, type ReactSerializerInit } from './react';
|
|
2
2
|
export { default as TextSerializer } from './text';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
|
|
5
|
+
* This export will be removed in January 2027.
|
|
6
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
7
|
+
*/
|
|
8
|
+
export { default as ReactRenderer } from './ui/Renderer';
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `RendererWithAnalytics` from `@atlaskit/renderer/default` instead.
|
|
11
|
+
* This export will be removed in January 2027.
|
|
12
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
13
|
+
*/
|
|
14
|
+
export { RendererWithAnalytics } from './ui/Renderer';
|
|
4
15
|
export { InlineNodeRendererWrapper } from './ui/ExtensionRenderer';
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
18
|
+
* This export will be removed in January 2027.
|
|
19
|
+
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
20
|
+
*/
|
|
5
21
|
export { nodeToReact as defaultNodeComponents } from './react/nodes';
|
|
6
22
|
export { AnnotationsWrapper } from './ui/annotations';
|
|
7
23
|
export { ValidationContextProvider } from './ui/Renderer/ValidationContext';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export type NodeNames = 'blockCard' | 'blockquote' | 'blockTaskItem' | 'bodiedExtension' | 'bodiedSyncBlock' | 'bulletList' | 'caption' | 'codeBlock' | 'date' | 'decisionItem' | 'decisionList' | 'doc' | 'embedCard' | 'emoji' | 'expand' | 'extension' | 'extensionFrame' | 'hardBreak' | 'heading' | 'inlineCard' | 'inlineExtension' | 'layoutColumn' | 'layoutSection' | 'listItem' | 'media' | 'mediaGroup' | 'mediaInline' | 'mediaSingle' | 'mention' | 'multiBodiedExtension' | 'nestedExpand' | 'orderedList' | 'panel' | 'panel_c1' | 'paragraph' | 'placeholder' | 'rule' | 'status' | 'syncBlock' | 'table' | 'tableCell' | 'tableHeader' | 'tableRow' | 'taskItem' | 'taskList' | 'unknownBlock' | 'unsupportedBlock' | 'unsupportedInline' | 'windowedCodeBlock';
|
|
3
|
+
type Nodes = {
|
|
4
|
+
[key in NodeNames]: React.ComponentType<React.PropsWithChildren<any>>;
|
|
5
|
+
};
|
|
6
|
+
export declare const nodes: Nodes;
|
|
7
|
+
export {};
|
|
@@ -180,11 +180,10 @@ export interface RendererProps {
|
|
|
180
180
|
* Called when the renderer completes a render pass — on the animation frame following
|
|
181
181
|
* mount (i.e. after paint), exposing basic information about the render.
|
|
182
182
|
*
|
|
183
|
-
* Unlike the `renderer` `rendered` analytics event, which
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
* UFO load hold — rather than depending on the sampled analytics event.
|
|
183
|
+
* Unlike the `renderer` `rendered` analytics event, which is sampled and therefore only
|
|
184
|
+
* fires for a fraction of renders, this callback ALWAYS fires on every render pass
|
|
185
|
+
* regardless of analytics sampling. Use it for reliable lifecycle signals — for example
|
|
186
|
+
* releasing a UFO load hold — rather than depending on the sampled analytics event.
|
|
188
187
|
*
|
|
189
188
|
* @param info - Basic information about the completed render.
|
|
190
189
|
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/renderer/nodes/default",
|
|
3
|
+
"main": "../../dist/cjs/entry-points/nodes-default.js",
|
|
4
|
+
"module": "../../dist/esm/entry-points/nodes-default.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/entry-points/nodes-default.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/entry-points/nodes-default.d.ts"
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "137.
|
|
3
|
+
"version": "137.3.0",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@atlaskit/adf-schema": "^57.
|
|
34
|
-
"@atlaskit/adf-utils": "^20.
|
|
33
|
+
"@atlaskit/adf-schema": "^57.3.0",
|
|
34
|
+
"@atlaskit/adf-utils": "^20.9.0",
|
|
35
35
|
"@atlaskit/afm-i18n-platform-editor-renderer": "2.200.0",
|
|
36
36
|
"@atlaskit/analytics-listeners": "^11.3.0",
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^8.2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
51
51
|
"@atlaskit/icon": "^37.6.0",
|
|
52
52
|
"@atlaskit/link": "^5.1.0",
|
|
53
|
-
"@atlaskit/link-datasource": "^6.
|
|
53
|
+
"@atlaskit/link-datasource": "^6.11.0",
|
|
54
54
|
"@atlaskit/link-extractors": "^4.2.0",
|
|
55
55
|
"@atlaskit/linking-common": "^12.1.0",
|
|
56
56
|
"@atlaskit/media-card": "^81.9.0",
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
67
67
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
68
68
|
"@atlaskit/react-ufo": "^7.8.0",
|
|
69
|
-
"@atlaskit/smart-card": "^45.
|
|
69
|
+
"@atlaskit/smart-card": "^45.20.0",
|
|
70
70
|
"@atlaskit/status": "^5.9.0",
|
|
71
71
|
"@atlaskit/task-decision": "^21.9.0",
|
|
72
72
|
"@atlaskit/theme": "^28.2.0",
|
|
73
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
73
|
+
"@atlaskit/tmp-editor-statsig": "^174.0.0",
|
|
74
74
|
"@atlaskit/tokens": "^16.11.0",
|
|
75
75
|
"@atlaskit/tooltip": "^24.3.0",
|
|
76
76
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"uuid": "^3.1.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@atlaskit/editor-common": "^120.
|
|
88
|
+
"@atlaskit/editor-common": "^120.13.0",
|
|
89
89
|
"@atlaskit/link-provider": "^5.5.0",
|
|
90
90
|
"@atlaskit/media-core": "^38.2.0",
|
|
91
91
|
"react": "^18.2.0",
|
|
@@ -168,9 +168,6 @@
|
|
|
168
168
|
"platform_editor_content_mode_button_mvp": {
|
|
169
169
|
"type": "boolean"
|
|
170
170
|
},
|
|
171
|
-
"platform_renderer_sample_high_volume_events": {
|
|
172
|
-
"type": "boolean"
|
|
173
|
-
},
|
|
174
171
|
"platform_editor_comments_api_manager": {
|
|
175
172
|
"type": "boolean"
|
|
176
173
|
},
|