@atlaskit/renderer 101.1.0 → 102.0.0

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 (218) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/actions/package.json +8 -1
  3. package/consts/package.json +8 -1
  4. package/dist/cjs/analytics/unsupported-content.js +1 -1
  5. package/dist/cjs/render-document.js +1 -1
  6. package/dist/cjs/ui/Renderer/index.js +1 -1
  7. package/dist/cjs/version.json +1 -1
  8. package/dist/es2019/analytics/unsupported-content.js +1 -1
  9. package/dist/es2019/render-document.js +1 -1
  10. package/dist/es2019/ui/Renderer/index.js +1 -1
  11. package/dist/es2019/version.json +1 -1
  12. package/dist/esm/analytics/unsupported-content.js +1 -1
  13. package/dist/esm/render-document.js +1 -1
  14. package/dist/esm/ui/Renderer/index.js +1 -1
  15. package/dist/esm/version.json +1 -1
  16. package/dist/types-ts4.0/actions/index.d.ts +61 -0
  17. package/dist/types-ts4.0/actions/matches-utils.d.ts +7 -0
  18. package/dist/types-ts4.0/actions.d.ts +3 -0
  19. package/dist/types-ts4.0/analytics/analyticsContext.d.ts +6 -0
  20. package/dist/types-ts4.0/analytics/enums.d.ts +56 -0
  21. package/dist/types-ts4.0/analytics/events.d.ts +110 -0
  22. package/dist/types-ts4.0/analytics/unsupported-content.d.ts +10 -0
  23. package/dist/types-ts4.0/consts.d.ts +12 -0
  24. package/dist/types-ts4.0/i18n/cs.d.ts +20 -0
  25. package/dist/types-ts4.0/i18n/da.d.ts +20 -0
  26. package/dist/types-ts4.0/i18n/de.d.ts +20 -0
  27. package/dist/types-ts4.0/i18n/en.d.ts +20 -0
  28. package/dist/types-ts4.0/i18n/en_GB.d.ts +20 -0
  29. package/dist/types-ts4.0/i18n/en_ZZ.d.ts +20 -0
  30. package/dist/types-ts4.0/i18n/es.d.ts +20 -0
  31. package/dist/types-ts4.0/i18n/et.d.ts +8 -0
  32. package/dist/types-ts4.0/i18n/fi.d.ts +20 -0
  33. package/dist/types-ts4.0/i18n/fr.d.ts +20 -0
  34. package/dist/types-ts4.0/i18n/hu.d.ts +20 -0
  35. package/dist/types-ts4.0/i18n/index.d.ts +31 -0
  36. package/dist/types-ts4.0/i18n/it.d.ts +20 -0
  37. package/dist/types-ts4.0/i18n/ja.d.ts +20 -0
  38. package/dist/types-ts4.0/i18n/ko.d.ts +20 -0
  39. package/dist/types-ts4.0/i18n/nb.d.ts +20 -0
  40. package/dist/types-ts4.0/i18n/nl.d.ts +20 -0
  41. package/dist/types-ts4.0/i18n/pl.d.ts +20 -0
  42. package/dist/types-ts4.0/i18n/pt_BR.d.ts +20 -0
  43. package/dist/types-ts4.0/i18n/pt_PT.d.ts +8 -0
  44. package/dist/types-ts4.0/i18n/ru.d.ts +20 -0
  45. package/dist/types-ts4.0/i18n/sk.d.ts +8 -0
  46. package/dist/types-ts4.0/i18n/sv.d.ts +20 -0
  47. package/dist/types-ts4.0/i18n/th.d.ts +20 -0
  48. package/dist/types-ts4.0/i18n/tr.d.ts +20 -0
  49. package/dist/types-ts4.0/i18n/uk.d.ts +20 -0
  50. package/dist/types-ts4.0/i18n/vi.d.ts +20 -0
  51. package/dist/types-ts4.0/i18n/zh.d.ts +20 -0
  52. package/dist/types-ts4.0/i18n/zh_TW.d.ts +20 -0
  53. package/dist/types-ts4.0/index.d.ts +11 -0
  54. package/dist/types-ts4.0/messages.d.ts +61 -0
  55. package/dist/types-ts4.0/react/hooks/use-bidi-warnings.d.ts +10 -0
  56. package/dist/types-ts4.0/react/hooks/use-in-viewport.d.ts +5 -0
  57. package/dist/types-ts4.0/react/hooks/use-observed-width.d.ts +3 -0
  58. package/dist/types-ts4.0/react/index.d.ts +118 -0
  59. package/dist/types-ts4.0/react/marks/alignment.d.ts +4 -0
  60. package/dist/types-ts4.0/react/marks/annotation.d.ts +6 -0
  61. package/dist/types-ts4.0/react/marks/breakout.d.ts +6 -0
  62. package/dist/types-ts4.0/react/marks/code.d.ts +16 -0
  63. package/dist/types-ts4.0/react/marks/confluence-inline-comment.d.ts +8 -0
  64. package/dist/types-ts4.0/react/marks/data-consumer.d.ts +4 -0
  65. package/dist/types-ts4.0/react/marks/em.d.ts +3 -0
  66. package/dist/types-ts4.0/react/marks/fragment.d.ts +4 -0
  67. package/dist/types-ts4.0/react/marks/indentation.d.ts +4 -0
  68. package/dist/types-ts4.0/react/marks/index.d.ts +21 -0
  69. package/dist/types-ts4.0/react/marks/link.d.ts +9 -0
  70. package/dist/types-ts4.0/react/marks/strike.d.ts +3 -0
  71. package/dist/types-ts4.0/react/marks/strong.d.ts +3 -0
  72. package/dist/types-ts4.0/react/marks/subsup.d.ts +4 -0
  73. package/dist/types-ts4.0/react/marks/textColor.d.ts +4 -0
  74. package/dist/types-ts4.0/react/marks/underline.d.ts +3 -0
  75. package/dist/types-ts4.0/react/marks/unsupportedMark.d.ts +3 -0
  76. package/dist/types-ts4.0/react/marks/unsupportedNodeAttribute.d.ts +3 -0
  77. package/dist/types-ts4.0/react/nodes/blockCard.d.ts +10 -0
  78. package/dist/types-ts4.0/react/nodes/blockquote.d.ts +2 -0
  79. package/dist/types-ts4.0/react/nodes/bodiedExtension.d.ts +23 -0
  80. package/dist/types-ts4.0/react/nodes/bulletList.d.ts +5 -0
  81. package/dist/types-ts4.0/react/nodes/caption.d.ts +4 -0
  82. package/dist/types-ts4.0/react/nodes/codeBlock/codeBlock.d.ts +14 -0
  83. package/dist/types-ts4.0/react/nodes/codeBlock/components/codeBlockContainer.d.ts +12 -0
  84. package/dist/types-ts4.0/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +9 -0
  85. package/dist/types-ts4.0/react/nodes/codeBlock/windowedCodeBlock.d.ts +4 -0
  86. package/dist/types-ts4.0/react/nodes/codeBlockCopyButton.d.ts +9 -0
  87. package/dist/types-ts4.0/react/nodes/date.d.ts +11 -0
  88. package/dist/types-ts4.0/react/nodes/decisionItem.d.ts +3 -0
  89. package/dist/types-ts4.0/react/nodes/decisionList.d.ts +7 -0
  90. package/dist/types-ts4.0/react/nodes/doc.d.ts +3 -0
  91. package/dist/types-ts4.0/react/nodes/embedCard.d.ts +17 -0
  92. package/dist/types-ts4.0/react/nodes/emoji.d.ts +10 -0
  93. package/dist/types-ts4.0/react/nodes/extension.d.ts +112 -0
  94. package/dist/types-ts4.0/react/nodes/fallback.d.ts +16 -0
  95. package/dist/types-ts4.0/react/nodes/hardBreak.d.ts +6 -0
  96. package/dist/types-ts4.0/react/nodes/heading-anchor.d.ts +14 -0
  97. package/dist/types-ts4.0/react/nodes/heading.d.ts +14 -0
  98. package/dist/types-ts4.0/react/nodes/index.d.ts +94 -0
  99. package/dist/types-ts4.0/react/nodes/inline.d.ts +1 -0
  100. package/dist/types-ts4.0/react/nodes/inlineCard.d.ts +65 -0
  101. package/dist/types-ts4.0/react/nodes/inlineExtension.d.ts +16 -0
  102. package/dist/types-ts4.0/react/nodes/layoutColumn.d.ts +6 -0
  103. package/dist/types-ts4.0/react/nodes/layoutSection.d.ts +2 -0
  104. package/dist/types-ts4.0/react/nodes/listItem.d.ts +2 -0
  105. package/dist/types-ts4.0/react/nodes/media.d.ts +27 -0
  106. package/dist/types-ts4.0/react/nodes/mediaGroup.d.ts +29 -0
  107. package/dist/types-ts4.0/react/nodes/mediaInline.d.ts +20 -0
  108. package/dist/types-ts4.0/react/nodes/mediaSingle/index.d.ts +23 -0
  109. package/dist/types-ts4.0/react/nodes/mediaSingle/styles.d.ts +2 -0
  110. package/dist/types-ts4.0/react/nodes/mention.d.ts +13 -0
  111. package/dist/types-ts4.0/react/nodes/orderedList.d.ts +6 -0
  112. package/dist/types-ts4.0/react/nodes/panel.d.ts +17 -0
  113. package/dist/types-ts4.0/react/nodes/paragraph.d.ts +3 -0
  114. package/dist/types-ts4.0/react/nodes/placeholder.d.ts +6 -0
  115. package/dist/types-ts4.0/react/nodes/rule.d.ts +2 -0
  116. package/dist/types-ts4.0/react/nodes/status.d.ts +10 -0
  117. package/dist/types-ts4.0/react/nodes/table/colgroup.d.ts +3 -0
  118. package/dist/types-ts4.0/react/nodes/table/sticky.d.ts +38 -0
  119. package/dist/types-ts4.0/react/nodes/table/table.d.ts +7 -0
  120. package/dist/types-ts4.0/react/nodes/table/types.d.ts +7 -0
  121. package/dist/types-ts4.0/react/nodes/table.d.ts +269 -0
  122. package/dist/types-ts4.0/react/nodes/tableCell.d.ts +81 -0
  123. package/dist/types-ts4.0/react/nodes/tableRow.d.ts +24 -0
  124. package/dist/types-ts4.0/react/nodes/task-item-with-providers.d.ts +29 -0
  125. package/dist/types-ts4.0/react/nodes/taskItem.d.ts +19 -0
  126. package/dist/types-ts4.0/react/nodes/taskList.d.ts +8 -0
  127. package/dist/types-ts4.0/react/nodes/text-wrapper.d.ts +8 -0
  128. package/dist/types-ts4.0/react/nodes/unknownBlock.d.ts +2 -0
  129. package/dist/types-ts4.0/react/renderer-node.d.ts +4 -0
  130. package/dist/types-ts4.0/react/types.d.ts +57 -0
  131. package/dist/types-ts4.0/react/utils/clipboard.d.ts +1 -0
  132. package/dist/types-ts4.0/react/utils/element-selection.d.ts +9 -0
  133. package/dist/types-ts4.0/react/utils/getCardClickHandler.d.ts +2 -0
  134. package/dist/types-ts4.0/react/utils/inject-props.d.ts +6 -0
  135. package/dist/types-ts4.0/react/utils/links.d.ts +3 -0
  136. package/dist/types-ts4.0/react/utils/lists.d.ts +2 -0
  137. package/dist/types-ts4.0/react/utils/performance/RenderTracking.d.ts +15 -0
  138. package/dist/types-ts4.0/react/utils/use-select-all-trap.d.ts +2 -0
  139. package/dist/types-ts4.0/render-document.d.ts +23 -0
  140. package/dist/types-ts4.0/renderer-context.d.ts +9 -0
  141. package/dist/types-ts4.0/serializer.d.ts +4 -0
  142. package/dist/types-ts4.0/steps/index.d.ts +14 -0
  143. package/dist/types-ts4.0/text/index.d.ts +8 -0
  144. package/dist/types-ts4.0/text/nodes/blockquote.d.ts +3 -0
  145. package/dist/types-ts4.0/text/nodes/bulletList.d.ts +3 -0
  146. package/dist/types-ts4.0/text/nodes/date.d.ts +3 -0
  147. package/dist/types-ts4.0/text/nodes/decisionItem.d.ts +3 -0
  148. package/dist/types-ts4.0/text/nodes/hardBreak.d.ts +3 -0
  149. package/dist/types-ts4.0/text/nodes/heading.d.ts +3 -0
  150. package/dist/types-ts4.0/text/nodes/index.d.ts +6 -0
  151. package/dist/types-ts4.0/text/nodes/inlineCard.d.ts +3 -0
  152. package/dist/types-ts4.0/text/nodes/listItem.d.ts +3 -0
  153. package/dist/types-ts4.0/text/nodes/mediaGroup.d.ts +3 -0
  154. package/dist/types-ts4.0/text/nodes/mention.d.ts +3 -0
  155. package/dist/types-ts4.0/text/nodes/orderedList.d.ts +3 -0
  156. package/dist/types-ts4.0/text/nodes/panel.d.ts +3 -0
  157. package/dist/types-ts4.0/text/nodes/paragraph.d.ts +3 -0
  158. package/dist/types-ts4.0/text/nodes/rule.d.ts +3 -0
  159. package/dist/types-ts4.0/text/nodes/status.d.ts +3 -0
  160. package/dist/types-ts4.0/text/nodes/table.d.ts +3 -0
  161. package/dist/types-ts4.0/text/nodes/taskItem.d.ts +3 -0
  162. package/dist/types-ts4.0/text/nodes/unknown.d.ts +3 -0
  163. package/dist/types-ts4.0/text-serializer.d.ts +1 -0
  164. package/dist/types-ts4.0/types/i18n.d.ts +5 -0
  165. package/dist/types-ts4.0/types/mediaOptions.d.ts +12 -0
  166. package/dist/types-ts4.0/types/smartLinksOptions.d.ts +3 -0
  167. package/dist/types-ts4.0/ui/Expand.d.ts +21 -0
  168. package/dist/types-ts4.0/ui/ExtensionRenderer.d.ts +40 -0
  169. package/dist/types-ts4.0/ui/MediaCard.d.ts +77 -0
  170. package/dist/types-ts4.0/ui/Renderer/ErrorBoundary.d.ts +24 -0
  171. package/dist/types-ts4.0/ui/Renderer/breakout-ssr.d.ts +11 -0
  172. package/dist/types-ts4.0/ui/Renderer/click-to-edit.d.ts +6 -0
  173. package/dist/types-ts4.0/ui/Renderer/index.d.ts +33 -0
  174. package/dist/types-ts4.0/ui/Renderer/style.d.ts +14 -0
  175. package/dist/types-ts4.0/ui/Renderer/truncated-wrapper.d.ts +12 -0
  176. package/dist/types-ts4.0/ui/Renderer/types.d.ts +16 -0
  177. package/dist/types-ts4.0/ui/RendererActionsContext/WithRendererActions.d.ts +6 -0
  178. package/dist/types-ts4.0/ui/RendererActionsContext/index.d.ts +9 -0
  179. package/dist/types-ts4.0/ui/SmartCardStorage.d.ts +60 -0
  180. package/dist/types-ts4.0/ui/SortingIcon.d.ts +20 -0
  181. package/dist/types-ts4.0/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +15 -0
  182. package/dist/types-ts4.0/ui/TaskItemsFormatContext/index.d.ts +2 -0
  183. package/dist/types-ts4.0/ui/active-header-id-provider.d.ts +18 -0
  184. package/dist/types-ts4.0/ui/annotations/context.d.ts +27 -0
  185. package/dist/types-ts4.0/ui/annotations/draft/component.d.ts +20 -0
  186. package/dist/types-ts4.0/ui/annotations/draft/dom.d.ts +7 -0
  187. package/dist/types-ts4.0/ui/annotations/draft/index.d.ts +2 -0
  188. package/dist/types-ts4.0/ui/annotations/draft/position.d.ts +2 -0
  189. package/dist/types-ts4.0/ui/annotations/draft/text.d.ts +11 -0
  190. package/dist/types-ts4.0/ui/annotations/element/index.d.ts +10 -0
  191. package/dist/types-ts4.0/ui/annotations/element/mark.d.ts +14 -0
  192. package/dist/types-ts4.0/ui/annotations/hooks/index.d.ts +3 -0
  193. package/dist/types-ts4.0/ui/annotations/hooks/use-events.d.ts +18 -0
  194. package/dist/types-ts4.0/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +1 -0
  195. package/dist/types-ts4.0/ui/annotations/hooks/use-inline-comments-filter.d.ts +9 -0
  196. package/dist/types-ts4.0/ui/annotations/hooks/use-load-annotations.d.ts +6 -0
  197. package/dist/types-ts4.0/ui/annotations/hooks/user-selection.d.ts +9 -0
  198. package/dist/types-ts4.0/ui/annotations/hooks/utils.d.ts +2 -0
  199. package/dist/types-ts4.0/ui/annotations/index.d.ts +5 -0
  200. package/dist/types-ts4.0/ui/annotations/selection/index.d.ts +1 -0
  201. package/dist/types-ts4.0/ui/annotations/selection/mounter.d.ts +20 -0
  202. package/dist/types-ts4.0/ui/annotations/selection/range-validator.d.ts +13 -0
  203. package/dist/types-ts4.0/ui/annotations/selection/wrapper.d.ts +8 -0
  204. package/dist/types-ts4.0/ui/annotations/types.d.ts +22 -0
  205. package/dist/types-ts4.0/ui/annotations/view/index.d.ts +7 -0
  206. package/dist/types-ts4.0/ui/index.d.ts +1 -0
  207. package/dist/types-ts4.0/ui/renderer-props.d.ts +100 -0
  208. package/dist/types-ts4.0/use-feature-flags.d.ts +2 -0
  209. package/dist/types-ts4.0/utils.d.ts +24 -0
  210. package/messages/package.json +8 -1
  211. package/package.json +27 -20
  212. package/render-document/package.json +8 -1
  213. package/renderer-context/package.json +8 -1
  214. package/report.api.md +13 -4
  215. package/serializer/package.json +8 -1
  216. package/text-serializer/package.json +8 -1
  217. package/use-feature-flags/package.json +8 -1
  218. package/utils/package.json +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "101.1.0",
