@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,355 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- import { CodeBlockSharedCssClassName } from '@atlaskit/editor-common/styles';
7
- /**
8
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
9
- * If you need to make changes here, also update the corresponding style in
10
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
11
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
12
- */
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
14
- export const findReplaceStylesWithCodeblockColorContrastFix = css({
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
16
- [`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER} .search-match-text.selected-search-match`]: {
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
18
- span: {
19
- // we need to use !important here as we need to override inline selection styles
20
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
21
- color: `${"var(--ds-text, #292A2E)"} !important`
22
- }
23
- }
24
- });
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
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
30
- */
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
32
- export const findReplaceStyles = css({
33
- // text - inactive match - light mode
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
35
- '.search-match-text': {
36
- borderRadius: "var(--ds-space-050, 4px)",
37
- boxShadow: `
38
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
39
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"}
40
- `,
41
- // we need to use !important here as we need to override inline selection styles
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
43
- backgroundColor: `${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"} !important`,
44
- color: "var(--ds-text, #292A2E)"
45
- },
46
- // text - active match - light mode
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
48
- '.search-match-text.selected-search-match': {
49
- boxShadow: `
50
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
51
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"}
52
- `,
53
- // we need to use !important here as we need to override inline selection styles
54
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
55
- backgroundColor: `${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"} !important`
56
- },
57
- // text - inactive match - dark mode
58
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
59
- '.search-match-text.search-match-dark': {
60
- boxShadow: `
61
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
62
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"}
63
- `,
64
- // we need to use !important here as we need to override inline selection styles
65
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
66
- backgroundColor: `${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"} !important`,
67
- color: "var(--ds-text-inverse, #FFFFFF)"
68
- },
69
- // text - active match - dark mode
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
71
- '.search-match-text.selected-search-match.search-match-dark': {
72
- boxShadow: `
73
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
74
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}
75
- `,
76
- // we need to use !important here as we need to override inline selection styles
77
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
78
- backgroundColor: `${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"} !important`
79
- },
80
- // block node - inactive match - light mode - without node selection
81
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
82
- '.search-match-block': {
83
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
84
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
85
- boxShadow: `
86
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
87
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"}
88
- `
89
- },
90
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
91
- '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
92
- boxShadow: `
93
- 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"},
94
- 0px 0px 0px 5px ${"var(--ds-border-accent-magenta, #CD519D)"}
95
- `
96
- }
97
- },
98
- // block node - active match - light mode - without node selection
99
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
100
- '.search-match-block.search-match-block-selected': {
101
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
102
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
103
- boxShadow: `
104
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
105
- inset 0 0 0 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"}
106
- `
107
- },
108
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
109
- '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
110
- boxShadow: `
111
- 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"},
112
- 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}
113
- `
114
- }
115
- },
116
- // block node - inactive match - light mode - with node selection
117
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
118
- '.search-match-block.ak-editor-selected-node': {
119
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
120
- '.loader-wrapper>div::after': {
121
- boxShadow: `
122
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
123
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"},
124
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}
125
- `
126
- },
127
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
128
- '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
129
- boxShadow: `
130
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"},
131
- 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"},
132
- 0px 0px 0px 5px ${"var(--ds-border-accent-magenta, #CD519D)"}
133
- `
134
- }
135
- },
136
- // block node - active match - light mode - with node selection
137
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
138
- '.search-match-block.search-match-block-selected.ak-editor-selected-node': {
139
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
140
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
141
- boxShadow: `
142
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
143
- inset 0 0 0 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"},
144
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}
145
- `
146
- },
147
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
148
- '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
149
- boxShadow: `
150
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"},
151
- 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"},
152
- 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}
153
- `
154
- }
155
- },
156
- // block node - inactive match - dark mode - without node selection
157
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
158
- '.search-match-block.search-match-dark': {
159
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
160
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
161
- boxShadow: `
162
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
163
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"}
164
- `
165
- },
166
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
167
- '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
168
- boxShadow: `
169
- 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"},
170
- 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}
171
- `
172
- }
173
- },
174
- // block node - active match - dark mode - without node selection
175
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
176
- '.search-match-block.search-match-block-selected.search-match-dark': {
177
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
178
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
179
- boxShadow: `
180
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
181
- inset 0 0 0 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}
182
- `
183
- },
184
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
185
- '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
186
- boxShadow: `
187
- 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
188
- 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}
189
- `
190
- }
191
- },
192
- // block node - inactive match - dark mode - with node selection
193
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
194
- '.search-match-block.search-match-dark.ak-editor-selected-node': {
195
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
196
- '.loader-wrapper>div::after': {
197
- boxShadow: `
198
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
199
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"},
200
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}
201
- `
202
- },
203
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
204
- '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
205
- boxShadow: `
206
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"},
207
- 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"},
208
- 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}
209
- `
210
- }
211
- },
212
- // block node - active match - dark mode - with node selection
213
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
214
- '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node': {
215
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
216
- '[data-smart-link-container="true"], .loader-wrapper>div::after': {
217
- boxShadow: `
218
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
219
- inset 0 0 0 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
220
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}
221
- `
222
- },
223
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
224
- '.loader-wrapper>a, .hover-card-trigger-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
225
- boxShadow: `
226
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"},
227
- 0px 0px 0px 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
228
- 0px 0px 0px 5px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"}
229
- `
230
- }
231
- },
232
- // expand title - inactive match - light mode
233
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
234
- '.search-match-expand-title > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
235
- borderRadius: "var(--ds-space-050, 4px)",
236
- boxShadow: `
237
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
238
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"}
239
- `,
240
- backgroundColor: "var(--ds-background-accent-magenta-subtler, #FDD0EC)",
241
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
242
- '.ak-editor-expand__title-input': {
243
- color: "var(--ds-text, #292A2E)"
244
- }
245
- },
246
- // expand title - active match - light mode
247
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
248
- '.search-match-expand-title.selected-search-match > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
249
- boxShadow: `
250
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
251
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"}
252
- `,
253
- backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"
254
- },
255
- // expand title - inactive match - dark mode
256
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
257
- '.search-match-expand-title.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
258
- boxShadow: `
259
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
260
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"}
261
- `,
262
- backgroundColor: "var(--ds-background-accent-magenta-bolder-pressed, #77325B)",
263
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
264
- '.ak-editor-expand__title-input': {
265
- color: "var(--ds-text-inverse, #FFFFFF)"
266
- }
267
- },
268
- // expand title - active match - dark mode
269
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
270
- '.search-match-expand-title.selected-search-match.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
271
- boxShadow: `
272
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
273
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}
274
- `,
275
- backgroundColor: "var(--ds-background-accent-magenta-bolder-hovered, #943D73)"
276
- }
277
- });
278
- /**
279
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
280
- * If you need to make changes here, also update the corresponding style in
281
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
282
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
283
- */
284
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
285
- export const findReplaceStylesWithRefSyncBlock = css({
286
- // sync block (reference) - inactive match - light mode - without node selection
287
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
288
- '.search-match-block.ak-editor-sync-block': {
289
- borderRadius: "var(--ds-space-050, 4px)",
290
- boxShadow: `
291
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
292
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"}
293
- `,
294
- backgroundColor: "var(--ds-background-accent-magenta-subtler, #FDD0EC)"
295
- },
296
- // sync block (reference) - active match - light mode - without node selection
297
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
298
- '.search-match-block.search-match-block-selected.ak-editor-sync-block': {
299
- boxShadow: `
300
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"},
301
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"}
302
- `,
303
- backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"
304
- },
305
- // sync block (reference) - inactive match - light mode - with node selection
306
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
307
- '.search-match-block.ak-editor-sync-block.ak-editor-selected-node': {
308
- boxShadow: `
309
- inset 0 0 0 1px ${"var(--ds-border-accent-magenta, #CD519D)"},
310
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-subtler, #FDD0EC)"},
311
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}
312
- `,
313
- backgroundColor: "var(--ds-background-accent-magenta-subtler, #FDD0EC)"
314
- },
315
- // sync block (reference) - active match - light mode - with node selection
316
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
317
- '.search-match-block.search-match-block-selected.ak-editor-sync-block.ak-editor-selected-node': {
318
- boxShadow: `0 0 0 1px ${"var(--ds-border-focused, #4688EC)"}`,
319
- backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #FCB6E1)"
320
- },
321
- // sync block (reference) - inactive match - dark mode - without node selection
322
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
323
- '.search-match-block.search-match-dark.ak-editor-sync-block': {
324
- boxShadow: `
325
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
326
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"}
327
- `,
328
- backgroundColor: "var(--ds-background-accent-magenta-bolder-pressed, #77325B)"
329
- },
330
- // sync block (reference) - active match - dark mode - without node selection
331
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
332
- '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-sync-block': {
333
- boxShadow: `
334
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
335
- inset 0 0 0 4px ${"var(--ds-background-accent-magenta-bolder-hovered, #943D73)"}
336
- `,
337
- backgroundColor: "var(--ds-background-accent-magenta-bolder-hovered, #943D73)"
338
- },
339
- // sync block (reference) - inactive match - dark mode - with node selection
340
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
341
- '.search-match-block.search-match-dark.ak-editor-sync-block.ak-editor-selected-node': {
342
- boxShadow: `
343
- inset 0 0 0 1px ${"var(--ds-background-accent-magenta-bolder, #AE4787)"},
344
- inset 0 0 0 5px ${"var(--ds-background-accent-magenta-bolder-pressed, #77325B)"},
345
- 0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}
346
- `,
347
- backgroundColor: "var(--ds-background-accent-magenta-bolder-pressed, #77325B)"
348
- },
349
- // sync block (reference) - active match - dark mode - with node selection
350
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
351
- '.search-match-block.search-match-block-selected.search-match-dark.ak-editor-sync-block.ak-editor-selected-node': {
352
- boxShadow: `0 0 0 1px ${"var(--ds-border-focused, #4688EC)"}`,
353
- backgroundColor: "var(--ds-background-accent-magenta-bolder-hovered, #943D73)"
354
- }
355
- });
@@ -1,60 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
7
- import { expandClassNames, SmartCardSharedCssClassName } from '@atlaskit/editor-common/styles';
8
- import { CodeBlockSharedCssClassName } from './codeBlockStyles';
9
- /**
10
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
11
- * If you need to make changes here, also update the corresponding style in
12
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
13
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
14
- */
15
- export const firstBlockNodeStyles = css({
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
17
- '.ProseMirror': {
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
19
- [`> .${PanelSharedCssClassName.prefix}, > .${CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER}, > .${SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER}, > div[data-task-list-local-id], > div[data-layout-section], > .${expandClassNames.prefix}`]: {
20
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
21
- '&:first-child': {
22
- marginTop: 0
23
- }
24
- },
25
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
26
- '> hr:first-child, > .ProseMirror-widget:first-child + hr': {
27
- marginTop: 0
28
- }
29
- }
30
- });
31
-
32
- /**
33
- * A leading ProseMirror widget (e.g. `ProseMirror-hide-cursor` when the editor is not editable)
34
- * renders as the first child, so the `:first-child` margin resets no longer match the first real
35
- * node. This zeroes its top margin in all editor content containers, including the Jira chromeless
36
- * editor where block controls are not loaded.
37
- *
38
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
39
- * If you need to make changes here, also update the corresponding style in
40
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
41
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
42
- */
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
44
- export const firstNodeWidgetFixStyles = css({
45
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
46
- '.ProseMirror': {
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
48
- '> .ProseMirror-widget:first-child + .ProseMirror-gapcursor + *:not([data-layout-section="true"], [data-prosemirror-node-name="bodiedSyncBlock"]), > .ProseMirror-widget:first-child + *:not([data-layout-section="true"], [data-prosemirror-node-name="bodiedSyncBlock"])': {
49
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
50
- marginTop: '0 !important'
51
- },
52
- // Reach through a `.fabric-editor-font-size` wrapper to zero the inner node's margin, since
53
- // the margin lives on the child, not the wrapper.
54
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
55
- '> .ProseMirror-widget:first-child + .fabric-editor-font-size > :is(p, h1, h2, h3, h4, h5, h6):first-child, > .ProseMirror-widget:first-child + .ProseMirror-widget + .fabric-editor-font-size > :is(p, h1, h2, h3, h4, h5, h6):first-child, > .ProseMirror-widget:first-child + .ProseMirror-gapcursor + .fabric-editor-font-size > :is(p, h1, h2, h3, h4, h5, h6):first-child': {
56
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
57
- marginTop: '0 !important'
58
- }
59
- }
60
- });
@@ -1,19 +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
- // Make sure the first floating toolbar button has focus ring when focused via .focus()
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
- export const firstFloatingToolbarButtonStyles = css({
14
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
15
- 'button.first-floating-toolbar-button:focus': {
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
17
- outline: `2px solid ${"var(--ds-border-focused, #4688EC)"}`
18
- }
19
- });
@@ -1,45 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- /**
7
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
8
- * If you need to make changes here, also update the corresponding style in
9
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
10
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
11
- */
12
- export const fontSizeStyles = css({
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
14
- '.ProseMirror': {
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
16
- '.fabric-editor-font-size': {
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
18
- "&[data-font-size='small']": {
19
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
20
- font: 'var(--editor-font-ugc-token-body-small)'
21
- }
22
- },
23
- // Apply font-size to the ::marker pseudo-element of list items that have a font-size mark.
24
- // Targeting ::marker directly avoids setting font on the <li> itself, which would cascade
25
- // into nested lists and compound the sizing at each nesting level.
26
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
27
- "li:has(> .fabric-editor-font-size[data-font-size='small'])::marker": {
28
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
29
- font: 'var(--editor-font-ugc-token-body-small)'
30
- },
31
- // For blockTaskItem nodes: propagate font-size to the task container so the
32
- // checkbox and layout align with the content size. Reset on the inner mark to avoid
33
- // double-applying.
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
35
- "[data-prosemirror-node-name='blockTaskItem']:has(.fabric-editor-font-size[data-font-size='small'])": {
36
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
37
- font: 'var(--editor-font-ugc-token-body-small)',
38
- // Reset the inner block mark so the font value is not applied twice
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
40
- '.fabric-editor-font-size': {
41
- font: 'inherit'
42
- }
43
- }
44
- }
45
- });
@@ -1,21 +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
- // Originally copied from scrollStyles in packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts
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
- export const fullPageEditorStyles = css({
14
- flexGrow: 1,
15
- height: '100%',
16
- overflowY: 'scroll',
17
- position: 'relative',
18
- display: 'flex',
19
- flexDirection: 'column',
20
- scrollBehavior: 'smooth'
21
- });