@atlaskit/editor-common 114.41.0 → 114.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (534) hide show
  1. package/AssistiveText/package.json +17 -0
  2. package/BaseTheme/package.json +17 -0
  3. package/CHANGELOG.md +15 -0
  4. package/Caption/package.json +17 -0
  5. package/DropList/package.json +17 -0
  6. package/DropdownMenuExtensionItems/package.json +17 -0
  7. package/DropdownMenuItem/package.json +17 -0
  8. package/DropdownSeparator/package.json +17 -0
  9. package/Emoji/package.json +17 -0
  10. package/EventHandlers/package.json +17 -0
  11. package/Expand/package.json +17 -0
  12. package/Expand/sharedStyles/package.json +17 -0
  13. package/Extension/package.json +17 -0
  14. package/ExtensionComponent/package.json +17 -0
  15. package/ExtensionNodeWrapper/package.json +17 -0
  16. package/FloatingToolbar/Button/package.json +17 -0
  17. package/FloatingToolbar/Separator/package.json +17 -0
  18. package/FloatingToolbar/SmallerEditIcon/package.json +17 -0
  19. package/HoverLinkOverlay/package.json +17 -0
  20. package/IntlProviderIfMissingWrapper/package.json +17 -0
  21. package/MediaSingle/grid/package.json +17 -0
  22. package/MediaSingle/link/package.json +17 -0
  23. package/MediaSingle/package.json +17 -0
  24. package/MediaSingle/styled/package.json +17 -0
  25. package/MediaSingle/types/package.json +17 -0
  26. package/Mention/mention-with-profilecard/package.json +17 -0
  27. package/Mention/package.json +17 -0
  28. package/Messages/package.json +17 -0
  29. package/MultiBodiedExtension/package.json +17 -0
  30. package/OverflowShadow/package.json +17 -0
  31. package/OverflowShadow/shadowObserver/package.json +17 -0
  32. package/PanelTextInput/package.json +17 -0
  33. package/PanelTextInput/styles/package.json +17 -0
  34. package/Popup/package.json +17 -0
  35. package/Popup/utils/package.json +17 -0
  36. package/PortalBucket/package.json +17 -0
  37. package/PortalManager/package.json +17 -0
  38. package/ResizerLegacy/package.json +17 -0
  39. package/ResizerLegacy/styled/package.json +17 -0
  40. package/ResizerLegacy/types/package.json +17 -0
  41. package/ResizerLegacy/utils/package.json +17 -0
  42. package/SSRRenderMeasure/package.json +17 -0
  43. package/SelectionBasedNodeView/package.json +17 -0
  44. package/Shortcut/package.json +17 -0
  45. package/TableSelector/package.json +17 -0
  46. package/Toolbar/ButtonGroup/package.json +17 -0
  47. package/Toolbar/DropdownTriggerWrapper/package.json +17 -0
  48. package/Toolbar/DropdownWrapper/package.json +17 -0
  49. package/Toolbar/ExpandIcon/package.json +17 -0
  50. package/Toolbar/Separator/package.json +17 -0
  51. package/Toolbar/package.json +17 -0
  52. package/UnsupportedBlock/package.json +17 -0
  53. package/UnsupportedInline/package.json +17 -0
  54. package/UserIntentPopupWrapper/package.json +17 -0
  55. package/WidthProvider/package.json +17 -0
  56. package/WithCreateAnalyticsEvent/package.json +17 -0
  57. package/ai-messages/ai/package.json +17 -0
  58. package/ai-messages/ai-autocomplete/package.json +17 -0
  59. package/ai-messages/ai-config-items/package.json +17 -0
  60. package/ai-messages/ai-definitions/package.json +17 -0
  61. package/ai-messages/ai-experience-application/package.json +17 -0
  62. package/ai-messages/ai-failed-state/package.json +17 -0
  63. package/ai-messages/ai-languages/package.json +17 -0
  64. package/ai-messages/ai-proactive/package.json +17 -0
  65. package/ai-messages/ai-proactive-setting/package.json +17 -0
  66. package/ai-messages/ai-proactive-transform/package.json +17 -0
  67. package/ai-messages/ai-quick-prompt/package.json +17 -0
  68. package/ai-messages/ai-suggestions/package.json +17 -0
  69. package/alignment/package.json +17 -0
  70. package/analytics/api/package.json +17 -0
  71. package/analytics/fire-analytics-event/package.json +17 -0
  72. package/analytics/linking-utils/package.json +17 -0
  73. package/analytics/types/activity-session-events/package.json +17 -0
  74. package/analytics/types/ai-autocomplete-events/package.json +17 -0
  75. package/analytics/types/ai-definitions-events/package.json +17 -0
  76. package/analytics/types/ai-events/package.json +17 -0
  77. package/analytics/types/ai-inline-suggestion-events/package.json +17 -0
  78. package/analytics/types/ai-proactive-events/package.json +17 -0
  79. package/analytics/types/ai-quick-prompt-events/package.json +17 -0
  80. package/analytics/types/ai-unified-events/package.json +17 -0
  81. package/analytics/types/block-menu-events/package.json +17 -0
  82. package/analytics/types/breakout-events/package.json +17 -0
  83. package/analytics/types/color-events/package.json +17 -0
  84. package/analytics/types/dispatch-analytics-event/package.json +17 -0
  85. package/analytics/types/enums/package.json +17 -0
  86. package/analytics/types/events/package.json +17 -0
  87. package/analytics/types/experience-events/package.json +17 -0
  88. package/analytics/types/extension-events/package.json +17 -0
  89. package/analytics/types/format-events/package.json +17 -0
  90. package/analytics/types/general-events/package.json +17 -0
  91. package/analytics/types/inline-comment-events/package.json +17 -0
  92. package/analytics/types/insert-events/package.json +17 -0
  93. package/analytics/types/link-tool-bar-events/package.json +17 -0
  94. package/analytics/types/list-events/package.json +17 -0
  95. package/analytics/types/media-events/package.json +17 -0
  96. package/analytics/types/move-content-events/package.json +17 -0
  97. package/analytics/types/native-embed-events/package.json +17 -0
  98. package/analytics/types/ncs-session-step-events/package.json +17 -0
  99. package/analytics/types/node-events/package.json +17 -0
  100. package/analytics/types/paste-events/package.json +17 -0
  101. package/analytics/types/performance-report/package.json +17 -0
  102. package/analytics/types/referentiality-events/package.json +17 -0
  103. package/analytics/types/selection-events/package.json +17 -0
  104. package/analytics/types/smart-links/package.json +17 -0
  105. package/analytics/types/substitute-events/package.json +17 -0
  106. package/analytics/types/sync-block-events/package.json +17 -0
  107. package/analytics/types/table-events/package.json +17 -0
  108. package/analytics/types/telepointer-events/package.json +17 -0
  109. package/analytics/types/toolbar-button/package.json +17 -0
  110. package/analytics/types/type-ahead/package.json +17 -0
  111. package/analytics/types/utils/package.json +17 -0
  112. package/analytics/types/view-events/package.json +17 -0
  113. package/analytics/utils/package.json +17 -0
  114. package/announcer/package.json +17 -0
  115. package/assets/package.json +17 -0
  116. package/block-menu/block-link/package.json +17 -0
  117. package/block-menu/key/package.json +17 -0
  118. package/block-menu/key-deprecated/package.json +17 -0
  119. package/block-menu/messages/package.json +17 -0
  120. package/block-menu/placement/package.json +17 -0
  121. package/block-menu/rank/package.json +17 -0
  122. package/block-menu/rank-deprecated/package.json +17 -0
  123. package/block-menu/scroll-to-block-utils/package.json +17 -0
  124. package/card/LinkToolbarButtonGroup/package.json +17 -0
  125. package/card/MediaAndEmbedsToolbar/package.json +17 -0
  126. package/card/assets/card/package.json +17 -0
  127. package/card/assets/embed/package.json +17 -0
  128. package/card/assets/inline/package.json +17 -0
  129. package/card/assets/url/package.json +17 -0
  130. package/card/cardOptions/package.json +17 -0
  131. package/card/link-toolbar-button-group-options/package.json +17 -0
  132. package/card/link-toolbar-dropdown-options/package.json +17 -0
  133. package/card/types/package.json +17 -0
  134. package/card/utils/package.json +17 -0
  135. package/clear-next-sibling-margin-top/package.json +17 -0
  136. package/combine-providers/package.json +17 -0
  137. package/commands/insert-block/package.json +17 -0
  138. package/common/package.json +17 -0
  139. package/const/package.json +17 -0
  140. package/css-helper/package.json +17 -0
  141. package/custom-panel/package.json +17 -0
  142. package/dist/cjs/messages/markdown-mode.js +0 -5
  143. package/dist/cjs/monitoring/error.js +1 -1
  144. package/dist/cjs/ui/DropList/index.js +1 -1
  145. package/dist/cjs/ui-menu/Dropdown/index.js +4 -2
  146. package/dist/es2019/messages/markdown-mode.js +0 -5
  147. package/dist/es2019/monitoring/error.js +1 -1
  148. package/dist/es2019/ui/DropList/index.js +1 -1
  149. package/dist/es2019/ui-menu/Dropdown/index.js +4 -2
  150. package/dist/esm/messages/markdown-mode.js +0 -5
  151. package/dist/esm/monitoring/error.js +1 -1
  152. package/dist/esm/ui/DropList/index.js +1 -1
  153. package/dist/esm/ui-menu/Dropdown/index.js +4 -2
  154. package/dist/types/messages/markdown-mode.d.ts +0 -5
  155. package/dist/types/types/floating-toolbar.d.ts +31 -1
  156. package/dist/types/types/index.d.ts +1 -1
  157. package/dist/types/ui-menu/Dropdown/index.d.ts +1 -0
  158. package/dist/types-ts4.5/messages/markdown-mode.d.ts +0 -5
  159. package/dist/types-ts4.5/types/floating-toolbar.d.ts +31 -1
  160. package/dist/types-ts4.5/types/index.d.ts +1 -1
  161. package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +1 -0
  162. package/doc-utils/editor-use-only/package.json +17 -0
  163. package/document-logger/package.json +17 -0
  164. package/editor-ugc-token-names/package.json +17 -0
  165. package/element-browser/ElementBrowserLoader/package.json +17 -0
  166. package/element-browser/constants/package.json +17 -0
  167. package/emoji/messages/package.json +17 -0
  168. package/experiences/Experience/package.json +17 -0
  169. package/experiences/ExperienceCheck/package.json +17 -0
  170. package/experiences/ExperienceCheckComposite/package.json +17 -0
  171. package/experiences/ExperienceCheckDomMutation/package.json +17 -0
  172. package/experiences/ExperienceCheckPopupMutation/package.json +17 -0
  173. package/experiences/ExperienceCheckTimeout/package.json +17 -0
  174. package/experiences/consts/package.json +17 -0
  175. package/experiences/experience-utils/package.json +17 -0
  176. package/extensibility/types/package.json +17 -0
  177. package/extensionNodeView/package.json +17 -0
  178. package/extensions/combine-extension-providers/package.json +17 -0
  179. package/extensions/default-extension-provider/package.json +17 -0
  180. package/extensions/extension-fields-helpers/package.json +17 -0
  181. package/extensions/extension-handler/package.json +17 -0
  182. package/extensions/extension-handlers/package.json +17 -0
  183. package/extensions/extension-manifest/package.json +17 -0
  184. package/extensions/extension-manifest-common/package.json +17 -0
  185. package/extensions/extension-manifest-toolbar-item/package.json +17 -0
  186. package/extensions/extension-parameters/package.json +17 -0
  187. package/extensions/extension-provider/package.json +17 -0
  188. package/extensions/field-definitions/package.json +17 -0
  189. package/extensions/manifest-helpers/package.json +17 -0
  190. package/extensions/messages/package.json +17 -0
  191. package/extensions/module-helpers/package.json +17 -0
  192. package/extensions/types/utils/package.json +17 -0
  193. package/fallback/package.json +17 -0
  194. package/floating-toolbar/messages/package.json +17 -0
  195. package/get-editor-ugc-token/package.json +17 -0
  196. package/getInlineNodeViewProducer/package.json +17 -0
  197. package/guideline/constants/package.json +17 -0
  198. package/guideline/defaultGuideline/package.json +17 -0
  199. package/guideline/dynamicGuideline/package.json +17 -0
  200. package/guideline/fixedGuideline/package.json +17 -0
  201. package/guideline/relativeGuideline/package.json +17 -0
  202. package/guideline/snapping/package.json +17 -0
  203. package/guideline/types/package.json +17 -0
  204. package/guideline/updateGuideline/package.json +17 -0
  205. package/guideline/utils/package.json +17 -0
  206. package/icons/BorderIcon/package.json +17 -0
  207. package/icons/DynamicStrokeIconDecoration/package.json +17 -0
  208. package/icons/PanelErrorIcon/package.json +17 -0
  209. package/icons/PanelInfoIcon/package.json +17 -0
  210. package/icons/PanelNoteIcon/package.json +17 -0
  211. package/icons/PanelSuccessIcon/package.json +17 -0
  212. package/icons/PanelWarningIcon/package.json +17 -0
  213. package/icons/SteppedRainbowIconDecoration/package.json +17 -0
  214. package/inline-image-wrapper/package.json +17 -0
  215. package/inside/package.json +17 -0
  216. package/is-ssr/package.json +17 -0
  217. package/keymap/package.json +17 -0
  218. package/keymaps/consts/package.json +17 -0
  219. package/lazy-node-view/types/package.json +17 -0
  220. package/link/ConfigureLinkOverlay/package.json +17 -0
  221. package/link/EditorLinkPicker/package.json +17 -0
  222. package/link/HyperlinkAddToolbar/HyperlinkAddToolbar/package.json +17 -0
  223. package/link/HyperlinkAddToolbar/package.json +17 -0
  224. package/link/HyperlinkAddToolbar/utils/package.json +17 -0
  225. package/link/LinkSearch/package.json +17 -0
  226. package/link/LinkSearch/types/package.json +17 -0
  227. package/link/LinkSearchList/package.json +17 -0
  228. package/link/LinkSearchListItem/package.json +17 -0
  229. package/link/ToolbarComponents/package.json +17 -0
  230. package/link/handleNavigation/package.json +17 -0
  231. package/link/transformTimeStamp/package.json +17 -0
  232. package/link/types/package.json +17 -0
  233. package/link/utils/package.json +17 -0
  234. package/lists/analytics/package.json +17 -0
  235. package/lists/block-mark/package.json +17 -0
  236. package/lists/build-replacement-fragment/package.json +17 -0
  237. package/lists/flatten-list/package.json +17 -0
  238. package/lists/indentation/package.json +17 -0
  239. package/lists/messages/package.json +17 -0
  240. package/lists/narrow-replacement-range/package.json +17 -0
  241. package/lists/node/package.json +17 -0
  242. package/lists/replace-content/package.json +17 -0
  243. package/lists/restore-selection/package.json +17 -0
  244. package/lists/selection/package.json +17 -0
  245. package/mark/commands/package.json +17 -0
  246. package/mark/text-formatting/package.json +17 -0
  247. package/media/altText/package.json +17 -0
  248. package/media/caption/package.json +17 -0
  249. package/media/comments/package.json +17 -0
  250. package/media/dropPlaceholder/package.json +17 -0
  251. package/media/externalMedia/package.json +17 -0
  252. package/media/imageBorder/package.json +17 -0
  253. package/media/mediaLinkingToolbar/package.json +17 -0
  254. package/media/mediaResizeAnnouncerMess/package.json +17 -0
  255. package/media/nodeviews/package.json +17 -0
  256. package/media/pixelEntry/package.json +17 -0
  257. package/media/toolbarMedia/package.json +17 -0
  258. package/media-inline/constants/package.json +17 -0
  259. package/media-inline/styles/package.json +17 -0
  260. package/media-inline/types/package.json +17 -0
  261. package/media-inline/utils/package.json +17 -0
  262. package/media-inline-image-card/package.json +17 -0
  263. package/media-single/CommentBadge/package.json +17 -0
  264. package/media-single/CommentBadgeNext/package.json +17 -0
  265. package/media-single/ExternalImageBadge/package.json +17 -0
  266. package/media-single/MediaBadges/package.json +17 -0
  267. package/media-single/constants/package.json +17 -0
  268. package/media-single/utils/package.json +17 -0
  269. package/messages/annotation/package.json +17 -0
  270. package/messages/avatar-group/package.json +17 -0
  271. package/messages/block-controls/package.json +17 -0
  272. package/messages/block-menu/package.json +17 -0
  273. package/messages/block-type/package.json +17 -0
  274. package/messages/breakout/package.json +17 -0
  275. package/messages/card/package.json +17 -0
  276. package/messages/codeBidiWarning/package.json +17 -0
  277. package/messages/codeBlock/package.json +17 -0
  278. package/messages/codeBlockButton/package.json +17 -0
  279. package/messages/color-picker-button/package.json +17 -0
  280. package/messages/company-hub-text-color/package.json +17 -0
  281. package/messages/context-panel/package.json +17 -0
  282. package/messages/date/package.json +17 -0
  283. package/messages/element-insert-side-panel/package.json +17 -0
  284. package/messages/find-replace/package.json +17 -0
  285. package/messages/full-page/package.json +17 -0
  286. package/messages/help-dialog/package.json +17 -0
  287. package/messages/highlight/package.json +17 -0
  288. package/messages/indentation/package.json +17 -0
  289. package/messages/insert-block/package.json +17 -0
  290. package/messages/layout/package.json +17 -0
  291. package/messages/limited-mode/package.json +17 -0
  292. package/messages/link/package.json +17 -0
  293. package/messages/link-toolbar/package.json +17 -0
  294. package/messages/list/package.json +17 -0
  295. package/messages/markdown-mode/package.json +17 -0
  296. package/messages/media-and-embed-toolbar/package.json +17 -0
  297. package/messages/media-editing/package.json +17 -0
  298. package/messages/media-insert/package.json +17 -0
  299. package/messages/mentions/package.json +17 -0
  300. package/messages/native-embed-toolbar/package.json +17 -0
  301. package/messages/panel/package.json +17 -0
  302. package/messages/paste-options-toolbar/package.json +17 -0
  303. package/messages/placeholder-text/package.json +17 -0
  304. package/messages/roleDescription/package.json +17 -0
  305. package/messages/selection-extension/package.json +17 -0
  306. package/messages/selection-toolbar/package.json +17 -0
  307. package/messages/status/package.json +17 -0
  308. package/messages/syncBlock/package.json +17 -0
  309. package/messages/table/package.json +17 -0
  310. package/messages/tasks-and-decisions/package.json +17 -0
  311. package/messages/text-color/package.json +17 -0
  312. package/messages/toolbar/package.json +17 -0
  313. package/messages/track-changes/package.json +17 -0
  314. package/messages/undo-redo/package.json +17 -0
  315. package/messages/unsupportedContent/package.json +17 -0
  316. package/monitoring/error/package.json +17 -0
  317. package/node-anchor-provider/package.json +17 -0
  318. package/node-view/package.json +17 -0
  319. package/package.json +3 -3
  320. package/paste/clipboard/package.json +17 -0
  321. package/paste/md/package.json +17 -0
  322. package/persistence-api/package.json +17 -0
  323. package/preset/builder/package.json +17 -0
  324. package/preset/editor-commands/package.json +17 -0
  325. package/preset/plugin-injection-api/package.json +17 -0
  326. package/profileSSROperation/package.json +17 -0
  327. package/provider-factory/autoformatting-provider/package.json +17 -0
  328. package/provider-factory/card-provider/package.json +17 -0
  329. package/provider-factory/context/package.json +17 -0
  330. package/provider-factory/context-identifier-provider/package.json +17 -0
  331. package/provider-factory/image-upload-provider/package.json +17 -0
  332. package/provider-factory/macro-provider/package.json +17 -0
  333. package/provider-factory/media-provider/package.json +17 -0
  334. package/provider-factory/profile-card-provider/package.json +17 -0
  335. package/provider-factory/provider-factory/package.json +17 -0
  336. package/provider-factory/quick-insert-provider/package.json +17 -0
  337. package/provider-factory/search-provider/package.json +17 -0
  338. package/provider-factory/types/package.json +17 -0
  339. package/provider-factory/with-providers/package.json +17 -0
  340. package/quick-insert/messages/package.json +17 -0
  341. package/quick-insert/utils/package.json +17 -0
  342. package/react-node-view/types/package.json +17 -0
  343. package/resizer/BreakoutResizer/package.json +17 -0
  344. package/resizer/Resizer/package.json +17 -0
  345. package/resizer/ResizerBreakoutModeLabel/package.json +17 -0
  346. package/resizer/types/package.json +17 -0
  347. package/resizer/useBreakoutGuidelines/package.json +17 -0
  348. package/selection/actions/package.json +17 -0
  349. package/selection/context-helpers/package.json +17 -0
  350. package/selection/gap-cursor/selection/package.json +17 -0
  351. package/selection/gap-cursor/styles/package.json +17 -0
  352. package/selection/is-ignored/package.json +17 -0
  353. package/selection/is-valid-target-node/package.json +17 -0
  354. package/selection/setGapCursorSelection/package.json +17 -0
  355. package/selection/types/package.json +17 -0
  356. package/selection/utils/package.json +17 -0
  357. package/styles/annotation/package.json +17 -0
  358. package/styles/blockquote/package.json +17 -0
  359. package/styles/breakout/package.json +17 -0
  360. package/styles/code-block/package.json +17 -0
  361. package/styles/date/package.json +17 -0
  362. package/styles/drag-handle/package.json +17 -0
  363. package/styles/dropdown-menu/package.json +17 -0
  364. package/styles/emoji/package.json +17 -0
  365. package/styles/expand/package.json +17 -0
  366. package/styles/extension/package.json +17 -0
  367. package/styles/grid/package.json +17 -0
  368. package/styles/headings/package.json +17 -0
  369. package/styles/layout/package.json +17 -0
  370. package/styles/lists/package.json +17 -0
  371. package/styles/media/package.json +17 -0
  372. package/styles/media-single/package.json +17 -0
  373. package/styles/mention/package.json +17 -0
  374. package/styles/native-anchor/package.json +17 -0
  375. package/styles/panel/package.json +17 -0
  376. package/styles/plugins/package.json +17 -0
  377. package/styles/resizer/package.json +17 -0
  378. package/styles/smart-card/package.json +17 -0
  379. package/styles/smartCard/package.json +17 -0
  380. package/styles/status/package.json +17 -0
  381. package/styles/sync-block/package.json +17 -0
  382. package/styles/table/package.json +17 -0
  383. package/styles/task-decision/package.json +17 -0
  384. package/styles/unsupported-content/package.json +17 -0
  385. package/sync-block/SyncBlockActionsContext/package.json +17 -0
  386. package/sync-block/constants/package.json +17 -0
  387. package/sync-block/ssr_error/package.json +17 -0
  388. package/table/SortingIcon/package.json +17 -0
  389. package/table/consts/package.json +17 -0
  390. package/table/content-mode/package.json +17 -0
  391. package/toolbar/EditorToolbarUIProvider/package.json +17 -0
  392. package/toolbar/context/package.json +17 -0
  393. package/toolbar/keys/package.json +17 -0
  394. package/toolbar/rank/package.json +17 -0
  395. package/toolbar/types/package.json +17 -0
  396. package/toolbar/utils/package.json +17 -0
  397. package/transforms/code-block/package.json +17 -0
  398. package/transforms/decision-list/package.json +17 -0
  399. package/transforms/expand/package.json +17 -0
  400. package/transforms/extension/package.json +17 -0
  401. package/transforms/layout/package.json +17 -0
  402. package/transforms/list-transforms/package.json +17 -0
  403. package/transforms/list-types/package.json +17 -0
  404. package/transforms/list-utils/package.json +17 -0
  405. package/transforms/sync-block/package.json +17 -0
  406. package/type-ahead/messages/package.json +17 -0
  407. package/types/annotation/package.json +17 -0
  408. package/types/block-controls/package.json +17 -0
  409. package/types/block-type/package.json +17 -0
  410. package/types/breakout/package.json +17 -0
  411. package/types/command/package.json +17 -0
  412. package/types/context-panel/package.json +17 -0
  413. package/types/copy-button/package.json +17 -0
  414. package/types/datasource/package.json +17 -0
  415. package/types/doc-builder/package.json +17 -0
  416. package/types/editor-actions/package.json +17 -0
  417. package/types/editor-appearance/package.json +17 -0
  418. package/types/editor-command/package.json +17 -0
  419. package/types/editor-container-width/package.json +17 -0
  420. package/types/editor-plugin/package.json +17 -0
  421. package/types/editor-react-context/package.json +17 -0
  422. package/types/emitter/package.json +17 -0
  423. package/types/empty-state-handler/package.json +17 -0
  424. package/types/feature-flags/package.json +17 -0
  425. package/types/feedback-dialog/package.json +17 -0
  426. package/types/floating-toolbar/package.json +17 -0
  427. package/types/grid/package.json +17 -0
  428. package/types/hyperlink/package.json +17 -0
  429. package/types/image-upload-reference-event/package.json +17 -0
  430. package/types/input-rules/package.json +17 -0
  431. package/types/insert-block/package.json +17 -0
  432. package/types/layout/package.json +17 -0
  433. package/types/next-editor-plugin/package.json +17 -0
  434. package/types/performance-tracking/package.json +17 -0
  435. package/types/plugin-factory/package.json +17 -0
  436. package/types/prosemirror-config/package.json +17 -0
  437. package/types/quick-insert/package.json +17 -0
  438. package/types/resizable-media-single/package.json +17 -0
  439. package/types/selection/package.json +17 -0
  440. package/types/selection-toolbar/package.json +17 -0
  441. package/types/supported-browsers/package.json +17 -0
  442. package/types/tables/package.json +17 -0
  443. package/types/text-formatting/package.json +17 -0
  444. package/types/toolbar/package.json +17 -0
  445. package/types/type-ahead/package.json +17 -0
  446. package/types/ui-components/package.json +17 -0
  447. package/types/user-preferences/package.json +17 -0
  448. package/ui-color/ColorPalette/Color/package.json +17 -0
  449. package/ui-color/ColorPalette/ColorPalette/utils/package.json +17 -0
  450. package/ui-color/ColorPalette/Palettes/common/package.json +17 -0
  451. package/ui-color/ColorPalette/borderColorPalette/package.json +17 -0
  452. package/ui-color/ColorPalette/cellBackgroundColorPalette/package.json +17 -0
  453. package/ui-color/ColorPalette/highlightColorPalette/package.json +17 -0
  454. package/ui-color/ColorPalette/package.json +17 -0
  455. package/ui-color/ColorPalette/paletteMessages/package.json +17 -0
  456. package/ui-color/ColorPalette/paletteMessagesTokenModeNames/package.json +17 -0
  457. package/ui-color/ColorPalette/panelBackgroundPalette/package.json +17 -0
  458. package/ui-color/ColorPalette/textColorPalette/package.json +17 -0
  459. package/ui-color/ColorPalette/type/package.json +17 -0
  460. package/ui-menu/ArrowKeyNavigationProvider/package.json +17 -0
  461. package/ui-menu/ArrowKeyNavigationProvider/types/package.json +17 -0
  462. package/ui-menu/ColorPaletteArrowKeyNavigationProvider/package.json +17 -0
  463. package/ui-menu/ColorPickerButton/package.json +17 -0
  464. package/ui-menu/Dropdown/package.json +17 -0
  465. package/ui-menu/DropdownContainer/package.json +17 -0
  466. package/ui-menu/DropdownMenu/package.json +17 -0
  467. package/ui-menu/DropdownMenu/types/package.json +17 -0
  468. package/ui-menu/ToolbarArrowKeyNavigationProvider/package.json +17 -0
  469. package/ui-menu/ToolbarButton/package.json +17 -0
  470. package/ui-react/ReactEditorViewContext/package.json +17 -0
  471. package/ui-react/with-react-editor-view-outer-listeners/package.json +17 -0
  472. package/useConstructor/package.json +17 -0
  473. package/usePortalProvider/package.json +17 -0
  474. package/usePreviousState/package.json +17 -0
  475. package/useSharedPluginState/package.json +17 -0
  476. package/useSharedPluginStateSelector/package.json +17 -0
  477. package/useSharedPluginStateWithSelector/package.json +17 -0
  478. package/user-intent/types/package.json +17 -0
  479. package/user-preferences/hooks/package.json +17 -0
  480. package/user-preferences/user-preferences/package.json +17 -0
  481. package/user-preferences-provider/package.json +17 -0
  482. package/utils/annotation/package.json +17 -0
  483. package/utils/autojoin/package.json +17 -0
  484. package/utils/breakout/package.json +17 -0
  485. package/utils/browser-extensions/package.json +17 -0
  486. package/utils/calculate-toolbar-position/package.json +17 -0
  487. package/utils/commands/package.json +17 -0
  488. package/utils/compare-props/package.json +17 -0
  489. package/utils/compareNodes/package.json +17 -0
  490. package/utils/compose/package.json +17 -0
  491. package/utils/create-wrap-selection-transaction/package.json +17 -0
  492. package/utils/datasource/package.json +17 -0
  493. package/utils/date/package.json +17 -0
  494. package/utils/dedupe/package.json +17 -0
  495. package/utils/dom/package.json +17 -0
  496. package/utils/editor-core-utils/package.json +17 -0
  497. package/utils/extension-handler/package.json +17 -0
  498. package/utils/get-performance-options/package.json +17 -0
  499. package/utils/get-performance-timing/package.json +17 -0
  500. package/utils/get-unsupported-content-level-data/package.json +17 -0
  501. package/utils/getModeFromTheme/package.json +17 -0
  502. package/utils/grid/package.json +17 -0
  503. package/utils/hyperlink/package.json +17 -0
  504. package/utils/imageLoader/package.json +17 -0
  505. package/utils/input-rules/package.json +17 -0
  506. package/utils/insert-node-into-ordered-list/package.json +17 -0
  507. package/utils/is-text-input/package.json +17 -0
  508. package/utils/list/package.json +17 -0
  509. package/utils/macro/package.json +17 -0
  510. package/utils/measure/package.json +17 -0
  511. package/utils/nodes/package.json +17 -0
  512. package/utils/nodes-by-localIds/package.json +17 -0
  513. package/utils/page-element-counts/package.json +17 -0
  514. package/utils/plugin-state-factory/package.json +17 -0
  515. package/utils/privacy-filter/package.json +17 -0
  516. package/utils/referentiality/package.json +17 -0
  517. package/utils/render-count/package.json +17 -0
  518. package/utils/rich-media-utils/package.json +17 -0
  519. package/utils/scroll-gutter/package.json +17 -0
  520. package/utils/should-auto-linkify-tld/package.json +17 -0
  521. package/utils/should-force-tracking/package.json +17 -0
  522. package/utils/slice/package.json +17 -0
  523. package/utils/table/package.json +17 -0
  524. package/utils/track-unsupported-content/package.json +17 -0
  525. package/utils/traversor/package.json +17 -0
  526. package/utils/types/package.json +17 -0
  527. package/utils/unsupportedContent/types/package.json +17 -0
  528. package/utils/validator/package.json +17 -0
  529. package/utils/withFeatureFlaggedComponent/package.json +17 -0
  530. package/utils/wrap-selection-in/package.json +17 -0
  531. package/validate-using-spec/package.json +17 -0
  532. package/whitespace/whitespace/package.json +17 -0
  533. package/with-outer-listeners/package.json +17 -0
  534. package/withAnalytics/package.json +17 -0
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/commands/insert-block",
3
+ "main": "../../dist/cjs/commands/insert-block.js",
4
+ "module": "../../dist/esm/commands/insert-block.js",
5
+ "module:es2019": "../../dist/es2019/commands/insert-block.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/commands/insert-block.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/commands/insert-block.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/common",
3
+ "main": "../dist/cjs/portal/common.js",
4
+ "module": "../dist/esm/portal/common.js",
5
+ "module:es2019": "../dist/es2019/portal/common.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/portal/common.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/portal/common.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/const",
3
+ "main": "../dist/cjs/ui/LinkSearch/const.js",
4
+ "module": "../dist/esm/ui/LinkSearch/const.js",
5
+ "module:es2019": "../dist/es2019/ui/LinkSearch/const.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/ui/LinkSearch/const.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/ui/LinkSearch/const.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/css-helper",
3
+ "main": "../dist/cjs/lazy-node-view/css-helper.js",
4
+ "module": "../dist/esm/lazy-node-view/css-helper.js",
5
+ "module:es2019": "../dist/es2019/lazy-node-view/css-helper.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/lazy-node-view/css-helper.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/lazy-node-view/css-helper.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/custom-panel",
3
+ "main": "../dist/cjs/quick-insert/assets/custom-panel.js",
4
+ "module": "../dist/esm/quick-insert/assets/custom-panel.js",
5
+ "module:es2019": "../dist/es2019/quick-insert/assets/custom-panel.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/quick-insert/assets/custom-panel.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/quick-insert/assets/custom-panel.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -90,11 +90,6 @@ var markdownModeMessages = exports.markdownModeMessages = (0, _reactIntl.defineM
90
90
  defaultMessage: 'Use all rich text tools',
