@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
package/report.api.md CHANGED
@@ -1,10 +1,14 @@
1
- ## API Report File for "@atlaskit/renderer".
1
+ ## API Report File for "@atlaskit/renderer"
2
2
 
3
- > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ <!--
6
+ Generated API Report version: 2.0
7
+ -->
4
8
 
5
9
  [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
6
10
 
7
- ````ts
11
+ ```ts
8
12
  /// <reference types="react" />
9
13
 
10
14
  import type { ADFStage } from '@atlaskit/editor-common/validator';
@@ -29,66 +33,103 @@ import type { Transformer as Transformer_2 } from '@atlaskit/editor-common/types
29
33
  import { UNSUPPORTED_CONTENT_LEVEL_SEVERITY } from '@atlaskit/editor-common/utils';
30
34
  import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
31
35
  import type { UnsupportedContentPayload } from '@atlaskit/editor-common/utils';
32
- import { UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/src/utils/analytics';
36
+ import type { UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
33
37
 
34
- declare enum ACTION {
35
- STARTED = 'started',
36
- RENDERED = 'rendered',
37
- RE_RENDERED = 'reRendered',
38
- RENDERER_TTI = 'tti',
38
+ // @public (undocumented)
39
+ enum ACTION {
40
+ // (undocumented)
41
+ CLICKED = 'clicked',
42
+ // (undocumented)
43
+ CLOSED = 'closed',
44
+ // (undocumented)
39
45
  CRASHED = 'unhandledErrorCaught',
46
+ // (undocumented)
47
+ CREATE_NOT_ALLOWED = 'createNotAllowed',
48
+ // (undocumented)
49
+ DELETED = 'deleted',
50
+ // (undocumented)
51
+ EDITED = 'edited',
52
+ // (undocumented)
53
+ INSERTED = 'inserted',
54
+ // (undocumented)
40
55
  INVALID_PROSEMIRROR_DOCUMENT = 'invalidProsemirrorDocument',
56
+ // (undocumented)
57
+ MEDIA_LINK_TRANSFORMED = 'mediaLinkTransformed',
58
+ // (undocumented)
59
+ OPENED = 'opened',
60
+ // (undocumented)
61
+ RE_RENDERED = 'reRendered',
62
+ // (undocumented)
63
+ RENDERED = 'rendered',
64
+ // (undocumented)
65
+ RENDERER_TTI = 'tti',
66
+ // (undocumented)
67
+ RESOLVED = 'resolved',
68
+ // (undocumented)
41
69
  SELECT_ALL_CAUGHT = 'selectAllCaught',
70
+ // (undocumented)
42
71
  SELECT_ALL_ESCAPED = 'selectAllEscaped',
43
- CLICKED = 'clicked',
44
- VIEWED = 'viewed',
45
- VISITED = 'visited',
72
+ // (undocumented)
46
73
  SORT_COLUMN = 'sortedColumn',
74
+ // (undocumented)
47
75
  SORT_COLUMN_NOT_ALLOWED = 'sortColumnNotAllowed',
76
+ // (undocumented)
77
+ STARTED = 'started',
78
+ // (undocumented)
48
79
  TOGGLE_EXPAND = 'toggleExpand',
49
- INSERTED = 'inserted',
50
- OPENED = 'opened',
51
- CLOSED = 'closed',
52
- DELETED = 'deleted',
53
- EDITED = 'edited',
54
- RESOLVED = 'resolved',
55
- CREATE_NOT_ALLOWED = 'createNotAllowed',
56
- UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED = 'unsupportedContentLevelsTrackingSucceeded',
80
+ // (undocumented)
57
81
  UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED = 'unsupportedContentLevelsTrackingErrored',
58
- MEDIA_LINK_TRANSFORMED = 'mediaLinkTransformed',
82
+ // (undocumented)
83
+ UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED = 'unsupportedContentLevelsTrackingSucceeded',
84
+ // (undocumented)
85
+ VIEWED = 'viewed',
86
+ // (undocumented)
87
+ VISITED = 'visited',
59
88
  }
60
89
 
61
- declare enum ACTION_SUBJECT {
62
- RENDERER = 'renderer',
63
- BUTTON = 'button',
90
+ // @public (undocumented)
91
+ enum ACTION_SUBJECT {
92
+ // (undocumented)
64
93
  ANCHOR_LINK = 'anchorLink',
65
- TABLE = 'table',
94
+ // (undocumented)
95
+ ANNOTATION = 'annotation',
96
+ // (undocumented)
97
+ BUTTON = 'button',
98
+ // (undocumented)
66
99
  EXPAND = 'expand',
67
- NESTED_EXPAND = 'nestedExpand',
68
- MEDIA_SINGLE = 'mediaSingle',
100
+ // (undocumented)
69
101
  LINK = 'link',
70
- ANNOTATION = 'annotation',
102
+ // (undocumented)
71
103
  MEDIA = 'media',
104
+ // (undocumented)
105
+ MEDIA_SINGLE = 'mediaSingle',
106
+ // (undocumented)
107
+ NESTED_EXPAND = 'nestedExpand',
108
+ // (undocumented)
109
+ RENDERER = 'renderer',
110
+ // (undocumented)
111
+ TABLE = 'table',
72
112
  }
73
113
 
74
- declare enum ACTION_SUBJECT_ID {
114
+ // @public (undocumented)
115
+ enum ACTION_SUBJECT_ID {
116
+ // (undocumented)
75
117
  HEADING_ANCHOR_LINK = 'headingAnchorLink',
76
- LINK = 'link',
118
+ // (undocumented)
77
119
  INLINE_COMMENT = 'inlineComment',
120
+ // (undocumented)
121
+ LINK = 'link',
78
122
  }
79
123
 
80
- export declare class ADFEncoder<T> {
81
- encode: (value: T) => any;
124
+ // @public (undocumented)
125
+ export class ADFEncoder<T> {
82
126
  constructor(createTransformerWithSchema: TransformerProvider<T>);
127
+ // (undocumented)
128
+ encode: (value: T) => any;
83
129
  }
84
130
 
85
- declare type AEP<
86
- Action,
87
- ActionSubject,
88
- ActionSubjectID,
89
- Attributes,
90
- EventType
91
- > = {
131
+ // @public (undocumented)
132
+ type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
92
133
  action: Action;
93
134
  actionSubject: ActionSubject;
94
135
  actionSubjectId?: ActionSubjectID;
@@ -96,7 +137,8 @@ declare type AEP<
96
137
  eventType: EventType;
97
138
  };
98
139
 
99
- declare type AnalyticsEventPayload<T = void> =
140
+ // @public (undocumented)
141
+ type AnalyticsEventPayload<T = void> =
100
142
  | RendererStartAEP
101
143
  | RendererRenderedAEP
102
144
  | RendererReRenderedAEP<T>
@@ -120,7 +162,8 @@ declare type AnalyticsEventPayload<T = void> =
120
162
  | InvalidProsemirrorDocumentErrorAEP
121
163
  | RendererTTIAEP;
122
164
 
123
- declare type AnchorLinkAEP = UIAEP<
165
+ // @public (undocumented)
166
+ type AnchorLinkAEP = UIAEP<
124
167
  ACTION.VIEWED,
125
168
  ACTION_SUBJECT.ANCHOR_LINK,
126
169
  undefined,
@@ -130,7 +173,8 @@ declare type AnchorLinkAEP = UIAEP<
130
173
  }
131
174
  >;
132
175
 
133
- declare type AnnotationActionType =
176
+ // @public (undocumented)
177
+ type AnnotationActionType =
134
178
  | ACTION.INSERTED
135
179
  | ACTION.CLOSED
136
180
  | ACTION.EDITED
@@ -140,7 +184,8 @@ declare type AnnotationActionType =
140
184
  | ACTION.VIEWED
141
185
  | ACTION.CREATE_NOT_ALLOWED;
142
186
 
143
- declare type AnnotationAEP = AEP<
187
+ // @public (undocumented)
188
+ type AnnotationAEP = AEP<
144
189
  AnnotationActionType,
145
190
  ACTION_SUBJECT.ANNOTATION,
146
191
  ACTION_SUBJECT_ID.INLINE_COMMENT,
@@ -148,11 +193,13 @@ declare type AnnotationAEP = AEP<
148
193
  undefined
149
194
  >;
150
195
 
151
- declare type AnnotationAEPAttributes =
196
+ // @public (undocumented)
197
+ type AnnotationAEPAttributes =
152
198
  | AnnotationDraftAEPAttributes
153
199
  | AnnotationResolvedAEPAttributes;
154
200
 
155
- declare type AnnotationDeleteAEP = AEP<
201
+ // @public (undocumented)
202
+ type AnnotationDeleteAEP = AEP<
156
203
  AnnotationActionType,
157
204
  ACTION_SUBJECT.ANNOTATION,
158
205
  ACTION_SUBJECT_ID,
@@ -160,22 +207,26 @@ declare type AnnotationDeleteAEP = AEP<
160
207
  EVENT_TYPE.TRACK
161
208
  >;
162
209
 
163
- declare type AnnotationDraftAEPAttributes = {
210
+ // @public (undocumented)
211
+ type AnnotationDraftAEPAttributes = {
164
212
  overlap?: number;
165
213
  };
166
214
 
167
- declare type AnnotationResolvedAEPAttributes = {
215
+ // @public (undocumented)
216
+ type AnnotationResolvedAEPAttributes = {
168
217
  method?: RESOLVE_METHOD;
169
218
  };
170
219
 
171
- declare type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<
220
+ // @public (undocumented)
221
+ type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<
172
222
  ACTION.CLICKED,
173
223
  ACTION_SUBJECT.BUTTON,
174
224
  ActionSubjectID,
175
225
  Attributes
176
226
  >;
177
227
 
178
- declare type ComponentCrashErrorAEP = AEP<
228
+ // @public (undocumented)
229
+ type ComponentCrashErrorAEP = AEP<
179
230
  ACTION.CRASHED,
180
231
  ACTION_SUBJECT.RENDERER,
181
232
  ACTION_SUBJECT_ID,
@@ -189,16 +240,23 @@ declare type ComponentCrashErrorAEP = AEP<
189
240
  EVENT_TYPE.OPERATIONAL
190
241
  >;
191
242
 
192
- declare type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
243
+ // @public (undocumented)
244
+ type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
193
245
 
194
- declare enum EVENT_TYPE {
246
+ // @public (undocumented)
247
+ enum EVENT_TYPE {
248
+ // (undocumented)
195
249
  OPERATIONAL = 'operational',
250
+ // (undocumented)
196
251
  SCREEN = 'screen',
252
+ // (undocumented)
197
253
  TRACK = 'track',
254
+ // (undocumented)
198
255
  UI = 'ui',
199
256
  }
200
257
 
201
- declare type ExpandAEP = AEP<
258
+ // @public (undocumented)
259
+ type ExpandAEP = AEP<
202
260
  ACTION.TOGGLE_EXPAND,
203
261
  ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND,
204
262
  undefined,
@@ -210,21 +268,23 @@ declare type ExpandAEP = AEP<
210
268
  EVENT_TYPE.TRACK
211
269
  >;
212
270
 
213
- declare type HeadingAnchorLinkButtonAEP = ButtonAEP<
271
+ // @public (undocumented)
272
+ type HeadingAnchorLinkButtonAEP = ButtonAEP<
214
273
  ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK,
215
274
  undefined
216
275
  >;
217
276
 
218
- declare type HeadingAnchorLinksConfig = {
277
+ // @public (undocumented)
278
+ type HeadingAnchorLinksConfig = {
219
279
  activeHeadingId?: string;
220
280
  allowNestedHeaderLinks?: boolean;
221
281
  };
222
282
 
223
- export declare type HeadingAnchorLinksProps =
224
- | boolean
225
- | HeadingAnchorLinksConfig;
283
+ // @public (undocumented)
284
+ export type HeadingAnchorLinksProps = boolean | HeadingAnchorLinksConfig;
226
285
 
227
- declare type InvalidProsemirrorDocumentErrorAEP = AEP<
286
+ // @public (undocumented)
287
+ type InvalidProsemirrorDocumentErrorAEP = AEP<
228
288
  ACTION.INVALID_PROSEMIRROR_DOCUMENT,
229
289
  ACTION_SUBJECT.RENDERER,
230
290
  ACTION_SUBJECT_ID,
@@ -235,7 +295,8 @@ declare type InvalidProsemirrorDocumentErrorAEP = AEP<
235
295
  EVENT_TYPE.OPERATIONAL
236
296
  >;
237
297
 
238
- declare type MediaLnkTransformedAEP = AEP<
298
+ // @public (undocumented)
299
+ type MediaLnkTransformedAEP = AEP<
239
300
  ACTION.MEDIA_LINK_TRANSFORMED,
240
301
  ACTION_SUBJECT.RENDERER,
241
302
  undefined,
@@ -243,85 +304,78 @@ declare type MediaLnkTransformedAEP = AEP<
243
304
  EVENT_TYPE.OPERATIONAL
244
305
  >;
245
306
 
246
- declare interface MediaOptions {
307
+ // @public (undocumented)
308
+ interface MediaOptions {
309
+ // (undocumented)
247
310
  allowLinking?: boolean;
311
+ // (undocumented)
248
312
  enableDownloadButton?: boolean;
313
+ // (undocumented)
249
314
  featureFlags?: MediaFeatureFlags;
315
+ // (undocumented)
250
316
  ssr?: MediaSSR;
251
317
  }
252
318
 
253
- export declare type MediaSSR = {
319
+ // @public (undocumented)
320
+ export type MediaSSR = {
254
321
  mode: SSR;
255
322
  config: MediaClientConfig;
256
323
  };
257
324
 
258
- declare enum MODE {
259
- RENDERER = 'renderer',
325
+ // @public (undocumented)
326
+ enum MODE {
327
+ // (undocumented)
260
328
  EDITOR = 'editor',
329
+ // (undocumented)
330
+ RENDERER = 'renderer',
261
331
  }
262
332
 
263
- declare type NodeComponentsProps = {
333
+ // @public (undocumented)
334
+ type NodeComponentsProps = {
264
335
  [key: string]: React.ComponentType<any>;
265
336
  };
266
337
 
267
- declare interface ParentInfo {
338
+ // @public (undocumented)
339
+ interface ParentInfo {
340
+ // (undocumented)
268
341
  parentIsIncompleteTask: boolean;
342
+ // (undocumented)
269
343
  path: Array<Node_2>;
344
+ // (undocumented)
270
345
  pos: number;
271
346
  }
272
347
 
273
- declare enum PLATFORM {
274
- NATIVE = 'mobileNative',
348
+ // @public (undocumented)
349
+ enum PLATFORM {
350
+ // (undocumented)
275
351
  HYBRID = 'mobileHybrid',
352
+ // (undocumented)
353
+ NATIVE = 'mobileNative',
354
+ // (undocumented)
276
355
  WEB = 'web',
277
356
  }
278
357
 
279
- declare interface RawObjectFeatureFlags {
358
+ // @public (undocumented)
359
+ interface RawObjectFeatureFlags {
360
+ // (undocumented)
280
361
  ['renderer-render-tracking']: string;
281
362
  }
282
363
 
283
- export declare const ReactRenderer: (props: RendererProps) => jsx.JSX.Element;
284
-
285
- export declare class ReactSerializer implements Serializer<JSX.Element> {
286
- private providers?;
287
- private eventHandlers?;
288
- private extensionHandlers?;
289
- private portal?;
290
- private rendererContext?;
291
- private appearance?;
292
- private disableHeadingIDs?;
293
- private disableActions?;
294
- private headingIds;
295
- /**
296
- * The reason we have this extra array here is because we need to generate the same unique
297
- * heading id for 2 different nodes: headers and expands (check the implementation of
298
- * `getUniqueHeadingId` for more info).
299
- *
300
- * We will eventually need to refactor the current approach to generate unique ids
301
- * for headers under this ticket -> https://product-fabric.atlassian.net/browse/ED-9668
302
- */
303
- private expandHeadingIds;
304
- private allowHeadingAnchorLinks?;
305
- private allowColumnSorting?;
306
- private allowCopyToClipboard?;
307
- private allowPlaceholderText?;
308
- private allowCustomPanels?;
309
- private fireAnalyticsEvent?;
310
- private shouldOpenMediaViewer?;
311
- private allowAltTextOnImages?;
312
- private stickyHeaders?;
313
- private allowMediaLinking?;
314
- private startPos;
315
- private surroundTextNodesWithTextWrapper;
316
- private media?;
317
- private smartLinks?;
318
- private allowAnnotations;
319
- private allowSelectAllTrap?;
320
- private nodeComponents?;
321
- private allowWindowedCodeBlock?;
364
+ // @public (undocumented)
365
+ export const ReactRenderer: (props: RendererProps) => jsx.JSX.Element;
366
+
367
+ // @public (undocumented)
368
+ export class ReactSerializer implements Serializer<JSX.Element> {
322
369
  constructor(init: ReactSerializerInit);
323
- private resetState;
324
- private getNodeProps;
370
+ // (undocumented)
371
+ static buildMarkStructure(content: Node_2[]): Mark<any>[];
372
+ // (undocumented)
373
+ static fromSchema(_: unknown, init: ReactSerializerInit): ReactSerializer;
374
+ // (undocumented)
375
+ static getChildNodes(fragment: Fragment): (Node_2 | TextWrapper)[];
376
+ // (undocumented)
377
+ static getMarks(node: Node_2): Mark[];
378
+ // (undocumented)
325
379
  serializeFragment(
326
380
  fragment: Fragment,
327
381
  props?: any,
@@ -329,68 +383,64 @@ export declare class ReactSerializer implements Serializer<JSX.Element> {
329
383
  key?: string,
330
384
  parentInfo?: ParentInfo,
331
385
  ): JSX.Element | null;
332
- private serializeFragmentChild;
333
- private withMediaMarkProps;
334
- private serializeTextWrapper;
335
- private serializeMark;
336
- private renderNode;
337
- private renderMark;
338
- private getTableChildrenProps;
339
- private getTableProps;
340
- private getDateProps;
341
- private getMediaSingleProps;
342
- private getMediaProps;
343
- private getEmbedCardProps;
344
- private getMediaGroupProps;
345
- private getMediaInlineProps;
346
- private getTaskItemProps;
347
- private getHardBreakProps;
348
- private getCodeBlockProps;
349
- private getPanelProps;
350
- private getUnsupportedContentProps;
351
- private getProps;
352
- private headingAnchorSupported;
353
- private getHeadingProps;
354
- private getExpandProps;
355
- private getHeadingId;
356
- private getUniqueHeadingId;
357
- private getAnnotationMarkProps;
358
- private getMarkProps;
359
- static getChildNodes(fragment: Fragment): (Node_2 | TextWrapper)[];
360
- static getMarks(node: Node_2): Mark[];
361
- static buildMarkStructure(content: Node_2[]): Mark<any>[];
362
- static fromSchema(_: unknown, init: ReactSerializerInit): ReactSerializer;
363
386
  }
364
387
 
365
- declare interface ReactSerializerInit {
366
- providers?: ProviderFactory;
367
- eventHandlers?: EventHandlers;
368
- extensionHandlers?: ExtensionHandlers;
369
- portal?: HTMLElement;
370
- objectContext?: RendererContext;
388
+ // @public (undocumented)
389
+ interface ReactSerializerInit {
390
+ // (undocumented)
391
+ allowAltTextOnImages?: boolean;
392
+ // (undocumented)
393
+ allowAnnotations?: boolean;
394
+ // (undocumented)
395
+ allowColumnSorting?: boolean;
396
+ // (undocumented)
397
+ allowCopyToClipboard?: boolean;
398
+ // (undocumented)
399
+ allowCustomPanels?: boolean;
400
+ // (undocumented)
401
+ allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
402
+ // (undocumented)
403
+ allowMediaLinking?: boolean;
404
+ // (undocumented)
405
+ allowPlaceholderText?: boolean;
406
+ // (undocumented)
407
+ allowSelectAllTrap?: boolean;
408
+ // (undocumented)
409
+ allowWindowedCodeBlock?: boolean;
410
+ // (undocumented)
371
411
  appearance?: RendererAppearance;
372
- disableHeadingIDs?: boolean;
412
+ // (undocumented)
373
413
  disableActions?: boolean;
374
- allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
375
- allowColumnSorting?: boolean;
414
+ // (undocumented)
415
+ disableHeadingIDs?: boolean;
416
+ // (undocumented)
417
+ eventHandlers?: EventHandlers;
418
+ // (undocumented)
419
+ extensionHandlers?: ExtensionHandlers;
420
+ // (undocumented)
376
421
  fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
422
+ // (undocumented)
423
+ media?: MediaOptions;
424
+ // (undocumented)
425
+ nodeComponents?: NodeComponentsProps;
426
+ // (undocumented)
427
+ objectContext?: RendererContext;
428
+ // (undocumented)
429
+ portal?: HTMLElement;
430
+ // (undocumented)
431
+ providers?: ProviderFactory;
432
+ // (undocumented)
377
433
  shouldOpenMediaViewer?: boolean;
378
- allowAltTextOnImages?: boolean;
434
+ // (undocumented)
435
+ smartLinks?: SmartLinksOptions;
436
+ // (undocumented)
379
437
  stickyHeaders?: StickyHeaderConfig;
380
- allowMediaLinking?: boolean;
438
+ // (undocumented)
381
439
  surroundTextNodesWithTextWrapper?: boolean;
382
- media?: MediaOptions;
383
- smartLinks?: SmartLinksOptions;
384
- allowCopyToClipboard?: boolean;
385
- allowPlaceholderText?: boolean;
386
- allowCustomPanels?: boolean;
387
- allowAnnotations?: boolean;
388
- allowSelectAllTrap?: boolean;
389
- nodeComponents?: NodeComponentsProps;
390
- allowWindowedCodeBlock?: boolean;
391
440
  }
392
441
 
393
- export declare const renderDocument: <T>(
442
+ // @public (undocumented)
443
+ export const renderDocument: <T>(
394
444
  doc: any,
395
445
  serializer: Serializer<T>,
396
446
  schema?: Schema,
@@ -404,98 +454,115 @@ export declare const renderDocument: <T>(
404
454
  appearance?: RendererAppearance,
405
455
  ) => RenderOutput<T | null>;
406
456
 
407
- export declare type RendererAppearance =
457
+ // @public (undocumented)
458
+ export type RendererAppearance =
408
459
  | 'comment'
409
460
  | 'full-page'
410
461
  | 'full-width'
411
462
  | 'mobile'
412
463
  | undefined;
413
464
 
414
- export declare interface RendererContext {
415
- objectAri?: string;
416
- containerAri?: string;
465
+ // @public (undocumented)
466
+ export interface RendererContext {
467
+ // (undocumented)
417
468
  adDoc?: any;
469
+ // (undocumented)
470
+ containerAri?: string;
471
+ // (undocumented)
472
+ objectAri?: string;
473
+ // (undocumented)
418
474
  schema?: Schema;
419
475
  }
420
476
 
421
- export declare interface RendererProps {
422
- document: any;
423
- dataProviders?: ProviderFactory;
424
- eventHandlers?: EventHandlers;
425
- extensionHandlers?: ExtensionHandlers;
426
- enableSsrInlineScripts?: boolean;
427
- onComplete?: (stat: RenderOutputStat) => void;
428
- onError?: (error: any) => void;
429
- portal?: HTMLElement;
430
- rendererContext?: RendererContext;
431
- schema?: Schema;
432
- appearance?: RendererAppearance;
477
+ // @public (undocumented)
478
+ export interface RendererProps {
479
+ // (undocumented)
433
480
  adfStage?: ADFStage;
434
- disableHeadingIDs?: boolean;
435
- disableActions?: boolean;
436
- allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
437
- allowPlaceholderText?: boolean;
438
- maxHeight?: number;
439
- fadeOutHeight?: number;
440
- truncated?: boolean;
441
- createAnalyticsEvent?: CreateUIAnalyticsEvent;
442
- allowColumnSorting?: boolean;
443
- shouldOpenMediaViewer?: boolean;
481
+ // (undocumented)
444
482
  allowAltTextOnImages?: boolean;
445
- stickyHeaders?: StickyHeaderProps;
446
- media?: MediaOptions;
447
- smartLinks?: SmartLinksOptions;
483
+ // (undocumented)
448
484
  allowAnnotations?: boolean;
449
- annotationProvider?: AnnotationProviders | null;
450
- innerRef?: React.RefObject<HTMLDivElement>;
451
- useSpecBasedValidator?: boolean;
485
+ // (undocumented)
486
+ allowColumnSorting?: boolean;
487
+ // (undocumented)
452
488
  allowCopyToClipboard?: boolean;
489
+ // (undocumented)
453
490
  allowCustomPanels?: boolean;
491
+ // (undocumented)
492
+ allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
493
+ // (undocumented)
494
+ allowPlaceholderText?: boolean;
495
+ // (undocumented)
496
+ allowSelectAllTrap?: boolean;
497
+ // (undocumented)
498
+ allowUgcScrubber?: boolean;
499
+ // (undocumented)
454
500
  analyticsEventSeverityTracking?: {
455
501
  enabled: boolean;
456
502
  severityNormalThreshold: number;
457
503
  severityDegradedThreshold: number;
458
504
  };
459
- allowUgcScrubber?: boolean;
460
- allowSelectAllTrap?: boolean;
461
- unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
462
- nodeComponents?: NodeComponentsProps;
463
- /**
464
- * @default undefined
465
- * @description
466
- * Short lived feature flags for experiments and gradual rollouts
467
- * Flags are expected to follow these rules or they are filtered out
468
- *
469
- * 1. cased in kebab-case (match [a-z-])
470
- * 2. have boolean values or object {} values
471
- *
472
- * @example
473
- * ```tsx
474
- * (<Renderer featureFlags={{ 'my-feature': true }} />);
475
- * getFeatureFlags()?.myFeature === true;
476
- * ```
477
- *
478
- * @example
479
- * ```tsx
480
- * (<Renderer featureFlags={{ 'my-feature': 'thing' }} />);
481
- * getFeatureFlags()?.myFeature === undefined;
482
- * ```
483
- *
484
- * @example
485
- * ```tsx
486
- * (<Renderer featureFlags={{ 'product.my-feature': false }} />);
487
- * getFeatureFlags()?.myFeature === undefined;
488
- * getFeatureFlags()?.productMyFeature === undefined;
489
- * ```
490
- */
505
+ // (undocumented)
506
+ annotationProvider?: AnnotationProviders | null;
507
+ // (undocumented)
508
+ appearance?: RendererAppearance;
509
+ // (undocumented)
510
+ createAnalyticsEvent?: CreateUIAnalyticsEvent;
511
+ // (undocumented)
512
+ dataProviders?: ProviderFactory;
513
+ // (undocumented)
514
+ disableActions?: boolean;
515
+ // (undocumented)
516
+ disableHeadingIDs?: boolean;
517
+ // (undocumented)
518
+ document: any;
519
+ // (undocumented)
520
+ enableSsrInlineScripts?: boolean;
521
+ // (undocumented)
522
+ eventHandlers?: EventHandlers;
523
+ // (undocumented)
524
+ extensionHandlers?: ExtensionHandlers;
525
+ // (undocumented)
526
+ fadeOutHeight?: number;
491
527
  featureFlags?:
492
528
  | {
493
529
  [featureFlag: string]: boolean;
494
530
  }
495
531
  | Partial<RawObjectFeatureFlags>;
532
+ // (undocumented)
533
+ innerRef?: React.RefObject<HTMLDivElement>;
534
+ // (undocumented)
535
+ maxHeight?: number;
536
+ // (undocumented)
537
+ media?: MediaOptions;
538
+ // (undocumented)
539
+ nodeComponents?: NodeComponentsProps;
540
+ // (undocumented)
541
+ onComplete?: (stat: RenderOutputStat) => void;
542
+ // (undocumented)
543
+ onError?: (error: any) => void;
544
+ // (undocumented)
545
+ portal?: HTMLElement;
546
+ // (undocumented)
547
+ rendererContext?: RendererContext;
548
+ // (undocumented)
549
+ schema?: Schema;
550
+ // (undocumented)
551
+ shouldOpenMediaViewer?: boolean;
552
+ // (undocumented)
553
+ smartLinks?: SmartLinksOptions;
554
+ // (undocumented)
555
+ stickyHeaders?: StickyHeaderProps;
556
+ // (undocumented)
557
+ truncated?: boolean;
558
+ // (undocumented)
559
+ unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
560
+ // (undocumented)
561
+ useSpecBasedValidator?: boolean;
496
562
  }
497
563
 
498
- declare type RendererRenderedAEP = AEP<
564
+ // @public (undocumented)
565
+ type RendererRenderedAEP = AEP<
499
566
  ACTION.RENDERED,
500
567
  ACTION_SUBJECT.RENDERER,
501
568
  undefined,
@@ -509,7 +576,8 @@ declare type RendererRenderedAEP = AEP<
509
576
  EVENT_TYPE.OPERATIONAL
510
577
  >;
511
578
 
512
- declare type RendererReRenderedAEP<Props> = AEP<
579
+ // @public (undocumented)
580
+ type RendererReRenderedAEP<Props> = AEP<
513
581
  ACTION.RE_RENDERED,
514
582
  ACTION_SUBJECT.RENDERER,
515
583
  undefined,
@@ -521,7 +589,8 @@ declare type RendererReRenderedAEP<Props> = AEP<
521
589
  EVENT_TYPE.OPERATIONAL
522
590
  >;
523
591
 
524
- declare type RendererSelectAllCaughtAEP = AEP<
592
+ // @public (undocumented)
593
+ type RendererSelectAllCaughtAEP = AEP<
525
594
  ACTION.SELECT_ALL_CAUGHT,
526
595
  ACTION_SUBJECT.RENDERER,
527
596
  undefined,
@@ -531,7 +600,8 @@ declare type RendererSelectAllCaughtAEP = AEP<
531
600
  EVENT_TYPE.TRACK
532
601
  >;
533
602
 
534
- declare type RendererSelectAllEscapedAEP = AEP<
603
+ // @public (undocumented)
604
+ type RendererSelectAllEscapedAEP = AEP<
535
605
  ACTION.SELECT_ALL_ESCAPED,
536
606
  ACTION_SUBJECT.RENDERER,
537
607
  undefined,
@@ -541,7 +611,8 @@ declare type RendererSelectAllEscapedAEP = AEP<
541
611
  EVENT_TYPE.TRACK
542
612
  >;
543
613
 
544
- declare type RendererStartAEP = AEP<
614
+ // @public (undocumented)
615
+ type RendererStartAEP = AEP<
545
616
  ACTION.STARTED,
546
617
  ACTION_SUBJECT.RENDERER,
547
618
  undefined,
@@ -551,7 +622,8 @@ declare type RendererStartAEP = AEP<
551
622
  EVENT_TYPE.UI
552
623
  >;
553
624
 
554
- declare type RendererTTIAEP = AEP<
625
+ // @public (undocumented)
626
+ type RendererTTIAEP = AEP<
555
627
  ACTION.RENDERER_TTI,
556
628
  ACTION_SUBJECT.RENDERER,
557
629
  undefined,
@@ -563,7 +635,8 @@ declare type RendererTTIAEP = AEP<
563
635
  EVENT_TYPE.OPERATIONAL
564
636
  >;
565
637
 
566
- declare type RendererUnsupportedContentLevelsTrackingErrored = AEP<
638
+ // @public (undocumented)
639
+ type RendererUnsupportedContentLevelsTrackingErrored = AEP<
567
640
  ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED,
568
641
  ACTION_SUBJECT.RENDERER,
569
642
  undefined,
@@ -574,7 +647,8 @@ declare type RendererUnsupportedContentLevelsTrackingErrored = AEP<
574
647
  EVENT_TYPE.OPERATIONAL
575
648
  >;
576
649
 
577
- declare type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<
650
+ // @public (undocumented)
651
+ type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<
578
652
  ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED,
579
653
  ACTION_SUBJECT.RENDERER,
580
654
  undefined,
@@ -589,25 +663,39 @@ declare type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<
589
663
  EVENT_TYPE.OPERATIONAL
590
664
  >;
591
665
 
592
- declare interface RenderOutput<T> {
666
+ // @public (undocumented)
667
+ interface RenderOutput<T> {
668
+ // (undocumented)
669
+ pmDoc?: Node_2;
670
+ // (undocumented)
593
671
  result: T;
672
+ // (undocumented)
594
673
  stat: RenderOutputStat;
595
- pmDoc?: Node_2;
596
674
  }
597
675
 
598
- export declare interface RenderOutputStat {
676
+ // @public (undocumented)
677
+ export interface RenderOutputStat {
678
+ // (undocumented)
599
679
  buildTreeTime?: number;
680
+ // (undocumented)
600
681
  sanitizeTime: number;
682
+ // (undocumented)
601
683
  serializeTime?: number;
602
684
  }
603
685
 
604
- declare enum RESOLVE_METHOD {
686
+ // @public (undocumented)
687
+ enum RESOLVE_METHOD {
688
+ // (undocumented)
605
689
  COMPONENT = 'component',
690
+ // (undocumented)
606
691
  CONSUMER = 'consumer',
692
+ // (undocumented)
607
693
  ORPHANED = 'orphaned',
608
694
  }
609
695
 
610
- export declare interface Serializer<T> {
696
+ // @public (undocumented)
697
+ export interface Serializer<T> {
698
+ // (undocumented)
611
699
  serializeFragment(
612
700
  fragment: Fragment,
613
701
  props?: any,
@@ -616,21 +704,26 @@ export declare interface Serializer<T> {
616
704
  ): T | null;
617
705
  }
618
706
 
619
- declare interface SmartLinksOptions {
707
+ // @public (undocumented)
708
+ interface SmartLinksOptions {
709
+ // (undocumented)
620
710
  ssr?: boolean;
621
711
  }
622
712
 
623
- declare type StickyHeaderConfig = {
713
+ // @public (undocumented)
714
+ type StickyHeaderConfig = {
624
715
  offsetTop?: number;
625
716
  };
626
717
 
627
- declare type StickyHeaderProps =
718
+ // @public (undocumented)
719
+ type StickyHeaderProps =
628
720
  | boolean
629
721
  | ({
630
722
  show?: boolean;
631
723
  } & StickyHeaderConfig);
632
724
 
633
- declare type TableSortColumnAEP = AEP<
725
+ // @public (undocumented)
726
+ type TableSortColumnAEP = AEP<
634
727
  ACTION.SORT_COLUMN,
635
728
  ACTION_SUBJECT.TABLE,
636
729
  undefined,
@@ -643,7 +736,8 @@ declare type TableSortColumnAEP = AEP<
643
736
  EVENT_TYPE.TRACK
644
737
  >;
645
738
 
646
- declare type TableSortColumnNotAllowedAEP = AEP<
739
+ // @public (undocumented)
740
+ type TableSortColumnNotAllowedAEP = AEP<
647
741
  ACTION.SORT_COLUMN_NOT_ALLOWED,
648
742
  ACTION_SUBJECT.TABLE,
649
743
  undefined,
@@ -654,24 +748,32 @@ declare type TableSortColumnNotAllowedAEP = AEP<
654
748
  EVENT_TYPE.TRACK
655
749
  >;
656
750
 
657
- export declare class TextSerializer implements Serializer<string> {
658
- private schema;
751
+ // @public (undocumented)
752
+ export class TextSerializer implements Serializer<string> {
659
753
  constructor(schema: Schema);
660
- serializeFragment(fragment: Fragment): string;
754
+ // (undocumented)
661
755
  static fromSchema(schema?: Schema): TextSerializer;
756
+ // (undocumented)
757
+ serializeFragment(fragment: Fragment): string;
662
758
  }
663
759
 
664
- declare interface TextWrapper {
760
+ // @public (undocumented)
761
+ interface TextWrapper {
762
+ // (undocumented)
763
+ content: Node_2[];
764
+ // (undocumented)
765
+ nodeSize: number;
766
+ // (undocumented)
665
767
  type: {
666
768
  name: 'textWrapper';
667
769
  };
668
- content: Node_2[];
669
- nodeSize: number;
670
770
  }
671
771
 
672
- declare type TransformerProvider<T> = (schema: Schema) => Transformer_2<T>;
772
+ // @public (undocumented)
773
+ type TransformerProvider<T> = (schema: Schema) => Transformer_2<T>;
673
774
 
674
- declare type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<
775
+ // @public (undocumented)
776
+ type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<
675
777
  Action,
676
778
  ActionSubject,
677
779
  ActionSubjectID,
@@ -679,7 +781,8 @@ declare type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<
679
781
  EVENT_TYPE.UI
680
782
  >;
681
783
 
682
- declare type VisitLinkAEP = AEP<
784
+ // @public (undocumented)
785
+ type VisitLinkAEP = AEP<
683
786
  ACTION.VISITED,
684
787
  ACTION_SUBJECT.LINK,
685
788
  undefined,
@@ -690,7 +793,8 @@ declare type VisitLinkAEP = AEP<
690
793
  EVENT_TYPE.TRACK
691
794
  >;
692
795
 
693
- declare type VisitMediaLinkAEP = AEP<
796
+ // @public (undocumented)
797
+ type VisitMediaLinkAEP = AEP<
694
798
  ACTION.VISITED,
695
799
  ACTION_SUBJECT.MEDIA,
696
800
  ACTION_SUBJECT_ID.LINK,
@@ -701,5 +805,5 @@ declare type VisitMediaLinkAEP = AEP<
701
805
  EVENT_TYPE.TRACK
702
806
  >;
703
807
 
704
- export {};
705
- ````
808
+ // (No @packageDocumentation comment for this package)
809
+ ```