@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,113 +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.blockSpacingVarStyles = exports.blockSpacingVarScaledStyles = 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
- @atlaskit/ui-styling-standard/no-exported-styles,
13
- @atlaskit/ui-styling-standard/no-nested-selectors,
14
- @atlaskit/ui-styling-standard/no-unsafe-values,
15
- @atlaskit/ui-styling-standard/no-unsafe-selectors,
16
- @atlaskit/ui-styling-standard/no-imported-style-values */
17
-
18
- /**
19
- * Emotion mirror of the block-spacing styles in EditorContentContainer-compiled.tsx.
20
- *
21
- * Re-declares the block-element vertical margins so they read from the
22
- * --ak-editor-extension-block-spacing CSS custom property (falling back to the original
23
- * 0.75rem). This is applied LAST in the Emotion container's css array, and only when
24
- * the platform_editor_extension_block_spacing experiment is enabled, so it overrides
25
- * the base block margins by source order without affecting the experiment-off behaviour.
26
- *
27
- * Keep this in sync with the block-spacing styles in EditorContentContainer-compiled.tsx.
28
- */
29
- var blockSpacingVarStyles = exports.blockSpacingVarStyles = (0, _react.css)({
30
- '.ProseMirror': (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
31
- // paragraphs
32
- p: {
33
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)'
34
- },
35
- // SSR reset rule (mirrors listsStyles `& > style:first-child + p`) so the first
36
- // paragraph after an SSR style tag also honours the spacing var.
37
- '& > style:first-child + p': {
38
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)'
39
- },
40
- // blockquotes — base also zeroes the first blockquote's top margin.
41
- '& blockquote': {
42
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)',
43
- '&:first-child': {
44
- marginTop: 0
45
- }
46
- }
47
- }, ".".concat(_styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER), {
48
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)'
49
- }), "li", {
50
- '> .code-block': {
51
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)'
52
- },
53
- '> .code-block:first-child, > .ProseMirror-gapcursor:first-child + .code-block': {
54
- marginTop: 0
55
- },
56
- '> div:last-of-type.code-block, > pre:last-of-type.code-block': {
57
- marginBottom: 'var(--ak-editor-extension-block-spacing, 0.75rem)'
58
- }
59
- }), '.blockCardView-content-wrap', {
60
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)'
61
- }), '.extensionView-content-wrap, .multiBodiedExtensionView-content-wrap, .bodiedExtensionView-content-wrap', {
62
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)',
63
- marginBottom: 'var(--ak-editor-extension-block-spacing, 0.75rem)',
64
- '&:first-of-type': {
65
- marginTop: 0
66
- },
67
- '&:last-of-type': {
68
- marginBottom: 0
69
- }
70
- }), "[data-mark-type='fragment']", {
71
- '& > .extensionView-content-wrap, & > .bodiedExtensionView-content-wrap': {
72
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)',
73
- marginBottom: 'var(--ak-editor-extension-block-spacing, 0.75rem)'
74
- },
75
- "& > [data-mark-type='dataConsumer']": {
76
- '& > .extensionView-content-wrap, & > .bodiedExtensionView-content-wrap': {
77
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75rem)',
78
- marginBottom: 'var(--ak-editor-extension-block-spacing, 0.75rem)'
79
- }
80
- },
81
- '&:first-child': {
82
- '& > .extensionView-content-wrap, & > .bodiedExtensionView-content-wrap': {
83
- marginTop: 0
84
- },
85
- "& > [data-mark-type='dataConsumer']": {
86
- '& > .extensionView-content-wrap, & > .bodiedExtensionView-content-wrap': {
87
- marginTop: 0
88
- }
89
- }
90
- },
91
- '&:nth-last-of-type(-n + 2):not(:first-of-type)': {
92
- '& > .extensionView-content-wrap, & > .bodiedExtensionView-content-wrap': {
93
- marginBottom: 0
94
- },
95
- "& > [data-mark-type='dataConsumer']": {
96
- '& > .extensionView-content-wrap, & > .bodiedExtensionView-content-wrap': {
97
- marginBottom: 0
98
- }
99
- }
100
- }
101
- })
102
- });
103
-
104
- /**
105
- * Scaled (em-based) variant of the block-spacing styles for dense/scaled paragraph contexts.
106
- * Keep this in sync with the scaled block-spacing styles in EditorContentContainer-compiled.tsx.
107
- */
108
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
109
- var blockSpacingVarScaledStyles = exports.blockSpacingVarScaledStyles = (0, _react.css)({
110
- '.ProseMirror p': {
111
- marginTop: 'var(--ak-editor-extension-block-spacing, 0.75em)'
112
- }
113
- });
@@ -1,332 +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.textSelectedNodeStyles = exports.textDangerStyles = exports.listSelectedNodeStyles = exports.listDangerStyles = exports.headingScrollMarginStyles = exports.blocktypeStyles_fg_platform_editor_typography_ugc = exports.blocktypeStylesNestedDnd = exports.blocktypeStyles = exports.blockquoteSelectedNodeStyles = exports.blockquoteDangerStyles = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _react = require("@emotion/react");
10
- var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
11
- /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
12
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
13
- @repo/internal/deprecations/deprecation-ticket-required,
14
- @atlaskit/ui-styling-standard/no-exported-styles */
15
-
16
- /**
17
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
18
- * If you need to make changes here, also update the corresponding style in
19
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
20
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
21
- */
22
- var blocktypeStyles = exports.blocktypeStyles = (0, _react.css)({
23
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
24
- '.ProseMirror': {
25
- // Block Quote Shared Styles
26
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
27
- '& blockquote': {
28
- boxSizing: 'border-box',
29
- color: 'inherit',
30
- width: '100%',
31
- display: 'inline-block',
32
- // These 2 styles are needed to avoid Confluence's batch.css overrides that expand blockquote with extra padding after SSR.
33
- paddingTop: 0,
34
- paddingBottom: 0,
35
- paddingLeft: "var(--ds-space-200, 16px)",
36
- borderLeftWidth: "var(--ds-border-width-selected, 2px)",
37
- borderLeftStyle: 'solid',
38
- borderLeftColor: "var(--ds-border, #0B120E24)",
39
- margin: '0.75rem 0 0 0',
40
- // From https://docs.google.com/spreadsheets/d/1iYusRGCT4PoPfvxbJ8NrgjtfFgXLm5lpDWXzjua1W2E/edit#gid=93913128
41
- marginRight: 0,
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
43
- '[dir="rtl"] &': {
44
- paddingLeft: 0,
45
- paddingRight: "var(--ds-space-200, 16px)"
46
- },
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
48
- '&:first-child': {
49
- marginTop: 0
50
- },
51
- '&::before': {
52
- content: "''"
53
- },
54
- '&::after': {
55
- content: 'none'
56
- },
57
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
58
- '& p': {
59
- display: 'block'
60
- },
61
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
62
- '& table, & table:last-child': {
63
- display: 'inline-table'
64
- },
65
- // Workaround for overriding the inline-block display on last child of a blockquote set in CSS reset.
66
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
67
- '> .code-block:last-child, >.mediaSingleView-content-wrap:last-child, >.mediaGroupView-content-wrap:last-child': {
68
- display: 'block'
69
- },
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
71
- '> .extensionView-content-wrap:last-child': {
72
- display: 'block'
73
- }
74
- },
75
- // Headings Shared Styles -> Heading With Alignment Styles
76
- // Override marginTop: 0 with default margin found in headingsSharedStyles for first heading in alignment block that is not the first child
77
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
78
- '.fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)': {
79
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
80
- '> h1:first-child': {
81
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
82
- marginTop: '1.667em'
83
- },
84
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
85
- '> h2:first-child': {
86
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
87
- marginTop: '1.8em'
88
- },
89
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
90
- '> h3:first-child': {
91
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
92
- marginTop: '2em'
93
- },
94
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
95
- '> h4:first-child': {
96
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
97
- marginTop: '1.357em'
98
- },
99
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
100
- '> h5:first-child': {
101
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
102
- marginTop: '1.667em'
103
- },
104
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
105
- '> h6:first-child': {
106
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
107
- marginTop: '1.455em'
108
- }
109
- },
110
- // Set marginTop: 0 if alignment block is next to a gap cursor or widget that is first child
111
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
112
- '.ProseMirror-gapcursor:first-child + .fabric-editor-block-mark.fabric-editor-alignment, .ProseMirror-widget:first-child + .fabric-editor-block-mark.fabric-editor-alignment, .ProseMirror-widget:first-child + .ProseMirror-widget:nth-child(2) + .fabric-editor-block-mark.fabric-editor-alignment': {
113
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
114
- '> :is(h1, h2, h3, h4, h5, h6):first-child': {
115
- marginTop: '0'
116
- }
117
- }
118
- }
119
- });
120
- var headingScrollMarginStyles = exports.headingScrollMarginStyles = (0, _react.css)({
121
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
122
- '.ProseMirror': {
123
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
124
- '& h1, & h2, & h3, & h4, & h5, & h6': {
125
- scrollMarginTop: "var(--ds-space-300, 24px)"
126
- }
127
- }
128
- });
129
- /**
130
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
131
- * If you need to make changes here, also update the corresponding style in
132
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
133
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
134
- */
135
- var blockquoteDangerStyles = exports.blockquoteDangerStyles = (0, _react.css)({
136
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
137
- '.ProseMirror blockquote.danger': {
138
- backgroundColor: "var(--ds-background-danger, #FFECEB)",
139
- borderLeftColor: "var(--ds-border-danger, #E2483D)"
140
- }
141
- });
142
- /**
143
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
144
- * If you need to make changes here, also update the corresponding style in
145
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
146
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
147
- */
148
- var blockquoteSelectedNodeStyles = exports.blockquoteSelectedNodeStyles = (0, _react.css)({
149
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
150
- '.ProseMirror blockquote.ak-editor-selected-node': {
151
- background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
152
- borderLeftColor: "var(--ds-border-selected, #1868DB)",
153
- WebkitUserSelect: 'text',
154
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
155
- '&::selection, *::selection': {
156
- backgroundColor: 'transparent'
157
- },
158
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
159
- '&::-moz-selection, *::-moz-selection': {
160
- backgroundColor: 'transparent'
161
- }
162
- }
163
- });
164
- /**
165
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
166
- * If you need to make changes here, also update the corresponding style in
167
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
168
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
169
- */
170
- var blocktypeStyles_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_typography_ugc = (0, _react.css)({
171
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
172
- '.ProseMirror': {
173
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
174
- '& h1': {
175
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
176
- font: 'var(--editor-font-ugc-token-heading-h1)',
177
- marginBottom: 0,
178
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
179
- marginTop: '1.45833em',
180
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
181
- '& strong': {
182
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
183
- fontWeight: 'var(--editor-font-ugc-token-weight-heading-bold)'
184
- }
185
- },
186
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
187
- '& h2': {
188
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
189
- font: 'var(--editor-font-ugc-token-heading-h2)',
190
- marginBottom: 0,
191
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
192
- marginTop: '1.4em',
193
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
194
- '& strong': {
195
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
196
- fontWeight: 'var(--editor-font-ugc-token-weight-heading-bold)'
197
- }
198
- },
199
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
200
- '& h3': {
201
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
202
- font: 'var(--editor-font-ugc-token-heading-h3)',
203
- marginBottom: 0,
204
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
205
- marginTop: '1.31249em',
206
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
207
- '& strong': {
208
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
209
- fontWeight: 'var(--editor-font-ugc-token-weight-heading-bold)'
210
- }
211
- },
212
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
213
- '& h4': {
214
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
215
- font: 'var(--editor-font-ugc-token-heading-h4)',
216
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
217
- marginTop: '1.25em',
218
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
219
- '& strong': {
220
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
221
- fontWeight: 'var(--editor-font-ugc-token-weight-heading-bold)'
222
- }
223
- },
224
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
225
- '& h5': {
226
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
227
- font: 'var(--editor-font-ugc-token-heading-h5)',
228
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
229
- marginTop: '1.45833em',
230
- textTransform: 'none',
231
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
232
- '& strong': {
233
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
234
- fontWeight: 'var(--editor-font-ugc-token-weight-heading-bold)'
235
- }
236
- },
237
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
238
- '& h6': {
239
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
240
- font: 'var(--editor-font-ugc-token-heading-h6)',
241
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
242
- marginTop: '1.59091em',
243
- textTransform: 'none',
244
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
245
- '& strong': {
246
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
247
- fontWeight: 'var(--editor-font-ugc-token-weight-heading-bold)'
248
- }
249
- }
250
- }
251
- });
252
- /**
253
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
254
- * If you need to make changes here, also update the corresponding style in
255
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
256
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
257
- */
258
- var blocktypeStylesNestedDnd = exports.blocktypeStylesNestedDnd = (0, _react.css)({
259
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
260
- '.ak-editor-content-area.appearance-full-page .ProseMirror blockquote': {
261
- paddingLeft: "var(--ds-space-250, 20px)"
262
- },
263
- // Don't want extra padding for inline editor (nested)
264
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
265
- '.ak-editor-content-area .ak-editor-content-area .ProseMirror blockquote': {
266
- paddingLeft: "var(--ds-space-200, 16px)"
267
- }
268
- });
269
-
270
- // This class applies when the node is selected directly or is included in the selected range
271
- var isSelectedNode = ".".concat(_editorSharedStyles.akEditorSelectedNodeClassName);
272
- var isOuterMostSelectedNode = "".concat(isSelectedNode, ":not(").concat(isSelectedNode, " *)");
273
- var isList = ':is(ul, ol, div[data-node-type="actionList"])';
274
- var isOuterMostList = "".concat(isList, ":not(").concat(isList, " *)");
275
- /**
276
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
277
- * If you need to make changes here, also update the corresponding style in
278
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
279
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
280
- */
281
- var listSelectedNodeStyles = exports.listSelectedNodeStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".ProseMirror ".concat(isOuterMostList).concat(isOuterMostSelectedNode), {
282
- background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
283
- WebkitUserSelect: 'text',
284
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
285
- '&::selection, *::selection': {
286
- backgroundColor: 'transparent'
287
- },
288
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
289
- '&::-moz-selection, *::-moz-selection': {
290
- backgroundColor: 'transparent'
291
- }
292
- }));
293
- /**
294
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
295
- * If you need to make changes here, also update the corresponding style in
296
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
297
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
298
- */
299
- var listDangerStyles = exports.listDangerStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".ProseMirror ".concat(isOuterMostList).concat(isOuterMostSelectedNode, ".danger"), {
300
- background: "var(--ds-background-danger, #FFECEB)"
301
- }));
302
- var isText = ":is(p, h1, h2, h3, h4, h5, h6)";
303
- var isRootText = "".concat(isText, ":not(").concat(isList, " ").concat(isText, ")");
304
- /**
305
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
306
- * If you need to make changes here, also update the corresponding style in
307
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
308
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
309
- */
310
- var textSelectedNodeStyles = exports.textSelectedNodeStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".ProseMirror ".concat(isRootText).concat(isOuterMostSelectedNode), {
311
- background: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
312
- WebkitUserSelect: 'text',
313
- boxShadow: "0 -4px 0 ".concat("var(--ds-background-accent-blue-subtler, #CFE1FD)", ", 0 4px 0 ", "var(--ds-background-accent-blue-subtler, #CFE1FD)"),
314
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
315
- '&::selection, *::selection': {
316
- backgroundColor: 'transparent'
317
- },
318
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
319
- '&::-moz-selection, *::-moz-selection': {
320
- backgroundColor: 'transparent'
321
- }
322
- }));
323
- /**
324
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
325
- * If you need to make changes here, also update the corresponding style in
326
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
327
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
328
- */
329
- var textDangerStyles = exports.textDangerStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".ProseMirror ".concat(isRootText).concat(isOuterMostSelectedNode, ".danger"), {
330
- background: "var(--ds-background-danger, #FFECEB)",
331
- boxShadow: "0 -4px 0 ".concat("var(--ds-background-danger, #FFECEB)", ", 0 4px 0 ", "var(--ds-background-danger, #FFECEB)")
332
- }));