@atlaskit/editor-common 63.0.0 → 65.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 (248) hide show
  1. package/CHANGELOG.md +52 -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/safe-plugin/index.js +42 -0
  27. package/dist/cjs/styles/index.js +0 -8
  28. package/dist/cjs/styles/shared/annotation.js +25 -17
  29. package/dist/cjs/styles/shared/block-marks.js +2 -2
  30. package/dist/cjs/styles/shared/blockquote.js +2 -2
  31. package/dist/cjs/styles/shared/code-mark.js +9 -5
  32. package/dist/cjs/styles/shared/column-layout.js +2 -2
  33. package/dist/cjs/styles/shared/date.js +2 -2
  34. package/dist/cjs/styles/shared/headings.js +5 -2
  35. package/dist/cjs/styles/shared/indentation.js +2 -2
  36. package/dist/cjs/styles/shared/lists.js +4 -2
  37. package/dist/cjs/styles/shared/media-single.js +2 -2
  38. package/dist/cjs/styles/shared/paragraph.js +2 -2
  39. package/dist/cjs/styles/shared/shadow.js +2 -2
  40. package/dist/cjs/styles/shared/table.js +37 -33
  41. package/dist/cjs/styles/shared/task-decision.js +2 -2
  42. package/dist/cjs/styles/shared/text-color.js +2 -2
  43. package/dist/cjs/styles/shared/whitespace.js +2 -2
  44. package/dist/cjs/types/collab.js +5 -0
  45. package/dist/cjs/ui/BaseTheme/index.js +27 -11
  46. package/dist/cjs/ui/Caption/index.js +10 -7
  47. package/dist/cjs/ui/MediaSingle/index.js +3 -1
  48. package/dist/cjs/ui/MediaSingle/link.js +4 -6
  49. package/dist/cjs/ui/Mention/index.js +1 -3
  50. package/dist/cjs/ui/Mention/mention-with-profilecard.js +33 -194
  51. package/dist/cjs/ui/Mention/mention-with-providers.js +1 -5
  52. package/dist/cjs/ui/Messages/index.js +25 -22
  53. package/dist/cjs/ui/UnsupportedBlock/index.js +9 -6
  54. package/dist/cjs/ui/UnsupportedInline/index.js +8 -6
  55. package/dist/cjs/ui/WidthProvider/index.js +8 -9
  56. package/dist/cjs/ui/clear-next-sibling-margin-top.js +4 -5
  57. package/dist/cjs/ui/index.js +12 -12
  58. package/dist/cjs/utils/browser.js +1 -1
  59. package/dist/cjs/version.json +1 -1
  60. package/dist/es2019/i18n/cs.js +3 -3
  61. package/dist/es2019/i18n/da.js +3 -3
  62. package/dist/es2019/i18n/de.js +3 -3
  63. package/dist/es2019/i18n/en_ZZ.js +19 -0
  64. package/dist/es2019/i18n/es.js +3 -3
  65. package/dist/es2019/i18n/fi.js +3 -3
  66. package/dist/es2019/i18n/fr.js +3 -3
  67. package/dist/es2019/i18n/hu.js +3 -3
  68. package/dist/es2019/i18n/it.js +3 -3
  69. package/dist/es2019/i18n/ja.js +3 -3
  70. package/dist/es2019/i18n/ko.js +3 -3
  71. package/dist/es2019/i18n/nb.js +3 -3
  72. package/dist/es2019/i18n/nl.js +3 -3
  73. package/dist/es2019/i18n/pl.js +3 -3
  74. package/dist/es2019/i18n/pt_BR.js +3 -3
  75. package/dist/es2019/i18n/ru.js +3 -3
  76. package/dist/es2019/i18n/sv.js +3 -3
  77. package/dist/es2019/i18n/th.js +3 -3
  78. package/dist/es2019/i18n/tr.js +3 -3
  79. package/dist/es2019/i18n/uk.js +3 -3
  80. package/dist/es2019/i18n/vi.js +3 -3
  81. package/dist/es2019/i18n/zh.js +3 -2
  82. package/dist/es2019/i18n/zh_TW.js +3 -3
  83. package/dist/es2019/index.js +2 -7
  84. package/dist/es2019/safe-plugin/index.js +10 -0
  85. package/dist/es2019/styles/index.js +0 -1
  86. package/dist/es2019/styles/shared/annotation.js +11 -11
  87. package/dist/es2019/styles/shared/block-marks.js +3 -2
  88. package/dist/es2019/styles/shared/blockquote.js +1 -1
  89. package/dist/es2019/styles/shared/code-mark.js +14 -11
  90. package/dist/es2019/styles/shared/column-layout.js +1 -1
  91. package/dist/es2019/styles/shared/date.js +1 -1
  92. package/dist/es2019/styles/shared/headings.js +8 -8
  93. package/dist/es2019/styles/shared/indentation.js +1 -1
  94. package/dist/es2019/styles/shared/lists.js +17 -1
  95. package/dist/es2019/styles/shared/media-single.js +1 -1
  96. package/dist/es2019/styles/shared/paragraph.js +1 -1
  97. package/dist/es2019/styles/shared/shadow.js +1 -1
  98. package/dist/es2019/styles/shared/table.js +14 -12
  99. package/dist/es2019/styles/shared/task-decision.js +1 -1
  100. package/dist/es2019/styles/shared/text-color.js +1 -1
  101. package/dist/es2019/styles/shared/whitespace.js +1 -1
  102. package/dist/es2019/types/collab.js +1 -0
  103. package/dist/es2019/ui/BaseTheme/index.js +16 -5
  104. package/dist/es2019/ui/Caption/index.js +11 -5
  105. package/dist/es2019/ui/MediaSingle/index.js +3 -1
  106. package/dist/es2019/ui/MediaSingle/link.js +3 -4
  107. package/dist/es2019/ui/Mention/index.js +1 -3
  108. package/dist/es2019/ui/Mention/mention-with-profilecard.js +33 -146
  109. package/dist/es2019/ui/Mention/mention-with-providers.js +1 -5
  110. package/dist/es2019/ui/Messages/index.js +30 -22
  111. package/dist/es2019/ui/UnsupportedBlock/index.js +9 -5
  112. package/dist/es2019/ui/UnsupportedInline/index.js +8 -5
  113. package/dist/es2019/ui/WidthProvider/index.js +10 -8
  114. package/dist/es2019/ui/clear-next-sibling-margin-top.js +2 -2
  115. package/dist/es2019/ui/index.js +2 -2
  116. package/dist/es2019/utils/browser.js +1 -1
  117. package/dist/es2019/version.json +1 -1
  118. package/dist/esm/i18n/cs.js +3 -3
  119. package/dist/esm/i18n/da.js +3 -3
  120. package/dist/esm/i18n/de.js +3 -3
  121. package/dist/esm/i18n/en_ZZ.js +19 -0
  122. package/dist/esm/i18n/es.js +3 -3
  123. package/dist/esm/i18n/fi.js +3 -3
  124. package/dist/esm/i18n/fr.js +3 -3
  125. package/dist/esm/i18n/hu.js +3 -3
  126. package/dist/esm/i18n/it.js +3 -3
  127. package/dist/esm/i18n/ja.js +3 -3
  128. package/dist/esm/i18n/ko.js +3 -3
  129. package/dist/esm/i18n/nb.js +3 -3
  130. package/dist/esm/i18n/nl.js +3 -3
  131. package/dist/esm/i18n/pl.js +3 -3
  132. package/dist/esm/i18n/pt_BR.js +3 -3
  133. package/dist/esm/i18n/ru.js +3 -3
  134. package/dist/esm/i18n/sv.js +3 -3
  135. package/dist/esm/i18n/th.js +3 -3
  136. package/dist/esm/i18n/tr.js +3 -3
  137. package/dist/esm/i18n/uk.js +3 -3
  138. package/dist/esm/i18n/vi.js +3 -3
  139. package/dist/esm/i18n/zh.js +3 -2
  140. package/dist/esm/i18n/zh_TW.js +3 -3
  141. package/dist/esm/index.js +2 -7
  142. package/dist/esm/safe-plugin/index.js +27 -0
  143. package/dist/esm/styles/index.js +0 -1
  144. package/dist/esm/styles/shared/annotation.js +21 -17
  145. package/dist/esm/styles/shared/block-marks.js +2 -2
  146. package/dist/esm/styles/shared/blockquote.js +1 -1
  147. package/dist/esm/styles/shared/code-mark.js +9 -6
  148. package/dist/esm/styles/shared/column-layout.js +1 -1
  149. package/dist/esm/styles/shared/date.js +1 -1
  150. package/dist/esm/styles/shared/headings.js +4 -2
  151. package/dist/esm/styles/shared/indentation.js +1 -1
  152. package/dist/esm/styles/shared/lists.js +3 -2
  153. package/dist/esm/styles/shared/media-single.js +1 -1
  154. package/dist/esm/styles/shared/paragraph.js +1 -1
  155. package/dist/esm/styles/shared/shadow.js +1 -1
  156. package/dist/esm/styles/shared/table.js +37 -33
  157. package/dist/esm/styles/shared/task-decision.js +1 -1
  158. package/dist/esm/styles/shared/text-color.js +1 -1
  159. package/dist/esm/styles/shared/whitespace.js +1 -1
  160. package/dist/esm/types/collab.js +1 -0
  161. package/dist/esm/ui/BaseTheme/index.js +23 -12
  162. package/dist/esm/ui/Caption/index.js +10 -5
  163. package/dist/esm/ui/MediaSingle/index.js +3 -1
  164. package/dist/esm/ui/MediaSingle/link.js +2 -3
  165. package/dist/esm/ui/Mention/index.js +1 -3
  166. package/dist/esm/ui/Mention/mention-with-profilecard.js +33 -189
  167. package/dist/esm/ui/Mention/mention-with-providers.js +1 -5
  168. package/dist/esm/ui/Messages/index.js +26 -20
  169. package/dist/esm/ui/UnsupportedBlock/index.js +9 -5
  170. package/dist/esm/ui/UnsupportedInline/index.js +8 -5
  171. package/dist/esm/ui/WidthProvider/index.js +7 -6
  172. package/dist/esm/ui/clear-next-sibling-margin-top.js +2 -2
  173. package/dist/esm/ui/index.js +2 -2
  174. package/dist/esm/utils/browser.js +1 -1
  175. package/dist/esm/version.json +1 -1
  176. package/dist/types/__tests_external__/page-objects/Editor.d.ts +0 -1
  177. package/dist/types/__tests_external__/page-objects/EditorMedia.d.ts +0 -1
  178. package/dist/types/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -1
  179. package/dist/types/__tests_external__/page-objects/Renderer.d.ts +0 -1
  180. package/dist/types/collab/types.d.ts +14 -2
  181. package/dist/types/collab.d.ts +1 -1
  182. package/dist/types/i18n/cs.d.ts +2 -2
  183. package/dist/types/i18n/da.d.ts +2 -2
  184. package/dist/types/i18n/de.d.ts +2 -2
  185. package/dist/types/i18n/en_ZZ.d.ts +19 -0
  186. package/dist/types/i18n/es.d.ts +2 -2
  187. package/dist/types/i18n/fi.d.ts +2 -2
  188. package/dist/types/i18n/fr.d.ts +2 -2
  189. package/dist/types/i18n/hu.d.ts +2 -2
  190. package/dist/types/i18n/it.d.ts +2 -2
  191. package/dist/types/i18n/ja.d.ts +2 -2
  192. package/dist/types/i18n/ko.d.ts +2 -2
  193. package/dist/types/i18n/nb.d.ts +2 -2
  194. package/dist/types/i18n/nl.d.ts +2 -2
  195. package/dist/types/i18n/pl.d.ts +2 -2
  196. package/dist/types/i18n/pt_BR.d.ts +2 -2
  197. package/dist/types/i18n/ru.d.ts +2 -2
  198. package/dist/types/i18n/sv.d.ts +2 -2
  199. package/dist/types/i18n/th.d.ts +2 -2
  200. package/dist/types/i18n/tr.d.ts +2 -2
  201. package/dist/types/i18n/uk.d.ts +2 -2
  202. package/dist/types/i18n/vi.d.ts +2 -2
  203. package/dist/types/i18n/zh.d.ts +2 -2
  204. package/dist/types/i18n/zh_TW.d.ts +2 -2
  205. package/dist/types/index.d.ts +1 -14
  206. package/dist/types/safe-plugin/index.d.ts +6 -0
  207. package/dist/types/styles/index.d.ts +0 -1
  208. package/dist/types/styles/shared/annotation.d.ts +5 -4
  209. package/dist/types/styles/shared/block-marks.d.ts +1 -1
  210. package/dist/types/styles/shared/blockquote.d.ts +1 -1
  211. package/dist/types/styles/shared/code-mark.d.ts +2 -1
  212. package/dist/types/styles/shared/column-layout.d.ts +1 -1
  213. package/dist/types/styles/shared/date.d.ts +1 -1
  214. package/dist/types/styles/shared/headings.d.ts +2 -1
  215. package/dist/types/styles/shared/indentation.d.ts +1 -1
  216. package/dist/types/styles/shared/lists.d.ts +1 -1
  217. package/dist/types/styles/shared/media-single.d.ts +1 -1
  218. package/dist/types/styles/shared/panel.d.ts +1 -1
  219. package/dist/types/styles/shared/paragraph.d.ts +1 -1
  220. package/dist/types/styles/shared/rule.d.ts +1 -1
  221. package/dist/types/styles/shared/shadow.d.ts +1 -1
  222. package/dist/types/styles/shared/table.d.ts +2 -1
  223. package/dist/types/styles/shared/task-decision.d.ts +1 -1
  224. package/dist/types/styles/shared/text-color.d.ts +1 -1
  225. package/dist/types/styles/shared/whitespace.d.ts +1 -1
  226. package/dist/types/types/collab.d.ts +8 -0
  227. package/dist/types/types/index.d.ts +1 -0
  228. package/dist/types/ui/Caption/index.d.ts +3 -1
  229. package/dist/types/ui/Expand/index.d.ts +2 -2
  230. package/dist/types/ui/MediaSingle/index.d.ts +2 -1
  231. package/dist/types/ui/MediaSingle/link.d.ts +1 -2
  232. package/dist/types/ui/MediaSingle/styled.d.ts +2 -2
  233. package/dist/types/ui/Mention/index.d.ts +0 -3
  234. package/dist/types/ui/Mention/mention-with-profilecard.d.ts +2 -25
  235. package/dist/types/ui/Mention/mention-with-providers.d.ts +0 -3
  236. package/dist/types/ui/Messages/index.d.ts +5 -3
  237. package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -0
  238. package/dist/types/ui/UnsupportedInline/index.d.ts +1 -0
  239. package/dist/types/ui/WidthProvider/index.d.ts +3 -1
  240. package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -2
  241. package/dist/types/ui/index.d.ts +3 -3
  242. package/dist/types/utils/getModeFromTheme.d.ts +1 -1
  243. package/package.json +18 -16
  244. package/safe-plugin/package.json +7 -0
  245. package/dist/cjs/styles/shared/inline-nodes.js +0 -17
  246. package/dist/es2019/styles/shared/inline-nodes.js +0 -7
  247. package/dist/esm/styles/shared/inline-nodes.js +0 -7
  248. package/dist/types/styles/shared/inline-nodes.d.ts +0 -2
