@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,301 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- import { overflowShadowStyles } from './overflowShadowStyles';
7
- import { blanketSelectionStyles, boxShadowSelectionStyles, hideNativeBrowserTextSelectionStyles } from './selectionStyles';
8
-
9
- /**
10
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
11
- * If you need to make changes here, also update the corresponding style in
12
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
13
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
14
- */
15
- export const CodeBlockSharedCssClassName = {
16
- CODEBLOCK_CONTAINER: 'code-block',
17
- CODEBLOCK_START: 'code-block--start',
18
- CODEBLOCK_END: 'code-block--end',
19
- CODEBLOCK_CONTENT_WRAPPER: 'code-block-content-wrapper',
20
- CODEBLOCK_LINE_NUMBER_GUTTER: 'line-number-gutter',
21
- CODEBLOCK_CONTENT: 'code-content',
22
- DS_CODEBLOCK: '[data-ds--code--code-block]',
23
- CODEBLOCK_CONTENT_WRAPPED: 'code-content--wrapped',
24
- CODEBLOCK_CONTAINER_LINE_NUMBER_WIDGET: 'code-content__line-number--wrapped'
25
- };
26
- const fontSize14px = `${14 / 16}rem`;
27
- const blockNodesVerticalMargin = '0.75rem';
28
- const gutterDangerOverlay = css({
29
- '&::after': {
30
- height: '100%',
31
- content: "''",
32
- position: 'absolute',
33
- left: 0,
34
- top: 0,
35
- width: '24px',
36
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
37
- }
38
- });
39
- /**
40
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
41
- * If you need to make changes here, also update the corresponding style in
42
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
43
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
44
- */
45
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
46
- export const codeBlockStyles = css({
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
48
- '.ProseMirror': {
49
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
50
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPED} > .${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER} > .${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT}`]: {
51
- marginRight: "var(--ds-space-100, 8px)",
52
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
53
- code: {
54
- display: 'block',
55
- wordBreak: 'break-word',
56
- whiteSpace: 'pre-wrap'
57
- }
58
- },
59
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
60
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER} > .${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT}`]: {
61
- display: 'flex',
62
- flex: 1,
63
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
64
- code: {
65
- flexGrow: 1,
66
- whiteSpace: 'pre'
67
- }
68
- },
69
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
70
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER}`]: {
71
- position: 'relative',
72
- backgroundColor: "var(--ds-surface-raised, #FFFFFF)",
73
- borderRadius: "var(--ds-radius-small, 3px)",
74
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
75
- margin: `${blockNodesVerticalMargin} 0 0 0`,
76
- fontFamily: "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
77
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
78
- minWidth: 48,
79
- cursor: 'pointer',
80
- clear: 'both',
81
- // This is necessary to allow for arrow key navigation in/out of code blocks in Firefox.
82
- whiteSpace: 'normal',
83
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
84
- '.code-block-gutter-pseudo-element::before': {
85
- content: 'attr(data-label)'
86
- },
87
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
88
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_START}`]: {
89
- position: 'absolute',
90
- visibility: 'hidden',
91
- height: '1.5rem',
92
- top: 0,
93
- left: 0
94
- },
95
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
96
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_END}`]: {
97
- position: 'absolute',
98
- visibility: 'hidden',
99
- height: '1.5rem',
100
- bottom: 0,
101
- right: 0
102
- },
103
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
104
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER}`]: [
105
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
106
- overflowShadowStyles, {
107
- position: 'relative',
108
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
109
- display: 'flex',
110
- borderRadius: "var(--ds-radius-small, 3px)",
111
- width: '100%',
112
- counterReset: 'line',
113
- overflowX: 'auto',
114
- backgroundRepeat: 'no-repeat',
115
- backgroundAttachment: 'local, local, local, local, scroll, scroll, scroll, scroll',
116
- backgroundSize: `${"var(--ds-space-300, 24px)"} 100%,
117
- ${"var(--ds-space-300, 24px)"} 100%,
118
- ${"var(--ds-space-100, 8px)"} 100%,
119
- ${"var(--ds-space-100, 8px)"} 100%,
120
- ${"var(--ds-space-100, 8px)"} 100%,
121
- 1px 100%,
122
- ${"var(--ds-space-100, 8px)"} 100%,
123
- 1px 100%`,
124
- backgroundPosition: `0 0,
125
- 0 0,
126
- 100% 0,
127
- 100% 0,
128
- 100% 0,
129
- 100% 0,
130
- 0 0,
131
- 0 0`,
132
- // Be careful if refactoring this; it is needed to keep arrow key navigation in Firefox consistent with other browsers.
133
- overflowY: 'hidden'
134
- }],
135
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
136
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER}`]: {
137
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
138
- position: 'relative',
139
- width: 'var(--lineNumberGutterWidth, 2rem)',
140
- padding: "var(--ds-space-100, 8px)",
141
- flexShrink: 0,
142
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
143
- fontSize: fontSize14px,
144
- boxSizing: 'content-box'
145
- },
146
- // This is a fix of marker of list item with code block.
147
- // The list item marker in Chrome is aligned by the baseline of the text,
148
- // that's why we need to add a text (content: "1") to the line number gutter to align
149
- // the list item marker with the text.
150
- // Without it, the list item marker will be aligned by the bottom of the code block. */
151
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
152
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER}::before`]: {
153
- content: "'1'",
154
- visibility: 'hidden',
155
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
156
- fontSize: fontSize14px,
157
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
158
- lineHeight: '1.5rem'
159
- },
160
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
161
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT}`]: {
162
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
163
- code: {
164
- tabSize: 4,
165
- cursor: 'text',
166
- color: "var(--ds-text, #292A2E)",
167
- borderRadius: "var(--ds-radius-small, 3px)",
168
- margin: "var(--ds-space-100, 8px)",
169
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
170
- fontSize: fontSize14px,
171
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
172
- lineHeight: '1.5rem'
173
- }
174
- },
175
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
176
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER_LINE_NUMBER_WIDGET}`]: {
177
- pointerEvents: 'none',
178
- userSelect: 'none',
179
- width: 'var(--lineNumberGutterWidth, 2rem)',
180
- left: 0,
181
- position: 'absolute',
182
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
183
- fontSize: fontSize14px,
184
- padding: `0px ${"var(--ds-space-100, 8px)"}`,
185
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
186
- lineHeight: '1.5rem',
187
- textAlign: 'right',
188
- color: "var(--ds-text-subtlest, #6B6E76)",
189
- boxSizing: 'content-box'
190
- }
191
- },
192
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
193
- li: {
194
- // if same list item has multiple code blocks we need top margin for all but first
195
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
196
- '> .code-block': {
197
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
198
- margin: `${blockNodesVerticalMargin} 0 0 0`
199
- },
200
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
201
- '> .code-block:first-child, > .ProseMirror-gapcursor:first-child + .code-block': {
202
- marginTop: 0
203
- },
204
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
205
- '> div:last-of-type.code-block, > pre:last-of-type.code-block': {
206
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
207
- marginBottom: blockNodesVerticalMargin
208
- }
209
- },
210
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-imported-style-values
211
- [`.code-block.ak-editor-selected-node:not(.danger)`]: [
212
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
213
- boxShadowSelectionStyles,
214
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
215
- blanketSelectionStyles,
216
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
217
- hideNativeBrowserTextSelectionStyles],
218
- // Danger when top level node
219
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
220
- '.danger.code-block': {
221
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
222
- boxShadow: `0 0 0 1px ${"var(--ds-border-danger, #E2483D)"}`,
223
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
224
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER}`]: [{
225
- backgroundColor: "var(--ds-background-danger, #FFECEB)",
226
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
227
- color: "var(--ds-text-danger, #AE2E24)"
228
- }, gutterDangerOverlay],
229
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
230
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT}`]: {
231
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
232
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
233
- }
234
- },
235
- // Danger when nested node
236
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
237
- '.danger .code-block': {
238
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
239
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER}`]: [{
240
- backgroundColor: "var(--ds-background-danger, #FFECEB)",
241
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
242
- color: "var(--ds-text-danger, #AE2E24)"
243
- }, gutterDangerOverlay],
244
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
245
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT}`]: {
246
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
247
- }
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
- export const codeBlockStylesWithEmUnits = 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, @atlaskit/ui-styling-standard/no-unsafe-values
262
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER}`]: {
263
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
264
- '.code-block-gutter-pseudo-element::before': {
265
- display: 'flow',
266
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
267
- lineHeight: '1.5em'
268
- },
269
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
270
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTENT}`]: {
271
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
272
- code: {
273
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
274
- fontSize: '0.875em',
275
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
276
- lineHeight: '1.5em'
277
- }
278
- }
279
- }
280
- }
281
- });
282
- /**
283
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
284
- * If you need to make changes here, also update the corresponding style in
285
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
286
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
287
- */
288
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
289
- export const firstCodeBlockWithNoMargin = css({
290
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
291
- '.ProseMirror': {
292
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
293
- '.ak-editor-panel__content': {
294
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
295
- '> .code-block:first-child, > .ProseMirror-widget:first-child + .code-block, > .ProseMirror-widget:first-child + .ProseMirror-widget + .code-block': {
296
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space,@atlaskit/ui-styling-standard/no-important-styles
297
- margin: '0!important'
298
- }
299
- }
300
- }
301
- });
@@ -1,32 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- /**
7
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
8
- * If you need to make changes here, also update the corresponding style in
9
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
10
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
11
- */
12
- export const codeMarkStyles = css({
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
14
- '.code': {
15
- '--ds--code--bg-color': "var(--ds-background-neutral, #0515240F)",
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
17
- display: 'inline',
18
- padding: '2px 0.5ch',
19
- backgroundColor: `var(--ds--code--bg-color,${"var(--ds-background-neutral, #0515240F)"})`,
20
- borderRadius: "var(--ds-radius-small, 3px)",
21
- borderStyle: 'none',
22
- boxDecorationBreak: 'clone',
23
- color: "var(--ds-text, #292A2E)",
24
- fontFamily: "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
25
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
26
- fontSize: '0.875em',
27
- fontWeight: "var(--ds-font-weight-regular, 400)",
28
- overflow: 'unset',
29
- overflowWrap: 'break-word',
30
- whiteSpace: 'pre-wrap'
31
- }
32
- });
@@ -1,33 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- const CommentEditorMargin = 14;
7
- const GRID_GUTTER = 12;
8
-
9
- // Originally copied from packages/editor/editor-core/src/ui/Appearance/Comment/Comment.tsx
10
- /**
11
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
12
- * If you need to make changes here, also update the corresponding style in
13
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
14
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
15
- */
16
- export const commentEditorStyles = css({
17
- flexGrow: 1,
18
- overflowX: 'clip',
19
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
20
- lineHeight: '24px',
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
22
- '.ProseMirror': {
23
- margin: "var(--ds-space-150, 12px)"
24
- },
25
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
26
- '.gridParent': {
27
- marginLeft: "var(--ds-space-025, 2px)",
28
- marginRight: "var(--ds-space-025, 2px)",
29
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
30
- width: `calc(100% + ${CommentEditorMargin - GRID_GUTTER}px)`
31
- },
32
- padding: "var(--ds-space-250, 20px)"
33
- });
@@ -1,32 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- /**
7
- * Establishes a container-query context on the editor content area for non-full-page
8
- * appearances (comment, chromeless).
9
- *
10
- * Content sizing (native embeds, media / rich-media) reads `--ak-editor-max-container-width`
11
- * (`calc(100cqw - gutter)`) and, in some paths, `100cqw` directly. Those `cqw` units resolve
12
- * against the nearest ancestor with `container-type: inline-size`.
13
- *
14
- * Full-page already provides such an ancestor (the `editor-area` wrapper), so full-width
15
- * breakout keeps working there. But comment / chromeless appearances have no container-query
16
- * ancestor, so `cqw` falls back to the viewport width. The viewport does not shrink when an
17
- * in-page sidebar narrows the content column, so content max-widths stay viewport-wide and
18
- * never shrink: responsiveness works without a sidebar but breaks with one.
19
- *
20
- * Making the content area itself a query container gives `cqw` a real, sidebar-aware width to
21
- * resolve against. It is applied only to non-full-page appearances (full-page keeps the
22
- * existing `editor-area` container) and only to the content area (not the outer editor
23
- * wrapper), so the implied `contain: layout` stays confined to content — exactly how the
24
- * full-page `editor-area` container already behaves.
25
- *
26
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
27
- * If you need to make changes here, also update the corresponding style in
28
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
29
- */
30
- export const nonFullPageContainerTypeStyles = css({
31
- containerType: 'inline-size'
32
- });
@@ -1,25 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- /**
7
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
8
- * If you need to make changes here, also update the corresponding style in
9
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
10
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
11
- */
12
- export const cursorStyles = css({
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
14
- '.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor)': {
15
- caretColor: 'transparent'
16
- },
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
18
- '.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor': {
19
- display: 'none'
20
- },
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
22
- '.ProseMirror:has(.ProseMirror-hide-cursor)': {
23
- caretColor: 'transparent'
24
- }
25
- });
@@ -1,122 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- import { boxShadowSelectionStyles, dangerBorderStyles, hideNativeBrowserTextSelectionStyles } from './selectionStyles';
7
-
8
- /**
9
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
10
- * If you need to make changes here, also update the corresponding style in
11
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
12
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
13
- */
14
- export const DateSharedCssClassName = {
15
- DATE_WRAPPER: `date-lozenger-container`,
16
- DATE_CONTAINER: 'dateView-content-wrap'
17
- };
18
- /**
19
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
20
- * If you need to make changes here, also update the corresponding style in
21
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
22
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
23
- */
24
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
25
- export const dateVanillaStyles = css({
26
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
27
- [`[data-prosemirror-node-name='date'] .${DateSharedCssClassName.DATE_WRAPPER} span`]: {
28
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
29
- color: "var(--ds-text, #292A2E)",
30
- borderRadius: "var(--ds-radius-small, 4px)",
31
- padding: `${"var(--ds-space-025, 2px)"} ${"var(--ds-space-050, 4px)"}`,
32
- margin: '0 1px',
33
- position: 'relative',
34
- transition: 'background 0.3s',
35
- whiteSpace: 'nowrap',
36
- cursor: 'unset'
37
- },
38
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
39
- [`[data-prosemirror-node-name='date'] .${DateSharedCssClassName.DATE_WRAPPER} span:hover`]: {
40
- backgroundColor: "var(--ds-background-neutral-hovered, #0B120E24)"
41
- },
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
43
- [`[data-prosemirror-node-name='date'] .${DateSharedCssClassName.DATE_WRAPPER} span.date-node-color-red`]: {
44
- backgroundColor: "var(--ds-background-accent-red-subtlest, #FFECEB)",
45
- color: "var(--ds-text-accent-red, #AE2E24)"
46
- },
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
48
- [`[data-prosemirror-node-name='date'] .${DateSharedCssClassName.DATE_WRAPPER} span.date-node-color-red:hover`]: {
49
- backgroundColor: "var(--ds-background-accent-red-subtler, #FFD5D2)"
50
- }
51
- });
52
-
53
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
54
- /**
55
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
56
- * If you need to make changes here, also update the corresponding style in
57
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
58
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
59
- */
60
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
61
- export const dateStyles = css({
62
- // Show diff: date attr change highlight. Keep this with date node styles so the highlight
63
- // follows the date node view instead of living in shared smart-card diff styles.
64
- // The ON cohort of platform_editor_show_diff_color_scheme_refactor sets
65
- // --show-diff-atomic-inline-changed-border-color inline, overriding the table below; the OFF
66
- // cohort picks its colour with the `-traditional` class. Drop the table at cleanup (EDITOR-8281).
67
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
68
- '.show-diff-atomic-inline-changed-date': {
69
- '--show-diff-atomic-inline-changed-border-color': "var(--ds-border-accent-purple, #AF59E1)",
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
71
- outline: `2px solid var(--show-diff-atomic-inline-changed-border-color, ${"var(--ds-border-accent-purple, #AF59E1)"})`,
72
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
73
- outlineOffset: '1px',
74
- borderRadius: "var(--ds-radius-medium, 6px)"
75
- },
76
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
77
- '.show-diff-atomic-inline-changed-date.show-diff-atomic-inline-changed-traditional': {
78
- '--show-diff-atomic-inline-changed-border-color': "var(--ds-border-accent-green, #22A06B)"
79
- },
80
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
81
- [`.${DateSharedCssClassName.DATE_WRAPPER} span`]: {
82
- whiteSpace: 'unset'
83
- },
84
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
85
- [`.${DateSharedCssClassName.DATE_CONTAINER}`]: {
86
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
87
- [`.${DateSharedCssClassName.DATE_WRAPPER}`]: {
88
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
89
- lineHeight: 'initial',
90
- cursor: 'pointer'
91
- },
92
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
93
- '&.ak-editor-selected-node': {
94
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
95
- [`.${DateSharedCssClassName.DATE_WRAPPER} > span`]: [
96
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
97
- boxShadowSelectionStyles,
98
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
99
- hideNativeBrowserTextSelectionStyles]
100
- }
101
- },
102
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
103
- '.danger': {
104
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
105
- [`.${DateSharedCssClassName.DATE_CONTAINER}.ak-editor-selected-node .${DateSharedCssClassName.DATE_WRAPPER} > span`]: {
106
- boxShadow: `0 0 0 1px ${"var(--ds-border-danger, #E2483D)"}`
107
- }
108
- }
109
- });
110
- /**
111
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
112
- * If you need to make changes here, also update the corresponding style in
113
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
114
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
115
- */
116
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
117
- export const dangerDateStyles = css({
118
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
119
- [`.${DateSharedCssClassName.DATE_CONTAINER}.ak-editor-selected-node.danger .${DateSharedCssClassName.DATE_WRAPPER} > span`]:
120
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
121
- [dangerBorderStyles]
122
- });
@@ -1,33 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- /**
7
- /**
8
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
9
- * If you need to make changes here, also update the corresponding style in
10
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
11
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
12
- */
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
14
- export const editorUGCTokensRefreshed = css({
15
- '--editor-font-ugc-token-heading-h1': 'normal 600 1.71429em/1.16667 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
16
- '--editor-font-ugc-token-heading-h2': 'normal 600 1.42857em/1.2 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
17
- '--editor-font-ugc-token-heading-h3': 'normal 600 1.14286em/1.25 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
18
- '--editor-font-ugc-token-heading-h4': 'normal 600 1em/1.14286 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
19
- '--editor-font-ugc-token-heading-h5': 'normal 600 0.857143em/1.33333 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
20
- '--editor-font-ugc-token-heading-h6': 'normal 600 0.785714em/1.45455 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
21
- '--editor-font-ugc-token-body': 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
22
- '--editor-font-ugc-token-weight-heading-bold': '700'
23
- });
24
- /**
25
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
26
- * If you need to make changes here, also update the corresponding style in
27
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
28
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
29
- */
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
31
- export const editorUGCSmallText = css({
32
- '--editor-font-ugc-token-body-small': 'normal 400 0.875em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
33
- });
@@ -1,35 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- /**
7
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
8
- * If you need to make changes here, also update the corresponding style in
9
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
10
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
11
- */
12
- export const embedCardStyles = css({
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
14
- '.ProseMirror': {
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
16
- ".embedCardView-content-wrap[layout^='wrap-']": {
17
- maxWidth: '100%',
18
- position: 'relative',
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
20
- zIndex: 2
21
- },
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
23
- ".embedCardView-content-wrap[layout='wrap-left']": {
24
- float: 'left'
25
- },
26
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
27
- ".embedCardView-content-wrap[layout='wrap-right']": {
28
- float: 'right'
29
- },
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
31
- ".embedCardView-content-wrap[layout='wrap-right'] + .embedCardView-content-wrap[layout='wrap-left']": {
32
- clear: 'both'
33
- }
34
- }
35
- });