@atlaskit/help-article 6.0.14 → 6.0.16

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,18 @@
1
1
  # @atlaskit/help-article
2
2
 
3
+ ## 6.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.0.15
10
+
11
+ ### Patch Changes
12
+
13
+ - [`bc7821de4d118`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bc7821de4d118) -
14
+ Sorted type and interface props to improve Atlaskit docs
15
+
3
16
  ## 6.0.14
4
17
 
5
18
  ### Patch Changes
@@ -3,9 +3,9 @@
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "composite": true,
7
6
  "outDir": "../../../../../confluence/tsDist/@atlaskit__help-article",
8
- "rootDir": "../"
7
+ "rootDir": "../",
8
+ "composite": true
9
9
  },
10
10
  "include": [
11
11
  "../src/**/*.ts",
@@ -42,4 +42,4 @@
42
42
  "path": "../../../design-system/tokens/afm-cc/tsconfig.json"
43
43
  }
44
44
  ]
45
- }
45
+ }
@@ -10,7 +10,7 @@ export declare const ArticleContentTitle: ({ children }: {
10
10
  children: React.ReactNode;
11
11
  }) => JSX.Element;
12
12
  export declare const ArticleContentTitleLink: ({ href, target, children, }: {
13
+ children: React.ReactNode;
13
14
  href: string;
14
15
  target: string;
15
- children: React.ReactNode;
16
16
  }) => JSX.Element;
@@ -3,17 +3,17 @@ export declare enum BODY_FORMAT_TYPES {
3
3
  html = "html"
4
4
  }
5
5
  export type AdfDoc = {
6
- type: string;
7
- version: number;
8
6
  content: {
9
7
  [fieldName: string]: any;
10
8
  }[];
9
+ type: string;
10
+ version: number;
11
11
  };
12
12
  export type HelpArticle = {
13
- title?: string;
14
13
  body?: string | AdfDoc;
15
14
  bodyFormat?: BODY_FORMAT_TYPES;
16
- titleLinkUrl?: string;
17
15
  onArticleRenderBegin?(): void;
18
16
  onArticleRenderDone?(): void;
17
+ title?: string;
18
+ titleLinkUrl?: string;
19
19
  };
@@ -10,7 +10,7 @@ export declare const ArticleContentTitle: ({ children }: {
10
10
  children: React.ReactNode;
11
11
  }) => JSX.Element;
12
12
  export declare const ArticleContentTitleLink: ({ href, target, children, }: {
13
+ children: React.ReactNode;
13
14
  href: string;
14
15
  target: string;
15
- children: React.ReactNode;
16
16
  }) => JSX.Element;
@@ -3,17 +3,17 @@ export declare enum BODY_FORMAT_TYPES {
3
3
  html = "html"
4
4
  }
5
5
  export type AdfDoc = {
6
- type: string;
7
- version: number;
8
6
  content: {
9
7
  [fieldName: string]: any;
10
8
  }[];
9
+ type: string;
10
+ version: number;
11
11
  };
12
12
  export type HelpArticle = {
13
- title?: string;
14
13
  body?: string | AdfDoc;
15
14
  bodyFormat?: BODY_FORMAT_TYPES;
16
- titleLinkUrl?: string;
17
15
  onArticleRenderBegin?(): void;
18
16
  onArticleRenderDone?(): void;
17
+ title?: string;
18
+ titleLinkUrl?: string;
19
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help-article",
3
- "version": "6.0.14",
3
+ "version": "6.0.16",
4
4
  "description": "A cross-product help-article component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,9 +24,6 @@
24
24
  "**/*.compiled.css"
25
25
  ],
26
26
  "atlaskit:src": "src/index.ts",
27
- "af:exports": {
28
- ".": "./src/index.ts"
29
- },
30
27
  "atlassian": {
31
28
  "team": "Self-Help Experiences",
32
29
  "website": {
@@ -36,10 +33,10 @@
36
33
  "dependencies": {
37
34
  "@atlaskit/css-reset": "^7.3.0",
38
35
  "@atlaskit/heading": "^5.2.0",
39
- "@atlaskit/icon": "^28.0.0",
40
- "@atlaskit/primitives": "^14.11.0",
41
- "@atlaskit/renderer": "^120.4.0",
42
- "@atlaskit/tokens": "^6.0.0",
36
+ "@atlaskit/icon": "^28.1.0",
37
+ "@atlaskit/primitives": "^14.12.0",
38
+ "@atlaskit/renderer": "^121.0.0",
39
+ "@atlaskit/tokens": "^6.1.0",
43
40
  "@babel/runtime": "^7.0.0",
44
41
  "@compiled/react": "^0.18.3",
45
42
  "lodash": "^4.17.21"