@atlaskit/editor-common 114.40.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 (549) hide show
  1. package/AssistiveText/package.json +17 -0
  2. package/BaseTheme/package.json +17 -0
  3. package/CHANGELOG.md +27 -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/rank.js +1 -1
  145. package/dist/cjs/ui/DropList/index.js +1 -1
  146. package/dist/cjs/ui-menu/Dropdown/index.js +4 -2
  147. package/dist/cjs/utils/index.js +13 -0
  148. package/dist/cjs/utils/node-type-utils.js +27 -0
  149. package/dist/es2019/messages/markdown-mode.js +0 -5
  150. package/dist/es2019/monitoring/error.js +1 -1
  151. package/dist/es2019/rank.js +1 -1
  152. package/dist/es2019/ui/DropList/index.js +1 -1
  153. package/dist/es2019/ui-menu/Dropdown/index.js +4 -2
  154. package/dist/es2019/utils/index.js +2 -1
  155. package/dist/es2019/utils/node-type-utils.js +20 -0
  156. package/dist/esm/messages/markdown-mode.js +0 -5
  157. package/dist/esm/monitoring/error.js +1 -1
  158. package/dist/esm/rank.js +1 -1
  159. package/dist/esm/ui/DropList/index.js +1 -1
  160. package/dist/esm/ui-menu/Dropdown/index.js +4 -2
  161. package/dist/esm/utils/index.js +2 -1
  162. package/dist/esm/utils/node-type-utils.js +20 -0
  163. package/dist/types/messages/markdown-mode.d.ts +0 -5
  164. package/dist/types/rank.d.ts +2 -2
  165. package/dist/types/types/floating-toolbar.d.ts +31 -1
  166. package/dist/types/types/index.d.ts +1 -1
  167. package/dist/types/ui-menu/Dropdown/index.d.ts +1 -0
  168. package/dist/types/utils/index.d.ts +1 -0
  169. package/dist/types/utils/node-type-utils.d.ts +9 -0
  170. package/dist/types-ts4.5/messages/markdown-mode.d.ts +0 -5
  171. package/dist/types-ts4.5/rank.d.ts +2 -2
  172. package/dist/types-ts4.5/types/floating-toolbar.d.ts +31 -1
  173. package/dist/types-ts4.5/types/index.d.ts +1 -1
  174. package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +1 -0
  175. package/dist/types-ts4.5/utils/index.d.ts +1 -0
  176. package/dist/types-ts4.5/utils/node-type-utils.d.ts +9 -0
  177. package/doc-utils/editor-use-only/package.json +17 -0
  178. package/document-logger/package.json +17 -0
  179. package/editor-ugc-token-names/package.json +17 -0
  180. package/element-browser/ElementBrowserLoader/package.json +17 -0
  181. package/element-browser/constants/package.json +17 -0
  182. package/emoji/messages/package.json +17 -0
  183. package/experiences/Experience/package.json +17 -0
  184. package/experiences/ExperienceCheck/package.json +17 -0
  185. package/experiences/ExperienceCheckComposite/package.json +17 -0
  186. package/experiences/ExperienceCheckDomMutation/package.json +17 -0
  187. package/experiences/ExperienceCheckPopupMutation/package.json +17 -0
  188. package/experiences/ExperienceCheckTimeout/package.json +17 -0
  189. package/experiences/consts/package.json +17 -0
  190. package/experiences/experience-utils/package.json +17 -0
  191. package/extensibility/types/package.json +17 -0
  192. package/extensionNodeView/package.json +17 -0
  193. package/extensions/combine-extension-providers/package.json +17 -0
  194. package/extensions/default-extension-provider/package.json +17 -0
  195. package/extensions/extension-fields-helpers/package.json +17 -0
  196. package/extensions/extension-handler/package.json +17 -0
  197. package/extensions/extension-handlers/package.json +17 -0
  198. package/extensions/extension-manifest/package.json +17 -0
  199. package/extensions/extension-manifest-common/package.json +17 -0
  200. package/extensions/extension-manifest-toolbar-item/package.json +17 -0
  201. package/extensions/extension-parameters/package.json +17 -0
  202. package/extensions/extension-provider/package.json +17 -0
  203. package/extensions/field-definitions/package.json +17 -0
  204. package/extensions/manifest-helpers/package.json +17 -0
  205. package/extensions/messages/package.json +17 -0
  206. package/extensions/module-helpers/package.json +17 -0
  207. package/extensions/types/utils/package.json +17 -0
  208. package/fallback/package.json +17 -0
  209. package/floating-toolbar/messages/package.json +17 -0
  210. package/get-editor-ugc-token/package.json +17 -0
  211. package/getInlineNodeViewProducer/package.json +17 -0
  212. package/guideline/constants/package.json +17 -0
  213. package/guideline/defaultGuideline/package.json +17 -0
  214. package/guideline/dynamicGuideline/package.json +17 -0
  215. package/guideline/fixedGuideline/package.json +17 -0
  216. package/guideline/relativeGuideline/package.json +17 -0
  217. package/guideline/snapping/package.json +17 -0
  218. package/guideline/types/package.json +17 -0
  219. package/guideline/updateGuideline/package.json +17 -0
  220. package/guideline/utils/package.json +17 -0
  221. package/icons/BorderIcon/package.json +17 -0
  222. package/icons/DynamicStrokeIconDecoration/package.json +17 -0
  223. package/icons/PanelErrorIcon/package.json +17 -0
  224. package/icons/PanelInfoIcon/package.json +17 -0
  225. package/icons/PanelNoteIcon/package.json +17 -0
  226. package/icons/PanelSuccessIcon/package.json +17 -0
  227. package/icons/PanelWarningIcon/package.json +17 -0
  228. package/icons/SteppedRainbowIconDecoration/package.json +17 -0
  229. package/inline-image-wrapper/package.json +17 -0
  230. package/inside/package.json +17 -0
  231. package/is-ssr/package.json +17 -0
  232. package/keymap/package.json +17 -0
  233. package/keymaps/consts/package.json +17 -0
  234. package/lazy-node-view/types/package.json +17 -0
  235. package/link/ConfigureLinkOverlay/package.json +17 -0
  236. package/link/EditorLinkPicker/package.json +17 -0
  237. package/link/HyperlinkAddToolbar/HyperlinkAddToolbar/package.json +17 -0
  238. package/link/HyperlinkAddToolbar/package.json +17 -0
  239. package/link/HyperlinkAddToolbar/utils/package.json +17 -0
  240. package/link/LinkSearch/package.json +17 -0
  241. package/link/LinkSearch/types/package.json +17 -0
  242. package/link/LinkSearchList/package.json +17 -0
  243. package/link/LinkSearchListItem/package.json +17 -0
  244. package/link/ToolbarComponents/package.json +17 -0
  245. package/link/handleNavigation/package.json +17 -0
  246. package/link/transformTimeStamp/package.json +17 -0
  247. package/link/types/package.json +17 -0
  248. package/link/utils/package.json +17 -0
  249. package/lists/analytics/package.json +17 -0
  250. package/lists/block-mark/package.json +17 -0
  251. package/lists/build-replacement-fragment/package.json +17 -0
  252. package/lists/flatten-list/package.json +17 -0
  253. package/lists/indentation/package.json +17 -0
  254. package/lists/messages/package.json +17 -0
  255. package/lists/narrow-replacement-range/package.json +17 -0
  256. package/lists/node/package.json +17 -0
  257. package/lists/replace-content/package.json +17 -0
  258. package/lists/restore-selection/package.json +17 -0
  259. package/lists/selection/package.json +17 -0
  260. package/mark/commands/package.json +17 -0
  261. package/mark/text-formatting/package.json +17 -0
  262. package/media/altText/package.json +17 -0
  263. package/media/caption/package.json +17 -0
  264. package/media/comments/package.json +17 -0
  265. package/media/dropPlaceholder/package.json +17 -0
  266. package/media/externalMedia/package.json +17 -0
  267. package/media/imageBorder/package.json +17 -0
  268. package/media/mediaLinkingToolbar/package.json +17 -0
  269. package/media/mediaResizeAnnouncerMess/package.json +17 -0
  270. package/media/nodeviews/package.json +17 -0
  271. package/media/pixelEntry/package.json +17 -0
  272. package/media/toolbarMedia/package.json +17 -0
  273. package/media-inline/constants/package.json +17 -0
  274. package/media-inline/styles/package.json +17 -0
  275. package/media-inline/types/package.json +17 -0
  276. package/media-inline/utils/package.json +17 -0
  277. package/media-inline-image-card/package.json +17 -0
  278. package/media-single/CommentBadge/package.json +17 -0
  279. package/media-single/CommentBadgeNext/package.json +17 -0
  280. package/media-single/ExternalImageBadge/package.json +17 -0
  281. package/media-single/MediaBadges/package.json +17 -0
  282. package/media-single/constants/package.json +17 -0
  283. package/media-single/utils/package.json +17 -0
  284. package/messages/annotation/package.json +17 -0
  285. package/messages/avatar-group/package.json +17 -0
  286. package/messages/block-controls/package.json +17 -0
  287. package/messages/block-menu/package.json +17 -0
  288. package/messages/block-type/package.json +17 -0
  289. package/messages/breakout/package.json +17 -0
  290. package/messages/card/package.json +17 -0
  291. package/messages/codeBidiWarning/package.json +17 -0
  292. package/messages/codeBlock/package.json +17 -0
  293. package/messages/codeBlockButton/package.json +17 -0
  294. package/messages/color-picker-button/package.json +17 -0
  295. package/messages/company-hub-text-color/package.json +17 -0
  296. package/messages/context-panel/package.json +17 -0
  297. package/messages/date/package.json +17 -0
  298. package/messages/element-insert-side-panel/package.json +17 -0
  299. package/messages/find-replace/package.json +17 -0
  300. package/messages/full-page/package.json +17 -0
  301. package/messages/help-dialog/package.json +17 -0
  302. package/messages/highlight/package.json +17 -0
  303. package/messages/indentation/package.json +17 -0
  304. package/messages/insert-block/package.json +17 -0
  305. package/messages/layout/package.json +17 -0
  306. package/messages/limited-mode/package.json +17 -0
  307. package/messages/link/package.json +17 -0
  308. package/messages/link-toolbar/package.json +17 -0
  309. package/messages/list/package.json +17 -0
  310. package/messages/markdown-mode/package.json +17 -0
  311. package/messages/media-and-embed-toolbar/package.json +17 -0
  312. package/messages/media-editing/package.json +17 -0
  313. package/messages/media-insert/package.json +17 -0
  314. package/messages/mentions/package.json +17 -0
  315. package/messages/native-embed-toolbar/package.json +17 -0
  316. package/messages/panel/package.json +17 -0
  317. package/messages/paste-options-toolbar/package.json +17 -0
  318. package/messages/placeholder-text/package.json +17 -0
  319. package/messages/roleDescription/package.json +17 -0
  320. package/messages/selection-extension/package.json +17 -0
  321. package/messages/selection-toolbar/package.json +17 -0
  322. package/messages/status/package.json +17 -0
  323. package/messages/syncBlock/package.json +17 -0
  324. package/messages/table/package.json +17 -0
  325. package/messages/tasks-and-decisions/package.json +17 -0
  326. package/messages/text-color/package.json +17 -0
  327. package/messages/toolbar/package.json +17 -0
  328. package/messages/track-changes/package.json +17 -0
  329. package/messages/undo-redo/package.json +17 -0
  330. package/messages/unsupportedContent/package.json +17 -0
  331. package/monitoring/error/package.json +17 -0
  332. package/node-anchor-provider/package.json +17 -0
  333. package/node-view/package.json +17 -0
  334. package/package.json +4 -3
  335. package/paste/clipboard/package.json +17 -0
  336. package/paste/md/package.json +17 -0
  337. package/persistence-api/package.json +17 -0
  338. package/preset/builder/package.json +17 -0
  339. package/preset/editor-commands/package.json +17 -0
  340. package/preset/plugin-injection-api/package.json +17 -0
  341. package/profileSSROperation/package.json +17 -0
  342. package/provider-factory/autoformatting-provider/package.json +17 -0
  343. package/provider-factory/card-provider/package.json +17 -0
  344. package/provider-factory/context/package.json +17 -0
  345. package/provider-factory/context-identifier-provider/package.json +17 -0
  346. package/provider-factory/image-upload-provider/package.json +17 -0
  347. package/provider-factory/macro-provider/package.json +17 -0
  348. package/provider-factory/media-provider/package.json +17 -0
  349. package/provider-factory/profile-card-provider/package.json +17 -0
  350. package/provider-factory/provider-factory/package.json +17 -0
  351. package/provider-factory/quick-insert-provider/package.json +17 -0
  352. package/provider-factory/search-provider/package.json +17 -0
  353. package/provider-factory/types/package.json +17 -0
  354. package/provider-factory/with-providers/package.json +17 -0
  355. package/quick-insert/messages/package.json +17 -0
  356. package/quick-insert/utils/package.json +17 -0
  357. package/react-node-view/types/package.json +17 -0
  358. package/resizer/BreakoutResizer/package.json +17 -0
  359. package/resizer/Resizer/package.json +17 -0
  360. package/resizer/ResizerBreakoutModeLabel/package.json +17 -0
  361. package/resizer/types/package.json +17 -0
  362. package/resizer/useBreakoutGuidelines/package.json +17 -0
  363. package/selection/actions/package.json +17 -0
  364. package/selection/context-helpers/package.json +17 -0
  365. package/selection/gap-cursor/selection/package.json +17 -0
  366. package/selection/gap-cursor/styles/package.json +17 -0
  367. package/selection/is-ignored/package.json +17 -0
  368. package/selection/is-valid-target-node/package.json +17 -0
  369. package/selection/setGapCursorSelection/package.json +17 -0
  370. package/selection/types/package.json +17 -0
  371. package/selection/utils/package.json +17 -0
  372. package/styles/annotation/package.json +17 -0
  373. package/styles/blockquote/package.json +17 -0
  374. package/styles/breakout/package.json +17 -0
  375. package/styles/code-block/package.json +17 -0
  376. package/styles/date/package.json +17 -0
  377. package/styles/drag-handle/package.json +17 -0
  378. package/styles/dropdown-menu/package.json +17 -0
  379. package/styles/emoji/package.json +17 -0
  380. package/styles/expand/package.json +17 -0
  381. package/styles/extension/package.json +17 -0
  382. package/styles/grid/package.json +17 -0
  383. package/styles/headings/package.json +17 -0
  384. package/styles/layout/package.json +17 -0
  385. package/styles/lists/package.json +17 -0
  386. package/styles/media/package.json +17 -0
  387. package/styles/media-single/package.json +17 -0
  388. package/styles/mention/package.json +17 -0
  389. package/styles/native-anchor/package.json +17 -0
  390. package/styles/panel/package.json +17 -0
  391. package/styles/plugins/package.json +17 -0
  392. package/styles/resizer/package.json +17 -0
  393. package/styles/smart-card/package.json +17 -0
  394. package/styles/smartCard/package.json +17 -0
  395. package/styles/status/package.json +17 -0
  396. package/styles/sync-block/package.json +17 -0
  397. package/styles/table/package.json +17 -0
  398. package/styles/task-decision/package.json +17 -0
  399. package/styles/unsupported-content/package.json +17 -0
  400. package/sync-block/SyncBlockActionsContext/package.json +17 -0
  401. package/sync-block/constants/package.json +17 -0
  402. package/sync-block/ssr_error/package.json +17 -0
  403. package/table/SortingIcon/package.json +17 -0
  404. package/table/consts/package.json +17 -0
  405. package/table/content-mode/package.json +17 -0
  406. package/toolbar/EditorToolbarUIProvider/package.json +17 -0
  407. package/toolbar/context/package.json +17 -0
  408. package/toolbar/keys/package.json +17 -0
  409. package/toolbar/rank/package.json +17 -0
  410. package/toolbar/types/package.json +17 -0
  411. package/toolbar/utils/package.json +17 -0
  412. package/transforms/code-block/package.json +17 -0
  413. package/transforms/decision-list/package.json +17 -0
  414. package/transforms/expand/package.json +17 -0
  415. package/transforms/extension/package.json +17 -0
  416. package/transforms/layout/package.json +17 -0
  417. package/transforms/list-transforms/package.json +17 -0
  418. package/transforms/list-types/package.json +17 -0
  419. package/transforms/list-utils/package.json +17 -0
  420. package/transforms/sync-block/package.json +17 -0
  421. package/type-ahead/messages/package.json +17 -0
  422. package/types/annotation/package.json +17 -0
  423. package/types/block-controls/package.json +17 -0
  424. package/types/block-type/package.json +17 -0
  425. package/types/breakout/package.json +17 -0
  426. package/types/command/package.json +17 -0
  427. package/types/context-panel/package.json +17 -0
  428. package/types/copy-button/package.json +17 -0
  429. package/types/datasource/package.json +17 -0
  430. package/types/doc-builder/package.json +17 -0
  431. package/types/editor-actions/package.json +17 -0
  432. package/types/editor-appearance/package.json +17 -0
  433. package/types/editor-command/package.json +17 -0
  434. package/types/editor-container-width/package.json +17 -0
  435. package/types/editor-plugin/package.json +17 -0
  436. package/types/editor-react-context/package.json +17 -0
  437. package/types/emitter/package.json +17 -0
  438. package/types/empty-state-handler/package.json +17 -0
  439. package/types/feature-flags/package.json +17 -0
  440. package/types/feedback-dialog/package.json +17 -0
  441. package/types/floating-toolbar/package.json +17 -0
  442. package/types/grid/package.json +17 -0
  443. package/types/hyperlink/package.json +17 -0
  444. package/types/image-upload-reference-event/package.json +17 -0
  445. package/types/input-rules/package.json +17 -0
  446. package/types/insert-block/package.json +17 -0
  447. package/types/layout/package.json +17 -0
  448. package/types/next-editor-plugin/package.json +17 -0
  449. package/types/performance-tracking/package.json +17 -0
  450. package/types/plugin-factory/package.json +17 -0
  451. package/types/prosemirror-config/package.json +17 -0
  452. package/types/quick-insert/package.json +17 -0
  453. package/types/resizable-media-single/package.json +17 -0
  454. package/types/selection/package.json +17 -0
  455. package/types/selection-toolbar/package.json +17 -0
  456. package/types/supported-browsers/package.json +17 -0
  457. package/types/tables/package.json +17 -0
  458. package/types/text-formatting/package.json +17 -0
  459. package/types/toolbar/package.json +17 -0
  460. package/types/type-ahead/package.json +17 -0
  461. package/types/ui-components/package.json +17 -0
  462. package/types/user-preferences/package.json +17 -0
  463. package/ui-color/ColorPalette/Color/package.json +17 -0
  464. package/ui-color/ColorPalette/ColorPalette/utils/package.json +17 -0
  465. package/ui-color/ColorPalette/Palettes/common/package.json +17 -0
  466. package/ui-color/ColorPalette/borderColorPalette/package.json +17 -0
  467. package/ui-color/ColorPalette/cellBackgroundColorPalette/package.json +17 -0
  468. package/ui-color/ColorPalette/highlightColorPalette/package.json +17 -0
  469. package/ui-color/ColorPalette/package.json +17 -0
  470. package/ui-color/ColorPalette/paletteMessages/package.json +17 -0
  471. package/ui-color/ColorPalette/paletteMessagesTokenModeNames/package.json +17 -0
  472. package/ui-color/ColorPalette/panelBackgroundPalette/package.json +17 -0
  473. package/ui-color/ColorPalette/textColorPalette/package.json +17 -0
  474. package/ui-color/ColorPalette/type/package.json +17 -0
  475. package/ui-menu/ArrowKeyNavigationProvider/package.json +17 -0
  476. package/ui-menu/ArrowKeyNavigationProvider/types/package.json +17 -0
  477. package/ui-menu/ColorPaletteArrowKeyNavigationProvider/package.json +17 -0
  478. package/ui-menu/ColorPickerButton/package.json +17 -0
  479. package/ui-menu/Dropdown/package.json +17 -0
  480. package/ui-menu/DropdownContainer/package.json +17 -0
  481. package/ui-menu/DropdownMenu/package.json +17 -0
  482. package/ui-menu/DropdownMenu/types/package.json +17 -0
  483. package/ui-menu/ToolbarArrowKeyNavigationProvider/package.json +17 -0
  484. package/ui-menu/ToolbarButton/package.json +17 -0
  485. package/ui-react/ReactEditorViewContext/package.json +17 -0
  486. package/ui-react/with-react-editor-view-outer-listeners/package.json +17 -0
  487. package/useConstructor/package.json +17 -0
  488. package/usePortalProvider/package.json +17 -0
  489. package/usePreviousState/package.json +17 -0
  490. package/useSharedPluginState/package.json +17 -0
  491. package/useSharedPluginStateSelector/package.json +17 -0
  492. package/useSharedPluginStateWithSelector/package.json +17 -0
  493. package/user-intent/types/package.json +17 -0
  494. package/user-preferences/hooks/package.json +17 -0
  495. package/user-preferences/user-preferences/package.json +17 -0
  496. package/user-preferences-provider/package.json +17 -0
  497. package/utils/annotation/package.json +17 -0
  498. package/utils/autojoin/package.json +17 -0
  499. package/utils/breakout/package.json +17 -0
  500. package/utils/browser-extensions/package.json +17 -0
  501. package/utils/calculate-toolbar-position/package.json +17 -0
  502. package/utils/commands/package.json +17 -0
  503. package/utils/compare-props/package.json +17 -0
  504. package/utils/compareNodes/package.json +17 -0
  505. package/utils/compose/package.json +17 -0
  506. package/utils/create-wrap-selection-transaction/package.json +17 -0
  507. package/utils/datasource/package.json +17 -0
  508. package/utils/date/package.json +17 -0
  509. package/utils/dedupe/package.json +17 -0
  510. package/utils/dom/package.json +17 -0
  511. package/utils/editor-core-utils/package.json +17 -0
  512. package/utils/extension-handler/package.json +17 -0
  513. package/utils/get-performance-options/package.json +17 -0
  514. package/utils/get-performance-timing/package.json +17 -0
  515. package/utils/get-unsupported-content-level-data/package.json +17 -0
  516. package/utils/getModeFromTheme/package.json +17 -0
  517. package/utils/grid/package.json +17 -0
  518. package/utils/hyperlink/package.json +17 -0
  519. package/utils/imageLoader/package.json +17 -0
  520. package/utils/input-rules/package.json +17 -0
  521. package/utils/insert-node-into-ordered-list/package.json +17 -0
  522. package/utils/is-text-input/package.json +17 -0
  523. package/utils/list/package.json +17 -0
  524. package/utils/macro/package.json +17 -0
  525. package/utils/measure/package.json +17 -0
  526. package/utils/nodes/package.json +17 -0
  527. package/utils/nodes-by-localIds/package.json +17 -0
  528. package/utils/page-element-counts/package.json +17 -0
  529. package/utils/plugin-state-factory/package.json +17 -0
  530. package/utils/privacy-filter/package.json +17 -0
  531. package/utils/referentiality/package.json +17 -0
  532. package/utils/render-count/package.json +17 -0
  533. package/utils/rich-media-utils/package.json +17 -0
  534. package/utils/scroll-gutter/package.json +17 -0
  535. package/utils/should-auto-linkify-tld/package.json +17 -0
  536. package/utils/should-force-tracking/package.json +17 -0
  537. package/utils/slice/package.json +17 -0
  538. package/utils/table/package.json +17 -0
  539. package/utils/track-unsupported-content/package.json +17 -0
  540. package/utils/traversor/package.json +17 -0
  541. package/utils/types/package.json +17 -0
  542. package/utils/unsupportedContent/types/package.json +17 -0
  543. package/utils/validator/package.json +17 -0
  544. package/utils/withFeatureFlaggedComponent/package.json +17 -0
  545. package/utils/wrap-selection-in/package.json +17 -0
  546. package/validate-using-spec/package.json +17 -0
  547. package/whitespace/whitespace/package.json +17 -0
  548. package/with-outer-listeners/package.json +17 -0
  549. 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.39.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
