@atlaskit/editor-common 63.0.1 → 66.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/dist/cjs/i18n/cs.js +3 -3
  3. package/dist/cjs/i18n/da.js +3 -3
  4. package/dist/cjs/i18n/de.js +3 -3
  5. package/dist/cjs/i18n/en_ZZ.js +27 -0
  6. package/dist/cjs/i18n/es.js +3 -3
  7. package/dist/cjs/i18n/fi.js +3 -3
  8. package/dist/cjs/i18n/fr.js +3 -3
  9. package/dist/cjs/i18n/hu.js +3 -3
  10. package/dist/cjs/i18n/it.js +3 -3
  11. package/dist/cjs/i18n/ja.js +3 -3
  12. package/dist/cjs/i18n/ko.js +3 -3
  13. package/dist/cjs/i18n/nb.js +3 -3
  14. package/dist/cjs/i18n/nl.js +3 -3
  15. package/dist/cjs/i18n/pl.js +3 -3
  16. package/dist/cjs/i18n/pt_BR.js +3 -3
  17. package/dist/cjs/i18n/ru.js +3 -3
  18. package/dist/cjs/i18n/sv.js +3 -3
  19. package/dist/cjs/i18n/th.js +3 -3
  20. package/dist/cjs/i18n/tr.js +3 -3
  21. package/dist/cjs/i18n/uk.js +3 -3
  22. package/dist/cjs/i18n/vi.js +3 -3
  23. package/dist/cjs/i18n/zh.js +3 -2
  24. package/dist/cjs/i18n/zh_TW.js +3 -3
  25. package/dist/cjs/index.js +1 -29
  26. package/dist/cjs/normalize-feature-flags.js +40 -4
  27. package/dist/cjs/{ui/IntlLegacyFallbackProvider → safe-plugin}/index.js +17 -35
  28. package/dist/cjs/styles/index.js +0 -8
  29. package/dist/cjs/styles/shared/annotation.js +25 -17
  30. package/dist/cjs/styles/shared/block-marks.js +2 -2
  31. package/dist/cjs/styles/shared/blockquote.js +2 -2
  32. package/dist/cjs/styles/shared/code-mark.js +9 -5
  33. package/dist/cjs/styles/shared/column-layout.js +2 -2
  34. package/dist/cjs/styles/shared/date.js +2 -2
  35. package/dist/cjs/styles/shared/headings.js +5 -2
  36. package/dist/cjs/styles/shared/indentation.js +2 -2
  37. package/dist/cjs/styles/shared/link.js +2 -2
  38. package/dist/cjs/styles/shared/lists.js +4 -2
  39. package/dist/cjs/styles/shared/media-single.js +2 -2
  40. package/dist/cjs/styles/shared/panel.js +7 -4
  41. package/dist/cjs/styles/shared/paragraph.js +2 -2
  42. package/dist/cjs/styles/shared/rule.js +5 -2
  43. package/dist/cjs/styles/shared/shadow.js +2 -2
  44. package/dist/cjs/styles/shared/table.js +37 -33
  45. package/dist/cjs/styles/shared/task-decision.js +2 -2
  46. package/dist/cjs/styles/shared/text-color.js +2 -2
  47. package/dist/cjs/styles/shared/whitespace.js +2 -2
  48. package/dist/cjs/types/collab.js +5 -0
  49. package/dist/cjs/ui/BaseTheme/index.js +27 -11
  50. package/dist/cjs/ui/Caption/index.js +10 -7
  51. package/dist/cjs/ui/Expand/index.js +84 -46
  52. package/dist/cjs/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +9 -9
  53. package/dist/cjs/ui/MediaSingle/index.js +15 -8
  54. package/dist/cjs/ui/MediaSingle/link.js +4 -6
  55. package/dist/cjs/ui/MediaSingle/styled.js +23 -20
  56. package/dist/cjs/ui/Mention/index.js +1 -3
  57. package/dist/cjs/ui/Mention/mention-with-profilecard.js +33 -194
  58. package/dist/cjs/ui/Mention/mention-with-providers.js +1 -5
  59. package/dist/cjs/ui/Messages/index.js +25 -22
  60. package/dist/cjs/ui/Popup/index.js +15 -1
  61. package/dist/cjs/ui/UnsupportedBlock/index.js +9 -6
  62. package/dist/cjs/ui/UnsupportedInline/index.js +8 -6
  63. package/dist/cjs/ui/WidthProvider/index.js +8 -9
  64. package/dist/cjs/ui/clear-next-sibling-margin-top.js +4 -5
  65. package/dist/cjs/ui/index.js +24 -34
  66. package/dist/cjs/utils/compare-props.js +136 -0
  67. package/dist/cjs/utils/index.js +23 -1
  68. package/dist/cjs/utils/performance/hooks/use-component-render-tracking/index.js +47 -0
  69. package/dist/cjs/utils/validator.js +1 -1
  70. package/dist/cjs/version.json +1 -1
  71. package/dist/es2019/i18n/cs.js +3 -3
  72. package/dist/es2019/i18n/da.js +3 -3
  73. package/dist/es2019/i18n/de.js +3 -3
  74. package/dist/es2019/i18n/en_ZZ.js +19 -0
  75. package/dist/es2019/i18n/es.js +3 -3
  76. package/dist/es2019/i18n/fi.js +3 -3
  77. package/dist/es2019/i18n/fr.js +3 -3
  78. package/dist/es2019/i18n/hu.js +3 -3
  79. package/dist/es2019/i18n/it.js +3 -3
  80. package/dist/es2019/i18n/ja.js +3 -3
  81. package/dist/es2019/i18n/ko.js +3 -3
  82. package/dist/es2019/i18n/nb.js +3 -3
  83. package/dist/es2019/i18n/nl.js +3 -3
  84. package/dist/es2019/i18n/pl.js +3 -3
  85. package/dist/es2019/i18n/pt_BR.js +3 -3
  86. package/dist/es2019/i18n/ru.js +3 -3
  87. package/dist/es2019/i18n/sv.js +3 -3
  88. package/dist/es2019/i18n/th.js +3 -3
  89. package/dist/es2019/i18n/tr.js +3 -3
  90. package/dist/es2019/i18n/uk.js +3 -3
  91. package/dist/es2019/i18n/vi.js +3 -3
  92. package/dist/es2019/i18n/zh.js +3 -2
  93. package/dist/es2019/i18n/zh_TW.js +3 -3
  94. package/dist/es2019/index.js +2 -7
  95. package/dist/es2019/normalize-feature-flags.js +40 -4
  96. package/dist/es2019/safe-plugin/index.js +10 -0
  97. package/dist/es2019/styles/index.js +0 -1
  98. package/dist/es2019/styles/shared/annotation.js +11 -11
  99. package/dist/es2019/styles/shared/block-marks.js +3 -2
  100. package/dist/es2019/styles/shared/blockquote.js +1 -1
  101. package/dist/es2019/styles/shared/code-mark.js +14 -11
  102. package/dist/es2019/styles/shared/column-layout.js +1 -1
  103. package/dist/es2019/styles/shared/date.js +1 -1
  104. package/dist/es2019/styles/shared/headings.js +8 -8
  105. package/dist/es2019/styles/shared/indentation.js +1 -1
  106. package/dist/es2019/styles/shared/link.js +1 -1
  107. package/dist/es2019/styles/shared/lists.js +19 -1
  108. package/dist/es2019/styles/shared/media-single.js +1 -1
  109. package/dist/es2019/styles/shared/panel.js +15 -15
  110. package/dist/es2019/styles/shared/paragraph.js +1 -1
  111. package/dist/es2019/styles/shared/rule.js +3 -3
  112. package/dist/es2019/styles/shared/shadow.js +1 -1
  113. package/dist/es2019/styles/shared/table.js +23 -13
  114. package/dist/es2019/styles/shared/task-decision.js +1 -1
  115. package/dist/es2019/styles/shared/text-color.js +1 -1
  116. package/dist/es2019/styles/shared/whitespace.js +1 -1
  117. package/dist/es2019/types/collab.js +1 -0
  118. package/dist/es2019/ui/BaseTheme/index.js +16 -5
  119. package/dist/es2019/ui/Caption/index.js +11 -5
  120. package/dist/es2019/ui/Expand/index.js +97 -67
  121. package/dist/es2019/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +1 -1
  122. package/dist/es2019/ui/MediaSingle/index.js +15 -9
  123. package/dist/es2019/ui/MediaSingle/link.js +3 -4
  124. package/dist/es2019/ui/MediaSingle/styled.js +13 -12
  125. package/dist/es2019/ui/Mention/index.js +1 -3
  126. package/dist/es2019/ui/Mention/mention-with-profilecard.js +33 -146
  127. package/dist/es2019/ui/Mention/mention-with-providers.js +1 -5
  128. package/dist/es2019/ui/Messages/index.js +30 -22
  129. package/dist/es2019/ui/Popup/index.js +16 -1
  130. package/dist/es2019/ui/UnsupportedBlock/index.js +9 -6
  131. package/dist/es2019/ui/UnsupportedInline/index.js +8 -5
  132. package/dist/es2019/ui/WidthProvider/index.js +10 -8
  133. package/dist/es2019/ui/clear-next-sibling-margin-top.js +2 -2
  134. package/dist/es2019/ui/index.js +4 -6
  135. package/dist/es2019/utils/compare-props.js +99 -0
  136. package/dist/es2019/utils/index.js +3 -1
  137. package/dist/es2019/utils/performance/hooks/use-component-render-tracking/index.js +36 -0
  138. package/dist/es2019/utils/validator.js +1 -1
  139. package/dist/es2019/version.json +1 -1
  140. package/dist/esm/i18n/cs.js +3 -3
  141. package/dist/esm/i18n/da.js +3 -3
  142. package/dist/esm/i18n/de.js +3 -3
  143. package/dist/esm/i18n/en_ZZ.js +19 -0
  144. package/dist/esm/i18n/es.js +3 -3
  145. package/dist/esm/i18n/fi.js +3 -3
  146. package/dist/esm/i18n/fr.js +3 -3
  147. package/dist/esm/i18n/hu.js +3 -3
  148. package/dist/esm/i18n/it.js +3 -3
  149. package/dist/esm/i18n/ja.js +3 -3
  150. package/dist/esm/i18n/ko.js +3 -3
  151. package/dist/esm/i18n/nb.js +3 -3
  152. package/dist/esm/i18n/nl.js +3 -3
  153. package/dist/esm/i18n/pl.js +3 -3
  154. package/dist/esm/i18n/pt_BR.js +3 -3
  155. package/dist/esm/i18n/ru.js +3 -3
  156. package/dist/esm/i18n/sv.js +3 -3
  157. package/dist/esm/i18n/th.js +3 -3
  158. package/dist/esm/i18n/tr.js +3 -3
  159. package/dist/esm/i18n/uk.js +3 -3
  160. package/dist/esm/i18n/vi.js +3 -3
  161. package/dist/esm/i18n/zh.js +3 -2
  162. package/dist/esm/i18n/zh_TW.js +3 -3
  163. package/dist/esm/index.js +2 -7
  164. package/dist/esm/normalize-feature-flags.js +39 -4
  165. package/dist/esm/{ui/IntlLegacyFallbackProvider → safe-plugin}/index.js +13 -31
  166. package/dist/esm/styles/index.js +0 -1
  167. package/dist/esm/styles/shared/annotation.js +21 -17
  168. package/dist/esm/styles/shared/block-marks.js +2 -2
  169. package/dist/esm/styles/shared/blockquote.js +1 -1
  170. package/dist/esm/styles/shared/code-mark.js +9 -6
  171. package/dist/esm/styles/shared/column-layout.js +1 -1
  172. package/dist/esm/styles/shared/date.js +1 -1
  173. package/dist/esm/styles/shared/headings.js +4 -2
  174. package/dist/esm/styles/shared/indentation.js +1 -1
  175. package/dist/esm/styles/shared/link.js +1 -1
  176. package/dist/esm/styles/shared/lists.js +3 -2
  177. package/dist/esm/styles/shared/media-single.js +1 -1
  178. package/dist/esm/styles/shared/panel.js +6 -4
  179. package/dist/esm/styles/shared/paragraph.js +1 -1
  180. package/dist/esm/styles/shared/rule.js +4 -2
  181. package/dist/esm/styles/shared/shadow.js +1 -1
  182. package/dist/esm/styles/shared/table.js +37 -33
  183. package/dist/esm/styles/shared/task-decision.js +1 -1
  184. package/dist/esm/styles/shared/text-color.js +1 -1
  185. package/dist/esm/styles/shared/whitespace.js +1 -1
  186. package/dist/esm/types/collab.js +1 -0
  187. package/dist/esm/ui/BaseTheme/index.js +23 -12
  188. package/dist/esm/ui/Caption/index.js +10 -5
  189. package/dist/esm/ui/Expand/index.js +79 -42
  190. package/dist/esm/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +7 -7
  191. package/dist/esm/ui/MediaSingle/index.js +16 -9
  192. package/dist/esm/ui/MediaSingle/link.js +2 -3
  193. package/dist/esm/ui/MediaSingle/styled.js +17 -10
  194. package/dist/esm/ui/Mention/index.js +1 -3
  195. package/dist/esm/ui/Mention/mention-with-profilecard.js +33 -189
  196. package/dist/esm/ui/Mention/mention-with-providers.js +1 -5
  197. package/dist/esm/ui/Messages/index.js +26 -20
  198. package/dist/esm/ui/Popup/index.js +16 -1
  199. package/dist/esm/ui/UnsupportedBlock/index.js +9 -5
  200. package/dist/esm/ui/UnsupportedInline/index.js +8 -5
  201. package/dist/esm/ui/WidthProvider/index.js +7 -6
  202. package/dist/esm/ui/clear-next-sibling-margin-top.js +2 -2
  203. package/dist/esm/ui/index.js +4 -6
  204. package/dist/esm/utils/compare-props.js +115 -0
  205. package/dist/esm/utils/index.js +3 -1
  206. package/dist/esm/utils/performance/hooks/use-component-render-tracking/index.js +37 -0
  207. package/dist/esm/utils/validator.js +1 -1
  208. package/dist/esm/version.json +1 -1
  209. package/dist/types/__tests_external__/page-objects/Editor.d.ts +0 -1
  210. package/dist/types/__tests_external__/page-objects/EditorMedia.d.ts +0 -1
  211. package/dist/types/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -1
  212. package/dist/types/__tests_external__/page-objects/Renderer.d.ts +0 -1
  213. package/dist/types/collab/types.d.ts +14 -2
  214. package/dist/types/collab.d.ts +1 -1
  215. package/dist/types/extensions/types/field-definitions.d.ts +1 -1
  216. package/dist/types/i18n/cs.d.ts +2 -2
  217. package/dist/types/i18n/da.d.ts +2 -2
  218. package/dist/types/i18n/de.d.ts +2 -2
  219. package/dist/types/i18n/en_ZZ.d.ts +19 -0
  220. package/dist/types/i18n/es.d.ts +2 -2
  221. package/dist/types/i18n/fi.d.ts +2 -2
  222. package/dist/types/i18n/fr.d.ts +2 -2
  223. package/dist/types/i18n/hu.d.ts +2 -2
  224. package/dist/types/i18n/it.d.ts +2 -2
  225. package/dist/types/i18n/ja.d.ts +2 -2
  226. package/dist/types/i18n/ko.d.ts +2 -2
  227. package/dist/types/i18n/nb.d.ts +2 -2
  228. package/dist/types/i18n/nl.d.ts +2 -2
  229. package/dist/types/i18n/pl.d.ts +2 -2
  230. package/dist/types/i18n/pt_BR.d.ts +2 -2
  231. package/dist/types/i18n/ru.d.ts +2 -2
  232. package/dist/types/i18n/sv.d.ts +2 -2
  233. package/dist/types/i18n/th.d.ts +2 -2
  234. package/dist/types/i18n/tr.d.ts +2 -2
  235. package/dist/types/i18n/uk.d.ts +2 -2
  236. package/dist/types/i18n/vi.d.ts +2 -2
  237. package/dist/types/i18n/zh.d.ts +2 -2
  238. package/dist/types/i18n/zh_TW.d.ts +2 -2
  239. package/dist/types/index.d.ts +1 -14
  240. package/dist/types/normalize-feature-flags.d.ts +6 -3
  241. package/dist/types/safe-plugin/index.d.ts +6 -0
  242. package/dist/types/styles/index.d.ts +0 -1
  243. package/dist/types/styles/shared/annotation.d.ts +5 -4
  244. package/dist/types/styles/shared/block-marks.d.ts +1 -1
  245. package/dist/types/styles/shared/blockquote.d.ts +1 -1
  246. package/dist/types/styles/shared/code-mark.d.ts +2 -1
  247. package/dist/types/styles/shared/column-layout.d.ts +1 -1
  248. package/dist/types/styles/shared/date.d.ts +1 -1
  249. package/dist/types/styles/shared/headings.d.ts +2 -1
  250. package/dist/types/styles/shared/indentation.d.ts +1 -1
  251. package/dist/types/styles/shared/link.d.ts +1 -1
  252. package/dist/types/styles/shared/lists.d.ts +1 -1
  253. package/dist/types/styles/shared/media-single.d.ts +1 -1
  254. package/dist/types/styles/shared/panel.d.ts +1 -1
  255. package/dist/types/styles/shared/paragraph.d.ts +1 -1
  256. package/dist/types/styles/shared/rule.d.ts +2 -1
  257. package/dist/types/styles/shared/shadow.d.ts +1 -1
  258. package/dist/types/styles/shared/table.d.ts +2 -1
  259. package/dist/types/styles/shared/task-decision.d.ts +1 -1
  260. package/dist/types/styles/shared/text-color.d.ts +1 -1
  261. package/dist/types/styles/shared/whitespace.d.ts +1 -1
  262. package/dist/types/types/collab.d.ts +8 -0
  263. package/dist/types/types/index.d.ts +1 -0
  264. package/dist/types/ui/Caption/index.d.ts +3 -1
  265. package/dist/types/ui/Expand/index.d.ts +12 -10
  266. package/dist/types/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.d.ts +1 -1
  267. package/dist/types/ui/MediaSingle/index.d.ts +4 -1
  268. package/dist/types/ui/MediaSingle/link.d.ts +1 -2
  269. package/dist/types/ui/MediaSingle/styled.d.ts +10 -5
  270. package/dist/types/ui/Mention/index.d.ts +0 -3
  271. package/dist/types/ui/Mention/mention-with-profilecard.d.ts +2 -25
  272. package/dist/types/ui/Mention/mention-with-providers.d.ts +0 -3
  273. package/dist/types/ui/Messages/index.d.ts +5 -3
  274. package/dist/types/ui/Popup/index.d.ts +3 -0
  275. package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -0
  276. package/dist/types/ui/UnsupportedInline/index.d.ts +1 -0
  277. package/dist/types/ui/WidthProvider/index.d.ts +3 -1
  278. package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -2
  279. package/dist/types/ui/index.d.ts +5 -7
  280. package/dist/types/utils/compare-props.d.ts +32 -0
  281. package/dist/types/utils/getModeFromTheme.d.ts +1 -1
  282. package/dist/types/utils/index.d.ts +4 -0
  283. package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +19 -0
  284. package/package.json +20 -19
  285. package/safe-plugin/package.json +7 -0
  286. package/dist/cjs/styles/shared/inline-nodes.js +0 -17
  287. package/dist/cjs/ui/LegacyToNextIntlProvider/index.js +0 -67
  288. package/dist/es2019/styles/shared/inline-nodes.js +0 -7
  289. package/dist/es2019/ui/IntlLegacyFallbackProvider/index.js +0 -21
  290. package/dist/es2019/ui/LegacyToNextIntlProvider/index.js +0 -24
  291. package/dist/esm/styles/shared/inline-nodes.js +0 -7
  292. package/dist/esm/ui/LegacyToNextIntlProvider/index.js +0 -51
  293. package/dist/types/styles/shared/inline-nodes.d.ts +0 -2
  294. package/dist/types/ui/IntlLegacyFallbackProvider/index.d.ts +0 -8
  295. package/dist/types/ui/LegacyToNextIntlProvider/index.d.ts +0 -8
