@atlaskit/editor-common 81.2.2 → 82.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 (192) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/cjs/analytics/index.js +6 -0
  3. package/dist/cjs/analytics/types/index.js +6 -0
  4. package/dist/cjs/analytics/types/table-events.js +8 -2
  5. package/dist/cjs/extensibility/Extension/InlineExtension/index.js +1 -1
  6. package/dist/cjs/guideline/utils.js +1 -1
  7. package/dist/cjs/i18n/cs.js +5 -0
  8. package/dist/cjs/i18n/da.js +3 -2
  9. package/dist/cjs/i18n/de.js +1 -0
  10. package/dist/cjs/i18n/en.js +4 -0
  11. package/dist/cjs/i18n/en_GB.js +4 -0
  12. package/dist/cjs/i18n/en_ZZ.js +4 -0
  13. package/dist/cjs/i18n/es.js +1 -0
  14. package/dist/cjs/i18n/fi.js +1 -0
  15. package/dist/cjs/i18n/fr.js +1 -0
  16. package/dist/cjs/i18n/hu.js +1 -0
  17. package/dist/cjs/i18n/it.js +1 -0
  18. package/dist/cjs/i18n/ja.js +1 -0
  19. package/dist/cjs/i18n/ko.js +1 -0
  20. package/dist/cjs/i18n/nb.js +5 -0
  21. package/dist/cjs/i18n/nl.js +1 -0
  22. package/dist/cjs/i18n/pl.js +1 -0
  23. package/dist/cjs/i18n/pt_BR.js +1 -0
  24. package/dist/cjs/i18n/ru.js +1 -0
  25. package/dist/cjs/i18n/sv.js +1 -0
  26. package/dist/cjs/i18n/th.js +1 -0
  27. package/dist/cjs/i18n/tr.js +1 -0
  28. package/dist/cjs/i18n/uk.js +1 -0
  29. package/dist/cjs/i18n/vi.js +1 -0
  30. package/dist/cjs/i18n/zh.js +1 -0
  31. package/dist/cjs/i18n/zh_TW.js +5 -0
  32. package/dist/cjs/keymaps/index.js +8 -3
  33. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +24 -29
  34. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
  35. package/dist/cjs/media-single/utils.js +1 -1
  36. package/dist/cjs/messages/help-dialog.js +12 -12
  37. package/dist/cjs/messages/table.js +0 -5
  38. package/dist/cjs/monitoring/error.js +1 -1
  39. package/dist/cjs/styles/shared/blockquote.js +1 -0
  40. package/dist/cjs/ui/DropList/index.js +1 -1
  41. package/dist/cjs/utils/breakout.js +7 -6
  42. package/dist/es2019/analytics/index.js +1 -1
  43. package/dist/es2019/analytics/types/index.js +1 -1
  44. package/dist/es2019/analytics/types/table-events.js +8 -1
  45. package/dist/es2019/extensibility/Extension/InlineExtension/index.js +2 -2
  46. package/dist/es2019/guideline/utils.js +2 -2
  47. package/dist/es2019/i18n/cs.js +5 -0
  48. package/dist/es2019/i18n/da.js +3 -2
  49. package/dist/es2019/i18n/de.js +1 -0
  50. package/dist/es2019/i18n/en.js +4 -0
  51. package/dist/es2019/i18n/en_GB.js +4 -0
  52. package/dist/es2019/i18n/en_ZZ.js +4 -0
  53. package/dist/es2019/i18n/es.js +1 -0
  54. package/dist/es2019/i18n/fi.js +1 -0
  55. package/dist/es2019/i18n/fr.js +1 -0
  56. package/dist/es2019/i18n/hu.js +1 -0
  57. package/dist/es2019/i18n/it.js +1 -0
  58. package/dist/es2019/i18n/ja.js +1 -0
  59. package/dist/es2019/i18n/ko.js +1 -0
  60. package/dist/es2019/i18n/nb.js +5 -0
  61. package/dist/es2019/i18n/nl.js +1 -0
  62. package/dist/es2019/i18n/pl.js +1 -0
  63. package/dist/es2019/i18n/pt_BR.js +1 -0
  64. package/dist/es2019/i18n/ru.js +1 -0
  65. package/dist/es2019/i18n/sv.js +1 -0
  66. package/dist/es2019/i18n/th.js +1 -0
  67. package/dist/es2019/i18n/tr.js +1 -0
  68. package/dist/es2019/i18n/uk.js +1 -0
  69. package/dist/es2019/i18n/vi.js +1 -0
  70. package/dist/es2019/i18n/zh.js +1 -0
  71. package/dist/es2019/i18n/zh_TW.js +5 -0
  72. package/dist/es2019/keymaps/index.js +5 -0
  73. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +19 -23
  74. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
  75. package/dist/es2019/media-single/utils.js +2 -2
  76. package/dist/es2019/messages/help-dialog.js +12 -12
  77. package/dist/es2019/messages/table.js +0 -5
  78. package/dist/es2019/monitoring/error.js +1 -1
  79. package/dist/es2019/styles/shared/blockquote.js +1 -0
  80. package/dist/es2019/ui/DropList/index.js +1 -1
  81. package/dist/es2019/utils/breakout.js +7 -7
  82. package/dist/esm/analytics/index.js +1 -1
  83. package/dist/esm/analytics/types/index.js +1 -1
  84. package/dist/esm/analytics/types/table-events.js +8 -1
  85. package/dist/esm/extensibility/Extension/InlineExtension/index.js +2 -2
  86. package/dist/esm/guideline/utils.js +2 -2
  87. package/dist/esm/i18n/cs.js +5 -0
  88. package/dist/esm/i18n/da.js +3 -2
  89. package/dist/esm/i18n/de.js +1 -0
  90. package/dist/esm/i18n/en.js +4 -0
  91. package/dist/esm/i18n/en_GB.js +4 -0
  92. package/dist/esm/i18n/en_ZZ.js +4 -0
  93. package/dist/esm/i18n/es.js +1 -0
  94. package/dist/esm/i18n/fi.js +1 -0
  95. package/dist/esm/i18n/fr.js +1 -0
  96. package/dist/esm/i18n/hu.js +1 -0
  97. package/dist/esm/i18n/it.js +1 -0
  98. package/dist/esm/i18n/ja.js +1 -0
  99. package/dist/esm/i18n/ko.js +1 -0
  100. package/dist/esm/i18n/nb.js +5 -0
  101. package/dist/esm/i18n/nl.js +1 -0
  102. package/dist/esm/i18n/pl.js +1 -0
  103. package/dist/esm/i18n/pt_BR.js +1 -0
  104. package/dist/esm/i18n/ru.js +1 -0
  105. package/dist/esm/i18n/sv.js +1 -0
  106. package/dist/esm/i18n/th.js +1 -0
  107. package/dist/esm/i18n/tr.js +1 -0
  108. package/dist/esm/i18n/uk.js +1 -0
  109. package/dist/esm/i18n/vi.js +1 -0
  110. package/dist/esm/i18n/zh.js +1 -0
  111. package/dist/esm/i18n/zh_TW.js +5 -0
  112. package/dist/esm/keymaps/index.js +5 -0
  113. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +24 -29
  114. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
  115. package/dist/esm/media-single/utils.js +2 -2
  116. package/dist/esm/messages/help-dialog.js +12 -12
  117. package/dist/esm/messages/table.js +0 -5
  118. package/dist/esm/monitoring/error.js +1 -1
  119. package/dist/esm/styles/shared/blockquote.js +1 -0
  120. package/dist/esm/ui/DropList/index.js +1 -1
  121. package/dist/esm/utils/breakout.js +7 -6
  122. package/dist/types/analytics/index.d.ts +1 -1
  123. package/dist/types/analytics/types/index.d.ts +1 -1
  124. package/dist/types/analytics/types/table-events.d.ts +7 -1
  125. package/dist/types/card/types.d.ts +10 -4
  126. package/dist/types/i18n/cs.d.ts +5 -0
  127. package/dist/types/i18n/da.d.ts +1 -0
  128. package/dist/types/i18n/de.d.ts +1 -0
  129. package/dist/types/i18n/en.d.ts +4 -0
  130. package/dist/types/i18n/en_GB.d.ts +4 -0
  131. package/dist/types/i18n/en_ZZ.d.ts +4 -0
  132. package/dist/types/i18n/es.d.ts +1 -0
  133. package/dist/types/i18n/fi.d.ts +1 -0
  134. package/dist/types/i18n/fr.d.ts +1 -0
  135. package/dist/types/i18n/hu.d.ts +1 -0
  136. package/dist/types/i18n/it.d.ts +1 -0
  137. package/dist/types/i18n/ja.d.ts +1 -0
  138. package/dist/types/i18n/ko.d.ts +1 -0
  139. package/dist/types/i18n/nb.d.ts +5 -0
  140. package/dist/types/i18n/nl.d.ts +1 -0
  141. package/dist/types/i18n/pl.d.ts +1 -0
  142. package/dist/types/i18n/pt_BR.d.ts +1 -0
  143. package/dist/types/i18n/ru.d.ts +1 -0
  144. package/dist/types/i18n/sv.d.ts +1 -0
  145. package/dist/types/i18n/th.d.ts +1 -0
  146. package/dist/types/i18n/tr.d.ts +1 -0
  147. package/dist/types/i18n/uk.d.ts +1 -0
  148. package/dist/types/i18n/vi.d.ts +1 -0
  149. package/dist/types/i18n/zh.d.ts +1 -0
  150. package/dist/types/i18n/zh_TW.d.ts +5 -0
  151. package/dist/types/keymaps/index.d.ts +4 -0
  152. package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +3 -2
  153. package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +6 -5
  154. package/dist/types/messages/help-dialog.d.ts +6 -6
  155. package/dist/types/messages/table.d.ts +0 -5
  156. package/dist/types/utils/breakout.d.ts +1 -1
  157. package/dist/types-ts4.5/analytics/index.d.ts +1 -1
  158. package/dist/types-ts4.5/analytics/types/index.d.ts +1 -1
  159. package/dist/types-ts4.5/analytics/types/table-events.d.ts +7 -1
  160. package/dist/types-ts4.5/card/types.d.ts +10 -4
  161. package/dist/types-ts4.5/i18n/cs.d.ts +5 -0
  162. package/dist/types-ts4.5/i18n/da.d.ts +1 -0
  163. package/dist/types-ts4.5/i18n/de.d.ts +1 -0
  164. package/dist/types-ts4.5/i18n/en.d.ts +4 -0
  165. package/dist/types-ts4.5/i18n/en_GB.d.ts +4 -0
  166. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +4 -0
  167. package/dist/types-ts4.5/i18n/es.d.ts +1 -0
  168. package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
  169. package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
  170. package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
  171. package/dist/types-ts4.5/i18n/it.d.ts +1 -0
  172. package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
  173. package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
  174. package/dist/types-ts4.5/i18n/nb.d.ts +5 -0
  175. package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
  176. package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
  177. package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
  178. package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
  179. package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
  180. package/dist/types-ts4.5/i18n/th.d.ts +1 -0
  181. package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
  182. package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
  183. package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
  184. package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
  185. package/dist/types-ts4.5/i18n/zh_TW.d.ts +5 -0
  186. package/dist/types-ts4.5/keymaps/index.d.ts +4 -0
  187. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +3 -2
  188. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +6 -5
  189. package/dist/types-ts4.5/messages/help-dialog.d.ts +6 -6
  190. package/dist/types-ts4.5/messages/table.d.ts +0 -5
  191. package/dist/types-ts4.5/utils/breakout.d.ts +1 -1
  192. package/package.json +5 -5
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Tietoja',
246
246
  'fabric.editor.infoPanel': 'Tietopaneeli',
