@atlaskit/adf-utils 14.4.1 → 15.0.0
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 +15 -0
- package/dist/cjs/validator/specs/block_content.js +1 -1
- package/dist/cjs/validator/specs/bodiedExtension_with_marks.js +1 -1
- package/dist/cjs/validator/specs/doc.js +1 -1
- package/dist/cjs/validator/specs/extension_with_marks.js +1 -1
- package/dist/cjs/validator/specs/index.js +0 -24
- package/dist/cjs/validator/specs/inline.js +1 -1
- package/dist/cjs/validator/specs/inlineExtension_with_marks.js +1 -1
- package/dist/cjs/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/cjs/validator/specs/panel.js +8 -0
- package/dist/cjs/validator/specs/table.js +5 -0
- package/dist/cjs/validator/specs/tableCell_content.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/validator/specs/block_content.js +1 -1
- package/dist/es2019/validator/specs/bodiedExtension_with_marks.js +1 -1
- package/dist/es2019/validator/specs/doc.js +1 -1
- package/dist/es2019/validator/specs/extension_with_marks.js +1 -1
- package/dist/es2019/validator/specs/index.js +0 -3
- package/dist/es2019/validator/specs/inline.js +1 -1
- package/dist/es2019/validator/specs/inlineExtension_with_marks.js +1 -1
- package/dist/es2019/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/es2019/validator/specs/panel.js +8 -0
- package/dist/es2019/validator/specs/table.js +5 -0
- package/dist/es2019/validator/specs/tableCell_content.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/validator/specs/block_content.js +1 -1
- package/dist/esm/validator/specs/bodiedExtension_with_marks.js +1 -1
- package/dist/esm/validator/specs/doc.js +1 -1
- package/dist/esm/validator/specs/extension_with_marks.js +1 -1
- package/dist/esm/validator/specs/index.js +0 -3
- package/dist/esm/validator/specs/inline.js +1 -1
- package/dist/esm/validator/specs/inlineExtension_with_marks.js +1 -1
- package/dist/esm/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/esm/validator/specs/panel.js +8 -0
- package/dist/esm/validator/specs/table.js +5 -0
- package/dist/esm/validator/specs/tableCell_content.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/validator/specs/bodiedExtension_with_marks.d.ts +1 -1
- package/dist/types/validator/specs/extension_with_marks.d.ts +1 -1
- package/dist/types/validator/specs/index.d.ts +0 -3
- package/dist/types/validator/specs/inlineExtension_with_marks.d.ts +1 -1
- package/dist/types/validator/specs/panel.d.ts +8 -0
- package/dist/types/validator/specs/table.d.ts +5 -0
- package/package.json +2 -2
- package/dist/cjs/validator/specs/bodiedExtension_with_experimental_marks.js +0 -16
- package/dist/cjs/validator/specs/extension_with_experimental_marks.js +0 -16
- package/dist/cjs/validator/specs/inlineExtension_with_experimental_marks.js +0 -16
- package/dist/es2019/validator/specs/bodiedExtension_with_experimental_marks.js +0 -9
- package/dist/es2019/validator/specs/extension_with_experimental_marks.js +0 -9
- package/dist/es2019/validator/specs/inlineExtension_with_experimental_marks.js +0 -9
- package/dist/esm/validator/specs/bodiedExtension_with_experimental_marks.js +0 -9
- package/dist/esm/validator/specs/extension_with_experimental_marks.js +0 -9
- package/dist/esm/validator/specs/inlineExtension_with_experimental_marks.js +0 -9
- package/dist/types/validator/specs/bodiedExtension_with_experimental_marks.d.ts +0 -10
- package/dist/types/validator/specs/extension_with_experimental_marks.d.ts +0 -10
- package/dist/types/validator/specs/inlineExtension_with_experimental_marks.d.ts +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/adf-utils
|
|
2
2
|
|
|
3
|
+
## 15.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`5af69bfe9be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5af69bfe9be) - CETI-241 - Added additional panel ADF attributes (panelIconId, panelIconText) to uniquely identify custom panel emojis. The change has been categorised as major since it is a change to the full-schema ADF. However, the custom panel feature is behind a feature flag, has not yet been released to production, and is only currently planned for release to Confluence. See ADF change #61 for further details.
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - - Allow `table` nodes to have `fragment` marks
|
|
12
|
+
- Promote `fragment` mark to "full" ADF schema
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 14.4.1
|
|
4
19
|
|
|
5
20
|
### Patch 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', '
|
|
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'];
|
|
8
8
|
exports.default = _default;
|
|
@@ -16,7 +16,7 @@ var _default = {
|
|
|
16
16
|
},
|
|
17
17
|
content: {
|
|
18
18
|
type: 'array',
|
|
19
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', '
|
|
19
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'codeBlock_with_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', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column']],
|
|
20
20
|
allowUnsupportedBlock: true
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -47,12 +47,6 @@ Object.defineProperty(exports, "bodiedExtension", {
|
|
|
47
47
|
return _bodiedExtension.default;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
|
-
Object.defineProperty(exports, "bodiedExtension_with_experimental_marks", {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function get() {
|
|
53
|
-
return _bodiedExtension_with_experimental_marks.default;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
50
|
Object.defineProperty(exports, "bodiedExtension_with_marks", {
|
|
57
51
|
enumerable: true,
|
|
58
52
|
get: function get() {
|
|
@@ -179,12 +173,6 @@ Object.defineProperty(exports, "extension", {
|
|
|
179
173
|
return _extension.default;
|
|
180
174
|
}
|
|
181
175
|
});
|
|
182
|
-
Object.defineProperty(exports, "extension_with_experimental_marks", {
|
|
183
|
-
enumerable: true,
|
|
184
|
-
get: function get() {
|
|
185
|
-
return _extension_with_experimental_marks.default;
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
176
|
Object.defineProperty(exports, "extension_with_marks", {
|
|
189
177
|
enumerable: true,
|
|
190
178
|
get: function get() {
|
|
@@ -257,12 +245,6 @@ Object.defineProperty(exports, "inlineExtension", {
|
|
|
257
245
|
return _inlineExtension.default;
|
|
258
246
|
}
|
|
259
247
|
});
|
|
260
|
-
Object.defineProperty(exports, "inlineExtension_with_experimental_marks", {
|
|
261
|
-
enumerable: true,
|
|
262
|
-
get: function get() {
|
|
263
|
-
return _inlineExtension_with_experimental_marks.default;
|
|
264
|
-
}
|
|
265
|
-
});
|
|
266
248
|
Object.defineProperty(exports, "inlineExtension_with_marks", {
|
|
267
249
|
enumerable: true,
|
|
268
250
|
get: function get() {
|
|
@@ -556,8 +538,6 @@ var _inlineExtension = _interopRequireDefault(require("./inlineExtension"));
|
|
|
556
538
|
|
|
557
539
|
var _inlineExtension_with_marks = _interopRequireDefault(require("./inlineExtension_with_marks"));
|
|
558
540
|
|
|
559
|
-
var _inlineExtension_with_experimental_marks = _interopRequireDefault(require("./inlineExtension_with_experimental_marks"));
|
|
560
|
-
|
|
561
541
|
var _date = _interopRequireDefault(require("./date"));
|
|
562
542
|
|
|
563
543
|
var _placeholder = _interopRequireDefault(require("./placeholder"));
|
|
@@ -640,8 +620,6 @@ var _extension = _interopRequireDefault(require("./extension"));
|
|
|
640
620
|
|
|
641
621
|
var _extension_with_marks = _interopRequireDefault(require("./extension_with_marks"));
|
|
642
622
|
|
|
643
|
-
var _extension_with_experimental_marks = _interopRequireDefault(require("./extension_with_experimental_marks"));
|
|
644
|
-
|
|
645
623
|
var _embedCard = _interopRequireDefault(require("./embedCard"));
|
|
646
624
|
|
|
647
625
|
var _nestedExpand_content = _interopRequireDefault(require("./nestedExpand_content"));
|
|
@@ -672,8 +650,6 @@ var _bodiedExtension = _interopRequireDefault(require("./bodiedExtension"));
|
|
|
672
650
|
|
|
673
651
|
var _bodiedExtension_with_marks = _interopRequireDefault(require("./bodiedExtension_with_marks"));
|
|
674
652
|
|
|
675
|
-
var _bodiedExtension_with_experimental_marks = _interopRequireDefault(require("./bodiedExtension_with_experimental_marks"));
|
|
676
|
-
|
|
677
653
|
var _block_content = _interopRequireDefault(require("./block_content"));
|
|
678
654
|
|
|
679
655
|
var _layoutColumn = _interopRequireDefault(require("./layoutColumn"));
|
|
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default = ['hardBreak', 'mention', 'emoji', 'inlineExtension_with_marks', '
|
|
7
|
+
var _default = ['hardBreak', 'mention', 'emoji', 'inlineExtension_with_marks', 'date', 'placeholder', 'inlineCard', 'status', 'mediaInline', 'formatted_text_inline', 'code_inline'];
|
|
8
8
|
exports.default = _default;
|
|
@@ -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', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', '
|
|
7
|
+
var _default = ['blockCard', 'paragraph_with_no_marks', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table'];
|
|
8
8
|
exports.default = _default;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _default = {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['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', '
|
|
9
|
+
items: [['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', 'nestedExpand_with_no_marks']],
|
|
10
10
|
minItems: 1,
|
|
11
11
|
allowUnsupportedBlock: true
|
|
12
12
|
};
|
package/dist/cjs/version.json
CHANGED
|
@@ -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', '
|
|
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'];
|
|
@@ -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', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', '
|
|
13
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'codeBlock_with_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', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column']],
|
|
14
14
|
allowUnsupportedBlock: true
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -19,7 +19,6 @@ export { default as mention } from './mention';
|
|
|
19
19
|
export { default as emoji } from './emoji';
|
|
20
20
|
export { default as inlineExtension } from './inlineExtension';
|
|
21
21
|
export { default as inlineExtension_with_marks } from './inlineExtension_with_marks';
|
|
22
|
-
export { default as inlineExtension_with_experimental_marks } from './inlineExtension_with_experimental_marks';
|
|
23
22
|
export { default as date } from './date';
|
|
24
23
|
export { default as placeholder } from './placeholder';
|
|
25
24
|
export { default as blockCard } from './blockCard';
|
|
@@ -61,7 +60,6 @@ export { default as taskItem } from './taskItem';
|
|
|
61
60
|
export { default as taskList } from './taskList';
|
|
62
61
|
export { default as extension } from './extension';
|
|
63
62
|
export { default as extension_with_marks } from './extension_with_marks';
|
|
64
|
-
export { default as extension_with_experimental_marks } from './extension_with_experimental_marks';
|
|
65
63
|
export { default as embedCard } from './embedCard';
|
|
66
64
|
export { default as nestedExpand_content } from './nestedExpand_content';
|
|
67
65
|
export { default as nestedExpand } from './nestedExpand';
|
|
@@ -77,7 +75,6 @@ export { default as expand_with_no_mark } from './expand_with_no_mark';
|
|
|
77
75
|
export { default as expand_with_breakout_mark } from './expand_with_breakout_mark';
|
|
78
76
|
export { default as bodiedExtension } from './bodiedExtension';
|
|
79
77
|
export { default as bodiedExtension_with_marks } from './bodiedExtension_with_marks';
|
|
80
|
-
export { default as bodiedExtension_with_experimental_marks } from './bodiedExtension_with_experimental_marks';
|
|
81
78
|
export { default as block_content } from './block_content';
|
|
82
79
|
export { default as layoutColumn } from './layoutColumn';
|
|
83
80
|
export { default as layoutSection } from './layoutSection';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['hardBreak', 'mention', 'emoji', 'inlineExtension_with_marks', '
|
|
1
|
+
export default ['hardBreak', 'mention', 'emoji', 'inlineExtension_with_marks', 'date', 'placeholder', 'inlineCard', 'status', 'mediaInline', 'formatted_text_inline', 'code_inline'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['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', '
|
|
3
|
+
items: [['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', 'nestedExpand_with_no_marks']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
package/dist/es2019/version.json
CHANGED
|
@@ -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', '
|
|
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'];
|
|
@@ -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', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', '
|
|
13
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'codeBlock_with_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', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column']],
|
|
14
14
|
allowUnsupportedBlock: true
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -19,7 +19,6 @@ export { default as mention } from './mention';
|
|
|
19
19
|
export { default as emoji } from './emoji';
|
|
20
20
|
export { default as inlineExtension } from './inlineExtension';
|
|
21
21
|
export { default as inlineExtension_with_marks } from './inlineExtension_with_marks';
|
|
22
|
-
export { default as inlineExtension_with_experimental_marks } from './inlineExtension_with_experimental_marks';
|
|
23
22
|
export { default as date } from './date';
|
|
24
23
|
export { default as placeholder } from './placeholder';
|
|
25
24
|
export { default as blockCard } from './blockCard';
|
|
@@ -61,7 +60,6 @@ export { default as taskItem } from './taskItem';
|
|
|
61
60
|
export { default as taskList } from './taskList';
|
|
62
61
|
export { default as extension } from './extension';
|
|
63
62
|
export { default as extension_with_marks } from './extension_with_marks';
|
|
64
|
-
export { default as extension_with_experimental_marks } from './extension_with_experimental_marks';
|
|
65
63
|
export { default as embedCard } from './embedCard';
|
|
66
64
|
export { default as nestedExpand_content } from './nestedExpand_content';
|
|
67
65
|
export { default as nestedExpand } from './nestedExpand';
|
|
@@ -77,7 +75,6 @@ export { default as expand_with_no_mark } from './expand_with_no_mark';
|
|
|
77
75
|
export { default as expand_with_breakout_mark } from './expand_with_breakout_mark';
|
|
78
76
|
export { default as bodiedExtension } from './bodiedExtension';
|
|
79
77
|
export { default as bodiedExtension_with_marks } from './bodiedExtension_with_marks';
|
|
80
|
-
export { default as bodiedExtension_with_experimental_marks } from './bodiedExtension_with_experimental_marks';
|
|
81
78
|
export { default as block_content } from './block_content';
|
|
82
79
|
export { default as layoutColumn } from './layoutColumn';
|
|
83
80
|
export { default as layoutSection } from './layoutSection';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['hardBreak', 'mention', 'emoji', 'inlineExtension_with_marks', '
|
|
1
|
+
export default ['hardBreak', 'mention', 'emoji', 'inlineExtension_with_marks', 'date', 'placeholder', 'inlineCard', 'status', 'mediaInline', 'formatted_text_inline', 'code_inline'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'bulletList', 'mediaSingle_full', 'mediaSingle_caption', 'codeBlock_with_no_marks', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['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', '
|
|
3
|
+
items: [['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', 'nestedExpand_with_no_marks']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
package/dist/esm/version.json
CHANGED
|
@@ -18,7 +18,6 @@ export { default as mention } from './mention';
|
|
|
18
18
|
export { default as emoji } from './emoji';
|
|
19
19
|
export { default as inlineExtension } from './inlineExtension';
|
|
20
20
|
export { default as inlineExtension_with_marks } from './inlineExtension_with_marks';
|
|
21
|
-
export { default as inlineExtension_with_experimental_marks } from './inlineExtension_with_experimental_marks';
|
|
22
21
|
export { default as date } from './date';
|
|
23
22
|
export { default as placeholder } from './placeholder';
|
|
24
23
|
export { default as blockCard } from './blockCard';
|
|
@@ -60,7 +59,6 @@ export { default as taskItem } from './taskItem';
|
|
|
60
59
|
export { default as taskList } from './taskList';
|
|
61
60
|
export { default as extension } from './extension';
|
|
62
61
|
export { default as extension_with_marks } from './extension_with_marks';
|
|
63
|
-
export { default as extension_with_experimental_marks } from './extension_with_experimental_marks';
|
|
64
62
|
export { default as embedCard } from './embedCard';
|
|
65
63
|
export { default as nestedExpand_content } from './nestedExpand_content';
|
|
66
64
|
export { default as nestedExpand } from './nestedExpand';
|
|
@@ -76,7 +74,6 @@ export { default as expand_with_no_mark } from './expand_with_no_mark';
|
|
|
76
74
|
export { default as expand_with_breakout_mark } from './expand_with_breakout_mark';
|
|
77
75
|
export { default as bodiedExtension } from './bodiedExtension';
|
|
78
76
|
export { default as bodiedExtension_with_marks } from './bodiedExtension_with_marks';
|
|
79
|
-
export { default as bodiedExtension_with_experimental_marks } from './bodiedExtension_with_experimental_marks';
|
|
80
77
|
export { default as block_content } from './block_content';
|
|
81
78
|
export { default as layoutColumn } from './layoutColumn';
|
|
82
79
|
export { default as layoutSection } from './layoutSection';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "Set of utilities to traverse, modify and create ADF documents.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"generate:spec": "rm -rf ./src/validator/specs/ && ../json-schema-generator/bin.js --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/adf-schema": "^
|
|
27
|
+
"@atlaskit/adf-schema": "^21.0.0",
|
|
28
28
|
"@babel/runtime": "^7.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _default = ['bodiedExtension', {
|
|
8
|
-
props: {
|
|
9
|
-
marks: {
|
|
10
|
-
type: 'array',
|
|
11
|
-
items: ['fragment'],
|
|
12
|
-
optional: true
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}];
|
|
16
|
-
exports.default = _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _default = ['extension', {
|
|
8
|
-
props: {
|
|
9
|
-
marks: {
|
|
10
|
-
type: 'array',
|
|
11
|
-
items: ['fragment'],
|
|
12
|
-
optional: true
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}];
|
|
16
|
-
exports.default = _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _default = ['inlineExtension', {
|
|
8
|
-
props: {
|
|
9
|
-
marks: {
|
|
10
|
-
type: 'array',
|
|
11
|
-
items: ['fragment'],
|
|
12
|
-
optional: true
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}];
|
|
16
|
-
exports.default = _default;
|