@atlaskit/renderer 102.0.0 → 103.0.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.
Files changed (162) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/cjs/consts.js +2 -2
  3. package/dist/cjs/i18n/cs.js +4 -4
  4. package/dist/cjs/i18n/da.js +4 -4
  5. package/dist/cjs/i18n/de.js +4 -4
  6. package/dist/cjs/i18n/en.js +4 -4
  7. package/dist/cjs/i18n/en_GB.js +4 -4
  8. package/dist/cjs/i18n/es.js +4 -4
  9. package/dist/cjs/i18n/fi.js +4 -4
  10. package/dist/cjs/i18n/fr.js +4 -4
  11. package/dist/cjs/i18n/hu.js +4 -4
  12. package/dist/cjs/i18n/it.js +4 -4
  13. package/dist/cjs/i18n/ja.js +4 -4
  14. package/dist/cjs/i18n/ko.js +4 -4
  15. package/dist/cjs/i18n/nb.js +4 -4
  16. package/dist/cjs/i18n/nl.js +4 -4
  17. package/dist/cjs/i18n/pl.js +4 -4
  18. package/dist/cjs/i18n/pt_BR.js +4 -4
  19. package/dist/cjs/i18n/ru.js +4 -4
  20. package/dist/cjs/i18n/sv.js +4 -4
  21. package/dist/cjs/i18n/th.js +4 -4
  22. package/dist/cjs/i18n/tr.js +4 -4
  23. package/dist/cjs/i18n/uk.js +4 -4
  24. package/dist/cjs/i18n/vi.js +4 -4
  25. package/dist/cjs/i18n/zh.js +4 -4
  26. package/dist/cjs/i18n/zh_TW.js +4 -4
  27. package/dist/cjs/messages.js +1 -1
  28. package/dist/cjs/react/nodes/panel.js +19 -10
  29. package/dist/cjs/react/nodes/tableCell.js +8 -26
  30. package/dist/cjs/ui/ExtensionRenderer.js +9 -2
  31. package/dist/cjs/ui/Renderer/index.js +1 -1
  32. package/dist/cjs/ui/Renderer/style.js +5 -3
  33. package/dist/cjs/ui/SortingIcon.js +55 -28
  34. package/dist/cjs/version.json +1 -1
  35. package/dist/es2019/consts.js +2 -2
  36. package/dist/es2019/i18n/cs.js +4 -4
  37. package/dist/es2019/i18n/da.js +4 -4
  38. package/dist/es2019/i18n/de.js +4 -4
  39. package/dist/es2019/i18n/en.js +4 -4
  40. package/dist/es2019/i18n/en_GB.js +4 -4
  41. package/dist/es2019/i18n/es.js +4 -4
  42. package/dist/es2019/i18n/fi.js +4 -4
  43. package/dist/es2019/i18n/fr.js +4 -4
  44. package/dist/es2019/i18n/hu.js +4 -4
  45. package/dist/es2019/i18n/it.js +4 -4
  46. package/dist/es2019/i18n/ja.js +4 -4
  47. package/dist/es2019/i18n/ko.js +4 -4
  48. package/dist/es2019/i18n/nb.js +4 -4
  49. package/dist/es2019/i18n/nl.js +4 -4
  50. package/dist/es2019/i18n/pl.js +4 -4
  51. package/dist/es2019/i18n/pt_BR.js +4 -4
  52. package/dist/es2019/i18n/ru.js +4 -4
  53. package/dist/es2019/i18n/sv.js +4 -4
  54. package/dist/es2019/i18n/th.js +4 -4
  55. package/dist/es2019/i18n/tr.js +4 -4
  56. package/dist/es2019/i18n/uk.js +4 -4
  57. package/dist/es2019/i18n/vi.js +4 -4
  58. package/dist/es2019/i18n/zh.js +4 -4
  59. package/dist/es2019/i18n/zh_TW.js +4 -4
  60. package/dist/es2019/messages.js +1 -1
  61. package/dist/es2019/react/nodes/panel.js +16 -6
  62. package/dist/es2019/react/nodes/tableCell.js +8 -27
  63. package/dist/es2019/ui/ExtensionRenderer.js +7 -2
  64. package/dist/es2019/ui/Renderer/index.js +1 -1
  65. package/dist/es2019/ui/Renderer/style.js +37 -16
  66. package/dist/es2019/ui/SortingIcon.js +89 -32
  67. package/dist/es2019/version.json +1 -1
  68. package/dist/esm/consts.js +2 -2
  69. package/dist/esm/i18n/cs.js +4 -4
  70. package/dist/esm/i18n/da.js +4 -4
  71. package/dist/esm/i18n/de.js +4 -4
  72. package/dist/esm/i18n/en.js +4 -4
  73. package/dist/esm/i18n/en_GB.js +4 -4
  74. package/dist/esm/i18n/es.js +4 -4
  75. package/dist/esm/i18n/fi.js +4 -4
  76. package/dist/esm/i18n/fr.js +4 -4
  77. package/dist/esm/i18n/hu.js +4 -4
  78. package/dist/esm/i18n/it.js +4 -4
  79. package/dist/esm/i18n/ja.js +4 -4
  80. package/dist/esm/i18n/ko.js +4 -4
  81. package/dist/esm/i18n/nb.js +4 -4
  82. package/dist/esm/i18n/nl.js +4 -4
  83. package/dist/esm/i18n/pl.js +4 -4
  84. package/dist/esm/i18n/pt_BR.js +4 -4
  85. package/dist/esm/i18n/ru.js +4 -4
  86. package/dist/esm/i18n/sv.js +4 -4
  87. package/dist/esm/i18n/th.js +4 -4
  88. package/dist/esm/i18n/tr.js +4 -4
  89. package/dist/esm/i18n/uk.js +4 -4
  90. package/dist/esm/i18n/vi.js +4 -4
  91. package/dist/esm/i18n/zh.js +4 -4
  92. package/dist/esm/i18n/zh_TW.js +4 -4
  93. package/dist/esm/messages.js +1 -1
  94. package/dist/esm/react/nodes/panel.js +18 -10
  95. package/dist/esm/react/nodes/tableCell.js +8 -26
  96. package/dist/esm/ui/ExtensionRenderer.js +9 -2
  97. package/dist/esm/ui/Renderer/index.js +1 -1
  98. package/dist/esm/ui/Renderer/style.js +5 -4
  99. package/dist/esm/ui/SortingIcon.js +55 -27
  100. package/dist/esm/version.json +1 -1
  101. package/dist/types/consts.d.ts +2 -2
  102. package/dist/types/i18n/cs.d.ts +2 -2
  103. package/dist/types/i18n/da.d.ts +2 -2
  104. package/dist/types/i18n/de.d.ts +2 -2
  105. package/dist/types/i18n/en.d.ts +2 -2
  106. package/dist/types/i18n/en_GB.d.ts +2 -2
  107. package/dist/types/i18n/es.d.ts +2 -2
  108. package/dist/types/i18n/fi.d.ts +2 -2
  109. package/dist/types/i18n/fr.d.ts +2 -2
  110. package/dist/types/i18n/hu.d.ts +2 -2
  111. package/dist/types/i18n/it.d.ts +2 -2
  112. package/dist/types/i18n/ja.d.ts +2 -2
  113. package/dist/types/i18n/ko.d.ts +2 -2
  114. package/dist/types/i18n/nb.d.ts +2 -2
  115. package/dist/types/i18n/nl.d.ts +2 -2
  116. package/dist/types/i18n/pl.d.ts +2 -2
  117. package/dist/types/i18n/pt_BR.d.ts +2 -2
  118. package/dist/types/i18n/ru.d.ts +2 -2
  119. package/dist/types/i18n/sv.d.ts +2 -2
  120. package/dist/types/i18n/th.d.ts +2 -2
  121. package/dist/types/i18n/tr.d.ts +2 -2
  122. package/dist/types/i18n/uk.d.ts +2 -2
  123. package/dist/types/i18n/vi.d.ts +2 -2
  124. package/dist/types/i18n/zh.d.ts +2 -2
  125. package/dist/types/i18n/zh_TW.d.ts +2 -2
  126. package/dist/types/react/nodes/bodiedExtension.d.ts +2 -1
  127. package/dist/types/react/nodes/extension.d.ts +2 -1
  128. package/dist/types/react/nodes/inlineExtension.d.ts +2 -0
  129. package/dist/types/ui/ExtensionRenderer.d.ts +2 -0
  130. package/dist/types/ui/SortingIcon.d.ts +4 -1
  131. package/dist/types-ts4.0/consts.d.ts +2 -2
  132. package/dist/types-ts4.0/i18n/cs.d.ts +2 -2
  133. package/dist/types-ts4.0/i18n/da.d.ts +2 -2
  134. package/dist/types-ts4.0/i18n/de.d.ts +2 -2
  135. package/dist/types-ts4.0/i18n/en.d.ts +2 -2
  136. package/dist/types-ts4.0/i18n/en_GB.d.ts +2 -2
  137. package/dist/types-ts4.0/i18n/es.d.ts +2 -2
  138. package/dist/types-ts4.0/i18n/fi.d.ts +2 -2
  139. package/dist/types-ts4.0/i18n/fr.d.ts +2 -2
  140. package/dist/types-ts4.0/i18n/hu.d.ts +2 -2
  141. package/dist/types-ts4.0/i18n/it.d.ts +2 -2
  142. package/dist/types-ts4.0/i18n/ja.d.ts +2 -2
  143. package/dist/types-ts4.0/i18n/ko.d.ts +2 -2
  144. package/dist/types-ts4.0/i18n/nb.d.ts +2 -2
  145. package/dist/types-ts4.0/i18n/nl.d.ts +2 -2
  146. package/dist/types-ts4.0/i18n/pl.d.ts +2 -2
  147. package/dist/types-ts4.0/i18n/pt_BR.d.ts +2 -2
  148. package/dist/types-ts4.0/i18n/ru.d.ts +2 -2
  149. package/dist/types-ts4.0/i18n/sv.d.ts +2 -2
  150. package/dist/types-ts4.0/i18n/th.d.ts +2 -2
  151. package/dist/types-ts4.0/i18n/tr.d.ts +2 -2
  152. package/dist/types-ts4.0/i18n/uk.d.ts +2 -2
  153. package/dist/types-ts4.0/i18n/vi.d.ts +2 -2
  154. package/dist/types-ts4.0/i18n/zh.d.ts +2 -2
  155. package/dist/types-ts4.0/i18n/zh_TW.d.ts +2 -2
  156. package/dist/types-ts4.0/react/nodes/bodiedExtension.d.ts +2 -1
  157. package/dist/types-ts4.0/react/nodes/extension.d.ts +2 -1
  158. package/dist/types-ts4.0/react/nodes/inlineExtension.d.ts +2 -0
  159. package/dist/types-ts4.0/ui/ExtensionRenderer.d.ts +2 -0
  160. package/dist/types-ts4.0/ui/SortingIcon.d.ts +4 -1
  161. package/package.json +20 -16
  162. package/report.api.md +359 -255
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Japanese
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'コピーしました',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'コピー',
11
9
  'fabric.editor.headingLink.ascOrderLabel': '列の並べ替え: Z から A',
