@atlaskit/editor-common 77.2.5 → 77.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/emoji.js +10 -1
  3. package/dist/cjs/extensions/index.js +14 -1
  4. package/dist/cjs/extensions/messages.js +141 -0
  5. package/dist/cjs/extensions.js +12 -0
  6. package/dist/cjs/floating-toolbar/index.js +10 -1
  7. package/dist/cjs/floating-toolbar/messages.js +54 -0
  8. package/dist/cjs/lists/index.js +14 -1
  9. package/dist/cjs/lists/messages.js +36 -0
  10. package/dist/cjs/lists/node.js +77 -1
  11. package/dist/cjs/lists/replace-content.js +25 -1
  12. package/dist/cjs/media/index.js +68 -0
  13. package/dist/cjs/media/messages/altText.js +44 -0
  14. package/dist/cjs/media/messages/caption.js +14 -0
  15. package/dist/cjs/media/messages/dropPlaceholder.js +14 -0
  16. package/dist/cjs/media/messages/imageBorder.js +49 -0
  17. package/dist/cjs/media/messages/mediaLinkingToolbar.js +14 -0
  18. package/dist/cjs/media/messages/mediaResizeAnnouncerMess.js +34 -0
  19. package/dist/cjs/media/messages/nodeviews.js +14 -0
  20. package/dist/cjs/media/messages/pixelEntry.js +54 -0
  21. package/dist/cjs/media/messages/toolbarMedia.js +14 -0
  22. package/dist/cjs/messages/alignment.js +5 -0
  23. package/dist/cjs/messages/avatar-group.js +14 -0
  24. package/dist/cjs/messages/codeBlockButton.js +5 -0
  25. package/dist/cjs/messages/date.js +5 -0
  26. package/dist/cjs/messages/find-replace.js +79 -0
  27. package/dist/cjs/messages/help-dialog.js +80 -0
  28. package/dist/cjs/messages/indentation.js +0 -2
  29. package/dist/cjs/messages/index.js +63 -0
  30. package/dist/cjs/messages/mentions.js +29 -0
  31. package/dist/cjs/messages/panel.js +44 -0
  32. package/dist/cjs/messages/paste-options-toolbar.js +29 -0
  33. package/dist/cjs/messages/placeholder-text.js +14 -0
  34. package/dist/cjs/messages/tasks-and-decsisions.js +19 -0
  35. package/dist/cjs/messages/text-color.js +14 -0
  36. package/dist/cjs/monitoring/error.js +1 -1
  37. package/dist/cjs/quick-insert/index.js +8 -1
  38. package/dist/cjs/quick-insert/messages.js +69 -0
  39. package/dist/cjs/transforms/extension.js +10 -0
  40. package/dist/cjs/type-ahead/index.js +7 -0
  41. package/dist/cjs/type-ahead/messages.js +79 -0
  42. package/dist/cjs/ui/DropList/index.js +1 -1
  43. package/dist/es2019/emoji.js +9 -1
  44. package/dist/es2019/extensions/index.js +2 -1
  45. package/dist/es2019/extensions/messages.js +135 -0
  46. package/dist/es2019/extensions.js +1 -1
  47. package/dist/es2019/floating-toolbar/index.js +2 -1
  48. package/dist/es2019/floating-toolbar/messages.js +48 -0
  49. package/dist/es2019/lists/index.js +3 -2
  50. package/dist/es2019/lists/messages.js +29 -0
  51. package/dist/es2019/lists/node.js +76 -0
  52. package/dist/es2019/lists/replace-content.js +24 -0
  53. package/dist/es2019/media/index.js +9 -0
  54. package/dist/es2019/media/messages/altText.js +38 -0
  55. package/dist/es2019/media/messages/caption.js +8 -0
  56. package/dist/es2019/media/messages/dropPlaceholder.js +8 -0
  57. package/dist/es2019/media/messages/imageBorder.js +43 -0
  58. package/dist/es2019/media/messages/mediaLinkingToolbar.js +8 -0
  59. package/dist/es2019/media/messages/mediaResizeAnnouncerMess.js +28 -0
  60. package/dist/es2019/media/messages/nodeviews.js +8 -0
  61. package/dist/es2019/media/messages/pixelEntry.js +48 -0
  62. package/dist/es2019/media/messages/toolbarMedia.js +8 -0
  63. package/dist/es2019/messages/alignment.js +5 -0
  64. package/dist/es2019/messages/avatar-group.js +8 -0
  65. package/dist/es2019/messages/codeBlockButton.js +5 -0
  66. package/dist/es2019/messages/date.js +5 -0
  67. package/dist/es2019/messages/find-replace.js +73 -0
  68. package/dist/es2019/messages/help-dialog.js +74 -0
  69. package/dist/es2019/messages/indentation.js +0 -1
  70. package/dist/es2019/messages/index.js +9 -0
  71. package/dist/es2019/messages/mentions.js +23 -0
  72. package/dist/es2019/messages/panel.js +38 -0
  73. package/dist/es2019/messages/paste-options-toolbar.js +23 -0
  74. package/dist/es2019/messages/placeholder-text.js +8 -0
  75. package/dist/es2019/messages/tasks-and-decsisions.js +13 -0
  76. package/dist/es2019/messages/text-color.js +8 -0
  77. package/dist/es2019/monitoring/error.js +1 -1
  78. package/dist/es2019/quick-insert/index.js +2 -1
  79. package/dist/es2019/quick-insert/messages.js +63 -0
  80. package/dist/es2019/transforms/extension.js +10 -0
  81. package/dist/es2019/type-ahead/index.js +2 -1
  82. package/dist/es2019/type-ahead/messages.js +73 -0
  83. package/dist/es2019/ui/DropList/index.js +1 -1
  84. package/dist/esm/emoji.js +9 -1
  85. package/dist/esm/extensions/index.js +2 -1
  86. package/dist/esm/extensions/messages.js +135 -0
  87. package/dist/esm/extensions.js +1 -1
  88. package/dist/esm/floating-toolbar/index.js +2 -1
  89. package/dist/esm/floating-toolbar/messages.js +48 -0
  90. package/dist/esm/lists/index.js +3 -2
  91. package/dist/esm/lists/messages.js +29 -0
  92. package/dist/esm/lists/node.js +76 -0
  93. package/dist/esm/lists/replace-content.js +24 -0
  94. package/dist/esm/media/index.js +9 -0
  95. package/dist/esm/media/messages/altText.js +38 -0
  96. package/dist/esm/media/messages/caption.js +8 -0
  97. package/dist/esm/media/messages/dropPlaceholder.js +8 -0
  98. package/dist/esm/media/messages/imageBorder.js +43 -0
  99. package/dist/esm/media/messages/mediaLinkingToolbar.js +8 -0
  100. package/dist/esm/media/messages/mediaResizeAnnouncerMess.js +28 -0
  101. package/dist/esm/media/messages/nodeviews.js +8 -0
  102. package/dist/esm/media/messages/pixelEntry.js +48 -0
  103. package/dist/esm/media/messages/toolbarMedia.js +8 -0
  104. package/dist/esm/messages/alignment.js +5 -0
  105. package/dist/esm/messages/avatar-group.js +8 -0
  106. package/dist/esm/messages/codeBlockButton.js +5 -0
  107. package/dist/esm/messages/date.js +5 -0
  108. package/dist/esm/messages/find-replace.js +73 -0
  109. package/dist/esm/messages/help-dialog.js +74 -0
  110. package/dist/esm/messages/indentation.js +0 -1
  111. package/dist/esm/messages/index.js +9 -0
  112. package/dist/esm/messages/mentions.js +23 -0
  113. package/dist/esm/messages/panel.js +38 -0
  114. package/dist/esm/messages/paste-options-toolbar.js +23 -0
  115. package/dist/esm/messages/placeholder-text.js +8 -0
  116. package/dist/esm/messages/tasks-and-decsisions.js +13 -0
  117. package/dist/esm/messages/text-color.js +8 -0
  118. package/dist/esm/monitoring/error.js +1 -1
  119. package/dist/esm/quick-insert/index.js +2 -1
  120. package/dist/esm/quick-insert/messages.js +63 -0
  121. package/dist/esm/transforms/extension.js +10 -0
  122. package/dist/esm/type-ahead/index.js +2 -1
  123. package/dist/esm/type-ahead/messages.js +73 -0
  124. package/dist/esm/ui/DropList/index.js +1 -1
  125. package/dist/types/emoji.d.ts +7 -0
  126. package/dist/types/extensions/index.d.ts +1 -0
  127. package/dist/types/extensions/messages.d.ts +134 -0
  128. package/dist/types/extensions.d.ts +1 -1
  129. package/dist/types/floating-toolbar/index.d.ts +1 -0
  130. package/dist/types/floating-toolbar/messages.d.ts +48 -0
  131. package/dist/types/lists/index.d.ts +2 -1
  132. package/dist/types/lists/messages.d.ts +27 -0
  133. package/dist/types/lists/node.d.ts +1 -0
  134. package/dist/types/lists/replace-content.d.ts +3 -1
  135. package/dist/types/media/index.d.ts +9 -0
  136. package/dist/types/media/messages/altText.d.ts +37 -0
  137. package/dist/types/media/messages/caption.d.ts +7 -0
  138. package/dist/types/media/messages/dropPlaceholder.d.ts +7 -0
  139. package/dist/types/media/messages/imageBorder.d.ts +42 -0
  140. package/dist/types/media/messages/mediaLinkingToolbar.d.ts +7 -0
  141. package/dist/types/media/messages/mediaResizeAnnouncerMess.d.ts +27 -0
  142. package/dist/types/media/messages/nodeviews.d.ts +7 -0
  143. package/dist/types/media/messages/pixelEntry.d.ts +47 -0
  144. package/dist/types/media/messages/toolbarMedia.d.ts +7 -0
  145. package/dist/types/messages/alignment.d.ts +5 -0
  146. package/dist/types/messages/avatar-group.d.ts +7 -0
  147. package/dist/types/messages/codeBlockButton.d.ts +5 -0
  148. package/dist/types/messages/date.d.ts +5 -0
  149. package/dist/types/messages/find-replace.d.ts +72 -0
  150. package/dist/types/messages/help-dialog.d.ts +72 -0
  151. package/dist/types/messages/index.d.ts +9 -0
  152. package/dist/types/messages/mentions.d.ts +22 -0
  153. package/dist/types/messages/panel.d.ts +37 -0
  154. package/dist/types/messages/paste-options-toolbar.d.ts +22 -0
  155. package/dist/types/messages/placeholder-text.d.ts +7 -0
  156. package/dist/types/messages/tasks-and-decsisions.d.ts +12 -0
  157. package/dist/types/messages/text-color.d.ts +7 -0
  158. package/dist/types/quick-insert/index.d.ts +1 -0
  159. package/dist/types/quick-insert/messages.d.ts +62 -0
  160. package/dist/types/type-ahead/index.d.ts +1 -0
  161. package/dist/types/type-ahead/messages.d.ts +72 -0
  162. package/dist/types-ts4.5/emoji.d.ts +7 -0
  163. package/dist/types-ts4.5/extensions/index.d.ts +1 -0
  164. package/dist/types-ts4.5/extensions/messages.d.ts +134 -0
  165. package/dist/types-ts4.5/extensions.d.ts +1 -1
  166. package/dist/types-ts4.5/floating-toolbar/index.d.ts +1 -0
  167. package/dist/types-ts4.5/floating-toolbar/messages.d.ts +48 -0
  168. package/dist/types-ts4.5/lists/index.d.ts +2 -1
  169. package/dist/types-ts4.5/lists/messages.d.ts +27 -0
  170. package/dist/types-ts4.5/lists/node.d.ts +1 -0
  171. package/dist/types-ts4.5/lists/replace-content.d.ts +3 -1
  172. package/dist/types-ts4.5/media/index.d.ts +9 -0
  173. package/dist/types-ts4.5/media/messages/altText.d.ts +37 -0
  174. package/dist/types-ts4.5/media/messages/caption.d.ts +7 -0
  175. package/dist/types-ts4.5/media/messages/dropPlaceholder.d.ts +7 -0
  176. package/dist/types-ts4.5/media/messages/imageBorder.d.ts +42 -0
  177. package/dist/types-ts4.5/media/messages/mediaLinkingToolbar.d.ts +7 -0
  178. package/dist/types-ts4.5/media/messages/mediaResizeAnnouncerMess.d.ts +27 -0
  179. package/dist/types-ts4.5/media/messages/nodeviews.d.ts +7 -0
  180. package/dist/types-ts4.5/media/messages/pixelEntry.d.ts +47 -0
  181. package/dist/types-ts4.5/media/messages/toolbarMedia.d.ts +7 -0
  182. package/dist/types-ts4.5/messages/alignment.d.ts +5 -0
  183. package/dist/types-ts4.5/messages/avatar-group.d.ts +7 -0
  184. package/dist/types-ts4.5/messages/codeBlockButton.d.ts +5 -0
  185. package/dist/types-ts4.5/messages/date.d.ts +5 -0
  186. package/dist/types-ts4.5/messages/find-replace.d.ts +72 -0
  187. package/dist/types-ts4.5/messages/help-dialog.d.ts +72 -0
  188. package/dist/types-ts4.5/messages/index.d.ts +9 -0
  189. package/dist/types-ts4.5/messages/mentions.d.ts +22 -0
  190. package/dist/types-ts4.5/messages/panel.d.ts +37 -0
  191. package/dist/types-ts4.5/messages/paste-options-toolbar.d.ts +22 -0
  192. package/dist/types-ts4.5/messages/placeholder-text.d.ts +7 -0
  193. package/dist/types-ts4.5/messages/tasks-and-decsisions.d.ts +12 -0
  194. package/dist/types-ts4.5/messages/text-color.d.ts +7 -0
  195. package/dist/types-ts4.5/quick-insert/index.d.ts +1 -0
  196. package/dist/types-ts4.5/quick-insert/messages.d.ts +62 -0
  197. package/dist/types-ts4.5/type-ahead/index.d.ts +1 -0
  198. package/dist/types-ts4.5/type-ahead/messages.d.ts +72 -0
  199. package/media/package.json +15 -0
  200. package/package.json +2 -1
  201. package/tsconfig.json +3 -0
