@atlaskit/adf-schema 40.3.1 → 40.4.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/index.js +6 -0
  3. package/dist/cjs/next-schema/generated/nodeTypes.js +7 -1
  4. package/dist/cjs/next-schema/nodes/list.js +7 -2
  5. package/dist/cjs/schema/default-schema.js +2 -1
  6. package/dist/cjs/schema/index.js +6 -0
  7. package/dist/cjs/schema/nodes/index.js +6 -0
  8. package/dist/cjs/schema/nodes/list-item.js +14 -1
  9. package/dist/cjs/validator-schema/generated/validatorSpec.js +59 -48
  10. package/dist/es2019/index.js +1 -1
  11. package/dist/es2019/next-schema/generated/nodeTypes.js +6 -0
  12. package/dist/es2019/next-schema/nodes/list.js +7 -2
  13. package/dist/es2019/schema/default-schema.js +3 -2
  14. package/dist/es2019/schema/index.js +1 -1
  15. package/dist/es2019/schema/nodes/index.js +1 -1
  16. package/dist/es2019/schema/nodes/list-item.js +14 -0
  17. package/dist/es2019/validator-schema/generated/validatorSpec.js +58 -47
  18. package/dist/esm/index.js +1 -1
  19. package/dist/esm/next-schema/generated/nodeTypes.js +6 -0
  20. package/dist/esm/next-schema/nodes/list.js +7 -2
  21. package/dist/esm/schema/default-schema.js +3 -2
  22. package/dist/esm/schema/index.js +1 -1
  23. package/dist/esm/schema/nodes/index.js +1 -1
  24. package/dist/esm/schema/nodes/list-item.js +14 -0
  25. package/dist/esm/validator-schema/generated/validatorSpec.js +58 -47
  26. package/dist/json-schema/v1/full.json +56 -56
  27. package/dist/json-schema/v1/stage-0.json +135 -58
  28. package/dist/types/index.d.ts +1 -1
  29. package/dist/types/next-schema/generated/nodeTypes.d.ts +9 -2
  30. package/dist/types/schema/index.d.ts +1 -1
  31. package/dist/types/schema/nodes/index.d.ts +1 -1
  32. package/dist/types/schema/nodes/list-item.d.ts +5 -0
  33. package/dist/types/validator-schema/generated/validatorSpec.d.ts +58 -47
  34. package/json-schema/v1/full.json +56 -56
  35. package/json-schema/v1/stage-0.json +135 -58
  36. package/package.json +2 -2
@@ -14,7 +14,7 @@ export { paragraph } from './paragraph';
14
14
  export { emoji } from './emoji';
15
15
  export { image } from './image';
16
16
  export { mention, toJSON as mentionToJSON } from './mention';
17
- export { listItem, listItemWithTask } from './list-item';
17
+ export { listItem, listItemWithTask, listItemWithDecisionStage0 } from './list-item';
18
18
  export { extendedPanel, PanelType } from './panel';
19
19
  export { text } from './text';
20
20
  export { default as unknownBlock } from './unknown-block';
@@ -1,5 +1,6 @@
1
1
  import { listItem as listItemFactory } from '../../next-schema/generated/nodeTypes';
2
2
  import { listItemLegacy as listItemLegacyFactory } from '../../next-schema/generated/nodeTypes';
