@atlaskit/editor-common 111.12.7 → 111.13.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 (136) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/ai-messages/ai.js +1 -1
  3. package/dist/cjs/analytics/types/enums.js +1 -0
  4. package/dist/cjs/block-menu/messages.js +1 -1
  5. package/dist/cjs/element-browser/messages.js +3 -3
  6. package/dist/cjs/extensions/extension-handlers.js +14 -7
  7. package/dist/cjs/extensions/messages.js +9 -9
  8. package/dist/cjs/extensions.js +6 -0
  9. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  10. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/messages.js +7 -7
  11. package/dist/cjs/link/LinkSearch/listItemAlts.js +6 -6
  12. package/dist/cjs/lists/messages.js +2 -2
  13. package/dist/cjs/media/messages/altText.js +4 -4
  14. package/dist/cjs/media/messages/externalMedia.js +1 -1
  15. package/dist/cjs/media/messages/imageBorder.js +6 -6
  16. package/dist/cjs/media/messages/pixelEntry.js +3 -3
  17. package/dist/cjs/messages/block-controls.js +5 -5
  18. package/dist/cjs/messages/block-type.js +8 -8
  19. package/dist/cjs/messages/breakout.js +1 -1
  20. package/dist/cjs/messages/card.js +1 -1
  21. package/dist/cjs/messages/context-panel.js +1 -1
  22. package/dist/cjs/messages/help-dialog.js +9 -9
  23. package/dist/cjs/messages/index.js +16 -16
  24. package/dist/cjs/messages/insert-block.js +44 -44
  25. package/dist/cjs/messages/layout.js +3 -3
  26. package/dist/cjs/messages/link-toolbar.js +8 -8
  27. package/dist/cjs/messages/link.js +1 -1
  28. package/dist/cjs/messages/list.js +2 -2
  29. package/dist/cjs/messages/media-editing.js +7 -7
  30. package/dist/cjs/messages/panel.js +2 -2
  31. package/dist/cjs/messages/placeholder-text.js +1 -1
  32. package/dist/cjs/messages/selection-extension.js +1 -1
  33. package/dist/cjs/messages/table.js +11 -11
  34. package/dist/cjs/messages/unsupportedContent.js +3 -3
  35. package/dist/cjs/monitoring/error.js +1 -1
  36. package/dist/cjs/quick-insert/messages.js +17 -17
  37. package/dist/cjs/type-ahead/messages.js +4 -4
  38. package/dist/cjs/ui/DropList/index.js +1 -1
  39. package/dist/cjs/ui/Expand/index.js +2 -2
  40. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +24 -24
  41. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +84 -84
  42. package/dist/es2019/ai-messages/ai.js +1 -1
  43. package/dist/es2019/analytics/types/enums.js +1 -0
  44. package/dist/es2019/block-menu/messages.js +1 -1
  45. package/dist/es2019/element-browser/messages.js +3 -3
  46. package/dist/es2019/extensions/extension-handlers.js +4 -0
  47. package/dist/es2019/extensions/messages.js +9 -9
  48. package/dist/es2019/extensions.js +1 -1
  49. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  50. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/messages.js +7 -7
  51. package/dist/es2019/link/LinkSearch/listItemAlts.js +6 -6
  52. package/dist/es2019/lists/messages.js +2 -2
  53. package/dist/es2019/media/messages/altText.js +4 -4
  54. package/dist/es2019/media/messages/externalMedia.js +1 -1
  55. package/dist/es2019/media/messages/imageBorder.js +6 -6
  56. package/dist/es2019/media/messages/pixelEntry.js +3 -3
  57. package/dist/es2019/messages/block-controls.js +5 -5
  58. package/dist/es2019/messages/block-type.js +8 -8
  59. package/dist/es2019/messages/breakout.js +1 -1
  60. package/dist/es2019/messages/card.js +1 -1
  61. package/dist/es2019/messages/context-panel.js +1 -1
  62. package/dist/es2019/messages/help-dialog.js +9 -9
  63. package/dist/es2019/messages/index.js +16 -16
  64. package/dist/es2019/messages/insert-block.js +44 -44
  65. package/dist/es2019/messages/layout.js +3 -3
  66. package/dist/es2019/messages/link-toolbar.js +8 -8
  67. package/dist/es2019/messages/link.js +1 -1
  68. package/dist/es2019/messages/list.js +2 -2
  69. package/dist/es2019/messages/media-editing.js +7 -7
  70. package/dist/es2019/messages/panel.js +2 -2
  71. package/dist/es2019/messages/placeholder-text.js +1 -1
  72. package/dist/es2019/messages/selection-extension.js +1 -1
  73. package/dist/es2019/messages/table.js +11 -11
  74. package/dist/es2019/messages/unsupportedContent.js +3 -3
  75. package/dist/es2019/monitoring/error.js +1 -1
  76. package/dist/es2019/quick-insert/messages.js +17 -17
  77. package/dist/es2019/type-ahead/messages.js +4 -4
  78. package/dist/es2019/ui/DropList/index.js +1 -1
  79. package/dist/es2019/ui/Expand/index.js +2 -2
  80. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +24 -24
  81. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +84 -84
  82. package/dist/esm/ai-messages/ai.js +1 -1
  83. package/dist/esm/analytics/types/enums.js +1 -0
  84. package/dist/esm/block-menu/messages.js +1 -1
  85. package/dist/esm/element-browser/messages.js +3 -3
  86. package/dist/esm/extensions/extension-handlers.js +13 -7
  87. package/dist/esm/extensions/messages.js +9 -9
  88. package/dist/esm/extensions.js +1 -1
  89. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  90. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/messages.js +7 -7
  91. package/dist/esm/link/LinkSearch/listItemAlts.js +6 -6
  92. package/dist/esm/lists/messages.js +2 -2
  93. package/dist/esm/media/messages/altText.js +4 -4
  94. package/dist/esm/media/messages/externalMedia.js +1 -1
  95. package/dist/esm/media/messages/imageBorder.js +6 -6
  96. package/dist/esm/media/messages/pixelEntry.js +3 -3
  97. package/dist/esm/messages/block-controls.js +5 -5
  98. package/dist/esm/messages/block-type.js +8 -8
  99. package/dist/esm/messages/breakout.js +1 -1
  100. package/dist/esm/messages/card.js +1 -1
  101. package/dist/esm/messages/context-panel.js +1 -1
  102. package/dist/esm/messages/help-dialog.js +9 -9
  103. package/dist/esm/messages/index.js +16 -16
  104. package/dist/esm/messages/insert-block.js +44 -44
  105. package/dist/esm/messages/layout.js +3 -3
  106. package/dist/esm/messages/link-toolbar.js +8 -8
  107. package/dist/esm/messages/link.js +1 -1
  108. package/dist/esm/messages/list.js +2 -2
  109. package/dist/esm/messages/media-editing.js +7 -7
  110. package/dist/esm/messages/panel.js +2 -2
  111. package/dist/esm/messages/placeholder-text.js +1 -1
  112. package/dist/esm/messages/selection-extension.js +1 -1
  113. package/dist/esm/messages/table.js +11 -11
  114. package/dist/esm/messages/unsupportedContent.js +3 -3
  115. package/dist/esm/monitoring/error.js +1 -1
  116. package/dist/esm/quick-insert/messages.js +17 -17
  117. package/dist/esm/type-ahead/messages.js +4 -4
  118. package/dist/esm/ui/DropList/index.js +1 -1
  119. package/dist/esm/ui/Expand/index.js +2 -2
  120. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +24 -24
  121. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +84 -84
  122. package/dist/types/analytics/types/enums.d.ts +1 -0
  123. package/dist/types/analytics/types/extension-events.d.ts +8 -2
  124. package/dist/types/analytics/types/insert-events.d.ts +1 -1
  125. package/dist/types/extensions/extension-handlers.d.ts +2 -1
  126. package/dist/types/extensions.d.ts +1 -1
  127. package/dist/types/messages/table.d.ts +2 -2
  128. package/dist/types/types/copy-button.d.ts +1 -0
  129. package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
  130. package/dist/types-ts4.5/analytics/types/extension-events.d.ts +8 -2
  131. package/dist/types-ts4.5/analytics/types/insert-events.d.ts +1 -1
  132. package/dist/types-ts4.5/extensions/extension-handlers.d.ts +2 -1
  133. package/dist/types-ts4.5/extensions.d.ts +1 -1
  134. package/dist/types-ts4.5/messages/table.d.ts +2 -2
  135. package/dist/types-ts4.5/types/copy-button.d.ts +1 -0
  136. package/package.json +2 -2
