@atlaskit/editor-common 119.16.2 → 119.16.3

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 (217) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/code-block/index.js +2 -2
  3. package/dist/cjs/doc-utils/editor-use-only.js +3 -3
  4. package/dist/cjs/element-browser/components/CategoryList.js +1 -1
  5. package/dist/cjs/element-browser/components/ElementBrowserLoader.js +1 -1
  6. package/dist/cjs/element-browser/components/ElementList/ElementList.js +4 -4
  7. package/dist/cjs/element-browser/components/ElementList/EmptyState.js +2 -2
  8. package/dist/cjs/element-browser/components/ElementSearch.js +2 -2
  9. package/dist/cjs/element-browser/components/ViewMore.js +4 -3
  10. package/dist/cjs/element-browser/hooks/use-container-width.js +2 -2
  11. package/dist/cjs/element-browser/hooks/use-select-and-focus-on-arrow-navigation.js +3 -3
  12. package/dist/cjs/extensibility/Extension/Extension/index.js +3 -3
  13. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -2
  14. package/dist/cjs/extensibility/ExtensionComponent.js +2 -2
  15. package/dist/cjs/extensibility/extensionNodeView.js +2 -2
  16. package/dist/cjs/extensions/extension-handlers.js +2 -2
  17. package/dist/cjs/floating-toolbar/DropdownMenuItem.js +4 -4
  18. package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +5 -5
  19. package/dist/cjs/link/ConfigureLinkOverlay/StyledButton.js +1 -1
  20. package/dist/cjs/link/ConfigureLinkOverlay/index.js +2 -2
  21. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -3
  22. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/utils.js +2 -2
  23. package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -1
  24. package/dist/cjs/mark/commands.js +2 -2
  25. package/dist/cjs/media-inline/inline-image-card.js +2 -2
  26. package/dist/cjs/media-inline/media-inline-image-card.js +2 -2
  27. package/dist/cjs/media-inline/views/error-view.js +2 -2
  28. package/dist/cjs/media-inline/views/loading-view.js +1 -1
  29. package/dist/cjs/media-single/CommentBadge.js +3 -3
  30. package/dist/cjs/media-single/CommentBadgeNext.js +2 -2
  31. package/dist/cjs/media-single/ExternalImageBadge.js +2 -2
  32. package/dist/cjs/media-single/MediaBadges.js +2 -2
  33. package/dist/cjs/monitoring/error.js +4 -4
  34. package/dist/cjs/preset/core-plugin/index.js +2 -2
  35. package/dist/cjs/quick-insert/utils.js +2 -2
  36. package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +2 -2
  37. package/dist/cjs/resizer/Resizer.js +2 -2
  38. package/dist/cjs/safe-plugin/index.js +2 -2
  39. package/dist/cjs/selection/getLocalIdsFromSelection.js +3 -3
  40. package/dist/cjs/styles/shared/table.js +2 -2
  41. package/dist/cjs/table/SortingIcon.js +2 -2
  42. package/dist/cjs/ui/DropList/index.js +4 -4
  43. package/dist/cjs/ui/FloatingToolbar/Button.js +3 -3
  44. package/dist/cjs/ui/HoverLinkOverlay/index.js +3 -3
  45. package/dist/cjs/ui/Layer/index.js +4 -4
  46. package/dist/cjs/ui/MediaSingle/index.js +4 -4
  47. package/dist/cjs/ui/MediaSingle/styled.js +2 -2
  48. package/dist/cjs/ui/Mention/mention-with-profilecard.js +2 -2
  49. package/dist/cjs/ui/UnsupportedBlock/index.js +2 -2
  50. package/dist/cjs/ui/UnsupportedInline/index.js +2 -2
  51. package/dist/cjs/ui/WidthProvider/index.js +2 -2
  52. package/dist/cjs/ui-color/ColorPalette/Color/index.js +2 -2
  53. package/dist/cjs/ui-menu/ColorPickerButton/index.js +4 -4
  54. package/dist/cjs/ui-menu/DropdownMenu/index.js +8 -6
  55. package/dist/cjs/ui-menu/ToolbarButton/index.js +2 -2
  56. package/dist/cjs/utils/annotation/index.js +5 -5
  57. package/dist/cjs/utils/compareNodes.js +2 -2
  58. package/dist/cjs/utils/createRule.js +2 -2
  59. package/dist/cjs/utils/processRawValue.js +3 -3
  60. package/dist/cjs/utils/validator.js +6 -6
  61. package/dist/cjs/vanilla-tooltip/index.js +2 -2
  62. package/dist/es2019/code-block/index.js +1 -1
  63. package/dist/es2019/doc-utils/editor-use-only.js +2 -2
  64. package/dist/es2019/element-browser/components/CategoryList.js +1 -1
  65. package/dist/es2019/element-browser/components/ElementBrowserLoader.js +1 -1
  66. package/dist/es2019/element-browser/components/ElementList/ElementList.js +2 -2
  67. package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -1
  68. package/dist/es2019/element-browser/components/ElementSearch.js +1 -1
  69. package/dist/es2019/element-browser/components/ViewMore.js +2 -1
  70. package/dist/es2019/element-browser/hooks/use-container-width.js +1 -1
  71. package/dist/es2019/element-browser/hooks/use-select-and-focus-on-arrow-navigation.js +1 -1
  72. package/dist/es2019/extensibility/Extension/Extension/index.js +1 -1
  73. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  74. package/dist/es2019/extensibility/ExtensionComponent.js +1 -1
  75. package/dist/es2019/extensibility/extensionNodeView.js +1 -1
  76. package/dist/es2019/extensions/extension-handlers.js +1 -1
  77. package/dist/es2019/floating-toolbar/DropdownMenuItem.js +2 -2
  78. package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +3 -1
  79. package/dist/es2019/link/ConfigureLinkOverlay/StyledButton.js +1 -1
  80. package/dist/es2019/link/ConfigureLinkOverlay/index.js +1 -1
  81. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  82. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/utils.js +1 -1
  83. package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -1
  84. package/dist/es2019/mark/commands.js +1 -1
  85. package/dist/es2019/media-inline/inline-image-card.js +1 -1
  86. package/dist/es2019/media-inline/media-inline-image-card.js +1 -1
  87. package/dist/es2019/media-inline/views/error-view.js +1 -1
  88. package/dist/es2019/media-inline/views/loading-view.js +1 -1
  89. package/dist/es2019/media-single/CommentBadge.js +2 -2
  90. package/dist/es2019/media-single/CommentBadgeNext.js +1 -1
  91. package/dist/es2019/media-single/ExternalImageBadge.js +1 -1
  92. package/dist/es2019/media-single/MediaBadges.js +1 -1
  93. package/dist/es2019/monitoring/error.js +2 -2
  94. package/dist/es2019/preset/core-plugin/index.js +1 -1
  95. package/dist/es2019/quick-insert/utils.js +1 -1
  96. package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +1 -1
  97. package/dist/es2019/resizer/Resizer.js +1 -1
  98. package/dist/es2019/safe-plugin/index.js +1 -1
  99. package/dist/es2019/selection/getLocalIdsFromSelection.js +1 -1
  100. package/dist/es2019/styles/shared/table.js +1 -1
  101. package/dist/es2019/table/SortingIcon.js +1 -1
  102. package/dist/es2019/ui/DropList/index.js +2 -2
  103. package/dist/es2019/ui/FloatingToolbar/Button.js +2 -2
  104. package/dist/es2019/ui/HoverLinkOverlay/index.js +1 -1
  105. package/dist/es2019/ui/Layer/index.js +2 -2
  106. package/dist/es2019/ui/MediaSingle/index.js +1 -1
  107. package/dist/es2019/ui/MediaSingle/styled.js +1 -1
  108. package/dist/es2019/ui/Mention/mention-with-profilecard.js +1 -1
  109. package/dist/es2019/ui/UnsupportedBlock/index.js +1 -1
  110. package/dist/es2019/ui/UnsupportedInline/index.js +1 -1
  111. package/dist/es2019/ui/WidthProvider/index.js +1 -1
  112. package/dist/es2019/ui-color/ColorPalette/Color/index.js +1 -1
  113. package/dist/es2019/ui-menu/ColorPickerButton/index.js +2 -2
  114. package/dist/es2019/ui-menu/DropdownMenu/index.js +4 -2
  115. package/dist/es2019/ui-menu/ToolbarButton/index.js +1 -1
  116. package/dist/es2019/utils/annotation/index.js +1 -1
  117. package/dist/es2019/utils/compareNodes.js +1 -1
  118. package/dist/es2019/utils/createRule.js +1 -1
  119. package/dist/es2019/utils/processRawValue.js +1 -1
  120. package/dist/es2019/utils/validator.js +1 -1
  121. package/dist/es2019/vanilla-tooltip/index.js +1 -1
  122. package/dist/esm/code-block/index.js +1 -1
  123. package/dist/esm/doc-utils/editor-use-only.js +2 -2
  124. package/dist/esm/element-browser/components/CategoryList.js +1 -1
  125. package/dist/esm/element-browser/components/ElementBrowserLoader.js +1 -1
  126. package/dist/esm/element-browser/components/ElementList/ElementList.js +2 -2
  127. package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -1
  128. package/dist/esm/element-browser/components/ElementSearch.js +1 -1
  129. package/dist/esm/element-browser/components/ViewMore.js +2 -1
  130. package/dist/esm/element-browser/hooks/use-container-width.js +1 -1
  131. package/dist/esm/element-browser/hooks/use-select-and-focus-on-arrow-navigation.js +1 -1
  132. package/dist/esm/extensibility/Extension/Extension/index.js +1 -1
  133. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  134. package/dist/esm/extensibility/ExtensionComponent.js +1 -1
  135. package/dist/esm/extensibility/extensionNodeView.js +1 -1
  136. package/dist/esm/extensions/extension-handlers.js +1 -1
  137. package/dist/esm/floating-toolbar/DropdownMenuItem.js +2 -2
  138. package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +3 -1
  139. package/dist/esm/link/ConfigureLinkOverlay/StyledButton.js +1 -1
  140. package/dist/esm/link/ConfigureLinkOverlay/index.js +1 -1
  141. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  142. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/utils.js +1 -1
  143. package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -1
  144. package/dist/esm/mark/commands.js +1 -1
  145. package/dist/esm/media-inline/inline-image-card.js +1 -1
  146. package/dist/esm/media-inline/media-inline-image-card.js +1 -1
  147. package/dist/esm/media-inline/views/error-view.js +1 -1
  148. package/dist/esm/media-inline/views/loading-view.js +1 -1
  149. package/dist/esm/media-single/CommentBadge.js +2 -2
  150. package/dist/esm/media-single/CommentBadgeNext.js +1 -1
  151. package/dist/esm/media-single/ExternalImageBadge.js +1 -1
  152. package/dist/esm/media-single/MediaBadges.js +1 -1
  153. package/dist/esm/monitoring/error.js +2 -2
  154. package/dist/esm/preset/core-plugin/index.js +1 -1
  155. package/dist/esm/quick-insert/utils.js +1 -1
  156. package/dist/esm/react-node-view/getInlineNodeViewProducer.js +1 -1
  157. package/dist/esm/resizer/Resizer.js +1 -1
  158. package/dist/esm/safe-plugin/index.js +1 -1
  159. package/dist/esm/selection/getLocalIdsFromSelection.js +1 -1
  160. package/dist/esm/styles/shared/table.js +1 -1
  161. package/dist/esm/table/SortingIcon.js +1 -1
  162. package/dist/esm/ui/DropList/index.js +2 -2
  163. package/dist/esm/ui/FloatingToolbar/Button.js +2 -2
  164. package/dist/esm/ui/HoverLinkOverlay/index.js +1 -1
  165. package/dist/esm/ui/Layer/index.js +2 -2
  166. package/dist/esm/ui/MediaSingle/index.js +1 -1
  167. package/dist/esm/ui/MediaSingle/styled.js +1 -1
  168. package/dist/esm/ui/Mention/mention-with-profilecard.js +1 -1
  169. package/dist/esm/ui/UnsupportedBlock/index.js +1 -1
  170. package/dist/esm/ui/UnsupportedInline/index.js +1 -1
  171. package/dist/esm/ui/WidthProvider/index.js +1 -1
  172. package/dist/esm/ui-color/ColorPalette/Color/index.js +1 -1
  173. package/dist/esm/ui-menu/ColorPickerButton/index.js +2 -2
  174. package/dist/esm/ui-menu/DropdownMenu/index.js +4 -2
  175. package/dist/esm/ui-menu/ToolbarButton/index.js +1 -1
  176. package/dist/esm/utils/annotation/index.js +1 -1
  177. package/dist/esm/utils/compareNodes.js +1 -1
  178. package/dist/esm/utils/createRule.js +1 -1
  179. package/dist/esm/utils/processRawValue.js +1 -1
  180. package/dist/esm/utils/validator.js +1 -1
  181. package/dist/esm/vanilla-tooltip/index.js +1 -1
  182. package/dist/types/annotation/index.d.ts +1 -1
  183. package/dist/types/card/appearancePropsMap.d.ts +1 -1
  184. package/dist/types/card/types.d.ts +1 -1
  185. package/dist/types/collab/index.d.ts +2 -2
  186. package/dist/types/element-browser/components/CategoryList.d.ts +2 -1
  187. package/dist/types/element-browser/components/ElementList/ElementList.d.ts +2 -1
  188. package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +2 -1
  189. package/dist/types/floating-toolbar/DropdownMenuItem.d.ts +1 -1
  190. package/dist/types/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -1
  191. package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
  192. package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +1 -1
  193. package/dist/types/lists/replace-content.d.ts +1 -1
  194. package/dist/types/media-inline/types.d.ts +1 -1
  195. package/dist/types/preset/core-plugin/requestDocument.d.ts +1 -1
  196. package/dist/types/resizer/Resizer.d.ts +1 -1
  197. package/dist/types/resizer/useBreakoutGuidelines.d.ts +1 -1
  198. package/dist/types/types/annotation/index.d.ts +1 -1
  199. package/dist/types/types/editor-actions.d.ts +1 -1
  200. package/dist/types/types/editor-react-context.d.ts +1 -1
  201. package/dist/types/types/floating-toolbar.d.ts +1 -1
  202. package/dist/types/types/next-editor-plugin.d.ts +1 -1
  203. package/dist/types/types/selection.d.ts +1 -1
  204. package/dist/types/ui/DropList/index.d.ts +2 -1
  205. package/dist/types/ui/FloatingToolbar/Button.d.ts +1 -1
  206. package/dist/types/ui/Layer/internal/helpers.d.ts +1 -1
  207. package/dist/types/ui/ResizerLegacy/types.d.ts +1 -1
  208. package/dist/types/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
  209. package/dist/types/ui-menu/ColorPickerButton/index.d.ts +2 -1
  210. package/dist/types/ui-menu/ToolbarButton/index.d.ts +2 -2
  211. package/dist/types/utils/editor-core-utils.d.ts +1 -1
  212. package/dist/types/utils/extractSliceFromStep.d.ts +1 -1
  213. package/dist/types/utils/filter/privacy-filter.d.ts +1 -1
  214. package/dist/types/utils/nodes.d.ts +1 -1
  215. package/dist/types/utils/page-element-counts.d.ts +1 -1
  216. package/dist/types/utils/stepHasSlice.d.ts +1 -1
  217. package/package.json +2 -2