package/dist/cjs/rank.js CHANGED
@@ -25,7 +25,7 @@ var rankEditorPlugins = exports.rankEditorPlugins = {
25
25
  // selection keymap needs to be above gap cursor keymap so it can set node selections from
26
26
  // left/right arrows
27
27
  'selectionKeymap', 'gapCursorKeymap', 'gapCursor', 'syncUrlText', 'fakeCursorToolbarPlugin', 'hyperLink', 'table', 'tableDecorations', 'hyperlinkInputRule', 'tablePMColResizing', 'hyperlinkKeymap', 'tableColResizing', 'undoRedoKeyMap', 'blockTypeKeyMap', 'tableEditing', 'filterStepsPlugin', 'pmCollab', 'collab', 'ruleInputRule', 'ruleKeymap', 'panel', 'media', 'mediaSingleKeymap', 'mediaEditor', 'unsupportedContent', 'jiraIssue', 'helpDialog', 'helpDialogKeymap', 'macro', 'expand', 'extension', 'layout', 'contextPanel', 'selectionToolbar', 'floatingToolbar', 'clearMarksOnChange', 'reactNodeView', 'history', 'undoRedoPlugin', 'codeBlockIndent', 'placeholder', 'width', 'maxContentSize', 'multilineContent', 'grid', 'mobileDimensions', 'scrollGutterPlugin', 'analytics', 'findReplace', 'selection', 'avatarGroup', 'viewUpdateSubscription', 'beforePrimaryToolbar', 'inlineCode'],
