@atlaskit/adf-schema 40.3.1 → 40.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/index.js +8 -2
  3. package/dist/cjs/next-schema/generated/nodeTypes.js +10 -4
  4. package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
  5. package/dist/cjs/next-schema/nodes/blockquote.js +4 -5
  6. package/dist/cjs/next-schema/nodes/list.js +7 -2
  7. package/dist/cjs/schema/create-schema.js +1 -1
  8. package/dist/cjs/schema/default-schema.js +2 -1
  9. package/dist/cjs/schema/index.js +8 -2
  10. package/dist/cjs/schema/nodes/blockquote.js +3 -3
  11. package/dist/cjs/schema/nodes/index.js +8 -2
  12. package/dist/cjs/schema/nodes/list-item.js +14 -1
  13. package/dist/cjs/validator-schema/generated/validatorSpec.js +70 -59
  14. package/dist/es2019/index.js +2 -2
  15. package/dist/es2019/next-schema/generated/nodeTypes.js +9 -3
  16. package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
  17. package/dist/es2019/next-schema/nodes/blockquote.js +4 -5
  18. package/dist/es2019/next-schema/nodes/list.js +7 -2
  19. package/dist/es2019/schema/create-schema.js +2 -2
  20. package/dist/es2019/schema/default-schema.js +3 -2
  21. package/dist/es2019/schema/index.js +1 -1
  22. package/dist/es2019/schema/nodes/blockquote.js +3 -3
  23. package/dist/es2019/schema/nodes/index.js +2 -2
  24. package/dist/es2019/schema/nodes/list-item.js +14 -0
  25. package/dist/es2019/validator-schema/generated/validatorSpec.js +69 -58
  26. package/dist/esm/index.js +2 -2
  27. package/dist/esm/next-schema/generated/nodeTypes.js +9 -3
  28. package/dist/esm/next-schema/groups/blockGroup.js +1 -1
  29. package/dist/esm/next-schema/nodes/blockquote.js +4 -5
  30. package/dist/esm/next-schema/nodes/list.js +7 -2
  31. package/dist/esm/schema/create-schema.js +2 -2
  32. package/dist/esm/schema/default-schema.js +3 -2
  33. package/dist/esm/schema/index.js +1 -1
  34. package/dist/esm/schema/nodes/blockquote.js +3 -3
  35. package/dist/esm/schema/nodes/index.js +2 -2
  36. package/dist/esm/schema/nodes/list-item.js +14 -0
  37. package/dist/esm/validator-schema/generated/validatorSpec.js +69 -58
  38. package/dist/json-schema/v1/full.json +82 -70
  39. package/dist/json-schema/v1/stage-0.json +130 -86
  40. package/dist/types/index.d.ts +2 -2
  41. package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
  42. package/dist/types/next-schema/generated/nodeTypes.d.ts +14 -7
  43. package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +7 -3
  44. package/dist/types/next-schema/nodes/blockquote.d.ts +2 -3
  45. package/dist/types/schema/index.d.ts +1 -1
  46. package/dist/types/schema/nodes/blockquote.d.ts +1 -1
  47. package/dist/types/schema/nodes/index.d.ts +2 -2
  48. package/dist/types/schema/nodes/list-item.d.ts +5 -0
  49. package/dist/types/validator-schema/generated/validatorSpec.d.ts +66 -55
  50. package/json-schema/v1/full.json +82 -70
  51. package/json-schema/v1/stage-0.json +130 -86
  52. package/package.json +2 -2
@@ -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,104 +1095,59 @@ 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
  }
1046
1102
  };
1047
- export var blockquote = {
1103
+ export var mediaGroup = {
1048
1104
  props: {
1049
1105
  type: {
1050
1106
  type: 'enum',
1051
- values: ['blockquote']
1107
+ values: ['mediaGroup']
1052
1108
  },
1053
1109
  content: {
1054
1110
  type: 'array',
1055
- items: [['paragraph_with_no_marks', 'orderedList', 'bulletList']],
1111
+ items: ['media'],
1056
1112
  minItems: 1,
1057
1113
  allowUnsupportedBlock: true
1058
1114
  }
1059
1115
  }
1060
1116
  };
1061
- export var blockquote_legacy = ['blockquote', {
1062
- props: {
1063
- content: {
1064
- type: 'array',
1065
- items: ['paragraph'],
1066
- minItems: 1,
1067
- allowUnsupportedBlock: true
1068
- }
1069
- }
1070
- }];
1071
- export var mediaGroup = {
1117
+ export var blockquote = {
1072
1118
  props: {
1073
1119
  type: {
1074
1120
  type: 'enum',
1075
- values: ['mediaGroup']
1121
+ values: ['blockquote']
1076
1122
  },
1077
1123
  content: {
1078
1124
  type: 'array',
1079
- items: ['media'],
1125
+ items: [['paragraph_with_no_marks', 'orderedList', 'bulletList', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full']],
1080
1126
  minItems: 1,
1081
1127
  allowUnsupportedBlock: true
1082
1128
  }
1083
1129
  }
1084
1130
  };
1085
- export var blockquote_with_nested_codeblock_or_media = ['blockquote', {
1131
+ export var blockquote_legacy = ['blockquote', {
1086
1132
  props: {
1087
1133
  content: {
1088
1134
  type: 'array',
1089
- items: [['paragraph_with_no_marks', 'orderedList', 'bulletList', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full']],
1135
+ items: ['paragraph'],
1090
1136
  minItems: 1,
1091
1137
  allowUnsupportedBlock: true
1092
1138
  }
1093
1139
  }
1094
1140
  }];
1095
- export var decisionItem = {
1141
+ export var blockquote_without_nested_codeblock_or_media = ['blockquote', {
1096
1142
  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
1143
  content: {
1112
1144
  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'],
1145
+ items: [['paragraph_with_no_marks', 'orderedList', 'bulletList']],
1135
1146
  minItems: 1,
1136
1147
  allowUnsupportedBlock: true
1137
1148
  }
1138
1149
  }
1139
- };
1150
+ }];
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": {
@@ -1394,33 +1450,6 @@
1394
1450
  "additionalProperties": false,
1395
1451
  "required": ["type", "content"]
1396
1452
  },
1397
- "blockquote_node": {
1398
- "type": "object",
1399
- "properties": {
1400
- "type": {
1401
- "enum": ["blockquote"]
1402
- },
1403
- "content": {
1404
- "type": "array",
1405
- "items": {
1406
- "anyOf": [
1407
- {
1408
- "$ref": "#/definitions/paragraph_with_no_marks_node"
1409
- },
1410
- {
1411
- "$ref": "#/definitions/orderedList_node"
1412
- },
1413
- {
1414
- "$ref": "#/definitions/bulletList_node"
1415
- }
1416
- ]
1417
- },
1418
- "minItems": 1
1419
- }
1420
- },
1421
- "additionalProperties": false,
1422
- "required": ["type", "content"]
1423
- },
1424
1453
  "mediaGroup_node": {
1425
1454
  "type": "object",
1426
1455
  "properties": {
@@ -1438,61 +1467,44 @@
1438
1467
  "additionalProperties": false,
1439
1468
  "required": ["type", "content"]
1440
1469
  },
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": {
1470
+ "blockquote_node": {
1471
1471
  "type": "object",
1472
1472
  "properties": {
1473
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
1474
+ "enum": ["blockquote"]
1485
1475
  },
1486
1476
  "content": {
1487
1477
  "type": "array",
1488
1478
  "items": {
1489
- "$ref": "#/definitions/decisionItem_node"
1479
+ "anyOf": [
1480
+ {
1481
+ "$ref": "#/definitions/paragraph_with_no_marks_node"
1482
+ },
1483
+ {
1484
+ "$ref": "#/definitions/orderedList_node"
1485
+ },
1486
+ {
1487
+ "$ref": "#/definitions/bulletList_node"
1488
+ },
1489
+ {
1490
+ "$ref": "#/definitions/codeBlock_with_no_marks_node"
1491
+ },
1492
+ {
1493
+ "$ref": "#/definitions/mediaGroup_node"
1494
+ },
1495
+ {
1496
+ "$ref": "#/definitions/mediaSingle_caption_node"
1497
+ },
1498
+ {
1499
+ "$ref": "#/definitions/mediaSingle_full_node"
1500
+ }
1501
+ ]
1490
1502
  },
1491
1503
  "minItems": 1
1492
1504
  }
1493
1505
  },
1494
1506
  "additionalProperties": false,
1495
- "required": ["type", "attrs", "content"]
1507
+ "required": ["type", "content"]
1496
1508
  },
1497
1509
  "embedCard_node": {
1498
1510
  "type": "object",
@@ -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
  }
@@ -1413,35 +1539,15 @@
1413
1539
  },
1414
1540
  "additionalProperties": false
1415
1541
  },
1416
- "content": {
1417
- "type": "array",
1418
- "items": {
1419
- "$ref": "#/definitions/listItem_node"
1420
- },
1421
- "minItems": 1
1422
- }
1423
- },
1424
- "additionalProperties": false,
1425
- "required": ["type", "content"]
1426
- },
1427
- "blockquote_node": {
1428
- "type": "object",
1429
- "properties": {
1430
- "type": {
1431
- "enum": ["blockquote"]
1432
- },
1433
1542
  "content": {
1434
1543
  "type": "array",
1435
1544
  "items": {
1436
1545
  "anyOf": [
1437
1546
  {
1438
- "$ref": "#/definitions/paragraph_with_no_marks_node"
1547
+ "$ref": "#/definitions/listItem_node"
1439
1548
  },
1440
1549
  {
1441
- "$ref": "#/definitions/orderedList_node"
1442
- },
1443
- {
1444
- "$ref": "#/definitions/bulletList_node"
1550
+ "$ref": "#/definitions/listItem_with_nested_decision_node"
1445
1551
  }
1446
1552
  ]
1447
1553
  },
@@ -1468,7 +1574,7 @@
1468
1574
  "additionalProperties": false,
1469
1575
  "required": ["type", "content"]
1470
1576
  },
1471
- "blockquote_with_nested_codeblock_or_media_node": {
1577
+ "blockquote_node": {
1472
1578
  "type": "object",
1473
1579
  "properties": {
1474
1580
  "type": {
@@ -1507,62 +1613,6 @@
1507
1613
  "additionalProperties": false,
1508
1614
  "required": ["type", "content"]
1509
1615
  },
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
1616
  "embedCard_node": {
1567
1617
  "type": "object",
1568
1618
  "properties": {
@@ -2410,9 +2460,6 @@
2410
2460
  {
2411
2461
  "$ref": "#/definitions/blockquote_node"
2412
2462
  },
2413
- {
2414
- "$ref": "#/definitions/blockquote_with_nested_codeblock_or_media_node"
2415
- },
2416
2463
  {
2417
2464
  "$ref": "#/definitions/decisionList_node"
2418
2465
  },
@@ -2743,9 +2790,6 @@
2743
2790
  {
2744
2791
  "$ref": "#/definitions/blockquote_node"
2745
2792
  },
2746
- {
2747
- "$ref": "#/definitions/blockquote_with_nested_codeblock_or_media_node"
2748
- },
2749
2793
  {
2750
2794
  "$ref": "#/definitions/decisionList_node"
2751
2795
  },
@@ -1,6 +1,6 @@
1
- export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMediaStage0, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette,
1
+ export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMedia, 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';
@@ -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, BlockquoteWithNestedCodeblockOrMediaStage0Definition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition, CodeBlockWithNoMarksDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExpandWithNestedExpandStage0Definition, ExpandWithNoMarkDefinition, ExtensionDefinition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelDefinition, PanelLegacyDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithNoMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StatusStage0Definition, TableDefinition, TaskListDefinition, TextCodeInlineDefinition, TextDefinition, TextFormattedDefinition, UnsupportedBlockDefinition, UnsupportedInlineDefinition } from './nodeTypes';
7
- export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition | CodeBlockWithNoMarksDefinition | MediaSingleDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | OrderedListDefinition | BulletListDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | BlockquoteWithNestedCodeblockOrMediaStage0Definition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | PanelDefinition | PanelLegacyDefinition | TableDefinition | BodiedExtensionDefinition | BodiedExtensionWithMarksDefinition | ExpandDefinition | ExpandWithNoMarkDefinition | ExpandWithNestedExpandStage0Definition | ConfluenceUnsupportedBlockDefinition | UnsupportedBlockDefinition>;
6
+ import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BlockquoteWithoutNestedCodeblockOrMediaDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition, CodeBlockWithNoMarksDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExpandWithNestedExpandStage0Definition, ExpandWithNoMarkDefinition, ExtensionDefinition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelDefinition, PanelLegacyDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithNoMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StatusStage0Definition, TableDefinition, TaskListDefinition, TextCodeInlineDefinition, TextDefinition, TextFormattedDefinition, UnsupportedBlockDefinition, UnsupportedInlineDefinition } from './nodeTypes';
7
+ export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition | CodeBlockWithNoMarksDefinition | MediaSingleDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | OrderedListDefinition | BulletListDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | BlockquoteWithoutNestedCodeblockOrMediaDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | PanelDefinition | PanelLegacyDefinition | TableDefinition | BodiedExtensionDefinition | BodiedExtensionWithMarksDefinition | ExpandDefinition | ExpandWithNoMarkDefinition | ExpandWithNestedExpandStage0Definition | 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 | CodeBlockWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;