@atlaskit/editor-core 215.19.1 → 215.20.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 (164) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/afm-cc/tsconfig.json +2 -1
  3. package/afm-jira/tsconfig.json +2 -1
  4. package/afm-products/tsconfig.json +2 -1
  5. package/dist/cjs/i18n/cs.js +6 -4
  6. package/dist/cjs/i18n/da.js +6 -4
  7. package/dist/cjs/i18n/de.js +6 -4
  8. package/dist/cjs/i18n/en.js +6 -4
  9. package/dist/cjs/i18n/en_GB.js +6 -4
  10. package/dist/cjs/i18n/en_ZZ.js +6 -4
  11. package/dist/cjs/i18n/es.js +6 -4
  12. package/dist/cjs/i18n/fi.js +6 -4
  13. package/dist/cjs/i18n/fr.js +6 -4
  14. package/dist/cjs/i18n/hr.js +6 -4
  15. package/dist/cjs/i18n/hu.js +6 -4
  16. package/dist/cjs/i18n/it.js +6 -4
  17. package/dist/cjs/i18n/ja.js +6 -4
  18. package/dist/cjs/i18n/ko.js +6 -4
  19. package/dist/cjs/i18n/nb.js +6 -4
  20. package/dist/cjs/i18n/nl.js +6 -4
  21. package/dist/cjs/i18n/pl.js +6 -4
  22. package/dist/cjs/i18n/pt_BR.js +6 -4
  23. package/dist/cjs/i18n/ru.js +6 -4
  24. package/dist/cjs/i18n/sl.js +6 -4
  25. package/dist/cjs/i18n/sr_RS.js +6 -4
  26. package/dist/cjs/i18n/sr_YR.js +6 -4
  27. package/dist/cjs/i18n/sv.js +6 -4
  28. package/dist/cjs/i18n/th.js +6 -4
  29. package/dist/cjs/i18n/tr.js +6 -4
  30. package/dist/cjs/i18n/uk.js +6 -4
  31. package/dist/cjs/i18n/vi.js +6 -4
  32. package/dist/cjs/i18n/zh.js +6 -4
  33. package/dist/cjs/i18n/zh_TW.js +6 -4
  34. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +6 -7
  35. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.compiled.css +2 -0
  36. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -1
  37. package/dist/cjs/version-wrapper.js +1 -1
  38. package/dist/es2019/i18n/cs.js +6 -4
  39. package/dist/es2019/i18n/da.js +6 -4
  40. package/dist/es2019/i18n/de.js +6 -4
  41. package/dist/es2019/i18n/en.js +6 -4
  42. package/dist/es2019/i18n/en_GB.js +6 -4
  43. package/dist/es2019/i18n/en_ZZ.js +6 -4
  44. package/dist/es2019/i18n/es.js +6 -4
  45. package/dist/es2019/i18n/fi.js +6 -4
  46. package/dist/es2019/i18n/fr.js +6 -4
  47. package/dist/es2019/i18n/hr.js +6 -4
  48. package/dist/es2019/i18n/hu.js +6 -4
  49. package/dist/es2019/i18n/it.js +6 -4
  50. package/dist/es2019/i18n/ja.js +6 -4
  51. package/dist/es2019/i18n/ko.js +6 -4
  52. package/dist/es2019/i18n/nb.js +6 -4
  53. package/dist/es2019/i18n/nl.js +6 -4
  54. package/dist/es2019/i18n/pl.js +6 -4
  55. package/dist/es2019/i18n/pt_BR.js +6 -4
  56. package/dist/es2019/i18n/ru.js +6 -4
  57. package/dist/es2019/i18n/sl.js +6 -4
  58. package/dist/es2019/i18n/sr_RS.js +6 -4
  59. package/dist/es2019/i18n/sr_YR.js +6 -4
  60. package/dist/es2019/i18n/sv.js +6 -4
  61. package/dist/es2019/i18n/th.js +6 -4
  62. package/dist/es2019/i18n/tr.js +6 -4
  63. package/dist/es2019/i18n/uk.js +6 -4
  64. package/dist/es2019/i18n/vi.js +6 -4
  65. package/dist/es2019/i18n/zh.js +6 -4
  66. package/dist/es2019/i18n/zh_TW.js +6 -4
  67. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +6 -7
  68. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.compiled.css +2 -0
  69. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -1
  70. package/dist/es2019/version-wrapper.js +1 -1
  71. package/dist/esm/i18n/cs.js +6 -4
  72. package/dist/esm/i18n/da.js +6 -4
  73. package/dist/esm/i18n/de.js +6 -4
  74. package/dist/esm/i18n/en.js +6 -4
  75. package/dist/esm/i18n/en_GB.js +6 -4
  76. package/dist/esm/i18n/en_ZZ.js +6 -4
  77. package/dist/esm/i18n/es.js +6 -4
  78. package/dist/esm/i18n/fi.js +6 -4
  79. package/dist/esm/i18n/fr.js +6 -4
  80. package/dist/esm/i18n/hr.js +6 -4
  81. package/dist/esm/i18n/hu.js +6 -4
  82. package/dist/esm/i18n/it.js +6 -4
  83. package/dist/esm/i18n/ja.js +6 -4
  84. package/dist/esm/i18n/ko.js +6 -4
  85. package/dist/esm/i18n/nb.js +6 -4
  86. package/dist/esm/i18n/nl.js +6 -4
  87. package/dist/esm/i18n/pl.js +6 -4
  88. package/dist/esm/i18n/pt_BR.js +6 -4
  89. package/dist/esm/i18n/ru.js +6 -4
  90. package/dist/esm/i18n/sl.js +6 -4
  91. package/dist/esm/i18n/sr_RS.js +6 -4
  92. package/dist/esm/i18n/sr_YR.js +6 -4
  93. package/dist/esm/i18n/sv.js +6 -4
  94. package/dist/esm/i18n/th.js +6 -4
  95. package/dist/esm/i18n/tr.js +6 -4
  96. package/dist/esm/i18n/uk.js +6 -4
  97. package/dist/esm/i18n/vi.js +6 -4
  98. package/dist/esm/i18n/zh.js +6 -4
  99. package/dist/esm/i18n/zh_TW.js +6 -4
  100. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +6 -7
  101. package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.compiled.css +2 -0
  102. package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -1
  103. package/dist/esm/version-wrapper.js +1 -1
  104. package/dist/types/i18n/cs.d.ts +6 -2
  105. package/dist/types/i18n/da.d.ts +6 -2
  106. package/dist/types/i18n/de.d.ts +6 -2
  107. package/dist/types/i18n/en.d.ts +6 -2
  108. package/dist/types/i18n/en_GB.d.ts +6 -2
  109. package/dist/types/i18n/en_ZZ.d.ts +6 -2
  110. package/dist/types/i18n/es.d.ts +6 -2
  111. package/dist/types/i18n/fi.d.ts +6 -2
  112. package/dist/types/i18n/fr.d.ts +6 -2
  113. package/dist/types/i18n/hr.d.ts +6 -2
  114. package/dist/types/i18n/hu.d.ts +6 -2
  115. package/dist/types/i18n/it.d.ts +6 -2
  116. package/dist/types/i18n/ja.d.ts +6 -2
  117. package/dist/types/i18n/ko.d.ts +6 -2
  118. package/dist/types/i18n/nb.d.ts +6 -2
  119. package/dist/types/i18n/nl.d.ts +6 -2
  120. package/dist/types/i18n/pl.d.ts +6 -2
  121. package/dist/types/i18n/pt_BR.d.ts +6 -2
  122. package/dist/types/i18n/ru.d.ts +6 -2
  123. package/dist/types/i18n/sl.d.ts +6 -2
  124. package/dist/types/i18n/sr_RS.d.ts +6 -2
  125. package/dist/types/i18n/sr_YR.d.ts +6 -2
  126. package/dist/types/i18n/sv.d.ts +6 -2
  127. package/dist/types/i18n/th.d.ts +6 -2
  128. package/dist/types/i18n/tr.d.ts +6 -2
  129. package/dist/types/i18n/uk.d.ts +6 -2
  130. package/dist/types/i18n/vi.d.ts +6 -2
  131. package/dist/types/i18n/zh.d.ts +6 -2
  132. package/dist/types/i18n/zh_TW.d.ts +6 -2
  133. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +2 -1
  134. package/dist/types-ts4.5/i18n/cs.d.ts +6 -2
  135. package/dist/types-ts4.5/i18n/da.d.ts +6 -2
  136. package/dist/types-ts4.5/i18n/de.d.ts +6 -2
  137. package/dist/types-ts4.5/i18n/en.d.ts +6 -2
  138. package/dist/types-ts4.5/i18n/en_GB.d.ts +6 -2
  139. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +6 -2
  140. package/dist/types-ts4.5/i18n/es.d.ts +6 -2
  141. package/dist/types-ts4.5/i18n/fi.d.ts +6 -2
  142. package/dist/types-ts4.5/i18n/fr.d.ts +6 -2
  143. package/dist/types-ts4.5/i18n/hr.d.ts +6 -2
  144. package/dist/types-ts4.5/i18n/hu.d.ts +6 -2
  145. package/dist/types-ts4.5/i18n/it.d.ts +6 -2
  146. package/dist/types-ts4.5/i18n/ja.d.ts +6 -2
  147. package/dist/types-ts4.5/i18n/ko.d.ts +6 -2
  148. package/dist/types-ts4.5/i18n/nb.d.ts +6 -2
  149. package/dist/types-ts4.5/i18n/nl.d.ts +6 -2
  150. package/dist/types-ts4.5/i18n/pl.d.ts +6 -2
  151. package/dist/types-ts4.5/i18n/pt_BR.d.ts +6 -2
  152. package/dist/types-ts4.5/i18n/ru.d.ts +6 -2
  153. package/dist/types-ts4.5/i18n/sl.d.ts +6 -2
  154. package/dist/types-ts4.5/i18n/sr_RS.d.ts +6 -2
  155. package/dist/types-ts4.5/i18n/sr_YR.d.ts +6 -2
  156. package/dist/types-ts4.5/i18n/sv.d.ts +6 -2
  157. package/dist/types-ts4.5/i18n/th.d.ts +6 -2
  158. package/dist/types-ts4.5/i18n/tr.d.ts +6 -2
  159. package/dist/types-ts4.5/i18n/uk.d.ts +6 -2
  160. package/dist/types-ts4.5/i18n/vi.d.ts +6 -2
  161. package/dist/types-ts4.5/i18n/zh.d.ts +6 -2
  162. package/dist/types-ts4.5/i18n/zh_TW.d.ts +6 -2
  163. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +3 -1
  164. package/package.json +4 -4