247
247
  'fabric.editor.infoPanel.description': 'Korosta tietoja värillisessä paneelissa',
248
+ 'fabric.editor.inlineConfigureLink': 'Määritä linkki',
248
249
  'fabric.editor.inlineDescription': 'Näytä linkki sitoutuvana tekstinä',
249
250
  'fabric.editor.inlineOverlay': 'Muokkaa',
250
251
  'fabric.editor.inlineTitle': 'Tekstiin sitoutuva',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Informations',
246
246
  'fabric.editor.infoPanel': "Volet d'informations",
247
247
  'fabric.editor.infoPanel.description': 'Mettre en valeur des informations dans un cadre coloré',
248
+ 'fabric.editor.inlineConfigureLink': 'Configurer le lien',
248
249
  'fabric.editor.inlineDescription': 'Affichez le lien sous forme de texte sur la même ligne',
249
250
  'fabric.editor.inlineOverlay': 'Configurer',
250
251
  'fabric.editor.inlineTitle': 'Sur la même ligne',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Információ',
246
246
  'fabric.editor.infoPanel': 'Információs panel',
247
247
  'fabric.editor.infoPanel.description': 'Információ kiemelése színes panelen',
248
+ 'fabric.editor.inlineConfigureLink': 'Link konfigurálása',
248
249
  'fabric.editor.inlineDescription': 'Link megjelenítése beágyazott szövegként',
