@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,387 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.panelViewStyles = exports.panelStylesMixinNestedDnd = exports.panelStylesMixin = exports.panelStyles = exports.nestedPanelDangerStyles = exports.nestedPanelBorderStylesMixin = 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 panelStyles = exports.panelStyles = (0, _react.css)({
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
20
- '.ProseMirror': {
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
22
- '.ak-editor-panel': {
23
- cursor: 'pointer',
24
- /* Danger when top level node */
25
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
26
- '&.danger': {
27
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)"),
28
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
29
- backgroundColor: "var(--ds-background-danger, #FFECEB)".concat(" !important"),
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
31
- '.ak-editor-panel__icon': {
32
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
33
- color: "var(--ds-icon-danger, #C9372C)".concat(" !important")
34
- }
35
- },
36
- // panelSharedStyles()
37
- // panelSharedStylesWithoutPrefix()
38
- borderRadius: "var(--ds-radius-small, 3px)",
39
- margin: "0.75rem 0 0",
40
- paddingTop: "var(--ds-space-100, 8px)",
41
- paddingRight: "var(--ds-space-200, 16px)",
42
- paddingBottom: "var(--ds-space-100, 8px)",
43
- paddingLeft: "var(--ds-space-100, 8px)",
44
- minWidth: '48px',
45
- display: 'flex',
46
- position: 'relative',
47
- alignItems: 'normal',
48
- wordBreak: 'break-word',
49
- // mainDynamicStyles(PanelType.INFO)
50
- // > getPanelTypeBackground(PanelType.INFO)
51
- backgroundColor: "var(--ds-background-accent-blue-subtlest, #E9F2FE)",
52
- color: 'inherit',
53
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
54
- '.ak-editor-panel__icon': {
55
- flexShrink: 0,
56
- height: "var(--ds-space-300, 24px)",
57
- width: "var(--ds-space-300, 24px)",
58
- boxSizing: 'content-box',
59
- paddingRight: "var(--ds-space-100, 8px)",
60
- textAlign: 'center',
61
- userSelect: 'none',
62
- MozUserSelect: 'none',
63
- WebkitUserSelect: 'none',
64
- msUserSelect: 'none',
65
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
66
- marginTop: '0.1em',
67
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
68
- '> span': {
69
- verticalAlign: 'middle',
70
- display: 'inline-flex'
71
- },
72
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
73
- '.emoji-common-emoji-sprite': {
74
- verticalAlign: '-2px' // -(8*3-20)/2 [px]
75
- },
76
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
77
- '.emoji-common-emoji-image': {
78
- verticalAlign: '-3px',
79
- // panelEmojiSpriteVerticalAlignment - 1 [px]
80
-
81
- /* Vertical align only works for inline-block elements in Firefox */
82
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
83
- '@-moz-document url-prefix()': {
84
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
85
- img: {
86
- display: 'inline-block'
87
- }
88
- }
89
- }
90
- },
91
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
92
- '.ak-editor-panel__content': {
93
- margin: "var(--ds-space-025, 2px)".concat(" 0 ", "var(--ds-space-025, 2px)"),
94
- flex: '1 0 0',
95
- /*
96
- https://ishadeed.com/article/min-max-css/#setting-min-width-to-zero-with-flexbox
97
- The default value for min-width is auto, which is computed to zero.
98
- When an element is a flex item, the value of min-width doesn’t compute to zero.
99
- The minimum size of a flex item is equal to the size of its contents.
100
- */
101
- minWidth: 0
102
- },
103
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
104
- '&[data-panel-type="note"]': {
105
- // mainDynamicStyles(PanelType.NOTE)
106
- backgroundColor: "var(--ds-background-accent-purple-subtlest, #F8EEFE)",
107
- color: 'inherit'
108
- },
109
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
110
- '&[data-panel-type="tip"]': {
111
- // mainDynamicStyles(PanelType.TIP)
112
- backgroundColor: "var(--ds-background-accent-green-subtlest, #DCFFF1)",
113
- color: 'inherit'
114
- },
115
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
116
- '&[data-panel-type="warning"]': {
117
- // mainDynamicStyles(PanelType.WARNING)
118
- backgroundColor: "var(--ds-background-accent-yellow-subtlest, #FEF7C8)",
119
- color: 'inherit'
120
- },
121
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
122
- '&[data-panel-type="error"]': {
123
- // mainDynamicStyles(PanelType.ERROR)
124
- backgroundColor: "var(--ds-background-accent-red-subtlest, #FFECEB)",
125
- color: 'inherit'
126
- },
127
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
128
- '&[data-panel-type="success"]': {
129
- // mainDynamicStyles(PanelType.SUCCESS)
130
- backgroundColor: "var(--ds-background-accent-green-subtlest, #DCFFF1)",
131
- color: 'inherit'
132
- }
133
- },
134
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
135
- '.ak-editor-panel__content': {
136
- cursor: 'text'
137
- },
138
- /* Danger when nested node */
139
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
140
- '.danger .ak-editor-panel': {
141
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
142
- '&[data-panel-type]': {
143
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)",
144
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
145
- '.ak-editor-panel__icon': {
146
- color: "var(--ds-icon-danger, #C9372C)"
147
- }
148
- }
149
- }
150
- },
151
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
152
- '.ak-editor-panel.ak-editor-selected-node:not(.danger)': {
153
- // getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]),
154
- // SelectionStyle.BoxShadow
155
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #1868DB)"),
156
- borderColor: 'transparent',
157
- // SelectionStyle.Blanket
158
- position: 'relative',
159
- // Fixes ED-9263, where emoji or inline card in panel makes selection go outside the panel
160
- // in Safari. Looks like it's caused by user-select: all in the emoji element
161
- WebkitUserSelect: 'text',
162
- '&::before': {
163
- position: 'absolute',
164
- content: '""',
165
- left: 0,
166
- right: 0,
167
- top: 0,
168
- bottom: 0,
169
- width: '100%',
170
- pointerEvents: 'none',
171
- zIndex: 12,
172
- // akEditorSmallZIndex
173
- backgroundColor: "var(--ds-blanket-selected, #388BFF14)"
174
- },
175
- // hideNativeSelectionStyles
176
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
177
- '&::selection, *::selection': {
178
- backgroundColor: 'transparent'
179
- },
180
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
181
- '&::-moz-selection, *::-moz-selection': {
182
- backgroundColor: 'transparent'
183
- }
184
- }
185
- });
186
- /**
187
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
188
- * If you need to make changes here, also update the corresponding style in
189
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
190
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
191
- */
192
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
193
- var nestedPanelBorderStylesMixin = exports.nestedPanelBorderStylesMixin = (0, _react.css)({
194
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
195
- '.ProseMirror': {
196
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
197
- '.ak-editor-panel': {
198
- // Support nested panel
199
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
200
- '.ak-editor-panel__content .ak-editor-panel': {
201
- border: "1px solid ".concat("var(--ds-border, #0B120E24)")
202
- }
203
- }
204
- }
205
- });
206
- /**
207
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
208
- * If you need to make changes here, also update the corresponding style in
209
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
210
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
211
- */
212
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
213
- var panelStylesMixinNestedDnd = exports.panelStylesMixinNestedDnd = (0, _react.css)({
214
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
215
- '.ProseMirror': {
216
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
217
- '.ak-editor-panel': {
218
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
219
- '&.ak-editor-panel__no-icon': {
220
- paddingRight: "var(--ds-space-150, 12px)",
221
- paddingLeft: "var(--ds-space-150, 12px)"
222
- }
223
- }
224
- },
225
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
226
- '.ak-editor-content-area.appearance-full-page .ProseMirror': {
227
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
228
- '.ak-editor-panel .ak-editor-panel__icon': {
229
- paddingRight: "var(--ds-space-150, 12px)"
230
- },
231
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
232
- '.ak-editor-panel.ak-editor-panel__no-icon': {
233
- paddingLeft: "var(--ds-space-250, 20px)",
234
- paddingRight: "var(--ds-space-250, 20px)"
235
- }
236
- },
237
- /* Don't want extra padding for inline editor (nested) */
238
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
239
- '.ak-editor-content-area .ak-editor-content-area .ProseMirror': {
240
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
241
- '.ak-editor-panel .ak-editor-panel__icon': {
242
- paddingRight: "var(--ds-space-100, 8px)"
243
- },
244
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
245
- '.ak-editor-panel.ak-editor-panel__no-icon': {
246
- paddingRight: "var(--ds-space-150, 12px)",
247
- paddingLeft: "var(--ds-space-150, 12px)"
248
- }
249
- }
250
- });
251
- /**
252
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
253
- * If you need to make changes here, also update the corresponding style in
254
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
255
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
256
- */
257
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
258
- var panelStylesMixin = exports.panelStylesMixin = (0, _react.css)({
259
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
260
- '.ProseMirror': {
261
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
262
- '.ak-editor-panel': {
263
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
264
- '&[data-panel-type="info"]': {
265
- // getIconStyles(PanelType.INFO),
266
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
267
- '.ak-editor-panel__icon[data-panel-type="info"]': {
268
- color: "var(--ds-icon-information, #357DE8)"
269
- }
270
- },
271
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
272
- '&[data-panel-type="note"]': {
273
- // getIconStyles(PanelType.NOTE),
274
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
275
- '.ak-editor-panel__icon[data-panel-type="note"]': {
276
- color: "var(--ds-icon-discovery, #AF59E1)"
277
- }
278
- },
279
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
280
- '&[data-panel-type="tip"]': {
281
- // getIconStyles(PanelType.TIP),
282
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
283
- '.ak-editor-panel__icon[data-panel-type="tip"]': {
284
- color: "var(--ds-icon-success, #6A9A23)"
285
- }
286
- },
287
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
288
- '&[data-panel-type="warning"]': {
289
- // getIconStyles(PanelType.WARNING),
290
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
291
- '.ak-editor-panel__icon[data-panel-type="warning"]': {
292
- color: "var(--ds-icon-warning, #E06C00)"
293
- }
294
- },
295
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
296
- '&[data-panel-type="error"]': {
297
- // getIconStyles(PanelType.ERROR),
298
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
299
- '.ak-editor-panel__icon[data-panel-type="error"]': {
300
- color: "var(--ds-icon-danger, #C9372C)"
301
- }
302
- },
303
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
304
- '&[data-panel-type="success"]': {
305
- // getIconStyles(PanelType.SUCCESS),
306
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
307
- '.ak-editor-panel__icon[data-panel-type="success"]': {
308
- color: "var(--ds-icon-success, #6A9A23)"
309
- }
310
- }
311
- }
312
- }
313
- });
314
- /**
315
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
316
- * If you need to make changes here, also update the corresponding style in
317
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
318
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
319
- */
320
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
321
- var panelViewStyles = exports.panelViewStyles = (0, _react.css)({
322
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
323
- '.panelView-content-wrap': {
324
- boxSizing: 'border-box'
325
- }
326
- });
327
- /**
328
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
329
- * If you need to make changes here, also update the corresponding style in
330
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
331
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
332
- */
333
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
334
- var nestedPanelDangerStyles = exports.nestedPanelDangerStyles = (0, _react.css)({
335
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
336
- '.ProseMirror': {
337
- /* Danger when nested node */
338
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
339
- '.danger .ak-editor-panel': {
340
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
341
- '&[data-panel-type="info"]': {
342
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)",
343
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
344
- '.ak-editor-panel__icon[data-panel-type="info"]': {
345
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
346
- color: "var(--ds-icon-danger, #C9372C)"
347
- }
348
- },
349
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
350
- '&[data-panel-type="note"]': {
351
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)",
352
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
353
- '.ak-editor-panel__icon[data-panel-type="note"]': {
354
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
355
- color: "var(--ds-icon-danger, #C9372C)"
356
- }
357
- },
358
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
359
- '&[data-panel-type="success"]': {
360
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)",
361
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
362
- '.ak-editor-panel__icon[data-panel-type="success"]': {
363
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
364
- color: "var(--ds-icon-danger, #C9372C)"
365
- }
366
- },
367
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
368
- '&[data-panel-type="warning"]': {
369
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)",
370
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
371
- '.ak-editor-panel__icon[data-panel-type="warning"]': {
372
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
373
- color: "var(--ds-icon-danger, #C9372C)"
374
- }
375
- },
376
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
377
- '&[data-panel-type="error"]': {
378
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)",
379
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
380
- '.ak-editor-panel__icon[data-panel-type="error"]': {
381
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
382
- color: "var(--ds-icon-danger, #C9372C)"
383
- }
384
- }
385
- }
386
- }
387
- });
@@ -1,71 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.paragraphStylesWithScaledMargin = exports.paragraphStylesUGCRefreshed = exports.paragraphStylesUGCModernized = 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
- var blockNodesVerticalMargin = '0.75rem';
13
- var scaledBlockNodesVerticalMargin = '0.75em';
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 paragraphStylesWithScaledMargin = exports.paragraphStylesWithScaledMargin = (0, _react.css)({
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
23
- '.ProseMirror p': {
24
- // The `editor.font.body` token is used for the UGC typography theme.
25
- // We don't use `editorUGCToken('editor.font.body')` here because we want to build this styles statically.
26
- // See platform/packages/editor/editor-common/src/ugc-tokens/get-editor-ugc-token.tsx
27
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
28
- font: 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
29
- marginTop: scaledBlockNodesVerticalMargin,
30
- marginBottom: 0
31
- }
32
- });
33
-
34
- /**
35
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
36
- * If you need to make changes here, also update the corresponding style in
37
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
38
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
39
- */
40
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
41
- var paragraphStylesUGCRefreshed = exports.paragraphStylesUGCRefreshed = (0, _react.css)({
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
43
- '.ProseMirror p': {
44
- // The `editor.font.body` token is used for the UGC typography theme.
45
- // We don't use `editorUGCToken('editor.font.body')` here because we want to build this styles statically.
46
- // See platform/packages/editor/editor-common/src/ugc-tokens/get-editor-ugc-token.tsx
47
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
48
- font: 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
49
- marginTop: blockNodesVerticalMargin,
50
- marginBottom: 0
51
- }
52
- });
53
- /**
54
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
55
- * If you need to make changes here, also update the corresponding style in
56
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
57
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
58
- */
59
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
60
- var paragraphStylesUGCModernized = exports.paragraphStylesUGCModernized = (0, _react.css)({
61
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
62
- '.ProseMirror p': {
63
- // The `editor.font.body` token is used for the UGC typography theme.
64
- // We don't use `editorUGCToken('editor.font.body')` here because we want to build this styles statically.
65
- // See platform/packages/editor/editor-common/src/ugc-tokens/get-editor-ugc-token.tsx
66
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
67
- font: 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
68
- marginTop: blockNodesVerticalMargin,
69
- marginBottom: 0
70
- }
71
- });
@@ -1,134 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.placeholderTextStyles = exports.placeholderStyles = exports.placeholderOverflowStyles = 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
- var placeholderFadeInKeyframes = (0, _react.keyframes)({
13
- from: {
14
- opacity: 0
15
- },
16
- to: {
17
- opacity: 1
18
- }
19
- });
20
- /**
21
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
22
- * If you need to make changes here, also update the corresponding style in
23
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
24
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
25
- */
26
- var placeholderTextStyles = exports.placeholderTextStyles = (0, _react.css)({
27
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
28
- '.ProseMirror span[data-placeholder]': {
29
- color: "var(--ds-text-subtlest, #6B6E76)",
30
- display: 'inline'
31
- },
32
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
33
- '.ProseMirror span.pm-placeholder': {
34
- display: 'inline',
35
- color: "var(--ds-text-subtlest, #6B6E76)"
36
- },
37
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
38
- '.ProseMirror span.pm-placeholder__text': {
39
- display: 'inline',
40
- color: "var(--ds-text-subtlest, #6B6E76)"
41
- },
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
43
- '.ProseMirror span.pm-placeholder.ak-editor-selected-node': {
44
- // ...backgroundSelectionStyles
45
- backgroundColor: "var(--ds-background-selected, #E9F2FE)",
46
- // ...backgroundSelectionStyles -> hideNativeBrowserTextSelectionStyles
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
48
- '&::selection,*::selection': {
49
- backgroundColor: 'transparent'
50
- },
51
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
52
- '&::-moz-selection,*::-moz-selection': {
53
- backgroundColor: 'transparent'
54
- }
55
- },
56
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
57
- '.ProseMirror span.pm-placeholder__text[data-placeholder]::after': {
58
- color: "var(--ds-text-subtlest, #6B6E76)",
59
- cursor: 'text',
60
- content: 'attr(data-placeholder)',
61
- display: 'inline'
62
- },
63
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
64
- '.ProseMirror': {
65
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
66
- '.ProseMirror-fake-text-cursor': {
67
- display: 'inline',
68
- pointerEvents: 'none',
69
- position: 'relative'
70
- },
71
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
72
- '.ProseMirror-fake-text-cursor::after': {
73
- content: '""',
74
- display: 'inline',
75
- top: 0,
76
- position: 'absolute',
77
- borderRight: "1px solid ".concat("var(--ds-border, #0B120E24)")
78
- },
79
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
80
- '.ProseMirror-fake-text-selection': {
81
- display: 'inline',
82
- pointerEvents: 'none',
83
- position: 'relative',
84
- // Follow the system highlight colour to match native text selection
85
- backgroundColor: 'Highlight',
86
- // We should also match the text colour to the system highlight text colour.
87
- // That way if the system highlight background is dark, the text will still be readable.
88
- color: 'HighlightText'
89
- }
90
- }
91
- });
92
-
93
- /**
94
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
95
- * If you need to make changes here, also update the corresponding style in
96
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
97
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
98
- */
99
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
100
- var placeholderStyles = exports.placeholderStyles = (0, _react.css)({
101
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
102
- '.ProseMirror .placeholder-decoration': {
103
- color: "var(--ds-text-subtlest, #6B6E76)",
104
- width: '100%',
105
- pointerEvents: 'none',
106
- userSelect: 'none',
107
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
108
- '.placeholder-android': {
109
- pointerEvents: 'none',
110
- outline: 'none',
111
- userSelect: 'none',
112
- position: 'absolute'
113
- }
114
- },
115
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
116
- '.ProseMirror .placeholder-decoration-fade-in': {
117
- animation: "".concat(placeholderFadeInKeyframes, " 300ms ease-out forwards")
118
- }
119
- });
120
- /**
121
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
122
- * If you need to make changes here, also update the corresponding style in
123
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
124
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
125
- */
126
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
127
- var placeholderOverflowStyles = exports.placeholderOverflowStyles = (0, _react.css)({
128
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
129
- '.ProseMirror p:has(.placeholder-decoration-hide-overflow)': {
130
- overflow: 'hidden',
131
- whiteSpace: 'nowrap',
132
- textOverflow: 'ellipsis'
133
- }
134
- });