@@ -1,11 +1,13 @@
1
1
  /* prettier-ignore */
2
- /* eslint-disable @atlaskit/editor/no-re-export */
3
2
  /**
4
3
  * NOTE:
5
4
  *
6
5
  * This file is automatically generated by Traduki 2.0.
7
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
8
7
  */
9
-
10
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sv';
11
- export default translations;
8
+ //Swedish
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': 'Skriv något …',
11
+ 'fabric.editor.editorAssistiveLabel': 'Huvudsakligt innehållsområde, börja skriva för att ange text.',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'Öppna hjälpdialogruta'
13
+ };
@@ -1,11 +1,13 @@
1
1
  /* prettier-ignore */
2
- /* eslint-disable @atlaskit/editor/no-re-export */
3
2
  /**
4
3
  * NOTE:
5
4
  *
6
5
  * This file is automatically generated by Traduki 2.0.
7
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
8
7
  */
9
-
10
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/th';
11
- export default translations;
8
+ //Thai (Thailand)
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': 'พิมพ์อะไรบางอย่าง...',
11
+ 'fabric.editor.editorAssistiveLabel': 'พื้นที่เนื้อหาหลัก เริ่มพิมพ์เพื่อป้อนข้อความ',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'เปิดกรอบโต้ตอบความช่วยเหลือ'
13
+ };
@@ -1,11 +1,13 @@
1
1
  /* prettier-ignore */
