@atlaskit/editor-common 81.2.1 → 82.0.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 +39 -0
- package/dist/cjs/analytics/index.js +6 -0
- package/dist/cjs/analytics/types/index.js +6 -0
- package/dist/cjs/analytics/types/table-events.js +8 -2
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/cjs/guideline/utils.js +1 -1
- package/dist/cjs/i18n/cs.js +5 -0
- package/dist/cjs/i18n/da.js +3 -2
- package/dist/cjs/i18n/de.js +1 -0
- package/dist/cjs/i18n/en.js +4 -0
- package/dist/cjs/i18n/en_GB.js +4 -0
- package/dist/cjs/i18n/en_ZZ.js +4 -0
- package/dist/cjs/i18n/es.js +1 -0
- package/dist/cjs/i18n/fi.js +1 -0
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +1 -0
- package/dist/cjs/i18n/ko.js +1 -0
- package/dist/cjs/i18n/nb.js +5 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +1 -0
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +1 -0
- package/dist/cjs/i18n/zh_TW.js +5 -0
- package/dist/cjs/keymaps/index.js +8 -3
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +24 -29
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
- package/dist/cjs/media-single/utils.js +1 -1
- package/dist/cjs/messages/help-dialog.js +12 -12
- package/dist/cjs/messages/insert-block.js +5 -0
- package/dist/cjs/messages/table.js +0 -5
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/breakout.js +7 -6
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/analytics/types/index.js +1 -1
- package/dist/es2019/analytics/types/table-events.js +8 -1
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +2 -2
- package/dist/es2019/guideline/utils.js +2 -2
- package/dist/es2019/i18n/cs.js +5 -0
- package/dist/es2019/i18n/da.js +3 -2
- package/dist/es2019/i18n/de.js +1 -0
- package/dist/es2019/i18n/en.js +4 -0
- package/dist/es2019/i18n/en_GB.js +4 -0
- package/dist/es2019/i18n/en_ZZ.js +4 -0
- package/dist/es2019/i18n/es.js +1 -0
- package/dist/es2019/i18n/fi.js +1 -0
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +1 -0
- package/dist/es2019/i18n/ko.js +1 -0
- package/dist/es2019/i18n/nb.js +5 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +1 -0
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +1 -0
- package/dist/es2019/i18n/zh_TW.js +5 -0
- package/dist/es2019/keymaps/index.js +5 -0
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +19 -23
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
- package/dist/es2019/media-single/utils.js +2 -2
- package/dist/es2019/messages/help-dialog.js +12 -12
- package/dist/es2019/messages/insert-block.js +5 -0
- package/dist/es2019/messages/table.js +0 -5
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/breakout.js +7 -7
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/types/index.js +1 -1
- package/dist/esm/analytics/types/table-events.js +8 -1
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +2 -2
- package/dist/esm/guideline/utils.js +2 -2
- package/dist/esm/i18n/cs.js +5 -0
- package/dist/esm/i18n/da.js +3 -2
- package/dist/esm/i18n/de.js +1 -0
- package/dist/esm/i18n/en.js +4 -0
- package/dist/esm/i18n/en_GB.js +4 -0
- package/dist/esm/i18n/en_ZZ.js +4 -0
- package/dist/esm/i18n/es.js +1 -0
- package/dist/esm/i18n/fi.js +1 -0
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +1 -0
- package/dist/esm/i18n/ko.js +1 -0
- package/dist/esm/i18n/nb.js +5 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +1 -0
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +1 -0
- package/dist/esm/i18n/zh_TW.js +5 -0
- package/dist/esm/keymaps/index.js +5 -0
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +24 -29
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
- package/dist/esm/media-single/utils.js +2 -2
- package/dist/esm/messages/help-dialog.js +12 -12
- package/dist/esm/messages/insert-block.js +5 -0
- package/dist/esm/messages/table.js +0 -5
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/breakout.js +7 -6
- package/dist/types/analytics/index.d.ts +1 -1
- package/dist/types/analytics/types/index.d.ts +1 -1
- package/dist/types/analytics/types/table-events.d.ts +7 -1
- package/dist/types/card/types.d.ts +10 -4
- package/dist/types/i18n/cs.d.ts +5 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/en.d.ts +4 -0
- package/dist/types/i18n/en_GB.d.ts +4 -0
- package/dist/types/i18n/en_ZZ.d.ts +4 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ja.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +5 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +5 -0
- package/dist/types/keymaps/index.d.ts +4 -0
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +3 -2
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +6 -5
- package/dist/types/messages/help-dialog.d.ts +6 -6
- package/dist/types/messages/insert-block.d.ts +5 -0
- package/dist/types/messages/table.d.ts +0 -5
- package/dist/types/utils/breakout.d.ts +1 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/table-events.d.ts +7 -1
- package/dist/types-ts4.5/card/types.d.ts +10 -4
- package/dist/types-ts4.5/i18n/cs.d.ts +5 -0
- package/dist/types-ts4.5/i18n/da.d.ts +1 -0
- package/dist/types-ts4.5/i18n/de.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en.d.ts +4 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +4 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +4 -0
- package/dist/types-ts4.5/i18n/es.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +5 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +5 -0
- package/dist/types-ts4.5/keymaps/index.d.ts +4 -0
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +3 -2
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +6 -5
- package/dist/types-ts4.5/messages/help-dialog.d.ts +6 -6
- package/dist/types-ts4.5/messages/insert-block.d.ts +5 -0
- package/dist/types-ts4.5/messages/table.d.ts +0 -5
- package/dist/types-ts4.5/utils/breakout.d.ts +1 -1
- package/package.json +6 -6
|
@@ -38,7 +38,10 @@ function HyperlinkAddToolbar(_ref2) {
|
|
|
38
38
|
onClose = _ref2.onClose,
|
|
39
39
|
onEscapeCallback = _ref2.onEscapeCallback,
|
|
40
40
|
onClickAwayCallback = _ref2.onClickAwayCallback,
|
|
41
|
-
|
|
41
|
+
editorAppearance = _ref2.editorAppearance,
|
|
42
|
+
inputMethod = _ref2.inputMethod,
|
|
43
|
+
searchSessionId = _ref2.searchSessionId,
|
|
44
|
+
timesViewed = _ref2.timesViewed;
|
|
42
45
|
return /*#__PURE__*/_react.default.createElement(_providerFactory.WithProviders, {
|
|
43
46
|
providers: ['activityProvider', 'searchProvider'],
|
|
44
47
|
providerFactory: providerFactory,
|
|
@@ -50,8 +53,8 @@ function HyperlinkAddToolbar(_ref2) {
|
|
|
50
53
|
view: view,
|
|
51
54
|
invokeMethod: // Provide `invokeMethod` prop as preferred value (card plugin passes as prop) otherwise assume this
|
|
52
55
|
// is being used from inside the hyperlink plugin and use inputMethod from plugin state
|
|
53
|
-
invokeMethod !== null && invokeMethod !== void 0 ? invokeMethod :
|
|
54
|
-
editorAppearance:
|
|
56
|
+
invokeMethod !== null && invokeMethod !== void 0 ? invokeMethod : inputMethod,
|
|
57
|
+
editorAppearance: editorAppearance
|
|
55
58
|
}, linkPickerOptions, {
|
|
56
59
|
url: displayUrl,
|
|
57
60
|
displayText: displayText,
|
|
@@ -68,10 +71,12 @@ function HyperlinkAddToolbar(_ref2) {
|
|
|
68
71
|
onSubmit: onSubmit,
|
|
69
72
|
displayText: displayText,
|
|
70
73
|
displayUrl: displayUrl,
|
|
71
|
-
pluginState: hyperlinkPluginState,
|
|
72
74
|
view: view,
|
|
73
75
|
onEscapeCallback: onEscapeCallback,
|
|
74
|
-
onClickAwayCallback: onClickAwayCallback
|
|
76
|
+
onClickAwayCallback: onClickAwayCallback,
|
|
77
|
+
inputMethod: inputMethod,
|
|
78
|
+
searchSessionId: searchSessionId,
|
|
79
|
+
timesViewed: timesViewed
|
|
75
80
|
});
|
|
76
81
|
}
|
|
77
82
|
});
|
|
@@ -102,7 +102,7 @@ var calcLegacyWideWidth = function calcLegacyWideWidth(containerWidth, origWidth
|
|
|
102
102
|
* @param containerWidth width of editor container
|
|
103
103
|
*/
|
|
104
104
|
var calcMediaSingleMaxWidth = exports.calcMediaSingleMaxWidth = function calcMediaSingleMaxWidth(containerWidth) {
|
|
105
|
-
var fullWidthPadding = _editorSharedStyles.
|
|
105
|
+
var fullWidthPadding = (0, _editorSharedStyles.akEditorGutterPaddingDynamic)() * 2;
|
|
106
106
|
return Math.min(containerWidth - fullWidthPadding, _editorSharedStyles.akEditorFullWidthLayoutWidth);
|
|
107
107
|
};
|
|
108
108
|
|
|
@@ -36,6 +36,16 @@ var helpDialogMessages = exports.helpDialogMessages = (0, _reactIntlNext.defineM
|
|
|
36
36
|
defaultMessage: 'Toggle action item',
|
|
37
37
|
description: 'For Check/Uncheck Action item use shortcut'
|
|
38
38
|
},
|
|
39
|
+
InsertTableColumn: {
|
|
40
|
+
id: 'fabric.editor.insertTableColumn',
|
|
41
|
+
defaultMessage: 'Insert table column',
|
|
42
|
+
description: 'For insert table column'
|
|
43
|
+
},
|
|
44
|
+
InsertTableRow: {
|
|
45
|
+
id: 'fabric.editor.insertTableRow',
|
|
46
|
+
defaultMessage: 'Insert table row',
|
|
47
|
+
description: 'For insert table row'
|
|
48
|
+
},
|
|
39
49
|
altText: {
|
|
40
50
|
id: 'fabric.editor.altText',
|
|
41
51
|
defaultMessage: 'Alt text',
|
|
@@ -56,24 +66,14 @@ var helpDialogMessages = exports.helpDialogMessages = (0, _reactIntlNext.defineM
|
|
|
56
66
|
defaultMessage: 'Select column resize',
|
|
57
67
|
description: 'Hint for selecting a column resize a shortcut'
|
|
58
68
|
},
|
|
59
|
-
increaseColumnSize: {
|
|
60
|
-
id: 'fabric.editor.increaseColumnSize',
|
|
61
|
-
defaultMessage: 'Increase column size',
|
|
62
|
-
description: 'Hint for increasing a column size shortcut'
|
|
63
|
-
},
|
|
64
|
-
decreaseColumnSize: {
|
|
65
|
-
id: 'fabric.editor.decreaseColumnSize',
|
|
66
|
-
defaultMessage: 'Decrease column size',
|
|
67
|
-
description: 'Hint for decreasing a column size shortcut'
|
|
68
|
-
},
|
|
69
69
|
increaseSize: {
|
|
70
70
|
id: 'fabric.editor.increaseSize',
|
|
71
|
-
defaultMessage: 'Increase size',
|
|
71
|
+
defaultMessage: 'Increase table or media size',
|
|
72
72
|
description: 'The text is shown as an shortcut description in help dialog modal, when the user uses the described shortcut, he is able to increase the width of the selected element. Optimal characters less than 21.'
|
|
73
73
|
},
|
|
74
74
|
decreaseSize: {
|
|
75
75
|
id: 'fabric.editor.decreaseSize',
|
|
76
|
-
defaultMessage: 'Decrease size',
|
|
76
|
+
defaultMessage: 'Decrease table or media size',
|
|
77
77
|
description: 'The text is shown as an shortcut description in help dialog modal, when the user uses the described shortcut, he is able to decrease the width of the selected element. Optimal characters less than 21.'
|
|
78
78
|
},
|
|
79
79
|
focusTableResizeHandle: {
|
|
@@ -215,5 +215,10 @@ var toolbarInsertBlockMessages = exports.toolbarInsertBlockMessages = (0, _react
|
|
|
215
215
|
id: 'fabric.editor.recordVideo.description',
|
|
216
216
|
defaultMessage: 'Record and share your screen and thoughts',
|
|
217
217
|
description: 'Record and share your screen and thoughts'
|
|
218
|
+
},
|
|
219
|
+
recordLoomShortTitle: {
|
|
220
|
+
id: 'fabric.editor.recordLoomShortTitle',
|
|
221
|
+
defaultMessage: 'Record',
|
|
222
|
+
description: 'Record'
|
|
218
223
|
}
|
|
219
224
|
});
|
|
@@ -246,11 +246,6 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
246
246
|
defaultMessage: 'Fixed column widths',
|
|
247
247
|
description: 'Toggle button to enable fixed column widths'
|
|
248
248
|
},
|
|
249
|
-
unlockColumnWidths: {
|
|
250
|
-
id: 'fabric.editor.unLockColumns',
|
|
251
|
-
defaultMessage: 'Variable column widths',
|
|
252
|
-
description: 'Toggle button to enable variable column widths'
|
|
253
|
-
},
|
|
254
249
|
rowControl: {
|
|
255
250
|
id: 'fabric.editor.rowControl',
|
|
256
251
|
defaultMessage: 'Highlight row',
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "
|
|
19
|
+
var packageVersion = "82.0.0";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
|
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "
|
|
23
|
+
var packageVersion = "82.0.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -31,8 +31,8 @@ var breakoutConsts = exports.breakoutConsts = {
|
|
|
31
31
|
/**
|
|
32
32
|
* This function can return percentage value or px value depending upon the inputs
|
|
33
33
|
*/
|
|
34
|
-
calcBreakoutWidth: function calcBreakoutWidth(layout, containerWidth) {
|
|
35
|
-
var effectiveFullWidth = containerWidth - breakoutConsts.padding;
|
|
34
|
+
calcBreakoutWidth: function calcBreakoutWidth(layout, containerWidth, padding) {
|
|
35
|
+
var effectiveFullWidth = containerWidth - (padding !== null && padding !== void 0 ? padding : breakoutConsts.padding);
|
|
36
36
|
switch (layout) {
|
|
37
37
|
case 'full-width':
|
|
38
38
|
return "".concat(Math.min(effectiveFullWidth, breakoutConsts.fullWidthLayoutWidth), "px");
|
|
@@ -40,7 +40,7 @@ var breakoutConsts = exports.breakoutConsts = {
|
|
|
40
40
|
if (effectiveFullWidth <= 0) {
|
|
41
41
|
return '100%';
|
|
42
42
|
}
|
|
43
|
-
var wideWidth = breakoutConsts.calcWideWidth(containerWidth);
|
|
43
|
+
var wideWidth = breakoutConsts.calcWideWidth(containerWidth, undefined, undefined, padding);
|
|
44
44
|
if (wideWidth.endsWith('%')) {
|
|
45
45
|
return "".concat(Math.min(effectiveFullWidth, breakoutConsts.fullWidthLayoutWidth), "px");
|
|
46
46
|
}
|
|
@@ -56,7 +56,8 @@ var breakoutConsts = exports.breakoutConsts = {
|
|
|
56
56
|
var containerWidth = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : breakoutConsts.defaultLayoutWidth;
|
|
57
57
|
var maxWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Infinity;
|
|
58
58
|
var fallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '100%';
|
|
59
|
-
var
|
|
59
|
+
var padding = arguments.length > 3 ? arguments[3] : undefined;
|
|
60
|
+
var effectiveFullWidth = containerWidth - (padding !== null && padding !== void 0 ? padding : breakoutConsts.padding);
|
|
60
61
|
var layoutMaxWidth = breakoutConsts.mapBreakpointToLayoutMaxWidth(breakoutConsts.getBreakpoint(containerWidth));
|
|
61
62
|
var wideWidth = Math.min(Math.ceil(layoutMaxWidth * breakoutConsts.wideScaleRatio), effectiveFullWidth);
|
|
62
63
|
return layoutMaxWidth > wideWidth ? fallback : "".concat(Math.min(maxWidth, wideWidth), "px");
|
|
@@ -123,8 +124,8 @@ function calculateBreakoutStyles(_ref) {
|
|
|
123
124
|
marginLeft: "50%"
|
|
124
125
|
};
|
|
125
126
|
}
|
|
126
|
-
function calcBreakoutWidthPx(mode, widthStateWidth) {
|
|
127
|
-
return (0, _dom.parsePx)(calcBreakoutWidth(mode, widthStateWidth));
|
|
127
|
+
function calcBreakoutWidthPx(mode, widthStateWidth, padding) {
|
|
128
|
+
return (0, _dom.parsePx)(calcBreakoutWidth(mode, widthStateWidth, padding));
|
|
128
129
|
}
|
|
129
130
|
var getNextBreakoutMode = exports.getNextBreakoutMode = function getNextBreakoutMode(currentMode) {
|
|
130
131
|
if (currentMode === 'full-width') {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, BROWSER_FREEZE_INTERACTION_TYPE, CONTENT_COMPONENT, DELETE_DIRECTION, EVENT_TYPE, FLOATING_CONTROLS_TITLE, FULL_WIDTH_MODE, GAP_CURSOR_POSITION, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LAYOUT_TYPE, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, MODE, PLATFORMS, PUNC, PasteContents, PasteSources, PasteTypes, RESOLVE_METHOD, SELECTION_TYPE, SELECTION_POSITION, SMART_LINK_TYPE, SYMBOL, SmartLinkNodeContexts, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TARGET_SELECTION_SOURCE, TOOLBAR_ACTION_SUBJECT_ID, TRIGGER_METHOD, USER_CONTEXT, TABLE_DISPLAY_MODE, VIEW_METHOD } from './types';
|
|
1
|
+
export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, BROWSER_FREEZE_INTERACTION_TYPE, CONTENT_COMPONENT, CHANGE_ALIGNMENT_REASON, DELETE_DIRECTION, EVENT_TYPE, FLOATING_CONTROLS_TITLE, FULL_WIDTH_MODE, GAP_CURSOR_POSITION, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LAYOUT_TYPE, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, MODE, PLATFORMS, PUNC, PasteContents, PasteSources, PasteTypes, RESOLVE_METHOD, SELECTION_TYPE, SELECTION_POSITION, SMART_LINK_TYPE, SYMBOL, SmartLinkNodeContexts, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TARGET_SELECTION_SOURCE, TOOLBAR_ACTION_SUBJECT_ID, TRIGGER_METHOD, USER_CONTEXT, TABLE_DISPLAY_MODE, VIEW_METHOD } from './types';
|
|
2
2
|
export { editorAnalyticsChannel, fireAnalyticsEvent } from './fire-analytics-event';
|
|
3
3
|
export { getAnalyticsEventsFromTransaction } from './utils';
|
|
4
4
|
export { buildEditLinkPayload, buildVisitedLinkPayload, buildOpenedSettingsPayload, unlinkPayload } from './linking-utils';
|
|
@@ -3,7 +3,7 @@ export { INDENT_DIRECTION, INDENT_TYPE } from './format-events';
|
|
|
3
3
|
export { PUNC, SYMBOL } from './substitute-events';
|
|
4
4
|
export { BROWSER_FREEZE_INTERACTION_TYPE, FULL_WIDTH_MODE, MODE, PLATFORMS } from './general-events';
|
|
5
5
|
export { LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, USER_CONTEXT } from './insert-events';
|
|
6
|
-
export { TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TABLE_DISPLAY_MODE } from './table-events';
|
|
6
|
+
export { CHANGE_ALIGNMENT_REASON, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TABLE_DISPLAY_MODE } from './table-events';
|
|
7
7
|
export { PasteContents, PasteSources, PasteTypes } from './paste-events';
|
|
8
8
|
export { DELETE_DIRECTION, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS } from './list-events';
|
|
9
9
|
export { GAP_CURSOR_POSITION, TARGET_SELECTION_SOURCE } from './extension-events';
|
|
@@ -64,4 +64,11 @@ export let TABLE_DISPLAY_MODE = /*#__PURE__*/function (TABLE_DISPLAY_MODE) {
|
|
|
64
64
|
return TABLE_DISPLAY_MODE;
|
|
65
65
|
}({});
|
|
66
66
|
|
|
67
|
-
// currently duplicated in editor-plugin-table/src/types.ts
|
|
67
|
+
// currently duplicated in editor-plugin-table/src/types.ts
|
|
68
|
+
|
|
69
|
+
export let CHANGE_ALIGNMENT_REASON = /*#__PURE__*/function (CHANGE_ALIGNMENT_REASON) {
|
|
70
|
+
CHANGE_ALIGNMENT_REASON["TABLE_RESIZING"] = "tableResizing";
|
|
71
|
+
CHANGE_ALIGNMENT_REASON["EDITOR_APPEARANCE_CHANGED"] = "editorAppearanceChanged";
|
|
72
|
+
CHANGE_ALIGNMENT_REASON["TOOLBAR_OPTION_CHANGED"] = "toolbarOptionChanged";
|
|
73
|
+
return CHANGE_ALIGNMENT_REASON;
|
|
74
|
+
}({});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { Fragment } from 'react';
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
|
-
import {
|
|
5
|
+
import { akEditorGutterPaddingDynamic } from '@atlaskit/editor-shared-styles';
|
|
6
6
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
7
7
|
import { useSharedPluginState } from '../../../hooks';
|
|
8
8
|
import { createWidthContext, WidthContext } from '../../../ui';
|
|
@@ -30,7 +30,7 @@ const InlineExtension = props => {
|
|
|
30
30
|
'with-border': showMacroInteractionDesignUpdates,
|
|
31
31
|
'with-hover-border': showMacroInteractionDesignUpdates && isNodeHovered
|
|
32
32
|
});
|
|
33
|
-
const rendererContainerWidth = widthState ? widthState.width -
|
|
33
|
+
const rendererContainerWidth = widthState ? widthState.width - akEditorGutterPaddingDynamic() * 2 : 0;
|
|
34
34
|
const extendedInlineExtension = getBooleanFF('platform.editor.inline_extension.extended_lcqdn') || false;
|
|
35
35
|
const handleMouseEvent = didHover => {
|
|
36
36
|
if (setIsNodeHovered) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth,
|
|
1
|
+
import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPaddingDynamic } from '@atlaskit/editor-shared-styles';
|
|
2
2
|
import { getMediaSinglePixelWidth, roundToNearest } from '../media-single';
|
|
3
3
|
export const isNumber = x => typeof x === 'number' && !isNaN(x) && isFinite(x);
|
|
4
4
|
export const isRange = range => !!(typeof range === 'object' && range && 'start' in range && 'end' in range);
|
|
@@ -33,7 +33,7 @@ export const getGuidelineTypeFromKey = (keys, guidelines) => {
|
|
|
33
33
|
* Calculates container or full editor width taking in account editor full width layout
|
|
34
34
|
* width and editor gutter padding.
|
|
35
35
|
*/
|
|
36
|
-
export const getContainerWidthOrFullEditorWidth = containerWidth => Math.min(containerWidth -
|
|
36
|
+
export const getContainerWidthOrFullEditorWidth = containerWidth => Math.min(containerWidth - akEditorGutterPaddingDynamic() * 2, akEditorFullWidthLayoutWidth) / 2;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -130,6 +130,10 @@ export default {
|
|
|
130
130
|
'fabric.editor.edit.searchInput': 'Přidat odkaz',
|
|
131
131
|
'fabric.editor.editAltText': 'Upravit alternativní text',
|
|
132
132
|
'fabric.editor.editDateText': 'Upravit datum',
|
|
133
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Upravit vyhledávací dotaz',
|
|
134
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Upravit odkaz',
|
|
135
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Rozbalit rozevírací nabídku',
|
|
136
|
+
'fabric.editor.editDropdownTriggerTitle': 'Upravit',
|
|
133
137
|
'fabric.editor.editLink': 'Upravit odkaz',
|
|
134
138
|
'fabric.editor.editMode.inviteToEditButton.title': 'Pozvat k úpravám',
|
|
135
139
|
'fabric.editor.editStatusColor': 'Upravit barvu stavu',
|
|
@@ -245,6 +249,7 @@ export default {
|
|
|
245
249
|
'fabric.editor.info': 'Informace',
|
|
246
250
|
'fabric.editor.infoPanel': 'Informační panel',
|
|
247
251
|
'fabric.editor.infoPanel.description': 'Zvýraznit informace v barevném panelu',
|
|
252
|
+
'fabric.editor.inlineConfigureLink': 'Konfigurovat odkaz',
|
|
248
253
|
'fabric.editor.inlineDescription': 'Zobrazit odkaz jako vložený text',
|
|
249
254
|
'fabric.editor.inlineOverlay': 'Konfigurovat',
|
|
250
255
|
'fabric.editor.inlineTitle': 'Vložený',
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -215,7 +215,7 @@ export default {
|
|
|
215
215
|
'fabric.editor.headingLink.hyperlinkIconBugLabel': 'Fejl',
|
|
216
216
|
'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'Sag',
|
|
217
217
|
'fabric.editor.headingLink.hyperlinkIconPageLabel': 'Side',
|
|
218
|
-
'fabric.editor.headingLink.hyperlinkIconStoryLabel': '
|
|
218
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': 'Historie',
|
|
219
219
|
'fabric.editor.headingLink.hyperlinkIconTaskLabel': 'Opgave',
|
|
220
220
|
'fabric.editor.headingLink.invalidLabel': '⚠️ En tabel med flettede celler kan ikke sorteres',
|
|
221
221
|
'fabric.editor.headingLink.noOrderLabel': 'Sortér kolonnen fra A til Å',
|
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Info',
|
|
246
246
|
'fabric.editor.infoPanel': 'Informationspanel',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Fremhæv information i et farvet panel',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Konfigurer link',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Vis link som indbygget tekst',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Konfigurer',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Indbyg',
|
|
@@ -366,7 +367,7 @@ export default {
|
|
|
366
367
|
'fabric.editor.status': 'Status',
|
|
367
368
|
'fabric.editor.status.description': 'Tilføj en brugerdefineret statusetiket',
|
|
368
369
|
'fabric.editor.statusPlaceholder': 'Angiv en status',
|
|
369
|
-
'fabric.editor.story': '
|
|
370
|
+
'fabric.editor.story': 'Historie',
|
|
370
371
|
'fabric.editor.strike': 'Gennemstreget',
|
|
371
372
|
'fabric.editor.subTask': 'Underopgave',
|
|
372
373
|
'fabric.editor.subscript': 'Sænket skrift',
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Info',
|
|
246
246
|
'fabric.editor.infoPanel': 'Info-Panel',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Informationen in einem farbigen Panel hervorheben',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Link konfigurieren',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Link als Inline-Text anzeigen',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Konfigurieren',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Inline',
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -130,6 +130,10 @@ export default {
|
|
|
130
130
|
'fabric.editor.edit.searchInput': 'Add a link',
|
|
131
131
|
'fabric.editor.editAltText': 'Edit alt text',
|
|
132
132
|
'fabric.editor.editDateText': 'Edit Date',
|
|
133
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Edit search query',
|
|
134
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Edit link',
|
|
135
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Expand dropdown menu',
|
|
136
|
+
'fabric.editor.editDropdownTriggerTitle': 'Edit',
|
|
133
137
|
'fabric.editor.editLink': 'Edit link',
|
|
134
138
|
'fabric.editor.editMode.inviteToEditButton.title': 'Invite to edit',
|
|
135
139
|
'fabric.editor.editStatusColor': 'Edit Status Color',
|
|
@@ -130,6 +130,10 @@ export default {
|
|
|
130
130
|
'fabric.editor.edit.searchInput': 'Add a link',
|
|
131
131
|
'fabric.editor.editAltText': 'Edit alt text',
|
|
132
132
|
'fabric.editor.editDateText': 'Edit Date',
|
|
133
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Edit search query',
|
|
134
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Edit link',
|
|
135
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Expand dropdown menu',
|
|
136
|
+
'fabric.editor.editDropdownTriggerTitle': 'Edit',
|
|
133
137
|
'fabric.editor.editLink': 'Edit link',
|
|
134
138
|
'fabric.editor.editMode.inviteToEditButton.title': 'Invite to edit',
|
|
135
139
|
'fabric.editor.editStatusColor': 'Edit Status Colour',
|
|
@@ -130,6 +130,10 @@ export default {
|
|
|
130
130
|
'fabric.editor.edit.searchInput': 'Add a link',
|
|
131
131
|
'fabric.editor.editAltText': 'Edit alt text',
|
|
132
132
|
'fabric.editor.editDateText': 'Edit Date',
|
|
133
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Edit search query',
|
|
134
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Edit link',
|
|
135
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Expand dropdown menu',
|
|
136
|
+
'fabric.editor.editDropdownTriggerTitle': 'Edit',
|
|
133
137
|
'fabric.editor.editLink': 'Edit link',
|
|
134
138
|
'fabric.editor.editMode.inviteToEditButton.title': 'Invite to edit',
|
|
135
139
|
'fabric.editor.editStatusColor': 'Edit Status Color',
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Información',
|
|
246
246
|
'fabric.editor.infoPanel': 'Panel de información',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Destacar información en un panel de color',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Configurar enlace',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Mostrar enlace como texto insertado',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Configurar',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Insertado',
|
package/dist/es2019/i18n/fi.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Tietoja',
|
|
246
246
|
'fabric.editor.infoPanel': 'Tietopaneeli',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Korosta tietoja värillisessä paneelissa',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Määritä linkki',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Näytä linkki sitoutuvana tekstinä',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Muokkaa',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Tekstiin sitoutuva',
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Informations',
|
|
246
246
|
'fabric.editor.infoPanel': "Volet d'informations",
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Mettre en valeur des informations dans un cadre coloré',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Configurer le lien',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Affichez le lien sous forme de texte sur la même ligne',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Configurer',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Sur la même ligne',
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Információ',
|
|
246
246
|
'fabric.editor.infoPanel': 'Információs panel',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Információ kiemelése színes panelen',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Link konfigurálása',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Link megjelenítése beágyazott szövegként',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Konfigurálás',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Beágyazott',
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Info',
|
|
246
246
|
'fabric.editor.infoPanel': 'Pannello informazioni',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Metti in evidenza l’informazione in un pannello colorato',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Configura il link',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Visualizza il link come testo in linea',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Configura',
|
|
250
251
|
'fabric.editor.inlineTitle': 'In linea',
|
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': '情報',
|
|
246
246
|
'fabric.editor.infoPanel': '情報パネル',
|
|
247
247
|
'fabric.editor.infoPanel.description': '色付きのパネルで情報を強調',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'リンクを設定',
|
|
248
249
|
'fabric.editor.inlineDescription': 'リンクをインライン テキストとして表示します。',
|
|
249
250
|
'fabric.editor.inlineOverlay': '構成',
|
|
250
251
|
'fabric.editor.inlineTitle': 'インライン',
|
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': '정보',
|
|
246
246
|
'fabric.editor.infoPanel': '정보 패널',
|
|
247
247
|
'fabric.editor.infoPanel.description': '색상 있는 패널에서 정보 강조 표시',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': '링크 구성',
|
|
248
249
|
'fabric.editor.inlineDescription': '링크를 인라인 텍스트로 표시',
|
|
249
250
|
'fabric.editor.inlineOverlay': '구성',
|
|
250
251
|
'fabric.editor.inlineTitle': '인라인',
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -130,6 +130,10 @@ export default {
|
|
|
130
130
|
'fabric.editor.edit.searchInput': 'Legg til en kobling',
|
|
131
131
|
'fabric.editor.editAltText': 'Rediger alternativ tekst',
|
|
132
132
|
'fabric.editor.editDateText': 'Rediger dato',
|
|
133
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Rediger søkespørring',
|
|
134
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Rediger kobling',
|
|
135
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Utvid rullegardinmenyen',
|
|
136
|
+
'fabric.editor.editDropdownTriggerTitle': 'Rediger',
|
|
133
137
|
'fabric.editor.editLink': 'Rediger kobling',
|
|
134
138
|
'fabric.editor.editMode.inviteToEditButton.title': 'Inviter til å redigere',
|
|
135
139
|
'fabric.editor.editStatusColor': 'Rediger statusfarge',
|
|
@@ -245,6 +249,7 @@ export default {
|
|
|
245
249
|
'fabric.editor.info': 'Informasjon',
|
|
246
250
|
'fabric.editor.infoPanel': 'Informasjonspanel',
|
|
247
251
|
'fabric.editor.infoPanel.description': 'Uthev informasjonen i et farget panel',
|
|
252
|
+
'fabric.editor.inlineConfigureLink': 'Konfigurer kobling',
|
|
248
253
|
'fabric.editor.inlineDescription': 'Vis kobling som innebygd tekst',
|
|
249
254
|
'fabric.editor.inlineOverlay': 'Konfigurer',
|
|
250
255
|
'fabric.editor.inlineTitle': 'Innebygd',
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Informatie',
|
|
246
246
|
'fabric.editor.infoPanel': 'Infopaneel',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Informatie markeren in een gekleurd paneel',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Link configureren',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Link als inline-tekst weergeven',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Configureren',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Inline',
|
package/dist/es2019/i18n/pl.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Informacje',
|
|
246
246
|
'fabric.editor.infoPanel': 'Panel informacyjny',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Wyróżnij informacje kolorem',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Konfiguruj łącze',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Wyświetla łącze bezpośrednio w tekście',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Konfiguruj',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Bezpośrednio w tekście',
|
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Informações',
|
|
246
246
|
'fabric.editor.infoPanel': 'Painel de informações',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Destacar informações em um painel colorido',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Configurar link',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Mostrar link como texto em linha',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Configurar',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Em linha',
|
package/dist/es2019/i18n/ru.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Информация',
|
|
246
246
|
'fabric.editor.infoPanel': 'Информационная панель',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Выделение информации цветом',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Настроить ссылку',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Отображение ссылки в виде встроенного текста',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Настроить',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Встроенный текст',
|
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Info',
|
|
246
246
|
'fabric.editor.infoPanel': 'Informationspanel',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Markera information med en färgad panel',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Konfigurera länk',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Visa länk som infogad text',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Konfigurera',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Inline',
|
package/dist/es2019/i18n/th.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'ข้อมูล',
|
|
246
246
|
'fabric.editor.infoPanel': 'แผงข้อมูล',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'ไฮไลท์ข้อมูลในแผงสี',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'กำหนดค่าลิงก์',
|
|
248
249
|
'fabric.editor.inlineDescription': 'แสดงลิงก์เป็นข้อความแบบบรรทัดเดียว',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'กำหนดค่า',
|
|
250
251
|
'fabric.editor.inlineTitle': 'บรรทัดเดียว',
|
package/dist/es2019/i18n/tr.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Bilgi',
|
|
246
246
|
'fabric.editor.infoPanel': 'Bilgi panosu',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Renkli bir panoda bilgileri vurgulayın',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Bağlantıyı yapılandırın',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Bağlantıyı satır içi metin olarak gösterir',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Yapılandır',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Satır içi',
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Інформація',
|
|
246
246
|
'fabric.editor.infoPanel': 'Панель з інформацією',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Панель із виділеною кольорами інформацією',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Посилання для налаштування',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Показати посилання як вбудований текст',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Налаштування',
|
|
250
251
|
'fabric.editor.inlineTitle': 'У рядку',
|
package/dist/es2019/i18n/vi.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': 'Thông tin',
|
|
246
246
|
'fabric.editor.infoPanel': 'Ô thông tin',
|
|
247
247
|
'fabric.editor.infoPanel.description': 'Bôi đậm thông tin bằng ô màu',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': 'Định cấu hình liên kết',
|
|
248
249
|
'fabric.editor.inlineDescription': 'Hiển thị liên kết dưới dạng văn bản nội tuyến',
|
|
249
250
|
'fabric.editor.inlineOverlay': 'Đặt cấu hình',
|
|
250
251
|
'fabric.editor.inlineTitle': 'Nội tuyến',
|
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
'fabric.editor.info': '信息',
|
|
246
246
|
'fabric.editor.infoPanel': '信息面板',
|
|
247
247
|
'fabric.editor.infoPanel.description': '在彩色面板高亮显示信息',
|
|
248
|
+
'fabric.editor.inlineConfigureLink': '配置链接',
|
|
248
249
|
'fabric.editor.inlineDescription': '以内联文本显示链接',
|
|
249
250
|
'fabric.editor.inlineOverlay': '配置',
|
|
250
251
|
'fabric.editor.inlineTitle': '内联',
|
|
@@ -130,6 +130,10 @@ export default {
|
|
|
130
130
|
'fabric.editor.edit.searchInput': '新增連結',
|
|
131
131
|
'fabric.editor.editAltText': '編輯替代文字',
|
|
132
132
|
'fabric.editor.editDateText': '編輯日期',
|
|
133
|
+
'fabric.editor.editDropdownEditDatasourceTitle': '編輯搜尋查詢',
|
|
134
|
+
'fabric.editor.editDropdownEditLinkTitle': '編輯連結',
|
|
135
|
+
'fabric.editor.editDropdownExpandIconLabel': '展開下拉式選單',
|
|
136
|
+
'fabric.editor.editDropdownTriggerTitle': '編輯',
|
|
133
137
|
'fabric.editor.editLink': '編輯連結',
|
|
134
138
|
'fabric.editor.editMode.inviteToEditButton.title': '邀請編輯',
|
|
135
139
|
'fabric.editor.editStatusColor': '編輯狀態顏色',
|
|
@@ -245,6 +249,7 @@ export default {
|
|
|
245
249
|
'fabric.editor.info': '資訊',
|
|
246
250
|
'fabric.editor.infoPanel': '資訊面板',
|
|
247
251
|
'fabric.editor.infoPanel.description': '以彩色面板醒目提示資訊',
|
|
252
|
+
'fabric.editor.inlineConfigureLink': '設定連結',
|
|
248
253
|
'fabric.editor.inlineDescription': '將連結顯示為內嵌文字',
|
|
249
254
|
'fabric.editor.inlineOverlay': '設定',
|
|
250
255
|
'fabric.editor.inlineTitle': '內嵌',
|
|
@@ -65,6 +65,11 @@ export const addRowBefore = makeKeyMapWithCommon('Add Row Above', 'Ctrl-Alt-Arro
|
|
|
65
65
|
export const addRowAfter = makeKeyMapWithCommon('Add Row Below', 'Ctrl-Alt-ArrowDown');
|
|
66
66
|
export const addColumnAfter = makeKeyMapWithCommon('Add Column After', 'Ctrl-Alt-ArrowRight');
|
|
67
67
|
export const addColumnBefore = makeKeyMapWithCommon('Add Column Before', 'Ctrl-Alt-ArrowLeft');
|
|
68
|
+
// The following few shortcuts that end in VO are added specifically for Voice Over users, as shortcuts that perform the same role when using Voice Over don't work because they conflict with default shortcuts in Voice Over
|
|
69
|
+
export const addRowBeforeVO = makeKeyMapWithCommon('Add Row Above', 'Mod-Alt-[');
|
|
70
|
+
export const addRowAfterVO = makeKeyMapWithCommon('Add Row Below', 'Mod-Alt-]');
|
|
71
|
+
export const addColumnAfterVO = makeKeyMapWithCommon('Add Column After', 'Mod-Alt-=');
|
|
72
|
+
export const addColumnBeforeVO = makeKeyMapWithCommon('Add Column Before', 'Mod-Alt--');
|
|
68
73
|
export const moveColumnLeft = makeKeyMapWithCommon('Move Column Left', 'Ctrl-Alt-Shift-ArrowLeft');
|
|
69
74
|
export const moveColumnRight = makeKeyMapWithCommon('Move Column Right', 'Ctrl-Alt-Shift-ArrowRight');
|
|
70
75
|
export const moveRowDown = makeKeyMapWithCommon('Move Row Down', 'Ctrl-Alt-Shift-ArrowDown');
|