@@ -1,35 +1,37 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
2
 
3
- var _templateObject, _templateObject2;
3
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
4
4
 
5
- import React from 'react';
6
- import styled from 'styled-components';
5
+ /** @jsx jsx */
6
+ import { css, jsx } from '@emotion/react';
7
7
  import SuccessIcon from '@atlaskit/icon/glyph/editor/success';
8
8
  import ErrorIcon from '@atlaskit/icon/glyph/error';
9
9
  import { G400, N200, R400 } from '@atlaskit/theme/colors';
10
10
  import { gridSize } from '@atlaskit/theme/constants';
11
11
  import { h200 } from '@atlaskit/theme/typography';
12
- var Message = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", " font-weight: normal;\n color: ", ";\n margin-top: ", "px;\n display: flex;\n justify-content: baseline;\n"])), h200, function (props) {
13
- if (props.error) {
14
- return R400;
15
- }
12
+ var errorColor = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: ", ";\n"])), R400);
13
+ var validColor = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n color: ", ";\n"])), G400);
16
14
 
17
- if (props.valid) {
18
- return G400;
19
- }
15
+ var messageStyle = function messageStyle(props) {
16
+ return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", " font-weight: normal;\n color: ", ";\n margin-top: ", "px;\n display: flex;\n justify-content: baseline;\n"])), h200(props), N200, gridSize() / 2);
17
+ };
20
18
 