2
- /* eslint-disable @atlaskit/editor/no-re-export */
3
2
  /**
4
3
  * NOTE:
5
4
  *
6
5
  * This file is automatically generated by Traduki 2.0.
7
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
8
7
  */
9
-
10
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/tr';
11
- export default translations;
8
+ //Turkish (Turkey)
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': 'Bir şey yazın…',
11
+ 'fabric.editor.editorAssistiveLabel': 'Ana içerik alanı, metin girmek için yazmaya başlayın.',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'Yardım iletişim kutusunu aç'
13
+ };
@@ -1,11 +1,13 @@
1
1
  /* prettier-ignore */
2
- /* eslint-disable @atlaskit/editor/no-re-export */
3
2
  /**
4
3
  * NOTE:
5
4
  *
6
5
  * This file is automatically generated by Traduki 2.0.
7
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
8
7
  */
9
-
10
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/uk';
11
- export default translations;
8
+ //Ukrainian (Ukraine)
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': 'Введіть текст…',
11
+ 'fabric.editor.editorAssistiveLabel': 'Основна область вмісту: почніть вводити текст.',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'Відкрити довідку'
13
+ };
@@ -1,11 +1,13 @@
1
1
  /* prettier-ignore */
2
- /* eslint-disable @atlaskit/editor/no-re-export */
3
2
  /**
4
3
  * NOTE:
5
4
  *
6
5
  * This file is automatically generated by Traduki 2.0.
7
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
8
7
  */
