@atlaskit/editor-core 233.0.2 → 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 (242) hide show
  1. package/CHANGELOG.md +8 -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/version-wrapper.js +1 -1
  7. package/dist/es2019/composable-editor/editor-internal.js +2 -2
  8. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +2 -4
  9. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +5 -7
  10. package/dist/es2019/ui/quick-insert/getExtensionQuickInsertComponents.js +2 -2
  11. package/dist/es2019/version-wrapper.js +1 -1
  12. package/dist/esm/composable-editor/editor-internal.js +2 -2
  13. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +2 -4
  14. package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +5 -9
  15. package/dist/esm/ui/quick-insert/getExtensionQuickInsertComponents.js +5 -12
  16. package/dist/esm/version-wrapper.js +1 -1
  17. package/dist/types/ui/EditorContentContainer/EditorContentContainer.d.ts +6 -5
  18. package/package.json +40 -40
  19. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -761
  20. package/dist/cjs/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -121
  21. package/dist/cjs/ui/EditorContentContainer/styles/aiPanel.js +0 -228
  22. package/dist/cjs/ui/EditorContentContainer/styles/annotationStyles.js +0 -52
  23. package/dist/cjs/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -70
  24. package/dist/cjs/ui/EditorContentContainer/styles/baseStyles.js +0 -121
  25. package/dist/cjs/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -38
  26. package/dist/cjs/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -113
  27. package/dist/cjs/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -332
  28. package/dist/cjs/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -244
  29. package/dist/cjs/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -38
  30. package/dist/cjs/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -39
  31. package/dist/cjs/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -38
  32. package/dist/cjs/ui/EditorContentContainer/styles/cursorStyles.js +0 -31
  33. package/dist/cjs/ui/EditorContentContainer/styles/dateStyles.js +0 -100
  34. package/dist/cjs/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -39
  35. package/dist/cjs/ui/EditorContentContainer/styles/embedCardStyles.js +0 -41
  36. package/dist/cjs/ui/EditorContentContainer/styles/emoji.js +0 -471
  37. package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +0 -352
  38. package/dist/cjs/ui/EditorContentContainer/styles/extensionStyles.js +0 -436
  39. package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -260
  40. package/dist/cjs/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -63
  41. package/dist/cjs/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -25
  42. package/dist/cjs/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -51
  43. package/dist/cjs/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -27
  44. package/dist/cjs/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -125
  45. package/dist/cjs/ui/EditorContentContainer/styles/gridStyles.js +0 -49
  46. package/dist/cjs/ui/EditorContentContainer/styles/indentationStyles.js +0 -55
  47. package/dist/cjs/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -56
  48. package/dist/cjs/ui/EditorContentContainer/styles/layout.js +0 -781
  49. package/dist/cjs/ui/EditorContentContainer/styles/link.js +0 -66
  50. package/dist/cjs/ui/EditorContentContainer/styles/list.js +0 -325
  51. package/dist/cjs/ui/EditorContentContainer/styles/mediaStyles.js +0 -343
  52. package/dist/cjs/ui/EditorContentContainer/styles/mentions.js +0 -273
  53. package/dist/cjs/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -20
  54. package/dist/cjs/ui/EditorContentContainer/styles/panelStyles.js +0 -387
  55. package/dist/cjs/ui/EditorContentContainer/styles/paragraphStyles.js +0 -71
  56. package/dist/cjs/ui/EditorContentContainer/styles/placeholderStyles.js +0 -134
  57. package/dist/cjs/ui/EditorContentContainer/styles/resizerStyles.js +0 -648
  58. package/dist/cjs/ui/EditorContentContainer/styles/rule.js +0 -48
  59. package/dist/cjs/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -38
  60. package/dist/cjs/ui/EditorContentContainer/styles/selectionStyles.js +0 -177
  61. package/dist/cjs/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -35
  62. package/dist/cjs/ui/EditorContentContainer/styles/shadowStyles.js +0 -76
  63. package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +0 -473
  64. package/dist/cjs/ui/EditorContentContainer/styles/statusStyles.js +0 -305
  65. package/dist/cjs/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -37
  66. package/dist/cjs/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -253
  67. package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +0 -327
  68. package/dist/cjs/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -467
  69. package/dist/cjs/ui/EditorContentContainer/styles/telepointerStyles.js +0 -233
  70. package/dist/cjs/ui/EditorContentContainer/styles/textColorStyles.js +0 -27
  71. package/dist/cjs/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -24
  72. package/dist/cjs/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -104
  73. package/dist/cjs/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -42
  74. package/dist/cjs/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -24
  75. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -764
  76. package/dist/es2019/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -115
  77. package/dist/es2019/ui/EditorContentContainer/styles/aiPanel.js +0 -225
  78. package/dist/es2019/ui/EditorContentContainer/styles/annotationStyles.js +0 -55
  79. package/dist/es2019/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -64
  80. package/dist/es2019/ui/EditorContentContainer/styles/baseStyles.js +0 -119
  81. package/dist/es2019/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -32
  82. package/dist/es2019/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -115
  83. package/dist/es2019/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -338
  84. package/dist/es2019/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -301
  85. package/dist/es2019/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -32
  86. package/dist/es2019/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -33
  87. package/dist/es2019/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -32
  88. package/dist/es2019/ui/EditorContentContainer/styles/cursorStyles.js +0 -25
  89. package/dist/es2019/ui/EditorContentContainer/styles/dateStyles.js +0 -122
  90. package/dist/es2019/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -33
  91. package/dist/es2019/ui/EditorContentContainer/styles/embedCardStyles.js +0 -35
  92. package/dist/es2019/ui/EditorContentContainer/styles/emoji.js +0 -530
  93. package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +0 -346
  94. package/dist/es2019/ui/EditorContentContainer/styles/extensionStyles.js +0 -432
  95. package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -355
  96. package/dist/es2019/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -60
  97. package/dist/es2019/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -19
  98. package/dist/es2019/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -45
  99. package/dist/es2019/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -21
  100. package/dist/es2019/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -195
  101. package/dist/es2019/ui/EditorContentContainer/styles/gridStyles.js +0 -43
  102. package/dist/es2019/ui/EditorContentContainer/styles/indentationStyles.js +0 -49
  103. package/dist/es2019/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -50
  104. package/dist/es2019/ui/EditorContentContainer/styles/layout.js +0 -886
  105. package/dist/es2019/ui/EditorContentContainer/styles/link.js +0 -60
  106. package/dist/es2019/ui/EditorContentContainer/styles/list.js +0 -322
  107. package/dist/es2019/ui/EditorContentContainer/styles/mediaStyles.js +0 -483
  108. package/dist/es2019/ui/EditorContentContainer/styles/mentions.js +0 -287
  109. package/dist/es2019/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -55
  110. package/dist/es2019/ui/EditorContentContainer/styles/panelStyles.js +0 -381
  111. package/dist/es2019/ui/EditorContentContainer/styles/paragraphStyles.js +0 -65
  112. package/dist/es2019/ui/EditorContentContainer/styles/placeholderStyles.js +0 -128
  113. package/dist/es2019/ui/EditorContentContainer/styles/resizerStyles.js +0 -723
  114. package/dist/es2019/ui/EditorContentContainer/styles/rule.js +0 -45
  115. package/dist/es2019/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -32
  116. package/dist/es2019/ui/EditorContentContainer/styles/selectionStyles.js +0 -171
  117. package/dist/es2019/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -29
  118. package/dist/es2019/ui/EditorContentContainer/styles/shadowStyles.js +0 -81
  119. package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +0 -666
  120. package/dist/es2019/ui/EditorContentContainer/styles/statusStyles.js +0 -299
  121. package/dist/es2019/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -34
  122. package/dist/es2019/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -325
  123. package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +0 -341
  124. package/dist/es2019/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -508
  125. package/dist/es2019/ui/EditorContentContainer/styles/telepointerStyles.js +0 -227
  126. package/dist/es2019/ui/EditorContentContainer/styles/textColorStyles.js +0 -21
  127. package/dist/es2019/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -18
  128. package/dist/es2019/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -110
  129. package/dist/es2019/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -36
  130. package/dist/es2019/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -18
  131. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +0 -759
  132. package/dist/esm/ui/EditorContentContainer/styles/agentShimmerStyles.js +0 -115
  133. package/dist/esm/ui/EditorContentContainer/styles/aiPanel.js +0 -221
  134. package/dist/esm/ui/EditorContentContainer/styles/annotationStyles.js +0 -45
  135. package/dist/esm/ui/EditorContentContainer/styles/backgroundColorStyles.js +0 -64
  136. package/dist/esm/ui/EditorContentContainer/styles/baseStyles.js +0 -114
  137. package/dist/esm/ui/EditorContentContainer/styles/blockMarksStyles.js +0 -32
  138. package/dist/esm/ui/EditorContentContainer/styles/blockSpacingStyles.js +0 -107
  139. package/dist/esm/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -325
  140. package/dist/esm/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -238
  141. package/dist/esm/ui/EditorContentContainer/styles/codeMarkStyles.js +0 -32
  142. package/dist/esm/ui/EditorContentContainer/styles/commentEditorStyles.js +0 -33
  143. package/dist/esm/ui/EditorContentContainer/styles/containerTypeStyles.js +0 -32
  144. package/dist/esm/ui/EditorContentContainer/styles/cursorStyles.js +0 -25
  145. package/dist/esm/ui/EditorContentContainer/styles/dateStyles.js +0 -94
  146. package/dist/esm/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -33
  147. package/dist/esm/ui/EditorContentContainer/styles/embedCardStyles.js +0 -35
  148. package/dist/esm/ui/EditorContentContainer/styles/emoji.js +0 -464
  149. package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +0 -346
  150. package/dist/esm/ui/EditorContentContainer/styles/extensionStyles.js +0 -430
  151. package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +0 -253
  152. package/dist/esm/ui/EditorContentContainer/styles/firstBlockNodeStyles.js +0 -56
  153. package/dist/esm/ui/EditorContentContainer/styles/floatingToolbarStyles.js +0 -19
  154. package/dist/esm/ui/EditorContentContainer/styles/fontSizeStyles.js +0 -45
  155. package/dist/esm/ui/EditorContentContainer/styles/fullPageEditorStyles.js +0 -21
  156. package/dist/esm/ui/EditorContentContainer/styles/gapCursorStyles.js +0 -118
  157. package/dist/esm/ui/EditorContentContainer/styles/gridStyles.js +0 -43
  158. package/dist/esm/ui/EditorContentContainer/styles/indentationStyles.js +0 -49
  159. package/dist/esm/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.js +0 -50
  160. package/dist/esm/ui/EditorContentContainer/styles/layout.js +0 -774
  161. package/dist/esm/ui/EditorContentContainer/styles/link.js +0 -60
  162. package/dist/esm/ui/EditorContentContainer/styles/list.js +0 -318
  163. package/dist/esm/ui/EditorContentContainer/styles/mediaStyles.js +0 -337
  164. package/dist/esm/ui/EditorContentContainer/styles/mentions.js +0 -267
  165. package/dist/esm/ui/EditorContentContainer/styles/overflowShadowStyles.js +0 -14
  166. package/dist/esm/ui/EditorContentContainer/styles/panelStyles.js +0 -381
  167. package/dist/esm/ui/EditorContentContainer/styles/paragraphStyles.js +0 -65
  168. package/dist/esm/ui/EditorContentContainer/styles/placeholderStyles.js +0 -128
  169. package/dist/esm/ui/EditorContentContainer/styles/resizerStyles.js +0 -641
  170. package/dist/esm/ui/EditorContentContainer/styles/rule.js +0 -41
  171. package/dist/esm/ui/EditorContentContainer/styles/scrollbarStyles.js +0 -32
  172. package/dist/esm/ui/EditorContentContainer/styles/selectionStyles.js +0 -171
  173. package/dist/esm/ui/EditorContentContainer/styles/selectionToolbarStyles.js +0 -29
  174. package/dist/esm/ui/EditorContentContainer/styles/shadowStyles.js +0 -69
  175. package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +0 -468
  176. package/dist/esm/ui/EditorContentContainer/styles/statusStyles.js +0 -299
  177. package/dist/esm/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.js +0 -30
  178. package/dist/esm/ui/EditorContentContainer/styles/syncBlockStyles.js +0 -247
  179. package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +0 -320
  180. package/dist/esm/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +0 -461
  181. package/dist/esm/ui/EditorContentContainer/styles/telepointerStyles.js +0 -227
  182. package/dist/esm/ui/EditorContentContainer/styles/textColorStyles.js +0 -21
  183. package/dist/esm/ui/EditorContentContainer/styles/textHighlightStyles.js +0 -18
  184. package/dist/esm/ui/EditorContentContainer/styles/unsupportedStyles.js +0 -98
  185. package/dist/esm/ui/EditorContentContainer/styles/vanillaTooltipStyles.js +0 -36
  186. package/dist/esm/ui/EditorContentContainer/styles/whitespaceStyles.js +0 -18
  187. package/dist/types/ui/EditorContentContainer/EditorContentContainer-emotion.d.ts +0 -21
  188. package/dist/types/ui/EditorContentContainer/styles/agentShimmerStyles.d.ts +0 -2
  189. package/dist/types/ui/EditorContentContainer/styles/aiPanel.d.ts +0 -29
  190. package/dist/types/ui/EditorContentContainer/styles/annotationStyles.d.ts +0 -8
  191. package/dist/types/ui/EditorContentContainer/styles/backgroundColorStyles.d.ts +0 -22
  192. package/dist/types/ui/EditorContentContainer/styles/baseStyles.d.ts +0 -36
  193. package/dist/types/ui/EditorContentContainer/styles/blockMarksStyles.d.ts +0 -8
  194. package/dist/types/ui/EditorContentContainer/styles/blockSpacingStyles.d.ts +0 -18
  195. package/dist/types/ui/EditorContentContainer/styles/blockTypeStyles.d.ts +0 -65
  196. package/dist/types/ui/EditorContentContainer/styles/codeBlockStyles.d.ts +0 -39
  197. package/dist/types/ui/EditorContentContainer/styles/codeMarkStyles.d.ts +0 -8
  198. package/dist/types/ui/EditorContentContainer/styles/commentEditorStyles.d.ts +0 -8
  199. package/dist/types/ui/EditorContentContainer/styles/containerTypeStyles.d.ts +0 -26
  200. package/dist/types/ui/EditorContentContainer/styles/cursorStyles.d.ts +0 -8
  201. package/dist/types/ui/EditorContentContainer/styles/dateStyles.d.ts +0 -32
  202. package/dist/types/ui/EditorContentContainer/styles/editorUGCTokenStyles.d.ts +0 -16
  203. package/dist/types/ui/EditorContentContainer/styles/embedCardStyles.d.ts +0 -8
  204. package/dist/types/ui/EditorContentContainer/styles/emoji.d.ts +0 -55
  205. package/dist/types/ui/EditorContentContainer/styles/expandStyles.d.ts +0 -52
  206. package/dist/types/ui/EditorContentContainer/styles/extensionStyles.d.ts +0 -20
  207. package/dist/types/ui/EditorContentContainer/styles/findReplaceStyles.d.ts +0 -22
  208. package/dist/types/ui/EditorContentContainer/styles/firstBlockNodeStyles.d.ts +0 -20
  209. package/dist/types/ui/EditorContentContainer/styles/floatingToolbarStyles.d.ts +0 -8
  210. package/dist/types/ui/EditorContentContainer/styles/fontSizeStyles.d.ts +0 -8
  211. package/dist/types/ui/EditorContentContainer/styles/fullPageEditorStyles.d.ts +0 -8
  212. package/dist/types/ui/EditorContentContainer/styles/gapCursorStyles.d.ts +0 -15
  213. package/dist/types/ui/EditorContentContainer/styles/gridStyles.d.ts +0 -8
  214. package/dist/types/ui/EditorContentContainer/styles/indentationStyles.d.ts +0 -8
  215. package/dist/types/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.d.ts +0 -8
  216. package/dist/types/ui/EditorContentContainer/styles/layout.d.ts +0 -207
  217. package/dist/types/ui/EditorContentContainer/styles/link.d.ts +0 -22
  218. package/dist/types/ui/EditorContentContainer/styles/list.d.ts +0 -50
  219. package/dist/types/ui/EditorContentContainer/styles/mediaStyles.d.ts +0 -41
  220. package/dist/types/ui/EditorContentContainer/styles/mentions.d.ts +0 -29
  221. package/dist/types/ui/EditorContentContainer/styles/overflowShadowStyles.d.ts +0 -8
  222. package/dist/types/ui/EditorContentContainer/styles/panelStyles.d.ts +0 -43
  223. package/dist/types/ui/EditorContentContainer/styles/paragraphStyles.d.ts +0 -22
  224. package/dist/types/ui/EditorContentContainer/styles/placeholderStyles.d.ts +0 -22
  225. package/dist/types/ui/EditorContentContainer/styles/resizerStyles.d.ts +0 -145
  226. package/dist/types/ui/EditorContentContainer/styles/rule.d.ts +0 -15
  227. package/dist/types/ui/EditorContentContainer/styles/scrollbarStyles.d.ts +0 -8
  228. package/dist/types/ui/EditorContentContainer/styles/selectionStyles.d.ts +0 -74
  229. package/dist/types/ui/EditorContentContainer/styles/selectionToolbarStyles.d.ts +0 -8
  230. package/dist/types/ui/EditorContentContainer/styles/shadowStyles.d.ts +0 -29
  231. package/dist/types/ui/EditorContentContainer/styles/smartCardStyles.d.ts +0 -96
  232. package/dist/types/ui/EditorContentContainer/styles/statusStyles.d.ts +0 -36
  233. package/dist/types/ui/EditorContentContainer/styles/syncBlockInteractiveCursorStyles.d.ts +0 -17
  234. package/dist/types/ui/EditorContentContainer/styles/syncBlockStyles.d.ts +0 -36
  235. package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +0 -84
  236. package/dist/types/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +0 -77
  237. package/dist/types/ui/EditorContentContainer/styles/telepointerStyles.d.ts +0 -15
  238. package/dist/types/ui/EditorContentContainer/styles/textColorStyles.d.ts +0 -8
  239. package/dist/types/ui/EditorContentContainer/styles/textHighlightStyles.d.ts +0 -8
  240. package/dist/types/ui/EditorContentContainer/styles/unsupportedStyles.d.ts +0 -27
  241. package/dist/types/ui/EditorContentContainer/styles/vanillaTooltipStyles.d.ts +0 -11
  242. package/dist/types/ui/EditorContentContainer/styles/whitespaceStyles.d.ts +0 -8
