@atlaskit/adf-schema 20.1.3 → 20.1.4
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/dist/cjs/schema/nodes/emoji.js +5 -5
- package/dist/cjs/schema/nodes/panel.js +10 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/schema/nodes/emoji.js +5 -5
- package/dist/es2019/schema/nodes/panel.js +10 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/schema/nodes/emoji.js +5 -5
- package/dist/esm/schema/nodes/panel.js +10 -0
- package/dist/esm/version.json +1 -1
- package/dist/json-schema/v1/full.json +67 -3
- package/dist/json-schema/v1/stage-0.json +36 -81
- package/dist/types/index.d.ts +1 -1
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/marks/fragment.d.ts +0 -1
- package/dist/types/schema/nodes/bodied-extension.d.ts +1 -6
- package/dist/types/schema/nodes/extension.d.ts +1 -6
- package/dist/types/schema/nodes/index.d.ts +3 -3
- package/dist/types/schema/nodes/inline-extension.d.ts +1 -6
- package/dist/types/schema/nodes/media.d.ts +1 -1
- package/dist/types/schema/nodes/panel.d.ts +2 -0
- package/dist/types/schema/nodes/tableNodes.d.ts +4 -2
- package/dist/types/schema/nodes/types/block-content.d.ts +3 -3
- package/dist/types/schema/nodes/types/inline-content.d.ts +3 -3
- package/dist/types/schema/nodes/types/non-nestable-block-content.d.ts +2 -2
- package/json-schema/v1/full.json +67 -3
- package/json-schema/v1/stage-0.json +36 -81
- package/package.json +1 -1
@@ -22,7 +22,11 @@ var emoji = {
|
|
22
22
|
default: ''
|
23
23
|
}
|
24
24
|
},
|
25
|
-
parseDOM: [
|
25
|
+
parseDOM: [// Handle copy/paste beautiful panel from renderer />
|
26
|
+
{
|
27
|
+
tag: 'div.ak-editor-panel__icon span',
|
28
|
+
ignore: true
|
29
|
+
}, {
|
26
30
|
tag: 'span[data-emoji-short-name]',
|
27
31
|
getAttrs: function getAttrs(domNode) {
|
28
32
|
var dom = domNode;
|
@@ -32,10 +36,6 @@ var emoji = {
|
|
32
36
|
text: dom.getAttribute('data-emoji-text') || emoji.attrs.text.default
|
33
37
|
};
|
34
38
|
}
|
35
|
-
}, // Handle copy/paste beautiful panel from renderer />
|
36
|
-
{
|
37
|
-
tag: 'div.ak-editor-panel__icon',
|
38
|
-
ignore: true
|
39
39
|
}, // Handle copy/paste from old <ac:emoticon />
|
40
40
|
{
|
41
41
|
tag: 'img[data-emoticon-name]',
|
@@ -34,6 +34,12 @@ var getDefaultAttrs = function getDefaultAttrs() {
|
|
34
34
|
panelIcon: {
|
35
35
|
default: null
|
36
36
|
},
|
37
|
+
panelIconId: {
|
38
|
+
default: null
|
39
|
+
},
|
40
|
+
panelIconText: {
|
41
|
+
default: null
|
42
|
+
},
|
37
43
|
panelColor: {
|
38
44
|
default: null
|
39
45
|
}
|
@@ -45,6 +51,8 @@ var getDomAttrs = function getDomAttrs(nodeAttrs) {
|
|
45
51
|
var attrs = {
|
46
52
|
'data-panel-type': nodeAttrs.panelType,
|
47
53
|
'data-panel-icon': nodeAttrs.panelIcon,
|
54
|
+
'data-panel-icon-id': nodeAttrs.panelIconId,
|
55
|
+
'data-panel-icon-text': nodeAttrs.panelIconText,
|
48
56
|
'data-panel-color': nodeAttrs.panelColor
|
49
57
|
};
|
50
58
|
return attrs;
|
@@ -58,6 +66,8 @@ var getParseDOMAttrs = function getParseDOMAttrs(allowCustomPanel, dom) {
|
|
58
66
|
if (allowCustomPanel) {
|
59
67
|
parseDOMAttrs = _objectSpread(_objectSpread({}, parseDOMAttrs), {}, {
|
60
68
|
panelIcon: dom.getAttribute('data-panel-icon'),
|
69
|
+
panelIconId: dom.getAttribute('data-panel-icon-id'),
|
70
|
+
panelIconText: dom.getAttribute('data-panel-icon-text'),
|
61
71
|
panelColor: dom.getAttribute('data-panel-color')
|
62
72
|
});
|
63
73
|
} else {
|
package/dist/cjs/version.json
CHANGED
@@ -18,7 +18,11 @@ export const emoji = {
|
|
18
18
|
default: ''
|
19
19
|
}
|
20
20
|
},
|
21
|
-
parseDOM: [
|
21
|
+
parseDOM: [// Handle copy/paste beautiful panel from renderer />
|
22
|
+
{
|
23
|
+
tag: 'div.ak-editor-panel__icon span',
|
24
|
+
ignore: true
|
25
|
+
}, {
|
22
26
|
tag: 'span[data-emoji-short-name]',
|
23
27
|
getAttrs: domNode => {
|
24
28
|
const dom = domNode;
|
@@ -28,10 +32,6 @@ export const emoji = {
|
|
28
32
|
text: dom.getAttribute('data-emoji-text') || emoji.attrs.text.default
|
29
33
|
};
|
30
34
|
}
|
31
|
-
}, // Handle copy/paste beautiful panel from renderer />
|
32
|
-
{
|
33
|
-
tag: 'div.ak-editor-panel__icon',
|
34
|
-
ignore: true
|
35
35
|
}, // Handle copy/paste from old <ac:emoticon />
|
36
36
|
{
|
37
37
|
tag: 'img[data-emoticon-name]',
|
@@ -18,6 +18,12 @@ const getDefaultAttrs = () => {
|
|
18
18
|
panelIcon: {
|
19
19
|
default: null
|
20
20
|
},
|
21
|
+
panelIconId: {
|
22
|
+
default: null
|
23
|
+
},
|
24
|
+
panelIconText: {
|
25
|
+
default: null
|
26
|
+
},
|
21
27
|
panelColor: {
|
22
28
|
default: null
|
23
29
|
}
|
@@ -29,6 +35,8 @@ const getDomAttrs = nodeAttrs => {
|
|
29
35
|
let attrs = {
|
30
36
|
'data-panel-type': nodeAttrs.panelType,
|
31
37
|
'data-panel-icon': nodeAttrs.panelIcon,
|
38
|
+
'data-panel-icon-id': nodeAttrs.panelIconId,
|
39
|
+
'data-panel-icon-text': nodeAttrs.panelIconText,
|
32
40
|
'data-panel-color': nodeAttrs.panelColor
|
33
41
|
};
|
34
42
|
return attrs;
|
@@ -42,6 +50,8 @@ const getParseDOMAttrs = (allowCustomPanel, dom) => {
|
|
42
50
|
if (allowCustomPanel) {
|
43
51
|
parseDOMAttrs = { ...parseDOMAttrs,
|
44
52
|
panelIcon: dom.getAttribute('data-panel-icon'),
|
53
|
+
panelIconId: dom.getAttribute('data-panel-icon-id'),
|
54
|
+
panelIconText: dom.getAttribute('data-panel-icon-text'),
|
45
55
|
panelColor: dom.getAttribute('data-panel-color')
|
46
56
|
};
|
47
57
|
} else {
|
package/dist/es2019/version.json
CHANGED
@@ -18,7 +18,11 @@ export var emoji = {
|
|
18
18
|
default: ''
|
19
19
|
}
|
20
20
|
},
|
21
|
-
parseDOM: [
|
21
|
+
parseDOM: [// Handle copy/paste beautiful panel from renderer />
|
22
|
+
{
|
23
|
+
tag: 'div.ak-editor-panel__icon span',
|
24
|
+
ignore: true
|
25
|
+
}, {
|
22
26
|
tag: 'span[data-emoji-short-name]',
|
23
27
|
getAttrs: function getAttrs(domNode) {
|
24
28
|
var dom = domNode;
|
@@ -28,10 +32,6 @@ export var emoji = {
|
|
28
32
|
text: dom.getAttribute('data-emoji-text') || emoji.attrs.text.default
|
29
33
|
};
|
30
34
|
}
|
31
|
-
}, // Handle copy/paste beautiful panel from renderer />
|
32
|
-
{
|
33
|
-
tag: 'div.ak-editor-panel__icon',
|
34
|
-
ignore: true
|
35
35
|
}, // Handle copy/paste from old <ac:emoticon />
|
36
36
|
{
|
37
37
|
tag: 'img[data-emoticon-name]',
|
@@ -24,6 +24,12 @@ var getDefaultAttrs = function getDefaultAttrs() {
|
|
24
24
|
panelIcon: {
|
25
25
|
default: null
|
26
26
|
},
|
27
|
+
panelIconId: {
|
28
|
+
default: null
|
29
|
+
},
|
30
|
+
panelIconText: {
|
31
|
+
default: null
|
32
|
+
},
|
27
33
|
panelColor: {
|
28
34
|
default: null
|
29
35
|
}
|
@@ -35,6 +41,8 @@ var getDomAttrs = function getDomAttrs(nodeAttrs) {
|
|
35
41
|
var attrs = {
|
36
42
|
'data-panel-type': nodeAttrs.panelType,
|
37
43
|
'data-panel-icon': nodeAttrs.panelIcon,
|
44
|
+
'data-panel-icon-id': nodeAttrs.panelIconId,
|
45
|
+
'data-panel-icon-text': nodeAttrs.panelIconText,
|
38
46
|
'data-panel-color': nodeAttrs.panelColor
|
39
47
|
};
|
40
48
|
return attrs;
|
@@ -48,6 +56,8 @@ var getParseDOMAttrs = function getParseDOMAttrs(allowCustomPanel, dom) {
|
|
48
56
|
if (allowCustomPanel) {
|
49
57
|
parseDOMAttrs = _objectSpread(_objectSpread({}, parseDOMAttrs), {}, {
|
50
58
|
panelIcon: dom.getAttribute('data-panel-icon'),
|
59
|
+
panelIconId: dom.getAttribute('data-panel-icon-id'),
|
60
|
+
panelIconText: dom.getAttribute('data-panel-icon-text'),
|
51
61
|
panelColor: dom.getAttribute('data-panel-color')
|
52
62
|
});
|
53
63
|
} else {
|
package/dist/esm/version.json
CHANGED
@@ -427,6 +427,37 @@
|
|
427
427
|
],
|
428
428
|
"additionalProperties": false
|
429
429
|
},
|
430
|
+
"fragment_mark": {
|
431
|
+
"type": "object",
|
432
|
+
"properties": {
|
433
|
+
"type": {
|
434
|
+
"enum": [
|
435
|
+
"fragment"
|
436
|
+
]
|
437
|
+
},
|
438
|
+
"attrs": {
|
439
|
+
"type": "object",
|
440
|
+
"properties": {
|
441
|
+
"localId": {
|
442
|
+
"type": "string",
|
443
|
+
"minLength": 1
|
444
|
+
},
|
445
|
+
"name": {
|
446
|
+
"type": "string"
|
447
|
+
}
|
448
|
+
},
|
449
|
+
"required": [
|
450
|
+
"localId"
|
451
|
+
],
|
452
|
+
"additionalProperties": false
|
453
|
+
}
|
454
|
+
},
|
455
|
+
"required": [
|
456
|
+
"type",
|
457
|
+
"attrs"
|
458
|
+
],
|
459
|
+
"additionalProperties": false
|
460
|
+
},
|
430
461
|
"hardBreak_node": {
|
431
462
|
"type": "object",
|
432
463
|
"properties": {
|
@@ -580,7 +611,14 @@
|
|
580
611
|
"marks": {
|
581
612
|
"type": "array",
|
582
613
|
"items": {
|
583
|
-
"
|
614
|
+
"anyOf": [
|
615
|
+
{
|
616
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"$ref": "#/definitions/fragment_mark"
|
620
|
+
}
|
621
|
+
]
|
584
622
|
}
|
585
623
|
}
|
586
624
|
},
|
@@ -1426,6 +1464,12 @@
|
|
1426
1464
|
"panelIcon": {
|
1427
1465
|
"type": "string"
|
1428
1466
|
},
|
1467
|
+
"panelIconId": {
|
1468
|
+
"type": "string"
|
1469
|
+
},
|
1470
|
+
"panelIconText": {
|
1471
|
+
"type": "string"
|
1472
|
+
},
|
1429
1473
|
"panelColor": {
|
1430
1474
|
"type": "string"
|
1431
1475
|
}
|
@@ -1745,7 +1789,14 @@
|
|
1745
1789
|
"marks": {
|
1746
1790
|
"type": "array",
|
1747
1791
|
"items": {
|
1748
|
-
"
|
1792
|
+
"anyOf": [
|
1793
|
+
{
|
1794
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
1795
|
+
},
|
1796
|
+
{
|
1797
|
+
"$ref": "#/definitions/fragment_mark"
|
1798
|
+
}
|
1799
|
+
]
|
1749
1800
|
}
|
1750
1801
|
}
|
1751
1802
|
},
|
@@ -1905,6 +1956,12 @@
|
|
1905
1956
|
"$ref": "#/definitions/table_row_node"
|
1906
1957
|
},
|
1907
1958
|
"minItems": 1
|
1959
|
+
},
|
1960
|
+
"marks": {
|
1961
|
+
"type": "array",
|
1962
|
+
"items": {
|
1963
|
+
"$ref": "#/definitions/fragment_mark"
|
1964
|
+
}
|
1908
1965
|
}
|
1909
1966
|
},
|
1910
1967
|
"required": [
|
@@ -2283,7 +2340,14 @@
|
|
2283
2340
|
"marks": {
|
2284
2341
|
"type": "array",
|
2285
2342
|
"items": {
|
2286
|
-
"
|
2343
|
+
"anyOf": [
|
2344
|
+
{
|
2345
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
2346
|
+
},
|
2347
|
+
{
|
2348
|
+
"$ref": "#/definitions/fragment_mark"
|
2349
|
+
}
|
2350
|
+
]
|
2287
2351
|
}
|
2288
2352
|
}
|
2289
2353
|
},
|
@@ -611,26 +611,14 @@
|
|
611
611
|
"marks": {
|
612
612
|
"type": "array",
|
613
613
|
"items": {
|
614
|
-
"
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
"inlineExtension_with_experimental_marks_node": {
|
623
|
-
"allOf": [
|
624
|
-
{
|
625
|
-
"$ref": "#/definitions/inlineExtension_node"
|
626
|
-
},
|
627
|
-
{
|
628
|
-
"type": "object",
|
629
|
-
"properties": {
|
630
|
-
"marks": {
|
631
|
-
"type": "array",
|
632
|
-
"items": {
|
633
|
-
"$ref": "#/definitions/fragment_mark"
|
614
|
+
"anyOf": [
|
615
|
+
{
|
616
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"$ref": "#/definitions/fragment_mark"
|
620
|
+
}
|
621
|
+
]
|
634
622
|
}
|
635
623
|
}
|
636
624
|
},
|
@@ -1048,9 +1036,6 @@
|
|
1048
1036
|
{
|
1049
1037
|
"$ref": "#/definitions/inlineExtension_with_marks_node"
|
1050
1038
|
},
|
1051
|
-
{
|
1052
|
-
"$ref": "#/definitions/inlineExtension_with_experimental_marks_node"
|
1053
|
-
},
|
1054
1039
|
{
|
1055
1040
|
"$ref": "#/definitions/date_node"
|
1056
1041
|
},
|
@@ -1534,6 +1519,12 @@
|
|
1534
1519
|
"panelIcon": {
|
1535
1520
|
"type": "string"
|
1536
1521
|
},
|
1522
|
+
"panelIconId": {
|
1523
|
+
"type": "string"
|
1524
|
+
},
|
1525
|
+
"panelIconText": {
|
1526
|
+
"type": "string"
|
1527
|
+
},
|
1537
1528
|
"panelColor": {
|
1538
1529
|
"type": "string"
|
1539
1530
|
}
|
@@ -1853,26 +1844,14 @@
|
|
1853
1844
|
"marks": {
|
1854
1845
|
"type": "array",
|
1855
1846
|
"items": {
|
1856
|
-
"
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
"extension_with_experimental_marks_node": {
|
1865
|
-
"allOf": [
|
1866
|
-
{
|
1867
|
-
"$ref": "#/definitions/extension_node"
|
1868
|
-
},
|
1869
|
-
{
|
1870
|
-
"type": "object",
|
1871
|
-
"properties": {
|
1872
|
-
"marks": {
|
1873
|
-
"type": "array",
|
1874
|
-
"items": {
|
1875
|
-
"$ref": "#/definitions/fragment_mark"
|
1847
|
+
"anyOf": [
|
1848
|
+
{
|
1849
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
1850
|
+
},
|
1851
|
+
{
|
1852
|
+
"$ref": "#/definitions/fragment_mark"
|
1853
|
+
}
|
1854
|
+
]
|
1876
1855
|
}
|
1877
1856
|
}
|
1878
1857
|
},
|
@@ -2032,6 +2011,12 @@
|
|
2032
2011
|
"$ref": "#/definitions/table_row_node"
|
2033
2012
|
},
|
2034
2013
|
"minItems": 1
|
2014
|
+
},
|
2015
|
+
"marks": {
|
2016
|
+
"type": "array",
|
2017
|
+
"items": {
|
2018
|
+
"$ref": "#/definitions/fragment_mark"
|
2019
|
+
}
|
2035
2020
|
}
|
2036
2021
|
},
|
2037
2022
|
"required": [
|
@@ -2126,9 +2111,6 @@
|
|
2126
2111
|
{
|
2127
2112
|
"$ref": "#/definitions/extension_with_marks_node"
|
2128
2113
|
},
|
2129
|
-
{
|
2130
|
-
"$ref": "#/definitions/extension_with_experimental_marks_node"
|
2131
|
-
},
|
2132
2114
|
{
|
2133
2115
|
"$ref": "#/definitions/embedCard_node"
|
2134
2116
|
},
|
@@ -2264,9 +2246,6 @@
|
|
2264
2246
|
{
|
2265
2247
|
"$ref": "#/definitions/extension_with_marks_node"
|
2266
2248
|
},
|
2267
|
-
{
|
2268
|
-
"$ref": "#/definitions/extension_with_experimental_marks_node"
|
2269
|
-
},
|
2270
2249
|
{
|
2271
2250
|
"$ref": "#/definitions/embedCard_node"
|
2272
2251
|
},
|
@@ -2416,26 +2395,14 @@
|
|
2416
2395
|
"marks": {
|
2417
2396
|
"type": "array",
|
2418
2397
|
"items": {
|
2419
|
-
"
|
2420
|
-
|
2421
|
-
|
2422
|
-
|
2423
|
-
|
2424
|
-
|
2425
|
-
|
2426
|
-
|
2427
|
-
"bodiedExtension_with_experimental_marks_node": {
|
2428
|
-
"allOf": [
|
2429
|
-
{
|
2430
|
-
"$ref": "#/definitions/bodiedExtension_node"
|
2431
|
-
},
|
2432
|
-
{
|
2433
|
-
"type": "object",
|
2434
|
-
"properties": {
|
2435
|
-
"marks": {
|
2436
|
-
"type": "array",
|
2437
|
-
"items": {
|
2438
|
-
"$ref": "#/definitions/fragment_mark"
|
2398
|
+
"anyOf": [
|
2399
|
+
{
|
2400
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
2401
|
+
},
|
2402
|
+
{
|
2403
|
+
"$ref": "#/definitions/fragment_mark"
|
2404
|
+
}
|
2405
|
+
]
|
2439
2406
|
}
|
2440
2407
|
}
|
2441
2408
|
},
|
@@ -2499,9 +2466,6 @@
|
|
2499
2466
|
{
|
2500
2467
|
"$ref": "#/definitions/extension_with_marks_node"
|
2501
2468
|
},
|
2502
|
-
{
|
2503
|
-
"$ref": "#/definitions/extension_with_experimental_marks_node"
|
2504
|
-
},
|
2505
2469
|
{
|
2506
2470
|
"$ref": "#/definitions/embedCard_node"
|
2507
2471
|
},
|
@@ -2513,9 +2477,6 @@
|
|
2513
2477
|
},
|
2514
2478
|
{
|
2515
2479
|
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
2516
|
-
},
|
2517
|
-
{
|
2518
|
-
"$ref": "#/definitions/bodiedExtension_with_experimental_marks_node"
|
2519
2480
|
}
|
2520
2481
|
]
|
2521
2482
|
},
|
@@ -2732,9 +2693,6 @@
|
|
2732
2693
|
{
|
2733
2694
|
"$ref": "#/definitions/extension_with_marks_node"
|
2734
2695
|
},
|
2735
|
-
{
|
2736
|
-
"$ref": "#/definitions/extension_with_experimental_marks_node"
|
2737
|
-
},
|
2738
2696
|
{
|
2739
2697
|
"$ref": "#/definitions/embedCard_node"
|
2740
2698
|
},
|
@@ -2750,9 +2708,6 @@
|
|
2750
2708
|
{
|
2751
2709
|
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
2752
2710
|
},
|
2753
|
-
{
|
2754
|
-
"$ref": "#/definitions/bodiedExtension_with_experimental_marks_node"
|
2755
|
-
},
|
2756
2711
|
{
|
2757
2712
|
"$ref": "#/definitions/layoutSection_full_node"
|
2758
2713
|
},
|
package/dist/types/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
export { AnnotationTypes, PanelType, alignment, alignmentPositionMap, annotation, bitbucketSchema, blockCard, blockquote, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette, colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceSchema, confluenceSchemaWithMediaSingle, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createJIRASchema, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, defaultSchema, defaultSchemaConfig, doc, em, embedCard, emoji, expand, expandToJSON, extension, fragment, fragmentToJSON, getSchemaBasedOnStage, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, isSchemaWithAdvancedTextFormattingMarks, isSchemaWithBlockQuotes, isSchemaWithCodeBlock, isSchemaWithEmojis, isSchemaWithLinks, isSchemaWithLists, isSchemaWithMedia, isSchemaWithMentions, isSchemaWithSubSupMark, isSchemaWithTables, isSchemaWithTextColor, layoutColumn, layoutSection, link, linkToJSON, listItem, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, panel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, 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, } from './schema';
|
2
|
-
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition,
|
2
|
+
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, 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, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, } from './schema';
|
3
3
|
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, } from './utils';
|
4
4
|
export type { Match, NameToEmoji } from './utils';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export { PanelType, blockCard, blockquote, bodiedExtension, bulletList, bulletListSelector, caption, codeBlock, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, decisionItem, decisionList, decisionListSelector, doc, embedCard, emoji, expand, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineExtension, layoutColumn, layoutSection, layoutSectionWithSingleColumn, listItem, media, mediaGroup, mediaSingle, mediaInline, mediaSingleWithCaption, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, panel, paragraph, placeholder, rule, getCellAttrs, getCellDomAttrs, status, table, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, } from './nodes';
|
2
|
-
export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition,
|
2
|
+
export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, 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, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, RichMediaLayout, CellDomAttrs, } from './nodes';
|
3
3
|
export { AnnotationTypes, alignment, alignmentPositionMap, annotation, breakout, code, colorPalette, colorPaletteExtended, confluenceInlineComment, dataConsumer, dataConsumerToJSON, em, fragment, fragmentToJSON, indentation, link, linkToJSON, strike, strong, subsup, textColor, typeAheadQuery, underline, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, } from './marks';
|
4
4
|
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, CodeDefinition, EmDefinition, FragmentAttributes, FragmentDefinition, IndentationMarkAttributes, IndentationMarkDefinition, LinkAttributes, LinkDefinition, StrikeDefinition, StrongDefinition, SubSupAttributes, SubSupDefinition, TextColorAttributes, TextColorDefinition, UnderlineDefinition, AnnotationId, AnnotationDataAttributes, DataConsumerAttributes, DataConsumerDefinition, } from './marks';
|
5
5
|
export { unsupportedNodeTypesForMediaCards } from './unsupported';
|
@@ -8,7 +8,6 @@ export interface FragmentAttributes {
|
|
8
8
|
name?: string;
|
9
9
|
}
|
10
10
|
/**
|
11
|
-
* @stage 0
|
12
11
|
* @name fragment_mark
|
13
12
|
* @description Indicates that the elements decorated with this mark belong to a "fragment" entity, which represents a collection of ADF nodes.
|
14
13
|
* This entity can be referred to later by its `localId` attribute.
|
@@ -20,10 +20,5 @@ export interface BodiedExtensionBaseDefinition {
|
|
20
20
|
/**
|
21
21
|
* @name bodiedExtension_with_marks_node
|
22
22
|
*/
|
23
|
-
export declare type BodiedExtensionDefinition = BodiedExtensionBaseDefinition & MarksObject<DataConsumerDefinition>;
|
24
|
-
/**
|
25
|
-
* @stage 0
|
26
|
-
* @name bodiedExtension_with_experimental_marks_node
|
27
|
-
*/
|
28
|
-
export declare type BodiedExtensionWithMarksDefinition = BodiedExtensionBaseDefinition & MarksObject<FragmentDefinition>;
|
23
|
+
export declare type BodiedExtensionDefinition = BodiedExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
|
29
24
|
export declare const bodiedExtension: NodeSpec;
|
@@ -14,10 +14,5 @@ export interface ExtensionBaseDefinition {
|
|
14
14
|
/**
|
15
15
|
* @name extension_with_marks_node
|
16
16
|
*/
|
17
|
-
export declare type ExtensionDefinition = ExtensionBaseDefinition & MarksObject<DataConsumerDefinition>;
|
18
|
-
/**
|
19
|
-
* @stage 0
|
20
|
-
* @name extension_with_experimental_marks_node
|
21
|
-
*/
|
22
|
-
export declare type ExtensionWithMarksDefinition = ExtensionBaseDefinition & MarksObject<FragmentDefinition>;
|
17
|
+
export declare type ExtensionDefinition = ExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
|
23
18
|
export declare const extension: NodeSpec;
|
@@ -54,11 +54,11 @@ export type { TaskListDefinition, TaskListContent } from './task-list';
|
|
54
54
|
export { taskItem } from './task-item';
|
55
55
|
export type { TaskItemDefinition } from './task-item';
|
56
56
|
export { extension } from './extension';
|
57
|
-
export type { ExtensionDefinition
|
57
|
+
export type { ExtensionDefinition } from './extension';
|
58
58
|
export { inlineExtension } from './inline-extension';
|
59
|
-
export type { InlineExtensionDefinition
|
59
|
+
export type { InlineExtensionDefinition } from './inline-extension';
|
60
60
|
export { bodiedExtension } from './bodied-extension';
|
61
|
-
export type { BodiedExtensionDefinition
|
61
|
+
export type { BodiedExtensionDefinition } from './bodied-extension';
|
62
62
|
export { date } from './date';
|
63
63
|
export type { DateDefinition } from './date';
|
64
64
|
export { placeholder } from './placeholder';
|
@@ -14,10 +14,5 @@ export interface InlineExtensionBaseDefinition {
|
|
14
14
|
/**
|
15
15
|
* @name inlineExtension_with_marks_node
|
16
16
|
*/
|
17
|
-
export declare type InlineExtensionDefinition = InlineExtensionBaseDefinition & MarksObject<DataConsumerDefinition>;
|
18
|
-
/**
|
19
|
-
* @stage 0
|
20
|
-
* @name inlineExtension_with_experimental_marks_node
|
21
|
-
*/
|
22
|
-
export declare type InlineExtensionWithMarksDefinition = InlineExtensionBaseDefinition & MarksObject<FragmentDefinition>;
|
17
|
+
export declare type InlineExtensionDefinition = InlineExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
|
23
18
|
export declare const inlineExtension: NodeSpec;
|
@@ -35,7 +35,7 @@ export interface MediaBaseAttributes {
|
|
35
35
|
__fileSize?: number | null;
|
36
36
|
__fileMimeType?: string | null;
|
37
37
|
__displayType?: DisplayType | null;
|
38
|
-
__contextId?: string;
|
38
|
+
__contextId?: string | null;
|
39
39
|
__external?: boolean;
|
40
40
|
}
|
41
41
|
export interface MediaAttributes extends MediaBaseAttributes {
|
@@ -12,10 +12,11 @@ import { MediaGroupDefinition as MediaGroup } from './media-group';
|
|
12
12
|
import { MediaSingleDefinition as MediaSingle } from './media-single';
|
13
13
|
import { DecisionListDefinition as DecisionList } from './decision-list';
|
14
14
|
import { TaskListDefinition as TaskList } from './task-list';
|
15
|
-
import { ExtensionDefinition as Extension
|
15
|
+
import { ExtensionDefinition as Extension } from './extension';
|
16
16
|
import { BlockCardDefinition as BlockCard } from './block-card';
|
17
17
|
import { EmbedCardDefinition as EmbedCard } from './embed-card';
|
18
18
|
import { NestedExpandDefinition as NestedExpand } from './nested-expand';
|
19
|
+
import { FragmentDefinition } from '../marks/fragment';
|
19
20
|
export type { CellAttributes };
|
20
21
|
export declare const tablePrefixSelector = "pm-table";
|
21
22
|
export declare const tableCellSelector: string;
|
@@ -64,6 +65,7 @@ export interface TableDefinition {
|
|
64
65
|
* @minItems 1
|
65
66
|
*/
|
66
67
|
content: Array<TableRow>;
|
68
|
+
marks?: Array<FragmentDefinition>;
|
67
69
|
}
|
68
70
|
/**
|
69
71
|
* @name table_row_node
|
@@ -77,7 +79,7 @@ export interface TableRow {
|
|
77
79
|
* @minItems 1
|
78
80
|
* @allowUnsupportedBlock true
|
79
81
|
*/
|
80
|
-
export declare type TableCellContent = Array<Panel | Paragraph | ParagraphWithMarks | Blockquote | OrderedList | BulletList | Rule | Heading | HeadingWithMarks | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Extension |
|
82
|
+
export declare type TableCellContent = Array<Panel | Paragraph | ParagraphWithMarks | Blockquote | OrderedList | BulletList | Rule | Heading | HeadingWithMarks | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Extension | BlockCard | NestedExpand | EmbedCard>;
|
81
83
|
/**
|
82
84
|
* @name table_cell_node
|
83
85
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ExpandDefinition as Expand } from '../expand';
|
2
|
-
import { BodiedExtensionDefinition as BodiedExtension
|
2
|
+
import { BodiedExtensionDefinition as BodiedExtension } from '../bodied-extension';
|
3
3
|
import { PanelDefinition as Panel } from '../panel';
|
4
4
|
import { ParagraphDefinition as Paragraph, ParagraphWithAlignmentDefinition as ParagraphWithMarks } from '../paragraph';
|
5
5
|
import { BlockQuoteDefinition as Blockquote } from '../blockquote';
|
@@ -13,10 +13,10 @@ import { MediaSingleDefinition as MediaSingle } from '../media-single';
|
|
13
13
|
import { DecisionListDefinition as DecisionList } from '../decision-list';
|
14
14
|
import { TaskListDefinition as TaskList } from '../task-list';
|
15
15
|
import { TableDefinition as Table } from '../tableNodes';
|
16
|
-
import { ExtensionDefinition as Extension
|
16
|
+
import { ExtensionDefinition as Extension } from '../extension';
|
17
17
|
import { BlockCardDefinition as BlockCard } from '../block-card';
|
18
18
|
import { EmbedCardDefinition as EmbedCard } from '../embed-card';
|
19
19
|
/**
|
20
20
|
* @name block_content
|
21
21
|
*/
|
22
|
-
export declare type BlockContent = Panel | Paragraph | ParagraphWithMarks | Blockquote | OrderedList | BulletList | Rule | Heading | HeadingWithMarks | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Expand | Extension |
|
22
|
+
export declare type BlockContent = Panel | Paragraph | ParagraphWithMarks | Blockquote | OrderedList | BulletList | Rule | Heading | HeadingWithMarks | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Expand | Extension | BodiedExtension | BlockCard | EmbedCard;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { HardBreakDefinition as HardBreak } from '../hard-break';
|
2
2
|
import { MentionDefinition as Mention } from '../mention';
|
3
3
|
import { EmojiDefinition as Emoji } from '../emoji';
|
4
|
-
import { InlineExtensionDefinition
|
4
|
+
import { InlineExtensionDefinition } from '../inline-extension';
|
5
5
|
import { DateDefinition as Date } from '../date';
|
6
6
|
import { PlaceholderDefinition as Placeholder } from '../placeholder';
|
7
7
|
import { InlineCardDefinition as InlineCard } from '../inline-card';
|
@@ -25,8 +25,8 @@ export declare type InlineCode = Text & MarksObject<Code | Link | Annotation>;
|
|
25
25
|
/**
|
26
26
|
* @name atomic_inline_node
|
27
27
|
*/
|
28
|
-
export declare type InlineAtomic = HardBreak | Mention | Emoji |
|
28
|
+
export declare type InlineAtomic = HardBreak | Mention | Emoji | InlineExtensionDefinition | Date | Placeholder | InlineCard | Status | MediaInlineDefinition;
|
29
29
|
/**
|
30
30
|
* @name inline_node
|
31
31
|
*/
|
32
|
-
export declare type Inline = InlineFormattedText | InlineCode |
|
32
|
+
export declare type Inline = InlineFormattedText | InlineCode | InlineAtomic;
|
@@ -11,10 +11,10 @@ import { MediaSingleDefinition as MediaSingle } from '../media-single';
|
|
11
11
|
import { DecisionListDefinition as DecisionList } from '../decision-list';
|
12
12
|
import { TaskListDefinition as TaskList } from '../task-list';
|
13
13
|
import { TableDefinition as Table } from '../tableNodes';
|
14
|
-
import { ExtensionDefinition as Extension
|
14
|
+
import { ExtensionDefinition as Extension } from '../extension';
|
15
15
|
import { BlockCardDefinition as BlockCard } from '../block-card';
|
16
16
|
import { EmbedCardDefinition as EmbedCard } from '../embed-card';
|
17
17
|
/**
|
18
18
|
* @name non_nestable_block_content
|
19
19
|
*/
|
20
|
-
export declare type NonNestableBlockContent = Panel | Paragraph | Blockquote | OrderedList | BulletList | Rule | Heading | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Extension |
|
20
|
+
export declare type NonNestableBlockContent = Panel | Paragraph | Blockquote | OrderedList | BulletList | Rule | Heading | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Extension | BlockCard | EmbedCard;
|
package/json-schema/v1/full.json
CHANGED
@@ -427,6 +427,37 @@
|
|
427
427
|
],
|
428
428
|
"additionalProperties": false
|
429
429
|
},
|
430
|
+
"fragment_mark": {
|
431
|
+
"type": "object",
|
432
|
+
"properties": {
|
433
|
+
"type": {
|
434
|
+
"enum": [
|
435
|
+
"fragment"
|
436
|
+
]
|
437
|
+
},
|
438
|
+
"attrs": {
|
439
|
+
"type": "object",
|
440
|
+
"properties": {
|
441
|
+
"localId": {
|
442
|
+
"type": "string",
|
443
|
+
"minLength": 1
|
444
|
+
},
|
445
|
+
"name": {
|
446
|
+
"type": "string"
|
447
|
+
}
|
448
|
+
},
|
449
|
+
"required": [
|
450
|
+
"localId"
|
451
|
+
],
|
452
|
+
"additionalProperties": false
|
453
|
+
}
|
454
|
+
},
|
455
|
+
"required": [
|
456
|
+
"type",
|
457
|
+
"attrs"
|
458
|
+
],
|
459
|
+
"additionalProperties": false
|
460
|
+
},
|
430
461
|
"hardBreak_node": {
|
431
462
|
"type": "object",
|
432
463
|
"properties": {
|
@@ -580,7 +611,14 @@
|
|
580
611
|
"marks": {
|
581
612
|
"type": "array",
|
582
613
|
"items": {
|
583
|
-
"
|
614
|
+
"anyOf": [
|
615
|
+
{
|
616
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"$ref": "#/definitions/fragment_mark"
|
620
|
+
}
|
621
|
+
]
|
584
622
|
}
|
585
623
|
}
|
586
624
|
},
|
@@ -1426,6 +1464,12 @@
|
|
1426
1464
|
"panelIcon": {
|
1427
1465
|
"type": "string"
|
1428
1466
|
},
|
1467
|
+
"panelIconId": {
|
1468
|
+
"type": "string"
|
1469
|
+
},
|
1470
|
+
"panelIconText": {
|
1471
|
+
"type": "string"
|
1472
|
+
},
|
1429
1473
|
"panelColor": {
|
1430
1474
|
"type": "string"
|
1431
1475
|
}
|
@@ -1745,7 +1789,14 @@
|
|
1745
1789
|
"marks": {
|
1746
1790
|
"type": "array",
|
1747
1791
|
"items": {
|
1748
|
-
"
|
1792
|
+
"anyOf": [
|
1793
|
+
{
|
1794
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
1795
|
+
},
|
1796
|
+
{
|
1797
|
+
"$ref": "#/definitions/fragment_mark"
|
1798
|
+
}
|
1799
|
+
]
|
1749
1800
|
}
|
1750
1801
|
}
|
1751
1802
|
},
|
@@ -1905,6 +1956,12 @@
|
|
1905
1956
|
"$ref": "#/definitions/table_row_node"
|
1906
1957
|
},
|
1907
1958
|
"minItems": 1
|
1959
|
+
},
|
1960
|
+
"marks": {
|
1961
|
+
"type": "array",
|
1962
|
+
"items": {
|
1963
|
+
"$ref": "#/definitions/fragment_mark"
|
1964
|
+
}
|
1908
1965
|
}
|
1909
1966
|
},
|
1910
1967
|
"required": [
|
@@ -2283,7 +2340,14 @@
|
|
2283
2340
|
"marks": {
|
2284
2341
|
"type": "array",
|
2285
2342
|
"items": {
|
2286
|
-
"
|
2343
|
+
"anyOf": [
|
2344
|
+
{
|
2345
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
2346
|
+
},
|
2347
|
+
{
|
2348
|
+
"$ref": "#/definitions/fragment_mark"
|
2349
|
+
}
|
2350
|
+
]
|
2287
2351
|
}
|
2288
2352
|
}
|
2289
2353
|
},
|
@@ -611,26 +611,14 @@
|
|
611
611
|
"marks": {
|
612
612
|
"type": "array",
|
613
613
|
"items": {
|
614
|
-
"
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
"inlineExtension_with_experimental_marks_node": {
|
623
|
-
"allOf": [
|
624
|
-
{
|
625
|
-
"$ref": "#/definitions/inlineExtension_node"
|
626
|
-
},
|
627
|
-
{
|
628
|
-
"type": "object",
|
629
|
-
"properties": {
|
630
|
-
"marks": {
|
631
|
-
"type": "array",
|
632
|
-
"items": {
|
633
|
-
"$ref": "#/definitions/fragment_mark"
|
614
|
+
"anyOf": [
|
615
|
+
{
|
616
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"$ref": "#/definitions/fragment_mark"
|
620
|
+
}
|
621
|
+
]
|
634
622
|
}
|
635
623
|
}
|
636
624
|
},
|
@@ -1048,9 +1036,6 @@
|
|
1048
1036
|
{
|
1049
1037
|
"$ref": "#/definitions/inlineExtension_with_marks_node"
|
1050
1038
|
},
|
1051
|
-
{
|
1052
|
-
"$ref": "#/definitions/inlineExtension_with_experimental_marks_node"
|
1053
|
-
},
|
1054
1039
|
{
|
1055
1040
|
"$ref": "#/definitions/date_node"
|
1056
1041
|
},
|
@@ -1534,6 +1519,12 @@
|
|
1534
1519
|
"panelIcon": {
|
1535
1520
|
"type": "string"
|
1536
1521
|
},
|
1522
|
+
"panelIconId": {
|
1523
|
+
"type": "string"
|
1524
|
+
},
|
1525
|
+
"panelIconText": {
|
1526
|
+
"type": "string"
|
1527
|
+
},
|
1537
1528
|
"panelColor": {
|
1538
1529
|
"type": "string"
|
1539
1530
|
}
|
@@ -1853,26 +1844,14 @@
|
|
1853
1844
|
"marks": {
|
1854
1845
|
"type": "array",
|
1855
1846
|
"items": {
|
1856
|
-
"
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
"extension_with_experimental_marks_node": {
|
1865
|
-
"allOf": [
|
1866
|
-
{
|
1867
|
-
"$ref": "#/definitions/extension_node"
|
1868
|
-
},
|
1869
|
-
{
|
1870
|
-
"type": "object",
|
1871
|
-
"properties": {
|
1872
|
-
"marks": {
|
1873
|
-
"type": "array",
|
1874
|
-
"items": {
|
1875
|
-
"$ref": "#/definitions/fragment_mark"
|
1847
|
+
"anyOf": [
|
1848
|
+
{
|
1849
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
1850
|
+
},
|
1851
|
+
{
|
1852
|
+
"$ref": "#/definitions/fragment_mark"
|
1853
|
+
}
|
1854
|
+
]
|
1876
1855
|
}
|
1877
1856
|
}
|
1878
1857
|
},
|
@@ -2032,6 +2011,12 @@
|
|
2032
2011
|
"$ref": "#/definitions/table_row_node"
|
2033
2012
|
},
|
2034
2013
|
"minItems": 1
|
2014
|
+
},
|
2015
|
+
"marks": {
|
2016
|
+
"type": "array",
|
2017
|
+
"items": {
|
2018
|
+
"$ref": "#/definitions/fragment_mark"
|
2019
|
+
}
|
2035
2020
|
}
|
2036
2021
|
},
|
2037
2022
|
"required": [
|
@@ -2126,9 +2111,6 @@
|
|
2126
2111
|
{
|
2127
2112
|
"$ref": "#/definitions/extension_with_marks_node"
|
2128
2113
|
},
|
2129
|
-
{
|
2130
|
-
"$ref": "#/definitions/extension_with_experimental_marks_node"
|
2131
|
-
},
|
2132
2114
|
{
|
2133
2115
|
"$ref": "#/definitions/embedCard_node"
|
2134
2116
|
},
|
@@ -2264,9 +2246,6 @@
|
|
2264
2246
|
{
|
2265
2247
|
"$ref": "#/definitions/extension_with_marks_node"
|
2266
2248
|
},
|
2267
|
-
{
|
2268
|
-
"$ref": "#/definitions/extension_with_experimental_marks_node"
|
2269
|
-
},
|
2270
2249
|
{
|
2271
2250
|
"$ref": "#/definitions/embedCard_node"
|
2272
2251
|
},
|
@@ -2416,26 +2395,14 @@
|
|
2416
2395
|
"marks": {
|
2417
2396
|
"type": "array",
|
2418
2397
|
"items": {
|
2419
|
-
"
|
2420
|
-
|
2421
|
-
|
2422
|
-
|
2423
|
-
|
2424
|
-
|
2425
|
-
|
2426
|
-
|
2427
|
-
"bodiedExtension_with_experimental_marks_node": {
|
2428
|
-
"allOf": [
|
2429
|
-
{
|
2430
|
-
"$ref": "#/definitions/bodiedExtension_node"
|
2431
|
-
},
|
2432
|
-
{
|
2433
|
-
"type": "object",
|
2434
|
-
"properties": {
|
2435
|
-
"marks": {
|
2436
|
-
"type": "array",
|
2437
|
-
"items": {
|
2438
|
-
"$ref": "#/definitions/fragment_mark"
|
2398
|
+
"anyOf": [
|
2399
|
+
{
|
2400
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
2401
|
+
},
|
2402
|
+
{
|
2403
|
+
"$ref": "#/definitions/fragment_mark"
|
2404
|
+
}
|
2405
|
+
]
|
2439
2406
|
}
|
2440
2407
|
}
|
2441
2408
|
},
|
@@ -2499,9 +2466,6 @@
|
|
2499
2466
|
{
|
2500
2467
|
"$ref": "#/definitions/extension_with_marks_node"
|
2501
2468
|
},
|
2502
|
-
{
|
2503
|
-
"$ref": "#/definitions/extension_with_experimental_marks_node"
|
2504
|
-
},
|
2505
2469
|
{
|
2506
2470
|
"$ref": "#/definitions/embedCard_node"
|
2507
2471
|
},
|
@@ -2513,9 +2477,6 @@
|
|
2513
2477
|
},
|
2514
2478
|
{
|
2515
2479
|
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
2516
|
-
},
|
2517
|
-
{
|
2518
|
-
"$ref": "#/definitions/bodiedExtension_with_experimental_marks_node"
|
2519
2480
|
}
|
2520
2481
|
]
|
2521
2482
|
},
|
@@ -2732,9 +2693,6 @@
|
|
2732
2693
|
{
|
2733
2694
|
"$ref": "#/definitions/extension_with_marks_node"
|
2734
2695
|
},
|
2735
|
-
{
|
2736
|
-
"$ref": "#/definitions/extension_with_experimental_marks_node"
|
2737
|
-
},
|
2738
2696
|
{
|
2739
2697
|
"$ref": "#/definitions/embedCard_node"
|
2740
2698
|
},
|
@@ -2750,9 +2708,6 @@
|
|
2750
2708
|
{
|
2751
2709
|
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
2752
2710
|
},
|
2753
|
-
{
|
2754
|
-
"$ref": "#/definitions/bodiedExtension_with_experimental_marks_node"
|
2755
|
-
},
|
2756
2711
|
{
|
2757
2712
|
"$ref": "#/definitions/layoutSection_full_node"
|
2758
2713
|
},
|
package/package.json
CHANGED