@atlaskit/editor-common 87.9.1 → 87.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/cjs/element-browser/components/ElementList/EmptyState.js +2 -11
- package/dist/cjs/i18n/cs.js +6 -0
- package/dist/cjs/i18n/da.js +6 -0
- package/dist/cjs/i18n/de.js +6 -0
- package/dist/cjs/i18n/en.js +7 -0
- package/dist/cjs/i18n/en_GB.js +7 -0
- package/dist/cjs/i18n/en_ZZ.js +7 -0
- package/dist/cjs/i18n/es.js +13 -0
- package/dist/cjs/i18n/fi.js +6 -0
- package/dist/cjs/i18n/fr.js +6 -0
- package/dist/cjs/i18n/hu.js +6 -0
- package/dist/cjs/i18n/it.js +6 -0
- package/dist/cjs/i18n/ja.js +6 -0
- package/dist/cjs/i18n/ko.js +6 -0
- package/dist/cjs/i18n/nb.js +6 -0
- package/dist/cjs/i18n/nl.js +6 -0
- package/dist/cjs/i18n/pl.js +6 -0
- package/dist/cjs/i18n/pt_BR.js +6 -0
- package/dist/cjs/i18n/ru.js +6 -0
- package/dist/cjs/i18n/sv.js +6 -0
- package/dist/cjs/i18n/th.js +6 -0
- package/dist/cjs/i18n/tr.js +6 -0
- package/dist/cjs/i18n/uk.js +13 -0
- package/dist/cjs/i18n/vi.js +6 -0
- package/dist/cjs/i18n/zh.js +6 -0
- package/dist/cjs/i18n/zh_TW.js +13 -0
- package/dist/cjs/lazy-node-view/index.js +3 -10
- package/dist/cjs/lazy-node-view/node-view.js +5 -4
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +5 -13
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/WidthProvider/index.js +53 -23
- package/dist/es2019/element-browser/components/ElementList/EmptyState.js +2 -11
- package/dist/es2019/i18n/cs.js +6 -0
- package/dist/es2019/i18n/da.js +6 -0
- package/dist/es2019/i18n/de.js +6 -0
- package/dist/es2019/i18n/en.js +7 -0
- package/dist/es2019/i18n/en_GB.js +7 -0
- package/dist/es2019/i18n/en_ZZ.js +7 -0
- package/dist/es2019/i18n/es.js +13 -0
- package/dist/es2019/i18n/fi.js +6 -0
- package/dist/es2019/i18n/fr.js +6 -0
- package/dist/es2019/i18n/hu.js +6 -0
- package/dist/es2019/i18n/it.js +6 -0
- package/dist/es2019/i18n/ja.js +6 -0
- package/dist/es2019/i18n/ko.js +6 -0
- package/dist/es2019/i18n/nb.js +6 -0
- package/dist/es2019/i18n/nl.js +6 -0
- package/dist/es2019/i18n/pl.js +6 -0
- package/dist/es2019/i18n/pt_BR.js +6 -0
- package/dist/es2019/i18n/ru.js +6 -0
- package/dist/es2019/i18n/sv.js +6 -0
- package/dist/es2019/i18n/th.js +6 -0
- package/dist/es2019/i18n/tr.js +6 -0
- package/dist/es2019/i18n/uk.js +13 -0
- package/dist/es2019/i18n/vi.js +6 -0
- package/dist/es2019/i18n/zh.js +6 -0
- package/dist/es2019/i18n/zh_TW.js +13 -0
- package/dist/es2019/lazy-node-view/index.js +3 -10
- package/dist/es2019/lazy-node-view/node-view.js +6 -4
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +5 -13
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/WidthProvider/index.js +47 -21
- package/dist/esm/element-browser/components/ElementList/EmptyState.js +2 -11
- package/dist/esm/i18n/cs.js +6 -0
- package/dist/esm/i18n/da.js +6 -0
- package/dist/esm/i18n/de.js +6 -0
- package/dist/esm/i18n/en.js +7 -0
- package/dist/esm/i18n/en_GB.js +7 -0
- package/dist/esm/i18n/en_ZZ.js +7 -0
- package/dist/esm/i18n/es.js +13 -0
- package/dist/esm/i18n/fi.js +6 -0
- package/dist/esm/i18n/fr.js +6 -0
- package/dist/esm/i18n/hu.js +6 -0
- package/dist/esm/i18n/it.js +6 -0
- package/dist/esm/i18n/ja.js +6 -0
- package/dist/esm/i18n/ko.js +6 -0
- package/dist/esm/i18n/nb.js +6 -0
- package/dist/esm/i18n/nl.js +6 -0
- package/dist/esm/i18n/pl.js +6 -0
- package/dist/esm/i18n/pt_BR.js +6 -0
- package/dist/esm/i18n/ru.js +6 -0
- package/dist/esm/i18n/sv.js +6 -0
- package/dist/esm/i18n/th.js +6 -0
- package/dist/esm/i18n/tr.js +6 -0
- package/dist/esm/i18n/uk.js +13 -0
- package/dist/esm/i18n/vi.js +6 -0
- package/dist/esm/i18n/zh.js +6 -0
- package/dist/esm/i18n/zh_TW.js +13 -0
- package/dist/esm/lazy-node-view/index.js +3 -10
- package/dist/esm/lazy-node-view/node-view.js +5 -4
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +5 -13
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/WidthProvider/index.js +53 -24
- package/dist/types/i18n/cs.d.ts +6 -0
- package/dist/types/i18n/da.d.ts +6 -0
- package/dist/types/i18n/de.d.ts +6 -0
- package/dist/types/i18n/en.d.ts +7 -0
- package/dist/types/i18n/en_GB.d.ts +7 -0
- package/dist/types/i18n/en_ZZ.d.ts +7 -0
- package/dist/types/i18n/es.d.ts +13 -0
- package/dist/types/i18n/fi.d.ts +6 -0
- package/dist/types/i18n/fr.d.ts +6 -0
- package/dist/types/i18n/hu.d.ts +6 -0
- package/dist/types/i18n/it.d.ts +6 -0
- package/dist/types/i18n/ja.d.ts +6 -0
- package/dist/types/i18n/ko.d.ts +6 -0
- package/dist/types/i18n/nb.d.ts +6 -0
- package/dist/types/i18n/nl.d.ts +6 -0
- package/dist/types/i18n/pl.d.ts +6 -0
- package/dist/types/i18n/pt_BR.d.ts +6 -0
- package/dist/types/i18n/ru.d.ts +6 -0
- package/dist/types/i18n/sv.d.ts +6 -0
- package/dist/types/i18n/th.d.ts +6 -0
- package/dist/types/i18n/tr.d.ts +6 -0
- package/dist/types/i18n/uk.d.ts +13 -0
- package/dist/types/i18n/vi.d.ts +6 -0
- package/dist/types/i18n/zh.d.ts +6 -0
- package/dist/types/i18n/zh_TW.d.ts +13 -0
- package/dist/types/lazy-node-view/index.d.ts +2 -5
- package/dist/types/lazy-node-view/node-view.d.ts +6 -6
- package/dist/types/lazy-node-view/types.d.ts +0 -7
- package/dist/types/ui/WidthProvider/index.d.ts +13 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +6 -0
- package/dist/types-ts4.5/i18n/da.d.ts +6 -0
- package/dist/types-ts4.5/i18n/de.d.ts +6 -0
- package/dist/types-ts4.5/i18n/en.d.ts +7 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +7 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +7 -0
- package/dist/types-ts4.5/i18n/es.d.ts +13 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +6 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +6 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +6 -0
- package/dist/types-ts4.5/i18n/it.d.ts +6 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +6 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +6 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +6 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +6 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +6 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +6 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +6 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +6 -0
- package/dist/types-ts4.5/i18n/th.d.ts +6 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +6 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +13 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +6 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +6 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +13 -0
- package/dist/types-ts4.5/lazy-node-view/index.d.ts +2 -5
- package/dist/types-ts4.5/lazy-node-view/node-view.d.ts +6 -6
- package/dist/types-ts4.5/lazy-node-view/types.d.ts +0 -7
- package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +13 -0
- package/package.json +11 -11
package/dist/cjs/i18n/ru.js
CHANGED
|
@@ -44,6 +44,8 @@ var _default = exports.default = {
|
|
|
44
44
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Перетаскивайте, чтобы переместить',
|
|
45
45
|
'fabric.editor.blockControlMoveDown': 'Переместить блок вниз',
|
|
46
46
|
'fabric.editor.blockControlMoveUp': 'Переместить блок вверх',
|
|
47
|
+
'fabric.editor.blockControlMovedDown': 'Контент перемещен вниз',
|
|
48
|
+
'fabric.editor.blockControlMovedUp': 'Контент перемещен вверх',
|
|
47
49
|
'fabric.editor.blockDescription': 'Отображение дополнительной информации о ссылке, включая краткое описание и действия',
|
|
48
50
|
'fabric.editor.blockTitle': 'Карточка',
|
|
49
51
|
'fabric.editor.blockquote': 'цитата',
|
|
@@ -272,6 +274,8 @@ var _default = exports.default = {
|
|
|
272
274
|
'fabric.editor.inputQueryAssistiveTxt': 'Если доступны результаты автозаполнения, используйте клавиши со стрелками вверх и вниз для просмотра и клавишу Enter для выбора. Если у вас сенсорное устройство, используйте для просмотра касание и смахивание.',
|
|
273
275
|
'fabric.editor.insertColumn': 'Вставить столбец справа',
|
|
274
276
|
'fabric.editor.insertColumnDrag': 'Вставить столбец',
|
|
277
|
+
'fabric.editor.insertMediaFromUrl': 'Изображение по ссылке',
|
|
278
|
+
'fabric.editor.insertMediaFromUrlDescription': 'Добавить изображение или видео по ссылке',
|
|
275
279
|
'fabric.editor.insertMenu': 'Вставить элементы',
|
|
276
280
|
'fabric.editor.insertRow': 'Вставить строку ниже',
|
|
277
281
|
'fabric.editor.insertRowDrag': 'Вставить строку',
|
|
@@ -343,6 +347,7 @@ var _default = exports.default = {
|
|
|
343
347
|
'fabric.editor.other': 'Прочее…',
|
|
344
348
|
'fabric.editor.outdent': 'Убрать отступ',
|
|
345
349
|
'fabric.editor.pageActionsLabel': 'Действия со страницей',
|
|
350
|
+
'fabric.editor.panel': 'Панель',
|
|
346
351
|
'fabric.editor.panel.backgroundColor': 'Цвет фона',
|
|
347
352
|
'fabric.editor.panel.emoji': 'Добавить эмодзи',
|
|
348
353
|
'fabric.editor.panel.panelsGroup': 'Типы панелей',
|
|
@@ -451,6 +456,7 @@ var _default = exports.default = {
|
|
|
451
456
|
'fabric.editor.tooltip.defaultBlockNode': 'узел блоков',
|
|
452
457
|
'fabric.editor.tooltip.nestedExpand': 'узел развертывания вложенных элементов',
|
|
453
458
|
'fabric.editor.tooltip.taskList': 'действие',
|
|
459
|
+
'fabric.editor.turnInto': 'Превратить в',
|
|
454
460
|
'fabric.editor.twoColumns': 'Макет в два столбца',
|
|
455
461
|
'fabric.editor.typeAhead.popupLabel': 'Результаты автозаполнения',
|
|
456
462
|
'fabric.editor.typeAhead.quickInsertInputLabel': 'Начните вводить текст для поиска или фильтрации сочетаний клавиш',
|
package/dist/cjs/i18n/sv.js
CHANGED
|
@@ -44,6 +44,8 @@ var _default = exports.default = {
|
|
|
44
44
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Dra för att flytta',
|
|
45
45
|
'fabric.editor.blockControlMoveDown': 'Flytta ner',
|
|
46
46
|
'fabric.editor.blockControlMoveUp': 'Flytta upp',
|
|
47
|
+
'fabric.editor.blockControlMovedDown': 'Innehållet har flyttats ner',
|
|
48
|
+
'fabric.editor.blockControlMovedUp': 'Innehållet har flyttats upp',
|
|
47
49
|
'fabric.editor.blockDescription': 'Visa mer information om en länk, inklusive en sammanfattning och åtgärder',
|
|
48
50
|
'fabric.editor.blockTitle': 'Kort',
|
|
49
51
|
'fabric.editor.blockquote': 'ett citattecken',
|
|
@@ -272,6 +274,8 @@ var _default = exports.default = {
|
|
|
272
274
|
'fabric.editor.inputQueryAssistiveTxt': 'När autokompletteringsresultat är tillgängliga använder du upp- och nedpilarna för att granska och Enter för att välja. Användare med pekskärm kan utforska genom att röra vid skärmen eller svepa på den.',
|
|
273
275
|
'fabric.editor.insertColumn': 'Infoga kolumn till höger',
|
|
274
276
|
'fabric.editor.insertColumnDrag': 'Infoga kolumn',
|
|
277
|
+
'fabric.editor.insertMediaFromUrl': 'Bild från länk',
|
|
278
|
+
'fabric.editor.insertMediaFromUrlDescription': 'Lägg till en bild eller video från en länk',
|
|
275
279
|
'fabric.editor.insertMenu': 'Infoga element',
|
|
276
280
|
'fabric.editor.insertRow': 'Infoga rad nedanför',
|
|
277
281
|
'fabric.editor.insertRowDrag': 'Infoga rad',
|
|
@@ -343,6 +347,7 @@ var _default = exports.default = {
|
|
|
343
347
|
'fabric.editor.other': 'Annat ...',
|
|
344
348
|
'fabric.editor.outdent': 'Utdrag',
|
|
345
349
|
'fabric.editor.pageActionsLabel': 'Sidåtgärder',
|
|
350
|
+
'fabric.editor.panel': 'Panel',
|
|
346
351
|
'fabric.editor.panel.backgroundColor': 'Bakgrundsfärg',
|
|
347
352
|
'fabric.editor.panel.emoji': 'Lägg till emoji',
|
|
348
353
|
'fabric.editor.panel.panelsGroup': 'Paneltyper',
|
|
@@ -451,6 +456,7 @@ var _default = exports.default = {
|
|
|
451
456
|
'fabric.editor.tooltip.defaultBlockNode': 'en blockeringsslutpunkt',
|
|
452
457
|
'fabric.editor.tooltip.nestedExpand': 'en staplad expanderingsslutpunkt',
|
|
453
458
|
'fabric.editor.tooltip.taskList': 'ett åtgärdsobjekt',
|
|
459
|
+
'fabric.editor.turnInto': 'Omvandla till',
|
|
454
460
|
'fabric.editor.twoColumns': 'Layout med två kolumner',
|
|
455
461
|
'fabric.editor.typeAhead.popupLabel': 'Autoförslagsresultat',
|
|
456
462
|
'fabric.editor.typeAhead.quickInsertInputLabel': 'Börja skriva för att söka eller filtrera genvägsalternativ',
|
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -44,6 +44,8 @@ var _default = exports.default = {
|
|
|
44
44
|
'fabric.editor.blockControlDragHandleUsageInfo': 'ลากเพื่อย้าย',
|
|
45
45
|
'fabric.editor.blockControlMoveDown': 'เลื่อนลง',
|
|
46
46
|
'fabric.editor.blockControlMoveUp': 'เลื่อนขึ้น',
|
|
47
|
+
'fabric.editor.blockControlMovedDown': 'มีการย้ายเนื้อหาลงแล้ว',
|
|
48
|
+
'fabric.editor.blockControlMovedUp': 'มีการย้ายเนื้อหาขึ้นแล้ว',
|
|
47
49
|
'fabric.editor.blockDescription': 'แสดงข้อมูลเพิ่มเติมเกี่ยวกับลิงก์ รวมถึงข้อมูลสรุปและการดำเนินการ',
|
|
48
50
|
'fabric.editor.blockTitle': 'การ์ด',
|
|
49
51
|
'fabric.editor.blockquote': 'ข้อความอ้างอิง',
|
|
@@ -272,6 +274,8 @@ var _default = exports.default = {
|
|
|
272
274
|
'fabric.editor.inputQueryAssistiveTxt': 'เมื่อผลการป้อนอัตโนมัติพร้อมใช้งานแล้ว ให้ใช้ลูกศรขึ้นและลงเพื่อตรวจสอบและกด Enter เพื่อเลือก ผู้ใช้อุปกรณ์สัมผัส สำรวจโดยการแตะหรือการปัดนิ้ว',
|
|
273
275
|
'fabric.editor.insertColumn': 'แทรกคอลัมน์ทางด้านขวา',
|
|
274
276
|
'fabric.editor.insertColumnDrag': 'แทรกคอลัมน์',
|
|
277
|
+
'fabric.editor.insertMediaFromUrl': 'รูปภาพจากลิงก์',
|
|
278
|
+
'fabric.editor.insertMediaFromUrlDescription': 'เพิ่มรูปภาพหรือวิดีโอจากลิงก์',
|
|
275
279
|
'fabric.editor.insertMenu': 'แทรกองค์ประกอบ',
|
|
276
280
|
'fabric.editor.insertRow': 'แทรกแถวด้านล่าง',
|
|
277
281
|
'fabric.editor.insertRowDrag': 'แทรกแถว',
|
|
@@ -343,6 +347,7 @@ var _default = exports.default = {
|
|
|
343
347
|
'fabric.editor.other': 'อื่น ๆ...',
|
|
344
348
|
'fabric.editor.outdent': 'ย่อหน้าออก',
|
|
345
349
|
'fabric.editor.pageActionsLabel': 'การดำเนินการของหน้าข้อมูล',
|
|
350
|
+
'fabric.editor.panel': 'แผง',
|
|
346
351
|
'fabric.editor.panel.backgroundColor': 'สีพื้นหลัง',
|
|
347
352
|
'fabric.editor.panel.emoji': 'เพิ่มเอโมจิ',
|
|
348
353
|
'fabric.editor.panel.panelsGroup': 'ประเภทแผง',
|
|
@@ -451,6 +456,7 @@ var _default = exports.default = {
|
|
|
451
456
|
'fabric.editor.tooltip.defaultBlockNode': 'โหนดบล็อก',
|
|
452
457
|
'fabric.editor.tooltip.nestedExpand': 'การขยายที่ซ้อนกัน',
|
|
453
458
|
'fabric.editor.tooltip.taskList': 'รายการดำเนินการ',
|
|
459
|
+
'fabric.editor.turnInto': 'เปลี่ยนเป็น',
|
|
454
460
|
'fabric.editor.twoColumns': 'เค้าโครงสองคอลัมน์',
|
|
455
461
|
'fabric.editor.typeAhead.popupLabel': 'ผลลัพธ์ในการพิมพ์ล่วงหน้า',
|
|
456
462
|
'fabric.editor.typeAhead.quickInsertInputLabel': 'เริ่มพิมพ์เพื่อค้นหาหรือกรองตัวเลือกทางลัด',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -44,6 +44,8 @@ var _default = exports.default = {
|
|
|
44
44
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Taşımak için sürükleyin',
|
|
45
45
|
'fabric.editor.blockControlMoveDown': 'Aşağı taşı',
|
|
46
46
|
'fabric.editor.blockControlMoveUp': 'Yukarı taşı',
|
|
47
|
+
'fabric.editor.blockControlMovedDown': 'İçerik aşağıya taşındı',
|
|
48
|
+
'fabric.editor.blockControlMovedUp': 'İçerik yukarıya taşındı',
|
|
47
49
|
'fabric.editor.blockDescription': 'Bağlantı hakkında özet ve işlemler de dahil olmak üzere daha fazla bilgi gösterir',
|
|
48
50
|
'fabric.editor.blockTitle': 'Kart',
|
|
49
51
|
'fabric.editor.blockquote': 'alıntı',
|
|
@@ -272,6 +274,8 @@ var _default = exports.default = {
|
|
|
272
274
|
'fabric.editor.inputQueryAssistiveTxt': 'Otomatik tamamlama sonuçları kullanılabilir olduğunda incelemek için yukarı ve aşağı ok tuşlarına, seçmek için Enter tuşuna basın. Dokunmatik cihaz kullanıcısıysanız dokunun veya kaydırma hareketlerini kullanın.',
|
|
273
275
|
'fabric.editor.insertColumn': 'Sağa sütun ekle',
|
|
274
276
|
'fabric.editor.insertColumnDrag': 'Sütun ekle',
|
|
277
|
+
'fabric.editor.insertMediaFromUrl': 'Bağlantıdaki görüntü',
|
|
278
|
+
'fabric.editor.insertMediaFromUrlDescription': 'Bağlantıdan görsel veya video ekleyin',
|
|
275
279
|
'fabric.editor.insertMenu': 'Öğe ekleyin',
|
|
276
280
|
'fabric.editor.insertRow': 'Aşağıya satır ekle',
|
|
277
281
|
'fabric.editor.insertRowDrag': 'Satır ekle',
|
|
@@ -343,6 +347,7 @@ var _default = exports.default = {
|
|
|
343
347
|
'fabric.editor.other': 'Diğerleri...',
|
|
344
348
|
'fabric.editor.outdent': 'Girintiyi azalt',
|
|
345
349
|
'fabric.editor.pageActionsLabel': 'Sayfa işlemleri',
|
|
350
|
+
'fabric.editor.panel': 'Panel',
|
|
346
351
|
'fabric.editor.panel.backgroundColor': 'Arkaplan rengi',
|
|
347
352
|
'fabric.editor.panel.emoji': 'Emoji ekle',
|
|
348
353
|
'fabric.editor.panel.panelsGroup': 'Panel Türleri',
|
|
@@ -451,6 +456,7 @@ var _default = exports.default = {
|
|
|
451
456
|
'fabric.editor.tooltip.defaultBlockNode': 'blok düğümü',
|
|
452
457
|
'fabric.editor.tooltip.nestedExpand': 'iç içe geçmiş genişletme',
|
|
453
458
|
'fabric.editor.tooltip.taskList': 'eylem öğesi',
|
|
459
|
+
'fabric.editor.turnInto': 'Şuna dönüştür:',
|
|
454
460
|
'fabric.editor.twoColumns': 'İki sütunlu yerleşim',
|
|
455
461
|
'fabric.editor.typeAhead.popupLabel': 'Otomatik tamamlama sonuçları',
|
|
456
462
|
'fabric.editor.typeAhead.quickInsertInputLabel': 'Kısayol seçeneklerini aramak ya da filtrelemek için yazmaya başlayın',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -44,6 +44,8 @@ var _default = exports.default = {
|
|
|
44
44
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Перетягніть, щоб змінити порядок',
|
|
45
45
|
'fabric.editor.blockControlMoveDown': 'Перемістити вниз',
|
|
46
46
|
'fabric.editor.blockControlMoveUp': 'Перемістити вверх',
|
|
47
|
+
'fabric.editor.blockControlMovedDown': 'Вміст було переміщено вниз',
|
|
48
|
+
'fabric.editor.blockControlMovedUp': 'Вміст було переміщено вгору',
|
|
47
49
|
'fabric.editor.blockDescription': 'Показати більше інформації про посилання, у тому числі зведені дані й дії',
|
|
48
50
|
'fabric.editor.blockTitle': 'Картка',
|
|
49
51
|
'fabric.editor.blockquote': 'цитата',
|
|
@@ -272,6 +274,8 @@ var _default = exports.default = {
|
|
|
272
274
|
'fabric.editor.inputQueryAssistiveTxt': 'Коли результати автозаповнення стануть доступними, перейдіть до потрібного за допомогою стрілок вгору і вниз і натисніть клавішу Enter. Користувачі сенсорних пристроїв можуть переглядати варіанти за допомогою дотиків і проведення пальцем.',
|
|
273
275
|
'fabric.editor.insertColumn': 'Вставити стовпець справа',
|
|
274
276
|
'fabric.editor.insertColumnDrag': 'Вставити стовпець',
|
|
277
|
+
'fabric.editor.insertMediaFromUrl': 'Зображення за посиланням',
|
|
278
|
+
'fabric.editor.insertMediaFromUrlDescription': 'Додайте зображення або відео за посиланням',
|
|
275
279
|
'fabric.editor.insertMenu': 'Вставка елементів',
|
|
276
280
|
'fabric.editor.insertRow': 'Вставити рядок знизу',
|
|
277
281
|
'fabric.editor.insertRowDrag': 'Вставити рядок',
|
|
@@ -298,6 +302,13 @@ var _default = exports.default = {
|
|
|
298
302
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, one {Ширину мультимедіа зменшено до {newMediaWidth,number} пікселя.} few {Ширину мультимедіа зменшено до {newMediaWidth,number} пікселів.} many {Ширину мультимедіа зменшено до {newMediaWidth,number} пікселів.} other {Ширину мультимедіа зменшено до {newMediaWidth,number} пікселів.}}',
|
|
299
303
|
'fabric.editor.media.DefaultMediaWidthIncreased': '{newMediaWidth, plural, one {Ширину мультимедіа збільшено до {newMediaWidth,number} пікселя.} few {Ширину мультимедіа збільшено до {newMediaWidth,number} пікселів.} many {Ширину мультимедіа збільшено до {newMediaWidth,number} пікселів.} other {Ширину мультимедіа збільшено до {newMediaWidth,number} пікселів.}}',
|
|
300
304
|
'fabric.editor.media.MediaWidthIsMin': 'Об’єкт зменшено до мінімального розміру',
|
|
305
|
+
'fabric.editor.media.insert.cancel': 'Скасувати',
|
|
306
|
+
'fabric.editor.media.insert.errorMessage': 'На жаль, ми не можемо додати це посилання на зображення. Завантажте зображення, а потім перетягніть на сторінку.',
|
|
307
|
+
'fabric.editor.media.insert.insert': 'Вставити',
|
|
308
|
+
'fabric.editor.media.insert.loadPreview': 'Завантажити попередню версію',
|
|
309
|
+
'fabric.editor.media.insert.mediaAlt': 'Попередня версія переданого зображення або відеофайлу',
|
|
310
|
+
'fabric.editor.media.insert.pasteLinkToUpload': 'Вставте посилання для передавання',
|
|
311
|
+
'fabric.editor.media.insert.warning': 'Це зображення може не відображатися для інших через обмеження щодо його джерела. Спробуйте натомість передати файл.',
|
|
301
312
|
'fabric.editor.media.pixelEntry.MediaWidthIsMax': 'Об’єкт збільшено до максимального розміру',
|
|
302
313
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'введення значення висоти',
|
|
303
314
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Висота',
|
|
@@ -343,6 +354,7 @@ var _default = exports.default = {
|
|
|
343
354
|
'fabric.editor.other': 'Інше…',
|
|
344
355
|
'fabric.editor.outdent': 'Зменшити відступ',
|
|
345
356
|
'fabric.editor.pageActionsLabel': 'Дії на сторінці',
|
|
357
|
+
'fabric.editor.panel': 'Панель',
|
|
346
358
|
'fabric.editor.panel.backgroundColor': 'Колір фону',
|
|
347
359
|
'fabric.editor.panel.emoji': 'Додати емодзі',
|
|
348
360
|
'fabric.editor.panel.panelsGroup': 'Типи панелей',
|
|
@@ -451,6 +463,7 @@ var _default = exports.default = {
|
|
|
451
463
|
'fabric.editor.tooltip.defaultBlockNode': 'вузол блокування',
|
|
452
464
|
'fabric.editor.tooltip.nestedExpand': 'вкладена розгортка',
|
|
453
465
|
'fabric.editor.tooltip.taskList': 'задача',
|
|
466
|
+
'fabric.editor.turnInto': 'Перетворити',
|
|
454
467
|
'fabric.editor.twoColumns': 'Макет із двома стовпцями',
|
|
455
468
|
'fabric.editor.typeAhead.popupLabel': 'Прогнозування результатів',
|
|
456
469
|
'fabric.editor.typeAhead.quickInsertInputLabel': 'Почніть вводити текст, щоб знайти або відфільтрувати варіанти гарячих клавіш',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -44,6 +44,8 @@ var _default = exports.default = {
|
|
|
44
44
|
'fabric.editor.blockControlDragHandleUsageInfo': 'Kéo để di chuyển',
|
|
45
45
|
'fabric.editor.blockControlMoveDown': 'Di chuyển xuống',
|
|
46
46
|
'fabric.editor.blockControlMoveUp': 'Di chuyển lên',
|
|
47
|
+
'fabric.editor.blockControlMovedDown': 'Nội dung đã được chuyển xuống',
|
|
48
|
+
'fabric.editor.blockControlMovedUp': 'Nội dung đã được chuyển lên',
|
|
47
49
|
'fabric.editor.blockDescription': 'Hiển thị thêm thông tin về liên kết, bao gồm bản tóm tắt và các thao tác',
|
|
48
50
|
'fabric.editor.blockTitle': 'Thẻ',
|
|
49
51
|
'fabric.editor.blockquote': 'một dấu ngoặc kép',
|
|
@@ -272,6 +274,8 @@ var _default = exports.default = {
|
|
|
272
274
|
'fabric.editor.inputQueryAssistiveTxt': 'Khi có sẵn kết quả tự hoàn tất, hãy dùng các mũi tên lên và xuống để xem lại và enter để chọn. Người dùng thiết bị cảm ứng, khám phá bằng thao tác chạm hoặc bằng các cử chỉ vuốt.',
|
|
273
275
|
'fabric.editor.insertColumn': 'Chèn cột vào bên phải',
|
|
274
276
|
'fabric.editor.insertColumnDrag': 'Chèn cột',
|
|
277
|
+
'fabric.editor.insertMediaFromUrl': 'Hình ảnh từ liên kết',
|
|
278
|
+
'fabric.editor.insertMediaFromUrlDescription': 'Thêm hình ảnh hoặc video từ một liên kết',
|
|
275
279
|
'fabric.editor.insertMenu': 'Chèn thành phần',
|
|
276
280
|
'fabric.editor.insertRow': 'Chèn hàng ở bên dưới',
|
|
277
281
|
'fabric.editor.insertRowDrag': 'Chèn hàng',
|
|
@@ -343,6 +347,7 @@ var _default = exports.default = {
|
|
|
343
347
|
'fabric.editor.other': 'Khác...',
|
|
344
348
|
'fabric.editor.outdent': 'Nhô lề',
|
|
345
349
|
'fabric.editor.pageActionsLabel': 'Thao tác trang',
|
|
350
|
+
'fabric.editor.panel': 'Bảng điều khiển',
|
|
346
351
|
'fabric.editor.panel.backgroundColor': 'Màu nền',
|
|
347
352
|
'fabric.editor.panel.emoji': 'Thêm biểu tượng cảm xúc',
|
|
348
353
|
'fabric.editor.panel.panelsGroup': 'Các loại bảng điều khiển',
|
|
@@ -451,6 +456,7 @@ var _default = exports.default = {
|
|
|
451
456
|
'fabric.editor.tooltip.defaultBlockNode': 'một nút khối',
|
|
452
457
|
'fabric.editor.tooltip.nestedExpand': 'nút mở rộng lồng nhau',
|
|
453
458
|
'fabric.editor.tooltip.taskList': 'một mục thao tác',
|
|
459
|
+
'fabric.editor.turnInto': 'Chuyển thành',
|
|
454
460
|
'fabric.editor.twoColumns': 'Bố cục hai cột',
|
|
455
461
|
'fabric.editor.typeAhead.popupLabel': 'Kết quả tự động điền',
|
|
456
462
|
'fabric.editor.typeAhead.quickInsertInputLabel': 'Bắt đầu nhập để tìm kiếm hoặc lọc các tùy chọn lối tắt',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -44,6 +44,8 @@ var _default = exports.default = {
|
|
|
44
44
|
'fabric.editor.blockControlDragHandleUsageInfo': '拖动以移动',
|
|
45
45
|
'fabric.editor.blockControlMoveDown': '下移',
|
|
46
46
|
'fabric.editor.blockControlMoveUp': '上移',
|
|
47
|
+
'fabric.editor.blockControlMovedDown': '内容已下移',
|
|
48
|
+
'fabric.editor.blockControlMovedUp': '内容已上移',
|
|
47
49
|
'fabric.editor.blockDescription': '显示有关链接的更多信息,包括摘要和操作',
|
|
48
50
|
'fabric.editor.blockTitle': '卡片',
|
|
49
51
|
'fabric.editor.blockquote': '引用',
|
|
@@ -272,6 +274,8 @@ var _default = exports.default = {
|
|
|
272
274
|
'fabric.editor.inputQueryAssistiveTxt': '有可用的自动完成结果时,可以使用向上和向下箭头键进行查看,并按 Enter 键进行选择。触摸设备用户,并通过触摸或滑动手势进行浏览。',
|
|
273
275
|
'fabric.editor.insertColumn': '在右侧插入列',
|
|
274
276
|
'fabric.editor.insertColumnDrag': '插入列',
|
|
277
|
+
'fabric.editor.insertMediaFromUrl': '来自链接的图像',
|
|
278
|
+
'fabric.editor.insertMediaFromUrlDescription': '添加来自链接的图像或视频',
|
|
275
279
|
'fabric.editor.insertMenu': '插入元素',
|
|
276
280
|
'fabric.editor.insertRow': '在下方插入行',
|
|
277
281
|
'fabric.editor.insertRowDrag': '插入行',
|
|
@@ -343,6 +347,7 @@ var _default = exports.default = {
|
|
|
343
347
|
'fabric.editor.other': '其他...',
|
|
344
348
|
'fabric.editor.outdent': '减小缩进',
|
|
345
349
|
'fabric.editor.pageActionsLabel': '页面操作',
|
|
350
|
+
'fabric.editor.panel': '面板',
|
|
346
351
|
'fabric.editor.panel.backgroundColor': '背景颜色',
|
|
347
352
|
'fabric.editor.panel.emoji': '添加表情',
|
|
348
353
|
'fabric.editor.panel.panelsGroup': '面板类型',
|
|
@@ -451,6 +456,7 @@ var _default = exports.default = {
|
|
|
451
456
|
'fabric.editor.tooltip.defaultBlockNode': '块节点',
|
|
452
457
|
'fabric.editor.tooltip.nestedExpand': '嵌套扩展',
|
|
453
458
|
'fabric.editor.tooltip.taskList': '操作项',
|
|
459
|
+
'fabric.editor.turnInto': '转变为',
|
|
454
460
|
'fabric.editor.twoColumns': '两列布局',
|
|
455
461
|
'fabric.editor.typeAhead.popupLabel': '输入提示结果',
|
|
456
462
|
'fabric.editor.typeAhead.quickInsertInputLabel': '开始输入以搜索或筛选快捷方式选项',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -44,6 +44,8 @@ var _default = exports.default = {
|
|
|
44
44
|
'fabric.editor.blockControlDragHandleUsageInfo': '拖曳即可移動',
|
|
45
45
|
'fabric.editor.blockControlMoveDown': '向下移動',
|
|
46
46
|
'fabric.editor.blockControlMoveUp': '向上移動',
|
|
47
|
+
'fabric.editor.blockControlMovedDown': '內容已向下移動',
|
|
48
|
+
'fabric.editor.blockControlMovedUp': '內容已向上移動',
|
|
47
49
|
'fabric.editor.blockDescription': '顯示有關連結的更多資訊,包括摘要和動作',
|
|
48
50
|
'fabric.editor.blockTitle': '卡片',
|
|
49
51
|
'fabric.editor.blockquote': '引述',
|
|
@@ -272,6 +274,8 @@ var _default = exports.default = {
|
|
|
272
274
|
'fabric.editor.inputQueryAssistiveTxt': '自動完成結果可用時,請使用向上和向下箭頭查看,並輸入以進行選取。若您使用觸控螢幕裝置,請透過觸控或滑動手勢探索內容。',
|
|
273
275
|
'fabric.editor.insertColumn': '在右側插入直欄',
|
|
274
276
|
'fabric.editor.insertColumnDrag': '插入直欄',
|
|
277
|
+
'fabric.editor.insertMediaFromUrl': '圖片來源連結',
|
|
278
|
+
'fabric.editor.insertMediaFromUrlDescription': '透過連結新增圖片或影片',
|
|
275
279
|
'fabric.editor.insertMenu': '插入元素',
|
|
276
280
|
'fabric.editor.insertRow': '在下方插入列',
|
|
277
281
|
'fabric.editor.insertRowDrag': '插入列',
|
|
@@ -298,6 +302,13 @@ var _default = exports.default = {
|
|
|
298
302
|
'fabric.editor.media.DefaultMediaWidthDecreased': '{newMediaWidth, plural, other {媒體寬度已降低至 {newMediaWidth,number} 像素。}}',
|
|
299
303
|
'fabric.editor.media.DefaultMediaWidthIncreased': '{newMediaWidth, plural, other {媒體寬度已提升至 {newMediaWidth,number} 像素。}}',
|
|
300
304
|
'fabric.editor.media.MediaWidthIsMin': '媒體已縮減至最小',
|
|
305
|
+
'fabric.editor.media.insert.cancel': '取消',
|
|
306
|
+
'fabric.editor.media.insert.errorMessage': '很抱歉,我們無法新增此圖片連結。請下載圖片,然後拖放到頁面上。',
|
|
307
|
+
'fabric.editor.media.insert.insert': '插入',
|
|
308
|
+
'fabric.editor.media.insert.loadPreview': '載入預覽',
|
|
309
|
+
'fabric.editor.media.insert.mediaAlt': '上傳的圖片或影片檔案預覽',
|
|
310
|
+
'fabric.editor.media.insert.pasteLinkToUpload': '貼上連結以上傳',
|
|
311
|
+
'fabric.editor.media.insert.warning': '由於來源限制,其他人可能無法看到此圖片。您可以考慮改為上傳檔案。',
|
|
301
312
|
'fabric.editor.media.pixelEntry.MediaWidthIsMax': '媒體已增加至最大',
|
|
302
313
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': '高度輸入',
|
|
303
314
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': '高度',
|
|
@@ -343,6 +354,7 @@ var _default = exports.default = {
|
|
|
343
354
|
'fabric.editor.other': '其他...',
|
|
344
355
|
'fabric.editor.outdent': '減少縮排',
|
|
345
356
|
'fabric.editor.pageActionsLabel': '頁面動作',
|
|
357
|
+
'fabric.editor.panel': '面板',
|
|
346
358
|
'fabric.editor.panel.backgroundColor': '背景顏色',
|
|
347
359
|
'fabric.editor.panel.emoji': '新增表情符號',
|
|
348
360
|
'fabric.editor.panel.panelsGroup': '面板類型',
|
|
@@ -451,6 +463,7 @@ var _default = exports.default = {
|
|
|
451
463
|
'fabric.editor.tooltip.defaultBlockNode': '區塊節點',
|
|
452
464
|
'fabric.editor.tooltip.nestedExpand': '巢狀擴充',
|
|
453
465
|
'fabric.editor.tooltip.taskList': '動作項目',
|
|
466
|
+
'fabric.editor.turnInto': '轉變成',
|
|
454
467
|
'fabric.editor.twoColumns': '兩欄版面配置',
|
|
455
468
|
'fabric.editor.typeAhead.popupLabel': '自動提示結果',
|
|
456
469
|
'fabric.editor.typeAhead.quickInsertInputLabel': '開始輸入以搜尋或篩選快速鍵選項',
|
|
@@ -76,10 +76,7 @@ var withLazyLoading = exports.withLazyLoading = function withLazyLoading(_ref) {
|
|
|
76
76
|
var nodeName = _ref.nodeName,
|
|
77
77
|
loader = _ref.loader,
|
|
78
78
|
getNodeViewOptions = _ref.getNodeViewOptions,
|
|
79
|
-
dispatchAnalyticsEvent = _ref.dispatchAnalyticsEvent
|
|
80
|
-
_ref$lazyNodeViewOpti = _ref.lazyNodeViewOptions,
|
|
81
|
-
_ref$lazyNodeViewOpti2 = _ref$lazyNodeViewOpti === void 0 ? {} : _ref$lazyNodeViewOpti,
|
|
82
|
-
ignoreMutationDelegate = _ref$lazyNodeViewOpti2.ignoreMutationDelegate;
|
|
79
|
+
dispatchAnalyticsEvent = _ref.dispatchAnalyticsEvent;
|
|
83
80
|
var createLazyNodeView = function createLazyNodeView(node, view, getPos, decorations) {
|
|
84
81
|
var _node$type;
|
|
85
82
|
var requestedNodes = requestedNodesPerEditorView.get(view);
|
|
@@ -88,9 +85,7 @@ var withLazyLoading = exports.withLazyLoading = function withLazyLoading(_ref) {
|
|
|
88
85
|
}
|
|
89
86
|
var wasAlreadyRequested = requestedNodes.has(nodeName);
|
|
90
87
|
if (wasAlreadyRequested) {
|
|
91
|
-
return new _nodeView.LazyNodeView(node, view, getPos
|
|
92
|
-
ignoreMutationDelegate: ignoreMutationDelegate
|
|
93
|
-
});
|
|
88
|
+
return new _nodeView.LazyNodeView(node, view, getPos);
|
|
94
89
|
}
|
|
95
90
|
requestedNodes.add(nodeName);
|
|
96
91
|
loader().then(function (nodeViewFuncModule) {
|
|
@@ -114,9 +109,7 @@ var withLazyLoading = exports.withLazyLoading = function withLazyLoading(_ref) {
|
|
|
114
109
|
// },
|
|
115
110
|
// });
|
|
116
111
|
}
|
|
117
|
-
return new _nodeView.LazyNodeView(node, view, getPos
|
|
118
|
-
ignoreMutationDelegate: ignoreMutationDelegate
|
|
119
|
-
});
|
|
112
|
+
return new _nodeView.LazyNodeView(node, view, getPos);
|
|
120
113
|
};
|
|
121
114
|
return createLazyNodeView;
|
|
122
115
|
};
|
|
@@ -16,9 +16,8 @@ var _model = require("@atlaskit/editor-prosemirror/model");
|
|
|
16
16
|
var LazyNodeView = exports.LazyNodeView = /*#__PURE__*/function () {
|
|
17
17
|
function LazyNodeView(node, view, getPos) {
|
|
18
18
|
var _node$type;
|
|
19
|
-
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
20
19
|
(0, _classCallCheck2.default)(this, LazyNodeView);
|
|
21
|
-
this.
|
|
20
|
+
this.node = node;
|
|
22
21
|
if (typeof ((_node$type = node.type) === null || _node$type === void 0 || (_node$type = _node$type.spec) === null || _node$type === void 0 ? void 0 : _node$type.toDOM) !== 'function') {
|
|
23
22
|
this.dom = document.createElement('div');
|
|
24
23
|
return;
|
|
@@ -39,8 +38,10 @@ var LazyNodeView = exports.LazyNodeView = /*#__PURE__*/function () {
|
|
|
39
38
|
(0, _createClass2.default)(LazyNodeView, [{
|
|
40
39
|
key: "ignoreMutation",
|
|
41
40
|
value: function ignoreMutation(mutation) {
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
if (this.node.type.isTextblock) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
return true;
|
|
44
45
|
}
|
|
45
46
|
}]);
|
|
46
47
|
return LazyNodeView;
|
|
@@ -26,10 +26,8 @@ var _adfSchema = require("@atlaskit/adf-schema");
|
|
|
26
26
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
27
27
|
var _ = _interopRequireDefault(require("@atlaskit/icon-object/glyph/page/16"));
|
|
28
28
|
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/cross-circle"));
|
|
29
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
30
29
|
var _primitives = require("@atlaskit/primitives");
|
|
31
30
|
var _colors = require("@atlaskit/theme/colors");
|
|
32
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
33
31
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
34
32
|
var _analytics = require("../../../analytics");
|
|
35
33
|
var _ui = require("../../../ui");
|
|
@@ -77,17 +75,11 @@ var containerPadding = (0, _react2.css)({
|
|
|
77
75
|
var textLabelMargin = (0, _react2.css)({
|
|
78
76
|
marginTop: "var(--ds-space-150, 12px)"
|
|
79
77
|
});
|
|
80
|
-
var inputLabelFontToken = (0, _react2.css)({
|
|
81
|
-
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
82
|
-
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
83
|
-
});
|
|
84
|
-
var inputLabelFont = (0, _react2.css)({
|
|
85
|
-
fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
|
|
86
|
-
fontWeight: 500
|
|
87
|
-
});
|
|
88
78
|
var inputLabel = (0, _react2.css)({
|
|
89
79
|
color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
|
|
90
|
-
paddingBottom: "var(--ds-space-050, 4px)"
|
|
80
|
+
paddingBottom: "var(--ds-space-050, 4px)",
|
|
81
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
82
|
+
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
91
83
|
});
|
|
92
84
|
var inputWrapperPosition = (0, _react2.css)({
|
|
93
85
|
position: 'relative'
|
|
@@ -861,7 +853,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
861
853
|
ref: this.wrapperRef
|
|
862
854
|
}, (0, _react2.jsx)("label", {
|
|
863
855
|
htmlFor: linkSearchInputId,
|
|
864
|
-
css:
|
|
856
|
+
css: inputLabel
|
|
865
857
|
}, formatMessage(messages.linkVisibleLabel)), (0, _react2.jsx)("div", {
|
|
866
858
|
css: [_ToolbarComponents.inputWrapper, inputWrapperPosition]
|
|
867
859
|
}, screenReaderText && (0, _react2.jsx)(_ui.Announcer, {
|
|
@@ -905,7 +897,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
905
897
|
primaryColor: "var(--ds-icon-subtle, #626F86)"
|
|
906
898
|
}))))), (0, _react2.jsx)("label", {
|
|
907
899
|
htmlFor: displayTextInputId,
|
|
908
|
-
css: [inputLabel, textLabelMargin
|
|
900
|
+
css: [inputLabel, textLabelMargin]
|
|
909
901
|
}, formatMessage(messages.textVisibleLabel)), (0, _react2.jsx)("div", {
|
|
910
902
|
css: [_ToolbarComponents.inputWrapper, inputWrapperPosition]
|
|
911
903
|
}, (0, _react2.jsx)(_ui.PanelTextInput, {
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
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; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "87.
|
|
20
|
+
var packageVersion = "87.10.1";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "87.
|
|
26
|
+
var packageVersion = "87.10.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -7,12 +7,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.WidthProvider = exports.WidthContext = exports.WidthConsumer = void 0;
|
|
9
9
|
exports.createWidthContext = createWidthContext;
|
|
10
|
+
exports.getBodyWidth = void 0;
|
|
10
11
|
exports.getBreakpoint = getBreakpoint;
|
|
11
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
14
|
var _react2 = require("@emotion/react");
|
|
14
15
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
15
16
|
var _rafSchd = _interopRequireDefault(require("raf-schd"));
|
|
17
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
18
|
var _widthDetector = require("@atlaskit/width-detector");
|
|
17
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
20
|
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; }
|
|
@@ -61,7 +63,7 @@ var Provider = WidthContext.Provider,
|
|
|
61
63
|
*
|
|
62
64
|
* @returns {number} The width of the document body or 0 if the document is undefined.
|
|
63
65
|
*/
|
|
64
|
-
var getBodyWidth = (0, _memoizeOne.default)(function () {
|
|
66
|
+
var getBodyWidth = exports.getBodyWidth = (0, _memoizeOne.default)(function () {
|
|
65
67
|
var _document$body$offset, _document$body;
|
|
66
68
|
return typeof document !== 'undefined' ? (_document$body$offset = (_document$body = document.body) === null || _document$body === void 0 ? void 0 : _document$body.offsetWidth) !== null && _document$body$offset !== void 0 ? _document$body$offset : 0 : 0;
|
|
67
69
|
});
|
|
@@ -69,17 +71,23 @@ var WidthProvider = exports.WidthProvider = function WidthProvider(_ref) {
|
|
|
69
71
|
var className = _ref.className,
|
|
70
72
|
shouldCheckExistingValue = _ref.shouldCheckExistingValue,
|
|
71
73
|
children = _ref.children;
|
|
72
|
-
var
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
var
|
|
74
|
+
var shouldFixTableResizing = Boolean((0, _platformFeatureFlags.fg)('platform-fix-table-ssr-resizing'));
|
|
75
|
+
var containerRef = (0, _react.useRef)(null);
|
|
76
|
+
var existingContextValue = (0, _react.useContext)(WidthContext);
|
|
77
|
+
var _useState = (0, _react.useState)(false),
|
|
78
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
79
|
+
isInitialWidthUpdated = _useState2[0],
|
|
80
|
+
setIsInitialWidthUpdated = _useState2[1];
|
|
81
|
+
var _useState3 = (0, _react.useState)(getBodyWidth),
|
|
82
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
83
|
+
width = _useState4[0],
|
|
84
|
+
setWidth = _useState4[1];
|
|
85
|
+
var widthRef = (0, _react.useRef)(width);
|
|
86
|
+
var isMountedRef = (0, _react.useRef)(true);
|
|
87
|
+
var providerValue = (0, _react.useMemo)(function () {
|
|
80
88
|
return createWidthContext(width);
|
|
81
89
|
}, [width]);
|
|
82
|
-
var updateWidth = _react.
|
|
90
|
+
var updateWidth = (0, _react.useMemo)(function () {
|
|
83
91
|
return (0, _rafSchd.default)(function (nextWidth) {
|
|
84
92
|
var currentWidth = widthRef.current || 0;
|
|
85
93
|
// Ignore changes that are less than SCROLLBAR_WIDTH, otherwise it can cause infinite re-scaling
|
|
@@ -95,22 +103,44 @@ var WidthProvider = exports.WidthProvider = function WidthProvider(_ref) {
|
|
|
95
103
|
});
|
|
96
104
|
}, []);
|
|
97
105
|
var skipWidthDetection = shouldCheckExistingValue && existingContextValue.width > 0;
|
|
98
|
-
_react.
|
|
106
|
+
(0, _react.useLayoutEffect)(function () {
|
|
99
107
|
isMountedRef.current = true;
|
|
108
|
+
if (shouldFixTableResizing && !isInitialWidthUpdated) {
|
|
109
|
+
// useLayoutEffect is not run in SSR mode
|
|
110
|
+
// The visibility change for SSR is done in packages/editor/renderer/src/ui/Renderer/breakout-ssr.tsx
|
|
111
|
+
setIsInitialWidthUpdated(true);
|
|
112
|
+
if (containerRef.current) {
|
|
113
|
+
setWidth(containerRef.current.offsetWidth);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
100
116
|
return function () {
|
|
101
117
|
isMountedRef.current = false;
|
|
102
118
|
};
|
|
103
|
-
}, []);
|
|
104
|
-
return (
|
|
119
|
+
}, [isInitialWidthUpdated, shouldFixTableResizing, width]);
|
|
120
|
+
return (0, _react2.jsx)("div", {
|
|
121
|
+
css: styles
|
|
105
122
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
123
|
+
,
|
|
124
|
+
className: className,
|
|
125
|
+
ref: containerRef
|
|
126
|
+
// Using style not css prop because we need to also reset these style in SSR
|
|
127
|
+
// It is done in packages/editor/renderer/src/ui/Renderer/breakout-ssr.tsx
|
|
128
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Intended
|
|
129
|
+
,
|
|
130
|
+
style: shouldFixTableResizing && !isInitialWidthUpdated ? {
|
|
131
|
+
// Width is initialized with body width but in Confluence this is too wide as side nav takes some space.
|
|
132
|
+
// Putting the div into hidden until we can get the correct width.
|
|
133
|
+
// Only setting the visibility so children still takes space which will make scrollbar to correct appear.
|
|
134
|
+
// Scrollbar has width too it needs to be taken into account otherwise table is going to shrink after appeared.
|
|
135
|
+
visibility: 'hidden',
|
|
136
|
+
// Because the body width is too wide, the horizontal scrollbar gonna shown
|
|
137
|
+
// Temporary hide it until we get the correct width
|
|
138
|
+
overflowX: 'hidden'
|
|
139
|
+
} : {}
|
|
140
|
+
}, !skipWidthDetection && (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_widthDetector.WidthObserver, {
|
|
141
|
+
setWidth: updateWidth,
|
|
142
|
+
offscreen: true
|
|
143
|
+
}), (0, _react2.jsx)(Provider, {
|
|
144
|
+
value: providerValue
|
|
145
|
+
}, children)), skipWidthDetection && children);
|
|
116
146
|
};
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
8
8
|
import { LinkButton } from '@atlaskit/button/new';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
11
10
|
import NotFoundIllustration from './NotFoundIllustration';
|
|
12
11
|
export default function EmptyState({
|
|
@@ -16,7 +15,7 @@ export default function EmptyState({
|
|
|
16
15
|
css: emptyStateWrapper,
|
|
17
16
|
"data-testid": "empty-state-wrapper"
|
|
18
17
|
}, jsx(NotFoundIllustration, null), jsx("div", {
|
|
19
|
-
css:
|
|
18
|
+
css: emptyStateHeading
|
|
20
19
|
}, jsx(FormattedMessage, {
|
|
21
20
|
id: "fabric.editor.elementbrowser.search.empty-state.heading",
|
|
22
21
|
defaultMessage: "Nothing matches your search",
|
|
@@ -40,16 +39,8 @@ export default function EmptyState({
|
|
|
40
39
|
description: "Empty state sub-heading external link"
|
|
41
40
|
})))));
|
|
42
41
|
}
|
|
43
|
-
const emptyStateHeadingFontToken = css({
|
|
44
|
-
font: "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
45
|
-
});
|
|
46
|
-
const emptyStateHeadingFont = css({
|
|
47
|
-
fontSize: '1.42857em',
|
|
48
|
-
lineHeight: 1.2,
|
|
49
|
-
fontWeight: 500,
|
|
50
|
-
letterSpacing: '-0.008em'
|
|
51
|
-
});
|
|
52
42
|
const emptyStateHeading = css({
|
|
43
|
+
font: "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
53
44
|
color: "var(--ds-text, rgb(23, 43, 77))",
|
|
54
45
|
marginTop: "var(--ds-space-300, 24px)"
|
|
55
46
|
});
|
package/dist/es2019/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.blockControlMoveDown': 'Posunout dolů',
|
|
40
40
|
'fabric.editor.blockControlMoveUp': 'Posunout nahoru',
|
|
41
|
+
'fabric.editor.blockControlMovedDown': 'Obsah byl posunut dolů.',
|
|
42
|
+
'fabric.editor.blockControlMovedUp': 'Obsah byl posunut nahoru.',
|
|
41
43
|
'fabric.editor.blockDescription': 'Zobrazit další informace o odkazu, včetně souhrnu a akcí',
|
|
42
44
|
'fabric.editor.blockTitle': 'Karta',
|
|
43
45
|
'fabric.editor.blockquote': 'citace',
|
|
@@ -266,6 +268,8 @@ export default {
|
|
|
266
268
|
'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.',
|
|
267
269
|
'fabric.editor.insertColumn': 'Vložit sloupec napravo',
|
|
268
270
|
'fabric.editor.insertColumnDrag': 'Vložit sloupec',
|
|
271
|
+
'fabric.editor.insertMediaFromUrl': 'Obrázek z odkazu',
|
|
272
|
+
'fabric.editor.insertMediaFromUrlDescription': 'Přidejte obrázek nebo video z odkazu.',
|
|
269
273
|
'fabric.editor.insertMenu': 'Vložit prvky',
|
|
270
274
|
'fabric.editor.insertRow': 'Vložit řádek pod',
|
|
271
275
|
'fabric.editor.insertRowDrag': 'Vložit řádek',
|
|
@@ -337,6 +341,7 @@ export default {
|
|
|
337
341
|
'fabric.editor.other': 'Jiné…',
|
|
338
342
|
'fabric.editor.outdent': 'Zmenšit odsazení',
|
|
339
343
|
'fabric.editor.pageActionsLabel': 'Akce stránky',
|
|
344
|
+
'fabric.editor.panel': 'Panel',
|
|
340
345
|
'fabric.editor.panel.backgroundColor': 'Barva pozadí',
|
|
341
346
|
'fabric.editor.panel.emoji': 'Přidat emoji',
|
|
342
347
|
'fabric.editor.panel.panelsGroup': 'Typy panelů',
|
|
@@ -445,6 +450,7 @@ export default {
|
|
|
445
450
|
'fabric.editor.tooltip.defaultBlockNode': 'uzel bloku',
|
|
446
451
|
'fabric.editor.tooltip.nestedExpand': 'vnořený rozbalovací uzel',
|
|
447
452
|
'fabric.editor.tooltip.taskList': 'položka akce',
|
|
453
|
+
'fabric.editor.turnInto': 'Proměnit na',
|
|
448
454
|
'fabric.editor.twoColumns': 'Rozvržení dvou sloupců',
|
|
449
455
|
'fabric.editor.typeAhead.popupLabel': 'Výsledky našeptávače',
|
|
450
456
|
'fabric.editor.typeAhead.quickInsertInputLabel': 'Když začnete psát, budou se vyhledávat/filtrovat možnosti zkratek.',
|