@atlaskit/help-article 4.1.1 → 4.1.3

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,17 @@
1
1
  # @atlaskit/help-article
2
2
 
3
+ ## 4.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
8
+
9
+ ## 4.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
14
+
3
15
  ## 4.1.1
4
16
 
5
17
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/help-article",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/help-article",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/help-article",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -2,14 +2,14 @@ export declare enum BODY_FORMAT_TYPES {
2
2
  adf = "adf",
3
3
  html = "html"
4
4
  }
5
- export declare type AdfDoc = {
5
+ export type AdfDoc = {
6
6
  type: string;
7
7
  version: number;
8
8
  content: {
9
9
  [fieldName: string]: any;
10
10
  }[];
11
11
  };
12
- export declare type HelpArticle = {
12
+ export type HelpArticle = {
13
13
  title?: string;
14
14
  body?: string | AdfDoc;
15
15
  bodyFormat?: BODY_FORMAT_TYPES;
@@ -2,14 +2,14 @@ export declare enum BODY_FORMAT_TYPES {
2
2
  adf = "adf",
3
3
  html = "html"
4
4
  }
5
- export declare type AdfDoc = {
5
+ export type AdfDoc = {
6
6
  type: string;
7
7
  version: number;
8
8
  content: {
9
9
  [fieldName: string]: any;
10
10
  }[];
11
11
  };
12
- export declare type HelpArticle = {
12
+ export type HelpArticle = {
13
13
  title?: string;
14
14
  body?: string | AdfDoc;
15
15
  bodyFormat?: BODY_FORMAT_TYPES;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help-article",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "description": "A cross-product help-article component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,6 +12,14 @@
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.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
15
23
  "sideEffects": false,
16
24
  "atlaskit:src": "src/index.ts",
17
25
  "atlassian": {
@@ -25,8 +33,8 @@
25
33
  "dependencies": {
26
34
  "@atlaskit/css-reset": "^6.5.0",
27
35
  "@atlaskit/icon": "^21.12.0",
28
- "@atlaskit/renderer": "^108.0.0",
29
- "@atlaskit/tokens": "^1.2.19",
36
+ "@atlaskit/renderer": "^108.1.0",
37
+ "@atlaskit/tokens": "^1.4.0",
30
38
  "@babel/runtime": "^7.0.0",
31
39
  "@emotion/styled": "^10.0.7",
32
40
  "lodash": "^4.17.21"
@@ -41,7 +49,7 @@
41
49
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
42
50
  "enzyme": "^3.10.0",
43
51
  "react-test-renderer": "^16.8.0",
44
- "typescript": "4.5.5"
52
+ "typescript": "~4.9.5"
45
53
  },
46
54
  "keywords": [
47
55
  "atlaskit",
File without changes