@atlaskit/editor-common 106.4.0 → 106.5.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 +25 -0
- package/dist/cjs/analytics/types/enums.js +1 -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/analytics/types/enums.js +1 -0
- 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/analytics/types/enums.js +1 -0
- 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 -0
- package/dist/types/analytics/types/breakout-events.d.ts +9 -2
- package/dist/types/analytics/types/enums.d.ts +1 -0
- 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 -0
- package/dist/types-ts4.5/analytics/types/breakout-events.d.ts +9 -2
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- 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 +2 -8
- 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/cjs/i18n/sv.js
CHANGED
|
@@ -583,6 +583,7 @@ var _default = exports.default = {
|
|
|
583
583
|
'fabric.editor.moveColumnRight': '{0, plural, one {Flytta kolumn åt höger} other {Flytta kolumner åt höger}}',
|
|
584
584
|
'fabric.editor.moveDownDown': '{0, plural, one {Flytta rad nedåt} other {Flytta rader nedåt}}',
|
|
585
585
|
'fabric.editor.moveRowUp': '{0, plural, one {Flytta rad uppåt} other {Flytta rader uppåt}}',
|
|
586
|
+
'fabric.editor.navigate.toolbar.askAI': 'Fråga Atlassian Intelligence',
|
|
586
587
|
'fabric.editor.navigate.toolbar.editor': 'Gå till verktygsfältet för redigering',
|
|
587
588
|
'fabric.editor.navigate.toolbar.floating': 'Gå till det svävande verktygsfältet',
|
|
588
589
|
'fabric.editor.noResultsFound': 'Inga resultat',
|
|
@@ -635,6 +636,7 @@ var _default = exports.default = {
|
|
|
635
636
|
'fabric.editor.requestToEdit': 'Förfrågan om att redigera',
|
|
636
637
|
'fabric.editor.requestToEditDescription': 'När du begär åtkomst får sidans ägare ett meddelande.',
|
|
637
638
|
'fabric.editor.requestToEditDismiss': 'Avfärda',
|
|
639
|
+
'fabric.editor.resizeHandle': 'Ändra storlek på handtag',
|
|
638
640
|
'fabric.editor.resultsCount': '{selectedMatchPosition} av {totalResultsCount}',
|
|
639
641
|
'fabric.editor.richText': 'Använd RTF',
|
|
640
642
|
'fabric.editor.rightSidebar': 'Layout med höger sidopanel',
|
|
@@ -724,6 +726,8 @@ var _default = exports.default = {
|
|
|
724
726
|
'fabric.editor.toolbarMediaTitle': 'Lägg till en bild, video eller fil',
|
|
725
727
|
'fabric.editor.toolbarPositionFixedAtTop': 'Fäst längst upp',
|
|
726
728
|
'fabric.editor.toolbarPositionInline': 'I linje med texten',
|
|
729
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Ta bort fastnålning av verktygsfältet',
|
|
730
|
+
'fabric.editor.toolbarPositionUnpined': 'Nåla fast verktygsfältet längst upp',
|
|
727
731
|
'fabric.editor.tooltip.blockPanel': 'en panel',
|
|
728
732
|
'fabric.editor.tooltip.bulletList': 'en lista',
|
|
729
733
|
'fabric.editor.tooltip.decisionList': 'en beslutslista',
|
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -325,7 +325,7 @@ var _default = exports.default = {
|
|
|
325
325
|
'fabric.editor.datasourceTitle': 'แก้ไขคำถามการค้นหา',
|
|
326
326
|
'fabric.editor.date': 'วันที่',
|
|
327
327
|
'fabric.editor.date.description': 'เพิ่มวันที่โดยใช้ปฏิทิน',
|
|
328
|
-
'fabric.editor.datePickerOpenedAlert': '
|
|
328
|
+
'fabric.editor.datePickerOpenedAlert': 'เปิดป๊อบอัพตัวแก้ไขวันที่แล้ว จากนั้นกด "แท็บ" เพื่อเข้าถึงป๊อบอัพ',
|
|
329
329
|
'fabric.editor.decision': 'การตัดสินใจ',
|
|
330
330
|
'fabric.editor.decision.description': 'สร้างกรอบการตัดสินใจเพื่อให้คุณติดตามได้ง่าย',
|
|
331
331
|
'fabric.editor.decisionPlaceholder': 'เพิ่มการตัดสินใจ…',
|
|
@@ -569,6 +569,7 @@ var _default = exports.default = {
|
|
|
569
569
|
'fabric.editor.moveColumnRight': '{0, plural, other {ย้ายคอลัมน์ไปทางขวา}}',
|
|
570
570
|
'fabric.editor.moveDownDown': '{0, plural, other {ย้ายแถวลงด้านล่าง}}',
|
|
571
571
|
'fabric.editor.moveRowUp': '{0, plural, other {ย้ายแถวขึ้นด้านบน}}',
|
|
572
|
+
'fabric.editor.navigate.toolbar.askAI': 'ถาม Atlassian Intelligence',
|
|
572
573
|
'fabric.editor.navigate.toolbar.editor': 'นำทางไปยังแถบเครื่องมือแก้ไข',
|
|
573
574
|
'fabric.editor.navigate.toolbar.floating': 'นำทางไปยังแถบเครื่องมือแบบลอย',
|
|
574
575
|
'fabric.editor.noResultsFound': 'ไม่พบผลลัพธ์',
|
|
@@ -621,6 +622,7 @@ var _default = exports.default = {
|
|
|
621
622
|
'fabric.editor.requestToEdit': 'ส่งคำขอการแก้ไข',
|
|
622
623
|
'fabric.editor.requestToEditDescription': 'เมื่อคุณส่งคำขอการเข้าถึง เจ้าของหน้าข้อมูลจะได้รับการแจ้งเตือน',
|
|
623
624
|
'fabric.editor.requestToEditDismiss': 'ยกเลิก',
|
|
625
|
+
'fabric.editor.resizeHandle': 'ปรับขนาดตัวจัดการ',
|
|
624
626
|
'fabric.editor.resultsCount': '{selectedMatchPosition} จาก {totalResultsCount}',
|
|
625
627
|
'fabric.editor.richText': 'ใช้ข้อความ Rich Text',
|
|
626
628
|
'fabric.editor.rightSidebar': 'เค้าโครงแถบด้านขวา',
|
|
@@ -710,6 +712,8 @@ var _default = exports.default = {
|
|
|
710
712
|
'fabric.editor.toolbarMediaTitle': 'เพิ่มรูปภาพ วิดีโอ หรือไฟล์',
|
|
711
713
|
'fabric.editor.toolbarPositionFixedAtTop': 'ยึดไว้ที่ด้านบน',
|
|
712
714
|
'fabric.editor.toolbarPositionInline': 'อยู่ในบรรทัดกับข้อความ',
|
|
715
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'ถอนการปักหมุดแถบเครื่องมือ',
|
|
716
|
+
'fabric.editor.toolbarPositionUnpined': 'ปักหมุดแถบเครื่องมือไว้ที่ด้านบน',
|
|
713
717
|
'fabric.editor.tooltip.blockPanel': 'แผง',
|
|
714
718
|
'fabric.editor.tooltip.bulletList': 'รายการ',
|
|
715
719
|
'fabric.editor.tooltip.decisionList': 'รายการตัดสินใจ',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -584,6 +584,7 @@ var _default = exports.default = {
|
|
|
584
584
|
'fabric.editor.moveColumnRight': '{0, plural, one {Sütunu sağa taşı} other {Sütunları sağa taşı}}',
|
|
585
585
|
'fabric.editor.moveDownDown': '{0, plural, one {Satırı aşağı taşı} other {Satırları aşağı taşı}}',
|
|
586
586
|
'fabric.editor.moveRowUp': '{0, plural, one {Satırı yukarı taşı} other {Satırları yukarı taşı}}',
|
|
587
|
+
'fabric.editor.navigate.toolbar.askAI': "AI'ye sor",
|
|
587
588
|
'fabric.editor.navigate.toolbar.editor': 'Düzenleyici araç çubuğuna gidin',
|
|
588
589
|
'fabric.editor.navigate.toolbar.floating': 'Kayan araç çubuğuna gidin',
|
|
589
590
|
'fabric.editor.noResultsFound': 'Sonuç yok',
|
|
@@ -636,6 +637,7 @@ var _default = exports.default = {
|
|
|
636
637
|
'fabric.editor.requestToEdit': 'Düzenleme talep et',
|
|
637
638
|
'fabric.editor.requestToEditDescription': 'Erişim talep ettiğinizde sayfa sahibi bir bildirim alır.',
|
|
638
639
|
'fabric.editor.requestToEditDismiss': 'Kapat',
|
|
640
|
+
'fabric.editor.resizeHandle': 'Yeniden boyutlandırma kolu',
|
|
639
641
|
'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
|
|
640
642
|
'fabric.editor.richText': 'Zengin metin kullan',
|
|
641
643
|
'fabric.editor.rightSidebar': 'Sağ kenar çubuğu yerleşimi',
|
|
@@ -725,6 +727,8 @@ var _default = exports.default = {
|
|
|
725
727
|
'fabric.editor.toolbarMediaTitle': 'Görsel, video ya da dosya ekleyin',
|
|
726
728
|
'fabric.editor.toolbarPositionFixedAtTop': 'Üstte sabitlendi',
|
|
727
729
|
'fabric.editor.toolbarPositionInline': 'Metin içeren satır içi',
|
|
730
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Araç çubuğunun sabitlenmesini kaldırın',
|
|
731
|
+
'fabric.editor.toolbarPositionUnpined': 'Araç çubuğunu en üste sabitleyin',
|
|
728
732
|
'fabric.editor.tooltip.blockPanel': 'pano',
|
|
729
733
|
'fabric.editor.tooltip.bulletList': 'bir liste',
|
|
730
734
|
'fabric.editor.tooltip.decisionList': 'karar listesi',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -569,6 +569,7 @@ var _default = exports.default = {
|
|
|
569
569
|
'fabric.editor.moveColumnRight': '{0, plural, one {Переміщення стовпця(-ів) управо} few {Переміщення стовпців управо} many {Переміщення стовпців управо} other {Переміщення стовпців управо}}',
|
|
570
570
|
'fabric.editor.moveDownDown': '{0, plural, one {Переміщення рядка(-ів) униз} few {Переміщення рядків униз} many {Переміщення рядків униз} other {Переміщення рядків униз}}',
|
|
571
571
|
'fabric.editor.moveRowUp': '{0, plural, one {Переміщення рядка(-ів) угору} few {Переміщення рядків угору} many {Переміщення рядків угору} other {Переміщення рядків угору}}',
|
|
572
|
+
'fabric.editor.navigate.toolbar.askAI': 'Запитати ШІ',
|
|
572
573
|
'fabric.editor.navigate.toolbar.editor': 'Перейти на панель інструментів редактора',
|
|
573
574
|
'fabric.editor.navigate.toolbar.floating': 'Перейти на рухому панель інструментів',
|
|
574
575
|
'fabric.editor.noResultsFound': 'Немає результатів',
|
|
@@ -621,6 +622,7 @@ var _default = exports.default = {
|
|
|
621
622
|
'fabric.editor.requestToEdit': 'Запит на редагування',
|
|
622
623
|
'fabric.editor.requestToEditDescription': 'Коли ви надішлете запит на доступ, власник сторінки отримає сповіщення.',
|
|
623
624
|
'fabric.editor.requestToEditDismiss': 'Закрити',
|
|
625
|
+
'fabric.editor.resizeHandle': 'Маркер для зміни розміру',
|
|
624
626
|
'fabric.editor.resultsCount': '{selectedMatchPosition} з {totalResultsCount}',
|
|
625
627
|
'fabric.editor.richText': 'Застосувати форматований текст',
|
|
626
628
|
'fabric.editor.rightSidebar': 'Макет із бічною панеллю праворуч',
|
|
@@ -709,7 +711,9 @@ var _default = exports.default = {
|
|
|
709
711
|
'fabric.editor.toolbarLabel': 'Редактор',
|
|
710
712
|
'fabric.editor.toolbarMediaTitle': 'Додавання зображення, відео або файлу',
|
|
711
713
|
'fabric.editor.toolbarPositionFixedAtTop': 'У верхній частині сторінки',
|
|
712
|
-
'fabric.editor.toolbarPositionInline': '
|
|
714
|
+
'fabric.editor.toolbarPositionInline': 'На рівні тексту',
|
|
715
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Відкріпити панель інструментів',
|
|
716
|
+
'fabric.editor.toolbarPositionUnpined': 'Закріпити панель інструментів угорі',
|
|
713
717
|
'fabric.editor.tooltip.blockPanel': 'панель',
|
|
714
718
|
'fabric.editor.tooltip.bulletList': 'список',
|
|
715
719
|
'fabric.editor.tooltip.decisionList': 'список рішень',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -569,6 +569,7 @@ var _default = exports.default = {
|
|
|
569
569
|
'fabric.editor.moveColumnRight': '{0, plural, other {Di chuyển cột sang phải}}',
|
|
570
570
|
'fabric.editor.moveDownDown': '{0, plural, other {Di chuyển hàng xuống dưới}}',
|
|
571
571
|
'fabric.editor.moveRowUp': '{0, plural, other {Di chuyển hàng lên trên}}',
|
|
572
|
+
'fabric.editor.navigate.toolbar.askAI': 'Hỏi AI',
|
|
572
573
|
'fabric.editor.navigate.toolbar.editor': 'Điều hướng đến thanh công cụ trình biên tập',
|
|
573
574
|
'fabric.editor.navigate.toolbar.floating': 'Điều hướng đến thanh công cụ nổi',
|
|
574
575
|
'fabric.editor.noResultsFound': 'Không có kết quả',
|
|
@@ -621,6 +622,7 @@ var _default = exports.default = {
|
|
|
621
622
|
'fabric.editor.requestToEdit': 'Yêu cầu sửa',
|
|
622
623
|
'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.',
|
|
623
624
|
'fabric.editor.requestToEditDismiss': 'Bỏ qua',
|
|
625
|
+
'fabric.editor.resizeHandle': 'Thay đổi kích thước thành phần điều khiển',
|
|
624
626
|
'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
|
|
625
627
|
'fabric.editor.richText': 'Dùng văn bản đa dạng thức',
|
|
626
628
|
'fabric.editor.rightSidebar': 'Bố cục thanh bên phải',
|
|
@@ -710,6 +712,8 @@ var _default = exports.default = {
|
|
|
710
712
|
'fabric.editor.toolbarMediaTitle': 'Thêm ảnh, video hoặc tệp',
|
|
711
713
|
'fabric.editor.toolbarPositionFixedAtTop': 'Cố định ở trên cùng',
|
|
712
714
|
'fabric.editor.toolbarPositionInline': 'Cùng dòng với văn bản',
|
|
715
|
+
'fabric.editor.toolbarPositionPinedAtTop': 'Bỏ ghim thanh công cụ',
|
|
716
|
+
'fabric.editor.toolbarPositionUnpined': 'Ghim thanh công cụ lên đầu',
|
|
713
717
|
'fabric.editor.tooltip.blockPanel': 'một bảng điều khiển',
|
|
714
718
|
'fabric.editor.tooltip.bulletList': 'một danh sách',
|
|
715
719
|
'fabric.editor.tooltip.decisionList': 'một danh sách quyết định',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -484,11 +484,11 @@ var _default = exports.default = {
|
|
|
484
484
|
'fabric.editor.image.fullWidthLabel': '全宽',
|
|
485
485
|
'fabric.editor.imageBorderBold': '加粗',
|
|
486
486
|
'fabric.editor.imageBorderColor': '颜色',
|
|
487
|
-
'fabric.editor.imageBorderColor.dropdownAriaLabel': '
|
|
487
|
+
'fabric.editor.imageBorderColor.dropdownAriaLabel': '图像边框选项“颜色”下拉列表',
|
|
488
488
|
'fabric.editor.imageBorderMedium': '中等',
|
|
489
489
|
'fabric.editor.imageBorderOptions': '边框选项',
|
|
490
490
|
'fabric.editor.imageBorderSize': '大小',
|
|
491
|
-
'fabric.editor.imageBorderSize.dropdownAriaLabel': '
|
|
491
|
+
'fabric.editor.imageBorderSize.dropdownAriaLabel': '图像边框选项“大小”下拉列表',
|
|
492
492
|
'fabric.editor.imageBorderSubtle': '细微',
|
|
493
493
|
'fabric.editor.improvement': '改进',
|
|
494
494
|
'fabric.editor.increaseSize': '增大表格或媒体大小',
|
|
@@ -584,6 +584,7 @@ var _default = exports.default = {
|
|
|
584
584
|
'fabric.editor.moveColumnRight': '{0, plural, other {将列右移}}',
|
|
585
585
|
'fabric.editor.moveDownDown': '{0, plural, other {将行下移}}',
|
|
586
586
|
'fabric.editor.moveRowUp': '{0, plural, other {将行上移}}',
|
|
587
|
+
'fabric.editor.navigate.toolbar.askAI': '询问人工智能',
|
|
587
588
|
'fabric.editor.navigate.toolbar.editor': '导航到编辑器工具栏',
|
|
588
589
|
'fabric.editor.navigate.toolbar.floating': '导航到浮动工具栏',
|
|
589
590
|
'fabric.editor.noResultsFound': '无结果',
|
|
@@ -636,6 +637,7 @@ var _default = exports.default = {
|
|
|
636
637
|
'fabric.editor.requestToEdit': '请求编辑',
|
|
637
638
|
'fabric.editor.requestToEditDescription': '当您请求访问权限时,页面负责人会收到通知。',
|
|
638
639
|
'fabric.editor.requestToEditDismiss': '关闭',
|
|
640
|
+
'fabric.editor.resizeHandle': '调整手柄大小',
|
|
639
641
|
'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
|
|
640
642
|
'fabric.editor.richText': '使用富文本',
|
|
641
643
|
'fabric.editor.rightSidebar': '右侧边栏布局',
|
|
@@ -720,11 +722,13 @@ var _default = exports.default = {
|
|
|
720
722
|
'fabric.editor.time.ago': '前',
|
|
721
723
|
'fabric.editor.time.updated': '上次更新时间',
|
|
722
724
|
'fabric.editor.time.viewed': '上次查看时间',
|
|
723
|
-
'fabric.editor.toolbarAppears': '
|
|
725
|
+
'fabric.editor.toolbarAppears': '显示工具栏',
|
|
724
726
|
'fabric.editor.toolbarLabel': '编辑器',
|
|
725
727
|
'fabric.editor.toolbarMediaTitle': '添加图像、视频或文件',
|
|
726
728
|
'fabric.editor.toolbarPositionFixedAtTop': '固定在顶部',
|
|
727
729
|
'fabric.editor.toolbarPositionInline': '与文本同行显示',
|
|
730
|
+
'fabric.editor.toolbarPositionPinedAtTop': '取消固定工具栏',
|
|
731
|
+
'fabric.editor.toolbarPositionUnpined': '将工具栏固定在顶部',
|
|
728
732
|
'fabric.editor.tooltip.blockPanel': '面板',
|
|
729
733
|
'fabric.editor.tooltip.bulletList': '一个列表',
|
|
730
734
|
'fabric.editor.tooltip.decisionList': '决策列表',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -584,6 +584,7 @@ var _default = exports.default = {
|
|
|
584
584
|
'fabric.editor.moveColumnRight': '{0, plural, other {將欄向右移動}}',
|
|
585
585
|
'fabric.editor.moveDownDown': '{0, plural, other {向下移動列}}',
|
|
586
586
|
'fabric.editor.moveRowUp': '{0, plural, other {向上移動列}}',
|
|
587
|
+
'fabric.editor.navigate.toolbar.askAI': '詢問人工智慧',
|
|
587
588
|
'fabric.editor.navigate.toolbar.editor': '導覽至編輯器工具列',
|
|
588
589
|
'fabric.editor.navigate.toolbar.floating': '導覽至浮動工具列',
|
|
589
590
|
'fabric.editor.noResultsFound': '沒有結果',
|
|
@@ -636,6 +637,7 @@ var _default = exports.default = {
|
|
|
636
637
|
'fabric.editor.requestToEdit': '要求編輯',
|
|
637
638
|
'fabric.editor.requestToEditDescription': '您要求權限時,頁面負責人會收到通知。',
|
|
638
639
|
'fabric.editor.requestToEditDismiss': '關閉',
|
|
640
|
+
'fabric.editor.resizeHandle': '重新調整控點大小',
|
|
639
641
|
'fabric.editor.resultsCount': '第 {selectedMatchPosition} 個,共 {totalResultsCount} 個',
|
|
640
642
|
'fabric.editor.richText': '使用 RTF',
|
|
641
643
|
'fabric.editor.rightSidebar': '右側邊欄版面配置',
|
|
@@ -725,6 +727,8 @@ var _default = exports.default = {
|
|
|
725
727
|
'fabric.editor.toolbarMediaTitle': '新增圖片、影片或檔案',
|
|
726
728
|
'fabric.editor.toolbarPositionFixedAtTop': '固定在頂部',
|
|
727
729
|
'fabric.editor.toolbarPositionInline': '與文字內嵌',
|
|
730
|
+
'fabric.editor.toolbarPositionPinedAtTop': '取消釘選工具列',
|
|
731
|
+
'fabric.editor.toolbarPositionUnpined': '將工具列釘選在頂端',
|
|
728
732
|
'fabric.editor.tooltip.blockPanel': '面板',
|
|
729
733
|
'fabric.editor.tooltip.bulletList': '清單',
|
|
730
734
|
'fabric.editor.tooltip.decisionList': '決定清單',
|
|
@@ -13,9 +13,9 @@ var _react2 = require("@emotion/react");
|
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
14
|
var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsContext"));
|
|
15
15
|
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
16
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
|
|
16
17
|
var _customizePreferences = _interopRequireDefault(require("@atlaskit/icon/core/migration/customize--preferences"));
|
|
17
18
|
var _linkExternalShortcut = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-external--shortcut"));
|
|
18
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
|
|
19
19
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
20
|
var _messages = require("../../messages");
|
|
21
21
|
var _StyledButton = require("./StyledButton");
|
|
@@ -83,7 +83,8 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
83
83
|
}, props, {
|
|
84
84
|
iconBefore: (0, _react2.jsx)(_chevronDown.default, {
|
|
85
85
|
label: configureLinkLabel,
|
|
86
|
-
LEGACY_size: "small"
|
|
86
|
+
LEGACY_size: "small",
|
|
87
|
+
size: "small"
|
|
87
88
|
}),
|
|
88
89
|
onClick: function onClick(e) {
|
|
89
90
|
_onClick === null || _onClick === void 0 || _onClick(e);
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "106.
|
|
19
|
+
var packageVersion = "106.5.1";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
|
@@ -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 = "106.
|
|
26
|
+
var packageVersion = "106.5.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -10,7 +10,7 @@ exports.ToolbarExpandIcon = ToolbarExpandIcon;
|
|
|
10
10
|
require("./ExpandIcon.compiled.css");
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/
|
|
13
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
|
|
14
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
15
15
|
var expandIconContainerStyle = null;
|
|
16
16
|
function ToolbarExpandIcon() {
|
|
@@ -19,6 +19,7 @@ function ToolbarExpandIcon() {
|
|
|
19
19
|
}, /*#__PURE__*/React.createElement(_chevronDown.default, {
|
|
20
20
|
label: "",
|
|
21
21
|
color: "currentColor",
|
|
22
|
-
LEGACY_margin: "0 0 0 -8px"
|
|
22
|
+
LEGACY_margin: "0 0 0 -8px",
|
|
23
|
+
size: "small"
|
|
23
24
|
}));
|
|
24
25
|
}
|
|
@@ -13,8 +13,8 @@ var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-
|
|
|
13
13
|
var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
|
|
14
14
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
15
15
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
16
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/
|
|
17
|
-
var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/
|
|
16
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
17
|
+
var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-down"));
|
|
18
18
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
19
|
var _primitives = require("@atlaskit/primitives");
|
|
20
20
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
@@ -291,11 +291,12 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
291
291
|
css: buttonStyleVisualRefresh
|
|
292
292
|
}), (0, _react2.jsx)(_primitives.Box, {
|
|
293
293
|
xcss: colorPickerExpandContainerVisualRefresh
|
|
294
|
-
}, (0, _react2.jsx)(
|
|
294
|
+
}, (0, _react2.jsx)(_chevronDown.default, {
|
|
295
295
|
color: "currentColor",
|
|
296
296
|
spacing: "spacious",
|
|
297
|
-
LEGACY_fallbackIcon:
|
|
298
|
-
label: "color-picker-chevron-down"
|
|
297
|
+
LEGACY_fallbackIcon: _chevronDown2.default,
|
|
298
|
+
label: "color-picker-chevron-down",
|
|
299
|
+
size: "small"
|
|
299
300
|
}))))) : (0, _react2.jsx)(_standardButton.default, {
|
|
300
301
|
appearance: 'subtle',
|
|
301
302
|
ref: buttonRef,
|
|
@@ -315,11 +316,12 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
315
316
|
css: buttonStyle,
|
|
316
317
|
iconAfter: (0, _react2.jsx)(_primitives.Box, {
|
|
317
318
|
xcss: colorPickerExpandContainer
|
|
318
|
-
}, (0, _react2.jsx)(
|
|
319
|
+
}, (0, _react2.jsx)(_chevronDown.default, {
|
|
319
320
|
color: "currentColor",
|
|
320
321
|
spacing: "spacious",
|
|
321
|
-
LEGACY_fallbackIcon:
|
|
322
|
-
label: "color-picker-chevron-down"
|
|
322
|
+
LEGACY_fallbackIcon: _chevronDown2.default,
|
|
323
|
+
label: "color-picker-chevron-down",
|
|
324
|
+
size: "small"
|
|
323
325
|
})),
|
|
324
326
|
"data-selected-color": props.currentColor
|
|
325
327
|
})), renderPopup());
|
|
@@ -72,6 +72,9 @@ var Dropdown = exports.Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
72
72
|
key: "componentDidUpdate",
|
|
73
73
|
value: function componentDidUpdate(prevProps) {
|
|
74
74
|
if (!prevProps.isOpen && this.props.isOpen && this.state.target && (0, _platformFeatureFlags.fg)('platform_editor_floating_toolbar_dropdown_flicker')) {
|
|
75
|
+
// Dropdown flickers when opens as placement is calculated in Popup component and updated after the first render.
|
|
76
|
+
// popupPlacement is set to ['bottom', 'left'] by default, but it may not be the correct placement and is required in DropdownList.
|
|
77
|
+
// To avoid flicker we calculate placement here and set it to state when the dropdown opens.
|
|
75
78
|
var initialPlacement = (0, _utils.calculatePlacement)(this.state.target, this.props.boundariesElement || document.body, this.props.fitWidth, this.props.fitHeight, this.props.alignX, this.props.alignY, this.props.forcePlacement);
|
|
76
79
|
this.setState({
|
|
77
80
|
popupPlacement: initialPlacement
|
|
@@ -14,7 +14,6 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
14
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
15
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
18
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
20
19
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
@@ -237,8 +236,5 @@ var withImageLoaderNew = function withImageLoaderNew(Wrapped) {
|
|
|
237
236
|
}(_react.Component);
|
|
238
237
|
};
|
|
239
238
|
var withImageLoader = exports.withImageLoader = function withImageLoader(Wrapped) {
|
|
240
|
-
|
|
241
|
-
return withImageLoaderNew(Wrapped);
|
|
242
|
-
}
|
|
243
|
-
return withImageLoaderOld(Wrapped);
|
|
239
|
+
return withImageLoaderNew(Wrapped);
|
|
244
240
|
};
|
|
@@ -175,6 +175,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
175
175
|
ACTION["UPLOAD_FAILED"] = "uploadFailed";
|
|
176
176
|
ACTION["TOGGLE_CODE_BLOCK_WRAP"] = "toggleCodeBlockWrap";
|
|
177
177
|
ACTION["RESIZED"] = "resized";
|
|
178
|
+
ACTION["RESIZED_PERF_SAMPLING"] = "resizedPerfSampling";
|
|
178
179
|
ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
|
|
179
180
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
180
181
|
ACTION["VIEW_MORE"] = "viewMore";
|
|
@@ -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
|
const styles = css({
|
|
14
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -20,33 +19,6 @@ const styles = css({
|
|
|
20
19
|
position: 'relative'
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
|
-
const viewportSizes = ['small', 'medium', 'default', 'large', 'xlarge'];
|
|
24
|
-
const macroHeights = {
|
|
25
|
-
small: '112px',
|
|
26
|
-
medium: '262px',
|
|
27
|
-
default: '262px',
|
|
28
|
-
large: '524px',
|
|
29
|
-
xlarge: '1048px'
|
|
30
|
-
};
|
|
31
|
-
const getViewportHeight = (extensionId, extensionViewportSizes) => {
|
|
32
|
-
var _extensionViewportSiz;
|
|
33
|
-
const viewportSize = Array.isArray(extensionViewportSizes) && extensionId ? (_extensionViewportSiz = extensionViewportSizes.find(ext => ext.extensionId === extensionId)) === null || _extensionViewportSiz === void 0 ? void 0 : _extensionViewportSiz.viewportSize : undefined;
|
|
34
|
-
if (!viewportSize) {
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// If it's a predefined size, use the macroHeights mapping
|
|
39
|
-
if (viewportSizes.includes(viewportSize)) {
|
|
40
|
-
return macroHeights[viewportSize];
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// This is added to somewhat prepare to support connect macros which don't have a predefined size
|
|
44
|
-
// If it's a custom pixel value, use it directly
|
|
45
|
-
if (viewportSize.endsWith('px')) {
|
|
46
|
-
return viewportSize;
|
|
47
|
-
}
|
|
48
|
-
return undefined;
|
|
49
|
-
};
|
|
50
22
|
/**
|
|
51
23
|
* If inlineExtension, add zero width space to the end of the nodes and wrap with span;
|
|
52
24
|
* Also if showMacroInteractionDesignUpdates is true, then add the inline-block style to account for the lozenge.
|
|
@@ -59,8 +31,7 @@ export const ExtensionNodeWrapper = ({
|
|
|
59
31
|
children,
|
|
60
32
|
nodeType,
|
|
61
33
|
macroInteractionDesignFeatureFlags,
|
|
62
|
-
|
|
63
|
-
extensionViewportSizes
|
|
34
|
+
nodeHeight
|
|
64
35
|
}) => {
|
|
65
36
|
const {
|
|
66
37
|
showMacroInteractionDesignUpdates
|
|
@@ -69,18 +40,18 @@ export const ExtensionNodeWrapper = ({
|
|
|
69
40
|
'inline-extension': nodeType === 'inlineExtension' && showMacroInteractionDesignUpdates,
|
|
70
41
|
relative: showMacroInteractionDesignUpdates
|
|
71
42
|
});
|
|
72
|
-
const viewportHeight = getViewportHeight(extensionId, extensionViewportSizes);
|
|
73
43
|
const content =
|
|
74
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
75
45
|
jsx("span", {
|
|
76
46
|
className: wrapperClassNames,
|
|
77
47
|
css: styles
|
|
78
48
|
}, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
|
|
79
|
-
if (
|
|
49
|
+
if (nodeHeight) {
|
|
50
|
+
const extensionStyles = {
|
|
51
|
+
minHeight: `${nodeHeight}px`
|
|
52
|
+
};
|
|
80
53
|
return jsx("div", {
|
|
81
|
-
style:
|
|
82
|
-
minHeight: viewportHeight
|
|
83
|
-
}
|
|
54
|
+
style: extensionStyles
|
|
84
55
|
}, content);
|
|
85
56
|
}
|
|
86
57
|
return content;
|
|
@@ -41,12 +41,11 @@ export class ExtensionNode extends ReactNodeView {
|
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
render(props, forwardRef) {
|
|
44
|
-
var
|
|
44
|
+
var _props$extensionNodeV, _props$extensionNodeV2, _props$extensionNodeV3;
|
|
45
45
|
return /*#__PURE__*/React.createElement(ExtensionNodeWrapper, {
|
|
46
46
|
nodeType: this.node.type.name,
|
|
47
47
|
macroInteractionDesignFeatureFlags: props.macroInteractionDesignFeatureFlags,
|
|
48
|
-
|
|
49
|
-
extensionViewportSizes: (_props$extensionNodeV = props.extensionNodeViewOptions) === null || _props$extensionNodeV === void 0 ? void 0 : _props$extensionNodeV.extensionViewportSizes
|
|
48
|
+
nodeHeight: (_props$extensionNodeV = props.extensionNodeViewOptions) === null || _props$extensionNodeV === void 0 ? void 0 : (_props$extensionNodeV2 = _props$extensionNodeV.getExtensionHeight) === null || _props$extensionNodeV2 === void 0 ? void 0 : _props$extensionNodeV2.call(_props$extensionNodeV, this.node)
|
|
50
49
|
}, /*#__PURE__*/React.createElement(Extension, {
|
|
51
50
|
editorView: this.view,
|
|
52
51
|
node: this.node,
|
|
@@ -62,7 +61,7 @@ export class ExtensionNode extends ReactNodeView {
|
|
|
62
61
|
providerFactory: props.providerFactory,
|
|
63
62
|
handleContentDOMRef: forwardRef,
|
|
64
63
|
extensionHandlers: props.extensionHandlers,
|
|
65
|
-
editorAppearance: (_props$
|
|
64
|
+
editorAppearance: (_props$extensionNodeV3 = props.extensionNodeViewOptions) === null || _props$extensionNodeV3 === void 0 ? void 0 : _props$extensionNodeV3.appearance,
|
|
66
65
|
pluginInjectionApi: props.pluginInjectionApi,
|
|
67
66
|
macroInteractionDesignFeatureFlags: props.macroInteractionDesignFeatureFlags,
|
|
68
67
|
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.**
|
|
@@ -12,5 +12,5 @@ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
|
12
12
|
* @returns
|
|
13
13
|
*/
|
|
14
14
|
export function sharedPluginStateHookMigratorFactory(newHook, oldHook) {
|
|
15
|
-
return conditionalHooksFactory(() =>
|
|
15
|
+
return conditionalHooksFactory(() => expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true), newHook, oldHook);
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEffect, useLayoutEffect, useMemo, useRef } from 'react';
|
|
2
2
|
import debounce from 'lodash/debounce';
|
|
3
|
-
import {
|
|
3
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
4
|
|
|
5
5
|
// Ignored via go/ees005
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -90,7 +90,7 @@ function usePluginStateEffectInternal(externalPlugins, effect, options = {}) {
|
|
|
90
90
|
// We should store the latest effect in a reference so it is more intuitive to the user
|
|
91
91
|
// and we are not causing a memory leak by having references to old state.
|
|
92
92
|
useLayoutEffect(() => {
|
|
93
|
-
if (options.disabled ||
|
|
93
|
+
if (options.disabled || !expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
latestEffect.current = debounce(effect);
|
|
@@ -99,7 +99,7 @@ function usePluginStateEffectInternal(externalPlugins, effect, options = {}) {
|
|
|
99
99
|
};
|
|
100
100
|
}, [effect, options.disabled]);
|
|
101
101
|
useEffect(() => {
|
|
102
|
-
if (options.disabled ||
|
|
102
|
+
if (options.disabled || expValEquals('platform_editor_usesharedpluginstateselector', 'isEnabled', true)) {
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
105
105
|
latestEffect.current = debounce(effect);
|
package/dist/es2019/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/es2019/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/es2019/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',
|