@@ -3,7 +3,7 @@ export var messages = defineMessages({
3
3
  edit: {
4
4
  id: 'fabric.editor.edit',
5
5
  defaultMessage: 'Edit',
6
- description: 'Edit the properties for this extension.'
6
+ description: 'The text is shown as a button label in the extension context menu. Triggers opening the properties editor for the selected extension to modify its configuration.'
7
7
  },
8
8
  deleteElementTitle: {
9
9
  id: 'fabric.editor.extension.deleteElementTitle',
@@ -28,22 +28,22 @@ export var messages = defineMessages({
28
28
  confirmModalCheckboxLabel: {
29
29
  id: 'fabric.editor.floatingToolbar.confirmModalCheckboxLabel',
30
30
  defaultMessage: 'Also delete connected elements',
31
- description: 'checkbox label text'
31
+ description: 'Label for a checkbox in a confirm modal that allows the user to also delete connected elements when deleting an extension.'
32
32
  },
33
33
  saveIndicator: {
34
34
  id: 'fabric.editor.extensions.config-panel.save-indicator',
35
35
  defaultMessage: 'All changes are always autosaved',
36
- description: 'Message shown to the user to notify to them that we save the changes automatically.'
36
+ description: 'Informational message displayed in the extension configuration panel to reassure users that their changes are being saved automatically without requiring manual save action.'
37
37
  },
38
38
  panelLoadingError: {
39
39
  id: 'fabric.editor.extensions.config-panel.loading-error.non-final',
40
40
  defaultMessage: 'We ran into a bit of trouble. Refresh to try again.',
41
- description: 'Error message when loading the configuration panel'
41
+ description: 'Error message displayed when the extension configuration panel fails to load. Instructs users to refresh the page to attempt loading the panel again.'
42
42
  },
43
43
  extensionLoadingError: {
44
44
  id: 'fabric.editor.extension.loading-error',
45
45
  defaultMessage: 'Error loading the extension!',
46
- description: 'Error message when loading an extension'
46
+ description: 'Error message displayed when an extension fails to load in the editor. Indicates a problem occurred during the extension initialization or rendering process.'
47
47
  }
48
48
  });
49
49
  export var configPanelMessages = defineMessages({
@@ -55,17 +55,17 @@ export var configPanelMessages = defineMessages({
55
55
  submit: {
56
56
  id: 'fabric.editor.configPanel.submit',
57
57
  defaultMessage: 'Submit',
58
- description: 'Submit button label'
58
+ description: 'Label for a button in the extension configuration panel that the user clicks to submit and apply configuration changes.'
59
59
  },
60
60
  cancel: {
61
61
  id: 'fabric.editor.configPanel.cancel',
62
62
  defaultMessage: 'Cancel',
63
- description: 'Cancel button label'
63
+ description: 'Label for a button in the extension configuration panel that the user clicks to cancel and discard configuration changes.'
64
64
  },
65
65
  close: {
66
66
  id: 'fabric.editor.configPanel.close',
67
67
  defaultMessage: 'Close',
68
- description: 'Close button label'
68
+ description: 'Label for a button in the extension configuration panel that the user clicks to close the panel.'
69
69
  },
70
70
  required: {
71
71
  id: 'fabric.editor.configPanel.required',
@@ -80,7 +80,7 @@ export var configPanelMessages = defineMessages({
80
80
  isMultipleAndRadio: {
81
81
  id: 'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio',
82
82
  defaultMessage: 'Can not combine isMultiple with style: radio',
83
- description: 'Configuration error'
83
+ description: 'Error message displayed in the extension configuration panel when isMultiple and radio style options are incorrectly combined.'
84
84
  },
85
85
  addField: {
86
86
  id: 'fabric.editor.configPanel.formType.addField',
@@ -6,6 +6,6 @@ export { createAutoConverterRunner, getExtensionAutoConvertersFromProvider, getQ
6
6
  export { default as DefaultExtensionProvider } from './extensions/default-extension-provider';
7
7
  export { default as combineExtensionProviders } from './extensions/combine-extension-providers';
8
8
  export { getExtensionKeyAndNodeKey, resolveImport } from './extensions/manifest-helpers';
9
- export { getExtensionModuleNode, getNodeRenderer, getExtensionModuleNodePrivateProps } from './extensions/extension-handlers';
9
+ export { getExtensionModuleNode, getNodeRenderer, getExtensionModuleNodePrivateProps, getExtensionManifest } from './extensions/extension-handlers';
10
10
  export { getCustomFieldResolver, getFieldSerializer, getFieldDeserializer, getUserFieldContextProvider } from './extensions/extension-fields-helpers';
11
11
  export { configPanelMessages, messages } from './extensions/messages';
@@ -85,7 +85,7 @@ export var messages = defineMessages({
85
85
  displayText: {
86
86
  id: 'fabric.editor.displayText',
87
87
  defaultMessage: 'Text to display',
88
- description: 'Text to display'
88
+ description: 'Label for the text input field in the hyperlink toolbar where users enter the display text for a link.'
89
89
  },
90
90
  clearText: {
91
91
  id: 'fabric.editor.clearLinkText',
@@ -3,36 +3,36 @@ export var utilMessages = defineMessages({
3
3
  hyperlinkIconIssueLabel: {
4
4
  id: 'fabric.editor.headingLink.hyperlinkIconIssueLabel',
5
5
  defaultMessage: 'Issue',
6
- description: 'icon label for a jira issue'
6
+ description: 'Accessible label for the Jira issue icon displayed in the hyperlink add toolbar when users search for or insert a link to a Jira issue.'
7
7
  },
8
8
  hyperlinkIconBugLabel: {
9
9
  id: 'fabric.editor.headingLink.hyperlinkIconBugLabel',
10
10
  defaultMessage: 'Bug',
11
- description: 'icon label for a jira bug'
11
+ description: 'Accessible label for the Jira bug icon displayed in the hyperlink add toolbar when users search for or insert a link to a Jira bug.'
12
12
  },
13
13
  hyperlinkIconStoryLabel: {
14
14
  id: 'fabric.editor.headingLink.hyperlinkIconStoryLabel',
15
15
  defaultMessage: 'Story',
16
- description: 'icon label for a jira story'
16
+ description: 'Accessible label for the Jira story icon displayed in the hyperlink add toolbar when users search for or insert a link to a Jira story.'
17
17
  },
18
18
  hyperlinkIconTaskLabel: {
19
19
  id: 'fabric.editor.headingLink.hyperlinkIconTaskLabel',
20
20
  defaultMessage: 'Task',
21
- description: 'icon label for a jira task'
21
+ description: 'Accessible label for the Jira task icon displayed in the hyperlink add toolbar when users search for or insert a link to a Jira task.'
22
22
  },
23
23
  hyperlinkIconPageLabel: {
24
24
  id: 'fabric.editor.headingLink.hyperlinkIconPageLabel',
25
25
  defaultMessage: 'Page',
26
- description: 'icon label for a confluence page'
26
+ description: 'The text is shown as an icon label in the hyperlink toolbar to identify Confluence pages. Displayed next to the page icon when users are linking to Confluence pages in the editor.'
27
27
  },
28
28
  hyperlinkIconBlogLabel: {
29
29
  id: 'fabric.editor.headingLink.hyperlinkIconBlogLabel',
30
30
  defaultMessage: 'Blog',
31
- description: 'icon label for a confluence blog'
31
+ description: 'The text is shown as an icon label in the hyperlink toolbar to identify Confluence blog posts. Displayed next to the blog icon when users are linking to Confluence blogs in the editor.'
32
32
  },
33
33
  hyperlinkIconIssueLabelIssueTermRefresh: {
34
34
  id: 'fabric.editor.headingLink.hyperlinkIconIssueLabel.issue-term-refresh',
35
35
  defaultMessage: 'Work Item',
36
- description: 'icon label for a jira issue'
36
+ description: 'Accessible label for the Jira issue icon displayed in the hyperlink add toolbar when users search for or insert a link to a Jira work item. This is the refreshed terminology used instead of "Issue".'
37
37
  }
38
38
  });
@@ -3,32 +3,32 @@ var messages = defineMessages({
3
3
  story: {
4
4
  id: 'fabric.editor.story',
5
5
  defaultMessage: 'Story',
6
- description: 'Alt text for Story'
6
+ description: 'Alt text for the issue type icon displayed in link search results when the linked item is a Story issue type.'
7
7
  },
8
8
  epic: {
9
9
  id: 'fabric.editor.epic',
10
10
  defaultMessage: 'Epic',
11
- description: 'Alt text for Epic'
11
+ description: 'Alt text for the issue type icon displayed in link search results when the linked item is an Epic issue type.'
12
12
  },
13
13
  task: {
14
14
  id: 'fabric.editor.task',
15
15
  defaultMessage: 'Task',
16
- description: 'Alt text for Task'
16
+ description: 'Alt text for the issue type icon displayed in link search results when the linked item is a Task issue type.'
17
17
  },
18
18
  bug: {
19
19
  id: 'fabric.editor.bug',
20
20
  defaultMessage: 'Bug',
21
- description: 'Alt text for Bug'
21
+ description: 'Alt text for the issue type icon displayed in link search results when the linked item is a Bug issue type.'
22
22
  },
23
23
  subTask: {
24
24
  id: 'fabric.editor.subTask',
25
25
  defaultMessage: 'Sub-task',
26
- description: 'Alt text for Sub-task'
26
+ description: 'Alt text for the issue type icon displayed in link search results when the linked item is a Sub-task issue type.'
27
27
  },
28
28
  improvement: {
29
29
  id: 'fabric.editor.improvement',
30
30
  defaultMessage: 'Improvement',
31
- description: 'Alt text for Improvement'
31
+ description: 'Alt text for the issue type icon displayed in link search results when the linked item is an Improvement issue type.'
32
32
  },
33
33
  defaultAltText: {
34
34
  id: 'fabric.editor.defaultAltText',
@@ -9,7 +9,7 @@ export var messages = defineMessages({
9
9
  unorderedListDescription: {
10
10
  id: 'fabric.editor.unorderedList.description',
11
11
  defaultMessage: 'Create an unordered list',
12
- description: ''
12
+ description: 'The text is shown as a description for the bullet list option in the quick insert menu when the user searches for list formatting options.'
13
13
  },
14
14
  orderedList: {
15
15
  id: 'fabric.editor.orderedList',
@@ -19,7 +19,7 @@ export var messages = defineMessages({
19
19
  orderedListDescription: {
20
20
  id: 'fabric.editor.orderedList.description',
21
21
  defaultMessage: 'Create an ordered list',
22
- description: ''
22
+ description: 'The text is shown as a description for the numbered list option in the quick insert menu when the user searches for list formatting options.'
23
23
  },
24
24
  lists: {
25
25
  id: 'fabric.editor.lists',
@@ -18,22 +18,22 @@ export var altTextMessages = defineMessages({
18
18
  back: {
19
19
  id: 'fabric.editor.closeAltTextEdit',
20
20
  defaultMessage: 'Back',
21
- description: 'Back to toolbar'
21
+ description: 'The text is shown on a button in the alt text editing toolbar for an image. When clicked, it closes the alt text editor and navigates the user back to the main media toolbar.'
22
22
  },
23
23
  clear: {
24
24
  id: 'fabric.editor.clearAltTextEdit',
25
25
  defaultMessage: 'Clear alt text',
26
- description: 'Clear alt text'
26
+ description: 'The text is shown on a button in the alt text editing toolbar for an image. When clicked, it clears the current alt text value from the input field.'
27
27
  },
28
28
  placeholder: {
29
29
  id: 'fabric.editor.placeholderAltText',
30
30
  defaultMessage: 'Describe this image with alt text',
31
- description: 'Describe this image with alt text'
31
+ description: 'The text is shown as placeholder text inside the alt text input field for an image. It prompts the user to enter a description of the image for accessibility purposes.'
32
32
  },
33
33
  supportText: {
34
34
  id: 'fabric.editor.supportAltText',
35
35
  defaultMessage: 'Alt text is useful for people using screen readers because of visual limitations.',
36
- description: 'Alt text is useful for people using screen readers because of visual limitations.'
36
+ description: 'The text is shown as a help message below the alt text input field for an image. It informs users why providing alt text is important for accessibility and screen reader support.'
37
37
  },
38
38
  validationMessage: {
39
39
  id: 'fabric.editor.alttext.validation',
@@ -3,6 +3,6 @@ export var externalMediaMessages = defineMessages({
3
3
  externalMediaFile: {
4
4
  id: 'fabric.editor.externalMediaFile',
5
5
  defaultMessage: 'External media file',
6
- description: 'External media file'
6
+ description: 'Displayed as a tooltip and accessibility label for an info icon badge when an externally hosted media file is shown in the editor.'
7
7
  }
8
8
  });
@@ -23,31 +23,31 @@ export var imageBorderMessages = defineMessages({
23
23
  addBorder: {
24
24
  id: 'fabric.editor.addImageBorder',
25
25
  defaultMessage: 'Add border',
26
- description: 'Add a border to an image.'
26
+ description: 'Label shown on a button in the image border options toolbar to add a border around the selected image.'
27
27
  },
28
28
  removeBorder: {
29
29
  id: 'fabric.editor.removeImageBorder',
30
30
  defaultMessage: 'Remove border',
31
- description: 'Remove the border of an image.'
31
+ description: 'The text is shown as a button label in the image toolbar. Removes any border that was previously applied to the selected image.'
32
32
  },
33
33
  borderOptions: {
34
34
  id: 'fabric.editor.imageBorderOptions',
35
35
  defaultMessage: 'Border options',
36
- description: 'Display options available for customizing the border of an image.'
36
+ description: 'The text is shown as a panel or menu header. Provides users access to customize image borders including size and color options.'
37
37
  },
38
38
  borderSizeSubtle: {
39
39
  id: 'fabric.editor.imageBorderSubtle',
40
40
  defaultMessage: 'Subtle',
41
- description: 'Name of a border size.'
41
+ description: 'Label shown as a drop-down item in the image border size selector to apply a thin, subtle border around the image.'
42
42
  },
43
43
  borderSizeMedium: {
44
44
  id: 'fabric.editor.imageBorderMedium',
45
45
  defaultMessage: 'Medium',
46
- description: 'Name of a border size.'
46
+ description: 'Label shown as a drop-down item in the image border size selector to apply a medium-weight border around the image.'
47
47
  },
48
48
  borderSizeBold: {
49
49
  id: 'fabric.editor.imageBorderBold',
50
50
  defaultMessage: 'Bold',
51
- description: 'Name of a border size.'
51
+ description: 'Label shown as a drop-down item in the image border size selector to apply a thick, bold border around the image.'
52
52
  }
53
53
  });
@@ -13,12 +13,12 @@ export var pixelEntryMessages = defineMessages({
13
13
  inputWidthAriaLabel: {
14
14
  id: 'fabric.editor.media.pixelEntry.inputWidthAriaLabel',
15
15
  defaultMessage: 'Max width {maxWidth}px',
16
- description: 'The width input aria label'
16
+ description: 'Aria label for the width input field used for media pixel entry. The placeholder {maxWidth} will be substituted with the maximum allowed width value in pixels.'
17
17
  },
18
18
  inputWidthLabel: {
19
19
  id: 'fabric.editor.media.pixelEntry.inputWidthLabel',
20
20
  defaultMessage: 'Width',
21
- description: 'The label displayed next to the width input'
21
+ description: 'Label for the width input field in the media resize panel. Users enter a numeric value representing the desired width in pixels for the image.'
22
22
  },
23
23
  inputHeightTooltip: {
24
24
  id: 'fabric.editor.media.pixelEntry.inputHeightTooltip',
@@ -28,7 +28,7 @@ export var pixelEntryMessages = defineMessages({
28
28
  inputHeightAriaLabel: {
29
29
  id: 'fabric.editor.media.pixelEntry.inputHeightAriaLabel',
30
30
  defaultMessage: 'height input',
31
- description: 'The width input aria label'
31
+ description: 'Aria label for the height input field used for media pixel entry to inform screen readers about the purpose of the input.'
32
32
  },
33
33
  submitButtonText: {
34
34
  id: 'fabric.editor.media.pixelEntry.submitButtonText',
@@ -23,12 +23,12 @@ export var messages = defineMessages({
23
23
  moveUp: {
24
24
  id: 'fabric.editor.blockControlMoveUp',
25
25
  defaultMessage: 'Move up',
26
- description: 'Moves selected content up'
26
+ description: 'Label for a button in the block controls menu that moves the selected content block up in the editor.'
27
27
  },
28
28
  moveDown: {
29
29
  id: 'fabric.editor.blockControlMoveDown',
30
30
  defaultMessage: 'Move down',
31
- description: 'Moves selected content down'
31
+ description: 'Label for a button in the block controls menu that moves the selected content block down in the editor.'
32
32
  },
33
33
  movedup: {
34
34
  id: 'fabric.editor.blockControlMovedUp',
@@ -43,16 +43,16 @@ export var messages = defineMessages({
43
43
  moveLeft: {
44
44
  id: 'fabric.editor.blockControlMoveLeft',
45
45
  defaultMessage: 'Move left',
46
- description: 'Moves selected content left'
46
+ description: 'Label for a button in the block controls menu that moves the selected content block to the left.'
47
47
  },
48
48
  moveRight: {
49
49
  id: 'fabric.editor.blockControlMoveRight',
50
50
  defaultMessage: 'Move right',
51
- description: 'Moves selected content right'
51
+ description: 'Label for a button in the block controls menu that moves the selected content block to the right.'
52
52
  },
53
53
  delete: {
54
54
  id: 'fabric.editor.blockControlDelete',
55
55
  defaultMessage: 'Delete',
56
- description: 'Delete selected element'
56
+ description: 'Label for a button in the block controls menu that deletes the currently selected content block from the editor.'
57
57
  }
58
58
  });
@@ -33,7 +33,7 @@ export var messages = defineMessages({
33
33
  heading3Description: {
34
34
  id: 'fabric.editor.heading3Description',
35
35
  defaultMessage: 'Use this for sub sections and group headings',
36
- description: ''
36
+ description: 'Description text shown in the block type menu to help users understand when to use Heading 3 for sub sections and group headings in the editor.'
37
37
  },
38
38
  heading4: {
39
39
  id: 'fabric.editor.heading4',
@@ -43,7 +43,7 @@ export var messages = defineMessages({
43
43
  heading4Description: {
44
44
  id: 'fabric.editor.heading4Description',
45
45
  defaultMessage: 'Use this for deep headings',
46
- description: ''
46
+ description: 'Description text shown in the block type menu to help users understand when to use Heading 4 for deep headings in the editor.'
47
47
  },
48
48
  heading5: {
49
49
  id: 'fabric.editor.heading5',
@@ -53,7 +53,7 @@ export var messages = defineMessages({
53
53
  heading5Description: {
54
54
  id: 'fabric.editor.heading5Description',
55
55
  defaultMessage: 'Use this for grouping list items',
56
- description: ''
56
+ description: 'Description text shown in the block type menu to help users understand when to use Heading 5 for grouping list items in the editor.'
57
57
  },
58
58
  heading6: {
59
59
  id: 'fabric.editor.heading6',
@@ -63,17 +63,17 @@ export var messages = defineMessages({
63
63
  heading6Description: {
64
64
  id: 'fabric.editor.heading6Description',
65
65
  defaultMessage: 'Use this for low level headings',
66
- description: ''
66
+ description: 'Description text shown in the block type menu to help users understand when to use Heading 6 for low level headings in the editor.'
67
67
  },
68
68
  blockquote: {
69
69
  id: 'fabric.editor.blockquote2',
70
70
  defaultMessage: 'Quote',
71
- description: 'Quote some text'
71
+ description: 'Label shown as a menu item in the block type dropdown to insert a blockquote for quoting text in the editor.'
72
72
  },
73
73
  blockquoteDescription: {
74
74
  id: 'fabric.editor.blockquote.description',
75
75
  defaultMessage: 'Insert a quote or citation',
76
- description: 'Quote some text'
76
+ description: 'Description text shown in the block type menu to help users understand the blockquote option for inserting a quote or citation in the editor.'
77
77
  },
78
78
  codeblock: {
79
79
  id: 'fabric.editor.codeblock',
@@ -83,7 +83,7 @@ export var messages = defineMessages({
83
83
  codeblockDescription: {
84
84
  id: 'fabric.editor.codeblock.description',
85
85
  defaultMessage: 'Display code with syntax highlighting',
86
- description: 'Insert a snippet/segment of code (code block)'
86
+ description: 'Menu description shown in the quick insert menu. Explains that selecting this option inserts a code block with syntax highlighting support.'
87
87
  },
88
88
  infoPanel: {
89
89
  id: 'fabric.editor.infoPanel',
@@ -168,6 +168,6 @@ export var messages = defineMessages({
168
168
  other: {
169
169
  id: 'fabric.editor.other',
170
170
  defaultMessage: 'Others...',
171
- description: 'Other text formatting'
171
+ description: 'Label shown as a menu item in the block type dropdown to access additional text formatting options in the editor.'
172
172
  }
173
173
  });
@@ -18,7 +18,7 @@ export var messages = defineMessages({
18
18
  resizeHandle: {
19
19
  id: 'fabric.editor.resizeHandle',
20
20
  defaultMessage: 'Resize handle',
21
- description: 'Resize handle'
21
+ description: 'Label for the resize handle element displayed on content blocks in the editor, used to allow users to drag and resize the width of the element.'
22
22
  },
23
23
  resizeExpand: {
24
24
  id: 'fabric.editor.breakout.resizeExpand',
@@ -28,7 +28,7 @@ export var messages = defineMessages({
28
28
  card: {
29
29
  id: 'fabric.editor.cardFloatingControls',
30
30
  defaultMessage: 'Card options',
31
- description: 'Options to change card type'
31
+ description: 'The text is shown as a title for the floating toolbar when a user selects an inline card or smart link in the editor, providing options to change the card display type.'
32
32
  },
33
33
  blockCardUnavailable: {
34
34
  id: 'fabric.editor.blockCardUnavailable',
@@ -3,7 +3,7 @@ export var contextPanelMessages = defineMessages({
3
3
  panelLabel: {
4
4
  id: 'fabric.editor.contextPanel.panelLabel',
5
5
  defaultMessage: 'Context panel',
6
- description: 'Label for the context panel'
6
+ description: 'Accessibility label for the context panel dialog in the editor. Used as an aria-label to identify the panel for screen reader users.'
7
7
  },
8
8
  panelContentLabel: {
9
9
  id: 'fabric.editor.contextPanel.panelContentLabel',
@@ -3,7 +3,7 @@ export var helpDialogMessages = defineMessages({
3
3
  editorHelp: {
4
4
  id: 'fabric.editor.editorHelp',
5
5
  defaultMessage: 'Editor help',
6
- description: 'Title of editor help dialog.'
6
+ description: 'The text is shown as a title for the editor help dialog when the user opens the help panel to view keyboard shortcuts and formatting options.'
7
7
  },
8
8
  helpDialogTips: {
9
9
  id: 'fabric.editor.helpDialogTips',
@@ -13,7 +13,7 @@ export var helpDialogMessages = defineMessages({
13
13
  keyboardShortcuts: {
14
14
  id: 'fabric.editor.keyboardShortcuts',
15
15
  defaultMessage: 'Keyboard shortcuts',
16
- description: ''
16
+ description: 'The text is shown as a heading in the editor help dialog to label the section that lists available keyboard shortcuts for the editor.'
17
17
  },
18
18
  markdown: {
19
19
  id: 'fabric.editor.markdown',
@@ -23,27 +23,27 @@ export var helpDialogMessages = defineMessages({
23
23
  pastePlainText: {
24
24
  id: 'fabric.editor.pastePlainText',
25
25
  defaultMessage: 'Paste plain text',
26
- description: ''
26
+ description: 'The text is shown as a label for a keyboard shortcut in the editor help dialog that describes how to paste content without formatting.'
27
27
  },
28
28
  CheckUncheckActionItem: {
29
29
  id: 'fabric.editor.checkUncheckActionItem',
30
30
  defaultMessage: 'Toggle action item',
31
- description: 'For Check/Uncheck Action item use shortcut'
31
+ description: 'Keyboard shortcut description shown in the help dialog. Explains how to toggle or check/uncheck action items in the editor using a keyboard shortcut.'
32
32
  },
33
33
  InsertTableColumn: {
34
34
  id: 'fabric.editor.insertTableColumn',
35
35
  defaultMessage: 'Insert table column',
36
- description: 'For insert table column'
36
+ description: 'The text is shown as a label for a keyboard shortcut in the editor help dialog that describes how to insert a new column into a table.'
37
37
  },
38
38
  InsertTableRow: {
39
39
  id: 'fabric.editor.insertTableRow',
40
40
  defaultMessage: 'Insert table row',
41
- description: 'For insert table row'
41
+ description: 'The text is shown as a label for a keyboard shortcut in the editor help dialog that describes how to insert a new row into a table.'
42
42
  },
43
43
  altText: {
44
44
  id: 'fabric.editor.altText',
45
45
  defaultMessage: 'Alt text',
46
- description: 'Alternative text for image.'
46
+ description: 'The text is shown as a label for a keyboard shortcut in the editor help dialog that describes how to add or edit alternative text for an image.'
47
47
  },
48
48
  selectTableRow: {
49
49
  id: 'fabric.editor.selectTableRow',
@@ -88,12 +88,12 @@ export var helpDialogMessages = defineMessages({
88
88
  focusTableResizeHandle: {
89
89
  id: 'fabric.editor.focusTableResizeHandle',
90
90
  defaultMessage: 'Focus table resize handle',
91
- description: 'Focus table resize handle'
91
+ description: 'The text is shown as a label for a keyboard shortcut in the editor help dialog that describes how to move focus to the table resize handle for resizing columns.'
92
92
  },
93
93
  closeHelpDialog: {
94
94
  id: 'fabric.editor.closeHelpDialog',
95
95
  defaultMessage: 'Close help dialog',
96
- description: ''
96
+ description: 'The text is shown as a label for a keyboard shortcut in the editor help dialog that describes how to close the help dialog and return to the editor.'
97
97
  },
98
98
  // Ignored via go/ees007
99
99
  // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
@@ -80,17 +80,17 @@ export default defineMessages({
80
80
  alignImageRight: {
81
81
  id: 'fabric.editor.alignImageRight',
82
82
  defaultMessage: 'Align right',
83
- description: 'Aligns image to the right'
83
+ description: 'The text is shown as a button in the image toolbar when the user wants to align an image to the right side of the page.'
84
84
  },
85
85
  alignImageCenter: {
86
86
  id: 'fabric.editor.alignImageCenter',
87
87
  defaultMessage: 'Align center',
88
- description: 'Aligns image to the center'
88
+ description: 'The text is shown as a button in the image toolbar when the user wants to align an image to the center of the page.'
89
89
  },
90
90
  alignImageLeft: {
91
91
  id: 'fabric.editor.alignImageLeft',
92
92
  defaultMessage: 'Align left',
93
- description: 'Aligns image to the left'
93
+ description: 'The text is shown as a button in the image toolbar when the user wants to align an image to the left side of the page.'
94
94
  },
95
95
  delete: {
96
96
  id: 'fabric.editor.delete',
@@ -110,7 +110,7 @@ export default defineMessages({
110
110
  visit: {
111
111
  id: 'fabric.editor.visit',
112
112
  defaultMessage: 'Open link in a new window',
113
- description: 'Open the link in a new window'
113
+ description: 'The text is shown as a link or button in the editor when the user wants to open the selected link in a new browser window.'
114
114
  },
115
115
  inviteToEditButtonTitle: {
116
116
  id: 'fabric.editor.editMode.inviteToEditButton.title',
@@ -130,52 +130,52 @@ export default defineMessages({
130
130
  taskList: {
131
131
  id: 'fabric.editor.tooltip.taskList',
132
132
  defaultMessage: 'an action item',
133
- description: 'an action item in the Editor'
133
+ description: 'The text is shown as a tooltip label in the editor to describe an action item element when the user interacts with it.'
134
134
  },
135
135
  bulletList: {
136
136
  id: 'fabric.editor.tooltip.bulletList',
137
137
  defaultMessage: 'a list',
138
- description: 'a list item in the Editor'
138
+ description: 'The text is shown as a tooltip label in the editor to describe a bullet list element when the user interacts with it.'
139
139
  },
140
140
  nestedExpand: {
141
141
  id: 'fabric.editor.tooltip.nestedExpand',
142
142
  defaultMessage: 'a nested expand',
143
- description: 'expand node which is nested'
143
+ description: 'The text is shown as a tooltip label in the editor to describe a nested expand element when the user interacts with it.'
144
144
  },
145
145
  decisionList: {
146
146
  id: 'fabric.editor.tooltip.decisionList',
147
147
  defaultMessage: 'a decision list',
148
- description: 'a list of decisions'
148
+ description: 'The text is shown as a tooltip label in the editor to describe a decision list element when the user interacts with it.'
149
149
  },
150
150
  defaultBlockNode: {
151
151
  id: 'fabric.editor.tooltip.defaultBlockNode',
152
152
  defaultMessage: 'a block node',
153
- description: 'a block node element'
153
+ description: 'The text is shown as a tooltip label in the editor to describe a generic block node element when the user interacts with it.'
154
154
  },
155
155
  panel: {
156
156
  id: 'fabric.editor.tooltip.blockPanel',
157
157
  defaultMessage: 'a panel',
158
- description: 'Panel node in the Editor'
158
+ description: 'The text is shown as a tooltip label in the editor to describe a panel element when the user interacts with it.'
159
159
  },
160
160
  blockquote: {
161
161
  id: 'fabric.editor.blockquote',
162
162
  defaultMessage: 'a quote',
163
- description: 'a quote node'
163
+ description: 'The text is shown as a tooltip label in the editor to describe a blockquote element when the user interacts with it.'
164
164
  },
165
165
  timeUpdated: {
166
166
  id: 'fabric.editor.time.updated',
167
167
  defaultMessage: 'Updated',
168
- description: 'Time last updated'
168
+ description: 'The text is shown as a label in the editor to indicate when the content was last updated by a user.'
169
169
  },
170
170
  timeViewed: {
171
171
  id: 'fabric.editor.time.viewed',
172
172
  defaultMessage: 'Viewed',
173
- description: 'Time last viewed'
173
+ description: 'The text is shown as a label in the editor to indicate when the content was last viewed by a user.'
174
174
  },
175
175
  timeAgo: {
176
176
  id: 'fabric.editor.time.ago',
177
177
  defaultMessage: 'ago',
178
- description: 'Some time ago'
178
+ description: 'The text is shown as a label suffix after a time value to indicate that the action occurred in the past, for example "5 minutes ago".'
179
179
  },
180
180
  copyToClipboard: {
181
181
  id: 'fabric.editor.copyToClipboard',
@@ -190,7 +190,7 @@ export default defineMessages({
190
190
  viewMore: {
191
191
  id: 'fabric.editor.overflowMenuViewMore',
192
192
  defaultMessage: 'View more',
193
- description: 'View more options in toolbar'
193
+ description: 'The text is shown as a button in the editor toolbar overflow menu when additional toolbar options are available for the user to view.'
194
194
  },
195
195
  imageEdit: {
196
196
  id: 'fabric.editor.imageEdit',
@@ -200,7 +200,7 @@ export default defineMessages({
200
200
  error: {
201
201
  id: 'fabric.editor.error.message.label',
202
202
  defaultMessage: 'Error',
203
- description: 'Label for error message icon'
203
+ description: 'The text is shown as a label for the error message icon in the editor when an operation fails or an error occurs.'
204
204
  },
205
205
  success: {
206
206
  id: 'fabric.editor.success.message.label',