@atlaskit/editor-common 114.19.0 → 114.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/media/messages/imageBorder.js +2 -2
  3. package/dist/cjs/media/messages/mediaResizeAnnouncerMess.js +2 -2
  4. package/dist/cjs/media/messages/nodeviews.js +1 -1
  5. package/dist/cjs/media/messages/pixelEntry.js +1 -1
  6. package/dist/cjs/messages/alignment.js +1 -1
  7. package/dist/cjs/messages/block-controls.js +4 -4
  8. package/dist/cjs/messages/block-menu.js +2 -2
  9. package/dist/cjs/messages/block-type.js +1 -1
  10. package/dist/cjs/messages/breakout.js +1 -1
  11. package/dist/cjs/messages/card.js +6 -6
  12. package/dist/cjs/messages/codeBlockButton.js +2 -2
  13. package/dist/cjs/messages/context-panel.js +1 -1
  14. package/dist/cjs/messages/element-insert-side-panel.js +1 -1
  15. package/dist/cjs/messages/media-and-embed-toolbar.js +5 -0
  16. package/dist/cjs/messages/native-embed-toolbar.js +3 -3
  17. package/dist/cjs/monitoring/error.js +1 -1
  18. package/dist/cjs/table/messages.js +4 -4
  19. package/dist/cjs/type-ahead/messages.js +4 -4
  20. package/dist/cjs/ui/DropList/index.js +1 -1
  21. package/dist/cjs/ui/Expand/index.js +2 -2
  22. package/dist/es2019/media/messages/imageBorder.js +2 -2
  23. package/dist/es2019/media/messages/mediaResizeAnnouncerMess.js +2 -2
  24. package/dist/es2019/media/messages/nodeviews.js +1 -1
  25. package/dist/es2019/media/messages/pixelEntry.js +1 -1
  26. package/dist/es2019/messages/alignment.js +1 -1
  27. package/dist/es2019/messages/block-controls.js +4 -4
  28. package/dist/es2019/messages/block-menu.js +2 -2
  29. package/dist/es2019/messages/block-type.js +1 -1
  30. package/dist/es2019/messages/breakout.js +1 -1
  31. package/dist/es2019/messages/card.js +6 -6
  32. package/dist/es2019/messages/codeBlockButton.js +2 -2
  33. package/dist/es2019/messages/context-panel.js +1 -1
  34. package/dist/es2019/messages/element-insert-side-panel.js +1 -1
  35. package/dist/es2019/messages/media-and-embed-toolbar.js +5 -0
  36. package/dist/es2019/messages/native-embed-toolbar.js +3 -3
  37. package/dist/es2019/monitoring/error.js +1 -1
  38. package/dist/es2019/table/messages.js +4 -4
  39. package/dist/es2019/type-ahead/messages.js +4 -4
  40. package/dist/es2019/ui/DropList/index.js +1 -1
  41. package/dist/es2019/ui/Expand/index.js +2 -2
  42. package/dist/esm/media/messages/imageBorder.js +2 -2
  43. package/dist/esm/media/messages/mediaResizeAnnouncerMess.js +2 -2
  44. package/dist/esm/media/messages/nodeviews.js +1 -1
  45. package/dist/esm/media/messages/pixelEntry.js +1 -1
  46. package/dist/esm/messages/alignment.js +1 -1
  47. package/dist/esm/messages/block-controls.js +4 -4
  48. package/dist/esm/messages/block-menu.js +2 -2
  49. package/dist/esm/messages/block-type.js +1 -1
  50. package/dist/esm/messages/breakout.js +1 -1
  51. package/dist/esm/messages/card.js +6 -6
  52. package/dist/esm/messages/codeBlockButton.js +2 -2
  53. package/dist/esm/messages/context-panel.js +1 -1
  54. package/dist/esm/messages/element-insert-side-panel.js +1 -1
  55. package/dist/esm/messages/media-and-embed-toolbar.js +5 -0
  56. package/dist/esm/messages/native-embed-toolbar.js +3 -3
  57. package/dist/esm/monitoring/error.js +1 -1
  58. package/dist/esm/table/messages.js +4 -4
  59. package/dist/esm/type-ahead/messages.js +4 -4
  60. package/dist/esm/ui/DropList/index.js +1 -1
  61. package/dist/esm/ui/Expand/index.js +2 -2
  62. package/dist/types/messages/media-and-embed-toolbar.d.ts +13 -8
  63. package/dist/types-ts4.5/messages/media-and-embed-toolbar.d.ts +13 -8
  64. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 114.19.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 114.19.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`76dff28130c6a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/76dff28130c6a) -
14
+ Add replace-media button to media plugin
15
+ - Updated dependencies
16
+
3
17
  ## 114.19.0
4
18
 
5
19
  ### Minor Changes
@@ -9,7 +9,7 @@ var imageBorderMessages = exports.imageBorderMessages = (0, _reactIntl.defineMes
9
9
  borderColor: {
10
10
  id: 'fabric.editor.imageBorderColor',
11
11
  defaultMessage: 'Color',
12
- description: 'Change the border color of an image.'
12
+ description: 'Label shown as a toolbar section heading in the image border options panel for selecting the border color of the selected image.'
13
13
  },
14
14
  borderColorDropdownAriaLabel: {
15
15
  id: 'fabric.editor.imageBorderColor.dropdownAriaLabel',
@@ -19,7 +19,7 @@ var imageBorderMessages = exports.imageBorderMessages = (0, _reactIntl.defineMes
19
19
  borderSize: {
20
20
  id: 'fabric.editor.imageBorderSize',
21
21
  defaultMessage: 'Size',
22
- description: 'Change the border size of an image.'
22
+ description: 'Label shown as a toolbar section heading in the image border options panel for selecting the border thickness of the selected image.'
23
23
  },
24
24
  borderSizeDropdownAriaLabel: {
25
25
  id: 'fabric.editor.imageBorderSize.dropdownAriaLabel',
@@ -9,12 +9,12 @@ var mediaResizeAnnouncerMessMessages = exports.mediaResizeAnnouncerMessMessages
9
9
  MediaWidthIsMax: {
10
10
  id: 'fabric.editor.media.pixelEntry.MediaWidthIsMax',
11
11
  defaultMessage: 'Media increased to the maximum size',
12
- description: 'The media has the maximum allowed width'
12
+ description: 'Assistive announcement text read by screen readers when the user resizes a media item and it reaches the maximum allowed size.'
13
13
  },
14
14
  MediaWidthIsMin: {
15
15
  id: 'fabric.editor.media.MediaWidthIsMin',
16
16
  defaultMessage: 'Media decreased to the minimum size',
17
- description: 'The media has the minimum allowed width'
17
+ description: 'Assistive announcement text read by screen readers when the user resizes a media item and it reaches the minimum allowed size.'
18
18
  },
19
19
  DefaultMediaWidthIncreased: {
20
20
  id: 'fabric.editor.media.DefaultMediaWidthIncreased',
@@ -9,6 +9,6 @@ var nodeViewsMessages = exports.nodeViewsMessages = (0, _reactIntl.defineMessage
9
9
  mediaGroupDeleteLabel: {
10
10
  id: 'fabric.editor.mediaGroupDeleteLabel',
11
11
  defaultMessage: 'delete',
12
- description: 'a label for an icon that deletes media'
12
+ description: 'Accessible label for the delete icon button shown on a media group item in the editor, used to remove the media file from the document.'
13
13
  }
14
14
  });
@@ -44,7 +44,7 @@ var pixelEntryMessages = exports.pixelEntryMessages = (0, _reactIntl.defineMessa
44
44
  fullWidthLabel: {
45
45
  id: 'fabric.editor.image.fullWidthLabel',
46
46
  defaultMessage: 'Full-width',
47
- description: 'The media has reached its maximum width'
47
+ description: 'Label shown in the media pixel entry toolbar when the image is at its maximum width, indicating the image is in full-width display mode.'
48
48
  },
49
49
  migrationButtonText: {
50
50
  id: 'fabric.editor.media.pixelEntry.migrationButtonText',
@@ -14,7 +14,7 @@ var alignmentMessages = exports.alignmentMessages = (0, _reactIntl.defineMessage
14
14
  alignLeft: {
15
15
  id: 'fabric.editor.alignLeft',
16
16
  defaultMessage: 'Align left',
17
- description: 'label stating that text is aligned left'
17
+ description: 'Label for a toolbar button that aligns the selected text to the left margin of the editor.'
18
18
  },
19
19
  alignCenter: {
20
20
  id: 'fabric.editor.alignCenter',
@@ -9,7 +9,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
9
9
  dragToMove: {
10
10
  id: 'fabric.editor.blockControlDragHandleMove',
11
11
  defaultMessage: 'Drag to move',
12
- description: 'Use drag handle to move content'
12
+ description: 'Tooltip shown on the drag handle of a content block in the editor, indicating the user can drag this handle to reposition the block.'
13
13
  },
14
14
  dragToMoveClickToOpen: {
15
15
  id: 'fabric.editor.blockControlDragHandleMoveOrOpen',
@@ -19,7 +19,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
19
19
  dragToRearrange: {
20
20
  id: 'fabric.editor.blockControlDragHandleRearrange',
21
21
  defaultMessage: 'Drag to rearrange',
22
- description: 'Use drag handle to rearrange columns'
22
+ description: 'Tooltip shown on the drag handle of a layout column in the editor, indicating the user can drag this handle to reorder columns.'
23
23
  },
24
24
  insert: {
25
25
  id: 'fabric.editor.blockControlInsert',
@@ -39,12 +39,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
39
39
  movedup: {
40
40
  id: 'fabric.editor.blockControlMovedUp',
41
41
  defaultMessage: 'Content has been moved up',
42
- description: 'Selected content has been moved down'
42
+ description: 'Assistive announcement read by screen readers to confirm the selected content block has been successfully moved up in the editor.'
43
43
  },
44
44
  movedDown: {
45
45
  id: 'fabric.editor.blockControlMovedDown',
46
46
  defaultMessage: 'Content has been moved down',
47
- description: 'Selected content has been moved down'
47
+ description: 'Assistive announcement read by screen readers to confirm the selected content block has been successfully moved down in the editor.'
48
48
  },
49
49
  moveLeft: {
50
50
  id: 'fabric.editor.blockControlMoveLeft',
@@ -24,12 +24,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
24
24
  copyLink: {
25
25
  id: 'fabric.editor.block.menu.copy.link',
26
26
  defaultMessage: 'Copy link',
27
- description: 'Copy link to the selected content'
27
+ description: 'Label for a menu item in the block controls menu that copies a direct link to the selected content block to the clipboard.'
28
28
  },
29
29
  copyLinkToSelection: {
30
30
  id: 'fabric.editor.block.menu.copy.link.to.selection',
31
31
  defaultMessage: 'Copy link to selection',
32
- description: 'Copy link to the selected content'
32
+ description: 'Label for a menu item in the block controls menu that copies a link pointing to the current text selection to the clipboard.'
33
33
  },
34
34
  linkCopiedToClipboard: {
35
35
  id: 'fabric.editor.block.menu.link.copied.to.clipboard',
@@ -9,7 +9,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
9
9
  normal: {
10
10
  id: 'fabric.editor.normal',
11
11
  defaultMessage: 'Normal text',
12
- description: 'This is the default text style'
12
+ description: 'Label for a drop-down item in the text style selector that applies the default paragraph style, removing any heading or special formatting.'
13
13
  },
14
14
  smallText: {
15
15
  id: 'fabric.editor.smallText',
@@ -19,7 +19,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
19
19
  wideWidthLabel: {
20
20
  id: 'fabric.editor.breakoutWideWidthLabel',
21
21
  defaultMessage: 'Wide',
22
- description: 'Resize current element to wide mode'
22
+ description: 'Label for a toolbar button that resizes the current editor element (e.g. a table, image, or code block) to wide display mode, extending it beyond the default content width.'
23
23
  },
24
24
  resizeHandle: {
25
25
  id: 'fabric.editor.resizeHandle',
@@ -19,12 +19,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
19
19
  inline: {
20
20
  id: 'fabric.editor.displayInline',
21
21
  defaultMessage: 'Display inline',
22
- description: 'Display link with the title only.'
22
+ description: 'Label for a toolbar option that changes a smart link to display inline, showing only the link title as a compact inline element within the text.'
23
23
  },
24
24
  embed: {
25
25
  id: 'fabric.editor.displayEmbed',
26
26
  defaultMessage: 'Display embed',
27
- description: 'Display link as an embedded object'
27
+ description: 'Label for a toolbar option that changes a smart link to display as an embedded object, showing a rich preview of the linked content.'
28
28
  },
29
29
  link: {
30
30
  id: 'fabric.editor.displayLink',
@@ -109,7 +109,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
109
109
  editDropdownExpandIconLabel: {
110
110
  id: 'fabric.editor.editDropdownExpandIconLabel',
111
111
  defaultMessage: 'Expand dropdown menu',
112
- description: 'Text of an icon to expand the dropdown'
112
+ description: 'Accessible label for an icon button in the smart link toolbar that expands a dropdown menu containing additional editing options for the link.'
113
113
  },
114
114
  editDropdownTriggerTitle: {
115
115
  id: 'fabric.editor.editDropdownTriggerTitle',
@@ -119,7 +119,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
119
119
  editDropdownEditLinkTitle: {
120
120
  id: 'fabric.editor.editDropdownEditLinkTitle',
121
121
  defaultMessage: 'Edit link',
122
- description: 'Edit dropdown edit link button text'
122
+ description: 'Label for a button inside the smart link edit dropdown menu that opens the link editing interface to modify the URL or display text.'
123
123
  },
124
124
  editDropdownEditDatasourceTitle: {
125
125
  id: 'fabric.editor.editDropdownEditDatasourceTitle',
@@ -139,12 +139,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
139
139
  datasourceJiraIssue: {
140
140
  id: 'fabric.editor.datasource.jiraIssue',
141
141
  defaultMessage: 'Jira Issues',
142
- description: 'Insert a jira datasource table'
142
+ description: 'Title shown as a quick insert option for adding a Jira Issues datasource table that displays live Jira issue data in the editor.'
143
143
  },
144
144
  datasourceJiraIssueDescription: {
145
145
  id: 'fabric.editor.datasource.jiraIssue.description',
146
146
  defaultMessage: 'Insert Jira issues from Jira Cloud with enhanced search, filtering, and configuration.',
147
- description: 'Insert a jira datasource table'
147
+ description: 'Description text shown beneath the Jira Issues option in the quick insert menu, explaining what data the datasource will display when inserted.'
148
148
  },
149
149
  datasourceAssetsObjectsGeneralAvailability: {
150
150
  id: 'fabric.editor.datasource.assetsObjectsGeneralAvailability',
@@ -19,12 +19,12 @@ var codeBlockButtonMessages = exports.codeBlockButtonMessages = (0, _reactIntl.d
19
19
  wrapCode: {
20
20
  id: 'fabric.editor.codeBlockWrapButton.wrapCodeBlock',
21
21
  defaultMessage: 'Turn on wrap',
22
- description: 'Wrap the content of the code block'
22
+ description: 'Label for a toolbar button in the code block that enables line wrapping so long lines of code wrap to the next line instead of overflowing.'
23
23
  },
24
24
  unwrapCode: {
25
25
  id: 'fabric.editor.codeBlockWrapButton.unwrapCodeBlock',
26
26
  defaultMessage: 'Turn off wrap',
27
- description: 'Wrap the content of the code block'
27
+ description: 'Label for a toolbar button in the code block that disables line wrapping so long lines of code extend horizontally without breaking.'
28
28
  },
29
29
  selectLanguage: {
30
30
  id: 'fabric.editor.selectLanguage',
@@ -14,6 +14,6 @@ var contextPanelMessages = exports.contextPanelMessages = (0, _reactIntl.defineM
14
14
  panelContentLabel: {
15
15
  id: 'fabric.editor.contextPanel.panelContentLabel',
16
16
  defaultMessage: 'Scrollable context panel content',
17
- description: 'Label for the context panel content'
17
+ description: 'Accessible label for the scrollable content region inside the editor context panel, used by screen readers to identify this scrollable area.'
18
18
  }
19
19
  });
@@ -9,6 +9,6 @@ var elementInsertSidePanel = exports.elementInsertSidePanel = (0, _reactIntl.def
9
9
  title: {
10
10
  id: 'fabric.editor.elementInsertSidePanel.title',
11
11
  defaultMessage: 'Insert',
12
- description: 'Title of a panel that opens on the side'
12
+ description: 'Heading text displayed at the top of the element insert side panel that slides open in the editor, allowing users to browse and insert content elements.'
13
13
  }
14
14
  });
@@ -30,5 +30,10 @@ var toolbarMessages = exports.toolbarMessages = (0, _reactIntl.defineMessages)({
30
30
  id: 'fabric.editor.media_change_mediainline_caption_warn',
31
31
  defaultMessage: 'Inline (caption will be removed)',
32
32
  description: 'In the context of media single contains media node, it allows the user to convert media single to media inline image and warn user about caption being removed'
33
+ },
34
+ replaceMedia: {
35
+ id: 'fabric.editor.media.replace.non-final',
36
+ defaultMessage: 'Replace',
37
+ description: 'Replaces the source file of the selected image or media while preserving its size, layout, and caption.'
33
38
  }
34
39
  });
@@ -7,7 +7,7 @@ exports.nativeEmbedToolbarMessages = void 0;
7
7
  var _reactIntl = require("react-intl");
8
8
  var nativeEmbedToolbarMessages = exports.nativeEmbedToolbarMessages = (0, _reactIntl.defineMessages)({
9
9
  alwaysShowTitle: {
10
- id: 'fabric.editor.alwaysShowTitle.non-final',
10
+ id: 'fabric.editor.nativeEmbeds.alwaysShowTitle',
11
11
  defaultMessage: 'Show embed title',
12
12
  description: 'Label for the toggle to enable or disable the behaviour of always showing the title of the embed.'
13
13
  },
@@ -17,12 +17,12 @@ var nativeEmbedToolbarMessages = exports.nativeEmbedToolbarMessages = (0, _react
17
17
  description: 'Label for the button to expand the embed to fullscreen.'
18
18
  },
19
19
  refresh: {
20
- id: 'fabric.editor.refresh.non-final',
20
+ id: 'fabric.editor.nativeEmbeds.refresh',
21
21
  defaultMessage: 'Refresh',
22
22
  description: 'Label for the button to refresh the embedded link.'
23
23
  },
24
24
  setEmbedType: {
25
- id: 'fabric.editor.setEmbedType.non-final',
25
+ id: 'fabric.editor.nativeEmbeds.setEmbedType',
26
26
  defaultMessage: 'Set embed type',
27
27
  description: 'Label for the button to set the type of embed.'
28
28
  },
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "114.18.3";
22
+ var packageVersion = "0.0.0-development";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -9,23 +9,23 @@ var sortingIconMessages = exports.sortingIconMessages = (0, _reactIntl.defineMes
9
9
  noOrderLabel: {
10
10
  id: 'fabric.editor.headingLink.noOrderLabel',
11
11
  defaultMessage: 'Sort column A to Z',
12
- description: 'Sort the column in ascending order'
12
+ description: 'Label shown on a table column header sort button to sort the column alphabetically from A to Z (ascending order).'
13
13
  },
14
14
  ascOrderLabel: {
15
15
  id: 'fabric.editor.headingLink.ascOrderLabel',
16
16
  defaultMessage: 'Sort column Z to A',
17
- description: 'Sort the column in descending order'
17
+ description: 'Label shown on a table column header sort button to sort the column alphabetically from Z to A (descending order).'
18
18
  },
19
19
  descOrderLabel: {
20
20
  id: 'fabric.editor.headingLink.descOrderLabel',
21
21
  defaultMessage: 'Clear sorting',
22
- description: 'clear the sorting from this column'
22
+ description: 'Label shown on a table column header sort button to remove any active sorting and restore the default column order.'
23
23
  },
24
24
  invalidLabel: {
25
25
  id: 'fabric.editor.headingLink.invalidLabel',
26
26
  // eslint-disable-next-line @atlassian/i18n/no-multiple-whitespaces
27
27
  defaultMessage: "\u26A0\uFE0F You can't sort a table with merged cells",
28
- description: 'this sort is invalid for merged cells'
28
+ description: 'Warning message shown in a table column header when sorting cannot be applied because the table contains merged cells.'
29
29
  }
30
30
  });
31
31
  var sortingAriaLabelMessages = exports.sortingAriaLabelMessages = (0, _reactIntl.defineMessages)({
@@ -19,12 +19,12 @@ var typeAheadListMessages = exports.typeAheadListMessages = (0, _reactIntl.defin
19
19
  quickInsertInputLabel: {
20
20
  id: 'fabric.editor.typeAhead.quickInsertInputLabel',
21
21
  defaultMessage: 'Begin typing to search or filter shortcut options',
22
- description: 'assisitve text for typeahed input field'
22
+ description: 'ARIA label for the quick insert typeahead input field, read by screen readers to inform users they can type to search or filter available editor shortcuts.'
23
23
  },
24
24
  quickInsertInputPlaceholderLabel: {
25
25
  id: 'fabric.editor.typeAhead.quickInsertInputPlaceholderLabel',
26
26
  defaultMessage: 'Search',
27
- description: 'placeholder for typeahed input field'
27
+ description: 'Placeholder text displayed inside the quick insert typeahead input field when it is empty, prompting users to type a search term.'
28
28
  },
29
29
  emojiPopupLabel: {
30
30
  id: 'fabric.editor.typeahead.emojiPopupLabel',
@@ -34,7 +34,7 @@ var typeAheadListMessages = exports.typeAheadListMessages = (0, _reactIntl.defin
34
34
  emojiInputLabel: {
35
35
  id: 'fabric.editor.typeahead.emojiInputLabel',
36
36
  defaultMessage: 'Begin typing to search or filter emoji options',
37
- description: 'assisitve text for typeahed input field'
37
+ description: 'ARIA label for the emoji typeahead input field, read by screen readers to inform users they can type to search or filter available emoji options.'
38
38
  },
39
39
  mentionPopupLabel: {
40
40
  id: 'fabric.editor.typeahead.mentionPopupLabel',
@@ -44,7 +44,7 @@ var typeAheadListMessages = exports.typeAheadListMessages = (0, _reactIntl.defin
44
44
  mentionInputLabel: {
45
45
  id: 'fabric.editor.typeahead.mentionInputLabel',
46
46
  defaultMessage: 'Begin typing to search for users to tag',
47
- description: 'assisitve text for typeahed input field'
47
+ description: 'ARIA label for the mention typeahead input field, read by screen readers to inform users they can type to search for people to tag in the document.'
48
48
  },
49
49
  metionListItemLabel: {
50
50
  id: 'fabric.editor.typeahead.metionListItemLabel',
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "114.18.3";
27
+ var packageVersion = "0.0.0-development";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -24,7 +24,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
24
24
  loading: {
25
25
  id: 'fabric.editor.expand.loading',
26
26
  defaultMessage: 'Loading...',
27
- description: 'Loading text for an expand node'
27
+ description: 'Text shown inside an expand node while its content is being loaded, indicating to the user that data is still being fetched.'
28
28
  },
29
29
  collapseNode: {
30
30
  id: 'fabric.editor.collapseNode',
@@ -34,7 +34,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
34
34
  expandDefaultTitle: {
35
35
  id: 'fabric.editor.expandDefaultTitle',
36
36
  defaultMessage: 'Click here to expand...',
37
- description: 'Placeholder text for an expand node'
37
+ description: 'Placeholder text shown in the title field of an expand node when no title has been entered, prompting the user to click and expand the content.'
38
38
  },
39
39
  expandNode: {
40
40
  id: 'fabric.editor.expandNode',
@@ -3,7 +3,7 @@ export const imageBorderMessages = defineMessages({
3
3
  borderColor: {
4
4
  id: 'fabric.editor.imageBorderColor',
5
5
  defaultMessage: 'Color',
6
- description: 'Change the border color of an image.'
6
+ description: 'Label shown as a toolbar section heading in the image border options panel for selecting the border color of the selected image.'
7
7
  },
8
8
  borderColorDropdownAriaLabel: {
9
9
  id: 'fabric.editor.imageBorderColor.dropdownAriaLabel',
@@ -13,7 +13,7 @@ export const imageBorderMessages = defineMessages({
13
13
  borderSize: {
14
14
  id: 'fabric.editor.imageBorderSize',
15
15
  defaultMessage: 'Size',
16
- description: 'Change the border size of an image.'
16
+ description: 'Label shown as a toolbar section heading in the image border options panel for selecting the border thickness of the selected image.'
17
17
  },
18
18
  borderSizeDropdownAriaLabel: {
19
19
  id: 'fabric.editor.imageBorderSize.dropdownAriaLabel',
@@ -3,12 +3,12 @@ export const mediaResizeAnnouncerMessMessages = defineMessages({
3
3
  MediaWidthIsMax: {
4
4
  id: 'fabric.editor.media.pixelEntry.MediaWidthIsMax',
5
5
  defaultMessage: 'Media increased to the maximum size',
6
- description: 'The media has the maximum allowed width'
6
+ description: 'Assistive announcement text read by screen readers when the user resizes a media item and it reaches the maximum allowed size.'
7
7
  },
8
8
  MediaWidthIsMin: {
9
9
  id: 'fabric.editor.media.MediaWidthIsMin',
10
10
  defaultMessage: 'Media decreased to the minimum size',
11
- description: 'The media has the minimum allowed width'
11
+ description: 'Assistive announcement text read by screen readers when the user resizes a media item and it reaches the minimum allowed size.'
12
12
  },
13
13
  DefaultMediaWidthIncreased: {
14
14
  id: 'fabric.editor.media.DefaultMediaWidthIncreased',
@@ -3,6 +3,6 @@ export const nodeViewsMessages = defineMessages({
3
3
  mediaGroupDeleteLabel: {
4
4
  id: 'fabric.editor.mediaGroupDeleteLabel',
5
5
  defaultMessage: 'delete',
6
- description: 'a label for an icon that deletes media'
6
+ description: 'Accessible label for the delete icon button shown on a media group item in the editor, used to remove the media file from the document.'
7
7
  }
8
8
  });
@@ -38,7 +38,7 @@ export const pixelEntryMessages = defineMessages({
38
38
  fullWidthLabel: {
39
39
  id: 'fabric.editor.image.fullWidthLabel',
40
40
  defaultMessage: 'Full-width',
41
- description: 'The media has reached its maximum width'
41
+ description: 'Label shown in the media pixel entry toolbar when the image is at its maximum width, indicating the image is in full-width display mode.'
42
42
  },
43
43
  migrationButtonText: {
44
44
  id: 'fabric.editor.media.pixelEntry.migrationButtonText',
@@ -8,7 +8,7 @@ export const alignmentMessages = defineMessages({
8
8
  alignLeft: {
9
9
  id: 'fabric.editor.alignLeft',
10
10
  defaultMessage: 'Align left',
11
- description: 'label stating that text is aligned left'
11
+ description: 'Label for a toolbar button that aligns the selected text to the left margin of the editor.'
12
12
  },
13
13
  alignCenter: {
14
14
  id: 'fabric.editor.alignCenter',
@@ -3,7 +3,7 @@ export const messages = defineMessages({
3
3
  dragToMove: {
4
4
  id: 'fabric.editor.blockControlDragHandleMove',
5
5
  defaultMessage: 'Drag to move',
6
- description: 'Use drag handle to move content'
6
+ description: 'Tooltip shown on the drag handle of a content block in the editor, indicating the user can drag this handle to reposition the block.'
7
7
  },
8
8
  dragToMoveClickToOpen: {
9
9
  id: 'fabric.editor.blockControlDragHandleMoveOrOpen',
@@ -13,7 +13,7 @@ export const messages = defineMessages({
13
13
  dragToRearrange: {
14
14
  id: 'fabric.editor.blockControlDragHandleRearrange',
15
15
  defaultMessage: 'Drag to rearrange',
16
- description: 'Use drag handle to rearrange columns'
16
+ description: 'Tooltip shown on the drag handle of a layout column in the editor, indicating the user can drag this handle to reorder columns.'
17
17
  },
18
18
  insert: {
19
19
  id: 'fabric.editor.blockControlInsert',
@@ -33,12 +33,12 @@ export const messages = defineMessages({
33
33
  movedup: {
34
34
  id: 'fabric.editor.blockControlMovedUp',
35
35
  defaultMessage: 'Content has been moved up',
36
- description: 'Selected content has been moved down'
36
+ description: 'Assistive announcement read by screen readers to confirm the selected content block has been successfully moved up in the editor.'
37
37
  },
38
38
  movedDown: {
39
39
  id: 'fabric.editor.blockControlMovedDown',
40
40
  defaultMessage: 'Content has been moved down',
41
- description: 'Selected content has been moved down'
41
+ description: 'Assistive announcement read by screen readers to confirm the selected content block has been successfully moved down in the editor.'
42
42
  },
43
43
  moveLeft: {
44
44
  id: 'fabric.editor.blockControlMoveLeft',
@@ -18,12 +18,12 @@ export const messages = defineMessages({
18
18
  copyLink: {
19
19
  id: 'fabric.editor.block.menu.copy.link',
20
20
  defaultMessage: 'Copy link',
21
- description: 'Copy link to the selected content'
21
+ description: 'Label for a menu item in the block controls menu that copies a direct link to the selected content block to the clipboard.'
22
22
  },
23
23
  copyLinkToSelection: {
24
24
  id: 'fabric.editor.block.menu.copy.link.to.selection',
25
25
  defaultMessage: 'Copy link to selection',
26
- description: 'Copy link to the selected content'
26
+ description: 'Label for a menu item in the block controls menu that copies a link pointing to the current text selection to the clipboard.'
27
27
  },
28
28
  linkCopiedToClipboard: {
29
29
  id: 'fabric.editor.block.menu.link.copied.to.clipboard',
@@ -3,7 +3,7 @@ export const messages = defineMessages({
3
3
  normal: {
4
4
  id: 'fabric.editor.normal',
5
5
  defaultMessage: 'Normal text',
6
- description: 'This is the default text style'
6
+ description: 'Label for a drop-down item in the text style selector that applies the default paragraph style, removing any heading or special formatting.'
7
7
  },
8
8
  smallText: {
9
9
  id: 'fabric.editor.smallText',
@@ -13,7 +13,7 @@ export const messages = defineMessages({
13
13
  wideWidthLabel: {
14
14
  id: 'fabric.editor.breakoutWideWidthLabel',
15
15
  defaultMessage: 'Wide',
16
- description: 'Resize current element to wide mode'
16
+ description: 'Label for a toolbar button that resizes the current editor element (e.g. a table, image, or code block) to wide display mode, extending it beyond the default content width.'
17
17
  },
18
18
  resizeHandle: {
19
19
  id: 'fabric.editor.resizeHandle',
@@ -13,12 +13,12 @@ export const messages = defineMessages({
13
13
  inline: {
14
14
  id: 'fabric.editor.displayInline',
15
15
  defaultMessage: 'Display inline',
16
- description: 'Display link with the title only.'
16
+ description: 'Label for a toolbar option that changes a smart link to display inline, showing only the link title as a compact inline element within the text.'
17
17
  },
18
18
  embed: {
19
19
  id: 'fabric.editor.displayEmbed',
20
20
  defaultMessage: 'Display embed',
21
- description: 'Display link as an embedded object'
21
+ description: 'Label for a toolbar option that changes a smart link to display as an embedded object, showing a rich preview of the linked content.'
22
22
  },
23
23
  link: {
24
24
  id: 'fabric.editor.displayLink',
@@ -103,7 +103,7 @@ export const messages = defineMessages({
103
103
  editDropdownExpandIconLabel: {
104
104
  id: 'fabric.editor.editDropdownExpandIconLabel',
105
105
  defaultMessage: 'Expand dropdown menu',
106
- description: 'Text of an icon to expand the dropdown'
106
+ description: 'Accessible label for an icon button in the smart link toolbar that expands a dropdown menu containing additional editing options for the link.'
107
107
  },
108
108
  editDropdownTriggerTitle: {
109
109
  id: 'fabric.editor.editDropdownTriggerTitle',
@@ -113,7 +113,7 @@ export const messages = defineMessages({
113
113
  editDropdownEditLinkTitle: {
114
114
  id: 'fabric.editor.editDropdownEditLinkTitle',
115
115
  defaultMessage: 'Edit link',
116
- description: 'Edit dropdown edit link button text'
116
+ description: 'Label for a button inside the smart link edit dropdown menu that opens the link editing interface to modify the URL or display text.'
117
117
  },
118
118
  editDropdownEditDatasourceTitle: {
119
119
  id: 'fabric.editor.editDropdownEditDatasourceTitle',
@@ -133,12 +133,12 @@ export const messages = defineMessages({
133
133
  datasourceJiraIssue: {
134
134
  id: 'fabric.editor.datasource.jiraIssue',
135
135
  defaultMessage: 'Jira Issues',
136
- description: 'Insert a jira datasource table'
136
+ description: 'Title shown as a quick insert option for adding a Jira Issues datasource table that displays live Jira issue data in the editor.'
137
137
  },
138
138
  datasourceJiraIssueDescription: {
139
139
  id: 'fabric.editor.datasource.jiraIssue.description',
140
140
  defaultMessage: 'Insert Jira issues from Jira Cloud with enhanced search, filtering, and configuration.',
141
- description: 'Insert a jira datasource table'
141
+ description: 'Description text shown beneath the Jira Issues option in the quick insert menu, explaining what data the datasource will display when inserted.'
142
142
  },
143
143
  datasourceAssetsObjectsGeneralAvailability: {
144
144
  id: 'fabric.editor.datasource.assetsObjectsGeneralAvailability',
@@ -13,12 +13,12 @@ export const codeBlockButtonMessages = defineMessages({
13
13
  wrapCode: {
14
14
  id: 'fabric.editor.codeBlockWrapButton.wrapCodeBlock',
15
15
  defaultMessage: 'Turn on wrap',
16
- description: 'Wrap the content of the code block'
16
+ description: 'Label for a toolbar button in the code block that enables line wrapping so long lines of code wrap to the next line instead of overflowing.'
17
17
  },
18
18
  unwrapCode: {
19
19
  id: 'fabric.editor.codeBlockWrapButton.unwrapCodeBlock',
20
20
  defaultMessage: 'Turn off wrap',
21
- description: 'Wrap the content of the code block'
21
+ description: 'Label for a toolbar button in the code block that disables line wrapping so long lines of code extend horizontally without breaking.'
22
22
  },
23
23
  selectLanguage: {
24
24
  id: 'fabric.editor.selectLanguage',
@@ -8,6 +8,6 @@ export const contextPanelMessages = defineMessages({
8
8
  panelContentLabel: {
9
9
  id: 'fabric.editor.contextPanel.panelContentLabel',
10
10
  defaultMessage: 'Scrollable context panel content',
11
- description: 'Label for the context panel content'
11
+ description: 'Accessible label for the scrollable content region inside the editor context panel, used by screen readers to identify this scrollable area.'
12
12
  }
13
13
  });
@@ -3,6 +3,6 @@ export const elementInsertSidePanel = defineMessages({
3
3
  title: {
4
4
  id: 'fabric.editor.elementInsertSidePanel.title',
5
5
  defaultMessage: 'Insert',
6
- description: 'Title of a panel that opens on the side'
6
+ description: 'Heading text displayed at the top of the element insert side panel that slides open in the editor, allowing users to browse and insert content elements.'
7
7
  }
8
8
  });
@@ -24,5 +24,10 @@ export const toolbarMessages = defineMessages({
24
24
  id: 'fabric.editor.media_change_mediainline_caption_warn',
25
25
  defaultMessage: 'Inline (caption will be removed)',
26
26
  description: 'In the context of media single contains media node, it allows the user to convert media single to media inline image and warn user about caption being removed'
27
+ },
28
+ replaceMedia: {
29
+ id: 'fabric.editor.media.replace.non-final',
30
+ defaultMessage: 'Replace',
31
+ description: 'Replaces the source file of the selected image or media while preserving its size, layout, and caption.'
27
32
  }
28
33
  });