21
- return N200;
22
- }, gridSize() / 2);
23
- var IconWrapper = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n margin-right: 4px;\n"])));
19
+ var iconWrapperStyle = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n margin-right: 4px;\n"])));
24
20
  export var HelperMessage = function HelperMessage(_ref) {
25
21
  var children = _ref.children;
26
- return /*#__PURE__*/React.createElement(Message, null, children);
22
+ return jsx("div", {
23
+ css: messageStyle
24
+ }, children);
27
25
  };
28
26
  export var ErrorMessage = function ErrorMessage(_ref2) {
29
27
  var children = _ref2.children;
30
- return /*#__PURE__*/React.createElement(Message, {
31
- error: true
32
- }, /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(ErrorIcon, {
28
+ return jsx("div", {
29
+ css: function css(theme) {
30
+ return [messageStyle(theme), errorColor];
31
+ }
32
+ }, jsx("span", {
33
+ css: iconWrapperStyle
34
+ }, jsx(ErrorIcon, {
33
35
  size: "small",
34
36
  label: "error",
35
37
  "aria-label": "error"
@@ -37,9 +39,13 @@ export var ErrorMessage = function ErrorMessage(_ref2) {
37
39
  };
38
40
  export var ValidMessage = function ValidMessage(_ref3) {
39
41
  var children = _ref3.children;
40
- return /*#__PURE__*/React.createElement(Message, {
41
- valid: true
42
- }, /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(SuccessIcon, {
42
+ return jsx("div", {
43
+ css: function css(theme) {
44
+ return [messageStyle(theme), validColor];
45
+ }
46
+ }, jsx("span", {
47
+ css: iconWrapperStyle
48
+ }, jsx(SuccessIcon, {
43
49
  size: "small",
44
50
  label: "success"
45
51
  })), children);
@@ -2,9 +2,10 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
+ /** @jsx jsx */
5
6
  import React, { useCallback, useRef } from 'react';
7
+ import { css, jsx } from '@emotion/react';
6
8
  import { injectIntl } from 'react-intl-next';
7
- import styled from 'styled-components';
8
9
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
9
10
  import QuestionsIcon from '@atlaskit/icon/glyph/question-circle';
10
11
  import { N30, N50 } from '@atlaskit/theme/colors';
@@ -14,7 +15,7 @@ import { unsupportedContentMessages } from '../../messages/unsupportedContent';
14
15
  import { ACTION_SUBJECT_ID } from '../../utils/analytics';
15
16
  import { trackUnsupportedContentTooltipDisplayedFor } from '../../utils/track-unsupported-content';
16
17
  import { getUnsupportedContent } from '../unsupported-content-helper';
17
- var BlockNode = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n align-items: center;\n background: ", ";\n border: 1px dashed ", ";\n border-radius: ", "px;\n box-sizing: border-box;\n cursor: default;\n display: flex;\n font-size: ", ";\n margin: 10px 0;\n min-height: 24px;\n padding: 10px;\n text-align: center;\n vertical-align: text-bottom;\n min-width: 120px;\n align-items: center;\n justify-content: center;\n"])), N30, N50, borderRadius(), relativeFontSizeToBase16(fontSize()));
18
+ var blockNodeStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n align-items: center;\n background: ", ";\n border: 1px dashed ", ";\n border-radius: ", "px;\n box-sizing: border-box;\n cursor: default;\n display: flex;\n font-size: ", ";\n margin: 10px 0;\n min-height: 24px;\n padding: 10px;\n text-align: center;\n vertical-align: text-bottom;\n min-width: 120px;\n align-items: center;\n justify-content: center;\n"])), N30, N50, borderRadius(), relativeFontSizeToBase16(fontSize()));
18
19
 
19
20
  var UnsupportedBlockNode = function UnsupportedBlockNode(_ref) {
20
21
  var node = _ref.node,
@@ -32,15 +33,18 @@ var UnsupportedBlockNode = function UnsupportedBlockNode(_ref) {
32
33
  var tooltipOnShowHandler = useCallback(function () {
33
34
  return dispatchAnalyticsEvent && trackUnsupportedContentTooltipDisplayedFor(dispatchAnalyticsEvent, ACTION_SUBJECT_ID.ON_UNSUPPORTED_BLOCK, originalNodeType);
34
35
  }, [dispatchAnalyticsEvent, originalNodeType]);
35
- return /*#__PURE__*/React.createElement(BlockNode, null, message, /*#__PURE__*/React.createElement(Tooltip, {
36
+ return jsx("div", {
37
+ css: blockNodeStyle,
38
+ className: "unsupported"
39
+ }, message, jsx(Tooltip, {
36
40
  content: tooltipContent,
37
41
  hideTooltipOnClick: false,
38
42
  position: "bottom",
39
43
  onShow: tooltipOnShowHandler,
40
44
  strategy: "absolute"
41
- }, /*#__PURE__*/React.createElement("span", {
45
+ }, jsx("span", {
42
46
  style: style
43
- }, /*#__PURE__*/React.createElement(QuestionsIcon, {
47
+ }, jsx(QuestionsIcon, {
44
48
  label: "?",
45
49
  size: "small"
46
50
  }))));
@@ -2,9 +2,10 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
+ /** @jsx jsx */
5
6
  import React, { useCallback, useRef } from 'react';
7
+ import { css, jsx } from '@emotion/react';
6
8
  import { injectIntl } from 'react-intl-next';
7
- import styled from 'styled-components';
8
9
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
9
10
  import QuestionsIcon from '@atlaskit/icon/glyph/question-circle';
10
11
  import { N30, N50 } from '@atlaskit/theme/colors';
@@ -14,7 +15,7 @@ import { unsupportedContentMessages } from '../../messages/unsupportedContent';
14
15
  import { ACTION_SUBJECT_ID } from '../../utils/analytics';
15
16
  import { trackUnsupportedContentTooltipDisplayedFor } from '../../utils/track-unsupported-content';
16
17
  import { getUnsupportedContent } from '../unsupported-content-helper';
17
- var InlineNode = styled.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n align-items: center;\n background: ", ";\n border: 1px dashed ", ";\n border-radius: ", "px;\n box-sizing: border-box;\n cursor: default;\n display: inline-flex;\n font-size: ", ";\n margin: 0 2px;\n min-height: 24px;\n padding: 0 10px;\n vertical-align: middle;\n white-space: nowrap;\n"])), N30, N50, borderRadius(), relativeFontSizeToBase16(fontSize()));
18
+ var inlineNodeStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n align-items: center;\n background: ", ";\n border: 1px dashed ", ";\n border-radius: ", "px;\n box-sizing: border-box;\n cursor: default;\n display: inline-flex;\n font-size: ", ";\n margin: 0 2px;\n min-height: 24px;\n padding: 0 10px;\n vertical-align: middle;\n white-space: nowrap;\n"])), N30, N50, borderRadius(), relativeFontSizeToBase16(fontSize()));
18
19
 
19
20
  var UnsupportedInlineNode = function UnsupportedInlineNode(_ref) {
20
21
  var node = _ref.node,
@@ -32,15 +33,17 @@ var UnsupportedInlineNode = function UnsupportedInlineNode(_ref) {
32
33
  var tooltipOnShowHandler = useCallback(function () {
33
34
  return dispatchAnalyticsEvent && trackUnsupportedContentTooltipDisplayedFor(dispatchAnalyticsEvent, ACTION_SUBJECT_ID.ON_UNSUPPORTED_INLINE, originalNodeType);
34
35
  }, [dispatchAnalyticsEvent, originalNodeType]);
35
- return /*#__PURE__*/React.createElement(InlineNode, null, message, /*#__PURE__*/React.createElement(Tooltip, {
36
+ return jsx("span", {
37
+ css: inlineNodeStyle
38
+ }, message, jsx(Tooltip, {
36
39
  content: tooltipContent,
37
40
  hideTooltipOnClick: false,
38
41
  position: "bottom",
39
42
  onShow: tooltipOnShowHandler,
40
43
  strategy: "absolute"
41
- }, /*#__PURE__*/React.createElement("span", {
44
+ }, jsx("span", {
42
45
  style: style
43
- }, /*#__PURE__*/React.createElement(QuestionsIcon, {
46
+ }, jsx(QuestionsIcon, {
44
47
  label: "?",
45
48
  size: "small"
46
49
  }))));
@@ -1,3 +1,4 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
1
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
3
  import _createClass from "@babel/runtime/helpers/createClass";
3
4
  import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
@@ -5,7 +6,6 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
6
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
9
9
 
10
10
  var _templateObject;
11
11
 
@@ -13,9 +13,10 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
13
13
 
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
 
16
+ /** @jsx jsx */
16
17
  import React from 'react';
18
+ import { css, jsx } from '@emotion/react';
17
19
  import rafSchedule from 'raf-schd';
18
- import styled from 'styled-components';
19
20
  import { WidthObserver } from '@atlaskit/width-detector';
20
21
  var SCROLLBAR_WIDTH = 30;
21
22
  export function getBreakpoint() {
@@ -41,7 +42,6 @@ export function createWidthContext() {
41
42
  export var WidthContext = /*#__PURE__*/React.createContext(createWidthContext());
42
43
  var Provider = WidthContext.Provider,
43
44
  Consumer = WidthContext.Consumer;
44
- var RelativeContainer = /*#__PURE__*/React.memo(styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n"]))));
45
45
  export var WidthProvider = /*#__PURE__*/function (_React$Component) {
46
46
  _inherits(WidthProvider, _React$Component);
47
47
 
@@ -76,12 +76,13 @@ export var WidthProvider = /*#__PURE__*/function (_React$Component) {
76
76
  _createClass(WidthProvider, [{
77
77
  key: "render",
78
78
  value: function render() {
79
- return /*#__PURE__*/React.createElement(RelativeContainer, {
79
+ return jsx("div", {
80
+ css: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n "]))),
80
81
  className: this.props.className
81
- }, /*#__PURE__*/React.createElement(WidthObserver, {
82
+ }, jsx(WidthObserver, {
82
83
  setWidth: this.setWidth,
83
84
  offscreen: true
84
- }), /*#__PURE__*/React.createElement(Provider, {
85
+ }), jsx(Provider, {
85
86
  value: createWidthContext(this.state.width)
86
87
  }, this.props.children));
87
88
  }
@@ -2,6 +2,6 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
 
3
3
  var _templateObject;
4
4
 
5
- import styled from 'styled-components'; // We use !important to ensure next sibling gets the margin reset no matter what
5
+ import { css } from '@emotion/react'; // We use !important to ensure next sibling gets the margin reset no matter what
6
6
 
7
- export var ClearNextSiblingMarginTop = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n & + * {\n margin-top: 0 !important;\n }\n"])));
7
+ export var clearNextSiblingMarginTopStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n & + * {\n margin-top: 0 !important;\n }\n"])));
@@ -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';
@@ -13,7 +13,7 @@ export { default as overflowShadow, shadowClassNames } from './OverflowShadow';
13
13
  export { WithCreateAnalyticsEvent } from './WithCreateAnalyticsEvent';
14
14
  export { messages as expandMessages, sharedExpandStyles, ExpandIconWrapper, ExpandLayoutWrapper } from './Expand';
15
15
  export { ErrorMessage, HelperMessage, ValidMessage } from './Messages';
16
- export { ClearNextSiblingMarginTop } from './clear-next-sibling-margin-top';
16
+ export { clearNextSiblingMarginTopStyle } from './clear-next-sibling-margin-top';
17
17
  export { IntlNextErrorBoundary, REACT_INTL_ERROR_MESSAGE } from './IntlNextErrorBoundary';
18
18
  export { IntlLegacyFallbackProvider } from './IntlLegacyFallbackProvider';
19
19
  export { LegacyToNextIntlProvider } from './LegacyToNextIntlProvider';
@@ -22,7 +22,7 @@ if (typeof navigator !== 'undefined') {
22
22
  result.ie_version = ieUpTo10 ? document.documentMode || 6 : ie11up ? +ie11up[1] : ieEdge ? +ieEdge[1] : null;
23
23
  result.gecko = !ie && /gecko\/\d/i.test(navigator.userAgent);
24
24
  result.chrome = !ie && /Chrome\//.test(navigator.userAgent);
25
- result.chrome_version = parseInt((navigator.userAgent.match(/Chrome\/(\d{2})/) || [])[1], 10);
25
+ result.chrome_version = parseInt((navigator.userAgent.match(/Chrome\/(\d+)/) || [])[1], 10);
26
26
  result.android = /Android \d/.test(navigator.userAgent);
27
27
  result.ios = !ie && /AppleWebKit/.test(navigator.userAgent) && /Mobile\/\w+/.test(navigator.userAgent);
28
28
  result.webkit = !ie && !!document.documentElement && 'WebkitAppearance' in document.documentElement.style;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "63.0.0",
3
+ "version": "65.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';
@@ -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;