@atlaskit/editor-core 233.0.1 → 234.0.0

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