@atlaskit/editor-common 78.22.4 → 78.23.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 (155) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/i18n/cs.js +2 -1
  3. package/dist/cjs/i18n/da.js +3 -2
  4. package/dist/cjs/i18n/de.js +2 -1
  5. package/dist/cjs/i18n/en.js +11 -3
  6. package/dist/cjs/i18n/en_GB.js +11 -3
  7. package/dist/cjs/i18n/es.js +3 -2
  8. package/dist/cjs/i18n/fi.js +3 -2
  9. package/dist/cjs/i18n/fr.js +2 -1
  10. package/dist/cjs/i18n/hu.js +2 -1
  11. package/dist/cjs/i18n/it.js +2 -1
  12. package/dist/cjs/i18n/ja.js +2 -1
  13. package/dist/cjs/i18n/ko.js +6 -5
  14. package/dist/cjs/i18n/nb.js +2 -1
  15. package/dist/cjs/i18n/nl.js +2 -1
  16. package/dist/cjs/i18n/pl.js +3 -2
  17. package/dist/cjs/i18n/pt_BR.js +2 -1
  18. package/dist/cjs/i18n/ru.js +2 -1
  19. package/dist/cjs/i18n/sv.js +2 -1
  20. package/dist/cjs/i18n/th.js +2 -1
  21. package/dist/cjs/i18n/tr.js +2 -1
  22. package/dist/cjs/i18n/uk.js +4 -3
  23. package/dist/cjs/i18n/vi.js +2 -1
  24. package/dist/cjs/i18n/zh.js +2 -1
  25. package/dist/cjs/i18n/zh_TW.js +2 -1
  26. package/dist/cjs/messages/table.js +2 -12
  27. package/dist/cjs/monitoring/error.js +1 -1
  28. package/dist/cjs/paste/md-plugins/linkify-md-plugin.js +9 -1
  29. package/dist/cjs/ui/DropList/index.js +1 -1
  30. package/dist/cjs/utils/hyperlink.js +9 -1
  31. package/dist/cjs/utils/index.js +7 -0
  32. package/dist/cjs/utils/should-auto-linkify-tld.js +87 -0
  33. package/dist/es2019/i18n/cs.js +2 -1
  34. package/dist/es2019/i18n/da.js +3 -2
  35. package/dist/es2019/i18n/de.js +2 -1
  36. package/dist/es2019/i18n/en.js +11 -3
  37. package/dist/es2019/i18n/en_GB.js +11 -3
  38. package/dist/es2019/i18n/es.js +3 -2
  39. package/dist/es2019/i18n/fi.js +3 -2
  40. package/dist/es2019/i18n/fr.js +2 -1
  41. package/dist/es2019/i18n/hu.js +2 -1
  42. package/dist/es2019/i18n/it.js +2 -1
  43. package/dist/es2019/i18n/ja.js +2 -1
  44. package/dist/es2019/i18n/ko.js +6 -5
  45. package/dist/es2019/i18n/nb.js +2 -1
  46. package/dist/es2019/i18n/nl.js +2 -1
  47. package/dist/es2019/i18n/pl.js +3 -2
  48. package/dist/es2019/i18n/pt_BR.js +2 -1
  49. package/dist/es2019/i18n/ru.js +2 -1
  50. package/dist/es2019/i18n/sv.js +2 -1
  51. package/dist/es2019/i18n/th.js +2 -1
  52. package/dist/es2019/i18n/tr.js +2 -1
  53. package/dist/es2019/i18n/uk.js +4 -3
  54. package/dist/es2019/i18n/vi.js +2 -1
  55. package/dist/es2019/i18n/zh.js +2 -1
  56. package/dist/es2019/i18n/zh_TW.js +2 -1
  57. package/dist/es2019/messages/table.js +2 -12
  58. package/dist/es2019/monitoring/error.js +1 -1
  59. package/dist/es2019/paste/md-plugins/linkify-md-plugin.js +8 -2
  60. package/dist/es2019/ui/DropList/index.js +1 -1
  61. package/dist/es2019/utils/hyperlink.js +7 -1
  62. package/dist/es2019/utils/index.js +1 -0
  63. package/dist/es2019/utils/should-auto-linkify-tld.js +80 -0
  64. package/dist/esm/i18n/cs.js +2 -1
  65. package/dist/esm/i18n/da.js +3 -2
  66. package/dist/esm/i18n/de.js +2 -1
  67. package/dist/esm/i18n/en.js +11 -3
  68. package/dist/esm/i18n/en_GB.js +11 -3
  69. package/dist/esm/i18n/es.js +3 -2
  70. package/dist/esm/i18n/fi.js +3 -2
  71. package/dist/esm/i18n/fr.js +2 -1
  72. package/dist/esm/i18n/hu.js +2 -1
  73. package/dist/esm/i18n/it.js +2 -1
  74. package/dist/esm/i18n/ja.js +2 -1
  75. package/dist/esm/i18n/ko.js +6 -5
  76. package/dist/esm/i18n/nb.js +2 -1
  77. package/dist/esm/i18n/nl.js +2 -1
  78. package/dist/esm/i18n/pl.js +3 -2
  79. package/dist/esm/i18n/pt_BR.js +2 -1
  80. package/dist/esm/i18n/ru.js +2 -1
  81. package/dist/esm/i18n/sv.js +2 -1
  82. package/dist/esm/i18n/th.js +2 -1
  83. package/dist/esm/i18n/tr.js +2 -1
  84. package/dist/esm/i18n/uk.js +4 -3
  85. package/dist/esm/i18n/vi.js +2 -1
  86. package/dist/esm/i18n/zh.js +2 -1
  87. package/dist/esm/i18n/zh_TW.js +2 -1
  88. package/dist/esm/messages/table.js +2 -12
  89. package/dist/esm/monitoring/error.js +1 -1
  90. package/dist/esm/paste/md-plugins/linkify-md-plugin.js +10 -2
  91. package/dist/esm/ui/DropList/index.js +1 -1
  92. package/dist/esm/utils/hyperlink.js +9 -1
  93. package/dist/esm/utils/index.js +1 -0
  94. package/dist/esm/utils/should-auto-linkify-tld.js +80 -0
  95. package/dist/types/analytics/types/loom-events.d.ts +4 -3
  96. package/dist/types/i18n/cs.d.ts +1 -0
  97. package/dist/types/i18n/da.d.ts +1 -0
  98. package/dist/types/i18n/de.d.ts +1 -0
  99. package/dist/types/i18n/en.d.ts +9 -1
  100. package/dist/types/i18n/en_GB.d.ts +9 -1
  101. package/dist/types/i18n/es.d.ts +1 -0
  102. package/dist/types/i18n/fi.d.ts +1 -0
  103. package/dist/types/i18n/fr.d.ts +1 -0
  104. package/dist/types/i18n/hu.d.ts +1 -0
  105. package/dist/types/i18n/it.d.ts +1 -0
  106. package/dist/types/i18n/ja.d.ts +1 -0
  107. package/dist/types/i18n/ko.d.ts +1 -0
  108. package/dist/types/i18n/nb.d.ts +1 -0
  109. package/dist/types/i18n/nl.d.ts +1 -0
  110. package/dist/types/i18n/pl.d.ts +1 -0
  111. package/dist/types/i18n/pt_BR.d.ts +1 -0
  112. package/dist/types/i18n/ru.d.ts +1 -0
  113. package/dist/types/i18n/sv.d.ts +1 -0
  114. package/dist/types/i18n/th.d.ts +1 -0
  115. package/dist/types/i18n/tr.d.ts +1 -0
  116. package/dist/types/i18n/uk.d.ts +1 -0
  117. package/dist/types/i18n/vi.d.ts +1 -0
  118. package/dist/types/i18n/zh.d.ts +1 -0
  119. package/dist/types/i18n/zh_TW.d.ts +1 -0
  120. package/dist/types/messages/table.d.ts +0 -10
  121. package/dist/types/types/annotation/index.d.ts +1 -0
  122. package/dist/types/utils/hyperlink.d.ts +6 -3
  123. package/dist/types/utils/index.d.ts +1 -0
  124. package/dist/types/utils/should-auto-linkify-tld.d.ts +17 -0
  125. package/dist/types-ts4.5/analytics/types/loom-events.d.ts +4 -3
  126. package/dist/types-ts4.5/i18n/cs.d.ts +1 -0
  127. package/dist/types-ts4.5/i18n/da.d.ts +1 -0
  128. package/dist/types-ts4.5/i18n/de.d.ts +1 -0
  129. package/dist/types-ts4.5/i18n/en.d.ts +9 -1
  130. package/dist/types-ts4.5/i18n/en_GB.d.ts +9 -1
  131. package/dist/types-ts4.5/i18n/es.d.ts +1 -0
  132. package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
  133. package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
  134. package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
  135. package/dist/types-ts4.5/i18n/it.d.ts +1 -0
  136. package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
  137. package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
  138. package/dist/types-ts4.5/i18n/nb.d.ts +1 -0
  139. package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
  140. package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
  141. package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
  142. package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
  143. package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
  144. package/dist/types-ts4.5/i18n/th.d.ts +1 -0
  145. package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
  146. package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
  147. package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
  148. package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
  149. package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -0
  150. package/dist/types-ts4.5/messages/table.d.ts +0 -10
  151. package/dist/types-ts4.5/types/annotation/index.d.ts +1 -0
  152. package/dist/types-ts4.5/utils/hyperlink.d.ts +6 -3
  153. package/dist/types-ts4.5/utils/index.d.ts +1 -0
  154. package/dist/types-ts4.5/utils/should-auto-linkify-tld.d.ts +17 -0
  155. package/package.json +8 -6
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -363,9 +364,17 @@ declare const _default: {
363
364
  'fabric.editor.tableSizeSelectorButton': string;
364
365
  'fabric.editor.tableSizeSelectorPopup': string;
365
366
  'fabric.editor.tables.adjustColumn': string;
367
+ 'fabric.editor.tables.columnLeftResize': string;
368
+ 'fabric.editor.tables.columnResizeLast': string;
369
+ 'fabric.editor.tables.columnResizeOverflow': string;
370
+ 'fabric.editor.tables.columnRightResize': string;
371
+ 'fabric.editor.tables.columnWidth': string;
366
372
  'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
367
373
  'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
374
+ 'fabric.editor.tables.otherResize': string;
375
+ 'fabric.editor.tables.resizeStop': string;
368
376
  'fabric.editor.tables.resizeTable': string;
377
+ 'fabric.editor.tables.startedColumnResize': string;
369
378
  'fabric.editor.task': string;
370
379
  'fabric.editor.taskPlaceholder': string;
371
380
  'fabric.editor.text.formatting.off': string;
@@ -470,6 +479,5 @@ declare const _default: {
470
479
  'fabric.theme.white': string;
471
480
  'fabric.theme.yellow': string;
472
481
  'fabrid.editor.rowNumbers': string;
473
- testMessage: string;
474
482
  };
475
483
  export default _default;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -363,9 +364,17 @@ declare const _default: {
363
364
  'fabric.editor.tableSizeSelectorButton': string;
364
365
  'fabric.editor.tableSizeSelectorPopup': string;
365
366
  'fabric.editor.tables.adjustColumn': string;
367
+ 'fabric.editor.tables.columnLeftResize': string;
368
+ 'fabric.editor.tables.columnResizeLast': string;
369
+ 'fabric.editor.tables.columnResizeOverflow': string;
370
+ 'fabric.editor.tables.columnRightResize': string;
371
+ 'fabric.editor.tables.columnWidth': string;
366
372
  'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
367
373
  'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
374
+ 'fabric.editor.tables.otherResize': string;
375
+ 'fabric.editor.tables.resizeStop': string;
368
376
  'fabric.editor.tables.resizeTable': string;
377
+ 'fabric.editor.tables.startedColumnResize': string;
369
378
  'fabric.editor.task': string;
370
379
  'fabric.editor.taskPlaceholder': string;
371
380
  'fabric.editor.text.formatting.off': string;
@@ -470,6 +479,5 @@ declare const _default: {
470
479
  'fabric.theme.white': string;
471
480
  'fabric.theme.yellow': string;
472
481
  'fabrid.editor.rowNumbers': string;
473
- testMessage: string;
474
482
  };
475
483
  export default _default;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -249,16 +249,6 @@ export declare const messages: {
249
249
  defaultMessage: string;
250
250
  description: string;
251
251
  };
252
- columnLeftResize: {
253
- id: string;
254
- defaultMessage: string;
255
- description: string;
256
- };
257
- columnRightResize: {
258
- id: string;
259
- defaultMessage: string;
260
- description: string;
261
- };
262
252
  columnResizeStop: {
263
253
  id: string;
264
254
  defaultMessage: string;
@@ -9,6 +9,7 @@ export type AnnotationByMatches = {
9
9
  originalSelection: string;
10
10
  numMatches: number;
11
11
  matchIndex: number;
12
+ pos?: number;
12
13
  isAnnotationAllowed?: boolean;
13
14
  };
14
15
  type ActionResult = {
@@ -1,6 +1,6 @@
1
- import { Schema, Slice } from '@atlaskit/editor-prosemirror/model';
2
- import { EditorState } from '@atlaskit/editor-prosemirror/state';
3
- import { AnalyticsEventPayload, InputMethodInsertLink } from '../analytics/types';
1
+ import type { Schema, Slice } from '@atlaskit/editor-prosemirror/model';
2
+ import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
+ import type { AnalyticsEventPayload, InputMethodInsertLink } from '../analytics/types';
4
4
  export declare const FILEPATH_REGEXP: RegExp;
5
5
  export declare const DONTLINKIFY_REGEXP: RegExp;
6
6
  /**
@@ -15,6 +15,9 @@ export declare class LinkMatcher {
15
15
  * Adds protocol to url if needed.
16
16
  */
17
17
  export declare function normalizeUrl(url?: string | null): string;
18
+ /**
19
+ * Linkify content in a slice (eg. after a rich text paste)
20
+ */
18
21
  export declare function linkifyContent(schema: Schema): (slice: Slice) => Slice;
19
22
  export declare function getLinkDomain(url: string): string;
20
23
  export declare function isFromCurrentDomain(url: string): boolean;
@@ -1,6 +1,7 @@
1
1
  import type { Node as PMNode, ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { EditorState, Selection } from '@atlaskit/editor-prosemirror/state';
3
3
  import type { ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
4
+ export { shouldAutoLinkifyMatch } from './should-auto-linkify-tld';
4
5
  export { canApplyAnnotationOnRange, containsAnyAnnotations, getAnnotationIdsFromRange, hasAnnotationMark, } from './annotation';
5
6
  export { getExtensionLozengeData } from './macro';
6
7
  export type { Params } from './macro';
@@ -0,0 +1,17 @@
1
+ import type { Match } from '@atlaskit/adf-schema';
2
+ /**
3
+ * Decide if a url should auto linkify, based on the TLD.
4
+ * If URL is in a list of suspicious TLDs (eg. README.md), returns false
5
+ * If URL is prefixed with http:// or https:// or www, returns true (allows linkify), as user intention is clear
6
+ * this is a URL.
7
+ * If the link is invalid (eg. missing a TLD), returns true (allows linkify)
8
+ *
9
+ * @param url Link that hasn't been already prefixed with http://, https:// or www.
10
+ */
11
+ export declare function shouldAutoLinkifyTld(url: string): boolean;
12
+ /**
13
+ * Check if url match uses tld we don't want to auto linkify
14
+ * @param match Linkify Match
15
+ * @returns True if should auto linkify, false otherwise
16
+ */
17
+ export declare function shouldAutoLinkifyMatch(match: Match): boolean;
@@ -1,16 +1,17 @@
1
- import type { SDKUnsupportedReasons } from '@loomhq/record-sdk';
2
1
  import type { ACTION, ACTION_SUBJECT, INPUT_METHOD } from './enums';
3
2
  import type { OperationalAEP, TrackAEP } from './utils';
3
+ type LoomPluginErrorMessages = 'is-supported-failure' | 'failed-to-initialise' | 'api-key-not-provided';
4
+ type LoomSDKErrorMessages = 'incompatible-browser' | 'third-party-cookies-disabled' | 'no-media-streams-support';
4
5
  type LoomInitialisedAEP = OperationalAEP<ACTION.INITIALISED, ACTION_SUBJECT.LOOM, undefined, undefined>;
5
6
  type LoomDisabledAEP = OperationalAEP<ACTION.ERRORED, ACTION_SUBJECT.LOOM, undefined, {
6
- error?: SDKUnsupportedReasons;
7
+ error?: LoomPluginErrorMessages | LoomSDKErrorMessages;
7
8
  }>;
8
9
  type RecordVideoAEP = TrackAEP<ACTION.RECORD_VIDEO, ACTION_SUBJECT.LOOM, undefined, {
9
10
  inputMethod: INPUT_METHOD;
10
11
  }, undefined>;
11
12
  type RecordVideoFailedAEP = TrackAEP<ACTION.RECORD_VIDEO_FAILED, ACTION_SUBJECT.LOOM, undefined, {
12
13
  inputMethod: INPUT_METHOD;
13
- error?: SDKUnsupportedReasons;
14
+ error?: LoomPluginErrorMessages | LoomSDKErrorMessages;
14
15
  }, undefined>;
15
16
  type InsertVideoAEP = TrackAEP<ACTION.INSERT_VIDEO, ACTION_SUBJECT.LOOM, undefined, {
16
17
  duration?: number;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -363,9 +364,17 @@ declare const _default: {
363
364
  'fabric.editor.tableSizeSelectorButton': string;
364
365
  'fabric.editor.tableSizeSelectorPopup': string;
365
366
  'fabric.editor.tables.adjustColumn': string;
367
+ 'fabric.editor.tables.columnLeftResize': string;
368
+ 'fabric.editor.tables.columnResizeLast': string;
369
+ 'fabric.editor.tables.columnResizeOverflow': string;
370
+ 'fabric.editor.tables.columnRightResize': string;
371
+ 'fabric.editor.tables.columnWidth': string;
366
372
  'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
367
373
  'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
374
+ 'fabric.editor.tables.otherResize': string;
375
+ 'fabric.editor.tables.resizeStop': string;
368
376
  'fabric.editor.tables.resizeTable': string;
377
+ 'fabric.editor.tables.startedColumnResize': string;
369
378
  'fabric.editor.task': string;
370
379
  'fabric.editor.taskPlaceholder': string;
371
380
  'fabric.editor.text.formatting.off': string;
@@ -470,6 +479,5 @@ declare const _default: {
470
479
  'fabric.theme.white': string;
471
480
  'fabric.theme.yellow': string;
472
481
  'fabrid.editor.rowNumbers': string;
473
- testMessage: string;
474
482
  };
475
483
  export default _default;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -363,9 +364,17 @@ declare const _default: {
363
364
  'fabric.editor.tableSizeSelectorButton': string;
364
365
  'fabric.editor.tableSizeSelectorPopup': string;
365
366
  'fabric.editor.tables.adjustColumn': string;
367
+ 'fabric.editor.tables.columnLeftResize': string;
368
+ 'fabric.editor.tables.columnResizeLast': string;
369
+ 'fabric.editor.tables.columnResizeOverflow': string;
370
+ 'fabric.editor.tables.columnRightResize': string;
371
+ 'fabric.editor.tables.columnWidth': string;
366
372
  'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
367
373
  'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
374
+ 'fabric.editor.tables.otherResize': string;
375
+ 'fabric.editor.tables.resizeStop': string;
368
376
  'fabric.editor.tables.resizeTable': string;
377
+ 'fabric.editor.tables.startedColumnResize': string;
369
378
  'fabric.editor.task': string;
370
379
  'fabric.editor.taskPlaceholder': string;
371
380
  'fabric.editor.text.formatting.off': string;
@@ -470,6 +479,5 @@ declare const _default: {
470
479
  'fabric.theme.white': string;
471
480
  'fabric.theme.yellow': string;
472
481
  'fabrid.editor.rowNumbers': string;
473
- testMessage: string;
474
482
  };
475
483
  export default _default;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
@@ -355,6 +355,7 @@ declare const _default: {
355
355
  'fabric.editor.supportAltText': string;
356
356
  'fabric.editor.table': string;
357
357
  'fabric.editor.table.description': string;
358
+ 'fabric.editor.tableFullWidthLabel': string;
358
359
  'fabric.editor.tableOptions': string;
359
360
  'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
360
361
  'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;