@atlaskit/adf-schema 42.3.0 → 42.3.1
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/layoutSection.js +6 -0
- package/dist/es2019/next-schema/generated/nodeTypes.js +1 -1
- package/dist/es2019/next-schema/nodes/layoutSection.js +6 -0
- package/dist/esm/next-schema/generated/nodeTypes.js +1 -1
- package/dist/esm/next-schema/nodes/layoutSection.js +6 -0
- package/dist/types/next-schema/nodes/layoutSection.d.ts +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -563,7 +563,7 @@ var layoutSectionFull = exports.layoutSectionFull = (0, _createPMSpecFactory.cre
|
|
563
563
|
isolating: true
|
564
564
|
});
|
565
565
|
var layoutSectionWithSingleColumnStage0 = exports.layoutSectionWithSingleColumnStage0 = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
566
|
-
content: '(layoutColumn | unsupportedBlock){1,5}',
|
566
|
+
content: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*',
|
567
567
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
568
568
|
attrs: {
|
569
569
|
columnRuleStyle: {
|
@@ -41,6 +41,12 @@ var layoutSection = exports.layoutSection = (0, _adfSchemaGenerator.adfNode)('la
|
|
41
41
|
}
|
42
42
|
},
|
43
43
|
DANGEROUS_MANUAL_OVERRIDE: {
|
44
|
+
'pm-spec': {
|
45
|
+
content: {
|
46
|
+
value: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*',
|
47
|
+
reason: "The content expression is not correct or redundant around 'unsupportedBlock*'. This case is not supported by the DSL. Also in JSON schema there is no range for the items, so theres a mismatch between JSON and PM."
|
48
|
+
}
|
49
|
+
},
|
44
50
|
'validator-spec': {
|
45
51
|
'props.type': {
|
46
52
|
value: {
|
@@ -557,7 +557,7 @@ export const layoutSectionFull = createPMNodeSpecFactory({
|
|
557
557
|
isolating: true
|
558
558
|
});
|
559
559
|
export const layoutSectionWithSingleColumnStage0 = createPMNodeSpecFactory({
|
560
|
-
content: '(layoutColumn | unsupportedBlock){1,5}',
|
560
|
+
content: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*',
|
561
561
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
562
562
|
attrs: {
|
563
563
|
columnRuleStyle: {
|
@@ -35,6 +35,12 @@ export const layoutSection = adfNode('layoutSection').define({
|
|
35
35
|
}
|
36
36
|
},
|
37
37
|
DANGEROUS_MANUAL_OVERRIDE: {
|
38
|
+
'pm-spec': {
|
39
|
+
content: {
|
40
|
+
value: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*',
|
41
|
+
reason: `The content expression is not correct or redundant around 'unsupportedBlock*'. This case is not supported by the DSL. Also in JSON schema there is no range for the items, so theres a mismatch between JSON and PM.`
|
42
|
+
}
|
43
|
+
},
|
38
44
|
'validator-spec': {
|
39
45
|
'props.type': {
|
40
46
|
value: {
|
@@ -557,7 +557,7 @@ export var layoutSectionFull = createPMNodeSpecFactory({
|
|
557
557
|
isolating: true
|
558
558
|
});
|
559
559
|
export var layoutSectionWithSingleColumnStage0 = createPMNodeSpecFactory({
|
560
|
-
content: '(layoutColumn | unsupportedBlock){1,5}',
|
560
|
+
content: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*',
|
561
561
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
562
562
|
attrs: {
|
563
563
|
columnRuleStyle: {
|
@@ -35,6 +35,12 @@ export var layoutSection = adfNode('layoutSection').define({
|
|
35
35
|
}
|
36
36
|
},
|
37
37
|
DANGEROUS_MANUAL_OVERRIDE: {
|
38
|
+
'pm-spec': {
|
39
|
+
content: {
|
40
|
+
value: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*',
|
41
|
+
reason: "The content expression is not correct or redundant around 'unsupportedBlock*'. This case is not supported by the DSL. Also in JSON schema there is no range for the items, so theres a mismatch between JSON and PM."
|
42
|
+
}
|
43
|
+
},
|
38
44
|
'validator-spec': {
|
39
45
|
'props.type': {
|
40
46
|
value: {
|
@@ -11,6 +11,12 @@ export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/
|
|
11
11
|
};
|
12
12
|
};
|
13
13
|
DANGEROUS_MANUAL_OVERRIDE: {
|
14
|
+
'pm-spec': {
|
15
|
+
content: {
|
16
|
+
value: string;
|
17
|
+
reason: string;
|
18
|
+
};
|
19
|
+
};
|
14
20
|
'validator-spec': {
|
15
21
|
'props.type': {
|
16
22
|
value: {
|
package/package.json
CHANGED