@@ -4,7 +4,7 @@ import InfoIcon from '@atlaskit/icon/core/status-information';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
5
  import { Box, xcss } from '@atlaskit/primitives';
6
6
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
- import Tooltip from '@atlaskit/tooltip';
7
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
8
8
  import { externalMediaMessages } from '../media';
9
9
  var baseStyles = xcss({
10
10
  borderRadius: 'radius.small',
@@ -1,7 +1,7 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import React, { useEffect, useState } from 'react';
3
3
  import debounce from 'lodash/debounce';
4
- import { fg } from '@atlaskit/platform-feature-flags';
4
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
5
5
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
6
6
  import { Box, xcss } from '@atlaskit/primitives';
7
7
  var MEDIA_BADGE_VISIBILITY_BREAKPOINT = 200;
@@ -5,7 +5,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
5
5
  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; }
6
6
  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; }
7
7
  import { Integrations } from '@sentry/browser';
8
- import { fg } from '@atlaskit/platform-feature-flags';
8
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
9
9
  import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
 
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
20
20
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
21
21
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
22
22
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
23
- var packageVersion = "119.16.1";
23
+ var packageVersion = "119.16.2";
24
24
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
25
25
  // Remove URL as it has UGC
26
26
  // Ignored via go/ees007
@@ -1,5 +1,5 @@
1
1
  import { Node } from '@atlaskit/editor-prosemirror/model';
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
4
  import { getNodeIdProvider } from '../../node-anchor/node-anchor-provider';
