@atlaskit/editor-common 94.6.1 → 94.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/afm-cc/tsconfig.json +3 -0
- package/dist/cjs/i18n/cs.js +11 -3
- package/dist/cjs/i18n/da.js +11 -3
- package/dist/cjs/i18n/de.js +11 -3
- package/dist/cjs/i18n/en.js +14 -3
- package/dist/cjs/i18n/en_GB.js +14 -3
- package/dist/cjs/i18n/en_ZZ.js +14 -3
- package/dist/cjs/i18n/es.js +11 -3
- package/dist/cjs/i18n/fi.js +11 -3
- package/dist/cjs/i18n/fr.js +11 -3
- package/dist/cjs/i18n/hu.js +11 -3
- package/dist/cjs/i18n/index.js +7 -0
- package/dist/cjs/i18n/it.js +11 -3
- package/dist/cjs/i18n/ja.js +11 -3
- package/dist/cjs/i18n/ko.js +11 -3
- package/dist/cjs/i18n/languages.js +2 -0
- package/dist/cjs/i18n/nb.js +11 -3
- package/dist/cjs/i18n/nl.js +11 -3
- package/dist/cjs/i18n/pl.js +11 -3
- package/dist/cjs/i18n/pt_BR.js +11 -3
- package/dist/cjs/i18n/ru.js +11 -3
- package/dist/cjs/i18n/sv.js +11 -3
- package/dist/cjs/i18n/th.js +11 -3
- package/dist/cjs/i18n/tr.js +11 -3
- package/dist/cjs/i18n/uk.js +11 -3
- package/dist/cjs/i18n/vi.js +11 -3
- package/dist/cjs/i18n/zh.js +11 -3
- package/dist/cjs/i18n/zh_TW.js +11 -3
- package/dist/cjs/messages/annotation.js +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +5 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/Button.js +29 -8
- package/dist/cjs/ui/FloatingToolbar/ButtonSpotlightCard.js +39 -0
- package/dist/cjs/ui-menu/DropdownMenu/index.js +0 -3
- package/dist/es2019/i18n/cs.js +11 -3
- package/dist/es2019/i18n/da.js +11 -3
- package/dist/es2019/i18n/de.js +11 -3
- package/dist/es2019/i18n/en.js +14 -3
- package/dist/es2019/i18n/en_GB.js +14 -3
- package/dist/es2019/i18n/en_ZZ.js +14 -3
- package/dist/es2019/i18n/es.js +11 -3
- package/dist/es2019/i18n/fi.js +11 -3
- package/dist/es2019/i18n/fr.js +11 -3
- package/dist/es2019/i18n/hu.js +11 -3
- package/dist/es2019/i18n/index.js +1 -0
- package/dist/es2019/i18n/it.js +11 -3
- package/dist/es2019/i18n/ja.js +11 -3
- package/dist/es2019/i18n/ko.js +11 -3
- package/dist/es2019/i18n/languages.js +2 -0
- package/dist/es2019/i18n/nb.js +11 -3
- package/dist/es2019/i18n/nl.js +11 -3
- package/dist/es2019/i18n/pl.js +11 -3
- package/dist/es2019/i18n/pt_BR.js +11 -3
- package/dist/es2019/i18n/ru.js +11 -3
- package/dist/es2019/i18n/sv.js +11 -3
- package/dist/es2019/i18n/th.js +11 -3
- package/dist/es2019/i18n/tr.js +11 -3
- package/dist/es2019/i18n/uk.js +11 -3
- package/dist/es2019/i18n/vi.js +11 -3
- package/dist/es2019/i18n/zh.js +11 -3
- package/dist/es2019/i18n/zh_TW.js +11 -3
- package/dist/es2019/messages/annotation.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +5 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/Button.js +22 -9
- package/dist/es2019/ui/FloatingToolbar/ButtonSpotlightCard.js +29 -0
- package/dist/es2019/ui-menu/DropdownMenu/index.js +0 -3
- package/dist/esm/i18n/cs.js +11 -3
- package/dist/esm/i18n/da.js +11 -3
- package/dist/esm/i18n/de.js +11 -3
- package/dist/esm/i18n/en.js +14 -3
- package/dist/esm/i18n/en_GB.js +14 -3
- package/dist/esm/i18n/en_ZZ.js +14 -3
- package/dist/esm/i18n/es.js +11 -3
- package/dist/esm/i18n/fi.js +11 -3
- package/dist/esm/i18n/fr.js +11 -3
- package/dist/esm/i18n/hu.js +11 -3
- package/dist/esm/i18n/index.js +1 -0
- package/dist/esm/i18n/it.js +11 -3
- package/dist/esm/i18n/ja.js +11 -3
- package/dist/esm/i18n/ko.js +11 -3
- package/dist/esm/i18n/languages.js +2 -0
- package/dist/esm/i18n/nb.js +11 -3
- package/dist/esm/i18n/nl.js +11 -3
- package/dist/esm/i18n/pl.js +11 -3
- package/dist/esm/i18n/pt_BR.js +11 -3
- package/dist/esm/i18n/ru.js +11 -3
- package/dist/esm/i18n/sv.js +11 -3
- package/dist/esm/i18n/th.js +11 -3
- package/dist/esm/i18n/tr.js +11 -3
- package/dist/esm/i18n/uk.js +11 -3
- package/dist/esm/i18n/vi.js +11 -3
- package/dist/esm/i18n/zh.js +11 -3
- package/dist/esm/i18n/zh_TW.js +11 -3
- package/dist/esm/messages/annotation.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +5 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/Button.js +30 -9
- package/dist/esm/ui/FloatingToolbar/ButtonSpotlightCard.js +32 -0
- package/dist/esm/ui-menu/DropdownMenu/index.js +0 -3
- package/dist/types/i18n/cs.d.ts +10 -2
- package/dist/types/i18n/da.d.ts +10 -2
- package/dist/types/i18n/de.d.ts +10 -2
- package/dist/types/i18n/en.d.ts +13 -2
- package/dist/types/i18n/en_GB.d.ts +13 -2
- package/dist/types/i18n/en_ZZ.d.ts +13 -2
- package/dist/types/i18n/es.d.ts +10 -2
- package/dist/types/i18n/fi.d.ts +10 -2
- package/dist/types/i18n/fr.d.ts +10 -2
- package/dist/types/i18n/hu.d.ts +10 -2
- package/dist/types/i18n/index.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +10 -2
- package/dist/types/i18n/ja.d.ts +10 -2
- package/dist/types/i18n/ko.d.ts +10 -2
- package/dist/types/i18n/languages.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +10 -2
- package/dist/types/i18n/nl.d.ts +10 -2
- package/dist/types/i18n/pl.d.ts +10 -2
- package/dist/types/i18n/pt_BR.d.ts +10 -2
- package/dist/types/i18n/ru.d.ts +10 -2
- package/dist/types/i18n/sv.d.ts +10 -2
- package/dist/types/i18n/th.d.ts +10 -2
- package/dist/types/i18n/tr.d.ts +10 -2
- package/dist/types/i18n/uk.d.ts +10 -2
- package/dist/types/i18n/vi.d.ts +10 -2
- package/dist/types/i18n/zh.d.ts +10 -2
- package/dist/types/i18n/zh_TW.d.ts +10 -2
- package/dist/types/messages/annotation.d.ts +10 -0
- package/dist/types/types/floating-toolbar.d.ts +12 -0
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/ui/DropList/index.d.ts +1 -4
- package/dist/types/ui/FloatingToolbar/Button.d.ts +4 -1
- package/dist/types/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +10 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +10 -2
- package/dist/types-ts4.5/i18n/da.d.ts +10 -2
- package/dist/types-ts4.5/i18n/de.d.ts +10 -2
- package/dist/types-ts4.5/i18n/en.d.ts +13 -2
- package/dist/types-ts4.5/i18n/en_GB.d.ts +13 -2
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +13 -2
- package/dist/types-ts4.5/i18n/es.d.ts +10 -2
- package/dist/types-ts4.5/i18n/fi.d.ts +10 -2
- package/dist/types-ts4.5/i18n/fr.d.ts +10 -2
- package/dist/types-ts4.5/i18n/hu.d.ts +10 -2
- package/dist/types-ts4.5/i18n/index.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +10 -2
- package/dist/types-ts4.5/i18n/ja.d.ts +10 -2
- package/dist/types-ts4.5/i18n/ko.d.ts +10 -2
- package/dist/types-ts4.5/i18n/languages.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +10 -2
- package/dist/types-ts4.5/i18n/nl.d.ts +10 -2
- package/dist/types-ts4.5/i18n/pl.d.ts +10 -2
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +10 -2
- package/dist/types-ts4.5/i18n/ru.d.ts +10 -2
- package/dist/types-ts4.5/i18n/sv.d.ts +10 -2
- package/dist/types-ts4.5/i18n/th.d.ts +10 -2
- package/dist/types-ts4.5/i18n/tr.d.ts +10 -2
- package/dist/types-ts4.5/i18n/uk.d.ts +10 -2
- package/dist/types-ts4.5/i18n/vi.d.ts +10 -2
- package/dist/types-ts4.5/i18n/zh.d.ts +10 -2
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +10 -2
- package/dist/types-ts4.5/messages/annotation.d.ts +10 -0
- package/dist/types-ts4.5/types/floating-toolbar.d.ts +12 -0
- package/dist/types-ts4.5/types/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/DropList/index.d.ts +1 -4
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +4 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +10 -0
- package/package.json +3 -2
|
@@ -38,6 +38,8 @@ export default {
|
|
|
38
38
|
'fabric.editor.blockControlDragHandleUsageInfo': '拖曳即可移動',
|
|
39
39
|
'fabric.editor.blockControlInsert': '插入',
|
|
40
40
|
'fabric.editor.blockControlMoveDown': '向下移動',
|
|
41
|
+
'fabric.editor.blockControlMoveLeft': '向左移動',
|
|
42
|
+
'fabric.editor.blockControlMoveRight': '向右移動',
|
|
41
43
|
'fabric.editor.blockControlMoveUp': '向上移動',
|
|
42
44
|
'fabric.editor.blockControlMovedDown': '內容已向下移動',
|
|
43
45
|
'fabric.editor.blockControlMovedUp': '內容已向上移動',
|
|
@@ -137,6 +139,7 @@ export default {
|
|
|
137
139
|
'fabric.editor.edit': '編輯',
|
|
138
140
|
'fabric.editor.edit.datasource': '編輯搜尋查詢',
|
|
139
141
|
'fabric.editor.edit.searchInput': '新增連結',
|
|
142
|
+
'fabric.editor.editAccessTitle': '您需要編輯權限',
|
|
140
143
|
'fabric.editor.editAltText': '編輯替代文字',
|
|
141
144
|
'fabric.editor.editDatasourceStandalone': '編輯',
|
|
142
145
|
'fabric.editor.editDatasourceStandaloneTooltip': '編輯搜尋查詢',
|
|
@@ -200,6 +203,7 @@ export default {
|
|
|
200
203
|
'fabric.editor.findNext': '尋找下一個',
|
|
201
204
|
'fabric.editor.findPrevious': '尋找上一個',
|
|
202
205
|
'fabric.editor.findReplaceToolbarButton': '尋找與取代',
|
|
206
|
+
'fabric.editor.fiveColumns': '5 欄版面配置',
|
|
203
207
|
'fabric.editor.floatingToolbar.confirmModalCancel': '取消',
|
|
204
208
|
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': '同時刪除已連結的元素',
|
|
205
209
|
'fabric.editor.floatingToolbar.confirmModalConnectedUnit': '{amount, plural, =0 {{name}} other {{name} (+{amount,number} 個連結的元素)}}',
|
|
@@ -211,6 +215,7 @@ export default {
|
|
|
211
215
|
'fabric.editor.floatingToolbar.scrollLeft': '向左捲動',
|
|
212
216
|
'fabric.editor.floatingToolbar.scrollRight': '向右捲動',
|
|
213
217
|
'fabric.editor.focusTableResizeHandle': '聚焦於表格調整大小控點',
|
|
218
|
+
'fabric.editor.fourColumns': '4 欄版面配置',
|
|
214
219
|
'fabric.editor.headerColumn': '標題欄',
|
|
215
220
|
'fabric.editor.headerRow': '標題列',
|
|
216
221
|
'fabric.editor.heading1': '標題 1',
|
|
@@ -270,8 +275,6 @@ export default {
|
|
|
270
275
|
'fabric.editor.inputQueryAssistiveTxt': '自動完成結果可用時,請使用向上和向下箭頭查看,並輸入以進行選取。若您使用觸控螢幕裝置,請透過觸控或滑動手勢探索內容。',
|
|
271
276
|
'fabric.editor.insertColumn': '在右側插入直欄',
|
|
272
277
|
'fabric.editor.insertColumnDrag': '插入直欄',
|
|
273
|
-
'fabric.editor.insertMediaFromUrl': '圖片來源連結',
|
|
274
|
-
'fabric.editor.insertMediaFromUrlDescription': '透過連結新增圖片或影片',
|
|
275
278
|
'fabric.editor.insertMenu': '插入元素',
|
|
276
279
|
'fabric.editor.insertRightRail.close': '關閉',
|
|
277
280
|
'fabric.editor.insertRightRail.title': '插入',
|
|
@@ -302,8 +305,10 @@ export default {
|
|
|
302
305
|
'fabric.editor.media.MediaWidthIsMin': '媒體已縮減至最小',
|
|
303
306
|
'fabric.editor.media.insert.cancel': '取消',
|
|
304
307
|
'fabric.editor.media.insert.fileTabTitle': '檔案',
|
|
305
|
-
'fabric.editor.media.insert.fromUrlErrorMessage': '
|
|
308
|
+
'fabric.editor.media.insert.fromUrlErrorMessage': '很抱歉,我們無法新增此圖片連結。請下載圖片,然後拖放到頁面上。',
|
|
309
|
+
'fabric.editor.media.insert.fromUrlWarning': '由於來源限制,其他人可能無法看到此圖片。您可以考慮改為上傳檔案。',
|
|
306
310
|
'fabric.editor.media.insert.insert': '插入',
|
|
311
|
+
'fabric.editor.media.insert.invalidUrlErrorMessage': '無效的連結',
|
|
307
312
|
'fabric.editor.media.insert.linkTabTitle': '連結',
|
|
308
313
|
'fabric.editor.media.insert.loadPreview': '載入預覽',
|
|
309
314
|
'fabric.editor.media.insert.localFileErrorMessage': '無法上傳此檔案。',
|
|
@@ -382,6 +387,9 @@ export default {
|
|
|
382
387
|
'fabric.editor.replaceAll': '全部取代',
|
|
383
388
|
'fabric.editor.replaceSuccess': '{numberOfMatches, plural, other {已替換 {numberOfMatches,number} 個相符項目}}',
|
|
384
389
|
'fabric.editor.replaceWith': '取代為',
|
|
390
|
+
'fabric.editor.requestToEdit': '要求編輯',
|
|
391
|
+
'fabric.editor.requestToEditDescription': '您要求權限時,頁面負責人會收到通知。',
|
|
392
|
+
'fabric.editor.requestToEditDismiss': '關閉',
|
|
385
393
|
'fabric.editor.resultsCount': '第 {selectedMatchPosition} 個,共 {totalResultsCount} 個',
|
|
386
394
|
'fabric.editor.richText': '使用 RTF',
|
|
387
395
|
'fabric.editor.rightSidebar': '右側邊欄版面配置',
|
|
@@ -20,5 +20,15 @@ export const annotationMessages = defineMessages({
|
|
|
20
20
|
id: 'fabric.editor.annotationToolbar',
|
|
21
21
|
defaultMessage: 'Annotation toolbar',
|
|
22
22
|
description: 'A label for a toolbar (UI element) that creates annotations/comments in the document'
|
|
23
|
+
},
|
|
24
|
+
createCommentOnInlineNodeSpotlightBody: {
|
|
25
|
+
id: 'fabric.editor.createCommentOnInlineNodeSpotlight.body',
|
|
26
|
+
defaultMessage: 'You can now leave comments on inline elements like links, dates, statuses and mentions.',
|
|
27
|
+
description: 'The body content of the spotlight message that appears when the user can leave comments on inline nodes'
|
|
28
|
+
},
|
|
29
|
+
createCommentOnInlineNodeSpotlightAction: {
|
|
30
|
+
id: 'fabric.editor.createCommentOnInlineNodeSpotlight.action',
|
|
31
|
+
defaultMessage: 'Got it',
|
|
32
|
+
description: 'The content of the action button that closes the spotlight'
|
|
23
33
|
}
|
|
24
34
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "94.
|
|
4
|
+
const packageVersion = "94.8.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -8,6 +8,7 @@ import React from 'react';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
10
|
import { ACTION_SUBJECT, ACTION_SUBJECT_ID } from '../analytics';
|
|
11
|
+
import { isSSR } from '../core-utils/is-ssr';
|
|
11
12
|
import { ErrorBoundary } from '../ui/ErrorBoundary';
|
|
12
13
|
import { analyticsEventKey, browser, getPerformanceOptions, startMeasureReactNodeViewRendered, stopMeasureReactNodeViewRendered } from '../utils';
|
|
13
14
|
import { ZERO_WIDTH_SPACE } from '../whitespace';
|
|
@@ -134,6 +135,10 @@ function createNodeView({
|
|
|
134
135
|
* @param node The Prosemirror Node from which to source the attributes
|
|
135
136
|
*/
|
|
136
137
|
function setDomAttrs(node, element) {
|
|
138
|
+
// prevent potential XSS attacks since attributes may contain user input
|
|
139
|
+
if (isSSR()) {
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
137
142
|
Object.keys(node.attrs || {}).forEach(attr => {
|
|
138
143
|
element.setAttribute(attr, node.attrs[attr]);
|
|
139
144
|
});
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "94.
|
|
16
|
+
const packageVersion = "94.8.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
class DropList extends Component {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React, { useCallback, useEffect, useState } from 'react';
|
|
2
3
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
3
4
|
import Tooltip from '@atlaskit/tooltip';
|
|
4
5
|
import { Pulse } from '../Pulse/Pulse';
|
|
6
|
+
import { ButtonSpotlightCard } from './ButtonSpotlightCard';
|
|
5
7
|
import { getButtonStyles, iconOnlySpacing } from './styles';
|
|
6
8
|
export default (({
|
|
7
9
|
title,
|
|
@@ -14,6 +16,7 @@ export default (({
|
|
|
14
16
|
onFocus,
|
|
15
17
|
onBlur,
|
|
16
18
|
onMount,
|
|
19
|
+
onUnmount,
|
|
17
20
|
selected,
|
|
18
21
|
disabled,
|
|
19
22
|
href,
|
|
@@ -30,7 +33,8 @@ export default (({
|
|
|
30
33
|
areaControls,
|
|
31
34
|
ariaLabel,
|
|
32
35
|
isRadioButton,
|
|
33
|
-
pulse
|
|
36
|
+
pulse,
|
|
37
|
+
spotlightConfig
|
|
34
38
|
}) => {
|
|
35
39
|
// Check if there's only an icon and add additional styles
|
|
36
40
|
const iconOnly = (icon || iconAfter) && !children;
|
|
@@ -38,13 +42,19 @@ export default (({
|
|
|
38
42
|
const isButtonPressed = ariaHasPopup ? undefined : selected;
|
|
39
43
|
const ariaChecked = isRadioButton ? isButtonPressed : undefined;
|
|
40
44
|
const ariaPressed = isRadioButton ? undefined : isButtonPressed;
|
|
45
|
+
const [spotlightReferenceElement, setSpotlightReferenceElement] = useState(null);
|
|
41
46
|
useEffect(() => {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
47
|
+
onMount === null || onMount === void 0 ? void 0 : onMount();
|
|
48
|
+
return () => onUnmount === null || onUnmount === void 0 ? void 0 : onUnmount();
|
|
45
49
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
46
50
|
}, []);
|
|
47
|
-
|
|
51
|
+
const onSpotlightTargetClick = spotlightConfig !== null && spotlightConfig !== void 0 && spotlightConfig.isSpotlightOpen ? spotlightConfig === null || spotlightConfig === void 0 ? void 0 : spotlightConfig.onTargetClick : undefined;
|
|
52
|
+
const handleOnClick = useCallback(event => {
|
|
53
|
+
// fire the spotlight onTargetClick callback if a spotlight is rendered and callback is provided
|
|
54
|
+
onSpotlightTargetClick === null || onSpotlightTargetClick === void 0 ? void 0 : onSpotlightTargetClick();
|
|
55
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
56
|
+
}, [onClick, onSpotlightTargetClick]);
|
|
57
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Tooltip
|
|
48
58
|
// Only fallback to title for tooltip if title is not shown
|
|
49
59
|
, {
|
|
50
60
|
content: tooltipContent || (iconOnly ? title : undefined),
|
|
@@ -55,11 +65,12 @@ export default (({
|
|
|
55
65
|
onMouseEnter: onMouseEnter,
|
|
56
66
|
onMouseLeave: onMouseLeave
|
|
57
67
|
}, /*#__PURE__*/React.createElement(Pulse, {
|
|
58
|
-
pulse: pulse
|
|
68
|
+
pulse: pulse || (spotlightConfig === null || spotlightConfig === void 0 ? void 0 : spotlightConfig.pulse)
|
|
59
69
|
}, /*#__PURE__*/React.createElement(Button
|
|
60
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
61
71
|
, {
|
|
62
72
|
className: className,
|
|
73
|
+
ref: buttonElement => setSpotlightReferenceElement(buttonElement),
|
|
63
74
|
theme: (adgTheme, themeProps) => {
|
|
64
75
|
const {
|
|
65
76
|
buttonStyles,
|
|
@@ -91,7 +102,7 @@ export default (({
|
|
|
91
102
|
"aria-haspopup": ariaHasPopup,
|
|
92
103
|
iconBefore: icon || undefined,
|
|
93
104
|
iconAfter: iconAfter,
|
|
94
|
-
onClick:
|
|
105
|
+
onClick: handleOnClick,
|
|
95
106
|
onKeyDown: onKeyDown,
|
|
96
107
|
isSelected: selected,
|
|
97
108
|
isDisabled: disabled,
|
|
@@ -104,5 +115,7 @@ export default (({
|
|
|
104
115
|
// should be fixed here https://a11y-internal.atlassian.net/browse/DST-287
|
|
105
116
|
,
|
|
106
117
|
tabIndex: tabIndex
|
|
107
|
-
}, children))))
|
|
118
|
+
}, children)))), (spotlightConfig === null || spotlightConfig === void 0 ? void 0 : spotlightConfig.isSpotlightOpen) && spotlightReferenceElement && /*#__PURE__*/React.createElement(ButtonSpotlightCard, _extends({
|
|
119
|
+
referenceElement: spotlightReferenceElement
|
|
120
|
+
}, spotlightConfig.spotlightCardOptions)));
|
|
108
121
|
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SpotlightCard } from '@atlaskit/onboarding';
|
|
3
|
+
import { Popper } from '@atlaskit/popper';
|
|
4
|
+
/*
|
|
5
|
+
* ButtonSpotlightCard is an editor custom spotlight that renders next to a floating toolbar button.
|
|
6
|
+
* It is built on top of the SpotlightCard component from @atlaskit/onboarding.
|
|
7
|
+
* It avoids the issue of the native atlaskit Spotlight component rendering outside the editor bounds and takes focus away from the editor.
|
|
8
|
+
*/
|
|
9
|
+
export const ButtonSpotlightCard = props => {
|
|
10
|
+
const {
|
|
11
|
+
referenceElement,
|
|
12
|
+
placement = 'top-start',
|
|
13
|
+
...spotlightCardProps
|
|
14
|
+
} = props;
|
|
15
|
+
return /*#__PURE__*/React.createElement(Popper, {
|
|
16
|
+
referenceElement: referenceElement,
|
|
17
|
+
placement: placement,
|
|
18
|
+
strategy: "absolute"
|
|
19
|
+
}, ({
|
|
20
|
+
ref,
|
|
21
|
+
style
|
|
22
|
+
}) =>
|
|
23
|
+
/*#__PURE__*/
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
25
|
+
React.createElement("div", {
|
|
26
|
+
ref: ref,
|
|
27
|
+
style: style
|
|
28
|
+
}, /*#__PURE__*/React.createElement(SpotlightCard, spotlightCardProps)));
|
|
29
|
+
};
|
|
@@ -184,11 +184,8 @@ export default class DropdownMenuWrapper extends PureComponent {
|
|
|
184
184
|
closeOnTab: true
|
|
185
185
|
}), jsx(DropListWithOutsideListeners, {
|
|
186
186
|
isOpen: true,
|
|
187
|
-
appearance: "tall",
|
|
188
187
|
position: popupPlacement.join(' '),
|
|
189
|
-
shouldFlip: false,
|
|
190
188
|
shouldFitContainer: true,
|
|
191
|
-
isTriggerNotTabbable: true,
|
|
192
189
|
handleClickOutside: this.handleClose,
|
|
193
190
|
handleEscapeKeydown: handleEscapeKeydown || this.handleCloseAndFocus,
|
|
194
191
|
handleEnterKeydown: e => {
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -38,6 +38,8 @@ export default {
|
|
|
38
38
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Přetažením přesunete.',
|
|
39
39
|
'fabric.editor.blockControlInsert': 'Vložit',
|
|
40
40
|
'fabric.editor.blockControlMoveDown': 'Posunout dolů',
|
|
41
|
+
'fabric.editor.blockControlMoveLeft': 'Posunout doleva',
|
|
42
|
+
'fabric.editor.blockControlMoveRight': 'Posunout doprava',
|
|
41
43
|
'fabric.editor.blockControlMoveUp': 'Posunout nahoru',
|
|
42
44
|
'fabric.editor.blockControlMovedDown': 'Obsah byl posunut dolů.',
|
|
43
45
|
'fabric.editor.blockControlMovedUp': 'Obsah byl posunut nahoru.',
|
|
@@ -137,6 +139,7 @@ export default {
|
|
|
137
139
|
'fabric.editor.edit': 'Upravit',
|
|
138
140
|
'fabric.editor.edit.datasource': 'Upravit vyhledávací dotaz',
|
|
139
141
|
'fabric.editor.edit.searchInput': 'Přidat odkaz',
|
|
142
|
+
'fabric.editor.editAccessTitle': 'Potřebujete přístup k úpravám',
|
|
140
143
|
'fabric.editor.editAltText': 'Upravit alternativní text',
|
|
141
144
|
'fabric.editor.editDatasourceStandalone': 'Upravit',
|
|
142
145
|
'fabric.editor.editDatasourceStandaloneTooltip': 'Upravit vyhledávací dotaz',
|
|
@@ -200,6 +203,7 @@ export default {
|
|
|
200
203
|
'fabric.editor.findNext': 'Najít další',
|
|
201
204
|
'fabric.editor.findPrevious': 'Najít předchozí',
|
|
202
205
|
'fabric.editor.findReplaceToolbarButton': 'Najít a nahradit',
|
|
206
|
+
'fabric.editor.fiveColumns': 'Rozvržení 5 sloupců',
|
|
203
207
|
'fabric.editor.floatingToolbar.confirmModalCancel': 'Zrušit',
|
|
204
208
|
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Vymazat také všechny připojené prvky',
|
|
205
209
|
'fabric.editor.floatingToolbar.confirmModalConnectedUnit': '{amount, plural, =0 {{name}} one {{name} (+1 připojený prvek)} few {{name} (+{amount,number} připojené prvky)} many {{name} (+{amount,number} připojeného prvku)} other {{name} (+{amount,number} připojených prvků)}}',
|
|
@@ -211,6 +215,7 @@ export default {
|
|
|
211
215
|
'fabric.editor.floatingToolbar.scrollLeft': 'Posunout doleva',
|
|
212
216
|
'fabric.editor.floatingToolbar.scrollRight': 'Posunout doprava',
|
|
213
217
|
'fabric.editor.focusTableResizeHandle': 'Zaměření na úchyt ke změně velikosti tabulky',
|
|
218
|
+
'fabric.editor.fourColumns': 'Rozvržení 4 sloupců',
|
|
214
219
|
'fabric.editor.headerColumn': 'Sloupec záhlaví',
|
|
215
220
|
'fabric.editor.headerRow': 'Řádek záhlaví',
|
|
216
221
|
'fabric.editor.heading1': 'Nadpis 1',
|
|
@@ -270,8 +275,6 @@ export default {
|
|
|
270
275
|
'fabric.editor.inputQueryAssistiveTxt': 'Když jsou k dispozici výsledky automatického dokončování, použijte šipky nahoru a dolů k prohlížení a klávesu Enter k výběru. Uživatelé dotykových zařízení mohou k prohlížení použít dotyk nebo gesta potáhnutí prstem.',
|
|
271
276
|
'fabric.editor.insertColumn': 'Vložit sloupec napravo',
|
|
272
277
|
'fabric.editor.insertColumnDrag': 'Vložit sloupec',
|
|
273
|
-
'fabric.editor.insertMediaFromUrl': 'Obrázek z odkazu',
|
|
274
|
-
'fabric.editor.insertMediaFromUrlDescription': 'Přidejte obrázek nebo video z odkazu.',
|
|
275
278
|
'fabric.editor.insertMenu': 'Vložit prvky',
|
|
276
279
|
'fabric.editor.insertRightRail.close': 'Zavřít',
|
|
277
280
|
'fabric.editor.insertRightRail.title': 'Vložit',
|
|
@@ -302,8 +305,10 @@ export default {
|
|
|
302
305
|
'fabric.editor.media.MediaWidthIsMin': 'Velikost multimediálního prvku byla snížena na minimum.',
|
|
303
306
|
'fabric.editor.media.insert.cancel': 'Zrušit',
|
|
304
307
|
'fabric.editor.media.insert.fileTabTitle': 'Soubor',
|
|
305
|
-
'fabric.editor.media.insert.fromUrlErrorMessage': 'Tento
|
|
308
|
+
'fabric.editor.media.insert.fromUrlErrorMessage': 'Tento odkaz na obrázek bohužel nejde přidat. Stáhněte si obrázek a poté jej přetáhněte na stránku.',
|
|
309
|
+
'fabric.editor.media.insert.fromUrlWarning': 'Tento obrázek kvůli zdrojovým omezením možná nebude viditelný pro ostatní. Zvažte místo toho nahrání souboru.',
|
|
306
310
|
'fabric.editor.media.insert.insert': 'Vložit',
|
|
311
|
+
'fabric.editor.media.insert.invalidUrlErrorMessage': 'Neplatný odkaz',
|
|
307
312
|
'fabric.editor.media.insert.linkTabTitle': 'Odkaz',
|
|
308
313
|
'fabric.editor.media.insert.loadPreview': 'Načíst náhled',
|
|
309
314
|
'fabric.editor.media.insert.localFileErrorMessage': 'Tento soubor nejde nahrát.',
|
|
@@ -382,6 +387,9 @@ export default {
|
|
|
382
387
|
'fabric.editor.replaceAll': 'Nahradit vše',
|
|
383
388
|
'fabric.editor.replaceSuccess': '{numberOfMatches, plural, one {{numberOfMatches,number} shoda nahrazena} few {{numberOfMatches,number} shody nahrazeny} many {{numberOfMatches,number} shody nahrazeno} other {{numberOfMatches,number} shod nahrazeno}}',
|
|
384
389
|
'fabric.editor.replaceWith': 'Nahradit textem',
|
|
390
|
+
'fabric.editor.requestToEdit': 'Požádat o oprávnění k úpravě',
|
|
391
|
+
'fabric.editor.requestToEditDescription': 'Když požádáte o přístup, vlastník stránky dostane oznámení.',
|
|
392
|
+
'fabric.editor.requestToEditDismiss': 'Zavřít',
|
|
385
393
|
'fabric.editor.resultsCount': '{selectedMatchPosition} z {totalResultsCount}',
|
|
386
394
|
'fabric.editor.richText': 'Použít formátovaný text',
|
|
387
395
|
'fabric.editor.rightSidebar': 'Rozvržení pravého bočního panelu',
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -38,6 +38,8 @@ export default {
|
|
|
38
38
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Træk for at flytte',
|
|
39
39
|
'fabric.editor.blockControlInsert': 'Indsæt',
|
|
40
40
|
'fabric.editor.blockControlMoveDown': 'Flyt ned',
|
|
41
|
+
'fabric.editor.blockControlMoveLeft': 'Flyt til venstre',
|
|
42
|
+
'fabric.editor.blockControlMoveRight': 'Flyt til højre',
|
|
41
43
|
'fabric.editor.blockControlMoveUp': 'Flyt op',
|
|
42
44
|
'fabric.editor.blockControlMovedDown': 'Indhold er flyttet ned',
|
|
43
45
|
'fabric.editor.blockControlMovedUp': 'Indhold er flyttet op',
|
|
@@ -137,6 +139,7 @@ export default {
|
|
|
137
139
|
'fabric.editor.edit': 'Redigér',
|
|
138
140
|
'fabric.editor.edit.datasource': 'Rediger søgning',
|
|
139
141
|
'fabric.editor.edit.searchInput': 'Tilføj et link',
|
|
142
|
+
'fabric.editor.editAccessTitle': 'Du skal have redigeringsadgang',
|
|
140
143
|
'fabric.editor.editAltText': 'Rediger alternativ tekst',
|
|
141
144
|
'fabric.editor.editDatasourceStandalone': 'Rediger',
|
|
142
145
|
'fabric.editor.editDatasourceStandaloneTooltip': 'Rediger søgning',
|
|
@@ -200,6 +203,7 @@ export default {
|
|
|
200
203
|
'fabric.editor.findNext': 'Find næste',
|
|
201
204
|
'fabric.editor.findPrevious': 'Find forrige',
|
|
202
205
|
'fabric.editor.findReplaceToolbarButton': 'Find og erstat',
|
|
206
|
+
'fabric.editor.fiveColumns': 'Layout med fem kolonner',
|
|
203
207
|
'fabric.editor.floatingToolbar.confirmModalCancel': 'Annuller',
|
|
204
208
|
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Slet også forbundne elementer',
|
|
205
209
|
'fabric.editor.floatingToolbar.confirmModalConnectedUnit': '{amount, plural, =0 {{name}} one {{name} (+1 forbundet element)} other {{name} (+{amount,number} forbundne elementer)}}',
|
|
@@ -211,6 +215,7 @@ export default {
|
|
|
211
215
|
'fabric.editor.floatingToolbar.scrollLeft': 'Rul til venstre',
|
|
212
216
|
'fabric.editor.floatingToolbar.scrollRight': 'Rul til højre',
|
|
213
217
|
'fabric.editor.focusTableResizeHandle': 'Håndtag til ændring af størrelse på tabel i fokus',
|
|
218
|
+
'fabric.editor.fourColumns': 'Layout med fire kolonner',
|
|
214
219
|
'fabric.editor.headerColumn': 'Overskriftskolonne',
|
|
215
220
|
'fabric.editor.headerRow': 'Overskriftsrække',
|
|
216
221
|
'fabric.editor.heading1': 'Overskrift 1',
|
|
@@ -270,8 +275,6 @@ export default {
|
|
|
270
275
|
'fabric.editor.inputQueryAssistiveTxt': 'Når resultater med automatisk udfyldning er tilgængelige, skal du bruge pil op og pil ned til at gennemse og Enter til at vælge. Brugere af touchenheder kan trykke eller stryge.',
|
|
271
276
|
'fabric.editor.insertColumn': 'Indsæt kolonne til højre',
|
|
272
277
|
'fabric.editor.insertColumnDrag': 'Indsæt kolonne',
|
|
273
|
-
'fabric.editor.insertMediaFromUrl': 'Billede fra link',
|
|
274
|
-
'fabric.editor.insertMediaFromUrlDescription': 'Tilføj et billede eller en video fra et link',
|
|
275
278
|
'fabric.editor.insertMenu': 'Indsæt elementer',
|
|
276
279
|
'fabric.editor.insertRightRail.close': 'Luk',
|
|
277
280
|
'fabric.editor.insertRightRail.title': 'Indsæt',
|
|
@@ -302,8 +305,10 @@ export default {
|
|
|
302
305
|
'fabric.editor.media.MediaWidthIsMin': 'Medier reduceret til minimumsstørrelsen',
|
|
303
306
|
'fabric.editor.media.insert.cancel': 'Annuller',
|
|
304
307
|
'fabric.editor.media.insert.fileTabTitle': 'Fil',
|
|
305
|
-
'fabric.editor.media.insert.fromUrlErrorMessage': '
|
|
308
|
+
'fabric.editor.media.insert.fromUrlErrorMessage': 'Vi kan desværre ikke tilføje dette billedlink. Download billedet, og træk og slip det til siden.',
|
|
309
|
+
'fabric.editor.media.insert.fromUrlWarning': 'Billedet er muligvis ikke synligt for andre på grund af kildebegrænsninger. Du kan prøve at uploade filen i stedet.',
|
|
306
310
|
'fabric.editor.media.insert.insert': 'Indsæt',
|
|
311
|
+
'fabric.editor.media.insert.invalidUrlErrorMessage': 'Ugyldigt link',
|
|
307
312
|
'fabric.editor.media.insert.linkTabTitle': 'Link',
|
|
308
313
|
'fabric.editor.media.insert.loadPreview': 'Indlæs forhåndsvisning',
|
|
309
314
|
'fabric.editor.media.insert.localFileErrorMessage': 'Filen kunne ikke overføres.',
|
|
@@ -382,6 +387,9 @@ export default {
|
|
|
382
387
|
'fabric.editor.replaceAll': 'Erstat alle',
|
|
383
388
|
'fabric.editor.replaceSuccess': '{numberOfMatches, plural, one {{numberOfMatches,number} match erstattet} other {{numberOfMatches,number} match erstattet}}',
|
|
384
389
|
'fabric.editor.replaceWith': 'Erstat med',
|
|
390
|
+
'fabric.editor.requestToEdit': 'Anmod om at redigere',
|
|
391
|
+
'fabric.editor.requestToEditDescription': 'Når du anmoder om adgang, modtager sideejeren en notifikation.',
|
|
392
|
+
'fabric.editor.requestToEditDismiss': 'Luk',
|
|
385
393
|
'fabric.editor.resultsCount': '{selectedMatchPosition} af {totalResultsCount}',
|
|
386
394
|
'fabric.editor.richText': 'Brug RTF',
|
|
387
395
|
'fabric.editor.rightSidebar': 'Layout med højre sidebjælke',
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -38,6 +38,8 @@ export default {
|
|
|
38
38
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Zum Verschieben ziehen',
|
|
39
39
|
'fabric.editor.blockControlInsert': 'Einfügen',
|
|
40
40
|
'fabric.editor.blockControlMoveDown': 'Nach unten verschieben',
|
|
41
|
+
'fabric.editor.blockControlMoveLeft': 'Nach links',
|
|
42
|
+
'fabric.editor.blockControlMoveRight': 'Nach rechts',
|
|
41
43
|
'fabric.editor.blockControlMoveUp': 'Nach oben verschieben',
|
|
42
44
|
'fabric.editor.blockControlMovedDown': 'Inhalt wurde nach unten verschoben',
|
|
43
45
|
'fabric.editor.blockControlMovedUp': 'Inhalt wurde nach oben verschoben',
|
|
@@ -137,6 +139,7 @@ export default {
|
|
|
137
139
|
'fabric.editor.edit': 'Bearbeiten',
|
|
138
140
|
'fabric.editor.edit.datasource': 'Suchanfrage bearbeiten',
|
|
139
141
|
'fabric.editor.edit.searchInput': 'Einen Link hinzufügen',
|
|
142
|
+
'fabric.editor.editAccessTitle': 'Sie benötigen Bearbeitungszugriff',
|
|
140
143
|
'fabric.editor.editAltText': 'Alternativtext bearbeiten',
|
|
141
144
|
'fabric.editor.editDatasourceStandalone': 'Bearbeiten',
|
|
142
145
|
'fabric.editor.editDatasourceStandaloneTooltip': 'Suchanfrage bearbeiten',
|
|
@@ -200,6 +203,7 @@ export default {
|
|
|
200
203
|
'fabric.editor.findNext': 'Nächstes suchen',
|
|
201
204
|
'fabric.editor.findPrevious': 'Vorheriges suchen',
|
|
202
205
|
'fabric.editor.findReplaceToolbarButton': 'Suchen und ersetzen',
|
|
206
|
+
'fabric.editor.fiveColumns': 'Layout mit 5 Spalten',
|
|
203
207
|
'fabric.editor.floatingToolbar.confirmModalCancel': 'Abbrechen',
|
|
204
208
|
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Verbundene Elemente ebenfalls löschen',
|
|
205
209
|
'fabric.editor.floatingToolbar.confirmModalConnectedUnit': '{amount, plural, =0 {{name}} one {{name} (+1 verbundenes Element)} other {{name} (+{amount,number} verbundene Elemente)}}',
|
|
@@ -211,6 +215,7 @@ export default {
|
|
|
211
215
|
'fabric.editor.floatingToolbar.scrollLeft': 'Nach links scrollen',
|
|
212
216
|
'fabric.editor.floatingToolbar.scrollRight': 'Nach rechts scrollen',
|
|
213
217
|
'fabric.editor.focusTableResizeHandle': 'Ziehpunkt zur Größenänderung der Tabelle fokussieren',
|
|
218
|
+
'fabric.editor.fourColumns': 'Layout mit 4 Spalten',
|
|
214
219
|
'fabric.editor.headerColumn': 'Kopfzeilen-Spalte',
|
|
215
220
|
'fabric.editor.headerRow': 'Kopfzeile',
|
|
216
221
|
'fabric.editor.heading1': 'Überschrift 1',
|
|
@@ -270,8 +275,6 @@ export default {
|
|
|
270
275
|
'fabric.editor.inputQueryAssistiveTxt': 'Wenn Autovervollständigungen angezeigt werden, navigieren Sie mit den Pfeiltasten nach oben und unten und drücken Sie die Eingabetaste zur Auswahl eines Ergebnisses. Benutzer mit Touchscreen-Geräten können mit Berührungen und Wischgesten navigieren.',
|
|
271
276
|
'fabric.editor.insertColumn': 'Spalte rechts einfügen',
|
|
272
277
|
'fabric.editor.insertColumnDrag': 'Spalte einfügen',
|
|
273
|
-
'fabric.editor.insertMediaFromUrl': 'Bild per Link',
|
|
274
|
-
'fabric.editor.insertMediaFromUrlDescription': 'Bild oder Video per Link hinzufügen',
|
|
275
278
|
'fabric.editor.insertMenu': 'Elemente einfügen',
|
|
276
279
|
'fabric.editor.insertRightRail.close': 'Schließen',
|
|
277
280
|
'fabric.editor.insertRightRail.title': 'Einfügen',
|
|
@@ -302,8 +305,10 @@ export default {
|
|
|
302
305
|
'fabric.editor.media.MediaWidthIsMin': 'Medien auf Mindestgröße verringert',
|
|
303
306
|
'fabric.editor.media.insert.cancel': 'Abbrechen',
|
|
304
307
|
'fabric.editor.media.insert.fileTabTitle': 'Datei',
|
|
305
|
-
'fabric.editor.media.insert.fromUrlErrorMessage': '
|
|
308
|
+
'fabric.editor.media.insert.fromUrlErrorMessage': 'Leider kann dieser Bildlink nicht hinzugefügt werden. Laden Sie das Bild herunter und ziehen Sie es anschließend per Drag-and-Drop auf die Seite.',
|
|
309
|
+
'fabric.editor.media.insert.fromUrlWarning': 'Dieses Bild ist aufgrund von Quellenbeschränkungen möglicherweise nicht für andere sichtbar. Erwägen Sie stattdessen, die Datei hochzuladen.',
|
|
306
310
|
'fabric.editor.media.insert.insert': 'Einfügen',
|
|
311
|
+
'fabric.editor.media.insert.invalidUrlErrorMessage': 'Ungültiger Link',
|
|
307
312
|
'fabric.editor.media.insert.linkTabTitle': 'Link',
|
|
308
313
|
'fabric.editor.media.insert.loadPreview': 'Vorschau laden',
|
|
309
314
|
'fabric.editor.media.insert.localFileErrorMessage': 'Diese Datei konnte nicht hochgeladen werden.',
|
|
@@ -382,6 +387,9 @@ export default {
|
|
|
382
387
|
'fabric.editor.replaceAll': 'Alle ersetzen',
|
|
383
388
|
'fabric.editor.replaceSuccess': '{numberOfMatches, plural, one {{numberOfMatches,number} Übereinstimmung ersetzt} other {{numberOfMatches,number} Übereinstimmungen ersetzt}}',
|
|
384
389
|
'fabric.editor.replaceWith': 'Ersetzen mit',
|
|
390
|
+
'fabric.editor.requestToEdit': 'Für Bearbeitung anfragen',
|
|
391
|
+
'fabric.editor.requestToEditDescription': 'Wenn Sie Zugriff anfordern, erhält der Seitenbesitzer eine Benachrichtigung.',
|
|
392
|
+
'fabric.editor.requestToEditDismiss': 'Schließen',
|
|
385
393
|
'fabric.editor.resultsCount': '{selectedMatchPosition} von {totalResultsCount}',
|
|
386
394
|
'fabric.editor.richText': 'Rich Text verwenden',
|
|
387
395
|
'fabric.editor.rightSidebar': 'Layout der rechten Seitenleiste',
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -38,6 +38,8 @@ export default {
|
|
|
38
38
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Drag to move',
|
|
39
39
|
'fabric.editor.blockControlInsert': 'Insert',
|
|
40
40
|
'fabric.editor.blockControlMoveDown': 'Move down',
|
|
41
|
+
'fabric.editor.blockControlMoveLeft': 'Move left',
|
|
42
|
+
'fabric.editor.blockControlMoveRight': 'Move right',
|
|
41
43
|
'fabric.editor.blockControlMoveUp': 'Move up',
|
|
42
44
|
'fabric.editor.blockControlMovedDown': 'Content has been moved down',
|
|
43
45
|
'fabric.editor.blockControlMovedUp': 'Content has been moved up',
|
|
@@ -51,6 +53,7 @@ export default {
|
|
|
51
53
|
'fabric.editor.canNotSortTable': "⚠️ You can't sort a table with merged cells",
|
|
52
54
|
'fabric.editor.cancelButton': 'Cancel',
|
|
53
55
|
'fabric.editor.captionPlaceholder': 'Add a caption',
|
|
56
|
+
'fabric.editor.captionPlaceholderWithDoubleClickPrompt': 'Add a caption - double-click to preview',
|
|
54
57
|
'fabric.editor.cardFloatingControls': 'Card options',
|
|
55
58
|
'fabric.editor.cellBackground': 'Cell background',
|
|
56
59
|
'fabric.editor.cellOptions': 'Cell options',
|
|
@@ -137,6 +140,7 @@ export default {
|
|
|
137
140
|
'fabric.editor.edit': 'Edit',
|
|
138
141
|
'fabric.editor.edit.datasource': 'Edit search query',
|
|
139
142
|
'fabric.editor.edit.searchInput': 'Add a link',
|
|
143
|
+
'fabric.editor.editAccessTitle': 'You need edit access',
|
|
140
144
|
'fabric.editor.editAltText': 'Edit alt text',
|
|
141
145
|
'fabric.editor.editDatasourceStandalone': 'Edit',
|
|
142
146
|
'fabric.editor.editDatasourceStandaloneTooltip': 'Edit search query',
|
|
@@ -200,6 +204,7 @@ export default {
|
|
|
200
204
|
'fabric.editor.findNext': 'Find next',
|
|
201
205
|
'fabric.editor.findPrevious': 'Find previous',
|
|
202
206
|
'fabric.editor.findReplaceToolbarButton': 'Find and replace',
|
|
207
|
+
'fabric.editor.fiveColumns': 'Five columns layout',
|
|
203
208
|
'fabric.editor.floatingToolbar.confirmModalCancel': 'Cancel',
|
|
204
209
|
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Also delete connected elements',
|
|
205
210
|
'fabric.editor.floatingToolbar.confirmModalConnectedUnit': '{name}{amount, plural, =0 {} one { (+1 connected element)} other { (+# connected elements)}}',
|
|
@@ -211,6 +216,7 @@ export default {
|
|
|
211
216
|
'fabric.editor.floatingToolbar.scrollLeft': 'Scroll left',
|
|
212
217
|
'fabric.editor.floatingToolbar.scrollRight': 'Scroll right',
|
|
213
218
|
'fabric.editor.focusTableResizeHandle': 'Focus table resize handle',
|
|
219
|
+
'fabric.editor.fourColumns': 'Four columns layout',
|
|
214
220
|
'fabric.editor.headerColumn': 'Header column',
|
|
215
221
|
'fabric.editor.headerRow': 'Header row',
|
|
216
222
|
'fabric.editor.heading1': 'Heading 1',
|
|
@@ -270,8 +276,6 @@ export default {
|
|
|
270
276
|
'fabric.editor.inputQueryAssistiveTxt': 'When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.',
|
|
271
277
|
'fabric.editor.insertColumn': 'Insert column right',
|
|
272
278
|
'fabric.editor.insertColumnDrag': 'Insert column',
|
|
273
|
-
'fabric.editor.insertMediaFromUrl': 'Image from link',
|
|
274
|
-
'fabric.editor.insertMediaFromUrlDescription': 'Add an image or video from a link',
|
|
275
279
|
'fabric.editor.insertMenu': 'Insert elements',
|
|
276
280
|
'fabric.editor.insertRightRail.close': 'Close',
|
|
277
281
|
'fabric.editor.insertRightRail.title': 'Insert',
|
|
@@ -284,6 +288,8 @@ export default {
|
|
|
284
288
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invite} trusted {Invite} other {Add}} teammate to {productName}',
|
|
285
289
|
'fabric.editor.italic': 'Italic',
|
|
286
290
|
'fabric.editor.keyboardShortcuts': 'Keyboard shortcuts',
|
|
291
|
+
'fabric.editor.layout.columnOption': '{count, plural, one {-column} other {{count}-columns}}',
|
|
292
|
+
'fabric.editor.layout.placeholder': 'Add content',
|
|
287
293
|
'fabric.editor.layoutFixedWidth': 'Back to center',
|
|
288
294
|
'fabric.editor.layoutFullWidth': 'Go full width',
|
|
289
295
|
'fabric.editor.layoutWide': 'Go wide',
|
|
@@ -302,8 +308,10 @@ export default {
|
|
|
302
308
|
'fabric.editor.media.MediaWidthIsMin': 'Media decreased to the minimum size',
|
|
303
309
|
'fabric.editor.media.insert.cancel': 'Cancel',
|
|
304
310
|
'fabric.editor.media.insert.fileTabTitle': 'File',
|
|
305
|
-
'fabric.editor.media.insert.fromUrlErrorMessage': '
|
|
311
|
+
'fabric.editor.media.insert.fromUrlErrorMessage': 'Unfortunately, we can’t add this image link. Download the image, then drag and drop onto the page.',
|
|
312
|
+
'fabric.editor.media.insert.fromUrlWarning': 'This image might not be visible to others due to source restrictions. Consider uploading the file instead.',
|
|
306
313
|
'fabric.editor.media.insert.insert': 'Insert',
|
|
314
|
+
'fabric.editor.media.insert.invalidUrlErrorMessage': 'Invalid link',
|
|
307
315
|
'fabric.editor.media.insert.linkTabTitle': 'Link',
|
|
308
316
|
'fabric.editor.media.insert.loadPreview': 'Load preview',
|
|
309
317
|
'fabric.editor.media.insert.localFileErrorMessage': 'This file couldn’t be uploaded.',
|
|
@@ -382,6 +390,9 @@ export default {
|
|
|
382
390
|
'fabric.editor.replaceAll': 'Replace all',
|
|
383
391
|
'fabric.editor.replaceSuccess': '{numberOfMatches, plural, one {# match replaced} other {# matches replaced}}',
|
|
384
392
|
'fabric.editor.replaceWith': 'Replace with',
|
|
393
|
+
'fabric.editor.requestToEdit': 'Request to edit',
|
|
394
|
+
'fabric.editor.requestToEditDescription': 'When you request access, the page owner will receive a notification.',
|
|
395
|
+
'fabric.editor.requestToEditDismiss': 'Dismiss',
|
|
385
396
|
'fabric.editor.resultsCount': '{selectedMatchPosition} of {totalResultsCount}',
|
|
386
397
|
'fabric.editor.richText': 'Use rich text',
|
|
387
398
|
'fabric.editor.rightSidebar': 'Right sidebar layout',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -38,6 +38,8 @@ export default {
|
|
|
38
38
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Drag to move',
|
|
39
39
|
'fabric.editor.blockControlInsert': 'Insert',
|
|
40
40
|
'fabric.editor.blockControlMoveDown': 'Move down',
|
|
41
|
+
'fabric.editor.blockControlMoveLeft': 'Move left',
|
|
42
|
+
'fabric.editor.blockControlMoveRight': 'Move right',
|
|
41
43
|
'fabric.editor.blockControlMoveUp': 'Move up',
|
|
42
44
|
'fabric.editor.blockControlMovedDown': 'Content has been moved down',
|
|
43
45
|
'fabric.editor.blockControlMovedUp': 'Content has been moved up',
|
|
@@ -51,6 +53,7 @@ export default {
|
|
|
51
53
|
'fabric.editor.canNotSortTable': "⚠️ You can't sort a table with merged cells",
|
|
52
54
|
'fabric.editor.cancelButton': 'Cancel',
|
|
53
55
|
'fabric.editor.captionPlaceholder': 'Add a caption',
|
|
56
|
+
'fabric.editor.captionPlaceholderWithDoubleClickPrompt': 'Add a caption - double-click to preview',
|
|
54
57
|
'fabric.editor.cardFloatingControls': 'Card options',
|
|
55
58
|
'fabric.editor.cellBackground': 'Cell background',
|
|
56
59
|
'fabric.editor.cellOptions': 'Cell options',
|
|
@@ -137,6 +140,7 @@ export default {
|
|
|
137
140
|
'fabric.editor.edit': 'Edit',
|
|
138
141
|
'fabric.editor.edit.datasource': 'Edit search query',
|
|
139
142
|
'fabric.editor.edit.searchInput': 'Add a link',
|
|
143
|
+
'fabric.editor.editAccessTitle': 'You need edit access',
|
|
140
144
|
'fabric.editor.editAltText': 'Edit alt text',
|
|
141
145
|
'fabric.editor.editDatasourceStandalone': 'Edit',
|
|
142
146
|
'fabric.editor.editDatasourceStandaloneTooltip': 'Edit search query',
|
|
@@ -200,6 +204,7 @@ export default {
|
|
|
200
204
|
'fabric.editor.findNext': 'Find next',
|
|
201
205
|
'fabric.editor.findPrevious': 'Find previous',
|
|
202
206
|
'fabric.editor.findReplaceToolbarButton': 'Find and replace',
|
|
207
|
+
'fabric.editor.fiveColumns': 'Five columns layout',
|
|
203
208
|
'fabric.editor.floatingToolbar.confirmModalCancel': 'Cancel',
|
|
204
209
|
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Also delete connected elements',
|
|
205
210
|
'fabric.editor.floatingToolbar.confirmModalConnectedUnit': '{name}{amount, plural, =0 {} one { (+1 connected element)} other { (+# connected elements)}}',
|
|
@@ -211,6 +216,7 @@ export default {
|
|
|
211
216
|
'fabric.editor.floatingToolbar.scrollLeft': 'Scroll left',
|
|
212
217
|
'fabric.editor.floatingToolbar.scrollRight': 'Scroll right',
|
|
213
218
|
'fabric.editor.focusTableResizeHandle': 'Focus table resize handle',
|
|
219
|
+
'fabric.editor.fourColumns': 'Four columns layout',
|
|
214
220
|
'fabric.editor.headerColumn': 'Header column',
|
|
215
221
|
'fabric.editor.headerRow': 'Header row',
|
|
216
222
|
'fabric.editor.heading1': 'Heading 1',
|
|
@@ -270,8 +276,6 @@ export default {
|
|
|
270
276
|
'fabric.editor.inputQueryAssistiveTxt': 'When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.',
|
|
271
277
|
'fabric.editor.insertColumn': 'Insert column right',
|
|
272
278
|
'fabric.editor.insertColumnDrag': 'Insert column',
|
|
273
|
-
'fabric.editor.insertMediaFromUrl': 'Image from link',
|
|
274
|
-
'fabric.editor.insertMediaFromUrlDescription': 'Add an image or video from a link',
|
|
275
279
|
'fabric.editor.insertMenu': 'Insert elements',
|
|
276
280
|
'fabric.editor.insertRightRail.close': 'Close',
|
|
277
281
|
'fabric.editor.insertRightRail.title': 'Insert',
|
|
@@ -284,6 +288,8 @@ export default {
|
|
|
284
288
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invite} trusted {Invite} other {Add}} teammate to {productName}',
|
|
285
289
|
'fabric.editor.italic': 'Italic',
|
|
286
290
|
'fabric.editor.keyboardShortcuts': 'Keyboard shortcuts',
|
|
291
|
+
'fabric.editor.layout.columnOption': '{count, plural, one {-column} other {{count}-columns}}',
|
|
292
|
+
'fabric.editor.layout.placeholder': 'Add content',
|
|
287
293
|
'fabric.editor.layoutFixedWidth': 'Back to center',
|
|
288
294
|
'fabric.editor.layoutFullWidth': 'Go full width',
|
|
289
295
|
'fabric.editor.layoutWide': 'Go wide',
|
|
@@ -302,8 +308,10 @@ export default {
|
|
|
302
308
|
'fabric.editor.media.MediaWidthIsMin': 'Media decreased to the minimum size',
|
|
303
309
|
'fabric.editor.media.insert.cancel': 'Cancel',
|
|
304
310
|
'fabric.editor.media.insert.fileTabTitle': 'File',
|
|
305
|
-
'fabric.editor.media.insert.fromUrlErrorMessage': '
|
|
311
|
+
'fabric.editor.media.insert.fromUrlErrorMessage': 'Unfortunately, we can’t add this image link. Download the image, then drag and drop onto the page.',
|
|
312
|
+
'fabric.editor.media.insert.fromUrlWarning': 'This image might not be visible to others due to source restrictions. Consider uploading the file instead.',
|
|
306
313
|
'fabric.editor.media.insert.insert': 'Insert',
|
|
314
|
+
'fabric.editor.media.insert.invalidUrlErrorMessage': 'Invalid link',
|
|
307
315
|
'fabric.editor.media.insert.linkTabTitle': 'Link',
|
|
308
316
|
'fabric.editor.media.insert.loadPreview': 'Load preview',
|
|
309
317
|
'fabric.editor.media.insert.localFileErrorMessage': 'This file couldn’t be uploaded.',
|
|
@@ -382,6 +390,9 @@ export default {
|
|
|
382
390
|
'fabric.editor.replaceAll': 'Replace all',
|
|
383
391
|
'fabric.editor.replaceSuccess': '{numberOfMatches, plural, one {# match replaced} other {# matches replaced}}',
|
|
384
392
|
'fabric.editor.replaceWith': 'Replace with',
|
|
393
|
+
'fabric.editor.requestToEdit': 'Request to edit',
|
|
394
|
+
'fabric.editor.requestToEditDescription': 'When you request access, the page owner will receive a notification.',
|
|
395
|
+
'fabric.editor.requestToEditDismiss': 'Dismiss',
|
|
385
396
|
'fabric.editor.resultsCount': '{selectedMatchPosition} of {totalResultsCount}',
|
|
386
397
|
'fabric.editor.richText': 'Use rich text',
|
|
387
398
|
'fabric.editor.rightSidebar': 'Right sidebar layout',
|