@atlaskit/editor-common 114.19.1 → 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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/media/messages/imageBorder.js +2 -2
- package/dist/cjs/media/messages/mediaResizeAnnouncerMess.js +2 -2
- package/dist/cjs/media/messages/nodeviews.js +1 -1
- package/dist/cjs/media/messages/pixelEntry.js +1 -1
- package/dist/cjs/messages/alignment.js +1 -1
- package/dist/cjs/messages/block-controls.js +4 -4
- package/dist/cjs/messages/block-menu.js +2 -2
- package/dist/cjs/messages/block-type.js +1 -1
- package/dist/cjs/messages/breakout.js +1 -1
- package/dist/cjs/messages/card.js +6 -6
- package/dist/cjs/messages/codeBlockButton.js +2 -2
- package/dist/cjs/messages/context-panel.js +1 -1
- package/dist/cjs/messages/element-insert-side-panel.js +1 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/table/messages.js +4 -4
- package/dist/cjs/type-ahead/messages.js +4 -4
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +2 -2
- package/dist/es2019/media/messages/imageBorder.js +2 -2
- package/dist/es2019/media/messages/mediaResizeAnnouncerMess.js +2 -2
- package/dist/es2019/media/messages/nodeviews.js +1 -1
- package/dist/es2019/media/messages/pixelEntry.js +1 -1
- package/dist/es2019/messages/alignment.js +1 -1
- package/dist/es2019/messages/block-controls.js +4 -4
- package/dist/es2019/messages/block-menu.js +2 -2
- package/dist/es2019/messages/block-type.js +1 -1
- package/dist/es2019/messages/breakout.js +1 -1
- package/dist/es2019/messages/card.js +6 -6
- package/dist/es2019/messages/codeBlockButton.js +2 -2
- package/dist/es2019/messages/context-panel.js +1 -1
- package/dist/es2019/messages/element-insert-side-panel.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/table/messages.js +4 -4
- package/dist/es2019/type-ahead/messages.js +4 -4
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +2 -2
- package/dist/esm/media/messages/imageBorder.js +2 -2
- package/dist/esm/media/messages/mediaResizeAnnouncerMess.js +2 -2
- package/dist/esm/media/messages/nodeviews.js +1 -1
- package/dist/esm/media/messages/pixelEntry.js +1 -1
- package/dist/esm/messages/alignment.js +1 -1
- package/dist/esm/messages/block-controls.js +4 -4
- package/dist/esm/messages/block-menu.js +2 -2
- package/dist/esm/messages/block-type.js +1 -1
- package/dist/esm/messages/breakout.js +1 -1
- package/dist/esm/messages/card.js +6 -6
- package/dist/esm/messages/codeBlockButton.js +2 -2
- package/dist/esm/messages/context-panel.js +1 -1
- package/dist/esm/messages/element-insert-side-panel.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/table/messages.js +4 -4
- package/dist/esm/type-ahead/messages.js +4 -4
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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
|
});
|
|
@@ -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 = "
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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 = "
|
|
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: '
|
|
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
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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
|
});
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "
|
|
7
|
+
const packageVersion = "0.0.0-development";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -3,23 +3,23 @@ export const sortingIconMessages = defineMessages({
|
|
|
3
3
|
noOrderLabel: {
|
|
4
4
|
id: 'fabric.editor.headingLink.noOrderLabel',
|
|
5
5
|
defaultMessage: 'Sort column A to Z',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'Label shown on a table column header sort button to sort the column alphabetically from A to Z (ascending order).'
|
|
7
7
|
},
|
|
8
8
|
ascOrderLabel: {
|
|
9
9
|
id: 'fabric.editor.headingLink.ascOrderLabel',
|
|
10
10
|
defaultMessage: 'Sort column Z to A',
|
|
11
|
-
description: '
|
|
11
|
+
description: 'Label shown on a table column header sort button to sort the column alphabetically from Z to A (descending order).'
|
|
12
12
|
},
|
|
13
13
|
descOrderLabel: {
|
|
14
14
|
id: 'fabric.editor.headingLink.descOrderLabel',
|
|
15
15
|
defaultMessage: 'Clear sorting',
|
|
16
|
-
description: '
|
|
16
|
+
description: 'Label shown on a table column header sort button to remove any active sorting and restore the default column order.'
|
|
17
17
|
},
|
|
18
18
|
invalidLabel: {
|
|
19
19
|
id: 'fabric.editor.headingLink.invalidLabel',
|
|
20
20
|
// eslint-disable-next-line @atlassian/i18n/no-multiple-whitespaces
|
|
21
21
|
defaultMessage: `⚠️ You can't sort a table with merged cells`,
|
|
22
|
-
description: '
|
|
22
|
+
description: 'Warning message shown in a table column header when sorting cannot be applied because the table contains merged cells.'
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
export const sortingAriaLabelMessages = defineMessages({
|
|
@@ -13,12 +13,12 @@ export const typeAheadListMessages = defineMessages({
|
|
|
13
13
|
quickInsertInputLabel: {
|
|
14
14
|
id: 'fabric.editor.typeAhead.quickInsertInputLabel',
|
|
15
15
|
defaultMessage: 'Begin typing to search or filter shortcut options',
|
|
16
|
-
description: '
|
|
16
|
+
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.'
|
|
17
17
|
},
|
|
18
18
|
quickInsertInputPlaceholderLabel: {
|
|
19
19
|
id: 'fabric.editor.typeAhead.quickInsertInputPlaceholderLabel',
|
|
20
20
|
defaultMessage: 'Search',
|
|
21
|
-
description: '
|
|
21
|
+
description: 'Placeholder text displayed inside the quick insert typeahead input field when it is empty, prompting users to type a search term.'
|
|
22
22
|
},
|
|
23
23
|
emojiPopupLabel: {
|
|
24
24
|
id: 'fabric.editor.typeahead.emojiPopupLabel',
|
|
@@ -28,7 +28,7 @@ export const typeAheadListMessages = defineMessages({
|
|
|
28
28
|
emojiInputLabel: {
|
|
29
29
|
id: 'fabric.editor.typeahead.emojiInputLabel',
|
|
30
30
|
defaultMessage: 'Begin typing to search or filter emoji options',
|
|
31
|
-
description: '
|
|
31
|
+
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.'
|
|
32
32
|
},
|
|
33
33
|
mentionPopupLabel: {
|
|
34
34
|
id: 'fabric.editor.typeahead.mentionPopupLabel',
|
|
@@ -38,7 +38,7 @@ export const typeAheadListMessages = defineMessages({
|
|
|
38
38
|
mentionInputLabel: {
|
|
39
39
|
id: 'fabric.editor.typeahead.mentionInputLabel',
|
|
40
40
|
defaultMessage: 'Begin typing to search for users to tag',
|
|
41
|
-
description: '
|
|
41
|
+
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.'
|
|
42
42
|
},
|
|
43
43
|
metionListItemLabel: {
|
|
44
44
|
id: 'fabric.editor.typeahead.metionListItemLabel',
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "
|
|
17
|
+
const packageVersion = "0.0.0-development";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -15,7 +15,7 @@ export const messages = defineMessages({
|
|
|
15
15
|
loading: {
|
|
16
16
|
id: 'fabric.editor.expand.loading',
|
|
17
17
|
defaultMessage: 'Loading...',
|
|
18
|
-
description: '
|
|
18
|
+
description: 'Text shown inside an expand node while its content is being loaded, indicating to the user that data is still being fetched.'
|
|
19
19
|
},
|
|
20
20
|
collapseNode: {
|
|
21
21
|
id: 'fabric.editor.collapseNode',
|
|
@@ -25,7 +25,7 @@ export const messages = defineMessages({
|
|
|
25
25
|
expandDefaultTitle: {
|
|
26
26
|
id: 'fabric.editor.expandDefaultTitle',
|
|
27
27
|
defaultMessage: 'Click here to expand...',
|
|
28
|
-
description: 'Placeholder text
|
|
28
|
+
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.'
|
|
29
29
|
},
|
|
30
30
|
expandNode: {
|
|
31
31
|
id: 'fabric.editor.expandNode',
|
|
@@ -3,7 +3,7 @@ export var imageBorderMessages = defineMessages({
|
|
|
3
3
|
borderColor: {
|
|
4
4
|
id: 'fabric.editor.imageBorderColor',
|
|
5
5
|
defaultMessage: 'Color',
|
|
6
|
-
description: '
|
|
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 var imageBorderMessages = defineMessages({
|
|
|
13
13
|
borderSize: {
|
|
14
14
|
id: 'fabric.editor.imageBorderSize',
|
|
15
15
|
defaultMessage: 'Size',
|
|
16
|
-
description: '
|
|
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 var mediaResizeAnnouncerMessMessages = defineMessages({
|
|
|
3
3
|
MediaWidthIsMax: {
|
|
4
4
|
id: 'fabric.editor.media.pixelEntry.MediaWidthIsMax',
|
|
5
5
|
defaultMessage: 'Media increased to the maximum size',
|
|
6
|
-
description: '
|
|
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: '
|
|
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 var nodeViewsMessages = defineMessages({
|
|
|
3
3
|
mediaGroupDeleteLabel: {
|
|
4
4
|
id: 'fabric.editor.mediaGroupDeleteLabel',
|
|
5
5
|
defaultMessage: 'delete',
|
|
6
|
-
description: '
|
|
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 var pixelEntryMessages = defineMessages({
|
|
|
38
38
|
fullWidthLabel: {
|
|
39
39
|
id: 'fabric.editor.image.fullWidthLabel',
|
|
40
40
|
defaultMessage: 'Full-width',
|
|
41
|
-
description: '
|
|
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 var alignmentMessages = defineMessages({
|
|
|
8
8
|
alignLeft: {
|
|
9
9
|
id: 'fabric.editor.alignLeft',
|
|
10
10
|
defaultMessage: 'Align left',
|
|
11
|
-
description: '
|
|
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 var messages = defineMessages({
|
|
|
3
3
|
dragToMove: {
|
|
4
4
|
id: 'fabric.editor.blockControlDragHandleMove',
|
|
5
5
|
defaultMessage: 'Drag to move',
|
|
6
|
-
description: '
|
|
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 var messages = defineMessages({
|
|
|
13
13
|
dragToRearrange: {
|
|
14
14
|
id: 'fabric.editor.blockControlDragHandleRearrange',
|
|
15
15
|
defaultMessage: 'Drag to rearrange',
|
|
16
|
-
description: '
|
|
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 var messages = defineMessages({
|
|
|
33
33
|
movedup: {
|
|
34
34
|
id: 'fabric.editor.blockControlMovedUp',
|
|
35
35
|
defaultMessage: 'Content has been moved up',
|
|
36
|
-
description: '
|
|
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: '
|
|
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 var messages = defineMessages({
|
|
|
18
18
|
copyLink: {
|
|
19
19
|
id: 'fabric.editor.block.menu.copy.link',
|
|
20
20
|
defaultMessage: 'Copy link',
|
|
21
|
-
description: '
|
|
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: '
|
|
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 var messages = defineMessages({
|
|
|
3
3
|
normal: {
|
|
4
4
|
id: 'fabric.editor.normal',
|
|
5
5
|
defaultMessage: 'Normal text',
|
|
6
|
-
description: '
|
|
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 var messages = defineMessages({
|
|
|
13
13
|
wideWidthLabel: {
|
|
14
14
|
id: 'fabric.editor.breakoutWideWidthLabel',
|
|
15
15
|
defaultMessage: 'Wide',
|
|
16
|
-
description: '
|
|
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 var messages = defineMessages({
|
|
|
13
13
|
inline: {
|
|
14
14
|
id: 'fabric.editor.displayInline',
|
|
15
15
|
defaultMessage: 'Display inline',
|
|
16
|
-
description: '
|
|
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: '
|
|
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 var messages = defineMessages({
|
|
|
103
103
|
editDropdownExpandIconLabel: {
|
|
104
104
|
id: 'fabric.editor.editDropdownExpandIconLabel',
|
|
105
105
|
defaultMessage: 'Expand dropdown menu',
|
|
106
|
-
description: '
|
|
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 var messages = defineMessages({
|
|
|
113
113
|
editDropdownEditLinkTitle: {
|
|
114
114
|
id: 'fabric.editor.editDropdownEditLinkTitle',
|
|
115
115
|
defaultMessage: 'Edit link',
|
|
116
|
-
description: '
|
|
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 var messages = defineMessages({
|
|
|
133
133
|
datasourceJiraIssue: {
|
|
134
134
|
id: 'fabric.editor.datasource.jiraIssue',
|
|
135
135
|
defaultMessage: 'Jira Issues',
|
|
136
|
-
description: '
|
|
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: '
|
|
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 var codeBlockButtonMessages = defineMessages({
|
|
|
13
13
|
wrapCode: {
|
|
14
14
|
id: 'fabric.editor.codeBlockWrapButton.wrapCodeBlock',
|
|
15
15
|
defaultMessage: 'Turn on wrap',
|
|
16
|
-
description: '
|
|
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: '
|
|
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 var contextPanelMessages = defineMessages({
|
|
|
8
8
|
panelContentLabel: {
|
|
9
9
|
id: 'fabric.editor.contextPanel.panelContentLabel',
|
|
10
10
|
defaultMessage: 'Scrollable context panel content',
|
|
11
|
-
description: '
|
|
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 var elementInsertSidePanel = defineMessages({
|
|
|
3
3
|
title: {
|
|
4
4
|
id: 'fabric.editor.elementInsertSidePanel.title',
|
|
5
5
|
defaultMessage: 'Insert',
|
|
6
|
-
description: '
|
|
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
|
});
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "
|
|
13
|
+
var packageVersion = "0.0.0-development";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -3,23 +3,23 @@ export var sortingIconMessages = defineMessages({
|
|
|
3
3
|
noOrderLabel: {
|
|
4
4
|
id: 'fabric.editor.headingLink.noOrderLabel',
|
|
5
5
|
defaultMessage: 'Sort column A to Z',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'Label shown on a table column header sort button to sort the column alphabetically from A to Z (ascending order).'
|
|
7
7
|
},
|
|
8
8
|
ascOrderLabel: {
|
|
9
9
|
id: 'fabric.editor.headingLink.ascOrderLabel',
|
|
10
10
|
defaultMessage: 'Sort column Z to A',
|
|
11
|
-
description: '
|
|
11
|
+
description: 'Label shown on a table column header sort button to sort the column alphabetically from Z to A (descending order).'
|
|
12
12
|
},
|
|
13
13
|
descOrderLabel: {
|
|
14
14
|
id: 'fabric.editor.headingLink.descOrderLabel',
|
|
15
15
|
defaultMessage: 'Clear sorting',
|
|
16
|
-
description: '
|
|
16
|
+
description: 'Label shown on a table column header sort button to remove any active sorting and restore the default column order.'
|
|
17
17
|
},
|
|
18
18
|
invalidLabel: {
|
|
19
19
|
id: 'fabric.editor.headingLink.invalidLabel',
|
|
20
20
|
// eslint-disable-next-line @atlassian/i18n/no-multiple-whitespaces
|
|
21
21
|
defaultMessage: "\u26A0\uFE0F You can't sort a table with merged cells",
|
|
22
|
-
description: '
|
|
22
|
+
description: 'Warning message shown in a table column header when sorting cannot be applied because the table contains merged cells.'
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
export var sortingAriaLabelMessages = defineMessages({
|
|
@@ -13,12 +13,12 @@ export var typeAheadListMessages = defineMessages({
|
|
|
13
13
|
quickInsertInputLabel: {
|
|
14
14
|
id: 'fabric.editor.typeAhead.quickInsertInputLabel',
|
|
15
15
|
defaultMessage: 'Begin typing to search or filter shortcut options',
|
|
16
|
-
description: '
|
|
16
|
+
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.'
|
|
17
17
|
},
|
|
18
18
|
quickInsertInputPlaceholderLabel: {
|
|
19
19
|
id: 'fabric.editor.typeAhead.quickInsertInputPlaceholderLabel',
|
|
20
20
|
defaultMessage: 'Search',
|
|
21
|
-
description: '
|
|
21
|
+
description: 'Placeholder text displayed inside the quick insert typeahead input field when it is empty, prompting users to type a search term.'
|
|
22
22
|
},
|
|
23
23
|
emojiPopupLabel: {
|
|
24
24
|
id: 'fabric.editor.typeahead.emojiPopupLabel',
|
|
@@ -28,7 +28,7 @@ export var typeAheadListMessages = defineMessages({
|
|
|
28
28
|
emojiInputLabel: {
|
|
29
29
|
id: 'fabric.editor.typeahead.emojiInputLabel',
|
|
30
30
|
defaultMessage: 'Begin typing to search or filter emoji options',
|
|
31
|
-
description: '
|
|
31
|
+
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.'
|
|
32
32
|
},
|
|
33
33
|
mentionPopupLabel: {
|
|
34
34
|
id: 'fabric.editor.typeahead.mentionPopupLabel',
|
|
@@ -38,7 +38,7 @@ export var typeAheadListMessages = defineMessages({
|
|
|
38
38
|
mentionInputLabel: {
|
|
39
39
|
id: 'fabric.editor.typeahead.mentionInputLabel',
|
|
40
40
|
defaultMessage: 'Begin typing to search for users to tag',
|
|
41
|
-
description: '
|
|
41
|
+
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.'
|
|
42
42
|
},
|
|
43
43
|
metionListItemLabel: {
|
|
44
44
|
id: 'fabric.editor.typeahead.metionListItemLabel',
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "
|
|
24
|
+
var packageVersion = "0.0.0-development";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -17,7 +17,7 @@ export var messages = defineMessages({
|
|
|
17
17
|
loading: {
|
|
18
18
|
id: 'fabric.editor.expand.loading',
|
|
19
19
|
defaultMessage: 'Loading...',
|
|
20
|
-
description: '
|
|
20
|
+
description: 'Text shown inside an expand node while its content is being loaded, indicating to the user that data is still being fetched.'
|
|
21
21
|
},
|
|
22
22
|
collapseNode: {
|
|
23
23
|
id: 'fabric.editor.collapseNode',
|
|
@@ -27,7 +27,7 @@ export var messages = defineMessages({
|
|
|
27
27
|
expandDefaultTitle: {
|
|
28
28
|
id: 'fabric.editor.expandDefaultTitle',
|
|
29
29
|
defaultMessage: 'Click here to expand...',
|
|
30
|
-
description: 'Placeholder text
|
|
30
|
+
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.'
|
|
31
31
|
},
|
|
32
32
|
expandNode: {
|
|
33
33
|
id: 'fabric.editor.expandNode',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "114.19.
|
|
3
|
+
"version": "114.19.2",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -77,16 +77,16 @@
|
|
|
77
77
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
78
78
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
79
79
|
"@atlaskit/primitives": "^19.0.0",
|
|
80
|
-
"@atlaskit/profilecard": "^25.
|
|
80
|
+
"@atlaskit/profilecard": "^25.3.0",
|
|
81
81
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
82
|
-
"@atlaskit/react-ufo": "^5.
|
|
82
|
+
"@atlaskit/react-ufo": "^5.19.0",
|
|
83
83
|
"@atlaskit/section-message": "^8.12.0",
|
|
84
|
-
"@atlaskit/smart-card": "^44.
|
|
84
|
+
"@atlaskit/smart-card": "^44.6.0",
|
|
85
85
|
"@atlaskit/smart-user-picker": "^10.0.0",
|
|
86
86
|
"@atlaskit/spinner": "^19.1.0",
|
|
87
87
|
"@atlaskit/task-decision": "^20.0.0",
|
|
88
88
|
"@atlaskit/textfield": "^8.3.0",
|
|
89
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
89
|
+
"@atlaskit/tmp-editor-statsig": "^75.0.0",
|
|
90
90
|
"@atlaskit/tokens": "^13.0.0",
|
|
91
91
|
"@atlaskit/tooltip": "^22.0.0",
|
|
92
92
|
"@atlaskit/width-detector": "^5.1.0",
|