@atlaskit/renderer 108.15.7 → 108.15.9

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 (352) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/actions/index.js +2 -3
  3. package/dist/cjs/analytics/analyticsContext.js +1 -2
  4. package/dist/cjs/analytics/enums.js +5 -9
  5. package/dist/cjs/analytics/events.js +4 -7
  6. package/dist/cjs/analytics/unsupported-content.js +2 -3
  7. package/dist/cjs/consts.js +2 -3
  8. package/dist/cjs/i18n/cs.js +2 -3
  9. package/dist/cjs/i18n/da.js +2 -3
  10. package/dist/cjs/i18n/de.js +2 -3
  11. package/dist/cjs/i18n/en.js +2 -3
  12. package/dist/cjs/i18n/en_GB.js +2 -3
  13. package/dist/cjs/i18n/en_ZZ.js +2 -3
  14. package/dist/cjs/i18n/es.js +2 -3
  15. package/dist/cjs/i18n/et.js +1 -2
  16. package/dist/cjs/i18n/fi.js +2 -3
  17. package/dist/cjs/i18n/fr.js +2 -3
  18. package/dist/cjs/i18n/hu.js +2 -3
  19. package/dist/cjs/i18n/it.js +2 -3
  20. package/dist/cjs/i18n/ja.js +2 -3
  21. package/dist/cjs/i18n/ko.js +2 -3
  22. package/dist/cjs/i18n/nb.js +2 -3
  23. package/dist/cjs/i18n/nl.js +2 -3
  24. package/dist/cjs/i18n/pl.js +2 -3
  25. package/dist/cjs/i18n/pt_BR.js +2 -3
  26. package/dist/cjs/i18n/pt_PT.js +1 -2
  27. package/dist/cjs/i18n/ru.js +2 -3
  28. package/dist/cjs/i18n/sk.js +1 -2
  29. package/dist/cjs/i18n/sv.js +2 -3
  30. package/dist/cjs/i18n/th.js +2 -3
  31. package/dist/cjs/i18n/tr.js +2 -3
  32. package/dist/cjs/i18n/uk.js +2 -3
  33. package/dist/cjs/i18n/vi.js +2 -3
  34. package/dist/cjs/i18n/zh.js +2 -3
  35. package/dist/cjs/i18n/zh_TW.js +2 -3
  36. package/dist/cjs/messages.js +5 -9
  37. package/dist/cjs/react/hooks/use-bidi-warnings.js +2 -3
  38. package/dist/cjs/react/hooks/use-in-viewport.js +2 -3
  39. package/dist/cjs/react/index.js +3 -3
  40. package/dist/cjs/react/marks/annotation.js +2 -4
  41. package/dist/cjs/react/marks/breakout.js +1 -2
  42. package/dist/cjs/react/marks/code.js +2 -4
  43. package/dist/cjs/react/marks/confluence-inline-comment.js +2 -3
  44. package/dist/cjs/react/marks/index.js +3 -5
  45. package/dist/cjs/react/nodes/bodiedExtension.js +1 -2
  46. package/dist/cjs/react/nodes/caption.js +1 -2
  47. package/dist/cjs/react/nodes/codeBlock/codeBlock.js +1 -2
  48. package/dist/cjs/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -2
  49. package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +1 -2
  50. package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -2
  51. package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -2
  52. package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -6
  53. package/dist/cjs/react/nodes/codeBlock/windowedCodeBlock.js +1 -2
  54. package/dist/cjs/react/nodes/date.js +2 -4
  55. package/dist/cjs/react/nodes/decisionList.js +2 -3
  56. package/dist/cjs/react/nodes/emoji.js +2 -3
  57. package/dist/cjs/react/nodes/extension.js +3 -5
  58. package/dist/cjs/react/nodes/fallback.js +2 -3
  59. package/dist/cjs/react/nodes/hardBreak.js +1 -2
  60. package/dist/cjs/react/nodes/heading-anchor.js +2 -4
  61. package/dist/cjs/react/nodes/heading.js +1 -2
  62. package/dist/cjs/react/nodes/index.js +25 -50
  63. package/dist/cjs/react/nodes/inlineCard.js +1 -2
  64. package/dist/cjs/react/nodes/inlineExtension.js +1 -2
  65. package/dist/cjs/react/nodes/media/index.js +2 -3
  66. package/dist/cjs/react/nodes/media/styles.js +3 -5
  67. package/dist/cjs/react/nodes/mediaGroup.js +2 -3
  68. package/dist/cjs/react/nodes/mediaInline.js +3 -5
  69. package/dist/cjs/react/nodes/mediaSingle/index.js +2 -4
  70. package/dist/cjs/react/nodes/mediaSingle/styles.js +2 -4
  71. package/dist/cjs/react/nodes/mention.js +2 -3
  72. package/dist/cjs/react/nodes/orderedList.js +1 -1
  73. package/dist/cjs/react/nodes/panel.js +1 -2
  74. package/dist/cjs/react/nodes/status.js +2 -3
  75. package/dist/cjs/react/nodes/table/colgroup.js +3 -5
  76. package/dist/cjs/react/nodes/table/sticky.js +5 -9
  77. package/dist/cjs/react/nodes/table/table.js +2 -3
  78. package/dist/cjs/react/nodes/table.js +4 -8
  79. package/dist/cjs/react/nodes/tableCell.js +3 -6
  80. package/dist/cjs/react/nodes/tableRow.js +2 -3
  81. package/dist/cjs/react/nodes/task-item-with-providers.js +2 -3
  82. package/dist/cjs/react/nodes/taskItem.js +2 -3
  83. package/dist/cjs/react/nodes/taskList.js +2 -3
  84. package/dist/cjs/react/nodes/text-wrapper.js +1 -2
  85. package/dist/cjs/react/renderer-node.js +5 -9
  86. package/dist/cjs/react/utils/appearance.js +4 -7
  87. package/dist/cjs/react/utils/clipboard.js +2 -3
  88. package/dist/cjs/react/utils/element-selection.js +2 -3
  89. package/dist/cjs/react/utils/getCardClickHandler.js +2 -3
  90. package/dist/cjs/react/utils/use-select-all-trap.js +2 -3
  91. package/dist/cjs/render-document.js +2 -3
  92. package/dist/cjs/renderer-context.js +2 -4
  93. package/dist/cjs/text/index.js +2 -3
  94. package/dist/cjs/text/nodes/blockquote.js +1 -2
  95. package/dist/cjs/text/nodes/bulletList.js +1 -2
  96. package/dist/cjs/text/nodes/date.js +1 -2
  97. package/dist/cjs/text/nodes/decisionItem.js +1 -2
  98. package/dist/cjs/text/nodes/hardBreak.js +1 -2
  99. package/dist/cjs/text/nodes/heading.js +1 -2
  100. package/dist/cjs/text/nodes/index.js +3 -5
  101. package/dist/cjs/text/nodes/inlineCard.js +1 -2
  102. package/dist/cjs/text/nodes/listItem.js +1 -2
  103. package/dist/cjs/text/nodes/mediaGroup.js +1 -2
  104. package/dist/cjs/text/nodes/mention.js +1 -2
  105. package/dist/cjs/text/nodes/orderedList.js +1 -2
  106. package/dist/cjs/text/nodes/panel.js +1 -2
  107. package/dist/cjs/text/nodes/paragraph.js +1 -2
  108. package/dist/cjs/text/nodes/rule.js +1 -2
  109. package/dist/cjs/text/nodes/status.js +1 -2
  110. package/dist/cjs/text/nodes/table.js +1 -2
  111. package/dist/cjs/text/nodes/taskItem.js +1 -2
  112. package/dist/cjs/text/nodes/unknown.js +1 -2
  113. package/dist/cjs/ui/Expand.js +1 -2
  114. package/dist/cjs/ui/ExtensionRenderer.js +5 -6
  115. package/dist/cjs/ui/MediaCard.js +5 -10
  116. package/dist/cjs/ui/Renderer/ErrorBoundary.js +2 -3
  117. package/dist/cjs/ui/Renderer/breakout-ssr.js +2 -4
  118. package/dist/cjs/ui/Renderer/index.js +48 -53
  119. package/dist/cjs/ui/Renderer/style.js +7 -10
  120. package/dist/cjs/ui/Renderer/truncated-wrapper.js +2 -3
  121. package/dist/cjs/ui/RendererActionsContext/index.js +2 -4
  122. package/dist/cjs/ui/SmartCardStorage.js +4 -7
  123. package/dist/cjs/ui/SortingIcon.js +2 -4
  124. package/dist/cjs/ui/TaskItemsFormatContext/TaskItemsFormatContext.js +1 -2
  125. package/dist/cjs/ui/active-header-id-provider.js +3 -5
  126. package/dist/cjs/ui/annotations/context.js +5 -9
  127. package/dist/cjs/ui/annotations/draft/component.js +5 -9
  128. package/dist/cjs/ui/annotations/draft/dom.js +3 -5
  129. package/dist/cjs/ui/annotations/draft/position.js +2 -3
  130. package/dist/cjs/ui/annotations/draft/text.js +4 -7
  131. package/dist/cjs/ui/annotations/element/index.js +2 -3
  132. package/dist/cjs/ui/annotations/element/mark.js +2 -3
  133. package/dist/cjs/ui/annotations/hooks/use-events.js +4 -7
  134. package/dist/cjs/ui/annotations/hooks/use-inline-comment-subscriber.js +2 -3
  135. package/dist/cjs/ui/annotations/hooks/use-inline-comments-filter.js +2 -3
  136. package/dist/cjs/ui/annotations/hooks/use-load-annotations.js +2 -3
  137. package/dist/cjs/ui/annotations/hooks/user-selection.js +2 -3
  138. package/dist/cjs/ui/annotations/hooks/utils.js +2 -3
  139. package/dist/cjs/ui/annotations/index.js +2 -3
  140. package/dist/cjs/ui/annotations/selection/mounter.js +2 -3
  141. package/dist/cjs/ui/annotations/selection/range-validator.js +2 -3
  142. package/dist/cjs/ui/annotations/selection/wrapper.js +2 -3
  143. package/dist/cjs/ui/annotations/types.js +2 -3
  144. package/dist/cjs/ui/annotations/view/index.js +2 -3
  145. package/dist/cjs/use-feature-flags.js +2 -3
  146. package/dist/cjs/utils.js +4 -8
  147. package/dist/es2019/react/index.js +1 -0
  148. package/dist/es2019/ui/Renderer/index.js +36 -37
  149. package/dist/esm/react/index.js +1 -0
  150. package/dist/esm/react/nodes/mediaInline.js +1 -1
  151. package/dist/esm/react/nodes/orderedList.js +1 -1
  152. package/dist/esm/ui/ExtensionRenderer.js +3 -3
  153. package/dist/esm/ui/Renderer/index.js +44 -45
  154. package/package.json +5 -5
  155. package/dist/types-ts4.5/actions/index.d.ts +0 -61
  156. package/dist/types-ts4.5/actions/matches-utils.d.ts +0 -7
  157. package/dist/types-ts4.5/actions.d.ts +0 -3
  158. package/dist/types-ts4.5/analytics/analyticsContext.d.ts +0 -6
  159. package/dist/types-ts4.5/analytics/enums.d.ts +0 -58
  160. package/dist/types-ts4.5/analytics/events.d.ts +0 -118
  161. package/dist/types-ts4.5/analytics/unsupported-content.d.ts +0 -10
  162. package/dist/types-ts4.5/consts.d.ts +0 -12
  163. package/dist/types-ts4.5/i18n/cs.d.ts +0 -25
  164. package/dist/types-ts4.5/i18n/da.d.ts +0 -20
  165. package/dist/types-ts4.5/i18n/de.d.ts +0 -20
  166. package/dist/types-ts4.5/i18n/en.d.ts +0 -25
  167. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -25
  168. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -25
  169. package/dist/types-ts4.5/i18n/es.d.ts +0 -20
  170. package/dist/types-ts4.5/i18n/et.d.ts +0 -8
  171. package/dist/types-ts4.5/i18n/fi.d.ts +0 -25
  172. package/dist/types-ts4.5/i18n/fr.d.ts +0 -20
  173. package/dist/types-ts4.5/i18n/hu.d.ts +0 -20
  174. package/dist/types-ts4.5/i18n/index.d.ts +0 -31
  175. package/dist/types-ts4.5/i18n/it.d.ts +0 -20
  176. package/dist/types-ts4.5/i18n/ja.d.ts +0 -25
  177. package/dist/types-ts4.5/i18n/ko.d.ts +0 -20
  178. package/dist/types-ts4.5/i18n/nb.d.ts +0 -20
  179. package/dist/types-ts4.5/i18n/nl.d.ts +0 -20
  180. package/dist/types-ts4.5/i18n/pl.d.ts +0 -20
  181. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -25
  182. package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -8
  183. package/dist/types-ts4.5/i18n/ru.d.ts +0 -25
  184. package/dist/types-ts4.5/i18n/sk.d.ts +0 -8
  185. package/dist/types-ts4.5/i18n/sv.d.ts +0 -20
  186. package/dist/types-ts4.5/i18n/th.d.ts +0 -20
  187. package/dist/types-ts4.5/i18n/tr.d.ts +0 -20
  188. package/dist/types-ts4.5/i18n/uk.d.ts +0 -25
  189. package/dist/types-ts4.5/i18n/vi.d.ts +0 -20
  190. package/dist/types-ts4.5/i18n/zh.d.ts +0 -20
  191. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -20
  192. package/dist/types-ts4.5/index.d.ts +0 -11
  193. package/dist/types-ts4.5/messages.d.ts +0 -88
  194. package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +0 -10
  195. package/dist/types-ts4.5/react/hooks/use-in-viewport.d.ts +0 -5
  196. package/dist/types-ts4.5/react/index.d.ts +0 -124
  197. package/dist/types-ts4.5/react/marks/alignment.d.ts +0 -4
  198. package/dist/types-ts4.5/react/marks/annotation.d.ts +0 -6
  199. package/dist/types-ts4.5/react/marks/breakout.d.ts +0 -6
  200. package/dist/types-ts4.5/react/marks/code.d.ts +0 -16
  201. package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +0 -8
  202. package/dist/types-ts4.5/react/marks/data-consumer.d.ts +0 -4
  203. package/dist/types-ts4.5/react/marks/em.d.ts +0 -3
  204. package/dist/types-ts4.5/react/marks/fragment.d.ts +0 -4
  205. package/dist/types-ts4.5/react/marks/indentation.d.ts +0 -4
  206. package/dist/types-ts4.5/react/marks/index.d.ts +0 -21
  207. package/dist/types-ts4.5/react/marks/link.d.ts +0 -9
  208. package/dist/types-ts4.5/react/marks/strike.d.ts +0 -3
  209. package/dist/types-ts4.5/react/marks/strong.d.ts +0 -3
  210. package/dist/types-ts4.5/react/marks/subsup.d.ts +0 -4
  211. package/dist/types-ts4.5/react/marks/textColor.d.ts +0 -4
  212. package/dist/types-ts4.5/react/marks/underline.d.ts +0 -3
  213. package/dist/types-ts4.5/react/marks/unsupportedMark.d.ts +0 -3
  214. package/dist/types-ts4.5/react/marks/unsupportedNodeAttribute.d.ts +0 -3
  215. package/dist/types-ts4.5/react/nodes/blockCard.d.ts +0 -15
  216. package/dist/types-ts4.5/react/nodes/blockquote.d.ts +0 -2
  217. package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +0 -24
  218. package/dist/types-ts4.5/react/nodes/bulletList.d.ts +0 -5
  219. package/dist/types-ts4.5/react/nodes/caption.d.ts +0 -4
  220. package/dist/types-ts4.5/react/nodes/codeBlock/codeBlock.d.ts +0 -15
  221. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockButtonContainer.d.ts +0 -12
  222. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockContainer.d.ts +0 -10
  223. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +0 -9
  224. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +0 -11
  225. package/dist/types-ts4.5/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +0 -9
  226. package/dist/types-ts4.5/react/nodes/codeBlock/windowedCodeBlock.d.ts +0 -4
  227. package/dist/types-ts4.5/react/nodes/date.d.ts +0 -11
  228. package/dist/types-ts4.5/react/nodes/decisionItem.d.ts +0 -3
  229. package/dist/types-ts4.5/react/nodes/decisionList.d.ts +0 -7
  230. package/dist/types-ts4.5/react/nodes/doc.d.ts +0 -3
  231. package/dist/types-ts4.5/react/nodes/embedCard.d.ts +0 -19
  232. package/dist/types-ts4.5/react/nodes/emoji.d.ts +0 -12
  233. package/dist/types-ts4.5/react/nodes/extension.d.ts +0 -113
  234. package/dist/types-ts4.5/react/nodes/fallback.d.ts +0 -19
  235. package/dist/types-ts4.5/react/nodes/hardBreak.d.ts +0 -6
  236. package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +0 -14
  237. package/dist/types-ts4.5/react/nodes/heading.d.ts +0 -14
  238. package/dist/types-ts4.5/react/nodes/index.d.ts +0 -98
  239. package/dist/types-ts4.5/react/nodes/inline.d.ts +0 -1
  240. package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +0 -65
  241. package/dist/types-ts4.5/react/nodes/inlineExtension.d.ts +0 -18
  242. package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +0 -6
  243. package/dist/types-ts4.5/react/nodes/layoutSection.d.ts +0 -2
  244. package/dist/types-ts4.5/react/nodes/listItem.d.ts +0 -2
  245. package/dist/types-ts4.5/react/nodes/media/index.d.ts +0 -27
  246. package/dist/types-ts4.5/react/nodes/media/styles.d.ts +0 -2
  247. package/dist/types-ts4.5/react/nodes/mediaGroup.d.ts +0 -30
  248. package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +0 -38
  249. package/dist/types-ts4.5/react/nodes/mediaSingle/index.d.ts +0 -24
  250. package/dist/types-ts4.5/react/nodes/mediaSingle/styles.d.ts +0 -2
  251. package/dist/types-ts4.5/react/nodes/mention.d.ts +0 -13
  252. package/dist/types-ts4.5/react/nodes/orderedList.d.ts +0 -9
  253. package/dist/types-ts4.5/react/nodes/panel.d.ts +0 -17
  254. package/dist/types-ts4.5/react/nodes/paragraph.d.ts +0 -3
  255. package/dist/types-ts4.5/react/nodes/placeholder.d.ts +0 -6
  256. package/dist/types-ts4.5/react/nodes/rule.d.ts +0 -2
  257. package/dist/types-ts4.5/react/nodes/status.d.ts +0 -10
  258. package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +0 -9
  259. package/dist/types-ts4.5/react/nodes/table/sticky.d.ts +0 -43
  260. package/dist/types-ts4.5/react/nodes/table/table.d.ts +0 -7
  261. package/dist/types-ts4.5/react/nodes/table/types.d.ts +0 -12
  262. package/dist/types-ts4.5/react/nodes/table.d.ts +0 -282
  263. package/dist/types-ts4.5/react/nodes/tableCell.d.ts +0 -81
  264. package/dist/types-ts4.5/react/nodes/tableRow.d.ts +0 -24
  265. package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +0 -29
  266. package/dist/types-ts4.5/react/nodes/taskItem.d.ts +0 -19
  267. package/dist/types-ts4.5/react/nodes/taskList.d.ts +0 -8
  268. package/dist/types-ts4.5/react/nodes/text-wrapper.d.ts +0 -8
  269. package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +0 -2
  270. package/dist/types-ts4.5/react/renderer-node.d.ts +0 -5
  271. package/dist/types-ts4.5/react/types.d.ts +0 -58
  272. package/dist/types-ts4.5/react/utils/appearance.d.ts +0 -4
  273. package/dist/types-ts4.5/react/utils/clipboard.d.ts +0 -1
  274. package/dist/types-ts4.5/react/utils/element-selection.d.ts +0 -9
  275. package/dist/types-ts4.5/react/utils/getCardClickHandler.d.ts +0 -2
  276. package/dist/types-ts4.5/react/utils/inject-props.d.ts +0 -6
  277. package/dist/types-ts4.5/react/utils/links.d.ts +0 -3
  278. package/dist/types-ts4.5/react/utils/lists.d.ts +0 -2
  279. package/dist/types-ts4.5/react/utils/performance/RenderTracking.d.ts +0 -15
  280. package/dist/types-ts4.5/react/utils/use-select-all-trap.d.ts +0 -2
  281. package/dist/types-ts4.5/render-document.d.ts +0 -23
  282. package/dist/types-ts4.5/renderer-context.d.ts +0 -7
  283. package/dist/types-ts4.5/serializer.d.ts +0 -4
  284. package/dist/types-ts4.5/steps/index.d.ts +0 -14
  285. package/dist/types-ts4.5/text/index.d.ts +0 -8
  286. package/dist/types-ts4.5/text/nodes/blockquote.d.ts +0 -3
  287. package/dist/types-ts4.5/text/nodes/bulletList.d.ts +0 -3
  288. package/dist/types-ts4.5/text/nodes/date.d.ts +0 -3
  289. package/dist/types-ts4.5/text/nodes/decisionItem.d.ts +0 -3
  290. package/dist/types-ts4.5/text/nodes/hardBreak.d.ts +0 -3
  291. package/dist/types-ts4.5/text/nodes/heading.d.ts +0 -3
  292. package/dist/types-ts4.5/text/nodes/index.d.ts +0 -6
  293. package/dist/types-ts4.5/text/nodes/inlineCard.d.ts +0 -3
  294. package/dist/types-ts4.5/text/nodes/listItem.d.ts +0 -3
  295. package/dist/types-ts4.5/text/nodes/mediaGroup.d.ts +0 -3
  296. package/dist/types-ts4.5/text/nodes/mention.d.ts +0 -3
  297. package/dist/types-ts4.5/text/nodes/orderedList.d.ts +0 -3
  298. package/dist/types-ts4.5/text/nodes/panel.d.ts +0 -3
  299. package/dist/types-ts4.5/text/nodes/paragraph.d.ts +0 -3
  300. package/dist/types-ts4.5/text/nodes/rule.d.ts +0 -3
  301. package/dist/types-ts4.5/text/nodes/status.d.ts +0 -3
  302. package/dist/types-ts4.5/text/nodes/table.d.ts +0 -3
  303. package/dist/types-ts4.5/text/nodes/taskItem.d.ts +0 -3
  304. package/dist/types-ts4.5/text/nodes/unknown.d.ts +0 -3
  305. package/dist/types-ts4.5/text-serializer.d.ts +0 -1
  306. package/dist/types-ts4.5/types/i18n.d.ts +0 -5
  307. package/dist/types-ts4.5/types/mediaOptions.d.ts +0 -13
  308. package/dist/types-ts4.5/types/smartLinksOptions.d.ts +0 -7
  309. package/dist/types-ts4.5/ui/Expand.d.ts +0 -23
  310. package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +0 -42
  311. package/dist/types-ts4.5/ui/MediaCard.d.ts +0 -79
  312. package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +0 -24
  313. package/dist/types-ts4.5/ui/Renderer/breakout-ssr.d.ts +0 -11
  314. package/dist/types-ts4.5/ui/Renderer/click-to-edit.d.ts +0 -6
  315. package/dist/types-ts4.5/ui/Renderer/index.d.ts +0 -38
  316. package/dist/types-ts4.5/ui/Renderer/style.d.ts +0 -16
  317. package/dist/types-ts4.5/ui/Renderer/truncated-wrapper.d.ts +0 -12
  318. package/dist/types-ts4.5/ui/Renderer/types.d.ts +0 -16
  319. package/dist/types-ts4.5/ui/RendererActionsContext/WithRendererActions.d.ts +0 -6
  320. package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +0 -9
  321. package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +0 -60
  322. package/dist/types-ts4.5/ui/SortingIcon.d.ts +0 -23
  323. package/dist/types-ts4.5/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +0 -15
  324. package/dist/types-ts4.5/ui/TaskItemsFormatContext/index.d.ts +0 -2
  325. package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +0 -18
  326. package/dist/types-ts4.5/ui/annotations/context.d.ts +0 -27
  327. package/dist/types-ts4.5/ui/annotations/draft/component.d.ts +0 -20
  328. package/dist/types-ts4.5/ui/annotations/draft/dom.d.ts +0 -7
  329. package/dist/types-ts4.5/ui/annotations/draft/index.d.ts +0 -2
  330. package/dist/types-ts4.5/ui/annotations/draft/position.d.ts +0 -2
  331. package/dist/types-ts4.5/ui/annotations/draft/text.d.ts +0 -13
  332. package/dist/types-ts4.5/ui/annotations/element/index.d.ts +0 -10
  333. package/dist/types-ts4.5/ui/annotations/element/mark.d.ts +0 -14
  334. package/dist/types-ts4.5/ui/annotations/hooks/index.d.ts +0 -3
  335. package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +0 -18
  336. package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +0 -1
  337. package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comments-filter.d.ts +0 -9
  338. package/dist/types-ts4.5/ui/annotations/hooks/use-load-annotations.d.ts +0 -6
  339. package/dist/types-ts4.5/ui/annotations/hooks/user-selection.d.ts +0 -9
  340. package/dist/types-ts4.5/ui/annotations/hooks/utils.d.ts +0 -2
  341. package/dist/types-ts4.5/ui/annotations/index.d.ts +0 -5
  342. package/dist/types-ts4.5/ui/annotations/selection/index.d.ts +0 -1
  343. package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +0 -20
  344. package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +0 -13
  345. package/dist/types-ts4.5/ui/annotations/selection/wrapper.d.ts +0 -8
  346. package/dist/types-ts4.5/ui/annotations/types.d.ts +0 -22
  347. package/dist/types-ts4.5/ui/annotations/view/index.d.ts +0 -7
  348. package/dist/types-ts4.5/ui/index.d.ts +0 -1
  349. package/dist/types-ts4.5/ui/renderer-props.d.ts +0 -115
  350. package/dist/types-ts4.5/use-feature-flags.d.ts +0 -2
  351. package/dist/types-ts4.5/utils.d.ts +0 -24
  352. package/tmp/api-report-tmp.d.ts +0 -552
