@atlaskit/adf-schema 48.0.0 → 49.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 +6 -0
- package/dist/cjs/index.js +0 -42
- package/dist/cjs/next-schema/generated/nodeTypes.js +1 -58
- package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/cjs/next-schema/nodes/blockquote.js +0 -8
- package/dist/cjs/next-schema/nodes/expand.js +1 -1
- package/dist/cjs/next-schema/nodes/list.js +2 -6
- package/dist/cjs/next-schema/nodes/nestedExpand.js +0 -6
- package/dist/cjs/next-schema/nodes/panel.js +0 -4
- package/dist/cjs/schema/create-schema.js +1 -1
- package/dist/cjs/schema/index.js +0 -42
- package/dist/cjs/schema/nodes/blockquote.js +2 -34
- package/dist/cjs/schema/nodes/index.js +0 -42
- package/dist/cjs/schema/nodes/list-item.js +1 -19
- package/dist/cjs/schema/nodes/nested-expand.js +2 -32
- package/dist/cjs/schema/nodes/panel.js +1 -4
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/next-schema/generated/nodeTypes.js +0 -57
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/es2019/next-schema/nodes/blockquote.js +0 -8
- package/dist/es2019/next-schema/nodes/expand.js +1 -1
- package/dist/es2019/next-schema/nodes/list.js +2 -6
- package/dist/es2019/next-schema/nodes/nestedExpand.js +0 -6
- package/dist/es2019/next-schema/nodes/panel.js +0 -4
- package/dist/es2019/schema/create-schema.js +2 -2
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/blockquote.js +2 -34
- package/dist/es2019/schema/nodes/index.js +4 -4
- package/dist/es2019/schema/nodes/list-item.js +1 -19
- package/dist/es2019/schema/nodes/nested-expand.js +2 -32
- package/dist/es2019/schema/nodes/panel.js +2 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/next-schema/generated/nodeTypes.js +0 -57
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/esm/next-schema/nodes/blockquote.js +0 -8
- package/dist/esm/next-schema/nodes/expand.js +1 -1
- package/dist/esm/next-schema/nodes/list.js +2 -6
- package/dist/esm/next-schema/nodes/nestedExpand.js +0 -6
- package/dist/esm/next-schema/nodes/panel.js +0 -4
- package/dist/esm/schema/create-schema.js +2 -2
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/blockquote.js +2 -34
- package/dist/esm/schema/nodes/index.js +4 -4
- package/dist/esm/schema/nodes/list-item.js +1 -19
- package/dist/esm/schema/nodes/nested-expand.js +2 -32
- package/dist/esm/schema/nodes/panel.js +1 -4
- package/dist/types/index.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +8 -53
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +1 -11
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +1 -17
- package/dist/types/next-schema/nodes/blockquote.d.ts +1 -7
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +1 -7
- package/dist/types/next-schema/nodes/panel.d.ts +1 -5
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/blockquote.d.ts +0 -15
- package/dist/types/schema/nodes/index.d.ts +4 -4
- package/dist/types/schema/nodes/list-item.d.ts +0 -10
- package/dist/types/schema/nodes/nested-expand.d.ts +0 -5
- package/dist/types/schema/nodes/panel.d.ts +0 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/index.js
CHANGED
@@ -345,24 +345,6 @@ Object.defineProperty(exports, "blockquote", {
|
|
345
345
|
return _schema.blockquote;
|
346
346
|
}
|
347
347
|
});
|
348
|
-
Object.defineProperty(exports, "blockquoteWithList", {
|
349
|
-
enumerable: true,
|
350
|
-
get: function get() {
|
351
|
-
return _schema.blockquoteWithList;
|
352
|
-
}
|
353
|
-
});
|
354
|
-
Object.defineProperty(exports, "blockquoteWithNestedCodeblockOrMedia", {
|
355
|
-
enumerable: true,
|
356
|
-
get: function get() {
|
357
|
-
return _schema.blockquoteWithNestedCodeblockOrMedia;
|
358
|
-
}
|
359
|
-
});
|
360
|
-
Object.defineProperty(exports, "blockquoteWithoutNonBodiedMacros", {
|
361
|
-
enumerable: true,
|
362
|
-
get: function get() {
|
363
|
-
return _schema.blockquoteWithoutNonBodiedMacros;
|
364
|
-
}
|
365
|
-
});
|
366
348
|
Object.defineProperty(exports, "bodiedExtension", {
|
367
349
|
enumerable: true,
|
368
350
|
get: function get() {
|
@@ -759,18 +741,6 @@ Object.defineProperty(exports, "listItemWithDecisionStage0", {
|
|
759
741
|
return _schema.listItemWithDecisionStage0;
|
760
742
|
}
|
761
743
|
});
|
762
|
-
Object.defineProperty(exports, "listItemWithTask", {
|
763
|
-
enumerable: true,
|
764
|
-
get: function get() {
|
765
|
-
return _schema.listItemWithTask;
|
766
|
-
}
|
767
|
-
});
|
768
|
-
Object.defineProperty(exports, "listItemWithoutNonBodiedMacros", {
|
769
|
-
enumerable: true,
|
770
|
-
get: function get() {
|
771
|
-
return _schema.listItemWithoutNonBodiedMacros;
|
772
|
-
}
|
773
|
-
});
|
774
744
|
Object.defineProperty(exports, "media", {
|
775
745
|
enumerable: true,
|
776
746
|
get: function get() {
|
@@ -855,12 +825,6 @@ Object.defineProperty(exports, "nestedExpand", {
|
|
855
825
|
return _schema.nestedExpand;
|
856
826
|
}
|
857
827
|
});
|
858
|
-
Object.defineProperty(exports, "nestedExpandWithoutNonBodiedMacros", {
|
859
|
-
enumerable: true,
|
860
|
-
get: function get() {
|
861
|
-
return _schema.nestedExpandWithoutNonBodiedMacros;
|
862
|
-
}
|
863
|
-
});
|
864
828
|
Object.defineProperty(exports, "normalizeHexColor", {
|
865
829
|
enumerable: true,
|
866
830
|
get: function get() {
|
@@ -891,12 +855,6 @@ Object.defineProperty(exports, "orderedListWithOrder", {
|
|
891
855
|
return _schema.orderedListWithOrder;
|
892
856
|
}
|
893
857
|
});
|
894
|
-
Object.defineProperty(exports, "panelWithoutNestedNonBodiedMacros", {
|
895
|
-
enumerable: true,
|
896
|
-
get: function get() {
|
897
|
-
return _schema.panelWithoutNestedNonBodiedMacros;
|
898
|
-
}
|
899
|
-
});
|
900
858
|
Object.defineProperty(exports, "paragraph", {
|
901
859
|
enumerable: true,
|
902
860
|
get: function get() {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.unsupportedInline = exports.unsupportedBlock = exports.textWithNoMarks = exports.textFormatted = exports.textCodeInline = exports.text = exports.taskList = exports.taskItem = exports.tableWithNestedTable = exports.tableRowWithNestedTable = exports.tableRow = exports.tableHeaderWithNestedTable = exports.tableHeader = exports.tableCellWithNestedTable = exports.tableCell = exports.table = exports.statusStage0 = exports.status = exports.rule = exports.placeholder = exports.paragraphWithNoMarks = exports.paragraphWithIndentation = exports.paragraphWithAlignment = exports.paragraph = exports.
|
6
|
+
exports.unsupportedInline = exports.unsupportedBlock = exports.textWithNoMarks = exports.textFormatted = exports.textCodeInline = exports.text = exports.taskList = exports.taskItem = exports.tableWithNestedTable = exports.tableRowWithNestedTable = exports.tableRow = exports.tableHeaderWithNestedTable = exports.tableHeader = exports.tableCellWithNestedTable = exports.tableCell = exports.table = exports.statusStage0 = exports.status = exports.rule = exports.placeholder = exports.paragraphWithNoMarks = exports.paragraphWithIndentation = exports.paragraphWithAlignment = exports.paragraph = exports.panel = exports.orderedList = exports.nestedExpandWithNoMarks = exports.nestedExpand = exports.multiBodiedExtensionStage0 = exports.mentionStage0 = exports.mention = exports.mediaSingleWidthType = exports.mediaSingleFull = exports.mediaSingleCaption = exports.mediaSingle = exports.mediaInline = exports.mediaGroup = exports.media = exports.listItemWithNestedDecisionStage0 = exports.listItem = exports.layoutSectionWithSingleColumnStage0 = exports.layoutSectionFull = exports.layoutSection = exports.layoutColumn = exports.inlineExtensionWithMarks = exports.inlineExtension = exports.inlineCardStage0 = exports.inlineCard = exports.image = exports.headingWithNoMarks = exports.headingWithIndentation = exports.headingWithAlignment = exports.heading = exports.hardBreak = exports.extensionWithMarks = exports.extensionFrameStage0 = exports.extension = exports.expandRootOnly = exports.expand = exports.emojiStage0 = exports.emoji = exports.embedCard = exports.doc = exports.decisionList = exports.decisionItem = exports.dateStage0 = exports.date = exports.confluenceUnsupportedInline = exports.confluenceUnsupportedBlock = exports.confluenceJiraIssue = exports.codeBlockRootOnly = exports.codeBlock = exports.caption = exports.bulletList = exports.bodiedExtensionWithMarks = exports.bodiedExtension = exports.blockquoteLegacy = exports.blockquote = exports.blockCard = void 0;
|
7
7
|
var _createPMSpecFactory = require("../../schema/createPMSpecFactory");
|
8
8
|
/**
|
9
9
|
* This file was automatically generated by @atlaskit/adf-schema-generator
|
@@ -47,20 +47,6 @@ var blockquoteLegacy = exports.blockquoteLegacy = (0, _createPMSpecFactory.creat
|
|
47
47
|
selectable: true,
|
48
48
|
defining: true
|
49
49
|
});
|
50
|
-
var blockquoteWithoutNestedCodeblockOrMedia = exports.blockquoteWithoutNestedCodeblockOrMedia = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
51
|
-
content: '(paragraph | orderedList | bulletList | unsupportedBlock)+',
|
52
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
53
|
-
group: 'block',
|
54
|
-
selectable: true,
|
55
|
-
defining: true
|
56
|
-
});
|
57
|
-
var blockquoteWithoutNonBodiedMacros = exports.blockquoteWithoutNonBodiedMacros = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
58
|
-
content: '(paragraph | orderedList | bulletList | unsupportedBlock | codeBlock | mediaSingle | mediaGroup)+',
|
59
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
60
|
-
group: 'block',
|
61
|
-
selectable: true,
|
62
|
-
defining: true
|
63
|
-
});
|
64
50
|
var bodiedExtension = exports.bodiedExtension = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
65
51
|
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaGroup | mediaSingle | decisionList | taskList | table | blockCard | embedCard | extension | unsupportedBlock)+',
|
66
52
|
marks: 'dataConsumer fragment unsupportedMark unsupportedNodeAttribute',
|
@@ -583,12 +569,6 @@ var listItemWithNestedDecisionStage0 = exports.listItemWithNestedDecisionStage0
|
|
583
569
|
selectable: false,
|
584
570
|
defining: true
|
585
571
|
});
|
586
|
-
var listItemWithoutNonBodiedMacros = exports.listItemWithoutNonBodiedMacros = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
587
|
-
content: '(paragraph | mediaSingle | codeBlock | unsupportedBlock) (paragraph | bulletList | orderedList | taskList | mediaSingle | codeBlock | unsupportedBlock)*',
|
588
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
589
|
-
selectable: false,
|
590
|
-
defining: true
|
591
|
-
});
|
592
572
|
var media = exports.media = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
593
573
|
attrs: {
|
594
574
|
type: {
|
@@ -861,20 +841,6 @@ var nestedExpandWithNoMarks = exports.nestedExpandWithNoMarks = (0, _createPMSpe
|
|
861
841
|
selectable: true,
|
862
842
|
isolating: true
|
863
843
|
});
|
864
|
-
var nestedExpandWithoutNonBodiedMacros = exports.nestedExpandWithoutNonBodiedMacros = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
865
|
-
content: '(paragraph | heading | mediaSingle | mediaGroup | codeBlock | bulletList | orderedList | taskList | decisionList | rule | panel | blockquote | unsupportedBlock)+',
|
866
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
867
|
-
attrs: {
|
868
|
-
title: {
|
869
|
-
default: ''
|
870
|
-
},
|
871
|
-
__expanded: {
|
872
|
-
default: true
|
873
|
-
}
|
874
|
-
},
|
875
|
-
selectable: true,
|
876
|
-
isolating: true
|
877
|
-
});
|
878
844
|
var orderedList = exports.orderedList = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
879
845
|
content: 'listItem+',
|
880
846
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
@@ -909,29 +875,6 @@ var panel = exports.panel = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
|
909
875
|
},
|
910
876
|
selectable: true
|
911
877
|
});
|
912
|
-
var panelWithoutNestedNonBodiedMacros = exports.panelWithoutNestedNonBodiedMacros = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
913
|
-
content: '(paragraph | heading | bulletList | orderedList | blockCard | mediaGroup | mediaSingle | codeBlock | taskList | rule | decisionList | unsupportedBlock)+',
|
914
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
915
|
-
group: 'block',
|
916
|
-
attrs: {
|
917
|
-
panelType: {
|
918
|
-
default: 'info'
|
919
|
-
},
|
920
|
-
panelIcon: {
|
921
|
-
default: null
|
922
|
-
},
|
923
|
-
panelIconId: {
|
924
|
-
default: null
|
925
|
-
},
|
926
|
-
panelIconText: {
|
927
|
-
default: null
|
928
|
-
},
|
929
|
-
panelColor: {
|
930
|
-
default: null
|
931
|
-
}
|
932
|
-
},
|
933
|
-
selectable: true
|
934
|
-
});
|
935
878
|
var paragraph = exports.paragraph = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
936
879
|
content: 'inline*',
|
937
880
|
marks: 'link em strong strike subsup underline textColor annotation backgroundColor typeAheadQuery confluenceInlineComment unsupportedNodeAttribute unsupportedMark code dataConsumer fragment border',
|
@@ -35,7 +35,7 @@ var _unsupportedBlock = require("../nodes/unsupportedBlock");
|
|
35
35
|
* - no base mediaSingle
|
36
36
|
* - no base heading
|
37
37
|
*/
|
38
|
-
var blockContentGroup = exports.blockContentGroup = (0, _adfSchemaGenerator.adfNodeGroup)('block_content', [_blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule, _panel.panel,
|
38
|
+
var blockContentGroup = exports.blockContentGroup = (0, _adfSchemaGenerator.adfNodeGroup)('block_content', [_blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule, _panel.panel, _blockquote.blockquote, _extension.extension.use('with_marks'), _embedCard.embedCard, _tableNodes.table,
|
39
39
|
// @ts-expect-error - types don't deal well with circular references for the variant
|
40
40
|
_tableNodes.table.use('with_nested_table'), _expand.expand, _bodiedExtension.bodiedExtension.use('with_marks'), _confluenceUnsupportedBlock.confluenceUnsupportedBlock, _unsupportedBlock.unsupportedBlock], {
|
41
41
|
ignore: ['pm-spec']
|
@@ -24,7 +24,7 @@ var _rule = require("../nodes/rule");
|
|
24
24
|
var _tableNodes = require("../nodes/tableNodes");
|
25
25
|
var _task = require("../nodes/task");
|
26
26
|
var _unsupportedBlock = require("../nodes/unsupportedBlock");
|
27
|
-
var blockGroup = exports.blockGroup = (0, _adfSchemaGenerator.adfNodeGroup)('block', [_blockCard.blockCard, _codeBlock.codeBlock, _mediaSingle.mediaSingle, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaSingle.mediaSingle.use('width_type'), _paragraph.paragraph, _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _paragraph.paragraph.use('with_no_marks'), _task.taskList, _list.orderedList, _list.bulletList, _blockquote.blockquote, _blockquote.blockquote.use('legacy'),
|
27
|
+
var blockGroup = exports.blockGroup = (0, _adfSchemaGenerator.adfNodeGroup)('block', [_blockCard.blockCard, _codeBlock.codeBlock, _mediaSingle.mediaSingle, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaSingle.mediaSingle.use('width_type'), _paragraph.paragraph, _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _paragraph.paragraph.use('with_no_marks'), _task.taskList, _list.orderedList, _list.bulletList, _blockquote.blockquote, _blockquote.blockquote.use('legacy'), _decisionList.decisionList, _embedCard.embedCard, _extension.extension, _extension.extension.use('with_marks'), _heading.heading, _heading.heading.use('with_indentation'), _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _mediaGroup.mediaGroup, _rule.rule, _panel.panel, _tableNodes.table,
|
28
28
|
// @ts-expect-error - types don't deal well with circular references for the variant
|
29
29
|
_tableNodes.table.use('with_nested_table'), _bodiedExtension.bodiedExtension, _bodiedExtension.bodiedExtension.use('with_marks'), _expand.expand, _confluenceUnsupportedBlock.confluenceUnsupportedBlock, _unsupportedBlock.unsupportedBlock], {
|
30
30
|
// @DSLCompatibilityException
|
@@ -21,7 +21,7 @@ var _paragraph = require("../nodes/paragraph");
|
|
21
21
|
var _rule = require("../nodes/rule");
|
22
22
|
var _task = require("../nodes/task");
|
23
23
|
var _unsupportedBlock = require("../nodes/unsupportedBlock");
|
24
|
-
var tableCellContentNodes = exports.tableCellContentNodes = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _codeBlock.codeBlock, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _decisionList.decisionList, _task.taskList, _blockCard.blockCard, _embedCard.embedCard, _extension.extension.use('with_marks'), _nestedExpand.nestedExpand.use('content'), _nestedExpand.nestedExpand.use('with_no_marks')
|
24
|
+
var tableCellContentNodes = exports.tableCellContentNodes = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _codeBlock.codeBlock, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _decisionList.decisionList, _task.taskList, _blockCard.blockCard, _embedCard.embedCard, _extension.extension.use('with_marks'), _nestedExpand.nestedExpand.use('content'), _nestedExpand.nestedExpand.use('with_no_marks')];
|
25
25
|
|
26
26
|
// This is not an actual group, but a collection of nodes
|
27
27
|
// @DSLCompatibilityException JSON Schema and PM Spec are not in sync. We need to fix it
|
@@ -23,12 +23,4 @@ var blockquote = exports.blockquote = (0, _adfSchemaGenerator.adfNode)('blockquo
|
|
23
23
|
}).variant('legacy', {
|
24
24
|
ignore: ['json-schema', 'validator-spec'],
|
25
25
|
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph, _unsupportedBlock.unsupportedBlock))]
|
26
|
-
}).variant('without_non_bodied_macros', {
|
27
|
-
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _list.orderedList, _list.bulletList, _unsupportedBlock.unsupportedBlock, _codeBlock.codeBlock, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup))],
|
28
|
-
ignore: ['json-schema', 'validator-spec']
|
29
|
-
})
|
30
|
-
// TODO: Clean up this variant
|
31
|
-
.variant('without_nested_codeblock_or_media', {
|
32
|
-
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _list.orderedList, _list.bulletList, _unsupportedBlock.unsupportedBlock))],
|
33
|
-
ignore: ['json-schema', 'validator-spec']
|
34
26
|
});
|
@@ -26,7 +26,7 @@ var expand = exports.expand = (0, _adfSchemaGenerator.adfNode)('expand').define(
|
|
26
26
|
optional: true
|
27
27
|
}
|
28
28
|
},
|
29
|
-
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_nonNestableBlockContentGroup.nonNestableBlockContentGroup, _nestedExpand.nestedExpand.use('with_no_marks')
|
29
|
+
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_nonNestableBlockContentGroup.nonNestableBlockContentGroup, _nestedExpand.nestedExpand.use('with_no_marks')))]
|
30
30
|
}).variant('root_only', {
|
31
31
|
marks: [_breakout.breakout, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
32
32
|
noMarks: false,
|
@@ -26,10 +26,6 @@ var listItem = (0, _adfSchemaGenerator.adfNode)('listItem').define({
|
|
26
26
|
content: [(0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _unsupportedBlock.unsupportedBlock, _decisionList.decisionList, _extension.extension.use('with_marks')), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), bulletList, orderedList, _task.taskList, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _unsupportedBlock.unsupportedBlock, _decisionList.decisionList, _extension.extension.use('with_marks')))],
|
27
27
|
noExtend: true,
|
28
28
|
stage0: true
|
29
|
-
}).variant('without_non_bodied_macros', {
|
30
|
-
content: [(0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _unsupportedBlock.unsupportedBlock), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), bulletList, orderedList, _task.taskList, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _unsupportedBlock.unsupportedBlock))],
|
31
|
-
noExtend: true,
|
32
|
-
ignore: ['json-schema', 'validator-spec']
|
33
29
|
});
|
34
30
|
orderedList.define({
|
35
31
|
selectable: false,
|
@@ -42,10 +38,10 @@ orderedList.define({
|
|
42
38
|
optional: true
|
43
39
|
}
|
44
40
|
},
|
45
|
-
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(listItem, listItem.use('with_nested_decision')
|
41
|
+
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(listItem, listItem.use('with_nested_decision')))]
|
46
42
|
});
|
47
43
|
bulletList.define({
|
48
44
|
selectable: false,
|
49
45
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
50
|
-
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(listItem, listItem.use('with_nested_decision')
|
46
|
+
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(listItem, listItem.use('with_nested_decision')))]
|
51
47
|
});
|
@@ -60,10 +60,4 @@ var nestedExpand = exports.nestedExpand = (0, _adfSchemaGenerator.adfNode)('nest
|
|
60
60
|
marks: [],
|
61
61
|
content: [],
|
62
62
|
noMarks: true
|
63
|
-
}).variant('without_non_bodied_macros', {
|
64
|
-
marks: [],
|
65
|
-
content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, nestedExpandContent))],
|
66
|
-
noMarks: true,
|
67
|
-
noExtend: true,
|
68
|
-
ignore: ['json-schema', 'validator-spec']
|
69
63
|
});
|
@@ -51,8 +51,4 @@ var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
|
|
51
51
|
}
|
52
52
|
},
|
53
53
|
content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks')])))]
|
54
|
-
}).variant('without_nested_non_bodied_macros', {
|
55
|
-
content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, panelContent))],
|
56
|
-
noExtend: true,
|
57
|
-
ignore: ['json-schema', 'validator-spec']
|
58
54
|
});
|
package/dist/cjs/schema/index.js
CHANGED
@@ -63,24 +63,6 @@ Object.defineProperty(exports, "blockquote", {
|
|
63
63
|
return _nodes.blockquote;
|
64
64
|
}
|
65
65
|
});
|
66
|
-
Object.defineProperty(exports, "blockquoteWithList", {
|
67
|
-
enumerable: true,
|
68
|
-
get: function get() {
|
69
|
-
return _nodes.blockquoteWithList;
|
70
|
-
}
|
71
|
-
});
|
72
|
-
Object.defineProperty(exports, "blockquoteWithNestedCodeblockOrMedia", {
|
73
|
-
enumerable: true,
|
74
|
-
get: function get() {
|
75
|
-
return _nodes.blockquoteWithNestedCodeblockOrMedia;
|
76
|
-
}
|
77
|
-
});
|
78
|
-
Object.defineProperty(exports, "blockquoteWithoutNonBodiedMacros", {
|
79
|
-
enumerable: true,
|
80
|
-
get: function get() {
|
81
|
-
return _nodes.blockquoteWithoutNonBodiedMacros;
|
82
|
-
}
|
83
|
-
});
|
84
66
|
Object.defineProperty(exports, "bodiedExtension", {
|
85
67
|
enumerable: true,
|
86
68
|
get: function get() {
|
@@ -411,18 +393,6 @@ Object.defineProperty(exports, "listItemWithDecisionStage0", {
|
|
411
393
|
return _nodes.listItemWithDecisionStage0;
|
412
394
|
}
|
413
395
|
});
|
414
|
-
Object.defineProperty(exports, "listItemWithTask", {
|
415
|
-
enumerable: true,
|
416
|
-
get: function get() {
|
417
|
-
return _nodes.listItemWithTask;
|
418
|
-
}
|
419
|
-
});
|
420
|
-
Object.defineProperty(exports, "listItemWithoutNonBodiedMacros", {
|
421
|
-
enumerable: true,
|
422
|
-
get: function get() {
|
423
|
-
return _nodes.listItemWithoutNonBodiedMacros;
|
424
|
-
}
|
425
|
-
});
|
426
396
|
Object.defineProperty(exports, "media", {
|
427
397
|
enumerable: true,
|
428
398
|
get: function get() {
|
@@ -507,12 +477,6 @@ Object.defineProperty(exports, "nestedExpand", {
|
|
507
477
|
return _nodes.nestedExpand;
|
508
478
|
}
|
509
479
|
});
|
510
|
-
Object.defineProperty(exports, "nestedExpandWithoutNonBodiedMacros", {
|
511
|
-
enumerable: true,
|
512
|
-
get: function get() {
|
513
|
-
return _nodes.nestedExpandWithoutNonBodiedMacros;
|
514
|
-
}
|
515
|
-
});
|
516
480
|
Object.defineProperty(exports, "orderedList", {
|
517
481
|
enumerable: true,
|
518
482
|
get: function get() {
|
@@ -531,12 +495,6 @@ Object.defineProperty(exports, "orderedListWithOrder", {
|
|
531
495
|
return _nodes.orderedListWithOrder;
|
532
496
|
}
|
533
497
|
});
|
534
|
-
Object.defineProperty(exports, "panelWithoutNestedNonBodiedMacros", {
|
535
|
-
enumerable: true,
|
536
|
-
get: function get() {
|
537
|
-
return _nodes.panelWithoutNestedNonBodiedMacros;
|
538
|
-
}
|
539
|
-
});
|
540
498
|
Object.defineProperty(exports, "paragraph", {
|
541
499
|
enumerable: true,
|
542
500
|
get: function get() {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.extendedBlockquote = exports.
|
6
|
+
exports.extendedBlockquote = exports.blockquote = void 0;
|
7
7
|
var _nodeTypes = require("../../next-schema/generated/nodeTypes");
|
8
8
|
/**
|
9
9
|
* @name blockquote_node
|
@@ -19,40 +19,8 @@ var nodeSpecOptions = {
|
|
19
19
|
};
|
20
20
|
var blockquote = exports.blockquote = (0, _nodeTypes.blockquoteLegacy)(nodeSpecOptions);
|
21
21
|
|
22
|
-
/**
|
23
|
-
* @name blockquoteWithNestedCodeblockOrMedia
|
24
|
-
* @deprecated use extentedBlockquote instead
|
25
|
-
*/
|
26
|
-
var blockquoteWithNestedCodeblockOrMedia = exports.blockquoteWithNestedCodeblockOrMedia = (0, _nodeTypes.blockquoteWithoutNonBodiedMacros)(nodeSpecOptions);
|
27
|
-
|
28
22
|
/**
|
29
23
|
* @name extentedBlockquote
|
30
24
|
* @description the block quote node with nested code block, media, and extension
|
31
25
|
*/
|
32
|
-
var extendedBlockquote = exports.extendedBlockquote = (0, _nodeTypes.blockquote)(nodeSpecOptions);
|
33
|
-
|
34
|
-
/**
|
35
|
-
* @name blockquote_with_list_node
|
36
|
-
* @deprecated use extentedBlockquote instead
|
37
|
-
* TODO: remove this node in the next major version
|
38
|
-
*/
|
39
|
-
var blockquoteWithList = exports.blockquoteWithList = (0, _nodeTypes.blockquoteWithoutNestedCodeblockOrMedia)({
|
40
|
-
parseDOM: [{
|
41
|
-
tag: 'blockquote'
|
42
|
-
}],
|
43
|
-
toDOM: function toDOM() {
|
44
|
-
return ['blockquote', 0];
|
45
|
-
}
|
46
|
-
});
|
47
|
-
|
48
|
-
/**
|
49
|
-
* @name blockquote_without_non_bodied_macros_node
|
50
|
-
*/
|
51
|
-
var blockquoteWithoutNonBodiedMacros = exports.blockquoteWithoutNonBodiedMacros = (0, _nodeTypes.blockquoteWithoutNonBodiedMacros)({
|
52
|
-
parseDOM: [{
|
53
|
-
tag: 'blockquote'
|
54
|
-
}],
|
55
|
-
toDOM: function toDOM() {
|
56
|
-
return ['blockquote', 0];
|
57
|
-
}
|
58
|
-
});
|
26
|
+
var extendedBlockquote = exports.extendedBlockquote = (0, _nodeTypes.blockquote)(nodeSpecOptions);
|
@@ -22,24 +22,6 @@ Object.defineProperty(exports, "blockquote", {
|
|
22
22
|
return _blockquote.blockquote;
|
23
23
|
}
|
24
24
|
});
|
25
|
-
Object.defineProperty(exports, "blockquoteWithList", {
|
26
|
-
enumerable: true,
|
27
|
-
get: function get() {
|
28
|
-
return _blockquote.blockquoteWithList;
|
29
|
-
}
|
30
|
-
});
|
31
|
-
Object.defineProperty(exports, "blockquoteWithNestedCodeblockOrMedia", {
|
32
|
-
enumerable: true,
|
33
|
-
get: function get() {
|
34
|
-
return _blockquote.blockquoteWithNestedCodeblockOrMedia;
|
35
|
-
}
|
36
|
-
});
|
37
|
-
Object.defineProperty(exports, "blockquoteWithoutNonBodiedMacros", {
|
38
|
-
enumerable: true,
|
39
|
-
get: function get() {
|
40
|
-
return _blockquote.blockquoteWithoutNonBodiedMacros;
|
41
|
-
}
|
42
|
-
});
|
43
25
|
Object.defineProperty(exports, "bodiedExtension", {
|
44
26
|
enumerable: true,
|
45
27
|
get: function get() {
|
@@ -250,18 +232,6 @@ Object.defineProperty(exports, "listItemWithDecisionStage0", {
|
|
250
232
|
return _listItem.listItemWithDecisionStage0;
|
251
233
|
}
|
252
234
|
});
|
253
|
-
Object.defineProperty(exports, "listItemWithTask", {
|
254
|
-
enumerable: true,
|
255
|
-
get: function get() {
|
256
|
-
return _listItem.listItemWithTask;
|
257
|
-
}
|
258
|
-
});
|
259
|
-
Object.defineProperty(exports, "listItemWithoutNonBodiedMacros", {
|
260
|
-
enumerable: true,
|
261
|
-
get: function get() {
|
262
|
-
return _listItem.listItemWithoutNonBodiedMacros;
|
263
|
-
}
|
264
|
-
});
|
265
235
|
Object.defineProperty(exports, "media", {
|
266
236
|
enumerable: true,
|
267
237
|
get: function get() {
|
@@ -346,12 +316,6 @@ Object.defineProperty(exports, "nestedExpand", {
|
|
346
316
|
return _nestedExpand.nestedExpand;
|
347
317
|
}
|
348
318
|
});
|
349
|
-
Object.defineProperty(exports, "nestedExpandWithoutNonBodiedMacros", {
|
350
|
-
enumerable: true,
|
351
|
-
get: function get() {
|
352
|
-
return _nestedExpand.nestedExpandWithoutNonBodiedMacros;
|
353
|
-
}
|
354
|
-
});
|
355
319
|
Object.defineProperty(exports, "orderedList", {
|
356
320
|
enumerable: true,
|
357
321
|
get: function get() {
|
@@ -370,12 +334,6 @@ Object.defineProperty(exports, "orderedListWithOrder", {
|
|
370
334
|
return _orderedList.orderedListWithOrder;
|
371
335
|
}
|
372
336
|
});
|
373
|
-
Object.defineProperty(exports, "panelWithoutNestedNonBodiedMacros", {
|
374
|
-
enumerable: true,
|
375
|
-
get: function get() {
|
376
|
-
return _panel.panelWithoutNestedNonBodiedMacros;
|
377
|
-
}
|
378
|
-
});
|
379
337
|
Object.defineProperty(exports, "paragraph", {
|
380
338
|
enumerable: true,
|
381
339
|
get: function get() {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.
|
6
|
+
exports.listItemWithDecisionStage0 = exports.listItem = void 0;
|
7
7
|
var _nodeTypes = require("../../next-schema/generated/nodeTypes");
|
8
8
|
/**
|
9
9
|
* @name list_item
|
@@ -18,12 +18,6 @@ var listItem = exports.listItem = (0, _nodeTypes.listItem)({
|
|
18
18
|
}
|
19
19
|
});
|
20
20
|
|
21
|
-
/**
|
22
|
-
* @name list_item_with_task
|
23
|
-
* @description this node allows task-list to be nested inside list-item
|
24
|
-
*/
|
25
|
-
var listItemWithTask = exports.listItemWithTask = listItem;
|
26
|
-
|
27
21
|
/**
|
28
22
|
* @name list_item_with_decision_stage0
|
29
23
|
* @description this node allows decisions to be nested inside list-item
|
@@ -35,16 +29,4 @@ var listItemWithDecisionStage0 = exports.listItemWithDecisionStage0 = (0, _nodeT
|
|
35
29
|
toDOM: function toDOM() {
|
36
30
|
return ['li', 0];
|
37
31
|
}
|
38
|
-
});
|
39
|
-
/**
|
40
|
-
* @name list_item_without_non_bodied_macros
|
41
|
-
* @description this node does not allow extension inside list-item
|
42
|
-
*/
|
43
|
-
var listItemWithoutNonBodiedMacros = exports.listItemWithoutNonBodiedMacros = (0, _nodeTypes.listItemWithoutNonBodiedMacros)({
|
44
|
-
parseDOM: [{
|
45
|
-
tag: 'li'
|
46
|
-
}],
|
47
|
-
toDOM: function toDOM() {
|
48
|
-
return ['li', 0];
|
49
|
-
}
|
50
32
|
});
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.
|
6
|
+
exports.nestedExpand = void 0;
|
7
7
|
var _nodeTypes = require("../../next-schema/generated/nodeTypes");
|
8
8
|
/**
|
9
9
|
* @name nestedExpand_content
|
@@ -50,39 +50,9 @@ var nestedExpandFactoryOptions = {
|
|
50
50
|
return ['div', attrs, 0];
|
51
51
|
}
|
52
52
|
};
|
53
|
-
var nestedExpandWithoutNonBodiedMacrosFactoryOptions = {
|
54
|
-
parseDOM: [{
|
55
|
-
context: 'nestedExpand//',
|
56
|
-
tag: '[data-node-type="nestedExpand"]',
|
57
|
-
getAttrs: getExpandAttrs
|
58
|
-
}, {
|
59
|
-
tag: '[data-node-type="nestedExpand"] button',
|
60
|
-
ignore: true
|
61
|
-
}, {
|
62
|
-
tag: '[data-node-type="expand"] button',
|
63
|
-
ignore: true
|
64
|
-
}, {
|
65
|
-
tag: 'div[data-node-type="nestedExpand"]',
|
66
|
-
getAttrs: getExpandAttrs
|
67
|
-
}],
|
68
|
-
toDOM: function toDOM(node) {
|
69
|
-
var attrs = {
|
70
|
-
'data-node-type': 'nestedExpand',
|
71
|
-
'data-title': node.attrs.title,
|
72
|
-
'data-expanded': node.attrs.__expanded
|
73
|
-
};
|
74
|
-
return ['div', attrs, 0];
|
75
|
-
}
|
76
|
-
};
|
77
53
|
|
78
54
|
/**
|
79
55
|
* @name nestedExpand
|
80
56
|
* @description an expand that can be nested (eg. inside table, layout).
|
81
57
|
*/
|
82
|
-
var nestedExpand = exports.nestedExpand = (0, _nodeTypes.nestedExpand)(nestedExpandFactoryOptions);
|
83
|
-
|
84
|
-
/**
|
85
|
-
* @name nestedExpandWithNonBodiedMacros
|
86
|
-
* @description an expand that can be nested (eg. inside table, layout).
|
87
|
-
*/
|
88
|
-
var nestedExpandWithoutNonBodiedMacros = exports.nestedExpandWithoutNonBodiedMacros = (0, _nodeTypes.nestedExpandWithoutNonBodiedMacros)(nestedExpandWithoutNonBodiedMacrosFactoryOptions);
|
58
|
+
var nestedExpand = exports.nestedExpand = (0, _nodeTypes.nestedExpand)(nestedExpandFactoryOptions);
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports.
|
7
|
+
exports.extendedPanel = exports.PanelType = void 0;
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
9
9
|
var _nodeTypes = require("../../next-schema/generated/nodeTypes");
|
10
10
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -74,7 +74,4 @@ var createPanelNodeSpecOptions = function createPanelNodeSpecOptions(allowCustom
|
|
74
74
|
*/
|
75
75
|
var extendedPanel = exports.extendedPanel = function extendedPanel(allowCustomPanel) {
|
76
76
|
return (0, _nodeTypes.panel)(createPanelNodeSpecOptions(allowCustomPanel));
|
77
|
-
};
|
78
|
-
var panelWithoutNestedNonBodiedMacros = exports.panelWithoutNestedNonBodiedMacros = function panelWithoutNestedNonBodiedMacros(allowCustomPanel) {
|
79
|
-
return (0, _nodeTypes.panelWithoutNestedNonBodiedMacros)(createPanelNodeSpecOptions(allowCustomPanel));
|
80
77
|
};
|
package/dist/es2019/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote,
|
2
|
-
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expandWithNestedExpand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem,
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, extendedBlockquote, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette, /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
2
|
+
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expandWithNestedExpand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, listItemWithDecisionStage0, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, extendedPanel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable } from './schema';
|
3
3
|
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, getDarkModeLCHColor } from './utils';
|
4
4
|
|
5
5
|
// ADF createPMSpecFactory
|