@atlaskit/editor-common 107.28.2 → 107.29.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 (488) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/afm-cc/tsconfig.json +7 -4
  3. package/dist/cjs/block-menu/messages.js +6 -1
  4. package/dist/cjs/messages/block-menu.js +3 -3
  5. package/dist/cjs/monitoring/error.js +1 -1
  6. package/dist/cjs/styles/shared/smartCard.js +1 -1
  7. package/dist/cjs/ui/DropList/index.js +1 -1
  8. package/dist/es2019/block-menu/messages.js +6 -1
  9. package/dist/es2019/messages/block-menu.js +3 -3
  10. package/dist/es2019/monitoring/error.js +1 -1
  11. package/dist/es2019/styles/shared/smartCard.js +2 -2
  12. package/dist/es2019/ui/DropList/index.js +1 -1
  13. package/dist/esm/block-menu/messages.js +6 -1
  14. package/dist/esm/messages/block-menu.js +3 -3
  15. package/dist/esm/monitoring/error.js +1 -1
  16. package/dist/esm/styles/shared/smartCard.js +1 -1
  17. package/dist/esm/ui/DropList/index.js +1 -1
  18. package/dist/types/analytics/api.d.ts +2 -2
  19. package/dist/types/analytics/types/activity-session-events.d.ts +14 -14
  20. package/dist/types/analytics/types/ai-definitions-events.d.ts +1 -1
  21. package/dist/types/analytics/types/ai-events.d.ts +2 -2
  22. package/dist/types/analytics/types/ai-inline-suggestion-events.d.ts +2 -2
  23. package/dist/types/analytics/types/ai-proactive-events.d.ts +12 -12
  24. package/dist/types/analytics/types/ai-unified-events.d.ts +11 -11
  25. package/dist/types/analytics/types/breakout-events.d.ts +4 -4
  26. package/dist/types/analytics/types/config-panel-events.d.ts +3 -3
  27. package/dist/types/analytics/types/cut-copy-events.d.ts +4 -4
  28. package/dist/types/analytics/types/datasource-clicked-events.d.ts +2 -2
  29. package/dist/types/analytics/types/date-events.d.ts +1 -1
  30. package/dist/types/analytics/types/element-events.d.ts +4 -4
  31. package/dist/types/analytics/types/events.d.ts +23 -23
  32. package/dist/types/analytics/types/extension-events.d.ts +5 -5
  33. package/dist/types/analytics/types/format-events.d.ts +6 -6
  34. package/dist/types/analytics/types/general-events.d.ts +32 -32
  35. package/dist/types/analytics/types/highlight-actions-menu-events.d.ts +1 -1
  36. package/dist/types/analytics/types/highlight-events.d.ts +1 -1
  37. package/dist/types/analytics/types/inline-comment-events.d.ts +1 -1
  38. package/dist/types/analytics/types/insert-events.d.ts +26 -26
  39. package/dist/types/analytics/types/link-events.d.ts +1 -1
  40. package/dist/types/analytics/types/link-tool-bar-events.d.ts +17 -17
  41. package/dist/types/analytics/types/list-events.d.ts +8 -8
  42. package/dist/types/analytics/types/loom-events.d.ts +1 -1
  43. package/dist/types/analytics/types/media-events.d.ts +9 -9
  44. package/dist/types/analytics/types/mention-events.d.ts +30 -30
  45. package/dist/types/analytics/types/move-content-events.d.ts +3 -3
  46. package/dist/types/analytics/types/ncs-session-step-events.d.ts +3 -3
  47. package/dist/types/analytics/types/node-events.d.ts +5 -5
  48. package/dist/types/analytics/types/offline-editing-event.d.ts +5 -5
  49. package/dist/types/analytics/types/paste-events.d.ts +6 -6
  50. package/dist/types/analytics/types/performance-report.d.ts +6 -6
  51. package/dist/types/analytics/types/referentiality-events.d.ts +2 -2
  52. package/dist/types/analytics/types/selection-events.d.ts +1 -1
  53. package/dist/types/analytics/types/smart-links.d.ts +2 -2
  54. package/dist/types/analytics/types/substitute-events.d.ts +1 -1
  55. package/dist/types/analytics/types/table-events.d.ts +19 -19
  56. package/dist/types/analytics/types/type-ahead.d.ts +3 -3
  57. package/dist/types/analytics/types/utils.d.ts +6 -6
  58. package/dist/types/analytics/types/view-events.d.ts +2 -2
  59. package/dist/types/annotation/index.d.ts +39 -39
  60. package/dist/types/block-menu/messages.d.ts +5 -0
  61. package/dist/types/card/LinkToolbarButtonGroup.d.ts +5 -5
  62. package/dist/types/card/MediaAndEmbedsToolbar/index.d.ts +2 -2
  63. package/dist/types/card/cardOptions.d.ts +36 -36
  64. package/dist/types/card/types.d.ts +8 -8
  65. package/dist/types/collab/index.d.ts +71 -71
  66. package/dist/types/doc-utils/editor-use-only.d.ts +1 -1
  67. package/dist/types/element-browser/ElementBrowser.d.ts +9 -9
  68. package/dist/types/element-browser/ViewMore.d.ts +1 -1
  69. package/dist/types/element-browser/components/CategoryList.d.ts +1 -1
  70. package/dist/types/element-browser/components/ElementList/ElementList.d.ts +11 -11
  71. package/dist/types/element-browser/components/ElementList/EmptyState.d.ts +1 -1
  72. package/dist/types/element-browser/components/ElementSearch.d.ts +4 -4
  73. package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +14 -14
  74. package/dist/types/element-browser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +12 -12
  75. package/dist/types/element-browser/types.d.ts +2 -2
  76. package/dist/types/extensibility/Extension/Extension/index.d.ts +12 -12
  77. package/dist/types/extensibility/Extension/InlineExtension/index.d.ts +5 -5
  78. package/dist/types/extensibility/Extension/LegacyContentHeader/index.d.ts +1 -1
  79. package/dist/types/extensibility/Extension/Lozenge/EditToggle.d.ts +2 -2
  80. package/dist/types/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +6 -6
  81. package/dist/types/extensibility/Extension/Lozenge/LozengeComponent.d.ts +11 -11
  82. package/dist/types/extensibility/Extension/Lozenge/index.d.ts +9 -9
  83. package/dist/types/extensibility/Extension.d.ts +8 -8
  84. package/dist/types/extensibility/ExtensionComponent.d.ts +13 -13
  85. package/dist/types/extensibility/ExtensionNodeWrapper.d.ts +1 -1
  86. package/dist/types/extensibility/MultiBodiedExtension/action-api.d.ts +5 -5
  87. package/dist/types/extensibility/MultiBodiedExtension/index.d.ts +10 -10
  88. package/dist/types/extensibility/extensionNodeView.d.ts +8 -8
  89. package/dist/types/extensions/extension-handlers.d.ts +1 -1
  90. package/dist/types/extensions/types/extension-handler.d.ts +10 -10
  91. package/dist/types/extensions/types/extension-manifest-toolbar-item.d.ts +13 -13
  92. package/dist/types/extensions/types/extension-manifest.d.ts +26 -26
  93. package/dist/types/extensions/types/extension-provider.d.ts +3 -3
  94. package/dist/types/extensions/types/field-definitions.d.ts +40 -40
  95. package/dist/types/extensions/types/utils.d.ts +7 -7
  96. package/dist/types/floating-toolbar/DropdownMenuExtensionItems.d.ts +4 -4
  97. package/dist/types/floating-toolbar/DropdownMenuItem.d.ts +10 -10
  98. package/dist/types/guideline/relativeGuideline.d.ts +1 -1
  99. package/dist/types/guideline/types.d.ts +9 -9
  100. package/dist/types/guideline/updateGuideline.d.ts +1 -1
  101. package/dist/types/guideline/utils.d.ts +2 -2
  102. package/dist/types/icons/shared/DynamicStrokeIconDecoration.d.ts +1 -1
  103. package/dist/types/icons/shared/SteppedRainbowIconDecoration.d.ts +1 -1
  104. package/dist/types/insert/index.d.ts +2 -2
  105. package/dist/types/keymaps/index.d.ts +2 -2
  106. package/dist/types/lazy-node-view/index.d.ts +3 -3
  107. package/dist/types/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -3
  108. package/dist/types/link/ConfigureLinkOverlay/handleNavigation.d.ts +1 -1
  109. package/dist/types/link/ConfigureLinkOverlay/index.d.ts +2 -2
  110. package/dist/types/link/LinkPicker/EditorLinkPicker/index.d.ts +3 -3
  111. package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +12 -12
  112. package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +8 -8
  113. package/dist/types/link/LinkSearch/LinkSearchList.d.ts +6 -6
  114. package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +4 -4
  115. package/dist/types/link/LinkSearch/types.d.ts +11 -11
  116. package/dist/types/link/types.d.ts +9 -9
  117. package/dist/types/lists/indentation.d.ts +1 -1
  118. package/dist/types/lists/node.d.ts +2 -2
  119. package/dist/types/lists/replace-content.d.ts +1 -1
  120. package/dist/types/lists/selection.d.ts +1 -1
  121. package/dist/types/media-inline/inline-image-card.d.ts +4 -4
  122. package/dist/types/media-inline/inline-image-wrapper.d.ts +3 -3
  123. package/dist/types/media-inline/media-inline-image-card.d.ts +8 -8
  124. package/dist/types/media-inline/types.d.ts +4 -4
  125. package/dist/types/media-inline/views/error-view.d.ts +3 -3
  126. package/dist/types/media-inline/views/loading-view.d.ts +2 -2
  127. package/dist/types/media-single/CommentBadge.d.ts +6 -6
  128. package/dist/types/media-single/CommentBadgeNext.d.ts +1 -1
  129. package/dist/types/media-single/MediaBadges.d.ts +4 -4
  130. package/dist/types/media-single/utils.d.ts +5 -5
  131. package/dist/types/node-visibility/node-visibility-manager.d.ts +5 -5
  132. package/dist/types/portal/PortalManager.d.ts +1 -1
  133. package/dist/types/portal/common.d.ts +2 -2
  134. package/dist/types/preset/builder.d.ts +1 -1
  135. package/dist/types/preset/plugin-injection-api.d.ts +3 -3
  136. package/dist/types/provider-factory/card-provider.d.ts +1 -1
  137. package/dist/types/provider-factory/context-identifier-provider.d.ts +1 -1
  138. package/dist/types/provider-factory/image-upload-provider.d.ts +1 -1
  139. package/dist/types/provider-factory/macro-provider.d.ts +4 -4
  140. package/dist/types/provider-factory/media-provider.d.ts +5 -5
  141. package/dist/types/provider-factory/profile-card-provider.d.ts +1 -1
  142. package/dist/types/provider-factory/quick-insert-provider.d.ts +10 -10
  143. package/dist/types/provider-factory/search-provider.d.ts +3 -3
  144. package/dist/types/provider-factory/types.d.ts +11 -11
  145. package/dist/types/provider-helpers/promise-helpers.d.ts +1 -1
  146. package/dist/types/quick-insert/use-icon-themed.d.ts +1 -1
  147. package/dist/types/react-node-view/getInlineNodeViewProducer.d.ts +6 -6
  148. package/dist/types/react-node-view/index.d.ts +1 -1
  149. package/dist/types/resizer/BreakoutResizer.d.ts +10 -10
  150. package/dist/types/resizer/Resizer.d.ts +32 -32
  151. package/dist/types/resizer/types.d.ts +2 -2
  152. package/dist/types/safe-plugin/index.d.ts +1 -1
  153. package/dist/types/selection/gap-cursor/actions.d.ts +1 -1
  154. package/dist/types/selection/gap-cursor/selection.d.ts +1 -1
  155. package/dist/types/selection/index.d.ts +1 -1
  156. package/dist/types/selection/types.d.ts +3 -3
  157. package/dist/types/table/SortingIcon.d.ts +1 -1
  158. package/dist/types/toolbar/context.d.ts +1 -1
  159. package/dist/types/types/annotation/index.d.ts +43 -43
  160. package/dist/types/types/copy-button.d.ts +8 -8
  161. package/dist/types/types/doc-builder.d.ts +1 -1
  162. package/dist/types/types/editor-actions.d.ts +6 -6
  163. package/dist/types/types/editor-container-width.d.ts +7 -7
  164. package/dist/types/types/editor-plugin.d.ts +33 -33
  165. package/dist/types/types/empty-state-handler.d.ts +1 -1
  166. package/dist/types/types/feature-flags.d.ts +107 -107
  167. package/dist/types/types/feedback-dialog.d.ts +5 -5
  168. package/dist/types/types/floating-toolbar.d.ts +142 -142
  169. package/dist/types/types/hyperlink.d.ts +10 -10
  170. package/dist/types/types/input-rules.d.ts +1 -1
  171. package/dist/types/types/next-editor-plugin.d.ts +47 -47
  172. package/dist/types/types/performance-tracking.d.ts +90 -90
  173. package/dist/types/types/plugin-factory.d.ts +6 -6
  174. package/dist/types/types/prosemirror-config.d.ts +1 -1
  175. package/dist/types/types/quick-insert.d.ts +9 -9
  176. package/dist/types/types/selection-toolbar.d.ts +2 -2
  177. package/dist/types/types/supported-browsers.d.ts +1 -1
  178. package/dist/types/types/tables.d.ts +3 -3
  179. package/dist/types/types/text-formatting.d.ts +14 -14
  180. package/dist/types/types/toolbar.d.ts +2 -2
  181. package/dist/types/types/type-ahead.d.ts +29 -29
  182. package/dist/types/types/ui-components.d.ts +7 -7
  183. package/dist/types/types/user-preferences.d.ts +6 -6
  184. package/dist/types/ugc-tokens/editor-ugc-token-names.d.ts +1 -1
  185. package/dist/types/ui/Announcer/announcer.d.ts +5 -5
  186. package/dist/types/ui/AssistiveText/AssistiveText.d.ts +2 -2
  187. package/dist/types/ui/BaseTheme/index.d.ts +2 -2
  188. package/dist/types/ui/Caption/index.d.ts +2 -2
  189. package/dist/types/ui/ContextPanel/context.d.ts +4 -4
  190. package/dist/types/ui/DropList/index.d.ts +7 -7
  191. package/dist/types/ui/Emoji/index.d.ts +3 -3
  192. package/dist/types/ui/ErrorBoundary/index.d.ts +1 -1
  193. package/dist/types/ui/EventHandlers/index.d.ts +7 -7
  194. package/dist/types/ui/Expand/sharedStyles.d.ts +2 -2
  195. package/dist/types/ui/FloatingToolbar/Button.d.ts +20 -20
  196. package/dist/types/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +1 -1
  197. package/dist/types/ui/HoverLinkOverlay/types.d.ts +4 -4
  198. package/dist/types/ui/Layer/index.d.ts +6 -6
  199. package/dist/types/ui/MediaSingle/grid.d.ts +4 -4
  200. package/dist/types/ui/MediaSingle/index.d.ts +12 -12
  201. package/dist/types/ui/MediaSingle/styled.d.ts +8 -8
  202. package/dist/types/ui/Mention/index.d.ts +3 -3
  203. package/dist/types/ui/Mention/mention-with-profilecard.d.ts +4 -4
  204. package/dist/types/ui/Mention/mention-with-providers.d.ts +4 -4
  205. package/dist/types/ui/OverflowShadow/index.d.ts +1 -1
  206. package/dist/types/ui/OverflowShadow/shadowObserver.d.ts +1 -1
  207. package/dist/types/ui/PanelTextInput/index.d.ts +18 -18
  208. package/dist/types/ui/Popup/index.d.ts +16 -16
  209. package/dist/types/ui/Popup/utils.d.ts +6 -6
  210. package/dist/types/ui/Pulse/Pulse.d.ts +1 -1
  211. package/dist/types/ui/ResizerLegacy/index.d.ts +11 -11
  212. package/dist/types/ui/ResizerLegacy/types.d.ts +8 -8
  213. package/dist/types/ui/TableSelector/index.d.ts +11 -11
  214. package/dist/types/ui/TableSelector/table-selector.d.ts +7 -7
  215. package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -1
  216. package/dist/types/ui/UnsupportedInline/index.d.ts +1 -1
  217. package/dist/types/ui/WidthProvider/index.d.ts +2 -2
  218. package/dist/types/ui-color/ColorPalette/Color/index.d.ts +8 -8
  219. package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +3 -3
  220. package/dist/types/ui-color/ColorPalette/index.d.ts +4 -4
  221. package/dist/types/ui-menu/ArrowKeyNavigationProvider/types.d.ts +11 -11
  222. package/dist/types/ui-menu/ColorPickerButton/index.d.ts +11 -11
  223. package/dist/types/ui-menu/Dropdown/index.d.ts +15 -15
  224. package/dist/types/ui-menu/DropdownMenu/types.d.ts +33 -33
  225. package/dist/types/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +4 -4
  226. package/dist/types/ui-menu/ToolbarButton/index.d.ts +19 -19
  227. package/dist/types/ui-react/ReactEditorViewContext.d.ts +1 -1
  228. package/dist/types/ui-react/with-react-editor-view-outer-listeners.d.ts +5 -5
  229. package/dist/types/user-preferences/persistence-api.d.ts +8 -8
  230. package/dist/types/utils/breakout.d.ts +12 -12
  231. package/dist/types/utils/calculate-toolbar-position.d.ts +1 -1
  232. package/dist/types/utils/compare-props.d.ts +3 -3
  233. package/dist/types/utils/count-nodes.d.ts +1 -1
  234. package/dist/types/utils/create-wrap-selection-transaction.d.ts +1 -1
  235. package/dist/types/utils/editor-core-utils.d.ts +1 -1
  236. package/dist/types/utils/error-reporter.d.ts +1 -1
  237. package/dist/types/utils/get-performance-options.d.ts +2 -2
  238. package/dist/types/utils/hyperlink.d.ts +1 -1
  239. package/dist/types/utils/imageLoader.d.ts +3 -3
  240. package/dist/types/utils/input-rules.d.ts +2 -2
  241. package/dist/types/utils/macro.d.ts +1 -1
  242. package/dist/types/utils/page-element-counts.d.ts +2 -2
  243. package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +2 -2
  244. package/dist/types/utils/performance/measure-render.d.ts +3 -3
  245. package/dist/types/utils/performance/measure-tti.d.ts +1 -1
  246. package/dist/types/utils/plugin-state-factory.d.ts +1 -1
  247. package/dist/types/utils/profiler/render-count.d.ts +3 -3
  248. package/dist/types/utils/track-unsupported-content.d.ts +5 -5
  249. package/dist/types/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +1 -1
  250. package/dist/types/utils/unsupportedContent/types.d.ts +1 -1
  251. package/dist/types/utils/validator.d.ts +5 -5
  252. package/dist/types/with-plugin-state/index.d.ts +1 -1
  253. package/dist/types-ts4.5/analytics/api.d.ts +2 -2
  254. package/dist/types-ts4.5/analytics/types/activity-session-events.d.ts +14 -14
  255. package/dist/types-ts4.5/analytics/types/ai-definitions-events.d.ts +1 -1
  256. package/dist/types-ts4.5/analytics/types/ai-events.d.ts +2 -2
  257. package/dist/types-ts4.5/analytics/types/ai-inline-suggestion-events.d.ts +2 -2
  258. package/dist/types-ts4.5/analytics/types/ai-proactive-events.d.ts +12 -12
  259. package/dist/types-ts4.5/analytics/types/ai-unified-events.d.ts +11 -11
  260. package/dist/types-ts4.5/analytics/types/breakout-events.d.ts +4 -4
  261. package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +3 -3
  262. package/dist/types-ts4.5/analytics/types/cut-copy-events.d.ts +4 -4
  263. package/dist/types-ts4.5/analytics/types/datasource-clicked-events.d.ts +2 -2
  264. package/dist/types-ts4.5/analytics/types/date-events.d.ts +1 -1
  265. package/dist/types-ts4.5/analytics/types/element-events.d.ts +4 -4
  266. package/dist/types-ts4.5/analytics/types/events.d.ts +23 -23
  267. package/dist/types-ts4.5/analytics/types/extension-events.d.ts +5 -5
  268. package/dist/types-ts4.5/analytics/types/format-events.d.ts +6 -6
  269. package/dist/types-ts4.5/analytics/types/general-events.d.ts +32 -32
  270. package/dist/types-ts4.5/analytics/types/highlight-actions-menu-events.d.ts +1 -1
  271. package/dist/types-ts4.5/analytics/types/highlight-events.d.ts +1 -1
  272. package/dist/types-ts4.5/analytics/types/inline-comment-events.d.ts +1 -1
  273. package/dist/types-ts4.5/analytics/types/insert-events.d.ts +26 -26
  274. package/dist/types-ts4.5/analytics/types/link-events.d.ts +1 -1
  275. package/dist/types-ts4.5/analytics/types/link-tool-bar-events.d.ts +17 -17
  276. package/dist/types-ts4.5/analytics/types/list-events.d.ts +8 -8
  277. package/dist/types-ts4.5/analytics/types/loom-events.d.ts +1 -1
  278. package/dist/types-ts4.5/analytics/types/media-events.d.ts +9 -9
  279. package/dist/types-ts4.5/analytics/types/mention-events.d.ts +30 -30
  280. package/dist/types-ts4.5/analytics/types/move-content-events.d.ts +3 -3
  281. package/dist/types-ts4.5/analytics/types/ncs-session-step-events.d.ts +3 -3
  282. package/dist/types-ts4.5/analytics/types/node-events.d.ts +5 -5
  283. package/dist/types-ts4.5/analytics/types/offline-editing-event.d.ts +5 -5
  284. package/dist/types-ts4.5/analytics/types/paste-events.d.ts +6 -6
  285. package/dist/types-ts4.5/analytics/types/performance-report.d.ts +6 -6
  286. package/dist/types-ts4.5/analytics/types/referentiality-events.d.ts +2 -2
  287. package/dist/types-ts4.5/analytics/types/selection-events.d.ts +1 -1
  288. package/dist/types-ts4.5/analytics/types/smart-links.d.ts +2 -2
  289. package/dist/types-ts4.5/analytics/types/substitute-events.d.ts +1 -1
  290. package/dist/types-ts4.5/analytics/types/table-events.d.ts +19 -19
  291. package/dist/types-ts4.5/analytics/types/type-ahead.d.ts +3 -3
  292. package/dist/types-ts4.5/analytics/types/utils.d.ts +6 -6
  293. package/dist/types-ts4.5/analytics/types/view-events.d.ts +2 -2
  294. package/dist/types-ts4.5/annotation/index.d.ts +39 -39
  295. package/dist/types-ts4.5/block-menu/messages.d.ts +5 -0
  296. package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +5 -5
  297. package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +2 -2
  298. package/dist/types-ts4.5/card/cardOptions.d.ts +36 -36
  299. package/dist/types-ts4.5/card/types.d.ts +8 -8
  300. package/dist/types-ts4.5/collab/index.d.ts +71 -71
  301. package/dist/types-ts4.5/doc-utils/editor-use-only.d.ts +1 -1
  302. package/dist/types-ts4.5/element-browser/ElementBrowser.d.ts +9 -9
  303. package/dist/types-ts4.5/element-browser/ViewMore.d.ts +1 -1
  304. package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +1 -1
  305. package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +11 -11
  306. package/dist/types-ts4.5/element-browser/components/ElementList/EmptyState.d.ts +1 -1
  307. package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +4 -4
  308. package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +14 -14
  309. package/dist/types-ts4.5/element-browser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +12 -12
  310. package/dist/types-ts4.5/element-browser/types.d.ts +2 -2
  311. package/dist/types-ts4.5/extensibility/Extension/Extension/index.d.ts +12 -12
  312. package/dist/types-ts4.5/extensibility/Extension/InlineExtension/index.d.ts +5 -5
  313. package/dist/types-ts4.5/extensibility/Extension/LegacyContentHeader/index.d.ts +1 -1
  314. package/dist/types-ts4.5/extensibility/Extension/Lozenge/EditToggle.d.ts +2 -2
  315. package/dist/types-ts4.5/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +6 -6
  316. package/dist/types-ts4.5/extensibility/Extension/Lozenge/LozengeComponent.d.ts +11 -11
  317. package/dist/types-ts4.5/extensibility/Extension/Lozenge/index.d.ts +9 -9
  318. package/dist/types-ts4.5/extensibility/Extension.d.ts +8 -8
  319. package/dist/types-ts4.5/extensibility/ExtensionComponent.d.ts +13 -13
  320. package/dist/types-ts4.5/extensibility/ExtensionNodeWrapper.d.ts +1 -1
  321. package/dist/types-ts4.5/extensibility/MultiBodiedExtension/action-api.d.ts +5 -5
  322. package/dist/types-ts4.5/extensibility/MultiBodiedExtension/index.d.ts +10 -10
  323. package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +8 -8
  324. package/dist/types-ts4.5/extensions/extension-handlers.d.ts +1 -1
  325. package/dist/types-ts4.5/extensions/types/extension-handler.d.ts +10 -10
  326. package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +13 -13
  327. package/dist/types-ts4.5/extensions/types/extension-manifest.d.ts +26 -26
  328. package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +3 -3
  329. package/dist/types-ts4.5/extensions/types/field-definitions.d.ts +40 -40
  330. package/dist/types-ts4.5/extensions/types/utils.d.ts +7 -7
  331. package/dist/types-ts4.5/floating-toolbar/DropdownMenuExtensionItems.d.ts +4 -4
  332. package/dist/types-ts4.5/floating-toolbar/DropdownMenuItem.d.ts +10 -10
  333. package/dist/types-ts4.5/guideline/relativeGuideline.d.ts +1 -1
  334. package/dist/types-ts4.5/guideline/types.d.ts +9 -9
  335. package/dist/types-ts4.5/guideline/updateGuideline.d.ts +1 -1
  336. package/dist/types-ts4.5/guideline/utils.d.ts +2 -2
  337. package/dist/types-ts4.5/icons/shared/DynamicStrokeIconDecoration.d.ts +1 -1
  338. package/dist/types-ts4.5/icons/shared/SteppedRainbowIconDecoration.d.ts +1 -1
  339. package/dist/types-ts4.5/insert/index.d.ts +2 -2
  340. package/dist/types-ts4.5/keymaps/index.d.ts +2 -2
  341. package/dist/types-ts4.5/lazy-node-view/index.d.ts +3 -3
  342. package/dist/types-ts4.5/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -3
  343. package/dist/types-ts4.5/link/ConfigureLinkOverlay/handleNavigation.d.ts +1 -1
  344. package/dist/types-ts4.5/link/ConfigureLinkOverlay/index.d.ts +2 -2
  345. package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +3 -3
  346. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +12 -12
  347. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +8 -8
  348. package/dist/types-ts4.5/link/LinkSearch/LinkSearchList.d.ts +6 -6
  349. package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +4 -4
  350. package/dist/types-ts4.5/link/LinkSearch/types.d.ts +11 -11
  351. package/dist/types-ts4.5/link/types.d.ts +9 -9
  352. package/dist/types-ts4.5/lists/indentation.d.ts +1 -1
  353. package/dist/types-ts4.5/lists/node.d.ts +2 -2
  354. package/dist/types-ts4.5/lists/replace-content.d.ts +1 -1
  355. package/dist/types-ts4.5/lists/selection.d.ts +1 -1
  356. package/dist/types-ts4.5/media-inline/inline-image-card.d.ts +4 -4
  357. package/dist/types-ts4.5/media-inline/inline-image-wrapper.d.ts +3 -3
  358. package/dist/types-ts4.5/media-inline/media-inline-image-card.d.ts +8 -8
  359. package/dist/types-ts4.5/media-inline/types.d.ts +4 -4
  360. package/dist/types-ts4.5/media-inline/views/error-view.d.ts +3 -3
  361. package/dist/types-ts4.5/media-inline/views/loading-view.d.ts +2 -2
  362. package/dist/types-ts4.5/media-single/CommentBadge.d.ts +6 -6
  363. package/dist/types-ts4.5/media-single/CommentBadgeNext.d.ts +1 -1
  364. package/dist/types-ts4.5/media-single/MediaBadges.d.ts +4 -4
  365. package/dist/types-ts4.5/media-single/utils.d.ts +5 -5
  366. package/dist/types-ts4.5/node-visibility/node-visibility-manager.d.ts +5 -5
  367. package/dist/types-ts4.5/portal/PortalManager.d.ts +1 -1
  368. package/dist/types-ts4.5/portal/common.d.ts +2 -2
  369. package/dist/types-ts4.5/preset/builder.d.ts +1 -1
  370. package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +3 -3
  371. package/dist/types-ts4.5/provider-factory/card-provider.d.ts +1 -1
  372. package/dist/types-ts4.5/provider-factory/context-identifier-provider.d.ts +1 -1
  373. package/dist/types-ts4.5/provider-factory/image-upload-provider.d.ts +1 -1
  374. package/dist/types-ts4.5/provider-factory/macro-provider.d.ts +4 -4
  375. package/dist/types-ts4.5/provider-factory/media-provider.d.ts +5 -5
  376. package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +1 -1
  377. package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +10 -10
  378. package/dist/types-ts4.5/provider-factory/search-provider.d.ts +3 -3
  379. package/dist/types-ts4.5/provider-factory/types.d.ts +11 -11
  380. package/dist/types-ts4.5/provider-helpers/promise-helpers.d.ts +1 -1
  381. package/dist/types-ts4.5/quick-insert/use-icon-themed.d.ts +1 -1
  382. package/dist/types-ts4.5/react-node-view/getInlineNodeViewProducer.d.ts +6 -6
  383. package/dist/types-ts4.5/react-node-view/index.d.ts +1 -1
  384. package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +10 -10
  385. package/dist/types-ts4.5/resizer/Resizer.d.ts +32 -32
  386. package/dist/types-ts4.5/resizer/types.d.ts +2 -2
  387. package/dist/types-ts4.5/safe-plugin/index.d.ts +1 -1
  388. package/dist/types-ts4.5/selection/gap-cursor/actions.d.ts +1 -1
  389. package/dist/types-ts4.5/selection/gap-cursor/selection.d.ts +1 -1
  390. package/dist/types-ts4.5/selection/index.d.ts +1 -1
  391. package/dist/types-ts4.5/selection/types.d.ts +3 -3
  392. package/dist/types-ts4.5/table/SortingIcon.d.ts +1 -1
  393. package/dist/types-ts4.5/toolbar/context.d.ts +1 -1
  394. package/dist/types-ts4.5/types/annotation/index.d.ts +43 -43
  395. package/dist/types-ts4.5/types/copy-button.d.ts +8 -8
  396. package/dist/types-ts4.5/types/doc-builder.d.ts +1 -1
  397. package/dist/types-ts4.5/types/editor-actions.d.ts +6 -6
  398. package/dist/types-ts4.5/types/editor-container-width.d.ts +7 -7
  399. package/dist/types-ts4.5/types/editor-plugin.d.ts +33 -33
  400. package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -1
  401. package/dist/types-ts4.5/types/feature-flags.d.ts +107 -107
  402. package/dist/types-ts4.5/types/feedback-dialog.d.ts +5 -5
  403. package/dist/types-ts4.5/types/floating-toolbar.d.ts +142 -142
  404. package/dist/types-ts4.5/types/hyperlink.d.ts +10 -10
  405. package/dist/types-ts4.5/types/input-rules.d.ts +1 -1
  406. package/dist/types-ts4.5/types/next-editor-plugin.d.ts +47 -47
  407. package/dist/types-ts4.5/types/performance-tracking.d.ts +90 -90
  408. package/dist/types-ts4.5/types/plugin-factory.d.ts +6 -6
  409. package/dist/types-ts4.5/types/prosemirror-config.d.ts +1 -1
  410. package/dist/types-ts4.5/types/quick-insert.d.ts +9 -9
  411. package/dist/types-ts4.5/types/selection-toolbar.d.ts +2 -2
  412. package/dist/types-ts4.5/types/supported-browsers.d.ts +1 -1
  413. package/dist/types-ts4.5/types/tables.d.ts +3 -3
  414. package/dist/types-ts4.5/types/text-formatting.d.ts +14 -14
  415. package/dist/types-ts4.5/types/toolbar.d.ts +2 -2
  416. package/dist/types-ts4.5/types/type-ahead.d.ts +29 -29
  417. package/dist/types-ts4.5/types/ui-components.d.ts +7 -7
  418. package/dist/types-ts4.5/types/user-preferences.d.ts +6 -6
  419. package/dist/types-ts4.5/ugc-tokens/editor-ugc-token-names.d.ts +1 -1
  420. package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +5 -5
  421. package/dist/types-ts4.5/ui/AssistiveText/AssistiveText.d.ts +2 -2
  422. package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +2 -2
  423. package/dist/types-ts4.5/ui/Caption/index.d.ts +2 -2
  424. package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +4 -4
  425. package/dist/types-ts4.5/ui/DropList/index.d.ts +7 -7
  426. package/dist/types-ts4.5/ui/Emoji/index.d.ts +3 -3
  427. package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +1 -1
  428. package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +7 -7
  429. package/dist/types-ts4.5/ui/Expand/sharedStyles.d.ts +2 -2
  430. package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +20 -20
  431. package/dist/types-ts4.5/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +1 -1
  432. package/dist/types-ts4.5/ui/HoverLinkOverlay/types.d.ts +4 -4
  433. package/dist/types-ts4.5/ui/Layer/index.d.ts +6 -6
  434. package/dist/types-ts4.5/ui/MediaSingle/grid.d.ts +4 -4
  435. package/dist/types-ts4.5/ui/MediaSingle/index.d.ts +12 -12
  436. package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +8 -8
  437. package/dist/types-ts4.5/ui/Mention/index.d.ts +3 -3
  438. package/dist/types-ts4.5/ui/Mention/mention-with-profilecard.d.ts +4 -4
  439. package/dist/types-ts4.5/ui/Mention/mention-with-providers.d.ts +4 -4
  440. package/dist/types-ts4.5/ui/OverflowShadow/index.d.ts +1 -1
  441. package/dist/types-ts4.5/ui/OverflowShadow/shadowObserver.d.ts +1 -1
  442. package/dist/types-ts4.5/ui/PanelTextInput/index.d.ts +18 -18
  443. package/dist/types-ts4.5/ui/Popup/index.d.ts +16 -16
  444. package/dist/types-ts4.5/ui/Popup/utils.d.ts +6 -6
  445. package/dist/types-ts4.5/ui/Pulse/Pulse.d.ts +1 -1
  446. package/dist/types-ts4.5/ui/ResizerLegacy/index.d.ts +11 -11
  447. package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +8 -8
  448. package/dist/types-ts4.5/ui/TableSelector/index.d.ts +11 -11
  449. package/dist/types-ts4.5/ui/TableSelector/table-selector.d.ts +7 -7
  450. package/dist/types-ts4.5/ui/UnsupportedBlock/index.d.ts +1 -1
  451. package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +1 -1
  452. package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +2 -2
  453. package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +8 -8
  454. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +3 -3
  455. package/dist/types-ts4.5/ui-color/ColorPalette/index.d.ts +4 -4
  456. package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/types.d.ts +11 -11
  457. package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +11 -11
  458. package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +15 -15
  459. package/dist/types-ts4.5/ui-menu/DropdownMenu/types.d.ts +33 -33
  460. package/dist/types-ts4.5/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +4 -4
  461. package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +19 -19
  462. package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +1 -1
  463. package/dist/types-ts4.5/ui-react/with-react-editor-view-outer-listeners.d.ts +5 -5
  464. package/dist/types-ts4.5/user-preferences/persistence-api.d.ts +8 -8
  465. package/dist/types-ts4.5/utils/breakout.d.ts +12 -12
  466. package/dist/types-ts4.5/utils/calculate-toolbar-position.d.ts +1 -1
  467. package/dist/types-ts4.5/utils/compare-props.d.ts +3 -3
  468. package/dist/types-ts4.5/utils/count-nodes.d.ts +1 -1
  469. package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +1 -1
  470. package/dist/types-ts4.5/utils/editor-core-utils.d.ts +1 -1
  471. package/dist/types-ts4.5/utils/error-reporter.d.ts +1 -1
  472. package/dist/types-ts4.5/utils/get-performance-options.d.ts +2 -2
  473. package/dist/types-ts4.5/utils/hyperlink.d.ts +1 -1
  474. package/dist/types-ts4.5/utils/imageLoader.d.ts +3 -3
  475. package/dist/types-ts4.5/utils/input-rules.d.ts +2 -2
  476. package/dist/types-ts4.5/utils/macro.d.ts +1 -1
  477. package/dist/types-ts4.5/utils/page-element-counts.d.ts +2 -2
  478. package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +2 -2
  479. package/dist/types-ts4.5/utils/performance/measure-render.d.ts +3 -3
  480. package/dist/types-ts4.5/utils/performance/measure-tti.d.ts +1 -1
  481. package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +1 -1
  482. package/dist/types-ts4.5/utils/profiler/render-count.d.ts +3 -3
  483. package/dist/types-ts4.5/utils/track-unsupported-content.d.ts +5 -5
  484. package/dist/types-ts4.5/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +1 -1
  485. package/dist/types-ts4.5/utils/unsupportedContent/types.d.ts +1 -1
  486. package/dist/types-ts4.5/utils/validator.d.ts +5 -5
  487. package/dist/types-ts4.5/with-plugin-state/index.d.ts +1 -1
  488. package/package.json +4 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.29.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f0b0ea63f59bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0b0ea63f59bc) -