@@ -1,552 +0,0 @@
1
- ## API Report File for "@atlaskit/renderer"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- /// <reference types="react" />
8
-
9
- import { ACTION } from '@atlaskit/editor-common/analytics';
10
- import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
11
- import { ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
12
- import type { ADFStage } from '@atlaskit/editor-common/validator';
13
- import type { AnnotationProviders } from '@atlaskit/editor-common/types';
14
- import type { CardProps } from '@atlaskit/smart-card';
15
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
16
- import type { DocNode } from '@atlaskit/adf-schema';
17
- import type { EmojiResourceConfig } from '@atlaskit/emoji/resource';
18
- import { EVENT_TYPE } from '@atlaskit/editor-common/analytics';
19
- import type { EventHandlers } from '@atlaskit/editor-common/ui';
20
- import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
21
- import { Fragment } from '@atlaskit/editor-prosemirror/model';
22
- import { jsx } from '@emotion/react';
23
- import type { Mark } from '@atlaskit/editor-prosemirror/model';
24
- import type { MediaClientConfig } from '@atlaskit/media-core';
25
- import type { MediaFeatureFlags } from '@atlaskit/media-common';
26
- import { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
27
- import { OperationalAEP } from '@atlaskit/editor-common/analytics';
28
- import { PropsDifference } from '@atlaskit/editor-common/utils';
29
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
30
- import { Schema } from '@atlaskit/editor-prosemirror/model';
31
- import { SEVERITY } from '@atlaskit/editor-common/utils';
32
- import { ShallowPropsDifference } from '@atlaskit/editor-common/utils';
33
- import { SortOrder } from '@atlaskit/editor-common/types';
34
- import type { SSR } from '@atlaskit/media-common';
35
- import type { Transformer as Transformer_2 } from '@atlaskit/editor-common/types';
36
- import { UNSUPPORTED_CONTENT_LEVEL_SEVERITY } from '@atlaskit/editor-common/utils';
37
- import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
38
- import type { UnsupportedContentPayload } from '@atlaskit/editor-common/utils';
39
- import type { UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
40
-
41
- // @public (undocumented)
42
- export class ADFEncoder<T> {
43
- constructor(createTransformerWithSchema: TransformerProvider<T>);
44
- // (undocumented)
45
- encode: (value: T) => any;
46
- }
47
-
48
- // @public (undocumented)
49
- type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
50
- action: Action;
51
- actionSubject: ActionSubject;
52
- actionSubjectId?: ActionSubjectID;
53
- attributes?: Attributes;
54
- eventType: EventType;
55
- };
56
-
57
- // @public (undocumented)
58
- type AnalyticsEventPayload<T = void> = AnchorLinkAEP | AnnotationAEP | AnnotationDeleteAEP | CodeBlockCopyAEP | CodeBlockWrapAEP | ComponentCrashErrorAEP | ExpandAEP | HeadingAnchorLinkButtonAEP | InvalidProsemirrorDocumentErrorAEP | MediaLnkTransformedAEP | RendererReRenderedAEP<T> | RendererRenderedAEP | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | RendererStartAEP | RendererTTIAEP | RendererUnsupportedContentLevelsTrackingErrored | RendererUnsupportedContentLevelsTrackingSucceeded | TableSortColumnAEP | TableSortColumnNotAllowedAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | VisitLinkAEP | VisitMediaLinkAEP;
59
-
60
- // @public (undocumented)
61
- type AnchorLinkAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.ANCHOR_LINK, undefined, {
62
- platform: PLATFORM.WEB;
63
- mode: MODE.RENDERER;
64
- }>;
65
-
66
- // @public (undocumented)
67
- type AnnotationActionType = ACTION.CLOSED | ACTION.CREATE_NOT_ALLOWED | ACTION.DELETED | ACTION.EDITED | ACTION.INSERTED | ACTION.OPENED | ACTION.RESOLVED | ACTION.VIEWED;
68
-
69
- // @public (undocumented)
70
- type AnnotationAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
71
-
72
- // @public (undocumented)
73
- type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
74
-
75
- // @public (undocumented)
76
- type AnnotationDeleteAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID, undefined, EVENT_TYPE.TRACK>;
77
-
78
- // @public (undocumented)
79
- type AnnotationDraftAEPAttributes = {
80
- overlap?: number;
81
- };
82
-
83
- // @public (undocumented)
84
- type AnnotationResolvedAEPAttributes = {
85
- method?: RESOLVE_METHOD;
86
- };
87
-
88
- // @public (undocumented)
89
- type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ActionSubjectID, Attributes>;
90
-
91
- // @public (undocumented)
92
- type CodeBlockCopyAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_COPY, undefined>;
93
-
94
- // @public (undocumented)
95
- type CodeBlockWrapAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_WRAP, {
96
- wrapped: boolean;
97
- }>;
98
-
99
- // @public (undocumented)
100
- type ComponentCrashErrorAEP = OperationalAEP<ACTION.CRASHED, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
101
- platform: PLATFORM.WEB;
102
- errorMessage?: string;
103
- errorStack?: string;
104
- componentStack?: string;
105
- errorRethrown?: boolean;
106
- }, {
107
- errorStack?: string;
108
- }>;
109
-
110
- // @public (undocumented)
111
- type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
112
-
113
- // @public (undocumented)
114
- type ExpandAEP = AEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
115
- platform: PLATFORM.WEB;
116
- mode: MODE.RENDERER;
117
- expanded: boolean;
118
- }, EVENT_TYPE.TRACK>;
119
-
120
- // @public (undocumented)
121
- type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
122
-
123
- // @public (undocumented)
124
- type HeadingAnchorLinksConfig = {
125
- activeHeadingId?: string;
126
- allowNestedHeaderLinks?: boolean;
127
- };
128
-
129
- // @public (undocumented)
130
- export type HeadingAnchorLinksProps = HeadingAnchorLinksConfig | boolean;
131
-
132
- // @public (undocumented)
133
- type InvalidProsemirrorDocumentErrorAEP = AEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
134
- platform: PLATFORM.WEB;
135
- errorStack?: string;
136
- }, EVENT_TYPE.OPERATIONAL>;
137
-
138
- // @public (undocumented)
139
- type MediaLnkTransformedAEP = AEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined, EVENT_TYPE.OPERATIONAL>;
140
-
141
- // @public (undocumented)
142
- interface MediaOptions {
143
- // (undocumented)
144
- allowCaptions?: boolean;
145
- // (undocumented)
146
- allowLinking?: boolean;
147
- // (undocumented)
148
- enableDownloadButton?: boolean;
149
- // (undocumented)
150
- featureFlags?: MediaFeatureFlags;
151
- // (undocumented)
152
- ssr?: MediaSSR;
153
- }
154
-
155
- // @public (undocumented)
156
- export type MediaSSR = {
157
- mode: SSR;
158
- config: MediaClientConfig;
159
- };
160
-
161
- // @public (undocumented)
162
- enum MODE {
163
- // (undocumented)
164
- EDITOR = "editor",
165
- // (undocumented)
166
- RENDERER = "renderer"
167
- }
168
-
169
- // @public (undocumented)
170
- type NodeComponentsProps = {
171
- [key: string]: React.ComponentType<any>;
172
- };
173
-
174
- // @public (undocumented)
175
- interface ParentInfo {
176
- // (undocumented)
177
- parentIsIncompleteTask: boolean;
178
- // (undocumented)
179
- path: Array<Node_2>;
180
- // (undocumented)
181
- pos: number;
182
- }
183
-
184
- // @public (undocumented)
185
- enum PLATFORM {
186
- // (undocumented)
187
- HYBRID = "mobileHybrid",
188
- // (undocumented)
189
- NATIVE = "mobileNative",
190
- // (undocumented)
191
- WEB = "web"
192
- }
193
-
194
- // @public (undocumented)
195
- interface RawObjectFeatureFlags {
196
- // (undocumented)
197
- ['renderer-render-tracking']: string;
198
- }
199
-
200
- // @public (undocumented)
201
- export const ReactRenderer: (props: RendererProps) => jsx.JSX.Element;
202
-
203
- // @public (undocumented)
204
- export class ReactSerializer implements Serializer<JSX.Element> {
205
- constructor(init: ReactSerializerInit);
206
- // (undocumented)
207
- static buildMarkStructure(content: Node_2[]): Mark[];
208
- // (undocumented)
209
- static fromSchema(_: unknown, init: ReactSerializerInit): ReactSerializer;
210
- // (undocumented)
211
- static getChildNodes(fragment: Fragment): (Node_2 | TextWrapper)[];
212
- // (undocumented)
213
- static getMarks(node: Node_2): Mark[];
214
- // (undocumented)
215
- serializeFragment(fragment: Fragment, props?: any, target?: any, key?: string, parentInfo?: ParentInfo): JSX.Element | null;
216
- }
217
-
218
- // @public (undocumented)
219
- interface ReactSerializerInit {
220
- // (undocumented)
221
- allowAltTextOnImages?: boolean;
222
- // (undocumented)
223
- allowAnnotations?: boolean;
224
- // (undocumented)
225
- allowColumnSorting?: boolean;
226
- // (undocumented)
227
- allowCopyToClipboard?: boolean;
228
- // (undocumented)
229
- allowCustomPanels?: boolean;
230
- // (undocumented)
231
- allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
232
- // (undocumented)
233
- allowMediaLinking?: boolean;
234
- // (undocumented)
235
- allowPlaceholderText?: boolean;
236
- // (undocumented)
237
- allowSelectAllTrap?: boolean;
238
- // (undocumented)
239
- allowWindowedCodeBlock?: boolean;
240
- // (undocumented)
241
- allowWrapCodeBlock?: boolean;
242
- // (undocumented)
243
- appearance?: RendererAppearance;
244
- // (undocumented)
245
- disableActions?: boolean;
246
- // (undocumented)
247
- disableHeadingIDs?: boolean;
248
- // (undocumented)
249
- emojiResourceConfig?: EmojiResourceConfig;
250
- // (undocumented)
251
- eventHandlers?: EventHandlers;
252
- // (undocumented)
253
- extensionHandlers?: ExtensionHandlers;
254
- // (undocumented)
255
- fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
256
- // (undocumented)
257
- media?: MediaOptions;
258
- // (undocumented)
259
- nodeComponents?: NodeComponentsProps;
260
- // (undocumented)
261
- objectContext?: RendererContext;
262
- // (undocumented)
263
- portal?: HTMLElement;
264
- // (undocumented)
265
- providers?: ProviderFactory;
266
- // (undocumented)
267
- shouldOpenMediaViewer?: boolean;
268
- // (undocumented)
269
- smartLinks?: SmartLinksOptions;
270
- // (undocumented)
271
- stickyHeaders?: StickyHeaderConfig;
272
- // (undocumented)
273
- surroundTextNodesWithTextWrapper?: boolean;
274
- }
275
-
276
- // @public (undocumented)
277
- export const renderDocument: <T>(doc: any, serializer: Serializer<T>, schema?: Schema, adfStage?: ADFStage, useSpecBasedValidator?: boolean, rendererId?: string, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking, appearance?: RendererAppearance) => RenderOutput<T | null>;
278
-
279
- // @public (undocumented)
280
- export type RendererAppearance = 'comment' | 'full-page' | 'full-width' | 'mobile' | undefined;
281
-
282
- // @public (undocumented)
283
- export interface RendererContext {
284
- // (undocumented)
285
- adDoc?: any;
286
- // (undocumented)
287
- containerAri?: string;
288
- // (undocumented)
289
- objectAri?: string;
290
- // (undocumented)
291
- schema?: Schema;
292
- }
293
-
294
- // @public (undocumented)
295
- export interface RendererProps {
296
- addTelepointer?: boolean;
297
- // (undocumented)
298
- adfStage?: ADFStage;
299
- // (undocumented)
300
- allowAltTextOnImages?: boolean;
301
- // (undocumented)
302
- allowAnnotations?: boolean;
303
- // (undocumented)
304
- allowColumnSorting?: boolean;
305
- // (undocumented)
306
- allowCopyToClipboard?: boolean;
307
- // (undocumented)
308
- allowCustomPanels?: boolean;
309
- // (undocumented)
310
- allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
311
- // (undocumented)
312
- allowPlaceholderText?: boolean;
313
- // (undocumented)
314
- allowSelectAllTrap?: boolean;
315
- // (undocumented)
316
- allowUgcScrubber?: boolean;
317
- // (undocumented)
318
- allowWrapCodeBlock?: boolean;
319
- // (undocumented)
320
- analyticsEventSeverityTracking?: {
321
- enabled: boolean;
322
- severityNormalThreshold: number;
323
- severityDegradedThreshold: number;
324
- };
325
- // (undocumented)
326
- annotationProvider?: AnnotationProviders | null;
327
- // (undocumented)
328
- appearance?: RendererAppearance;
329
- // (undocumented)
330
- createAnalyticsEvent?: CreateUIAnalyticsEvent;
331
- // (undocumented)
332
- dataProviders?: ProviderFactory;
333
- // (undocumented)
334
- disableActions?: boolean;
335
- // (undocumented)
336
- disableHeadingIDs?: boolean;
337
- // (undocumented)
338
- document: DocNode;
339
- // (undocumented)
340
- emojiResourceConfig?: EmojiResourceConfig;
341
- // (undocumented)
342
- enableSsrInlineScripts?: boolean;
343
- // (undocumented)
344
- eventHandlers?: EventHandlers;
345
- // (undocumented)
346
- extensionHandlers?: ExtensionHandlers;
347
- // (undocumented)
348
- fadeOutHeight?: number;
349
- featureFlags?: Partial<RawObjectFeatureFlags> | {
350
- [featureFlag: string]: boolean;
351
- };
352
- // (undocumented)
353
- innerRef?: React.RefObject<HTMLDivElement>;
354
- // (undocumented)
355
- maxHeight?: number;
356
- // (undocumented)
357
- media?: MediaOptions;
358
- // (undocumented)
359
- nodeComponents?: NodeComponentsProps;
360
- // (undocumented)
361
- onComplete?: (stat: RenderOutputStat) => void;
362
- // (undocumented)
363
- onError?: (error: any) => void;
364
- // (undocumented)
365
- portal?: HTMLElement;
366
- // (undocumented)
367
- rendererContext?: RendererContext;
368
- // (undocumented)
369
- schema?: Schema;
370
- // (undocumented)
371
- shouldOpenMediaViewer?: boolean;
372
- // (undocumented)
373
- smartLinks?: SmartLinksOptions;
374
- // (undocumented)
375
- stickyHeaders?: StickyHeaderProps;
376
- // (undocumented)
377
- truncated?: boolean;
378
- // (undocumented)
379
- unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
380
- // @deprecated (undocumented)
381
- useSpecBasedValidator?: boolean;
382
- }
383
-
384
- // @public (undocumented)
385
- type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
386
- platform: PLATFORM.WEB;
387
- duration: number;
388
- distortedDuration: boolean;
389
- ttfb?: number;
390
- nodes: Record<string, number>;
391
- severity?: SEVERITY;
392
- }, EVENT_TYPE.OPERATIONAL>;
393
-
394
- // @public (undocumented)
395
- type RendererReRenderedAEP<Props> = AEP<ACTION.RE_RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
396
- propsDifference: PropsDifference<Props> | ShallowPropsDifference<Props>;
397
- count: number;
398
- componentId?: string;
399
- }, EVENT_TYPE.OPERATIONAL>;
400
-
401
- // @public (undocumented)
402
- type RendererSelectAllCaughtAEP = AEP<ACTION.SELECT_ALL_CAUGHT, ACTION_SUBJECT.RENDERER, undefined, {
403
- platform: PLATFORM.WEB;
404
- }, EVENT_TYPE.TRACK>;
405
-
406
- // @public (undocumented)
407
- type RendererSelectAllEscapedAEP = AEP<ACTION.SELECT_ALL_ESCAPED, ACTION_SUBJECT.RENDERER, undefined, {
408
- platform: PLATFORM.WEB;
409
- }, EVENT_TYPE.TRACK>;
410
-
411
- // @public (undocumented)
412
- type RendererStartAEP = AEP<ACTION.STARTED, ACTION_SUBJECT.RENDERER, undefined, {
413
- platform: PLATFORM.WEB;
414
- }, EVENT_TYPE.UI>;
415
-
416
- // @public (undocumented)
417
- type RendererTTIAEP = AEP<ACTION.RENDERER_TTI, ACTION_SUBJECT.RENDERER, undefined, {
418
- tti: number;
419
- ttiFromInvocation: number;
420
- canceled: boolean;
421
- }, EVENT_TYPE.OPERATIONAL>;
422
-
423
- // @public (undocumented)
424
- type RendererUnsupportedContentLevelsTrackingErrored = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED, ACTION_SUBJECT.RENDERER, undefined, {
425
- platform: PLATFORM.WEB;
426
- error: string;
427
- }, EVENT_TYPE.OPERATIONAL>;
428
-
429
- // @public (undocumented)
430
- type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED, ACTION_SUBJECT.RENDERER, undefined, {
431
- appearance?: string;
432
- platform: PLATFORM.WEB;
433
- unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
434
- unsupportedContentLevelPercentage: number;
435
- unsupportedNodesCount: number;
436
- supportedNodesCount: number;
437
- }, EVENT_TYPE.OPERATIONAL>;
438
-
439
- // @public (undocumented)
440
- interface RenderOutput<T> {
441
- // (undocumented)
442
- pmDoc?: Node_2;
443
- // (undocumented)
444
- result: T;
445
- // (undocumented)
446
- stat: RenderOutputStat;
447
- }
448
-
449
- // @public (undocumented)
450
- export interface RenderOutputStat {
451
- // (undocumented)
452
- buildTreeTime?: number;
453
- // (undocumented)
454
- sanitizeTime: number;
455
- // (undocumented)
456
- serializeTime?: number;
457
- }
458
-
459
- // @public (undocumented)
460
- enum RESOLVE_METHOD {
461
- // (undocumented)
462
- COMPONENT = "component",
463
- // (undocumented)
464
- CONSUMER = "consumer",
465
- // (undocumented)
466
- ORPHANED = "orphaned"
467
- }
468
-
469
- // @public (undocumented)
470
- export interface Serializer<T> {
471
- // (undocumented)
472
- serializeFragment(fragment: Fragment, props?: any, target?: any, key?: string): T | null;
473
- }
474
-
475
- // @public (undocumented)
476
- interface SmartLinksOptions {
477
- // (undocumented)
478
- frameStyle?: CardProps['frameStyle'];
479
- // (undocumented)
480
- showAuthTooltip?: boolean;
481
- // (undocumented)
482
- showServerActions?: boolean;
483
- // (undocumented)
484
- ssr?: boolean;
485
- }
486
-
487
- // @public (undocumented)
488
- type StickyHeaderConfig = {
489
- offsetTop?: number;
490
- };
491
-
492
- // @public (undocumented)
493
- export type StickyHeaderProps = ({
494
- show?: boolean;
495
- } & StickyHeaderConfig) | boolean;
496
-
497
- // @public (undocumented)
498
- type TableSortColumnAEP = AEP<ACTION.SORT_COLUMN, ACTION_SUBJECT.TABLE, undefined, {
499
- platform: PLATFORM.WEB;
500
- mode: MODE.RENDERER;
501
- sortOrder: SortOrder;
502
- columnIndex: number;
503
- }, EVENT_TYPE.TRACK>;
504
-
505
- // @public (undocumented)
506
- type TableSortColumnNotAllowedAEP = AEP<ACTION.SORT_COLUMN_NOT_ALLOWED, ACTION_SUBJECT.TABLE, undefined, {
507
- platform: PLATFORM.WEB;
508
- mode: MODE.RENDERER;
509
- }, EVENT_TYPE.TRACK>;
510
-
511
- // @public (undocumented)
512
- export class TextSerializer implements Serializer<string> {
513
- constructor(schema: Schema);
514
- // (undocumented)
515
- static fromSchema(schema?: Schema): TextSerializer;
516
- // (undocumented)
517
- serializeFragment(fragment: Fragment): string;
518
- }
519
-
520
- // @public (undocumented)
521
- interface TextWrapper {
522
- // (undocumented)
523
- content: Node_2[];
524
- // (undocumented)
525
- nodeSize: number;
526
- // (undocumented)
527
- type: {
528
- name: 'textWrapper';
529
- };
530
- }
531
-
532
- // @public (undocumented)
533
- type TransformerProvider<T> = (schema: Schema) => Transformer_2<T>;
534
-
535
- // @public (undocumented)
536
- type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, EVENT_TYPE.UI>;
537
-
538
- // @public (undocumented)
539
- type VisitLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
540
- platform: PLATFORM.WEB;
541
- mode: MODE.RENDERER;
542
- }, EVENT_TYPE.TRACK>;
543
-
544
- // @public (undocumented)
545
- type VisitMediaLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.LINK, {
546
- platform: PLATFORM.WEB;
547
- mode: MODE.RENDERER;
548
- }, EVENT_TYPE.TRACK>;
549
-
550
- // (No @packageDocumentation comment for this package)
551
-
552
- ```