@@ -2,7 +2,7 @@ export { default as Caption } from './Caption';
2
2
  export { default as MediaSingle, DEFAULT_IMAGE_WIDTH, DEFAULT_IMAGE_HEIGHT, wrappedLayouts, shouldAddDefaultWrappedWidth } from './MediaSingle';
3
3
  export { MediaSingleDimensionHelper } from './MediaSingle/styled';
4
4
  export { layoutSupportsWidth, calcPxFromColumns, calcPctFromPx, calcPxFromPct, calcColumnsFromPx, snapToGrid } from './MediaSingle/grid';
5
- export { MediaLink } from './MediaSingle/link';
5
+ export { mediaLinkStyle } from './MediaSingle/link';
6
6
  export { default as Popup, findOverflowScrollParent } from './Popup';
7
7
  export { default as UnsupportedBlock } from './UnsupportedBlock';
8
8
  export { default as UnsupportedInline } from './UnsupportedInline';
@@ -11,9 +11,7 @@ export { default as withOuterListeners } from './with-outer-listeners';
11
11
  export { WidthConsumer, WidthProvider, getBreakpoint } from './WidthProvider';
12
12
  export { default as overflowShadow, shadowClassNames } from './OverflowShadow';
13
13
  export { WithCreateAnalyticsEvent } from './WithCreateAnalyticsEvent';