8
+ [ux] ED-28803 Register Delete Button in block menu and add delete functionality and hover styles
9
+
10
+ ### Patch Changes
11
+
12
+ - [`e229628ac96dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e229628ac96dd) -
13
+ [ED-28430] clean up FG platform_editor_find_and_replace_improvements_1 for find & replace
14
+ additional fixes
15
+ - [`0fdcb6f2f96fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0fdcb6f2f96fd) -
16
+ Sorted type and interface props to improve Atlaskit docs
17
+ - Updated dependencies
18
+
3
19
  ## 107.28.2
4
20
 
5
21
  ### Patch Changes
@@ -3,11 +3,14 @@
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "composite": true,
7
6
  "outDir": "../../../../../confluence/tsDist/@atlaskit__editor-common",
8
- "rootDir": "../"
7
+ "rootDir": "../",
8
+ "composite": true
9
9
  },
10
- "include": ["../src/**/*.ts", "../src/**/*.tsx"],
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
11
14
  "exclude": [
12
15
  "../src/**/__tests__/*",
13
16
  "../src/**/*.test.*",
@@ -183,4 +186,4 @@
183
186
  "path": "../../../media/media-core/afm-cc/tsconfig.json"
184
187
  }
185
188
  ]
186
- }
189
+ }
@@ -8,7 +8,12 @@ var _reactIntlNext = require("react-intl-next");
8
8
  var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
