@atlaskit/help-article 4.0.32 → 4.0.34
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/package.json +4 -11
- package/report.api.md +15 -1
- package/dist/types-ts4.0/components/ArticleBody/index.d.ts +0 -11
- package/dist/types-ts4.0/components/ArticleBody/resetCss.d.ts +0 -2
- package/dist/types-ts4.0/components/ArticleBody/styled.d.ts +0 -2
- package/dist/types-ts4.0/components/HelpArticle.d.ts +0 -4
- package/dist/types-ts4.0/components/styled.d.ts +0 -4
- package/dist/types-ts4.0/index.d.ts +0 -3
- package/dist/types-ts4.0/model/HelpArticle.d.ts +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/help-article
|
|
2
2
|
|
|
3
|
+
## 4.0.34
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.0.33
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`0c19f354255`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c19f354255) - Consolidate In Product Help & Self-Help Experiences ownership
|
|
14
|
+
|
|
3
15
|
## 4.0.32
|
|
4
16
|
|
|
5
17
|
### 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.34",
|
|
4
4
|
"description": "A cross-product help-article component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,17 +12,10 @@
|
|
|
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
|
-
},
|
|
22
15
|
"sideEffects": false,
|
|
23
16
|
"atlaskit:src": "src/index.ts",
|
|
24
17
|
"atlassian": {
|
|
25
|
-
"team": "
|
|
18
|
+
"team": "Self-Help Experiences",
|
|
26
19
|
"deprecatedAutoEntryPoints": true,
|
|
27
20
|
"releaseModel": "continuous",
|
|
28
21
|
"website": {
|
|
@@ -32,7 +25,7 @@
|
|
|
32
25
|
"dependencies": {
|
|
33
26
|
"@atlaskit/css-reset": "^6.3.0",
|
|
34
27
|
"@atlaskit/icon": "^21.11.0",
|
|
35
|
-
"@atlaskit/renderer": "^
|
|
28
|
+
"@atlaskit/renderer": "^104.0.0",
|
|
36
29
|
"@atlaskit/theme": "^12.2.0",
|
|
37
30
|
"@babel/runtime": "^7.0.0",
|
|
38
31
|
"@emotion/styled": "^10.0.7",
|
|
@@ -43,7 +36,7 @@
|
|
|
43
36
|
"react-dom": "^16.8.0"
|
|
44
37
|
},
|
|
45
38
|
"devDependencies": {
|
|
46
|
-
"@atlaskit/button": "^16.
|
|
39
|
+
"@atlaskit/button": "^16.5.0",
|
|
47
40
|
"@atlaskit/docs": "*",
|
|
48
41
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
49
42
|
"enzyme": "^3.10.0",
|
package/report.api.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- API Report Version: 2.
|
|
1
|
+
<!-- API Report Version: 2.3 -->
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/help-article"
|
|
4
4
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
### Table of contents
|
|
9
9
|
|
|
10
10
|
- [Main Entry Types](#main-entry-types)
|
|
11
|
+
- [Peer Dependencies](#peer-dependencies)
|
|
11
12
|
|
|
12
13
|
### Main Entry Types
|
|
13
14
|
|
|
@@ -51,3 +52,16 @@ export default HelpArticle_2;
|
|
|
51
52
|
```
|
|
52
53
|
|
|
53
54
|
<!--SECTION END: Main Entry Types-->
|
|
55
|
+
|
|
56
|
+
### Peer Dependencies
|
|
57
|
+
|
|
58
|
+
<!--SECTION START: Peer Dependencies-->
|
|
59
|
+
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"react": "^16.8.0",
|
|
63
|
+
"react-dom": "^16.8.0"
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
<!--SECTION END: Peer Dependencies-->
|
|
@@ -1,11 +0,0 @@
|
|
|
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;
|
|
@@ -1,2 +0,0 @@
|
|
|
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>;
|
|
@@ -1,4 +0,0 @@
|
|
|
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>;
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
};
|