14
- export { messages as expandMessages, sharedExpandStyles, ExpandIconWrapper, ExpandLayoutWrapper } from './Expand';
14
+ export { messages as expandMessages, sharedExpandStyles, ExpandIconWrapper, expandLayoutWrapperStyle, ExpandLayoutWrapperWithRef } from './Expand';
15
15
  export { ErrorMessage, HelperMessage, ValidMessage } from './Messages';
16
- export { ClearNextSiblingMarginTop } from './clear-next-sibling-margin-top';
17
- export { IntlNextErrorBoundary, REACT_INTL_ERROR_MESSAGE } from './IntlNextErrorBoundary';
18
- export { IntlLegacyFallbackProvider } from './IntlLegacyFallbackProvider';
19
- export { LegacyToNextIntlProvider } from './LegacyToNextIntlProvider';
16
+ export { clearNextSiblingMarginTopStyle } from './clear-next-sibling-margin-top';
17
+ export { IntlErrorBoundary, REACT_INTL_ERROR_MESSAGE } from './IntlErrorBoundary';
@@ -0,0 +1,115 @@
1
+ import _typeof from "@babel/runtime/helpers/typeof";
2
+ import React from 'react';
3
+ export var getKeys = Object.keys;
4
+ export var getKeysAddedRemovedCommon = function getKeysAddedRemovedCommon(object1, object2) {
5
+ var oldKeys = object1 !== null ? getKeys(object1) : [];
6
+ var newKeys = object2 !== null ? getKeys(object2) : [];
7
+ var removed = oldKeys.filter(function (key) {
8
+ return !newKeys.includes(key);
9
+ });
10
+ var added = newKeys.filter(function (key) {
11
+ return !oldKeys.includes(key);
12
+ });
13
+ var common = oldKeys.filter(function (key) {
14
+ return newKeys.includes(key);
15
+ });
16
+ return {
17
+ added: added,
18
+ common: common,
19
+ removed: removed
20
+ };
21
+ };
22
+ export var serializeValue = function serializeValue(value) {
23
+ var valueType = _typeof(value);
24
+
25
+ if (value === null) {
26
+ return 'null';
27
+ } else if (value === undefined) {
28
+ return 'undefined';
29
+ } else if (valueType === 'string' || valueType === 'number') {
30
+ return value;
31
+ } else if (valueType === 'symbol') {
32
+ return value.toString();
33
+ } // Calling toString of function returns whole function text with body.
34
+ // So, just return function with name.
35
+ else if (valueType === 'function') {
36
+ return "function:".concat(value.name);
37
+ } else if (valueType === 'object') {
38
+ return {
39
+ type: 'object',
40
+ keys: Object.keys(value)
41
+ };
42
+ }
43
+ };
44
+ export var getPropsDifference = function getPropsDifference(object1, object2) {
45
+ var curDepth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
46
+ var maxDepth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 2;
47
+ var keysToIgnore = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];
48
+
49
+ var _getKeysAddedRemovedC = getKeysAddedRemovedCommon(object1, object2),
50
+ added = _getKeysAddedRemovedC.added,
51
+ common = _getKeysAddedRemovedC.common,
52
+ removed = _getKeysAddedRemovedC.removed;
53
+
54
+ var changed = [];
55
+ common.forEach(function (key) {
56
+ var value1 = object1[key];
57
+ var value2 = object2[key];
58
+
59
+ var value1Type = _typeof(value1);
60
+
61
+ var value2Type = _typeof(value2); // Do comparision only if values doesn't match (or reference to same object in memory).
62
+ // Or if key does not exist in keys to ignore.
63
+
64
+
65
+ if (value1 !== value2 && keysToIgnore.indexOf(key) === -1) {
66
+ // if both key value are objects and not referencing same object in memory.
67
+ // then get recursive difference.
68
+ if ( /*#__PURE__*/React.isValidElement(value1) || /*#__PURE__*/React.isValidElement(value2)) {
69
+ changed.push({
70
+ key: key,
71
+ reactElementChanged: true
72
+ });
73
+ } else if (value1Type === 'object' && value2Type === 'object') {
74
+ if (curDepth <= maxDepth) {
75
+ var difference = getPropsDifference(value1, value2, curDepth + 1, maxDepth);
76
+ changed.push({
77
+ key: key,
78
+ difference: difference
79
+ });
80
+ } else {
81
+ changed.push({
82
+ key: key,
83
+ maxDepthReached: true
84
+ });
85
+ }
86
+ } else {
87
+ changed.push({
88
+ key: key,
89
+ oldValue: serializeValue(value1),
90
+ newValue: serializeValue(value2)
91
+ });
92
+ }
93
+ }
94
+ });
95
+ return {
96
+ added: added,
97
+ changed: changed,
98
+ removed: removed
99
+ };
100
+ };
101
+ export var getShallowPropsDifference = function getShallowPropsDifference(object1, object2) {
102
+ var _getKeysAddedRemovedC2 = getKeysAddedRemovedCommon(object1, object2),
103
+ added = _getKeysAddedRemovedC2.added,
104
+ common = _getKeysAddedRemovedC2.common,
105
+ removed = _getKeysAddedRemovedC2.removed;
106
+
107
+ var changed = common.filter(function (key) {
108
+ return object1[key] !== object2[key];
109
+ });
110
+ return {
111
+ added: added,
112
+ changed: changed,
113
+ removed: removed
114
+ };
115
+ };
@@ -23,4 +23,6 @@ export { shouldForceTracking } from './should-force-tracking';
23
23
  export { getModeFromTheme } from './getModeFromTheme';
