@atlaskit/renderer 123.2.0 → 123.2.2

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 (188) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-dev-agents/tsconfig.json +3 -0
  4. package/afm-jira/tsconfig.json +3 -0
  5. package/afm-passionfruit/tsconfig.json +3 -0
  6. package/afm-post-office/tsconfig.json +3 -0
  7. package/afm-rovo-extension/tsconfig.json +3 -0
  8. package/afm-townsquare/tsconfig.json +3 -0
  9. package/dist/cjs/i18n/cs.js +4 -12
  10. package/dist/cjs/i18n/da.js +4 -12
  11. package/dist/cjs/i18n/de.js +4 -12
  12. package/dist/cjs/i18n/en.js +4 -12
  13. package/dist/cjs/i18n/en_GB.js +4 -12
  14. package/dist/cjs/i18n/en_ZZ.js +4 -12
  15. package/dist/cjs/i18n/es.js +4 -12
  16. package/dist/cjs/i18n/fi.js +4 -12
  17. package/dist/cjs/i18n/fr.js +4 -12
  18. package/dist/cjs/i18n/hr.js +4 -12
  19. package/dist/cjs/i18n/hu.js +4 -12
  20. package/dist/cjs/i18n/it.js +4 -12
  21. package/dist/cjs/i18n/ja.js +4 -12
  22. package/dist/cjs/i18n/ko.js +4 -12
  23. package/dist/cjs/i18n/nb.js +4 -12
  24. package/dist/cjs/i18n/nl.js +4 -12
  25. package/dist/cjs/i18n/pl.js +4 -12
  26. package/dist/cjs/i18n/pt_BR.js +4 -12
  27. package/dist/cjs/i18n/ru.js +4 -12
  28. package/dist/cjs/i18n/sl.js +4 -12
  29. package/dist/cjs/i18n/sr_RS.js +4 -12
  30. package/dist/cjs/i18n/sr_YR.js +4 -12
  31. package/dist/cjs/i18n/sv.js +4 -12
  32. package/dist/cjs/i18n/th.js +4 -12
  33. package/dist/cjs/i18n/tr.js +4 -12
  34. package/dist/cjs/i18n/uk.js +4 -12
  35. package/dist/cjs/i18n/vi.js +4 -12
  36. package/dist/cjs/i18n/zh.js +4 -12
  37. package/dist/cjs/i18n/zh_TW.js +4 -12
  38. package/dist/cjs/react/nodes/blockCard.js +6 -3
  39. package/dist/cjs/react/nodes/bodiedExtension.js +4 -3
  40. package/dist/cjs/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
  41. package/dist/cjs/react/nodes/multiBodiedExtension.js +2 -1
  42. package/dist/cjs/react/nodes/panel.js +1 -1
  43. package/dist/cjs/ui/Renderer/RendererStyleContainer.js +10 -10
  44. package/dist/cjs/ui/Renderer/index.js +1 -1
  45. package/dist/cjs/ui/annotations/draft/component.js +1 -1
  46. package/dist/cjs/ui/annotations/element/mark.js +4 -4
  47. package/dist/cjs/ui/hooks/useScrollToLocalId.js +78 -7
  48. package/dist/es2019/i18n/cs.js +4 -12
  49. package/dist/es2019/i18n/da.js +4 -12
  50. package/dist/es2019/i18n/de.js +4 -12
  51. package/dist/es2019/i18n/en.js +4 -12
  52. package/dist/es2019/i18n/en_GB.js +4 -12
  53. package/dist/es2019/i18n/en_ZZ.js +4 -12
  54. package/dist/es2019/i18n/es.js +4 -12
  55. package/dist/es2019/i18n/fi.js +4 -12
  56. package/dist/es2019/i18n/fr.js +4 -12
  57. package/dist/es2019/i18n/hr.js +4 -12
  58. package/dist/es2019/i18n/hu.js +4 -12
  59. package/dist/es2019/i18n/it.js +4 -12
  60. package/dist/es2019/i18n/ja.js +4 -12
  61. package/dist/es2019/i18n/ko.js +4 -12
  62. package/dist/es2019/i18n/nb.js +4 -12
  63. package/dist/es2019/i18n/nl.js +4 -12
  64. package/dist/es2019/i18n/pl.js +4 -12
  65. package/dist/es2019/i18n/pt_BR.js +4 -12
  66. package/dist/es2019/i18n/ru.js +4 -12
  67. package/dist/es2019/i18n/sl.js +4 -12
  68. package/dist/es2019/i18n/sr_RS.js +4 -12
  69. package/dist/es2019/i18n/sr_YR.js +4 -12
  70. package/dist/es2019/i18n/sv.js +4 -12
  71. package/dist/es2019/i18n/th.js +4 -12
  72. package/dist/es2019/i18n/tr.js +4 -12
  73. package/dist/es2019/i18n/uk.js +4 -12
  74. package/dist/es2019/i18n/vi.js +4 -12
  75. package/dist/es2019/i18n/zh.js +4 -12
  76. package/dist/es2019/i18n/zh_TW.js +4 -12
  77. package/dist/es2019/react/nodes/blockCard.js +6 -3
  78. package/dist/es2019/react/nodes/bodiedExtension.js +4 -3
  79. package/dist/es2019/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
  80. package/dist/es2019/react/nodes/multiBodiedExtension.js +2 -1
  81. package/dist/es2019/react/nodes/panel.js +1 -1
  82. package/dist/es2019/ui/Renderer/RendererStyleContainer.js +10 -10
  83. package/dist/es2019/ui/Renderer/index.js +1 -1
  84. package/dist/es2019/ui/annotations/draft/component.js +1 -1
  85. package/dist/es2019/ui/annotations/element/mark.js +4 -4
  86. package/dist/es2019/ui/hooks/useScrollToLocalId.js +78 -7
  87. package/dist/esm/i18n/cs.js +4 -12
  88. package/dist/esm/i18n/da.js +4 -12
  89. package/dist/esm/i18n/de.js +4 -12
  90. package/dist/esm/i18n/en.js +4 -12
  91. package/dist/esm/i18n/en_GB.js +4 -12
  92. package/dist/esm/i18n/en_ZZ.js +4 -12
  93. package/dist/esm/i18n/es.js +4 -12
  94. package/dist/esm/i18n/fi.js +4 -12
  95. package/dist/esm/i18n/fr.js +4 -12
  96. package/dist/esm/i18n/hr.js +4 -12
  97. package/dist/esm/i18n/hu.js +4 -12
  98. package/dist/esm/i18n/it.js +4 -12
  99. package/dist/esm/i18n/ja.js +4 -12
  100. package/dist/esm/i18n/ko.js +4 -12
  101. package/dist/esm/i18n/nb.js +4 -12
  102. package/dist/esm/i18n/nl.js +4 -12
  103. package/dist/esm/i18n/pl.js +4 -12
  104. package/dist/esm/i18n/pt_BR.js +4 -12
  105. package/dist/esm/i18n/ru.js +4 -12
  106. package/dist/esm/i18n/sl.js +4 -12
  107. package/dist/esm/i18n/sr_RS.js +4 -12
  108. package/dist/esm/i18n/sr_YR.js +4 -12
  109. package/dist/esm/i18n/sv.js +4 -12
  110. package/dist/esm/i18n/th.js +4 -12
  111. package/dist/esm/i18n/tr.js +4 -12
  112. package/dist/esm/i18n/uk.js +4 -12
  113. package/dist/esm/i18n/vi.js +4 -12
  114. package/dist/esm/i18n/zh.js +4 -12
  115. package/dist/esm/i18n/zh_TW.js +4 -12
  116. package/dist/esm/react/nodes/blockCard.js +6 -3
  117. package/dist/esm/react/nodes/bodiedExtension.js +4 -3
  118. package/dist/esm/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -1
  119. package/dist/esm/react/nodes/multiBodiedExtension.js +2 -1
  120. package/dist/esm/react/nodes/panel.js +1 -1
  121. package/dist/esm/ui/Renderer/RendererStyleContainer.js +10 -10
  122. package/dist/esm/ui/Renderer/index.js +1 -1
  123. package/dist/esm/ui/annotations/draft/component.js +1 -1
  124. package/dist/esm/ui/annotations/element/mark.js +4 -4
  125. package/dist/esm/ui/hooks/useScrollToLocalId.js +78 -7
  126. package/dist/types/i18n/cs.d.ts +2 -12
  127. package/dist/types/i18n/da.d.ts +2 -12
  128. package/dist/types/i18n/de.d.ts +2 -12
  129. package/dist/types/i18n/en.d.ts +2 -12
  130. package/dist/types/i18n/en_GB.d.ts +2 -12
  131. package/dist/types/i18n/en_ZZ.d.ts +2 -12
  132. package/dist/types/i18n/es.d.ts +2 -12
  133. package/dist/types/i18n/fi.d.ts +2 -12
  134. package/dist/types/i18n/fr.d.ts +2 -12
  135. package/dist/types/i18n/hr.d.ts +2 -12
  136. package/dist/types/i18n/hu.d.ts +2 -12
  137. package/dist/types/i18n/it.d.ts +2 -12
  138. package/dist/types/i18n/ja.d.ts +2 -12
  139. package/dist/types/i18n/ko.d.ts +2 -12
  140. package/dist/types/i18n/nb.d.ts +2 -12
  141. package/dist/types/i18n/nl.d.ts +2 -12
  142. package/dist/types/i18n/pl.d.ts +2 -12
  143. package/dist/types/i18n/pt_BR.d.ts +2 -12
  144. package/dist/types/i18n/ru.d.ts +2 -12
  145. package/dist/types/i18n/sl.d.ts +2 -12
  146. package/dist/types/i18n/sr_RS.d.ts +2 -12
  147. package/dist/types/i18n/sr_YR.d.ts +2 -12
  148. package/dist/types/i18n/sv.d.ts +2 -12
  149. package/dist/types/i18n/th.d.ts +2 -12
  150. package/dist/types/i18n/tr.d.ts +2 -12
  151. package/dist/types/i18n/uk.d.ts +2 -12
  152. package/dist/types/i18n/vi.d.ts +2 -12
  153. package/dist/types/i18n/zh.d.ts +2 -12
  154. package/dist/types/i18n/zh_TW.d.ts +2 -12
  155. package/dist/types/react/nodes/blockCard.d.ts +1 -0
  156. package/dist/types/react/nodes/index.d.ts +1 -0
  157. package/dist/types-ts4.5/i18n/cs.d.ts +2 -12
  158. package/dist/types-ts4.5/i18n/da.d.ts +2 -12
  159. package/dist/types-ts4.5/i18n/de.d.ts +2 -12
  160. package/dist/types-ts4.5/i18n/en.d.ts +2 -12
  161. package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -12
  162. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -12
  163. package/dist/types-ts4.5/i18n/es.d.ts +2 -12
  164. package/dist/types-ts4.5/i18n/fi.d.ts +2 -12
  165. package/dist/types-ts4.5/i18n/fr.d.ts +2 -12
  166. package/dist/types-ts4.5/i18n/hr.d.ts +2 -12
  167. package/dist/types-ts4.5/i18n/hu.d.ts +2 -12
  168. package/dist/types-ts4.5/i18n/it.d.ts +2 -12
  169. package/dist/types-ts4.5/i18n/ja.d.ts +2 -12
  170. package/dist/types-ts4.5/i18n/ko.d.ts +2 -12
  171. package/dist/types-ts4.5/i18n/nb.d.ts +2 -12
  172. package/dist/types-ts4.5/i18n/nl.d.ts +2 -12
  173. package/dist/types-ts4.5/i18n/pl.d.ts +2 -12
  174. package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -12
  175. package/dist/types-ts4.5/i18n/ru.d.ts +2 -12
  176. package/dist/types-ts4.5/i18n/sl.d.ts +2 -12
  177. package/dist/types-ts4.5/i18n/sr_RS.d.ts +2 -12
  178. package/dist/types-ts4.5/i18n/sr_YR.d.ts +2 -12
  179. package/dist/types-ts4.5/i18n/sv.d.ts +2 -12
  180. package/dist/types-ts4.5/i18n/th.d.ts +2 -12
  181. package/dist/types-ts4.5/i18n/tr.d.ts +2 -12
  182. package/dist/types-ts4.5/i18n/uk.d.ts +2 -12
  183. package/dist/types-ts4.5/i18n/vi.d.ts +2 -12
  184. package/dist/types-ts4.5/i18n/zh.d.ts +2 -12
  185. package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -12
  186. package/dist/types-ts4.5/react/nodes/blockCard.d.ts +1 -0
  187. package/dist/types-ts4.5/react/nodes/index.d.ts +1 -0
  188. package/package.json +5 -3
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.useScrollToLocalId = void 0;
7
7
  var _react = require("react");