@@ -1,45 +0,0 @@
1
- /* eslint-disable @atlaskit/design-system/use-tokens-shape,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled */
5
-
6
- import { css } from '@emotion/react';
7
- import { akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
8
- /**
9
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
10
- * If you need to make changes here, also update the corresponding style in
11
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
12
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
13
- */
14
- export const ruleStyles = css({
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
16
- '.ProseMirror hr': {
17
- border: 'none',
18
- backgroundColor: "var(--ds-border, #0B120E24)",
19
- height: '2px',
20
- borderRadius: '1px',
21
- // this should use token('radius.full') but cannot since the element has padding which increases its height beyond 2px
22
- cursor: 'pointer',
23
- padding: `${"var(--ds-space-050, 4px)"} 0`,
24
- margin: `${"var(--ds-space-300, 24px)"} 0`,
25
- backgroundClip: 'content-box'
26
- },
27
- // 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
28
- [`.ProseMirror hr.${akEditorSelectedNodeClassName}`]: {
29
- outline: 'none',
30
- backgroundColor: "var(--ds-border-selected, #1868DB)"
31
- }
32
- });
33
- /**
34
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
35
- * If you need to make changes here, also update the corresponding style in
36
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
37
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
38
- */
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
40
- export const dangerRuleStyles = css({
41
- // 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
42
- [`.ProseMirror hr.${akEditorSelectedNodeClassName}.danger`]: {
43
- backgroundColor: "var(--ds-border-danger, #E2483D)"
44
- }
45
- });
@@ -1,32 +0,0 @@
1
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
2
- @repo/internal/deprecations/deprecation-ticket-required,
3
- @atlaskit/ui-styling-standard/no-exported-styles */
4
-
5
- import { css } from '@emotion/react';
6
- /**
7
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
8
- * If you need to make changes here, also update the corresponding style in
9
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
10
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
11
- */
12
- export const scrollbarStyles = css({
13
- msOverflowStyle: '-ms-autohiding-scrollbar',
14
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
15
- '&::-webkit-scrollbar-corner': {
16
- display: 'none'
17
- },
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
19
- '&::-webkit-scrollbar-thumb': {
20
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
21
- backgroundColor: "var(--ds-background-neutral-subtle, #00000000)"
22
- },
23
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
24
- '&:hover::-webkit-scrollbar-thumb': {
25
- backgroundColor: "var(--ds-background-neutral-bold, #292A2E)",
26
- borderRadius: "var(--ds-radius-large, 8px)"
27
- },
28
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
29
- '&::-webkit-scrollbar-thumb:hover': {
30
- backgroundColor: "var(--ds-background-neutral-bold-hovered, #3B3D42)"
31
- }
32
- });
@@ -1,171 +0,0 @@
1
- /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
2
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
3
- @repo/internal/deprecations/deprecation-ticket-required,
4
- @atlaskit/ui-styling-standard/no-exported-styles */
5
-
6
- import { css } from '@emotion/react';
7
- // TODO: ED-28075 - refactor selection styles to unblock Compiled CSS migration
8
- /**
9
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
10
- * If you need to make changes here, also update the corresponding style in
11
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
12
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
13
- */
14
- export const hideNativeBrowserTextSelectionStyles = css({
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
16
- '&::selection,*::selection': {
17
- backgroundColor: 'transparent'
18
- },
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
20
- '&::-moz-selection,*::-moz-selection': {
21
- backgroundColor: 'transparent'
22
- }
23
- });
24
-
25
- // TODO: ED-28075 - refactor selection styles to unblock Compiled CSS migration
26
- /**
27
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
28
- * If you need to make changes here, also update the corresponding style in
29
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
30
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
31
- */
32
- export const borderSelectionStyles = css({
33
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
34
- border: `1px solid ${"var(--ds-border-selected, #1868DB)"}`,
35
- // Fixes ED-15246: Trello card is visible through a border of a table border
36
- '&::after': {
37
- height: '100%',
38
- content: "'\\00a0'",
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
40
- background: "var(--ds-border-selected, #1868DB)",
41
- position: 'absolute',
42
- right: -1,
43
- top: 0,
44
- bottom: 0,
45
- width: 1,
46
- border: 'none',
47
- display: 'inline-block'
48
- }
49
- });
50
-
51
- // TODO: ED-28075 - refactor selection styles to unblock Compiled CSS migration
52
- /**
53
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
54
- * If you need to make changes here, also update the corresponding style in
55
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
56
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
57
- */
58
- export const boxShadowSelectionStyles = css({
59
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
60
- boxShadow: `0 0 0 1px ${"var(--ds-border-selected, #1868DB)"}`,
61
- borderColor: 'transparent'
62
- });
63
-
64
- // TODO: ED-28075 - refactor selection styles to unblock Compiled CSS migration
65
- /**
66
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
67
- * If you need to make changes here, also update the corresponding style in
68
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
69
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
70
- */
71
- export const backgroundSelectionStyles = css({
72
- backgroundColor: "var(--ds-background-selected, #E9F2FE)"
73
- });
74
-
75
- // TODO: ED-28075 - refactor selection styles to unblock Compiled CSS migration
76
- /**
77
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
78
- * If you need to make changes here, also update the corresponding style in
79
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
80
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
81
- */
82
- export const blanketSelectionStyles = css({
83
- position: 'relative',
84
- // Fixes ED-9263, where emoji or inline card in panel makes selection go outside the panel
85
- // in Safari. Looks like it's caused by user-select: all in the emoji element
86
- WebkitUserSelect: 'text',
87
- '&::before': {
88
- position: 'absolute',
89
- content: "''",
90
- left: 0,
91
- right: 0,
92
- top: 0,
93
- bottom: 0,
94
- width: '100%',
95
- pointerEvents: 'none',
96
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
97
- zIndex: 12,
98
- backgroundColor: "var(--ds-blanket-selected, #388BFF14)"
99
- }
100
- });
101
- /**
102
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
103
- * If you need to make changes here, also update the corresponding style in
104
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
105
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
106
- */
107
- export const hideSelectionStyles = css({
108
- // Hide selection styles for ProseMirror editor
109
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
110
- '.ProseMirror-hideselection': {
111
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
112
- '*::selection': {
113
- background: 'transparent'
114
- },
115
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
116
- '*::-moz-selection': {
117
- background: 'transparent'
118
- }
119
- }
120
- });
121
-
122
- /**
123
- * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24
124
- */
125
- /**
126
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
127
- * If you need to make changes here, also update the corresponding style in
128
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
129
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
130
- */
131
- export const hideCursorWhenHideSelectionStyles = css({
132
- // Hide cursor when hide selection styles are applied
133
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
134
- '.ProseMirror-hideselection': {
135
- caretColor: 'transparent'
136
- }
137
- });
138
- /**
139
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
140
- * If you need to make changes here, also update the corresponding style in
141
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
142
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
143
- */
144
- export const selectedNodeStyles = css({
145
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
146
- '.ProseMirror-selectednode': {
147
- outline: 'none'
148
- },
149
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
150
- '.ProseMirror-selectednode:empty': {
151
- outline: `2px solid ${"var(--ds-border-focused, #4688EC)"}`
152
- }
153
- });
154
- /**
155
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
156
- * If you need to make changes here, also update the corresponding style in
157
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
158
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
159
- */
160
- export const dangerBorderStyles = css({
161
- boxShadow: `0 0 0 1px ${"var(--ds-border-danger, #E2483D)"}`
162
- });
163
- /**
164
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
165
- * If you need to make changes here, also update the corresponding style in
166
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
167
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
168
- */
169
- export const dangerBackgroundStyles = css({
170
- backgroundColor: "var(--ds-background-danger, #FFECEB)"
171
- });
@@ -1,29 +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 fadeIn = keyframes({
7
- from: {
8
- opacity: 0,
9
- transform: 'translateY(16px)'
10
- },
11
- to: {
12
- opacity: 1,
13
- transform: 'translateY(0)'
14
- }
15
- });
16
- /**
17
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
18
- * If you need to make changes here, also update the corresponding style in
19
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
20
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
21
- */
22
- export const selectionToolbarAnimationStyles = css({
23
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
24
- "[aria-label='Selection toolbar']": {
25
- animationName: fadeIn,
26
- animationDuration: `0.2s`,
27
- animationTimingFunction: `cubic-bezier(0.6, 0, 0, 1)`
28
- }
29
- });
@@ -1,81 +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 shadowClassNames = {
13
- RIGHT_SHADOW: 'right-shadow',
14
- LEFT_SHADOW: 'left-shadow'
15
- };
16
-
17
- /**
18
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
19
- * If you need to make changes here, also update the corresponding style in
20
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
21
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
22
- */
23
- // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
24
- export const shadowObserverClassNames = {
25
- SENTINEL_LEFT: 'sentinel-left',
26
- SENTINEL_RIGHT: 'sentinel-right',
27
- SHADOW_CONTAINER: 'with-shadow-observer'
28
- };
29
- /**
30
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
31
- * If you need to make changes here, also update the corresponding style in
32
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
33
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
34
- */
35
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
36
- export const shadowStyles = css({
37
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
38
- '.ProseMirror': {
39
- // 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 -- Ignored via go/DSP-18766
40
- [`& .${shadowClassNames.RIGHT_SHADOW}::before, .${shadowClassNames.RIGHT_SHADOW}::after, .${shadowClassNames.LEFT_SHADOW}::before, .${shadowClassNames.LEFT_SHADOW}::after`]: {
41
- display: 'none',
42
- position: 'absolute',
43
- pointerEvents: 'none',
44
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
45
- zIndex: 2,
46
- width: 8,
47
- content: "''",
48
- height: 'calc(100%)'
49
- },
50
- // 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 -- Ignored via go/DSP-18766
51
- [`& .${shadowClassNames.RIGHT_SHADOW}, .${shadowClassNames.LEFT_SHADOW}`]: {
52
- position: 'relative'
53
- },
54
- // 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 -- Ignored via go/DSP-18766
55
- [`& .${shadowClassNames.LEFT_SHADOW}::before`]: {
56
- background: `linear-gradient(to left, transparent 0, ${"var(--ds-shadow-overflow-spread, #1E1F2129)"} 140% ), linear-gradient( to right, ${"var(--ds-shadow-overflow-perimeter, #1E1F211f)"} 0px, transparent 1px)`,
57
- top: 0,
58
- left: 0,
59
- display: 'block'
60
- },
61
- // 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 -- Ignored via go/DSP-18766
62
- [`& .${shadowClassNames.RIGHT_SHADOW}::after`]: {
63
- background: `linear-gradient(to right, transparent 0, ${"var(--ds-shadow-overflow-spread, #1E1F2129)"} 140% ), linear-gradient( to left, ${"var(--ds-shadow-overflow-perimeter, #1E1F211f)"} 0px, transparent 1px)`,
64
- right: 0,
65
- top: 0,
66
- display: 'block'
67
- },
68
- // 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 -- Ignored via go/DSP-18766
69
- [`& .${shadowObserverClassNames.SENTINEL_LEFT}`]: {
70
- height: '100%',
71
- width: 0,
72
- minWidth: 0
73
- },
74
- // 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 -- Ignored via go/DSP-18766
75
- [`& .${shadowObserverClassNames.SENTINEL_RIGHT}`]: {
76
- height: '100%',
77
- width: 0,
78
- minWidth: 0
79
- }
80
- }
81
- });