@atlaskit/editor-core 187.40.1 → 187.40.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/i18n/cs.js +6 -9
- package/dist/cjs/i18n/da.js +6 -9
- package/dist/cjs/i18n/de.js +6 -9
- package/dist/cjs/i18n/en.js +6 -9
- package/dist/cjs/i18n/en_GB.js +6 -9
- package/dist/cjs/i18n/en_ZZ.js +6 -9
- package/dist/cjs/i18n/es.js +6 -9
- package/dist/cjs/i18n/fi.js +6 -9
- package/dist/cjs/i18n/fr.js +6 -9
- package/dist/cjs/i18n/hu.js +6 -9
- package/dist/cjs/i18n/it.js +6 -9
- package/dist/cjs/i18n/ja.js +6 -9
- package/dist/cjs/i18n/ko.js +6 -9
- package/dist/cjs/i18n/nb.js +6 -9
- package/dist/cjs/i18n/nl.js +6 -9
- package/dist/cjs/i18n/pl.js +6 -9
- package/dist/cjs/i18n/pt_BR.js +6 -9
- package/dist/cjs/i18n/ru.js +6 -9
- package/dist/cjs/i18n/sv.js +6 -9
- package/dist/cjs/i18n/th.js +6 -9
- package/dist/cjs/i18n/tr.js +6 -9
- package/dist/cjs/i18n/uk.js +6 -9
- package/dist/cjs/i18n/vi.js +6 -9
- package/dist/cjs/i18n/zh.js +6 -9
- package/dist/cjs/i18n/zh_TW.js +6 -9
- package/dist/cjs/plugins/find-replace/ui/Find.js +88 -42
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/i18n/cs.js +6 -9
- package/dist/es2019/i18n/da.js +6 -9
- package/dist/es2019/i18n/de.js +6 -9
- package/dist/es2019/i18n/en.js +6 -9
- package/dist/es2019/i18n/en_GB.js +6 -9
- package/dist/es2019/i18n/en_ZZ.js +6 -9
- package/dist/es2019/i18n/es.js +6 -9
- package/dist/es2019/i18n/fi.js +6 -9
- package/dist/es2019/i18n/fr.js +6 -9
- package/dist/es2019/i18n/hu.js +6 -9
- package/dist/es2019/i18n/it.js +6 -9
- package/dist/es2019/i18n/ja.js +6 -9
- package/dist/es2019/i18n/ko.js +6 -9
- package/dist/es2019/i18n/nb.js +6 -9
- package/dist/es2019/i18n/nl.js +6 -9
- package/dist/es2019/i18n/pl.js +6 -9
- package/dist/es2019/i18n/pt_BR.js +6 -9
- package/dist/es2019/i18n/ru.js +6 -9
- package/dist/es2019/i18n/sv.js +6 -9
- package/dist/es2019/i18n/th.js +6 -9
- package/dist/es2019/i18n/tr.js +6 -9
- package/dist/es2019/i18n/uk.js +6 -9
- package/dist/es2019/i18n/vi.js +6 -9
- package/dist/es2019/i18n/zh.js +6 -9
- package/dist/es2019/i18n/zh_TW.js +6 -9
- package/dist/es2019/plugins/find-replace/ui/Find.js +69 -22
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/i18n/cs.js +6 -9
- package/dist/esm/i18n/da.js +6 -9
- package/dist/esm/i18n/de.js +6 -9
- package/dist/esm/i18n/en.js +6 -9
- package/dist/esm/i18n/en_GB.js +6 -9
- package/dist/esm/i18n/en_ZZ.js +6 -9
- package/dist/esm/i18n/es.js +6 -9
- package/dist/esm/i18n/fi.js +6 -9
- package/dist/esm/i18n/fr.js +6 -9
- package/dist/esm/i18n/hu.js +6 -9
- package/dist/esm/i18n/it.js +6 -9
- package/dist/esm/i18n/ja.js +6 -9
- package/dist/esm/i18n/ko.js +6 -9
- package/dist/esm/i18n/nb.js +6 -9
- package/dist/esm/i18n/nl.js +6 -9
- package/dist/esm/i18n/pl.js +6 -9
- package/dist/esm/i18n/pt_BR.js +6 -9
- package/dist/esm/i18n/ru.js +6 -9
- package/dist/esm/i18n/sv.js +6 -9
- package/dist/esm/i18n/th.js +6 -9
- package/dist/esm/i18n/tr.js +6 -9
- package/dist/esm/i18n/uk.js +6 -9
- package/dist/esm/i18n/vi.js +6 -9
- package/dist/esm/i18n/zh.js +6 -9
- package/dist/esm/i18n/zh_TW.js +6 -9
- package/dist/esm/plugins/find-replace/ui/Find.js +86 -41
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/i18n/cs.d.ts +3 -6
- package/dist/types/i18n/da.d.ts +3 -6
- package/dist/types/i18n/de.d.ts +3 -6
- package/dist/types/i18n/en.d.ts +3 -6
- package/dist/types/i18n/en_GB.d.ts +3 -6
- package/dist/types/i18n/en_ZZ.d.ts +3 -6
- package/dist/types/i18n/es.d.ts +3 -6
- package/dist/types/i18n/fi.d.ts +3 -6
- package/dist/types/i18n/fr.d.ts +3 -6
- package/dist/types/i18n/hu.d.ts +3 -6
- package/dist/types/i18n/it.d.ts +3 -6
- package/dist/types/i18n/ja.d.ts +3 -6
- package/dist/types/i18n/ko.d.ts +3 -6
- package/dist/types/i18n/nb.d.ts +3 -6
- package/dist/types/i18n/nl.d.ts +3 -6
- package/dist/types/i18n/pl.d.ts +3 -6
- package/dist/types/i18n/pt_BR.d.ts +3 -6
- package/dist/types/i18n/ru.d.ts +3 -6
- package/dist/types/i18n/sv.d.ts +3 -6
- package/dist/types/i18n/th.d.ts +3 -6
- package/dist/types/i18n/tr.d.ts +3 -6
- package/dist/types/i18n/uk.d.ts +3 -6
- package/dist/types/i18n/vi.d.ts +3 -6
- package/dist/types/i18n/zh.d.ts +3 -6
- package/dist/types/i18n/zh_TW.d.ts +3 -6
- package/dist/types/plugins/find-replace/ui/Find.d.ts +3 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +3 -6
- package/dist/types-ts4.5/i18n/da.d.ts +3 -6
- package/dist/types-ts4.5/i18n/de.d.ts +3 -6
- package/dist/types-ts4.5/i18n/en.d.ts +3 -6
- package/dist/types-ts4.5/i18n/en_GB.d.ts +3 -6
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +3 -6
- package/dist/types-ts4.5/i18n/es.d.ts +3 -6
- package/dist/types-ts4.5/i18n/fi.d.ts +3 -6
- package/dist/types-ts4.5/i18n/fr.d.ts +3 -6
- package/dist/types-ts4.5/i18n/hu.d.ts +3 -6
- package/dist/types-ts4.5/i18n/it.d.ts +3 -6
- package/dist/types-ts4.5/i18n/ja.d.ts +3 -6
- package/dist/types-ts4.5/i18n/ko.d.ts +3 -6
- package/dist/types-ts4.5/i18n/nb.d.ts +3 -6
- package/dist/types-ts4.5/i18n/nl.d.ts +3 -6
- package/dist/types-ts4.5/i18n/pl.d.ts +3 -6
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +3 -6
- package/dist/types-ts4.5/i18n/ru.d.ts +3 -6
- package/dist/types-ts4.5/i18n/sv.d.ts +3 -6
- package/dist/types-ts4.5/i18n/th.d.ts +3 -6
- package/dist/types-ts4.5/i18n/tr.d.ts +3 -6
- package/dist/types-ts4.5/i18n/uk.d.ts +3 -6
- package/dist/types-ts4.5/i18n/vi.d.ts +3 -6
- package/dist/types-ts4.5/i18n/zh.d.ts +3 -6
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +3 -6
- package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +3 -2
- package/package.json +1 -1
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -114,6 +114,7 @@ var _default = {
|
|
|
114
114
|
'fabric.editor.heading6Description': '用于次级标题',
|
|
115
115
|
'fabric.editor.headingLink.toolbarHelpTitle': '打开帮助对话框',
|
|
116
116
|
'fabric.editor.helpDialogTips': '点击 {keyMap} 可以随时快速打开此对话',
|
|
117
|
+
'fabric.editor.image.fullWidthLabel': '全宽',
|
|
117
118
|
'fabric.editor.imageBorderBold': '加粗',
|
|
118
119
|
'fabric.editor.imageBorderColor': '颜色',
|
|
119
120
|
'fabric.editor.imageBorderMedium': '中等',
|
|
@@ -129,13 +130,14 @@ var _default = {
|
|
|
129
130
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {邀请团队成员加入 {productName}} trusted {邀请团队成员加入 {productName}} other {将团队成员添加至 {productName}}}',
|
|
130
131
|
'fabric.editor.keyboardShortcuts': '键盘快捷键',
|
|
131
132
|
'fabric.editor.leftSidebar': '左侧栏',
|
|
132
|
-
'fabric.editor.lists': '列表',
|
|
133
133
|
'fabric.editor.markdown': '进行标记',
|
|
134
134
|
'fabric.editor.matchCase': '匹配大小写',
|
|
135
135
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': '高度输入',
|
|
136
136
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': '高度',
|
|
137
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
138
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
137
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '最大宽度 {maxWidth} 像素',
|
|
138
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': '最大宽度 {maxWidth} 像素',
|
|
139
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': '转换为像素',
|
|
140
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': '从百分比迁移到固定像素大小',
|
|
139
141
|
'fabric.editor.media.pixelEntry.submitButtonText': '提交',
|
|
140
142
|
'fabric.editor.media.pixelEntry.validationFailedMessage': '宽度验证失败',
|
|
141
143
|
'fabric.editor.mediaGroupDeleteLabel': '删除',
|
|
@@ -148,8 +150,6 @@ var _default = {
|
|
|
148
150
|
'fabric.editor.note': '说明',
|
|
149
151
|
'fabric.editor.notePanel': '记录面板',
|
|
150
152
|
'fabric.editor.notePanel.description': '在彩色面板添加注释',
|
|
151
|
-
'fabric.editor.orderedList': '有序列表',
|
|
152
|
-
'fabric.editor.orderedList.description': '创建有序列表',
|
|
153
153
|
'fabric.editor.other': '其他...',
|
|
154
154
|
'fabric.editor.outdent': '减小缩进',
|
|
155
155
|
'fabric.editor.panel.backgroundColor': '背景颜色',
|
|
@@ -191,13 +191,10 @@ var _default = {
|
|
|
191
191
|
'fabric.editor.typeahead.mentionPopupLabel': '您可以标记的用户',
|
|
192
192
|
'fabric.editor.typeahead.metionListItemLabel': '用户 {name} @{shortName}',
|
|
193
193
|
'fabric.editor.undo': '撤销',
|
|
194
|
-
'fabric.editor.unorderedList': '无序列表',
|
|
195
|
-
'fabric.editor.unorderedList.description': '创建无序列表',
|
|
196
194
|
'fabric.editor.warning': '警告',
|
|
197
195
|
'fabric.editor.warningPanel': '警告面板',
|
|
198
196
|
'fabric.editor.warningPanel.description': '在彩色面板添加提醒注释',
|
|
199
197
|
'fabric.editor.wrapLeft': '隐藏左边',
|
|
200
|
-
'fabric.editor.wrapRight': '隐藏右边'
|
|
201
|
-
'fabric.emoji.label': '表情'
|
|
198
|
+
'fabric.editor.wrapRight': '隐藏右边'
|
|
202
199
|
};
|
|
203
200
|
exports.default = _default;
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -114,6 +114,7 @@ var _default = {
|
|
|
114
114
|
'fabric.editor.heading6Description': '用於低層級標題',
|
|
115
115
|
'fabric.editor.headingLink.toolbarHelpTitle': '開啟說明對話方塊',
|
|
116
116
|
'fabric.editor.helpDialogTips': '您可以隨時按下 {keyMap} 來快速開啟此對話方塊',
|
|
117
|
+
'fabric.editor.image.fullWidthLabel': '全寬',
|
|
117
118
|
'fabric.editor.imageBorderBold': '粗體',
|
|
118
119
|
'fabric.editor.imageBorderColor': '顏色',
|
|
119
120
|
'fabric.editor.imageBorderMedium': '普通',
|
|
@@ -129,13 +130,14 @@ var _default = {
|
|
|
129
130
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {邀請團隊成員加入 {productName}} trusted {邀請團隊成員加入 {productName}} other {將團隊成員新增至 {productName}}}',
|
|
130
131
|
'fabric.editor.keyboardShortcuts': '鍵盤快速鍵',
|
|
131
132
|
'fabric.editor.leftSidebar': '左側資訊看板',
|
|
132
|
-
'fabric.editor.lists': '清單',
|
|
133
133
|
'fabric.editor.markdown': 'Markdown',
|
|
134
134
|
'fabric.editor.matchCase': '大小寫須相符',
|
|
135
135
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': '高度輸入',
|
|
136
136
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': '高度',
|
|
137
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
138
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
137
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '最大寬度 {maxWidth}px',
|
|
138
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': '最大寬度 {maxWidth}px',
|
|
139
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': '轉換為像素',
|
|
140
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': '從百分比移轉為固定像素大小',
|
|
139
141
|
'fabric.editor.media.pixelEntry.submitButtonText': '提交',
|
|
140
142
|
'fabric.editor.media.pixelEntry.validationFailedMessage': '寬度驗證失敗',
|
|
141
143
|
'fabric.editor.mediaGroupDeleteLabel': '刪除',
|
|
@@ -148,8 +150,6 @@ var _default = {
|
|
|
148
150
|
'fabric.editor.note': '附註',
|
|
149
151
|
'fabric.editor.notePanel': '附註面板',
|
|
150
152
|
'fabric.editor.notePanel.description': '以彩色面板新增附註',
|
|
151
|
-
'fabric.editor.orderedList': '編號清單',
|
|
152
|
-
'fabric.editor.orderedList.description': '建立已排序的清單',
|
|
153
153
|
'fabric.editor.other': '其他...',
|
|
154
154
|
'fabric.editor.outdent': '減少縮排',
|
|
155
155
|
'fabric.editor.panel.backgroundColor': '背景顏色',
|
|
@@ -191,13 +191,10 @@ var _default = {
|
|
|
191
191
|
'fabric.editor.typeahead.mentionPopupLabel': '您可以標記的使用者',
|
|
192
192
|
'fabric.editor.typeahead.metionListItemLabel': '使用者 {name} @{shortName}',
|
|
193
193
|
'fabric.editor.undo': '復原',
|
|
194
|
-
'fabric.editor.unorderedList': '項目符號清單',
|
|
195
|
-
'fabric.editor.unorderedList.description': '建立未排序的清單',
|
|
196
194
|
'fabric.editor.warning': '警告',
|
|
197
195
|
'fabric.editor.warningPanel': '警告面板',
|
|
198
196
|
'fabric.editor.warningPanel.description': '以彩色面板新增注意附註',
|
|
199
197
|
'fabric.editor.wrapLeft': '靠左圍繞',
|
|
200
|
-
'fabric.editor.wrapRight': '靠右圍繞'
|
|
201
|
-
'fabric.emoji.label': '表情符號'
|
|
198
|
+
'fabric.editor.wrapRight': '靠右圍繞'
|
|
202
199
|
};
|
|
203
200
|
exports.default = _default;
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = void 0;
|
|
7
|
+
exports.default = exports.FIND_DEBOUNCE_MS = void 0;
|
|
8
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
10
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
@@ -15,6 +15,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
15
15
|
var _react = _interopRequireDefault(require("react"));
|
|
16
16
|
var _react2 = require("@emotion/react");
|
|
17
17
|
var _reactIntlNext = require("react-intl-next");
|
|
18
|
+
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
18
19
|
var _close = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/close"));
|
|
19
20
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/glyph/hipchat/chevron-down"));
|
|
20
21
|
var _chevronUp = _interopRequireDefault(require("@atlaskit/icon/glyph/hipchat/chevron-up"));
|
|
@@ -23,8 +24,11 @@ var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
|
|
|
23
24
|
var _styles = require("./styles");
|
|
24
25
|
var _types = require("../../analytics/types");
|
|
25
26
|
var _FindReplaceTooltipButton = require("./FindReplaceTooltipButton");
|
|
27
|
+
var _rafSchd = _interopRequireDefault(require("raf-schd"));
|
|
26
28
|
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); }; }
|
|
27
29
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
|
|
30
|
+
var FIND_DEBOUNCE_MS = 100;
|
|
31
|
+
exports.FIND_DEBOUNCE_MS = FIND_DEBOUNCE_MS;
|
|
28
32
|
var messages = (0, _reactIntlNext.defineMessages)({
|
|
29
33
|
find: {
|
|
30
34
|
id: 'fabric.editor.find',
|
|
@@ -71,7 +75,7 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
71
75
|
_this = _super.call(this, props);
|
|
72
76
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "findTextfieldRef", /*#__PURE__*/_react.default.createRef());
|
|
73
77
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "isComposing", false);
|
|
74
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "syncFindText", function () {
|
|
78
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "syncFindText", function (onSynced) {
|
|
75
79
|
var _this$state;
|
|
76
80
|
// If the external prop findText changes and we aren't in a composition we should update to
|
|
77
81
|
// use the external prop value.
|
|
@@ -79,15 +83,9 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
79
83
|
// An example of where this may happen is when a find occurs through the user selecting some text
|
|
80
84
|
// and pressing Mod-f.
|
|
81
85
|
if (!_this.isComposing && _this.props.findText !== ((_this$state = _this.state) === null || _this$state === void 0 ? void 0 : _this$state.localFindText)) {
|
|
82
|
-
_this.updateFindValue(_this.props.findText || '');
|
|
86
|
+
_this.updateFindValue(_this.props.findText || '', onSynced);
|
|
83
87
|
}
|
|
84
88
|
});
|
|
85
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "skipWhileComposing", function (fn) {
|
|
86
|
-
if (_this.isComposing) {
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
fn();
|
|
90
|
-
});
|
|
91
89
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "focusFindTextfield", function () {
|
|
92
90
|
var input = _this.findTextfieldRef.current;
|
|
93
91
|
if (_this.props.shouldFocus && input) {
|
|
@@ -97,44 +95,63 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
97
95
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleFindChange", function (event) {
|
|
98
96
|
_this.updateFindValue(event.target.value);
|
|
99
97
|
});
|
|
100
|
-
|
|
98
|
+
// debounce (vs throttle) to not block typing inside find input while onFind runs
|
|
99
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "debouncedFind", (0, _debounce.default)(function (value) {
|
|
100
|
+
_this.props.onFind(value);
|
|
101
|
+
}, FIND_DEBOUNCE_MS));
|
|
102
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "updateFindValue", function (value, onSynced) {
|
|
101
103
|
_this.setState({
|
|
102
104
|
localFindText: value
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
}, function () {
|
|
106
|
+
if (_this.isComposing) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
onSynced && onSynced();
|
|
110
|
+
_this.debouncedFind(value);
|
|
106
111
|
});
|
|
107
112
|
});
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
} else if (event.key === 'ArrowDown') {
|
|
121
|
-
// we want to move focus between find & replace texfields when user hits up/down arrows
|
|
122
|
-
_this.props.onArrowDown();
|
|
113
|
+
// throtlle between animation frames gives better experience on Enter compared to arbitrary value
|
|
114
|
+
// it adjusts based on performance (and document size)
|
|
115
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleFindKeyDownThrottled", (0, _rafSchd.default)(function (event) {
|
|
116
|
+
if (event.key === 'Enter') {
|
|
117
|
+
if (event.shiftKey) {
|
|
118
|
+
_this.props.onFindPrev({
|
|
119
|
+
triggerMethod: _types.TRIGGER_METHOD.KEYBOARD
|
|
120
|
+
});
|
|
121
|
+
} else {
|
|
122
|
+
_this.props.onFindNext({
|
|
123
|
+
triggerMethod: _types.TRIGGER_METHOD.KEYBOARD
|
|
124
|
+
});
|
|
123
125
|
}
|
|
124
|
-
})
|
|
126
|
+
} else if (event.key === 'ArrowDown') {
|
|
127
|
+
// we want to move focus between find & replace texfields when user hits up/down arrows
|
|
128
|
+
_this.props.onArrowDown();
|
|
129
|
+
}
|
|
130
|
+
}));
|
|
131
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleFindKeyDown", function (event) {
|
|
132
|
+
if (_this.isComposing) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
event.persist();
|
|
136
|
+
_this.handleFindKeyDownThrottled(event);
|
|
137
|
+
});
|
|
138
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleFindKeyUp", function () {
|
|
139
|
+
_this.handleFindKeyDownThrottled.cancel();
|
|
125
140
|
});
|
|
126
141
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleFindNextClick", function (ref) {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
142
|
+
if (_this.isComposing) {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
_this.props.onFindNext({
|
|
146
|
+
triggerMethod: _types.TRIGGER_METHOD.BUTTON
|
|
131
147
|
});
|
|
132
148
|
});
|
|
133
149
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleFindPrevClick", function (ref) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
150
|
+
if (_this.isComposing) {
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
_this.props.onFindPrev({
|
|
154
|
+
triggerMethod: _types.TRIGGER_METHOD.BUTTON
|
|
138
155
|
});
|
|
139
156
|
});
|
|
140
157
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleCompositionStart", function () {
|
|
@@ -187,15 +204,43 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
187
204
|
(0, _createClass2.default)(Find, [{
|
|
188
205
|
key: "componentDidMount",
|
|
189
206
|
value: function componentDidMount() {
|
|
207
|
+
var _this2 = this;
|
|
190
208
|
this.props.onFindTextfieldRefSet(this.findTextfieldRef);
|
|
191
|
-
|
|
192
|
-
|
|
209
|
+
|
|
210
|
+
// focus initially on dialog mount if there is no find text provided
|
|
211
|
+
if (!this.props.findText) {
|
|
212
|
+
this.focusFindTextfield();
|
|
213
|
+
}
|
|
214
|
+
this.syncFindText(function () {
|
|
215
|
+
// focus after input is synced if find text provided
|
|
216
|
+
if (_this2.props.findText) {
|
|
217
|
+
_this2.focusFindTextfield();
|
|
218
|
+
}
|
|
219
|
+
});
|
|
193
220
|
}
|
|
194
221
|
}, {
|
|
195
222
|
key: "componentDidUpdate",
|
|
196
|
-
value: function componentDidUpdate() {
|
|
197
|
-
|
|
198
|
-
|
|
223
|
+
value: function componentDidUpdate(prevProps) {
|
|
224
|
+
var _this$state2,
|
|
225
|
+
_this3 = this;
|
|
226
|
+
// focus on update if find text did not change
|
|
227
|
+
if (this.props.findText === ((_this$state2 = this.state) === null || _this$state2 === void 0 ? void 0 : _this$state2.localFindText)) {
|
|
228
|
+
this.focusFindTextfield();
|
|
229
|
+
}
|
|
230
|
+
if (this.props.findText !== prevProps.findText) {
|
|
231
|
+
this.syncFindText(function () {
|
|
232
|
+
// focus after input is synced if find text provided
|
|
233
|
+
if (_this3.props.findText) {
|
|
234
|
+
_this3.focusFindTextfield();
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}, {
|
|
240
|
+
key: "componentWillUnmount",
|
|
241
|
+
value: function componentWillUnmount() {
|
|
242
|
+
this.debouncedFind.cancel();
|
|
243
|
+
this.handleFindKeyDownThrottled.cancel();
|
|
199
244
|
}
|
|
200
245
|
}, {
|
|
201
246
|
key: "render",
|
|
@@ -221,6 +266,7 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
221
266
|
autoComplete: "off",
|
|
222
267
|
onChange: this.handleFindChange,
|
|
223
268
|
onKeyDown: this.handleFindKeyDown,
|
|
269
|
+
onKeyUp: this.handleFindKeyUp,
|
|
224
270
|
onBlur: this.props.onFindBlur,
|
|
225
271
|
onCompositionStart: this.handleCompositionStart,
|
|
226
272
|
onCompositionEnd: this.handleCompositionEnd
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "187.40.
|
|
9
|
+
var version = "187.40.2";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -109,6 +109,7 @@ export default {
|
|
|
109
109
|
'fabric.editor.heading6Description': 'Použít pro nadpis nejnižší úrovně',
|
|
110
110
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Otevřít dialog nápovědy',
|
|
111
111
|
'fabric.editor.helpDialogTips': 'Zmáčkněte {keyMap}, abyste mohli kdykoliv rychle otevřít tento dialog.',
|
|
112
|
+
'fabric.editor.image.fullWidthLabel': 'Celá šířka',
|
|
112
113
|
'fabric.editor.imageBorderBold': 'Tučné',
|
|
113
114
|
'fabric.editor.imageBorderColor': 'Barva',
|
|
114
115
|
'fabric.editor.imageBorderMedium': 'Střední',
|
|
@@ -124,13 +125,14 @@ export default {
|
|
|
124
125
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Pozvat týmového kolegu do produktu {productName}} trusted {Pozvat týmového kolegu do produktu {productName}} other {Přidat týmového kolegu do produktu {productName}}}',
|
|
125
126
|
'fabric.editor.keyboardShortcuts': 'Klávesové zkratky',
|
|
126
127
|
'fabric.editor.leftSidebar': 'Levý postranní panel',
|
|
127
|
-
'fabric.editor.lists': 'Seznamy',
|
|
128
128
|
'fabric.editor.markdown': 'Snížení',
|
|
129
129
|
'fabric.editor.matchCase': 'Rozlišovat malá a velká písmena',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'vstup výšky',
|
|
131
131
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Výška',
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
133
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Maximální šířka {maxWidth} px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Maximální šířka {maxWidth} px',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Převést na pixely',
|
|
135
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Přechod z procentuální velikosti na velikost v pixelech',
|
|
134
136
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Odeslat',
|
|
135
137
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Ověření šířky se nezdařilo',
|
|
136
138
|
'fabric.editor.mediaGroupDeleteLabel': 'Odstranit',
|
|
@@ -143,8 +145,6 @@ export default {
|
|
|
143
145
|
'fabric.editor.note': 'Poznámka',
|
|
144
146
|
'fabric.editor.notePanel': 'Panel poznámek',
|
|
145
147
|
'fabric.editor.notePanel.description': 'Přidat poznámku do barevného panelu',
|
|
146
|
-
'fabric.editor.orderedList': 'Číslovaný seznam',
|
|
147
|
-
'fabric.editor.orderedList.description': 'Vytvořit seřazený seznam',
|
|
148
148
|
'fabric.editor.other': 'Jiné...',
|
|
149
149
|
'fabric.editor.outdent': 'Zmenšit odsazení',
|
|
150
150
|
'fabric.editor.panel.backgroundColor': 'Barva pozadí',
|
|
@@ -186,12 +186,9 @@ export default {
|
|
|
186
186
|
'fabric.editor.typeahead.mentionPopupLabel': 'Uživatelé, které můžete označit',
|
|
187
187
|
'fabric.editor.typeahead.metionListItemLabel': 'Uživatel {name} @{shortName}',
|
|
188
188
|
'fabric.editor.undo': 'Vrátit',
|
|
189
|
-
'fabric.editor.unorderedList': 'Seznam s odrážkami',
|
|
190
|
-
'fabric.editor.unorderedList.description': 'Vytvořit neseřazený seznam',
|
|
191
189
|
'fabric.editor.warning': 'Varování',
|
|
192
190
|
'fabric.editor.warningPanel': 'Panel upozornění',
|
|
193
191
|
'fabric.editor.warningPanel.description': 'Přidat poznámku s varováním do barevného panelu',
|
|
194
192
|
'fabric.editor.wrapLeft': 'Sbalit vpravo',
|
|
195
|
-
'fabric.editor.wrapRight': 'Sbalit vlevo'
|
|
196
|
-
'fabric.emoji.label': 'Smajlík'
|
|
193
|
+
'fabric.editor.wrapRight': 'Sbalit vlevo'
|
|
197
194
|
};
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': 'Brug denne til overskrift på lavt niveau',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Åbn dialogboksen Hjælp',
|
|
110
110
|
'fabric.editor.helpDialogTips': 'Tryk på {keyMap} for at få hurtig adgang til denne dialogboks',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': 'Fuld bredde',
|
|
111
112
|
'fabric.editor.imageBorderBold': 'Fed',
|
|
112
113
|
'fabric.editor.imageBorderColor': 'Farve',
|
|
113
114
|
'fabric.editor.imageBorderMedium': 'Medium',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Inviter teammedlemmer til {productName}} trusted {Inviter teammedlemmer til {productName}} other {Tilføj teammedlem til {productName}}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': 'Tastaturgenveje',
|
|
125
126
|
'fabric.editor.leftSidebar': 'Venstre sidebjælke',
|
|
126
|
-
'fabric.editor.lists': 'Liste',
|
|
127
127
|
'fabric.editor.markdown': 'Markdown',
|
|
128
128
|
'fabric.editor.matchCase': 'Match store/små bogstaver',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'højdeinput',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Højde',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Maks. bredde {maxWidth} px',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Maks. bredde {maxWidth} px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Konverter til pixels',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Overfør fra procentdel til fast pixelstørrelse',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Indsend',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Validering af bredde mislykkedes',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': 'Slet',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': 'Note',
|
|
143
145
|
'fabric.editor.notePanel': 'Bemærkningspanel',
|
|
144
146
|
'fabric.editor.notePanel.description': 'Tilføj en note i et farvet panel',
|
|
145
|
-
'fabric.editor.orderedList': 'Nummereret liste',
|
|
146
|
-
'fabric.editor.orderedList.description': 'Opret en sorteret liste',
|
|
147
147
|
'fabric.editor.other': 'Andre ...',
|
|
148
148
|
'fabric.editor.outdent': 'Ryk ud',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': 'Baggrundsfarve',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': 'Brugere, du kan tagge',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': 'Brugeren {name} @{shortName}',
|
|
187
187
|
'fabric.editor.undo': 'Fortryd',
|
|
188
|
-
'fabric.editor.unorderedList': 'Punktopstilling',
|
|
189
|
-
'fabric.editor.unorderedList.description': 'Opret en ikke-sorteret liste',
|
|
190
188
|
'fabric.editor.warning': 'Advarsel',
|
|
191
189
|
'fabric.editor.warningPanel': 'Advarselspanel',
|
|
192
190
|
'fabric.editor.warningPanel.description': 'Tilføj en advarselsnote i et farvet panel',
|
|
193
191
|
'fabric.editor.wrapLeft': 'Skub til venstre',
|
|
194
|
-
'fabric.editor.wrapRight': 'Skub til højre'
|
|
195
|
-
'fabric.emoji.label': 'Emoji'
|
|
192
|
+
'fabric.editor.wrapRight': 'Skub til højre'
|
|
196
193
|
};
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': 'Verwenden Sie dies für Überschriften niedrigerer Ebene.',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Hilfe öffnen',
|
|
110
110
|
'fabric.editor.helpDialogTips': 'Drücken Sie {keyMap}, um diesen Dialog jederzeit schnell zu öffnen',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': 'Volle Breite',
|
|
111
112
|
'fabric.editor.imageBorderBold': 'Breit',
|
|
112
113
|
'fabric.editor.imageBorderColor': 'Farbe',
|
|
113
114
|
'fabric.editor.imageBorderMedium': 'Mittel',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Teammitglied zu {productName} einladen} trusted {Teammitglied zu {productName} einladen} other {Teammitglied zu {productName} hinzufügen}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': 'Tastenkombinationen',
|
|
125
126
|
'fabric.editor.leftSidebar': 'Linke Seitenleiste',
|
|
126
|
-
'fabric.editor.lists': 'Listen',
|
|
127
127
|
'fabric.editor.markdown': 'Markdown',
|
|
128
128
|
'fabric.editor.matchCase': 'Groß-/Kleinschreibung beachten',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'Eingabe der Höhe',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Höhe',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Breite',
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Maximale Breite: {maxWidth} px',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Maximale Breite: {maxWidth} px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'In Pixel umwandeln',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Von prozentualer zu fester Pixelgröße migrieren',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Senden',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Überprüfung der Breite fehlgeschlagen',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': 'Löschen',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': 'Hinweis',
|
|
143
145
|
'fabric.editor.notePanel': 'Hinweis-Panel',
|
|
144
146
|
'fabric.editor.notePanel.description': 'Hinweis in einem farbigen Panel einfügen',
|
|
145
|
-
'fabric.editor.orderedList': 'Nummerierte Liste',
|
|
146
|
-
'fabric.editor.orderedList.description': 'Sortierte Liste erstellen',
|
|
147
147
|
'fabric.editor.other': 'Sonstige …',
|
|
148
148
|
'fabric.editor.outdent': 'Einzug verkleinern',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': 'Hintergrundfarbe',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': 'Benutzer, die Sie kennzeichnen können',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': 'Benutzer {name} @{shortName}',
|
|
187
187
|
'fabric.editor.undo': 'Rückgängig',
|
|
188
|
-
'fabric.editor.unorderedList': 'Aufzählung',
|
|
189
|
-
'fabric.editor.unorderedList.description': 'Unsortierte Liste erstellen',
|
|
190
188
|
'fabric.editor.warning': 'Warnung',
|
|
191
189
|
'fabric.editor.warningPanel': 'Warn-Panel',
|
|
192
190
|
'fabric.editor.warningPanel.description': 'Hinweis zur Vorsicht in einem farbigen Panel einfügen',
|
|
193
191
|
'fabric.editor.wrapLeft': 'Links umwickeln',
|
|
194
|
-
'fabric.editor.wrapRight': 'Rechts umwickeln'
|
|
195
|
-
'fabric.emoji.label': 'Emoji'
|
|
192
|
+
'fabric.editor.wrapRight': 'Rechts umwickeln'
|
|
196
193
|
};
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -111,6 +111,7 @@ export default {
|
|
|
111
111
|
'fabric.editor.heading6Description': 'Use this for low level headings',
|
|
112
112
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog',
|
|
113
113
|
'fabric.editor.helpDialogTips': 'Press {keyMap} to quickly open this dialog at any time',
|
|
114
|
+
'fabric.editor.image.fullWidthLabel': 'Full-width',
|
|
114
115
|
'fabric.editor.imageBorderBold': 'Bold',
|
|
115
116
|
'fabric.editor.imageBorderColor': 'Color',
|
|
116
117
|
'fabric.editor.imageBorderMedium': 'Medium',
|
|
@@ -126,13 +127,14 @@ export default {
|
|
|
126
127
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invite} trusted {Invite} other {Add}} teammate to {productName}',
|
|
127
128
|
'fabric.editor.keyboardShortcuts': 'Keyboard shortcuts',
|
|
128
129
|
'fabric.editor.leftSidebar': 'Left sidebar',
|
|
129
|
-
'fabric.editor.lists': 'Lists',
|
|
130
130
|
'fabric.editor.markdown': 'Markdown',
|
|
131
131
|
'fabric.editor.matchCase': 'Match case',
|
|
132
132
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'height input',
|
|
133
133
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Height',
|
|
134
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'width
|
|
135
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
134
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Max width {maxWidth}px',
|
|
135
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Max width {maxWidth}px',
|
|
136
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Convert to pixels',
|
|
137
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Migrate from percentage to fixed pixel sizing',
|
|
136
138
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Submit',
|
|
137
139
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Validation for width failed',
|
|
138
140
|
'fabric.editor.mediaGroupDeleteLabel': 'delete',
|
|
@@ -145,8 +147,6 @@ export default {
|
|
|
145
147
|
'fabric.editor.note': 'Note',
|
|
146
148
|
'fabric.editor.notePanel': 'Note panel',
|
|
147
149
|
'fabric.editor.notePanel.description': 'Add a note in a colored panel',
|
|
148
|
-
'fabric.editor.orderedList': 'Numbered list',
|
|
149
|
-
'fabric.editor.orderedList.description': 'Create an ordered list',
|
|
150
150
|
'fabric.editor.other': 'Others...',
|
|
151
151
|
'fabric.editor.outdent': 'Outdent',
|
|
152
152
|
'fabric.editor.panel.backgroundColor': 'Background color',
|
|
@@ -188,12 +188,9 @@ export default {
|
|
|
188
188
|
'fabric.editor.typeahead.mentionPopupLabel': 'Users you can tag',
|
|
189
189
|
'fabric.editor.typeahead.metionListItemLabel': 'User {name} @{shortName}',
|
|
190
190
|
'fabric.editor.undo': 'Undo',
|
|
191
|
-
'fabric.editor.unorderedList': 'Bullet list',
|
|
192
|
-
'fabric.editor.unorderedList.description': 'Create an unordered list',
|
|
193
191
|
'fabric.editor.warning': 'Warning',
|
|
194
192
|
'fabric.editor.warningPanel': 'Warning panel',
|
|
195
193
|
'fabric.editor.warningPanel.description': 'Add a note of caution in a colored panel',
|
|
196
194
|
'fabric.editor.wrapLeft': 'Wrap left',
|
|
197
|
-
'fabric.editor.wrapRight': 'Wrap right'
|
|
198
|
-
'fabric.emoji.label': 'Emoji'
|
|
195
|
+
'fabric.editor.wrapRight': 'Wrap right'
|
|
199
196
|
};
|
|
@@ -111,6 +111,7 @@ export default {
|
|
|
111
111
|
'fabric.editor.heading6Description': 'Use this for low level headings',
|
|
112
112
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog',
|
|
113
113
|
'fabric.editor.helpDialogTips': 'Press {keyMap} to quickly open this dialog at any time',
|
|
114
|
+
'fabric.editor.image.fullWidthLabel': 'Full-width',
|
|
114
115
|
'fabric.editor.imageBorderBold': 'Bold',
|
|
115
116
|
'fabric.editor.imageBorderColor': 'Colour',
|
|
116
117
|
'fabric.editor.imageBorderMedium': 'Medium',
|
|
@@ -126,13 +127,14 @@ export default {
|
|
|
126
127
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invite} trusted {Invite} other {Add}} teammate to {productName}',
|
|
127
128
|
'fabric.editor.keyboardShortcuts': 'Keyboard shortcuts',
|
|
128
129
|
'fabric.editor.leftSidebar': 'Left sidebar',
|
|
129
|
-
'fabric.editor.lists': 'Lists',
|
|
130
130
|
'fabric.editor.markdown': 'Markdown',
|
|
131
131
|
'fabric.editor.matchCase': 'Match case',
|
|
132
132
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'height input',
|
|
133
133
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Height',
|
|
134
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'width
|
|
135
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
134
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Max width {maxWidth}px',
|
|
135
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Max width {maxWidth}px',
|
|
136
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Convert to pixels',
|
|
137
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Migrate from percentage to fixed pixel sizing',
|
|
136
138
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Submit',
|
|
137
139
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Validation for width failed',
|
|
138
140
|
'fabric.editor.mediaGroupDeleteLabel': 'delete',
|
|
@@ -145,8 +147,6 @@ export default {
|
|
|
145
147
|
'fabric.editor.note': 'Note',
|
|
146
148
|
'fabric.editor.notePanel': 'Note panel',
|
|
147
149
|
'fabric.editor.notePanel.description': 'Add a note in a coloured panel',
|
|
148
|
-
'fabric.editor.orderedList': 'Numbered list',
|
|
149
|
-
'fabric.editor.orderedList.description': 'Create an ordered list',
|
|
150
150
|
'fabric.editor.other': 'Others...',
|
|
151
151
|
'fabric.editor.outdent': 'Outdent',
|
|
152
152
|
'fabric.editor.panel.backgroundColor': 'Background colour',
|
|
@@ -188,12 +188,9 @@ export default {
|
|
|
188
188
|
'fabric.editor.typeahead.mentionPopupLabel': 'Users you can tag',
|
|
189
189
|
'fabric.editor.typeahead.metionListItemLabel': 'User {name} @{shortName}',
|
|
190
190
|
'fabric.editor.undo': 'Undo',
|
|
191
|
-
'fabric.editor.unorderedList': 'Bullet list',
|
|
192
|
-
'fabric.editor.unorderedList.description': 'Create an unordered list',
|
|
193
191
|
'fabric.editor.warning': 'Warning',
|
|
194
192
|
'fabric.editor.warningPanel': 'Warning panel',
|
|
195
193
|
'fabric.editor.warningPanel.description': 'Add a note of caution in a coloured panel',
|
|
196
194
|
'fabric.editor.wrapLeft': 'Wrap left',
|
|
197
|
-
'fabric.editor.wrapRight': 'Wrap right'
|
|
198
|
-
'fabric.emoji.label': 'Emoji'
|
|
195
|
+
'fabric.editor.wrapRight': 'Wrap right'
|
|
199
196
|
};
|
|
@@ -111,6 +111,7 @@ export default {
|
|
|
111
111
|
'fabric.editor.heading6Description': 'Use this for low level headings',
|
|
112
112
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog',
|
|
113
113
|
'fabric.editor.helpDialogTips': 'Press {keyMap} to quickly open this dialog at any time',
|
|
114
|
+
'fabric.editor.image.fullWidthLabel': 'Full-width',
|
|
114
115
|
'fabric.editor.imageBorderBold': 'Bold',
|
|
115
116
|
'fabric.editor.imageBorderColor': 'Color',
|
|
116
117
|
'fabric.editor.imageBorderMedium': 'Medium',
|
|
@@ -126,13 +127,14 @@ export default {
|
|
|
126
127
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invite teammate to {productName}} trusted {Invite teammate to {productName}} other {Add teammate to {productName}}}',
|
|
127
128
|
'fabric.editor.keyboardShortcuts': 'Keyboard shortcuts',
|
|
128
129
|
'fabric.editor.leftSidebar': 'Left sidebar',
|
|
129
|
-
'fabric.editor.lists': 'Lists',
|
|
130
130
|
'fabric.editor.markdown': 'Markdown',
|
|
131
131
|
'fabric.editor.matchCase': 'Match case',
|
|
132
132
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'height input',
|
|
133
133
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Height',
|
|
134
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'width
|
|
135
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
134
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Max width {maxWidth}px',
|
|
135
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Max width {maxWidth}px',
|
|
136
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Convert to pixels',
|
|
137
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Migrate from percentage to fixed pixel sizing',
|
|
136
138
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Submit',
|
|
137
139
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Validation for width failed',
|
|
138
140
|
'fabric.editor.mediaGroupDeleteLabel': 'delete',
|
|
@@ -145,8 +147,6 @@ export default {
|
|
|
145
147
|
'fabric.editor.note': 'Note',
|
|
146
148
|
'fabric.editor.notePanel': 'Note panel',
|
|
147
149
|
'fabric.editor.notePanel.description': 'Add a note in a colored panel',
|
|
148
|
-
'fabric.editor.orderedList': 'Numbered list',
|
|
149
|
-
'fabric.editor.orderedList.description': 'Create an ordered list',
|
|
150
150
|
'fabric.editor.other': 'Others...',
|
|
151
151
|
'fabric.editor.outdent': 'Outdent',
|
|
152
152
|
'fabric.editor.panel.backgroundColor': 'Background color',
|
|
@@ -188,12 +188,9 @@ export default {
|
|
|
188
188
|
'fabric.editor.typeahead.mentionPopupLabel': 'Users you can tag',
|
|
189
189
|
'fabric.editor.typeahead.metionListItemLabel': 'User {name} @{shortName}',
|
|
190
190
|
'fabric.editor.undo': 'Undo',
|
|
191
|
-
'fabric.editor.unorderedList': 'Bullet list',
|
|
192
|
-
'fabric.editor.unorderedList.description': 'Create an unordered list',
|
|
193
191
|
'fabric.editor.warning': 'Warning',
|
|
194
192
|
'fabric.editor.warningPanel': 'Warning panel',
|
|
195
193
|
'fabric.editor.warningPanel.description': 'Add a note of caution in a colored panel',
|
|
196
194
|
'fabric.editor.wrapLeft': 'Wrap left',
|
|
197
|
-
'fabric.editor.wrapRight': 'Wrap right'
|
|
198
|
-
'fabric.emoji.label': 'Emoji'
|
|
195
|
+
'fabric.editor.wrapRight': 'Wrap right'
|
|
199
196
|
};
|