@atlaskit/editor-core 234.3.2 → 235.0.1

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 (246) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/composable-editor/editor-internal-compiled.js +0 -6
  3. package/dist/cjs/composable-editor/editor-internal.js +3 -12
  4. package/dist/cjs/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
  5. package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +1 -7
  6. package/dist/cjs/ui/Appearance/ChromelessEditorContainer.js +26 -13
  7. package/dist/cjs/ui/Appearance/Comment/Comment.js +262 -7
  8. package/dist/cjs/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
  9. package/dist/cjs/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -6
  10. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +2 -13
  11. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +15 -7
  12. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper.js +41 -10
  13. package/dist/cjs/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
  14. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -6
  15. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +192 -14
  16. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
  17. package/dist/cjs/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
  18. package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper.js +23 -7
  19. package/dist/cjs/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
  20. package/dist/cjs/ui/ChromeCollapsed/index.js +1 -7
  21. package/dist/cjs/ui/ContextPanel/index-compiled.js +0 -6
  22. package/dist/cjs/ui/ContextPanel/index.js +2 -11
  23. package/dist/cjs/ui/PluginSlot/PluginSlot-compiled.js +0 -7
  24. package/dist/cjs/ui/PluginSlot/index.js +1 -6
  25. package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
  26. package/dist/cjs/ui/Toolbar/ToolbarInner.js +1 -8
  27. package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
  28. package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +2 -11
  29. package/dist/cjs/ui/WithFlash/index.js +1 -6
  30. package/dist/cjs/ui/WithFlash/withFlash-compiled.js +1 -6
  31. package/dist/cjs/ui/quick-insert/getExtensionQuickInsertComponents.js +7 -4
  32. package/dist/cjs/version-wrapper.js +1 -1
  33. package/dist/es2019/composable-editor/editor-internal-compiled.js +0 -6
  34. package/dist/es2019/composable-editor/editor-internal.js +3 -10
  35. package/dist/es2019/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
  36. package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +1 -5
  37. package/dist/es2019/ui/Appearance/ChromelessEditorContainer.js +24 -12
  38. package/dist/es2019/ui/Appearance/Comment/Comment.js +254 -5
  39. package/dist/es2019/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
  40. package/dist/es2019/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -6
  41. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +2 -8
  42. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +11 -5
  43. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper.js +37 -6
  44. package/dist/es2019/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
  45. package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -4
  46. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +186 -11
  47. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
  48. package/dist/es2019/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
  49. package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper.js +24 -5
  50. package/dist/es2019/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
  51. package/dist/es2019/ui/ChromeCollapsed/index.js +1 -5
  52. package/dist/es2019/ui/ContextPanel/index-compiled.js +0 -6
  53. package/dist/es2019/ui/ContextPanel/index.js +2 -7
  54. package/dist/es2019/ui/PluginSlot/PluginSlot-compiled.js +0 -7
  55. package/dist/es2019/ui/PluginSlot/index.js +1 -4
  56. package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
  57. package/dist/es2019/ui/Toolbar/ToolbarInner.js +1 -5
  58. package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
  59. package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +2 -9
  60. package/dist/es2019/ui/WithFlash/index.js +1 -4
  61. package/dist/es2019/ui/WithFlash/withFlash-compiled.js +0 -6
  62. package/dist/es2019/ui/quick-insert/getExtensionQuickInsertComponents.js +6 -2
  63. package/dist/es2019/version-wrapper.js +1 -1
  64. package/dist/esm/composable-editor/editor-internal-compiled.js +0 -6
  65. package/dist/esm/composable-editor/editor-internal.js +3 -12
  66. package/dist/esm/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
  67. package/dist/esm/ui/Addon/ClickAreaBlock/index.js +1 -7
  68. package/dist/esm/ui/Appearance/ChromelessEditorContainer.js +25 -14
  69. package/dist/esm/ui/Appearance/Comment/Comment.js +260 -7
  70. package/dist/esm/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
  71. package/dist/esm/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -7
  72. package/dist/esm/ui/Appearance/Comment/Toolbar.js +2 -12
  73. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +13 -7
  74. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper.js +39 -10
  75. package/dist/esm/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
  76. package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -6
  77. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +190 -13
  78. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
  79. package/dist/esm/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
  80. package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper.js +23 -7
  81. package/dist/esm/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
  82. package/dist/esm/ui/ChromeCollapsed/index.js +1 -7
  83. package/dist/esm/ui/ContextPanel/index-compiled.js +0 -6
  84. package/dist/esm/ui/ContextPanel/index.js +2 -11
  85. package/dist/esm/ui/PluginSlot/PluginSlot-compiled.js +0 -7
  86. package/dist/esm/ui/PluginSlot/index.js +1 -6
  87. package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
  88. package/dist/esm/ui/Toolbar/ToolbarInner.js +1 -7
  89. package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
  90. package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +2 -11
  91. package/dist/esm/ui/WithFlash/index.js +1 -6
  92. package/dist/esm/ui/WithFlash/withFlash-compiled.js +0 -6
  93. package/dist/esm/ui/quick-insert/getExtensionQuickInsertComponents.js +8 -5
  94. package/dist/esm/version-wrapper.js +1 -1
  95. package/dist/types/composable-editor/editor-internal-compiled.d.ts +0 -6
  96. package/dist/types/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.d.ts +0 -4
  97. package/dist/types/ui/Appearance/ChromelessEditorContainer.d.ts +10 -7
  98. package/dist/types/ui/Appearance/Comment/Comment.d.ts +24 -2
  99. package/dist/types/ui/Appearance/Comment/FixedToolbar-compiled.d.ts +0 -6
  100. package/dist/types/ui/Appearance/Comment/StickyToolbar-compiled.d.ts +0 -6
  101. package/dist/types/ui/Appearance/FullPage/BeforeWrapper.d.ts +7 -3
  102. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper.d.ts +2 -3
  103. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +54 -6
  104. package/dist/types/ui/Appearance/FullPage/MainToolbar-compiled.d.ts +0 -6
  105. package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper.d.ts +13 -3
  106. package/dist/types/ui/ChromeCollapsed/ChromeCollapsed-compiled.d.ts +0 -6
  107. package/dist/types/ui/PluginSlot/PluginSlot-compiled.d.ts +0 -6
  108. package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-compiled.d.ts +0 -6
  109. package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.d.ts +0 -6
  110. package/dist/types/ui/WithFlash/index.d.ts +1 -1
  111. package/dist/types/ui/WithFlash/withFlash-compiled.d.ts +0 -6
  112. package/package.json +44 -44
  113. package/dist/cjs/composable-editor/BaseThemeWrapper.js +0 -47
  114. package/dist/cjs/composable-editor/editor-internal-emotion.js +0 -35
  115. package/dist/cjs/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -36
  116. package/dist/cjs/ui/Appearance/Chromeless-compiled.js +0 -38
  117. package/dist/cjs/ui/Appearance/Chromeless-emotion.js +0 -89
  118. package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +0 -273
  119. package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +0 -339
  120. package/dist/cjs/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -89
  121. package/dist/cjs/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -126
  122. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -29
  123. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -34
  124. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -57
  125. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -89
  126. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -13
  127. package/dist/cjs/ui/Appearance/FullPage/FullPage-emotion.js +0 -38
  128. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -201
  129. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -398
  130. package/dist/cjs/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -63
  131. package/dist/cjs/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -13
  132. package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -35
  133. package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -70
  134. package/dist/cjs/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -13
  135. package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +0 -65
  136. package/dist/cjs/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -37
  137. package/dist/cjs/ui/ContextPanel/index-emotion.js +0 -86
  138. package/dist/cjs/ui/PluginSlot/PluginSlot-emotion.js +0 -35
  139. package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -36
  140. package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -32
  141. package/dist/cjs/ui/WithFlash/withFlash-emotion.js +0 -91
  142. package/dist/es2019/composable-editor/BaseThemeWrapper.js +0 -35
  143. package/dist/es2019/composable-editor/editor-internal-emotion.js +0 -27
  144. package/dist/es2019/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -26
  145. package/dist/es2019/ui/Appearance/Chromeless-compiled.js +0 -30
  146. package/dist/es2019/ui/Appearance/Chromeless-emotion.js +0 -80
  147. package/dist/es2019/ui/Appearance/Comment/Comment-compiled.js +0 -260
  148. package/dist/es2019/ui/Appearance/Comment/Comment-emotion.js +0 -326
  149. package/dist/es2019/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -86
  150. package/dist/es2019/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -123
  151. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -19
  152. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -25
  153. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -47
  154. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -79
  155. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -5
  156. package/dist/es2019/ui/Appearance/FullPage/FullPage-emotion.js +0 -29
  157. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -190
  158. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -390
  159. package/dist/es2019/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -53
  160. package/dist/es2019/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -5
  161. package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -30
  162. package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -65
  163. package/dist/es2019/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -5
  164. package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +0 -59
  165. package/dist/es2019/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -27
  166. package/dist/es2019/ui/ContextPanel/index-emotion.js +0 -74
  167. package/dist/es2019/ui/PluginSlot/PluginSlot-emotion.js +0 -25
  168. package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -28
  169. package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -24
  170. package/dist/es2019/ui/WithFlash/withFlash-emotion.js +0 -75
  171. package/dist/esm/composable-editor/BaseThemeWrapper.js +0 -39
  172. package/dist/esm/composable-editor/editor-internal-emotion.js +0 -28
  173. package/dist/esm/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -30
  174. package/dist/esm/ui/Appearance/Chromeless-compiled.js +0 -31
  175. package/dist/esm/ui/Appearance/Chromeless-emotion.js +0 -83
  176. package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +0 -266
  177. package/dist/esm/ui/Appearance/Comment/Comment-emotion.js +0 -328
  178. package/dist/esm/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -81
  179. package/dist/esm/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -119
  180. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -21
  181. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -27
  182. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -49
  183. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -81
  184. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -7
  185. package/dist/esm/ui/Appearance/FullPage/FullPage-emotion.js +0 -31
  186. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -194
  187. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -388
  188. package/dist/esm/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -55
  189. package/dist/esm/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -7
  190. package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -29
  191. package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -62
  192. package/dist/esm/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -7
  193. package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +0 -59
  194. package/dist/esm/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -29
  195. package/dist/esm/ui/ContextPanel/index-emotion.js +0 -79
  196. package/dist/esm/ui/PluginSlot/PluginSlot-emotion.js +0 -29
  197. package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -28
  198. package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -25
  199. package/dist/esm/ui/WithFlash/withFlash-emotion.js +0 -88
  200. package/dist/types/composable-editor/BaseThemeWrapper.d.ts +0 -7
  201. package/dist/types/composable-editor/editor-internal-emotion.d.ts +0 -15
  202. package/dist/types/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.d.ts +0 -12
  203. package/dist/types/ui/Appearance/Chromeless-compiled.d.ts +0 -18
  204. package/dist/types/ui/Appearance/Chromeless-emotion.d.ts +0 -18
  205. package/dist/types/ui/Appearance/Comment/Comment-compiled.d.ts +0 -30
  206. package/dist/types/ui/Appearance/Comment/Comment-emotion.d.ts +0 -20
  207. package/dist/types/ui/Appearance/Comment/FixedToolbar-emotion.d.ts +0 -19
  208. package/dist/types/ui/Appearance/Comment/StickyToolbar-emotion.d.ts +0 -21
  209. package/dist/types/ui/Appearance/FullPage/BeforeWrapper-compiled.d.ts +0 -16
  210. package/dist/types/ui/Appearance/FullPage/BeforeWrapper-emotion.d.ts +0 -16
  211. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.d.ts +0 -3
  212. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.d.ts +0 -14
  213. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapperMigration.d.ts +0 -4
  214. package/dist/types/ui/Appearance/FullPage/FullPage-emotion.d.ts +0 -7
  215. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-compiled.d.ts +0 -57
  216. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-emotion.d.ts +0 -57
  217. package/dist/types/ui/Appearance/FullPage/MainToolbar-emotion.d.ts +0 -21
  218. package/dist/types/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.d.ts +0 -4
  219. package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper-compiled.d.ts +0 -19
  220. package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper-emotion.d.ts +0 -19
  221. package/dist/types/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.d.ts +0 -4
  222. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +0 -19
  223. package/dist/types/ui/ChromeCollapsed/ChromeCollapsed-emotion.d.ts +0 -13
  224. package/dist/types/ui/ContextPanel/index-emotion.d.ts +0 -13
  225. package/dist/types/ui/PluginSlot/PluginSlot-emotion.d.ts +0 -12
  226. package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-emotion.d.ts +0 -17
  227. package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.d.ts +0 -17
  228. package/dist/types/ui/WithFlash/withFlash-emotion.d.ts +0 -19
  229. /package/dist/cjs/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
  230. /package/dist/cjs/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
  231. /package/dist/cjs/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
  232. /package/dist/cjs/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
  233. /package/dist/cjs/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
  234. /package/dist/cjs/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
  235. /package/dist/es2019/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
  236. /package/dist/es2019/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
  237. /package/dist/es2019/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
  238. /package/dist/es2019/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
  239. /package/dist/es2019/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
  240. /package/dist/es2019/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
  241. /package/dist/esm/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
  242. /package/dist/esm/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
  243. /package/dist/esm/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
  244. /package/dist/esm/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
  245. /package/dist/esm/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
  246. /package/dist/esm/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