3
+ "version": "102.0.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,6 +12,13 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.0 <4.5": {
17
+ "*": [
18
+ "dist/types-ts4.0/*"
19
+ ]
20
+ }
21
+ },
15
22
  "sideEffects": false,
16
23
  "atlaskit:src": "src/index.ts",
17
24
  "atlassian": {
@@ -30,23 +37,23 @@
30
37
  "@atlaskit/analytics-namespaced-context": "^6.5.0",
31
38
  "@atlaskit/analytics-next": "^8.2.0",
32
39
  "@atlaskit/button": "^16.3.0",
33
- "@atlaskit/code": "^14.3.0",
34
- "@atlaskit/editor-common": "^69.2.0",
40
+ "@atlaskit/code": "^14.4.0",
41
+ "@atlaskit/editor-common": "^70.0.0",
35
42
  "@atlaskit/editor-json-transformer": "^8.8.0",
36
- "@atlaskit/editor-shared-styles": "^2.1.0",
37
- "@atlaskit/icon": "^21.10.0",
43
+ "@atlaskit/editor-shared-styles": "^2.2.0",
44
+ "@atlaskit/icon": "^21.11.0",
38
45
  "@atlaskit/media-card": "^74.1.0",
39
- "@atlaskit/media-client": "^17.1.0",
46
+ "@atlaskit/media-client": "^18.0.0",
40
47
  "@atlaskit/media-common": "^2.16.0",
41
- "@atlaskit/media-filmstrip": "^45.0.0",
48
+ "@atlaskit/media-filmstrip": "^46.0.0",
42
49
  "@atlaskit/media-ui": "^22.1.0",
43
50
  "@atlaskit/media-viewer": "^47.1.0",
44
- "@atlaskit/smart-card": "^22.1.0",
51
+ "@atlaskit/smart-card": "^22.3.0",
45
52
  "@atlaskit/status": "^1.1.0",
46
53
  "@atlaskit/task-decision": "^17.5.0",
47
54
  "@atlaskit/theme": "^12.2.0",
48
55
  "@atlaskit/tokens": "^0.10.0",
49
- "@atlaskit/tooltip": "^17.5.0",
56
+ "@atlaskit/tooltip": "^17.6.0",
50
57
  "@babel/runtime": "^7.0.0",
51
58
  "@emotion/react": "^11.7.1",
52
59
  "lodash": "^4.17.21",
@@ -59,35 +66,35 @@
59
66
  "uuid": "^3.1.0"
60
67
  },