28
- nodes: ['doc', 'paragraph', 'text', 'bulletList', 'orderedList', 'listItem', 'heading', 'blockquote', 'codeBlock', 'rule', 'panel', 'mention', 'confluenceUnsupportedBlock', 'confluenceUnsupportedInline', 'unsupportedBlock', 'unsupportedInline', 'confluenceJiraIssue', 'hardBreak', 'emoji', 'placeholder', 'mediaSingle', 'mediaGroup', 'table', 'expand', 'nestedExpand', 'media', 'tableHeader', 'decisionList', 'tableRow', 'decisionItem', 'tableCell', 'taskList', 'taskItem', 'extension', 'bodiedExtension', 'multiBodiedExtension', 'inlineExtension', 'layoutSection', 'layoutColumn', 'inlineCard', 'blockCard', 'embedCard'],
28
+ nodes: ['doc', 'paragraph', 'text', 'bulletList', 'orderedList', 'listItem', 'heading', 'blockquote', 'codeBlock', 'rule', 'panel', 'panel_c1', 'mention', 'confluenceUnsupportedBlock', 'confluenceUnsupportedInline', 'unsupportedBlock', 'unsupportedInline', 'confluenceJiraIssue', 'hardBreak', 'emoji', 'placeholder', 'mediaSingle', 'mediaGroup', 'table', 'expand', 'nestedExpand', 'media', 'tableHeader', 'decisionList', 'tableRow', 'decisionItem', 'tableCell', 'taskList', 'taskItem', 'extension', 'bodiedExtension', 'multiBodiedExtension', 'inlineExtension', 'layoutSection', 'layoutColumn', 'inlineCard', 'blockCard', 'embedCard'],
29
29
  marks: [
30
30
  // Fragment mark is both for inline and block elements
31
31
  'fragment',
@@ -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.39.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
  }, {
@@ -426,6 +426,12 @@ Object.defineProperty(exports, "getAnnotationMarksForPos", {
426
426
  return _annotation.getAnnotationMarksForPos;
427
427
  }
428
428
  });