9
9
  copyBlock: {
10
10
  id: 'fabric.editor.block.menu.copy.block',
11
- defaultMessage: 'Copy Block',
11
+ defaultMessage: 'Copy block',
12
12
  description: 'Copy the selected block to the clipboard'
13
+ },
14
+ deleteBlock: {
15
+ id: 'fabric.editor.block.menu.delete.block',
16
+ defaultMessage: 'Delete',
17
+ description: 'Delete the selected block'
13
18
  }
14
19
  });
@@ -8,17 +8,17 @@ var _reactIntlNext = require("react-intl-next");
8
8
  var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
9
9
  copyBlock: {
10
10
  id: 'fabric.editor.block.menu.copy.block',
11
- defaultMessage: 'Copy Block',
11
+ defaultMessage: 'Copy block',
12
12
  description: 'Copy the selected block to the clipboard'
13
13
  },
14
14
  moveUpBlock: {
15
15
  id: 'fabric.editor.block.menu.move.up',
16
- defaultMessage: 'Move Up',
16
+ defaultMessage: 'Move up',
17
17
  description: 'Move the selected block up'
18
18
  },
19
19
  moveDownBlock: {
20
20
  id: 'fabric.editor.block.menu.move.down',
21
- defaultMessage: 'Move Down',
21
+ defaultMessage: 'Move down',
22
22
  description: 'Move the selected block down'
23
23
  },