@@ -0,0 +1,48 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var pixelEntryMessages = defineMessages({
3
+ validationFailedMessage: {
4
+ id: 'fabric.editor.media.pixelEntry.validationFailedMessage',
5
+ defaultMessage: 'Validation for width failed',
6
+ description: 'The passed in validator function returned false'
7
+ },
8
+ inputWidthTooltip: {
9
+ id: 'fabric.editor.media.pixelEntry.inputWidthTooltip',
10
+ defaultMessage: 'Max width {maxWidth}px',
11
+ description: 'The tooltip displayed ontop of the width input'
12
+ },
13
+ inputWidthAriaLabel: {
14
+ id: 'fabric.editor.media.pixelEntry.inputWidthAriaLabel',
15
+ defaultMessage: 'Max width {maxWidth}px',
16
+ description: 'The width input aria label'
17
+ },
18
+ inputHeightTooltip: {
19
+ id: 'fabric.editor.media.pixelEntry.inputHeightTooltip',
20
+ defaultMessage: 'Height',
21
+ description: 'The tooltip displayed ontop of the height input'
22
+ },
23
+ inputHeightAriaLabel: {
24
+ id: 'fabric.editor.media.pixelEntry.inputHeightAriaLabel',
25
+ defaultMessage: 'height input',
26
+ description: 'The width input aria label'
27
+ },
28
+ submitButtonText: {
29
+ id: 'fabric.editor.media.pixelEntry.submitButtonText',
30
+ defaultMessage: 'Submit',
31
+ description: 'The text give to the hidden submit button'
32
+ },
33
+ fullWidthLabel: {
34
+ id: 'fabric.editor.image.fullWidthLabel',
35
+ defaultMessage: 'Full-width',
36
+ description: 'The media has reached its maximum width'
37
+ },
38
+ migrationButtonText: {
39
+ id: 'fabric.editor.media.pixelEntry.migrationButtonText',
40
+ defaultMessage: 'Convert to pixels',
41
+ description: 'The text give to the button used to covert to pixels for legacy experience'
42
+ },
43
+ migrationButtonTooltip: {
44
+ id: 'fabric.editor.media.pixelEntry.migrationButtonTooltip',
45
+ defaultMessage: 'Migrate from percentage to fixed pixel sizing',
46
+ description: 'The tooltip displayed on the migration button'
47
+ }
48
+ });
@@ -0,0 +1,8 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var toolbarMediaMessages = defineMessages({
3
+ toolbarMediaTitle: {
4
+ id: 'fabric.editor.toolbarMediaTitle',
5
+ defaultMessage: 'Add image, video, or file',
6
+ description: 'a label for an icon that describes files, videos and images'
7
+ }
8
+ });
@@ -1,5 +1,10 @@
1
1
  import { defineMessages } from 'react-intl-next';
