@atlaskit/adf-schema 52.8.0 → 52.9.1
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 +13 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +9 -27
- 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/marks/fontSize.js +1 -2
- package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/cjs/next-schema/nodes/paragraph.js +3 -14
- package/dist/cjs/schema/default-schema.js +1 -5
- package/dist/cjs/validator-schema/generated/validatorSpec.js +8 -26
- package/dist/es2019/next-schema/generated/nodeTypes.js +8 -26
- 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/marks/fontSize.js +1 -2
- package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/es2019/next-schema/nodes/paragraph.js +3 -14
- package/dist/es2019/schema/default-schema.js +1 -5
- package/dist/es2019/validator-schema/generated/validatorSpec.js +7 -25
- package/dist/esm/next-schema/generated/nodeTypes.js +8 -26
- 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/marks/fontSize.js +1 -2
- package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/esm/next-schema/nodes/paragraph.js +3 -14
- package/dist/esm/schema/default-schema.js +1 -5
- package/dist/esm/validator-schema/generated/validatorSpec.js +7 -25
- package/dist/json-schema/v1/full.json +73 -2
- package/dist/json-schema/v1/stage-0.json +8 -67
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types/next-schema/generated/nodeTypes.d.ts +18 -36
- package/dist/types/next-schema/nodes/paragraph.d.ts +1 -14
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +2 -20
- package/dist/types-ts4.5/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +18 -36
- package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +1 -14
- package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +2 -20
- package/json-schema/v1/full.json +73 -2
- package/json-schema/v1/stage-0.json +8 -67
- package/package.json +2 -2
package/json-schema/v1/full.json
CHANGED
|
@@ -309,6 +309,9 @@
|
|
|
309
309
|
{
|
|
310
310
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
311
311
|
},
|
|
312
|
+
{
|
|
313
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
314
|
+
},
|
|
312
315
|
{
|
|
313
316
|
"$ref": "#/definitions/extension_with_marks_node"
|
|
314
317
|
}
|
|
@@ -319,6 +322,9 @@
|
|
|
319
322
|
{
|
|
320
323
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
321
324
|
},
|
|
325
|
+
{
|
|
326
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
327
|
+
},
|
|
322
328
|
{
|
|
323
329
|
"$ref": "#/definitions/extension_with_marks_node"
|
|
324
330
|
}
|
|
@@ -1196,6 +1202,26 @@
|
|
|
1196
1202
|
}
|
|
1197
1203
|
]
|
|
1198
1204
|
},
|
|
1205
|
+
"fontSize_mark": {
|
|
1206
|
+
"type": "object",
|
|
1207
|
+
"properties": {
|
|
1208
|
+
"type": {
|
|
1209
|
+
"enum": ["fontSize"]
|
|
1210
|
+
},
|
|
1211
|
+
"attrs": {
|
|
1212
|
+
"type": "object",
|
|
1213
|
+
"properties": {
|
|
1214
|
+
"fontSize": {
|
|
1215
|
+
"enum": ["small"]
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
"required": ["fontSize"],
|
|
1219
|
+
"additionalProperties": false
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
"required": ["type", "attrs"],
|
|
1223
|
+
"additionalProperties": false
|
|
1224
|
+
},
|
|
1199
1225
|
"formatted_text_inline_node": {
|
|
1200
1226
|
"allOf": [
|
|
1201
1227
|
{
|
|
@@ -1679,6 +1705,9 @@
|
|
|
1679
1705
|
"type": "array",
|
|
1680
1706
|
"items": {
|
|
1681
1707
|
"anyOf": [
|
|
1708
|
+
{
|
|
1709
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
1710
|
+
},
|
|
1682
1711
|
{
|
|
1683
1712
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
1684
1713
|
},
|
|
@@ -2047,6 +2076,9 @@
|
|
|
2047
2076
|
{
|
|
2048
2077
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
2049
2078
|
},
|
|
2079
|
+
{
|
|
2080
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
2081
|
+
},
|
|
2050
2082
|
{
|
|
2051
2083
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
|
2052
2084
|
},
|
|
@@ -2137,6 +2169,9 @@
|
|
|
2137
2169
|
{
|
|
2138
2170
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
2139
2171
|
},
|
|
2172
|
+
{
|
|
2173
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
2174
|
+
},
|
|
2140
2175
|
{
|
|
2141
2176
|
"$ref": "#/definitions/panel_node"
|
|
2142
2177
|
},
|
|
@@ -2263,6 +2298,9 @@
|
|
|
2263
2298
|
{
|
|
2264
2299
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
2265
2300
|
},
|
|
2301
|
+
{
|
|
2302
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
2303
|
+
},
|
|
2266
2304
|
{
|
|
2267
2305
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
|
2268
2306
|
},
|
|
@@ -2346,7 +2384,33 @@
|
|
|
2346
2384
|
"marks": {
|
|
2347
2385
|
"type": "array",
|
|
2348
2386
|
"items": {
|
|
2349
|
-
"
|
|
2387
|
+
"anyOf": [
|
|
2388
|
+
{
|
|
2389
|
+
"$ref": "#/definitions/fontSize_mark"
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"$ref": "#/definitions/alignment_mark"
|
|
2393
|
+
}
|
|
2394
|
+
]
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
"additionalProperties": true
|
|
2399
|
+
}
|
|
2400
|
+
]
|
|
2401
|
+
},
|
|
2402
|
+
"paragraph_with_font_size_node": {
|
|
2403
|
+
"allOf": [
|
|
2404
|
+
{
|
|
2405
|
+
"$ref": "#/definitions/paragraph_node"
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"type": "object",
|
|
2409
|
+
"properties": {
|
|
2410
|
+
"marks": {
|
|
2411
|
+
"type": "array",
|
|
2412
|
+
"items": {
|
|
2413
|
+
"$ref": "#/definitions/fontSize_mark"
|
|
2350
2414
|
}
|
|
2351
2415
|
}
|
|
2352
2416
|
},
|
|
@@ -2365,7 +2429,14 @@
|
|
|
2365
2429
|
"marks": {
|
|
2366
2430
|
"type": "array",
|
|
2367
2431
|
"items": {
|
|
2368
|
-
"
|
|
2432
|
+
"anyOf": [
|
|
2433
|
+
{
|
|
2434
|
+
"$ref": "#/definitions/fontSize_mark"
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"$ref": "#/definitions/indentation_mark"
|
|
2438
|
+
}
|
|
2439
|
+
]
|
|
2369
2440
|
}
|
|
2370
2441
|
}
|
|
2371
2442
|
},
|
|
@@ -81,12 +81,6 @@
|
|
|
81
81
|
{
|
|
82
82
|
"$ref": "#/definitions/paragraph_with_indentation_node"
|
|
83
83
|
},
|
|
84
|
-
{
|
|
85
|
-
"$ref": "#/definitions/paragraph_with_font_size_and_alignment_node"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"$ref": "#/definitions/paragraph_with_font_size_and_indentation_node"
|
|
89
|
-
},
|
|
90
84
|
{
|
|
91
85
|
"$ref": "#/definitions/mediaSingle_caption_node"
|
|
92
86
|
},
|
|
@@ -456,12 +450,6 @@
|
|
|
456
450
|
{
|
|
457
451
|
"$ref": "#/definitions/paragraph_with_indentation_node"
|
|
458
452
|
},
|
|
459
|
-
{
|
|
460
|
-
"$ref": "#/definitions/paragraph_with_font_size_and_alignment_node"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
"$ref": "#/definitions/paragraph_with_font_size_and_indentation_node"
|
|
464
|
-
},
|
|
465
453
|
{
|
|
466
454
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
467
455
|
},
|
|
@@ -1006,12 +994,6 @@
|
|
|
1006
994
|
{
|
|
1007
995
|
"$ref": "#/definitions/paragraph_with_indentation_node"
|
|
1008
996
|
},
|
|
1009
|
-
{
|
|
1010
|
-
"$ref": "#/definitions/paragraph_with_font_size_and_alignment_node"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"$ref": "#/definitions/paragraph_with_font_size_and_indentation_node"
|
|
1014
|
-
},
|
|
1015
997
|
{
|
|
1016
998
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
1017
999
|
},
|
|
@@ -2691,25 +2673,6 @@
|
|
|
2691
2673
|
"required": ["type"]
|
|
2692
2674
|
},
|
|
2693
2675
|
"paragraph_with_alignment_node": {
|
|
2694
|
-
"allOf": [
|
|
2695
|
-
{
|
|
2696
|
-
"$ref": "#/definitions/paragraph_node"
|
|
2697
|
-
},
|
|
2698
|
-
{
|
|
2699
|
-
"type": "object",
|
|
2700
|
-
"properties": {
|
|
2701
|
-
"marks": {
|
|
2702
|
-
"type": "array",
|
|
2703
|
-
"items": {
|
|
2704
|
-
"$ref": "#/definitions/alignment_mark"
|
|
2705
|
-
}
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
"additionalProperties": true
|
|
2709
|
-
}
|
|
2710
|
-
]
|
|
2711
|
-
},
|
|
2712
|
-
"paragraph_with_font_size_and_alignment_node": {
|
|
2713
2676
|
"allOf": [
|
|
2714
2677
|
{
|
|
2715
2678
|
"$ref": "#/definitions/paragraph_node"
|
|
@@ -2735,32 +2698,6 @@
|
|
|
2735
2698
|
}
|
|
2736
2699
|
]
|
|
2737
2700
|
},
|
|
2738
|
-
"paragraph_with_font_size_and_indentation_node": {
|
|
2739
|
-
"allOf": [
|
|
2740
|
-
{
|
|
2741
|
-
"$ref": "#/definitions/paragraph_node"
|
|
2742
|
-
},
|
|
2743
|
-
{
|
|
2744
|
-
"type": "object",
|
|
2745
|
-
"properties": {
|
|
2746
|
-
"marks": {
|
|
2747
|
-
"type": "array",
|
|
2748
|
-
"items": {
|
|
2749
|
-
"anyOf": [
|
|
2750
|
-
{
|
|
2751
|
-
"$ref": "#/definitions/fontSize_mark"
|
|
2752
|
-
},
|
|
2753
|
-
{
|
|
2754
|
-
"$ref": "#/definitions/indentation_mark"
|
|
2755
|
-
}
|
|
2756
|
-
]
|
|
2757
|
-
}
|
|
2758
|
-
}
|
|
2759
|
-
},
|
|
2760
|
-
"additionalProperties": true
|
|
2761
|
-
}
|
|
2762
|
-
]
|
|
2763
|
-
},
|
|
2764
2701
|
"paragraph_with_font_size_node": {
|
|
2765
2702
|
"allOf": [
|
|
2766
2703
|
{
|
|
@@ -2791,7 +2728,14 @@
|
|
|
2791
2728
|
"marks": {
|
|
2792
2729
|
"type": "array",
|
|
2793
2730
|
"items": {
|
|
2794
|
-
"
|
|
2731
|
+
"anyOf": [
|
|
2732
|
+
{
|
|
2733
|
+
"$ref": "#/definitions/fontSize_mark"
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"$ref": "#/definitions/indentation_mark"
|
|
2737
|
+
}
|
|
2738
|
+
]
|
|
2795
2739
|
}
|
|
2796
2740
|
}
|
|
2797
2741
|
},
|
|
@@ -2973,9 +2917,6 @@
|
|
|
2973
2917
|
{
|
|
2974
2918
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
|
2975
2919
|
},
|
|
2976
|
-
{
|
|
2977
|
-
"$ref": "#/definitions/paragraph_with_font_size_and_alignment_node"
|
|
2978
|
-
},
|
|
2979
2920
|
{
|
|
2980
2921
|
"$ref": "#/definitions/panel_node"
|
|
2981
2922
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-schema",
|
|
3
|
-
"version": "52.
|
|
3
|
+
"version": "52.9.1",
|
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/adf-schema-generator": "^2.2.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^75.0.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"css-color-names": "0.0.4",
|
|
49
49
|
"linkify-it": "^3.0.3",
|