@atlaskit/help-article 4.0.34 → 4.0.35
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 +24 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atlaskit/help-article
|
|
2
2
|
|
|
3
|
+
## 4.0.35
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`224a2482244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224a2482244) - [ED-16166] Changes the renderer prop document type from any to DocNode
|
|
8
|
+
|
|
9
|
+
BREAKING for `@atlaskit/renderer`: Previously the `document` prop for the renderer component had the type of `any`. This has now been changed to `DocNode` which comes from `@atlaskit/adf-schema`.
|
|
10
|
+
|
|
11
|
+
Documents being passed into the renderer component will need to be updated to use this type.
|
|
12
|
+
|
|
13
|
+
Example Usage:
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { DocNode } from '@atlaskit/adf-schema';
|
|
17
|
+
|
|
18
|
+
const emptyDoc: DocNode = {
|
|
19
|
+
type: 'doc',
|
|
20
|
+
version: 1,
|
|
21
|
+
content: [],
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 4.0.34
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-article",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.35",
|
|
4
4
|
"description": "A cross-product help-article component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@atlaskit/css-reset": "^6.3.0",
|
|
27
27
|
"@atlaskit/icon": "^21.11.0",
|
|
28
|
-
"@atlaskit/renderer": "^
|
|
28
|
+
"@atlaskit/renderer": "^105.0.0",
|
|
29
29
|
"@atlaskit/theme": "^12.2.0",
|
|
30
30
|
"@babel/runtime": "^7.0.0",
|
|
31
31
|
"@emotion/styled": "^10.0.7",
|