12
10
  'fabric.editor.headingLink.ascSortingLabel': '昇順',
13
11
  'fabric.editor.headingLink.copied': 'コピーしました',
14
12
  'fabric.editor.headingLink.copyAnchorLink': '見出しへのリンクをコピー',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'コピー',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ 結合セルを含む表は並べ替えられません。',
14
+ 'fabric.editor.headingLink.descOrderLabel': '並べ替えをクリア',
15
+ 'fabric.editor.headingLink.descSortingLabel': '降順',
17
16
  'fabric.editor.headingLink.failedToCopy': 'コピーできませんでした。',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ 統合したセルで表を並べ替えることはできません',
18
18
  'fabric.editor.headingLink.noOrderLabel': '列の並べ替え: A から Z',
19
- 'fabric.editor.headingLink.noneSortingLabel': '降順'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'なし'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Korean
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': '복사되었습니다!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': '복사',
11
9
  'fabric.editor.headingLink.ascOrderLabel': '내림차순으로 열 정렬',
12
10
  'fabric.editor.headingLink.ascSortingLabel': '오름차순',
13
11
  'fabric.editor.headingLink.copied': '복사되었습니다!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': '링크를 제목에 복사',
15
13
  'fabric.editor.headingLink.copyAriaLabel': '복사',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ 병합된 셀이 있는 표는 정렬할 수 없습니다',