91
91
  description: 'Body row inside the convert-to-rich-text confirmation dialog; explains that the full rich-text toolbar comes back after the conversion.'
92
92
  },
93
- confirmDialogToRichTextInstantEdits: {
94
- id: 'fabric.editor.markdownMode.confirmDialog.toRichText.instantEdits',
95
- defaultMessage: 'Edit and save as a live doc',
96
- description: 'Body row inside the convert-to-rich-text confirmation dialog; reassures the user that live-edit semantics are preserved when leaving markdown mode.'
97
- },
98
93
  confirmDialogToRichTextVersionHistory: {
99
94
  id: 'fabric.editor.markdownMode.confirmDialog.toRichText.versionHistory',
100
95
  defaultMessage: 'Restore previous drafts with version history',
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "114.40.0";
22
+ var packageVersion = "114.41.0";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "114.40.0";
27
+ var packageVersion = "114.41.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -104,7 +104,8 @@ var Dropdown = exports.Dropdown = /*#__PURE__*/function (_PureComponent) {
104
104
  alignY = _this$props.alignY,
105
105
  offset = _this$props.offset,
106
106
  _this$props$shouldFit = _this$props.shouldFitContainer,
107
- shouldFitContainer = _this$props$shouldFit === void 0 ? true : _this$props$shouldFit;
107
+ shouldFitContainer = _this$props$shouldFit === void 0 ? true : _this$props$shouldFit,
108
+ testId = _this$props.testId;
108
109
  return /*#__PURE__*/_react.default.createElement(_Popup.default, {
109
110
  target: targetProp !== null && targetProp !== void 0 ? targetProp : alignDropdownWithParentElement ? // Ignored via go/ees005
110
111
  // eslint-disable-next-line @atlaskit/editor/no-as-casting
@@ -137,7 +138,8 @@ var Dropdown = exports.Dropdown = /*#__PURE__*/function (_PureComponent) {
137
138
  onOpenChange: onOpenChange,
138
139
  position: popupPlacement.join(' '),
139
140
  shouldFitContainer: shouldFitContainer,
140
- id: dropdownListId
141
+ id: dropdownListId,
142
+ testId: testId
141
143
  }, children))));