8
+ var _browserApis = require("@atlaskit/browser-apis");
8
9
  // Find editor node dom with localId - similar to confluence useScrollOnUrlChange.ts
9
10
  var getLocalIdSelector = function getLocalIdSelector(localId, container) {
10
11
  // Check if the element with data-local-id exists
@@ -38,6 +39,7 @@ var getLocalIdSelector = function getLocalIdSelector(localId, container) {
38
39
  };
39
40
  var useScrollToLocalId = exports.useScrollToLocalId = function useScrollToLocalId(containerRef, shouldScrollToLocalId) {
40
41
  (0, _react.useEffect)(function () {
42
+ var _getDocument;
41
43
  // Only run in browser environment
42
44
  if (typeof window === 'undefined' || !(containerRef !== null && containerRef !== void 0 && containerRef.current) || !shouldScrollToLocalId) {
43
45
  return;
@@ -46,14 +48,83 @@ var useScrollToLocalId = exports.useScrollToLocalId = function useScrollToLocalI
46
48
  // Parse URL parameters for block ID
47
49
  var urlParams = new URLSearchParams(window.location.search);
48
50
  var blockId = urlParams.get('block');
49
- if (blockId) {
50
- // Search within the renderer container using the selector function
51
- var element = getLocalIdSelector(blockId, containerRef.current);
52
- if (element) {
53
- element.scrollIntoView({
54
- behavior: 'smooth'
55
- });
51
+ if (!blockId) {
52
+ return;
53
+ }
54
+ var retryCount = 0;
55
+ // 5 second timeout based on dashboard showing ~4.96s TTI load time
56
+ var maxRetries = 20; // Maximum 20 retries (5 seconds at 250ms intervals)
57
+ var retryInterval = 250; // Check every 250ms
58
+ var intervalId = null;
59
+ var scrollToElement = function scrollToElement() {
60
+ if (containerRef !== null && containerRef !== void 0 && containerRef.current) {
61
+ var element = getLocalIdSelector(blockId, containerRef.current);
62
+ if (element) {
63
+ element.scrollIntoView({
64
+ behavior: 'smooth'
65
+ });
66
+ return true;
67
+ }
68
+ }
69
+ return false;
70
+ };
71
+ var attemptScroll = function attemptScroll() {
72
+ retryCount++;
73
+
74
+ // Try to scroll to element
75
+ if (scrollToElement()) {
76
+ if (intervalId) {
77
+ clearInterval(intervalId);
78
+ intervalId = null;
79
+ }
80
+ return true;
81
+ }
82
+
83
+ // Stop retrying if we've exceeded max retries
84
+ if (retryCount >= maxRetries) {
85
+ if (intervalId) {
86
+ clearInterval(intervalId);
87
+ intervalId = null;
88
+ }
89
+ return false;
56
90
  }
91
+ return false;
92
+ };
93
+
94
+ // Try to scroll immediately
95
+ if (attemptScroll()) {
96
+ return;
97
+ }
98
+ if (((_getDocument = (0, _browserApis.getDocument)()) === null || _getDocument === void 0 ? void 0 : _getDocument.readyState) === 'complete') {
99
+ // Document is already ready, try a few more times with delays
100
+ // This handles cases where elements are added after document ready
101
+ intervalId = setInterval(function () {
102
+ attemptScroll();
103
+ }, retryInterval);
104
+ } else {
105
+ // Document not ready yet, wait for it and then retry
106
+ intervalId = setInterval(function () {
107
+ var _getDocument2;
108
+ if (((_getDocument2 = (0, _browserApis.getDocument)()) === null || _getDocument2 === void 0 ? void 0 : _getDocument2.readyState) === 'complete') {
109
+ attemptScroll();
110
+ } else if (retryCount >= maxRetries) {
111
+ // Stop retrying even if document isn't ready
112
+ if (intervalId) {
113
+ clearInterval(intervalId);
114
+ intervalId = null;
115
+ }
116
+ } else {
117
+ retryCount++;
118
+ }
119
+ }, retryInterval);
57
120
  }
121
+
122
+ // Cleanup function
123
+ return function () {
124
+ if (intervalId) {
125
+ clearInterval(intervalId);
126
+ intervalId = null;
127
+ }
128
+ };
58
129
  }, [containerRef, shouldScrollToLocalId]);
59
130
  };
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Czech
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'vzestupně',
11
- 'fabric.editor.headingLink.copied': 'Zkopírováno!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopírovat odkaz na nadpis',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopírovat',
14
- 'fabric.editor.headingLink.descSortingLabel': 'sestupně',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopírování se nezdařilo',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Žádné',
17
- 'fabric.editor.inlineComment.marker.end': 'konec vloženého komentáře',
18
- 'fabric.editor.inlineComment.marker.start': 'začátek vloženého komentáře'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/cs';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Danish (Denmark)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'stigende',
11
- 'fabric.editor.headingLink.copied': 'Kopieret!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopiér link til overskrift',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiér',
14
- 'fabric.editor.headingLink.descSortingLabel': 'faldende',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiering mislykkedes',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'ingen',
17
- 'fabric.editor.inlineComment.marker.end': 'slut på indlejret kommentar',
18
- 'fabric.editor.inlineComment.marker.start': 'start på indlejret kommentar'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/da';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //German (Germany)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'aufsteigend',
11
- 'fabric.editor.headingLink.copied': 'Kopiert!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Link zur Überschrift kopieren',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopieren',
14
- 'fabric.editor.headingLink.descSortingLabel': 'absteigend',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopieren ist fehlgeschlagen',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Keine',
17
- 'fabric.editor.inlineComment.marker.end': 'Ende des Inline-Kommentars',
18
- 'fabric.editor.inlineComment.marker.start': 'Beginn des Inline-Kommentars'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/de';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ascending',
11
- 'fabric.editor.headingLink.copied': 'Copied!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Copy link to heading',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copy',
14
- 'fabric.editor.headingLink.descSortingLabel': 'descending',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copy failed',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'none',
17
- 'fabric.editor.inlineComment.marker.end': 'inline comment end',
18
- 'fabric.editor.inlineComment.marker.start': 'inline comment start'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/en';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //English (United Kingdom)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ascending',
11
- 'fabric.editor.headingLink.copied': 'Copied!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Copy link to heading',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copy',
14
- 'fabric.editor.headingLink.descSortingLabel': 'descending',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copy failed',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'none',
17
- 'fabric.editor.inlineComment.marker.end': 'inline comment end',
18
- 'fabric.editor.inlineComment.marker.start': 'inline comment start'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/en_GB';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '⁣⁢ascending⁡؜⁠⁠‍‍⁠‍⁡⁡⁡⁣⁤',
11
- 'fabric.editor.headingLink.copied': '⁣⁢Copied!؜‍؜؜⁠‌؜⁣⁤',
12
- 'fabric.editor.headingLink.copyAnchorLink': '⁣⁢Copy link to heading؜‍⁠؜⁡⁡⁠‍‍⁠‍⁡⁠‌⁡‍‍⁠⁣⁤',
13
- 'fabric.editor.headingLink.copyAriaLabel': '⁣⁢Copy‍‍‍؜‍؜؜⁡‍⁡‍‍‍⁣⁤',
14
- 'fabric.editor.headingLink.descSortingLabel': '⁣⁢descending؜‌⁡‌⁡⁠⁡⁠‍‌⁡⁡⁡؜⁣⁤',
15
- 'fabric.editor.headingLink.failedToCopy': '⁣⁢Copy failed⁠⁠‌⁠‌‍‌⁣⁤',
16
- 'fabric.editor.headingLink.noneSortingLabel': '⁣⁢none⁡؜⁡⁡؜⁠⁠⁣⁤',
17
- 'fabric.editor.inlineComment.marker.end': '⁣⁢inline comment end⁠‍⁡⁡؜⁠‌⁣⁤',
18
- 'fabric.editor.inlineComment.marker.start': '⁣⁢inline comment start؜‌‌‍⁡‍‍؜‌⁣⁤'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/en_ZZ';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Spanish (International)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ascendente',
11
- 'fabric.editor.headingLink.copied': '¡Copiado!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Copiar enlace en el título',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copiar',
14
- 'fabric.editor.headingLink.descSortingLabel': 'descendente',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copia fallida',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'ninguno',
17
- 'fabric.editor.inlineComment.marker.end': 'final de comentario insertado',
18
- 'fabric.editor.inlineComment.marker.start': 'inicio de comentario insertado'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/es';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Finnish
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'nousevassa järjestyksessä',
11
- 'fabric.editor.headingLink.copied': 'Kopioitu!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopioi otsikkolinkki',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopioi',
14
- 'fabric.editor.headingLink.descSortingLabel': 'laskevassa järjestyksessä',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiointi epäonnistui',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Ei mitään',
17
- 'fabric.editor.inlineComment.marker.end': 'tekstin sisäisen kommentin loppu',
18
- 'fabric.editor.inlineComment.marker.start': 'tekstin sisäisen kommentin alku'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/fi';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //French (France)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ordre croissant',
11
- 'fabric.editor.headingLink.copied': 'Copié !',
12
- 'fabric.editor.headingLink.copyAnchorLink': "Copier le lien vers l'en-tête",
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copier',
14
- 'fabric.editor.headingLink.descSortingLabel': 'ordre décroissant',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copie impossible',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Néant',
17
- 'fabric.editor.inlineComment.marker.end': 'fin du commentaire contextuel',
18
- 'fabric.editor.inlineComment.marker.start': 'début du commentaire contextuel'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/fr';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Croatian (Croatia) [hr-HR]
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'uzlazno',
11
- 'fabric.editor.headingLink.copied': 'Kopirano!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj poveznicu u zaglavlju',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
14
- 'fabric.editor.headingLink.descSortingLabel': 'silazno',
15
- 'fabric.editor.headingLink.failedToCopy': 'Neuspjelo kopiranje',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'nema',
17
- 'fabric.editor.inlineComment.marker.end': 'završetak za umetnuti komentar',
18
- 'fabric.editor.inlineComment.marker.start': 'početak za umetnuti komentar'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/hr';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Hungarian
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'növekvő',
11
- 'fabric.editor.headingLink.copied': 'Másolva!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Fejléc linkjének másolása',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Másolás',
14
- 'fabric.editor.headingLink.descSortingLabel': 'csökkenő',
15
- 'fabric.editor.headingLink.failedToCopy': 'A másolás nem sikerült',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Nincs',
17
- 'fabric.editor.inlineComment.marker.end': 'beágyazott megjegyzés vége',
18
- 'fabric.editor.inlineComment.marker.start': 'beágyazott megjegyzés kezdete'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/hu';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Italian (Italy)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'crescente',
11
- 'fabric.editor.headingLink.copied': 'Copiato.',
12
- 'fabric.editor.headingLink.copyAnchorLink': "Copia link nell'intestazione",
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copia',
14
- 'fabric.editor.headingLink.descSortingLabel': 'decrescente',
15
- 'fabric.editor.headingLink.failedToCopy': 'Copia non riuscita',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'nessuno',
17
- 'fabric.editor.inlineComment.marker.end': 'fine del commento in linea',
18
- 'fabric.editor.inlineComment.marker.start': 'inizio del commento in linea'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/it';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Japanese
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '昇順',
11
- 'fabric.editor.headingLink.copied': 'コピーしました',
12
- 'fabric.editor.headingLink.copyAnchorLink': '見出しへのリンクをコピー',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'コピー',
14
- 'fabric.editor.headingLink.descSortingLabel': '降順',
15
- 'fabric.editor.headingLink.failedToCopy': 'コピーできませんでした。',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'なし',
17
- 'fabric.editor.inlineComment.marker.end': 'インライン コメント終了',
18
- 'fabric.editor.inlineComment.marker.start': 'インライン コメント開始'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/ja';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Korean
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': '오름차순',
11
- 'fabric.editor.headingLink.copied': '복사되었습니다!',
12
- 'fabric.editor.headingLink.copyAnchorLink': '링크를 제목에 복사',
13
- 'fabric.editor.headingLink.copyAriaLabel': '복사',
14
- 'fabric.editor.headingLink.descSortingLabel': '내림차순',
15
- 'fabric.editor.headingLink.failedToCopy': '복사 실패',
16
- 'fabric.editor.headingLink.noneSortingLabel': '없음',
17
- 'fabric.editor.inlineComment.marker.end': '인라인 댓글 끝',
18
- 'fabric.editor.inlineComment.marker.start': '인라인 댓글 시작'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/ko';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Norwegian (Bokmål)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'stigende',
11
- 'fabric.editor.headingLink.copied': 'Kopiert!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopier kobling til overskrift',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopier',
14
- 'fabric.editor.headingLink.descSortingLabel': 'synkende',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiering mislyktes',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'ingen',
17
- 'fabric.editor.inlineComment.marker.end': 'kommentar i margen slutt',
18
- 'fabric.editor.inlineComment.marker.start': 'kommentar i margen start'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/nb';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Dutch (Netherlands)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'oplopend',
11
- 'fabric.editor.headingLink.copied': 'Gekopieerd!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Link naar kop kopiëren',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiëren',
14
- 'fabric.editor.headingLink.descSortingLabel': 'aflopend',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiëren mislukt',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Geen',
17
- 'fabric.editor.inlineComment.marker.end': 'einde inline-opmerking',
18
- 'fabric.editor.inlineComment.marker.start': 'begin inline-opmerking'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/nl';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Polish (Poland)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'rosnąco',
11
- 'fabric.editor.headingLink.copied': 'Skopiowano!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Skopiuj łącze do nagłówka',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiuj',
14
- 'fabric.editor.headingLink.descSortingLabel': 'malejąco',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiowanie nie powiodło się',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Brak',
17
- 'fabric.editor.inlineComment.marker.end': 'koniec komentarza śródwierszowego',
18
- 'fabric.editor.inlineComment.marker.start': 'początek komentarza śródwierszowego'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/pl';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Portuguese (Brazil)
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'ascendente',
11
- 'fabric.editor.headingLink.copied': 'Copiado!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Copiar link para cabeçalho',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Copiar',
14
- 'fabric.editor.headingLink.descSortingLabel': 'descendente',
15
- 'fabric.editor.headingLink.failedToCopy': 'Falha na cópia',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'nenhum',
17
- 'fabric.editor.inlineComment.marker.end': 'fim de comentário em linha',
18
- 'fabric.editor.inlineComment.marker.start': 'início de comentário em linha'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/pt_BR';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Russian
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'по возрастанию',
11
- 'fabric.editor.headingLink.copied': 'Скопировано!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Копировать ссылку в заголовок',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Скопировать',
14
- 'fabric.editor.headingLink.descSortingLabel': 'по убыванию',
15
- 'fabric.editor.headingLink.failedToCopy': 'Ошибка копирования',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'Нет',
17
- 'fabric.editor.inlineComment.marker.end': 'конец встроенного комментария',
18
- 'fabric.editor.inlineComment.marker.start': 'начало встроенного комментария'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/ru';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Slovenian (Slovenia) [sl-SI]
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'naraščajoče',
11
- 'fabric.editor.headingLink.copied': 'Kopirano!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj povezavo do naslova',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
14
- 'fabric.editor.headingLink.descSortingLabel': 'padajoče',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiranje ni uspelo',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'brez',
17
- 'fabric.editor.inlineComment.marker.end': 'konec komentarja v vrstici',
18
- 'fabric.editor.inlineComment.marker.start': 'začetek komentarja v vrstici'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/sl';
11
+ export default translations;
@@ -1,19 +1,11 @@
1
1
  /* prettier-ignore */
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  /**
3
4
  * NOTE:
4
5
  *
5
6
  * This file is automatically generated by Traduki 2.0.
6
7
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
8
  */
8
- //Serbian (Serbia) [sr-RS]
9
- export default {
10
- 'fabric.editor.headingLink.ascSortingLabel': 'rastući',
11
- 'fabric.editor.headingLink.copied': 'Kopirano!',
12
- 'fabric.editor.headingLink.copyAnchorLink': 'Kopiraj link naslova',
13
- 'fabric.editor.headingLink.copyAriaLabel': 'Kopiraj',
14
- 'fabric.editor.headingLink.descSortingLabel': 'opadajući',
15
- 'fabric.editor.headingLink.failedToCopy': 'Kopiranje nije uspelo',
16
- 'fabric.editor.headingLink.noneSortingLabel': 'nijedno',
17
- 'fabric.editor.inlineComment.marker.end': 'kraj umetnutog komentara',
18
- 'fabric.editor.inlineComment.marker.start': 'početak umetnutog komentara'
19
- };
9
+
10
+ import translations from '@atlaskit/afm-i18n-platform-editor-renderer/i18n/sr_RS';
11
+ export default translations;