@atlaskit/renderer 136.2.4 → 136.2.6

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 (172) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/actions/get-renderer-range-inline-node-names.js +3 -3
  3. package/dist/cjs/actions/index.js +2 -2
  4. package/dist/cjs/react/index.js +6 -8
  5. package/dist/cjs/react/marks/breakout.js +10 -38
  6. package/dist/cjs/react/marks/code.js +2 -2
  7. package/dist/cjs/react/marks/link.js +4 -4
  8. package/dist/cjs/react/nodes/TableStickyScrollbar.js +3 -3
  9. package/dist/cjs/react/nodes/blockCard.js +9 -21
  10. package/dist/cjs/react/nodes/bodiedExtension.js +2 -2
  11. package/dist/cjs/react/nodes/codeBlock/codeBlock.js +2 -2
  12. package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +3 -3
  13. package/dist/cjs/react/nodes/codeBlock/components/codeBlockDownloadButton.js +4 -4
  14. package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +3 -3
  15. package/dist/cjs/react/nodes/embedCard.js +8 -20
  16. package/dist/cjs/react/nodes/emoji.js +3 -3
  17. package/dist/cjs/react/nodes/extension.js +5 -5
  18. package/dist/cjs/react/nodes/fallback.js +1 -1
  19. package/dist/cjs/react/nodes/heading-anchor.js +3 -3
  20. package/dist/cjs/react/nodes/heading.js +2 -2
  21. package/dist/cjs/react/nodes/inlineCard.js +9 -9
  22. package/dist/cjs/react/nodes/layoutColumn-compiled.js +2 -2
  23. package/dist/cjs/react/nodes/layoutColumn-emotion.js +2 -2
  24. package/dist/cjs/react/nodes/layoutColumn.js +2 -2
  25. package/dist/cjs/react/nodes/media/index.js +7 -7
  26. package/dist/cjs/react/nodes/mediaGroup.js +2 -2
  27. package/dist/cjs/react/nodes/mediaInline.js +9 -8
  28. package/dist/cjs/react/nodes/mediaSingle/index.js +2 -2
  29. package/dist/cjs/react/nodes/mention.js +2 -2
  30. package/dist/cjs/react/nodes/multiBodiedExtension.js +2 -2
  31. package/dist/cjs/react/nodes/panel.js +2 -2
  32. package/dist/cjs/react/nodes/status.js +9 -9
  33. package/dist/cjs/react/nodes/table/colgroup.js +4 -4
  34. package/dist/cjs/react/nodes/table/table.js +4 -4
  35. package/dist/cjs/react/nodes/table.js +2 -2
  36. package/dist/cjs/react/nodes/tableNew.js +6 -6
  37. package/dist/cjs/react/nodes/taskItem.js +2 -2
  38. package/dist/cjs/react/utils/EditorMediaClientProvider.js +7 -6
  39. package/dist/cjs/react/utils/getCardClickHandler.js +2 -2
  40. package/dist/cjs/render-document.js +3 -3
  41. package/dist/cjs/steps/index.js +6 -6
  42. package/dist/cjs/text/nodes/status.js +2 -2
  43. package/dist/cjs/ui/Expand.js +6 -6
  44. package/dist/cjs/ui/MediaCard.js +2 -2
  45. package/dist/cjs/ui/Renderer/RendererStyleContainer.js +8 -13
  46. package/dist/cjs/ui/Renderer/breakout-ssr.js +3 -3
  47. package/dist/cjs/ui/Renderer/index.js +11 -11
  48. package/dist/cjs/ui/RendererActionsContext/index.js +7 -7
  49. package/dist/cjs/ui/annotations/element/mark.js +4 -4
  50. package/dist/cjs/ui/annotations/element/useInlineAnnotationProps.js +2 -2
  51. package/dist/cjs/ui/annotations/index.js +2 -2
  52. package/dist/cjs/ui/annotations/selection/mounter.js +2 -2
  53. package/dist/es2019/actions/get-renderer-range-inline-node-names.js +1 -1
  54. package/dist/es2019/actions/index.js +1 -1
  55. package/dist/es2019/react/index.js +3 -5
  56. package/dist/es2019/react/marks/breakout.js +10 -39
  57. package/dist/es2019/react/marks/code.js +1 -1
  58. package/dist/es2019/react/marks/link.js +2 -2
  59. package/dist/es2019/react/nodes/TableStickyScrollbar.js +1 -1
  60. package/dist/es2019/react/nodes/blockCard.js +5 -17
  61. package/dist/es2019/react/nodes/bodiedExtension.js +1 -1
  62. package/dist/es2019/react/nodes/codeBlock/codeBlock.js +1 -1
  63. package/dist/es2019/react/nodes/codeBlock/components/codeBlockCopyButton.js +2 -2
  64. package/dist/es2019/react/nodes/codeBlock/components/codeBlockDownloadButton.js +2 -2
  65. package/dist/es2019/react/nodes/codeBlock/components/codeBlockWrapButton.js +2 -2
  66. package/dist/es2019/react/nodes/embedCard.js +4 -16
  67. package/dist/es2019/react/nodes/emoji.js +1 -1
  68. package/dist/es2019/react/nodes/extension.js +3 -3
  69. package/dist/es2019/react/nodes/fallback.js +1 -1
  70. package/dist/es2019/react/nodes/heading-anchor.js +1 -1
  71. package/dist/es2019/react/nodes/heading.js +1 -1
  72. package/dist/es2019/react/nodes/inlineCard.js +3 -3
  73. package/dist/es2019/react/nodes/layoutColumn-compiled.js +1 -1
  74. package/dist/es2019/react/nodes/layoutColumn-emotion.js +1 -1
  75. package/dist/es2019/react/nodes/layoutColumn.js +1 -1
  76. package/dist/es2019/react/nodes/media/index.js +3 -3
  77. package/dist/es2019/react/nodes/mediaGroup.js +1 -1
  78. package/dist/es2019/react/nodes/mediaInline.js +4 -3
  79. package/dist/es2019/react/nodes/mediaSingle/index.js +1 -1
  80. package/dist/es2019/react/nodes/mention.js +1 -1
  81. package/dist/es2019/react/nodes/multiBodiedExtension.js +2 -2
  82. package/dist/es2019/react/nodes/panel.js +1 -1
  83. package/dist/es2019/react/nodes/status.js +2 -2
  84. package/dist/es2019/react/nodes/table/colgroup.js +1 -1
  85. package/dist/es2019/react/nodes/table/table.js +1 -1
  86. package/dist/es2019/react/nodes/table.js +1 -1
  87. package/dist/es2019/react/nodes/tableNew.js +1 -1
  88. package/dist/es2019/react/nodes/taskItem.js +1 -1
  89. package/dist/es2019/react/utils/EditorMediaClientProvider.js +3 -2
  90. package/dist/es2019/react/utils/getCardClickHandler.js +1 -1
  91. package/dist/es2019/render-document.js +1 -1
  92. package/dist/es2019/steps/index.js +1 -1
  93. package/dist/es2019/text/nodes/status.js +1 -1
  94. package/dist/es2019/ui/Expand.js +2 -2
  95. package/dist/es2019/ui/MediaCard.js +1 -1
  96. package/dist/es2019/ui/Renderer/RendererStyleContainer.js +5 -14
  97. package/dist/es2019/ui/Renderer/breakout-ssr.js +1 -1
  98. package/dist/es2019/ui/Renderer/index.js +3 -3
  99. package/dist/es2019/ui/RendererActionsContext/index.js +3 -3
  100. package/dist/es2019/ui/annotations/element/mark.js +1 -1
  101. package/dist/es2019/ui/annotations/element/useInlineAnnotationProps.js +1 -1
  102. package/dist/es2019/ui/annotations/index.js +1 -1
  103. package/dist/es2019/ui/annotations/selection/mounter.js +1 -1
  104. package/dist/esm/actions/get-renderer-range-inline-node-names.js +1 -1
  105. package/dist/esm/actions/index.js +1 -1
  106. package/dist/esm/react/index.js +3 -5
  107. package/dist/esm/react/marks/breakout.js +10 -39
  108. package/dist/esm/react/marks/code.js +1 -1
  109. package/dist/esm/react/marks/link.js +2 -2
  110. package/dist/esm/react/nodes/TableStickyScrollbar.js +1 -1
  111. package/dist/esm/react/nodes/blockCard.js +5 -17
  112. package/dist/esm/react/nodes/bodiedExtension.js +1 -1
  113. package/dist/esm/react/nodes/codeBlock/codeBlock.js +1 -1
  114. package/dist/esm/react/nodes/codeBlock/components/codeBlockCopyButton.js +2 -2
  115. package/dist/esm/react/nodes/codeBlock/components/codeBlockDownloadButton.js +2 -2
  116. package/dist/esm/react/nodes/codeBlock/components/codeBlockWrapButton.js +2 -2
  117. package/dist/esm/react/nodes/embedCard.js +4 -16
  118. package/dist/esm/react/nodes/emoji.js +1 -1
  119. package/dist/esm/react/nodes/extension.js +3 -3
  120. package/dist/esm/react/nodes/fallback.js +1 -1
  121. package/dist/esm/react/nodes/heading-anchor.js +1 -1
  122. package/dist/esm/react/nodes/heading.js +1 -1
  123. package/dist/esm/react/nodes/inlineCard.js +3 -3
  124. package/dist/esm/react/nodes/layoutColumn-compiled.js +1 -1
  125. package/dist/esm/react/nodes/layoutColumn-emotion.js +1 -1
  126. package/dist/esm/react/nodes/layoutColumn.js +1 -1
  127. package/dist/esm/react/nodes/media/index.js +3 -3
  128. package/dist/esm/react/nodes/mediaGroup.js +1 -1
  129. package/dist/esm/react/nodes/mediaInline.js +4 -3
  130. package/dist/esm/react/nodes/mediaSingle/index.js +1 -1
  131. package/dist/esm/react/nodes/mention.js +1 -1
  132. package/dist/esm/react/nodes/multiBodiedExtension.js +2 -2
  133. package/dist/esm/react/nodes/panel.js +1 -1
  134. package/dist/esm/react/nodes/status.js +2 -2
  135. package/dist/esm/react/nodes/table/colgroup.js +1 -1
  136. package/dist/esm/react/nodes/table/table.js +1 -1
  137. package/dist/esm/react/nodes/table.js +1 -1
  138. package/dist/esm/react/nodes/tableNew.js +1 -1
  139. package/dist/esm/react/nodes/taskItem.js +1 -1
  140. package/dist/esm/react/utils/EditorMediaClientProvider.js +3 -2
  141. package/dist/esm/react/utils/getCardClickHandler.js +1 -1
  142. package/dist/esm/render-document.js +1 -1
  143. package/dist/esm/steps/index.js +1 -1
  144. package/dist/esm/text/nodes/status.js +1 -1
  145. package/dist/esm/ui/Expand.js +2 -2
  146. package/dist/esm/ui/MediaCard.js +1 -1
  147. package/dist/esm/ui/Renderer/RendererStyleContainer.js +6 -11
  148. package/dist/esm/ui/Renderer/breakout-ssr.js +1 -1
  149. package/dist/esm/ui/Renderer/index.js +3 -3
  150. package/dist/esm/ui/RendererActionsContext/index.js +3 -3
  151. package/dist/esm/ui/annotations/element/mark.js +1 -1
  152. package/dist/esm/ui/annotations/element/useInlineAnnotationProps.js +1 -1
  153. package/dist/esm/ui/annotations/index.js +1 -1
  154. package/dist/esm/ui/annotations/selection/mounter.js +1 -1
  155. package/dist/types/actions/index.d.ts +2 -2
  156. package/dist/types/react/nodes/codeBlock/codeBlock.d.ts +1 -1
  157. package/dist/types/react/nodes/fallback.d.ts +1 -1
  158. package/dist/types/types/mediaOptions.d.ts +1 -1
  159. package/dist/types/ui/MediaCard.d.ts +1 -1
  160. package/dist/types/ui/Renderer/ErrorBoundary.d.ts +1 -1
  161. package/dist/types/ui/Renderer/rendererHelper.d.ts +1 -1
  162. package/dist/types/ui/annotations/hooks/use-events.d.ts +1 -1
  163. package/dist/types/ui/annotations/hooks/use-load-annotations.d.ts +1 -1
  164. package/dist/types/ui/annotations/hover/mounter.d.ts +1 -1
  165. package/dist/types/ui/annotations/hover/range-validator.d.ts +1 -1
  166. package/dist/types/ui/annotations/selection/mounter.d.ts +1 -1
  167. package/dist/types/ui/annotations/selection/range-validator.d.ts +1 -1
  168. package/dist/types/ui/annotations/types.d.ts +1 -1
  169. package/dist/types/ui/annotations/view/index.d.ts +1 -1
  170. package/dist/types/ui/annotations/wrapper.d.ts +1 -1
  171. package/dist/types/ui/renderer-props.d.ts +1 -1
  172. package/package.json +13 -3
