@atlaskit/help-article 4.0.28 → 4.0.30
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 +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types-ts4.0/components/ArticleBody/index.d.ts +11 -0
- package/dist/types-ts4.0/components/ArticleBody/resetCss.d.ts +2 -0
- package/dist/types-ts4.0/components/ArticleBody/styled.d.ts +2 -0
- package/dist/types-ts4.0/components/HelpArticle.d.ts +4 -0
- package/dist/types-ts4.0/components/styled.d.ts +4 -0
- package/dist/types-ts4.0/index.d.ts +3 -0
- package/dist/types-ts4.0/model/HelpArticle.d.ts +19 -0
- package/package.json +11 -4
- package/report.api.md +17 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/help-article
|
|
2
2
|
|
|
3
|
+
## 4.0.30
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
8
|
+
|
|
9
|
+
## 4.0.29
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
14
|
+
|
|
3
15
|
## 4.0.28
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BODY_FORMAT_TYPES } from '../../model/HelpArticle';
|
|
3
|
+
import type { AdfDoc } from '../../model/HelpArticle';
|
|
4
|
+
export interface Props {
|
|
5
|
+
body?: string | AdfDoc;
|
|
6
|
+
bodyFormat: BODY_FORMAT_TYPES;
|
|
7
|
+
onArticleRenderBegin?(): void;
|
|
8
|
+
onArticleRenderDone?(): void;
|
|
9
|
+
}
|
|
10
|
+
export declare const ArticleBody: (props: Props) => JSX.Element | null;
|
|
11
|
+
export default ArticleBody;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ArticleFrame: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, Pick<import("react").ClassAttributes<HTMLIFrameElement> & import("react").IframeHTMLAttributes<HTMLIFrameElement>, keyof import("react").IframeHTMLAttributes<HTMLIFrameElement>>, object>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ArticleContentInner: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
3
|
+
export declare const ArticleContentTitle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
4
|
+
export declare const ArticleContentTitleLink: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, Pick<import("react").ClassAttributes<HTMLAnchorElement> & import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, object>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum BODY_FORMAT_TYPES {
|
|
2
|
+
adf = "adf",
|
|
3
|
+
html = "html"
|
|
4
|
+
}
|
|
5
|
+
export declare type AdfDoc = {
|
|
6
|
+
type: string;
|
|
7
|
+
version: number;
|
|
8
|
+
content: {
|
|
9
|
+
[fieldName: string]: any;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
export declare type HelpArticle = {
|
|
13
|
+
title?: string;
|
|
14
|
+
body?: string | AdfDoc;
|
|
15
|
+
bodyFormat?: BODY_FORMAT_TYPES;
|
|
16
|
+
titleLinkUrl?: string;
|
|
17
|
+
onArticleRenderBegin?(): void;
|
|
18
|
+
onArticleRenderDone?(): void;
|
|
19
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-article",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.30",
|
|
4
4
|
"description": "A cross-product help-article 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": {
|
|
@@ -25,8 +32,8 @@
|
|
|
25
32
|
"dependencies": {
|
|
26
33
|
"@atlaskit/css-reset": "^6.3.0",
|
|
27
34
|
"@atlaskit/icon": "^21.10.0",
|
|
28
|
-
"@atlaskit/renderer": "^101.
|
|
29
|
-
"@atlaskit/theme": "^12.
|
|
35
|
+
"@atlaskit/renderer": "^101.1.0",
|
|
36
|
+
"@atlaskit/theme": "^12.2.0",
|
|
30
37
|
"@babel/runtime": "^7.0.0",
|
|
31
38
|
"@emotion/styled": "^10.0.7",
|
|
32
39
|
"lodash": "^4.17.21"
|
|
@@ -41,7 +48,7 @@
|
|
|
41
48
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
42
49
|
"enzyme": "^3.10.0",
|
|
43
50
|
"react-test-renderer": "^16.8.0",
|
|
44
|
-
"typescript": "4.
|
|
51
|
+
"typescript": "4.5.5"
|
|
45
52
|
},
|
|
46
53
|
"keywords": [
|
|
47
54
|
"atlaskit",
|
package/report.api.md
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/help-article"
|
|
1
|
+
## API Report File for "@atlaskit/help-article"
|
|
2
2
|
|
|
3
|
-
> Do not edit this file.
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
<!--
|
|
6
|
+
Generated API Report version: 2.0
|
|
7
|
+
-->
|
|
4
8
|
|
|
5
9
|
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
6
10
|
|
|
7
11
|
```ts
|
|
8
12
|
/// <reference types="react" />
|
|
9
13
|
|
|
10
|
-
|
|
14
|
+
// @public (undocumented)
|
|
15
|
+
export type AdfDoc = {
|
|
11
16
|
type: string;
|
|
12
17
|
version: number;
|
|
13
18
|
content: {
|
|
@@ -15,12 +20,16 @@ export declare type AdfDoc = {
|
|
|
15
20
|
}[];
|
|
16
21
|
};
|
|
17
22
|
|
|
18
|
-
|
|
23
|
+
// @public (undocumented)
|
|
24
|
+
export enum BODY_FORMAT_TYPES {
|
|
25
|
+
// (undocumented)
|
|
19
26
|
adf = 'adf',
|
|
27
|
+
// (undocumented)
|
|
20
28
|
html = 'html',
|
|
21
29
|
}
|
|
22
30
|
|
|
23
|
-
|
|
31
|
+
// @public (undocumented)
|
|
32
|
+
export type HelpArticle = {
|
|
24
33
|
title?: string;
|
|
25
34
|
body?: string | AdfDoc;
|
|
26
35
|
bodyFormat?: BODY_FORMAT_TYPES;
|
|
@@ -29,8 +38,9 @@ export declare type HelpArticle = {
|
|
|
29
38
|
onArticleRenderDone?(): void;
|
|
30
39
|
};
|
|
31
40
|
|
|
32
|
-
|
|
41
|
+
// @public (undocumented)
|
|
42
|
+
const HelpArticle_2: (props: HelpArticle) => JSX.Element;
|
|
33
43
|
export default HelpArticle_2;
|
|
34
44
|
|
|
35
|
-
|
|
45
|
+
// (No @packageDocumentation comment for this package)
|
|
36
46
|
```
|