@atlaskit/embedded-document 0.9.25 → 0.9.26
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,11 @@
|
|
|
1
1
|
# @atlaskit/embedded-document
|
|
2
2
|
|
|
3
|
+
## 0.9.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#81438](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81438) [`1baa2be11bcc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1baa2be11bcc) - React 18 types for embedded document
|
|
8
|
+
|
|
3
9
|
## 0.9.25
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactElement } from 'react';
|
|
2
3
|
import { Component } from 'react';
|
|
3
4
|
import type { Mode, State } from './context';
|
|
@@ -11,6 +12,7 @@ export interface Props extends ProviderProps {
|
|
|
11
12
|
mode?: Mode;
|
|
12
13
|
renderTitle?: (mode: Mode, doc?: any) => ReactElement<any>;
|
|
13
14
|
renderToolbar?: (mode: Mode, editorActions?: any) => ReactElement<any>;
|
|
15
|
+
children?: React.ReactNode;
|
|
14
16
|
}
|
|
15
17
|
export default class EmbeddedDocument extends Component<Props, State> {
|
|
16
18
|
private actions;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactElement } from 'react';
|
|
2
3
|
import { Component } from 'react';
|
|
3
4
|
import type { Mode, State } from './context';
|
|
@@ -11,6 +12,7 @@ export interface Props extends ProviderProps {
|
|
|
11
12
|
mode?: Mode;
|
|
12
13
|
renderTitle?: (mode: Mode, doc?: any) => ReactElement<any>;
|
|
13
14
|
renderToolbar?: (mode: Mode, editorActions?: any) => ReactElement<any>;
|
|
15
|
+
children?: React.ReactNode;
|
|
14
16
|
}
|
|
15
17
|
export default class EmbeddedDocument extends Component<Props, State> {
|
|
16
18
|
private actions;
|