@atlaskit/renderer 108.15.10 → 108.15.12

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 (206) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/ui/Renderer/breakout-ssr.js +4 -0
  3. package/dist/cjs/ui/Renderer/index.js +1 -1
  4. package/dist/es2019/ui/Renderer/breakout-ssr.js +4 -0
  5. package/dist/es2019/ui/Renderer/index.js +1 -1
  6. package/dist/esm/ui/Renderer/breakout-ssr.js +4 -0
  7. package/dist/esm/ui/Renderer/index.js +1 -1
  8. package/dist/types-ts4.5/actions/index.d.ts +61 -0
  9. package/dist/types-ts4.5/actions/matches-utils.d.ts +7 -0
  10. package/dist/types-ts4.5/actions.d.ts +3 -0
  11. package/dist/types-ts4.5/analytics/analyticsContext.d.ts +6 -0
  12. package/dist/types-ts4.5/analytics/enums.d.ts +58 -0
  13. package/dist/types-ts4.5/analytics/events.d.ts +118 -0
  14. package/dist/types-ts4.5/analytics/unsupported-content.d.ts +10 -0
  15. package/dist/types-ts4.5/consts.d.ts +12 -0
  16. package/dist/types-ts4.5/i18n/cs.d.ts +25 -0
  17. package/dist/types-ts4.5/i18n/da.d.ts +20 -0
  18. package/dist/types-ts4.5/i18n/de.d.ts +20 -0
  19. package/dist/types-ts4.5/i18n/en.d.ts +25 -0
  20. package/dist/types-ts4.5/i18n/en_GB.d.ts +25 -0
  21. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +25 -0
  22. package/dist/types-ts4.5/i18n/es.d.ts +20 -0
  23. package/dist/types-ts4.5/i18n/et.d.ts +8 -0
  24. package/dist/types-ts4.5/i18n/fi.d.ts +25 -0
  25. package/dist/types-ts4.5/i18n/fr.d.ts +20 -0
  26. package/dist/types-ts4.5/i18n/hu.d.ts +20 -0
  27. package/dist/types-ts4.5/i18n/index.d.ts +31 -0
  28. package/dist/types-ts4.5/i18n/it.d.ts +20 -0
  29. package/dist/types-ts4.5/i18n/ja.d.ts +25 -0
  30. package/dist/types-ts4.5/i18n/ko.d.ts +20 -0
  31. package/dist/types-ts4.5/i18n/nb.d.ts +20 -0
  32. package/dist/types-ts4.5/i18n/nl.d.ts +20 -0
  33. package/dist/types-ts4.5/i18n/pl.d.ts +20 -0
  34. package/dist/types-ts4.5/i18n/pt_BR.d.ts +25 -0
  35. package/dist/types-ts4.5/i18n/pt_PT.d.ts +8 -0
  36. package/dist/types-ts4.5/i18n/ru.d.ts +25 -0
  37. package/dist/types-ts4.5/i18n/sk.d.ts +8 -0
  38. package/dist/types-ts4.5/i18n/sv.d.ts +20 -0
  39. package/dist/types-ts4.5/i18n/th.d.ts +20 -0
  40. package/dist/types-ts4.5/i18n/tr.d.ts +20 -0
  41. package/dist/types-ts4.5/i18n/uk.d.ts +25 -0
  42. package/dist/types-ts4.5/i18n/vi.d.ts +20 -0
  43. package/dist/types-ts4.5/i18n/zh.d.ts +20 -0
  44. package/dist/types-ts4.5/i18n/zh_TW.d.ts +20 -0
  45. package/dist/types-ts4.5/index.d.ts +11 -0
  46. package/dist/types-ts4.5/messages.d.ts +88 -0
  47. package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +10 -0
  48. package/dist/types-ts4.5/react/hooks/use-in-viewport.d.ts +5 -0
  49. package/dist/types-ts4.5/react/index.d.ts +124 -0
  50. package/dist/types-ts4.5/react/marks/alignment.d.ts +4 -0
  51. package/dist/types-ts4.5/react/marks/annotation.d.ts +6 -0
  52. package/dist/types-ts4.5/react/marks/breakout.d.ts +6 -0
  53. package/dist/types-ts4.5/react/marks/code.d.ts +16 -0
  54. package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +8 -0
  55. package/dist/types-ts4.5/react/marks/data-consumer.d.ts +4 -0
  56. package/dist/types-ts4.5/react/marks/em.d.ts +3 -0
  57. package/dist/types-ts4.5/react/marks/fragment.d.ts +4 -0
  58. package/dist/types-ts4.5/react/marks/indentation.d.ts +4 -0
  59. package/dist/types-ts4.5/react/marks/index.d.ts +21 -0
  60. package/dist/types-ts4.5/react/marks/link.d.ts +9 -0
  61. package/dist/types-ts4.5/react/marks/strike.d.ts +3 -0
  62. package/dist/types-ts4.5/react/marks/strong.d.ts +3 -0
  63. package/dist/types-ts4.5/react/marks/subsup.d.ts +4 -0
  64. package/dist/types-ts4.5/react/marks/textColor.d.ts +4 -0
  65. package/dist/types-ts4.5/react/marks/underline.d.ts +3 -0
  66. package/dist/types-ts4.5/react/marks/unsupportedMark.d.ts +3 -0
  67. package/dist/types-ts4.5/react/marks/unsupportedNodeAttribute.d.ts +3 -0
  68. package/dist/types-ts4.5/react/nodes/blockCard.d.ts +15 -0
  69. package/dist/types-ts4.5/react/nodes/blockquote.d.ts +2 -0
  70. package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +24 -0
  71. package/dist/types-ts4.5/react/nodes/bulletList.d.ts +5 -0
  72. package/dist/types-ts4.5/react/nodes/caption.d.ts +4 -0
  73. package/dist/types-ts4.5/react/nodes/codeBlock/codeBlock.d.ts +15 -0
  74. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockButtonContainer.d.ts +12 -0
  75. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockContainer.d.ts +10 -0
  76. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +9 -0
  77. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +11 -0
  78. package/dist/types-ts4.5/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +9 -0
  79. package/dist/types-ts4.5/react/nodes/codeBlock/windowedCodeBlock.d.ts +4 -0
  80. package/dist/types-ts4.5/react/nodes/date.d.ts +11 -0
  81. package/dist/types-ts4.5/react/nodes/decisionItem.d.ts +3 -0
  82. package/dist/types-ts4.5/react/nodes/decisionList.d.ts +7 -0
  83. package/dist/types-ts4.5/react/nodes/doc.d.ts +3 -0
  84. package/dist/types-ts4.5/react/nodes/embedCard.d.ts +19 -0
  85. package/dist/types-ts4.5/react/nodes/emoji.d.ts +12 -0
  86. package/dist/types-ts4.5/react/nodes/extension.d.ts +113 -0
  87. package/dist/types-ts4.5/react/nodes/fallback.d.ts +19 -0
  88. package/dist/types-ts4.5/react/nodes/hardBreak.d.ts +6 -0
  89. package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +14 -0
  90. package/dist/types-ts4.5/react/nodes/heading.d.ts +14 -0
  91. package/dist/types-ts4.5/react/nodes/index.d.ts +98 -0
  92. package/dist/types-ts4.5/react/nodes/inline.d.ts +1 -0
  93. package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +65 -0
  94. package/dist/types-ts4.5/react/nodes/inlineExtension.d.ts +18 -0
  95. package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +6 -0
  96. package/dist/types-ts4.5/react/nodes/layoutSection.d.ts +2 -0
  97. package/dist/types-ts4.5/react/nodes/listItem.d.ts +2 -0
  98. package/dist/types-ts4.5/react/nodes/media/index.d.ts +27 -0
  99. package/dist/types-ts4.5/react/nodes/media/styles.d.ts +2 -0
  100. package/dist/types-ts4.5/react/nodes/mediaGroup.d.ts +30 -0
  101. package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +38 -0
  102. package/dist/types-ts4.5/react/nodes/mediaSingle/index.d.ts +24 -0
  103. package/dist/types-ts4.5/react/nodes/mediaSingle/styles.d.ts +2 -0
  104. package/dist/types-ts4.5/react/nodes/mention.d.ts +13 -0
  105. package/dist/types-ts4.5/react/nodes/orderedList.d.ts +9 -0
  106. package/dist/types-ts4.5/react/nodes/panel.d.ts +17 -0
  107. package/dist/types-ts4.5/react/nodes/paragraph.d.ts +3 -0
  108. package/dist/types-ts4.5/react/nodes/placeholder.d.ts +6 -0
  109. package/dist/types-ts4.5/react/nodes/rule.d.ts +2 -0
  110. package/dist/types-ts4.5/react/nodes/status.d.ts +10 -0
  111. package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +9 -0
  112. package/dist/types-ts4.5/react/nodes/table/sticky.d.ts +43 -0
  113. package/dist/types-ts4.5/react/nodes/table/table.d.ts +7 -0
  114. package/dist/types-ts4.5/react/nodes/table/types.d.ts +12 -0
  115. package/dist/types-ts4.5/react/nodes/table.d.ts +282 -0
  116. package/dist/types-ts4.5/react/nodes/tableCell.d.ts +81 -0
  117. package/dist/types-ts4.5/react/nodes/tableRow.d.ts +24 -0
  118. package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +29 -0
  119. package/dist/types-ts4.5/react/nodes/taskItem.d.ts +19 -0
  120. package/dist/types-ts4.5/react/nodes/taskList.d.ts +8 -0
  121. package/dist/types-ts4.5/react/nodes/text-wrapper.d.ts +8 -0
  122. package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +2 -0
  123. package/dist/types-ts4.5/react/renderer-node.d.ts +5 -0
  124. package/dist/types-ts4.5/react/types.d.ts +58 -0
  125. package/dist/types-ts4.5/react/utils/appearance.d.ts +4 -0
  126. package/dist/types-ts4.5/react/utils/clipboard.d.ts +1 -0
  127. package/dist/types-ts4.5/react/utils/element-selection.d.ts +9 -0
  128. package/dist/types-ts4.5/react/utils/getCardClickHandler.d.ts +2 -0
  129. package/dist/types-ts4.5/react/utils/inject-props.d.ts +6 -0
  130. package/dist/types-ts4.5/react/utils/links.d.ts +3 -0
  131. package/dist/types-ts4.5/react/utils/lists.d.ts +2 -0
  132. package/dist/types-ts4.5/react/utils/performance/RenderTracking.d.ts +15 -0
  133. package/dist/types-ts4.5/react/utils/use-select-all-trap.d.ts +2 -0
  134. package/dist/types-ts4.5/render-document.d.ts +23 -0
  135. package/dist/types-ts4.5/renderer-context.d.ts +7 -0
  136. package/dist/types-ts4.5/serializer.d.ts +4 -0
  137. package/dist/types-ts4.5/steps/index.d.ts +14 -0
  138. package/dist/types-ts4.5/text/index.d.ts +8 -0
  139. package/dist/types-ts4.5/text/nodes/blockquote.d.ts +3 -0
  140. package/dist/types-ts4.5/text/nodes/bulletList.d.ts +3 -0
  141. package/dist/types-ts4.5/text/nodes/date.d.ts +3 -0
  142. package/dist/types-ts4.5/text/nodes/decisionItem.d.ts +3 -0
  143. package/dist/types-ts4.5/text/nodes/hardBreak.d.ts +3 -0
  144. package/dist/types-ts4.5/text/nodes/heading.d.ts +3 -0
  145. package/dist/types-ts4.5/text/nodes/index.d.ts +6 -0
  146. package/dist/types-ts4.5/text/nodes/inlineCard.d.ts +3 -0
  147. package/dist/types-ts4.5/text/nodes/listItem.d.ts +3 -0
  148. package/dist/types-ts4.5/text/nodes/mediaGroup.d.ts +3 -0
  149. package/dist/types-ts4.5/text/nodes/mention.d.ts +3 -0
  150. package/dist/types-ts4.5/text/nodes/orderedList.d.ts +3 -0
  151. package/dist/types-ts4.5/text/nodes/panel.d.ts +3 -0
  152. package/dist/types-ts4.5/text/nodes/paragraph.d.ts +3 -0
  153. package/dist/types-ts4.5/text/nodes/rule.d.ts +3 -0
  154. package/dist/types-ts4.5/text/nodes/status.d.ts +3 -0
  155. package/dist/types-ts4.5/text/nodes/table.d.ts +3 -0
  156. package/dist/types-ts4.5/text/nodes/taskItem.d.ts +3 -0
  157. package/dist/types-ts4.5/text/nodes/unknown.d.ts +3 -0
  158. package/dist/types-ts4.5/text-serializer.d.ts +1 -0
  159. package/dist/types-ts4.5/types/i18n.d.ts +5 -0
  160. package/dist/types-ts4.5/types/mediaOptions.d.ts +13 -0
  161. package/dist/types-ts4.5/types/smartLinksOptions.d.ts +7 -0
  162. package/dist/types-ts4.5/ui/Expand.d.ts +23 -0
  163. package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +42 -0
  164. package/dist/types-ts4.5/ui/MediaCard.d.ts +79 -0
  165. package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +24 -0
  166. package/dist/types-ts4.5/ui/Renderer/breakout-ssr.d.ts +11 -0
  167. package/dist/types-ts4.5/ui/Renderer/click-to-edit.d.ts +6 -0
  168. package/dist/types-ts4.5/ui/Renderer/index.d.ts +38 -0
  169. package/dist/types-ts4.5/ui/Renderer/style.d.ts +16 -0
  170. package/dist/types-ts4.5/ui/Renderer/truncated-wrapper.d.ts +12 -0
  171. package/dist/types-ts4.5/ui/Renderer/types.d.ts +16 -0
  172. package/dist/types-ts4.5/ui/RendererActionsContext/WithRendererActions.d.ts +6 -0
  173. package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +9 -0
  174. package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +60 -0
  175. package/dist/types-ts4.5/ui/SortingIcon.d.ts +23 -0
  176. package/dist/types-ts4.5/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +15 -0
  177. package/dist/types-ts4.5/ui/TaskItemsFormatContext/index.d.ts +2 -0
  178. package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +18 -0
  179. package/dist/types-ts4.5/ui/annotations/context.d.ts +27 -0
  180. package/dist/types-ts4.5/ui/annotations/draft/component.d.ts +20 -0
  181. package/dist/types-ts4.5/ui/annotations/draft/dom.d.ts +7 -0
  182. package/dist/types-ts4.5/ui/annotations/draft/index.d.ts +2 -0
  183. package/dist/types-ts4.5/ui/annotations/draft/position.d.ts +2 -0
  184. package/dist/types-ts4.5/ui/annotations/draft/text.d.ts +13 -0
  185. package/dist/types-ts4.5/ui/annotations/element/index.d.ts +10 -0
  186. package/dist/types-ts4.5/ui/annotations/element/mark.d.ts +14 -0
  187. package/dist/types-ts4.5/ui/annotations/hooks/index.d.ts +3 -0
  188. package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +18 -0
  189. package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +1 -0
  190. package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comments-filter.d.ts +9 -0
  191. package/dist/types-ts4.5/ui/annotations/hooks/use-load-annotations.d.ts +6 -0
  192. package/dist/types-ts4.5/ui/annotations/hooks/user-selection.d.ts +9 -0
  193. package/dist/types-ts4.5/ui/annotations/hooks/utils.d.ts +2 -0
  194. package/dist/types-ts4.5/ui/annotations/index.d.ts +5 -0
  195. package/dist/types-ts4.5/ui/annotations/selection/index.d.ts +1 -0
  196. package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +20 -0
  197. package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +13 -0
  198. package/dist/types-ts4.5/ui/annotations/selection/wrapper.d.ts +8 -0
  199. package/dist/types-ts4.5/ui/annotations/types.d.ts +22 -0
  200. package/dist/types-ts4.5/ui/annotations/view/index.d.ts +7 -0
  201. package/dist/types-ts4.5/ui/index.d.ts +1 -0
  202. package/dist/types-ts4.5/ui/renderer-props.d.ts +115 -0
  203. package/dist/types-ts4.5/use-feature-flags.d.ts +2 -0
  204. package/dist/types-ts4.5/utils.d.ts +24 -0
  205. package/package.json +3 -3
  206. package/tmp/api-report-tmp.d.ts +552 -0
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
24
+ };
25
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
24
+ };
25
+ export default _default;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {};
8
+ export default _default;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
24
+ };
25
+ export default _default;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by i18n-tools.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {};
8
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
24
+ };
25
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.headingLink.ascOrderLabel': string;
9
+ 'fabric.editor.headingLink.ascSortingLabel': string;
10
+ 'fabric.editor.headingLink.copied': string;
11
+ 'fabric.editor.headingLink.copyAnchorLink': string;
12
+ 'fabric.editor.headingLink.copyAriaLabel': string;
13
+ 'fabric.editor.headingLink.descOrderLabel': string;
14
+ 'fabric.editor.headingLink.descSortingLabel': string;
15
+ 'fabric.editor.headingLink.failedToCopy': string;
16
+ 'fabric.editor.headingLink.invalidLabel': string;
17
+ 'fabric.editor.headingLink.noOrderLabel': string;
18
+ 'fabric.editor.headingLink.noneSortingLabel': string;
19
+ };
20
+ export default _default;
@@ -0,0 +1,11 @@
1
+ export type { Serializer } from './serializer';
2
+ export { default as ReactSerializer } from './react';
3
+ export { default as TextSerializer } from './text';
4
+ export { default as ReactRenderer } from './ui/Renderer';
5
+ export type { HeadingAnchorLinksProps, RendererAppearance, StickyHeaderProps, } from './ui/Renderer/types';
6
+ export type { RendererProps } from './ui/renderer-props';
7
+ export type { RendererContext } from './react/types';
8
+ export { ADFEncoder } from './utils';
9
+ export { renderDocument } from './render-document';
10
+ export type { RenderOutputStat } from './render-document';
11
+ export type { MediaSSR } from './types/mediaOptions';
@@ -0,0 +1,88 @@
1
+ export declare const headingAnchorLinkMessages: {
2
+ copyHeadingLinkToClipboard: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ description: string;
6
+ };
7
+ copiedHeadingLinkToClipboard: {
8
+ id: string;
9
+ defaultMessage: string;
10
+ description: string;
11
+ };
12
+ failedToCopyHeadingLink: {
13
+ id: string;
14
+ defaultMessage: string;
15
+ description: string;
16
+ };
17
+ copyAriaLabel: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
22
+ };
23
+ export declare const tableCellMessages: {
24
+ noneSortingLabel: {
25
+ id: string;
26
+ defaultMessage: string;
27
+ description: string;
28
+ };
29
+ ascSortingLabel: {
30
+ id: string;
31
+ defaultMessage: string;
32
+ description: string;
33
+ };
34
+ descSortingLabel: {
35
+ id: string;
36
+ defaultMessage: string;
37
+ description: string;
38
+ };
39
+ };
40
+ export declare const sortingIconMessages: {
41
+ noOrderLabel: {
42
+ id: string;
43
+ defaultMessage: string;
44
+ description: string;
45
+ };
46
+ ascOrderLabel: {
47
+ id: string;
48
+ defaultMessage: string;
49
+ description: string;
50
+ };
51
+ descOrderLabel: {
52
+ id: string;
53
+ defaultMessage: string;
54
+ description: string;
55
+ };
56
+ invalidLabel: {
57
+ id: string;
58
+ defaultMessage: string;
59
+ description: string;
60
+ };
61
+ };
62
+ export declare const sortingAriaLabelMessages: {
63
+ noOrderLabel: {
64
+ id: string;
65
+ defaultMessage: string;
66
+ description: string;
67
+ };
68
+ ascOrderLabel: {
69
+ id: string;
70
+ defaultMessage: string;
71
+ description: string;
72
+ };
73
+ descOrderLabel: {
74
+ id: string;
75
+ defaultMessage: string;
76
+ description: string;
77
+ };
78
+ invalidLabel: {
79
+ id: string;
80
+ defaultMessage: string;
81
+ description: string;
82
+ };
83
+ defaultLabel: {
84
+ id: string;
85
+ defaultMessage: string;
86
+ description: string;
87
+ };
88
+ };
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ interface Config {
3
+ enableWarningTooltip: boolean;
4
+ }
5
+ interface Result {
6
+ renderBidiWarnings: (text: string) => ReactNode;
7
+ warningLabel: string;
8
+ }
9
+ export declare const useBidiWarnings: ({ enableWarningTooltip, }: Config) => Result;
10
+ export {};
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const useInViewport: <RefType extends Element>() => {
3
+ isInViewport: boolean;
4
+ trackingRef: import("react").MutableRefObject<RefType | null>;
5
+ };
@@ -0,0 +1,124 @@
1
+ /// <reference types="react" />
2
+ import type { Fragment, Mark, Node } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Serializer } from '../';
4
+ import type { RendererAppearance, StickyHeaderConfig, HeadingAnchorLinksProps, NodeComponentsProps } from '../ui/Renderer/types';
5
+ import type { AnalyticsEventPayload } from '../analytics/events';
6
+ import type { TextWrapper } from './nodes';
7
+ import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
8
+ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
9
+ import type { EventHandlers } from '@atlaskit/editor-common/ui';
10
+ import type { RendererContext } from './types';
11
+ import type { MediaOptions } from '../types/mediaOptions';
12
+ import type { SmartLinksOptions } from '../types/smartLinksOptions';
13
+ import type { EmojiResourceConfig } from '@atlaskit/emoji/resource';
14
+ export interface ReactSerializerInit {
15
+ providers?: ProviderFactory;
16
+ eventHandlers?: EventHandlers;
17
+ extensionHandlers?: ExtensionHandlers;
18
+ portal?: HTMLElement;
19
+ objectContext?: RendererContext;
20
+ appearance?: RendererAppearance;
21
+ disableHeadingIDs?: boolean;
22
+ disableActions?: boolean;
23
+ allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
24
+ allowColumnSorting?: boolean;
25
+ fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
26
+ shouldOpenMediaViewer?: boolean;
27
+ allowAltTextOnImages?: boolean;
28
+ stickyHeaders?: StickyHeaderConfig;
29
+ allowMediaLinking?: boolean;
30
+ surroundTextNodesWithTextWrapper?: boolean;
31
+ media?: MediaOptions;
32
+ emojiResourceConfig?: EmojiResourceConfig;
33
+ smartLinks?: SmartLinksOptions;
34
+ allowCopyToClipboard?: boolean;
35
+ allowWrapCodeBlock?: boolean;
36
+ allowPlaceholderText?: boolean;
37
+ allowCustomPanels?: boolean;
38
+ allowAnnotations?: boolean;
39
+ allowSelectAllTrap?: boolean;
40
+ nodeComponents?: NodeComponentsProps;
41
+ allowWindowedCodeBlock?: boolean;
42
+ }
43
+ interface ParentInfo {
44
+ parentIsIncompleteTask: boolean;
45
+ path: Array<Node>;
46
+ pos: number;
47
+ }
48
+ export default class ReactSerializer implements Serializer<JSX.Element> {
49
+ private providers?;
50
+ private eventHandlers?;
51
+ private extensionHandlers?;
52
+ private portal?;
53
+ private rendererContext?;
54
+ private appearance?;
55
+ private disableHeadingIDs?;
56
+ private disableActions?;
57
+ private headingIds;
58
+ /**
59
+ * The reason we have this extra array here is because we need to generate the same unique
60
+ * heading id for 2 different nodes: headers and expands (check the implementation of
61
+ * `getUniqueHeadingId` for more info).
62
+ *
63
+ * We will eventually need to refactor the current approach to generate unique ids
64
+ * for headers under this ticket -> https://product-fabric.atlassian.net/browse/ED-9668
65
+ */
66
+ private expandHeadingIds;
67
+ private allowHeadingAnchorLinks?;
68
+ private allowColumnSorting?;
69
+ private allowCopyToClipboard?;
70
+ private allowWrapCodeBlock?;
71
+ private allowPlaceholderText?;
72
+ private allowCustomPanels?;
73
+ private fireAnalyticsEvent?;
74
+ private shouldOpenMediaViewer?;
75
+ private allowAltTextOnImages?;
76
+ private stickyHeaders?;
77
+ private allowMediaLinking?;
78
+ private startPos;
79
+ private surroundTextNodesWithTextWrapper;
80
+ private media?;
81
+ private emojiResourceConfig?;
82
+ private smartLinks?;
83
+ private allowAnnotations;
84
+ private allowSelectAllTrap?;
85
+ private nodeComponents?;
86
+ private allowWindowedCodeBlock?;
87
+ constructor(init: ReactSerializerInit);
88
+ private resetState;
89
+ private getNodeProps;
90
+ serializeFragment(fragment: Fragment, props?: any, target?: any, key?: string, parentInfo?: ParentInfo): JSX.Element | null;
91
+ private serializeFragmentChild;
92
+ private withMediaMarkProps;
93
+ private serializeTextWrapper;
94
+ private serializeMark;
95
+ private renderNode;
96
+ private renderMark;
97
+ private getTableChildrenProps;
98
+ private getTableProps;
99
+ private getDateProps;
100
+ private getMediaSingleProps;
101
+ private getMediaProps;
102
+ private getEmojiProps;
103
+ private getEmbedCardProps;
104
+ private getMediaGroupProps;
105
+ private getMediaInlineProps;
106
+ private getTaskItemProps;
107
+ private getHardBreakProps;
108
+ private getCodeBlockProps;
109
+ private getPanelProps;
110
+ private getUnsupportedContentProps;
111
+ private getProps;
112
+ private headingAnchorSupported;
113
+ private getHeadingProps;
114
+ private getExpandProps;
115
+ private getHeadingId;
116
+ private getUniqueHeadingId;
117
+ private getAnnotationMarkProps;
118
+ private getMarkProps;
119
+ static getChildNodes(fragment: Fragment): (Node | TextWrapper)[];
120
+ static getMarks(node: Node): Mark[];
121
+ static buildMarkStructure(content: Node[]): Mark[];
122
+ static fromSchema(_: unknown, init: ReactSerializerInit): ReactSerializer;
123
+ }
124
+ export {};
@@ -0,0 +1,4 @@
1
+ import { jsx } from '@emotion/react';
2
+ import { AlignmentAttributes } from '@atlaskit/adf-schema';
3
+ import { MarkProps } from '../types';
4
+ export default function Alignment(props: MarkProps<AlignmentAttributes>): jsx.JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { MarkProps, AnnotationMarkMeta } from '../types';
3
+ import { Mark } from '@atlaskit/editor-prosemirror/model';
4
+ export declare const isAnnotationMark: (mark: Mark) => boolean;
5
+ declare const AnnotationComponent: ({ id, annotationType, children, dataAttributes, annotationParentIds, allowAnnotations, }: MarkProps<AnnotationMarkMeta>) => JSX.Element;
6
+ export default AnnotationComponent;
@@ -0,0 +1,6 @@
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
3
+ import { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
4
+ import { MarkProps } from '../types';
5
+ export declare const wrapperStyles: import("@emotion/react").SerializedStyles;
6
+ export default function Breakout(props: MarkProps<BreakoutMarkAttrs>): jsx.JSX.Element;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
+ import { Mark } from '@atlaskit/editor-prosemirror/model';
4
+ import type { MarkProps } from '../types';
5
+ export declare const isCodeMark: (mark: Mark) => boolean;
6
+ export declare function CodeWithIntl(props: MarkProps<{
7
+ codeBidiWarningTooltipEnabled: boolean;
8
+ }> & WrappedComponentProps): JSX.Element;
9
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
10
+ codeBidiWarningTooltipEnabled: boolean;
11
+ } & import("../types").MarkMeta & WrappedComponentProps<"intl">>> & {
12
+ WrappedComponent: React.ComponentType<{
13
+ codeBidiWarningTooltipEnabled: boolean;
14
+ } & import("../types").MarkMeta & WrappedComponentProps<"intl">>;
15
+ };
16
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { Component } from 'react';
2
+ import { MarkProps } from '../types';
3
+ export interface Props {
4
+ reference: string;
5
+ }
6
+ export default class ConfluenceInlineComment extends Component<MarkProps<Props>, {}> {
7
+ render(): JSX.Element;
8
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { DataConsumerAttributes } from '@atlaskit/adf-schema';
3
+ import { MarkProps } from '../types';
4
+ export default function DataConsumer(props: MarkProps<DataConsumerAttributes>): JSX.Element;