@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.
Files changed (120) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/actions/index.js +2 -2
  3. package/dist/cjs/react/marks/alignment.js +2 -2
  4. package/dist/cjs/react/marks/annotation.js +2 -2
  5. package/dist/cjs/react/marks/backgroundColor.js +2 -2
  6. package/dist/cjs/react/marks/link.js +2 -2
  7. package/dist/cjs/react/marks/textColor.js +2 -2
  8. package/dist/cjs/react/nodes/bulletList.js +2 -2
  9. package/dist/cjs/react/nodes/fallback.js +2 -2
  10. package/dist/cjs/react/nodes/layoutColumn.js +2 -2
  11. package/dist/cjs/react/nodes/media/index.js +4 -4
  12. package/dist/cjs/react/nodes/orderedList.js +2 -2
  13. package/dist/cjs/react/nodes/panel-compiled.js +2 -2
  14. package/dist/cjs/react/nodes/panel-emotion.js +2 -2
  15. package/dist/cjs/react/nodes/panel.js +9 -9
  16. package/dist/cjs/react/nodes/tableCell.js +2 -2
  17. package/dist/cjs/react/utils/EditorMediaClientProvider.js +5 -5
  18. package/dist/cjs/ui/Renderer/RendererStyleContainer.js +3 -2
  19. package/dist/cjs/ui/Renderer/index.js +5 -5
  20. package/dist/cjs/ui/annotations/contexts/AnnotationManagerContext.js +8 -8
  21. package/dist/cjs/ui/annotations/element/index.js +2 -2
  22. package/dist/cjs/ui/annotations/element/mark.js +8 -8
  23. package/dist/cjs/ui/annotations/hooks/use-events.js +3 -3
  24. package/dist/cjs/ui/annotations/hover/mounter.js +3 -3
  25. package/dist/cjs/ui/annotations/index.js +2 -2
  26. package/dist/cjs/ui/annotations/selection/mounter.js +4 -4
  27. package/dist/es2019/actions/index.js +1 -1
  28. package/dist/es2019/react/marks/alignment.js +1 -1
  29. package/dist/es2019/react/marks/annotation.js +1 -1
  30. package/dist/es2019/react/marks/backgroundColor.js +1 -1
  31. package/dist/es2019/react/marks/link.js +2 -2
  32. package/dist/es2019/react/marks/textColor.js +1 -1
  33. package/dist/es2019/react/nodes/bulletList.js +1 -1
  34. package/dist/es2019/react/nodes/fallback.js +1 -1
  35. package/dist/es2019/react/nodes/layoutColumn.js +2 -2
  36. package/dist/es2019/react/nodes/media/index.js +1 -1
  37. package/dist/es2019/react/nodes/orderedList.js +1 -1
  38. package/dist/es2019/react/nodes/panel-compiled.js +1 -1
  39. package/dist/es2019/react/nodes/panel-emotion.js +1 -1
  40. package/dist/es2019/react/nodes/panel.js +3 -3
  41. package/dist/es2019/react/nodes/tableCell.js +1 -1
  42. package/dist/es2019/react/utils/EditorMediaClientProvider.js +5 -5
  43. package/dist/es2019/ui/Renderer/RendererStyleContainer.js +2 -1
  44. package/dist/es2019/ui/Renderer/index.js +5 -5
  45. package/dist/es2019/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
  46. package/dist/es2019/ui/annotations/element/index.js +1 -1
  47. package/dist/es2019/ui/annotations/element/mark.js +1 -1
  48. package/dist/es2019/ui/annotations/hooks/use-events.js +1 -1
  49. package/dist/es2019/ui/annotations/hover/mounter.js +1 -1
  50. package/dist/es2019/ui/annotations/index.js +1 -1
  51. package/dist/es2019/ui/annotations/selection/mounter.js +1 -1
  52. package/dist/esm/actions/index.js +1 -1
  53. package/dist/esm/react/marks/alignment.js +1 -1
  54. package/dist/esm/react/marks/annotation.js +1 -1
  55. package/dist/esm/react/marks/backgroundColor.js +1 -1
  56. package/dist/esm/react/marks/link.js +2 -2
  57. package/dist/esm/react/marks/textColor.js +1 -1
  58. package/dist/esm/react/nodes/bulletList.js +1 -1
  59. package/dist/esm/react/nodes/fallback.js +1 -1
  60. package/dist/esm/react/nodes/layoutColumn.js +2 -2
  61. package/dist/esm/react/nodes/media/index.js +1 -1
  62. package/dist/esm/react/nodes/orderedList.js +1 -1
  63. package/dist/esm/react/nodes/panel-compiled.js +1 -1
  64. package/dist/esm/react/nodes/panel-emotion.js +1 -1
  65. package/dist/esm/react/nodes/panel.js +3 -3
  66. package/dist/esm/react/nodes/tableCell.js +1 -1
  67. package/dist/esm/react/utils/EditorMediaClientProvider.js +5 -5
  68. package/dist/esm/ui/Renderer/RendererStyleContainer.js +2 -1
  69. package/dist/esm/ui/Renderer/index.js +5 -5
  70. package/dist/esm/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
  71. package/dist/esm/ui/annotations/element/index.js +1 -1
  72. package/dist/esm/ui/annotations/element/mark.js +1 -1
  73. package/dist/esm/ui/annotations/hooks/use-events.js +1 -1
  74. package/dist/esm/ui/annotations/hover/mounter.js +1 -1
  75. package/dist/esm/ui/annotations/index.js +1 -1
  76. package/dist/esm/ui/annotations/selection/mounter.js +1 -1
  77. package/dist/types/actions/index.d.ts +1 -1
  78. package/dist/types/react/marks/alignment.d.ts +1 -1
  79. package/dist/types/react/marks/backgroundColor.d.ts +1 -1
  80. package/dist/types/react/marks/border.d.ts +1 -1
  81. package/dist/types/react/marks/breakout.d.ts +1 -1
  82. package/dist/types/react/marks/data-consumer.d.ts +1 -1
  83. package/dist/types/react/marks/fontSize.d.ts +1 -1
  84. package/dist/types/react/marks/fragment.d.ts +1 -1
  85. package/dist/types/react/marks/indentation.d.ts +1 -1
  86. package/dist/types/react/marks/link.d.ts +1 -1
  87. package/dist/types/react/marks/subsup.d.ts +1 -1
  88. package/dist/types/react/marks/textColor.d.ts +1 -1
  89. package/dist/types/react/nodes/blockCard.d.ts +1 -1
  90. package/dist/types/react/nodes/bodiedExtension.d.ts +1 -1
  91. package/dist/types/react/nodes/embedCard.d.ts +1 -1
  92. package/dist/types/react/nodes/emoji.d.ts +1 -1
  93. package/dist/types/react/nodes/extension.d.ts +1 -1
  94. package/dist/types/react/nodes/extensionFrame.d.ts +1 -1
  95. package/dist/types/react/nodes/index.d.ts +2 -1
  96. package/dist/types/react/nodes/layoutColumn-compiled.d.ts +1 -1
  97. package/dist/types/react/nodes/layoutColumn-emotion.d.ts +1 -1
  98. package/dist/types/react/nodes/layoutColumn.d.ts +1 -1
  99. package/dist/types/react/nodes/media/index.d.ts +4 -1
  100. package/dist/types/react/nodes/mediaSingle/index.d.ts +1 -1
  101. package/dist/types/react/nodes/mention.d.ts +1 -1
  102. package/dist/types/react/nodes/multiBodiedExtension.d.ts +1 -1
  103. package/dist/types/react/nodes/panel-compiled.d.ts +1 -1
  104. package/dist/types/react/nodes/panel-emotion.d.ts +1 -1
  105. package/dist/types/react/nodes/panel.d.ts +1 -1
  106. package/dist/types/react/nodes/table/sticky.d.ts +1 -1
  107. package/dist/types/react/nodes/table/types.d.ts +1 -1
  108. package/dist/types/react/nodes/tableCell.d.ts +1 -1
  109. package/dist/types/react/types.d.ts +1 -1
  110. package/dist/types/ui/ExtensionRenderer.d.ts +1 -1
  111. package/dist/types/ui/MediaCard.d.ts +1 -1
  112. package/dist/types/ui/annotations/context.d.ts +1 -1
  113. package/dist/types/ui/annotations/contexts/AnnotationManagerContext.d.ts +2 -2
  114. package/dist/types/ui/annotations/element/index.d.ts +1 -1
  115. package/dist/types/ui/annotations/element/mark.d.ts +2 -2
  116. package/dist/types/ui/annotations/hooks/use-events.d.ts +2 -2
  117. package/dist/types/ui/annotations/hooks/use-inline-comments-filter.d.ts +1 -1
  118. package/dist/types/ui/hooks/useScrollToBlock.d.ts +1 -1
  119. package/dist/types/ui/renderer-props.d.ts +5 -6
  120. 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 { AnnotationId, AnnotationMarkStates } from '@atlaskit/adf-schema';
1
+ import type { AnnotationId, AnnotationMarkStates } from '@atlaskit/adf-schema/annotation';
2
2
  type Props = {
3
3
  annotationIds: AnnotationId[];
4
4
  filter: {
@@ -1,4 +1,4 @@
1
- import type { DocNode } from '@atlaskit/adf-schema';
1
+ import type { DocNode } from '@atlaskit/adf-schema/doc';
2
2
  /**
3
3
  * useScrollToBlock - Handler for block link scrolling in the renderer with expand support
4
4
  *
@@ -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 may be sampled (see the
184
- * `platform_renderer_sample_high_volume_events` feature gate) and therefore only fires
185
- * for a fraction of renders, this callback ALWAYS fires on every render pass regardless
186
- * of analytics sampling. Use it for reliable lifecycle signals for example releasing a
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.5",
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.9.0",
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.7.0",
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": "^172.0.0",
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.11.0",
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
  },