@atlaskit/forge-react-types 0.42.5 → 0.42.6
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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.42.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#182163](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/182163)
|
|
8
|
+
[`28a10175a3cae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/28a10175a3cae) -
|
|
9
|
+
Add internal documentWithoutMedia prop to AdfRendererProps in @atlaskit/forge-react-types
|
|
10
|
+
|
|
3
11
|
## 0.42.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - AdfRendererProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::126b3ad6e0833d5ef9d0270f34b9deb1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::812969188e3d278549014394c969938c>>
|
|
9
9
|
*/
|
|
10
10
|
import type { DocNode } from '@atlaskit/adf-schema';
|
|
11
11
|
export type AdfRendererProps = {
|
|
@@ -15,7 +15,6 @@ export type AdfRendererProps = {
|
|
|
15
15
|
* @type [DocNode](https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/doc/)
|
|
16
16
|
*/
|
|
17
17
|
document: DocNode;
|
|
18
|
-
documentWithoutMedia?: DocNode;
|
|
19
18
|
/**
|
|
20
19
|
* A function to determine behaviour for handling unsupported nodes:
|
|
21
20
|
* - Return a new Node to replace the unsupported one
|
|
@@ -25,6 +24,7 @@ export type AdfRendererProps = {
|
|
|
25
24
|
* @type [Visitor](https://bitbucket.org/atlassian/atlassian-frontend-mirror/src/master/editor/adf-utils/src/types/index.ts)
|
|
26
25
|
*/
|
|
27
26
|
replaceUnsupportedNode?: Function;
|
|
27
|
+
documentWithoutMedia?: DocNode;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* The AdfRenderer component provides a way to render a valid ADF document, using the same renderer that Atlassian uses internally to render ADF content in Confluence pages, Jira work items, and so on.
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - AdfRendererProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::126b3ad6e0833d5ef9d0270f34b9deb1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::812969188e3d278549014394c969938c>>
|
|
9
9
|
*/
|
|
10
10
|
import type { DocNode } from '@atlaskit/adf-schema';
|
|
11
11
|
export type AdfRendererProps = {
|
|
@@ -15,7 +15,6 @@ export type AdfRendererProps = {
|
|
|
15
15
|
* @type [DocNode](https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/doc/)
|
|
16
16
|
*/
|
|
17
17
|
document: DocNode;
|
|
18
|
-
documentWithoutMedia?: DocNode;
|
|
19
18
|
/**
|
|
20
19
|
* A function to determine behaviour for handling unsupported nodes:
|
|
21
20
|
* - Return a new Node to replace the unsupported one
|
|
@@ -25,6 +24,7 @@ export type AdfRendererProps = {
|
|
|
25
24
|
* @type [Visitor](https://bitbucket.org/atlassian/atlassian-frontend-mirror/src/master/editor/adf-utils/src/types/index.ts)
|
|
26
25
|
*/
|
|
27
26
|
replaceUnsupportedNode?: Function;
|
|
27
|
+
documentWithoutMedia?: DocNode;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* The AdfRenderer component provides a way to render a valid ADF document, using the same renderer that Atlassian uses internally to render ADF content in Confluence pages, Jira work items, and so on.
|
package/package.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - AdfRendererProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::126b3ad6e0833d5ef9d0270f34b9deb1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::812969188e3d278549014394c969938c>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -18,7 +18,6 @@ export type AdfRendererProps = {
|
|
|
18
18
|
* @type [DocNode](https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/doc/)
|
|
19
19
|
*/
|
|
20
20
|
document: DocNode;
|
|
21
|
-
documentWithoutMedia?: DocNode;
|
|
22
21
|
|
|
23
22
|
/**
|
|
24
23
|
* A function to determine behaviour for handling unsupported nodes:
|
|
@@ -29,6 +28,9 @@ export type AdfRendererProps = {
|
|
|
29
28
|
* @type [Visitor](https://bitbucket.org/atlassian/atlassian-frontend-mirror/src/master/editor/adf-utils/src/types/index.ts)
|
|
30
29
|
*/
|
|
31
30
|
replaceUnsupportedNode?: Function;
|
|
31
|
+
|
|
32
|
+
// documentWithoutMedia is only used internally on the Forge side, this is not part of the public API
|
|
33
|
+
documentWithoutMedia?: DocNode;
|
|
32
34
|
};
|
|
33
35
|
|
|
34
36
|
/**
|