24
24
  copyLink: {
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  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); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "107.28.1";
19
+ var packageVersion = "107.28.2";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -18,5 +18,5 @@ var FLOATING_TOOLBAR_LINKPICKER_CLASSNAME = exports.FLOATING_TOOLBAR_LINKPICKER_
18
18
 
19
19
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
20
20
  var smartCardStyles = exports.smartCardStyles = function smartCardStyles() {
21
- return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.", " {\n\t\tmax-width: calc(100% - 20px);\n\t\tvertical-align: top;\n\t\tword-break: break-all;\n\t\t", "\n\t\t.card {\n\t\t\tpadding-left: ", ";\n\t\t\tpadding-right: ", ";\n\t\t\tpadding-top: 0.5em;\n\t\t\tpadding-bottom: 0.5em;\n\t\t\tmargin-bottom: -0.5em;\n\n\t\t\t.", " > a:focus {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\t\t.", " > a {\n\t\t\t/* EDM-1717: box-shadow Safari fix start */\n\t\t\tz-index: 1;\n\t\t\tposition: relative;\n\t\t\t/* EDM-1717: box-shadow Safari fix end */\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " > a {\n\t\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t\t\t/* EDM-1717: box-shadow Safari fix start */\n\t\t\t\tz-index: 2;\n\t\t\t\t/* EDM-1717: box-shadow Safari fix end */\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\t.", " > div {\n\t\t\tcursor: pointer;\n\n\t\t\ta {\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t}\n\n\t\t&.", " .", " > div {\n\t\t\t", "\n\t\t\tborder-radius: ", ";\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " > div {\n\t\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", ".", " {\n\t\tmax-width: 100%;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\n\t\t.", " {\n\t\t\tcursor: pointer;\n\t\t\tbackground-color: ", ";\n\t\t\tborder-radius: ", ";\n\t\t\tborder: 1px solid ", ";\n\t\t\toverflow: hidden;\n\t\t}\n\n\t\t&.", " {\n\t\t\t.", " {\n\t\t\t\t", "\n\n\t\t\t\tinput::selection {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\t\t\t\tinput::-moz-selection {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " {\n\t\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\t.", " > div {\n\t\t\tcursor: pointer;\n\t\t\ta {\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t\t&::after {\n\t\t\t\ttransition: box-shadow 0s;\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t&.danger {\n\t\t\t.media-card-frame::after {\n\t\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t\t\tbackground: ", " !important;\n\t\t\t}\n\t\t\t.richMedia-resize-handle-right::after,\n\t\t\t.richMedia-resize-handle-left::after {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tpadding: 0;\n\t}\n"])), _smartCard.SmartCardSharedCssClassName.INLINE_CARD_CONTAINER, (0, _platformFeatureFlags.fg)('editor_inline_comments_on_inline_nodes') ? ".card-with-comment {\n background: ".concat("var(--ds-background-accent-yellow-subtler, #F8E6A0)", ";\n border-bottom: 2px solid ", "var(--ds-border-accent-yellow, #B38600)", ";\n box-shadow: ", "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)", ";\n }") : '', "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)", _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? "[data-inlinecard-button-overlay='icon-wrapper-line-height'] span {\n\t\t\t\tline-height: 0;\n\t\t\t}" : '', (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ? "\n\t\t\t\t&.".concat(_editorSharedStyles.akEditorSelectedNodeClassName, ":not(.search-match-block) .").concat(_smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, " > a {\n\t\t\t\t").concat((0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "\n\t\t\t}") : "\n\t\t\t\t&.".concat(_editorSharedStyles.akEditorSelectedNodeClassName, " .").concat(_smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, " > a {\n\t\t\t\t").concat((0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "\n\t\t\t}"), _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), _smartCard.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, _editorSharedStyles.akEditorSelectedNodeClassName, _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "var(--ds-border-radius-200, 8px)", _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), _smartCard.SmartCardSharedCssClassName.DATASOURCE_CONTAINER, _smartCard.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, DATASOURCE_INNER_CONTAINER_CLASSNAME, "var(--ds-background-neutral-subtle, #00000000)", "var(--ds-border-radius-200, 8px)", "var(--ds-border, #091E4224)", _editorSharedStyles.akEditorSelectedNodeClassName, DATASOURCE_INNER_CONTAINER_CLASSNAME, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "var(--ds-background-selected-hovered, #CCE0FF)", "var(--ds-background-selected-hovered, #CCE0FF)", DATASOURCE_INNER_CONTAINER_CLASSNAME, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), _smartCard.SmartCardSharedCssClassName.EMBED_CARD_CONTAINER, _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_find_and_replace_improvements_1') ? "\n\t\t\t\t&.".concat(_editorSharedStyles.akEditorSelectedNodeClassName, ":not(.search-match-block) .").concat(_smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after {\n\t\t\t\t\t").concat((0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "\n\t\t\t\t}\n\t\t\t") : "\n\t\t\t\t&.".concat(_editorSharedStyles.akEditorSelectedNodeClassName, " .").concat(_smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after {\n\t\t\t\t\t").concat((0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "\n\t\t\t\t}\n\t\t\t"), "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), FLOATING_TOOLBAR_LINKPICKER_CLASSNAME);
21
+ return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.", " {\n\t\tmax-width: calc(100% - 20px);\n\t\tvertical-align: top;\n\t\tword-break: break-all;\n\t\t", "\n\t\t.card {\n\t\t\tpadding-left: ", ";\n\t\t\tpadding-right: ", ";\n\t\t\tpadding-top: 0.5em;\n\t\t\tpadding-bottom: 0.5em;\n\t\t\tmargin-bottom: -0.5em;\n\n\t\t\t.", " > a:focus {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\t\t.", " > a {\n\t\t\t/* EDM-1717: box-shadow Safari fix start */\n\t\t\tz-index: 1;\n\t\t\tposition: relative;\n\t\t\t/* EDM-1717: box-shadow Safari fix end */\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " > a {\n\t\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t\t\t/* EDM-1717: box-shadow Safari fix start */\n\t\t\t\tz-index: 2;\n\t\t\t\t/* EDM-1717: box-shadow Safari fix end */\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\t.", " > div {\n\t\t\tcursor: pointer;\n\n\t\t\ta {\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t}\n\n\t\t&.", " .", " > div {\n\t\t\t", "\n\t\t\tborder-radius: ", ";\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " > div {\n\t\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", ".", " {\n\t\tmax-width: 100%;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\n\t\t.", " {\n\t\t\tcursor: pointer;\n\t\t\tbackground-color: ", ";\n\t\t\tborder-radius: ", ";\n\t\t\tborder: 1px solid ", ";\n\t\t\toverflow: hidden;\n\t\t}\n\n\t\t&.", " {\n\t\t\t.", " {\n\t\t\t\t", "\n\n\t\t\t\tinput::selection {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\t\t\t\tinput::-moz-selection {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " {\n\t\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\t.", " > div {\n\t\t\tcursor: pointer;\n\t\t\ta {\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t\t&::after {\n\t\t\t\ttransition: box-shadow 0s;\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t&.danger {\n\t\t\t.media-card-frame::after {\n\t\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t\t\tbackground: ", " !important;\n\t\t\t}\n\t\t\t.richMedia-resize-handle-right::after,\n\t\t\t.richMedia-resize-handle-left::after {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tpadding: 0;\n\t}\n"])), _smartCard.SmartCardSharedCssClassName.INLINE_CARD_CONTAINER, (0, _platformFeatureFlags.fg)('editor_inline_comments_on_inline_nodes') ? ".card-with-comment {\n background: ".concat("var(--ds-background-accent-yellow-subtler, #F8E6A0)", ";\n border-bottom: 2px solid ", "var(--ds-border-accent-yellow, #B38600)", ";\n box-shadow: ", "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)", ";\n }") : '', "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)", _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? "[data-inlinecard-button-overlay='icon-wrapper-line-height'] span {\n\t\t\t\tline-height: 0;\n\t\t\t}" : '', (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? "\n\t\t\t\t&.".concat(_editorSharedStyles.akEditorSelectedNodeClassName, ":not(.search-match-block) .").concat(_smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, " > a {\n\t\t\t\t").concat((0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "\n\t\t\t}") : "\n\t\t\t\t&.".concat(_editorSharedStyles.akEditorSelectedNodeClassName, " .").concat(_smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, " > a {\n\t\t\t\t").concat((0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "\n\t\t\t}"), _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), _smartCard.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, _editorSharedStyles.akEditorSelectedNodeClassName, _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "var(--ds-border-radius-200, 8px)", _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), _smartCard.SmartCardSharedCssClassName.DATASOURCE_CONTAINER, _smartCard.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, DATASOURCE_INNER_CONTAINER_CLASSNAME, "var(--ds-background-neutral-subtle, #00000000)", "var(--ds-border-radius-200, 8px)", "var(--ds-border, #091E4224)", _editorSharedStyles.akEditorSelectedNodeClassName, DATASOURCE_INNER_CONTAINER_CLASSNAME, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "var(--ds-background-selected-hovered, #CCE0FF)", "var(--ds-background-selected-hovered, #CCE0FF)", DATASOURCE_INNER_CONTAINER_CLASSNAME, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), _smartCard.SmartCardSharedCssClassName.EMBED_CARD_CONTAINER, _smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? "\n\t\t\t\t&.".concat(_editorSharedStyles.akEditorSelectedNodeClassName, ":not(.search-match-block) .").concat(_smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after {\n\t\t\t\t\t").concat((0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "\n\t\t\t\t}\n\t\t\t") : "\n\t\t\t\t&.".concat(_editorSharedStyles.akEditorSelectedNodeClassName, " .").concat(_smartCard.SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after {\n\t\t\t\t\t").concat((0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), "\n\t\t\t\t}\n\t\t\t"), "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), FLOATING_TOOLBAR_LINKPICKER_CLASSNAME);
22
22
  };
@@ -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 = "107.28.1";
27
+ var packageVersion = "107.28.2";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -2,7 +2,12 @@ import { defineMessages } from 'react-intl-next';
2
2
  export const messages = defineMessages({
3
3
  copyBlock: {
4
4
  id: 'fabric.editor.block.menu.copy.block',
5
- defaultMessage: 'Copy Block',
5
+ defaultMessage: 'Copy block',
6
6
  description: 'Copy the selected block to the clipboard'
7
+ },
8
+ deleteBlock: {
9
+ id: 'fabric.editor.block.menu.delete.block',
10
+ defaultMessage: 'Delete',
11
+ description: 'Delete the selected block'
7
12
  }
8
13
  });
@@ -2,17 +2,17 @@ import { defineMessages } from 'react-intl-next';
2
2
  export const messages = defineMessages({
3
3
  copyBlock: {
4
4
  id: 'fabric.editor.block.menu.copy.block',
5
- defaultMessage: 'Copy Block',
5
+ defaultMessage: 'Copy block',
6
6
  description: 'Copy the selected block to the clipboard'
7
7
  },
8
8
  moveUpBlock: {
9
9
  id: 'fabric.editor.block.menu.move.up',
10
- defaultMessage: 'Move Up',
10
+ defaultMessage: 'Move up',
11
11
  description: 'Move the selected block up'
12
12
  },
13
13
  moveDownBlock: {
14
14
  id: 'fabric.editor.block.menu.move.down',
15
- defaultMessage: 'Move Down',
15
+ defaultMessage: 'Move down',
16
16
  description: 'Move the selected block down'
17
17
  },
18
18
  copyLink: {
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "107.28.1";
4
+ const packageVersion = "107.28.2";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -35,7 +35,7 @@ export const smartCardStyles = () => css`
35
35
  line-height: 0;
36
36
  }` : ''}
37
37
 
38
- ${expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ? `
38
+ ${expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? `
39
39
  &.${akEditorSelectedNodeClassName}:not(.search-match-block) .${SmartCardSharedCssClassName.LOADER_WRAPPER} > a {
40
40
  ${getSelectionStyles([SelectionStyle.BoxShadow])}
41
41
  }` : `
@@ -124,7 +124,7 @@ export const smartCardStyles = () => css`
124
124
  }
125
125
  }
126
126
 
127
- ${expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ? `
127
+ ${expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? `
128
128
  &.${akEditorSelectedNodeClassName}:not(.search-match-block) .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div::after {
129
129
  ${getSelectionStyles([SelectionStyle.BoxShadow])}
130
130
  }
@@ -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 = "107.28.1";
17
+ const packageVersion = "107.28.2";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -2,7 +2,12 @@ import { defineMessages } from 'react-intl-next';
2
2
  export var messages = defineMessages({
3
3
  copyBlock: {
4
4
  id: 'fabric.editor.block.menu.copy.block',
5
- defaultMessage: 'Copy Block',
5
+ defaultMessage: 'Copy block',
6
6
  description: 'Copy the selected block to the clipboard'
7
+ },
8
+ deleteBlock: {
9
+ id: 'fabric.editor.block.menu.delete.block',
10
+ defaultMessage: 'Delete',
11
+ description: 'Delete the selected block'
7
12
  }
8
13
  });
@@ -2,17 +2,17 @@ import { defineMessages } from 'react-intl-next';
2
2
  export var messages = defineMessages({
3
3
  copyBlock: {
4
4
  id: 'fabric.editor.block.menu.copy.block',
5
- defaultMessage: 'Copy Block',
5
+ defaultMessage: 'Copy block',
6
6
  description: 'Copy the selected block to the clipboard'
7
7
  },
8
8
  moveUpBlock: {
9
9
  id: 'fabric.editor.block.menu.move.up',
10
- defaultMessage: 'Move Up',
10
+ defaultMessage: 'Move up',
11
11
  description: 'Move the selected block up'
12
12
  },
13
13
  moveDownBlock: {
14
14
  id: 'fabric.editor.block.menu.move.down',
15
- defaultMessage: 'Move Down',
15
+ defaultMessage: 'Move down',
16
16
  description: 'Move the selected block down'
17
17
  },
18
18
  copyLink: {
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "107.28.1";
10
+ var packageVersion = "107.28.2";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -12,5 +12,5 @@ export var FLOATING_TOOLBAR_LINKPICKER_CLASSNAME = 'card-floating-toolbar--link-
12
12
 
13
13
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
14
14
  export var smartCardStyles = function smartCardStyles() {
15
- return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.", " {\n\t\tmax-width: calc(100% - 20px);\n\t\tvertical-align: top;\n\t\tword-break: break-all;\n\t\t", "\n\t\t.card {\n\t\t\tpadding-left: ", ";\n\t\t\tpadding-right: ", ";\n\t\t\tpadding-top: 0.5em;\n\t\t\tpadding-bottom: 0.5em;\n\t\t\tmargin-bottom: -0.5em;\n\n\t\t\t.", " > a:focus {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\t\t.", " > a {\n\t\t\t/* EDM-1717: box-shadow Safari fix start */\n\t\t\tz-index: 1;\n\t\t\tposition: relative;\n\t\t\t/* EDM-1717: box-shadow Safari fix end */\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " > a {\n\t\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t\t\t/* EDM-1717: box-shadow Safari fix start */\n\t\t\t\tz-index: 2;\n\t\t\t\t/* EDM-1717: box-shadow Safari fix end */\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\t.", " > div {\n\t\t\tcursor: pointer;\n\n\t\t\ta {\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t}\n\n\t\t&.", " .", " > div {\n\t\t\t", "\n\t\t\tborder-radius: ", ";\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " > div {\n\t\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", ".", " {\n\t\tmax-width: 100%;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\n\t\t.", " {\n\t\t\tcursor: pointer;\n\t\t\tbackground-color: ", ";\n\t\t\tborder-radius: ", ";\n\t\t\tborder: 1px solid ", ";\n\t\t\toverflow: hidden;\n\t\t}\n\n\t\t&.", " {\n\t\t\t.", " {\n\t\t\t\t", "\n\n\t\t\t\tinput::selection {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\t\t\t\tinput::-moz-selection {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " {\n\t\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\t.", " > div {\n\t\t\tcursor: pointer;\n\t\t\ta {\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t\t&::after {\n\t\t\t\ttransition: box-shadow 0s;\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t&.danger {\n\t\t\t.media-card-frame::after {\n\t\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t\t\tbackground: ", " !important;\n\t\t\t}\n\t\t\t.richMedia-resize-handle-right::after,\n\t\t\t.richMedia-resize-handle-left::after {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tpadding: 0;\n\t}\n"])), SmartCardSharedCssClassName.INLINE_CARD_CONTAINER, fg('editor_inline_comments_on_inline_nodes') ? ".card-with-comment {\n background: ".concat("var(--ds-background-accent-yellow-subtler, #F8E6A0)", ";\n border-bottom: 2px solid ", "var(--ds-border-accent-yellow, #B38600)", ";\n box-shadow: ", "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)", ";\n }") : '', "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)", SmartCardSharedCssClassName.LOADER_WRAPPER, getSelectionStyles([SelectionStyle.BoxShadow]), editorExperiment('platform_editor_controls', 'variant1') || expValEqualsNoExposure('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? "[data-inlinecard-button-overlay='icon-wrapper-line-height'] span {\n\t\t\t\tline-height: 0;\n\t\t\t}" : '', expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ? "\n\t\t\t\t&.".concat(akEditorSelectedNodeClassName, ":not(.search-match-block) .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a {\n\t\t\t\t").concat(getSelectionStyles([SelectionStyle.BoxShadow]), "\n\t\t\t}") : "\n\t\t\t\t&.".concat(akEditorSelectedNodeClassName, " .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a {\n\t\t\t\t").concat(getSelectionStyles([SelectionStyle.BoxShadow]), "\n\t\t\t}"), SmartCardSharedCssClassName.LOADER_WRAPPER, SmartCardSharedCssClassName.LOADER_WRAPPER, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, SmartCardSharedCssClassName.LOADER_WRAPPER, akEditorSelectedNodeClassName, SmartCardSharedCssClassName.LOADER_WRAPPER, getSelectionStyles([SelectionStyle.BoxShadow]), "var(--ds-border-radius-200, 8px)", SmartCardSharedCssClassName.LOADER_WRAPPER, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), SmartCardSharedCssClassName.DATASOURCE_CONTAINER, SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, DATASOURCE_INNER_CONTAINER_CLASSNAME, "var(--ds-background-neutral-subtle, #00000000)", "var(--ds-border-radius-200, 8px)", "var(--ds-border, #091E4224)", akEditorSelectedNodeClassName, DATASOURCE_INNER_CONTAINER_CLASSNAME, getSelectionStyles([SelectionStyle.BoxShadow]), "var(--ds-background-selected-hovered, #CCE0FF)", "var(--ds-background-selected-hovered, #CCE0FF)", DATASOURCE_INNER_CONTAINER_CLASSNAME, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), SmartCardSharedCssClassName.EMBED_CARD_CONTAINER, SmartCardSharedCssClassName.LOADER_WRAPPER, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) && fg('platform_editor_find_and_replace_improvements_1') ? "\n\t\t\t\t&.".concat(akEditorSelectedNodeClassName, ":not(.search-match-block) .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after {\n\t\t\t\t\t").concat(getSelectionStyles([SelectionStyle.BoxShadow]), "\n\t\t\t\t}\n\t\t\t") : "\n\t\t\t\t&.".concat(akEditorSelectedNodeClassName, " .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after {\n\t\t\t\t\t").concat(getSelectionStyles([SelectionStyle.BoxShadow]), "\n\t\t\t\t}\n\t\t\t"), "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), FLOATING_TOOLBAR_LINKPICKER_CLASSNAME);
15
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.", " {\n\t\tmax-width: calc(100% - 20px);\n\t\tvertical-align: top;\n\t\tword-break: break-all;\n\t\t", "\n\t\t.card {\n\t\t\tpadding-left: ", ";\n\t\t\tpadding-right: ", ";\n\t\t\tpadding-top: 0.5em;\n\t\t\tpadding-bottom: 0.5em;\n\t\t\tmargin-bottom: -0.5em;\n\n\t\t\t.", " > a:focus {\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\t\t.", " > a {\n\t\t\t/* EDM-1717: box-shadow Safari fix start */\n\t\t\tz-index: 1;\n\t\t\tposition: relative;\n\t\t\t/* EDM-1717: box-shadow Safari fix end */\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " > a {\n\t\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t\t\t/* EDM-1717: box-shadow Safari fix start */\n\t\t\t\tz-index: 2;\n\t\t\t\t/* EDM-1717: box-shadow Safari fix end */\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\t.", " > div {\n\t\t\tcursor: pointer;\n\n\t\t\ta {\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t}\n\n\t\t&.", " .", " > div {\n\t\t\t", "\n\t\t\tborder-radius: ", ";\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " > div {\n\t\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", ".", " {\n\t\tmax-width: 100%;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\n\t\t.", " {\n\t\t\tcursor: pointer;\n\t\t\tbackground-color: ", ";\n\t\t\tborder-radius: ", ";\n\t\t\tborder: 1px solid ", ";\n\t\t\toverflow: hidden;\n\t\t}\n\n\t\t&.", " {\n\t\t\t.", " {\n\t\t\t\t", "\n\n\t\t\t\tinput::selection {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\t\t\t\tinput::-moz-selection {\n\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.danger {\n\t\t\t.", " {\n\t\t\t\tbox-shadow: 0 0 0 1px ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\t.", " > div {\n\t\t\tcursor: pointer;\n\t\t\ta {\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t\t&::after {\n\t\t\t\ttransition: box-shadow 0s;\n\t\t\t}\n\t\t}\n\n\t\t", "\n\n\t\t&.danger {\n\t\t\t.media-card-frame::after {\n\t\t\t\tbox-shadow: 0 0 0 1px ", " !important;\n\t\t\t\tbackground: ", " !important;\n\t\t\t}\n\t\t\t.richMedia-resize-handle-right::after,\n\t\t\t.richMedia-resize-handle-left::after {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tpadding: 0;\n\t}\n"])), SmartCardSharedCssClassName.INLINE_CARD_CONTAINER, fg('editor_inline_comments_on_inline_nodes') ? ".card-with-comment {\n background: ".concat("var(--ds-background-accent-yellow-subtler, #F8E6A0)", ";\n border-bottom: 2px solid ", "var(--ds-border-accent-yellow, #B38600)", ";\n box-shadow: ", "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)", ";\n }") : '', "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)", SmartCardSharedCssClassName.LOADER_WRAPPER, getSelectionStyles([SelectionStyle.BoxShadow]), editorExperiment('platform_editor_controls', 'variant1') || expValEqualsNoExposure('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? "[data-inlinecard-button-overlay='icon-wrapper-line-height'] span {\n\t\t\t\tline-height: 0;\n\t\t\t}" : '', expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? "\n\t\t\t\t&.".concat(akEditorSelectedNodeClassName, ":not(.search-match-block) .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a {\n\t\t\t\t").concat(getSelectionStyles([SelectionStyle.BoxShadow]), "\n\t\t\t}") : "\n\t\t\t\t&.".concat(akEditorSelectedNodeClassName, " .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a {\n\t\t\t\t").concat(getSelectionStyles([SelectionStyle.BoxShadow]), "\n\t\t\t}"), SmartCardSharedCssClassName.LOADER_WRAPPER, SmartCardSharedCssClassName.LOADER_WRAPPER, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, SmartCardSharedCssClassName.LOADER_WRAPPER, akEditorSelectedNodeClassName, SmartCardSharedCssClassName.LOADER_WRAPPER, getSelectionStyles([SelectionStyle.BoxShadow]), "var(--ds-border-radius-200, 8px)", SmartCardSharedCssClassName.LOADER_WRAPPER, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), SmartCardSharedCssClassName.DATASOURCE_CONTAINER, SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, DATASOURCE_INNER_CONTAINER_CLASSNAME, "var(--ds-background-neutral-subtle, #00000000)", "var(--ds-border-radius-200, 8px)", "var(--ds-border, #091E4224)", akEditorSelectedNodeClassName, DATASOURCE_INNER_CONTAINER_CLASSNAME, getSelectionStyles([SelectionStyle.BoxShadow]), "var(--ds-background-selected-hovered, #CCE0FF)", "var(--ds-background-selected-hovered, #CCE0FF)", DATASOURCE_INNER_CONTAINER_CLASSNAME, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), SmartCardSharedCssClassName.EMBED_CARD_CONTAINER, SmartCardSharedCssClassName.LOADER_WRAPPER, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? "\n\t\t\t\t&.".concat(akEditorSelectedNodeClassName, ":not(.search-match-block) .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after {\n\t\t\t\t\t").concat(getSelectionStyles([SelectionStyle.BoxShadow]), "\n\t\t\t\t}\n\t\t\t") : "\n\t\t\t\t&.".concat(akEditorSelectedNodeClassName, " .").concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after {\n\t\t\t\t\t").concat(getSelectionStyles([SelectionStyle.BoxShadow]), "\n\t\t\t\t}\n\t\t\t"), "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), FLOATING_TOOLBAR_LINKPICKER_CLASSNAME);
16
16
  };
@@ -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 = "107.28.1";
24
+ var packageVersion = "107.28.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -1,10 +1,10 @@
1
1
  import type { Transaction, Selection } from '@atlaskit/editor-prosemirror/state';
2
2
  import type { AnalyticsEventPayload } from './types/events';
3
3
  export type FireAnalyticsEventOptions = {
4
- immediate?: boolean;
5
4
  context?: {
6
5
  selection: Selection;
7
6
  };
7
+ immediate?: boolean;
8
8
  };
9
9
  export type EditorAnalyticsAPI = {
10
10
  /**
@@ -13,7 +13,7 @@ export type EditorAnalyticsAPI = {
13
13
  * @param {AnalyticsEventPayload} payload - analytics payload
14
14
  * @param {string} [channel="editor"] - optional channel identifier
15
15
  * @param {Transaction} tr - a transaction
16
- * @return {boolean} true if submitted successful, false if not submitted
16
+ * @returns {boolean} true if submitted successful, false if not submitted
17
17
  */
18
18
  attachAnalyticsEvent: (payload: AnalyticsEventPayload, channel?: string) => (tr: Transaction) => boolean;
19
19
  /**
@@ -1,27 +1,27 @@
1
1
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
2
2
  import type { TrackAEP } from './utils';
3
3
  export type ActiveSessionEventAttributes = {
4
+ contentSizeChanged: number;
5
+ effectiveness: {
6
+ repeatedActionCount: number;
7
+ safeInsertCount: number;
8
+ undoCount: number;
9
+ };
4
10
  efficiency: {
5
- totalActiveTime: number;
6
- totalActionCount: number;
7
11
  actionByTypeCount?: {
8
- textInputCount: number;
9
- nodeInsertionCount: number;
10
- nodeAttributeChangeCount: number;
12
+ contentDeletedCount: number;
11
13
  contentMovedCount: number;
12
- nodeDeletionCount: number;
13
- undoCount: number;
14
14
  markChangeCount: number;
15
- contentDeletedCount: number;
15
+ nodeAttributeChangeCount: number;
16
+ nodeDeletionCount: number;
17
+ nodeInsertionCount: number;
16
18
  other: number;
19
+ textInputCount: number;
20
+ undoCount: number;
17
21
  };
22
+ totalActionCount: number;
23
+ totalActiveTime: number;
18
24
  };
19
- effectiveness: {
20
- undoCount: number;
21
- repeatedActionCount: number;
22
- safeInsertCount: number;
23
- };
24
- contentSizeChanged: number;
25
25
  toolbarDocking?: 'top' | 'none';
26
26
  };
27
27
  export type ActiveSessionEventAEP = TrackAEP<ACTION.ENDED, ACTION_SUBJECT.ACTIVITY_SESSION, ACTION_SUBJECT_ID.ACTIVITY, ActiveSessionEventAttributes, undefined>;
@@ -8,8 +8,8 @@ type DefineButtonClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ACTIO
8
8
  }, undefined>;
9
9
  type AutoHighlightClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.DECORATION, ACTION_SUBJECT_ID.AI_DEFINITIONS_AUTO_HIGHLIGHT, CommonAttributes, undefined>;
10
10
  type AIDefinitionsErrorAEP = OperationalAEP<ACTION.ERRORED, ACTION_SUBJECT.AI_DEFINITIONS, ACTION_SUBJECT_ID, {
11
- errorMessage?: string;
12
11
  componentStack?: string;
12
+ errorMessage?: string;
13
13
  }>;
14
14
  export type AIDefinitionsEventPayload = DefineButtonClickedAEP | AutoHighlightClickedAEP | AIDefinitionsErrorAEP;
15
15
  export {};
@@ -5,10 +5,10 @@ type AIUnhandledErrorCaughtAEP = OperationalAEP<ACTION.UNHANDLED_ERROR_CAUGHT, A
5
5
  errorMessage?: string;
6
6
  }>;
7
7
  export type AIMarkdownConversionErrorCaughtAttributes = {
8
- errorType: 'markdownToProseMirrorError';
9
- errorSubType?: 'noProseMirrorDoc' | 'emptyProseMirrorDoc' | 'invalidProseMirrorDoc';
10
8
  componentStack: string;
11
9
  errorMessage?: string;
10
+ errorSubType?: 'noProseMirrorDoc' | 'emptyProseMirrorDoc' | 'invalidProseMirrorDoc';
11
+ errorType: 'markdownToProseMirrorError';
12
12
  };
13
13
  export type AIMarkdownConversionErrorCaughtAEP = OperationalAEP<ACTION.UNHANDLED_ERROR_CAUGHT, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, AIMarkdownConversionErrorCaughtAttributes>;
14
14
  export type AIEventPayload = AIUnhandledErrorCaughtAEP | AIMarkdownConversionErrorCaughtAEP;
@@ -11,10 +11,10 @@ type SuggestionPayload = BaseLineSuggestionPayload & {
11
11
  triggeredFrom?: AI_SUGGESTION_TRIGGERED_FROM;
12
12
  };
13
13
  type BaseLineSuggestionPayload = {
14
+ inlineSuggestionSessionId?: string | null;
14
15
  locale: string;
15
- suggestionType?: string;
16
16
  matchedFormat?: string;
17
- inlineSuggestionSessionId?: string | null;
17
+ suggestionType?: string;
18
18
  };
19
19
  type InsertSuggestionAEP = TrackAEP<ACTION.SUGGESTION_INSERTED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.AI_INLINE_SUGGESTION, SuggestionPayload, undefined>;
20
20
  type DismissSuggestionAEP = TrackAEP<ACTION.SUGGESTION_DISMISSED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.AI_INLINE_SUGGESTION, SuggestionPayload, undefined>;
@@ -1,44 +1,44 @@
1
1
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
2
2
  import type { UIAEP, OperationalAEP, TrackAEP } from './utils';
3
3
  type AIProactiveApiReceivedAEP = OperationalAEP<ACTION.API_RECEIVED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.PROACTIVE_SUGGESTION, {
4
+ maxDuration: number;
4
5
  meanDuration: number;
5
6
  medianDuration: number;
6
7
  minDuration: number;
7
- maxDuration: number;
8
- totalSuggestions: number;
9
8
  totalAcceptedSuggestions: number;
10
9
  totalDismissedSuggestions: number;
10
+ totalSuggestions: number;
11
11
  }>;
12
12
  type AIProactiveSuggestionDisplayToggledAEP = TrackAEP<ACTION.TOGGLED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.PROACTIVE_SUGGESTION, {
13
13
  toggledToValue: boolean;
14
- triggeredFrom: string;
15
14
  totalSuggestions: number;
15
+ triggeredFrom: string;
16
16
  }, undefined>;
17
17
  type AIProactiveSuggestionInsertedAEP = TrackAEP<ACTION.INSERTED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.PROACTIVE_SUGGESTION, {
18
18
  aiInteractionID: string | undefined;
19
- triggeredFrom: string;
20
- transformAction?: string;
21
- type?: string;
22
19
  details?: {
23
20
  [key: string]: string[] | string;
24
21
  };
25
- transformType: 'REPLACE_PARAGRAPH';
26
22
  insertionMethod: 'replace' | 'insertBelow';
23
+ transformAction?: string;
24
+ transformType: 'REPLACE_PARAGRAPH';
25
+ triggeredFrom: string;
26
+ type?: string;
27
27
  }, undefined>;
28
28
  type AIProactiveSuggestionDismissedAEP = TrackAEP<ACTION.DISMISSED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.PROACTIVE_SUGGESTION, {
29
29
  aiInteractionID: string | undefined;
30
- triggeredFrom: string;
31
- transformAction?: string;
32
- type?: string;
33
30
  details?: {
34
31
  [key: string]: string[] | string;
35
32
  };
33
+ transformAction?: string;
36
34
  transformType: 'REPLACE_PARAGRAPH';
35
+ triggeredFrom: string;
36
+ type?: string;
37
37
  }, undefined>;
38
38
  type AIProactiveSuggestionFeedbackClickedAEP = UIAEP<ACTION.CLICK, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.RESPONSE_FEEDBACK_BUTTON, {
39
- sentiment: string;
40
- product: string;
41
39
  configItemTitle: 'proactive-recommendation';
40
+ product: string;
41
+ sentiment: string;
42
42
  }, undefined>;
43
43
  type AIProactiveSuggestionCopiedAEP = UIAEP<ACTION.CLICK, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.COPY_BUTTON, {
44
44
  experienceType: 'proactive-recommendation';
@@ -5,40 +5,40 @@
5
5
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
6
6
  import type { TrackAEP } from './utils';
7
7
  export type AIUnifiedCommonAttributes = {
8
- singleInstrumentationID: string;
9
- aiInteractionID: string;
10
- aiFeatureName: string;
11
- proactiveAIGenerated: 0 | 1;
12
- userGeneratedAI: 0 | 1;
13
- isAIFeature: 1;
14
8
  aiExperienceName?: string;
15
- traceIds?: string[];
9
+ aiFeatureName: string;
10
+ aiInteractionID: string;
16
11
  invokedFrom?: string;
12
+ isAIFeature: 1;
17
13
  /**
18
14
  * Nudge metrics will be used passed in analytics events.
19
15
  * It is currently only set when "Improve writing" is triggered from the
20
16
  * "Improve writing" nudge.
21
17
  */
22
18
  nudgeMetrics?: Record<string, number | undefined>;
19
+ proactiveAIGenerated: 0 | 1;
20
+ singleInstrumentationID: string;
21
+ traceIds?: string[];
22
+ userGeneratedAI: 0 | 1;
23
23
  };
24
24
  type AIUnifiedAgentAttributes = {
25
- agentName?: string;
26
- agentId?: string;
27
25
  agentCreatorType?: string;
28
26
  agentExternalConfigReference?: string;
27
+ agentId?: string;
29
28
  agentIsDefault?: boolean;
29
+ agentName?: string;
30
30
  };
31
31
  type AIInteractionInitiatedAEP = TrackAEP<ACTION.INITIATED, ACTION_SUBJECT.AI_INTERACTION, ACTION_SUBJECT_ID.EDITOR_PLUGIN_AI, AIUnifiedCommonAttributes & AIUnifiedAgentAttributes, undefined>;
32
32
  type AIInteractionDismissedAEP = TrackAEP<ACTION.DISMISSED, ACTION_SUBJECT.AI_INTERACTION, ACTION_SUBJECT_ID.EDITOR_PLUGIN_AI, AIUnifiedCommonAttributes & AIUnifiedAgentAttributes, undefined>;
33
33
  type AIResultViewedAEP = TrackAEP<ACTION.VIEWED, ACTION_SUBJECT.AI_RESULT, ACTION_SUBJECT_ID.EDITOR_PLUGIN_AI, AIUnifiedCommonAttributes & AIUnifiedAgentAttributes, undefined>;
34
34
  type AIResultActionedAEP = TrackAEP<ACTION.ACTIONED, ACTION_SUBJECT.AI_RESULT, ACTION_SUBJECT_ID.EDITOR_PLUGIN_AI, AIUnifiedCommonAttributes & AIUnifiedAgentAttributes & {
35
+ aiResultAction: string;
35
36
  promptType?: string;
36
37
  refinementCount?: number;
37
- aiResultAction: string;
38
38
  }, undefined>;
39
39
  type AIResultErrorAEP = TrackAEP<ACTION.ERROR, ACTION_SUBJECT.AI_RESULT, ACTION_SUBJECT_ID.EDITOR_PLUGIN_AI, AIUnifiedCommonAttributes & AIUnifiedAgentAttributes & {
40
- aiErrorMessage?: string;
41
40
  aiErrorCode?: number;
41
+ aiErrorMessage?: string;
42
42
  }, undefined>;
43
43
  type AIFeedbackSubmittedAEP = TrackAEP<ACTION.SUBMITTED, ACTION_SUBJECT.AI_FEEDBACK, ACTION_SUBJECT_ID.EDITOR_PLUGIN_AI, AIUnifiedCommonAttributes & AIUnifiedAgentAttributes & {
44
44
  aiFeedbackResult: 'up' | 'down';
@@ -2,16 +2,16 @@ import type { ACTION, ACTION_SUBJECT } from './enums';
2
2
  import type { OperationalAEP, TrackAEP } from './utils';
3
3
  export type BreakoutSupportedNodes = 'layoutSection' | 'expand' | 'codeBlock';
4
4
  export type BreakoutResizedAEP = TrackAEP<ACTION.RESIZED, ACTION_SUBJECT.ELEMENT, undefined, {
5
+ newWidth?: number;
5
6
  nodeType: BreakoutSupportedNodes;
6
7
  prevWidth?: number;
7
- newWidth?: number;
8
8
  }, undefined>;
9
9
  export type BreakoutResizedPerfSamplingAEP = OperationalAEP<ACTION.RESIZED_PERF_SAMPLING, ACTION_SUBJECT.ELEMENT, undefined, {
10
- nodeType: BreakoutSupportedNodes;
11
- frameRate: number;
12
- nodeSize: number;
13
10
  docSize: number;
11
+ frameRate: number;
14
12
  isInitialSample: boolean;
13
+ nodeSize: number;
14
+ nodeType: BreakoutSupportedNodes;
15
15
  }>;
16
16
  export type ChangedBreakoutModeAEP = TrackAEP<ACTION.CHANGED_BREAKOUT_MODE, ACTION_SUBJECT.ELEMENT, undefined, {
17
17
  mode: 'center' | 'wide' | 'full-width';
@@ -9,15 +9,15 @@ type CloseAEP = UIAEP<ACTION.CLOSED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
9
9
  extensionType?: string;
10
10
  }, undefined>;
11
11
  type ConfigPanelCrashedAEP = UIAEP<ACTION.ERRORED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
12
- product: string;
13
12
  browserInfo: string;
14
- extensionKey: string;
15
- fields: string;
16
13
  error: string;
17
14
  errorInfo?: {
18
15
  componentStack: string;
19
16
  };
20
17
  errorStack?: string;
18
+ extensionKey: string;
19
+ fields: string;
20
+ product: string;
21
21
  }, undefined>;
22
22
  export type ConfigPanelEventPayload = OpenAEP | CloseAEP | ConfigPanelCrashedAEP;
23
23
  export {};
@@ -2,16 +2,16 @@ import type { ACTION, ACTION_SUBJECT } from './enums';
2
2
  import type { TrackAEP } from './utils';
3
3
  type CopyAEP = TrackAEP<ACTION.COPIED, ACTION_SUBJECT.DOCUMENT, undefined, {
4
4
  content: string[];
5
+ extensionKey?: string;
6
+ extensionType?: string;
5
7
  inputMethod?: string;
6
8
  nodeType?: string;
7
- extensionType?: string;
8
- extensionKey?: string;
9
9
  }, undefined>;
10
10
  type CutAEP = TrackAEP<ACTION.CUT, ACTION_SUBJECT.DOCUMENT, undefined, {
11
11
  content: string[];
12
- nodeType?: string;
13
- extensionType?: string;
14
12
  extensionKey?: string;
13
+ extensionType?: string;
14
+ nodeType?: string;
15
15
  }, undefined>;
16
16
  export type CutCopyEventPayload = CutAEP | CopyAEP;
17
17
  export {};
@@ -3,9 +3,9 @@ export type DatasourceClickedPayload = {
3
3
  action: ACTION.CLICKED;
4
4
  actionSubject: ACTION_SUBJECT.BUTTON;
5
5
  actionSubjectId: ACTION_SUBJECT_ID.EDIT_DATASOURCE;
6
- eventType: EVENT_TYPE.UI;
7
6
  attributes?: {
8
- extensionKey?: string;
9
7
  appearance?: string;
8
+ extensionKey?: string;
10
9
  };
10
+ eventType: EVENT_TYPE.UI;
11
11
  };
@@ -10,8 +10,8 @@ type DecrementDateSegmentAEP = TrackAEP<ACTION.DECREMENTED, ACTION_SUBJECT.DATE_
10
10
  }, undefined>;
11
11
  type CommitDateAEP = TrackAEP<ACTION.COMMITTED, ACTION_SUBJECT.DATE, undefined, {
12
12
  commitMethod: INPUT_METHOD.PICKER | INPUT_METHOD.BLUR | INPUT_METHOD.KEYBOARD;
13
- isValid: true | false;
14
13
  isToday: true | false;
14
+ isValid: true | false;
15
15
  }, undefined>;
16
16
  export type DateEventPayload = TypeDateStartedAEP | TypeDateFinishedAEP | IncrementDateSegmentAEP | DecrementDateSegmentAEP | CommitDateAEP;
17
17
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
2
2
  import type { TrackAEP, UIAEP } from './utils';
3
3
  type ElementAttributes = {
4
- nodeDepth: number;
5
- nodeType: string;
6
4
  destinationNodeDepth?: number;
7
5
  destinationNodeType?: string;
8
- isSameParent?: boolean;
6
+ hasSelectedMultipleNodes?: boolean;
9
7
  inputMethod?: string;
8
+ isSameParent?: boolean;
9
+ nodeDepth: number;
10
+ nodeType: string;
10
11
  nodeTypes?: string;
11
- hasSelectedMultipleNodes?: boolean;
12
12
  };
13
13
  type ElementMovedAEP = TrackAEP<ACTION.MOVED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
14
14
  type ElementDragAEP = UIAEP<ACTION.DRAGGED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;