@atlaskit/adf-schema 47.3.1 → 47.5.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 +12 -0
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/next-schema/generated/nodeTypes.js +11 -11
- 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/expand.js +1 -1
- package/dist/cjs/next-schema/nodes/nestedExpand.js +7 -12
- package/dist/cjs/next-schema/nodes/panel.js +3 -17
- package/dist/cjs/schema/default-schema.js +1 -3
- package/dist/cjs/schema/index.js +4 -4
- package/dist/cjs/schema/nodes/index.js +4 -4
- package/dist/cjs/schema/nodes/nested-expand.js +27 -3
- package/dist/cjs/schema/nodes/panel.js +3 -3
- package/dist/cjs/validator-schema/generated/validatorSpec.js +8 -39
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +10 -10
- 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/expand.js +1 -1
- package/dist/es2019/next-schema/nodes/nestedExpand.js +7 -12
- package/dist/es2019/next-schema/nodes/panel.js +3 -17
- package/dist/es2019/schema/default-schema.js +2 -4
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/index.js +2 -2
- package/dist/es2019/schema/nodes/nested-expand.js +27 -3
- package/dist/es2019/schema/nodes/panel.js +2 -2
- package/dist/es2019/validator-schema/generated/validatorSpec.js +7 -38
- package/dist/esm/index.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +10 -10
- 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/expand.js +1 -1
- package/dist/esm/next-schema/nodes/nestedExpand.js +7 -12
- package/dist/esm/next-schema/nodes/panel.js +3 -17
- package/dist/esm/schema/default-schema.js +2 -4
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/index.js +2 -2
- package/dist/esm/schema/nodes/nested-expand.js +27 -3
- package/dist/esm/schema/nodes/panel.js +3 -3
- package/dist/esm/validator-schema/generated/validatorSpec.js +7 -38
- package/dist/json-schema/v1/full.json +6 -0
- package/dist/json-schema/v1/stage-0.json +3 -172
- package/dist/types/index.d.ts +1 -1
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +16 -16
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +2 -2
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +3 -3
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +2 -2
- package/dist/types/next-schema/nodes/panel.d.ts +2 -2
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/index.d.ts +2 -2
- package/dist/types/schema/nodes/nested-expand.d.ts +2 -2
- package/dist/types/schema/nodes/panel.d.ts +1 -1
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +1 -32
- package/json-schema/v1/full.json +6 -0
- package/json-schema/v1/stage-0.json +3 -172
- package/package.json +2 -2
@@ -49,7 +49,7 @@ export var backgroundColor = {
|
|
49
49
|
}
|
50
50
|
}
|
51
51
|
};
|
52
|
-
export var block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', '
|
52
|
+
export var block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
53
53
|
export var blockCard = {
|
54
54
|
props: {
|
55
55
|
type: {
|
@@ -412,7 +412,7 @@ export var doc = {
|
|
412
412
|
},
|
413
413
|
content: {
|
414
414
|
type: 'array',
|
415
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', '
|
415
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only']],
|
416
416
|
allowUnsupportedBlock: true
|
417
417
|
}
|
418
418
|
}
|
@@ -504,7 +504,7 @@ export var expand = {
|
|
504
504
|
},
|
505
505
|
content: {
|
506
506
|
type: 'array',
|
507
|
-
items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks'
|
507
|
+
items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
508
508
|
minItems: 1,
|
509
509
|
allowUnsupportedBlock: true
|
510
510
|
}
|
@@ -1249,18 +1249,13 @@ export var nestedExpand = {
|
|
1249
1249
|
}
|
1250
1250
|
}
|
1251
1251
|
},
|
1252
|
-
content:
|
1253
|
-
type: 'array',
|
1254
|
-
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks']],
|
1255
|
-
minItems: 1,
|
1256
|
-
allowUnsupportedBlock: true
|
1257
|
-
}
|
1252
|
+
content: 'nestedExpand_content'
|
1258
1253
|
},
|
1259
1254
|
required: ['content']
|
1260
1255
|
};
|
1261
1256
|
export var nestedExpand_content = {
|
1262
1257
|
type: 'array',
|
1263
|
-
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote']],
|
1258
|
+
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks']],
|
1264
1259
|
minItems: 1,
|
1265
1260
|
allowUnsupportedBlock: true
|
1266
1261
|
};
|
@@ -1274,22 +1269,6 @@ export var nestedExpand_with_no_marks = ['nestedExpand', {
|
|
1274
1269
|
}
|
1275
1270
|
}
|
1276
1271
|
}];
|
1277
|
-
export var nestedExpand_with_non_bodied_macros = ['nestedExpand', {
|
1278
|
-
props: {
|
1279
|
-
content: {
|
1280
|
-
type: 'array',
|
1281
|
-
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks']],
|
1282
|
-
minItems: 1,
|
1283
|
-
allowUnsupportedBlock: true
|
1284
|
-
},
|
1285
|
-
marks: {
|
1286
|
-
type: 'array',
|
1287
|
-
maxItems: 0,
|
1288
|
-
items: [],
|
1289
|
-
optional: true
|
1290
|
-
}
|
1291
|
-
}
|
1292
|
-
}];
|
1293
1272
|
export var non_nestable_block_content = ['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
|
1294
1273
|
export var orderedList = {
|
1295
1274
|
props: {
|
@@ -1352,16 +1331,6 @@ export var panel = {
|
|
1352
1331
|
}
|
1353
1332
|
}
|
1354
1333
|
};
|
1355
|
-
export var panel_with_nested_non_bodied_macros = ['panel', {
|
1356
|
-
props: {
|
1357
|
-
content: {
|
1358
|
-
type: 'array',
|
1359
|
-
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'decisionList', 'extension_with_marks']],
|
1360
|
-
minItems: 1,
|
1361
|
-
allowUnsupportedBlock: true
|
1362
|
-
}
|
1363
|
-
}
|
1364
|
-
}];
|
1365
1334
|
export var paragraph = {
|
1366
1335
|
props: {
|
1367
1336
|
type: {
|
@@ -1584,7 +1553,7 @@ export var tableCell = {
|
|
1584
1553
|
},
|
1585
1554
|
content: {
|
1586
1555
|
type: 'array',
|
1587
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks'
|
1556
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
1588
1557
|
minItems: 1,
|
1589
1558
|
allowUnsupportedBlock: true
|
1590
1559
|
}
|
@@ -1623,7 +1592,7 @@ export var tableHeader = {
|
|
1623
1592
|
},
|
1624
1593
|
content: {
|
1625
1594
|
type: 'array',
|
1626
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks', '
|
1595
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks', 'nestedExpand']],
|
1627
1596
|
minItems: 1
|
1628
1597
|
}
|
1629
1598
|
},
|
@@ -1819,6 +1819,9 @@
|
|
1819
1819
|
},
|
1820
1820
|
{
|
1821
1821
|
"$ref": "#/definitions/blockquote_node"
|
1822
|
+
},
|
1823
|
+
{
|
1824
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
1822
1825
|
}
|
1823
1826
|
]
|
1824
1827
|
},
|
@@ -2020,6 +2023,9 @@
|
|
2020
2023
|
},
|
2021
2024
|
{
|
2022
2025
|
"$ref": "#/definitions/decisionList_node"
|
2026
|
+
},
|
2027
|
+
{
|
2028
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
2023
2029
|
}
|
2024
2030
|
]
|
2025
2031
|
},
|
@@ -120,9 +120,6 @@
|
|
120
120
|
{
|
121
121
|
"$ref": "#/definitions/panel_node"
|
122
122
|
},
|
123
|
-
{
|
124
|
-
"$ref": "#/definitions/panel_with_nested_non_bodied_macros_node"
|
125
|
-
},
|
126
123
|
{
|
127
124
|
"$ref": "#/definitions/blockquote_node"
|
128
125
|
},
|
@@ -741,9 +738,6 @@
|
|
741
738
|
{
|
742
739
|
"$ref": "#/definitions/panel_node"
|
743
740
|
},
|
744
|
-
{
|
745
|
-
"$ref": "#/definitions/panel_with_nested_non_bodied_macros_node"
|
746
|
-
},
|
747
741
|
{
|
748
742
|
"$ref": "#/definitions/table_node"
|
749
743
|
},
|
@@ -890,9 +884,6 @@
|
|
890
884
|
},
|
891
885
|
{
|
892
886
|
"$ref": "#/definitions/nestedExpand_with_no_marks_node"
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"$ref": "#/definitions/nestedExpand_with_non_bodied_macros_node"
|
896
887
|
}
|
897
888
|
]
|
898
889
|
},
|
@@ -932,9 +923,6 @@
|
|
932
923
|
},
|
933
924
|
{
|
934
925
|
"$ref": "#/definitions/nestedExpand_with_no_marks_node"
|
935
|
-
},
|
936
|
-
{
|
937
|
-
"$ref": "#/definitions/nestedExpand_with_non_bodied_macros_node"
|
938
926
|
}
|
939
927
|
]
|
940
928
|
},
|
@@ -2166,6 +2154,9 @@
|
|
2166
2154
|
},
|
2167
2155
|
{
|
2168
2156
|
"$ref": "#/definitions/blockquote_node"
|
2157
|
+
},
|
2158
|
+
{
|
2159
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
2169
2160
|
}
|
2170
2161
|
]
|
2171
2162
|
},
|
@@ -2210,79 +2201,6 @@
|
|
2210
2201
|
}
|
2211
2202
|
]
|
2212
2203
|
},
|
2213
|
-
"nestedExpand_with_non_bodied_macros_node": {
|
2214
|
-
"type": "object",
|
2215
|
-
"properties": {
|
2216
|
-
"type": {
|
2217
|
-
"enum": ["nestedExpand"]
|
2218
|
-
},
|
2219
|
-
"marks": {
|
2220
|
-
"type": "array",
|
2221
|
-
"maxItems": 0
|
2222
|
-
},
|
2223
|
-
"attrs": {
|
2224
|
-
"type": "object",
|
2225
|
-
"properties": {
|
2226
|
-
"title": {
|
2227
|
-
"type": "string"
|
2228
|
-
}
|
2229
|
-
},
|
2230
|
-
"additionalProperties": false
|
2231
|
-
},
|
2232
|
-
"content": {
|
2233
|
-
"type": "array",
|
2234
|
-
"items": {
|
2235
|
-
"anyOf": [
|
2236
|
-
{
|
2237
|
-
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
2238
|
-
},
|
2239
|
-
{
|
2240
|
-
"$ref": "#/definitions/heading_with_no_marks_node"
|
2241
|
-
},
|
2242
|
-
{
|
2243
|
-
"$ref": "#/definitions/mediaSingle_caption_node"
|
2244
|
-
},
|
2245
|
-
{
|
2246
|
-
"$ref": "#/definitions/mediaSingle_full_node"
|
2247
|
-
},
|
2248
|
-
{
|
2249
|
-
"$ref": "#/definitions/mediaGroup_node"
|
2250
|
-
},
|
2251
|
-
{
|
2252
|
-
"$ref": "#/definitions/codeBlock_node"
|
2253
|
-
},
|
2254
|
-
{
|
2255
|
-
"$ref": "#/definitions/bulletList_node"
|
2256
|
-
},
|
2257
|
-
{
|
2258
|
-
"$ref": "#/definitions/orderedList_node"
|
2259
|
-
},
|
2260
|
-
{
|
2261
|
-
"$ref": "#/definitions/taskList_node"
|
2262
|
-
},
|
2263
|
-
{
|
2264
|
-
"$ref": "#/definitions/decisionList_node"
|
2265
|
-
},
|
2266
|
-
{
|
2267
|
-
"$ref": "#/definitions/rule_node"
|
2268
|
-
},
|
2269
|
-
{
|
2270
|
-
"$ref": "#/definitions/panel_node"
|
2271
|
-
},
|
2272
|
-
{
|
2273
|
-
"$ref": "#/definitions/blockquote_node"
|
2274
|
-
},
|
2275
|
-
{
|
2276
|
-
"$ref": "#/definitions/extension_with_marks_node"
|
2277
|
-
}
|
2278
|
-
]
|
2279
|
-
},
|
2280
|
-
"minItems": 1
|
2281
|
-
}
|
2282
|
-
},
|
2283
|
-
"additionalProperties": false,
|
2284
|
-
"required": ["type", "content"]
|
2285
|
-
},
|
2286
2204
|
"non_nestable_block_content": {
|
2287
2205
|
"anyOf": [
|
2288
2206
|
{
|
@@ -2376,90 +2294,6 @@
|
|
2376
2294
|
"required": ["type", "content"]
|
2377
2295
|
},
|
2378
2296
|
"panel_node": {
|
2379
|
-
"type": "object",
|
2380
|
-
"properties": {
|
2381
|
-
"type": {
|
2382
|
-
"enum": ["panel"]
|
2383
|
-
},
|
2384
|
-
"attrs": {
|
2385
|
-
"type": "object",
|
2386
|
-
"properties": {
|
2387
|
-
"panelType": {
|
2388
|
-
"enum": [
|
2389
|
-
"info",
|
2390
|
-
"note",
|
2391
|
-
"tip",
|
2392
|
-
"warning",
|
2393
|
-
"error",
|
2394
|
-
"success",
|
2395
|
-
"custom"
|
2396
|
-
]
|
2397
|
-
},
|
2398
|
-
"panelIcon": {
|
2399
|
-
"type": "string"
|
2400
|
-
},
|
2401
|
-
"panelIconId": {
|
2402
|
-
"type": "string"
|
2403
|
-
},
|
2404
|
-
"panelIconText": {
|
2405
|
-
"type": "string"
|
2406
|
-
},
|
2407
|
-
"panelColor": {
|
2408
|
-
"type": "string"
|
2409
|
-
}
|
2410
|
-
},
|
2411
|
-
"required": ["panelType"],
|
2412
|
-
"additionalProperties": false
|
2413
|
-
},
|
2414
|
-
"content": {
|
2415
|
-
"type": "array",
|
2416
|
-
"items": {
|
2417
|
-
"anyOf": [
|
2418
|
-
{
|
2419
|
-
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
2420
|
-
},
|
2421
|
-
{
|
2422
|
-
"$ref": "#/definitions/heading_with_no_marks_node"
|
2423
|
-
},
|
2424
|
-
{
|
2425
|
-
"$ref": "#/definitions/bulletList_node"
|
2426
|
-
},
|
2427
|
-
{
|
2428
|
-
"$ref": "#/definitions/orderedList_node"
|
2429
|
-
},
|
2430
|
-
{
|
2431
|
-
"$ref": "#/definitions/blockCard_node"
|
2432
|
-
},
|
2433
|
-
{
|
2434
|
-
"$ref": "#/definitions/mediaGroup_node"
|
2435
|
-
},
|
2436
|
-
{
|
2437
|
-
"$ref": "#/definitions/mediaSingle_caption_node"
|
2438
|
-
},
|
2439
|
-
{
|
2440
|
-
"$ref": "#/definitions/mediaSingle_full_node"
|
2441
|
-
},
|
2442
|
-
{
|
2443
|
-
"$ref": "#/definitions/codeBlock_node"
|
2444
|
-
},
|
2445
|
-
{
|
2446
|
-
"$ref": "#/definitions/taskList_node"
|
2447
|
-
},
|
2448
|
-
{
|
2449
|
-
"$ref": "#/definitions/rule_node"
|
2450
|
-
},
|
2451
|
-
{
|
2452
|
-
"$ref": "#/definitions/decisionList_node"
|
2453
|
-
}
|
2454
|
-
]
|
2455
|
-
},
|
2456
|
-
"minItems": 1
|
2457
|
-
}
|
2458
|
-
},
|
2459
|
-
"additionalProperties": false,
|
2460
|
-
"required": ["type", "attrs", "content"]
|
2461
|
-
},
|
2462
|
-
"panel_with_nested_non_bodied_macros_node": {
|
2463
2297
|
"type": "object",
|
2464
2298
|
"properties": {
|
2465
2299
|
"type": {
|
@@ -2798,9 +2632,6 @@
|
|
2798
2632
|
},
|
2799
2633
|
{
|
2800
2634
|
"$ref": "#/definitions/nestedExpand_with_no_marks_node"
|
2801
|
-
},
|
2802
|
-
{
|
2803
|
-
"$ref": "#/definitions/nestedExpand_with_non_bodied_macros_node"
|
2804
2635
|
}
|
2805
2636
|
]
|
2806
2637
|
},
|
package/dist/types/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMedia, extendedBlockquote, blockquoteWithoutNonBodiedMacros, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette,
|
2
2
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
3
|
-
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandWithNestedExpand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, listItemWithTask, listItemWithDecisionStage0, listItemWithNonBodiedMacrosStage0, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand,
|
3
|
+
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandWithNestedExpand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, listItemWithTask, listItemWithDecisionStage0, listItemWithNonBodiedMacrosStage0, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithoutNonBodiedMacros, orderedList, orderedListSelector, orderedListWithOrder, extendedPanel, panelWithoutNestedNonBodiedMacros, 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';
|
4
4
|
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, MultiBodiedExtensionDefinition, ExtensionFrameDefinition, BackgroundColorDefinition, } from './schema';
|
5
5
|
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';
|
6
6
|
export type { Match, NameToEmoji } from './utils';
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source files in "packages/adf-schema/src/next-schema" ,
|
4
4
|
* and run "yarn workspace @atlaskit/adf-schema build:schema:all" to regenerate this file.
|
5
5
|
*/
|
6
|
-
import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BlockquoteWithoutNestedCodeblockOrMediaDefinition, BlockquoteWithoutNonBodiedMacrosDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExpandWithoutNestedExpandDefinition, ExtensionDefinition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelDefinition,
|
7
|
-
export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition | MediaSingleDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | OrderedListDefinition | BulletListDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | BlockquoteWithoutNestedCodeblockOrMediaDefinition | BlockquoteWithoutNonBodiedMacrosDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | PanelDefinition |
|
6
|
+
import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BlockquoteWithoutNestedCodeblockOrMediaDefinition, BlockquoteWithoutNonBodiedMacrosDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExpandWithoutNestedExpandDefinition, ExtensionDefinition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelDefinition, PanelWithoutNestedNonBodiedMacrosDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithNoMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StatusStage0Definition, TableDefinition, TableWithNestedTableDefinition, TaskListDefinition, TextCodeInlineDefinition, TextDefinition, TextFormattedDefinition, UnsupportedBlockDefinition, UnsupportedInlineDefinition } from './nodeTypes';
|
7
|
+
export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition | MediaSingleDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | OrderedListDefinition | BulletListDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | BlockquoteWithoutNestedCodeblockOrMediaDefinition | BlockquoteWithoutNonBodiedMacrosDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | PanelDefinition | PanelWithoutNestedNonBodiedMacrosDefinition | TableDefinition | TableWithNestedTableDefinition | BodiedExtensionDefinition | BodiedExtensionWithMarksDefinition | ExpandDefinition | ExpandWithoutNestedExpandDefinition | ConfluenceUnsupportedBlockDefinition | UnsupportedBlockDefinition>;
|
8
8
|
export type BlockRootOnlyDefinition = Array<MultiBodiedExtensionStage0Definition>;
|
9
9
|
export type InlineDefinition = Array<TextDefinition | TextFormattedDefinition | TextCodeInlineDefinition | DateDefinition | DateStage0Definition | EmojiDefinition | EmojiStage0Definition | HardBreakDefinition | InlineCardDefinition | InlineCardStage0Definition | MentionDefinition | MentionStage0Definition | PlaceholderDefinition | StatusDefinition | StatusStage0Definition | InlineExtensionDefinition | InlineExtensionWithMarksDefinition | MediaInlineDefinition | ImageDefinition | ConfluenceJiraIssueDefinition | ConfluenceUnsupportedInlineDefinition | UnsupportedInlineDefinition>;
|
10
10
|
export type NonNestableBlockContentDefinition = Array<ParagraphWithNoMarksDefinition | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | HeadingWithNoMarksDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | TableWithNestedTableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;
|
@@ -227,7 +227,7 @@ export type EmojiStage0Node = PMNode & EmojiStage0Definition;
|
|
227
227
|
export declare const emojiStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<EmojiStage0Node>) => import("prosemirror-model").NodeSpec;
|
228
228
|
export interface ExpandDefinition {
|
229
229
|
type: 'expand';
|
230
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition |
|
230
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | NestedExpandWithoutNonBodiedMacrosDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
231
231
|
attrs: {
|
232
232
|
title?: string;
|
233
233
|
__expanded?: boolean;
|
@@ -237,7 +237,7 @@ export type ExpandNode = PMNode & ExpandDefinition;
|
|
237
237
|
export declare const expand: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ExpandNode>) => import("prosemirror-model").NodeSpec;
|
238
238
|
export interface ExpandRootOnlyDefinition {
|
239
239
|
type: 'expand';
|
240
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition |
|
240
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | NestedExpandWithoutNonBodiedMacrosDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
241
241
|
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
242
242
|
attrs: {
|
243
243
|
title?: string;
|
@@ -630,7 +630,7 @@ export type MultiBodiedExtensionStage0Node = PMNode & MultiBodiedExtensionStage0
|
|
630
630
|
export declare const multiBodiedExtensionStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<MultiBodiedExtensionStage0Node>) => import("prosemirror-model").NodeSpec;
|
631
631
|
export interface NestedExpandDefinition {
|
632
632
|
type: 'nestedExpand';
|
633
|
-
content: Array<BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
633
|
+
content: Array<BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
634
634
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
635
635
|
attrs: {
|
636
636
|
title?: string;
|
@@ -648,16 +648,16 @@ export interface NestedExpandWithNoMarksDefinition {
|
|
648
648
|
}
|
649
649
|
export type NestedExpandWithNoMarksNode = PMNode & NestedExpandWithNoMarksDefinition;
|
650
650
|
export declare const nestedExpandWithNoMarks: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<NestedExpandWithNoMarksNode>) => import("prosemirror-model").NodeSpec;
|
651
|
-
export interface
|
651
|
+
export interface NestedExpandWithoutNonBodiedMacrosDefinition {
|
652
652
|
type: 'nestedExpand';
|
653
|
-
content: Array<BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition |
|
653
|
+
content: Array<BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
654
654
|
attrs: {
|
655
655
|
title?: string;
|
656
656
|
__expanded?: boolean;
|
657
657
|
};
|
658
658
|
}
|
659
|
-
export type
|
660
|
-
export declare const
|
659
|
+
export type NestedExpandWithoutNonBodiedMacrosNode = PMNode & NestedExpandWithoutNonBodiedMacrosDefinition;
|
660
|
+
export declare const nestedExpandWithoutNonBodiedMacros: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<NestedExpandWithoutNonBodiedMacrosNode>) => import("prosemirror-model").NodeSpec;
|
661
661
|
export interface OrderedListDefinition {
|
662
662
|
type: 'orderedList';
|
663
663
|
content: Array<ListItemDefinition | ListItemWithNestedDecisionStage0Definition | ListItemWithNonBodiedMacrosStage0Definition>;
|
@@ -670,7 +670,7 @@ export type OrderedListNode = PMNode & OrderedListDefinition;
|
|
670
670
|
export declare const orderedList: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<OrderedListNode>) => import("prosemirror-model").NodeSpec;
|
671
671
|
export interface PanelDefinition {
|
672
672
|
type: 'panel';
|
673
|
-
content: Array<BlockCardDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
673
|
+
content: Array<BlockCardDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
674
674
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
675
675
|
attrs: {
|
676
676
|
panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
|
@@ -682,9 +682,9 @@ export interface PanelDefinition {
|
|
682
682
|
}
|
683
683
|
export type PanelNode = PMNode & PanelDefinition;
|
684
684
|
export declare const panel: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<PanelNode>) => import("prosemirror-model").NodeSpec;
|
685
|
-
export interface
|
685
|
+
export interface PanelWithoutNestedNonBodiedMacrosDefinition {
|
686
686
|
type: 'panel';
|
687
|
-
content: Array<BlockCardDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition |
|
687
|
+
content: Array<BlockCardDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
688
688
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
689
689
|
attrs: {
|
690
690
|
panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
|
@@ -694,8 +694,8 @@ export interface PanelWithNestedNonBodiedMacrosStage0Definition {
|
|
694
694
|
panelColor?: string;
|
695
695
|
};
|
696
696
|
}
|
697
|
-
export type
|
698
|
-
export declare const
|
697
|
+
export type PanelWithoutNestedNonBodiedMacrosNode = PMNode & PanelWithoutNestedNonBodiedMacrosDefinition;
|
698
|
+
export declare const panelWithoutNestedNonBodiedMacros: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<PanelWithoutNestedNonBodiedMacrosNode>) => import("prosemirror-model").NodeSpec;
|
699
699
|
export interface ParagraphDefinition {
|
700
700
|
type: 'paragraph';
|
701
701
|
content: Array<InlineDefinition>;
|
@@ -802,7 +802,7 @@ export type TableWithNestedTableNode = PMNode & TableWithNestedTableDefinition;
|
|
802
802
|
export declare const tableWithNestedTable: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TableWithNestedTableNode>) => import("prosemirror-model").NodeSpec;
|
803
803
|
export interface TableCellDefinition {
|
804
804
|
type: 'tableCell';
|
805
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition |
|
805
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | NestedExpandWithoutNonBodiedMacrosDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
806
806
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
807
807
|
attrs: {
|
808
808
|
colspan?: number;
|
@@ -815,7 +815,7 @@ export type TableCellNode = PMNode & TableCellDefinition;
|
|
815
815
|
export declare const tableCell: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TableCellNode>) => import("prosemirror-model").NodeSpec;
|
816
816
|
export interface TableCellWithNestedTableDefinition {
|
817
817
|
type: 'tableCell';
|
818
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition |
|
818
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | NestedExpandWithoutNonBodiedMacrosDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
819
819
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
820
820
|
attrs: {
|
821
821
|
colspan?: number;
|
@@ -828,7 +828,7 @@ export type TableCellWithNestedTableNode = PMNode & TableCellWithNestedTableDefi
|
|
828
828
|
export declare const tableCellWithNestedTable: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TableCellWithNestedTableNode>) => import("prosemirror-model").NodeSpec;
|
829
829
|
export interface TableHeaderDefinition {
|
830
830
|
type: 'tableHeader';
|
831
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition |
|
831
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | NestedExpandWithoutNonBodiedMacrosDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition>;
|
832
832
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
833
833
|
attrs: {
|
834
834
|
colspan?: number;
|
@@ -841,7 +841,7 @@ export type TableHeaderNode = PMNode & TableHeaderDefinition;
|
|
841
841
|
export declare const tableHeader: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TableHeaderNode>) => import("prosemirror-model").NodeSpec;
|
842
842
|
export interface TableHeaderWithNestedTableDefinition {
|
843
843
|
type: 'tableHeader';
|
844
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition |
|
844
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | NestedExpandWithoutNonBodiedMacrosDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition>;
|
845
845
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
846
846
|
attrs: {
|
847
847
|
colspan?: number;
|
@@ -11,10 +11,10 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
11
11
|
} & {
|
12
12
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
13
13
|
ignore: ("json-schema" | "validator-spec")[];
|
14
|
-
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "
|
14
|
+
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "without_nested_non_bodied_macros"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
15
15
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
16
16
|
noExtend: true;
|
17
|
-
|
17
|
+
ignore: ("json-schema" | "validator-spec")[];
|
18
18
|
}>)[];
|
19
19
|
/**
|
20
20
|
* @DSLCompatibilityException
|
@@ -65,10 +65,10 @@ export declare const tableCellContentNodes: (import("@atlaskit/adf-schema-genera
|
|
65
65
|
} & {
|
66
66
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
67
67
|
ignore: ("json-schema" | "validator-spec")[];
|
68
|
-
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "
|
68
|
+
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "without_nested_non_bodied_macros"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
69
69
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
70
70
|
noExtend: true;
|
71
|
-
|
71
|
+
ignore: ("json-schema" | "validator-spec")[];
|
72
72
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<any, import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
73
73
|
ignore: "pm-spec"[];
|
74
74
|
} & {
|
@@ -78,9 +78,9 @@ export declare const tableCellContentNodes: (import("@atlaskit/adf-schema-genera
|
|
78
78
|
} & {
|
79
79
|
marks: any[];
|
80
80
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
81
|
-
stage0: true;
|
82
81
|
noMarks: true;
|
83
82
|
noExtend: true;
|
83
|
+
ignore: ("json-schema" | "validator-spec")[];
|
84
84
|
}>)[];
|
85
85
|
export declare const tableCellContentPseudoGroup: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec;
|
86
86
|
export declare const tableHeaderContentPseudoGroup: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const nestedExpand: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "content", "with_no_marks", "
|
1
|
+
export declare const nestedExpand: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "content", "with_no_marks", "without_non_bodied_macros"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
2
2
|
ignore: "pm-spec"[];
|
3
3
|
} & {
|
4
4
|
marks: any[];
|
@@ -7,7 +7,7 @@ export declare const nestedExpand: import("@atlaskit/adf-schema-generator/dist/t
|
|
7
7
|
} & {
|
8
8
|
marks: any[];
|
9
9
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
10
|
-
stage0: true;
|
11
10
|
noMarks: true;
|
12
11
|
noExtend: true;
|
12
|
+
ignore: ("json-schema" | "validator-spec")[];
|
13
13
|
}>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare const panel: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "
|
1
|
+
export declare const panel: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "without_nested_non_bodied_macros"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
2
2
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
3
3
|
noExtend: true;
|
4
|
-
|
4
|
+
ignore: ("json-schema" | "validator-spec")[];
|
5
5
|
}>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { PanelType, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMedia, extendedBlockquote, blockquoteWithoutNonBodiedMacros, bodiedExtension, bulletList, bulletListSelector, caption, codeBlock, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, decisionItem, decisionList, decisionListSelector, doc, embedCard, emoji, expand, expandWithNestedExpand, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineExtension, layoutColumn, layoutSection, layoutSectionWithSingleColumn, listItem, listItemWithTask, listItemWithDecisionStage0, listItemWithNonBodiedMacrosStage0, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand,
|
1
|
+
export { PanelType, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMedia, extendedBlockquote, blockquoteWithoutNonBodiedMacros, bodiedExtension, bulletList, bulletListSelector, caption, codeBlock, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, decisionItem, decisionList, decisionListSelector, doc, embedCard, emoji, expand, expandWithNestedExpand, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineExtension, layoutColumn, layoutSection, layoutSectionWithSingleColumn, listItem, listItemWithTask, listItemWithDecisionStage0, listItemWithNonBodiedMacrosStage0, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithoutNonBodiedMacros, orderedList, orderedListSelector, orderedListWithOrder, extendedPanel, panelWithoutNestedNonBodiedMacros, paragraph, placeholder, rule, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, } from './nodes';
|
2
2
|
export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionBaseDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableWithNestedTableDefinition, TableRowWithNestedTableDefinition, TableCellWithNestedTableDefinition, TableHeaderWithNestedTableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, ExtensionFrameDefinition, MultiBodiedExtensionDefinition, } from './nodes';
|
3
3
|
export { AnnotationTypes, alignment, alignmentPositionMap, annotation, breakout, code, colorPalette,
|
4
4
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|