@atlaskit/editor-common 60.2.0 → 60.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.
Files changed (101) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/i18n/cs.js +1 -0
  3. package/dist/cjs/i18n/da.js +1 -0
  4. package/dist/cjs/i18n/de.js +1 -0
  5. package/dist/cjs/i18n/es.js +1 -0
  6. package/dist/cjs/i18n/fi.js +1 -0
  7. package/dist/cjs/i18n/fr.js +1 -0
  8. package/dist/cjs/i18n/hu.js +1 -0
  9. package/dist/cjs/i18n/it.js +1 -0
  10. package/dist/cjs/i18n/ja.js +1 -0
  11. package/dist/cjs/i18n/ko.js +1 -0
  12. package/dist/cjs/i18n/nb.js +1 -0
  13. package/dist/cjs/i18n/nl.js +1 -0
  14. package/dist/cjs/i18n/pl.js +1 -0
  15. package/dist/cjs/i18n/pt_BR.js +1 -0
  16. package/dist/cjs/i18n/ru.js +1 -0
  17. package/dist/cjs/i18n/sv.js +1 -0
  18. package/dist/cjs/i18n/th.js +1 -0
  19. package/dist/cjs/i18n/tr.js +1 -0
  20. package/dist/cjs/i18n/uk.js +1 -0
  21. package/dist/cjs/i18n/vi.js +1 -0
  22. package/dist/cjs/i18n/zh.js +1 -1
  23. package/dist/cjs/i18n/zh_TW.js +1 -0
  24. package/dist/cjs/messages/codeBidiWarning.js +21 -0
  25. package/dist/cjs/messages/index.js +8 -0
  26. package/dist/cjs/version.json +1 -1
  27. package/dist/es2019/i18n/cs.js +1 -0
  28. package/dist/es2019/i18n/da.js +1 -0
  29. package/dist/es2019/i18n/de.js +1 -0
  30. package/dist/es2019/i18n/es.js +1 -0
  31. package/dist/es2019/i18n/fi.js +1 -0
  32. package/dist/es2019/i18n/fr.js +1 -0
  33. package/dist/es2019/i18n/hu.js +1 -0
  34. package/dist/es2019/i18n/it.js +1 -0
  35. package/dist/es2019/i18n/ja.js +1 -0
  36. package/dist/es2019/i18n/ko.js +1 -0
  37. package/dist/es2019/i18n/nb.js +1 -0
  38. package/dist/es2019/i18n/nl.js +1 -0
  39. package/dist/es2019/i18n/pl.js +1 -0
  40. package/dist/es2019/i18n/pt_BR.js +1 -0
  41. package/dist/es2019/i18n/ru.js +1 -0
  42. package/dist/es2019/i18n/sv.js +1 -0
  43. package/dist/es2019/i18n/th.js +1 -0
  44. package/dist/es2019/i18n/tr.js +1 -0
  45. package/dist/es2019/i18n/uk.js +1 -0
  46. package/dist/es2019/i18n/vi.js +1 -0
  47. package/dist/es2019/i18n/zh.js +1 -1
  48. package/dist/es2019/i18n/zh_TW.js +1 -0
  49. package/dist/es2019/messages/codeBidiWarning.js +12 -0
  50. package/dist/es2019/messages/index.js +1 -0
  51. package/dist/es2019/version.json +1 -1
  52. package/dist/esm/i18n/cs.js +1 -0
  53. package/dist/esm/i18n/da.js +1 -0
  54. package/dist/esm/i18n/de.js +1 -0
  55. package/dist/esm/i18n/es.js +1 -0
  56. package/dist/esm/i18n/fi.js +1 -0
  57. package/dist/esm/i18n/fr.js +1 -0
  58. package/dist/esm/i18n/hu.js +1 -0
  59. package/dist/esm/i18n/it.js +1 -0
  60. package/dist/esm/i18n/ja.js +1 -0
  61. package/dist/esm/i18n/ko.js +1 -0
  62. package/dist/esm/i18n/nb.js +1 -0
  63. package/dist/esm/i18n/nl.js +1 -0
  64. package/dist/esm/i18n/pl.js +1 -0
  65. package/dist/esm/i18n/pt_BR.js +1 -0
  66. package/dist/esm/i18n/ru.js +1 -0
  67. package/dist/esm/i18n/sv.js +1 -0
  68. package/dist/esm/i18n/th.js +1 -0
  69. package/dist/esm/i18n/tr.js +1 -0
  70. package/dist/esm/i18n/uk.js +1 -0
  71. package/dist/esm/i18n/vi.js +1 -0
  72. package/dist/esm/i18n/zh.js +1 -1
  73. package/dist/esm/i18n/zh_TW.js +1 -0
  74. package/dist/esm/messages/codeBidiWarning.js +12 -0
  75. package/dist/esm/messages/index.js +1 -0
  76. package/dist/esm/version.json +1 -1
  77. package/dist/types/i18n/cs.d.ts +1 -0
  78. package/dist/types/i18n/da.d.ts +1 -0
  79. package/dist/types/i18n/de.d.ts +1 -0
  80. package/dist/types/i18n/es.d.ts +1 -0
  81. package/dist/types/i18n/fi.d.ts +1 -0
  82. package/dist/types/i18n/fr.d.ts +1 -0
  83. package/dist/types/i18n/hu.d.ts +1 -0
  84. package/dist/types/i18n/it.d.ts +1 -0
  85. package/dist/types/i18n/ja.d.ts +1 -0
  86. package/dist/types/i18n/ko.d.ts +1 -0
  87. package/dist/types/i18n/nb.d.ts +1 -0
  88. package/dist/types/i18n/nl.d.ts +1 -0
  89. package/dist/types/i18n/pl.d.ts +1 -0
  90. package/dist/types/i18n/pt_BR.d.ts +1 -0
  91. package/dist/types/i18n/ru.d.ts +1 -0
  92. package/dist/types/i18n/sv.d.ts +1 -0
  93. package/dist/types/i18n/th.d.ts +1 -0
  94. package/dist/types/i18n/tr.d.ts +1 -0
  95. package/dist/types/i18n/uk.d.ts +1 -0
  96. package/dist/types/i18n/vi.d.ts +1 -0
  97. package/dist/types/i18n/zh.d.ts +1 -0
  98. package/dist/types/i18n/zh_TW.d.ts +1 -0
  99. package/dist/types/messages/codeBidiWarning.d.ts +11 -0
  100. package/dist/types/messages/index.d.ts +1 -0
  101. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 60.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`c80c71b537d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80c71b537d) - [ux] ED-13860 add bidi warning decorations to code components
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 60.2.0
4
14
 
5
15
  ### Minor Changes
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Czech
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Obousměrné znaky mění pořadí vykreslování textu. Může to být použito k zakrytí škodlivého kódu.',
16
17
  'fabric.editor.captionPlaceholder': 'Přidejte popisek',
17
18
  'fabric.editor.collapseNode': 'Sbalit obsah',
18
19
  'fabric.editor.expandDefaultTitle': 'Klikněte sem pro rozbalení...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Danish
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Tegn med tovejsfunktionalitet ændrer rækkefølgen, som teksten er gengivet i. Dette kan udnyttes til at skjule skadelig kode.',
16
17
  'fabric.editor.captionPlaceholder': 'Tilføj en billedtekst',
17
18
  'fabric.editor.collapseNode': 'skjul indhold',
18
19
  'fabric.editor.expandDefaultTitle': 'Klik her for at udvide...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // German
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirektionale Zeichen ändern die Reihenfolge, in der Text gerendert wird. Dies könnte verwendet werden, um bösartigen Code zu verbergen.',
16
17
  'fabric.editor.captionPlaceholder': 'Eine Bildunterschrift hinzufügen',
17
18
  'fabric.editor.collapseNode': 'Inhaltsanzeige reduzieren',
18
19
  'fabric.editor.expandDefaultTitle': 'Klicken Sie hier, um zu erweitern …',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Spanish
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
16
17
  'fabric.editor.captionPlaceholder': 'Añadir un subtítulo',
17
18
  'fabric.editor.collapseNode': 'contraer contenido',
18
19
  'fabric.editor.expandDefaultTitle': 'Haz clic aquí para ampliar...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Finnish
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
16
17
  'fabric.editor.captionPlaceholder': 'Lisää kuvateksti',
17
18
  'fabric.editor.collapseNode': 'piilota sisältö',
18
19
  'fabric.editor.expandDefaultTitle': 'Klikkaa tähän laajentaaksesi...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // French
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
16
17
  'fabric.editor.captionPlaceholder': 'Ajouter une légende',
17
18
  'fabric.editor.collapseNode': 'Réduire le contenu',
18
19
  'fabric.editor.expandDefaultTitle': 'Cliquez ici pour développer...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Hungarian
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
16
17
  'fabric.editor.captionPlaceholder': 'Képaláírás hozzáadása',
17
18
  'fabric.editor.collapseNode': 'tartalom összecsukása',
18
19
  'fabric.editor.expandDefaultTitle': 'Kattints ide a kibontáshoz…',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Italian
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
16
17
  'fabric.editor.captionPlaceholder': 'Aggiungi didascalia',
17
18
  'fabric.editor.collapseNode': 'Comprimi contenuto',
18
19
  'fabric.editor.expandDefaultTitle': 'Clicca qui per espandere...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Japanese
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意あるコードを隠すために使用される場合があります。',
16
17
  'fabric.editor.captionPlaceholder': 'キャプションを追加',
17
18
  'fabric.editor.collapseNode': 'コンテンツを折りたたむ',
18
19
  'fabric.editor.expandDefaultTitle': 'こちらをクリックして展開…',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Korean
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
16
17
  'fabric.editor.captionPlaceholder': '캡션 추가',
17
18
  'fabric.editor.collapseNode': '콘텐츠 접기',
18
19
  'fabric.editor.expandDefaultTitle': '여기를 클릭하여 펼치기...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Norwegian Bokmål
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
16
17
  'fabric.editor.captionPlaceholder': 'Legg til bildetekst',
17
18
  'fabric.editor.collapseNode': 'Minimer innhold',
18
19
  'fabric.editor.expandDefaultTitle': 'Klikk her for å utvide …',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Dutch
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
16
17
  'fabric.editor.captionPlaceholder': 'Bijschrift toevoegen',
17
18
  'fabric.editor.collapseNode': 'Content inklappen',
18
19
  'fabric.editor.expandDefaultTitle': 'Klik hier om uit te breiden...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Polish
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
16
17
  'fabric.editor.captionPlaceholder': 'Dodaj podpis',
17
18
  'fabric.editor.collapseNode': 'Zwiń zawartość',
18
19
  'fabric.editor.expandDefaultTitle': 'Kliknij tutaj, aby rozwinąć...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Portuguese (Brazil)
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
16
17
  'fabric.editor.captionPlaceholder': 'Adicionar legenda',
17
18
  'fabric.editor.collapseNode': 'Recolher conteúdo',
18
19
  'fabric.editor.expandDefaultTitle': 'Clique aqui para expandir...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Russian
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
16
17
  'fabric.editor.captionPlaceholder': 'Добавьте подпись',
17
18
  'fabric.editor.collapseNode': 'Свернуть содержимое',
18
19
  'fabric.editor.expandDefaultTitle': 'Нажмите здесь, чтобы развернуть…',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Swedish
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Dubbelriktade tecken ändrar återgivningsordningen för text. Detta kan användas för att dölja skadlig kod.',
16
17
  'fabric.editor.captionPlaceholder': 'Lägg till en bildtext',
17
18
  'fabric.editor.collapseNode': 'komprimera innehåll',
18
19
  'fabric.editor.expandDefaultTitle': 'Klicka här för att expandera ...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Thai
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'ตัวอักษรแบบสองทิศทางเปลี่ยนลำดับการแสดงข้อความ ซึ่งอาจนำไปใช้เพื่อปิดบังรหัสที่มีวัตถุประสงค์ในทางที่ไม่ดีได้',
16
17
  'fabric.editor.captionPlaceholder': 'เพิ่มคำอธิบาย',
17
18
  'fabric.editor.collapseNode': 'ย่อเนื้อหา',
18
19
  'fabric.editor.expandDefaultTitle': 'คลิกที่นี่เพื่อขยาย...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Turkish
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Çift yönlü karakterler metnin oluşturulduğu sırayı değiştirir. Bu, kötü amaçlı kodu gizlemek için kullanılabilir.',
16
17
  'fabric.editor.captionPlaceholder': 'Açıklama yazısı ekleyin',
17
18
  'fabric.editor.collapseNode': 'içeriği daraltın',
18
19
  'fabric.editor.expandDefaultTitle': 'Genişletmek için buraya tıklayın...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Ukrainian
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Двонаправлені символи змінюють порядок відображення тексту. Такий спосіб може використовуватися, щоб приховати зловмисний код.',
16
17
  'fabric.editor.captionPlaceholder': 'Додати підпис',
17
18
  'fabric.editor.collapseNode': 'Згорніть вміст',
18
19
  'fabric.editor.expandDefaultTitle': 'Натисніть, щоб розгорнути…',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // Vietnamese
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': 'Ký tự hai chiều thay đổi thứ tự kết xuất văn bản. Điều này có thể được dùng để che giấu mã độc hại.',
16
17
  'fabric.editor.captionPlaceholder': 'Thêm chú thích',
17
18
  'fabric.editor.collapseNode': 'thu gọn nội dung',
18
19
  'fabric.editor.expandDefaultTitle': 'Nhấp vào đây để mở rộng...',
@@ -11,8 +11,8 @@ exports.default = void 0;
11
11
  * This file is automatically generated by i18n-tools.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Chinese
15
14
  var _default = {
15
+ 'fabric.editor.codeBidiWarningLabel': '双向字符会更改文本的呈现顺序。这可能被用于掩盖恶意代码。',
16
16
  'fabric.editor.captionPlaceholder': '添加标题',
17
17
  'fabric.editor.collapseNode': '收起内容',
18
18
  'fabric.editor.expandDefaultTitle': '点击此处展开...',
@@ -13,6 +13,7 @@ exports.default = void 0;
13
13
  */
14
14
  // undefined
15
15
  var _default = {
16
+ 'fabric.editor.codeBidiWarningLabel': '雙向字元會變更文字呈現的順序。這可用來將惡意程式碼模糊化。',
16
17
  'fabric.editor.captionPlaceholder': '新增標題',
17
18
  'fabric.editor.collapseNode': '摺疊內容',
18
19
  'fabric.editor.expandDefaultTitle': '按一下此處以展開...',
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.codeBidiWarningMessages = void 0;
7
+
8
+ var _reactIntl = require("react-intl");
9
+
10
+ var codeBidiWarningMessages = (0, _reactIntl.defineMessages)({
11
+ /**
12
+ * Message taken from
13
+ * https://hello.atlassian.net/wiki/spaces/~tswan/pages/1366555782/PSHELP-2943+Investigate+Trojan+Source+Attack+Vulnerability+design
14
+ */
15
+ label: {
16
+ id: 'fabric.editor.codeBidiWarningLabel',
17
+ defaultMessage: 'Bidirectional characters change the order that text is rendered. This could be used to obscure malicious code.',
18
+ description: 'Tooltip message to present to users when a bidirectional character is encountered in code.'
19
+ }
20
+ });
21
+ exports.codeBidiWarningMessages = codeBidiWarningMessages;
@@ -3,6 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "codeBidiWarningMessages", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _codeBidiWarning.codeBidiWarningMessages;
10
+ }
11
+ });
6
12
  Object.defineProperty(exports, "linkMessages", {
7
13
  enumerable: true,
8
14
  get: function get() {
@@ -16,6 +22,8 @@ Object.defineProperty(exports, "unsupportedContentMessages", {
16
22
  }
17
23
  });
18
24
 
25
+ var _codeBidiWarning = require("./codeBidiWarning");
26
+
19
27
  var _link = require("./link");
20
28
 
21
29
  var _unsupportedContent = require("./unsupportedContent");
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "60.2.0",
3
+ "version": "60.3.0",
4
4
  "sideEffects": false
5
5
  }
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Czech
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Obousměrné znaky mění pořadí vykreslování textu. Může to být použito k zakrytí škodlivého kódu.',
9
10
  'fabric.editor.captionPlaceholder': 'Přidejte popisek',
10
11
  'fabric.editor.collapseNode': 'Sbalit obsah',
11
12
  'fabric.editor.expandDefaultTitle': 'Klikněte sem pro rozbalení...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Danish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Tegn med tovejsfunktionalitet ændrer rækkefølgen, som teksten er gengivet i. Dette kan udnyttes til at skjule skadelig kode.',
9
10
  'fabric.editor.captionPlaceholder': 'Tilføj en billedtekst',
10
11
  'fabric.editor.collapseNode': 'skjul indhold',
11
12
  'fabric.editor.expandDefaultTitle': 'Klik her for at udvide...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // German
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirektionale Zeichen ändern die Reihenfolge, in der Text gerendert wird. Dies könnte verwendet werden, um bösartigen Code zu verbergen.',
9
10
  'fabric.editor.captionPlaceholder': 'Eine Bildunterschrift hinzufügen',
10
11
  'fabric.editor.collapseNode': 'Inhaltsanzeige reduzieren',
11
12
  'fabric.editor.expandDefaultTitle': 'Klicken Sie hier, um zu erweitern …',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Spanish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
9
10
  'fabric.editor.captionPlaceholder': 'Añadir un subtítulo',
10
11
  'fabric.editor.collapseNode': 'contraer contenido',
11
12
  'fabric.editor.expandDefaultTitle': 'Haz clic aquí para ampliar...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Finnish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
9
10
  'fabric.editor.captionPlaceholder': 'Lisää kuvateksti',
10
11
  'fabric.editor.collapseNode': 'piilota sisältö',
11
12
  'fabric.editor.expandDefaultTitle': 'Klikkaa tähän laajentaaksesi...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // French
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
9
10
  'fabric.editor.captionPlaceholder': 'Ajouter une légende',
10
11
  'fabric.editor.collapseNode': 'Réduire le contenu',
11
12
  'fabric.editor.expandDefaultTitle': 'Cliquez ici pour développer...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Hungarian
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
9
10
  'fabric.editor.captionPlaceholder': 'Képaláírás hozzáadása',
10
11
  'fabric.editor.collapseNode': 'tartalom összecsukása',
11
12
  'fabric.editor.expandDefaultTitle': 'Kattints ide a kibontáshoz…',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Italian
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
9
10
  'fabric.editor.captionPlaceholder': 'Aggiungi didascalia',
10
11
  'fabric.editor.collapseNode': 'Comprimi contenuto',
11
12
  'fabric.editor.expandDefaultTitle': 'Clicca qui per espandere...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Japanese
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意あるコードを隠すために使用される場合があります。',
9
10
  'fabric.editor.captionPlaceholder': 'キャプションを追加',
10
11
  'fabric.editor.collapseNode': 'コンテンツを折りたたむ',
11
12
  'fabric.editor.expandDefaultTitle': 'こちらをクリックして展開…',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Korean
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
9
10
  'fabric.editor.captionPlaceholder': '캡션 추가',
10
11
  'fabric.editor.collapseNode': '콘텐츠 접기',
11
12
  'fabric.editor.expandDefaultTitle': '여기를 클릭하여 펼치기...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Norwegian Bokmål
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
9
10
  'fabric.editor.captionPlaceholder': 'Legg til bildetekst',
10
11
  'fabric.editor.collapseNode': 'Minimer innhold',
11
12
  'fabric.editor.expandDefaultTitle': 'Klikk her for å utvide …',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Dutch
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
9
10
  'fabric.editor.captionPlaceholder': 'Bijschrift toevoegen',
10
11
  'fabric.editor.collapseNode': 'Content inklappen',
11
12
  'fabric.editor.expandDefaultTitle': 'Klik hier om uit te breiden...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Polish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
9
10
  'fabric.editor.captionPlaceholder': 'Dodaj podpis',
10
11
  'fabric.editor.collapseNode': 'Zwiń zawartość',
11
12
  'fabric.editor.expandDefaultTitle': 'Kliknij tutaj, aby rozwinąć...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Portuguese (Brazil)
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
9
10
  'fabric.editor.captionPlaceholder': 'Adicionar legenda',
10
11
  'fabric.editor.collapseNode': 'Recolher conteúdo',
11
12
  'fabric.editor.expandDefaultTitle': 'Clique aqui para expandir...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Russian
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
9
10
  'fabric.editor.captionPlaceholder': 'Добавьте подпись',
10
11
  'fabric.editor.collapseNode': 'Свернуть содержимое',
11
12
  'fabric.editor.expandDefaultTitle': 'Нажмите здесь, чтобы развернуть…',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Swedish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Dubbelriktade tecken ändrar återgivningsordningen för text. Detta kan användas för att dölja skadlig kod.',
9
10
  'fabric.editor.captionPlaceholder': 'Lägg till en bildtext',
10
11
  'fabric.editor.collapseNode': 'komprimera innehåll',
11
12
  'fabric.editor.expandDefaultTitle': 'Klicka här för att expandera ...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Thai
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'ตัวอักษรแบบสองทิศทางเปลี่ยนลำดับการแสดงข้อความ ซึ่งอาจนำไปใช้เพื่อปิดบังรหัสที่มีวัตถุประสงค์ในทางที่ไม่ดีได้',
9
10
  'fabric.editor.captionPlaceholder': 'เพิ่มคำอธิบาย',
10
11
  'fabric.editor.collapseNode': 'ย่อเนื้อหา',
11
12
  'fabric.editor.expandDefaultTitle': 'คลิกที่นี่เพื่อขยาย...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Turkish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Çift yönlü karakterler metnin oluşturulduğu sırayı değiştirir. Bu, kötü amaçlı kodu gizlemek için kullanılabilir.',
9
10
  'fabric.editor.captionPlaceholder': 'Açıklama yazısı ekleyin',
10
11
  'fabric.editor.collapseNode': 'içeriği daraltın',
11
12
  'fabric.editor.expandDefaultTitle': 'Genişletmek için buraya tıklayın...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Ukrainian
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Двонаправлені символи змінюють порядок відображення тексту. Такий спосіб може використовуватися, щоб приховати зловмисний код.',
9
10
  'fabric.editor.captionPlaceholder': 'Додати підпис',
10
11
  'fabric.editor.collapseNode': 'Згорніть вміст',
11
12
  'fabric.editor.expandDefaultTitle': 'Натисніть, щоб розгорнути…',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Vietnamese
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Ký tự hai chiều thay đổi thứ tự kết xuất văn bản. Điều này có thể được dùng để che giấu mã độc hại.',
9
10
  'fabric.editor.captionPlaceholder': 'Thêm chú thích',
10
11
  'fabric.editor.collapseNode': 'thu gọn nội dung',
11
12
  'fabric.editor.expandDefaultTitle': 'Nhấp vào đây để mở rộng...',
@@ -4,8 +4,8 @@
4
4
  * This file is automatically generated by i18n-tools.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Chinese
8
7
  export default {
8
+ 'fabric.editor.codeBidiWarningLabel': '双向字符会更改文本的呈现顺序。这可能被用于掩盖恶意代码。',
9
9
  'fabric.editor.captionPlaceholder': '添加标题',
10
10
  'fabric.editor.collapseNode': '收起内容',
11
11
  'fabric.editor.expandDefaultTitle': '点击此处展开...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // undefined
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': '雙向字元會變更文字呈現的順序。這可用來將惡意程式碼模糊化。',
9
10
  'fabric.editor.captionPlaceholder': '新增標題',
10
11
  'fabric.editor.collapseNode': '摺疊內容',
11
12
  'fabric.editor.expandDefaultTitle': '按一下此處以展開...',
@@ -0,0 +1,12 @@
1
+ import { defineMessages } from 'react-intl';
2
+ export const codeBidiWarningMessages = defineMessages({
3
+ /**
4
+ * Message taken from
5
+ * https://hello.atlassian.net/wiki/spaces/~tswan/pages/1366555782/PSHELP-2943+Investigate+Trojan+Source+Attack+Vulnerability+design
6
+ */
7
+ label: {
8
+ id: 'fabric.editor.codeBidiWarningLabel',
9
+ defaultMessage: 'Bidirectional characters change the order that text is rendered. This could be used to obscure malicious code.',
10
+ description: 'Tooltip message to present to users when a bidirectional character is encountered in code.'
11
+ }
12
+ });
@@ -1,2 +1,3 @@
1
+ export { codeBidiWarningMessages } from './codeBidiWarning';
1
2
  export { linkMessages } from './link';
2
3
  export { unsupportedContentMessages } from './unsupportedContent';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "60.2.0",
3
+ "version": "60.3.0",
4
4
  "sideEffects": false
5
5
  }
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Czech
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Obousměrné znaky mění pořadí vykreslování textu. Může to být použito k zakrytí škodlivého kódu.',
9
10
  'fabric.editor.captionPlaceholder': 'Přidejte popisek',
10
11
  'fabric.editor.collapseNode': 'Sbalit obsah',
11
12
  'fabric.editor.expandDefaultTitle': 'Klikněte sem pro rozbalení...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Danish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Tegn med tovejsfunktionalitet ændrer rækkefølgen, som teksten er gengivet i. Dette kan udnyttes til at skjule skadelig kode.',
9
10
  'fabric.editor.captionPlaceholder': 'Tilføj en billedtekst',
10
11
  'fabric.editor.collapseNode': 'skjul indhold',
11
12
  'fabric.editor.expandDefaultTitle': 'Klik her for at udvide...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // German
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirektionale Zeichen ändern die Reihenfolge, in der Text gerendert wird. Dies könnte verwendet werden, um bösartigen Code zu verbergen.',
9
10
  'fabric.editor.captionPlaceholder': 'Eine Bildunterschrift hinzufügen',
10
11
  'fabric.editor.collapseNode': 'Inhaltsanzeige reduzieren',
11
12
  'fabric.editor.expandDefaultTitle': 'Klicken Sie hier, um zu erweitern …',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Spanish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
9
10
  'fabric.editor.captionPlaceholder': 'Añadir un subtítulo',
10
11
  'fabric.editor.collapseNode': 'contraer contenido',
11
12
  'fabric.editor.expandDefaultTitle': 'Haz clic aquí para ampliar...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Finnish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
9
10
  'fabric.editor.captionPlaceholder': 'Lisää kuvateksti',
10
11
  'fabric.editor.collapseNode': 'piilota sisältö',
11
12
  'fabric.editor.expandDefaultTitle': 'Klikkaa tähän laajentaaksesi...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // French
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
9
10
  'fabric.editor.captionPlaceholder': 'Ajouter une légende',
10
11
  'fabric.editor.collapseNode': 'Réduire le contenu',
11
12
  'fabric.editor.expandDefaultTitle': 'Cliquez ici pour développer...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Hungarian
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
9
10
  'fabric.editor.captionPlaceholder': 'Képaláírás hozzáadása',
10
11
  'fabric.editor.collapseNode': 'tartalom összecsukása',
11
12
  'fabric.editor.expandDefaultTitle': 'Kattints ide a kibontáshoz…',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Italian
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
9
10
  'fabric.editor.captionPlaceholder': 'Aggiungi didascalia',
10
11
  'fabric.editor.collapseNode': 'Comprimi contenuto',
11
12
  'fabric.editor.expandDefaultTitle': 'Clicca qui per espandere...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Japanese
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意あるコードを隠すために使用される場合があります。',
9
10
  'fabric.editor.captionPlaceholder': 'キャプションを追加',
10
11
  'fabric.editor.collapseNode': 'コンテンツを折りたたむ',
11
12
  'fabric.editor.expandDefaultTitle': 'こちらをクリックして展開…',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Korean
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
9
10
  'fabric.editor.captionPlaceholder': '캡션 추가',
10
11
  'fabric.editor.collapseNode': '콘텐츠 접기',
11
12
  'fabric.editor.expandDefaultTitle': '여기를 클릭하여 펼치기...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Norwegian Bokmål
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
9
10
  'fabric.editor.captionPlaceholder': 'Legg til bildetekst',
10
11
  'fabric.editor.collapseNode': 'Minimer innhold',
11
12
  'fabric.editor.expandDefaultTitle': 'Klikk her for å utvide …',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Dutch
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
9
10
  'fabric.editor.captionPlaceholder': 'Bijschrift toevoegen',
10
11
  'fabric.editor.collapseNode': 'Content inklappen',
11
12
  'fabric.editor.expandDefaultTitle': 'Klik hier om uit te breiden...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Polish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
9
10
  'fabric.editor.captionPlaceholder': 'Dodaj podpis',
10
11
  'fabric.editor.collapseNode': 'Zwiń zawartość',
11
12
  'fabric.editor.expandDefaultTitle': 'Kliknij tutaj, aby rozwinąć...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Portuguese (Brazil)
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
9
10
  'fabric.editor.captionPlaceholder': 'Adicionar legenda',
10
11
  'fabric.editor.collapseNode': 'Recolher conteúdo',
11
12
  'fabric.editor.expandDefaultTitle': 'Clique aqui para expandir...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Russian
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
9
10
  'fabric.editor.captionPlaceholder': 'Добавьте подпись',
10
11
  'fabric.editor.collapseNode': 'Свернуть содержимое',
11
12
  'fabric.editor.expandDefaultTitle': 'Нажмите здесь, чтобы развернуть…',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Swedish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Dubbelriktade tecken ändrar återgivningsordningen för text. Detta kan användas för att dölja skadlig kod.',
9
10
  'fabric.editor.captionPlaceholder': 'Lägg till en bildtext',
10
11
  'fabric.editor.collapseNode': 'komprimera innehåll',
11
12
  'fabric.editor.expandDefaultTitle': 'Klicka här för att expandera ...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Thai
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'ตัวอักษรแบบสองทิศทางเปลี่ยนลำดับการแสดงข้อความ ซึ่งอาจนำไปใช้เพื่อปิดบังรหัสที่มีวัตถุประสงค์ในทางที่ไม่ดีได้',
9
10
  'fabric.editor.captionPlaceholder': 'เพิ่มคำอธิบาย',
10
11
  'fabric.editor.collapseNode': 'ย่อเนื้อหา',
11
12
  'fabric.editor.expandDefaultTitle': 'คลิกที่นี่เพื่อขยาย...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Turkish
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Çift yönlü karakterler metnin oluşturulduğu sırayı değiştirir. Bu, kötü amaçlı kodu gizlemek için kullanılabilir.',
9
10
  'fabric.editor.captionPlaceholder': 'Açıklama yazısı ekleyin',
10
11
  'fabric.editor.collapseNode': 'içeriği daraltın',
11
12
  'fabric.editor.expandDefaultTitle': 'Genişletmek için buraya tıklayın...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Ukrainian
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Двонаправлені символи змінюють порядок відображення тексту. Такий спосіб може використовуватися, щоб приховати зловмисний код.',
9
10
  'fabric.editor.captionPlaceholder': 'Додати підпис',
10
11
  'fabric.editor.collapseNode': 'Згорніть вміст',
11
12
  'fabric.editor.expandDefaultTitle': 'Натисніть, щоб розгорнути…',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // Vietnamese
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': 'Ký tự hai chiều thay đổi thứ tự kết xuất văn bản. Điều này có thể được dùng để che giấu mã độc hại.',
9
10
  'fabric.editor.captionPlaceholder': 'Thêm chú thích',
10
11
  'fabric.editor.collapseNode': 'thu gọn nội dung',
11
12
  'fabric.editor.expandDefaultTitle': 'Nhấp vào đây để mở rộng...',
@@ -4,8 +4,8 @@
4
4
  * This file is automatically generated by i18n-tools.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Chinese
8
7
  export default {
8
+ 'fabric.editor.codeBidiWarningLabel': '双向字符会更改文本的呈现顺序。这可能被用于掩盖恶意代码。',
9
9
  'fabric.editor.captionPlaceholder': '添加标题',
10
10
  'fabric.editor.collapseNode': '收起内容',
11
11
  'fabric.editor.expandDefaultTitle': '点击此处展开...',
@@ -6,6 +6,7 @@
6
6
  */
7
7
  // undefined
8
8
  export default {
9
+ 'fabric.editor.codeBidiWarningLabel': '雙向字元會變更文字呈現的順序。這可用來將惡意程式碼模糊化。',
9
10
  'fabric.editor.captionPlaceholder': '新增標題',
10
11
  'fabric.editor.collapseNode': '摺疊內容',
11
12
  'fabric.editor.expandDefaultTitle': '按一下此處以展開...',
@@ -0,0 +1,12 @@
1
+ import { defineMessages } from 'react-intl';
2
+ export var codeBidiWarningMessages = defineMessages({
3
+ /**
4
+ * Message taken from
5
+ * https://hello.atlassian.net/wiki/spaces/~tswan/pages/1366555782/PSHELP-2943+Investigate+Trojan+Source+Attack+Vulnerability+design
6
+ */
7
+ label: {
8
+ id: 'fabric.editor.codeBidiWarningLabel',
9
+ defaultMessage: 'Bidirectional characters change the order that text is rendered. This could be used to obscure malicious code.',
10
+ description: 'Tooltip message to present to users when a bidirectional character is encountered in code.'
11
+ }
12
+ });
@@ -1,2 +1,3 @@
1
+ export { codeBidiWarningMessages } from './codeBidiWarning';
1
2
  export { linkMessages } from './link';
2
3
  export { unsupportedContentMessages } from './unsupportedContent';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "60.2.0",
3
+ "version": "60.3.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ 'fabric.editor.codeBidiWarningLabel': string;
2
3
  'fabric.editor.captionPlaceholder': string;
3
4
  'fabric.editor.collapseNode': string;
4
5
  'fabric.editor.expandDefaultTitle': string;
@@ -0,0 +1,11 @@
1
+ export declare const codeBidiWarningMessages: {
2
+ /**
3
+ * Message taken from
4
+ * https://hello.atlassian.net/wiki/spaces/~tswan/pages/1366555782/PSHELP-2943+Investigate+Trojan+Source+Attack+Vulnerability+design
5
+ */
6
+ label: {
7
+ id: string;
8
+ defaultMessage: string;
9
+ description: string;
10
+ };
11
+ };
@@ -1,2 +1,3 @@
1
+ export { codeBidiWarningMessages } from './codeBidiWarning';
1
2
  export { linkMessages } from './link';
2
3
  export { unsupportedContentMessages } from './unsupportedContent';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "60.2.0",
3
+ "version": "60.3.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/adf-utils": "^14.3.0",
40
40
  "@atlaskit/analytics-namespaced-context": "^6.3.0",
41
41
  "@atlaskit/analytics-next": "^8.2.0",
42
- "@atlaskit/code": "^14.1.0",
42
+ "@atlaskit/code": "^14.2.0",
43
43
  "@atlaskit/editor-json-transformer": "^8.6.0",
44
44
  "@atlaskit/editor-shared-styles": "^1.6.0",
45
45
  "@atlaskit/emoji": "^63.1.0",