142
144
  }
143
145
  }, {
@@ -85,11 +85,6 @@ export const markdownModeMessages = defineMessages({
85
85
  defaultMessage: 'Use all rich text tools',
86
86
  description: 'Body row inside the convert-to-rich-text confirmation dialog; explains that the full rich-text toolbar comes back after the conversion.'
87
87
  },
88
- confirmDialogToRichTextInstantEdits: {
89
- id: 'fabric.editor.markdownMode.confirmDialog.toRichText.instantEdits',
90
- defaultMessage: 'Edit and save as a live doc',
91
- description: 'Body row inside the convert-to-rich-text confirmation dialog; reassures the user that live-edit semantics are preserved when leaving markdown mode.'
92
- },
93
88
  confirmDialogToRichTextVersionHistory: {
94
89
  id: 'fabric.editor.markdownMode.confirmDialog.toRichText.versionHistory',
95
90
  defaultMessage: 'Restore previous drafts with version history',
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "114.40.0";
7
+ const packageVersion = "114.41.0";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "114.40.0";
17
+ const packageVersion = "114.41.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -78,7 +78,8 @@ export class Dropdown extends PureComponent {
78
78
  alignX,
79
79
  alignY,
80
80
  offset,
81
- shouldFitContainer = true
81
+ shouldFitContainer = true,
82
+ testId
82
83
  } = this.props;
83
84
  return /*#__PURE__*/React.createElement(Popup, {
84
85
  target: targetProp !== null && targetProp !== void 0 ? targetProp : alignDropdownWithParentElement ? // Ignored via go/ees005
@@ -112,7 +113,8 @@ export class Dropdown extends PureComponent {
112
113
  onOpenChange: onOpenChange,
113
114
  position: popupPlacement.join(' '),
114
115
  shouldFitContainer: shouldFitContainer,
115
- id: dropdownListId
116
+ id: dropdownListId,
117
+ testId: testId
116
118
  }, children))));
