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