5
5
  import { processRawFragmentValue } from '../../utils/processRawFragmentValue';
@@ -4,7 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
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
  import Fuse from 'fuse.js';
6
6
  import memoizeOne from 'memoize-one';
7
- import { fg } from '@atlaskit/platform-feature-flags';
7
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
8
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
9
  import { boostNativeResultsAboveSkills } from './boost-native-results-above-skills';
10
10
  var processQuickInsertItems = function processQuickInsertItems(items, intl) {
@@ -11,7 +11,7 @@ import React from 'react';
11
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
12
  import { jsx } from '@emotion/react';
13
13
  import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
14
- import { fg } from '@atlaskit/platform-feature-flags';
14
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
15
15
  import { ACTION_SUBJECT, ACTION_SUBJECT_ID } from '../analytics';
16
16
  import { isSSR } from '../core-utils/is-ssr';
17
17
  import { ErrorBoundary } from '../ui/ErrorBoundary';
@@ -15,7 +15,7 @@ import { Box, xcss } from '@atlaskit/primitives';
15
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
16
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
17
17
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
18
- import Tooltip from '@atlaskit/tooltip';
18
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
19
19
  import { messages } from '../messages/breakout';
20
20
  import { handleWrapperClass, resizerDangerClassName, resizerExtendedZone, resizerHandleClassName, resizerHandleThumbClassName, resizerHandleTrackClassName, resizerHandleZIndex, resizerHoverZoneClassName, resizerItemClassName } from '../styles/shared/resizer';
21
21
  var resizerLabelStyles = xcss({
@@ -12,7 +12,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
12
12
  // oxlint-disable-next-line import/no-duplicates
13
13
 
14
14
  import { Plugin } from '@atlaskit/editor-prosemirror/state';
15
- import { fg } from '@atlaskit/platform-feature-flags';
15
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
16
16
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
17
  import { isSSR } from '../core-utils/is-ssr';
18
18
  import { getNodeIdProvider } from '../node-anchor/node-anchor-provider';
@@ -1,7 +1,7 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
3
3
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
4
- import { fg } from '@atlaskit/platform-feature-flags';
4
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
5
5
  import { getSliceFromSelection } from './context-helpers';
6
6
 
7
7
  /**
@@ -5,7 +5,7 @@ var _templateObject, _templateObject2;
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
6
  import { css } from '@emotion/react';
7
7
  import { akEditorSelectedNodeClassName, akEditorTableNumberColumnWidth, overflowShadow } from '@atlaskit/editor-shared-styles';
8
- import { fg } from '@atlaskit/platform-feature-flags';
8
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
9
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
10
10
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
11
11
  import { getBrowserInfo } from '../../utils/browser';
@@ -10,7 +10,7 @@ var _templateObject, _templateObject2;
10
10
  import { css, jsx } from '@emotion/react';
11
11
  import { injectIntl } from 'react-intl';
12
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
- import Tooltip from '@atlaskit/tooltip';
13
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
14
14
  import { SortOrder } from '../types';
15
15
  import { SORTABLE_COLUMN_ICON_CLASSNAME } from './consts';
16
16
  import { NewSortingIcon } from './NewSortingIcon';
@@ -18,10 +18,10 @@ import { css, jsx, keyframes } from '@emotion/react';
18
18
  import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
19
19
  import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
- import { fg } from '@atlaskit/platform-feature-flags';
21
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "119.16.1";
24
+ var packageVersion = "119.16.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -5,9 +5,9 @@ var _excluded = ["buttonStyles"];
5
5
  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; }
6
6
  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; }
7
7
  import React, { forwardRef, useCallback, useEffect } from 'react';
8
- import Button from '@atlaskit/button/custom-theme-button';
8
+ import Button from '@atlaskit/button/custom-theme-button/custom-theme-button';
9
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
10
- import Tooltip from '@atlaskit/tooltip';
10
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
11
11
  import { iconOnlySpacing } from './iconOnlySpacing';
12
12
  import { getButtonStyles } from './styles';
13
13
  var customSizeAndPadding = {
@@ -16,7 +16,7 @@ import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize } from '
16
16
  import GrowDiagonalIcon from '@atlaskit/icon/core/grow-diagonal';
17
17
  import LinkExternalIcon from '@atlaskit/icon/core/link-external';
18
18
  import PanelRightIcon from '@atlaskit/icon/core/panel-right';
19
- import { fg } from '@atlaskit/platform-feature-flags';
19
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
20
20
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
21
  import { Anchor, Box, Text, xcss } from '@atlaskit/primitives';
22
22
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -13,8 +13,8 @@ import React, { Component, useLayoutEffect, useMemo, useRef, useState } from 're
13
13
  import Popper from 'popper.js';
14
14
  // eslint-disable-line import/extensions
15
15
  import rafSchedule from 'raf-schd';
16
- import { fg } from '@atlaskit/platform-feature-flags';
17
- import { Popper as WrappedPopper } from '@atlaskit/popper/popper';
16
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
17
+ import { Popper as WrappedPopper } from '@atlaskit/popper/main';
18
18
  import { positionPropToPopperPosition } from './internal/helpers';
19
19
  var defaultState = {
20
20
  hasExtractedStyles: false,
@@ -10,7 +10,7 @@ import React from 'react';
10
10
  import { jsx } from '@emotion/react';
11
11
  import classnames from 'classnames';
12
12
  import { akEditorMediaResizeHandlerPaddingWide, DEFAULT_EMBED_CARD_WIDTH } from '@atlaskit/editor-shared-styles';
13
- import { fg } from '@atlaskit/platform-feature-flags';
13
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
14
14
  import { VcMediaWrapperProps } from '@atlaskit/react-ufo/vc-media';
15
15
  import { MEDIA_SINGLE_GUTTER_SIZE } from '../../media-single/constants';
16
16
  import { getMediaSinglePixelWidth } from '../../media-single/getMediaSinglePixelWidth';
@@ -13,7 +13,7 @@ import React from 'react';
13
13
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
14
14
  import { css, jsx } from '@emotion/react';
15
15
  import { akEditorDefaultLayoutWidth, akEditorFullPageMaxWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
16
- import { fg } from '@atlaskit/platform-feature-flags';
16
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
17
17
  import { nonWrappedLayouts } from '../../utils';
18
18
  import { calcBreakoutWidth, calcWideWidth } from '../../utils/breakout';
19
19
  import { calcResizedWidth } from './calcResizedWidth';
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
2
2
  import Loadable from 'react-loadable';
3
3
  import { ResourcedMention } from '@atlaskit/mention';
4
4
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
5
- import { fg } from '@atlaskit/platform-feature-flags';
5
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
6
6
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
7
7
  import { Anchor } from '@atlaskit/primitives/anchor';
8
8
  import ProfileCardTrigger from '@atlaskit/profilecard/user';
@@ -9,7 +9,7 @@ import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl';
10
10
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
11
11
  import QuestionsIcon from '@atlaskit/icon/core/question-circle';
12
- import Tooltip from '@atlaskit/tooltip';
12
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
13
13
  import { ACTION_SUBJECT_ID } from '../../analytics';
14
14
  import { unsupportedContentMessages } from '../../messages/unsupportedContent';
15
15
  import { trackUnsupportedContentTooltipDisplayedFor } from '../../utils/track-unsupported-content';
@@ -9,7 +9,7 @@ import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl';
10
10
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
11
11
  import QuestionsIcon from '@atlaskit/icon/core/question-circle';
12
- import Tooltip from '@atlaskit/tooltip';
12
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
13
13
  import { ACTION_SUBJECT_ID } from '../../analytics';
14
14
  import { unsupportedContentMessages } from '../../messages/unsupportedContent';
15
15
  import { trackUnsupportedContentTooltipDisplayedFor } from '../../utils/track-unsupported-content';
@@ -9,7 +9,7 @@ import React, { Fragment, useContext, useMemo, useRef, useState } from 'react';
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import memoizeOne from 'memoize-one';
11
11
  import rafSchedule from 'raf-schd';
12
- import { WidthObserver } from '@atlaskit/width-detector';
12
+ import { WidthObserver } from '@atlaskit/width-detector/width-observer';
13
13
  import { isSSR } from '../../core-utils/is-ssr';
14
14
  var styles = css({
15
15
  position: 'relative',
@@ -6,7 +6,7 @@ import React from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
7
7
  import { jsx } from '@emotion/react';
8
8
  import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
9
- import Tooltip from '@atlaskit/tooltip';
9
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
10
10
  import { buttonStyle, buttonWrapperStyle } from './styles';
11
11
  var Color = function Color(props) {
12
12
  var autoFocus = props.autoFocus,
@@ -10,13 +10,13 @@ import { css, jsx } from '@emotion/react';
10
10
  import { useIntl } from 'react-intl';
11
11
  import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
12
12
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
13
- import Button from '@atlaskit/button/new';
13
+ import Button from '@atlaskit/button/default/button';
14
14
  import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
15
15
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
16
16
  import { Box, xcss, Inline } from '@atlaskit/primitives';
17
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
18
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
19
- import Tooltip from '@atlaskit/tooltip';
19
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
20
20
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
21
21
  import { colorPickerButtonMessages } from '../../messages/color-picker-button';
22
22
  import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
@@ -26,10 +26,12 @@ import React, { PureComponent, useCallback, useContext, useMemo } from 'react';
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
27
27
  import { css, jsx } from '@emotion/react';
28
28
  import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
29
- import { CustomItem, MenuGroup, Section } from '@atlaskit/menu';
29
+ import CustomItem from '@atlaskit/menu/custom-item';
30
+ import MenuGroup from '@atlaskit/menu/menu-group';
31
+ import Section from '@atlaskit/menu/section';
30
32
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
31
33
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
32
- import Tooltip from '@atlaskit/tooltip';
34
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
33
35
  import { DropdownMenuSharedCssClassName } from '../../styles';
34
36
  import { KeyDownHandlerContext } from '../../ui-menu/ToolbarArrowKeyNavigationProvider';
35
37
  import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners } from '../../ui-react';
@@ -12,7 +12,7 @@ import React, { useCallback } from 'react';
12
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
13
  import { css, jsx } from '@emotion/react';
14
14
  import { FabricChannel } from '@atlaskit/analytics-listeners/types';
15
- import Tooltip from '@atlaskit/tooltip';
15
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
16
16
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../../analytics';
17
17
  import { ToolTipContent } from '../../keymaps';
18
18
  import Button from './styles';
@@ -1,7 +1,7 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
3
3
  import { AnnotationTypes } from '@atlaskit/adf-schema';
4
- import { fg } from '@atlaskit/platform-feature-flags';
4
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
5
5
  export var canApplyAnnotationOnRange = function canApplyAnnotationOnRange(rangeSelection, doc, schema) {
6
6
  var from = rangeSelection.from,
7
7
  to = rangeSelection.to;
@@ -1,5 +1,5 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { SortOrder } from '../types';
4
4
  import { ContentType } from './ContentType';
5
5
  function getLinkMark(node) {
@@ -1,4 +1,4 @@
1
- import { closeHistory } from '@atlaskit/prosemirror-history';
1
+ import { closeHistory } from '@atlaskit/prosemirror-history/closeHistory';
2
2
  export var createRule = function createRule(match, handler) {
3
3
  var allowsBackwardMatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
4
4
  return {
@@ -1,6 +1,6 @@
1
1
  import { panelC1FallbackTransform, panelC1FallbackTransformV2, syncBlockFallbackTransform, transformDedupeMarks, transformIndentationMarks, transformInvalidMediaContent, transformMediaLinkMarks, transformNestedTablesIncomingDocument, transformNodesMissingContent, transformTextLinkCodeMarks, transformMediaSingleWidth, transformContainerNodes } from '@atlaskit/adf-utils/transforms';
2
2
  import { Node } from '@atlaskit/editor-prosemirror/model';
3
- import { fg } from '@atlaskit/platform-feature-flags';
3
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
4
4
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
5
5
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../analytics';
6
6
  import { isNestedTablesSupported } from '../nesting/isNestedTablesSupported';
@@ -4,7 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
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
  import { inlineNodes, isSafeUrl, PanelType, generateUuid as uuid } from '@atlaskit/adf-schema';
6
6
  import { defaultSchema } from '@atlaskit/adf-schema/schema-default';
7
- import { fg } from '@atlaskit/platform-feature-flags';
7
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
8
  import { isSubSupType } from './isSubSupType';
9
9
  import { markOrder } from './markOrder';
10
10
 
@@ -5,7 +5,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
5
5
  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; }
6
6
  import { createPopper as createLegacyPopper } from '@popperjs/core';
7
7
  import { bind } from 'bind-event-listener';
8
- import { fg } from '@atlaskit/platform-feature-flags';
8
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
9
9
  import { createPopper as createWrappedPopper } from '@atlaskit/popper/unsafe-imperative';
10
10
  var startingOffset = {
11
11
  name: 'offset',
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from 'events';
2
2
  import type { AnnotationId } from '@atlaskit/adf-schema';
3
- import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
3
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
4
4
  import type { AddNodeMarkStep, AddMarkStep, RemoveNodeMarkStep, RemoveMarkStep } from '@atlaskit/editor-prosemirror/transform';
5
5
  export type UpdateEvent = 'create' | 'delete' | 'resolve' | 'unresolve' | 'setselectedannotation' | 'sethoveredannotation' | 'removehoveredannotation' | 'closeinlinecomment';
6
6
  export type VisibilityEvent = 'setvisibility';
@@ -1,4 +1,4 @@
1
- import type { NewCoreIconProps } from '@atlaskit/icon';
1
+ import type { NewCoreIconProps } from '@atlaskit/icon/types';
2
2
  export declare const appearancePropsMap: {
3
3
  block: {
4
4
  icon: {
@@ -1,5 +1,5 @@
1
1
  import type { IntlShape } from 'react-intl';
2
- import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
3
3
  import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { ACTION, EditorAnalyticsAPI, INPUT_METHOD } from '../analytics';
@@ -1,10 +1,10 @@
1
1
  import type { ReactElement } from 'react';
2
2
  import type { SerializedStyles } from '@emotion/react';
3
3
  import type { BatchAttrsStep, OverrideDocumentStepJSON as OverrideDocumentStep } from '@atlaskit/adf-schema/steps';
4
- import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
4
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
5
5
  import type { Node as PMNode, Slice } from '@atlaskit/editor-prosemirror/model';
6
6
  import type { EditorState, ReadonlyTransaction, Transaction } from '@atlaskit/editor-prosemirror/state';
7
- import type { Step } from '@atlaskit/editor-prosemirror/transform';
7
+ import type { Step } from '@atlaskit/editor-prosemirror/transform-override';
8
8
  import { token } from '@atlaskit/tokens';
9
9
  import type { Providers } from '../provider-factory';
10
10
  import type { GetResolvedEditorStateReason } from '../types';
@@ -3,7 +3,8 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
6
+ import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
7
+ import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
7
8
  import type { Category } from '../types';
8
9
  interface Props {
9
10
  categories?: Category[];
@@ -6,7 +6,8 @@ import React from 'react';
6
6
  import { jsx } from '@emotion/react';
7
7
  import type { SerializedStyles } from '@emotion/react';
8
8
  import { CellMeasurerCache } from 'react-virtualized/dist/commonjs/CellMeasurer';
9
- import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
9
+ import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
10
+ import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
10
11
  import type { QuickInsertItem } from '../../../provider-factory';
11
12
  import type { EmptyStateHandler } from '../../../types';
12
13
  import type { SelectedItemProps } from '../../types';
@@ -4,7 +4,8 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import type { CellMeasurerCache } from 'react-virtualized/dist/commonjs/CellMeasurer';
7
- import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
7
+ import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
8
+ import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
8
9
  import type { QuickInsertItem } from '../../provider-factory';
9
10
  import type { EmptyStateHandler } from '../../types';
10
11
  import type { Category, Modes } from '../types';
@@ -2,7 +2,7 @@ import { jsx } from '@emotion/react';
2
2
  import type { IntlShape } from 'react-intl';
3
3
  import type { Node } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
- import type { ButtonItemProps } from '@atlaskit/menu';
5
+ import type { ButtonItemProps } from '@atlaskit/menu/types';
6
6
  import type { ExtensionAPI, ExtensionProvider } from '../extensions';
7
7
  import type { DropdownOptionT, FloatingToolbarOverflowDropdownOptions } from '../types';
8
8
  export interface Props {
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
- import type { ButtonProps } from '@atlaskit/button';
6
+ import type { ButtonProps } from '@atlaskit/button/button';
7
7
  export declare const StyledButton: ({ innerRef, ...props }: ButtonProps & {
8
8
  innerRef?: React.Ref<HTMLElement>;
9
9
  }) => jsx.JSX.Element;
@@ -3,7 +3,7 @@ import { jsx } from '@emotion/react';
3
3
  import type { SerializedStyles } from '@emotion/react';
4
4
  import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
5
5
  import type { ActivityProvider } from '@atlaskit/activity-provider';
6
- import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
6
+ import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
7
7
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
8
8
  import type { SearchProvider } from '../../../provider-factory';
9
9
  import type { Command, LinkInputType } from '../../../types';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { CardAppearance, ProviderFactory } from '../../../provider-factory';
5
5
  import type { Command, EditorAppearance, LinkInputType, LinkPickerOptions } from '../../../types';
@@ -1,5 +1,5 @@
1
1
  import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
2
- import type { Step } from '@atlaskit/editor-prosemirror/transform';
2
+ import type { Step } from '@atlaskit/editor-prosemirror/transform-override';
3
3
  type Params = {
4
4
  $target: ResolvedPos;
5
5
  insertPosition: number;
@@ -1,5 +1,5 @@
1
1
  import type { SSR } from '@atlaskit/media-common';
2
- import type { MediaClientConfig } from '@atlaskit/media-core';
2
+ import type { MediaClientConfig } from '@atlaskit/media-core/auth';
3
3
  export type MediaInlineAttrs = {
4
4
  alt?: string;
5
5
  height?: number;
@@ -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 { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { FireAnalyticsCallback } from '../../analytics';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { CSSProperties } from 'react';
3
- import type { TooltipProps } from '@atlaskit/tooltip';
3
+ import type { TooltipProps } from '@atlaskit/tooltip/types';
4
4
  import type { EnabledHandles, HandleAlignmentMethod, HandleHighlight, HandlePositioning, HandleResize, HandleResizeStart, HandleSize, HandleStyles, ResizerAppearance, Snap } from './types';
5
5
  export type ResizerProps = {
6
6
  appearance?: ResizerAppearance;
@@ -3,8 +3,8 @@ import type { BreakoutMode, EditorContainerWidth } from '../types';
3
3
  import type { Snap } from './types';
4
4
  export declare const SNAP_GAP = 8;
5
5
  export declare function useBreakoutGuidelines(getEditorWidth: () => EditorContainerWidth | undefined, isResizing: boolean, dynamicFullWidthGuidelineOffset?: number): {
6
- snaps: Snap | null;
7
6
  currentLayout: BreakoutMode | null;
8
7
  guidelines: GuidelineConfig[];
9
8
  setCurrentWidth: (newWidth: number | null) => void;
9
+ snaps: Snap | null;
10
10
  };
@@ -1,5 +1,5 @@
1
1
  import type { AnnotationId, AnnotationTypes } from '@atlaskit/adf-schema';
2
- import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
2
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
3
3
  import type { AddNodeMarkStep, AddMarkStep, RemoveMarkStep, RemoveNodeMarkStep } from '@atlaskit/editor-prosemirror/transform';
4
4
  import type { AnnotationManager } from '../../annotation';
5
5
  import type { AnnotationState, AnnotationUpdateEmitter } from './emitter';
@@ -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 { Node } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { ResolvedEditorState } from '../collab';
@@ -1,5 +1,5 @@
1
1
  import type { IntlShape } from 'react-intl';
2
- import type { UIAnalyticsEventHandler } from '@atlaskit/analytics-next';
2
+ import type { UIAnalyticsEventHandler } from '@atlaskit/analytics-next/UIAnalyticsEvent';
3
3
  export type EditorReactContext = {
4
4
  getAtlaskitAnalyticsEventHandlers: () => UIAnalyticsEventHandler[];
5
5
  intl: IntlShape;
@@ -4,7 +4,7 @@ import type { Node, NodeType } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
6
  import type { EmojiId } from '@atlaskit/emoji/types';
7
- import type { TooltipProps } from '@atlaskit/tooltip';
7
+ import type { TooltipProps } from '@atlaskit/tooltip/types';
8
8
  import type { DispatchAnalyticsEvent } from '../analytics/types/dispatch-analytics-event';
9
9
  import type { DropdownMenuItemProps } from '../floating-toolbar';
10
10
  import type { ProviderFactory } from '../provider-factory';
@@ -4,7 +4,7 @@
4
4
  * `Presets` - if the generics get too unwieldy, we may redesign how presets
5
5
  * are put together - but for now `Builder` & `Preset` aim to beinterchangeable.
6
6
  */
7
- import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
7
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
8
8
  import type { Fragment, Node, Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
9
9
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
10
10
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -1,4 +1,4 @@
1
- import type { JSONNode } from '@atlaskit/editor-json-transformer';
1
+ import type { JSONNode } from '@atlaskit/editor-json-transformer/types';
2
2
  export interface LongPressSelectionPluginOptions {
3
3
  useLongPressSelection?: boolean;
4
4
  }
@@ -3,7 +3,8 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react';
6
- import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
6
+ import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
7
+ import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
7
8
  export interface Props extends WithAnalyticsEventsProps {
8
9
  children?: ReactNode;
9
10
  id?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { TooltipProps } from '@atlaskit/tooltip';
2
+ import type { TooltipProps } from '@atlaskit/tooltip/types';
3
3
  import type { ButtonAppearance } from '../../types';
4
4
  export interface Props {
5
5
  appearance?: ButtonAppearance;
@@ -1,2 +1,2 @@
1
- import type { Placement } from '@atlaskit/popper/popper';
1
+ import type { Placement } from '@atlaskit/popper/main';
2
2
  export declare function positionPropToPopperPosition(position: string): Placement;
@@ -1,6 +1,6 @@
1
1
  import type { RichMediaLayout } from '@atlaskit/adf-schema';
2
2
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- import type { MediaClientConfig } from '@atlaskit/media-core';
3
+ import type { MediaClientConfig } from '@atlaskit/media-core/auth';
4
4
  import type { DispatchAnalyticsEvent } from '../../analytics';
5
5
  import type { getPosHandler } from '../../react-node-view';
6
6
  import type { GridType } from '../../types';