@@ -12,7 +12,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
12
12
  import React, { PureComponent } from 'react';
13
13
  import { defaultImageCardDimensions } from '@atlaskit/media-card';
14
14
  import { FilmstripView } from '@atlaskit/media-filmstrip';
15
- import { fg } from '@atlaskit/platform-feature-flags';
15
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
16
16
  import { VcMediaWrapperProps } from '@atlaskit/react-ufo/vc-media';
17
17
  // Ignored via go/ees005
18
18
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -8,12 +8,13 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
8
8
  import { MediaInlineImageCard } from '@atlaskit/editor-common/media-inline';
9
9
  import { useProvider } from '@atlaskit/editor-common/provider-factory';
10
10
  import { MediaInlineCard } from '@atlaskit/media-card';
11
- import { MediaClientContext, getMediaClient } from '@atlaskit/media-client-react';
12
- import { MediaInlineCardLoadingView } from '@atlaskit/media-ui';
11
+ import { MediaClientContext } from '@atlaskit/media-client-react/media-client-provider';
12
+ import { getMediaClient } from '@atlaskit/media-client-react/get-media-client';
13
+ import { MediaInlineCardLoadingView } from '@atlaskit/media-ui/LoadingView';
13
14
  import React, { useCallback, useEffect, useState, useContext } from 'react';
