@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,195 +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
- const gapCursorBlink = keyframes({
7
- 'from, to': {
8
- opacity: 0
9
- },
10
- '50%': {
11
- opacity: 1
12
- }
13
- });
14
-
15
- /**
16
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
17
- * If you need to make changes here, also update the corresponding style in
18
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
19
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
20
- */
21
- const gapCursorSelector = '.ProseMirror-gapcursor';
22
- const prosemirrorwidgetNotBlock = '.ProseMirror-widget:not([data-blocks-decoration-container="true"]):not([data-blocks-drag-handle-container="true"]):not([data-blocks-quick-insert-container="true"])';
23
- const wrapLeft = '[layout="wrap-left"]';
24
- const wrapRight = '[layout="wrap-right"]';
25
- const fixVerticalAlignmentSelector = `
26
- &:first-of-type + ul,
27
- &:first-of-type + span + ul,
28
- &:first-of-type + ol,
29
- &:first-of-type + span + ol,
30
- &:first-of-type + pre,
31
- &:first-of-type + span + pre,
32
- &:first-of-type + blockquote,
33
- &:first-of-type + span + blockquote
34
- `;
35
- const twoImagesSideBySideFixSelector = `
36
- ${gapCursorSelector}${wrapLeft} + span + ${wrapLeft},
37
- ${gapCursorSelector}${wrapRight} + span + ${wrapRight},
38
- ${gapCursorSelector} + ${wrapLeft} + ${wrapRight},
39
- ${gapCursorSelector} + ${wrapLeft} + span + ${wrapRight},
40
- ${gapCursorSelector} + ${wrapRight} + ${wrapLeft},
41
- ${gapCursorSelector} + ${wrapRight} + span + ${wrapLeft},
42
- ${wrapLeft} + ${gapCursorSelector} + ${wrapRight},
43
- ${wrapLeft} + ${gapCursorSelector} + span ${wrapRight},
44
- ${wrapRight} + ${gapCursorSelector} + ${wrapLeft},
45
- ${wrapRight} + ${gapCursorSelector} + span + ${wrapLeft},
46
- ${wrapLeft} + ${gapCursorSelector}`;
47
- const marginFixSelector = `
48
- ${wrapLeft} + ${gapCursorSelector} + ${wrapRight} > div,
49
- ${wrapLeft} + ${gapCursorSelector} + span + ${wrapRight} > div,
50
- ${wrapRight} + ${gapCursorSelector} + ${wrapLeft} > div,
51
- ${wrapRight} + ${gapCursorSelector} + span + ${wrapLeft} > div,
52
- ${gapCursorSelector} + ${wrapRight} + ${wrapLeft} > div,
53
- ${gapCursorSelector} + ${wrapRight} + span + ${wrapLeft} > div,
54
- ${gapCursorSelector} + ${wrapLeft} + ${wrapRight} > div,
55
- ${gapCursorSelector} + ${wrapLeft} + span + ${wrapRight} > div`;
56
- const floatLeftFixSelector = `
57
- ${wrapLeft} + ${gapCursorSelector},
58
- ${wrapRight} + ${gapCursorSelector}`;
59
- const afterPresudoSelector = `
60
- ${gapCursorSelector} + ${wrapLeft} + span + ${wrapRight}::after,
61
- ${gapCursorSelector} + ${wrapRight} + span + ${wrapLeft}::after,
62
- ${wrapLeft} + ${gapCursorSelector} + ${wrapRight}::after,
63
- ${wrapLeft} + ${gapCursorSelector} + span + ${wrapRight}::after,
64
- ${wrapRight} + ${gapCursorSelector} + ${wrapLeft}::after,
65
- ${wrapRight} + ${gapCursorSelector} + span + ${wrapLeft}::after`;
66
- const marginDeepChildrenFixSelector = `
67
- ${wrapLeft} + ${gapCursorSelector} + ${wrapRight} + *,
68
- ${wrapLeft} + ${gapCursorSelector} + ${wrapRight} + span + *,
69
- ${wrapRight} + ${gapCursorSelector} + ${wrapLeft} + *,
70
- ${wrapRight} + ${gapCursorSelector} + ${wrapLeft} + span + *,
71
- ${wrapLeft} + ${gapCursorSelector} + span + ${wrapRight} + *,
72
- ${wrapRight} + ${gapCursorSelector} + span + ${wrapLeft} + *,
73
- ${gapCursorSelector} + ${wrapLeft} + span + ${wrapRight} + *,
74
- ${gapCursorSelector} + ${wrapRight} + span + ${wrapLeft} + *,
75
- ${wrapLeft} + ${gapCursorSelector} + ${wrapRight} + * > *,
76
- ${wrapLeft} + ${gapCursorSelector} + ${wrapRight} + span + * > *,
77
- ${wrapRight} + ${gapCursorSelector} + ${wrapLeft} + * > *,
78
- ${wrapRight} + ${gapCursorSelector} + ${wrapLeft} + span + * > *,
79
- ${wrapLeft} + ${gapCursorSelector} + span + ${wrapRight} + * > *,
80
- ${wrapRight} + ${gapCursorSelector} + span + ${wrapLeft} + * > *,
81
- ${gapCursorSelector} + ${wrapLeft} + span + ${wrapRight} + * > *,
82
- ${gapCursorSelector} + ${wrapRight} + span + ${wrapLeft} + * > *,
83
- ${prosemirrorwidgetNotBlock} + ${gapCursorSelector} + *,
84
- ${prosemirrorwidgetNotBlock} + ${gapCursorSelector} + span + *`;
85
- /**
86
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
87
- * If you need to make changes here, also update the corresponding style in
88
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
89
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
90
- */
91
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
92
- export const gapCursorStyles = css({
93
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
94
- '.ProseMirror': {
95
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
96
- [gapCursorSelector]: {
97
- display: 'none',
98
- pointerEvents: 'none',
99
- position: 'relative',
100
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
101
- '& span': {
102
- caretColor: 'transparent',
103
- position: 'absolute',
104
- height: '100%',
105
- width: '100%',
106
- display: 'block'
107
- },
108
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
109
- '& span::after': {
110
- animation: `1s ${gapCursorBlink} step-start infinite`,
111
- borderLeft: '1px solid',
112
- content: "''",
113
- display: 'block',
114
- position: 'absolute',
115
- top: 0,
116
- height: '100%'
117
- },
118
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
119
- '&.-left span::after': {
120
- left: "var(--ds-space-negative-050, -4px)"
121
- },
122
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
123
- '&.-right span::after': {
124
- right: "var(--ds-space-negative-050, -4px)"
125
- },
126
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
127
- '& span[layout="full-width"], & span[layout="wide"], & span[layout="fixed-width"]': {
128
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
129
- marginLeft: '50%',
130
- transform: 'translateX(-50%)'
131
- },
132
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
133
- [`&${wrapRight}`]: {
134
- float: 'right'
135
- },
136
- /* fix vertical alignment of gap cursor */
137
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
138
- [fixVerticalAlignmentSelector]: {
139
- marginTop: 0
140
- }
141
- },
142
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
143
- [`&.ProseMirror-focused ${gapCursorSelector}`]: {
144
- display: 'block',
145
- borderColor: 'transparent'
146
- }
147
- },
148
- /* This hack below is for two images aligned side by side */
149
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
150
- [twoImagesSideBySideFixSelector]: {
151
- clear: 'none'
152
- },
153
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
154
- [marginFixSelector]: {
155
- marginRight: 0,
156
- marginLeft: 0,
157
- marginBottom: 0
158
- },
159
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
160
- [floatLeftFixSelector]: {
161
- float: 'left'
162
- },
163
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
164
- [afterPresudoSelector]: {
165
- visibility: 'hidden',
166
- display: 'block',
167
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
168
- fontSize: 0,
169
- content: "' '",
170
- clear: 'both',
171
- height: 0
172
- },
173
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
174
- [marginDeepChildrenFixSelector]: {
175
- marginTop: 0
176
- }
177
- });
178
-
179
- // Hide native caret when gap cursor widget is present (no class toggle = no VC90 mutation)
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 const gapCursorStylesVisibilityFix = 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, @atlaskit/ui-styling-standard/no-unsafe-values
191
- [`&:has(${gapCursorSelector})`]: {
192
- caretColor: 'transparent'
193
- }
194
- }
195
- });
@@ -1,43 +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 gridStyles = css({
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
14
- '.gridParent': {
15
- width: `calc(100% + 24px)`,
16
- marginLeft: "var(--ds-space-negative-150, -12px)",
17
- marginRight: "var(--ds-space-negative-150, -12px)",
18
- transform: 'scale(1)',
19
- zIndex: 2
20
- },
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
22
- '.gridContainer': {
23
- position: 'fixed',
24
- height: '100vh',
25
- width: '100%',
26
- pointerEvents: 'none'
27
- },
28
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
29
- '.gridLine': {
30
- borderLeft: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
31
- display: 'inline-block',
32
- boxSizing: 'border-box',
33
- height: '100%',
34
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
35
- marginLeft: '-1px',
36
- transition: 'border-color 0.15s linear',
37
- zIndex: 0
38
- },
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
40
- '.highlight': {
41
- borderLeft: `1px solid ${"var(--ds-border-focused, #4688EC)"}`
42
- }
43
- });
@@ -1,49 +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 indentationStyles = 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 -- Ignored via go/DSP-18766
16
- '.fabric-editor-indentation-mark': {
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
18
- "&[data-level='1']": {
19
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
20
- marginLeft: 30
21
- },
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
23
- "&[data-level='2']": {
24
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
25
- marginLeft: 60
26
- },
27
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
28
- "&[data-level='3']": {
29
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
30
- marginLeft: 90
31
- },
32
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
33
- "&[data-level='4']": {
34
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
35
- marginLeft: 120
36
- },
37
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
38
- "&[data-level='5']": {
39
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
40
- marginLeft: 150
41
- },
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
43
- "&[data-level='6']": {
44
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
45
- marginLeft: 180
46
- }
47
- }
48
- }
49
- });
@@ -1,50 +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 InlineNodeViewSharedStyles = 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
- '.inlineNodeView': {
17
- display: 'inline',
18
- userSelect: 'all',
19
- whiteSpace: 'nowrap',
20
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
21
- '& > *:not(.zeroWidthSpaceContainer)': {
22
- whiteSpace: 'pre-wrap'
23
- },
24
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
25
- '& > .assistive': {
26
- userSelect: 'none'
27
- }
28
- },
29
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
30
- '&.ua-safari': {
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
32
- '.inlineNodeView': {
33
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
34
- '&::selection, *::selection': {
35
- background: 'transparent'
36
- }
37
- }
38
- },
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
40
- '&.ua-chrome .inlineNodeView > span': {
41
- userSelect: 'none'
42
- },
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
44
- '.inlineNodeViewAddZeroWidthSpace': {
45
- '&::after': {
46
- content: "'\u200b'" // ZERO_WIDTH_SPACE
47
- }
48
- }
49
- }
50
- });