@atlaskit/editor-core 233.0.2 → 234.0.1

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 (253) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/composable-editor/core-editor.js +4 -0
  3. package/dist/cjs/composable-editor/editor-internal.js +18 -3
  4. package/dist/cjs/create-editor/ReactEditorView.js +9 -1
  5. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -3
  6. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +5 -9
  7. package/dist/cjs/ui/quick-insert/getExtensionQuickInsertComponents.js +4 -11
  8. package/dist/cjs/utils/performance/components/RenderTracking.js +44 -0
  9. package/dist/cjs/version-wrapper.js +1 -1
  10. package/dist/es2019/composable-editor/core-editor.js +5 -1
  11. package/dist/es2019/composable-editor/editor-internal.js +18 -3
  12. package/dist/es2019/create-editor/ReactEditorView.js +9 -1
  13. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +2 -4
  14. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +5 -7
  15. package/dist/es2019/ui/quick-insert/getExtensionQuickInsertComponents.js +2 -2
  16. package/dist/es2019/utils/performance/components/RenderTracking.js +36 -0
  17. package/dist/es2019/version-wrapper.js +1 -1
  18. package/dist/esm/composable-editor/core-editor.js +5 -1
  19. package/dist/esm/composable-editor/editor-internal.js +18 -3
  20. package/dist/esm/create-editor/ReactEditorView.js +9 -1
  21. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +2 -4
  22. package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +5 -9
  23. package/dist/esm/ui/quick-insert/getExtensionQuickInsertComponents.js +5 -12
  24. package/dist/esm/utils/performance/components/RenderTracking.js +37 -0
  25. package/dist/esm/version-wrapper.js +1 -1
  26. package/dist/types/composable-editor/editor-internal.d.ts +2 -0
  27. package/dist/types/ui/EditorContentContainer/EditorContentContainer.d.ts +6 -5
  28. package/dist/types/utils/performance/components/RenderTracking.d.ts +13 -0
  29. package/package.json +41 -41
  30. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -761
  31. package/dist/cjs/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -121
  32. package/dist/cjs/ui/EditorContentContainer/styles/aiPanel.js +0 -228
  33. package/dist/cjs/ui/EditorContentContainer/styles/annotationStyles.js +0 -52
  34. package/dist/cjs/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -70
  35. package/dist/cjs/ui/EditorContentContainer/styles/baseStyles.js +0 -121
  36. package/dist/cjs/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -38
  37. package/dist/cjs/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -113
  38. package/dist/cjs/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -332
  39. package/dist/cjs/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -244
  40. package/dist/cjs/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -38
  41. package/dist/cjs/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -39
  42. package/dist/cjs/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -38
  43. package/dist/cjs/ui/EditorContentContainer/styles/cursorStyles.js +0 -31
  44. package/dist/cjs/ui/EditorContentContainer/styles/dateStyles.js +0 -100
  45. package/dist/cjs/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -39
  46. package/dist/cjs/ui/EditorContentContainer/styles/embedCardStyles.js +0 -41
  47. package/dist/cjs/ui/EditorContentContainer/styles/emoji.js +0 -471
  48. package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +0 -352
  49. package/dist/cjs/ui/EditorContentContainer/styles/extensionStyles.js +0 -436
  50. package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -260
  51. package/dist/cjs/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -63
  52. package/dist/cjs/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -25
  53. package/dist/cjs/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -51
  54. package/dist/cjs/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -27
  55. package/dist/cjs/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -125
  56. package/dist/cjs/ui/EditorContentContainer/styles/gridStyles.js +0 -49
  57. package/dist/cjs/ui/EditorContentContainer/styles/indentationStyles.js +0 -55
  58. package/dist/cjs/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -56
  59. package/dist/cjs/ui/EditorContentContainer/styles/layout.js +0 -781
  60. package/dist/cjs/ui/EditorContentContainer/styles/link.js +0 -66
  61. package/dist/cjs/ui/EditorContentContainer/styles/list.js +0 -325
  62. package/dist/cjs/ui/EditorContentContainer/styles/mediaStyles.js +0 -343
  63. package/dist/cjs/ui/EditorContentContainer/styles/mentions.js +0 -273
  64. package/dist/cjs/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -20
  65. package/dist/cjs/ui/EditorContentContainer/styles/panelStyles.js +0 -387
  66. package/dist/cjs/ui/EditorContentContainer/styles/paragraphStyles.js +0 -71
  67. package/dist/cjs/ui/EditorContentContainer/styles/placeholderStyles.js +0 -134
  68. package/dist/cjs/ui/EditorContentContainer/styles/resizerStyles.js +0 -648
  69. package/dist/cjs/ui/EditorContentContainer/styles/rule.js +0 -48
  70. package/dist/cjs/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -38
  71. package/dist/cjs/ui/EditorContentContainer/styles/selectionStyles.js +0 -177
  72. package/dist/cjs/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -35
  73. package/dist/cjs/ui/EditorContentContainer/styles/shadowStyles.js +0 -76
  74. package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +0 -473
  75. package/dist/cjs/ui/EditorContentContainer/styles/statusStyles.js +0 -305
  76. package/dist/cjs/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -37
  77. package/dist/cjs/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -253
  78. package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +0 -327
  79. package/dist/cjs/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -467
  80. package/dist/cjs/ui/EditorContentContainer/styles/telepointerStyles.js +0 -233
  81. package/dist/cjs/ui/EditorContentContainer/styles/textColorStyles.js +0 -27
  82. package/dist/cjs/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -24
  83. package/dist/cjs/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -104
  84. package/dist/cjs/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -42
  85. package/dist/cjs/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -24
  86. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -764
  87. package/dist/es2019/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -115
  88. package/dist/es2019/ui/EditorContentContainer/styles/aiPanel.js +0 -225
  89. package/dist/es2019/ui/EditorContentContainer/styles/annotationStyles.js +0 -55
  90. package/dist/es2019/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -64
  91. package/dist/es2019/ui/EditorContentContainer/styles/baseStyles.js +0 -119
  92. package/dist/es2019/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -32
  93. package/dist/es2019/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -115
  94. package/dist/es2019/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -338
  95. package/dist/es2019/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -301
  96. package/dist/es2019/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -32
  97. package/dist/es2019/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -33
  98. package/dist/es2019/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -32
  99. package/dist/es2019/ui/EditorContentContainer/styles/cursorStyles.js +0 -25
  100. package/dist/es2019/ui/EditorContentContainer/styles/dateStyles.js +0 -122
  101. package/dist/es2019/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -33
  102. package/dist/es2019/ui/EditorContentContainer/styles/embedCardStyles.js +0 -35
  103. package/dist/es2019/ui/EditorContentContainer/styles/emoji.js +0 -530
  104. package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +0 -346
  105. package/dist/es2019/ui/EditorContentContainer/styles/extensionStyles.js +0 -432
  106. package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -355
  107. package/dist/es2019/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -60
  108. package/dist/es2019/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -19
  109. package/dist/es2019/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -45
  110. package/dist/es2019/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -21
  111. package/dist/es2019/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -195
  112. package/dist/es2019/ui/EditorContentContainer/styles/gridStyles.js +0 -43
  113. package/dist/es2019/ui/EditorContentContainer/styles/indentationStyles.js +0 -49
  114. package/dist/es2019/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -50
  115. package/dist/es2019/ui/EditorContentContainer/styles/layout.js +0 -886
  116. package/dist/es2019/ui/EditorContentContainer/styles/link.js +0 -60
  117. package/dist/es2019/ui/EditorContentContainer/styles/list.js +0 -322
  118. package/dist/es2019/ui/EditorContentContainer/styles/mediaStyles.js +0 -483
  119. package/dist/es2019/ui/EditorContentContainer/styles/mentions.js +0 -287
  120. package/dist/es2019/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -55
  121. package/dist/es2019/ui/EditorContentContainer/styles/panelStyles.js +0 -381
  122. package/dist/es2019/ui/EditorContentContainer/styles/paragraphStyles.js +0 -65
  123. package/dist/es2019/ui/EditorContentContainer/styles/placeholderStyles.js +0 -128
  124. package/dist/es2019/ui/EditorContentContainer/styles/resizerStyles.js +0 -723
  125. package/dist/es2019/ui/EditorContentContainer/styles/rule.js +0 -45
  126. package/dist/es2019/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -32
  127. package/dist/es2019/ui/EditorContentContainer/styles/selectionStyles.js +0 -171
  128. package/dist/es2019/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -29
  129. package/dist/es2019/ui/EditorContentContainer/styles/shadowStyles.js +0 -81
  130. package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +0 -666
  131. package/dist/es2019/ui/EditorContentContainer/styles/statusStyles.js +0 -299
  132. package/dist/es2019/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -34
  133. package/dist/es2019/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -325
  134. package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +0 -341
  135. package/dist/es2019/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -508
  136. package/dist/es2019/ui/EditorContentContainer/styles/telepointerStyles.js +0 -227
  137. package/dist/es2019/ui/EditorContentContainer/styles/textColorStyles.js +0 -21
  138. package/dist/es2019/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -18
  139. package/dist/es2019/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -110
  140. package/dist/es2019/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -36
  141. package/dist/es2019/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -18
  142. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -759
  143. package/dist/esm/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -115
  144. package/dist/esm/ui/EditorContentContainer/styles/aiPanel.js +0 -221
  145. package/dist/esm/ui/EditorContentContainer/styles/annotationStyles.js +0 -45
  146. package/dist/esm/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -64
  147. package/dist/esm/ui/EditorContentContainer/styles/baseStyles.js +0 -114
  148. package/dist/esm/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -32
  149. package/dist/esm/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -107
  150. package/dist/esm/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -325
  151. package/dist/esm/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -238
  152. package/dist/esm/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -32
  153. package/dist/esm/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -33
  154. package/dist/esm/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -32
  155. package/dist/esm/ui/EditorContentContainer/styles/cursorStyles.js +0 -25
  156. package/dist/esm/ui/EditorContentContainer/styles/dateStyles.js +0 -94
  157. package/dist/esm/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -33
  158. package/dist/esm/ui/EditorContentContainer/styles/embedCardStyles.js +0 -35
  159. package/dist/esm/ui/EditorContentContainer/styles/emoji.js +0 -464
  160. package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +0 -346
  161. package/dist/esm/ui/EditorContentContainer/styles/extensionStyles.js +0 -430
  162. package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -253
  163. package/dist/esm/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -56
  164. package/dist/esm/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -19
  165. package/dist/esm/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -45
  166. package/dist/esm/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -21
  167. package/dist/esm/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -118
  168. package/dist/esm/ui/EditorContentContainer/styles/gridStyles.js +0 -43
  169. package/dist/esm/ui/EditorContentContainer/styles/indentationStyles.js +0 -49
  170. package/dist/esm/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -50
  171. package/dist/esm/ui/EditorContentContainer/styles/layout.js +0 -774
  172. package/dist/esm/ui/EditorContentContainer/styles/link.js +0 -60
  173. package/dist/esm/ui/EditorContentContainer/styles/list.js +0 -318
  174. package/dist/esm/ui/EditorContentContainer/styles/mediaStyles.js +0 -337
  175. package/dist/esm/ui/EditorContentContainer/styles/mentions.js +0 -267
  176. package/dist/esm/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -14
  177. package/dist/esm/ui/EditorContentContainer/styles/panelStyles.js +0 -381
  178. package/dist/esm/ui/EditorContentContainer/styles/paragraphStyles.js +0 -65
  179. package/dist/esm/ui/EditorContentContainer/styles/placeholderStyles.js +0 -128
  180. package/dist/esm/ui/EditorContentContainer/styles/resizerStyles.js +0 -641
  181. package/dist/esm/ui/EditorContentContainer/styles/rule.js +0 -41
  182. package/dist/esm/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -32
  183. package/dist/esm/ui/EditorContentContainer/styles/selectionStyles.js +0 -171
  184. package/dist/esm/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -29
  185. package/dist/esm/ui/EditorContentContainer/styles/shadowStyles.js +0 -69
  186. package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +0 -468
  187. package/dist/esm/ui/EditorContentContainer/styles/statusStyles.js +0 -299
  188. package/dist/esm/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -30
  189. package/dist/esm/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -247
  190. package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +0 -320
  191. package/dist/esm/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -461
  192. package/dist/esm/ui/EditorContentContainer/styles/telepointerStyles.js +0 -227
  193. package/dist/esm/ui/EditorContentContainer/styles/textColorStyles.js +0 -21
  194. package/dist/esm/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -18
  195. package/dist/esm/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -98
  196. package/dist/esm/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -36
  197. package/dist/esm/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -18
  198. package/dist/types/ui/EditorContentContainer/EditorContentContainer-emotion.d.ts +0 -21
  199. package/dist/types/ui/EditorContentContainer/styles/agentShimmerStyles.d.ts +0 -2
  200. package/dist/types/ui/EditorContentContainer/styles/aiPanel.d.ts +0 -29
  201. package/dist/types/ui/EditorContentContainer/styles/annotationStyles.d.ts +0 -8
  202. package/dist/types/ui/EditorContentContainer/styles/backgroundColorStyles.d.ts +0 -22
  203. package/dist/types/ui/EditorContentContainer/styles/baseStyles.d.ts +0 -36
  204. package/dist/types/ui/EditorContentContainer/styles/blockMarksStyles.d.ts +0 -8
  205. package/dist/types/ui/EditorContentContainer/styles/blockSpacingStyles.d.ts +0 -18
  206. package/dist/types/ui/EditorContentContainer/styles/blockTypeStyles.d.ts +0 -65
  207. package/dist/types/ui/EditorContentContainer/styles/codeBlockStyles.d.ts +0 -39
  208. package/dist/types/ui/EditorContentContainer/styles/codeMarkStyles.d.ts +0 -8
  209. package/dist/types/ui/EditorContentContainer/styles/commentEditorStyles.d.ts +0 -8
  210. package/dist/types/ui/EditorContentContainer/styles/containerTypeStyles.d.ts +0 -26
  211. package/dist/types/ui/EditorContentContainer/styles/cursorStyles.d.ts +0 -8
  212. package/dist/types/ui/EditorContentContainer/styles/dateStyles.d.ts +0 -32
  213. package/dist/types/ui/EditorContentContainer/styles/editorUGCTokenStyles.d.ts +0 -16
  214. package/dist/types/ui/EditorContentContainer/styles/embedCardStyles.d.ts +0 -8
  215. package/dist/types/ui/EditorContentContainer/styles/emoji.d.ts +0 -55
  216. package/dist/types/ui/EditorContentContainer/styles/expandStyles.d.ts +0 -52
  217. package/dist/types/ui/EditorContentContainer/styles/extensionStyles.d.ts +0 -20
  218. package/dist/types/ui/EditorContentContainer/styles/findReplaceStyles.d.ts +0 -22
  219. package/dist/types/ui/EditorContentContainer/styles/firstBlockNodeStyles.d.ts +0 -20
  220. package/dist/types/ui/EditorContentContainer/styles/floatingToolbarStyles.d.ts +0 -8
  221. package/dist/types/ui/EditorContentContainer/styles/fontSizeStyles.d.ts +0 -8
  222. package/dist/types/ui/EditorContentContainer/styles/fullPageEditorStyles.d.ts +0 -8
  223. package/dist/types/ui/EditorContentContainer/styles/gapCursorStyles.d.ts +0 -15
  224. package/dist/types/ui/EditorContentContainer/styles/gridStyles.d.ts +0 -8
  225. package/dist/types/ui/EditorContentContainer/styles/indentationStyles.d.ts +0 -8
  226. package/dist/types/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.d.ts +0 -8
  227. package/dist/types/ui/EditorContentContainer/styles/layout.d.ts +0 -207
  228. package/dist/types/ui/EditorContentContainer/styles/link.d.ts +0 -22
  229. package/dist/types/ui/EditorContentContainer/styles/list.d.ts +0 -50
  230. package/dist/types/ui/EditorContentContainer/styles/mediaStyles.d.ts +0 -41
  231. package/dist/types/ui/EditorContentContainer/styles/mentions.d.ts +0 -29
  232. package/dist/types/ui/EditorContentContainer/styles/overflowShadowStyles.d.ts +0 -8
  233. package/dist/types/ui/EditorContentContainer/styles/panelStyles.d.ts +0 -43
  234. package/dist/types/ui/EditorContentContainer/styles/paragraphStyles.d.ts +0 -22
  235. package/dist/types/ui/EditorContentContainer/styles/placeholderStyles.d.ts +0 -22
  236. package/dist/types/ui/EditorContentContainer/styles/resizerStyles.d.ts +0 -145
  237. package/dist/types/ui/EditorContentContainer/styles/rule.d.ts +0 -15
  238. package/dist/types/ui/EditorContentContainer/styles/scrollbarStyles.d.ts +0 -8
  239. package/dist/types/ui/EditorContentContainer/styles/selectionStyles.d.ts +0 -74
  240. package/dist/types/ui/EditorContentContainer/styles/selectionToolbarStyles.d.ts +0 -8
  241. package/dist/types/ui/EditorContentContainer/styles/shadowStyles.d.ts +0 -29
  242. package/dist/types/ui/EditorContentContainer/styles/smartCardStyles.d.ts +0 -96
  243. package/dist/types/ui/EditorContentContainer/styles/statusStyles.d.ts +0 -36
  244. package/dist/types/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.d.ts +0 -17
  245. package/dist/types/ui/EditorContentContainer/styles/syncBlockStyles.d.ts +0 -36
  246. package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +0 -84
  247. package/dist/types/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +0 -77
  248. package/dist/types/ui/EditorContentContainer/styles/telepointerStyles.d.ts +0 -15
  249. package/dist/types/ui/EditorContentContainer/styles/textColorStyles.d.ts +0 -8
  250. package/dist/types/ui/EditorContentContainer/styles/textHighlightStyles.d.ts +0 -8
  251. package/dist/types/ui/EditorContentContainer/styles/unsupportedStyles.d.ts +0 -27
  252. package/dist/types/ui/EditorContentContainer/styles/vanillaTooltipStyles.d.ts +0 -11
  253. package/dist/types/ui/EditorContentContainer/styles/whitespaceStyles.d.ts +0 -8
