@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,238 +0,0 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
3
- @repo/internal/deprecations/deprecation-ticket-required,
4
- @atlaskit/ui-styling-standard/no-exported-styles */
5
-
6
- import { css } from '@emotion/react';
7
- import { overflowShadowStyles } from './overflowShadowStyles';
8
- import { blanketSelectionStyles, boxShadowSelectionStyles, hideNativeBrowserTextSelectionStyles } from './selectionStyles';
9
-
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 var CodeBlockSharedCssClassName = {
17
- CODEBLOCK_CONTAINER: 'code-block',
18
- CODEBLOCK_START: 'code-block--start',
19
- CODEBLOCK_END: 'code-block--end',
20
- CODEBLOCK_CONTENT_WRAPPER: 'code-block-content-wrapper',
21
- CODEBLOCK_LINE_NUMBER_GUTTER: 'line-number-gutter',
22
- CODEBLOCK_CONTENT: 'code-content',
23
- DS_CODEBLOCK: '[data-ds--code--code-block]',
24
- CODEBLOCK_CONTENT_WRAPPED: 'code-content--wrapped',
25
- CODEBLOCK_CONTAINER_LINE_NUMBER_WIDGET: 'code-content__line-number--wrapped'
26
- };
27
- var fontSize14px = "".concat(14 / 16, "rem");
28
- var blockNodesVerticalMargin = '0.75rem';
29
- var gutterDangerOverlay = css({
30
- '&::after': {
31
- height: '100%',
32
- content: "''",
33
- position: 'absolute',
34
- left: 0,
35
- top: 0,
36
- width: '24px',
37
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
38
- }
39
- });
40
- /**
41
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
42
- * If you need to make changes here, also update the corresponding style in
43
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
44
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
45
- */
46
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
47
- export var codeBlockStyles = css({
48
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
49
- '.ProseMirror': _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPED, " > .").concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, " > .").concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
50
- marginRight: "var(--ds-space-100, 8px)",
51
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
52
- code: {
53
- display: 'block',
54
- wordBreak: 'break-word',
55
- whiteSpace: 'pre-wrap'
56
- }
57
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, " > .").concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
58
- display: 'flex',
59
- flex: 1,
60
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
61
- code: {
62
- flexGrow: 1,
63
- whiteSpace: 'pre'
64
- }
65
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
66
- position: 'relative',
67
- backgroundColor: "var(--ds-surface-raised, #FFFFFF)",
68
- borderRadius: "var(--ds-radius-small, 3px)",
69
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
70
- margin: "".concat(blockNodesVerticalMargin, " 0 0 0"),
71
- fontFamily: "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
72
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
73
- minWidth: 48,
74
- cursor: 'pointer',
75
- clear: 'both',
76
- // This is necessary to allow for arrow key navigation in/out of code blocks in Firefox.
77
- whiteSpace: 'normal',
78
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
79
- '.code-block-gutter-pseudo-element::before': {
80
- content: 'attr(data-label)'
81
- }
82
- }, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_START), {
83
- position: 'absolute',
84
- visibility: 'hidden',
85
- height: '1.5rem',
86
- top: 0,
87
- left: 0
88
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_END), {
89
- position: 'absolute',
90
- visibility: 'hidden',
91
- height: '1.5rem',
92
- bottom: 0,
93
- right: 0
94
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER), [
95
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
96
- overflowShadowStyles, {
97
- position: 'relative',
98
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
99
- display: 'flex',
100
- borderRadius: "var(--ds-radius-small, 3px)",
101
- width: '100%',
102
- counterReset: 'line',
103
- overflowX: 'auto',
104
- backgroundRepeat: 'no-repeat',
105
- backgroundAttachment: 'local, local, local, local, scroll, scroll, scroll, scroll',
106
- backgroundSize: "var(--ds-space-300, 24px)".concat(" 100%,\n\t ", "var(--ds-space-300, 24px)", " 100%,\n\t ", "var(--ds-space-100, 8px)", " 100%,\n\t ", "var(--ds-space-100, 8px)", " 100%,\n\t ", "var(--ds-space-100, 8px)", " 100%,\n\t 1px 100%,\n\t ", "var(--ds-space-100, 8px)", " 100%,\n\t 1px 100%"),
107
- backgroundPosition: "0 0,\n\t 0 0,\n 100% 0,\n 100% 0,\n 100% 0,\n 100% 0,\n\t 0 0,\n\t 0 0",
108
- // Be careful if refactoring this; it is needed to keep arrow key navigation in Firefox consistent with other browsers.
109
- overflowY: 'hidden'
110
- }]), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER), {
111
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
112
- position: 'relative',
113
- width: 'var(--lineNumberGutterWidth, 2rem)',
114
- padding: "var(--ds-space-100, 8px)",
115
- flexShrink: 0,
116
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
117
- fontSize: fontSize14px,
118
- boxSizing: 'content-box'
119
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "::before"), {
120
- content: "'1'",
121
- visibility: 'hidden',
122
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
123
- fontSize: fontSize14px,
124
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
125
- lineHeight: '1.5rem'
126
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
127
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
128
- code: {
129
- tabSize: 4,
130
- cursor: 'text',
131
- color: "var(--ds-text, #292A2E)",
132
- borderRadius: "var(--ds-radius-small, 3px)",
133
- margin: "var(--ds-space-100, 8px)",
134
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
135
- fontSize: fontSize14px,
136
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
137
- lineHeight: '1.5rem'
138
- }
139
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER_LINE_NUMBER_WIDGET), {
140
- pointerEvents: 'none',
141
- userSelect: 'none',
142
- width: 'var(--lineNumberGutterWidth, 2rem)',
143
- left: 0,
144
- position: 'absolute',
145
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
146
- fontSize: fontSize14px,
147
- padding: "0px ".concat("var(--ds-space-100, 8px)"),
148
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
149
- lineHeight: '1.5rem',
150
- textAlign: 'right',
151
- color: "var(--ds-text-subtlest, #6B6E76)",
152
- boxSizing: 'content-box'
153
- })), "li", {
154
- // if same list item has multiple code blocks we need top margin for all but first
155
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
156
- '> .code-block': {
157
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
158
- margin: "".concat(blockNodesVerticalMargin, " 0 0 0")
159
- },
160
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
161
- '> .code-block:first-child, > .ProseMirror-gapcursor:first-child + .code-block': {
162
- marginTop: 0
163
- },
164
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
165
- '> div:last-of-type.code-block, > pre:last-of-type.code-block': {
166
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
167
- marginBottom: blockNodesVerticalMargin
168
- }
169
- }), ".code-block.ak-editor-selected-node:not(.danger)", [
170
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
171
- boxShadowSelectionStyles,
172
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
173
- blanketSelectionStyles,
174
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
175
- hideNativeBrowserTextSelectionStyles]), '.danger.code-block', _defineProperty(_defineProperty({
176
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
177
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)")
178
- }, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER), [{
179
- backgroundColor: "var(--ds-background-danger, #FFECEB)",
180
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
181
- color: "var(--ds-text-danger, #AE2E24)"
182
- }, gutterDangerOverlay]), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
183
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
184
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
185
- })), '.danger .code-block', _defineProperty(_defineProperty({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER), [{
186
- backgroundColor: "var(--ds-background-danger, #FFECEB)",
187
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
188
- color: "var(--ds-text-danger, #AE2E24)"
189
- }, gutterDangerOverlay]), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
190
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
191
- }))
192
- });
193
- /**
194
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
195
- * If you need to make changes here, also update the corresponding style in
196
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
197
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
198
- */
199
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
200
- export var codeBlockStylesWithEmUnits = css({
201
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
202
- '.ProseMirror': _defineProperty({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER), _defineProperty({
203
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
204
- '.code-block-gutter-pseudo-element::before': {
205
- display: 'flow',
206
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
207
- lineHeight: '1.5em'
208
- }
209
- }, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
210
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
211
- code: {
212
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
213
- fontSize: '0.875em',
214
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
215
- lineHeight: '1.5em'
216
- }
217
- }))
218
- });
219
- /**
220
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
221
- * If you need to make changes here, also update the corresponding style in
222
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
223
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
224
- */
225
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
226
- export var firstCodeBlockWithNoMargin = css({
227
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
228
- '.ProseMirror': {
229
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
230
- '.ak-editor-panel__content': {
231
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
232
- '> .code-block:first-child, > .ProseMirror-widget:first-child + .code-block, > .ProseMirror-widget:first-child + .ProseMirror-widget + .code-block': {
233
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space,@atlaskit/ui-styling-standard/no-important-styles
234
- margin: '0!important'
235
- }
236
- }
237
- }
238
- });
@@ -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 var 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,".concat("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
- var CommentEditorMargin = 14;
7
- var 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 var 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% + ".concat(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 var 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 var 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,94 +0,0 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
3
- @repo/internal/deprecations/deprecation-ticket-required,
4
- @atlaskit/ui-styling-standard/no-exported-styles */
5
-
6
- import { css } from '@emotion/react';
7
- import { boxShadowSelectionStyles, dangerBorderStyles, 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 var DateSharedCssClassName = {
16
- DATE_WRAPPER: "date-lozenger-container",
17
- DATE_CONTAINER: 'dateView-content-wrap'
18
- };
19
- /**
20
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
21
- * If you need to make changes here, also update the corresponding style in
22
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
23
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
24
- */
25
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
26
- export var dateVanillaStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span"), {
27
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
28
- color: "var(--ds-text, #292A2E)",
29
- borderRadius: "var(--ds-radius-small, 4px)",
30
- padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
31
- margin: '0 1px',
32
- position: 'relative',
33
- transition: 'background 0.3s',
34
- whiteSpace: 'nowrap',
35
- cursor: 'unset'
36
- }), "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span:hover"), {
37
- backgroundColor: "var(--ds-background-neutral-hovered, #0B120E24)"
38
- }), "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span.date-node-color-red"), {
39
- backgroundColor: "var(--ds-background-accent-red-subtlest, #FFECEB)",
40
- color: "var(--ds-text-accent-red, #AE2E24)"
41
- }), "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span.date-node-color-red:hover"), {
42
- backgroundColor: "var(--ds-background-accent-red-subtler, #FFD5D2)"
43
- }));
44
-
45
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
46
- /**
47
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
48
- * If you need to make changes here, also update the corresponding style in
49
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
50
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
51
- */
52
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
53
- export var dateStyles = css(_defineProperty(_defineProperty(_defineProperty({
54
- // Show diff: date attr change highlight. Keep this with date node styles so the highlight
55
- // follows the date node view instead of living in shared smart-card diff styles.
56
- // The ON cohort of platform_editor_show_diff_color_scheme_refactor sets
57
- // --show-diff-atomic-inline-changed-border-color inline, overriding the table below; the OFF
58
- // cohort picks its colour with the `-traditional` class. Drop the table at cleanup (EDITOR-8281).
59
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
60
- '.show-diff-atomic-inline-changed-date': {
61
- '--show-diff-atomic-inline-changed-border-color': "var(--ds-border-accent-purple, #AF59E1)",
62
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
63
- outline: "2px solid var(--show-diff-atomic-inline-changed-border-color, ".concat("var(--ds-border-accent-purple, #AF59E1)", ")"),
64
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
65
- outlineOffset: '1px',
66
- borderRadius: "var(--ds-radius-medium, 6px)"
67
- },
68
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
69
- '.show-diff-atomic-inline-changed-date.show-diff-atomic-inline-changed-traditional': {
70
- '--show-diff-atomic-inline-changed-border-color': "var(--ds-border-accent-green, #22A06B)"
71
- }
72
- }, ".".concat(DateSharedCssClassName.DATE_WRAPPER, " span"), {
73
- whiteSpace: 'unset'
74
- }), ".".concat(DateSharedCssClassName.DATE_CONTAINER), _defineProperty(_defineProperty({}, ".".concat(DateSharedCssClassName.DATE_WRAPPER), {
75
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
76
- lineHeight: 'initial',
77
- cursor: 'pointer'
78
- }), '&.ak-editor-selected-node', _defineProperty({}, ".".concat(DateSharedCssClassName.DATE_WRAPPER, " > span"), [
79
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
80
- boxShadowSelectionStyles,
81
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
82
- hideNativeBrowserTextSelectionStyles]))), '.danger', _defineProperty({}, ".".concat(DateSharedCssClassName.DATE_CONTAINER, ".ak-editor-selected-node .").concat(DateSharedCssClassName.DATE_WRAPPER, " > span"), {
83
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)")
84
- })));
85
- /**
86
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
87
- * If you need to make changes here, also update the corresponding style in
88
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
89
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
90
- */
91
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
92
- export var dangerDateStyles = css(_defineProperty({}, ".".concat(DateSharedCssClassName.DATE_CONTAINER, ".ak-editor-selected-node.danger .").concat(DateSharedCssClassName.DATE_WRAPPER, " > span"),
93
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
94
- [dangerBorderStyles]));
@@ -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 var 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 var 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 var 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
- });