117
119
  }
118
120
  render() {
@@ -85,11 +85,6 @@ export var markdownModeMessages = defineMessages({
85
85
  defaultMessage: 'Use all rich text tools',
86
86
  description: 'Body row inside the convert-to-rich-text confirmation dialog; explains that the full rich-text toolbar comes back after the conversion.'
87
87
  },
88
- confirmDialogToRichTextInstantEdits: {
89
- id: 'fabric.editor.markdownMode.confirmDialog.toRichText.instantEdits',
90
- defaultMessage: 'Edit and save as a live doc',
91
- description: 'Body row inside the convert-to-rich-text confirmation dialog; reassures the user that live-edit semantics are preserved when leaving markdown mode.'
92
- },
93
88
  confirmDialogToRichTextVersionHistory: {
94
89
  id: 'fabric.editor.markdownMode.confirmDialog.toRichText.versionHistory',
95
90
  defaultMessage: 'Restore previous drafts with version history',
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "114.40.0";
13
+ var packageVersion = "114.41.0";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "114.40.0";
24
+ var packageVersion = "114.41.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -95,7 +95,8 @@ export var Dropdown = /*#__PURE__*/function (_PureComponent) {
95
95
  alignY = _this$props.alignY,
96
96
  offset = _this$props.offset,
97
97
  _this$props$shouldFit = _this$props.shouldFitContainer,
98
- shouldFitContainer = _this$props$shouldFit === void 0 ? true : _this$props$shouldFit;
98
+ shouldFitContainer = _this$props$shouldFit === void 0 ? true : _this$props$shouldFit,
99
+ testId = _this$props.testId;
99
100
  return /*#__PURE__*/React.createElement(Popup, {
100
101
  target: targetProp !== null && targetProp !== void 0 ? targetProp : alignDropdownWithParentElement ? // Ignored via go/ees005
101
102
  // eslint-disable-next-line @atlaskit/editor/no-as-casting
@@ -128,7 +129,8 @@ export var Dropdown = /*#__PURE__*/function (_PureComponent) {
128
129
  onOpenChange: onOpenChange,
129
130
  position: popupPlacement.join(' '),
130
131
  shouldFitContainer: shouldFitContainer,
131
- id: dropdownListId
132
+ id: dropdownListId,
133
+ testId: testId
132
134
  }, children))));
133
135
  }