61
68
  "peerDependencies": {
62
- "@atlaskit/link-provider": "^1.2.4",
63
- "@atlaskit/media-core": "^33.0.2",
69
+ "@atlaskit/link-provider": "^1.2.9",
70
+ "@atlaskit/media-core": "^34.0.0",
64
71
  "react": "^16.8.0",
65
72
  "react-dom": "^16.8.0",
66
73
  "styled-components": "^3.2.6"
67
74
  },
68
75
  "devDependencies": {
69
76
  "@atlaskit/analytics-gas-types": "^5.0.5",
70
- "@atlaskit/avatar": "^21.0.0",
77
+ "@atlaskit/avatar": "^21.1.0",
71
78
  "@atlaskit/css-reset": "^6.3.0",
72
79
  "@atlaskit/docs": "*",
73
- "@atlaskit/editor-core": "^172.1.0",
74
- "@atlaskit/editor-test-helpers": "^17.1.0",
80
+ "@atlaskit/editor-core": "^173.0.0",
81
+ "@atlaskit/editor-test-helpers": "^17.2.0",
75
82
  "@atlaskit/link-provider": "^1.0.0",
76
- "@atlaskit/logo": "^13.9.0",
77
- "@atlaskit/media-core": "^33.0.0",
83
+ "@atlaskit/logo": "^13.10.0",
84
+ "@atlaskit/media-core": "^34.0.0",
78
85
  "@atlaskit/media-integration-test-helpers": "^2.6.0",
79
86
  "@atlaskit/media-test-helpers": "^30.0.0",
80
87
  "@atlaskit/mention": "^21.0.0",
81
88
  "@atlaskit/navigation-next": "^9.0.0",
82
- "@atlaskit/profilecard": "^16.12.0",
89
+ "@atlaskit/profilecard": "^17.2.0",
83
90
  "@atlaskit/radio": "^5.4.0",
84
- "@atlaskit/range": "^6.0.0",
91
+ "@atlaskit/range": "^6.1.0",
85
92
  "@atlaskit/ssr": "*",
86
93
  "@atlaskit/util-data-test": "^17.5.0",
87
94
  "@atlaskit/visual-regression": "*",
88
95
  "@atlaskit/webdriver-runner": "*",
89
96
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
90
- "@testing-library/react": "^8.0.1",
97
+ "@testing-library/react": "^12.1.5",
91
98
  "@types/prosemirror-model": "^1.11.0",
92
99
  "@types/prosemirror-transform": "^1.1.0",
93
100
  "@types/react-loadable": "^5.4.1",
@@ -103,7 +110,7 @@
103
110
  "react-test-renderer": "^16.8.0",
104
111
  "rxjs": "^5.5.0",
105
112
  "sinon": "^2.2.0",
106
- "typescript": "4.3.5",
113
+ "typescript": "4.5.5",
107
114
  "worker-plugin": "^4.0.2"
108
115
  },