24
24
  export { sniffUserBrowserExtensions } from './browser-extensions';
25
25
  export { RenderCountProfiler } from './profiler/render-count';
26
- export { validateADFEntity, validationErrorHandler } from './validate-using-spec';
26
+ export { validateADFEntity, validationErrorHandler } from './validate-using-spec';
27
+ export { getShallowPropsDifference, getPropsDifference } from './compare-props';
28
+ export { useComponentRenderTracking } from './performance/hooks/use-component-render-tracking';
@@ -0,0 +1,37 @@
1
+ import { useEffect, useRef } from 'react';
2
+ import { uuid } from '@atlaskit/adf-schema';
3
+ import { getPropsDifference, getShallowPropsDifference } from '../../../compare-props';
4
+ export function useComponentRenderTracking(_ref) {
5
+ var onRender = _ref.onRender,
6
+ propsDiffingOptions = _ref.propsDiffingOptions,
7
+ _ref$zeroBasedCount = _ref.zeroBasedCount,
8
+ zeroBasedCount = _ref$zeroBasedCount === void 0 ? true : _ref$zeroBasedCount;
9
+ var propsRef = useRef();
10
+ var renderCountRef = useRef(zeroBasedCount ? 0 : 1);
11
+
12
+ var _useRef = useRef(uuid.generate()),
13
+ componentId = _useRef.current;
14
+
15
+ useEffect(function () {
16
+ var lastProps = propsRef.current;
17
+ var renderCount = renderCountRef.current;
18
+ var propsDifference;
19
+
20
+ if (propsDiffingOptions !== null && propsDiffingOptions !== void 0 && propsDiffingOptions.enabled && lastProps) {
21
+ propsDifference = propsDiffingOptions !== null && propsDiffingOptions !== void 0 && propsDiffingOptions.useShallow ? getShallowPropsDifference(lastProps, propsDiffingOptions.props) : getPropsDifference(lastProps, propsDiffingOptions.props, 0, 2, propsDiffingOptions === null || propsDiffingOptions === void 0 ? void 0 : propsDiffingOptions.propsToIgnore);
22
+ }
23
+
24
+ var result = {
25
+ renderCount: renderCount,
26
+ propsDifference: propsDifference,
27
+ componentId: componentId
28
+ };
29
+ onRender(result);
30
+
31
+ if (propsDiffingOptions !== null && propsDiffingOptions !== void 0 && propsDiffingOptions.enabled) {
32
+ propsRef.current = propsDiffingOptions.props;
33
+ }
34
+
35
+ renderCountRef.current = renderCountRef.current + 1;
36
+ }); // No dependencies run on each render
37
+ }
@@ -370,7 +370,7 @@ export var getValidNode = function getValidNode(originalNode) {
370
370
  mediaCollection = collection;
371
371
  }