249
250
  'fabric.editor.inlineOverlay': 'Konfigurálás',
250
251
  'fabric.editor.inlineTitle': 'Beágyazott',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Info',
246
246
  'fabric.editor.infoPanel': 'Pannello informazioni',
247
247
  'fabric.editor.infoPanel.description': 'Metti in evidenza l’informazione in un pannello colorato',
248
+ 'fabric.editor.inlineConfigureLink': 'Configura il link',
248
249
  'fabric.editor.inlineDescription': 'Visualizza il link come testo in linea',
249
250
  'fabric.editor.inlineOverlay': 'Configura',
250
251
  'fabric.editor.inlineTitle': 'In linea',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': '情報',
246
246
  'fabric.editor.infoPanel': '情報パネル',
247
247
  'fabric.editor.infoPanel.description': '色付きのパネルで情報を強調',
248
+ 'fabric.editor.inlineConfigureLink': 'リンクを設定',
248
249
  'fabric.editor.inlineDescription': 'リンクをインライン テキストとして表示します。',
249
250
  'fabric.editor.inlineOverlay': '構成',
250
251
  'fabric.editor.inlineTitle': 'インライン',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': '정보',
246
246
  'fabric.editor.infoPanel': '정보 패널',
247
247
  'fabric.editor.infoPanel.description': '색상 있는 패널에서 정보 강조 표시',
248
+ 'fabric.editor.inlineConfigureLink': '링크 구성',
248
249
  'fabric.editor.inlineDescription': '링크를 인라인 텍스트로 표시',
249
250
  'fabric.editor.inlineOverlay': '구성',
250
251
  'fabric.editor.inlineTitle': '인라인',