134
136
  }, {
@@ -68,11 +68,6 @@ export declare const markdownModeMessages: {
68
68
  description: string;
69
69
  id: string;
70
70
  };
71
- confirmDialogToRichTextInstantEdits: {
72
- defaultMessage: string;
73
- description: string;
74
- id: string;
75
- };
76
71
  confirmDialogToRichTextStandardTools: {
77
72
  defaultMessage: string;
78
73
  description: string;
@@ -184,6 +184,36 @@ export type FloatingToolbarInput<T extends Object> = {
184
184
  title?: string;
185
185
  type: 'input';
186
186
  };
187
+ export type FloatingToolbarCustomRenderContext = {
188
+ /**
189
+ * Element used as the boundary for positioning floating toolbar popups.
190
+ * Custom toolbar items should pass this through to editor popup/dropdown primitives
191
+ * so their content stays within the same visual constraints as built-in toolbar items.
192
+ */
193
+ popupsBoundariesElement?: HTMLElement;
194
+ /**
195
+ * Element that editor popups should be mounted into.
196
+ * Use this when rendering custom dropdown or popup content outside the editor DOM
197
+ * to avoid editor stacking-context issues.
198
+ */
199
+ popupsMountPoint?: HTMLElement;
200
+ /**
201
+ * Scroll container that editor popups should track when recalculating position.
202
+ * Custom toolbar items should pass this through when they need popup content to
203
+ * remain visually attached to the floating toolbar while the editor scrolls.
204
+ */
205
+ popupsScrollableElement?: HTMLElement;
206
+ /**
207
+ * Whether the floating toolbar can scroll its own contents.
208
+ */
209
+ scrollable?: boolean;
210
+ /**
211
+ * Temporarily disables or re-enables parent toolbar scrolling.
212
+ * Custom dropdowns should call this while open when they need keyboard or pointer
213
+ * interaction to stay inside the dropdown rather than moving the toolbar contents.
214
+ */
215
+ setDisableParentScroll?: (disabled: boolean) => void;
216
+ };
187
217
  export type FloatingToolbarCustom<T extends Object> = {
188
218
  /**
189
219
  * By default -- the floating toolbar supports navigating between
@@ -198,7 +228,7 @@ export type FloatingToolbarCustom<T extends Object> = {
198
228
  disableArrowNavigation?: boolean;
199
229
  fallback: Array<FloatingToolbarFallbackItem<T>>;
200
230
  hidden?: boolean;
201
- render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent) => React.ReactNode;
231
+ render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, context?: FloatingToolbarCustomRenderContext) => React.ReactNode;
202
232
  supportsViewMode?: boolean;
203
233
  type: 'custom';
204
234
  };
@@ -13,7 +13,7 @@ export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags } from './feat
13
13
  export type { Browsers, Range, DisableSpellcheckByBrowser } from './supported-browsers';
14
14
  export type { EditorContainerWidth, GetEditorContainerWidth } from './editor-container-width';
15
15
  export type { EmptyStateHandler, EmptyStateHandlerParams } from './empty-state-handler';
16
- export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, ExtensionDropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, typeOption, FloatingToolbarOverflowDropdown, FloatingToolbarOverflowDropdownOptions, OverflowDropdownHeading, OverflowDropdownOption, } from './floating-toolbar';
16
+ export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, ExtensionDropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarCustomRenderContext, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, typeOption, FloatingToolbarOverflowDropdown, FloatingToolbarOverflowDropdownOptions, OverflowDropdownHeading, OverflowDropdownOption, } from './floating-toolbar';
17
17
  export type { MarkOptions, NodeOptions } from './copy-button';
18
18
  export type { ContextPanelHandler } from './context-panel';
19
19
  export type { EditorAppearance, EditorContentMode } from './editor-appearance';
@@ -20,6 +20,7 @@ export interface Props {
20
20
  scrollableElement?: HTMLElement;
21
21
  shouldFitContainer?: boolean;
22
22
  target?: HTMLElement;
23
+ testId?: string;
23
24
  trigger?: React.ReactElement<any>;
24
25
  zIndex?: number;
25
26
  }
@@ -68,11 +68,6 @@ export declare const markdownModeMessages: {
68
68
  description: string;
69
69
  id: string;
70
70
  };
71
- confirmDialogToRichTextInstantEdits: {
72
- defaultMessage: string;
73
- description: string;
74
- id: string;
75
- };
76
71
  confirmDialogToRichTextStandardTools: {
77
72
  defaultMessage: string;
78
73
  description: string;
@@ -184,6 +184,36 @@ export type FloatingToolbarInput<T extends Object> = {
184
184
  title?: string;
185
185
  type: 'input';
186
186
  };
187
+ export type FloatingToolbarCustomRenderContext = {
188
+ /**
189
+ * Element used as the boundary for positioning floating toolbar popups.
190
+ * Custom toolbar items should pass this through to editor popup/dropdown primitives
191
+ * so their content stays within the same visual constraints as built-in toolbar items.
192
+ */
193
+ popupsBoundariesElement?: HTMLElement;
194
+ /**
195
+ * Element that editor popups should be mounted into.
196
+ * Use this when rendering custom dropdown or popup content outside the editor DOM
197
+ * to avoid editor stacking-context issues.
198
+ */
199
+ popupsMountPoint?: HTMLElement;
200
+ /**
201
+ * Scroll container that editor popups should track when recalculating position.
202
+ * Custom toolbar items should pass this through when they need popup content to
203
+ * remain visually attached to the floating toolbar while the editor scrolls.
204
+ */
205
+ popupsScrollableElement?: HTMLElement;
206
+ /**
207
+ * Whether the floating toolbar can scroll its own contents.
208
+ */
209
+ scrollable?: boolean;
210
+ /**
211
+ * Temporarily disables or re-enables parent toolbar scrolling.
212
+ * Custom dropdowns should call this while open when they need keyboard or pointer
213
+ * interaction to stay inside the dropdown rather than moving the toolbar contents.
214
+ */
215
+ setDisableParentScroll?: (disabled: boolean) => void;
216
+ };
187
217
  export type FloatingToolbarCustom<T extends Object> = {
188
218
  /**
189
219
  * By default -- the floating toolbar supports navigating between
@@ -198,7 +228,7 @@ export type FloatingToolbarCustom<T extends Object> = {
198
228
  disableArrowNavigation?: boolean;
199
229
  fallback: Array<FloatingToolbarFallbackItem<T>>;
200
230
  hidden?: boolean;
201
- render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent) => React.ReactNode;
231
+ render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, context?: FloatingToolbarCustomRenderContext) => React.ReactNode;
202
232
  supportsViewMode?: boolean;
203
233
  type: 'custom';
204
234
  };
@@ -13,7 +13,7 @@ export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags } from './feat
13
13
  export type { Browsers, Range, DisableSpellcheckByBrowser } from './supported-browsers';
14
14
  export type { EditorContainerWidth, GetEditorContainerWidth } from './editor-container-width';
15
15
  export type { EmptyStateHandler, EmptyStateHandlerParams } from './empty-state-handler';
16
- export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, ExtensionDropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, typeOption, FloatingToolbarOverflowDropdown, FloatingToolbarOverflowDropdownOptions, OverflowDropdownHeading, OverflowDropdownOption, } from './floating-toolbar';
16
+ export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, ExtensionDropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarCustomRenderContext, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, typeOption, FloatingToolbarOverflowDropdown, FloatingToolbarOverflowDropdownOptions, OverflowDropdownHeading, OverflowDropdownOption, } from './floating-toolbar';
17
17
  export type { MarkOptions, NodeOptions } from './copy-button';
18
18
  export type { ContextPanelHandler } from './context-panel';
19
19
  export type { EditorAppearance, EditorContentMode } from './editor-appearance';
@@ -23,6 +23,7 @@ export interface Props {
23
23
  scrollableElement?: HTMLElement;
24
24
  shouldFitContainer?: boolean;
25
25
  target?: HTMLElement;
26
+ testId?: string;
26
27
  trigger?: React.ReactElement<any>;
27
28
  zIndex?: number;
28
29
  }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/doc-utils/editor-use-only",
3
+ "main": "../../dist/cjs/doc-utils/editor-use-only.js",
4
+ "module": "../../dist/esm/doc-utils/editor-use-only.js",
5
+ "module:es2019": "../../dist/es2019/doc-utils/editor-use-only.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/doc-utils/editor-use-only.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/doc-utils/editor-use-only.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/document-logger",
3
+ "main": "../dist/cjs/core-utils/document-logger.js",
4
+ "module": "../dist/esm/core-utils/document-logger.js",
5
+ "module:es2019": "../dist/es2019/core-utils/document-logger.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/core-utils/document-logger.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/core-utils/document-logger.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/editor-ugc-token-names",
3
+ "main": "../dist/cjs/ugc-tokens/editor-ugc-token-names.js",
4
+ "module": "../dist/esm/ugc-tokens/editor-ugc-token-names.js",
5
+ "module:es2019": "../dist/es2019/ugc-tokens/editor-ugc-token-names.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/ugc-tokens/editor-ugc-token-names.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/ugc-tokens/editor-ugc-token-names.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/element-browser/ElementBrowserLoader",
3
+ "main": "../../dist/cjs/element-browser/components/ElementBrowserLoader.js",
4
+ "module": "../../dist/esm/element-browser/components/ElementBrowserLoader.js",
5
+ "module:es2019": "../../dist/es2019/element-browser/components/ElementBrowserLoader.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/element-browser/components/ElementBrowserLoader.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/element-browser/components/ElementBrowserLoader.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/element-browser/constants",
3
+ "main": "../../dist/cjs/element-browser/constants.js",
4
+ "module": "../../dist/esm/element-browser/constants.js",
5
+ "module:es2019": "../../dist/es2019/element-browser/constants.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/element-browser/constants.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/element-browser/constants.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/emoji/messages",
3
+ "main": "../../dist/cjs/emoji/messages.js",
4
+ "module": "../../dist/esm/emoji/messages.js",
5
+ "module:es2019": "../../dist/es2019/emoji/messages.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/emoji/messages.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/emoji/messages.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/experiences/Experience",
3
+ "main": "../../dist/cjs/experiences/Experience.js",
4
+ "module": "../../dist/esm/experiences/Experience.js",
5
+ "module:es2019": "../../dist/es2019/experiences/Experience.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/experiences/Experience.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/experiences/Experience.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/experiences/ExperienceCheck",
3
+ "main": "../../dist/cjs/experiences/ExperienceCheck.js",
4
+ "module": "../../dist/esm/experiences/ExperienceCheck.js",
5
+ "module:es2019": "../../dist/es2019/experiences/ExperienceCheck.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/experiences/ExperienceCheck.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/experiences/ExperienceCheck.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/experiences/ExperienceCheckComposite",
3
+ "main": "../../dist/cjs/experiences/ExperienceCheckComposite.js",
4
+ "module": "../../dist/esm/experiences/ExperienceCheckComposite.js",
5
+ "module:es2019": "../../dist/es2019/experiences/ExperienceCheckComposite.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/experiences/ExperienceCheckComposite.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/experiences/ExperienceCheckComposite.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/experiences/ExperienceCheckDomMutation",
3
+ "main": "../../dist/cjs/experiences/ExperienceCheckDomMutation.js",
4
+ "module": "../../dist/esm/experiences/ExperienceCheckDomMutation.js",
5
+ "module:es2019": "../../dist/es2019/experiences/ExperienceCheckDomMutation.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/experiences/ExperienceCheckDomMutation.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/experiences/ExperienceCheckDomMutation.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/experiences/ExperienceCheckPopupMutation",
3
+ "main": "../../dist/cjs/experiences/ExperienceCheckPopupMutation.js",
4
+ "module": "../../dist/esm/experiences/ExperienceCheckPopupMutation.js",
5
+ "module:es2019": "../../dist/es2019/experiences/ExperienceCheckPopupMutation.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/experiences/ExperienceCheckPopupMutation.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/experiences/ExperienceCheckPopupMutation.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }