@atlaskit/adf-utils 19.0.18 → 19.0.19
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 +6 -0
- package/dist/cjs/validator/specs/block_content.js +1 -1
- package/dist/cjs/validator/specs/doc.js +1 -1
- package/dist/cjs/validator/specs/extensionFrame.js +1 -1
- package/dist/cjs/validator/specs/index.js +5 -5
- package/dist/cjs/validator/specs/listItem.js +1 -1
- package/dist/cjs/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/cjs/validator/specs/panel.js +1 -1
- package/dist/cjs/validator/specs/tableCell_content.js +1 -1
- package/dist/es2019/validator/specs/block_content.js +1 -1
- package/dist/es2019/validator/specs/doc.js +1 -1
- package/dist/es2019/validator/specs/extensionFrame.js +1 -1
- package/dist/es2019/validator/specs/index.js +5 -5
- package/dist/es2019/validator/specs/listItem.js +1 -1
- package/dist/es2019/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/es2019/validator/specs/panel.js +1 -1
- package/dist/es2019/validator/specs/tableCell_content.js +1 -1
- package/dist/esm/validator/specs/block_content.js +1 -1
- package/dist/esm/validator/specs/doc.js +1 -1
- package/dist/esm/validator/specs/extensionFrame.js +1 -1
- package/dist/esm/validator/specs/index.js +5 -5
- package/dist/esm/validator/specs/listItem.js +1 -1
- package/dist/esm/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/esm/validator/specs/panel.js +1 -1
- package/dist/esm/validator/specs/tableCell_content.js +1 -1
- package/dist/types/validator/specs/index.d.ts +5 -5
- package/dist/types-ts4.5/validator/specs/index.d.ts +5 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/adf-utils
|
|
2
2
|
|
|
3
|
+
## 19.0.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031) [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) - ED-21609 Update adf-schema to 35.3.0
|
|
8
|
+
|
|
3
9
|
## 19.0.18
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default = exports.default = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
7
|
+
var _default = exports.default = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
|
@@ -16,7 +16,7 @@ var _default = exports.default = {
|
|
|
16
16
|
},
|
|
17
17
|
content: {
|
|
18
18
|
type: 'array',
|
|
19
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
19
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column', 'multiBodiedExtension']],
|
|
20
20
|
allowUnsupportedBlock: true
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -12,7 +12,7 @@ var _default = exports.default = {
|
|
|
12
12
|
},
|
|
13
13
|
content: {
|
|
14
14
|
type: 'array',
|
|
15
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', '
|
|
15
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
16
16
|
minItems: 1
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -559,6 +559,8 @@ var _mediaSingle_full = _interopRequireDefault(require("./mediaSingle_full"));
|
|
|
559
559
|
var _codeBlock = _interopRequireDefault(require("./codeBlock"));
|
|
560
560
|
var _codeBlock_with_no_marks = _interopRequireDefault(require("./codeBlock_with_no_marks"));
|
|
561
561
|
var _codeBlock_with_marks = _interopRequireDefault(require("./codeBlock_with_marks"));
|
|
562
|
+
var _taskItem = _interopRequireDefault(require("./taskItem"));
|
|
563
|
+
var _taskList = _interopRequireDefault(require("./taskList"));
|
|
562
564
|
var _listItem = _interopRequireDefault(require("./listItem"));
|
|
563
565
|
var _bulletList = _interopRequireDefault(require("./bulletList"));
|
|
564
566
|
var _orderedList = _interopRequireDefault(require("./orderedList"));
|
|
@@ -566,14 +568,12 @@ var _heading = _interopRequireDefault(require("./heading"));
|
|
|
566
568
|
var _heading_with_no_marks = _interopRequireDefault(require("./heading_with_no_marks"));
|
|
567
569
|
var _heading_with_alignment = _interopRequireDefault(require("./heading_with_alignment"));
|
|
568
570
|
var _heading_with_indentation = _interopRequireDefault(require("./heading_with_indentation"));
|
|
569
|
-
var _panel = _interopRequireDefault(require("./panel"));
|
|
570
|
-
var _blockquote = _interopRequireDefault(require("./blockquote"));
|
|
571
|
-
var _rule = _interopRequireDefault(require("./rule"));
|
|
572
571
|
var _mediaGroup = _interopRequireDefault(require("./mediaGroup"));
|
|
573
572
|
var _decisionItem = _interopRequireDefault(require("./decisionItem"));
|
|
574
573
|
var _decisionList = _interopRequireDefault(require("./decisionList"));
|
|
575
|
-
var
|
|
576
|
-
var
|
|
574
|
+
var _rule = _interopRequireDefault(require("./rule"));
|
|
575
|
+
var _panel = _interopRequireDefault(require("./panel"));
|
|
576
|
+
var _blockquote = _interopRequireDefault(require("./blockquote"));
|
|
577
577
|
var _extension = _interopRequireDefault(require("./extension"));
|
|
578
578
|
var _extension_with_marks = _interopRequireDefault(require("./extension_with_marks"));
|
|
579
579
|
var _embedCard = _interopRequireDefault(require("./embedCard"));
|
|
@@ -12,7 +12,7 @@ var _default = exports.default = {
|
|
|
12
12
|
},
|
|
13
13
|
content: {
|
|
14
14
|
type: 'array',
|
|
15
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList']],
|
|
15
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList']],
|
|
16
16
|
isTupleLike: true,
|
|
17
17
|
minItems: 1,
|
|
18
18
|
allowUnsupportedBlock: true
|
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default = exports.default = ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', '
|
|
7
|
+
var _default = exports.default = ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table'];
|
|
@@ -36,7 +36,7 @@ var _default = exports.default = {
|
|
|
36
36
|
},
|
|
37
37
|
content: {
|
|
38
38
|
type: 'array',
|
|
39
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks']],
|
|
39
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule']],
|
|
40
40
|
minItems: 1,
|
|
41
41
|
allowUnsupportedBlock: true
|
|
42
42
|
}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _default = exports.default = {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
9
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'nestedExpand_with_no_marks']],
|
|
10
10
|
minItems: 1,
|
|
11
11
|
allowUnsupportedBlock: true
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
},
|
|
11
11
|
content: {
|
|
12
12
|
type: 'array',
|
|
13
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
13
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column', 'multiBodiedExtension']],
|
|
14
14
|
allowUnsupportedBlock: true
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
},
|
|
7
7
|
content: {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', '
|
|
9
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
10
10
|
minItems: 1
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -44,6 +44,8 @@ export { default as mediaSingle_full } from './mediaSingle_full';
|
|
|
44
44
|
export { default as codeBlock } from './codeBlock';
|
|
45
45
|
export { default as codeBlock_with_no_marks } from './codeBlock_with_no_marks';
|
|
46
46
|
export { default as codeBlock_with_marks } from './codeBlock_with_marks';
|
|
47
|
+
export { default as taskItem } from './taskItem';
|
|
48
|
+
export { default as taskList } from './taskList';
|
|
47
49
|
export { default as listItem } from './listItem';
|
|
48
50
|
export { default as bulletList } from './bulletList';
|
|
49
51
|
export { default as orderedList } from './orderedList';
|
|
@@ -51,14 +53,12 @@ export { default as heading } from './heading';
|
|
|
51
53
|
export { default as heading_with_no_marks } from './heading_with_no_marks';
|
|
52
54
|
export { default as heading_with_alignment } from './heading_with_alignment';
|
|
53
55
|
export { default as heading_with_indentation } from './heading_with_indentation';
|
|
54
|
-
export { default as panel } from './panel';
|
|
55
|
-
export { default as blockquote } from './blockquote';
|
|
56
|
-
export { default as rule } from './rule';
|
|
57
56
|
export { default as mediaGroup } from './mediaGroup';
|
|
58
57
|
export { default as decisionItem } from './decisionItem';
|
|
59
58
|
export { default as decisionList } from './decisionList';
|
|
60
|
-
export { default as
|
|
61
|
-
export { default as
|
|
59
|
+
export { default as rule } from './rule';
|
|
60
|
+
export { default as panel } from './panel';
|
|
61
|
+
export { default as blockquote } from './blockquote';
|
|
62
62
|
export { default as extension } from './extension';
|
|
63
63
|
export { default as extension_with_marks } from './extension_with_marks';
|
|
64
64
|
export { default as embedCard } from './embedCard';
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
},
|
|
7
7
|
content: {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList']],
|
|
9
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList']],
|
|
10
10
|
isTupleLike: true,
|
|
11
11
|
minItems: 1,
|
|
12
12
|
allowUnsupportedBlock: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table'];
|
|
@@ -30,7 +30,7 @@ export default {
|
|
|
30
30
|
},
|
|
31
31
|
content: {
|
|
32
32
|
type: 'array',
|
|
33
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks']],
|
|
33
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule']],
|
|
34
34
|
minItems: 1,
|
|
35
35
|
allowUnsupportedBlock: true
|
|
36
36
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
3
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'nestedExpand_with_no_marks']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
},
|
|
11
11
|
content: {
|
|
12
12
|
type: 'array',
|
|
13
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
13
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column', 'multiBodiedExtension']],
|
|
14
14
|
allowUnsupportedBlock: true
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
},
|
|
7
7
|
content: {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', '
|
|
9
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
10
10
|
minItems: 1
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -44,6 +44,8 @@ export { default as mediaSingle_full } from './mediaSingle_full';
|
|
|
44
44
|
export { default as codeBlock } from './codeBlock';
|
|
45
45
|
export { default as codeBlock_with_no_marks } from './codeBlock_with_no_marks';
|
|
46
46
|
export { default as codeBlock_with_marks } from './codeBlock_with_marks';
|
|
47
|
+
export { default as taskItem } from './taskItem';
|
|
48
|
+
export { default as taskList } from './taskList';
|
|
47
49
|
export { default as listItem } from './listItem';
|
|
48
50
|
export { default as bulletList } from './bulletList';
|
|
49
51
|
export { default as orderedList } from './orderedList';
|
|
@@ -51,14 +53,12 @@ export { default as heading } from './heading';
|
|
|
51
53
|
export { default as heading_with_no_marks } from './heading_with_no_marks';
|
|
52
54
|
export { default as heading_with_alignment } from './heading_with_alignment';
|
|
53
55
|
export { default as heading_with_indentation } from './heading_with_indentation';
|
|
54
|
-
export { default as panel } from './panel';
|
|
55
|
-
export { default as blockquote } from './blockquote';
|
|
56
|
-
export { default as rule } from './rule';
|
|
57
56
|
export { default as mediaGroup } from './mediaGroup';
|
|
58
57
|
export { default as decisionItem } from './decisionItem';
|
|
59
58
|
export { default as decisionList } from './decisionList';
|
|
60
|
-
export { default as
|
|
61
|
-
export { default as
|
|
59
|
+
export { default as rule } from './rule';
|
|
60
|
+
export { default as panel } from './panel';
|
|
61
|
+
export { default as blockquote } from './blockquote';
|
|
62
62
|
export { default as extension } from './extension';
|
|
63
63
|
export { default as extension_with_marks } from './extension_with_marks';
|
|
64
64
|
export { default as embedCard } from './embedCard';
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
},
|
|
7
7
|
content: {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList']],
|
|
9
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList']],
|
|
10
10
|
isTupleLike: true,
|
|
11
11
|
minItems: 1,
|
|
12
12
|
allowUnsupportedBlock: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table'];
|
|
@@ -30,7 +30,7 @@ export default {
|
|
|
30
30
|
},
|
|
31
31
|
content: {
|
|
32
32
|
type: 'array',
|
|
33
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks']],
|
|
33
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule']],
|
|
34
34
|
minItems: 1,
|
|
35
35
|
allowUnsupportedBlock: true
|
|
36
36
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', '
|
|
3
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'nestedExpand_with_no_marks']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
|
@@ -43,6 +43,8 @@ export { default as mediaSingle_full } from './mediaSingle_full';
|
|
|
43
43
|
export { default as codeBlock } from './codeBlock';
|
|
44
44
|
export { default as codeBlock_with_no_marks } from './codeBlock_with_no_marks';
|
|
45
45
|
export { default as codeBlock_with_marks } from './codeBlock_with_marks';
|
|
46
|
+
export { default as taskItem } from './taskItem';
|
|
47
|
+
export { default as taskList } from './taskList';
|
|
46
48
|
export { default as listItem } from './listItem';
|
|
47
49
|
export { default as bulletList } from './bulletList';
|
|
48
50
|
export { default as orderedList } from './orderedList';
|
|
@@ -50,14 +52,12 @@ export { default as heading } from './heading';
|
|
|
50
52
|
export { default as heading_with_no_marks } from './heading_with_no_marks';
|
|
51
53
|
export { default as heading_with_alignment } from './heading_with_alignment';
|
|
52
54
|
export { default as heading_with_indentation } from './heading_with_indentation';
|
|
53
|
-
export { default as panel } from './panel';
|
|
54
|
-
export { default as blockquote } from './blockquote';
|
|
55
|
-
export { default as rule } from './rule';
|
|
56
55
|
export { default as mediaGroup } from './mediaGroup';
|
|
57
56
|
export { default as decisionItem } from './decisionItem';
|
|
58
57
|
export { default as decisionList } from './decisionList';
|
|
59
|
-
export { default as
|
|
60
|
-
export { default as
|
|
58
|
+
export { default as rule } from './rule';
|
|
59
|
+
export { default as panel } from './panel';
|
|
60
|
+
export { default as blockquote } from './blockquote';
|
|
61
61
|
export { default as extension } from './extension';
|
|
62
62
|
export { default as extension_with_marks } from './extension_with_marks';
|
|
63
63
|
export { default as embedCard } from './embedCard';
|
|
@@ -43,6 +43,8 @@ export { default as mediaSingle_full } from './mediaSingle_full';
|
|
|
43
43
|
export { default as codeBlock } from './codeBlock';
|
|
44
44
|
export { default as codeBlock_with_no_marks } from './codeBlock_with_no_marks';
|
|
45
45
|
export { default as codeBlock_with_marks } from './codeBlock_with_marks';
|
|
46
|
+
export { default as taskItem } from './taskItem';
|
|
47
|
+
export { default as taskList } from './taskList';
|
|
46
48
|
export { default as listItem } from './listItem';
|
|
47
49
|
export { default as bulletList } from './bulletList';
|
|
48
50
|
export { default as orderedList } from './orderedList';
|
|
@@ -50,14 +52,12 @@ export { default as heading } from './heading';
|
|
|
50
52
|
export { default as heading_with_no_marks } from './heading_with_no_marks';
|
|
51
53
|
export { default as heading_with_alignment } from './heading_with_alignment';
|
|
52
54
|
export { default as heading_with_indentation } from './heading_with_indentation';
|
|
53
|
-
export { default as panel } from './panel';
|
|
54
|
-
export { default as blockquote } from './blockquote';
|
|
55
|
-
export { default as rule } from './rule';
|
|
56
55
|
export { default as mediaGroup } from './mediaGroup';
|
|
57
56
|
export { default as decisionItem } from './decisionItem';
|
|
58
57
|
export { default as decisionList } from './decisionList';
|
|
59
|
-
export { default as
|
|
60
|
-
export { default as
|
|
58
|
+
export { default as rule } from './rule';
|
|
59
|
+
export { default as panel } from './panel';
|
|
60
|
+
export { default as blockquote } from './blockquote';
|
|
61
61
|
export { default as extension } from './extension';
|
|
62
62
|
export { default as extension_with_marks } from './extension_with_marks';
|
|
63
63
|
export { default as embedCard } from './embedCard';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-utils",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.19",
|
|
4
4
|
"description": "Set of utilities to traverse, modify and create ADF documents.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"generate:spec": "rm -rf ./src/validator/specs/ && yarn json-schema-generator --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/adf-schema": "^35.
|
|
44
|
+
"@atlaskit/adf-schema": "^35.3.0",
|
|
45
45
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0"
|
|
47
47
|
},
|