@@ -1,74 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- /**
3
- * @jsxRuntime classic
4
- * @jsx jsx
5
- */
6
- /**
7
- * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
8
- * Used via `componentWithCondition` in `index.tsx`.
9
- *
10
- * Cleanup: delete this file once the `platform_editor_core_non_ecc_static_css` experiment has shipped.
11
- */
12
- import { useMemo } from 'react';
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
14
- import { css, jsx } from '@emotion/react';
15
- import { akEditorContextPanelWidth } from '@atlaskit/editor-shared-styles';
16
- const panelHidden = css({
17
- width: 0
18
- });
19
- const panel = css({
20
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
21
- width: `${akEditorContextPanelWidth}px`,
22
- height: '100%',
23
- overflow: 'hidden',
24
- boxShadow: `inset 2px 0 0 0 ${"var(--ds-border, #0B120E24)"}`
25
- });
26
- const content = css({
27
- boxSizing: 'border-box',
28
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
29
- width: `${akEditorContextPanelWidth}px`,
30
- height: '100%',
31
- overflowY: 'auto'
32
- });
33
- const paddingStyles = css({
34
- padding: `${"var(--ds-space-200, 16px)"} ${"var(--ds-space-200, 16px)"} 0px`
35
- });
36
- export const ContextPanelWrapperEmotion = ({
37
- children,
38
- customWidth,
39
- visible,
40
- ...rest
41
- }) => {
42
- const customPanelWidthStyles = useMemo(() => customWidth ? css({
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @repo/internal/react/no-class-components
44
- width: `${customWidth}px`,
45
- overflowX: 'hidden'
46
- }) : undefined, [customWidth]);
47
- return jsx("div", _extends({
48
- css: [panel,
49
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage
50
- customPanelWidthStyles, !visible && panelHidden]
51
- // eslint-disable-next-line react/jsx-props-no-spreading
52
- }, rest), children);
53
- };
54
-
55
- // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
56
- export const ContextPanelContentEmotion = ({
57
- children,
58
- customWidth,
59
- visible,
60
- hasPadding,
61
- ...rest
62
- }) => {
63
- const customPanelWidthStyles = useMemo(() => customWidth ? css({
64
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @repo/internal/react/no-class-components
65
- width: `${customWidth}px`,
66
- overflowX: 'hidden'
67
- }) : undefined, [customWidth]);
68
- return jsx("div", _extends({
69
- css: [content, hasPadding && paddingStyles,
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/consistent-css-prop-usage
71
- customPanelWidthStyles, !visible && panelHidden]
72
- // eslint-disable-next-line react/jsx-props-no-spreading
73
- }, rest), children);
74
- };
@@ -1,25 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- /**
3
- * @jsxRuntime classic
4
- * @jsx jsx
5
- */
6
- /**
7
- * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
8
- * Used via `componentWithCondition` in `index.tsx`.
9
- *
10
- * Cleanup: delete this file once the experiment has shipped.
11
- */
12
-
13
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- intentional: emotion fallback for compiled migration
14
- import { css, jsx } from '@emotion/react';
15
- const pluginsComponentsWrapperEmotionStyles = css({
16
- display: 'flex'
17
- });
18
- export const PluginsComponentsWrapperEmotion = ({
19
- children,
20
- ...rest
21
- }) =>
22
- // eslint-disable-next-line react/jsx-props-no-spreading
23
- jsx("div", _extends({
24
- css: pluginsComponentsWrapperEmotionStyles
25
- }, rest), children);
@@ -1,28 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- /**
6
- * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
- * Used via `componentWithCondition` in `ToolbarInner.tsx`.
8
- *
9
- * Cleanup: delete this file once the experiment has shipped.
10
- */
11
-
12
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
13
- import { css, jsx } from '@emotion/react';
14
- import { akEditorMobileMaxWidth } from '@atlaskit/editor-shared-styles';
15
- const toolbarComponentsWrapperEmotionStyles = css({
16
- display: 'flex',
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
18
- [`@media (max-width: ${akEditorMobileMaxWidth}px)`]: {
19
- justifyContent: 'space-between'
20
- }
21
- });
22
- export const ToolbarComponentsWrapperEmotion = ({
23
- children,
24
- 'data-vc': dataVc
25
- }) => jsx("div", {
26
- css: toolbarComponentsWrapperEmotionStyles,
27
- "data-vc": dataVc
28
- }, children);
@@ -1,24 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- /**
6
- * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
- * Used via `componentWithCondition` in `ToolbarWithSizeDetector.tsx`.
8
- *
9
- * Cleanup: delete this file once the experiment has shipped.
10
- */
11
-
12
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
13
- import { css, jsx } from '@emotion/react';
14
- const toolbarSizeDetectorWrapperEmotionStyles = css({
15
- width: '100%',
16
- position: 'relative'
17
- });
18
- export const ToolbarSizeDetectorWrapperEmotion = ({
19
- children,
20
- style
21
- }) => jsx("div", {
22
- css: toolbarSizeDetectorWrapperEmotionStyles,
23
- style: style
24
- }, children);
@@ -1,75 +0,0 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- /**
3
- * @jsxRuntime classic
4
- * @jsx jsx
5
- */
6
- /**
7
- * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
8
- * Used via `componentWithCondition` in `index.tsx`.
9
- *
10
- * Cleanup: delete this file once the experiment has shipped.
11
- */
12
- import React from 'react';
13
-
14
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- intentional: emotion fallback for compiled migration
15
- import { css, jsx, keyframes } from '@emotion/react';
16
- const pulseBackground = keyframes({
17
- '50%': {
18
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
19
- }
20
- });
21
- const pulseBackgroundReverse = keyframes({
22
- '0%': {
23
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
24
- },
25
- '50%': {
26
- backgroundColor: 'auto'
27
- },
28
- '100%': {
29
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
30
- }
31
- });
32
- const flashWrapper = css({
33
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
34
- '&.-flash > div': {
35
- animationName: pulseBackgroundReverse,
36
- animationDuration: '0.25s',
37
- animationTimingFunction: 'ease-in-out'
38
- },
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
40
- '& > div': {
41
- animation: 'none'
42
- }
43
- });
44
- const flashWrapperAnimated = css({
45
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
46
- [`&.-flash > div`]: {
47
- animationName: pulseBackground,
48
- animationDuration: '0.25s',
49
- animationTimingFunction: 'ease-in-out'
50
- }
51
- });
52
- // Ignored via go/ees005
53
- // eslint-disable-next-line @repo/internal/react/no-class-components
54
- export class WithFlashEmotion extends React.Component {
55
- constructor(...args) {
56
- super(...args);
57
- _defineProperty(this, "toggle", false);
58
- }
59
- render() {
60
- const {
61
- animate,
62
- children
63
- } = this.props;
64
- this.toggle = animate && !this.toggle;
65
- return (
66
- // eslint-disable-next-line @atlaskit/design-system/prefer-primitives
67
- jsx("div", {
68
- css: animate ? flashWrapperAnimated : flashWrapper
69
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
70
- ,
71
- className: this.toggle ? '-flash' : ''
72
- }, children)
73
- );
74
- }
75
- }
@@ -1,39 +0,0 @@
1
- import React, { useMemo } from 'react';
2
-
3
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
- import { ThemeProvider } from '@emotion/react';
5
- import { akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
6
- import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
7
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
- // Default value from: `import { fontSize } from '@atlaskit/theme/constants';`
9
- var defaultFontSize = 14;
10
-
11
- // No-op variant used when the static-css experiment is enabled. Editor consumers
12
- // no longer read theme.baseFontSize / theme.layoutMaxWidth via Emotion's useTheme(),
13
- // so no <ThemeProvider> is required in the React tree.
14
- var BaseThemeWrapperNoop = function BaseThemeWrapperNoop(_ref) {
15
- var children = _ref.children;
16
- return /*#__PURE__*/React.createElement(React.Fragment, null, children);
17
- };
18
-
19
- // Legacy variant keeping the original Emotion <ThemeProvider> behaviour for
20
- // callers that still rely on theme.baseFontSize / theme.layoutMaxWidth.
21
- var BaseThemeWrapperLegacy = function BaseThemeWrapperLegacy(_ref2) {
22
- var baseFontSize = _ref2.baseFontSize,
23
- children = _ref2.children;
24
- var memoizedTheme = useMemo(function () {
25
- return {
26
- baseFontSize: baseFontSize || defaultFontSize,
27
- layoutMaxWidth: akEditorDefaultLayoutWidth
28
- };
29
- }, [baseFontSize]);
30
- return /*#__PURE__*/React.createElement(ThemeProvider, {
31
- theme: memoizedTheme
32
- }, children);
33
- };
34
-
35
- // Gated at module load — when the experiment is enabled, this becomes a no-op
36
- // wrapper; otherwise it preserves today's Emotion <ThemeProvider> behaviour.
37
- export var BaseThemeWrapper = componentWithCondition(function () {
38
- return expValEquals('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
39
- }, BaseThemeWrapperNoop, BaseThemeWrapperLegacy);
@@ -1,28 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- /**
6
- * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
7
- * Used via `componentWithCondition` in `editor-internal.tsx`.
8
- *
9
- * Cleanup: delete this file once the experiment has shipped.
10
- */
11
-
12
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- intentional: emotion fallback for compiled migration
13
- import { css, jsx } from '@emotion/react';
14
- var editorContainerEmotionStyles = css({
15
- position: 'relative',
16
- width: '100%',
17
- height: '100%'
18
- });
19
- export var EditorInternalContainerEmotion = function EditorInternalContainerEmotion(_ref) {
20
- var children = _ref.children,
21
- fontSize = _ref.fontSize;
22
- return jsx("div", {
23
- css: editorContainerEmotionStyles,
24
- style: {
25
- '--ak-editor-base-font-size': "".concat(fontSize, "px")
26
- }
27
- }, children);
28
- };
@@ -1,30 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["children"];
4
- /**
5
- * @jsxRuntime classic
6
- * @jsx jsx
7
- */
8
- /**
9
- * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
10
- * Used via `componentWithCondition` in `index.tsx`.
11
- *
12
- * Cleanup: delete this file once the experiment has shipped.
13
- */
14
-
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- intentional: emotion fallback for compiled migration
16
- import { css, jsx } from '@emotion/react';
17
- var clickWrapperEmotionStyles = css({
18
- flexGrow: 1,
19
- height: '100%'
20
- });
21
- export var ClickAreaBlockContainerEmotion = function ClickAreaBlockContainerEmotion(_ref) {
22
- var children = _ref.children,
23
- rest = _objectWithoutProperties(_ref, _excluded);
24
- return (
25
- // eslint-disable-next-line react/jsx-props-no-spreading
26
- jsx("div", _extends({
27
- css: clickWrapperEmotionStyles
28
- }, rest), children)
29
- );
30
- };
@@ -1,31 +0,0 @@
1
- /* Chromeless-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- /**
3
- * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
4
- * Used via `componentWithCondition` in `Chromeless.tsx`.
5
- *
6
- * Cleanup: delete this file once the experiment has shipped.
7
- */
8
- import "./Chromeless-compiled.compiled.css";
9
- import { ax, ix } from "@compiled/react/runtime";
10
- import React from 'react';
11
- var chromelessStyles = {
12
- scrollbar: "_1fpfolhs _1khk1mok _123b1aqn _jaboglyw _aaynsm61 _1ogl1ibz",
13
- editor: "_vwz4gktf _4t3i1wug _1reo15vq _18m91wug _p12f1kw7 _vchhusvi _slp31hna _fpqb1r31 _l5dlglyw _tjxn1o36 _1yt4idpf _y826idpf _7fa7idpf _8wn3idpf _1nhbidpf _1q5yidpf _1gfdidpf _1itkidpf _7fkv1jtm _1awku2gc _15gyze3t"
14
- };
15
- export var ChromelessEditorContainerCompiled = function ChromelessEditorContainerCompiled(_ref) {
16
- var children = _ref.children,
17
- containerRef = _ref.containerRef,
18
- maxHeight = _ref.maxHeight,
19
- minHeight = _ref.minHeight;
20
- return /*#__PURE__*/React.createElement("div", {
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
22
- className: ax([chromelessStyles.editor, chromelessStyles.scrollbar, "akEditor"]),
23
- style: {
24
- maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
25
- minHeight: "".concat(minHeight, "px")
26
- },
27
- ref: containerRef,
28
- "data-testid": "chromeless-editor",
29
- id: "chromeless-editor"
30
- }, children);
31
- };
@@ -1,83 +0,0 @@
1
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
2
- var _excluded = ["children", "containerRef", "maxHeight", "minHeight"];
3
- /**
4
- * @jsxRuntime classic
5
- * @jsx jsx
6
- */
7
- /**
8
- * Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
9
- * Used via `componentWithCondition` in `Chromeless.tsx`.
10
- *
11
- * Cleanup: delete this file once the experiment has shipped.
12
- */
13
-
14
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback; jsx required at runtime for @jsxRuntime classic
15
- import { css, jsx } from '@emotion/react';
16
- var scrollbarStylesNew = css({
17
- msOverflowStyle: '-ms-autohiding-scrollbar',
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
19
- '&::-webkit-scrollbar-corner': {
20
- display: 'none'
21
- },
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
23
- '&::-webkit-scrollbar-thumb': {
24
- backgroundColor: "var(--ds-background-neutral-subtle, #00000000)"
25
- },
26
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
27
- '&:hover::-webkit-scrollbar-thumb': {
28
- backgroundColor: "var(--ds-background-neutral-bold, #292A2E)",
29
- borderRadius: "var(--ds-radius-large, 8px)"
30
- },
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
32
- '&::-webkit-scrollbar-thumb:hover': {
33
- backgroundColor: "var(--ds-background-neutral-bold-hovered, #3B3D42)"
34
- }
35
- });
36
- var chromelessEditorStylesNew = css({
37
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
38
- lineHeight: '20px',
39
- height: 'auto',
40
- overflowX: 'hidden',
41
- overflowY: 'auto',
42
- maxWidth: 'inherit',
43
- boxSizing: 'border-box',
44
- wordWrap: 'break-word',
45
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
46
- 'div > .ProseMirror': {
47
- outline: 'none',
48
- whiteSpace: 'pre-wrap',
49
- padding: 0,
50
- margin: 0,
51
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
52
- '& > :last-child': {
53
- paddingBottom: "var(--ds-space-100, 8px)"
54
- }
55
- },
56
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
57
- '.ProseMirror': {
58
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
59
- '& > p:last-of-type': {
60
- marginBottom: "var(--ds-space-0, 0px)"
61
- }
62
- }
63
- });
64
- export var ChromelessEditorContainerEmotion = function ChromelessEditorContainerEmotion(_ref) {
65
- var children = _ref.children,
66
- containerRef = _ref.containerRef,
67
- maxHeight = _ref.maxHeight,
68
- minHeight = _ref.minHeight,
69
- rest = _objectWithoutProperties(_ref, _excluded);
70
- return jsx("div", {
71
- css: [chromelessEditorStylesNew, scrollbarStylesNew]
72
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
73
- ,
74
- className: "akEditor",
75
- style: {
76
- maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
77
- minHeight: "".concat(minHeight, "px")
78
- },
79
- ref: containerRef,
80
- "data-testid": "chromeless-editor",
81
- id: "chromeless-editor"
82
- }, children);
83
- };