14
+ 'fabric.editor.headingLink.descOrderLabel': '정렬 지우기',
15
+ 'fabric.editor.headingLink.descSortingLabel': '내림차순',
17
16
  'fabric.editor.headingLink.failedToCopy': '복사 실패',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ 병합된 셀이 있는 표를 정렬할 수 없습니다',
18
18
  'fabric.editor.headingLink.noOrderLabel': '오름차순으로 열 정렬',
19
- 'fabric.editor.headingLink.noneSortingLabel': '내림차순'
19
+ 'fabric.editor.headingLink.noneSortingLabel': '없음'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Norwegian (Bokmål)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Kopiert!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopier',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'Sorter kolonne Å til A',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'stigende',
13
11
  'fabric.editor.headingLink.copied': 'Kopiert!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Kopier kobling til overskrift',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Kopier',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Du kan ikke sortere en tabell med en sammenslått celle',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Fjern sortering',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'synkende',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Kopiering mislyktes',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Du kan ikke sortere en tabell med sammenslåtte celler',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'Sorter kolonne A til Å',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'synkende'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'ingen'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Dutch (Netherlands)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Gekopieerd!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopiëren',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'Rangschik kolom van Z tot A',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'oplopend',
13
11
  'fabric.editor.headingLink.copied': 'Gekopieerd!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Link naar kop kopiëren',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Kopiëren',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Je kunt een tabel met samengevoegde cellen niet rangschikken',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Sortering wissen',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'aflopend',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Kopiëren mislukt',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Je kan een tabel met samengevoegde cellen niet rangschikken',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'Rangschik kolom van A tot Z',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'aflopend'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'Geen'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Polish (Poland)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Skopiowano!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopiuj',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'Sortuj kolumnę od Z do A',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'rosnąco',