14
15
  import { injectIntl } from 'react-intl';
15
16
  import { getClipboardAttrs, mediaIdentifierMap } from '../../ui/MediaCard';
16
- import { useAnalyticsEvents } from '@atlaskit/analytics-next';
17
+ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
17
18
  import { ErrorBoundary } from '../../ui/Renderer/ErrorBoundary';
18
19
  import { ACTION_SUBJECT } from '../../analytics/enums';
19
20
  import { ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
@@ -10,7 +10,7 @@ import { default as React, Fragment, useCallback, useContext, useMemo, useEffect
10
10
  import { css, jsx } from '@emotion/react';
11
11
  import { injectIntl } from 'react-intl';
12
12
  import { MediaSingle as UIMediaSingle, WidthContext } from '@atlaskit/editor-common/ui';
13
- import { fg } from '@atlaskit/platform-feature-flags';
13
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
14
14
  import { akEditorFullWidthLayoutWidth, akEditorDefaultLayoutWidth, akEditorWideLayoutWidth } from '@atlaskit/editor-shared-styles';
15
15
  import { isSSR } from '@atlaskit/editor-common/core-utils';
16
16
  import { FullPagePadding } from '../../../ui/Renderer/style';
@@ -1,6 +1,6 @@
1
1
  import React, { memo } from 'react';
2
2
  import { Mention } from '@atlaskit/editor-common/mention';
3
- import { fg } from '@atlaskit/platform-feature-flags';
3
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
4
4
  import { useInlineAnnotationProps } from '../../ui/annotations/element/useInlineAnnotationProps';
5
5
  var _default_1 = /*#__PURE__*/memo(function MentionItem(props) {
6
6
  var eventHandlers = props.eventHandlers,
@@ -173,7 +173,7 @@ var MultiBodiedExtension = function MultiBodiedExtension(props) {
173
173
  var containerActiveFrameStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t& [data-extension-frame='true']:nth-of-type(", ") {\n\t\t\tdisplay: block;\n\t\t}\n\t"])), activeChildIndex + 1);
174
174
  if (expValEquals('platform_editor_renderer_extension_width_fix', 'isEnabled', true)) {
175
175
  var _isTopLevel = path.length < 1;
176
- var _useCenterWrapper = _isTopLevel && ['wide', 'full-width'].includes(layout) && expValEquals('platform_editor_flex_based_centering', 'isEnabled', true);
176
+ var _useCenterWrapper = _isTopLevel && ['wide', 'full-width'].includes(layout);
177
177
  var wrapper = jsx(MultiBodiedExtensionWrapperNext, {
178
178
  layout: layout,
179
179
  path: path,
@@ -193,7 +193,7 @@ var MultiBodiedExtension = function MultiBodiedExtension(props) {
193
193
  }, wrapper) : wrapper);
194
194
  }
195
195
  var isTopLevel = path.length < 1;
196
- var useCenterWrapper = isTopLevel && ['wide', 'full-width'].includes(layout) && expValEquals('platform_editor_flex_based_centering', 'isEnabled', true);
196
+ var useCenterWrapper = isTopLevel && ['wide', 'full-width'].includes(layout);
197
197
  return jsx("section", {
198
198
  css: [containerStyles, containerActiveFrameStyles],
199
199
  "data-testid": "multiBodiedExtension--container",
@@ -4,7 +4,7 @@ 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 { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
7
+ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
8
8
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
9
  import EmojiItem from './emoji';
10
10
  import { PanelStyledCompiled } from './panel-compiled';
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { memo } from 'react';
3
3
  import { Status as AkStatus } from '@atlaskit/status/element';
4
- import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
5
- import { fg } from '@atlaskit/platform-feature-flags';
4
+ import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context/FabricElementsAnalyticsContext';
5
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
6
6
  import { useInlineAnnotationProps } from '../../ui/annotations/element/useInlineAnnotationProps';
7
7
  var ANALYTICS_DATA = {
8
8
  userContext: 'document'
@@ -7,7 +7,7 @@ import { WidthContext } from '@atlaskit/editor-common/ui';
7
7
  import { akEditorTableNumberColumnWidth, akEditorTableLegacyCellMinWidth, akEditorTableCellMinWidth } from '@atlaskit/editor-shared-styles';
8
8
  import { getTableContainerWidth } from '@atlaskit/editor-common/node-width';
9
9
  import { useRendererContext } from '../../../renderer-context';
10
- import { fg } from '@atlaskit/platform-feature-flags';
10
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
11
11
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
12
12
 
13
13
  // we allow scaling down column widths by no more than 30%
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { Colgroup, colWidthSum } from './colgroup';
4
4
  import { getTableContainerWidth } from '@atlaskit/editor-common/node-width';
5
5
  import { akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
8
  import { isTableInContentMode } from '@atlaskit/editor-common/table';
9
9
  import { isContentModeSupported } from './content-mode';
@@ -18,7 +18,7 @@ import { useIntl } from 'react-intl';
18
18
  import { TableSharedCssClassName, tableMarginTop } from '@atlaskit/editor-common/styles';
19
19
  import { tableMessages } from '@atlaskit/editor-common/messages';
20
20
  import { WidthConsumer, overflowShadow } from '@atlaskit/editor-common/ui';
21
- import { fg } from '@atlaskit/platform-feature-flags';
21
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
22
22
  import { createCompareNodes, convertProsemirrorTableNodeToArrayOfRows, hasMergedCell, compose } from '@atlaskit/editor-common/utils';
23
23
  import { SortOrder } from '@atlaskit/editor-common/types';
24
24
  import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorMaxWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
@@ -17,7 +17,7 @@ import React from 'react';
17
17
  import { TableSharedCssClassName, tableMarginTop } from '@atlaskit/editor-common/styles';
18
18
  import { getTableContainerWidth } from '@atlaskit/editor-common/node-width';
19
19
  import { FullPagePadding } from '../../ui/Renderer/style';
20
- import { fg } from '@atlaskit/platform-feature-flags';
20
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
21
21
  import { RendererCssClassName } from '../../consts';
22
22
  import { createCompareNodes, convertProsemirrorTableNodeToArrayOfRows, hasMergedCell, compose } from '@atlaskit/editor-common/utils';
23
23
  import { SortOrder } from '@atlaskit/editor-common/types';
@@ -10,7 +10,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
10
10
  import React, { PureComponent } from 'react';
11
11
  import { ProviderFactory, WithProviders } from '@atlaskit/editor-common/provider-factory';
12
12
  import TaskItemWithProviders from './task-item-with-providers';
13
- import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
13
+ import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context/FabricElementsAnalyticsContext';
14
14
  import { TaskItemsFormatProvider, TaskItemsFormatConsumer } from '../../ui/TaskItemsFormatContext/TaskItemsFormatContext';
15
15
  // Ignored via go/ees005
16
16
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -1,8 +1,9 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import React, { useContext, useEffect, useLayoutEffect, useMemo, useState } from 'react';
3
- import { MediaClientContext, getMediaClient } from '@atlaskit/media-client-react';
3
+ import { MediaClientContext } from '@atlaskit/media-client-react/media-client-provider';
4
+ import { getMediaClient } from '@atlaskit/media-client-react/get-media-client';
4
5
  import { useProviderFactory, useProviderLayout } from '@atlaskit/editor-common/provider-factory';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
6
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
8
  var getMediaClientConfigForRenderer = function getMediaClientConfigForRenderer(provider) {
8
9
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
@@ -1,4 +1,4 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
1
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
2
2
  import { getEventHandler } from '../../utils';
3
3
  export var getCardClickHandler = function getCardClickHandler(eventHandlers, url) {
4
4
  var handler = getEventHandler(eventHandlers, 'smartCard');
@@ -8,7 +8,7 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/anal
8
8
  import { findAndTrackUnsupportedContentNodes, validateADFEntity } from '@atlaskit/editor-common/utils';
9
9
  import { getValidDocument } from '@atlaskit/editor-common/validator';
10
10
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
11
- import { fg } from '@atlaskit/platform-feature-flags';
11
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
12
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
13
  import memoizeOne from 'memoize-one';
14
14
  import { PLATFORM } from './analytics/events';
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable jsdoc/require-jsdoc -- internal step helpers */
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { AddMarkStep } from '@atlaskit/editor-prosemirror/transform';
4
4
 
5
5
  // Ignored via go/ees005
@@ -1,5 +1,5 @@
1
1
  import { getText } from '../../utils';
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  var status = function status(node, _schema) {
4
4
  return node.attrs.text ? node.attrs.style === 'mixedCase' && fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? "[ ".concat(node.attrs.text, " ]") : "[ ".concat(node.attrs.text.toUpperCase(), " ]") : getText(node);
5
5
  };
@@ -12,8 +12,8 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/anal
12
12
  import { ExpandIconWrapper, ExpandLayoutWrapperWithRef, expandMessages, WidthProvider } from '@atlaskit/editor-common/ui';
13
13
  import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset } from '@atlaskit/editor-shared-styles';
14
14
  import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
15
- import Tooltip from '@atlaskit/tooltip';
16
- import { fg } from '@atlaskit/platform-feature-flags';
15
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
16
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
17
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
18
  import _uniqueId from 'lodash/uniqueId';
19
19
  import { injectIntl } from 'react-intl';
@@ -14,7 +14,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
14
14
  import React, { Component, useContext } from 'react';
15
15
  import { filter } from '@atlaskit/adf-utils/traverse';
16
16
  import { Card as CardAsync, CardSync, CardLoading, CardError } from '@atlaskit/media-card';
17
- import { MediaClientContext } from '@atlaskit/media-client-react';
17
+ import { MediaClientContext } from '@atlaskit/media-client-react/media-client-provider';
18
18
  import { withImageLoader } from '@atlaskit/editor-common/utils';
19
19
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
20
20
  import AnalyticsContext from '../analytics/analyticsContext';
@@ -1,5 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- var _css9, _$concat3, _$concat6;
2
+ var _css9, _$concat3, _$concat5;
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  /* eslint-disable @atlaskit/ui-styling-standard/no-important-styles, @atlaskit/ui-styling-standard/no-unsafe-selectors */
@@ -14,7 +14,7 @@ import { css, jsx } from '@emotion/react'; // oxlint-ignore @typescript-eslint/c
14
14
 
15
15
  import { FullPagePadding } from './style';
16
16
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
17
- import { fg } from '@atlaskit/platform-feature-flags';
17
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
18
18
  import { RendererCssClassName } from '../../consts';
19
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';
20
20
  import { INLINE_IMAGE_WRAPPER_CLASS_NAME } from '@atlaskit/editor-common/media-inline';
@@ -1038,7 +1038,7 @@ var headerSmartCardStyles = css({
1038
1038
  }
1039
1039
  });
1040
1040
 
1041
- // Flex wrapper for centering without transform (platform_editor_flex_based_centering).
1041
+ // Flex wrapper for centering without transform.
1042
1042
  // flex: 1 1 0% + minWidth: 0 so the wrapper takes full width when it's a flex item (full-width nodes otherwise render narrow).
1043
1043
  // flexShrink: 0 on child so the node keeps size.
1044
1044
  var centerWrapperStyles = css(_defineProperty({}, ".".concat(RendererCssClassName.FLEX_CENTER_WRAPPER), {
@@ -1141,11 +1141,6 @@ var baseOtherStylesDuplicateAnchor = css(_defineProperty(_defineProperty(_define
1141
1141
  var hideExtensionStyles = css(_defineProperty({}, ".".concat(RendererCssClassName.EXTENSION, ":has([data-extension-key='hide'])"), {
1142
1142
  marginTop: 0
1143
1143
  }));
1144
- var extensionCenterAlignLegacyStyles = css(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT), _defineProperty({}, ".".concat(RendererCssClassName.EXTENSION_CENTER_ALIGN), {
1145
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
1146
- marginLeft: '50%',
1147
- transform: 'translateX(-50%)'
1148
- })));
1149
1144
  var baseOtherStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
1150
1145
  '& .UnknownBlock': {
1151
1146
  fontFamily: "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
@@ -1207,7 +1202,7 @@ var baseOtherStyles = css(_defineProperty(_defineProperty(_defineProperty(_defin
1207
1202
  overflowX: 'auto'
1208
1203
  }), "& .".concat(RendererCssClassName.EXTENSION, ":first-child"), {
1209
1204
  marginTop: 0
1210
- })), ".".concat(RendererCssClassName.DOCUMENT), (_$concat6 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_$concat6, ".".concat(RendererCssClassName.EXTENSION), {
1205
+ })), ".".concat(RendererCssClassName.DOCUMENT), (_$concat5 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_$concat5, ".".concat(RendererCssClassName.EXTENSION), {
1211
1206
  marginTop: "".concat(blockNodesVerticalMargin)
1212
1207
  }), ".".concat(RendererCssClassName.STICKY_SAFE_CENTER_WRAPPER, " .").concat(RendererCssClassName.EXTENSION), {
1213
1208
  marginBottom: 0
@@ -1228,7 +1223,7 @@ var baseOtherStyles = css(_defineProperty(_defineProperty(_defineProperty(_defin
1228
1223
  marginBottom: 0
1229
1224
  }), ".".concat(TableSharedCssClassName.TABLE_NODE_WRAPPER), {
1230
1225
  overflowX: 'auto'
1231
- }), _defineProperty(_$concat6, ".".concat(shadowObserverClassNames.SHADOW_CONTAINER, " .").concat(TableSharedCssClassName.TABLE_NODE_WRAPPER), {
1226
+ }), _defineProperty(_$concat5, ".".concat(shadowObserverClassNames.SHADOW_CONTAINER, " .").concat(TableSharedCssClassName.TABLE_NODE_WRAPPER), {
1232
1227
  display: 'flex'
1233
1228
  }))));
1234
1229
  var alignedHeadingAnchorStyleDuplicateAnchor = css({
@@ -2289,7 +2284,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
2289
2284
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
2290
2285
  textHighlightPaddingStyles, tasksAndDecisionsStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingPanelStyles, smartCardStyles, smartCardStylesAvatarFix, headerSmartCardStyles, smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop, fg('editor_inline_comments_on_inline_nodes') && (expValEquals('confluence_fe_renderer_inline_node_mark_color_fix', 'isEnabled', true) ? rendererAnnotationStyles : rendererAnnotationStylesOld),
2291
2286
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
2292
- fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStylesCommentHeightFix, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? baseOtherStyles : baseOtherStylesDuplicateAnchor, !expValEquals('platform_editor_flex_based_centering', 'isEnabled', true) && extensionCenterAlignLegacyStyles,
2287
+ fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStylesCommentHeightFix, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? baseOtherStyles : baseOtherStylesDuplicateAnchor,
2293
2288
  // this should be placed after baseOtherStyles
2294
2289
  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,
2295
2290
  // merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable jsdoc/require-jsdoc -- SSR inline script helpers */
2
2
  import React from 'react';
3
3
  import { breakoutConsts } from '@atlaskit/editor-common/utils';
4
- import { fg } from '@atlaskit/platform-feature-flags';
4
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
5
5
  import { FullPagePadding } from './style';
6
6
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
7
  /**
@@ -24,9 +24,9 @@ import { getResponseEndTime } from '@atlaskit/editor-common/performance/navigati
24
24
  import { useScrollToBlock } from '../hooks/useScrollToBlock';
25
25
  import { getAnalyticsAppearance, getAnalyticsEventSeverity, shouldForceTracking } from '@atlaskit/editor-common/utils';
26
26
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
27
- import { fg } from '@atlaskit/platform-feature-flags';
27
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
28
28
  import { FabricChannel } from '@atlaskit/analytics-listeners/types';
29
- import { FabricEditorAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
29
+ import { FabricEditorAnalyticsContext } from '@atlaskit/analytics-namespaced-context/FabricEditorAnalyticsContext';
30
30
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
31
31
  import { normalizeFeatureFlags } from '@atlaskit/editor-common/normalize-feature-flags';
32
32
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
@@ -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 = "136.2.3";
68
+ var packageVersion = "136.2.5";
69
69
  var setAsQueryContainerStyles = css({
70
70
  containerName: 'ak-renderer-wrapper',
71
71
  containerType: 'inline-size'
@@ -1,8 +1,8 @@
1
1
  /* eslint-disable jsdoc/require-jsdoc */
2
2
  import React, { useMemo } from 'react';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
- import { useAnalyticsEvents } from '@atlaskit/analytics-next';
5
- import { FabricChannel } from '@atlaskit/analytics-listeners';
3
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
4
+ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
5
+ import { FabricChannel } from '@atlaskit/analytics-listeners/types';
6
6
  import { EVENT_TYPE } from '@atlaskit/editor-common/analytics';
7
7
  import RendererActions from '../../actions/index';
8
8
  export var RendererContext = /*#__PURE__*/React.createContext(new RendererActions());
@@ -11,7 +11,7 @@ import { useMemo, useCallback } from 'react';
11
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
12
  import { css, jsx } from '@emotion/react';
13
13
  import { AnnotationMarkStates } from '@atlaskit/adf-schema';
14
- import { fg } from '@atlaskit/platform-feature-flags';
14
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
15
15
  import { useIntl } from 'react-intl';
16
16
  import { inlineCommentMessages } from '../../../messages';
17
17
  import { useAnnotationManagerDispatch, useAnnotationManagerState } from '../contexts/AnnotationManagerContext';
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable jsdoc/require-jsdoc */
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { useAnnotationRangeState } from '../contexts/AnnotationRangeContext';
4
4
  export function useInlineAnnotationProps(props) {
5
5
  var _useAnnotationRangeSt = useAnnotationRangeState(),
@@ -5,7 +5,7 @@ import { AnnotationsContextWrapper } from './wrapper';
5
5
  import { ProvidersContext, InlineCommentsStateContext } from './context';
6
6
  import { useLoadAnnotations } from './hooks/use-load-annotations';
7
7
  import { useAnnotationStateByTypeEvent } from './hooks/use-events';
8
- import { useAnalyticsEvents } from '@atlaskit/analytics-next';
8
+ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
9
9
  import { AnnotationRangeProvider } from './contexts/AnnotationRangeContext';
10
10
  import { AnnotationHoverContext } from './contexts/AnnotationHoverContext';
11
11
  import { AnnotationManagerProvider } from './contexts/AnnotationManagerContext';
@@ -1,6 +1,6 @@
1
1
  import React, { useCallback, useContext, useMemo, useEffect } from 'react';
2
2
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
- import { fg } from '@atlaskit/platform-feature-flags';
3
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
4
4
 
5
5
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
6
6
  import uuid from 'uuid/v4';
@@ -1,8 +1,8 @@
1
1
  import { AnnotationTypes } from '@atlaskit/adf-schema';
2
2
  import type { AnnotationActionResult, AnnotationByMatches, SelectionContext } from '@atlaskit/editor-common/types';
3
- import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
3
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
4
4
  import type { Mark, Node, Schema } from '@atlaskit/editor-prosemirror/model';
5
- import type { Step } from '@atlaskit/editor-prosemirror/transform';
5
+ import type { Step } from '@atlaskit/editor-prosemirror/transform-override';
6
6
  import { RemoveMarkStep, RemoveNodeMarkStep } from '@atlaskit/editor-prosemirror/transform';
7
7
  import type { AnalyticsEventPayload } from '../analytics/events';
8
8
  type ActionResult = {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { type ComponentType, type FC } from 'react';
6
6
  import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
7
- import type { SupportedLanguages } from '@atlaskit/code';
7
+ import type { SupportedLanguages } from '@atlaskit/code/constants';
8
8
  export interface Props {
9
9
  allowCopyToClipboard?: boolean;
10
10
  allowDownloadCodeBlock?: boolean;
@@ -16,8 +16,8 @@ export declare class CardErrorBoundary extends React.PureComponent<{
16
16
  };
17
17
  onClickFallback: (e: React.MouseEvent<HTMLElement>) => void;
18
18
  static getDerivedStateFromError(error: Error): {
19
- isError: boolean;
20
19
  error: Error;
20
+ isError: boolean;
21
21
  };
22
22
  render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
23
23
  componentDidCatch(_error: Error): void;
@@ -1,4 +1,4 @@
1
- import type { MediaClientConfig } from '@atlaskit/media-core';
1
+ import type { MediaClientConfig } from '@atlaskit/media-core/auth';
2
2
  import type { MediaFeatureFlags, SSR } from '@atlaskit/media-common';
3
3
  import type { MediaViewerExtensions } from '@atlaskit/media-viewer';
4
4
  export type MediaSSR = {
@@ -1,7 +1,7 @@
1
1
  import React, { Component } from 'react';
2
2
  import type { ADFEntity } from '@atlaskit/adf-utils/types';
3
3
  import type { CardAppearance, CardDimensions, CardOnClickCallback, NumericalCardDimensions } from '@atlaskit/media-card';
4
- import type { MediaClientConfig } from '@atlaskit/media-core';
4
+ import type { MediaClientConfig } from '@atlaskit/media-core/auth';
5
5
  import type { ImageResizeMode, Identifier, FileState, MediaClient } from '@atlaskit/media-client';
6
6
  import type { MediaType } from '@atlaskit/adf-schema';
7
7
  import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
3
3
  import type { ComponentCrashErrorAEP } from '../../analytics/events';
4
4
  interface ErrorBoundaryProps {
5
5
  additionalInfo?: string;
@@ -1,2 +1,2 @@
1
- import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
1
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
2
2
  export declare const removeEmptySpaceAroundContent: (document: JSONDocNode) => JSONDocNode;
@@ -1,7 +1,7 @@
1
1
  import type { InlineCommentViewComponentProps, AnnotationUpdateEmitter } from '@atlaskit/editor-common/types';
2
2
  import type { AnnotationMarkStates, AnnotationId } from '@atlaskit/adf-schema';
3
3
  import { AnnotationTypes } from '@atlaskit/adf-schema';
4
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
4
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
5
5
  type ListenEventProps = {
6
6
  createAnalyticsEvent?: CreateUIAnalyticsEvent;
7
7
  id: AnnotationId;
@@ -1,4 +1,4 @@
1
- import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
1
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
2
2
  export type LoadCompleteHandler = (params: {
3
3
  numberOfUnresolvedInlineComments: number;
4
4
  }) => void;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { AnnotationByMatches, InlineCommentHoverComponentProps } from '@atlaskit/editor-common/types';
3
3
  import type { ApplyAnnotation } from '../../../actions/index';
4
4
  import type { Position } from '../types';
5
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
5
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
6
6
  type Props = {
7
7
  applyAnnotation: ApplyAnnotation;
8
8
  component: React.ComponentType<InlineCommentHoverComponentProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { InlineCommentHoverComponentProps } from '@atlaskit/editor-common/types';
3
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
3
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
4
4
  type Props = {
5
5
  component: React.ComponentType<InlineCommentHoverComponentProps>;
6
6
  createAnalyticsEvent?: CreateUIAnalyticsEvent;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { AnnotationByMatches, InlineCommentSelectionComponentProps } from '@atlaskit/editor-common/types';
3
3
  import type { ApplyAnnotation } from '../../../actions/index';
4
4
  import type { Position } from '../types';
5
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
5
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
6
6
  type Props = {
7
7
  applyAnnotation: ApplyAnnotation;
8
8
  component: React.ComponentType<React.PropsWithChildren<InlineCommentSelectionComponentProps>>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { InlineCommentSelectionComponentProps } from '@atlaskit/editor-common/types';
3
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
3
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
4
4
  type Props = {
5
5
  createAnalyticsEvent?: CreateUIAnalyticsEvent;
6
6
  rendererRef: React.RefObject<HTMLDivElement>;
@@ -1,4 +1,4 @@
1
- import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
1
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
2
2
  import type { AnnotationProviders } from '@atlaskit/editor-common/types';
3
3
  export declare enum InsertDraftPosition {
4
4
  AROUND_TEXT = "AROUND_TEXT",
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
3
3
  type Props = {
4
4
  createAnalyticsEvent?: CreateUIAnalyticsEvent;
5
5
  isNestedRender: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
3
3
  type Props = {
4
4
  createAnalyticsEvent?: CreateUIAnalyticsEvent;
5
5
  isNestedRender?: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { DocNode } from '@atlaskit/adf-schema';
2
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
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';
5
5
  import type { MentionNodeDataProvider } from '@atlaskit/editor-common/mention';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "136.2.4",
3
+ "version": "136.2.6",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/link-datasource": "^6.7.0",
54
54
  "@atlaskit/link-extractors": "^4.1.0",
55
55
  "@atlaskit/linking-common": "^12.0.0",
56
- "@atlaskit/media-card": "^81.7.0",
56
+ "@atlaskit/media-card": "^81.8.0",
57
57
  "@atlaskit/media-client": "^37.5.0",
58
58
  "@atlaskit/media-client-react": "^6.2.0",
59
59
  "@atlaskit/media-common": "^14.5.0",
@@ -70,7 +70,7 @@
70
70
  "@atlaskit/status": "^5.8.0",
71
71
  "@atlaskit/task-decision": "^21.8.0",
72
72
  "@atlaskit/theme": "^28.1.0",
73
- "@atlaskit/tmp-editor-statsig": "^158.0.0",
73
+ "@atlaskit/tmp-editor-statsig": "^159.0.0",
74
74
  "@atlaskit/tokens": "^16.8.0",
75
75
  "@atlaskit/tooltip": "^24.2.0",
76
76
  "@atlaskit/visually-hidden": "^4.3.0",
@@ -93,10 +93,14 @@
93
93
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
94
94
  },
95
95
  "devDependencies": {
96
+ "@af/editor-examples-helpers": "workspace:^",
96
97
  "@af/integration-testing": "workspace:^",
97
98
  "@af/visual-regression": "workspace:^",
98
99
  "@atlaskit/analytics-gas-types": "^6.0.0",
99
100
  "@atlaskit/checkbox": "^19.1.0",
101
+ "@atlaskit/editor-plugin-media": "^17.2.0",
102
+ "@atlaskit/editor-test-helpers": "workspace:^",
103
+ "@atlaskit/inline-edit": "^16.3.0",
100
104
  "@atlaskit/link-provider": "^5.4.0",
101
105
  "@atlaskit/link-test-helpers": "^11.1.0",
102
106
  "@atlaskit/media-core": "^38.0.0",
@@ -105,8 +109,14 @@
105
109
  "@atlaskit/mention": "^27.18.0",
106
110
  "@atlaskit/modal-dialog": "^16.5.0",
107
111
  "@atlaskit/navigation-system": "^10.16.0",
112
+ "@atlaskit/primitives": "^22.4.0",
108
113
  "@atlaskit/profilecard": "^26.19.0",
114
+ "@atlaskit/radio": "^10.1.0",
115
+ "@atlaskit/range": "^12.1.0",
116
+ "@atlaskit/section-message": "^10.1.0",
109
117
  "@atlaskit/side-nav-items": "^2.3.0",
118
+ "@atlaskit/textfield": "^10.1.0",
119
+ "@atlaskit/toggle": "^17.2.0",
110
120
  "@atlaskit/util-data-test": "^19.1.0",
111
121
  "@atlassian/a11y-jest-testing": "^0.17.0",
112
122
  "@atlassian/a11y-playwright-testing": "^0.12.0",