109
116
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/render-document.js",
5
5
  "module:es2019": "../dist/es2019/render-document.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/render-document.d.ts"
7
+ "types": "../dist/types/render-document.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/render-document.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/renderer-context.js",
5
5
  "module:es2019": "../dist/es2019/renderer-context.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/renderer-context.d.ts"
7
+ "types": "../dist/types/renderer-context.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/renderer-context.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
package/report.api.md CHANGED
@@ -1,6 +1,8 @@
1
- ## API Report File for "@atlaskit/renderer"
1
+ ## API Report File for "@atlaskit/renderer".
2
2
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
3
+ > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
4
6
 
5
7
  ````ts
6
8
  /// <reference types="react" />
@@ -258,6 +260,10 @@ declare enum MODE {
258
260
  EDITOR = 'editor',
259
261
  }
260
262
 
263
+ declare type NodeComponentsProps = {
264
+ [key: string]: React.ComponentType<any>;
265
+ };
266
+
261
267
  declare interface ParentInfo {
262
268
  parentIsIncompleteTask: boolean;
263
269
  path: Array<Node_2>;
@@ -311,6 +317,8 @@ export declare class ReactSerializer implements Serializer<JSX.Element> {
311
317
  private smartLinks?;
312
318
  private allowAnnotations;
313
319
  private allowSelectAllTrap?;
320
+ private nodeComponents?;
321
+ private allowWindowedCodeBlock?;
314
322
  constructor(init: ReactSerializerInit);
315
323
  private resetState;
316
324
  private getNodeProps;
@@ -378,6 +386,8 @@ declare interface ReactSerializerInit {
378
386
  allowCustomPanels?: boolean;
379
387
  allowAnnotations?: boolean;
380
388
  allowSelectAllTrap?: boolean;
389
+ nodeComponents?: NodeComponentsProps;
390
+ allowWindowedCodeBlock?: boolean;
381
391
  }
382
392
 
383
393
  export declare const renderDocument: <T>(
@@ -423,8 +433,6 @@ export declare interface RendererProps {
423
433
  adfStage?: ADFStage;
424
434
  disableHeadingIDs?: boolean;
425
435
  disableActions?: boolean;
426
- /** @deprecated [ED-14507] allowDynamicTextSizing is no longer in use */
427
- allowDynamicTextSizing?: boolean;
428
436
  allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
429
437
  allowPlaceholderText?: boolean;
430
438
  maxHeight?: number;
@@ -451,6 +459,7 @@ export declare interface RendererProps {
451
459
  allowUgcScrubber?: boolean;
452
460
  allowSelectAllTrap?: boolean;
453
461
  unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
462
+ nodeComponents?: NodeComponentsProps;
454
463
  /**
455
464
  * @default undefined
456
465
  * @description
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/serializer.js",
5
5
  "module:es2019": "../dist/es2019/serializer.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/serializer.d.ts"
7
+ "types": "../dist/types/serializer.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/serializer.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/text-serializer.js",
5
5
  "module:es2019": "../dist/es2019/text-serializer.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/text-serializer.d.ts"
7
+ "types": "../dist/types/text-serializer.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/text-serializer.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/use-feature-flags.js",
5
5
  "module:es2019": "../dist/es2019/use-feature-flags.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/use-feature-flags.d.ts"
7
+ "types": "../dist/types/use-feature-flags.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/use-feature-flags.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/utils.js",
5
5
  "module:es2019": "../dist/es2019/utils.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/utils.d.ts"
7
+ "types": "../dist/types/utils.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/utils.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }