@atlaskit/renderer 137.2.5 → 137.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/cjs/actions/index.js +2 -2
- package/dist/cjs/react/marks/alignment.js +2 -2
- package/dist/cjs/react/marks/annotation.js +2 -2
- package/dist/cjs/react/marks/backgroundColor.js +2 -2
- package/dist/cjs/react/marks/link.js +2 -2
- package/dist/cjs/react/marks/textColor.js +2 -2
- package/dist/cjs/react/nodes/bulletList.js +2 -2
- package/dist/cjs/react/nodes/fallback.js +2 -2
- package/dist/cjs/react/nodes/layoutColumn.js +2 -2
- package/dist/cjs/react/nodes/media/index.js +4 -4
- package/dist/cjs/react/nodes/orderedList.js +2 -2
- package/dist/cjs/react/nodes/panel-compiled.js +2 -2
- package/dist/cjs/react/nodes/panel-emotion.js +2 -2
- package/dist/cjs/react/nodes/panel.js +9 -9
- package/dist/cjs/react/nodes/tableCell.js +2 -2
- package/dist/cjs/react/utils/EditorMediaClientProvider.js +5 -5
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +3 -2
- package/dist/cjs/ui/Renderer/index.js +5 -5
- package/dist/cjs/ui/annotations/contexts/AnnotationManagerContext.js +8 -8
- package/dist/cjs/ui/annotations/element/index.js +2 -2
- package/dist/cjs/ui/annotations/element/mark.js +8 -8
- package/dist/cjs/ui/annotations/hooks/use-events.js +3 -3
- package/dist/cjs/ui/annotations/hover/mounter.js +3 -3
- package/dist/cjs/ui/annotations/index.js +2 -2
- package/dist/cjs/ui/annotations/selection/mounter.js +4 -4
- package/dist/es2019/actions/index.js +1 -1
- package/dist/es2019/react/marks/alignment.js +1 -1
- package/dist/es2019/react/marks/annotation.js +1 -1
- package/dist/es2019/react/marks/backgroundColor.js +1 -1
- package/dist/es2019/react/marks/link.js +2 -2
- package/dist/es2019/react/marks/textColor.js +1 -1
- package/dist/es2019/react/nodes/bulletList.js +1 -1
- package/dist/es2019/react/nodes/fallback.js +1 -1
- package/dist/es2019/react/nodes/layoutColumn.js +2 -2
- package/dist/es2019/react/nodes/media/index.js +1 -1
- package/dist/es2019/react/nodes/orderedList.js +1 -1
- package/dist/es2019/react/nodes/panel-compiled.js +1 -1
- package/dist/es2019/react/nodes/panel-emotion.js +1 -1
- package/dist/es2019/react/nodes/panel.js +3 -3
- package/dist/es2019/react/nodes/tableCell.js +1 -1
- package/dist/es2019/react/utils/EditorMediaClientProvider.js +5 -5
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +2 -1
- package/dist/es2019/ui/Renderer/index.js +5 -5
- package/dist/es2019/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
- package/dist/es2019/ui/annotations/element/index.js +1 -1
- package/dist/es2019/ui/annotations/element/mark.js +1 -1
- package/dist/es2019/ui/annotations/hooks/use-events.js +1 -1
- package/dist/es2019/ui/annotations/hover/mounter.js +1 -1
- package/dist/es2019/ui/annotations/index.js +1 -1
- package/dist/es2019/ui/annotations/selection/mounter.js +1 -1
- package/dist/esm/actions/index.js +1 -1
- package/dist/esm/react/marks/alignment.js +1 -1
- package/dist/esm/react/marks/annotation.js +1 -1
- package/dist/esm/react/marks/backgroundColor.js +1 -1
- package/dist/esm/react/marks/link.js +2 -2
- package/dist/esm/react/marks/textColor.js +1 -1
- package/dist/esm/react/nodes/bulletList.js +1 -1
- package/dist/esm/react/nodes/fallback.js +1 -1
- package/dist/esm/react/nodes/layoutColumn.js +2 -2
- package/dist/esm/react/nodes/media/index.js +1 -1
- package/dist/esm/react/nodes/orderedList.js +1 -1
- package/dist/esm/react/nodes/panel-compiled.js +1 -1
- package/dist/esm/react/nodes/panel-emotion.js +1 -1
- package/dist/esm/react/nodes/panel.js +3 -3
- package/dist/esm/react/nodes/tableCell.js +1 -1
- package/dist/esm/react/utils/EditorMediaClientProvider.js +5 -5
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +2 -1
- package/dist/esm/ui/Renderer/index.js +5 -5
- package/dist/esm/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
- package/dist/esm/ui/annotations/element/index.js +1 -1
- package/dist/esm/ui/annotations/element/mark.js +1 -1
- package/dist/esm/ui/annotations/hooks/use-events.js +1 -1
- package/dist/esm/ui/annotations/hover/mounter.js +1 -1
- package/dist/esm/ui/annotations/index.js +1 -1
- package/dist/esm/ui/annotations/selection/mounter.js +1 -1
- package/dist/types/actions/index.d.ts +1 -1
- package/dist/types/react/marks/alignment.d.ts +1 -1
- package/dist/types/react/marks/backgroundColor.d.ts +1 -1
- package/dist/types/react/marks/border.d.ts +1 -1
- package/dist/types/react/marks/breakout.d.ts +1 -1
- package/dist/types/react/marks/data-consumer.d.ts +1 -1
- package/dist/types/react/marks/fontSize.d.ts +1 -1
- package/dist/types/react/marks/fragment.d.ts +1 -1
- package/dist/types/react/marks/indentation.d.ts +1 -1
- package/dist/types/react/marks/link.d.ts +1 -1
- package/dist/types/react/marks/subsup.d.ts +1 -1
- package/dist/types/react/marks/textColor.d.ts +1 -1
- package/dist/types/react/nodes/blockCard.d.ts +1 -1
- package/dist/types/react/nodes/bodiedExtension.d.ts +1 -1
- package/dist/types/react/nodes/embedCard.d.ts +1 -1
- package/dist/types/react/nodes/emoji.d.ts +1 -1
- package/dist/types/react/nodes/extension.d.ts +1 -1
- package/dist/types/react/nodes/extensionFrame.d.ts +1 -1
- package/dist/types/react/nodes/index.d.ts +2 -1
- package/dist/types/react/nodes/layoutColumn-compiled.d.ts +1 -1
- package/dist/types/react/nodes/layoutColumn-emotion.d.ts +1 -1
- package/dist/types/react/nodes/layoutColumn.d.ts +1 -1
- package/dist/types/react/nodes/media/index.d.ts +4 -1
- package/dist/types/react/nodes/mediaSingle/index.d.ts +1 -1
- package/dist/types/react/nodes/mention.d.ts +1 -1
- package/dist/types/react/nodes/multiBodiedExtension.d.ts +1 -1
- package/dist/types/react/nodes/panel-compiled.d.ts +1 -1
- package/dist/types/react/nodes/panel-emotion.d.ts +1 -1
- package/dist/types/react/nodes/panel.d.ts +1 -1
- package/dist/types/react/nodes/table/sticky.d.ts +1 -1
- package/dist/types/react/nodes/table/types.d.ts +1 -1
- package/dist/types/react/nodes/tableCell.d.ts +1 -1
- package/dist/types/react/types.d.ts +1 -1
- package/dist/types/ui/ExtensionRenderer.d.ts +1 -1
- package/dist/types/ui/MediaCard.d.ts +1 -1
- package/dist/types/ui/annotations/context.d.ts +1 -1
- package/dist/types/ui/annotations/contexts/AnnotationManagerContext.d.ts +2 -2
- package/dist/types/ui/annotations/element/index.d.ts +1 -1
- package/dist/types/ui/annotations/element/mark.d.ts +2 -2
- package/dist/types/ui/annotations/hooks/use-events.d.ts +2 -2
- package/dist/types/ui/annotations/hooks/use-inline-comments-filter.d.ts +1 -1
- package/dist/types/ui/hooks/useScrollToBlock.d.ts +1 -1
- package/dist/types/ui/renderer-props.d.ts +5 -6
- package/package.json +5 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AnnotationId, AnnotationDataAttributes, AnnotationTypes } from '@atlaskit/adf-schema';
|
|
2
|
+
import type { AnnotationId, AnnotationDataAttributes, AnnotationTypes } from '@atlaskit/adf-schema/annotation';
|
|
3
3
|
type MarkElementProps = React.PropsWithChildren<{
|
|
4
4
|
annotationParentIds: AnnotationId[];
|
|
5
5
|
annotationType: AnnotationTypes;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import type React from 'react';
|
|
6
6
|
import { type SerializedStyles } from '@emotion/react';
|
|
7
7
|
import type { OnAnnotationClickPayload } from '@atlaskit/editor-common/types';
|
|
8
|
-
import type { AnnotationId, AnnotationDataAttributes, AnnotationTypes } from '@atlaskit/adf-schema';
|
|
9
|
-
import { AnnotationMarkStates } from '@atlaskit/adf-schema';
|
|
8
|
+
import type { AnnotationId, AnnotationDataAttributes, AnnotationTypes } from '@atlaskit/adf-schema/annotation';
|
|
9
|
+
import { AnnotationMarkStates } from '@atlaskit/adf-schema/annotation';
|
|
10
10
|
type MarkComponentProps = {
|
|
11
11
|
annotationParentIds: AnnotationId[];
|
|
12
12
|
dataAttributes: AnnotationDataAttributes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InlineCommentViewComponentProps, AnnotationUpdateEmitter } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { AnnotationMarkStates, AnnotationId } from '@atlaskit/adf-schema';
|
|
3
|
-
import { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
2
|
+
import type { AnnotationMarkStates, AnnotationId } from '@atlaskit/adf-schema/annotation';
|
|
3
|
+
import { AnnotationTypes } from '@atlaskit/adf-schema/annotation';
|
|
4
4
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
5
5
|
type ListenEventProps = {
|
|
6
6
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DocNode } from '@atlaskit/adf-schema';
|
|
1
|
+
import type { DocNode } from '@atlaskit/adf-schema/doc';
|
|
2
2
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
3
|
import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
|
|
4
4
|
import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility';
|
|
@@ -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
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "137.2.
|
|
3
|
+
"version": "137.2.7",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -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.10.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",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
66
66
|
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
67
67
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
68
|
-
"@atlaskit/react-ufo": "^7.
|
|
68
|
+
"@atlaskit/react-ufo": "^7.8.0",
|
|
69
69
|
"@atlaskit/smart-card": "^45.19.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.12.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
|
},
|