2
2
  export var alignmentMessages = defineMessages({
3
+ alignment: {
4
+ id: 'fabric.editor.alignment',
5
+ defaultMessage: 'Text alignment',
6
+ description: 'Opens drop down menu of options to configure text alignment'
7
+ },
3
8
  alignLeft: {
4
9
  id: 'fabric.editor.alignLeft',
5
10
  defaultMessage: 'Align left',
@@ -0,0 +1,8 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var avatarGroupMessages = defineMessages({
3
+ editors: {
4
+ id: 'fabric.editor.editors',
5
+ defaultMessage: 'Editors',
6
+ description: 'classifying the people that are currently editing the document'
7
+ }
8
+ });
@@ -19,5 +19,10 @@ export var codeBlockButtonMessages = defineMessages({
19
19
  id: 'fabric.editor.codeBlockWrapButton.unwrapCodeBlock',
20
20
  defaultMessage: 'Turn off wrap',
21
21
  description: 'Wrap the content of the code block'
22
+ },
23
+ selectLanguage: {
24
+ id: 'fabric.editor.selectLanguage',
25
+ defaultMessage: 'Select language',
26
+ description: 'Code blocks display software code. A prompt to select the software language the code is written in.'
22
27
  }
23
28
  });
@@ -4,5 +4,10 @@ export var messages = defineMessages({
4
4
  id: 'fabric.editor.editDateText',
5
5
  defaultMessage: 'Edit Date',
6
6
  description: 'Title for the input that changes the date'
7
+ },
8
+ invalidDateError: {
9
+ id: 'fabric.editor.invalidDateError',
10
+ defaultMessage: 'Enter a valid date',
11
+ description: 'Error message when the date typed in is invalid, requesting they inputs a new date'
7
12
  }
8
13
  });
@@ -0,0 +1,73 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var findReplaceMessages = defineMessages({
3
+ find: {
4
+ id: 'fabric.editor.find',
5
+ defaultMessage: 'Find',
6
+ description: 'The word or phrase to search for on the document'
7
+ },
8
+ matchCase: {
9
+ id: 'fabric.editor.matchCase',
10
+ defaultMessage: 'Match case',
11
+ description: 'Toggle whether should also match case when searching for text'
12
+ },
13
+ findNext: {
14
+ id: 'fabric.editor.findNext',
15
+ defaultMessage: 'Find next',
16
+ description: 'Locate the next occurrence of the word or phrase that was searched for'
17
+ },
18
+ findPrevious: {
19
+ id: 'fabric.editor.findPrevious',
20
+ defaultMessage: 'Find previous',
21
+ description: 'Locate the previous occurrence of the word or phrase that was searched for'
22
+ },
23
+ closeFindReplaceDialog: {
24
+ id: 'fabric.editor.closeFindReplaceDialog',
25
+ defaultMessage: 'Close',
26
+ description: 'Cancel search and close the "Find and Replace" dialog'
27
+ },
28
+ noResultsFound: {
29
+ id: 'fabric.editor.noResultsFound',
30
+ defaultMessage: 'No results',
31
+ description: 'No matches were found for the word or phrase that was searched for'
32
+ },
33
+ resultsCount: {
34
+ id: 'fabric.editor.resultsCount',
35
+ description: 'Text for selected search match position and total results count',
36
+ defaultMessage: '{selectedMatchPosition} of {totalResultsCount}'
37
+ },
38
+ findReplaceToolbarButton: {
39
+ id: 'fabric.editor.findReplaceToolbarButton',
40
+ defaultMessage: 'Find and replace',
41
+ description: '"Find" highlights all instances of a word or phrase on the document, and "Replace" changes one or all of those instances to something else'
42
+ },
43
+ replaceWith: {
44
+ id: 'fabric.editor.replaceWith',
45
+ defaultMessage: 'Replace with',
46
+ description: 'The value that will replace the word or phrase that was searched for'
47
+ },
48
+ replace: {
49
+ id: 'fabric.editor.replace',
50
+ defaultMessage: 'Replace',
51
+ description: 'Replace only the currently selected instance of the word or phrase'
52
+ },
53
+ replaceAll: {
54
+ id: 'fabric.editor.replaceAll',
55
+ defaultMessage: 'Replace all',
56
+ description: 'Replace all instances of the word or phrase throughout the entire document'
57
+ },
58
+ replaceSuccess: {
59
+ id: 'fabric.editor.replaceSuccess',
60
+ defaultMessage: '{numberOfMatches} {matchPluralSingularNoun} replaced',
61
+ description: 'Text when replacement succesfully done'
62
+ },
63
+ matchSingularNoun: {
64
+ id: 'fabric.editor.match.singular',
65
+ defaultMessage: 'match',
66
+ description: 'Singular "Match" noun'
67
+ },
68
+ matchPluralNoun: {
69
+ id: 'fabric.editor.match.plural',
70
+ defaultMessage: 'matches',
71
+ description: 'Plural "Match" noun'
72
+ }
73
+ });
@@ -0,0 +1,74 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var helpDialogMessages = defineMessages({
3
+ editorHelp: {
4
+ id: 'fabric.editor.editorHelp',
5
+ defaultMessage: 'Editor help',
6
+ description: 'Title of editor help dialog.'
7
+ },
8
+ helpDialogTips: {
9
+ id: 'fabric.editor.helpDialogTips',
10
+ defaultMessage: 'Press {keyMap} to quickly open this dialog at any time',
11
+ description: 'Hint about how to open a dialog quickly using a shortcut.'
12
+ },
13
+ keyboardShortcuts: {
14
+ id: 'fabric.editor.keyboardShortcuts',
15
+ defaultMessage: 'Keyboard shortcuts',
16
+ description: ''
17
+ },
18
+ markdown: {
19
+ id: 'fabric.editor.markdown',
20
+ defaultMessage: 'Markdown',
21
+ description: 'It is a name of popular markup language.'
22
+ },
23
+ pastePlainText: {
24
+ id: 'fabric.editor.pastePlainText',
25
+ defaultMessage: 'Paste plain text',
26
+ description: ''
27
+ },
28
+ CheckUncheckActionItem: {
29
+ id: 'fabric.editor.checkUncheckActionItem',
30
+ defaultMessage: 'Toggle action item',
31
+ description: 'For Check/Uncheck Action item use shortcut'
32
+ },
33
+ altText: {
34
+ id: 'fabric.editor.altText',
35
+ defaultMessage: 'Alt text',
36
+ description: 'Alternative text for image.'
37
+ },
38
+ selectTableRow: {
39
+ id: 'fabric.editor.selectTableRow',
40
+ defaultMessage: 'Select table row',
41
+ description: 'Hint for selecting a table row using a shortcut'
42
+ },
43
+ selectTableColumn: {
44
+ id: 'fabric.editor.selectTableColumn',
45
+ defaultMessage: 'Select table column',
46
+ description: 'Hint for selecting a table column using a shortcut'
47
+ },
48
+ increaseSize: {
49
+ id: 'fabric.editor.increaseSize',
50
+ defaultMessage: 'Increase size',
51
+ description: 'The text is shown as an shortcut description in help dialog modal, when the user uses the described shortcut, he is able to increase the width of the selected element. Optimal characters less than 21.'
52
+ },
53
+ decreaseSize: {
54
+ id: 'fabric.editor.decreaseSize',
55
+ defaultMessage: 'Decrease size',
56
+ description: 'The text is shown as an shortcut description in help dialog modal, when the user uses the described shortcut, he is able to decrease the width of the selected element. Optimal characters less than 21.'
57
+ },
58
+ focusTableResizeHandle: {
59
+ id: 'fabric.editor.focusTableResizeHandle',
60
+ defaultMessage: 'Focus table resize handle',
61
+ description: 'Focus table resize handle'
62
+ },
63
+ closeHelpDialog: {
64
+ id: 'fabric.editor.closeHelpDialog',
65
+ defaultMessage: 'Close help dialog',
66
+ description: ''
67
+ },
68
+ // TODO: Move it inside quick insert plugin
69
+ quickInsert: {
70
+ id: 'fabric.editor.quickInsert',
71
+ defaultMessage: 'Quick insert',
72
+ description: 'Name of a feature, which let you insert items quickly.'
73
+ }
74
+ });
@@ -1,4 +1,3 @@
1
- // Common Translations will live here
2
1
  import { defineMessages } from 'react-intl-next';
3
2
  export var messages = defineMessages({
4
3
  indent: {
@@ -19,6 +19,15 @@ export { messages as statusMessages } from './status';
19
19
  export { messages as dateMessages } from './date';
20
20
  export { toolbarMessages as layoutMessages } from './layout';
21
21
  export { messages as indentationMessages } from './indentation';
22
+ export { avatarGroupMessages } from './avatar-group';
23
+ export { findReplaceMessages } from './find-replace';
24
+ export { textColorMessages } from './text-color';
25
+ export { tasksAndDecisionsMessages } from './tasks-and-decsisions';
26
+ export { placeholderTextMessages } from './placeholder-text';
27
+ export { pasteOptionsToolbarMessages } from './paste-options-toolbar';
28
+ export { panelMessages } from './panel';
29
+ export { mentionMessages } from './mentions';
30
+ export { helpDialogMessages } from './help-dialog';
22
31
  export default defineMessages({
23
32
  layoutFixedWidth: {
24
33
  id: 'fabric.editor.layoutFixedWidth',
@@ -0,0 +1,23 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var mentionMessages = defineMessages({
3
+ inviteItemTitle: {
4
+ id: 'fabric.editor.inviteItem.title',
5
+ defaultMessage: '{userRole, select, admin {Invite} trusted {Invite} other {Add}} teammate to {productName}',
6
+ description: 'Title of the invite teammate item in typeahead plugin'
7
+ },
8
+ mentionsAddLabel: {
9
+ id: 'fabric.editor.mentionsAddLabel',
10
+ defaultMessage: 'add-icon',
11
+ description: 'icon label to describe adding a new mention'
12
+ },
13
+ mentionsIconLabel: {
14
+ id: 'fabric.editor.mentionsIconLabel',
15
+ defaultMessage: 'Mention',
16
+ description: 'icon label to describe the mention icon'
17
+ },
18
+ mentionsNodeLabel: {
19
+ id: 'fabric.editor.mentionNode.label',
20
+ defaultMessage: 'Tagged user',
21
+ description: 'Label to indicate mention node to Screen reader users, that preceeds with user name ex: "Tagged user @XXX'
22
+ }
23
+ });
@@ -0,0 +1,38 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var panelMessages = defineMessages({
3
+ info: {
4
+ id: 'fabric.editor.info',
5
+ defaultMessage: 'Info',
6
+ description: 'Panels provide a way to highlight text. The info panel has a blue background.'
7
+ },
8
+ note: {
9
+ id: 'fabric.editor.note',
10
+ defaultMessage: 'Note',
11
+ description: 'Panels provide a way to highlight text. The note panel has a purple background.'
12
+ },
13
+ success: {
14
+ id: 'fabric.editor.success',
15
+ defaultMessage: 'Success',
16
+ description: 'Panels provide a way to highlight text. The success panel has a green background.'
17
+ },
18
+ warning: {
19
+ id: 'fabric.editor.warning',
20
+ defaultMessage: 'Warning',
21
+ description: 'Panels provide a way to highlight text. The warning panel has a yellow background.'
22
+ },
23
+ error: {
24
+ id: 'fabric.editor.error',
25
+ defaultMessage: 'Error',
26
+ description: 'Panels provide a way to highlight text. The error panel has a red background.'
27
+ },
28
+ emoji: {
29
+ id: 'fabric.editor.panel.emoji',
30
+ defaultMessage: 'Add emoji',
31
+ description: 'Select the panel icon'
32
+ },
33
+ backgroundColor: {
34
+ id: 'fabric.editor.panel.backgroundColor',
35
+ defaultMessage: 'Background color',
36
+ description: 'Select the panel background color.'
37
+ }
38
+ });
@@ -0,0 +1,23 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var pasteOptionsToolbarMessages = defineMessages({
3
+ pasteOptions: {
4
+ id: 'fabric.editor.pasteOptions',
5
+ defaultMessage: 'Paste options floating controls',
6
+ description: 'Opens a menu with additional paste options'
7
+ },
8
+ plainText: {
9
+ id: 'fabric.editor.plainText',
10
+ defaultMessage: 'Use plain text',
11
+ description: 'Converts pasted text into plain text'
12
+ },
13
+ markdown: {
14
+ id: 'fabric.editor.useMarkdown',
15
+ defaultMessage: 'Use Markdown',
16
+ description: 'Converts pasted text into Markdown'
17
+ },
18
+ richText: {
19
+ id: 'fabric.editor.richText',
20
+ defaultMessage: 'Use rich text',
21
+ description: 'Converts pasted text into Rich text'
22
+ }
23
+ });
@@ -0,0 +1,8 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var placeholderTextMessages = defineMessages({
3
+ placeholderTextPlaceholder: {
4
+ id: 'fabric.editor.placeholderTextPlaceholder',
5
+ defaultMessage: 'Add placeholder text',
6
+ description: ''
7
+ }
8
+ });
@@ -0,0 +1,13 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var tasksAndDecisionsMessages = defineMessages({
3
+ taskPlaceholder: {
4
+ id: 'fabric.editor.taskPlaceholder',
5
+ defaultMessage: "Type your action, use '@' to assign to someone.",
6
+ description: 'Placeholder description for an empty action/task in the editor'
7
+ },
8
+ decisionPlaceholder: {
9
+ id: 'fabric.editor.decisionPlaceholder',
10
+ defaultMessage: 'Add a decision…',
11
+ description: 'Placeholder description for an empty decision in the editor'
12
+ }
13
+ });
@@ -0,0 +1,8 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var textColorMessages = defineMessages({
3
+ textColor: {
4
+ id: 'fabric.editor.textColor',
5
+ defaultMessage: 'Text color',
6
+ description: ''
7
+ }
8
+ });
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
8
8
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
9
- var packageVersion = "77.2.5";
9
+ var packageVersion = "77.3.1";
10
10
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
11
11
  // Remove URL as it has UGC
12
12
  // TODO: Sanitise the URL instead of just removing it
@@ -1,2 +1,3 @@
1
1
  export { IconAction, IconCode, IconDate, IconDecision, IconDivider, IconEmoji, IconImages, IconLayout, IconLink, IconListNumber, IconList, IconMention, IconPanelError, IconPanelNote, IconPanelSuccess, IconPanelWarning, IconPanel, IconQuote, IconStatus, IconHeading, IconFeedback, IconExpand, IconCustomPanel, IconFallback, IconDatasourceJiraIssue, IconDatasourceAssetsObjects, IconLoom } from './assets';
2
- export { memoProcessQuickInsertItems, find } from './utils';
2
+ export { memoProcessQuickInsertItems, find } from './utils';
3
+ export { messages } from './messages';
@@ -0,0 +1,63 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var messages = defineMessages({
3
+ help: {
4
+ id: 'fabric.editor.elementBrowser.help',
5
+ defaultMessage: 'Help',
6
+ description: 'Element browser help button label'
7
+ },
8
+ all: {
9
+ id: 'fabric.editor.elementbrowser.categorylist.category-all',
10
+ defaultMessage: 'All',
11
+ description: 'all'
12
+ },
13
+ formatting: {
14
+ id: 'fabric.editor.elementbrowser.categorylist.category-formatting',
15
+ defaultMessage: 'Formatting',
16
+ description: 'formatting'
17
+ },
18
+ 'confluence-content': {
19
+ id: 'fabric.editor.elementbrowser.categorylist.category-confluence-content',
20
+ defaultMessage: 'Confluence content',
21
+ description: 'confluence-content'
22
+ },
23
+ media: {
24
+ id: 'fabric.editor.elementbrowser.categorylist.category-media',
25
+ defaultMessage: 'Media',
26
+ description: 'media'
27
+ },
28
+ visuals: {
29
+ id: 'fabric.editor.elementbrowser.categorylist.category-visuals',
30
+ defaultMessage: 'Visuals & images',
31
+ description: 'visuals'
32
+ },
33
+ navigation: {
34
+ id: 'fabric.editor.elementbrowser.categorylist.category-navigation',
35
+ defaultMessage: 'Navigation',
36
+ description: 'navigation'
37
+ },
38
+ 'external-content': {
39
+ id: 'fabric.editor.elementbrowser.categorylist.category-external-content',
40
+ defaultMessage: 'External content',
41
+ description: 'external-content'
42
+ },
43
+ communication: {
44
+ id: 'fabric.editor.elementbrowser.categorylist.category-communication',
45
+ defaultMessage: 'Communication',
46
+ description: 'communication'
47
+ },
48
+ reporting: {
49
+ id: 'fabric.editor.elementbrowser.categorylist.category-reporting',
50
+ defaultMessage: 'Reporting',
51
+ description: 'reporting'
52
+ },
53
+ admin: {
54
+ id: 'fabric.editor.elementbrowser.categorylist.category-admin',
55
+ defaultMessage: 'Administration',
56
+ description: 'admin'
57
+ },
58
+ development: {
59
+ id: 'fabric.editor.elementbrowser.categorylist.category-development',
60
+ defaultMessage: 'Development',
61
+ description: 'development'
62
+ }
63
+ });
@@ -1,3 +1,4 @@
1
+ import { uuid } from '@atlaskit/adf-schema';
1
2
  import { Slice } from '@atlaskit/editor-prosemirror/model';
2
3
  import { mapFragment } from '../utils/slice';
3
4
 
@@ -45,6 +46,15 @@ export var transformSliceToRemoveOpenMultiBodiedExtension = function transformSl
45
46
  return node.content;
46
47
  }
47
48
  }
49
+ if (node.type === multiBodiedExtension) {
50
+ var _node$attrs$parameter;
51
+ /* While pasting on the same page, macroId does not change until the page is published and causes collision with the existing macroId
52
+ * where switching tabs of one node changes the tabs for the other node, so we put a random macroId at paste to avoid collision
53
+ */
54
+ if ((_node$attrs$parameter = node.attrs.parameters) !== null && _node$attrs$parameter !== void 0 && (_node$attrs$parameter = _node$attrs$parameter.macroMetadata) !== null && _node$attrs$parameter !== void 0 && (_node$attrs$parameter = _node$attrs$parameter.macroId) !== null && _node$attrs$parameter !== void 0 && _node$attrs$parameter.value) {
55
+ node.attrs.parameters.macroMetadata.macroId.value = uuid.generate();
56
+ }
57
+ }
48
58
  return node;
49
59
  });
50
60
 
@@ -11,4 +11,5 @@ export var SelectItemMode = /*#__PURE__*/function (SelectItemMode) {
11
11
  SelectItemMode["SELECTED"] = "selected";
12
12
  SelectItemMode["TAB"] = "tab";
13
13
  return SelectItemMode;
14
- }({});
14
+ }({});
15
+ export { typeAheadListMessages } from './messages';
@@ -0,0 +1,73 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var typeAheadListMessages = defineMessages({
3
+ typeAheadPopupLabel: {
4
+ id: 'fabric.editor.typeAhead.popupLabel',
5
+ defaultMessage: 'Typeahead results',
6
+ description: 'the result of a typeahead, similar to autocomplete results+'
7
+ },
8
+ quickInsertPopupLabel: {
9
+ id: 'fabric.editor.typeAhead.quickInsertPopupLabel',
10
+ defaultMessage: 'Shortcuts for inserts and formatting',
11
+ description: 'the result of a quick insert typeahead, similar to autocomplete results+'
12
+ },
13
+ quickInsertInputLabel: {
14
+ id: 'fabric.editor.typeAhead.quickInsertInputLabel',
15
+ defaultMessage: 'Begin typing to search or filter shortcut options',
16
+ description: 'assisitve text for typeahed input field'
17
+ },
18
+ emojiPopupLabel: {
19
+ id: 'fabric.editor.typeahead.emojiPopupLabel',
20
+ defaultMessage: 'Emoji shortcuts',
21
+ description: 'the result of a emoji typeahead, similar to autocomplete results+'
22
+ },
23
+ emojiInputLabel: {
24
+ id: 'fabric.editor.typeahead.emojiInputLabel',
25
+ defaultMessage: 'Begin typing to search or filter emoji options',
26
+ description: 'assisitve text for typeahed input field'
27
+ },
28
+ mentionPopupLabel: {
29
+ id: 'fabric.editor.typeahead.mentionPopupLabel',
30
+ defaultMessage: 'Users you can tag',
31
+ description: 'the aria label of a mention typeahead popup'
32
+ },
33
+ mentionInputLabel: {
34
+ id: 'fabric.editor.typeahead.mentionInputLabel',
35
+ defaultMessage: 'Begin typing to search for users to tag',
36
+ description: 'assisitve text for typeahed input field'
37
+ },
38
+ metionListItemLabel: {
39
+ id: 'fabric.editor.typeahead.metionListItemLabel',
40
+ defaultMessage: 'User {name} @{shortName}',
41
+ description: 'assistive text for user mention items username and nickname'
42
+ },
43
+ emojiListItemLabel: {
44
+ id: 'fabric.editor.typeahead.emojiListItemLabel',
45
+ defaultMessage: 'Emoji {name} Text Shortcut {shortcut}',
46
+ description: 'assistive text for emoji name and shortcut'
47
+ },
48
+ inputQueryAssistiveLabel: {
49
+ id: 'fabric.editor.inputQueryAssistiveTxt',
50
+ defaultMessage: 'When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.',
51
+ description: 'Assistive text to the user when using typeahead shortcut'
52
+ },
53
+ searchResultsLabel: {
54
+ id: 'fabric.editor.searchResults',
55
+ defaultMessage: '{itemsLength, plural, one {# search result} other {# search results}} available. Use Up and Down arrow keys to navigate amongst the options. Press Enter to select an option.',
56
+ description: 'Assistive text to the user when using typeahead shortcut and it preceeds with a number - Ex: 10 search results available'
57
+ },
58
+ noSearchResultsLabel: {
59
+ id: 'fabric.editor.noSearchResults',
60
+ defaultMessage: 'No search results',
61
+ description: 'Assistive text to the user when using typeahead shortcut'
62
+ },
63
+ descriptionLabel: {
64
+ id: 'fabric.editor.description',
65
+ defaultMessage: 'Description',
66
+ description: 'Description'
67
+ },
68
+ shortcutLabel: {
69
+ id: 'fabric.editor.shortcut',
70
+ defaultMessage: 'Text shortcut',
71
+ description: 'Text shortcut'
72
+ }
73
+ });
@@ -17,7 +17,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
17
17
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
18
18
  import Layer from '../Layer';
19
19
  var packageName = "@atlaskit/editor-common";
20
- var packageVersion = "77.2.5";
20
+ var packageVersion = "77.3.1";
21
21
  var halfFocusRing = 1;
22
22
  var dropOffset = '0, 8';
23
23
  var DropList = /*#__PURE__*/function (_Component) {
@@ -1,3 +1,10 @@
1
1
  export { default as Emoji } from './ui/Emoji';
2
2
  export type { EmojiProps } from './ui/Emoji';
3
3
  export { EmojiSharedCssClassName } from './styles/shared/emoji';
4
+ export declare const messages: {
5
+ emojiNodeLabel: {
6
+ id: string;
7
+ defaultMessage: string;
8
+ description: string;
9
+ };
10
+ };
@@ -6,3 +6,4 @@ export { createAutoConverterRunner, getExtensionAutoConvertersFromProvider, getQ
6
6
  export { getExtensionModuleNode, getExtensionModuleNodePrivateProps, getNodeRenderer, } from './extension-handlers';
7
7
  export { default as combineExtensionProviders } from './combine-extension-providers';
8
8
  export { getCustomFieldResolver, getUserFieldContextProvider, getFieldSerializer, getFieldDeserializer, } from './extension-fields-helpers';
9
+ export { messages, configPanelMessages } from './messages';