@atlaskit/renderer 103.0.0 → 103.0.2

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