@atlaskit/adf-schema 36.12.3 → 36.13.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 +6 -0
- package/dist/cjs/next-schema/full-schema.adf.js +2 -1
- package/dist/cjs/next-schema/groups/blockGroup.js +3 -1
- package/dist/cjs/next-schema/groups/inlineGroup.js +3 -1
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
- package/dist/cjs/next-schema/marks/unsupportedMark.js +16 -0
- package/dist/cjs/next-schema/marks/unsupportedNodeAttribute.js +20 -0
- package/dist/cjs/next-schema/nodes/blockCard.js +3 -0
- package/dist/cjs/next-schema/nodes/blockquote.js +6 -2
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +4 -1
- package/dist/cjs/next-schema/nodes/caption.js +5 -2
- package/dist/cjs/next-schema/nodes/codeBlock.js +6 -2
- package/dist/cjs/next-schema/nodes/confluenceUnsupportedBlock.js +16 -0
- package/dist/cjs/next-schema/nodes/confluenceUnsupportedInline.js +18 -0
- package/dist/cjs/next-schema/nodes/date.js +3 -0
- package/dist/cjs/next-schema/nodes/decisionItem.js +5 -1
- package/dist/cjs/next-schema/nodes/decisionList.js +5 -1
- package/dist/cjs/next-schema/nodes/embedCard.js +3 -0
- package/dist/cjs/next-schema/nodes/emoji.js +3 -0
- package/dist/cjs/next-schema/nodes/expand.js +4 -1
- package/dist/cjs/next-schema/nodes/extension.js +4 -1
- package/dist/cjs/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/cjs/next-schema/nodes/hardBreak.js +3 -0
- package/dist/cjs/next-schema/nodes/heading.js +9 -6
- package/dist/cjs/next-schema/nodes/inlineCard.js +4 -1
- package/dist/cjs/next-schema/nodes/inlineExtension.js +3 -0
- package/dist/cjs/next-schema/nodes/layoutColumn.js +3 -0
- package/dist/cjs/next-schema/nodes/layoutSection.js +5 -2
- package/dist/cjs/next-schema/nodes/list.js +7 -1
- package/dist/cjs/next-schema/nodes/media.js +3 -1
- package/dist/cjs/next-schema/nodes/mediaGroup.js +5 -1
- package/dist/cjs/next-schema/nodes/mediaInline.js +3 -1
- package/dist/cjs/next-schema/nodes/mediaSingle.js +5 -2
- package/dist/cjs/next-schema/nodes/mention.js +3 -0
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +3 -0
- package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/cjs/next-schema/nodes/panel.js +5 -1
- package/dist/cjs/next-schema/nodes/paragraph.js +8 -4
- package/dist/cjs/next-schema/nodes/placeholder.js +3 -0
- package/dist/cjs/next-schema/nodes/status.js +3 -0
- package/dist/cjs/next-schema/nodes/table.js +3 -1
- package/dist/cjs/next-schema/nodes/tableCell.js +5 -1
- package/dist/cjs/next-schema/nodes/tableHeader.js +3 -0
- package/dist/cjs/next-schema/nodes/tableRow.js +3 -0
- package/dist/cjs/next-schema/nodes/task.js +8 -2
- package/dist/cjs/next-schema/nodes/text.js +4 -2
- package/dist/cjs/next-schema/nodes/unsupportedBlock.js +18 -0
- package/dist/cjs/next-schema/nodes/unsupportedInline.js +18 -0
- package/dist/es2019/next-schema/full-schema.adf.js +2 -1
- package/dist/es2019/next-schema/groups/blockGroup.js +3 -1
- package/dist/es2019/next-schema/groups/inlineGroup.js +3 -1
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
- package/dist/es2019/next-schema/marks/unsupportedMark.js +10 -0
- package/dist/es2019/next-schema/marks/unsupportedNodeAttribute.js +14 -0
- package/dist/es2019/next-schema/nodes/blockCard.js +3 -0
- package/dist/es2019/next-schema/nodes/blockquote.js +6 -2
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +4 -1
- package/dist/es2019/next-schema/nodes/caption.js +5 -3
- package/dist/es2019/next-schema/nodes/codeBlock.js +6 -2
- package/dist/es2019/next-schema/nodes/confluenceUnsupportedBlock.js +10 -0
- package/dist/es2019/next-schema/nodes/confluenceUnsupportedInline.js +12 -0
- package/dist/es2019/next-schema/nodes/date.js +3 -0
- package/dist/es2019/next-schema/nodes/decisionItem.js +5 -1
- package/dist/es2019/next-schema/nodes/decisionList.js +5 -1
- package/dist/es2019/next-schema/nodes/embedCard.js +3 -0
- package/dist/es2019/next-schema/nodes/emoji.js +3 -0
- package/dist/es2019/next-schema/nodes/expand.js +4 -1
- package/dist/es2019/next-schema/nodes/extension.js +4 -1
- package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/es2019/next-schema/nodes/hardBreak.js +3 -0
- package/dist/es2019/next-schema/nodes/heading.js +8 -5
- package/dist/es2019/next-schema/nodes/inlineCard.js +4 -1
- package/dist/es2019/next-schema/nodes/inlineExtension.js +3 -0
- package/dist/es2019/next-schema/nodes/layoutColumn.js +3 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +5 -2
- package/dist/es2019/next-schema/nodes/list.js +7 -1
- package/dist/es2019/next-schema/nodes/media.js +3 -1
- package/dist/es2019/next-schema/nodes/mediaGroup.js +5 -1
- package/dist/es2019/next-schema/nodes/mediaInline.js +3 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +5 -2
- package/dist/es2019/next-schema/nodes/mention.js +3 -0
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +3 -0
- package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/es2019/next-schema/nodes/panel.js +5 -1
- package/dist/es2019/next-schema/nodes/paragraph.js +8 -4
- package/dist/es2019/next-schema/nodes/placeholder.js +3 -0
- package/dist/es2019/next-schema/nodes/status.js +3 -0
- package/dist/es2019/next-schema/nodes/table.js +3 -1
- package/dist/es2019/next-schema/nodes/tableCell.js +5 -1
- package/dist/es2019/next-schema/nodes/tableHeader.js +3 -0
- package/dist/es2019/next-schema/nodes/tableRow.js +4 -1
- package/dist/es2019/next-schema/nodes/task.js +8 -2
- package/dist/es2019/next-schema/nodes/text.js +4 -2
- package/dist/es2019/next-schema/nodes/unsupportedBlock.js +12 -0
- package/dist/es2019/next-schema/nodes/unsupportedInline.js +12 -0
- package/dist/esm/next-schema/full-schema.adf.js +2 -1
- package/dist/esm/next-schema/groups/blockGroup.js +3 -1
- package/dist/esm/next-schema/groups/inlineGroup.js +3 -1
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
- package/dist/esm/next-schema/marks/unsupportedMark.js +10 -0
- package/dist/esm/next-schema/marks/unsupportedNodeAttribute.js +14 -0
- package/dist/esm/next-schema/nodes/blockCard.js +3 -0
- package/dist/esm/next-schema/nodes/blockquote.js +6 -2
- package/dist/esm/next-schema/nodes/bodiedExtension.js +4 -1
- package/dist/esm/next-schema/nodes/caption.js +5 -3
- package/dist/esm/next-schema/nodes/codeBlock.js +6 -2
- package/dist/esm/next-schema/nodes/confluenceUnsupportedBlock.js +10 -0
- package/dist/esm/next-schema/nodes/confluenceUnsupportedInline.js +12 -0
- package/dist/esm/next-schema/nodes/date.js +3 -0
- package/dist/esm/next-schema/nodes/decisionItem.js +5 -1
- package/dist/esm/next-schema/nodes/decisionList.js +5 -1
- package/dist/esm/next-schema/nodes/embedCard.js +3 -0
- package/dist/esm/next-schema/nodes/emoji.js +3 -0
- package/dist/esm/next-schema/nodes/expand.js +4 -1
- package/dist/esm/next-schema/nodes/extension.js +4 -1
- package/dist/esm/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/esm/next-schema/nodes/hardBreak.js +3 -0
- package/dist/esm/next-schema/nodes/heading.js +8 -5
- package/dist/esm/next-schema/nodes/inlineCard.js +4 -1
- package/dist/esm/next-schema/nodes/inlineExtension.js +3 -0
- package/dist/esm/next-schema/nodes/layoutColumn.js +3 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +5 -2
- package/dist/esm/next-schema/nodes/list.js +7 -1
- package/dist/esm/next-schema/nodes/media.js +3 -1
- package/dist/esm/next-schema/nodes/mediaGroup.js +5 -1
- package/dist/esm/next-schema/nodes/mediaInline.js +3 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +5 -2
- package/dist/esm/next-schema/nodes/mention.js +3 -0
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +3 -0
- package/dist/esm/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/esm/next-schema/nodes/panel.js +5 -1
- package/dist/esm/next-schema/nodes/paragraph.js +8 -4
- package/dist/esm/next-schema/nodes/placeholder.js +3 -0
- package/dist/esm/next-schema/nodes/status.js +3 -0
- package/dist/esm/next-schema/nodes/table.js +3 -1
- package/dist/esm/next-schema/nodes/tableCell.js +5 -1
- package/dist/esm/next-schema/nodes/tableHeader.js +3 -0
- package/dist/esm/next-schema/nodes/tableRow.js +4 -1
- package/dist/esm/next-schema/nodes/task.js +8 -2
- package/dist/esm/next-schema/nodes/text.js +4 -2
- package/dist/esm/next-schema/nodes/unsupportedBlock.js +12 -0
- package/dist/esm/next-schema/nodes/unsupportedInline.js +12 -0
- package/dist/types/next-schema/marks/unsupportedMark.d.ts +1 -0
- package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +1 -0
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +19 -0
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +19 -0
- package/dist/types/next-schema/nodes/heading.d.ts +0 -23
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +19 -0
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +19 -0
- package/package.json +2 -2
@@ -0,0 +1,12 @@
|
|
1
|
+
import { adfNode, JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator';
|
2
|
+
export var unsupportedBlock = adfNode('unsupportedBlock').define({
|
3
|
+
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
4
|
+
atom: true,
|
5
|
+
selectable: true,
|
6
|
+
attrs: {
|
7
|
+
originalValue: {
|
8
|
+
type: 'object',
|
9
|
+
default: {}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { adfNode, JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator';
|
2
|
+
export var unsupportedInline = adfNode('unsupportedInline').define({
|
3
|
+
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
4
|
+
inline: true,
|
5
|
+
selectable: true,
|
6
|
+
attrs: {
|
7
|
+
originalValue: {
|
8
|
+
type: 'object',
|
9
|
+
default: {}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const unsupportedMark: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const unsupportedNodeAttribute: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare const confluenceUnsupportedBlock: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
3
|
+
root?: boolean;
|
4
|
+
atom?: boolean;
|
5
|
+
version?: 1;
|
6
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
7
|
+
inline?: true;
|
8
|
+
code?: boolean;
|
9
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
defining?: boolean;
|
11
|
+
definingAsContext?: boolean;
|
12
|
+
definingForContent?: boolean;
|
13
|
+
draggable?: boolean;
|
14
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
|
+
isolating?: boolean;
|
16
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
selectable?: boolean;
|
18
|
+
whitespace?: "pre" | "normal";
|
19
|
+
}>;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare const confluenceUnsupportedInline: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
3
|
+
root?: boolean;
|
4
|
+
atom?: boolean;
|
5
|
+
version?: 1;
|
6
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
7
|
+
inline?: true;
|
8
|
+
code?: boolean;
|
9
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
defining?: boolean;
|
11
|
+
definingAsContext?: boolean;
|
12
|
+
definingForContent?: boolean;
|
13
|
+
draggable?: boolean;
|
14
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
|
+
isolating?: boolean;
|
16
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
selectable?: boolean;
|
18
|
+
whitespace?: "pre" | "normal";
|
19
|
+
}>;
|
@@ -21,26 +21,3 @@ export declare const heading: import("@atlaskit/adf-schema-generator/dist/types/
|
|
21
21
|
} & {
|
22
22
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
23
23
|
}>;
|
24
|
-
export declare const headingWithMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_no_marks"], {
|
25
|
-
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
26
|
-
root?: boolean;
|
27
|
-
atom?: boolean;
|
28
|
-
version?: 1;
|
29
|
-
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
30
|
-
inline?: true;
|
31
|
-
code?: boolean;
|
32
|
-
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
33
|
-
defining?: boolean;
|
34
|
-
definingAsContext?: boolean;
|
35
|
-
definingForContent?: boolean;
|
36
|
-
draggable?: boolean;
|
37
|
-
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
38
|
-
isolating?: boolean;
|
39
|
-
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
40
|
-
selectable?: boolean;
|
41
|
-
whitespace?: "pre" | "normal";
|
42
|
-
} & {
|
43
|
-
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
44
|
-
} & {
|
45
|
-
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
46
|
-
}>;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare const unsupportedBlock: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
3
|
+
root?: boolean;
|
4
|
+
atom?: boolean;
|
5
|
+
version?: 1;
|
6
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
7
|
+
inline?: true;
|
8
|
+
code?: boolean;
|
9
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
defining?: boolean;
|
11
|
+
definingAsContext?: boolean;
|
12
|
+
definingForContent?: boolean;
|
13
|
+
draggable?: boolean;
|
14
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
|
+
isolating?: boolean;
|
16
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
selectable?: boolean;
|
18
|
+
whitespace?: "pre" | "normal";
|
19
|
+
}>;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare const unsupportedInline: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
3
|
+
root?: boolean;
|
4
|
+
atom?: boolean;
|
5
|
+
version?: 1;
|
6
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
7
|
+
inline?: true;
|
8
|
+
code?: boolean;
|
9
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
defining?: boolean;
|
11
|
+
definingAsContext?: boolean;
|
12
|
+
definingForContent?: boolean;
|
13
|
+
draggable?: boolean;
|
14
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
|
+
isolating?: boolean;
|
16
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
selectable?: boolean;
|
18
|
+
whitespace?: "pre" | "normal";
|
19
|
+
}>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "36.
|
3
|
+
"version": "36.13.0",
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
@@ -44,7 +44,7 @@
|
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@atlassian/adf-schema-json": "^1.15.0",
|
47
|
-
"@atlaskit/adf-schema-generator": "^1.
|
47
|
+
"@atlaskit/adf-schema-generator": "^1.12.0",
|
48
48
|
"@atlaskit/codemod-utils": "^4.2.4",
|
49
49
|
"@atlaskit/json-schema-generator": "^3.3.9",
|
50
50
|
"@babel/cli": "^7.22.9",
|