@atlaskit/editor-common 114.41.0 → 114.43.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 (539) hide show
  1. package/AssistiveText/package.json +17 -0
  2. package/BaseTheme/package.json +17 -0
  3. package/CHANGELOG.md +35 -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/resizer/Resizer.js +10 -8
  145. package/dist/cjs/ui/DropList/index.js +1 -1
  146. package/dist/cjs/ui-menu/Dropdown/index.js +4 -2
  147. package/dist/es2019/messages/markdown-mode.js +0 -5
  148. package/dist/es2019/monitoring/error.js +1 -1
  149. package/dist/es2019/resizer/Resizer.js +10 -8
  150. package/dist/es2019/ui/DropList/index.js +1 -1
  151. package/dist/es2019/ui-menu/Dropdown/index.js +4 -2
  152. package/dist/esm/messages/markdown-mode.js +0 -5
  153. package/dist/esm/monitoring/error.js +1 -1
  154. package/dist/esm/resizer/Resizer.js +10 -8
  155. package/dist/esm/ui/DropList/index.js +1 -1
  156. package/dist/esm/ui-menu/Dropdown/index.js +4 -2
  157. package/dist/types/analytics/types/contextual-typeahead-events.d.ts +5 -1
  158. package/dist/types/messages/markdown-mode.d.ts +0 -5
  159. package/dist/types/types/floating-toolbar.d.ts +31 -1
  160. package/dist/types/types/index.d.ts +1 -1
  161. package/dist/types/ui-menu/Dropdown/index.d.ts +1 -0
  162. package/dist/types-ts4.5/analytics/types/contextual-typeahead-events.d.ts +5 -1
  163. package/dist/types-ts4.5/messages/markdown-mode.d.ts +0 -5
  164. package/dist/types-ts4.5/types/floating-toolbar.d.ts +31 -1
  165. package/dist/types-ts4.5/types/index.d.ts +1 -1
  166. package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +1 -0
  167. package/doc-utils/editor-use-only/package.json +17 -0
  168. package/document-logger/package.json +17 -0
  169. package/editor-ugc-token-names/package.json +17 -0
  170. package/element-browser/ElementBrowserLoader/package.json +17 -0
  171. package/element-browser/constants/package.json +17 -0
  172. package/emoji/messages/package.json +17 -0
  173. package/experiences/Experience/package.json +17 -0
  174. package/experiences/ExperienceCheck/package.json +17 -0
  175. package/experiences/ExperienceCheckComposite/package.json +17 -0
  176. package/experiences/ExperienceCheckDomMutation/package.json +17 -0
  177. package/experiences/ExperienceCheckPopupMutation/package.json +17 -0
  178. package/experiences/ExperienceCheckTimeout/package.json +17 -0
  179. package/experiences/consts/package.json +17 -0
  180. package/experiences/experience-utils/package.json +17 -0
  181. package/extensibility/types/package.json +17 -0
  182. package/extensionNodeView/package.json +17 -0
  183. package/extensions/combine-extension-providers/package.json +17 -0
  184. package/extensions/default-extension-provider/package.json +17 -0
  185. package/extensions/extension-fields-helpers/package.json +17 -0
  186. package/extensions/extension-handler/package.json +17 -0
  187. package/extensions/extension-handlers/package.json +17 -0
  188. package/extensions/extension-manifest/package.json +17 -0
  189. package/extensions/extension-manifest-common/package.json +17 -0
  190. package/extensions/extension-manifest-toolbar-item/package.json +17 -0
  191. package/extensions/extension-parameters/package.json +17 -0
  192. package/extensions/extension-provider/package.json +17 -0
  193. package/extensions/field-definitions/package.json +17 -0
  194. package/extensions/manifest-helpers/package.json +17 -0
  195. package/extensions/messages/package.json +17 -0
  196. package/extensions/module-helpers/package.json +17 -0
  197. package/extensions/types/utils/package.json +17 -0
  198. package/fallback/package.json +17 -0
  199. package/floating-toolbar/messages/package.json +17 -0
  200. package/get-editor-ugc-token/package.json +17 -0
  201. package/getInlineNodeViewProducer/package.json +17 -0
  202. package/guideline/constants/package.json +17 -0
  203. package/guideline/defaultGuideline/package.json +17 -0
  204. package/guideline/dynamicGuideline/package.json +17 -0
  205. package/guideline/fixedGuideline/package.json +17 -0
  206. package/guideline/relativeGuideline/package.json +17 -0
  207. package/guideline/snapping/package.json +17 -0
  208. package/guideline/types/package.json +17 -0
  209. package/guideline/updateGuideline/package.json +17 -0
  210. package/guideline/utils/package.json +17 -0
  211. package/icons/BorderIcon/package.json +17 -0
  212. package/icons/DynamicStrokeIconDecoration/package.json +17 -0
  213. package/icons/PanelErrorIcon/package.json +17 -0
  214. package/icons/PanelInfoIcon/package.json +17 -0
  215. package/icons/PanelNoteIcon/package.json +17 -0
  216. package/icons/PanelSuccessIcon/package.json +17 -0
  217. package/icons/PanelWarningIcon/package.json +17 -0
  218. package/icons/SteppedRainbowIconDecoration/package.json +17 -0
  219. package/inline-image-wrapper/package.json +17 -0
  220. package/inside/package.json +17 -0
  221. package/is-ssr/package.json +17 -0
  222. package/keymap/package.json +17 -0
  223. package/keymaps/consts/package.json +17 -0
  224. package/lazy-node-view/types/package.json +17 -0
  225. package/link/ConfigureLinkOverlay/package.json +17 -0
  226. package/link/EditorLinkPicker/package.json +17 -0
  227. package/link/HyperlinkAddToolbar/HyperlinkAddToolbar/package.json +17 -0
  228. package/link/HyperlinkAddToolbar/package.json +17 -0
  229. package/link/HyperlinkAddToolbar/utils/package.json +17 -0
  230. package/link/LinkSearch/package.json +17 -0
  231. package/link/LinkSearch/types/package.json +17 -0
  232. package/link/LinkSearchList/package.json +17 -0
  233. package/link/LinkSearchListItem/package.json +17 -0
  234. package/link/ToolbarComponents/package.json +17 -0
  235. package/link/handleNavigation/package.json +17 -0
  236. package/link/transformTimeStamp/package.json +17 -0
  237. package/link/types/package.json +17 -0
  238. package/link/utils/package.json +17 -0
  239. package/lists/analytics/package.json +17 -0
  240. package/lists/block-mark/package.json +17 -0
  241. package/lists/build-replacement-fragment/package.json +17 -0
  242. package/lists/flatten-list/package.json +17 -0
  243. package/lists/indentation/package.json +17 -0
  244. package/lists/messages/package.json +17 -0
  245. package/lists/narrow-replacement-range/package.json +17 -0
  246. package/lists/node/package.json +17 -0
  247. package/lists/replace-content/package.json +17 -0
  248. package/lists/restore-selection/package.json +17 -0
  249. package/lists/selection/package.json +17 -0
  250. package/mark/commands/package.json +17 -0
  251. package/mark/text-formatting/package.json +17 -0
  252. package/media/altText/package.json +17 -0
  253. package/media/caption/package.json +17 -0
  254. package/media/comments/package.json +17 -0
  255. package/media/dropPlaceholder/package.json +17 -0
  256. package/media/externalMedia/package.json +17 -0
  257. package/media/imageBorder/package.json +17 -0
  258. package/media/mediaLinkingToolbar/package.json +17 -0
  259. package/media/mediaResizeAnnouncerMess/package.json +17 -0
  260. package/media/nodeviews/package.json +17 -0
  261. package/media/pixelEntry/package.json +17 -0
  262. package/media/toolbarMedia/package.json +17 -0
  263. package/media-inline/constants/package.json +17 -0
  264. package/media-inline/styles/package.json +17 -0
  265. package/media-inline/types/package.json +17 -0
  266. package/media-inline/utils/package.json +17 -0
  267. package/media-inline-image-card/package.json +17 -0
  268. package/media-single/CommentBadge/package.json +17 -0
  269. package/media-single/CommentBadgeNext/package.json +17 -0
  270. package/media-single/ExternalImageBadge/package.json +17 -0
  271. package/media-single/MediaBadges/package.json +17 -0
  272. package/media-single/constants/package.json +17 -0
  273. package/media-single/utils/package.json +17 -0
  274. package/messages/annotation/package.json +17 -0
  275. package/messages/avatar-group/package.json +17 -0
  276. package/messages/block-controls/package.json +17 -0
  277. package/messages/block-menu/package.json +17 -0
  278. package/messages/block-type/package.json +17 -0
  279. package/messages/breakout/package.json +17 -0
  280. package/messages/card/package.json +17 -0
  281. package/messages/codeBidiWarning/package.json +17 -0
  282. package/messages/codeBlock/package.json +17 -0
  283. package/messages/codeBlockButton/package.json +17 -0
  284. package/messages/color-picker-button/package.json +17 -0
  285. package/messages/company-hub-text-color/package.json +17 -0
  286. package/messages/context-panel/package.json +17 -0
  287. package/messages/date/package.json +17 -0
  288. package/messages/element-insert-side-panel/package.json +17 -0
  289. package/messages/find-replace/package.json +17 -0
  290. package/messages/full-page/package.json +17 -0
  291. package/messages/help-dialog/package.json +17 -0
  292. package/messages/highlight/package.json +17 -0
  293. package/messages/indentation/package.json +17 -0
  294. package/messages/insert-block/package.json +17 -0
  295. package/messages/layout/package.json +17 -0
  296. package/messages/limited-mode/package.json +17 -0
  297. package/messages/link/package.json +17 -0
  298. package/messages/link-toolbar/package.json +17 -0
  299. package/messages/list/package.json +17 -0
  300. package/messages/markdown-mode/package.json +17 -0
  301. package/messages/media-and-embed-toolbar/package.json +17 -0
  302. package/messages/media-editing/package.json +17 -0
  303. package/messages/media-insert/package.json +17 -0
  304. package/messages/mentions/package.json +17 -0
  305. package/messages/native-embed-toolbar/package.json +17 -0
  306. package/messages/panel/package.json +17 -0
  307. package/messages/paste-options-toolbar/package.json +17 -0
  308. package/messages/placeholder-text/package.json +17 -0
  309. package/messages/roleDescription/package.json +17 -0
  310. package/messages/selection-extension/package.json +17 -0
  311. package/messages/selection-toolbar/package.json +17 -0
  312. package/messages/status/package.json +17 -0
  313. package/messages/syncBlock/package.json +17 -0
  314. package/messages/table/package.json +17 -0
  315. package/messages/tasks-and-decisions/package.json +17 -0
  316. package/messages/text-color/package.json +17 -0
  317. package/messages/toolbar/package.json +17 -0
  318. package/messages/track-changes/package.json +17 -0
  319. package/messages/undo-redo/package.json +17 -0
  320. package/messages/unsupportedContent/package.json +17 -0
  321. package/monitoring/error/package.json +17 -0
  322. package/node-anchor-provider/package.json +17 -0
  323. package/node-view/package.json +17 -0
  324. package/package.json +7 -7
  325. package/paste/clipboard/package.json +17 -0
  326. package/paste/md/package.json +17 -0
  327. package/persistence-api/package.json +17 -0
  328. package/preset/builder/package.json +17 -0
  329. package/preset/editor-commands/package.json +17 -0
  330. package/preset/plugin-injection-api/package.json +17 -0
  331. package/profileSSROperation/package.json +17 -0
  332. package/provider-factory/autoformatting-provider/package.json +17 -0
  333. package/provider-factory/card-provider/package.json +17 -0
  334. package/provider-factory/context/package.json +17 -0
  335. package/provider-factory/context-identifier-provider/package.json +17 -0
  336. package/provider-factory/image-upload-provider/package.json +17 -0
  337. package/provider-factory/macro-provider/package.json +17 -0
  338. package/provider-factory/media-provider/package.json +17 -0
  339. package/provider-factory/profile-card-provider/package.json +17 -0
  340. package/provider-factory/provider-factory/package.json +17 -0
  341. package/provider-factory/quick-insert-provider/package.json +17 -0
  342. package/provider-factory/search-provider/package.json +17 -0
  343. package/provider-factory/types/package.json +17 -0
  344. package/provider-factory/with-providers/package.json +17 -0
  345. package/quick-insert/messages/package.json +17 -0
  346. package/quick-insert/utils/package.json +17 -0
  347. package/react-node-view/types/package.json +17 -0
  348. package/resizer/BreakoutResizer/package.json +17 -0
  349. package/resizer/Resizer/package.json +17 -0
  350. package/resizer/ResizerBreakoutModeLabel/package.json +17 -0
  351. package/resizer/types/package.json +17 -0
  352. package/resizer/useBreakoutGuidelines/package.json +17 -0
  353. package/selection/actions/package.json +17 -0
  354. package/selection/context-helpers/package.json +17 -0
  355. package/selection/gap-cursor/selection/package.json +17 -0
  356. package/selection/gap-cursor/styles/package.json +17 -0
  357. package/selection/is-ignored/package.json +17 -0
  358. package/selection/is-valid-target-node/package.json +17 -0
  359. package/selection/setGapCursorSelection/package.json +17 -0
  360. package/selection/types/package.json +17 -0
  361. package/selection/utils/package.json +17 -0
  362. package/styles/annotation/package.json +17 -0
  363. package/styles/blockquote/package.json +17 -0
  364. package/styles/breakout/package.json +17 -0
  365. package/styles/code-block/package.json +17 -0
  366. package/styles/date/package.json +17 -0
  367. package/styles/drag-handle/package.json +17 -0
  368. package/styles/dropdown-menu/package.json +17 -0
  369. package/styles/emoji/package.json +17 -0
  370. package/styles/expand/package.json +17 -0
  371. package/styles/extension/package.json +17 -0
  372. package/styles/grid/package.json +17 -0
  373. package/styles/headings/package.json +17 -0
  374. package/styles/layout/package.json +17 -0
  375. package/styles/lists/package.json +17 -0
  376. package/styles/media/package.json +17 -0
  377. package/styles/media-single/package.json +17 -0
  378. package/styles/mention/package.json +17 -0
  379. package/styles/native-anchor/package.json +17 -0
  380. package/styles/panel/package.json +17 -0
  381. package/styles/plugins/package.json +17 -0
  382. package/styles/resizer/package.json +17 -0
  383. package/styles/smart-card/package.json +17 -0
  384. package/styles/smartCard/package.json +17 -0
  385. package/styles/status/package.json +17 -0
  386. package/styles/sync-block/package.json +17 -0
  387. package/styles/table/package.json +17 -0
  388. package/styles/task-decision/package.json +17 -0
  389. package/styles/unsupported-content/package.json +17 -0
  390. package/sync-block/SyncBlockActionsContext/package.json +17 -0
  391. package/sync-block/constants/package.json +17 -0
  392. package/sync-block/ssr_error/package.json +17 -0
  393. package/table/SortingIcon/package.json +17 -0
  394. package/table/consts/package.json +17 -0
  395. package/table/content-mode/package.json +17 -0
  396. package/toolbar/EditorToolbarUIProvider/package.json +17 -0
  397. package/toolbar/context/package.json +17 -0
  398. package/toolbar/keys/package.json +17 -0
  399. package/toolbar/rank/package.json +17 -0
  400. package/toolbar/types/package.json +17 -0
  401. package/toolbar/utils/package.json +17 -0
  402. package/transforms/code-block/package.json +17 -0
  403. package/transforms/decision-list/package.json +17 -0
  404. package/transforms/expand/package.json +17 -0
  405. package/transforms/extension/package.json +17 -0
  406. package/transforms/layout/package.json +17 -0
  407. package/transforms/list-transforms/package.json +17 -0
  408. package/transforms/list-types/package.json +17 -0
  409. package/transforms/list-utils/package.json +17 -0
  410. package/transforms/sync-block/package.json +17 -0
  411. package/type-ahead/messages/package.json +17 -0
  412. package/types/annotation/package.json +17 -0
  413. package/types/block-controls/package.json +17 -0
  414. package/types/block-type/package.json +17 -0
  415. package/types/breakout/package.json +17 -0
  416. package/types/command/package.json +17 -0
  417. package/types/context-panel/package.json +17 -0
  418. package/types/copy-button/package.json +17 -0
  419. package/types/datasource/package.json +17 -0
  420. package/types/doc-builder/package.json +17 -0
  421. package/types/editor-actions/package.json +17 -0
  422. package/types/editor-appearance/package.json +17 -0
  423. package/types/editor-command/package.json +17 -0
  424. package/types/editor-container-width/package.json +17 -0
  425. package/types/editor-plugin/package.json +17 -0
  426. package/types/editor-react-context/package.json +17 -0
  427. package/types/emitter/package.json +17 -0
  428. package/types/empty-state-handler/package.json +17 -0
  429. package/types/feature-flags/package.json +17 -0
  430. package/types/feedback-dialog/package.json +17 -0
  431. package/types/floating-toolbar/package.json +17 -0
  432. package/types/grid/package.json +17 -0
  433. package/types/hyperlink/package.json +17 -0
  434. package/types/image-upload-reference-event/package.json +17 -0
  435. package/types/input-rules/package.json +17 -0
  436. package/types/insert-block/package.json +17 -0
  437. package/types/layout/package.json +17 -0
  438. package/types/next-editor-plugin/package.json +17 -0
  439. package/types/performance-tracking/package.json +17 -0
  440. package/types/plugin-factory/package.json +17 -0
  441. package/types/prosemirror-config/package.json +17 -0
  442. package/types/quick-insert/package.json +17 -0
  443. package/types/resizable-media-single/package.json +17 -0
  444. package/types/selection/package.json +17 -0
  445. package/types/selection-toolbar/package.json +17 -0
  446. package/types/supported-browsers/package.json +17 -0
  447. package/types/tables/package.json +17 -0
  448. package/types/text-formatting/package.json +17 -0
  449. package/types/toolbar/package.json +17 -0
  450. package/types/type-ahead/package.json +17 -0
  451. package/types/ui-components/package.json +17 -0
  452. package/types/user-preferences/package.json +17 -0
  453. package/ui-color/ColorPalette/Color/package.json +17 -0
  454. package/ui-color/ColorPalette/ColorPalette/utils/package.json +17 -0
  455. package/ui-color/ColorPalette/Palettes/common/package.json +17 -0
  456. package/ui-color/ColorPalette/borderColorPalette/package.json +17 -0
  457. package/ui-color/ColorPalette/cellBackgroundColorPalette/package.json +17 -0
  458. package/ui-color/ColorPalette/highlightColorPalette/package.json +17 -0
  459. package/ui-color/ColorPalette/package.json +17 -0
  460. package/ui-color/ColorPalette/paletteMessages/package.json +17 -0
  461. package/ui-color/ColorPalette/paletteMessagesTokenModeNames/package.json +17 -0
  462. package/ui-color/ColorPalette/panelBackgroundPalette/package.json +17 -0
  463. package/ui-color/ColorPalette/textColorPalette/package.json +17 -0
  464. package/ui-color/ColorPalette/type/package.json +17 -0
  465. package/ui-menu/ArrowKeyNavigationProvider/package.json +17 -0
  466. package/ui-menu/ArrowKeyNavigationProvider/types/package.json +17 -0
  467. package/ui-menu/ColorPaletteArrowKeyNavigationProvider/package.json +17 -0
  468. package/ui-menu/ColorPickerButton/package.json +17 -0
  469. package/ui-menu/Dropdown/package.json +17 -0
  470. package/ui-menu/DropdownContainer/package.json +17 -0
  471. package/ui-menu/DropdownMenu/package.json +17 -0
  472. package/ui-menu/DropdownMenu/types/package.json +17 -0
  473. package/ui-menu/ToolbarArrowKeyNavigationProvider/package.json +17 -0
  474. package/ui-menu/ToolbarButton/package.json +17 -0
  475. package/ui-react/ReactEditorViewContext/package.json +17 -0
  476. package/ui-react/with-react-editor-view-outer-listeners/package.json +17 -0
  477. package/useConstructor/package.json +17 -0
  478. package/usePortalProvider/package.json +17 -0
  479. package/usePreviousState/package.json +17 -0
  480. package/useSharedPluginState/package.json +17 -0
  481. package/useSharedPluginStateSelector/package.json +17 -0
  482. package/useSharedPluginStateWithSelector/package.json +17 -0
  483. package/user-intent/types/package.json +17 -0
  484. package/user-preferences/hooks/package.json +17 -0
  485. package/user-preferences/user-preferences/package.json +17 -0
  486. package/user-preferences-provider/package.json +17 -0
  487. package/utils/annotation/package.json +17 -0
  488. package/utils/autojoin/package.json +17 -0
  489. package/utils/breakout/package.json +17 -0
  490. package/utils/browser-extensions/package.json +17 -0
  491. package/utils/calculate-toolbar-position/package.json +17 -0
  492. package/utils/commands/package.json +17 -0
  493. package/utils/compare-props/package.json +17 -0
  494. package/utils/compareNodes/package.json +17 -0
  495. package/utils/compose/package.json +17 -0
  496. package/utils/create-wrap-selection-transaction/package.json +17 -0
  497. package/utils/datasource/package.json +17 -0
  498. package/utils/date/package.json +17 -0
  499. package/utils/dedupe/package.json +17 -0
  500. package/utils/dom/package.json +17 -0
  501. package/utils/editor-core-utils/package.json +17 -0
  502. package/utils/extension-handler/package.json +17 -0
  503. package/utils/get-performance-options/package.json +17 -0
  504. package/utils/get-performance-timing/package.json +17 -0
  505. package/utils/get-unsupported-content-level-data/package.json +17 -0
  506. package/utils/getModeFromTheme/package.json +17 -0
  507. package/utils/grid/package.json +17 -0
  508. package/utils/hyperlink/package.json +17 -0
  509. package/utils/imageLoader/package.json +17 -0
  510. package/utils/input-rules/package.json +17 -0
  511. package/utils/insert-node-into-ordered-list/package.json +17 -0
  512. package/utils/is-text-input/package.json +17 -0
  513. package/utils/list/package.json +17 -0
  514. package/utils/macro/package.json +17 -0
  515. package/utils/measure/package.json +17 -0
  516. package/utils/nodes/package.json +17 -0
  517. package/utils/nodes-by-localIds/package.json +17 -0
  518. package/utils/page-element-counts/package.json +17 -0
  519. package/utils/plugin-state-factory/package.json +17 -0
  520. package/utils/privacy-filter/package.json +17 -0
  521. package/utils/referentiality/package.json +17 -0
  522. package/utils/render-count/package.json +17 -0
  523. package/utils/rich-media-utils/package.json +17 -0
  524. package/utils/scroll-gutter/package.json +17 -0
  525. package/utils/should-auto-linkify-tld/package.json +17 -0
  526. package/utils/should-force-tracking/package.json +17 -0
  527. package/utils/slice/package.json +17 -0
  528. package/utils/table/package.json +17 -0
  529. package/utils/track-unsupported-content/package.json +17 -0
  530. package/utils/traversor/package.json +17 -0
  531. package/utils/types/package.json +17 -0
  532. package/utils/unsupportedContent/types/package.json +17 -0
  533. package/utils/validator/package.json +17 -0
  534. package/utils/withFeatureFlaggedComponent/package.json +17 -0
  535. package/utils/wrap-selection-in/package.json +17 -0
  536. package/validate-using-spec/package.json +17 -0
  537. package/whitespace/whitespace/package.json +17 -0
  538. package/with-outer-listeners/package.json +17 -0
  539. package/withAnalytics/package.json +17 -0
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/combine-providers",
3
+ "main": "../dist/cjs/provider-helpers/combine-providers.js",
4
+ "module": "../dist/esm/provider-helpers/combine-providers.js",
5
+ "module:es2019": "../dist/es2019/provider-helpers/combine-providers.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/provider-helpers/combine-providers.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/provider-helpers/combine-providers.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -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.42.0";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -16,6 +16,7 @@ var _reResizable = require("re-resizable");
16
16
  var _reactIntl = require("react-intl");
