@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,244 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.firstCodeBlockWithNoMargin = exports.codeBlockStylesWithEmUnits = exports.codeBlockStyles = exports.CodeBlockSharedCssClassName = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _react = require("@emotion/react");
10
- var _overflowShadowStyles = require("./overflowShadowStyles");
11
- var _selectionStyles = require("./selectionStyles");
12
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
13
- @repo/internal/deprecations/deprecation-ticket-required,
14
- @atlaskit/ui-styling-standard/no-exported-styles */
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
- var CodeBlockSharedCssClassName = exports.CodeBlockSharedCssClassName = {
23
- CODEBLOCK_CONTAINER: 'code-block',
24
- CODEBLOCK_START: 'code-block--start',
25
- CODEBLOCK_END: 'code-block--end',
26
- CODEBLOCK_CONTENT_WRAPPER: 'code-block-content-wrapper',
27
- CODEBLOCK_LINE_NUMBER_GUTTER: 'line-number-gutter',
28
- CODEBLOCK_CONTENT: 'code-content',
29
- DS_CODEBLOCK: '[data-ds--code--code-block]',
30
- CODEBLOCK_CONTENT_WRAPPED: 'code-content--wrapped',
31
- CODEBLOCK_CONTAINER_LINE_NUMBER_WIDGET: 'code-content__line-number--wrapped'
32
- };
33
- var fontSize14px = "".concat(14 / 16, "rem");
34
- var blockNodesVerticalMargin = '0.75rem';
35
- var gutterDangerOverlay = (0, _react.css)({
36
- '&::after': {
37
- height: '100%',
38
- content: "''",
39
- position: 'absolute',
40
- left: 0,
41
- top: 0,
42
- width: '24px',
43
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
44
- }
45
- });
46
- /**
47
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
48
- * If you need to make changes here, also update the corresponding style in
49
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
50
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
51
- */
52
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
53
- var codeBlockStyles = exports.codeBlockStyles = (0, _react.css)({
54
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
55
- '.ProseMirror': (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPED, " > .").concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, " > .").concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
56
- marginRight: "var(--ds-space-100, 8px)",
57
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
58
- code: {
59
- display: 'block',
60
- wordBreak: 'break-word',
61
- whiteSpace: 'pre-wrap'
62
- }
63
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, " > .").concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
64
- display: 'flex',
65
- flex: 1,
66
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
67
- code: {
68
- flexGrow: 1,
69
- whiteSpace: 'pre'
70
- }
71
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
72
- position: 'relative',
73
- backgroundColor: "var(--ds-surface-raised, #FFFFFF)",
74
- borderRadius: "var(--ds-radius-small, 3px)",
75
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
76
- margin: "".concat(blockNodesVerticalMargin, " 0 0 0"),
77
- fontFamily: "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
78
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
79
- minWidth: 48,
80
- cursor: 'pointer',
81
- clear: 'both',
82
- // This is necessary to allow for arrow key navigation in/out of code blocks in Firefox.
83
- whiteSpace: 'normal',
84
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
85
- '.code-block-gutter-pseudo-element::before': {
86
- content: 'attr(data-label)'
87
- }
88
- }, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_START), {
89
- position: 'absolute',
90
- visibility: 'hidden',
91
- height: '1.5rem',
92
- top: 0,
93
- left: 0
94
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_END), {
95
- position: 'absolute',
96
- visibility: 'hidden',
97
- height: '1.5rem',
98
- bottom: 0,
99
- right: 0
100
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER), [
101
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
102
- _overflowShadowStyles.overflowShadowStyles, {
103
- position: 'relative',
104
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
105
- display: 'flex',
106
- borderRadius: "var(--ds-radius-small, 3px)",
107
- width: '100%',
108
- counterReset: 'line',
109
- overflowX: 'auto',
110
- backgroundRepeat: 'no-repeat',
111
- backgroundAttachment: 'local, local, local, local, scroll, scroll, scroll, scroll',
112
- backgroundSize: "var(--ds-space-300, 24px)".concat(" 100%,\n\t ", "var(--ds-space-300, 24px)", " 100%,\n\t ", "var(--ds-space-100, 8px)", " 100%,\n\t ", "var(--ds-space-100, 8px)", " 100%,\n\t ", "var(--ds-space-100, 8px)", " 100%,\n\t 1px 100%,\n\t ", "var(--ds-space-100, 8px)", " 100%,\n\t 1px 100%"),
113
- backgroundPosition: "0 0,\n\t 0 0,\n 100% 0,\n 100% 0,\n 100% 0,\n 100% 0,\n\t 0 0,\n\t 0 0",
114
- // Be careful if refactoring this; it is needed to keep arrow key navigation in Firefox consistent with other browsers.
115
- overflowY: 'hidden'
116
- }]), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER), {
117
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
118
- position: 'relative',
119
- width: 'var(--lineNumberGutterWidth, 2rem)',
120
- padding: "var(--ds-space-100, 8px)",
121
- flexShrink: 0,
122
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
123
- fontSize: fontSize14px,
124
- boxSizing: 'content-box'
125
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "::before"), {
126
- content: "'1'",
127
- visibility: 'hidden',
128
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
129
- fontSize: fontSize14px,
130
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
131
- lineHeight: '1.5rem'
132
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
133
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
134
- code: {
135
- tabSize: 4,
136
- cursor: 'text',
137
- color: "var(--ds-text, #292A2E)",
138
- borderRadius: "var(--ds-radius-small, 3px)",
139
- margin: "var(--ds-space-100, 8px)",
140
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
141
- fontSize: fontSize14px,
142
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
143
- lineHeight: '1.5rem'
144
- }
145
- }), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER_LINE_NUMBER_WIDGET), {
146
- pointerEvents: 'none',
147
- userSelect: 'none',
148
- width: 'var(--lineNumberGutterWidth, 2rem)',
149
- left: 0,
150
- position: 'absolute',
151
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
152
- fontSize: fontSize14px,
153
- padding: "0px ".concat("var(--ds-space-100, 8px)"),
154
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
155
- lineHeight: '1.5rem',
156
- textAlign: 'right',
157
- color: "var(--ds-text-subtlest, #6B6E76)",
158
- boxSizing: 'content-box'
159
- })), "li", {
160
- // if same list item has multiple code blocks we need top margin for all but first
161
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
162
- '> .code-block': {
163
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
164
- margin: "".concat(blockNodesVerticalMargin, " 0 0 0")
165
- },
166
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
167
- '> .code-block:first-child, > .ProseMirror-gapcursor:first-child + .code-block': {
168
- marginTop: 0
169
- },
170
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
171
- '> div:last-of-type.code-block, > pre:last-of-type.code-block': {
172
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
173
- marginBottom: blockNodesVerticalMargin
174
- }
175
- }), ".code-block.ak-editor-selected-node:not(.danger)", [
176
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
177
- _selectionStyles.boxShadowSelectionStyles,
178
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
179
- _selectionStyles.blanketSelectionStyles,
180
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
181
- _selectionStyles.hideNativeBrowserTextSelectionStyles]), '.danger.code-block', (0, _defineProperty2.default)((0, _defineProperty2.default)({
182
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
183
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)")
184
- }, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER), [{
185
- backgroundColor: "var(--ds-background-danger, #FFECEB)",
186
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
187
- color: "var(--ds-text-danger, #AE2E24)"
188
- }, gutterDangerOverlay]), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
189
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
190
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
191
- })), '.danger .code-block', (0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER), [{
192
- backgroundColor: "var(--ds-background-danger, #FFECEB)",
193
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
194
- color: "var(--ds-text-danger, #AE2E24)"
195
- }, gutterDangerOverlay]), ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
196
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
197
- }))
198
- });
199
- /**
200
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
201
- * If you need to make changes here, also update the corresponding style in
202
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
203
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
204
- */
205
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
206
- var codeBlockStylesWithEmUnits = exports.codeBlockStylesWithEmUnits = (0, _react.css)({
207
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
208
- '.ProseMirror': (0, _defineProperty2.default)({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER), (0, _defineProperty2.default)({
209
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
210
- '.code-block-gutter-pseudo-element::before': {
211
- display: 'flow',
212
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
213
- lineHeight: '1.5em'
214
- }
215
- }, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
216
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
217
- code: {
218
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
219
- fontSize: '0.875em',
220
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
221
- lineHeight: '1.5em'
222
- }
223
- }))
224
- });
225
- /**
226
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
227
- * If you need to make changes here, also update the corresponding style in
228
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
229
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
230
- */
231
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
232
- var firstCodeBlockWithNoMargin = exports.firstCodeBlockWithNoMargin = (0, _react.css)({
233
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
234
- '.ProseMirror': {
235
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
236
- '.ak-editor-panel__content': {
237
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-selectors
238
- '> .code-block:first-child, > .ProseMirror-widget:first-child + .code-block, > .ProseMirror-widget:first-child + .ProseMirror-widget + .code-block': {
239
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space,@atlaskit/ui-styling-standard/no-important-styles
240
- margin: '0!important'
241
- }
242
- }
243
- }
244
- });
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.codeMarkStyles = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
-
12
- /**
13
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
14
- * If you need to make changes here, also update the corresponding style in
15
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
16
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
17
- */
18
- var codeMarkStyles = exports.codeMarkStyles = (0, _react.css)({
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
20
- '.code': {
21
- '--ds--code--bg-color': "var(--ds-background-neutral, #0515240F)",
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
23
- display: 'inline',
24
- padding: '2px 0.5ch',
25
- backgroundColor: "var(--ds--code--bg-color,".concat("var(--ds-background-neutral, #0515240F)", ")"),
26
- borderRadius: "var(--ds-radius-small, 3px)",
27
- borderStyle: 'none',
28
- boxDecorationBreak: 'clone',
29
- color: "var(--ds-text, #292A2E)",
30
- fontFamily: "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
31
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
32
- fontSize: '0.875em',
33
- fontWeight: "var(--ds-font-weight-regular, 400)",
34
- overflow: 'unset',
35
- overflowWrap: 'break-word',
36
- whiteSpace: 'pre-wrap'
37
- }
38
- });
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.commentEditorStyles = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
-
12
- var CommentEditorMargin = 14;
13
- var GRID_GUTTER = 12;
14
-
15
- // Originally copied from packages/editor/editor-core/src/ui/Appearance/Comment/Comment.tsx
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
- var commentEditorStyles = exports.commentEditorStyles = (0, _react.css)({
23
- flexGrow: 1,
24
- overflowX: 'clip',
25
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
26
- lineHeight: '24px',
27
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
28
- '.ProseMirror': {
29
- margin: "var(--ds-space-150, 12px)"
30
- },
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
32
- '.gridParent': {
33
- marginLeft: "var(--ds-space-025, 2px)",
34
- marginRight: "var(--ds-space-025, 2px)",
35
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
36
- width: "calc(100% + ".concat(CommentEditorMargin - GRID_GUTTER, "px)")
37
- },
38
- padding: "var(--ds-space-250, 20px)"
39
- });
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.nonFullPageContainerTypeStyles = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
-
12
- /**
13
- * Establishes a container-query context on the editor content area for non-full-page
14
- * appearances (comment, chromeless).
15
- *
16
- * Content sizing (native embeds, media / rich-media) reads `--ak-editor-max-container-width`
17
- * (`calc(100cqw - gutter)`) and, in some paths, `100cqw` directly. Those `cqw` units resolve
18
- * against the nearest ancestor with `container-type: inline-size`.
19
- *
20
- * Full-page already provides such an ancestor (the `editor-area` wrapper), so full-width
21
- * breakout keeps working there. But comment / chromeless appearances have no container-query
22
- * ancestor, so `cqw` falls back to the viewport width. The viewport does not shrink when an
23
- * in-page sidebar narrows the content column, so content max-widths stay viewport-wide and
24
- * never shrink: responsiveness works without a sidebar but breaks with one.
25
- *
26
- * Making the content area itself a query container gives `cqw` a real, sidebar-aware width to
27
- * resolve against. It is applied only to non-full-page appearances (full-page keeps the
28
- * existing `editor-area` container) and only to the content area (not the outer editor
29
- * wrapper), so the implied `contain: layout` stays confined to content — exactly how the
30
- * full-page `editor-area` container already behaves.
31
- *
32
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
33
- * If you need to make changes here, also update the corresponding style in
34
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
35
- */
36
- var nonFullPageContainerTypeStyles = exports.nonFullPageContainerTypeStyles = (0, _react.css)({
37
- containerType: 'inline-size'
38
- });
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.cursorStyles = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
-
12
- /**
13
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
14
- * If you need to make changes here, also update the corresponding style in
15
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
16
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
17
- */
18
- var cursorStyles = exports.cursorStyles = (0, _react.css)({
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
20
- '.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor)': {
21
- caretColor: 'transparent'
22
- },
23
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
24
- '.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor': {
25
- display: 'none'
26
- },
27
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
28
- '.ProseMirror:has(.ProseMirror-hide-cursor)': {
29
- caretColor: 'transparent'
30
- }
31
- });
@@ -1,100 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.dateVanillaStyles = exports.dateStyles = exports.dangerDateStyles = exports.DateSharedCssClassName = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _react = require("@emotion/react");
10
- var _selectionStyles = require("./selectionStyles");
11
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
12
- @repo/internal/deprecations/deprecation-ticket-required,
13
- @atlaskit/ui-styling-standard/no-exported-styles */
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
- var DateSharedCssClassName = exports.DateSharedCssClassName = {
22
- DATE_WRAPPER: "date-lozenger-container",
23
- DATE_CONTAINER: 'dateView-content-wrap'
24
- };
25
- /**
26
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
27
- * If you need to make changes here, also update the corresponding style in
28
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
29
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
30
- */
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
32
- var dateVanillaStyles = exports.dateVanillaStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span"), {
33
- backgroundColor: "var(--ds-background-neutral, #0515240F)",
34
- color: "var(--ds-text, #292A2E)",
35
- borderRadius: "var(--ds-radius-small, 4px)",
36
- padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
37
- margin: '0 1px',
38
- position: 'relative',
39
- transition: 'background 0.3s',
40
- whiteSpace: 'nowrap',
41
- cursor: 'unset'
42
- }), "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span:hover"), {
43
- backgroundColor: "var(--ds-background-neutral-hovered, #0B120E24)"
44
- }), "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span.date-node-color-red"), {
45
- backgroundColor: "var(--ds-background-accent-red-subtlest, #FFECEB)",
46
- color: "var(--ds-text-accent-red, #AE2E24)"
47
- }), "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span.date-node-color-red:hover"), {
48
- backgroundColor: "var(--ds-background-accent-red-subtler, #FFD5D2)"
49
- }));
50
-
51
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Ignored via go/DSP-18766
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
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
59
- var dateStyles = exports.dateStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
60
- // Show diff: date attr change highlight. Keep this with date node styles so the highlight
61
- // follows the date node view instead of living in shared smart-card diff styles.
62
- // The ON cohort of platform_editor_show_diff_color_scheme_refactor sets
63
- // --show-diff-atomic-inline-changed-border-color inline, overriding the table below; the OFF
64
- // cohort picks its colour with the `-traditional` class. Drop the table at cleanup (EDITOR-8281).
65
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
66
- '.show-diff-atomic-inline-changed-date': {
67
- '--show-diff-atomic-inline-changed-border-color': "var(--ds-border-accent-purple, #AF59E1)",
68
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
69
- outline: "2px solid var(--show-diff-atomic-inline-changed-border-color, ".concat("var(--ds-border-accent-purple, #AF59E1)", ")"),
70
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
71
- outlineOffset: '1px',
72
- borderRadius: "var(--ds-radius-medium, 6px)"
73
- },
74
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
75
- '.show-diff-atomic-inline-changed-date.show-diff-atomic-inline-changed-traditional': {
76
- '--show-diff-atomic-inline-changed-border-color': "var(--ds-border-accent-green, #22A06B)"
77
- }
78
- }, ".".concat(DateSharedCssClassName.DATE_WRAPPER, " span"), {
79
- whiteSpace: 'unset'
80
- }), ".".concat(DateSharedCssClassName.DATE_CONTAINER), (0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(DateSharedCssClassName.DATE_WRAPPER), {
81
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
82
- lineHeight: 'initial',
83
- cursor: 'pointer'
84
- }), '&.ak-editor-selected-node', (0, _defineProperty2.default)({}, ".".concat(DateSharedCssClassName.DATE_WRAPPER, " > span"), [
85
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
86
- _selectionStyles.boxShadowSelectionStyles,
87
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
88
- _selectionStyles.hideNativeBrowserTextSelectionStyles]))), '.danger', (0, _defineProperty2.default)({}, ".".concat(DateSharedCssClassName.DATE_CONTAINER, ".ak-editor-selected-node .").concat(DateSharedCssClassName.DATE_WRAPPER, " > span"), {
89
- boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)")
90
- })));
91
- /**
92
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
93
- * If you need to make changes here, also update the corresponding style in
94
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
95
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
96
- */
97
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
98
- var dangerDateStyles = exports.dangerDateStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(DateSharedCssClassName.DATE_CONTAINER, ".ak-editor-selected-node.danger .").concat(DateSharedCssClassName.DATE_WRAPPER, " > span"),
99
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
100
- [_selectionStyles.dangerBorderStyles]));
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.editorUGCTokensRefreshed = exports.editorUGCSmallText = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
-
12
- /**
13
- /**
14
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
15
- * If you need to make changes here, also update the corresponding style in
16
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
17
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
18
- */
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
20
- var editorUGCTokensRefreshed = exports.editorUGCTokensRefreshed = (0, _react.css)({
21
- '--editor-font-ugc-token-heading-h1': 'normal 600 1.71429em/1.16667 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
22
- '--editor-font-ugc-token-heading-h2': 'normal 600 1.42857em/1.2 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
23
- '--editor-font-ugc-token-heading-h3': 'normal 600 1.14286em/1.25 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
24
- '--editor-font-ugc-token-heading-h4': 'normal 600 1em/1.14286 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
25
- '--editor-font-ugc-token-heading-h5': 'normal 600 0.857143em/1.33333 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
26
- '--editor-font-ugc-token-heading-h6': 'normal 600 0.785714em/1.45455 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
27
- '--editor-font-ugc-token-body': 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
28
- '--editor-font-ugc-token-weight-heading-bold': '700'
29
- });
30
- /**
31
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
32
- * If you need to make changes here, also update the corresponding style in
33
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
34
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
35
- */
36
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
37
- var editorUGCSmallText = exports.editorUGCSmallText = (0, _react.css)({
38
- '--editor-font-ugc-token-body-small': 'normal 400 0.875em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
39
- });
@@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.embedCardStyles = void 0;
7
- var _react = require("@emotion/react");
8
- /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
- @repo/internal/deprecations/deprecation-ticket-required,
10
- @atlaskit/ui-styling-standard/no-exported-styles */
11
-
12
- /**
13
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
14
- * If you need to make changes here, also update the corresponding style in
15
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
16
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
17
- */
18
- var embedCardStyles = exports.embedCardStyles = (0, _react.css)({
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
20
- '.ProseMirror': {
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
22
- ".embedCardView-content-wrap[layout^='wrap-']": {
23
- maxWidth: '100%',
24
- position: 'relative',
25
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
26
- zIndex: 2
27
- },
28
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
29
- ".embedCardView-content-wrap[layout='wrap-left']": {
30
- float: 'left'
31
- },
32
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
33
- ".embedCardView-content-wrap[layout='wrap-right']": {
34
- float: 'right'
35
- },
36
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
37
- ".embedCardView-content-wrap[layout='wrap-right'] + .embedCardView-content-wrap[layout='wrap-left']": {
38
- clear: 'both'
39
- }
40
- }
41
- });