@atlaskit/adf-schema
Advanced tools
Comparing version 42.3.1 to 42.4.0
@@ -400,2 +400,7 @@ "use strict"; | ||
inline: true, | ||
attrs: { | ||
text: { | ||
default: '\n' | ||
} | ||
}, | ||
selectable: false, | ||
@@ -402,0 +407,0 @@ linebreakReplacement: true |
@@ -33,3 +33,3 @@ "use strict"; | ||
stage0: true, | ||
content: [(0, _adfSchemaGenerator.$range)(1, 5, (0, _adfSchemaGenerator.$or)(_layoutColumn.layoutColumn, _unsupportedBlock.unsupportedBlock))], | ||
content: [(0, _adfSchemaGenerator.$range)(1, 5, (0, _adfSchemaGenerator.$or)(_layoutColumn.layoutColumn, _unsupportedBlock.unsupportedBlock)), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_unsupportedBlock.unsupportedBlock))], | ||
ignore: [], | ||
@@ -45,8 +45,2 @@ attrs: { | ||
DANGEROUS_MANUAL_OVERRIDE: { | ||
'pm-spec': { | ||
content: { | ||
value: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*', | ||
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." | ||
} | ||
}, | ||
'validator-spec': { | ||
@@ -53,0 +47,0 @@ 'props.type': { |
@@ -394,2 +394,7 @@ /** | ||
inline: true, | ||
attrs: { | ||
text: { | ||
default: '\n' | ||
} | ||
}, | ||
selectable: false, | ||
@@ -396,0 +401,0 @@ linebreakReplacement: true |
@@ -1,2 +0,2 @@ | ||
import { $or, $range, adfNode } from '@atlaskit/adf-schema-generator'; | ||
import { $or, $range, $zeroPlus, adfNode } from '@atlaskit/adf-schema-generator'; | ||
import { breakout } from '../marks/breakout'; | ||
@@ -27,3 +27,3 @@ import { unsupportedMark } from '../marks/unsupportedMark'; | ||
stage0: true, | ||
content: [$range(1, 5, $or(layoutColumn, unsupportedBlock))], | ||
content: [$range(1, 5, $or(layoutColumn, unsupportedBlock)), $zeroPlus($or(unsupportedBlock))], | ||
ignore: [], | ||
@@ -39,8 +39,2 @@ attrs: { | ||
DANGEROUS_MANUAL_OVERRIDE: { | ||
'pm-spec': { | ||
content: { | ||
value: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*', | ||
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.` | ||
} | ||
}, | ||
'validator-spec': { | ||
@@ -47,0 +41,0 @@ 'props.type': { |
@@ -394,2 +394,7 @@ /** | ||
inline: true, | ||
attrs: { | ||
text: { | ||
default: '\n' | ||
} | ||
}, | ||
selectable: false, | ||
@@ -396,0 +401,0 @@ linebreakReplacement: true |
@@ -1,2 +0,2 @@ | ||
import { $or, $range, adfNode } from '@atlaskit/adf-schema-generator'; | ||
import { $or, $range, $zeroPlus, adfNode } from '@atlaskit/adf-schema-generator'; | ||
import { breakout } from '../marks/breakout'; | ||
@@ -27,3 +27,3 @@ import { unsupportedMark } from '../marks/unsupportedMark'; | ||
stage0: true, | ||
content: [$range(1, 5, $or(layoutColumn, unsupportedBlock))], | ||
content: [$range(1, 5, $or(layoutColumn, unsupportedBlock)), $zeroPlus($or(unsupportedBlock))], | ||
ignore: [], | ||
@@ -39,8 +39,2 @@ attrs: { | ||
DANGEROUS_MANUAL_OVERRIDE: { | ||
'pm-spec': { | ||
content: { | ||
value: '(layoutColumn | unsupportedBlock){1,5} unsupportedBlock*', | ||
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." | ||
} | ||
}, | ||
'validator-spec': { | ||
@@ -47,0 +41,0 @@ 'props.type': { |
@@ -422,3 +422,3 @@ /** | ||
type: 'layoutSection'; | ||
content: Array<LayoutColumnDefinition | UnsupportedBlockDefinition>; | ||
content: Array<LayoutColumnDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>; | ||
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>; | ||
@@ -425,0 +425,0 @@ attrs: { |
export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_single_column", "full"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & { | ||
stage0: true; | ||
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentRangeSpec[]; | ||
content: (import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentZeroOrMoreSpec | import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentRangeSpec)[]; | ||
ignore: any[]; | ||
@@ -14,8 +14,2 @@ attrs: { | ||
DANGEROUS_MANUAL_OVERRIDE: { | ||
'pm-spec': { | ||
content: { | ||
value: string; | ||
reason: string; | ||
}; | ||
}; | ||
'validator-spec': { | ||
@@ -22,0 +16,0 @@ 'props.type': { |
{ | ||
"name": "@atlaskit/adf-schema", | ||
"version": "42.3.1", | ||
"version": "42.4.0", | ||
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs", | ||
@@ -49,3 +49,3 @@ "publishConfig": { | ||
"@atlassian/adf-schema-json": "^1.22.0", | ||
"@atlaskit/adf-schema-generator": "^1.33.0", | ||
"@atlaskit/adf-schema-generator": "^1.34.0", | ||
"@atlaskit/codemod-utils": "^4.2.4", | ||
@@ -52,0 +52,0 @@ "@babel/cli": "^7.22.9", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1750112
53483