17
17
  var _primitives = require("@atlaskit/primitives");
18
18
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
19
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
19
20
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
20
21
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
21
22
  var _breakout = require("../messages/breakout");
@@ -90,7 +91,8 @@ var ResizerNext = function ResizerNext(props, ref) {
90
91
  childrenDOMRef = props.childrenDOMRef,
91
92
  labelComponent = props.labelComponent,
92
93
  otherProps = (0, _objectWithoutProperties2.default)(props, _excluded);
93
- var supportedHandles = (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) ? SUPPORTED_HANDLES_FOR_VERTICAL_RESIZE : SUPPORTED_HANDLES;
94
+ var isDatabasesV2Enabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true);
95
+ var supportedHandles = isDatabasesV2Enabled ? SUPPORTED_HANDLES_FOR_VERTICAL_RESIZE : SUPPORTED_HANDLES;
94
96
  var onResizeStart = (0, _react.useCallback)(function (event) {
95
97
  // prevent creating a drag event on Firefox
96
98
  event.preventDefault();
@@ -111,12 +113,12 @@ var ResizerNext = function ResizerNext(props, ref) {
111
113
  width: resizableCurrent.state.original.width,
112
114
  height: resizableCurrent.state.original.height
113
115
  };
114
- if ((0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true)) {
116
+ if (isDatabasesV2Enabled) {
115
117
  handleResize(originalState, delta, direction);
116
118
  } else {
117
119
  handleResize(originalState, delta);
118
120
  }
119
- }, [handleResize]);
121
+ }, [handleResize, isDatabasesV2Enabled]);
120
122
  var onResizeStop = (0, _react.useCallback)(function (_event, direction, _elementRef, delta) {
121
123
  var resizableCurrent = resizable.current;
122
124
  if (!resizableCurrent || !resizableCurrent.state.original) {
@@ -129,17 +131,17 @@ var ResizerNext = function ResizerNext(props, ref) {
129
131
  height: resizableCurrent.state.original.height
130
132
  };
131
133
  setIsResizing(false);
132
- if ((0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true)) {
134
+ if (isDatabasesV2Enabled) {
133
135
  handleResizeStop(originalState, delta, direction);
134
136
  } else {
135
137
  handleResizeStop(originalState, delta);
136
138
  }
137
- }, [handleResizeStop]);
139
+ }, [handleResizeStop, isDatabasesV2Enabled]);
138
140
  var handles = (0, _react.useMemo)(function () {
139
141
  return supportedHandles.reduce(function (result, position) {
140
- return _objectSpread(_objectSpread({}, result), {}, (0, _defineProperty2.default)({}, position, (0, _classnames3.default)(handleClassName !== null && handleClassName !== void 0 ? handleClassName : _resizer.resizerHandleClassName, position, handleSize, position === 'bottom' && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) ? undefined : handleAlignmentMethod)));
142
+ return _objectSpread(_objectSpread({}, result), {}, (0, _defineProperty2.default)({}, position, (0, _classnames3.default)(handleClassName !== null && handleClassName !== void 0 ? handleClassName : _resizer.resizerHandleClassName, position, handleSize, position === 'bottom' && isDatabasesV2Enabled ? undefined : handleAlignmentMethod)));
141
143
  }, {});
142
- }, [handleClassName, handleSize, handleAlignmentMethod, supportedHandles]);
144
+ }, [handleClassName, handleSize, handleAlignmentMethod, supportedHandles, isDatabasesV2Enabled]);
143
145
  var handleWidth = handlePositioning === 'adjacent' ? "var(--ds-space-100, 8px)" : "var(--ds-space-300, 24px)";