372
372
 
373
- if (mediaId && mediaCollection && adfStage === 'stage0') {
373
+ if (mediaId && mediaCollection) {
374
374
  return {
375
375
  type: type,
376
376
  attrs: attrs,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "63.0.1",
3
+ "version": "66.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,4 @@
1
1
  /// <reference types="cypress" />
2
- /// <reference types="jquery" />
3
2
  import { InProductTestPageObject } from '@atlaskit/in-product-testing';
4
3
  import { EditorTestCaseOpts } from '../cases/types';
5
4
  import { RendererPageObject } from './Renderer';
@@ -1,5 +1,4 @@
1
1
  /// <reference types="cypress" />
2
- /// <reference types="jquery" />
3
2
  import { CypressType, InProductTestPageObject } from '@atlaskit/in-product-testing';
4
3
  export declare class EditorMediaPageObject extends InProductTestPageObject {
5
4
  protected cy: CypressType;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="cypress" />
2
- /// <reference types="jquery" />
3
2
  import { CypressType, InProductTestPageObject } from '@atlaskit/in-product-testing';
4
3
  import { CardAppearance } from '@atlaskit/smart-card';
5
4
  import { EditorPageObject } from './Editor';
@@ -1,5 +1,4 @@
1
1
  /// <reference types="cypress" />
2
- /// <reference types="jquery" />
3
2
  import { InProductTestPageObject } from '@atlaskit/in-product-testing';
4
3
  export declare class RendererPageObject extends InProductTestPageObject {
5
4
  getContent(): Cypress.Chainable<JQuery<HTMLElement>>;
@@ -1,5 +1,7 @@
1
1
  import { EditorState, Transaction } from 'prosemirror-state';
2
2
  import { Step } from 'prosemirror-transform';
3
+ import { JSONDocNode } from '@atlaskit/editor-json-transformer';
4
+ import { SyncUpErrorFunction } from '../types';
3
5
  export interface CollabParticipant {
4
6
  lastActive: number;
5
7
  sessionId: string;
@@ -23,7 +25,7 @@ export interface CollabEventRemoteData {
23
25
  export interface CollabEventConnectionData {
24
26
  sid: string;
25
27
  }
26
- export interface CollabEventDisonnectedData {
28
+ export interface CollabEventDisconnectedData {
27
29
  sid: string;
28
30
  reason: 'CLIENT_DISCONNECT' | 'SERVER_DISCONNECT' | 'SOCKET_CLOSED' | 'SOCKET_ERROR' | 'SOCKET_TIMEOUT' | 'UNKNOWN_DISCONNECT';
29
31
  }
@@ -50,7 +52,7 @@ export declare type CollabEvent = keyof CollabEventData;
50
52
  export interface CollabEventData {
51
53
  init: CollabEventInitData;
52
54
  connected: CollabEventConnectionData;
53
- disconnected: CollabEventDisonnectedData;
55
+ disconnected: CollabEventDisconnectedData;
54
56
  data: CollabEventRemoteData;
55
57
  telepointer: CollabEventTelepointerData;
56
58
  presence: CollabEventPresenceData;
@@ -58,8 +60,17 @@ export interface CollabEventData {
58
60
  'local-steps': any;
59
61
  entity: any;
60
62
  }
63
+ export declare type ResolvedEditorState<T = any> = {
64
+ content: JSONDocNode | T;
65
+ title: string | null;
66
+ stepVersion: number;
67
+ };
61
68
  export interface CollabEditProvider<Events extends CollabEventData = CollabEventData> {
62
69
  initialize(getState: () => any, createStep: (json: object) => Step): this;
70
+ setup(props: {
71
+ getState: () => EditorState;
72
+ onSyncUpError?: SyncUpErrorFunction;
73
+ }): this;
63
74
  send(tr: Transaction, oldState: EditorState, newState: EditorState): void;
64
75
  on(evt: keyof Events, handler: (...args: any) => void): this;
65
76
  off(evt: keyof Events, handler: (...args: any) => void): this;
@@ -67,4 +78,5 @@ export interface CollabEditProvider<Events extends CollabEventData = CollabEvent
67
78
  sendMessage<K extends keyof Events>(data: {
68
79
  type: K;
69
80
  } & Events[K]): void;
81
+ getFinalAcknowledgedState(): Promise<ResolvedEditorState>;
70
82
  }
@@ -1 +1 @@
1
- export type { CollabEditProvider, CollabEventPresenceData, CollabEvent, CollabEventConnectionData, CollabEventData, CollabEventInitData, CollabEventRemoteData, CollabEventTelepointerData, CollabParticipant, CollabSendableSelection, CollabEventLocalStepData, } from './collab/types';
1
+ export type { CollabEditProvider, CollabEventPresenceData, CollabEvent, CollabEventConnectionData, CollabEventData, CollabEventInitData, CollabEventRemoteData, CollabEventTelepointerData, CollabParticipant, CollabSendableSelection, CollabEventLocalStepData, ResolvedEditorState, } from './collab/types';
@@ -11,7 +11,7 @@ export declare type Option = {
11
11
  */
12
12
  icon?: string | React.ReactNode;
13
13
  };
14
- import { SmartUserPickerProps } from '@atlaskit/user-picker';
14
+ import { Props as SmartUserPickerProps } from '@atlaskit/smart-user-picker';
15
15
  export declare type UserFieldContext = Pick<SmartUserPickerProps, 'siteId' | 'principalId' | 'fieldId' | 'productKey' | 'containerId' | 'objectId' | 'childObjectId' | 'productAttributes' | 'includeUsers'>;
16
16
  interface BaseFieldDefinition {
17
17
  description?: string;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ 'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
+ 'fabric.editor.collapseNode': string;
5
+ 'fabric.editor.expandDefaultTitle': string;
6
+ 'fabric.editor.expandNode': string;
7
+ 'fabric.editor.expandPlaceholder': string;
8
+ 'fabric.editor.openLink': string;
9
+ 'fabric.editor.unsupportedBlockContent': string;
10
+ 'fabric.editor.unsupportedContentTooltip': string;
11
+ 'fabric.editor.unsupportedInlineContent': string;
12
+ };
13
+ /**
14
+ * NOTE:
15
+ *
16
+ * This file is automatically generated by Traduki 2.0.
17
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
+ */
19
+ export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
- 'fabric.editor.codeBidiWarningLabel': string;
3
2
  'fabric.editor.captionPlaceholder': string;
3
+ 'fabric.editor.codeBidiWarningLabel': string;
4
4
  'fabric.editor.collapseNode': string;
5
5
  'fabric.editor.expandDefaultTitle': string;
6
6
  'fabric.editor.expandNode': string;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  /**
14
14
  * NOTE:
15
15
  *
16
- * This file is automatically generated by i18n-tools.
16
+ * This file is automatically generated by Traduki 2.0.
17
17
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
18
18
  */
19
19
  export default _default;