@atlaskit/editor-common 82.2.1 → 82.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/dist/cjs/extensibility/Extension/Extension/index.js +0 -1
- package/dist/cjs/extensibility/Extension/Extension/styles.js +4 -9
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +0 -1
- package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -4
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -5
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/cjs/i18n/cs.js +5 -5
- package/dist/cjs/i18n/da.js +9 -5
- package/dist/cjs/i18n/de.js +9 -5
- package/dist/cjs/i18n/en.js +8 -5
- package/dist/cjs/i18n/en_GB.js +8 -5
- package/dist/cjs/i18n/en_ZZ.js +8 -5
- package/dist/cjs/i18n/es.js +9 -5
- package/dist/cjs/i18n/fi.js +9 -5
- package/dist/cjs/i18n/fr.js +9 -5
- package/dist/cjs/i18n/hu.js +9 -5
- package/dist/cjs/i18n/it.js +9 -5
- package/dist/cjs/i18n/ja.js +9 -5
- package/dist/cjs/i18n/ko.js +9 -5
- package/dist/cjs/i18n/nb.js +5 -5
- package/dist/cjs/i18n/nl.js +9 -5
- package/dist/cjs/i18n/pl.js +9 -5
- package/dist/cjs/i18n/pt_BR.js +9 -5
- package/dist/cjs/i18n/ru.js +9 -5
- package/dist/cjs/i18n/sv.js +9 -5
- package/dist/cjs/i18n/th.js +4 -3
- package/dist/cjs/i18n/tr.js +7 -3
- package/dist/cjs/i18n/uk.js +9 -5
- package/dist/cjs/i18n/vi.js +9 -5
- package/dist/cjs/i18n/zh.js +8 -4
- package/dist/cjs/i18n/zh_TW.js +5 -5
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +57 -7
- package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +38 -2
- package/dist/cjs/ui-color/ColorPalette/index.js +4 -2
- package/dist/cjs/utils/annotation/index.js +24 -0
- package/dist/cjs/utils/index.js +6 -0
- package/dist/es2019/extensibility/Extension/Extension/index.js +0 -1
- package/dist/es2019/extensibility/Extension/Extension/styles.js +4 -9
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +0 -1
- package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -4
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -5
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/es2019/i18n/cs.js +5 -5
- package/dist/es2019/i18n/da.js +9 -5
- package/dist/es2019/i18n/de.js +9 -5
- package/dist/es2019/i18n/en.js +8 -5
- package/dist/es2019/i18n/en_GB.js +8 -5
- package/dist/es2019/i18n/en_ZZ.js +8 -5
- package/dist/es2019/i18n/es.js +9 -5
- package/dist/es2019/i18n/fi.js +9 -5
- package/dist/es2019/i18n/fr.js +9 -5
- package/dist/es2019/i18n/hu.js +9 -5
- package/dist/es2019/i18n/it.js +9 -5
- package/dist/es2019/i18n/ja.js +9 -5
- package/dist/es2019/i18n/ko.js +9 -5
- package/dist/es2019/i18n/nb.js +5 -5
- package/dist/es2019/i18n/nl.js +9 -5
- package/dist/es2019/i18n/pl.js +9 -5
- package/dist/es2019/i18n/pt_BR.js +9 -5
- package/dist/es2019/i18n/ru.js +9 -5
- package/dist/es2019/i18n/sv.js +9 -5
- package/dist/es2019/i18n/th.js +4 -3
- package/dist/es2019/i18n/tr.js +7 -3
- package/dist/es2019/i18n/uk.js +9 -5
- package/dist/es2019/i18n/vi.js +9 -5
- package/dist/es2019/i18n/zh.js +8 -4
- package/dist/es2019/i18n/zh_TW.js +5 -5
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +61 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +36 -1
- package/dist/es2019/ui-color/ColorPalette/index.js +4 -2
- package/dist/es2019/utils/annotation/index.js +22 -0
- package/dist/es2019/utils/index.js +1 -1
- package/dist/esm/extensibility/Extension/Extension/index.js +0 -1
- package/dist/esm/extensibility/Extension/Extension/styles.js +4 -9
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +0 -1
- package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -4
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +2 -5
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/esm/i18n/cs.js +5 -5
- package/dist/esm/i18n/da.js +9 -5
- package/dist/esm/i18n/de.js +9 -5
- package/dist/esm/i18n/en.js +8 -5
- package/dist/esm/i18n/en_GB.js +8 -5
- package/dist/esm/i18n/en_ZZ.js +8 -5
- package/dist/esm/i18n/es.js +9 -5
- package/dist/esm/i18n/fi.js +9 -5
- package/dist/esm/i18n/fr.js +9 -5
- package/dist/esm/i18n/hu.js +9 -5
- package/dist/esm/i18n/it.js +9 -5
- package/dist/esm/i18n/ja.js +9 -5
- package/dist/esm/i18n/ko.js +9 -5
- package/dist/esm/i18n/nb.js +5 -5
- package/dist/esm/i18n/nl.js +9 -5
- package/dist/esm/i18n/pl.js +9 -5
- package/dist/esm/i18n/pt_BR.js +9 -5
- package/dist/esm/i18n/ru.js +9 -5
- package/dist/esm/i18n/sv.js +9 -5
- package/dist/esm/i18n/th.js +4 -3
- package/dist/esm/i18n/tr.js +7 -3
- package/dist/esm/i18n/uk.js +9 -5
- package/dist/esm/i18n/vi.js +9 -5
- package/dist/esm/i18n/zh.js +8 -4
- package/dist/esm/i18n/zh_TW.js +5 -5
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Color/index.js +57 -7
- package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +37 -1
- package/dist/esm/ui-color/ColorPalette/index.js +4 -2
- package/dist/esm/utils/annotation/index.js +22 -0
- package/dist/esm/utils/index.js +1 -1
- package/dist/types/analytics/types/inline-comment-events.d.ts +1 -0
- package/dist/types/i18n/cs.d.ts +3 -3
- package/dist/types/i18n/da.d.ts +7 -3
- package/dist/types/i18n/de.d.ts +7 -3
- package/dist/types/i18n/en.d.ts +6 -3
- package/dist/types/i18n/en_GB.d.ts +6 -3
- package/dist/types/i18n/en_ZZ.d.ts +6 -3
- package/dist/types/i18n/es.d.ts +7 -3
- package/dist/types/i18n/fi.d.ts +7 -3
- package/dist/types/i18n/fr.d.ts +7 -3
- package/dist/types/i18n/hu.d.ts +7 -3
- package/dist/types/i18n/it.d.ts +7 -3
- package/dist/types/i18n/ja.d.ts +7 -3
- package/dist/types/i18n/ko.d.ts +7 -3
- package/dist/types/i18n/nb.d.ts +3 -3
- package/dist/types/i18n/nl.d.ts +7 -3
- package/dist/types/i18n/pl.d.ts +7 -3
- package/dist/types/i18n/pt_BR.d.ts +7 -3
- package/dist/types/i18n/ru.d.ts +7 -3
- package/dist/types/i18n/sv.d.ts +7 -3
- package/dist/types/i18n/th.d.ts +4 -3
- package/dist/types/i18n/tr.d.ts +7 -3
- package/dist/types/i18n/uk.d.ts +7 -3
- package/dist/types/i18n/vi.d.ts +7 -3
- package/dist/types/i18n/zh.d.ts +7 -3
- package/dist/types/i18n/zh_TW.d.ts +3 -3
- package/dist/types/types/feature-flags.d.ts +16 -0
- package/dist/types/ui-color/ColorPalette/Color/index.d.ts +5 -2
- package/dist/types/ui-color/ColorPalette/Palettes/highlightColorPalette.d.ts +3 -0
- package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +2 -0
- package/dist/types/utils/annotation/index.d.ts +10 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/inline-comment-events.d.ts +1 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +3 -3
- package/dist/types-ts4.5/i18n/da.d.ts +7 -3
- package/dist/types-ts4.5/i18n/de.d.ts +7 -3
- package/dist/types-ts4.5/i18n/en.d.ts +6 -3
- package/dist/types-ts4.5/i18n/en_GB.d.ts +6 -3
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +6 -3
- package/dist/types-ts4.5/i18n/es.d.ts +7 -3
- package/dist/types-ts4.5/i18n/fi.d.ts +7 -3
- package/dist/types-ts4.5/i18n/fr.d.ts +7 -3
- package/dist/types-ts4.5/i18n/hu.d.ts +7 -3
- package/dist/types-ts4.5/i18n/it.d.ts +7 -3
- package/dist/types-ts4.5/i18n/ja.d.ts +7 -3
- package/dist/types-ts4.5/i18n/ko.d.ts +7 -3
- package/dist/types-ts4.5/i18n/nb.d.ts +3 -3
- package/dist/types-ts4.5/i18n/nl.d.ts +7 -3
- package/dist/types-ts4.5/i18n/pl.d.ts +7 -3
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +7 -3
- package/dist/types-ts4.5/i18n/ru.d.ts +7 -3
- package/dist/types-ts4.5/i18n/sv.d.ts +7 -3
- package/dist/types-ts4.5/i18n/th.d.ts +4 -3
- package/dist/types-ts4.5/i18n/tr.d.ts +7 -3
- package/dist/types-ts4.5/i18n/uk.d.ts +7 -3
- package/dist/types-ts4.5/i18n/vi.d.ts +7 -3
- package/dist/types-ts4.5/i18n/zh.d.ts +7 -3
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +3 -3
- package/dist/types-ts4.5/types/feature-flags.d.ts +16 -0
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +5 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/highlightColorPalette.d.ts +3 -0
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +2 -0
- package/dist/types-ts4.5/utils/annotation/index.d.ts +10 -0
- package/dist/types-ts4.5/utils/index.d.ts +1 -1
- package/package.json +5 -2
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -118,7 +118,6 @@ var _default = exports.default = {
|
|
|
118
118
|
'fabric.editor.decision': 'การตัดสินใจ',
|
|
119
119
|
'fabric.editor.decision.description': 'สร้างกรอบการตัดสินใจเพื่อให้คุณติดตามได้ง่าย',
|
|
120
120
|
'fabric.editor.decisionPlaceholder': 'เพิ่มการตัดสินใจ…',
|
|
121
|
-
'fabric.editor.decreaseColumnSize': 'ลดขนาดคอลัมน์',
|
|
122
121
|
'fabric.editor.decreaseSize': 'ลดขนาด',
|
|
123
122
|
'fabric.editor.defaultAltText': 'เอกสาร',
|
|
124
123
|
'fabric.editor.description': 'คำอธิบาย',
|
|
@@ -136,6 +135,10 @@ var _default = exports.default = {
|
|
|
136
135
|
'fabric.editor.edit.searchInput': 'เพิ่มลิงก์',
|
|
137
136
|
'fabric.editor.editAltText': 'แก้ไขข้อความอธิบายรูปภาพ',
|
|
138
137
|
'fabric.editor.editDateText': 'แก้ไขวันที่',
|
|
138
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'แก้ไขคำถามการค้นหา',
|
|
139
|
+
'fabric.editor.editDropdownEditLinkTitle': 'แก้ไขลิงก์',
|
|
140
|
+
'fabric.editor.editDropdownExpandIconLabel': 'ขยายเมนูแบบเลื่อนลง',
|
|
141
|
+
'fabric.editor.editDropdownTriggerTitle': 'แก้ไข',
|
|
139
142
|
'fabric.editor.editLink': 'แก้ไขลิงก์',
|
|
140
143
|
'fabric.editor.editMode.inviteToEditButton.title': 'เชิญให้แก้ไข',
|
|
141
144
|
'fabric.editor.editStatusColor': 'แก้ไขสีสถานะ',
|
|
@@ -245,7 +248,6 @@ var _default = exports.default = {
|
|
|
245
248
|
'fabric.editor.imageBorderSize': 'ขนาด',
|
|
246
249
|
'fabric.editor.imageBorderSubtle': 'บาง',
|
|
247
250
|
'fabric.editor.improvement': 'การปรับปรุง',
|
|
248
|
-
'fabric.editor.increaseColumnSize': 'เพิ่มขนาดคอลัมน์',
|
|
249
251
|
'fabric.editor.increaseSize': 'เพิ่มขนาด',
|
|
250
252
|
'fabric.editor.indent': 'ย่อหน้าเข้า',
|
|
251
253
|
'fabric.editor.info': 'ข้อมูล',
|
|
@@ -440,7 +442,6 @@ var _default = exports.default = {
|
|
|
440
442
|
'fabric.editor.typeahead.mentionInputLabel': 'เริ่มพิมพ์เพื่อค้นหาผู้ใช้ที่จะแท็ก',
|
|
441
443
|
'fabric.editor.typeahead.mentionPopupLabel': 'ผู้ใช้ที่คุณสามารถแท็กได้',
|
|
442
444
|
'fabric.editor.typeahead.metionListItemLabel': 'ผู้ใช้ {name} @{shortName}',
|
|
443
|
-
'fabric.editor.unLockColumns': 'ความกว้างของคอลัมน์ที่หลากหลาย',
|
|
444
445
|
'fabric.editor.unableToLoadContent': 'เราไม่สามารถโหลดเนื้อหานี้ได้',
|
|
445
446
|
'fabric.editor.unableToOpenLink': 'ไม่สามารถเปิดลิงก์นี้ได้',
|
|
446
447
|
'fabric.editor.underline': 'ขีดเส้นใต้',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -118,7 +118,6 @@ var _default = exports.default = {
|
|
|
118
118
|
'fabric.editor.decision': 'Karar',
|
|
119
119
|
'fabric.editor.decision.description': 'Takibi kolaylaştırmak için kararları vurgulayın',
|
|
120
120
|
'fabric.editor.decisionPlaceholder': 'Karar ekle…',
|
|
121
|
-
'fabric.editor.decreaseColumnSize': 'Sütun boyutunu azalt',
|
|
122
121
|
'fabric.editor.decreaseSize': 'Boyutu azalt',
|
|
123
122
|
'fabric.editor.defaultAltText': 'Belge',
|
|
124
123
|
'fabric.editor.description': 'Açıklama',
|
|
@@ -136,6 +135,10 @@ var _default = exports.default = {
|
|
|
136
135
|
'fabric.editor.edit.searchInput': 'Bağlantı ekle',
|
|
137
136
|
'fabric.editor.editAltText': 'Alternatif metni düzenle',
|
|
138
137
|
'fabric.editor.editDateText': 'Tarihi Düzenleyin',
|
|
138
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Arama sorgusunu düzenle',
|
|
139
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Bağlantıyı düzenle',
|
|
140
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Açılır menüyü genişlet',
|
|
141
|
+
'fabric.editor.editDropdownTriggerTitle': 'Düzenle',
|
|
139
142
|
'fabric.editor.editLink': 'Bağlantıyı düzenleyin',
|
|
140
143
|
'fabric.editor.editMode.inviteToEditButton.title': 'Düzenlemek için davet edin',
|
|
141
144
|
'fabric.editor.editStatusColor': 'Durum Rengini Düzenle',
|
|
@@ -245,7 +248,6 @@ var _default = exports.default = {
|
|
|
245
248
|
'fabric.editor.imageBorderSize': 'Boyut',
|
|
246
249
|
'fabric.editor.imageBorderSubtle': 'Göze çarpmayan',
|
|
247
250
|
'fabric.editor.improvement': 'İyileştirme',
|
|
248
|
-
'fabric.editor.increaseColumnSize': 'Sütun boyutunu artır',
|
|
249
251
|
'fabric.editor.increaseSize': 'Boyutu artır',
|
|
250
252
|
'fabric.editor.indent': 'Girintile',
|
|
251
253
|
'fabric.editor.info': 'Bilgi',
|
|
@@ -261,6 +263,8 @@ var _default = exports.default = {
|
|
|
261
263
|
'fabric.editor.insertMenu': 'Öğe ekleyin',
|
|
262
264
|
'fabric.editor.insertRow': 'Aşağıya satır ekle',
|
|
263
265
|
'fabric.editor.insertRowDrag': 'Satır ekle',
|
|
266
|
+
'fabric.editor.insertTableColumn': 'Tablo sütunu ekle',
|
|
267
|
+
'fabric.editor.insertTableRow': 'Tablo satırı ekle',
|
|
264
268
|
'fabric.editor.invalidDateError': 'Geçerli bir tarih girin',
|
|
265
269
|
'fabric.editor.invalidLink': 'Lütfen geçerli bir bağlantı girin.',
|
|
266
270
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Takım arkadaşınızı {productName} ürününe davet edin} trusted {Takım arkadaşınızı {productName} ürününe davet edin} other {Takım arkadaşınızı {productName} ürününe ekleyin}}',
|
|
@@ -337,6 +341,7 @@ var _default = exports.default = {
|
|
|
337
341
|
'fabric.editor.placeholderTextPlaceholder': 'Yer tutucu metin ekleyin',
|
|
338
342
|
'fabric.editor.plainText': 'Düz metin kullan',
|
|
339
343
|
'fabric.editor.quickInsert': 'Hızlı ekleme',
|
|
344
|
+
'fabric.editor.recordLoomShortTitle': 'Kaydet',
|
|
340
345
|
'fabric.editor.recordVideo': 'Bir Loom videosu kaydedin',
|
|
341
346
|
'fabric.editor.recordVideo.description': 'Ekranınızı ve düşüncelerinizi kaydedin ve paylaşın',
|
|
342
347
|
'fabric.editor.redo': 'Yinele',
|
|
@@ -440,7 +445,6 @@ var _default = exports.default = {
|
|
|
440
445
|
'fabric.editor.typeahead.mentionInputLabel': 'Etiketlemek üzere kullanıcı aramak için yazmaya başlayın',
|
|
441
446
|
'fabric.editor.typeahead.mentionPopupLabel': 'Etiketleyebileceğiniz kullanıcılar',
|
|
442
447
|
'fabric.editor.typeahead.metionListItemLabel': '{name} adlı kullanıcı @{shortName}',
|
|
443
|
-
'fabric.editor.unLockColumns': 'Çeşitli sütun genişlikleri',
|
|
444
448
|
'fabric.editor.unableToLoadContent': 'Bu içerik yüklenemedi',
|
|
445
449
|
'fabric.editor.unableToOpenLink': 'Bu bağlantı açılamıyor',
|
|
446
450
|
'fabric.editor.underline': 'Altı çizili',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -118,8 +118,7 @@ var _default = exports.default = {
|
|
|
118
118
|
'fabric.editor.decision': 'Рішення',
|
|
119
119
|
'fabric.editor.decision.description': 'Зафіксувати рішення, щоб його було легко знайти',
|
|
120
120
|
'fabric.editor.decisionPlaceholder': 'Додати рішення...',
|
|
121
|
-
'fabric.editor.
|
|
122
|
-
'fabric.editor.decreaseSize': 'Зменшити розмір',
|
|
121
|
+
'fabric.editor.decreaseSize': 'Зменшення розміру таблиці або мультимедіа',
|
|
123
122
|
'fabric.editor.defaultAltText': 'Документ',
|
|
124
123
|
'fabric.editor.description': 'Опис',
|
|
125
124
|
'fabric.editor.displayBlock': 'Показати картку',
|
|
@@ -136,6 +135,10 @@ var _default = exports.default = {
|
|
|
136
135
|
'fabric.editor.edit.searchInput': 'Додати посилання',
|
|
137
136
|
'fabric.editor.editAltText': 'Редагувати текст заміщення',
|
|
138
137
|
'fabric.editor.editDateText': 'Змінення дати',
|
|
138
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Редагувати пошуковий запит',
|
|
139
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Редагування посилання',
|
|
140
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Розгорнути спадне меню',
|
|
141
|
+
'fabric.editor.editDropdownTriggerTitle': 'Редагувати',
|
|
139
142
|
'fabric.editor.editLink': 'Редагування посилання',
|
|
140
143
|
'fabric.editor.editMode.inviteToEditButton.title': 'Запросити для редагування',
|
|
141
144
|
'fabric.editor.editStatusColor': 'Змінення кольору стану',
|
|
@@ -245,8 +248,7 @@ var _default = exports.default = {
|
|
|
245
248
|
'fabric.editor.imageBorderSize': 'Розмір',
|
|
246
249
|
'fabric.editor.imageBorderSubtle': 'Тонка',
|
|
247
250
|
'fabric.editor.improvement': 'Покращення',
|
|
248
|
-
'fabric.editor.
|
|
249
|
-
'fabric.editor.increaseSize': 'Збільшити розмір',
|
|
251
|
+
'fabric.editor.increaseSize': 'Збільшення розміру таблиці або мультимедіа',
|
|
250
252
|
'fabric.editor.indent': 'Збільшити відступ',
|
|
251
253
|
'fabric.editor.info': 'Інформація',
|
|
252
254
|
'fabric.editor.infoPanel': 'Панель з інформацією',
|
|
@@ -261,6 +263,8 @@ var _default = exports.default = {
|
|
|
261
263
|
'fabric.editor.insertMenu': 'Вставка елементів',
|
|
262
264
|
'fabric.editor.insertRow': 'Вставити рядок знизу',
|
|
263
265
|
'fabric.editor.insertRowDrag': 'Вставити рядок',
|
|
266
|
+
'fabric.editor.insertTableColumn': 'Додайте стовпець таблиці',
|
|
267
|
+
'fabric.editor.insertTableRow': 'Додайте рядок таблиці',
|
|
264
268
|
'fabric.editor.invalidDateError': 'Введіть дійсну дату',
|
|
265
269
|
'fabric.editor.invalidLink': 'Введіть дійсне посилання.',
|
|
266
270
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Запрошення учасника команди до {productName}} trusted {Запрошення учасника команди до {productName}} other {Додавання учасника команди до {productName}}}',
|
|
@@ -337,6 +341,7 @@ var _default = exports.default = {
|
|
|
337
341
|
'fabric.editor.placeholderTextPlaceholder': 'Додати текст-заміщення',
|
|
338
342
|
'fabric.editor.plainText': 'Застосувати текст без форматування',
|
|
339
343
|
'fabric.editor.quickInsert': 'Швидка вставка',
|
|
344
|
+
'fabric.editor.recordLoomShortTitle': 'Записати',
|
|
340
345
|
'fabric.editor.recordVideo': 'Запишіть відео в Loom',
|
|
341
346
|
'fabric.editor.recordVideo.description': 'Зробіть запис екрана й поділіться своїми ідеями',
|
|
342
347
|
'fabric.editor.redo': 'Повторити',
|
|
@@ -440,7 +445,6 @@ var _default = exports.default = {
|
|
|
440
445
|
'fabric.editor.typeahead.mentionInputLabel': 'Почніть вводити текст для пошуку користувачів і згадування їх за допомогою тегу',
|
|
441
446
|
'fabric.editor.typeahead.mentionPopupLabel': 'Користувачі, яких можна згадати за допомогою тегу',
|
|
442
447
|
'fabric.editor.typeahead.metionListItemLabel': 'Користувач {name} (@{shortName})',
|
|
443
|
-
'fabric.editor.unLockColumns': 'Змінювана ширина стовпців',
|
|
444
448
|
'fabric.editor.unableToLoadContent': 'Не вдалося завантажити цей вміст',
|
|
445
449
|
'fabric.editor.unableToOpenLink': 'Не вдалося відкрити посилання',
|
|
446
450
|
'fabric.editor.underline': 'Підкреслювання',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -118,8 +118,7 @@ var _default = exports.default = {
|
|
|
118
118
|
'fabric.editor.decision': 'Quyết định',
|
|
119
119
|
'fabric.editor.decision.description': 'Thu thập các quyết định để dễ dàng theo dõi',
|
|
120
120
|
'fabric.editor.decisionPlaceholder': 'Thêm quyết định…',
|
|
121
|
-
'fabric.editor.
|
|
122
|
-
'fabric.editor.decreaseSize': 'Giảm kích thước',
|
|
121
|
+
'fabric.editor.decreaseSize': 'Giảm kích thước bảng hoặc nội dung nghe nhìn',
|
|
123
122
|
'fabric.editor.defaultAltText': 'Tài liệu',
|
|
124
123
|
'fabric.editor.description': 'Mô tả',
|
|
125
124
|
'fabric.editor.displayBlock': 'Hiển thị thẻ',
|
|
@@ -136,6 +135,10 @@ var _default = exports.default = {
|
|
|
136
135
|
'fabric.editor.edit.searchInput': 'Thêm một đường liên kết',
|
|
137
136
|
'fabric.editor.editAltText': 'Chỉnh sửa văn bản thay thế',
|
|
138
137
|
'fabric.editor.editDateText': 'Sửa ngày',
|
|
138
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Sửa truy vấn tìm kiếm',
|
|
139
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Sửa liên kết',
|
|
140
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Mở rộng menu thả xuống',
|
|
141
|
+
'fabric.editor.editDropdownTriggerTitle': 'Sửa',
|
|
139
142
|
'fabric.editor.editLink': 'Chỉnh sửa liên kết',
|
|
140
143
|
'fabric.editor.editMode.inviteToEditButton.title': 'Mời chỉnh sửa',
|
|
141
144
|
'fabric.editor.editStatusColor': 'Sửa màu trạng thái',
|
|
@@ -245,8 +248,7 @@ var _default = exports.default = {
|
|
|
245
248
|
'fabric.editor.imageBorderSize': 'Kích cỡ',
|
|
246
249
|
'fabric.editor.imageBorderSubtle': 'Nhạt',
|
|
247
250
|
'fabric.editor.improvement': 'Cải tiến',
|
|
248
|
-
'fabric.editor.
|
|
249
|
-
'fabric.editor.increaseSize': 'Tăng kích thước',
|
|
251
|
+
'fabric.editor.increaseSize': 'Tăng kích thước bảng hoặc nội dung nghe nhìn',
|
|
250
252
|
'fabric.editor.indent': 'Thụt lề',
|
|
251
253
|
'fabric.editor.info': 'Thông tin',
|
|
252
254
|
'fabric.editor.infoPanel': 'Ô thông tin',
|
|
@@ -261,6 +263,8 @@ var _default = exports.default = {
|
|
|
261
263
|
'fabric.editor.insertMenu': 'Chèn thành phần',
|
|
262
264
|
'fabric.editor.insertRow': 'Chèn hàng ở bên dưới',
|
|
263
265
|
'fabric.editor.insertRowDrag': 'Chèn hàng',
|
|
266
|
+
'fabric.editor.insertTableColumn': 'Chèn cột bảng',
|
|
267
|
+
'fabric.editor.insertTableRow': 'Chèn hàng bảng',
|
|
264
268
|
'fabric.editor.invalidDateError': 'Nhập ngày hợp lệ',
|
|
265
269
|
'fabric.editor.invalidLink': 'Vui lòng nhập một liên kết hợp lệ.',
|
|
266
270
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Mời thành viên cùng nhóm vào {productName}} trusted {Mời thành viên cùng nhóm vào {productName}} other {Thêm thành viên cùng nhóm vào {productName}}}',
|
|
@@ -337,6 +341,7 @@ var _default = exports.default = {
|
|
|
337
341
|
'fabric.editor.placeholderTextPlaceholder': 'Thêm văn bản giữ chỗ',
|
|
338
342
|
'fabric.editor.plainText': 'Dùng văn bản thuần túy',
|
|
339
343
|
'fabric.editor.quickInsert': 'Chèn nhanh',
|
|
344
|
+
'fabric.editor.recordLoomShortTitle': 'Ghi',
|
|
340
345
|
'fabric.editor.recordVideo': 'Quay video Loom',
|
|
341
346
|
'fabric.editor.recordVideo.description': 'Quay lại và chia sẻ màn hình cũng như suy nghĩ của bạn',
|
|
342
347
|
'fabric.editor.redo': 'Làm lại',
|
|
@@ -440,7 +445,6 @@ var _default = exports.default = {
|
|
|
440
445
|
'fabric.editor.typeahead.mentionInputLabel': 'Bắt đầu nhập để tìm kiếm người dùng để gắn thẻ',
|
|
441
446
|
'fabric.editor.typeahead.mentionPopupLabel': 'Người dùng bạn có thể gắn thẻ',
|
|
442
447
|
'fabric.editor.typeahead.metionListItemLabel': 'Người dùng {name} @{shortName}',
|
|
443
|
-
'fabric.editor.unLockColumns': 'Chiều rộng cột thay đổi',
|
|
444
448
|
'fabric.editor.unableToLoadContent': 'Chúng tôi không tải được nội dung này',
|
|
445
449
|
'fabric.editor.unableToOpenLink': 'Không thể mở liên kết này',
|
|
446
450
|
'fabric.editor.underline': 'Gạch dưới',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -118,7 +118,6 @@ var _default = exports.default = {
|
|
|
118
118
|
'fabric.editor.decision': '决定',
|
|
119
119
|
'fabric.editor.decision.description': '捕获决策,以便轻松跟踪',
|
|
120
120
|
'fabric.editor.decisionPlaceholder': '添加决定...',
|
|
121
|
-
'fabric.editor.decreaseColumnSize': '减小列大小',
|
|
122
121
|
'fabric.editor.decreaseSize': '减小大小',
|
|
123
122
|
'fabric.editor.defaultAltText': '文档',
|
|
124
123
|
'fabric.editor.description': '描述',
|
|
@@ -136,6 +135,10 @@ var _default = exports.default = {
|
|
|
136
135
|
'fabric.editor.edit.searchInput': '添加链接',
|
|
137
136
|
'fabric.editor.editAltText': '编辑替代文本',
|
|
138
137
|
'fabric.editor.editDateText': '编辑日期',
|
|
138
|
+
'fabric.editor.editDropdownEditDatasourceTitle': '编辑搜索查询',
|
|
139
|
+
'fabric.editor.editDropdownEditLinkTitle': '编辑链接',
|
|
140
|
+
'fabric.editor.editDropdownExpandIconLabel': '展开下拉菜单',
|
|
141
|
+
'fabric.editor.editDropdownTriggerTitle': '编辑',
|
|
139
142
|
'fabric.editor.editLink': '编辑链接',
|
|
140
143
|
'fabric.editor.editMode.inviteToEditButton.title': '邀请编辑',
|
|
141
144
|
'fabric.editor.editStatusColor': '编辑状态颜色',
|
|
@@ -245,8 +248,7 @@ var _default = exports.default = {
|
|
|
245
248
|
'fabric.editor.imageBorderSize': '大小',
|
|
246
249
|
'fabric.editor.imageBorderSubtle': '细微',
|
|
247
250
|
'fabric.editor.improvement': '改进',
|
|
248
|
-
'fabric.editor.
|
|
249
|
-
'fabric.editor.increaseSize': '增大大小',
|
|
251
|
+
'fabric.editor.increaseSize': '增大表格或媒体大小',
|
|
250
252
|
'fabric.editor.indent': '增大缩进',
|
|
251
253
|
'fabric.editor.info': '信息',
|
|
252
254
|
'fabric.editor.infoPanel': '信息面板',
|
|
@@ -261,6 +263,8 @@ var _default = exports.default = {
|
|
|
261
263
|
'fabric.editor.insertMenu': '插入元素',
|
|
262
264
|
'fabric.editor.insertRow': '在下方插入行',
|
|
263
265
|
'fabric.editor.insertRowDrag': '插入行',
|
|
266
|
+
'fabric.editor.insertTableColumn': '插入表格列',
|
|
267
|
+
'fabric.editor.insertTableRow': '插入表格行',
|
|
264
268
|
'fabric.editor.invalidDateError': '输入有效日期',
|
|
265
269
|
'fabric.editor.invalidLink': '请输入有效链接。',
|
|
266
270
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {邀请团队成员加入 {productName}} trusted {邀请团队成员加入 {productName}} other {将团队成员添加至 {productName}}}',
|
|
@@ -337,6 +341,7 @@ var _default = exports.default = {
|
|
|
337
341
|
'fabric.editor.placeholderTextPlaceholder': '添加占位文本',
|
|
338
342
|
'fabric.editor.plainText': '使用纯文本',
|
|
339
343
|
'fabric.editor.quickInsert': '快速插入',
|
|
344
|
+
'fabric.editor.recordLoomShortTitle': '录制',
|
|
340
345
|
'fabric.editor.recordVideo': '录制 Loom 视频',
|
|
341
346
|
'fabric.editor.recordVideo.description': '录制并共享您的屏幕和想法',
|
|
342
347
|
'fabric.editor.redo': '重做',
|
|
@@ -440,7 +445,6 @@ var _default = exports.default = {
|
|
|
440
445
|
'fabric.editor.typeahead.mentionInputLabel': '开始输入以搜索要标记的用户',
|
|
441
446
|
'fabric.editor.typeahead.mentionPopupLabel': '您可以标记的用户',
|
|
442
447
|
'fabric.editor.typeahead.metionListItemLabel': '用户 {name} @{shortName}',
|
|
443
|
-
'fabric.editor.unLockColumns': '可变列宽',
|
|
444
448
|
'fabric.editor.unableToLoadContent': '无法加载此内容',
|
|
445
449
|
'fabric.editor.unableToOpenLink': '无法打开此链接',
|
|
446
450
|
'fabric.editor.underline': '下划线',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -118,8 +118,7 @@ var _default = exports.default = {
|
|
|
118
118
|
'fabric.editor.decision': '決定',
|
|
119
119
|
'fabric.editor.decision.description': '擷取決定以便追蹤',
|
|
120
120
|
'fabric.editor.decisionPlaceholder': '新增決定…',
|
|
121
|
-
'fabric.editor.
|
|
122
|
-
'fabric.editor.decreaseSize': '縮減大小',
|
|
121
|
+
'fabric.editor.decreaseSize': '縮小表格或媒體大小',
|
|
123
122
|
'fabric.editor.defaultAltText': '文件',
|
|
124
123
|
'fabric.editor.description': '描述',
|
|
125
124
|
'fabric.editor.displayBlock': '顯示卡片',
|
|
@@ -249,8 +248,7 @@ var _default = exports.default = {
|
|
|
249
248
|
'fabric.editor.imageBorderSize': '大小',
|
|
250
249
|
'fabric.editor.imageBorderSubtle': '不明顯的',
|
|
251
250
|
'fabric.editor.improvement': '改善',
|
|
252
|
-
'fabric.editor.
|
|
253
|
-
'fabric.editor.increaseSize': '增加大小',
|
|
251
|
+
'fabric.editor.increaseSize': '增加表格或媒體大小',
|
|
254
252
|
'fabric.editor.indent': '增加縮排',
|
|
255
253
|
'fabric.editor.info': '資訊',
|
|
256
254
|
'fabric.editor.infoPanel': '資訊面板',
|
|
@@ -265,6 +263,8 @@ var _default = exports.default = {
|
|
|
265
263
|
'fabric.editor.insertMenu': '插入元素',
|
|
266
264
|
'fabric.editor.insertRow': '在下方插入列',
|
|
267
265
|
'fabric.editor.insertRowDrag': '插入列',
|
|
266
|
+
'fabric.editor.insertTableColumn': '插入表格欄',
|
|
267
|
+
'fabric.editor.insertTableRow': '插入表格列',
|
|
268
268
|
'fabric.editor.invalidDateError': '請輸入有效的日期',
|
|
269
269
|
'fabric.editor.invalidLink': '請輸入有效的連結。',
|
|
270
270
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {邀請團隊成員加入 {productName}} trusted {邀請團隊成員加入 {productName}} other {將團隊成員新增至 {productName}}}',
|
|
@@ -341,6 +341,7 @@ var _default = exports.default = {
|
|
|
341
341
|
'fabric.editor.placeholderTextPlaceholder': '新增預留位置文字',
|
|
342
342
|
'fabric.editor.plainText': '使用純文字',
|
|
343
343
|
'fabric.editor.quickInsert': '快速插入',
|
|
344
|
+
'fabric.editor.recordLoomShortTitle': '錄製',
|
|
344
345
|
'fabric.editor.recordVideo': '錄製 Loom 影片',
|
|
345
346
|
'fabric.editor.recordVideo.description': '錄製並分享您的畫面和想法',
|
|
346
347
|
'fabric.editor.redo': '重做',
|
|
@@ -444,7 +445,6 @@ var _default = exports.default = {
|
|
|
444
445
|
'fabric.editor.typeahead.mentionInputLabel': '開始輸入以搜尋要標記的使用者',
|
|
445
446
|
'fabric.editor.typeahead.mentionPopupLabel': '您可以標記的使用者',
|
|
446
447
|
'fabric.editor.typeahead.metionListItemLabel': '使用者 {name} @{shortName}',
|
|
447
|
-
'fabric.editor.unLockColumns': '變數欄寬',
|
|
448
448
|
'fabric.editor.unableToLoadContent': '我們無法載入此內容',
|
|
449
449
|
'fabric.editor.unableToOpenLink': '無法開啟此連結',
|
|
450
450
|
'fabric.editor.underline': '底線',
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "82.
|
|
20
|
+
var packageVersion = "82.3.0";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
|
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "82.
|
|
23
|
+
var packageVersion = "82.3.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -16,6 +16,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _react2 = require("@emotion/react");
|
|
18
18
|
var _done = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/done"));
|
|
19
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
20
|
var _colors = require("@atlaskit/theme/colors");
|
|
20
21
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
21
22
|
var _styles = require("./styles");
|
|
@@ -23,12 +24,60 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
23
24
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
24
25
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
25
26
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
function FunctionalComponentColor(props) {
|
|
28
|
+
var autoFocus = props.autoFocus,
|
|
29
|
+
tabIndex = props.tabIndex,
|
|
30
|
+
value = props.value,
|
|
31
|
+
label = props.label,
|
|
32
|
+
isSelected = props.isSelected,
|
|
33
|
+
borderColor = props.borderColor,
|
|
34
|
+
_props$checkMarkColor = props.checkMarkColor,
|
|
35
|
+
checkMarkColor = _props$checkMarkColor === void 0 ? _colors.N0 : _props$checkMarkColor,
|
|
36
|
+
hexToPaletteColor = props.hexToPaletteColor,
|
|
37
|
+
decorator = props.decorator;
|
|
38
|
+
var colorStyle = hexToPaletteColor ? hexToPaletteColor(value) : value;
|
|
39
|
+
var onMouseDown = function onMouseDown(e) {
|
|
40
|
+
e.preventDefault();
|
|
41
|
+
};
|
|
42
|
+
var onClick = function onClick(e) {
|
|
43
|
+
var onClick = props.onClick,
|
|
44
|
+
value = props.value,
|
|
45
|
+
label = props.label;
|
|
46
|
+
e.preventDefault();
|
|
47
|
+
onClick(value, label);
|
|
48
|
+
};
|
|
49
|
+
return (0, _react2.jsx)(_tooltip.default, {
|
|
50
|
+
content: label
|
|
51
|
+
}, (0, _react2.jsx)("span", {
|
|
52
|
+
css: _styles.buttonWrapperStyle
|
|
53
|
+
}, (0, _react2.jsx)("button", {
|
|
54
|
+
type: "button",
|
|
55
|
+
css: _styles.buttonStyle,
|
|
56
|
+
"aria-label": label,
|
|
57
|
+
role: "radio",
|
|
58
|
+
"aria-checked": isSelected,
|
|
59
|
+
onClick: onClick,
|
|
60
|
+
onMouseDown: onMouseDown,
|
|
61
|
+
tabIndex: tabIndex
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
63
|
+
,
|
|
64
|
+
className: "".concat(isSelected ? 'selected' : ''),
|
|
65
|
+
style: {
|
|
66
|
+
backgroundColor: colorStyle || 'transparent',
|
|
67
|
+
border: "1px solid ".concat(borderColor)
|
|
68
|
+
},
|
|
69
|
+
autoFocus: autoFocus
|
|
70
|
+
}, isSelected && (0, _react2.jsx)(_done.default, {
|
|
71
|
+
primaryColor: checkMarkColor,
|
|
72
|
+
label: ""
|
|
73
|
+
}), decorator)));
|
|
74
|
+
}
|
|
75
|
+
var ClassComponentColor = /*#__PURE__*/function (_PureComponent) {
|
|
76
|
+
(0, _inherits2.default)(ClassComponentColor, _PureComponent);
|
|
77
|
+
var _super = _createSuper(ClassComponentColor);
|
|
78
|
+
function ClassComponentColor() {
|
|
30
79
|
var _this;
|
|
31
|
-
(0, _classCallCheck2.default)(this,
|
|
80
|
+
(0, _classCallCheck2.default)(this, ClassComponentColor);
|
|
32
81
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
33
82
|
args[_key] = arguments[_key];
|
|
34
83
|
}
|
|
@@ -46,7 +95,7 @@ var Color = /*#__PURE__*/function (_PureComponent) {
|
|
|
46
95
|
});
|
|
47
96
|
return _this;
|
|
48
97
|
}
|
|
49
|
-
(0, _createClass2.default)(
|
|
98
|
+
(0, _createClass2.default)(ClassComponentColor, [{
|
|
50
99
|
key: "render",
|
|
51
100
|
value: function render() {
|
|
52
101
|
var _this$props2 = this.props,
|
|
@@ -87,6 +136,7 @@ var Color = /*#__PURE__*/function (_PureComponent) {
|
|
|
87
136
|
}))));
|
|
88
137
|
}
|
|
89
138
|
}]);
|
|
90
|
-
return
|
|
139
|
+
return ClassComponentColor;
|
|
91
140
|
}(_react.PureComponent);
|
|
141
|
+
var Color = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.transparent-diagonal-decorator') ? FunctionalComponentColor : ClassComponentColor;
|
|
92
142
|
var _default = exports.default = Color;
|
|
@@ -4,19 +4,55 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.highlightColorPalette = exports.REMOVE_HIGHLIGHT_COLOR = void 0;
|
|
7
|
+
exports.highlightColorPalette = exports.REMOVE_HIGHLIGHT_COLOR = exports.EditorDiagonalLineIcon = void 0;
|
|
8
|
+
var _react = require("@emotion/react");
|
|
8
9
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
10
|
+
var _icon = _interopRequireDefault(require("@atlaskit/icon"));
|
|
11
|
+
var _tokens = require("@atlaskit/tokens");
|
|
9
12
|
var _common = require("./common");
|
|
10
13
|
var _getColorMessage = _interopRequireDefault(require("./getColorMessage"));
|
|
11
14
|
var _paletteMessages = _interopRequireDefault(require("./paletteMessages"));
|
|
12
15
|
var _textColorPalette = require("./textColorPalette");
|
|
16
|
+
/** @jsx jsx */
|
|
17
|
+
|
|
13
18
|
var REMOVE_HIGHLIGHT_COLOR = exports.REMOVE_HIGHLIGHT_COLOR = '#00000000';
|
|
19
|
+
var DiagonalLineGlyph = function DiagonalLineGlyph() {
|
|
20
|
+
return (0, _react.jsx)("svg", {
|
|
21
|
+
width: "24",
|
|
22
|
+
height: "24",
|
|
23
|
+
viewBox: "0 0 24 24",
|
|
24
|
+
fill: "none",
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
+
}, (0, _react.jsx)("rect", {
|
|
27
|
+
width: "24",
|
|
28
|
+
height: "24",
|
|
29
|
+
fill: "white",
|
|
30
|
+
fillOpacity: "0.01"
|
|
31
|
+
}), (0, _react.jsx)("path", {
|
|
32
|
+
fillRule: "evenodd",
|
|
33
|
+
clipRule: "evenodd",
|
|
34
|
+
d: "M17.2038 7.70388C17.5955 8.09565 17.5941 8.73128 17.2005 9.12127L9.1213 17.1277C8.73027 17.5152 8.09958 17.5138 7.71031 17.1245C7.31854 16.7328 7.31997 16.0971 7.71351 15.7071L15.7928 7.70069C16.1838 7.31318 16.8145 7.31461 17.2038 7.70388Z",
|
|
35
|
+
fill: "currentColor",
|
|
36
|
+
fillOpacity: "0.5"
|
|
37
|
+
}));
|
|
38
|
+
};
|
|
39
|
+
var EditorDiagonalLineIcon = exports.EditorDiagonalLineIcon = function EditorDiagonalLineIcon() {
|
|
40
|
+
var _useThemeObserver = (0, _tokens.useThemeObserver)(),
|
|
41
|
+
colorMode = _useThemeObserver.colorMode;
|
|
42
|
+
var primaryColor = colorMode === 'dark' ? "var(--ds-background-accent-gray-bolder, #626F86)" : "var(--ds-background-accent-gray-subtle, #8590A2)";
|
|
43
|
+
return (0, _react.jsx)(_icon.default, {
|
|
44
|
+
glyph: DiagonalLineGlyph,
|
|
45
|
+
label: "",
|
|
46
|
+
primaryColor: primaryColor
|
|
47
|
+
});
|
|
48
|
+
};
|
|
14
49
|
var highlightColorPalette = exports.highlightColorPalette = [{
|
|
15
50
|
value: REMOVE_HIGHLIGHT_COLOR,
|
|
16
51
|
label: 'No color',
|
|
17
52
|
// Mostly informative, only used for analytics
|
|
18
53
|
border: _common.DEFAULT_BORDER_COLOR,
|
|
19
|
-
message: (0, _getColorMessage.default)(_paletteMessages.default, 'no-color')
|
|
54
|
+
message: (0, _getColorMessage.default)(_paletteMessages.default, 'no-color'),
|
|
55
|
+
decorator: (0, _react.jsx)(EditorDiagonalLineIcon, null)
|
|
20
56
|
}];
|
|
21
57
|
_adfSchema.backgroundColorPalette.forEach(function (label, color) {
|
|
22
58
|
highlightColorPalette.push((0, _textColorPalette.mapPaletteColor)(label, color));
|
|
@@ -72,7 +72,8 @@ var ColorPalette = function ColorPalette(props) {
|
|
|
72
72
|
var value = _ref.value,
|
|
73
73
|
label = _ref.label,
|
|
74
74
|
border = _ref.border,
|
|
75
|
-
message = _ref.message
|
|
75
|
+
message = _ref.message,
|
|
76
|
+
decorator = _ref.decorator;
|
|
76
77
|
if (paletteColorTooltipMessages) {
|
|
77
78
|
if (tokenTheme === 'dark') {
|
|
78
79
|
message = (0, _getColorMessage.default)(paletteColorTooltipMessages.dark, value.toUpperCase());
|
|
@@ -89,7 +90,8 @@ var ColorPalette = function ColorPalette(props) {
|
|
|
89
90
|
onClick: onClick,
|
|
90
91
|
isSelected: value === selectedColor,
|
|
91
92
|
checkMarkColor: getCheckMarkColor(value, useIconToken),
|
|
92
|
-
hexToPaletteColor: hexToPaletteColor
|
|
93
|
+
hexToPaletteColor: hexToPaletteColor,
|
|
94
|
+
decorator: decorator
|
|
93
95
|
});
|
|
94
96
|
}));
|
|
95
97
|
}));
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.canApplyAnnotationOnRange = void 0;
|
|
7
8
|
exports.containsAnyAnnotations = containsAnyAnnotations;
|
|
8
9
|
exports.getAnnotationIdsFromRange = void 0;
|
|
10
|
+
exports.getRangeInlineNodeNames = getRangeInlineNodeNames;
|
|
9
11
|
exports.hasAnnotationMark = hasAnnotationMark;
|
|
12
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
10
13
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
14
|
var canApplyAnnotationOnRange = exports.canApplyAnnotationOnRange = function canApplyAnnotationOnRange(rangeSelection, doc, schema) {
|
|
12
15
|
var from = rangeSelection.from,
|
|
@@ -98,4 +101,25 @@ function containsAnyAnnotations(slice, state) {
|
|
|
98
101
|
});
|
|
99
102
|
});
|
|
100
103
|
return hasAnnotation;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* This returns a list of node names that are inline nodes in the range.
|
|
108
|
+
*/
|
|
109
|
+
function getRangeInlineNodeNames(_ref) {
|
|
110
|
+
var doc = _ref.doc,
|
|
111
|
+
pos = _ref.pos;
|
|
112
|
+
if (!(0, _platformFeatureFlags.getBooleanFF)('platform.editor.allow-inline-comments-for-inline-nodes-round-2_ctuxz')) {
|
|
113
|
+
return undefined;
|
|
114
|
+
}
|
|
115
|
+
var nodeNames = new Set();
|
|
116
|
+
doc.nodesBetween(pos.from, pos.to, function (node) {
|
|
117
|
+
if (node.isInline) {
|
|
118
|
+
nodeNames.add(node.type.name);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
// We sort the list alphabetically to make human consumption of the list easier (in tools like the analytics extension)
|
|
123
|
+
var sortedNames = (0, _toConsumableArray2.default)(nodeNames).sort();
|
|
124
|
+
return sortedNames;
|
|
101
125
|
}
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -498,6 +498,12 @@ Object.defineProperty(exports, "getPropsDifference", {
|
|
|
498
498
|
return _compareProps.getPropsDifference;
|
|
499
499
|
}
|
|
500
500
|
});
|
|
501
|
+
Object.defineProperty(exports, "getRangeInlineNodeNames", {
|
|
502
|
+
enumerable: true,
|
|
503
|
+
get: function get() {
|
|
504
|
+
return _annotation.getRangeInlineNodeNames;
|
|
505
|
+
}
|
|
506
|
+
});
|
|
501
507
|
Object.defineProperty(exports, "getResponseEndTime", {
|
|
502
508
|
enumerable: true,
|
|
503
509
|
get: function get() {
|
|
@@ -51,7 +51,6 @@ function ExtensionWithPluginState(props) {
|
|
|
51
51
|
editorAppearance !== 'full-width';
|
|
52
52
|
const classNames = classnames('extension-container', 'block', shadowClassNames, {
|
|
53
53
|
'with-overlay': !hasBody && !showMacroInteractionDesignUpdates,
|
|
54
|
-
'with-border': showMacroInteractionDesignUpdates,
|
|
55
54
|
'with-bodied-border': showMacroInteractionDesignUpdates && hasBody,
|
|
56
55
|
'with-margin-styles': showMacroInteractionDesignUpdates && !isNodeNested,
|
|
57
56
|
'with-hover-border': showMacroInteractionDesignUpdates && isNodeHovered,
|
|
@@ -11,19 +11,15 @@ export const wrapperStyle = css(wrapperDefault, {
|
|
|
11
11
|
'.extension-overflow-wrapper:not(.with-body)': {
|
|
12
12
|
overflowX: 'auto'
|
|
13
13
|
},
|
|
14
|
-
'&.with-border': {
|
|
15
|
-
border: `1px solid transparent` // adding this so macro doesn't jump when hover border is shown
|
|
16
|
-
},
|
|
17
14
|
'&.with-bodied-border': {
|
|
18
|
-
|
|
15
|
+
boxShadow: `0 0 0 1px ${`var(--ds-border, ${N30})`}`
|
|
19
16
|
},
|
|
20
17
|
'&.with-hover-border': {
|
|
21
|
-
|
|
18
|
+
boxShadow: `0 0 0 1px ${`var(--ds-border-input, ${N500})`}`
|
|
22
19
|
},
|
|
23
20
|
'&.with-margin-styles': {
|
|
24
21
|
margin: `0 ${"var(--ds-space-negative-150, -12px)"}`,
|
|
25
|
-
|
|
26
|
-
padding: '0 10px' // need exact number here to match editor elements' width
|
|
22
|
+
padding: `0 ${"var(--ds-space-150, 12px)"}`
|
|
27
23
|
}
|
|
28
24
|
});
|
|
29
25
|
export const header = css({
|
|
@@ -57,7 +53,6 @@ export const contentWrapper = css({
|
|
|
57
53
|
});
|
|
58
54
|
export const overflowWrapperStyles = css({
|
|
59
55
|
'&.with-margin-styles': {
|
|
60
|
-
|
|
61
|
-
margin: `0 -10px` // need exact number here to match editor elements' width
|
|
56
|
+
margin: `0 ${"var(--ds-space-negative-150, -12px)"}`
|
|
62
57
|
}
|
|
63
58
|
});
|
|
@@ -27,7 +27,6 @@ const InlineExtension = props => {
|
|
|
27
27
|
'with-overlay': !showMacroInteractionDesignUpdates,
|
|
28
28
|
'with-children': hasChildren,
|
|
29
29
|
'with-danger-overlay': showMacroInteractionDesignUpdates,
|
|
30
|
-
'with-border': showMacroInteractionDesignUpdates,
|
|
31
30
|
'with-hover-border': showMacroInteractionDesignUpdates && isNodeHovered
|
|
32
31
|
});
|
|
33
32
|
const rendererContainerWidth = widthState ? widthState.width - akEditorGutterPaddingDynamic() * 2 : 0;
|
|
@@ -18,11 +18,8 @@ export const wrapperStyle = css(wrapperDefault, {
|
|
|
18
18
|
padding: 0,
|
|
19
19
|
background: "var(--ds-background-neutral-subtle, white)"
|
|
20
20
|
},
|
|
21
|
-
'&.with-border': {
|
|
22
|
-
border: `1px solid transparent` // adding this so macro doesn't jump when hover border is shown
|
|
23
|
-
},
|
|
24
21
|
'&.with-hover-border': {
|
|
25
|
-
|
|
22
|
+
boxShadow: `0 0 0 1px ${`var(--ds-border-input, ${N500})`}`
|
|
26
23
|
}
|
|
27
24
|
});
|
|
28
25
|
export const inlineWrapperStyles = css({
|
|
@@ -34,11 +34,8 @@ const labelStyles = css({
|
|
|
34
34
|
background: `var(--ds-surface, ${N0})`
|
|
35
35
|
},
|
|
36
36
|
'&.bodied-border': {
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
// to account for bodied having borders now - adding this to help with less conditional styling
|
|
40
|
-
border: '1px solid transparent',
|
|
41
|
-
borderBottom: 'none'
|
|
37
|
+
boxShadow: `0 0 0 1px ${`var(--ds-border, ${N30})`}`
|
|
38
|
+
}
|
|
42
39
|
});
|
|
43
40
|
const textStyles = css({
|
|
44
41
|
fontSize: '14px',
|