144
146
  var baseHorizontalHandleStyles = {
145
147
  width: handleWidth,
@@ -243,7 +245,7 @@ var ResizerNext = function ResizerNext(props, ref) {
243
245
  }
244
246
  return snapGap;
245
247
  }, [snap, snapGap]);
246
- var resolvedHeight = (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) ? height !== null && height !== void 0 ? height : 'auto' : 'auto';
248
+ var resolvedHeight = isDatabasesV2Enabled ? height !== null && height !== void 0 ? height : 'auto' : 'auto';
247
249
  var resizerAutoSize = (0, _react.useMemo)(function () {
248
250
  return {
249
251
  width: width !== null && width !== void 0 ? width : 'auto',
@@ -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.42.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.42.0";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // Ignored via go/ees007
@@ -7,6 +7,7 @@ import { useIntl } from 'react-intl';
7
7
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
8
8
  import { Box, xcss } from '@atlaskit/primitives';
9
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
10
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
10
11
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
11
12
  import Tooltip from '@atlaskit/tooltip';
12
13
  import { messages } from '../messages/breakout';
@@ -69,7 +70,8 @@ const ResizerNext = (props, ref) => {
69
70
  labelComponent,
70
71
  ...otherProps
71
72
  } = props;
72
- const supportedHandles = expValEquals('databases-native-embeds-v2', 'isEnabled', true) ? SUPPORTED_HANDLES_FOR_VERTICAL_RESIZE : SUPPORTED_HANDLES;
73
+ const isDatabasesV2Enabled = expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true);
74
+ const supportedHandles = isDatabasesV2Enabled ? SUPPORTED_HANDLES_FOR_VERTICAL_RESIZE : SUPPORTED_HANDLES;
73
75
  const onResizeStart = useCallback(event => {
74
76
  // prevent creating a drag event on Firefox
75
77
  event.preventDefault();
@@ -90,12 +92,12 @@ const ResizerNext = (props, ref) => {
90
92
  width: resizableCurrent.state.original.width,
91
93
  height: resizableCurrent.state.original.height
92
94
  };
93
- if (expValEquals('databases-native-embeds-v2', 'isEnabled', true)) {
95
+ if (isDatabasesV2Enabled) {
94
96
  handleResize(originalState, delta, direction);
95
97
  } else {
96
98
  handleResize(originalState, delta);
97
99
  }
98
- }, [handleResize]);
100
+ }, [handleResize, isDatabasesV2Enabled]);
99
101
  const onResizeStop = useCallback((_event, direction, _elementRef, delta) => {
100
102
  const resizableCurrent = resizable.current;
101
103
  if (!resizableCurrent || !resizableCurrent.state.original) {
@@ -108,16 +110,16 @@ const ResizerNext = (props, ref) => {
108
110
  height: resizableCurrent.state.original.height
109
111
  };
110
112
  setIsResizing(false);
111
- if (expValEquals('databases-native-embeds-v2', 'isEnabled', true)) {
113
+ if (isDatabasesV2Enabled) {
112
114
  handleResizeStop(originalState, delta, direction);
113
115
  } else {
114
116
  handleResizeStop(originalState, delta);
115
117
  }
116
- }, [handleResizeStop]);
118
+ }, [handleResizeStop, isDatabasesV2Enabled]);
117
119
  const handles = useMemo(() => supportedHandles.reduce((result, position) => ({
118
120
  ...result,
119
- [position]: classnames(handleClassName !== null && handleClassName !== void 0 ? handleClassName : resizerHandleClassName, position, handleSize, position === 'bottom' && expValEquals('databases-native-embeds-v2', 'isEnabled', true) ? undefined : handleAlignmentMethod)
120
- }), {}), [handleClassName, handleSize, handleAlignmentMethod, supportedHandles]);
121
+ [position]: classnames(handleClassName !== null && handleClassName !== void 0 ? handleClassName : resizerHandleClassName, position, handleSize, position === 'bottom' && isDatabasesV2Enabled ? undefined : handleAlignmentMethod)
122
+ }), {}), [handleClassName, handleSize, handleAlignmentMethod, supportedHandles, isDatabasesV2Enabled]);
121
123
  const handleWidth = handlePositioning === 'adjacent' ? "var(--ds-space-100, 8px)" : "var(--ds-space-300, 24px)";