429
+ Object.defineProperty(exports, "getBaseNodeTypeName", {
430
+ enumerable: true,
431
+ get: function get() {
432
+ return _nodeTypeUtils.getBaseNodeTypeName;
433
+ }
434
+ });
429
435
  Object.defineProperty(exports, "getBreakoutResizableNodeTypes", {
430
436
  enumerable: true,
431
437
  get: function get() {
@@ -767,6 +773,12 @@ Object.defineProperty(exports, "isNodeBeforeMediaNode", {
767
773
  }
768
774
  });
769
775
  exports.isNodeEmpty = isNodeEmpty;
776
+ Object.defineProperty(exports, "isNodeOfSameBaseType", {
777
+ enumerable: true,
778
+ get: function get() {
779
+ return _nodeTypeUtils.isNodeOfSameBaseType;
780
+ }
781
+ });
770
782
  Object.defineProperty(exports, "isNodeSelectedOrInRange", {
771
783
  enumerable: true,
772
784
  get: function get() {
@@ -1243,6 +1255,7 @@ var _calculateToolbarPosition = require("./calculate-toolbar-position");
1243
1255
  var _nodesByLocalIds = require("./nodes-by-localIds");
1244
1256
  var _pageElementCounts = require("./page-element-counts");
1245
1257
  var _withFeatureFlaggedComponent = require("./withFeatureFlaggedComponent");
1258
+ var _nodeTypeUtils = require("./node-type-utils");
1246
1259
  // Disable no-re-export rule for entry point files
1247
1260
  /* eslint-disable @atlaskit/editor/no-re-export */
1248
1261
 
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getBaseNodeTypeName = getBaseNodeTypeName;
7
+ exports.isNodeOfSameBaseType = isNodeOfSameBaseType;
8
+ /**
9
+ * Returns the base name of a node type, stripping known variant suffixes.
10
+ */
11
+ var variantToBaseNameMap = {
12
+ panel_c1: 'panel'
13
+ };
14
+ function getBaseNodeTypeName(nodeType) {
15
+ var _variantToBaseNameMap;
16
+ return (_variantToBaseNameMap = variantToBaseNameMap[nodeType.name]) !== null && _variantToBaseNameMap !== void 0 ? _variantToBaseNameMap : nodeType.name;
17
+ }
18
+
19
+ /**
20
+ * Returns true if two node types share the same base type name.
21
+ *
22
+ * Useful for comparing nodes that may exist as schema variants
23
+ * (e.g. `panel` and `panel_c1` are considered the same base type).
24
+ */
25
+ function isNodeOfSameBaseType(a, b) {
26
+ return getBaseNodeTypeName(a) === getBaseNodeTypeName(b);
27
+ }
@@ -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.39.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
@@ -17,7 +17,7 @@ export const rankEditorPlugins = {
17
17
  // selection keymap needs to be above gap cursor keymap so it can set node selections from
18
18
  // left/right arrows
19
19
  'selectionKeymap', 'gapCursorKeymap', 'gapCursor', 'syncUrlText', 'fakeCursorToolbarPlugin', 'hyperLink', 'table', 'tableDecorations', 'hyperlinkInputRule', 'tablePMColResizing', 'hyperlinkKeymap', 'tableColResizing', 'undoRedoKeyMap', 'blockTypeKeyMap', 'tableEditing', 'filterStepsPlugin', 'pmCollab', 'collab', 'ruleInputRule', 'ruleKeymap', 'panel', 'media', 'mediaSingleKeymap', 'mediaEditor', 'unsupportedContent', 'jiraIssue', 'helpDialog', 'helpDialogKeymap', 'macro', 'expand', 'extension', 'layout', 'contextPanel', 'selectionToolbar', 'floatingToolbar', 'clearMarksOnChange', 'reactNodeView', 'history', 'undoRedoPlugin', 'codeBlockIndent', 'placeholder', 'width', 'maxContentSize', 'multilineContent', 'grid', 'mobileDimensions', 'scrollGutterPlugin', 'analytics', 'findReplace', 'selection', 'avatarGroup', 'viewUpdateSubscription', 'beforePrimaryToolbar', 'inlineCode'],
20
- nodes: ['doc', 'paragraph', 'text', 'bulletList', 'orderedList', 'listItem', 'heading', 'blockquote', 'codeBlock', 'rule', 'panel', 'mention', 'confluenceUnsupportedBlock', 'confluenceUnsupportedInline', 'unsupportedBlock', 'unsupportedInline', 'confluenceJiraIssue', 'hardBreak', 'emoji', 'placeholder', 'mediaSingle', 'mediaGroup', 'table', 'expand', 'nestedExpand', 'media', 'tableHeader', 'decisionList', 'tableRow', 'decisionItem', 'tableCell', 'taskList', 'taskItem', 'extension', 'bodiedExtension', 'multiBodiedExtension', 'inlineExtension', 'layoutSection', 'layoutColumn', 'inlineCard', 'blockCard', 'embedCard'],
20
+ nodes: ['doc', 'paragraph', 'text', 'bulletList', 'orderedList', 'listItem', 'heading', 'blockquote', 'codeBlock', 'rule', 'panel', 'panel_c1', 'mention', 'confluenceUnsupportedBlock', 'confluenceUnsupportedInline', 'unsupportedBlock', 'unsupportedInline', 'confluenceJiraIssue', 'hardBreak', 'emoji', 'placeholder', 'mediaSingle', 'mediaGroup', 'table', 'expand', 'nestedExpand', 'media', 'tableHeader', 'decisionList', 'tableRow', 'decisionItem', 'tableCell', 'taskList', 'taskItem', 'extension', 'bodiedExtension', 'multiBodiedExtension', 'inlineExtension', 'layoutSection', 'layoutColumn', 'inlineCard', 'blockCard', 'embedCard'],
21
21
  marks: [
22
22
  // Fragment mark is both for inline and block elements
23
23
  'fragment',
@@ -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.39.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() {
@@ -362,4 +362,5 @@ export { toJSON, nodeToJSON } from './nodes';
362
362
  export { calculateToolbarPositionAboveSelection, calculateToolbarPositionOnCellSelection, calculateToolbarPositionTrackHead } from './calculate-toolbar-position';
363
363
  export { findNodePosByLocalIds } from './nodes-by-localIds';
364
364
  export { getPageElementCounts } from './page-element-counts';
365
- export { withFeatureFlaggedComponent } from './withFeatureFlaggedComponent';
365
+ export { withFeatureFlaggedComponent } from './withFeatureFlaggedComponent';
366
+ export { isNodeOfSameBaseType, getBaseNodeTypeName } from './node-type-utils';
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Returns the base name of a node type, stripping known variant suffixes.
3
+ */
4
+ const variantToBaseNameMap = {
5
+ panel_c1: 'panel'
6
+ };
7
+ export function getBaseNodeTypeName(nodeType) {
8
+ var _variantToBaseNameMap;
9
+ return (_variantToBaseNameMap = variantToBaseNameMap[nodeType.name]) !== null && _variantToBaseNameMap !== void 0 ? _variantToBaseNameMap : nodeType.name;
10
+ }
11
+
12
+ /**
13
+ * Returns true if two node types share the same base type name.
14
+ *
15
+ * Useful for comparing nodes that may exist as schema variants
16
+ * (e.g. `panel` and `panel_c1` are considered the same base type).
17
+ */
18
+ export function isNodeOfSameBaseType(a, b) {
19
+ return getBaseNodeTypeName(a) === getBaseNodeTypeName(b);
20
+ }
@@ -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.39.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
package/dist/esm/rank.js CHANGED
@@ -17,7 +17,7 @@ export var rankEditorPlugins = {
17
17
  // selection keymap needs to be above gap cursor keymap so it can set node selections from
18
18
  // left/right arrows
19
19
  'selectionKeymap', 'gapCursorKeymap', 'gapCursor', 'syncUrlText', 'fakeCursorToolbarPlugin', 'hyperLink', 'table', 'tableDecorations', 'hyperlinkInputRule', 'tablePMColResizing', 'hyperlinkKeymap', 'tableColResizing', 'undoRedoKeyMap', 'blockTypeKeyMap', 'tableEditing', 'filterStepsPlugin', 'pmCollab', 'collab', 'ruleInputRule', 'ruleKeymap', 'panel', 'media', 'mediaSingleKeymap', 'mediaEditor', 'unsupportedContent', 'jiraIssue', 'helpDialog', 'helpDialogKeymap', 'macro', 'expand', 'extension', 'layout', 'contextPanel', 'selectionToolbar', 'floatingToolbar', 'clearMarksOnChange', 'reactNodeView', 'history', 'undoRedoPlugin', 'codeBlockIndent', 'placeholder', 'width', 'maxContentSize', 'multilineContent', 'grid', 'mobileDimensions', 'scrollGutterPlugin', 'analytics', 'findReplace', 'selection', 'avatarGroup', 'viewUpdateSubscription', 'beforePrimaryToolbar', 'inlineCode'],
20
- nodes: ['doc', 'paragraph', 'text', 'bulletList', 'orderedList', 'listItem', 'heading', 'blockquote', 'codeBlock', 'rule', 'panel', 'mention', 'confluenceUnsupportedBlock', 'confluenceUnsupportedInline', 'unsupportedBlock', 'unsupportedInline', 'confluenceJiraIssue', 'hardBreak', 'emoji', 'placeholder', 'mediaSingle', 'mediaGroup', 'table', 'expand', 'nestedExpand', 'media', 'tableHeader', 'decisionList', 'tableRow', 'decisionItem', 'tableCell', 'taskList', 'taskItem', 'extension', 'bodiedExtension', 'multiBodiedExtension', 'inlineExtension', 'layoutSection', 'layoutColumn', 'inlineCard', 'blockCard', 'embedCard'],
20
+ nodes: ['doc', 'paragraph', 'text', 'bulletList', 'orderedList', 'listItem', 'heading', 'blockquote', 'codeBlock', 'rule', 'panel', 'panel_c1', 'mention', 'confluenceUnsupportedBlock', 'confluenceUnsupportedInline', 'unsupportedBlock', 'unsupportedInline', 'confluenceJiraIssue', 'hardBreak', 'emoji', 'placeholder', 'mediaSingle', 'mediaGroup', 'table', 'expand', 'nestedExpand', 'media', 'tableHeader', 'decisionList', 'tableRow', 'decisionItem', 'tableCell', 'taskList', 'taskItem', 'extension', 'bodiedExtension', 'multiBodiedExtension', 'inlineExtension', 'layoutSection', 'layoutColumn', 'inlineCard', 'blockCard', 'embedCard'],
21
21
  marks: [
22
22
  // Fragment mark is both for inline and block elements
23
23
  'fragment',
@@ -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.39.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
  }, {
@@ -365,4 +365,5 @@ export { toJSON, nodeToJSON } from './nodes';
365
365
  export { calculateToolbarPositionAboveSelection, calculateToolbarPositionOnCellSelection, calculateToolbarPositionTrackHead } from './calculate-toolbar-position';
366
366
  export { findNodePosByLocalIds } from './nodes-by-localIds';
367
367
  export { getPageElementCounts } from './page-element-counts';
368
- export { withFeatureFlaggedComponent } from './withFeatureFlaggedComponent';
368
+ export { withFeatureFlaggedComponent } from './withFeatureFlaggedComponent';
369
+ export { isNodeOfSameBaseType, getBaseNodeTypeName } from './node-type-utils';
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Returns the base name of a node type, stripping known variant suffixes.
3
+ */
4
+ var variantToBaseNameMap = {
5
+ panel_c1: 'panel'
6
+ };
7
+ export function getBaseNodeTypeName(nodeType) {
8
+ var _variantToBaseNameMap;
9
+ return (_variantToBaseNameMap = variantToBaseNameMap[nodeType.name]) !== null && _variantToBaseNameMap !== void 0 ? _variantToBaseNameMap : nodeType.name;
10
+ }
11
+
12
+ /**
13
+ * Returns true if two node types share the same base type name.
14
+ *
15
+ * Useful for comparing nodes that may exist as schema variants
16
+ * (e.g. `panel` and `panel_c1` are considered the same base type).
17
+ */
18
+ export function isNodeOfSameBaseType(a, b) {
19
+ return getBaseNodeTypeName(a) === getBaseNodeTypeName(b);
20
+ }
@@ -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;
@@ -1,7 +1,7 @@
1
1
  export declare const rankEditorPlugins: {
2
- plugins: string[];
3
- nodes: string[];
4
2
  marks: string[];
3
+ nodes: string[];
4
+ plugins: string[];
5
5
  };
6
6
  export declare function sortByOrder(item: 'plugins' | 'nodes' | 'marks'): (a: {
7
7
  name: 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
  }
@@ -214,3 +214,4 @@ export { findNodePosByLocalIds } from './nodes-by-localIds';
214
214
  export { getPageElementCounts } from './page-element-counts';
215
215
  export type { PageElementCounts } from './page-element-counts';
216
216
  export { withFeatureFlaggedComponent } from './withFeatureFlaggedComponent';
217
+ export { isNodeOfSameBaseType, getBaseNodeTypeName } from './node-type-utils';
@@ -0,0 +1,9 @@
1
+ import type { NodeType } from '@atlaskit/editor-prosemirror/model';
2
+ export declare function getBaseNodeTypeName(nodeType: NodeType): string;
3
+ /**
4
+ * Returns true if two node types share the same base type name.
5
+ *
6
+ * Useful for comparing nodes that may exist as schema variants
7
+ * (e.g. `panel` and `panel_c1` are considered the same base type).
8
+ */
9
+ export declare function isNodeOfSameBaseType(a: NodeType, b: NodeType): boolean;
@@ -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;
@@ -1,7 +1,7 @@
1
1
  export declare const rankEditorPlugins: {
2
- plugins: string[];
3
- nodes: string[];
4
2
  marks: string[];
3
+ nodes: string[];
4
+ plugins: string[];
5
5
  };
6
6
  export declare function sortByOrder(item: 'plugins' | 'nodes' | 'marks'): (a: {
7
7
  name: 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
  }