9
-
10
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/vi';
11
- export default translations;
8
+ //Vietnamese (Vietnam)
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': 'Nhập nội dung bất kỳ...',
11
+ 'fabric.editor.editorAssistiveLabel': 'Vùng nội dung chính, bắt đầu gõ để nhập văn bản.',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'Mở hộp thoại trợ giúp'
13
+ };
@@ -1,11 +1,13 @@
1
1
  /* prettier-ignore */
2
- /* eslint-disable @atlaskit/editor/no-re-export */
3
2
  /**
4
3
  * NOTE:
5
4
  *
6
5
  * This file is automatically generated by Traduki 2.0.
7
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
8
7
  */
9
-
10
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/zh';
11
- export default translations;
8
+ //Chinese (Simplified)
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': '输入内容......',
11
+ 'fabric.editor.editorAssistiveLabel': '主内容区域,开始键入以输入文本。',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': '打开帮助对话框'
13
+ };
@@ -1,11 +1,13 @@
1
1
  /* prettier-ignore */
2
- /* eslint-disable @atlaskit/editor/no-re-export */
3
2
  /**
4
3
  * NOTE:
5
4
  *
6
5
  * This file is automatically generated by Traduki 2.0.
7
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
8
7
  */
9
-
10
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/zh_TW';
11
- export default translations;
8
+ //Chinese (Traditional)
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': '輸入一些內容...',
11
+ 'fabric.editor.editorAssistiveLabel': '主要內容區域,打字即可輸入文字。',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': '開啟說明對話方塊'
13
+ };
@@ -112,10 +112,6 @@ var tableFullPageEditorStylesNew = css({
112
112
  width: '100%'
113
113
  }
114
114
  });