122
124
  const baseHorizontalHandleStyles = {
123
125
  width: handleWidth,
@@ -238,7 +240,7 @@ const ResizerNext = (props, ref) => {
238
240
  }
239
241
  return snapGap;
240
242
  }, [snap, snapGap]);
241
- const resolvedHeight = expValEquals('databases-native-embeds-v2', 'isEnabled', true) ? height !== null && height !== void 0 ? height : 'auto' : 'auto';
243
+ const resolvedHeight = isDatabasesV2Enabled ? height !== null && height !== void 0 ? height : 'auto' : 'auto';
242
244
  const resizerAutoSize = useMemo(() => ({
243
245
  width: width !== null && width !== void 0 ? width : 'auto',
244
246
  height: resolvedHeight
@@ -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.42.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.42.0";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // Ignored via go/ees007
@@ -13,6 +13,7 @@ import { useIntl } from 'react-intl';
13
13
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
14
14
  import { Box, xcss } from '@atlaskit/primitives';
15
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
16
17
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
17
18
  import Tooltip from '@atlaskit/tooltip';
18
19
  import { messages } from '../messages/breakout';
@@ -83,7 +84,8 @@ var ResizerNext = function ResizerNext(props, ref) {
83
84
  childrenDOMRef = props.childrenDOMRef,
84
85
  labelComponent = props.labelComponent,
85
86
  otherProps = _objectWithoutProperties(props, _excluded);
86
- var supportedHandles = expValEquals('databases-native-embeds-v2', 'isEnabled', true) ? SUPPORTED_HANDLES_FOR_VERTICAL_RESIZE : SUPPORTED_HANDLES;
87
+ var isDatabasesV2Enabled = expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true);
88
+ var supportedHandles = isDatabasesV2Enabled ? SUPPORTED_HANDLES_FOR_VERTICAL_RESIZE : SUPPORTED_HANDLES;
87
89
  var onResizeStart = useCallback(function (event) {
88
90
  // prevent creating a drag event on Firefox
89
91
  event.preventDefault();
@@ -104,12 +106,12 @@ var ResizerNext = function ResizerNext(props, ref) {
104
106
  width: resizableCurrent.state.original.width,
105
107
  height: resizableCurrent.state.original.height
106
108
  };
107
- if (expValEquals('databases-native-embeds-v2', 'isEnabled', true)) {
109
+ if (isDatabasesV2Enabled) {
108
110
  handleResize(originalState, delta, direction);
109
111
  } else {
110
112
  handleResize(originalState, delta);
111
113
  }
112
- }, [handleResize]);
114
+ }, [handleResize, isDatabasesV2Enabled]);
113
115
  var onResizeStop = useCallback(function (_event, direction, _elementRef, delta) {
114
116
  var resizableCurrent = resizable.current;
115
117
  if (!resizableCurrent || !resizableCurrent.state.original) {
@@ -122,17 +124,17 @@ var ResizerNext = function ResizerNext(props, ref) {
122
124
  height: resizableCurrent.state.original.height
123
125
  };
124
126
  setIsResizing(false);
125
- if (expValEquals('databases-native-embeds-v2', 'isEnabled', true)) {
127
+ if (isDatabasesV2Enabled) {
126
128
  handleResizeStop(originalState, delta, direction);
127
129
  } else {
128
130
  handleResizeStop(originalState, delta);
129
131
  }
130
- }, [handleResizeStop]);
132
+ }, [handleResizeStop, isDatabasesV2Enabled]);
131
133
  var handles = useMemo(function () {
132
134
  return supportedHandles.reduce(function (result, position) {
133
- return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, position, classnames(handleClassName !== null && handleClassName !== void 0 ? handleClassName : resizerHandleClassName, position, handleSize, position === 'bottom' && expValEquals('databases-native-embeds-v2', 'isEnabled', true) ? undefined : handleAlignmentMethod)));
135
+ return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, position, classnames(handleClassName !== null && handleClassName !== void 0 ? handleClassName : resizerHandleClassName, position, handleSize, position === 'bottom' && isDatabasesV2Enabled ? undefined : handleAlignmentMethod)));
134
136
  }, {});
