@atlaskit/editor-common 106.5.0 → 106.5.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 +21 -0
- package/dist/cjs/extensibility/ExtensionNodeWrapper.js +7 -38
- package/dist/cjs/extensibility/extensionNodeView.js +3 -4
- package/dist/cjs/hooks/sharedPluginStateHookMigratorFactory.js +2 -2
- package/dist/cjs/hooks/usePluginStateEffect.js +3 -3
- package/dist/cjs/i18n/cs.js +4 -0
- package/dist/cjs/i18n/da.js +4 -0
- package/dist/cjs/i18n/de.js +4 -0
- package/dist/cjs/i18n/en.js +13 -0
- package/dist/cjs/i18n/en_GB.js +13 -0
- package/dist/cjs/i18n/en_ZZ.js +9 -0
- package/dist/cjs/i18n/es.js +4 -0
- package/dist/cjs/i18n/fi.js +6 -2
- package/dist/cjs/i18n/fr.js +4 -0
- package/dist/cjs/i18n/hr.js +2 -0
- package/dist/cjs/i18n/hu.js +5 -0
- package/dist/cjs/i18n/it.js +10 -6
- package/dist/cjs/i18n/ja.js +6 -2
- package/dist/cjs/i18n/ko.js +5 -1
- package/dist/cjs/i18n/nb.js +4 -0
- package/dist/cjs/i18n/nl.js +5 -1
- package/dist/cjs/i18n/pl.js +5 -1
- package/dist/cjs/i18n/pt_BR.js +4 -0
- package/dist/cjs/i18n/ru.js +7 -3
- package/dist/cjs/i18n/sk.js +107 -10
- package/dist/cjs/i18n/sl.js +18 -0
- package/dist/cjs/i18n/sr.js +894 -0
- package/dist/cjs/i18n/sv.js +4 -0
- package/dist/cjs/i18n/th.js +5 -1
- package/dist/cjs/i18n/tr.js +4 -0
- package/dist/cjs/i18n/uk.js +5 -1
- package/dist/cjs/i18n/vi.js +4 -0
- package/dist/cjs/i18n/zh.js +7 -3
- package/dist/cjs/i18n/zh_TW.js +4 -0
- package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +3 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Toolbar/ExpandIcon.js +3 -2
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +10 -8
- package/dist/cjs/ui-menu/Dropdown/index.js +3 -0
- package/dist/cjs/utils/imageLoader.js +1 -5
- package/dist/es2019/extensibility/ExtensionNodeWrapper.js +7 -36
- package/dist/es2019/extensibility/extensionNodeView.js +3 -4
- package/dist/es2019/hooks/sharedPluginStateHookMigratorFactory.js +2 -2
- package/dist/es2019/hooks/usePluginStateEffect.js +3 -3
- package/dist/es2019/i18n/cs.js +4 -0
- package/dist/es2019/i18n/da.js +4 -0
- package/dist/es2019/i18n/de.js +4 -0
- package/dist/es2019/i18n/en.js +13 -0
- package/dist/es2019/i18n/en_GB.js +13 -0
- package/dist/es2019/i18n/en_ZZ.js +9 -0
- package/dist/es2019/i18n/es.js +4 -0
- package/dist/es2019/i18n/fi.js +6 -2
- package/dist/es2019/i18n/fr.js +4 -0
- package/dist/es2019/i18n/hr.js +2 -0
- package/dist/es2019/i18n/hu.js +5 -0
- package/dist/es2019/i18n/it.js +10 -6
- package/dist/es2019/i18n/ja.js +6 -2
- package/dist/es2019/i18n/ko.js +5 -1
- package/dist/es2019/i18n/nb.js +4 -0
- package/dist/es2019/i18n/nl.js +5 -1
- package/dist/es2019/i18n/pl.js +5 -1
- package/dist/es2019/i18n/pt_BR.js +4 -0
- package/dist/es2019/i18n/ru.js +7 -3
- package/dist/es2019/i18n/sk.js +107 -10
- package/dist/es2019/i18n/sl.js +12 -0
- package/dist/es2019/i18n/sr.js +888 -0
- package/dist/es2019/i18n/sv.js +4 -0
- package/dist/es2019/i18n/th.js +5 -1
- package/dist/es2019/i18n/tr.js +4 -0
- package/dist/es2019/i18n/uk.js +5 -1
- package/dist/es2019/i18n/vi.js +4 -0
- package/dist/es2019/i18n/zh.js +7 -3
- package/dist/es2019/i18n/zh_TW.js +4 -0
- package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +3 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Toolbar/ExpandIcon.js +3 -2
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +5 -3
- package/dist/es2019/ui-menu/Dropdown/index.js +3 -0
- package/dist/es2019/utils/imageLoader.js +1 -5
- package/dist/esm/extensibility/ExtensionNodeWrapper.js +7 -38
- package/dist/esm/extensibility/extensionNodeView.js +3 -4
- package/dist/esm/hooks/sharedPluginStateHookMigratorFactory.js +2 -2
- package/dist/esm/hooks/usePluginStateEffect.js +3 -3
- package/dist/esm/i18n/cs.js +4 -0
- package/dist/esm/i18n/da.js +4 -0
- package/dist/esm/i18n/de.js +4 -0
- package/dist/esm/i18n/en.js +13 -0
- package/dist/esm/i18n/en_GB.js +13 -0
- package/dist/esm/i18n/en_ZZ.js +9 -0
- package/dist/esm/i18n/es.js +4 -0
- package/dist/esm/i18n/fi.js +6 -2
- package/dist/esm/i18n/fr.js +4 -0
- package/dist/esm/i18n/hr.js +2 -0
- package/dist/esm/i18n/hu.js +5 -0
- package/dist/esm/i18n/it.js +10 -6
- package/dist/esm/i18n/ja.js +6 -2
- package/dist/esm/i18n/ko.js +5 -1
- package/dist/esm/i18n/nb.js +4 -0
- package/dist/esm/i18n/nl.js +5 -1
- package/dist/esm/i18n/pl.js +5 -1
- package/dist/esm/i18n/pt_BR.js +4 -0
- package/dist/esm/i18n/ru.js +7 -3
- package/dist/esm/i18n/sk.js +107 -10
- package/dist/esm/i18n/sl.js +12 -0
- package/dist/esm/i18n/sr.js +888 -0
- package/dist/esm/i18n/sv.js +4 -0
- package/dist/esm/i18n/th.js +5 -1
- package/dist/esm/i18n/tr.js +4 -0
- package/dist/esm/i18n/uk.js +5 -1
- package/dist/esm/i18n/vi.js +4 -0
- package/dist/esm/i18n/zh.js +7 -3
- package/dist/esm/i18n/zh_TW.js +4 -0
- package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +3 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Toolbar/ExpandIcon.js +3 -2
- package/dist/esm/ui-menu/ColorPickerButton/index.js +5 -3
- package/dist/esm/ui-menu/Dropdown/index.js +3 -0
- package/dist/esm/utils/imageLoader.js +1 -5
- package/dist/types/analytics/index.d.ts +1 -1
- package/dist/types/analytics/types/breakout-events.d.ts +1 -2
- package/dist/types/extensibility/ExtensionNodeWrapper.d.ts +2 -4
- package/dist/types/extensibility/extensionNodeView.d.ts +3 -3
- package/dist/types/extensibility/index.d.ts +1 -1
- package/dist/types/extensibility/types.d.ts +2 -0
- package/dist/types/i18n/cs.d.ts +4 -0
- package/dist/types/i18n/da.d.ts +4 -0
- package/dist/types/i18n/de.d.ts +4 -0
- package/dist/types/i18n/en.d.ts +13 -0
- package/dist/types/i18n/en_GB.d.ts +13 -0
- package/dist/types/i18n/en_ZZ.d.ts +9 -0
- package/dist/types/i18n/es.d.ts +4 -0
- package/dist/types/i18n/fi.d.ts +4 -0
- package/dist/types/i18n/fr.d.ts +4 -0
- package/dist/types/i18n/hr.d.ts +2 -0
- package/dist/types/i18n/hu.d.ts +5 -0
- package/dist/types/i18n/it.d.ts +4 -0
- package/dist/types/i18n/ja.d.ts +4 -0
- package/dist/types/i18n/ko.d.ts +4 -0
- package/dist/types/i18n/nb.d.ts +4 -0
- package/dist/types/i18n/nl.d.ts +4 -0
- package/dist/types/i18n/pl.d.ts +4 -0
- package/dist/types/i18n/pt_BR.d.ts +4 -0
- package/dist/types/i18n/ru.d.ts +4 -0
- package/dist/types/i18n/sk.d.ts +97 -0
- package/dist/types/i18n/sl.d.ts +11 -0
- package/dist/types/i18n/sr.d.ts +887 -0
- package/dist/types/i18n/sv.d.ts +4 -0
- package/dist/types/i18n/th.d.ts +4 -0
- package/dist/types/i18n/tr.d.ts +4 -0
- package/dist/types/i18n/uk.d.ts +4 -0
- package/dist/types/i18n/vi.d.ts +4 -0
- package/dist/types/i18n/zh.d.ts +4 -0
- package/dist/types/i18n/zh_TW.d.ts +4 -0
- package/dist/types/types/index.d.ts +0 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/breakout-events.d.ts +1 -2
- package/dist/types-ts4.5/extensibility/ExtensionNodeWrapper.d.ts +2 -4
- package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +3 -3
- package/dist/types-ts4.5/extensibility/index.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/types.d.ts +2 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +4 -0
- package/dist/types-ts4.5/i18n/da.d.ts +4 -0
- package/dist/types-ts4.5/i18n/de.d.ts +4 -0
- package/dist/types-ts4.5/i18n/en.d.ts +13 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +13 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +9 -0
- package/dist/types-ts4.5/i18n/es.d.ts +4 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +4 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +4 -0
- package/dist/types-ts4.5/i18n/hr.d.ts +2 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +5 -0
- package/dist/types-ts4.5/i18n/it.d.ts +4 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +4 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +4 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +4 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +4 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +4 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +4 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +4 -0
- package/dist/types-ts4.5/i18n/sk.d.ts +97 -0
- package/dist/types-ts4.5/i18n/sl.d.ts +11 -0
- package/dist/types-ts4.5/i18n/sr.d.ts +887 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +4 -0
- package/dist/types-ts4.5/i18n/th.d.ts +4 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +4 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +4 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +4 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +4 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +4 -0
- package/dist/types-ts4.5/types/index.d.ts +0 -1
- package/package.json +3 -9
- package/dist/cjs/types/extensibility.js +0 -1
- package/dist/es2019/types/extensibility.js +0 -0
- package/dist/esm/types/extensibility.js +0 -0
- package/dist/types/types/extensibility.d.ts +0 -4
- package/dist/types-ts4.5/types/extensibility.d.ts +0 -4
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -577,6 +577,7 @@ export default {
|
|
|
577
577
|
'fabric.editor.moveColumnRight': '{0, plural, one {Flytta kolumn åt höger} other {Flytta kolumner åt höger}}',
|
|
578
578
|
'fabric.editor.moveDownDown': '{0, plural, one {Flytta rad nedåt} other {Flytta rader nedåt}}',
|
|
579
579
|
'fabric.editor.moveRowUp': '{0, plural, one {Flytta rad uppåt} other {Flytta rader uppåt}}',
|
|
580
|
+
'fabric.editor.navigate.toolbar.askAI': 'Fråga Atlassian Intelligence',
|
|
580
581
|
'fabric.editor.navigate.toolbar.editor': 'Gå till verktygsfältet för redigering',
|
|
581
582
|
'fabric.editor.navigate.toolbar.floating': 'Gå till det svävande verktygsfältet',
|
|
582
583
|
'fabric.editor.noResultsFound': 'Inga resultat',
|
|
@@ -629,6 +630,7 @@ export default {
|
|
|
629
630
|
'fabric.editor.requestToEdit': 'Förfrågan om att redigera',
|
|
630
631
|
'fabric.editor.requestToEditDescription': 'När du begär åtkomst får sidans ägare ett meddelande.',
|
|
631
632
|
'fabric.editor.requestToEditDismiss': 'Avfärda',
|
|
633
|
+
'fabric.editor.resizeHandle': 'Ändra storlek på handtag',
|
|
632
634
|
'fabric.editor.resultsCount': '{selectedMatchPosition} av {totalResultsCount}',
|
|
633
635
|
'fabric.editor.richText': 'Använd RTF',
|
|
634
636
|
'fabric.editor.rightSidebar': 'Layout med höger sidopanel',
|
|
@@ -718,6 +720,8 @@ export default {
|
|
|
718
720
|
'fabric.editor.toolbarMediaTitle': 'Lägg till en bild, video eller fil',
|
|
719
721
|
'fabric.editor.toolbarPositionFixedAtTop': 'Fäst längst upp',
|
|
720
722
|
'fabric.editor.toolbarPositionInline': 'I linje med texten',
|
|
723
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Ta bort fastnålning av verktygsfältet',
|
|
724
|
+
'fabric.editor.toolbarPositionUnpined': 'Nåla fast verktygsfältet längst upp',
|
|
721
725
|
'fabric.editor.tooltip.blockPanel': 'en panel',
|
|
722
726
|
'fabric.editor.tooltip.bulletList': 'en lista',
|
|
723
727
|
'fabric.editor.tooltip.decisionList': 'en beslutslista',
|
package/dist/es2019/i18n/th.js
CHANGED
|
@@ -319,7 +319,7 @@ export default {
|
|
|
319
319
|
'fabric.editor.datasourceTitle': 'แก้ไขคำถามการค้นหา',
|
|
320
320
|
'fabric.editor.date': 'วันที่',
|
|
321
321
|
'fabric.editor.date.description': 'เพิ่มวันที่โดยใช้ปฏิทิน',
|
|
322
|
-
'fabric.editor.datePickerOpenedAlert': '
|
|
322
|
+
'fabric.editor.datePickerOpenedAlert': 'เปิดป๊อบอัพตัวแก้ไขวันที่แล้ว จากนั้นกด "แท็บ" เพื่อเข้าถึงป๊อบอัพ',
|
|
323
323
|
'fabric.editor.decision': 'การตัดสินใจ',
|
|
324
324
|
'fabric.editor.decision.description': 'สร้างกรอบการตัดสินใจเพื่อให้คุณติดตามได้ง่าย',
|
|
325
325
|
'fabric.editor.decisionPlaceholder': 'เพิ่มการตัดสินใจ…',
|
|
@@ -563,6 +563,7 @@ export default {
|
|
|
563
563
|
'fabric.editor.moveColumnRight': '{0, plural, other {ย้ายคอลัมน์ไปทางขวา}}',
|
|
564
564
|
'fabric.editor.moveDownDown': '{0, plural, other {ย้ายแถวลงด้านล่าง}}',
|
|
565
565
|
'fabric.editor.moveRowUp': '{0, plural, other {ย้ายแถวขึ้นด้านบน}}',
|
|
566
|
+
'fabric.editor.navigate.toolbar.askAI': 'ถาม Atlassian Intelligence',
|
|
566
567
|
'fabric.editor.navigate.toolbar.editor': 'นำทางไปยังแถบเครื่องมือแก้ไข',
|
|
567
568
|
'fabric.editor.navigate.toolbar.floating': 'นำทางไปยังแถบเครื่องมือแบบลอย',
|
|
568
569
|
'fabric.editor.noResultsFound': 'ไม่พบผลลัพธ์',
|
|
@@ -615,6 +616,7 @@ export default {
|
|
|
615
616
|
'fabric.editor.requestToEdit': 'ส่งคำขอการแก้ไข',
|
|
616
617
|
'fabric.editor.requestToEditDescription': 'เมื่อคุณส่งคำขอการเข้าถึง เจ้าของหน้าข้อมูลจะได้รับการแจ้งเตือน',
|
|
617
618
|
'fabric.editor.requestToEditDismiss': 'ยกเลิก',
|
|
619
|
+
'fabric.editor.resizeHandle': 'ปรับขนาดตัวจัดการ',
|
|
618
620
|
'fabric.editor.resultsCount': '{selectedMatchPosition} จาก {totalResultsCount}',
|
|
619
621
|
'fabric.editor.richText': 'ใช้ข้อความ Rich Text',
|
|
620
622
|
'fabric.editor.rightSidebar': 'เค้าโครงแถบด้านขวา',
|
|
@@ -704,6 +706,8 @@ export default {
|
|
|
704
706
|
'fabric.editor.toolbarMediaTitle': 'เพิ่มรูปภาพ วิดีโอ หรือไฟล์',
|
|
705
707
|
'fabric.editor.toolbarPositionFixedAtTop': 'ยึดไว้ที่ด้านบน',
|
|
706
708
|
'fabric.editor.toolbarPositionInline': 'อยู่ในบรรทัดกับข้อความ',
|
|
709
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'ถอนการปักหมุดแถบเครื่องมือ',
|
|
710
|
+
'fabric.editor.toolbarPositionUnpined': 'ปักหมุดแถบเครื่องมือไว้ที่ด้านบน',
|
|
707
711
|
'fabric.editor.tooltip.blockPanel': 'แผง',
|
|
708
712
|
'fabric.editor.tooltip.bulletList': 'รายการ',
|
|
709
713
|
'fabric.editor.tooltip.decisionList': 'รายการตัดสินใจ',
|
package/dist/es2019/i18n/tr.js
CHANGED
|
@@ -578,6 +578,7 @@ export default {
|
|
|
578
578
|
'fabric.editor.moveColumnRight': '{0, plural, one {Sütunu sağa taşı} other {Sütunları sağa taşı}}',
|
|
579
579
|
'fabric.editor.moveDownDown': '{0, plural, one {Satırı aşağı taşı} other {Satırları aşağı taşı}}',
|
|
580
580
|
'fabric.editor.moveRowUp': '{0, plural, one {Satırı yukarı taşı} other {Satırları yukarı taşı}}',
|
|
581
|
+
'fabric.editor.navigate.toolbar.askAI': "AI'ye sor",
|
|
581
582
|
'fabric.editor.navigate.toolbar.editor': 'Düzenleyici araç çubuğuna gidin',
|
|
582
583
|
'fabric.editor.navigate.toolbar.floating': 'Kayan araç çubuğuna gidin',
|
|
583
584
|
'fabric.editor.noResultsFound': 'Sonuç yok',
|
|
@@ -630,6 +631,7 @@ export default {
|
|
|
630
631
|
'fabric.editor.requestToEdit': 'Düzenleme talep et',
|
|
631
632
|
'fabric.editor.requestToEditDescription': 'Erişim talep ettiğinizde sayfa sahibi bir bildirim alır.',
|
|
632
633
|
'fabric.editor.requestToEditDismiss': 'Kapat',
|
|
634
|
+
'fabric.editor.resizeHandle': 'Yeniden boyutlandırma kolu',
|
|
633
635
|
'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
|
|
634
636
|
'fabric.editor.richText': 'Zengin metin kullan',
|
|
635
637
|
'fabric.editor.rightSidebar': 'Sağ kenar çubuğu yerleşimi',
|
|
@@ -719,6 +721,8 @@ export default {
|
|
|
719
721
|
'fabric.editor.toolbarMediaTitle': 'Görsel, video ya da dosya ekleyin',
|
|
720
722
|
'fabric.editor.toolbarPositionFixedAtTop': 'Üstte sabitlendi',
|
|
721
723
|
'fabric.editor.toolbarPositionInline': 'Metin içeren satır içi',
|
|
724
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Araç çubuğunun sabitlenmesini kaldırın',
|
|
725
|
+
'fabric.editor.toolbarPositionUnpined': 'Araç çubuğunu en üste sabitleyin',
|
|
722
726
|
'fabric.editor.tooltip.blockPanel': 'pano',
|
|
723
727
|
'fabric.editor.tooltip.bulletList': 'bir liste',
|
|
724
728
|
'fabric.editor.tooltip.decisionList': 'karar listesi',
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -563,6 +563,7 @@ export default {
|
|
|
563
563
|
'fabric.editor.moveColumnRight': '{0, plural, one {Переміщення стовпця(-ів) управо} few {Переміщення стовпців управо} many {Переміщення стовпців управо} other {Переміщення стовпців управо}}',
|
|
564
564
|
'fabric.editor.moveDownDown': '{0, plural, one {Переміщення рядка(-ів) униз} few {Переміщення рядків униз} many {Переміщення рядків униз} other {Переміщення рядків униз}}',
|
|
565
565
|
'fabric.editor.moveRowUp': '{0, plural, one {Переміщення рядка(-ів) угору} few {Переміщення рядків угору} many {Переміщення рядків угору} other {Переміщення рядків угору}}',
|
|
566
|
+
'fabric.editor.navigate.toolbar.askAI': 'Запитати ШІ',
|
|
566
567
|
'fabric.editor.navigate.toolbar.editor': 'Перейти на панель інструментів редактора',
|
|
567
568
|
'fabric.editor.navigate.toolbar.floating': 'Перейти на рухому панель інструментів',
|
|
568
569
|
'fabric.editor.noResultsFound': 'Немає результатів',
|
|
@@ -615,6 +616,7 @@ export default {
|
|
|
615
616
|
'fabric.editor.requestToEdit': 'Запит на редагування',
|
|
616
617
|
'fabric.editor.requestToEditDescription': 'Коли ви надішлете запит на доступ, власник сторінки отримає сповіщення.',
|
|
617
618
|
'fabric.editor.requestToEditDismiss': 'Закрити',
|
|
619
|
+
'fabric.editor.resizeHandle': 'Маркер для зміни розміру',
|
|
618
620
|
'fabric.editor.resultsCount': '{selectedMatchPosition} з {totalResultsCount}',
|
|
619
621
|
'fabric.editor.richText': 'Застосувати форматований текст',
|
|
620
622
|
'fabric.editor.rightSidebar': 'Макет із бічною панеллю праворуч',
|
|
@@ -703,7 +705,9 @@ export default {
|
|
|
703
705
|
'fabric.editor.toolbarLabel': 'Редактор',
|
|
704
706
|
'fabric.editor.toolbarMediaTitle': 'Додавання зображення, відео або файлу',
|
|
705
707
|
'fabric.editor.toolbarPositionFixedAtTop': 'У верхній частині сторінки',
|
|
706
|
-
'fabric.editor.toolbarPositionInline': '
|
|
708
|
+
'fabric.editor.toolbarPositionInline': 'На рівні тексту',
|
|
709
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Відкріпити панель інструментів',
|
|
710
|
+
'fabric.editor.toolbarPositionUnpined': 'Закріпити панель інструментів угорі',
|
|
707
711
|
'fabric.editor.tooltip.blockPanel': 'панель',
|
|
708
712
|
'fabric.editor.tooltip.bulletList': 'список',
|
|
709
713
|
'fabric.editor.tooltip.decisionList': 'список рішень',
|
package/dist/es2019/i18n/vi.js
CHANGED
|
@@ -563,6 +563,7 @@ export default {
|
|
|
563
563
|
'fabric.editor.moveColumnRight': '{0, plural, other {Di chuyển cột sang phải}}',
|
|
564
564
|
'fabric.editor.moveDownDown': '{0, plural, other {Di chuyển hàng xuống dưới}}',
|
|
565
565
|
'fabric.editor.moveRowUp': '{0, plural, other {Di chuyển hàng lên trên}}',
|
|
566
|
+
'fabric.editor.navigate.toolbar.askAI': 'Hỏi AI',
|
|
566
567
|
'fabric.editor.navigate.toolbar.editor': 'Điều hướng đến thanh công cụ trình biên tập',
|
|
567
568
|
'fabric.editor.navigate.toolbar.floating': 'Điều hướng đến thanh công cụ nổi',
|
|
568
569
|
'fabric.editor.noResultsFound': 'Không có kết quả',
|
|
@@ -615,6 +616,7 @@ export default {
|
|
|
615
616
|
'fabric.editor.requestToEdit': 'Yêu cầu sửa',
|
|
616
617
|
'fabric.editor.requestToEditDescription': 'Khi bạn yêu cầu truy cập, chủ sở hữu trang sẽ nhận được thông báo.',
|
|
617
618
|
'fabric.editor.requestToEditDismiss': 'Bỏ qua',
|
|
619
|
+
'fabric.editor.resizeHandle': 'Thay đổi kích thước thành phần điều khiển',
|
|
618
620
|
'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
|
|
619
621
|
'fabric.editor.richText': 'Dùng văn bản đa dạng thức',
|
|
620
622
|
'fabric.editor.rightSidebar': 'Bố cục thanh bên phải',
|
|
@@ -704,6 +706,8 @@ export default {
|
|
|
704
706
|
'fabric.editor.toolbarMediaTitle': 'Thêm ảnh, video hoặc tệp',
|
|
705
707
|
'fabric.editor.toolbarPositionFixedAtTop': 'Cố định ở trên cùng',
|
|
706
708
|
'fabric.editor.toolbarPositionInline': 'Cùng dòng với văn bản',
|
|
709
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Bỏ ghim thanh công cụ',
|
|
710
|
+
'fabric.editor.toolbarPositionUnpined': 'Ghim thanh công cụ lên đầu',
|
|
707
711
|
'fabric.editor.tooltip.blockPanel': 'một bảng điều khiển',
|
|
708
712
|
'fabric.editor.tooltip.bulletList': 'một danh sách',
|
|
709
713
|
'fabric.editor.tooltip.decisionList': 'một danh sách quyết định',
|
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -478,11 +478,11 @@ export default {
|
|
|
478
478
|
'fabric.editor.image.fullWidthLabel': '全宽',
|
|
479
479
|
'fabric.editor.imageBorderBold': '加粗',
|
|
480
480
|
'fabric.editor.imageBorderColor': '颜色',
|
|
481
|
-
'fabric.editor.imageBorderColor.dropdownAriaLabel': '
|
|
481
|
+
'fabric.editor.imageBorderColor.dropdownAriaLabel': '图像边框选项“颜色”下拉列表',
|
|
482
482
|
'fabric.editor.imageBorderMedium': '中等',
|
|
483
483
|
'fabric.editor.imageBorderOptions': '边框选项',
|
|
484
484
|
'fabric.editor.imageBorderSize': '大小',
|
|
485
|
-
'fabric.editor.imageBorderSize.dropdownAriaLabel': '
|
|
485
|
+
'fabric.editor.imageBorderSize.dropdownAriaLabel': '图像边框选项“大小”下拉列表',
|
|
486
486
|
'fabric.editor.imageBorderSubtle': '细微',
|
|
487
487
|
'fabric.editor.improvement': '改进',
|
|
488
488
|
'fabric.editor.increaseSize': '增大表格或媒体大小',
|
|
@@ -578,6 +578,7 @@ export default {
|
|
|
578
578
|
'fabric.editor.moveColumnRight': '{0, plural, other {将列右移}}',
|
|
579
579
|
'fabric.editor.moveDownDown': '{0, plural, other {将行下移}}',
|
|
580
580
|
'fabric.editor.moveRowUp': '{0, plural, other {将行上移}}',
|
|
581
|
+
'fabric.editor.navigate.toolbar.askAI': '询问人工智能',
|
|
581
582
|
'fabric.editor.navigate.toolbar.editor': '导航到编辑器工具栏',
|
|
582
583
|
'fabric.editor.navigate.toolbar.floating': '导航到浮动工具栏',
|
|
583
584
|
'fabric.editor.noResultsFound': '无结果',
|
|
@@ -630,6 +631,7 @@ export default {
|
|
|
630
631
|
'fabric.editor.requestToEdit': '请求编辑',
|
|
631
632
|
'fabric.editor.requestToEditDescription': '当您请求访问权限时,页面负责人会收到通知。',
|
|
632
633
|
'fabric.editor.requestToEditDismiss': '关闭',
|
|
634
|
+
'fabric.editor.resizeHandle': '调整手柄大小',
|
|
633
635
|
'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
|
|
634
636
|
'fabric.editor.richText': '使用富文本',
|
|
635
637
|
'fabric.editor.rightSidebar': '右侧边栏布局',
|
|
@@ -714,11 +716,13 @@ export default {
|
|
|
714
716
|
'fabric.editor.time.ago': '前',
|
|
715
717
|
'fabric.editor.time.updated': '上次更新时间',
|
|
716
718
|
'fabric.editor.time.viewed': '上次查看时间',
|
|
717
|
-
'fabric.editor.toolbarAppears': '
|
|
719
|
+
'fabric.editor.toolbarAppears': '显示工具栏',
|
|
718
720
|
'fabric.editor.toolbarLabel': '编辑器',
|
|
719
721
|
'fabric.editor.toolbarMediaTitle': '添加图像、视频或文件',
|
|
720
722
|
'fabric.editor.toolbarPositionFixedAtTop': '固定在顶部',
|
|
721
723
|
'fabric.editor.toolbarPositionInline': '与文本同行显示',
|
|
724
|
+
'fabric.editor.toolbarPositionPinedAtTop': '取消固定工具栏',
|
|
725
|
+
'fabric.editor.toolbarPositionUnpined': '将工具栏固定在顶部',
|
|
722
726
|
'fabric.editor.tooltip.blockPanel': '面板',
|
|
723
727
|
'fabric.editor.tooltip.bulletList': '一个列表',
|
|
724
728
|
'fabric.editor.tooltip.decisionList': '决策列表',
|
|
@@ -578,6 +578,7 @@ export default {
|
|
|
578
578
|
'fabric.editor.moveColumnRight': '{0, plural, other {將欄向右移動}}',
|
|
579
579
|
'fabric.editor.moveDownDown': '{0, plural, other {向下移動列}}',
|
|
580
580
|
'fabric.editor.moveRowUp': '{0, plural, other {向上移動列}}',
|
|
581
|
+
'fabric.editor.navigate.toolbar.askAI': '詢問人工智慧',
|
|
581
582
|
'fabric.editor.navigate.toolbar.editor': '導覽至編輯器工具列',
|
|
582
583
|
'fabric.editor.navigate.toolbar.floating': '導覽至浮動工具列',
|
|
583
584
|
'fabric.editor.noResultsFound': '沒有結果',
|
|
@@ -630,6 +631,7 @@ export default {
|
|
|
630
631
|
'fabric.editor.requestToEdit': '要求編輯',
|
|
631
632
|
'fabric.editor.requestToEditDescription': '您要求權限時,頁面負責人會收到通知。',
|
|
632
633
|
'fabric.editor.requestToEditDismiss': '關閉',
|
|
634
|
+
'fabric.editor.resizeHandle': '重新調整控點大小',
|
|
633
635
|
'fabric.editor.resultsCount': '第 {selectedMatchPosition} 個,共 {totalResultsCount} 個',
|
|
634
636
|
'fabric.editor.richText': '使用 RTF',
|
|
635
637
|
'fabric.editor.rightSidebar': '右側邊欄版面配置',
|
|
@@ -719,6 +721,8 @@ export default {
|
|
|
719
721
|
'fabric.editor.toolbarMediaTitle': '新增圖片、影片或檔案',
|
|
720
722
|
'fabric.editor.toolbarPositionFixedAtTop': '固定在頂部',
|
|
721
723
|
'fabric.editor.toolbarPositionInline': '與文字內嵌',
|
|
724
|
+
'fabric.editor.toolbarPositionPinedAtTop': '取消釘選工具列',
|
|
725
|
+
'fabric.editor.toolbarPositionUnpined': '將工具列釘選在頂端',
|
|
722
726
|
'fabric.editor.tooltip.blockPanel': '面板',
|
|
723
727
|
'fabric.editor.tooltip.bulletList': '清單',
|
|
724
728
|
'fabric.editor.tooltip.decisionList': '決定清單',
|
|
@@ -10,9 +10,9 @@ import { jsx } from '@emotion/react';
|
|
|
10
10
|
import { useIntl } from 'react-intl-next';
|
|
11
11
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
12
12
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
13
|
+
import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down';
|
|
13
14
|
import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
|
|
14
15
|
import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
15
|
-
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
17
|
import { cardMessages as messages } from '../../messages';
|
|
18
18
|
import { StyledButton } from './StyledButton';
|
|
@@ -75,7 +75,8 @@ const Dropdown = ({
|
|
|
75
75
|
}, props, {
|
|
76
76
|
iconBefore: jsx(ChevronDownIcon, {
|
|
77
77
|
label: configureLinkLabel,
|
|
78
|
-
LEGACY_size: "small"
|
|
78
|
+
LEGACY_size: "small",
|
|
79
|
+
size: "small"
|
|
79
80
|
}),
|
|
80
81
|
onClick: e => {
|
|
81
82
|
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "106.5.
|
|
4
|
+
const packageVersion = "106.5.2";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "106.5.
|
|
16
|
+
const packageVersion = "106.5.2";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./ExpandIcon.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
5
|
+
import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down';
|
|
6
6
|
const expandIconContainerStyle = null;
|
|
7
7
|
export function ToolbarExpandIcon() {
|
|
8
8
|
return /*#__PURE__*/React.createElement("span", {
|
|
@@ -10,6 +10,7 @@ export function ToolbarExpandIcon() {
|
|
|
10
10
|
}, /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
11
11
|
label: "",
|
|
12
12
|
color: "currentColor",
|
|
13
|
-
LEGACY_margin: "0 0 0 -8px"
|
|
13
|
+
LEGACY_margin: "0 0 0 -8px",
|
|
14
|
+
size: "small"
|
|
14
15
|
}));
|
|
15
16
|
}
|
|
@@ -11,8 +11,8 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
11
11
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
12
12
|
import Button from '@atlaskit/button/new';
|
|
13
13
|
import LegacyButton from '@atlaskit/button/standard-button';
|
|
14
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
14
15
|
import LegacyExpandIcon from '@atlaskit/icon/glyph/chevron-down';
|
|
15
|
-
import ChevronDownIcon from '@atlaskit/icon/utility/chevron-down';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
17
|
import { Box, xcss, Inline } from '@atlaskit/primitives';
|
|
18
18
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -276,7 +276,8 @@ const ColorPickerButton = props => {
|
|
|
276
276
|
color: "currentColor",
|
|
277
277
|
spacing: "spacious",
|
|
278
278
|
LEGACY_fallbackIcon: LegacyExpandIcon,
|
|
279
|
-
label: "color-picker-chevron-down"
|
|
279
|
+
label: "color-picker-chevron-down",
|
|
280
|
+
size: "small"
|
|
280
281
|
}))))) : jsx(LegacyButton, {
|
|
281
282
|
appearance: 'subtle',
|
|
282
283
|
ref: buttonRef,
|
|
@@ -300,7 +301,8 @@ const ColorPickerButton = props => {
|
|
|
300
301
|
color: "currentColor",
|
|
301
302
|
spacing: "spacious",
|
|
302
303
|
LEGACY_fallbackIcon: LegacyExpandIcon,
|
|
303
|
-
label: "color-picker-chevron-down"
|
|
304
|
+
label: "color-picker-chevron-down",
|
|
305
|
+
size: "small"
|
|
304
306
|
})),
|
|
305
307
|
"data-selected-color": props.currentColor
|
|
306
308
|
})), renderPopup());
|
|
@@ -48,6 +48,9 @@ export class Dropdown extends PureComponent {
|
|
|
48
48
|
}
|
|
49
49
|
componentDidUpdate(prevProps) {
|
|
50
50
|
if (!prevProps.isOpen && this.props.isOpen && this.state.target && fg('platform_editor_floating_toolbar_dropdown_flicker')) {
|
|
51
|
+
// Dropdown flickers when opens as placement is calculated in Popup component and updated after the first render.
|
|
52
|
+
// popupPlacement is set to ['bottom', 'left'] by default, but it may not be the correct placement and is required in DropdownList.
|
|
53
|
+
// To avoid flicker we calculate placement here and set it to state when the dropdown opens.
|
|
51
54
|
const initialPlacement = calculatePlacement(this.state.target, this.props.boundariesElement || document.body, this.props.fitWidth, this.props.fitHeight, this.props.alignX, this.props.alignY, this.props.forcePlacement);
|
|
52
55
|
this.setState({
|
|
53
56
|
popupPlacement: initialPlacement
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
export const withImageLoaderOld = Wrapped => class WithImageLoader extends Component {
|
|
6
5
|
constructor(...args) {
|
|
7
6
|
super(...args);
|
|
@@ -189,8 +188,5 @@ const withImageLoaderNew = Wrapped => class WithImageLoader extends Component {
|
|
|
189
188
|
}
|
|
190
189
|
};
|
|
191
190
|
export const withImageLoader = Wrapped => {
|
|
192
|
-
|
|
193
|
-
return withImageLoaderNew(Wrapped);
|
|
194
|
-
}
|
|
195
|
-
return withImageLoaderOld(Wrapped);
|
|
191
|
+
return withImageLoaderNew(Wrapped);
|
|
196
192
|
};
|
|
@@ -8,7 +8,6 @@ import React from 'react';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import classnames from 'classnames';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { ZERO_WIDTH_SPACE } from '../whitespace';
|
|
13
12
|
var styles = css({
|
|
14
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -20,35 +19,6 @@ var styles = css({
|
|
|
20
19
|
position: 'relative'
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
|
-
var viewportSizes = ['small', 'medium', 'default', 'large', 'xlarge'];
|
|
24
|
-
var macroHeights = {
|
|
25
|
-
small: '112px',
|
|
26
|
-
medium: '262px',
|
|
27
|
-
default: '262px',
|
|
28
|
-
large: '524px',
|
|
29
|
-
xlarge: '1048px'
|
|
30
|
-
};
|
|
31
|
-
var getViewportHeight = function getViewportHeight(extensionId, extensionViewportSizes) {
|
|
32
|
-
var _extensionViewportSiz;
|
|
33
|
-
var viewportSize = Array.isArray(extensionViewportSizes) && extensionId ? (_extensionViewportSiz = extensionViewportSizes.find(function (ext) {
|
|
34
|
-
return ext.extensionId === extensionId;
|
|
35
|
-
})) === null || _extensionViewportSiz === void 0 ? void 0 : _extensionViewportSiz.viewportSize : undefined;
|
|
36
|
-
if (!viewportSize) {
|
|
37
|
-
return undefined;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// If it's a predefined size, use the macroHeights mapping
|
|
41
|
-
if (viewportSizes.includes(viewportSize)) {
|
|
42
|
-
return macroHeights[viewportSize];
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// This is added to somewhat prepare to support connect macros which don't have a predefined size
|
|
46
|
-
// If it's a custom pixel value, use it directly
|
|
47
|
-
if (viewportSize.endsWith('px')) {
|
|
48
|
-
return viewportSize;
|
|
49
|
-
}
|
|
50
|
-
return undefined;
|
|
51
|
-
};
|
|
52
22
|
/**
|
|
53
23
|
* If inlineExtension, add zero width space to the end of the nodes and wrap with span;
|
|
54
24
|
* Also if showMacroInteractionDesignUpdates is true, then add the inline-block style to account for the lozenge.
|
|
@@ -61,26 +31,25 @@ export var ExtensionNodeWrapper = function ExtensionNodeWrapper(_ref) {
|
|
|
61
31
|
var children = _ref.children,
|
|
62
32
|
nodeType = _ref.nodeType,
|
|
63
33
|
macroInteractionDesignFeatureFlags = _ref.macroInteractionDesignFeatureFlags,
|
|
64
|
-
|
|
65
|
-
extensionViewportSizes = _ref.extensionViewportSizes;
|
|
34
|
+
nodeHeight = _ref.nodeHeight;
|
|
66
35
|
var _ref2 = macroInteractionDesignFeatureFlags || {},
|
|
67
36
|
showMacroInteractionDesignUpdates = _ref2.showMacroInteractionDesignUpdates;
|
|
68
37
|
var wrapperClassNames = classnames({
|
|
69
38
|
'inline-extension': nodeType === 'inlineExtension' && showMacroInteractionDesignUpdates,
|
|
70
39
|
relative: showMacroInteractionDesignUpdates
|
|
71
40
|
});
|
|
72
|
-
var viewportHeight = getViewportHeight(extensionId, extensionViewportSizes);
|
|
73
41
|
var content =
|
|
74
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
75
43
|
jsx("span", {
|
|
76
44
|
className: wrapperClassNames,
|
|
77
45
|
css: styles
|
|
78
46
|
}, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
|
|
79
|
-
if (
|
|
47
|
+
if (nodeHeight) {
|
|
48
|
+
var extensionStyles = {
|
|
49
|
+
minHeight: "".concat(nodeHeight, "px")
|
|
50
|
+
};
|
|
80
51
|
return jsx("div", {
|
|
81
|
-
style:
|
|
82
|
-
minHeight: viewportHeight
|
|
83
|
-
}
|
|
52
|
+
style: extensionStyles
|
|
84
53
|
}, content);
|
|
85
54
|
}
|
|
86
55
|
return content;
|
|
@@ -61,12 +61,11 @@ export var ExtensionNode = /*#__PURE__*/function (_ReactNodeView) {
|
|
|
61
61
|
}, {
|
|
62
62
|
key: "render",
|
|
63
63
|
value: function render(props, forwardRef) {
|
|
64
|
-
var
|
|
64
|
+
var _props$extensionNodeV, _props$extensionNodeV2, _props$extensionNodeV3;
|
|
65
65
|
return /*#__PURE__*/React.createElement(ExtensionNodeWrapper, {
|
|
66
66
|
nodeType: this.node.type.name,
|
|
67
67
|
macroInteractionDesignFeatureFlags: props.macroInteractionDesignFeatureFlags,
|
|
68
|
-
|
|
69
|
-
extensionViewportSizes: (_props$extensionNodeV = props.extensionNodeViewOptions) === null || _props$extensionNodeV === void 0 ? void 0 : _props$extensionNodeV.extensionViewportSizes
|
|
68
|
+
nodeHeight: (_props$extensionNodeV = props.extensionNodeViewOptions) === null || _props$extensionNodeV === void 0 || (_props$extensionNodeV2 = _props$extensionNodeV.getExtensionHeight) === null || _props$extensionNodeV2 === void 0 ? void 0 : _props$extensionNodeV2.call(_props$extensionNodeV, this.node)
|
|
70
69
|
}, /*#__PURE__*/React.createElement(Extension, {
|
|
71
70
|
editorView: this.view,
|
|
72
71
|
node: this.node,
|
|
@@ -82,7 +81,7 @@ export var ExtensionNode = /*#__PURE__*/function (_ReactNodeView) {
|
|
|
82
81
|
providerFactory: props.providerFactory,
|
|
83
82
|
handleContentDOMRef: forwardRef,
|
|
84
83
|
extensionHandlers: props.extensionHandlers,
|
|
85
|
-
editorAppearance: (_props$
|
|
84
|
+
editorAppearance: (_props$extensionNodeV3 = props.extensionNodeViewOptions) === null || _props$extensionNodeV3 === void 0 ? void 0 : _props$extensionNodeV3.appearance,
|
|
86
85
|
pluginInjectionApi: props.pluginInjectionApi,
|
|
87
86
|
macroInteractionDesignFeatureFlags: props.macroInteractionDesignFeatureFlags,
|
|
88
87
|
showLivePagesBodiedMacrosRendererView: props.showLivePagesBodiedMacrosRendererView,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { conditionalHooksFactory } from '@atlaskit/platform-feature-flags-react';
|
|
2
|
-
import {
|
|
2
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* **Warning: This hook is controlled by the `platform_editor_usesharedpluginstateselector` experiment.**
|
|
@@ -13,6 +13,6 @@ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
|
13
13
|
*/
|
|
14
14
|
export function sharedPluginStateHookMigratorFactory(newHook, oldHook) {
|
|
15
15
|
return conditionalHooksFactory(function () {
|
|
16
|
-
return
|
|
16
|
+
return expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true);
|
|
17
17
|
}, newHook, oldHook);
|
|
18
18
|
}
|
|
@@ -4,7 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
import { useEffect, useLayoutEffect, useMemo, useRef } from 'react';
|
|
6
6
|
import debounce from 'lodash/debounce';
|
|
7
|
-
import {
|
|
7
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
|
|
9
9
|
// Ignored via go/ees005
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -101,7 +101,7 @@ function usePluginStateEffectInternal(externalPlugins, effect) {
|
|
|
101
101
|
// We should store the latest effect in a reference so it is more intuitive to the user
|
|
102
102
|
// and we are not causing a memory leak by having references to old state.
|
|
103
103
|
useLayoutEffect(function () {
|
|
104
|
-
if (options.disabled ||
|
|
104
|
+
if (options.disabled || !expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
107
|
latestEffect.current = debounce(effect);
|
|
@@ -110,7 +110,7 @@ function usePluginStateEffectInternal(externalPlugins, effect) {
|
|
|
110
110
|
};
|
|
111
111
|
}, [effect, options.disabled]);
|
|
112
112
|
useEffect(function () {
|
|
113
|
-
if (options.disabled ||
|
|
113
|
+
if (options.disabled || expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
116
|
latestEffect.current = debounce(effect);
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -578,6 +578,7 @@ export default {
|
|
|
578
578
|
'fabric.editor.moveColumnRight': '{0, plural, one {Přesunout sloupec vpravo} few {Přesunout sloupce vpravo} many {Přesunout sloupce vpravo} other {Přesunout sloupce vpravo}}',
|
|
579
579
|
'fabric.editor.moveDownDown': '{0, plural, one {Přesunout řádek dolů} few {Přesunout řádky dolů} many {Přesunout řádky dolů} other {Přesunout řádky dolů}}',
|
|
580
580
|
'fabric.editor.moveRowUp': '{0, plural, one {Přesunout řádek nahoru} few {Přesunout řádky nahoru} many {Přesunout řádky nahoru} other {Přesunout řádky nahoru}}',
|
|
581
|
+
'fabric.editor.navigate.toolbar.askAI': 'Zeptat se AI',
|
|
581
582
|
'fabric.editor.navigate.toolbar.editor': 'Přejít na panel nástrojů editoru',
|
|
582
583
|
'fabric.editor.navigate.toolbar.floating': 'Přejít na plovoucí panel nástrojů',
|
|
583
584
|
'fabric.editor.noResultsFound': 'Žádné výsledky',
|
|
@@ -630,6 +631,7 @@ export default {
|
|
|
630
631
|
'fabric.editor.requestToEdit': 'Požádat o oprávnění k úpravě',
|
|
631
632
|
'fabric.editor.requestToEditDescription': 'Když požádáte o přístup, vlastník stránky dostane oznámení.',
|
|
632
633
|
'fabric.editor.requestToEditDismiss': 'Zavřít',
|
|
634
|
+
'fabric.editor.resizeHandle': 'Změnit velikost úchytu',
|
|
633
635
|
'fabric.editor.resultsCount': '{selectedMatchPosition} z {totalResultsCount}',
|
|
634
636
|
'fabric.editor.richText': 'Použít formátovaný text',
|
|
635
637
|
'fabric.editor.rightSidebar': 'Rozvržení pravého bočního panelu',
|
|
@@ -719,6 +721,8 @@ export default {
|
|
|
719
721
|
'fabric.editor.toolbarMediaTitle': 'Přidat obrázek, video nebo soubor',
|
|
720
722
|
'fabric.editor.toolbarPositionFixedAtTop': 'Uchyceno nahoře',
|
|
721
723
|
'fabric.editor.toolbarPositionInline': 'Zarovnáno s textem',
|
|
724
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Odepnout panel nástrojů',
|
|
725
|
+
'fabric.editor.toolbarPositionUnpined': 'Připnout panel nástrojů v horní části',
|
|
722
726
|
'fabric.editor.tooltip.blockPanel': 'panel',
|
|
723
727
|
'fabric.editor.tooltip.bulletList': 'seznam',
|
|
724
728
|
'fabric.editor.tooltip.decisionList': 'seznam rozhodnutí',
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -577,6 +577,7 @@ export default {
|
|
|
577
577
|
'fabric.editor.moveColumnRight': '{0, plural, one {Flyt kolonne til højre} other {Flyt kolonner til højre}}',
|
|
578
578
|
'fabric.editor.moveDownDown': '{0, plural, one {Flyt række ned} other {Flyt rækker ned}}',
|
|
579
579
|
'fabric.editor.moveRowUp': '{0, plural, one {Flyt række op} other {Flyt rækker op}}',
|
|
580
|
+
'fabric.editor.navigate.toolbar.askAI': 'Spørg AI',
|
|
580
581
|
'fabric.editor.navigate.toolbar.editor': 'Naviger til værktøjslinje til redigeringsprogram',
|
|
581
582
|
'fabric.editor.navigate.toolbar.floating': 'Naviger til flydende værktøjslinje',
|
|
582
583
|
'fabric.editor.noResultsFound': 'Ingen resultater',
|
|
@@ -629,6 +630,7 @@ export default {
|
|
|
629
630
|
'fabric.editor.requestToEdit': 'Anmod om at redigere',
|
|
630
631
|
'fabric.editor.requestToEditDescription': 'Når du anmoder om adgang, modtager sideejeren en notifikation.',
|
|
631
632
|
'fabric.editor.requestToEditDismiss': 'Luk',
|
|
633
|
+
'fabric.editor.resizeHandle': 'Håndtag til størrelsesændring',
|
|
632
634
|
'fabric.editor.resultsCount': '{selectedMatchPosition} af {totalResultsCount}',
|
|
633
635
|
'fabric.editor.richText': 'Brug RTF',
|
|
634
636
|
'fabric.editor.rightSidebar': 'Layout med højre sidebjælke',
|
|
@@ -718,6 +720,8 @@ export default {
|
|
|
718
720
|
'fabric.editor.toolbarMediaTitle': 'Tilføj billede, video eller fil',
|
|
719
721
|
'fabric.editor.toolbarPositionFixedAtTop': 'Fastgjort øverst',
|
|
720
722
|
'fabric.editor.toolbarPositionInline': 'På linje med tekst',
|
|
723
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Frigør værktøjslinjen',
|
|
724
|
+
'fabric.editor.toolbarPositionUnpined': 'Fastgør værktøjslinjen foroven',
|
|
721
725
|
'fabric.editor.tooltip.blockPanel': 'et panel',
|
|
722
726
|
'fabric.editor.tooltip.bulletList': 'en liste',
|
|
723
727
|
'fabric.editor.tooltip.decisionList': 'en beslutningsliste',
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -577,6 +577,7 @@ export default {
|
|
|
577
577
|
'fabric.editor.moveColumnRight': '{0, plural, one {Spalte nach rechts verschieben} other {Spalten nach rechts verschieben}}',
|
|
578
578
|
'fabric.editor.moveDownDown': '{0, plural, one {Zeile nach unten verschieben} other {Zeilen nach unten verschieben}}',
|
|
579
579
|
'fabric.editor.moveRowUp': '{0, plural, one {Zeile nach oben verschieben} other {Zeilen nach oben verschieben}}',
|
|
580
|
+
'fabric.editor.navigate.toolbar.askAI': 'KI fragen',
|
|
580
581
|
'fabric.editor.navigate.toolbar.editor': 'Zur Editor-Symbolleiste navigieren',
|
|
581
582
|
'fabric.editor.navigate.toolbar.floating': 'Zur unverankerten Symbolleiste navigieren',
|
|
582
583
|
'fabric.editor.noResultsFound': 'Keine Ergebnisse',
|
|
@@ -629,6 +630,7 @@ export default {
|
|
|
629
630
|
'fabric.editor.requestToEdit': 'Für Bearbeitung anfragen',
|
|
630
631
|
'fabric.editor.requestToEditDescription': 'Wenn Sie Zugriff anfordern, erhält der Seitenbesitzer eine Benachrichtigung.',
|
|
631
632
|
'fabric.editor.requestToEditDismiss': 'Schließen',
|
|
633
|
+
'fabric.editor.resizeHandle': 'Ziehpunkt zur Größenänderung',
|
|
632
634
|
'fabric.editor.resultsCount': '{selectedMatchPosition} von {totalResultsCount}',
|
|
633
635
|
'fabric.editor.richText': 'Rich Text verwenden',
|
|
634
636
|
'fabric.editor.rightSidebar': 'Layout der rechten Seitenleiste',
|
|
@@ -718,6 +720,8 @@ export default {
|
|
|
718
720
|
'fabric.editor.toolbarMediaTitle': 'Bild, Video oder Datei hinzufügen',
|
|
719
721
|
'fabric.editor.toolbarPositionFixedAtTop': 'Oben fixiert',
|
|
720
722
|
'fabric.editor.toolbarPositionInline': 'Auf gleicher Höhe wie der Text',
|
|
723
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Symbolleiste lösen',
|
|
724
|
+
'fabric.editor.toolbarPositionUnpined': 'Symbolleiste oben anheften',
|
|
721
725
|
'fabric.editor.tooltip.blockPanel': 'ein Panel',
|
|
722
726
|
'fabric.editor.tooltip.bulletList': 'eine Liste',
|
|
723
727
|
'fabric.editor.tooltip.decisionList': 'eine Entscheidungsliste',
|