@@ -130,6 +130,10 @@ export default {
130
130
  'fabric.editor.edit.searchInput': 'Legg til en kobling',
131
131
  'fabric.editor.editAltText': 'Rediger alternativ tekst',
132
132
  'fabric.editor.editDateText': 'Rediger dato',
133
+ 'fabric.editor.editDropdownEditDatasourceTitle': 'Rediger søkespørring',
134
+ 'fabric.editor.editDropdownEditLinkTitle': 'Rediger kobling',
135
+ 'fabric.editor.editDropdownExpandIconLabel': 'Utvid rullegardinmenyen',
136
+ 'fabric.editor.editDropdownTriggerTitle': 'Rediger',
133
137
  'fabric.editor.editLink': 'Rediger kobling',
134
138
  'fabric.editor.editMode.inviteToEditButton.title': 'Inviter til å redigere',
135
139
  'fabric.editor.editStatusColor': 'Rediger statusfarge',
@@ -245,6 +249,7 @@ export default {
245
249
  'fabric.editor.info': 'Informasjon',
246
250
  'fabric.editor.infoPanel': 'Informasjonspanel',
247
251
  'fabric.editor.infoPanel.description': 'Uthev informasjonen i et farget panel',
252
+ 'fabric.editor.inlineConfigureLink': 'Konfigurer kobling',
248
253
  'fabric.editor.inlineDescription': 'Vis kobling som innebygd tekst',
249
254
  'fabric.editor.inlineOverlay': 'Konfigurer',
250
255
  'fabric.editor.inlineTitle': 'Innebygd',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Informatie',
246
246
  'fabric.editor.infoPanel': 'Infopaneel',
247
247
  'fabric.editor.infoPanel.description': 'Informatie markeren in een gekleurd paneel',
248
+ 'fabric.editor.inlineConfigureLink': 'Link configureren',
248
249
  'fabric.editor.inlineDescription': 'Link als inline-tekst weergeven',
249
250
  'fabric.editor.inlineOverlay': 'Configureren',
250
251
  'fabric.editor.inlineTitle': 'Inline',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Informacje',
246
246
  'fabric.editor.infoPanel': 'Panel informacyjny',
247
247
  'fabric.editor.infoPanel.description': 'Wyróżnij informacje kolorem',
248
+ 'fabric.editor.inlineConfigureLink': 'Konfiguruj łącze',
248
249
  'fabric.editor.inlineDescription': 'Wyświetla łącze bezpośrednio w tekście',
249
250
  'fabric.editor.inlineOverlay': 'Konfiguruj',
250
251
  'fabric.editor.inlineTitle': 'Bezpośrednio w tekście',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Informações',
246
246
  'fabric.editor.infoPanel': 'Painel de informações',
247
247
  'fabric.editor.infoPanel.description': 'Destacar informações em um painel colorido',
248
+ 'fabric.editor.inlineConfigureLink': 'Configurar link',
248
249
  'fabric.editor.inlineDescription': 'Mostrar link como texto em linha',
249
250
  'fabric.editor.inlineOverlay': 'Configurar',
250
251
  'fabric.editor.inlineTitle': 'Em linha',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Информация',
246
246
  'fabric.editor.infoPanel': 'Информационная панель',
247
247
  'fabric.editor.infoPanel.description': 'Выделение информации цветом',
248
+ 'fabric.editor.inlineConfigureLink': 'Настроить ссылку',
248
249
  'fabric.editor.inlineDescription': 'Отображение ссылки в виде встроенного текста',
249
250
  'fabric.editor.inlineOverlay': 'Настроить',
250
251
  'fabric.editor.inlineTitle': 'Встроенный текст',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Info',
246
246
  'fabric.editor.infoPanel': 'Informationspanel',
247
247
  'fabric.editor.infoPanel.description': 'Markera information med en färgad panel',
248
+ 'fabric.editor.inlineConfigureLink': 'Konfigurera länk',
248
249
  'fabric.editor.inlineDescription': 'Visa länk som infogad text',
249
250
  'fabric.editor.inlineOverlay': 'Konfigurera',
250
251
  'fabric.editor.inlineTitle': 'Inline',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'ข้อมูล',
246
246
  'fabric.editor.infoPanel': 'แผงข้อมูล',
247
247
  'fabric.editor.infoPanel.description': 'ไฮไลท์ข้อมูลในแผงสี',
248
+ 'fabric.editor.inlineConfigureLink': 'กำหนดค่าลิงก์',
248
249
  'fabric.editor.inlineDescription': 'แสดงลิงก์เป็นข้อความแบบบรรทัดเดียว',
249
250
  'fabric.editor.inlineOverlay': 'กำหนดค่า',
250
251
  'fabric.editor.inlineTitle': 'บรรทัดเดียว',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Bilgi',
246
246
  'fabric.editor.infoPanel': 'Bilgi panosu',
247
247
  'fabric.editor.infoPanel.description': 'Renkli bir panoda bilgileri vurgulayın',
248
+ 'fabric.editor.inlineConfigureLink': 'Bağlantıyı yapılandırın',
248
249
  'fabric.editor.inlineDescription': 'Bağlantıyı satır içi metin olarak gösterir',
249
250
  'fabric.editor.inlineOverlay': 'Yapılandır',
250
251
  'fabric.editor.inlineTitle': 'Satır içi',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Інформація',
246
246
  'fabric.editor.infoPanel': 'Панель з інформацією',
247
247
  'fabric.editor.infoPanel.description': 'Панель із виділеною кольорами інформацією',
248
+ 'fabric.editor.inlineConfigureLink': 'Посилання для налаштування',
248
249
  'fabric.editor.inlineDescription': 'Показати посилання як вбудований текст',
249
250
  'fabric.editor.inlineOverlay': 'Налаштування',
250
251
  'fabric.editor.inlineTitle': 'У рядку',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': 'Thông tin',
246
246
  'fabric.editor.infoPanel': 'Ô thông tin',
247
247
  'fabric.editor.infoPanel.description': 'Bôi đậm thông tin bằng ô màu',
248
+ 'fabric.editor.inlineConfigureLink': 'Định cấu hình liên kết',
248
249
  'fabric.editor.inlineDescription': 'Hiển thị liên kết dưới dạng văn bản nội tuyến',
249
250
  'fabric.editor.inlineOverlay': 'Đặt cấu hình',
250
251
  'fabric.editor.inlineTitle': 'Nội tuyến',
@@ -245,6 +245,7 @@ export default {
245
245
  'fabric.editor.info': '信息',
246
246
  'fabric.editor.infoPanel': '信息面板',
247
247
  'fabric.editor.infoPanel.description': '在彩色面板高亮显示信息',
248
+ 'fabric.editor.inlineConfigureLink': '配置链接',
248
249
  'fabric.editor.inlineDescription': '以内联文本显示链接',
249
250
  'fabric.editor.inlineOverlay': '配置',
250
251
  'fabric.editor.inlineTitle': '内联',
@@ -130,6 +130,10 @@ export default {
130
130
  'fabric.editor.edit.searchInput': '新增連結',
131
131
  'fabric.editor.editAltText': '編輯替代文字',
132
132
  'fabric.editor.editDateText': '編輯日期',
133
+ 'fabric.editor.editDropdownEditDatasourceTitle': '編輯搜尋查詢',
134
+ 'fabric.editor.editDropdownEditLinkTitle': '編輯連結',
135
+ 'fabric.editor.editDropdownExpandIconLabel': '展開下拉式選單',
136
+ 'fabric.editor.editDropdownTriggerTitle': '編輯',
133
137
  'fabric.editor.editLink': '編輯連結',
134
138
  'fabric.editor.editMode.inviteToEditButton.title': '邀請編輯',
135
139
  'fabric.editor.editStatusColor': '編輯狀態顏色',
@@ -245,6 +249,7 @@ export default {
245
249
  'fabric.editor.info': '資訊',
246
250
  'fabric.editor.infoPanel': '資訊面板',
247
251
  'fabric.editor.infoPanel.description': '以彩色面板醒目提示資訊',
252
+ 'fabric.editor.inlineConfigureLink': '設定連結',
248
253
  'fabric.editor.inlineDescription': '將連結顯示為內嵌文字',
249
254
  'fabric.editor.inlineOverlay': '設定',
250
255
  'fabric.editor.inlineTitle': '內嵌',
@@ -66,6 +66,11 @@ export var addRowBefore = makeKeyMapWithCommon('Add Row Above', 'Ctrl-Alt-ArrowU
66
66
  export var addRowAfter = makeKeyMapWithCommon('Add Row Below', 'Ctrl-Alt-ArrowDown');
67
67
  export var addColumnAfter = makeKeyMapWithCommon('Add Column After', 'Ctrl-Alt-ArrowRight');
68
68
  export var addColumnBefore = makeKeyMapWithCommon('Add Column Before', 'Ctrl-Alt-ArrowLeft');
69
+ // The following few shortcuts that end in VO are added specifically for Voice Over users, as shortcuts that perform the same role when using Voice Over don't work because they conflict with default shortcuts in Voice Over
70
+ export var addRowBeforeVO = makeKeyMapWithCommon('Add Row Above', 'Mod-Alt-[');
71
+ export var addRowAfterVO = makeKeyMapWithCommon('Add Row Below', 'Mod-Alt-]');
72
+ export var addColumnAfterVO = makeKeyMapWithCommon('Add Column After', 'Mod-Alt-=');
73
+ export var addColumnBeforeVO = makeKeyMapWithCommon('Add Column Before', 'Mod-Alt--');
69
74
  export var moveColumnLeft = makeKeyMapWithCommon('Move Column Left', 'Ctrl-Alt-Shift-ArrowLeft');
70
75
  export var moveColumnRight = makeKeyMapWithCommon('Move Column Right', 'Ctrl-Alt-Shift-ArrowRight');
71
76
  export var moveRowDown = makeKeyMapWithCommon('Move Row Down', 'Ctrl-Alt-Shift-ArrowDown');
@@ -165,13 +165,12 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
165
165
  _defineProperty(_assertThisInitialized(_this), "analyticSource", 'createLinkInlineDialog');
166
166
  _defineProperty(_assertThisInitialized(_this), "quickSearch", /*#__PURE__*/function () {
167
167
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(input, items, quickSearchLimit) {
168
- var _pluginState$searchSe;
169
- var _this$state, searchProvider, displayUrl, pluginState, queryVersion, perfStart, _pluginState$searchSe2, searchProviderResultItems, searchItems, perfStop, duration, _perfStop, _duration;
168
+ var _this$state, searchProvider, displayUrl, searchSessionId, queryVersion, perfStart, searchProviderResultItems, searchItems, perfStop, duration, _perfStop, _duration;
170
169
  return _regeneratorRuntime.wrap(function _callee$(_context) {
171
170
  while (1) switch (_context.prev = _context.next) {
172
171
  case 0:
173
172
  _this$state = _this.state, searchProvider = _this$state.searchProvider, displayUrl = _this$state.displayUrl;
174
- pluginState = _this.props.pluginState;
173
+ searchSessionId = _this.props.searchSessionId;
175
174
  if (searchProvider) {
176
175
  _context.next = 4;
177
176
  break;
@@ -187,7 +186,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
187
186
  queryLength: input.length,
188
187
  queryVersion: queryVersion,
189
188
  queryHash: sha1(input),
190
- searchSessionId: (_pluginState$searchSe = pluginState.searchSessionId) !== null && _pluginState$searchSe !== void 0 ? _pluginState$searchSe : '',
189
+ searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
191
190
  wordCount: wordCount(input),
192
191
  source: _this.analyticSource
193
192
  },
@@ -230,7 +229,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
230
229
  attributes: {
231
230
  source: _this.analyticSource,
232
231
  postQueryRequestDurationMs: duration,
233
- searchSessionId: (_pluginState$searchSe2 = pluginState.searchSessionId) !== null && _pluginState$searchSe2 !== void 0 ? _pluginState$searchSe2 : '',
232
+ searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
234
233
  resultCount: searchProviderResultItems.length,
235
234
  results: searchProviderResultItems.map(function (item) {
236
235
  return {
@@ -436,7 +435,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
436
435
  });
437
436
  _defineProperty(_assertThisInitialized(_this), "handleInsert", function (href, title, inputType, interaction) {
438
437
  var _this$props2 = _this.props,
439
- pluginState = _this$props2.pluginState,
438
+ searchSessionId = _this$props2.searchSessionId,
440
439
  onSubmit = _this$props2.onSubmit;
441
440
  var _this$state5 = _this.state,
442
441
  items = _this$state5.items,
@@ -447,7 +446,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
447
446
  onSubmit(href, title, displayText, inputType);
448
447
  }
449
448
  if (interaction === 'click' || _this.isUrlPopulatedWithSelectedItem()) {
450
- var _pluginState$searchSe3, _selectedItem$prefetc;
449
+ var _selectedItem$prefetc;
451
450
  /**
452
451
  * When it's a mouse click even or the selectedItem.url matches displayUrl, we think
453
452
  * it's selected from the result list and fire the
@@ -459,7 +458,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
459
458
  actionSubject: ACTION_SUBJECT.SEARCH_RESULT,
460
459
  attributes: {
461
460
  source: _this.analyticSource,
462
- searchSessionId: (_pluginState$searchSe3 = pluginState.searchSessionId) !== null && _pluginState$searchSe3 !== void 0 ? _pluginState$searchSe3 : '',
461
+ searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
463
462
  trigger: interaction,
464
463
  resultCount: items.length,
465
464
  selectedResultId: selectedItem.objectId,
@@ -528,9 +527,9 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
528
527
  items = _this$state9.items,
529
528
  selectedIndex = _this$state9.selectedIndex;
530
529
  var _this$props3 = _this.props,
531
- pluginState = _this$props3.pluginState,
532
530
  view = _this$props3.view,
533
- onEscapeCallback = _this$props3.onEscapeCallback;
531
+ onEscapeCallback = _this$props3.onEscapeCallback,
532
+ searchSessionId = _this$props3.searchSessionId;
534
533
  var keyCode = event.keyCode;
535
534
  var KEY_CODE_ESCAPE = 27;
536
535
  var KEY_CODE_ARROW_DOWN = 40;
@@ -557,7 +556,6 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
557
556
  updatedIndex = selectedIndex > 0 ? selectedIndex - 1 : items.length - 1;
558
557
  }
559
558
  if ([KEY_CODE_ARROW_DOWN, KEY_CODE_ARROW_UP].includes(keyCode) && items[updatedIndex]) {
560
- var _pluginState$searchSe4;
561
559
  _this.setState({
562
560
  selectedIndex: updatedIndex,
563
561
  displayUrl: items[updatedIndex].url
@@ -567,7 +565,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
567
565
  actionSubject: ACTION_SUBJECT.SEARCH_RESULT,
568
566
  attributes: {
569
567
  source: _this.analyticSource,
570
- searchSessionId: (_pluginState$searchSe4 = pluginState.searchSessionId) !== null && _pluginState$searchSe4 !== void 0 ? _pluginState$searchSe4 : '',
568
+ searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
571
569
  selectedResultId: items[updatedIndex].objectId,
572
570
  selectedRelativePosition: updatedIndex
573
571
  },
@@ -608,22 +606,20 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
608
606
  key: "componentDidMount",
609
607
  value: function () {
610
608
  var _componentDidMount = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
611
- var _pluginState$searchSe5,
612
- _pluginState$inputMet,
613
- _this2 = this;
614
- var pluginState, _yield$Promise$all, _yield$Promise$all2, activityProvider, searchProvider;
609
+ var _this2 = this;
610
+ var _this$props5, timesViewed, inputMethod, searchSessionId, _yield$Promise$all, _yield$Promise$all2, activityProvider, searchProvider;
615
611
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
616
612
  while (1) switch (_context4.prev = _context4.next) {
617
613
  case 0:
618
- pluginState = this.props.pluginState;
614
+ _this$props5 = this.props, timesViewed = _this$props5.timesViewed, inputMethod = _this$props5.inputMethod, searchSessionId = _this$props5.searchSessionId;
619
615
  document.addEventListener('mousedown', this.handleClickOutside);
620
616
  this.fireAnalytics({
621
617
  action: ACTION.VIEWED,
622
618
  actionSubject: ACTION_SUBJECT.CREATE_LINK_INLINE_DIALOG,
623
619
  attributes: {
624
- timesViewed: pluginState.timesViewed,
625
- searchSessionId: (_pluginState$searchSe5 = pluginState.searchSessionId) !== null && _pluginState$searchSe5 !== void 0 ? _pluginState$searchSe5 : '',
626
- trigger: (_pluginState$inputMet = pluginState.inputMethod) !== null && _pluginState$inputMet !== void 0 ? _pluginState$inputMet : ''
620
+ timesViewed: timesViewed !== null && timesViewed !== void 0 ? timesViewed : 0,
621
+ searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
622
+ trigger: inputMethod !== null && inputMethod !== void 0 ? inputMethod : ''
627
623
  },
628
624
  eventType: EVENT_TYPE.SCREEN
629
625
  });
@@ -657,16 +653,15 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
657
653
  }, {
658
654
  key: "componentWillUnmount",
659
655
  value: function componentWillUnmount() {
660
- var pluginState = this.props.pluginState;
656
+ var searchSessionId = this.props.searchSessionId;
661
657
  document.removeEventListener('mousedown', this.handleClickOutside);
662
658
  if (!this.submitted) {
663
- var _pluginState$searchSe6;
664
659
  this.fireAnalytics({
665
660
  action: ACTION.DISMISSED,
666
661
  actionSubject: ACTION_SUBJECT.CREATE_LINK_INLINE_DIALOG,
667
662
  attributes: {
668
663
  source: this.analyticSource,
669
- searchSessionId: (_pluginState$searchSe6 = pluginState.searchSessionId) !== null && _pluginState$searchSe6 !== void 0 ? _pluginState$searchSe6 : '',
664
+ searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
670
665
  trigger: 'blur'
671
666
  },
672
667
  eventType: EVENT_TYPE.UI
@@ -677,11 +672,11 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
677
672
  key: "getRecentItems",
678
673
  value: function () {
679
674
  var _getRecentItems = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(activityProvider, query) {
680
- var pluginState, perfStart, _pluginState$searchSe7, activityRecentItems, _items2, perfStop, duration, _perfStop2, _duration2;
675
+ var searchSessionId, perfStart, activityRecentItems, _items2, perfStop, duration, _perfStop2, _duration2;
681
676
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
682
677
  while (1) switch (_context5.prev = _context5.next) {
683
678
  case 0:
684
- pluginState = this.props.pluginState;
679
+ searchSessionId = this.props.searchSessionId;
685
680
  perfStart = performance.now();
686
681
  _context5.prev = 2;
687
682
  _context5.t0 = limit;
@@ -723,7 +718,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
723
718
  attributes: {
724
719
  source: this.analyticSource,
725
720
  preQueryRequestDurationMs: duration,
726
- searchSessionId: (_pluginState$searchSe7 = pluginState.searchSessionId) !== null && _pluginState$searchSe7 !== void 0 ? _pluginState$searchSe7 : '',
721
+ searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
727
722
  resultCount: _items2.length,
728
723
  results: activityRecentItems.map(function (item) {
729
724
  var _item$type;
@@ -824,9 +819,9 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
824
819
  selectedIndex = _this$state11.selectedIndex,
825
820
  displayUrl = _this$state11.displayUrl,
826
821
  displayText = _this$state11.displayText;
827
- var _this$props5 = this.props,
828
- formatMessage = _this$props5.intl.formatMessage,
829
- activityProvider = _this$props5.activityProvider;
822
+ var _this$props6 = this.props,
823
+ formatMessage = _this$props6.intl.formatMessage,
824
+ activityProvider = _this$props6.activityProvider;
830
825
  var formatClearLinkText = formatMessage(messages.clearLink);
831
826
  var screenReaderDescriptionId = 'search-recent-links-field-description';
832
827
  var linkSearchListId = 'hyperlink-search-list';
@@ -31,7 +31,10 @@ export function HyperlinkAddToolbar(_ref2) {
31
31
  onClose = _ref2.onClose,
32
32
  onEscapeCallback = _ref2.onEscapeCallback,
33
33
  onClickAwayCallback = _ref2.onClickAwayCallback,
34
- hyperlinkPluginState = _ref2.hyperlinkPluginState;
34
+ editorAppearance = _ref2.editorAppearance,
35
+ inputMethod = _ref2.inputMethod,
36
+ searchSessionId = _ref2.searchSessionId,
37
+ timesViewed = _ref2.timesViewed;
35
38
  return /*#__PURE__*/React.createElement(WithProviders, {
36
39
  providers: ['activityProvider', 'searchProvider'],
37
40
  providerFactory: providerFactory,
@@ -43,8 +46,8 @@ export function HyperlinkAddToolbar(_ref2) {
43
46
  view: view,
44
47
  invokeMethod: // Provide `invokeMethod` prop as preferred value (card plugin passes as prop) otherwise assume this
45
48
  // is being used from inside the hyperlink plugin and use inputMethod from plugin state
46
- invokeMethod !== null && invokeMethod !== void 0 ? invokeMethod : hyperlinkPluginState === null || hyperlinkPluginState === void 0 ? void 0 : hyperlinkPluginState.inputMethod,
47
- editorAppearance: hyperlinkPluginState === null || hyperlinkPluginState === void 0 ? void 0 : hyperlinkPluginState.editorAppearance
49
+ invokeMethod !== null && invokeMethod !== void 0 ? invokeMethod : inputMethod,
50
+ editorAppearance: editorAppearance
48
51
  }, linkPickerOptions, {
49
52
  url: displayUrl,
50
53
  displayText: displayText,
@@ -61,10 +64,12 @@ export function HyperlinkAddToolbar(_ref2) {
61
64
  onSubmit: onSubmit,
62
65
  displayText: displayText,
63
66
  displayUrl: displayUrl,
64
- pluginState: hyperlinkPluginState,
65
67
  view: view,
66
68
  onEscapeCallback: onEscapeCallback,
67
- onClickAwayCallback: onClickAwayCallback
69
+ onClickAwayCallback: onClickAwayCallback,
70
+ inputMethod: inputMethod,
71
+ searchSessionId: searchSessionId,
72
+ timesViewed: timesViewed
68
73
  });
69
74
  }
70
75
  });
@@ -1,5 +1,5 @@
1
1
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
2
- import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
2
+ import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPaddingDynamic, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
3
3
  import { floatingLayouts, isRichMediaInsideOfBlockNode } from '../utils/rich-media-utils';
4
4
  import { DEFAULT_IMAGE_WIDTH, DEFAULT_ROUNDING_INTERVAL, MEDIA_SINGLE_DEFAULT_MIN_PIXEL_WIDTH, MEDIA_SINGLE_VIDEO_MIN_PIXEL_WIDTH, wrappedLayouts } from './constants';
5
5
 
@@ -93,7 +93,7 @@ var calcLegacyWideWidth = function calcLegacyWideWidth(containerWidth, origWidth
93
93
  * @param containerWidth width of editor container
94
94
  */
95
95
  export var calcMediaSingleMaxWidth = function calcMediaSingleMaxWidth(containerWidth) {
96
- var fullWidthPadding = akEditorGutterPadding * 2;
96
+ var fullWidthPadding = akEditorGutterPaddingDynamic() * 2;
97
97
  return Math.min(containerWidth - fullWidthPadding, akEditorFullWidthLayoutWidth);
98
98
  };
99
99
 
@@ -30,6 +30,16 @@ export var helpDialogMessages = defineMessages({
30
30
  defaultMessage: 'Toggle action item',
31
31
  description: 'For Check/Uncheck Action item use shortcut'
32
32
  },
33
+ InsertTableColumn: {
34
+ id: 'fabric.editor.insertTableColumn',
35
+ defaultMessage: 'Insert table column',
36
+ description: 'For insert table column'
37
+ },
38
+ InsertTableRow: {
39
+ id: 'fabric.editor.insertTableRow',
40
+ defaultMessage: 'Insert table row',
41
+ description: 'For insert table row'
42
+ },
33
43
  altText: {
34
44
  id: 'fabric.editor.altText',
35
45
  defaultMessage: 'Alt text',
@@ -50,24 +60,14 @@ export var helpDialogMessages = defineMessages({
50
60
  defaultMessage: 'Select column resize',
51
61
  description: 'Hint for selecting a column resize a shortcut'
52
62
  },
53
- increaseColumnSize: {
54
- id: 'fabric.editor.increaseColumnSize',
55
- defaultMessage: 'Increase column size',
56
- description: 'Hint for increasing a column size shortcut'
57
- },
58
- decreaseColumnSize: {
59
- id: 'fabric.editor.decreaseColumnSize',
60
- defaultMessage: 'Decrease column size',
61
- description: 'Hint for decreasing a column size shortcut'
62
- },
63
63
  increaseSize: {
64
64
  id: 'fabric.editor.increaseSize',
65
- defaultMessage: 'Increase size',
65
+ defaultMessage: 'Increase table or media size',
66
66
  description: 'The text is shown as an shortcut description in help dialog modal, when the user uses the described shortcut, he is able to increase the width of the selected element. Optimal characters less than 21.'
67
67
  },
68
68
  decreaseSize: {
69
69
  id: 'fabric.editor.decreaseSize',
70
- defaultMessage: 'Decrease size',
70
+ defaultMessage: 'Decrease table or media size',
71
71
  description: 'The text is shown as an shortcut description in help dialog modal, when the user uses the described shortcut, he is able to decrease the width of the selected element. Optimal characters less than 21.'
72
72
  },
73
73
  focusTableResizeHandle: {
@@ -240,11 +240,6 @@ export var messages = defineMessages({
240
240
  defaultMessage: 'Fixed column widths',
241
241
  description: 'Toggle button to enable fixed column widths'
242
242
  },
243
- unlockColumnWidths: {
244
- id: 'fabric.editor.unLockColumns',
245
- defaultMessage: 'Variable column widths',
246
- description: 'Toggle button to enable variable column widths'
247
- },
248
243
  rowControl: {
249
244
  id: 'fabric.editor.rowControl',
250
245
  defaultMessage: 'Highlight row',
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
8
8
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
9
- var packageVersion = "81.2.2";
9
+ var packageVersion = "82.0.1";
10
10
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
11
11
  // Remove URL as it has UGC
12
12
  // TODO: Sanitise the URL instead of just removing it
@@ -3,6 +3,7 @@ import { akEditorBlockquoteBorderColor, blockNodesVerticalMargin } from '@atlask
3
3
  export var blockquoteSharedStyles = css({
4
4
  '& blockquote': {
5
5
  boxSizing: 'border-box',
6
+ color: 'inherit',
6
7
  paddingLeft: "var(--ds-space-200, 16px)",
7
8
  borderLeft: "2px solid ".concat("var(--ds-border, ".concat(akEditorBlockquoteBorderColor, ")")),
8
9
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
@@ -15,7 +15,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
15
15
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
16
16
  import Layer from '../Layer';
17
17
  var packageName = "@atlaskit/editor-common";
18
- var packageVersion = "81.2.2";
18
+ var packageVersion = "82.0.1";
19
19
  var halfFocusRing = 1;
20
20
  var dropOffset = '0, 8';
21
21
  var DropList = /*#__PURE__*/function (_Component) {
@@ -21,8 +21,8 @@ var breakoutConsts = {
21
21
  /**
22
22
  * This function can return percentage value or px value depending upon the inputs
23
23
  */
24
- calcBreakoutWidth: function calcBreakoutWidth(layout, containerWidth) {
25
- var effectiveFullWidth = containerWidth - breakoutConsts.padding;
24
+ calcBreakoutWidth: function calcBreakoutWidth(layout, containerWidth, padding) {
25
+ var effectiveFullWidth = containerWidth - (padding !== null && padding !== void 0 ? padding : breakoutConsts.padding);
26
26
  switch (layout) {
27
27
  case 'full-width':
28
28
  return "".concat(Math.min(effectiveFullWidth, breakoutConsts.fullWidthLayoutWidth), "px");
@@ -30,7 +30,7 @@ var breakoutConsts = {
30
30
  if (effectiveFullWidth <= 0) {
31
31
  return '100%';
32
32
  }
33
- var wideWidth = breakoutConsts.calcWideWidth(containerWidth);
33
+ var wideWidth = breakoutConsts.calcWideWidth(containerWidth, undefined, undefined, padding);
34
34
  if (wideWidth.endsWith('%')) {
35
35
  return "".concat(Math.min(effectiveFullWidth, breakoutConsts.fullWidthLayoutWidth), "px");
36
36
  }
@@ -46,7 +46,8 @@ var breakoutConsts = {
46
46
  var containerWidth = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : breakoutConsts.defaultLayoutWidth;
47
47
  var maxWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Infinity;
48
48
  var fallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '100%';
49
- var effectiveFullWidth = containerWidth - breakoutConsts.padding;
49
+ var padding = arguments.length > 3 ? arguments[3] : undefined;
50
+ var effectiveFullWidth = containerWidth - (padding !== null && padding !== void 0 ? padding : breakoutConsts.padding);
50
51
  var layoutMaxWidth = breakoutConsts.mapBreakpointToLayoutMaxWidth(breakoutConsts.getBreakpoint(containerWidth));
51
52
  var wideWidth = Math.min(Math.ceil(layoutMaxWidth * breakoutConsts.wideScaleRatio), effectiveFullWidth);
52
53
  return layoutMaxWidth > wideWidth ? fallback : "".concat(Math.min(maxWidth, wideWidth), "px");
@@ -114,8 +115,8 @@ export function calculateBreakoutStyles(_ref) {
114
115
  marginLeft: "50%"
115
116
  };
116
117
  }
117
- export function calcBreakoutWidthPx(mode, widthStateWidth) {
118
- return parsePx(calcBreakoutWidth(mode, widthStateWidth));
118
+ export function calcBreakoutWidthPx(mode, widthStateWidth, padding) {
119
+ return parsePx(calcBreakoutWidth(mode, widthStateWidth, padding));
119
120
  }
120
121
  export var getNextBreakoutMode = function getNextBreakoutMode(currentMode) {
121
122
  if (currentMode === 'full-width') {
@@ -1,4 +1,4 @@
1
- export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, BROWSER_FREEZE_INTERACTION_TYPE, CONTENT_COMPONENT, DELETE_DIRECTION, EVENT_TYPE, FLOATING_CONTROLS_TITLE, FULL_WIDTH_MODE, GAP_CURSOR_POSITION, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LAYOUT_TYPE, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, MODE, PLATFORMS, PUNC, PasteContents, PasteSources, PasteTypes, RESOLVE_METHOD, SELECTION_TYPE, SELECTION_POSITION, SMART_LINK_TYPE, SYMBOL, SmartLinkNodeContexts, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TARGET_SELECTION_SOURCE, TOOLBAR_ACTION_SUBJECT_ID, TRIGGER_METHOD, USER_CONTEXT, TABLE_DISPLAY_MODE, VIEW_METHOD, } from './types';
1
+ export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, BROWSER_FREEZE_INTERACTION_TYPE, CONTENT_COMPONENT, CHANGE_ALIGNMENT_REASON, DELETE_DIRECTION, EVENT_TYPE, FLOATING_CONTROLS_TITLE, FULL_WIDTH_MODE, GAP_CURSOR_POSITION, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LAYOUT_TYPE, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, MODE, PLATFORMS, PUNC, PasteContents, PasteSources, PasteTypes, RESOLVE_METHOD, SELECTION_TYPE, SELECTION_POSITION, SMART_LINK_TYPE, SYMBOL, SmartLinkNodeContexts, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TARGET_SELECTION_SOURCE, TOOLBAR_ACTION_SUBJECT_ID, TRIGGER_METHOD, USER_CONTEXT, TABLE_DISPLAY_MODE, VIEW_METHOD, } from './types';
2
2
  export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, AnnotationAEP, AnnotationAEPAttributes, AnnotationActionType, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, CaptionTrackAction, ColorPickerAEP, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, DismissedCreateLinkInlineDialogAEP, DispatchAnalyticsEvent, EditLinkToolbarAEP, EnteredTextLinkSearchInputAEP, ErrorEventAttributes, ErrorEventPayload, ExperimentalEventPayload, ExtensionEventPayload, ExtensionType, FeatureExposureAEP, FormatEventPayload, GeneralEventPayload, HighlightedSearchResultsAEP, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, InsertSmartLinkAEP, ListEventPayload, MediaSwitchType, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, MediaResizeTrackAction, MediaInputResizeTrackAction, NodeCount, NodeEventPayload, OperationalAEP, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, PluginMethodReport, PluginPerformanceReportData, PluginsReport, QuickSearchPerfAEP, RecentActivitiesPerfAEP, SelectAllAEP, SelectCellAEP, SelectNodeAEP, SelectRangeAEP, SelectedSearchResultsAEP, SelectionEventPayload, SelectionJson, ShownPostQuerySearchResultsAEP, ShownPreQuerySearchResultsAEP, SimplifiedNode, SmartLinkNodeContext, SubstituteEventPayload, TableEventPayload, TextColorSelectedAEP, TextColorSelectedAttr, TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, ToolbarEventPayload, TransactionEventPayload, TypeAheadPayload, UfoSessionCompletePayloadAEP, UnlinkToolbarAEP, ViewedCreateLinkInlineDialogAEP, FireAnalyticsCallback, FireAnalyticsEvent, FireAnalyticsEventPayload, InitialiseFragmentMarksAEP, ConnectedNodesAEP, DisconnectedSourceAEP, DisconnectedTargetAEP, GotConnectionsAEP, UpdatedFragmentMarkNameAEP, UpdatedSourceAEP, UpdatedTargetAEP, OverflowStateInfo, } from './types';
3
3
  export type { EditorAnalyticsAPI } from './api';
4
4
  export { editorAnalyticsChannel, fireAnalyticsEvent } from './fire-analytics-event';
@@ -8,7 +8,7 @@ export { PUNC, SYMBOL } from './substitute-events';
8
8
  export { BROWSER_FREEZE_INTERACTION_TYPE, FULL_WIDTH_MODE, MODE, PLATFORMS, } from './general-events';
9
9
  export { LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, USER_CONTEXT } from './insert-events';
10
10
  export type { InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, } from './insert-events';
11
- export { TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TABLE_DISPLAY_MODE, } from './table-events';
11
+ export { CHANGE_ALIGNMENT_REASON, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TABLE_DISPLAY_MODE, } from './table-events';
12
12
  export type { TableEventPayload, OverflowStateInfo } from './table-events';
13
13
  export { PasteContents, PasteSources, PasteTypes } from './paste-events';
14
14
  export type { PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, } from './paste-events';
@@ -190,11 +190,17 @@ type TableChangedDisplayModeAEP = TableAEP<TABLE_ACTION.CHANGED_DISPLAY_MODE, {
190
190
  tableWidth: number | null;
191
191
  } & TotalRowAndColCount, undefined>;
192
192
  type AlignmentOptions = 'center' | 'align-start';
193
+ export declare enum CHANGE_ALIGNMENT_REASON {
194
+ TABLE_RESIZING = "tableResizing",
195
+ EDITOR_APPEARANCE_CHANGED = "editorAppearanceChanged",
196
+ TOOLBAR_OPTION_CHANGED = "toolbarOptionChanged"
197
+ }
193
198
  type TableChangedAlignmentAEP = TableAEP<TABLE_ACTION.CHANGED_ALIGNMENT, {
194
199
  newAlignment: AlignmentOptions;
195
200
  previousAlignment: AlignmentOptions | null;
196
201
  tableWidth: number | null;
197
- inputMethod: INPUT_METHOD.FLOATING_TB;
202
+ inputMethod: INPUT_METHOD.FLOATING_TB | INPUT_METHOD.AUTO;
203
+ reason: CHANGE_ALIGNMENT_REASON;
198
204
  } & TotalRowAndColCount, undefined>;
199
205
  export type TableEventPayload = TableDeleteAEP | TableClearAEP | TableMergeSplitAEP | TableColorAEP | TableToggleHeaderAEP | TableChangeBreakoutAEP | TableCopyAndCutAEP | TableAddRowOrColumnAEP | TableSortColumnAEP | TableDeleteRowOrColumnAEP | TableReplaceAEP | TableAttemptedResizeAEP | TableDistributeColumnsWidthsAEP | TableCollapsedAEP | TableFixedAEP | TableOverflowChangedAEP | TableInitialOverflowCapturedAEP | TableResizedAEP | TableResizePerfSamplingAEP | TableRowOrColumnMovedAEP | TableMovedRowOrColumnAEP | TableClonedRowOrColumnAEP | TableChangedDisplayModeAEP | TableColumnResizedAEP | TableChangedAlignmentAEP;
200
206
  export {};