@@ -1,121 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.agentShimmerStyle = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled */
12
-
13
- // Agent-edit shimmer (CCI-18033) styles, kept in their own file so they're easy to find and remove
14
- // if the approach changes. Applied only when the `platform_editor_agent_be_streaming` experiment is
15
- // on (the collab plugin adds the decorations); dormant otherwise.
16
- //
17
- // @deprecated This style has been migrated to Compiled CSS, under experiment
18
- // platform_editor_core_static_css. If you change this, also update the corresponding
19
- // `agentShimmerStyles` block in
20
- // packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
21
-
22
- // Skeleton-loader sweep across the agent-authored range.
23
- var agentShimmer = (0, _react.keyframes)({
24
- from: {
25
- backgroundPosition: '200% 0'
26
- },
27
- to: {
28
- backgroundPosition: '-200% 0'
29
- }
30
- });
31
-
32
- // Purple "just edited" highlight: eases the background and underline in, holds, then eases them back
33
- // out over the highlight's lifetime (duration is set inline per-decoration to match its removal).
34
- var agentEditHighlight = (0, _react.keyframes)({
35
- '0%': {
36
- backgroundColor: 'transparent',
37
- borderBottomColor: 'transparent'
38
- },
39
- '12%': {
40
- backgroundColor: "var(--ds-background-accent-purple-subtlest, #F8EEFE)",
41
- borderBottomColor: "var(--ds-border-accent-purple, #AF59E1)"
42
- },
43
- '88%': {
44
- backgroundColor: "var(--ds-background-accent-purple-subtlest, #F8EEFE)",
45
- borderBottomColor: "var(--ds-border-accent-purple, #AF59E1)"
46
- },
47
- '100%': {
48
- backgroundColor: 'transparent',
49
- borderBottomColor: 'transparent'
50
- }
51
- });
52
-
53
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
54
- var agentShimmerStyle = exports.agentShimmerStyle = (0, _react.css)({
55
- // Skeleton-loader bar over the agent-authored range (text hidden, grey skeleton with a moving
56
- // highlight), plus a Rovo AI telepointer/cursor at the end of the range.
57
- '.ProseMirror .collab-agent-shimmer': {
58
- animationDuration: '1.25s',
59
- animationIterationCount: 'infinite',
60
- animationName: agentShimmer,
61
- animationTimingFunction: 'linear',
62
- backgroundColor: "var(--ds-skeleton, #0515240F)",
63
- backgroundImage: "linear-gradient(90deg, ".concat("var(--ds-skeleton, #0515240F)", " 0%, ", "var(--ds-skeleton-subtle, #17171708)", " 50%, ", "var(--ds-skeleton, #0515240F)", " 100%)"),
64
- backgroundSize: '200% 100%',
65
- borderRadius: "var(--ds-radius-xsmall, 2px)",
66
- boxDecorationBreak: 'clone',
67
- color: 'transparent',
68
- caretColor: 'transparent'
69
- },
70
- // Purple "just edited" highlight shown over the range after the skeleton clears — same colours as
71
- // the editor AI "improve writing" in-editor highlight, but eased in and out via `agentEditHighlight`
72
- // (kept as a plain class so no unsafe `:not()` selector is needed; any overlap with an annotation is
73
- // momentary). The underline keeps its width with a transparent colour so the fade causes no layout
74
- // shift; `animation-duration` is set inline per-decoration, with this as a fallback.
75
- '.ProseMirror .collab-agent-edit-highlight': {
76
- animationName: agentEditHighlight,
77
- animationTimingFunction: 'ease-in-out',
78
- animationFillMode: 'both',
79
- animationDuration: '2000ms',
80
- borderBottom: "var(--ds-border-width, 1px)".concat(" dashed transparent")
81
- },
82
- '.ProseMirror .ai-in-editor-telepointer': {
83
- position: 'relative',
84
- zIndex: 1,
85
- '& > .ai-in-editor-telepointer-label': {
86
- position: 'absolute',
87
- boxSizing: 'border-box',
88
- display: 'flex',
89
- flexDirection: 'row',
90
- justifyContent: 'center',
91
- alignItems: 'center',
92
- padding: "var(--ds-space-025, 2px)",
93
- gap: "var(--ds-space-075, 6px)",
94
- height: 16,
95
- top: "var(--ds-space-0, 0px)",
96
- left: "var(--ds-space-0, 0px)",
97
- borderRadius: "0 ".concat("var(--ds-space-050, 4px)", " ", "var(--ds-space-050, 4px)", " 0"),
98
- border: "var(--ds-border-width, 1px)".concat(" solid transparent"),
99
- background: "linear-gradient(".concat("var(--ds-text, #292A2E)", ", ", "var(--ds-text, #292A2E)", ") padding-box, conic-gradient(from 270deg at 50% 50%, #1868db 0deg, #1868db 115deg, #fca700 115deg, #fca700 180deg, #bf63f3 180deg, #bf63f3 310deg, #82b536 310deg, #82b536 359.96deg, #1868db 360deg) border-box"),
100
- fontFamily: "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
101
- fontWeight: "var(--ds-font-weight-semibold, 600)",
102
- // Match the AI in-editor telepointer label's fixed 10px/9px sizing (no exact typography token).
103
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
104
- fontSize: 10,
105
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
106
- lineHeight: '9px',
107
- textAlign: 'center',
108
- whiteSpace: 'pre',
109
- color: "var(--ds-text-inverse, #FFFFFF)"
110
- },
111
- '&::after': {
112
- content: "''",
113
- position: 'absolute',
114
- width: 1,
115
- height: 24,
116
- top: "var(--ds-space-0, 0px)",
117
- left: "var(--ds-space-0, 0px)",
118
- background: "var(--ds-border-brand, #1868DB)"
119
- }
120
- }
121
- });
@@ -1,228 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.aiPanelDarkStyles = exports.aiPanelDarkFirefoxStyles = exports.aiPanelBaseStyles = exports.aiPanelBaseFirefoxStyles = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _react = require("@emotion/react");
10
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
11
- @repo/internal/deprecations/deprecation-ticket-required, @atlaskit/ui-styling-standard/no-exported-styles */
12
-
13
- /**
14
- * aiPanelStyles
15
- * was imported from packages/editor/editor-core/src/ui/ContentStyles/ai-panels.ts
16
- */
17
-
18
- var rotationAnimation = (0, _react.keyframes)({
19
- '0%': {
20
- '--panel-gradient-angle': '0deg'
21
- },
22
- '100%': {
23
- '--panel-gradient-angle': '360deg'
24
- }
25
- });
26
- var rotationAnimationFirefox = (0, _react.keyframes)({
27
- '0%': {
28
- '--panel-gradient-angle': '0deg',
29
- backgroundPosition: '100%'
30
- },
31
- '100%': {
32
- '--panel-gradient-angle': '360deg',
33
- backgroundPosition: '-100%'
34
- }
35
- });
36
- var aiPrismColor = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, 'prism.border.step.1', {
37
- light: '#0065FF',
38
- dark: '#0065FF80'
39
- }), 'prism.border.step.2', {
40
- light: '#0469FF',
41
- dark: '#0469FF80'
42
- }), 'prism.border.step.3', {
43
- light: '#BF63F3',
44
- dark: '#BF63F380'
45
- }), 'prism.border.step.4', {
46
- light: '#FFA900',
47
- dark: '#FFA90080'
48
- });
49
- var aiPrismColorStep1Light = aiPrismColor['prism.border.step.1']['light'];
50
- var aiPrismColorStep2Light = aiPrismColor['prism.border.step.2']['light'];
51
- var aiPrismColorStep3Light = aiPrismColor['prism.border.step.3']['light'];
52
- var aiPrismColorStep4Light = aiPrismColor['prism.border.step.4']['light'];
53
- var aiPrismColorStep1Dark = aiPrismColor['prism.border.step.1']['dark'];
54
- var aiPrismColorStep2Dark = aiPrismColor['prism.border.step.2']['dark'];
55
- var aiPrismColorStep3Dark = aiPrismColor['prism.border.step.3']['dark'];
56
- var aiPrismColorStep4Dark = aiPrismColor['prism.border.step.4']['dark'];
57
-
58
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
59
- var prismBorderBaseBackgroundFirefox = "linear-gradient(90deg, ".concat(aiPrismColorStep1Light, " 0%, ").concat(aiPrismColorStep2Light, " 12%, ").concat(aiPrismColorStep3Light, " 24%, ").concat(aiPrismColorStep4Light, " 48%, ").concat(aiPrismColorStep3Light, " 64%, ").concat(aiPrismColorStep2Light, " 80%, ").concat(aiPrismColorStep1Light, " 100%)");
60
-
61
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
62
- var prismBorderBaseBackground = "conic-gradient(from var(--panel-gradient-angle, 270deg), ".concat(aiPrismColorStep1Light, " 0%, ").concat(aiPrismColorStep2Light, " 20%, ").concat(aiPrismColorStep3Light, " 50%, ").concat(aiPrismColorStep4Light, " 56%, ").concat(aiPrismColorStep1Light, " 100%)");
63
-
64
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
65
- var prismBorderDarkBackgroundFirefox = "linear-gradient(90deg, ".concat(aiPrismColorStep1Dark, " 0%, ").concat(aiPrismColorStep2Dark, " 12%, ").concat(aiPrismColorStep3Dark, " 24%, ").concat(aiPrismColorStep4Dark, " 48%, ").concat(aiPrismColorStep3Dark, " 64%, ").concat(aiPrismColorStep2Dark, " 80%, ").concat(aiPrismColorStep1Dark, " 100%)");
66
-
67
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
68
- var prismBorderDarkBackground = "conic-gradient(from var(--panel-gradient-angle, 270deg), ".concat(aiPrismColorStep1Dark, " 0%, ").concat(aiPrismColorStep2Dark, " 20%, ").concat(aiPrismColorStep3Dark, " 50%, ").concat(aiPrismColorStep4Dark, " 56%, ").concat(aiPrismColorStep1Dark, " 100%)");
69
-
70
- /**
71
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
72
- * If you need to make changes here, also update the corresponding style in
73
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
74
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
75
- */
76
- var aiPanelBaseStyles = exports.aiPanelBaseStyles = (0, _react.css)({
77
- '@property --panel-gradient-angle': {
78
- syntax: '<angle>',
79
- initialValue: '270deg',
80
- inherits: false
81
- },
82
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
83
- 'div[extensionType="com.atlassian.ai-blocks"]': {
84
- /* This hides the label for the extension */
85
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
86
- '.extension-label': {
87
- display: 'none'
88
- },
89
- /* This styles the ai panel correctly when its just sitting on the page and there
90
- is no user interaction */
91
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
92
- '.extension-container': {
93
- position: 'relative',
94
- boxShadow: 'none',
95
- overflow: 'unset',
96
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
97
- backgroundColor: "var(--ds-surface, #FFFFFF)".concat(" !important"),
98
- // prismBorderBaseStyles
99
- '&::before, &::after': {
100
- content: "''",
101
- position: 'absolute',
102
- zIndex: -1,
103
- width: "calc(100% + 2px)",
104
- height: "calc(100% + 2px)",
105
- top: "-1px",
106
- left: "-1px",
107
- borderRadius: "calc(".concat("var(--ds-radius-small, 3px)", " + 1px)"),
108
- transform: 'translate3d(0, 0, 0)',
109
- background: prismBorderBaseBackground
110
- },
111
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
112
- '&.with-hover-border': {
113
- '&::before, &::after': {
114
- //prismBorderHoverStyles
115
- background: "var(--ds-border-input, #8C8F97)"
116
- }
117
- },
118
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
119
- '& .with-margin-styles': {
120
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
121
- backgroundColor: "var(--ds-surface, #FFFFFF)".concat(" !important"),
122
- borderRadius: "var(--ds-radius-small, 3px)"
123
- }
124
- }
125
- },
126
- /* This styles the ai panel correctly when its streaming */
127
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
128
- 'div[extensionType="com.atlassian.ai-blocks"]:has(.streaming)': {
129
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
130
- '.extension-container': {
131
- '&::before, &::after': {
132
- // prismBorderAnimationStyles
133
- animationName: rotationAnimation,
134
- animationDuration: '2s',
135
- animationTimingFunction: 'linear',
136
- animationIterationCount: 'infinite',
137
- '@media (prefers-reduced-motion)': {
138
- animation: 'none'
139
- }
140
- }
141
- }
142
- },
143
- /* This styles the ai panel correctly when a user is hovering over the delete button in the floating panel */
144
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
145
- 'div[extensionType="com.atlassian.ai-blocks"].danger': {
146
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
147
- '.extension-container': {
148
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)")
149
- }
150
- },
151
- /* This removes the margin from the action list when inside an ai panel */
152
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
153
- 'div[extensiontype="com.atlassian.ai-blocks"][extensionkey="ai-action-items-block:aiActionItemsBodiedExtension"]': {
154
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
155
- 'div[data-node-type="actionList"]': {
156
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
157
- margin: '0 !important'
158
- }
159
- }
160
- });
161
-
162
- /**
163
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
164
- * If you need to make changes here, also update the corresponding style in
165
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
166
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
167
- */
168
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
169
- var aiPanelBaseFirefoxStyles = exports.aiPanelBaseFirefoxStyles = (0, _react.css)({
170
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
171
- 'div[extensionType="com.atlassian.ai-blocks"]': {
172
- '&::before, &::after': {
173
- background: prismBorderBaseBackgroundFirefox,
174
- backgroundSize: '200%'
175
- }
176
- },
177
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
178
- 'div[extensionType="com.atlassian.ai-blocks"]:has(.streaming)': {
179
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
180
- '.extension-container': {
181
- '&::before, &::after': {
182
- animationName: rotationAnimationFirefox,
183
- animationDirection: 'normal',
184
- animationDuration: '1s'
185
- }
186
- }
187
- }
188
- });
189
-
190
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
191
- /**
192
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
193
- * If you need to make changes here, also update the corresponding style in
194
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
195
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
196
- */
197
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
198
- var aiPanelDarkStyles = exports.aiPanelDarkStyles = (0, _react.css)({
199
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
200
- 'div[extensionType="com.atlassian.ai-blocks"]': {
201
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
202
- '.extension-container': {
203
- '&::before, &::after': {
204
- background: prismBorderDarkBackground
205
- }
206
- }
207
- }
208
- });
209
-
210
- /**
211
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
212
- * If you need to make changes here, also update the corresponding style in
213
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
214
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
215
- */
216
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
217
- var aiPanelDarkFirefoxStyles = exports.aiPanelDarkFirefoxStyles = (0, _react.css)({
218
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
219
- 'div[extensionType="com.atlassian.ai-blocks"]': {
220
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
221
- '.extension-container': {
222
- '&::before, &::after': {
223
- background: prismBorderDarkBackgroundFirefox,
224
- backgroundSize: '200%'
225
- }
226
- }
227
- }
228
- });
@@ -1,52 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.annotationStyles = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _react = require("@emotion/react");
10
- var _styles = require("@atlaskit/editor-common/styles");
11
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
12
- @repo/internal/deprecations/deprecation-ticket-required,
13
- @atlaskit/ui-styling-standard/no-exported-styles */
14
-
15
- /**
16
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
17
- * If you need to make changes here, also update the corresponding style in
18
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
19
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
20
- */
21
- var annotationStyles = exports.annotationStyles = (0, _react.css)({
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
23
- '.ProseMirror': (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_styles.AnnotationSharedClassNames.blur, ", .").concat(_styles.AnnotationSharedClassNames.focus, ", .").concat(_styles.AnnotationSharedClassNames.draft, ", .").concat(_styles.AnnotationSharedClassNames.hover), {
24
- borderBottom: '2px solid transparent',
25
- cursor: 'pointer',
26
- padding: '1px 0 2px',
27
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
28
- '&:has(.card), &:has([data-inline-card])': {
29
- padding: '5px 0 3px 0'
30
- },
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
32
- '&:has(.date-lozenger-container)': {
33
- paddingTop: "var(--ds-space-025, 2px)"
34
- }
35
- }), ".".concat(_styles.AnnotationSharedClassNames.focus), {
36
- background: "var(--ds-background-accent-yellow-subtlest-pressed, #EFDD4E)",
37
- borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
38
- boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #1E1F2140, 0px 0px 1px #1E1F214f)"
39
- }), ".".concat(_styles.AnnotationSharedClassNames.draft), {
40
- background: "var(--ds-background-accent-yellow-subtlest-pressed, #EFDD4E)",
41
- borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
42
- boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #1E1F2140, 0px 0px 1px #1E1F214f)",
43
- cursor: 'initial'
44
- }), ".".concat(_styles.AnnotationSharedClassNames.blur), {
45
- background: "var(--ds-background-accent-yellow-subtlest, #FEF7C8)",
46
- borderBottomColor: "var(--ds-border-accent-yellow, #B38600)"
47
- }), ".".concat(_styles.AnnotationSharedClassNames.hover), {
48
- background: "var(--ds-background-accent-yellow-subtlest-hovered, #F5E989)",
49
- borderBottomColor: "var(--ds-border-accent-yellow, #B38600)",
50
- boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #1E1F2140, 0px 0px 1px #1E1F214f)"
51
- })
52
- });
@@ -1,70 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.textHighlightPaddingStyles = exports.highlightLinksUnsetStyles = exports.backgroundColorStyles = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
-
12
- /**
13
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
14
- * If you need to make changes here, also update the corresponding style in
15
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
16
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
17
- */
18
- var textHighlightPaddingStyles = exports.textHighlightPaddingStyles = (0, _react.css)({
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
20
- '.fabric-background-color-mark:has(.background-color-padding-left)': {
21
- paddingLeft: "var(--ds-space-025, 2px)",
22
- marginLeft: "var(--ds-space-negative-025, -2px)"
23
- },
24
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
25
- '.fabric-background-color-mark:has(.background-color-padding-right)': {
26
- paddingRight: "var(--ds-space-025, 2px)",
27
- marginRight: "var(--ds-space-negative-025, -2px)"
28
- }
29
- });
30
-
31
- /**
32
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
33
- * If you need to make changes here, also update the corresponding style in
34
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
35
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
36
- */
37
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
38
- var backgroundColorStyles = exports.backgroundColorStyles = (0, _react.css)({
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
40
- '.fabric-background-color-mark': {
41
- backgroundColor: 'var(--custom-palette-color, inherit)',
42
- borderRadius: "var(--ds-radius-xsmall, 2px)",
43
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
44
- paddingTop: 1,
45
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
46
- paddingBottom: 2,
47
- boxDecorationBreak: 'clone'
48
- },
49
- // Don't show text highlight styling when there is an inline comment
50
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
51
- '.fabric-background-color-mark .ak-editor-annotation': {
52
- backgroundColor: 'unset'
53
- }
54
- });
55
-
56
- /**
57
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
58
- * If you need to make changes here, also update the corresponding style in
59
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
60
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
61
- */
62
- // Don't show text highlight styling when there is a hyperlink.
63
- // Conditionally applied when the highlight-on-links experiment is off.
64
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
65
- var highlightLinksUnsetStyles = exports.highlightLinksUnsetStyles = (0, _react.css)({
66
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
67
- 'a .fabric-background-color-mark': {
68
- backgroundColor: 'unset'
69
- }
70
- });
@@ -1,121 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.maxModeReizeFixStyles = exports.editorLargeGutterPuddingReducedBaseStyles = exports.editorGutterPaddingBaseStyles = exports.baseStylesMaxContainerWidthFixes = exports.baseStyles = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _react = require("@emotion/react");
10
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
11
- @repo/internal/deprecations/deprecation-ticket-required,
12
- @atlaskit/ui-styling-standard/no-exported-styles */
13
-
14
- // = akEditorDefaultLayoutWidth * breakoutWideScaleRatio = 1010.8 ~ 1011 This is a resulting width value that is applied to nodes that currently use breakouts (except table) and are set to `wide` when the viewport's width is > 1329px.
15
- var akEditorCalculatedWideLayoutWidth = 1011;
16
- // from breakoutConsts.calcWideWidth, layoutMaxWidth * breakoutConsts.wideScaleRatio = 904.8 ~ 905 This is a resulting width value that is applied to nodes that currently use breakouts (except table) and are set to `wide` when the viewport's width is <= 1266px.
17
- var akEditorCalculatedWideLayoutWidthSmallViewport = 905;
18
- var akEditorGutterPadding = 32;
19
- var akEditorDefaultLayoutWidth = 760;
20
- var akEditorFullWidthLayoutWidth = 1800;
21
- // The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
22
- var akEditorBreakpointForSmallDevice = "1266px";
23
- var akEditorGutterPaddingReduced = 24;
24
- var akEditorFullPageNarrowBreakout = 600;
25
- var akEditorUltraWideLayoutWidth = 4000;
26
-
27
- // jest warning: JSDOM version (22) doesn't support the new @container CSS rule
28
- /**
29
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
30
- * If you need to make changes here, also update the corresponding style in
31
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
32
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
33
- */
34
- var baseStyles = exports.baseStyles = (0, _react.css)((0, _defineProperty2.default)({
35
- '--ak-editor--default-gutter-padding': "".concat(akEditorGutterPadding, "px"),
36
- '--ak-editor--default-layout-width': "".concat(akEditorDefaultLayoutWidth, "px"),
37
- '--ak-editor--resizer-handle-spacing': "12px",
38
- '--ak-editor--full-width-layout-width': "".concat(akEditorFullWidthLayoutWidth, "px"),
39
- /* calculate editor line length, 100cqw is the editor container width */
40
- '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--default-layout-width))',
41
- '--ak-editor--max-width-layout-width': "".concat(akEditorUltraWideLayoutWidth, "px"),
42
- '--ak-editor--breakout-wide-layout-width': "".concat(akEditorCalculatedWideLayoutWidthSmallViewport, "px"),
43
- '--ak-editor--breakout-full-page-guttering-padding': 'calc(var(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding))',
44
- '--ak-editor--breakout-fallback-width': 'calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))',
45
- '--ak-editor--breakout-min-width': '100%',
46
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
47
- '.fabric-editor--full-width-mode': {
48
- '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--full-width-layout-width))',
49
- /* in full width appearances it's not possible to rely on cqw because it doesn't account for the page scrollbar, which depends on users system settings */
50
- '--ak-editor--breakout-fallback-width': '100%',
51
- '--ak-editor--breakout-min-width': '0px'
52
- },
53
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
54
- '.ProseMirror': {
55
- '--ak-editor-max-container-width': 'calc(100cqw - var(--ak-editor--large-gutter-padding))',
56
- outline: 'none',
57
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
58
- fontSize: 'var(--ak-editor-base-font-size)'
59
- },
60
- /* We can't allow nodes that are inside other nodes to bleed from the parent container */
61
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
62
- '.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block]': {
63
- '--ak-editor-max-container-width': '100%'
64
- }
65
- }, "@container editor-area (width >= ".concat(akEditorBreakpointForSmallDevice, ")"), {
66
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
67
- '.ProseMirror': {
68
- '--ak-editor--breakout-wide-layout-width': "".concat(akEditorCalculatedWideLayoutWidth, "px")
69
- }
70
- }));
71
- /**
72
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
73
- * If you need to make changes here, also update the corresponding style in
74
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
75
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
76
- */
77
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
78
- var maxModeReizeFixStyles = exports.maxModeReizeFixStyles = (0, _react.css)({
79
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
80
- '.fabric-editor--max-width-mode': {
81
- '--ak-editor--line-length': 'min(calc(100cqw - var(--ak-editor--large-gutter-padding) * 2), var(--ak-editor--max-width-layout-width))',
82
- /* in max width appearances it's not possible to rely on cqw because it doesn't account for the page scrollbar, which depends on users system settings */
83
- '--ak-editor--breakout-fallback-width': '100%',
84
- '--ak-editor--breakout-min-width': '0px'
85
- }
86
- });
87
- /**
88
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
89
- * If you need to make changes here, also update the corresponding style in
90
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
91
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
92
- */
93
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
94
- var baseStylesMaxContainerWidthFixes = exports.baseStylesMaxContainerWidthFixes = (0, _react.css)({
95
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
96
- '.ProseMirror': {
97
- '--ak-editor-max-container-width': 'calc(100cqw - var(--ak-editor--large-gutter-padding)*2)'
98
- }
99
- });
100
-
101
- // This is to avoid using akEditorGutterPaddingDynamic
102
- /**
103
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
104
- * If you need to make changes here, also update the corresponding style in
105
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
106
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
107
- */
108
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
109
- var editorGutterPaddingBaseStyles = exports.editorGutterPaddingBaseStyles = (0, _react.css)({
110
- '--ak-editor--large-gutter-padding': '72px'
111
- });
112
- /**
113
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
114
- * If you need to make changes here, also update the corresponding style in
115
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
116
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
117
- */
118
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
119
- var editorLargeGutterPuddingReducedBaseStyles = exports.editorLargeGutterPuddingReducedBaseStyles = (0, _react.css)((0, _defineProperty2.default)({}, "@container editor-area (max-width: ".concat(akEditorFullPageNarrowBreakout, "px)"), {
120
- '--ak-editor--large-gutter-padding': "".concat(akEditorGutterPaddingReduced, "px")
121
- }));
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.blockMarksStyles = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
-
12
- /**
13
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
14
- * If you need to make changes here, also update the corresponding style in
15
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
16
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
17
- */
18
- var blockMarksStyles = exports.blockMarksStyles = (0, _react.css)({
19
- // We need to remove margin-top from first item
20
- // inside doc, tableCell, tableHeader, blockquote, etc.
21
- //
22
- // - For nested block marks apart from those with indentation mark.
23
- // - Do not remove the margin top for nodes inside indentation marks.
24
- // - Do not remove the margin top for nodes inside alignment marks.
25
- // - Do not remove the margin top for nodes inside font size marks.
26
- //- If first element inside a block node has alignment or font size mark, then remove the margin-top.
27
- //- If first document element has indentation mark remove margin-top.
28
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
29
- '*:not(.fabric-editor-block-mark) >, *:not(.fabric-editor-block-mark) > div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size), .fabric-editor-alignment:first-of-type:first-child, .fabric-editor-font-size:first-of-type:first-child, .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child': {
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
31
- 'p, h1, h2, h3, h4, h5, h6, .heading-wrapper': {
32
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
33
- '&:first-child:not(style), style:first-child + *': {
34
- marginTop: 0
35
- }
36
- }
37
- }
38
- });