135
- }, [handleClassName, handleSize, handleAlignmentMethod, supportedHandles]);
137
+ }, [handleClassName, handleSize, handleAlignmentMethod, supportedHandles, isDatabasesV2Enabled]);
136
138
  var handleWidth = handlePositioning === 'adjacent' ? "var(--ds-space-100, 8px)" : "var(--ds-space-300, 24px)";
137
139
  var baseHorizontalHandleStyles = {
138
140
  width: handleWidth,
@@ -236,7 +238,7 @@ var ResizerNext = function ResizerNext(props, ref) {
236
238
  }
237
239
  return snapGap;
238
240
  }, [snap, snapGap]);
239
- var resolvedHeight = expValEquals('databases-native-embeds-v2', 'isEnabled', true) ? height !== null && height !== void 0 ? height : 'auto' : 'auto';
241
+ var resolvedHeight = isDatabasesV2Enabled ? height !== null && height !== void 0 ? height : 'auto' : 'auto';
240
242
  var resizerAutoSize = useMemo(function () {
241
243
  return {
242
244
  width: width !== null && width !== void 0 ? width : 'auto',
@@ -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.42.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
  }, {
@@ -7,5 +7,9 @@ type ContextualTypeaheadAcceptedAttributes = {
7
7
  typedLength: number;
8
8
  };
9
9
  type ContextualTypeaheadAcceptedAEP = TrackAEP<ACTION.SUGGESTION_INSERTED, ACTION_SUBJECT.CONTEXTUAL_TYPEAHEAD, undefined, ContextualTypeaheadAcceptedAttributes, undefined>;
10
- export type ContextualTypeaheadEventPayload = ContextualTypeaheadViewedAEP | ContextualTypeaheadAcceptedAEP;
10
+ type ContextualTypeaheadDismissedAttributes = {
11
+ reason: 'escape' | 'blur';
12
+ };
13
+ type ContextualTypeaheadDismissedAEP = TrackAEP<ACTION.SUGGESTION_DISMISSED, ACTION_SUBJECT.CONTEXTUAL_TYPEAHEAD, undefined, ContextualTypeaheadDismissedAttributes, undefined>;
14
+ export type ContextualTypeaheadEventPayload = ContextualTypeaheadViewedAEP | ContextualTypeaheadAcceptedAEP | ContextualTypeaheadDismissedAEP;
11
15
  export {};
@@ -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
  }
@@ -7,5 +7,9 @@ type ContextualTypeaheadAcceptedAttributes = {
7
7
  typedLength: number;
8
8
  };
9
9
  type ContextualTypeaheadAcceptedAEP = TrackAEP<ACTION.SUGGESTION_INSERTED, ACTION_SUBJECT.CONTEXTUAL_TYPEAHEAD, undefined, ContextualTypeaheadAcceptedAttributes, undefined>;
10
- export type ContextualTypeaheadEventPayload = ContextualTypeaheadViewedAEP | ContextualTypeaheadAcceptedAEP;
10
+ type ContextualTypeaheadDismissedAttributes = {
11
+ reason: 'escape' | 'blur';
12
+ };
13
+ type ContextualTypeaheadDismissedAEP = TrackAEP<ACTION.SUGGESTION_DISMISSED, ACTION_SUBJECT.CONTEXTUAL_TYPEAHEAD, undefined, ContextualTypeaheadDismissedAttributes, undefined>;
14
+ export type ContextualTypeaheadEventPayload = ContextualTypeaheadViewedAEP | ContextualTypeaheadAcceptedAEP | ContextualTypeaheadDismissedAEP;
11
15
  export {};
@@ -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
  };