@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.
- package/CHANGELOG.md +13 -0
- package/actions/package.json +8 -1
- package/consts/package.json +8 -1
- package/dist/cjs/analytics/unsupported-content.js +1 -1
- package/dist/cjs/render-document.js +1 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/analytics/unsupported-content.js +1 -1
- package/dist/es2019/render-document.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/analytics/unsupported-content.js +1 -1
- package/dist/esm/render-document.js +1 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types-ts4.0/actions/index.d.ts +61 -0
- package/dist/types-ts4.0/actions/matches-utils.d.ts +7 -0
- package/dist/types-ts4.0/actions.d.ts +3 -0
- package/dist/types-ts4.0/analytics/analyticsContext.d.ts +6 -0
- package/dist/types-ts4.0/analytics/enums.d.ts +56 -0
- package/dist/types-ts4.0/analytics/events.d.ts +110 -0
- package/dist/types-ts4.0/analytics/unsupported-content.d.ts +10 -0
- package/dist/types-ts4.0/consts.d.ts +12 -0
- package/dist/types-ts4.0/i18n/cs.d.ts +20 -0
- package/dist/types-ts4.0/i18n/da.d.ts +20 -0
- package/dist/types-ts4.0/i18n/de.d.ts +20 -0
- package/dist/types-ts4.0/i18n/en.d.ts +20 -0
- package/dist/types-ts4.0/i18n/en_GB.d.ts +20 -0
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +20 -0
- package/dist/types-ts4.0/i18n/es.d.ts +20 -0
- package/dist/types-ts4.0/i18n/et.d.ts +8 -0
- package/dist/types-ts4.0/i18n/fi.d.ts +20 -0
- package/dist/types-ts4.0/i18n/fr.d.ts +20 -0
- package/dist/types-ts4.0/i18n/hu.d.ts +20 -0
- package/dist/types-ts4.0/i18n/index.d.ts +31 -0
- package/dist/types-ts4.0/i18n/it.d.ts +20 -0
- package/dist/types-ts4.0/i18n/ja.d.ts +20 -0
- package/dist/types-ts4.0/i18n/ko.d.ts +20 -0
- package/dist/types-ts4.0/i18n/nb.d.ts +20 -0
- package/dist/types-ts4.0/i18n/nl.d.ts +20 -0
- package/dist/types-ts4.0/i18n/pl.d.ts +20 -0
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +20 -0
- package/dist/types-ts4.0/i18n/pt_PT.d.ts +8 -0
- package/dist/types-ts4.0/i18n/ru.d.ts +20 -0
- package/dist/types-ts4.0/i18n/sk.d.ts +8 -0
- package/dist/types-ts4.0/i18n/sv.d.ts +20 -0
- package/dist/types-ts4.0/i18n/th.d.ts +20 -0
- package/dist/types-ts4.0/i18n/tr.d.ts +20 -0
- package/dist/types-ts4.0/i18n/uk.d.ts +20 -0
- package/dist/types-ts4.0/i18n/vi.d.ts +20 -0
- package/dist/types-ts4.0/i18n/zh.d.ts +20 -0
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +20 -0
- package/dist/types-ts4.0/index.d.ts +11 -0
- package/dist/types-ts4.0/messages.d.ts +61 -0
- package/dist/types-ts4.0/react/hooks/use-bidi-warnings.d.ts +10 -0
- package/dist/types-ts4.0/react/hooks/use-in-viewport.d.ts +5 -0
- package/dist/types-ts4.0/react/hooks/use-observed-width.d.ts +3 -0
- package/dist/types-ts4.0/react/index.d.ts +118 -0
- package/dist/types-ts4.0/react/marks/alignment.d.ts +4 -0
- package/dist/types-ts4.0/react/marks/annotation.d.ts +6 -0
- package/dist/types-ts4.0/react/marks/breakout.d.ts +6 -0
- package/dist/types-ts4.0/react/marks/code.d.ts +16 -0
- package/dist/types-ts4.0/react/marks/confluence-inline-comment.d.ts +8 -0
- package/dist/types-ts4.0/react/marks/data-consumer.d.ts +4 -0
- package/dist/types-ts4.0/react/marks/em.d.ts +3 -0
- package/dist/types-ts4.0/react/marks/fragment.d.ts +4 -0
- package/dist/types-ts4.0/react/marks/indentation.d.ts +4 -0
- package/dist/types-ts4.0/react/marks/index.d.ts +21 -0
- package/dist/types-ts4.0/react/marks/link.d.ts +9 -0
- package/dist/types-ts4.0/react/marks/strike.d.ts +3 -0
- package/dist/types-ts4.0/react/marks/strong.d.ts +3 -0
- package/dist/types-ts4.0/react/marks/subsup.d.ts +4 -0
- package/dist/types-ts4.0/react/marks/textColor.d.ts +4 -0
- package/dist/types-ts4.0/react/marks/underline.d.ts +3 -0
- package/dist/types-ts4.0/react/marks/unsupportedMark.d.ts +3 -0
- package/dist/types-ts4.0/react/marks/unsupportedNodeAttribute.d.ts +3 -0
- package/dist/types-ts4.0/react/nodes/blockCard.d.ts +10 -0
- package/dist/types-ts4.0/react/nodes/blockquote.d.ts +2 -0
- package/dist/types-ts4.0/react/nodes/bodiedExtension.d.ts +23 -0
- package/dist/types-ts4.0/react/nodes/bulletList.d.ts +5 -0
- package/dist/types-ts4.0/react/nodes/caption.d.ts +4 -0
- package/dist/types-ts4.0/react/nodes/codeBlock/codeBlock.d.ts +14 -0
- package/dist/types-ts4.0/react/nodes/codeBlock/components/codeBlockContainer.d.ts +12 -0
- package/dist/types-ts4.0/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +9 -0
- package/dist/types-ts4.0/react/nodes/codeBlock/windowedCodeBlock.d.ts +4 -0
- package/dist/types-ts4.0/react/nodes/codeBlockCopyButton.d.ts +9 -0
- package/dist/types-ts4.0/react/nodes/date.d.ts +11 -0
- package/dist/types-ts4.0/react/nodes/decisionItem.d.ts +3 -0
- package/dist/types-ts4.0/react/nodes/decisionList.d.ts +7 -0
- package/dist/types-ts4.0/react/nodes/doc.d.ts +3 -0
- package/dist/types-ts4.0/react/nodes/embedCard.d.ts +17 -0
- package/dist/types-ts4.0/react/nodes/emoji.d.ts +10 -0
- package/dist/types-ts4.0/react/nodes/extension.d.ts +112 -0
- package/dist/types-ts4.0/react/nodes/fallback.d.ts +16 -0
- package/dist/types-ts4.0/react/nodes/hardBreak.d.ts +6 -0
- package/dist/types-ts4.0/react/nodes/heading-anchor.d.ts +14 -0
- package/dist/types-ts4.0/react/nodes/heading.d.ts +14 -0
- package/dist/types-ts4.0/react/nodes/index.d.ts +94 -0
- package/dist/types-ts4.0/react/nodes/inline.d.ts +1 -0
- package/dist/types-ts4.0/react/nodes/inlineCard.d.ts +65 -0
- package/dist/types-ts4.0/react/nodes/inlineExtension.d.ts +16 -0
- package/dist/types-ts4.0/react/nodes/layoutColumn.d.ts +6 -0
- package/dist/types-ts4.0/react/nodes/layoutSection.d.ts +2 -0
- package/dist/types-ts4.0/react/nodes/listItem.d.ts +2 -0
- package/dist/types-ts4.0/react/nodes/media.d.ts +27 -0
- package/dist/types-ts4.0/react/nodes/mediaGroup.d.ts +29 -0
- package/dist/types-ts4.0/react/nodes/mediaInline.d.ts +20 -0
- package/dist/types-ts4.0/react/nodes/mediaSingle/index.d.ts +23 -0
- package/dist/types-ts4.0/react/nodes/mediaSingle/styles.d.ts +2 -0
- package/dist/types-ts4.0/react/nodes/mention.d.ts +13 -0
- package/dist/types-ts4.0/react/nodes/orderedList.d.ts +6 -0
- package/dist/types-ts4.0/react/nodes/panel.d.ts +17 -0
- package/dist/types-ts4.0/react/nodes/paragraph.d.ts +3 -0
- package/dist/types-ts4.0/react/nodes/placeholder.d.ts +6 -0
- package/dist/types-ts4.0/react/nodes/rule.d.ts +2 -0
- package/dist/types-ts4.0/react/nodes/status.d.ts +10 -0
- package/dist/types-ts4.0/react/nodes/table/colgroup.d.ts +3 -0
- package/dist/types-ts4.0/react/nodes/table/sticky.d.ts +38 -0
- package/dist/types-ts4.0/react/nodes/table/table.d.ts +7 -0
- package/dist/types-ts4.0/react/nodes/table/types.d.ts +7 -0
- package/dist/types-ts4.0/react/nodes/table.d.ts +269 -0
- package/dist/types-ts4.0/react/nodes/tableCell.d.ts +81 -0
- package/dist/types-ts4.0/react/nodes/tableRow.d.ts +24 -0
- package/dist/types-ts4.0/react/nodes/task-item-with-providers.d.ts +29 -0
- package/dist/types-ts4.0/react/nodes/taskItem.d.ts +19 -0
- package/dist/types-ts4.0/react/nodes/taskList.d.ts +8 -0
- package/dist/types-ts4.0/react/nodes/text-wrapper.d.ts +8 -0
- package/dist/types-ts4.0/react/nodes/unknownBlock.d.ts +2 -0
- package/dist/types-ts4.0/react/renderer-node.d.ts +4 -0
- package/dist/types-ts4.0/react/types.d.ts +57 -0
- package/dist/types-ts4.0/react/utils/clipboard.d.ts +1 -0
- package/dist/types-ts4.0/react/utils/element-selection.d.ts +9 -0
- package/dist/types-ts4.0/react/utils/getCardClickHandler.d.ts +2 -0
- package/dist/types-ts4.0/react/utils/inject-props.d.ts +6 -0
- package/dist/types-ts4.0/react/utils/links.d.ts +3 -0
- package/dist/types-ts4.0/react/utils/lists.d.ts +2 -0
- package/dist/types-ts4.0/react/utils/performance/RenderTracking.d.ts +15 -0
- package/dist/types-ts4.0/react/utils/use-select-all-trap.d.ts +2 -0
- package/dist/types-ts4.0/render-document.d.ts +23 -0
- package/dist/types-ts4.0/renderer-context.d.ts +9 -0
- package/dist/types-ts4.0/serializer.d.ts +4 -0
- package/dist/types-ts4.0/steps/index.d.ts +14 -0
- package/dist/types-ts4.0/text/index.d.ts +8 -0
- package/dist/types-ts4.0/text/nodes/blockquote.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/bulletList.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/date.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/decisionItem.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/hardBreak.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/heading.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/index.d.ts +6 -0
- package/dist/types-ts4.0/text/nodes/inlineCard.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/listItem.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/mediaGroup.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/mention.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/orderedList.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/panel.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/paragraph.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/rule.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/status.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/table.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/taskItem.d.ts +3 -0
- package/dist/types-ts4.0/text/nodes/unknown.d.ts +3 -0
- package/dist/types-ts4.0/text-serializer.d.ts +1 -0
- package/dist/types-ts4.0/types/i18n.d.ts +5 -0
- package/dist/types-ts4.0/types/mediaOptions.d.ts +12 -0
- package/dist/types-ts4.0/types/smartLinksOptions.d.ts +3 -0
- package/dist/types-ts4.0/ui/Expand.d.ts +21 -0
- package/dist/types-ts4.0/ui/ExtensionRenderer.d.ts +40 -0
- package/dist/types-ts4.0/ui/MediaCard.d.ts +77 -0
- package/dist/types-ts4.0/ui/Renderer/ErrorBoundary.d.ts +24 -0
- package/dist/types-ts4.0/ui/Renderer/breakout-ssr.d.ts +11 -0
- package/dist/types-ts4.0/ui/Renderer/click-to-edit.d.ts +6 -0
- package/dist/types-ts4.0/ui/Renderer/index.d.ts +33 -0
- package/dist/types-ts4.0/ui/Renderer/style.d.ts +14 -0
- package/dist/types-ts4.0/ui/Renderer/truncated-wrapper.d.ts +12 -0
- package/dist/types-ts4.0/ui/Renderer/types.d.ts +16 -0
- package/dist/types-ts4.0/ui/RendererActionsContext/WithRendererActions.d.ts +6 -0
- package/dist/types-ts4.0/ui/RendererActionsContext/index.d.ts +9 -0
- package/dist/types-ts4.0/ui/SmartCardStorage.d.ts +60 -0
- package/dist/types-ts4.0/ui/SortingIcon.d.ts +20 -0
- package/dist/types-ts4.0/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +15 -0
- package/dist/types-ts4.0/ui/TaskItemsFormatContext/index.d.ts +2 -0
- package/dist/types-ts4.0/ui/active-header-id-provider.d.ts +18 -0
- package/dist/types-ts4.0/ui/annotations/context.d.ts +27 -0
- package/dist/types-ts4.0/ui/annotations/draft/component.d.ts +20 -0
- package/dist/types-ts4.0/ui/annotations/draft/dom.d.ts +7 -0
- package/dist/types-ts4.0/ui/annotations/draft/index.d.ts +2 -0
- package/dist/types-ts4.0/ui/annotations/draft/position.d.ts +2 -0
- package/dist/types-ts4.0/ui/annotations/draft/text.d.ts +11 -0
- package/dist/types-ts4.0/ui/annotations/element/index.d.ts +10 -0
- package/dist/types-ts4.0/ui/annotations/element/mark.d.ts +14 -0
- package/dist/types-ts4.0/ui/annotations/hooks/index.d.ts +3 -0
- package/dist/types-ts4.0/ui/annotations/hooks/use-events.d.ts +18 -0
- package/dist/types-ts4.0/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +1 -0
- package/dist/types-ts4.0/ui/annotations/hooks/use-inline-comments-filter.d.ts +9 -0
- package/dist/types-ts4.0/ui/annotations/hooks/use-load-annotations.d.ts +6 -0
- package/dist/types-ts4.0/ui/annotations/hooks/user-selection.d.ts +9 -0
- package/dist/types-ts4.0/ui/annotations/hooks/utils.d.ts +2 -0
- package/dist/types-ts4.0/ui/annotations/index.d.ts +5 -0
- package/dist/types-ts4.0/ui/annotations/selection/index.d.ts +1 -0
- package/dist/types-ts4.0/ui/annotations/selection/mounter.d.ts +20 -0
- package/dist/types-ts4.0/ui/annotations/selection/range-validator.d.ts +13 -0
- package/dist/types-ts4.0/ui/annotations/selection/wrapper.d.ts +8 -0
- package/dist/types-ts4.0/ui/annotations/types.d.ts +22 -0
- package/dist/types-ts4.0/ui/annotations/view/index.d.ts +7 -0
- package/dist/types-ts4.0/ui/index.d.ts +1 -0
- package/dist/types-ts4.0/ui/renderer-props.d.ts +100 -0
- package/dist/types-ts4.0/use-feature-flags.d.ts +2 -0
- package/dist/types-ts4.0/utils.d.ts +24 -0
- package/messages/package.json +8 -1
- package/package.json +27 -20
- package/render-document/package.json +8 -1
- package/renderer-context/package.json +8 -1
- package/report.api.md +13 -4
- package/serializer/package.json +8 -1
- package/text-serializer/package.json +8 -1
- package/use-feature-flags/package.json +8 -1
- package/utils/package.json +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "
|
|
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.
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
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.
|
|
37
|
-
"@atlaskit/icon": "^21.
|
|
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": "^
|
|
46
|
+
"@atlaskit/media-client": "^18.0.0",
|
|
40
47
|
"@atlaskit/media-common": "^2.16.0",
|
|
41
|
-
"@atlaskit/media-filmstrip": "^
|
|
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.
|
|
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.
|
|
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.
|
|
63
|
-
"@atlaskit/media-core": "^
|
|
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.
|
|
77
|
+
"@atlaskit/avatar": "^21.1.0",
|
|
71
78
|
"@atlaskit/css-reset": "^6.3.0",
|
|
72
79
|
"@atlaskit/docs": "*",
|
|
73
|
-
"@atlaskit/editor-core": "^
|
|
74
|
-
"@atlaskit/editor-test-helpers": "^17.
|
|
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.
|
|
77
|
-
"@atlaskit/media-core": "^
|
|
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": "^
|
|
89
|
+
"@atlaskit/profilecard": "^17.2.0",
|
|
83
90
|
"@atlaskit/radio": "^5.4.0",
|
|
84
|
-
"@atlaskit/range": "^6.
|
|
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": "^
|
|
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.
|
|
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.
|
|
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
|
package/serializer/package.json
CHANGED
|
@@ -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
|
}
|
package/utils/package.json
CHANGED
|
@@ -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
|
}
|