13
11
  'fabric.editor.headingLink.copied': 'Skopiowano!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Skopiuj łącze do nagłówka',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Kopiuj',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Nie można sortować tabeli ze scaloną komórką',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Wyczyść sortowanie',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'malejąco',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Kopiowanie nie powiodło się',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Nie można sortować tabeli ze scalonymi komórkami',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'Sortuj kolumnę od A do Z',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'malejąco'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'Brak'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Portuguese (Brazil)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Copiado!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Copiar',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'Ordenar coluna de Z a A',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'ascendente',
13
11
  'fabric.editor.headingLink.copied': 'Copiado!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Copiar link para cabeçalho',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Copiar',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Você não pode ordenar uma tabela com células mescladas',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Limpar classificação',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'descendente',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Falha na cópia',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Você não pode ordenar uma tabela com células mescladas',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'Ordenar coluna de A a Z',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'descendente'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'nenhum'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Russian
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Скопировано!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Скопировать',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'Сортировать столбцы (Я–А)',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'по возрастанию',
13
11
  'fabric.editor.headingLink.copied': 'Скопировано!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Копировать ссылку в заголовок',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Скопировать',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Невозможно отсортировать таблицу с объединенной ячейкой',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Очистить сортировку',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'по убыванию',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Ошибка копирования',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Невозможно отсортировать таблицу с объединением ячеек',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'Сортировать столбцы (А–Я)',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'по убыванию'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'Нет'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Swedish
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Kopierad!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopiera',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'Sortera kolumn Ö till A',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'stigande',
13
11
  'fabric.editor.headingLink.copied': 'Kopierad!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Kopiera länk till rubrik',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Kopiera',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Du kan inte sortera en tabell med sammanslagna celler',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Rensa sortering',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'fallande',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Kopiering misslyckades',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Du kan inte sortera en panelvy med sammanslagna celler',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'Sortera kolumn A till Ö',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'fallande'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'Ingen'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Thai (Thailand)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'คัดลอกแล้ว!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'คัดลอก',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'เรียงจากคอลัมน์ Z ไป A',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'จากน้อยไปหามาก',
13
11
  'fabric.editor.headingLink.copied': 'คัดลอกแล้ว!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'คัดลอกลิงก์ที่เชื่อมไปยังหัวเรื่อง',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'คัดลอก',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ คุณไม่สามารถจัดเรียงตารางด้วยช่องข้อมูลที่ถูกรวมได้',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'ล้างการเรียงลำดับ',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'จากมากไปหาน้อย',
17
16
  'fabric.editor.headingLink.failedToCopy': 'การคัดลอกไม่สำเร็จ',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ คุณไม่สามารถจัดเรียงตารางด้วยช่องข้อมูลที่ถูกรวมได้',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'เรียงจากคอลัมน์ A ไป Z',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'จากมากไปหาน้อย'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'ไม่มี'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Turkish (Turkey)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Kopyalandı!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopyala',
11
9
  'fabric.editor.headingLink.ascOrderLabel': "Sütunu Z'den A'ya sırala",
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'artan',
13
11
  'fabric.editor.headingLink.copied': 'Kopyalandı!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Başlık bağlantısını kopyala',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Kopyala',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Birleştirilmiş hücre içeren bir tabloyu sıralayamazsınız',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Sıralamayı temizle',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'azalan',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Kopyalama işlemi başarısız oldu',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Birleştirilmiş hücre içeren bir tabloyu sıralayamazsınız',
18
18
  'fabric.editor.headingLink.noOrderLabel': "Sütunu A'dan Z'ye sırala",
19
- 'fabric.editor.headingLink.noneSortingLabel': 'azalan'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'yok'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Ukrainian (Ukraine)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Скопійовано',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Скопіювати',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'Сортувати стовпці від Я до А',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'за зростанням',
13
11
  'fabric.editor.headingLink.copied': 'Скопійовано',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Скопіювати посилання на заголовок',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Копіювати',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Не можна сортувати таблицю, у якій є об’єднані клітинки',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Очистити сортування',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'за спаданням',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Не вдалося скопіювати',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Не можна сортувати таблицю, у якій є об’єднані клітинки',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'Сортувати стовпці від А до Я',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'за спаданням'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'Немає'
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Vietnamese (Vietnam)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Đã sao chép!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Sao chép',
11
9
  'fabric.editor.headingLink.ascOrderLabel': 'Sắp xếp cột theo thứ tự từ Z đến A',
12
10
  'fabric.editor.headingLink.ascSortingLabel': 'tăng dần',
13
11
  'fabric.editor.headingLink.copied': 'Đã sao chép!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': 'Sao chép liên kết vào tiêu đề',
15
13
  'fabric.editor.headingLink.copyAriaLabel': 'Sao chép',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ Bạn không thể sắp xếp bảng có các ô đã hợp nhất',
14
+ 'fabric.editor.headingLink.descOrderLabel': 'Bỏ sắp xếp',
15
+ 'fabric.editor.headingLink.descSortingLabel': 'giảm dần',
17
16
  'fabric.editor.headingLink.failedToCopy': 'Sao chép không thành công',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ Bạn không thể sắp xếp bảng có các ô đã hợp nhất',
18
18
  'fabric.editor.headingLink.noOrderLabel': 'Sắp xếp cột theo thứ tự từ A đến Z',
19
- 'fabric.editor.headingLink.noneSortingLabel': 'giảm dần'
19
+ 'fabric.editor.headingLink.noneSortingLabel': 'không '
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Chinese (Simplified)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': '已复制!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': '复制',
11
9
  'fabric.editor.headingLink.ascOrderLabel': '按照 Z 到 A 进行列排序',
12
10
  'fabric.editor.headingLink.ascSortingLabel': '升序',
13
11
  'fabric.editor.headingLink.copied': '已复制!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': '复制标题链接',
15
13
  'fabric.editor.headingLink.copyAriaLabel': '复制',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ 无法对包含合并单元格的表格进行排序',
14
+ 'fabric.editor.headingLink.descOrderLabel': '清除排序',
15
+ 'fabric.editor.headingLink.descSortingLabel': '降序',
17
16
  'fabric.editor.headingLink.failedToCopy': '复制失败',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ 无法对包含合并单元格的表格进行排序',
18
18
  'fabric.editor.headingLink.noOrderLabel': '按照 A 到 Z 进行列排序',
19
- 'fabric.editor.headingLink.noneSortingLabel': '降序'
19
+ 'fabric.editor.headingLink.noneSortingLabel': ''
20
20
  };
@@ -6,15 +6,15 @@
6
6
  */
7
7
  //Chinese (Traditional)
8
8
  export default {
9
- 'fabric.editor.codeBlockCopyButton.copiedToClipboard': '已複製!',
10
- 'fabric.editor.codeBlockCopyButton.copyToClipboard': '複製',
11
9
  'fabric.editor.headingLink.ascOrderLabel': '從 Z 欄排序到 A 欄',
12
10
  'fabric.editor.headingLink.ascSortingLabel': '遞增',
13
11
  'fabric.editor.headingLink.copied': '已複製!',
14
12
  'fabric.editor.headingLink.copyAnchorLink': '複製標題連結',
15
13
  'fabric.editor.headingLink.copyAriaLabel': '複製',
16
- 'fabric.editor.headingLink.descOrderLabel': '⚠️ 您無法排序具有合併儲存格的表格',
14
+ 'fabric.editor.headingLink.descOrderLabel': '清除排序',
15
+ 'fabric.editor.headingLink.descSortingLabel': '遞減',
17
16
  'fabric.editor.headingLink.failedToCopy': '複製失敗',
17
+ 'fabric.editor.headingLink.invalidLabel': '⚠️ 您無法排序包含合併儲存格的表格',
18
18
  'fabric.editor.headingLink.noOrderLabel': '從 A 欄排序到 Z 欄',
19
- 'fabric.editor.headingLink.noneSortingLabel': '遞減'
19
+ 'fabric.editor.headingLink.noneSortingLabel': ''
20
20
  };
@@ -56,7 +56,7 @@ export const sortingIconMessages = defineMessages({
56
56
  },
57
57
  invalidLabel: {
58
58
  id: 'fabric.editor.headingLink.invalidLabel',
59
- defaultMessage: `⚠️ You can't sort a table with merged cell`,
59
+ defaultMessage: `⚠️ You can't sort a table with merged cells`,
60
60
  description: 'this sort is invalid for merged cells'
61
61
  }
62
62
  });
@@ -13,20 +13,28 @@ import EmojiItem from './emoji'; // AFP-2532 TODO: Fix automatic suppressions be
13
13
  import { themed } from '@atlaskit/theme';
14
14
  import { PanelInfoIcon, PanelSuccessIcon, PanelNoteIcon, PanelWarningIcon, PanelErrorIcon } from '@atlaskit/editor-common/icons';
15
15
 
16
- const PanelStyled = props => {
16
+ const PanelStyled = ({
17
+ backgroundColor,
18
+ hasIcon,
19
+ ...props
20
+ }) => {
17
21
  let styles = theme => css`
18
22
  &.${PanelSharedCssClassName.prefix} {
19
23
  ${panelSharedStylesWithoutPrefix({
20
24
  theme
21
25
  })}
26
+
27
+ &[data-panel-type=${PanelType.CUSTOM}] {
28
+ ${hasIcon ? '' : 'padding: 12px;'}
29
+ }
22
30
  }
23
31
  `;
24
32
 
25
- if (props['data-panel-type'] === PanelType.CUSTOM && props.backgroundColor) {
33
+ if (props['data-panel-type'] === PanelType.CUSTOM && backgroundColor) {
26
34
  styles = theme => {
27
35
  const customStyle = themed({
28
36
  dark: getPanelBackgroundDarkModeColors,
29
- light: `background-color: ${props.backgroundColor};`
37
+ light: `background-color: ${backgroundColor};`
30
38
  })({
31
39
  theme
32
40
  });
@@ -39,6 +47,7 @@ const PanelStyled = props => {
39
47
 
40
48
  &[data-panel-type=${PanelType.CUSTOM}] {
41
49
  ${customStyle};
50
+ ${hasIcon ? '' : 'padding: 12px;'}
42
51
  }
43
52
  `;
44
53
  };
@@ -95,9 +104,9 @@ const Panel = props => {
95
104
  });
96
105
  };
97
106
 
98
- const renderIcon = () => {
99
- const icon = getIcon();
107
+ const icon = getIcon();
100
108
 
109
+ const renderIcon = () => {
101
110
  if (icon) {
102
111
  return jsx("div", {
103
112
  className: PanelSharedCssClassName.icon
@@ -112,7 +121,8 @@ const Panel = props => {
112
121
  "data-panel-icon": panelIcon,
113
122
  "data-panel-icon-id": panelIconId,
114
123
  "data-panel-icon-text": panelIconText,
115
- backgroundColor: panelColor
124
+ backgroundColor: panelColor,
125
+ hasIcon: Boolean(icon)
116
126
  }, renderIcon(), jsx("div", {
117
127
  className: PanelSharedCssClassName.content
118
128
  }, children));
@@ -122,20 +122,11 @@ export const withSortableColumn = WrapperComponent => {
122
122
 
123
123
  if (keys.includes(event.key) && !IgnoreSorting.includes(tagName)) {
124
124
  event.preventDefault();
125
- this.onClick(event);
125
+ this.sort();
126
126
  }
127
127
  });
128
128
 
129
- _defineProperty(this, "onClick", event => {
130
- // ignore sorting when specific elements are clicked
131
- const {
132
- tagName
133
- } = event.target;
134
-
135
- if (IgnoreSorting.includes(tagName)) {
136
- return;
137
- }
138
-
129
+ _defineProperty(this, "sort", () => {
139
130
  const {
140
131
  fireAnalyticsEvent,
141
132
  onSorting,
@@ -186,28 +177,18 @@ export const withSortableColumn = WrapperComponent => {
186
177
  return /*#__PURE__*/React.createElement(WrapperComponent, this.props);
187
178
  }
188
179
 
189
- let className = RendererCssClassName.SORTABLE_COLUMN;
190
-
191
- if (!onSorting) {
192
- className = `${className} ${RendererCssClassName.SORTABLE_COLUMN_NOT_ALLOWED}`;
193
- }
194
-
195
180
  return /*#__PURE__*/React.createElement(WrapperComponent, _extends({}, this.props, {
196
- className: className,
181
+ className: RendererCssClassName.SORTABLE_COLUMN_WRAPPER,
197
182
  ariaSort: getSortOrderLabel(intl, sortOrdered)
198
183
  }), /*#__PURE__*/React.createElement("div", {
199
- className: RendererCssClassName.SORTABLE_COLUMN_BUTTON,
200
- role: "button",
201
- tabIndex: onSorting ? 0 : -1,
202
- onClick: this.onClick,
203
- onKeyDown: this.onKeyPress,
204
- "aria-disabled": !onSorting
184
+ className: RendererCssClassName.SORTABLE_COLUMN
205
185
  }, children, /*#__PURE__*/React.createElement("figure", {
206
- "aria-hidden": true,
207
- className: `${RendererCssClassName.SORTABLE_COLUMN_ICON} ${sortOrderedClassName}`
186
+ className: `${RendererCssClassName.SORTABLE_COLUMN_ICON_WRAPPER} ${sortOrderedClassName}`
208
187
  }, /*#__PURE__*/React.createElement(SortingIcon, {
209
188
  isSortingAllowed: !!onSorting,
210
- sortOrdered: sortOrdered
189
+ sortOrdered: sortOrdered,
190
+ onClick: this.sort,
191
+ onKeyDown: this.onKeyPress
211
192
  }))));
212
193
  }
213
194
 
@@ -27,6 +27,8 @@ export default class ExtensionRenderer extends React.Component {
27
27
  _defineProperty(this, "getNodeRenderer", memoizeOne(getNodeRenderer));
28
28
 
29
29
  _defineProperty(this, "renderExtensionNode", extensionProvider => {
30
+ var _marks$find, _marks$find$attrs;
31
+
30
32
  const {
31
33
  extensionHandlers,
32
34
  rendererContext,
@@ -36,15 +38,18 @@ export default class ExtensionRenderer extends React.Component {
36
38
  content,
37
39
  text,
38
40
  type,
39
- localId
41
+ localId,
42
+ marks
40
43
  } = this.props;
44
+ const fragmentLocalId = marks === null || marks === void 0 ? void 0 : (_marks$find = marks.find(m => m.type.name === 'fragment')) === null || _marks$find === void 0 ? void 0 : (_marks$find$attrs = _marks$find.attrs) === null || _marks$find$attrs === void 0 ? void 0 : _marks$find$attrs.localId;
41
45
  const node = {
42
46
  type,
43
47
  extensionKey,
44
48
  extensionType,
45
49
  parameters,
46
50
  content: content || text,
47
- localId
51
+ localId,
52
+ fragmentLocalId
48
53
  };
49
54
  let result = null;
50
55
 
@@ -36,7 +36,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
36
36
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
37
37
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
38
38
  const packageName = "@atlaskit/renderer";
39
- const packageVersion = "102.0.0";
39
+ const packageVersion = "103.0.1";
40
40
  export class Renderer extends PureComponent {
41
41
  constructor(props) {
42
42
  super(props);
@@ -4,8 +4,9 @@ import { gridSize, fontFamily, fontSize, borderRadius } from '@atlaskit/theme/co
4
4
  import * as colors from '@atlaskit/theme/colors';
5
5
  import { headingSizes as headingSizesImport } from '@atlaskit/theme/typography';
6
6
  import { token } from '@atlaskit/tokens';
7
- import { tableSharedStyle, columnLayoutSharedStyle, blockquoteSharedStyles, headingsSharedStyles, ruleSharedStyles, whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, blockMarksSharedStyles, mediaSingleSharedStyle, TableSharedCssClassName, tableMarginTop, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, richMediaClassName, tasksAndDecisionsStyles, smartCardSharedStyles, tableCellPadding, textColorStyles } from '@atlaskit/editor-common/styles';
7
+ import { tableSharedStyle, columnLayoutSharedStyle, blockquoteSharedStyles, headingsSharedStyles, ruleSharedStyles, whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, blockMarksSharedStyles, mediaSingleSharedStyle, TableSharedCssClassName, tableMarginTop, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, richMediaClassName, tasksAndDecisionsStyles, smartCardSharedStyles, tableCellPadding, textColorStyles, codeBlockInListSafariFix } from '@atlaskit/editor-common/styles';
8
8
  import { shadowClassNames } from '@atlaskit/editor-common/ui';
9
+ import { browser } from '@atlaskit/editor-common/utils';
9
10
  import { editorFontSize, blockNodesVerticalMargin, akEditorTableToolbar, akEditorTableToolbarDark, akEditorTableBorder, akEditorTableBorderDark, akEditorTableNumberColumnWidth, gridMediumMaxWidth, akEditorFullWidthLayoutWidth, akEditorStickyHeaderZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
10
11
  import { RendererCssClassName } from '../../consts';
11
12
  import { HeadingAnchorWrapperClassName } from '../../react/nodes/heading-anchor';
@@ -187,13 +188,12 @@ const tableSortableColumnStyle = ({
187
188
  }
188
189
 
189
190
  return css`
190
- .${RendererCssClassName.SORTABLE_COLUMN} {
191
+ .${RendererCssClassName.SORTABLE_COLUMN_WRAPPER} {
191
192
  padding: 0;
192
193
 
193
- .${RendererCssClassName.SORTABLE_COLUMN_BUTTON} {
194
+ .${RendererCssClassName.SORTABLE_COLUMN} {
194
195
  width: 100%;
195
196
  height: 100%;
196
- cursor: pointer;
197
197
  padding: ${tableCellPadding}px;
198
198
  border-width: 1.5px;
199
199
  border-style: solid;
@@ -203,11 +203,13 @@ const tableSortableColumnStyle = ({
203
203
  margin-top: 0;
204
204
  }
205
205
 
206
- > .ProseMirror-gapcursor.-right:first-of-type + * {
206
+ > .ProseMirror-gapcursor:first-child + *,
207
+ > style:first-child + .ProseMirror-gapcursor + * {
207
208
  margin-top: 0;
208
209
  }
209
210
 
210
- > .ProseMirror-gapcursor:first-of-type + span + * {
211
+ > .ProseMirror-gapcursor:first-child + span + *,
212
+ > style:first-child + .ProseMirror-gapcursor + span + * {
211
213
  margin-top: 0;
212
214
  }
213
215
 
@@ -223,24 +225,28 @@ const tableSortableColumnStyle = ({
223
225
  ${headingsCss}
224
226
  }
225
227
 
226
- &.${RendererCssClassName.SORTABLE_COLUMN_NOT_ALLOWED}
227
- .${RendererCssClassName.SORTABLE_COLUMN_BUTTON} {
228
- cursor: default;
229
- }
230
-
231
- .${RendererCssClassName.SORTABLE_COLUMN_ICON} {
228
+ .${RendererCssClassName.SORTABLE_COLUMN_ICON_WRAPPER} {
232
229
  margin: 0;
233
- opacity: 1;
234
- transition: opacity 0.2s ease-in-out;
230
+ .${RendererCssClassName.SORTABLE_COLUMN_ICON} {
231
+ opacity: 1;
232
+ transition: opacity 0.2s ease-in-out;
233
+ }
235
234
  }
236
235
 
237
236
  .${RendererCssClassName.SORTABLE_COLUMN_NO_ORDER} {
238
- opacity: 0;
237
+ .${RendererCssClassName.SORTABLE_COLUMN_ICON} {
238
+ opacity: 0;
239
+ &:focus {
240
+ opacity: 1;
241
+ }
242
+ }
239
243
  }
240
244
 
241
245
  &:hover {
242
246
  .${RendererCssClassName.SORTABLE_COLUMN_NO_ORDER} {
243
- opacity: 1;
247
+ .${RendererCssClassName.SORTABLE_COLUMN_ICON} {
248
+ opacity: 1;
249
+ }
244
250
  }
245
251
  }
246
252
  }
@@ -677,5 +683,20 @@ export const rendererStyles = wrapperProps => theme => {
677
683
  }
678
684
  }
679
685
  }
686
+
687
+ & li {
688
+ > .code-block {
689
+ margin: ${blockNodesVerticalMargin} 0 0 0;
690
+ }
691
+ > .code-block:first-child {
692
+ margin-top: 0;
693
+ }
694
+
695
+ > div:last-of-type.code-block {
696
+ margin-bottom: ${blockNodesVerticalMargin};
697
+ }
698
+
699
+ ${browser.safari ? codeBlockInListSafariFix : ''}
700
+ }
680
701
  `;
681
702
  };