@atlaskit/adf-schema 50.2.1 → 50.2.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 +6 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +1 -1
- package/dist/cjs/next-schema/nodes/task.js +3 -0
- package/dist/es2019/next-schema/generated/nodeTypes.js +1 -1
- package/dist/es2019/next-schema/nodes/task.js +3 -0
- package/dist/esm/next-schema/generated/nodeTypes.js +1 -1
- package/dist/esm/next-schema/nodes/task.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -62,7 +62,7 @@ var blockquoteLegacy = exports.blockquoteLegacy = (0, _createPMSpecFactory.creat
|
|
62
62
|
});
|
63
63
|
var blockTaskItemStage0 = exports.blockTaskItemStage0 = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
64
64
|
content: '(paragraph | extension) (paragraph | extension)*',
|
65
|
-
marks: '
|
65
|
+
marks: 'dataConsumer fragment unsupportedMark unsupportedNodeAttribute',
|
66
66
|
attrs: {
|
67
67
|
localId: {
|
68
68
|
default: ''
|
@@ -40,6 +40,9 @@ taskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
|
|
40
40
|
content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_inlineGroup.inlineGroup, _inlineContentGroup.inlineContentGroup))]
|
41
41
|
}));
|
42
42
|
blockTaskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
|
43
|
+
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
44
|
+
allowAnyChildMark: false,
|
45
|
+
// Override the commonTaskItemProps setting
|
43
46
|
contentMinItems: 1,
|
44
47
|
content: [(0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _extension.extension.use('with_marks')), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _extension.extension.use('with_marks')))],
|
45
48
|
stage0: true
|
@@ -56,7 +56,7 @@ export const blockquoteLegacy = createPMNodeSpecFactory({
|
|
56
56
|
});
|
57
57
|
export const blockTaskItemStage0 = createPMNodeSpecFactory({
|
58
58
|
content: '(paragraph | extension) (paragraph | extension)*',
|
59
|
-
marks: '
|
59
|
+
marks: 'dataConsumer fragment unsupportedMark unsupportedNodeAttribute',
|
60
60
|
attrs: {
|
61
61
|
localId: {
|
62
62
|
default: ''
|
@@ -32,6 +32,9 @@ taskItem.define({
|
|
32
32
|
});
|
33
33
|
blockTaskItem.define({
|
34
34
|
...commonTaskItemProps,
|
35
|
+
marks: [unsupportedMark, unsupportedNodeAttribute],
|
36
|
+
allowAnyChildMark: false,
|
37
|
+
// Override the commonTaskItemProps setting
|
35
38
|
contentMinItems: 1,
|
36
39
|
content: [$or(paragraph.use('with_no_marks'), extension.use('with_marks')), $zeroPlus($or(paragraph.use('with_no_marks'), extension.use('with_marks')))],
|
37
40
|
stage0: true
|
@@ -56,7 +56,7 @@ export var blockquoteLegacy = createPMNodeSpecFactory({
|
|
56
56
|
});
|
57
57
|
export var blockTaskItemStage0 = createPMNodeSpecFactory({
|
58
58
|
content: '(paragraph | extension) (paragraph | extension)*',
|
59
|
-
marks: '
|
59
|
+
marks: 'dataConsumer fragment unsupportedMark unsupportedNodeAttribute',
|
60
60
|
attrs: {
|
61
61
|
localId: {
|
62
62
|
default: ''
|
@@ -33,6 +33,9 @@ taskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
|
|
33
33
|
content: [$zeroPlus($or(inlineGroup, inlineContentGroup))]
|
34
34
|
}));
|
35
35
|
blockTaskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
|
36
|
+
marks: [unsupportedMark, unsupportedNodeAttribute],
|
37
|
+
allowAnyChildMark: false,
|
38
|
+
// Override the commonTaskItemProps setting
|
36
39
|
contentMinItems: 1,
|
37
40
|
content: [$or(paragraph.use('with_no_marks'), extension.use('with_marks')), $zeroPlus($or(paragraph.use('with_no_marks'), extension.use('with_marks')))],
|
38
41
|
stage0: true
|
package/package.json
CHANGED