@atlaskit/adf-utils 17.0.0 → 17.1.2

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,28 @@
1
1
  # @atlaskit/adf-utils
2
2
 
3
+ ## 17.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
8
+
9
+ ## 17.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`fecd5f5c96c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fecd5f5c96c) - ED-15067 Added paragraph_with_indentation to block content to allow indented paragraphs inside of layout columns. Prior to this change, it was possible to add indentation but it resulted in an unsupported mark.
14
+ - Updated dependencies
15
+
16
+ ## 17.1.0
17
+
18
+ ### Minor Changes
19
+
20
+ - [`4d8c675bd2a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d8c675bd2a) - EDM-3779 Hotfix: Extend Media Inline ADF Schema to have type attribute
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+
3
26
  ## 17.0.0
4
27
 
5
28
  ### Major Changes
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
7
+ var _default = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
8
8
  exports.default = _default;
@@ -16,6 +16,11 @@ var _default = {
16
16
  type: 'object',
17
17
  optional: true
18
18
  },
19
+ type: {
20
+ type: 'enum',
21
+ values: ['link', 'file'],
22
+ optional: true
23
+ },
19
24
  id: {
20
25
  type: 'string',
21
26
  minLength: 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "17.0.0",
3
+ "version": "17.1.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1 +1 @@
1
- export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
1
+ export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
@@ -10,6 +10,11 @@ export default {
10
10
  type: 'object',
11
11
  optional: true
12
12
  },
13
+ type: {
14
+ type: 'enum',
15
+ values: ['link', 'file'],
16
+ optional: true
17
+ },
13
18
  id: {
14
19
  type: 'string',
15
20
  minLength: 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "17.0.0",
3
+ "version": "17.1.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1 +1 @@
1
- export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
1
+ export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
@@ -10,6 +10,11 @@ export default {
10
10
  type: 'object',
11
11
  optional: true
12
12
  },
13
+ type: {
14
+ type: 'enum',
15
+ values: ['link', 'file'],
16
+ optional: true
17
+ },
13
18
  id: {
14
19
  type: 'string',
15
20
  minLength: 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "17.0.0",
3
+ "version": "17.1.2",
4
4
  "sideEffects": false
5
5
  }
@@ -10,6 +10,11 @@ declare const _default: {
10
10
  type: string;
11
11
  optional: boolean;
12
12
  };
13
+ type: {
14
+ type: string;
15
+ values: string[];
16
+ optional: boolean;
17
+ };
13
18
  id: {
14
19
  type: string;
15
20
  minLength: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "17.0.0",
3
+ "version": "17.1.2",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,7 +33,7 @@
33
33
  "generate:spec": "rm -rf ./src/validator/specs/ && ../json-schema-generator/bin.js --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/adf-schema": "^23.1.0",
36
+ "@atlaskit/adf-schema": "^23.3.0",
37
37
  "@atlaskit/codemod-utils": "^4.1.0",
38
38
  "@babel/runtime": "^7.0.0"
39
39
  },
@@ -43,7 +43,7 @@
43
43
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
44
44
  "jscodeshift": "^0.13.0",
45
45
  "react": "^16.8.0",
46
- "typescript": "4.2.4",
46
+ "typescript": "4.3.5",
47
47
  "wait-for-expect": "^1.2.0"
48
48
  },
49
49
  "techstack": {
package/report.api.md ADDED
@@ -0,0 +1,7 @@
1
+ ## API Report File for "@atlaskit/adf-utils"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+ export {};
7
+ ```