115
- var scrollGutter = css({
116
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
117
- display: 'none'
118
- });
119
115
  var editorContentAreaContainerNestedDndStyle = css({
120
116
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
121
117
  '.fabric-editor--full-width-mode': {
@@ -207,13 +203,14 @@ var contentAreaHeightNoToolbar = css({
207
203
  export var CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
208
204
  export var EDITOR_CONTAINER = 'ak-editor-container';
209
205
  var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
210
- var _contentAreaRef$curre;
206
+ var _props$editorAPI, _contentAreaRef$curre, _allowScrollGutter$gu;
211
207
  var theme = useTheme();
212
208
  var fullWidthMode = props.appearance === 'full-width';
213
209
  var maxWidthMode = props.appearance === 'max';
214
210
  var scrollContainerRef = useRef(null);
215
211
  var contentAreaRef = useRef(null);
216
212
  var containerRef = useRef(null);
213
+ var allowScrollGutter = (_props$editorAPI = props.editorAPI) === null || _props$editorAPI === void 0 || (_props$editorAPI = _props$editorAPI.base) === null || _props$editorAPI === void 0 || (_props$editorAPI = _props$editorAPI.sharedState.currentState()) === null || _props$editorAPI === void 0 ? void 0 : _props$editorAPI.allowScrollGutter;
217
214
  useImperativeHandle(ref, function () {
218
215
  return {
219
216
  get scrollContainer() {
@@ -294,9 +291,11 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
294
291
  containerElement: scrollContainerRef.current,
295
292
  dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
296
293
  wrapperElement: props.wrapperElement
297
- }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.after) : null, expVal('platform_editor_hydratable_ui', 'isEnabled', false) && jsx("div", {
294
+ }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.after) : null, expVal('platform_editor_scroll_gutter_fix', 'isEnabled', false) && allowScrollGutter && jsx("div", {
298
295
  id: "editor-scroll-gutter",
299
- css: scrollGutter,
296
+ style: {
297
+ paddingBottom: "".concat((_allowScrollGutter$gu = allowScrollGutter.gutterSize) !== null && _allowScrollGutter$gu !== void 0 ? _allowScrollGutter$gu : '120', "px")
298
+ },
300
299
  "data-vc": "scroll-gutter"
301
300
  })))))), jsx("div", {
302
301
  css: sidebarArea
@@ -6,10 +6,12 @@
6
6
  ._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
7
7
  ._1bahesu3{justify-content:flex-end}
8
8
  ._1e0c1txw{display:flex}
9
+ ._1f38ptqj{container-name:toolbar-container}
9
10
  ._1pby16oo{z-index:510}
10
11
  ._1ul91ns9{min-width:-moz-fit-content;min-width:fit-content}
11
12
  ._2hwxpxbi{margin-right:var(--ds-space-200,1pc)}
12
13
  ._4cvr1h6o{align-items:center}
13
14
  ._4t3izwfg{height:2pc}
15
+ ._7cca15wb{container-type:inline-size}
14
16
  ._kqswh2mm{position:relative}
15
17
  ._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
@@ -21,6 +21,7 @@ var styles = {
21
21
  mainToolbarWithKeyline: "_16qs1nax",
22
22
  customToolbarWrapperStyle: "_4cvr1h6o _1e0c1txw",
23
23
  firstChildWrapperOneLine: "_1e0c1txw _16jlkb7n",
24
+ firstChildWrapperContainerContext: "_7cca15wb _1f38ptqj",
24
25
  secondChildWrapperOneLine: "_1e0c1txw _1ul91ns9 _4cvr1h6o",
25
26
  beforePrimaryToolbarComponents: "_1e0c1txw _16jlkb7n _1bahesu3 _4cvr1h6o"
26
27
  };
@@ -37,7 +38,7 @@ var FirstChildWrapper = function FirstChildWrapper(_ref2) {
37
38
  var children = _ref2.children;
38
39
  return /*#__PURE__*/React.createElement("div", {
39
40
  "data-testid": "main-toolbar-first-child-wrapper",
40
- className: ax([styles.firstChildWrapperOneLine])
41
+ className: ax([styles.firstChildWrapperOneLine, expValEquals('platform_editor_reduce_toolbar_vc_impact', 'isEnabled', true) && styles.firstChildWrapperContainerContext])
41
42
  }, children);
42
43
  };
43
44
  var SecondChildWrapper = function SecondChildWrapper(_ref3) {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "215.19.0";
2
+ export var version = "215.20.0";
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/cs';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/da';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/de';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en_GB';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/en_ZZ';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/es';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/fi';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/fr';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/hr';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/hu';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/it';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/ja';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/ko';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/nb';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/nl';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/pl';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/pt_BR';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/ru';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sl';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sr_RS';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sr_YR';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/sv';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/th';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/tr';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/uk';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/vi';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/zh';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/zh_TW';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -9,6 +9,7 @@ import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
9
9
  import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
10
10
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
11
11
  import type { EditorAppearance, EditorContentMode, FeatureFlags, OptionalPlugin, PublicPluginAPI, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
12
+ import { type BasePlugin } from '@atlaskit/editor-plugins/base';
12
13
  import { type ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
13
14
  import { type ViewMode } from '@atlaskit/editor-plugins/editor-viewmode';
14
15
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -24,7 +25,7 @@ interface FullPageEditorContentAreaProps {
24
25
  disabled: boolean | undefined;
25
26
  dispatchAnalyticsEvent: DispatchAnalyticsEvent | undefined;
26
27
  editorActions: EditorActions | undefined;
27
- editorAPI: PublicPluginAPI<[OptionalPlugin<ContextPanelPlugin>]> | undefined;
28
+ editorAPI: PublicPluginAPI<[OptionalPlugin<ContextPanelPlugin>, BasePlugin]> | undefined;
28
29
  editorDOMElement: ReactElement;
29
30
  editorView: EditorView;
30
31
  eventDispatcher: EventDispatcher | undefined;
@@ -4,5 +4,9 @@
4
4
  * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- import translations from '@atlaskit/afm-i18n-platform-editor-editor-core/i18n/cs';
8
- export default translations;
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;