3
+ import { listItemWithNestedDecisionStage0 as listItemWithNestedDecisionStage0Factory } from '../../next-schema/generated/nodeTypes';
3
4
  export var listItem = listItemLegacyFactory({
4
5
  parseDOM: [{
5
6
  tag: 'li'
@@ -20,4 +21,17 @@ export var listItemWithTask = listItemFactory({
20
21
  toDOM: function toDOM() {
21
22
  return ['li', 0];
22
23
  }
24
+ });
25
+
26
+ /**
27
+ * @name list_item_with_decision_stage0
28
+ * @description this node allows decisions to be nested inside list-item
29
+ */
30
+ export var listItemWithDecisionStage0 = listItemWithNestedDecisionStage0Factory({
31
+ parseDOM: [{
32
+ tag: 'li'
33
+ }],
34
+ toDOM: function toDOM() {
35
+ return ['li', 0];
36
+ }
23
37
  });
@@ -993,6 +993,62 @@ export var listItem_legacy = ['listItem', {
993
993
  }
994
994
  }
995
995
  }];
996
+ export var decisionItem = {
997
+ props: {
998
+ type: {
999
+ type: 'enum',
1000
+ values: ['decisionItem']
1001
+ },
1002
+ attrs: {
1003
+ props: {
1004
+ localId: {
1005
+ type: 'string'
1006
+ },
1007
+ state: {
1008
+ type: 'string'
1009
+ }
1010
+ }
1011
+ },
1012
+ content: {
1013
+ type: 'array',
1014
+ items: ['inline'],
1015
+ optional: true,
1016
+ allowUnsupportedInline: true
1017
+ }
1018
+ }
1019
+ };
1020
+ export var decisionList = {
1021
+ props: {
1022
+ type: {
1023
+ type: 'enum',
1024
+ values: ['decisionList']
1025
+ },
1026
+ attrs: {
1027
+ props: {
1028
+ localId: {
1029
+ type: 'string'
1030
+ }
1031
+ }
1032
+ },
1033
+ content: {
1034
+ type: 'array',
1035
+ items: ['decisionItem'],
1036
+ minItems: 1,
1037
+ allowUnsupportedBlock: true
1038
+ }
1039
+ }
1040
+ };
1041
+ export var listItem_with_nested_decision = ['listItem', {
1042
+ props: {
1043
+ content: {
1044
+ type: 'array',
1045
+ isTupleLike: true,
1046
+ items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'decisionList'], ['paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'decisionList']],
1047
+ minItems: 1,
1048
+ allowUnsupportedBlock: true
1049
+ }
1050
+ }
1051
+ }];
996
1052
  export var bulletList = {
997
1053
  props: {
998
1054
  type: {
@@ -1001,7 +1057,7 @@ export var bulletList = {
1001
1057
  },
1002
1058
  content: {
1003
1059
  type: 'array',
1004
- items: ['listItem'],
1060
+ items: [['listItem', 'listItem_with_nested_decision']],
1005
1061
  minItems: 1
1006
1062
  }
1007
1063
  }
@@ -1039,7 +1095,7 @@ export var orderedList = {
1039
1095
  },
1040
1096
  content: {
1041
1097
  type: 'array',
1042
- items: ['listItem'],
1098
+ items: [['listItem', 'listItem_with_nested_decision']],
1043
1099
  minItems: 1
1044
1100
  }
1045
1101
  }
@@ -1092,51 +1148,6 @@ export var blockquote_with_nested_codeblock_or_media = ['blockquote', {
1092
1148
  }
1093
1149
  }
1094
1150
  }];
1095
- export var decisionItem = {
1096
- props: {
1097
- type: {
1098
- type: 'enum',
1099
- values: ['decisionItem']
1100
- },
1101
- attrs: {
1102
- props: {
1103
- localId: {
1104
- type: 'string'
1105
- },
1106
- state: {
1107
- type: 'string'
1108
- }
1109
- }
1110
- },
1111
- content: {
1112
- type: 'array',
1113
- items: ['inline'],
1114
- optional: true,
1115
- allowUnsupportedInline: true
1116
- }
1117
- }
1118
- };
1119
- export var decisionList = {
1120
- props: {
1121
- type: {
1122
- type: 'enum',
1123
- values: ['decisionList']
1124
- },
1125
- attrs: {
1126
- props: {
1127
- localId: {
1128
- type: 'string'
1129
- }
1130
- }
1131
- },
1132
- content: {
1133
- type: 'array',
1134
- items: ['decisionItem'],
1135
- minItems: 1,
1136
- allowUnsupportedBlock: true
1137
- }
1138
- }
1139
- };
1140
1151
  export var embedCard = {
1141
1152
  props: {
1142
1153
  type: {
@@ -1293,6 +1293,62 @@
1293
1293
  "additionalProperties": false,
1294
1294
  "required": ["type", "attrs", "content"]
1295
1295
  },
1296
+ "decisionItem_node": {
1297
+ "type": "object",
1298
+ "properties": {
1299
+ "type": {
1300
+ "enum": ["decisionItem"]
1301
+ },
1302
+ "attrs": {
1303
+ "type": "object",
1304
+ "properties": {
1305
+ "localId": {
1306
+ "type": "string"
1307
+ },
1308
+ "state": {
1309
+ "type": "string"
1310
+ }
1311
+ },
1312
+ "required": ["localId", "state"],
1313
+ "additionalProperties": false
1314
+ },
1315
+ "content": {
1316
+ "type": "array",
1317
+ "items": {
1318
+ "$ref": "#/definitions/inline_node"
1319
+ }
1320
+ }
1321
+ },
1322
+ "additionalProperties": false,
1323
+ "required": ["type", "attrs"]
1324
+ },
1325
+ "decisionList_node": {
1326
+ "type": "object",
1327
+ "properties": {
1328
+ "type": {
1329
+ "enum": ["decisionList"]
1330
+ },
1331
+ "attrs": {
1332
+ "type": "object",
1333
+ "properties": {
1334
+ "localId": {
1335
+ "type": "string"
1336
+ }
1337
+ },
1338
+ "required": ["localId"],
1339
+ "additionalProperties": false
1340
+ },
1341
+ "content": {
1342
+ "type": "array",
1343
+ "items": {
1344
+ "$ref": "#/definitions/decisionItem_node"
1345
+ },
1346
+ "minItems": 1
1347
+ }
1348
+ },
1349
+ "additionalProperties": false,
1350
+ "required": ["type", "attrs", "content"]
1351
+ },
1296
1352
  "bulletList_node": {
1297
1353
  "type": "object",
1298
1354
  "properties": {
@@ -1438,62 +1494,6 @@
1438
1494
  "additionalProperties": false,
1439
1495
  "required": ["type", "content"]
1440
1496
  },
1441
- "decisionItem_node": {
1442
- "type": "object",
1443
- "properties": {
1444
- "type": {
1445
- "enum": ["decisionItem"]
1446
- },
1447
- "attrs": {
1448
- "type": "object",
1449
- "properties": {
1450
- "localId": {
1451
- "type": "string"
1452
- },
1453
- "state": {
1454
- "type": "string"
1455
- }
1456
- },
1457
- "required": ["localId", "state"],
1458
- "additionalProperties": false
1459
- },
1460
- "content": {
1461
- "type": "array",
1462
- "items": {
1463
- "$ref": "#/definitions/inline_node"
1464
- }
1465
- }
1466
- },
1467
- "additionalProperties": false,
1468
- "required": ["type", "attrs"]
1469
- },
1470
- "decisionList_node": {
1471
- "type": "object",
1472
- "properties": {
1473
- "type": {
1474
- "enum": ["decisionList"]
1475
- },
1476
- "attrs": {
1477
- "type": "object",
1478
- "properties": {
1479
- "localId": {
1480
- "type": "string"
1481
- }
1482
- },
1483
- "required": ["localId"],
1484
- "additionalProperties": false
1485
- },
1486
- "content": {
1487
- "type": "array",
1488
- "items": {
1489
- "$ref": "#/definitions/decisionItem_node"
1490
- },
1491
- "minItems": 1
1492
- }
1493
- },
1494
- "additionalProperties": false,
1495
- "required": ["type", "attrs", "content"]
1496
- },
1497
1497
  "embedCard_node": {
1498
1498
  "type": "object",
1499
1499
  "properties": {
@@ -1323,6 +1323,125 @@
1323
1323
  "additionalProperties": false,
1324
1324
  "required": ["type", "attrs", "content"]
1325
1325
  },
1326
+ "decisionItem_node": {
1327
+ "type": "object",
1328
+ "properties": {
1329
+ "type": {
1330
+ "enum": ["decisionItem"]
1331
+ },
1332
+ "attrs": {
1333
+ "type": "object",
1334
+ "properties": {
1335
+ "localId": {
1336
+ "type": "string"
1337
+ },
1338
+ "state": {
1339
+ "type": "string"
1340
+ }
1341
+ },
1342
+ "required": ["localId", "state"],
1343
+ "additionalProperties": false
1344
+ },
1345
+ "content": {
1346
+ "type": "array",
1347
+ "items": {
1348
+ "$ref": "#/definitions/inline_node"
1349
+ }
1350
+ }
1351
+ },
1352
+ "additionalProperties": false,
1353
+ "required": ["type", "attrs"]
1354
+ },
1355
+ "decisionList_node": {
1356
+ "type": "object",
1357
+ "properties": {
1358
+ "type": {
1359
+ "enum": ["decisionList"]
1360
+ },
1361
+ "attrs": {
1362
+ "type": "object",
1363
+ "properties": {
1364
+ "localId": {
1365
+ "type": "string"
1366
+ }
1367
+ },
1368
+ "required": ["localId"],
1369
+ "additionalProperties": false
1370
+ },
1371
+ "content": {
1372
+ "type": "array",
1373
+ "items": {
1374
+ "$ref": "#/definitions/decisionItem_node"
1375
+ },
1376
+ "minItems": 1
1377
+ }
1378
+ },
1379
+ "additionalProperties": false,
1380
+ "required": ["type", "attrs", "content"]
1381
+ },
1382
+ "listItem_with_nested_decision_node": {
1383
+ "type": "object",
1384
+ "properties": {
1385
+ "type": {
1386
+ "enum": ["listItem"]
1387
+ },
1388
+ "content": {
1389
+ "type": "array",
1390
+ "items": [
1391
+ {
1392
+ "anyOf": [
1393
+ {
1394
+ "$ref": "#/definitions/paragraph_with_no_marks_node"
1395
+ },
1396
+ {
1397
+ "$ref": "#/definitions/mediaSingle_caption_node"
1398
+ },
1399
+ {
1400
+ "$ref": "#/definitions/mediaSingle_full_node"
1401
+ },
1402
+ {
1403
+ "$ref": "#/definitions/codeBlock_with_no_marks_node"
1404
+ },
1405
+ {
1406
+ "$ref": "#/definitions/decisionList_node"
1407
+ }
1408
+ ]
1409
+ },
1410
+ {
1411
+ "anyOf": [
1412
+ {
1413
+ "$ref": "#/definitions/paragraph_with_no_marks_node"
1414
+ },
1415
+ {
1416
+ "$ref": "#/definitions/bulletList_node"
1417
+ },
1418
+ {
1419
+ "$ref": "#/definitions/orderedList_node"
1420
+ },
1421
+ {
1422
+ "$ref": "#/definitions/taskList_node"
1423
+ },
1424
+ {
1425
+ "$ref": "#/definitions/mediaSingle_caption_node"
1426
+ },
1427
+ {
1428
+ "$ref": "#/definitions/mediaSingle_full_node"
1429
+ },
1430
+ {
1431
+ "$ref": "#/definitions/codeBlock_with_no_marks_node"
1432
+ },
1433
+ {
1434
+ "$ref": "#/definitions/decisionList_node"
1435
+ }
1436
+ ]
1437
+ }
1438
+ ],
1439
+ "minItems": 1
1440
+ }
1441
+ },
1442
+ "additionalProperties": false,
1443
+ "required": ["type", "content"]
1444
+ },
1326
1445
  "bulletList_node": {
1327
1446
  "type": "object",
1328
1447
  "properties": {
@@ -1332,7 +1451,14 @@
1332
1451
  "content": {
1333
1452
  "type": "array",
1334
1453
  "items": {
1335
- "$ref": "#/definitions/listItem_node"
1454
+ "anyOf": [
1455
+ {
1456
+ "$ref": "#/definitions/listItem_node"
1457
+ },
1458
+ {
1459
+ "$ref": "#/definitions/listItem_with_nested_decision_node"
1460
+ }
1461
+ ]
1336
1462
  },
1337
1463
  "minItems": 1
1338
1464
  }
@@ -1416,7 +1542,14 @@
1416
1542
  "content": {
1417
1543
  "type": "array",
1418
1544
  "items": {
1419
- "$ref": "#/definitions/listItem_node"
1545
+ "anyOf": [
1546
+ {
1547
+ "$ref": "#/definitions/listItem_node"
1548
+ },
1549
+ {
1550
+ "$ref": "#/definitions/listItem_with_nested_decision_node"
1551
+ }
1552
+ ]
1420
1553
  },
1421
1554
  "minItems": 1
1422
1555
  }
@@ -1507,62 +1640,6 @@
1507
1640
  "additionalProperties": false,
1508
1641
  "required": ["type", "content"]
1509
1642
  },
1510
- "decisionItem_node": {
1511
- "type": "object",
1512
- "properties": {
1513
- "type": {
1514
- "enum": ["decisionItem"]
1515
- },
1516
- "attrs": {
1517
- "type": "object",
1518
- "properties": {
1519
- "localId": {
1520
- "type": "string"
1521
- },
1522
- "state": {
1523
- "type": "string"
1524
- }
1525
- },
1526
- "required": ["localId", "state"],
1527
- "additionalProperties": false
1528
- },
1529
- "content": {
1530
- "type": "array",
1531
- "items": {
1532
- "$ref": "#/definitions/inline_node"
1533
- }
1534
- }
1535
- },
1536
- "additionalProperties": false,
1537
- "required": ["type", "attrs"]
1538
- },
1539
- "decisionList_node": {
1540
- "type": "object",
1541
- "properties": {
1542
- "type": {
1543
- "enum": ["decisionList"]
1544
- },
1545
- "attrs": {
1546
- "type": "object",
1547
- "properties": {
1548
- "localId": {
1549
- "type": "string"
1550
- }
1551
- },
1552
- "required": ["localId"],
1553
- "additionalProperties": false
1554
- },
1555
- "content": {
1556
- "type": "array",
1557
- "items": {
1558
- "$ref": "#/definitions/decisionItem_node"
1559
- },
1560
- "minItems": 1
1561
- }
1562
- },
1563
- "additionalProperties": false,
1564
- "required": ["type", "attrs", "content"]
1565
- },
1566
1643
  "embedCard_node": {
1567
1644
  "type": "object",
1568
1645
  "properties": {
@@ -1,6 +1,6 @@
1
1
  export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMediaStage0, 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, expandWithNestedExpandStage0, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, listItemWithTask, 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, } from './schema';
3
+ colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandWithNestedExpandStage0, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, listItemWithTask, 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, } 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, InlineAtomic, 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';
@@ -77,7 +77,7 @@ export type BodiedExtensionWithMarksNode = PMNode & BodiedExtensionWithMarksDefi
77
77
  export declare const bodiedExtensionWithMarks: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BodiedExtensionWithMarksNode>) => import("prosemirror-model").NodeSpec;
78
78
  export interface BulletListDefinition {
79
79
  type: 'bulletList';
80
- content: Array<ListItemDefinition | ListItemLegacyDefinition>;
80
+ content: Array<ListItemDefinition | ListItemLegacyDefinition | ListItemWithNestedDecisionStage0Definition>;
81
81
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
82
82
  }
83
83
  export type BulletListNode = PMNode & BulletListDefinition;
@@ -439,6 +439,13 @@ export interface ListItemLegacyDefinition {
439
439
  }
440
440
  export type ListItemLegacyNode = PMNode & ListItemLegacyDefinition;
441
441
  export declare const listItemLegacy: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemLegacyNode>) => import("prosemirror-model").NodeSpec;
442
+ export interface ListItemWithNestedDecisionStage0Definition {
443
+ type: 'listItem';
444
+ content: Array<BulletListDefinition | CodeBlockWithNoMarksDefinition | CodeBlockWithNoMarksDefinition | DecisionListDefinition | DecisionListDefinition | MediaSingleCaptionDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
445
+ marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
446
+ }
447
+ export type ListItemWithNestedDecisionStage0Node = PMNode & ListItemWithNestedDecisionStage0Definition;
448
+ export declare const listItemWithNestedDecisionStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemWithNestedDecisionStage0Node>) => import("prosemirror-model").NodeSpec;
442
449
  export interface MediaNodeAttributes0 {
443
450
  type: 'link' | 'file';
444
451
  id: string;
@@ -631,7 +638,7 @@ export type NestedExpandWithNoMarksNode = PMNode & NestedExpandWithNoMarksDefini
631
638
  export declare const nestedExpandWithNoMarks: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<NestedExpandWithNoMarksNode>) => import("prosemirror-model").NodeSpec;
632
639
  export interface OrderedListDefinition {
633
640
  type: 'orderedList';
634
- content: Array<ListItemDefinition | ListItemLegacyDefinition>;
641
+ content: Array<ListItemDefinition | ListItemLegacyDefinition | ListItemWithNestedDecisionStage0Definition>;
635
642
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
636
643
  attrs: {
637
644
  order?: number;
@@ -1,4 +1,4 @@
1
- export { PanelType, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMediaStage0, bodiedExtension, bulletList, bulletListSelector, caption, codeBlock, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, decisionItem, decisionList, decisionListSelector, doc, embedCard, emoji, expand, expandWithNestedExpandStage0, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineExtension, layoutColumn, layoutSection, layoutSectionWithSingleColumn, listItem, listItemWithTask, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, extendedPanel, 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, } from './nodes';
1
+ export { PanelType, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMediaStage0, bodiedExtension, bulletList, bulletListSelector, caption, codeBlock, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, decisionItem, decisionList, decisionListSelector, doc, embedCard, emoji, expand, expandWithNestedExpandStage0, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineExtension, layoutColumn, layoutSection, layoutSectionWithSingleColumn, listItem, listItemWithTask, listItemWithDecisionStage0, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, extendedPanel, 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, } 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, InlineAtomic, 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, 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. */
@@ -26,7 +26,7 @@ export type { EmojiAttributes, EmojiDefinition } from './emoji';
26
26
  export { image } from './image';
27
27
  export { mention, toJSON as mentionToJSON } from './mention';
28
28
  export type { MentionAttributes, UserType as MentionUserType, MentionDefinition, } from './mention';
29
- export { listItem, listItemWithTask } from './list-item';
29
+ export { listItem, listItemWithTask, listItemWithDecisionStage0, } from './list-item';
30
30
  export type { ListItemArray, ListItemDefinition } from './types/list';
31
31
  export { extendedPanel, PanelType } from './panel';
32
32
  export type { PanelAttributes, PanelDefinition } from './panel';
@@ -4,3 +4,8 @@ export declare const listItem: import("prosemirror-model").NodeSpec;
4
4
  * @description this node allows task-list to be nested inside list-item
5
5
  */
6
6
  export declare const listItemWithTask: import("prosemirror-model").NodeSpec;
7
+ /**
8
+ * @name list_item_with_decision_stage0
9
+ * @description this node allows decisions to be nested inside list-item
10
+ */
11
+ export declare const listItemWithDecisionStage0: import("prosemirror-model").NodeSpec;