@atlaskit/adf-schema 49.0.6 → 50.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/index.js +132 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +140 -1
- package/dist/cjs/next-schema/nodes/blockCard.js +15 -0
- package/dist/cjs/next-schema/nodes/blockquote.js +16 -2
- package/dist/cjs/next-schema/nodes/caption.js +7 -0
- package/dist/cjs/next-schema/nodes/codeBlock.js +5 -0
- package/dist/cjs/next-schema/nodes/date.js +5 -0
- package/dist/cjs/next-schema/nodes/embedCard.js +5 -0
- package/dist/cjs/next-schema/nodes/emoji.js +5 -0
- package/dist/cjs/next-schema/nodes/expand.js +5 -0
- package/dist/cjs/next-schema/nodes/hardBreak.js +5 -0
- package/dist/cjs/next-schema/nodes/inlineCard.js +10 -0
- package/dist/cjs/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/cjs/next-schema/nodes/layoutSection.js +12 -0
- package/dist/cjs/next-schema/nodes/list.js +20 -1
- package/dist/cjs/next-schema/nodes/media.js +10 -0
- package/dist/cjs/next-schema/nodes/mediaInline.js +5 -0
- package/dist/cjs/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/cjs/next-schema/nodes/panel.js +5 -0
- package/dist/cjs/next-schema/nodes/placeholder.js +5 -0
- package/dist/cjs/next-schema/nodes/rule.js +9 -1
- package/dist/cjs/next-schema/nodes/tableNodes.js +17 -0
- package/dist/cjs/schema/index.js +138 -0
- package/dist/cjs/schema/nodes/block-card.js +48 -1
- package/dist/cjs/schema/nodes/blockquote.js +20 -2
- package/dist/cjs/schema/nodes/bullet-list.js +20 -1
- package/dist/cjs/schema/nodes/caption.js +20 -1
- package/dist/cjs/schema/nodes/code-block.js +72 -2
- package/dist/cjs/schema/nodes/date.js +22 -1
- package/dist/cjs/schema/nodes/embed-card.js +36 -1
- package/dist/cjs/schema/nodes/emoji.js +73 -1
- package/dist/cjs/schema/nodes/expand.js +56 -1
- package/dist/cjs/schema/nodes/hard-break.js +18 -1
- package/dist/cjs/schema/nodes/index.js +138 -0
- package/dist/cjs/schema/nodes/inline-card.js +46 -1
- package/dist/cjs/schema/nodes/layout-column.js +37 -1
- package/dist/cjs/schema/nodes/layout-section.js +31 -1
- package/dist/cjs/schema/nodes/list-item.js +34 -1
- package/dist/cjs/schema/nodes/media-inline.js +12 -2
- package/dist/cjs/schema/nodes/media-single.js +22 -2
- package/dist/cjs/schema/nodes/media.js +21 -4
- package/dist/cjs/schema/nodes/nested-expand.js +34 -7
- package/dist/cjs/schema/nodes/ordered-list.js +54 -3
- package/dist/cjs/schema/nodes/panel.js +13 -5
- package/dist/cjs/schema/nodes/placeholder.js +24 -1
- package/dist/cjs/schema/nodes/rule.js +18 -1
- package/dist/cjs/schema/nodes/tableNodes.js +69 -6
- package/dist/cjs/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/next-schema/generated/nodeTypes.js +140 -1
- package/dist/es2019/next-schema/nodes/blockCard.js +15 -0
- package/dist/es2019/next-schema/nodes/blockquote.js +16 -2
- package/dist/es2019/next-schema/nodes/caption.js +7 -0
- package/dist/es2019/next-schema/nodes/codeBlock.js +5 -0
- package/dist/es2019/next-schema/nodes/date.js +5 -0
- package/dist/es2019/next-schema/nodes/embedCard.js +5 -0
- package/dist/es2019/next-schema/nodes/emoji.js +5 -0
- package/dist/es2019/next-schema/nodes/expand.js +5 -0
- package/dist/es2019/next-schema/nodes/hardBreak.js +5 -0
- package/dist/es2019/next-schema/nodes/inlineCard.js +10 -0
- package/dist/es2019/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +12 -0
- package/dist/es2019/next-schema/nodes/list.js +20 -1
- package/dist/es2019/next-schema/nodes/media.js +10 -0
- package/dist/es2019/next-schema/nodes/mediaInline.js +5 -0
- package/dist/es2019/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/es2019/next-schema/nodes/panel.js +5 -0
- package/dist/es2019/next-schema/nodes/placeholder.js +5 -0
- package/dist/es2019/next-schema/nodes/rule.js +9 -1
- package/dist/es2019/next-schema/nodes/tableNodes.js +17 -0
- package/dist/es2019/schema/default-schema.js +1 -1
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/block-card.js +50 -0
- package/dist/es2019/schema/nodes/blockquote.js +19 -1
- package/dist/es2019/schema/nodes/bullet-list.js +19 -0
- package/dist/es2019/schema/nodes/caption.js +19 -0
- package/dist/es2019/schema/nodes/code-block.js +68 -0
- package/dist/es2019/schema/nodes/date.js +19 -0
- package/dist/es2019/schema/nodes/embed-card.js +34 -0
- package/dist/es2019/schema/nodes/emoji.js +71 -0
- package/dist/es2019/schema/nodes/expand.js +59 -0
- package/dist/es2019/schema/nodes/hard-break.js +15 -0
- package/dist/es2019/schema/nodes/index.js +20 -20
- package/dist/es2019/schema/nodes/inline-card.js +45 -0
- package/dist/es2019/schema/nodes/layout-column.js +38 -0
- package/dist/es2019/schema/nodes/layout-section.js +32 -0
- package/dist/es2019/schema/nodes/list-item.js +29 -0
- package/dist/es2019/schema/nodes/media-inline.js +8 -1
- package/dist/es2019/schema/nodes/media-single.js +20 -1
- package/dist/es2019/schema/nodes/media.js +17 -4
- package/dist/es2019/schema/nodes/nested-expand.js +21 -6
- package/dist/es2019/schema/nodes/ordered-list.js +51 -2
- package/dist/es2019/schema/nodes/panel.js +11 -5
- package/dist/es2019/schema/nodes/placeholder.js +23 -0
- package/dist/es2019/schema/nodes/rule.js +15 -0
- package/dist/es2019/schema/nodes/tableNodes.js +59 -3
- package/dist/es2019/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/next-schema/generated/nodeTypes.js +140 -1
- package/dist/esm/next-schema/nodes/blockCard.js +15 -0
- package/dist/esm/next-schema/nodes/blockquote.js +16 -2
- package/dist/esm/next-schema/nodes/caption.js +7 -0
- package/dist/esm/next-schema/nodes/codeBlock.js +5 -0
- package/dist/esm/next-schema/nodes/date.js +5 -0
- package/dist/esm/next-schema/nodes/embedCard.js +5 -0
- package/dist/esm/next-schema/nodes/emoji.js +5 -0
- package/dist/esm/next-schema/nodes/expand.js +5 -0
- package/dist/esm/next-schema/nodes/hardBreak.js +5 -0
- package/dist/esm/next-schema/nodes/inlineCard.js +10 -0
- package/dist/esm/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +12 -0
- package/dist/esm/next-schema/nodes/list.js +20 -1
- package/dist/esm/next-schema/nodes/media.js +10 -0
- package/dist/esm/next-schema/nodes/mediaInline.js +5 -0
- package/dist/esm/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/esm/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/esm/next-schema/nodes/panel.js +5 -0
- package/dist/esm/next-schema/nodes/placeholder.js +5 -0
- package/dist/esm/next-schema/nodes/rule.js +9 -1
- package/dist/esm/next-schema/nodes/tableNodes.js +17 -0
- package/dist/esm/schema/default-schema.js +1 -1
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/block-card.js +47 -0
- package/dist/esm/schema/nodes/blockquote.js +19 -1
- package/dist/esm/schema/nodes/bullet-list.js +19 -0
- package/dist/esm/schema/nodes/caption.js +19 -0
- package/dist/esm/schema/nodes/code-block.js +71 -1
- package/dist/esm/schema/nodes/date.js +21 -0
- package/dist/esm/schema/nodes/embed-card.js +35 -0
- package/dist/esm/schema/nodes/emoji.js +71 -0
- package/dist/esm/schema/nodes/expand.js +55 -0
- package/dist/esm/schema/nodes/hard-break.js +17 -0
- package/dist/esm/schema/nodes/index.js +20 -20
- package/dist/esm/schema/nodes/inline-card.js +45 -0
- package/dist/esm/schema/nodes/layout-column.js +36 -0
- package/dist/esm/schema/nodes/layout-section.js +30 -0
- package/dist/esm/schema/nodes/list-item.js +33 -0
- package/dist/esm/schema/nodes/media-inline.js +10 -1
- package/dist/esm/schema/nodes/media-single.js +21 -1
- package/dist/esm/schema/nodes/media.js +19 -3
- package/dist/esm/schema/nodes/nested-expand.js +32 -6
- package/dist/esm/schema/nodes/ordered-list.js +53 -2
- package/dist/esm/schema/nodes/panel.js +12 -4
- package/dist/esm/schema/nodes/placeholder.js +23 -0
- package/dist/esm/schema/nodes/rule.js +17 -0
- package/dist/esm/schema/nodes/tableNodes.js +68 -5
- package/dist/esm/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/json-schema/v1/full.json +140 -2
- package/dist/json-schema/v1/stage-0.json +152 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +72 -0
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +7 -0
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +7 -0
- package/dist/types/next-schema/nodes/blockquote.d.ts +7 -0
- package/dist/types/next-schema/nodes/layoutSection.d.ts +5 -0
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/block-card.d.ts +4 -0
- package/dist/types/schema/nodes/blockquote.d.ts +4 -0
- package/dist/types/schema/nodes/bullet-list.d.ts +1 -0
- package/dist/types/schema/nodes/caption.d.ts +4 -0
- package/dist/types/schema/nodes/code-block.d.ts +2 -0
- package/dist/types/schema/nodes/date.d.ts +2 -0
- package/dist/types/schema/nodes/embed-card.d.ts +2 -0
- package/dist/types/schema/nodes/emoji.d.ts +2 -0
- package/dist/types/schema/nodes/expand.d.ts +2 -0
- package/dist/types/schema/nodes/hard-break.d.ts +2 -0
- package/dist/types/schema/nodes/index.d.ts +20 -20
- package/dist/types/schema/nodes/inline-card.d.ts +1 -0
- package/dist/types/schema/nodes/layout-column.d.ts +2 -0
- package/dist/types/schema/nodes/layout-section.d.ts +4 -0
- package/dist/types/schema/nodes/list-item.d.ts +2 -0
- package/dist/types/schema/nodes/media-inline.d.ts +1 -0
- package/dist/types/schema/nodes/media-single.d.ts +3 -1
- package/dist/types/schema/nodes/media.d.ts +3 -1
- package/dist/types/schema/nodes/nested-expand.d.ts +2 -0
- package/dist/types/schema/nodes/ordered-list.d.ts +2 -0
- package/dist/types/schema/nodes/panel.d.ts +2 -0
- package/dist/types/schema/nodes/placeholder.d.ts +2 -0
- package/dist/types/schema/nodes/rule.d.ts +4 -0
- package/dist/types/schema/nodes/tableNodes.d.ts +6 -0
- package/dist/types/schema/nodes/types/list.d.ts +7 -0
- package/dist/types/schema/nodes/types/rich-media-common.d.ts +1 -0
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +159 -0
- package/json-schema/v1/full.json +140 -2
- package/json-schema/v1/stage-0.json +152 -2
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -0
@@ -64,6 +64,10 @@ var blockCard = exports.blockCard = {
|
|
64
64
|
},
|
65
65
|
attrs: [{
|
66
66
|
props: {
|
67
|
+
localId: {
|
68
|
+
type: 'string',
|
69
|
+
optional: true
|
70
|
+
},
|
67
71
|
url: {
|
68
72
|
type: 'string',
|
69
73
|
optional: true,
|
@@ -109,12 +113,20 @@ var blockCard = exports.blockCard = {
|
|
109
113
|
url: {
|
110
114
|
type: 'string',
|
111
115
|
validatorFn: 'safeUrl'
|
116
|
+
},
|
117
|
+
localId: {
|
118
|
+
type: 'string',
|
119
|
+
optional: true
|
112
120
|
}
|
113
121
|
}
|
114
122
|
}, {
|
115
123
|
props: {
|
116
124
|
data: {
|
117
125
|
type: 'object'
|
126
|
+
},
|
127
|
+
localId: {
|
128
|
+
type: 'string',
|
129
|
+
optional: true
|
118
130
|
}
|
119
131
|
}
|
120
132
|
}]
|
@@ -127,6 +139,15 @@ var blockquote = exports.blockquote = {
|
|
127
139
|
type: 'enum',
|
128
140
|
values: ['blockquote']
|
129
141
|
},
|
142
|
+
attrs: {
|
143
|
+
props: {
|
144
|
+
localId: {
|
145
|
+
type: 'string',
|
146
|
+
optional: true
|
147
|
+
}
|
148
|
+
},
|
149
|
+
optional: true
|
150
|
+
},
|
130
151
|
content: {
|
131
152
|
type: 'array',
|
132
153
|
items: [['paragraph_with_no_marks', 'orderedList', 'bulletList', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'extension_with_marks']],
|
@@ -241,6 +262,15 @@ var bulletList = exports.bulletList = {
|
|
241
262
|
type: 'enum',
|
242
263
|
values: ['bulletList']
|
243
264
|
},
|
265
|
+
attrs: {
|
266
|
+
props: {
|
267
|
+
localId: {
|
268
|
+
type: 'string',
|
269
|
+
optional: true
|
270
|
+
}
|
271
|
+
},
|
272
|
+
optional: true
|
273
|
+
},
|
244
274
|
content: {
|
245
275
|
type: 'array',
|
246
276
|
items: [['listItem', 'listItem_with_nested_decision']],
|
@@ -254,6 +284,15 @@ var caption = exports.caption = {
|
|
254
284
|
type: 'enum',
|
255
285
|
values: ['caption']
|
256
286
|
},
|
287
|
+
attrs: {
|
288
|
+
props: {
|
289
|
+
localId: {
|
290
|
+
type: 'string',
|
291
|
+
optional: true
|
292
|
+
}
|
293
|
+
},
|
294
|
+
optional: true
|
295
|
+
},
|
257
296
|
content: {
|
258
297
|
type: 'array',
|
259
298
|
items: [['hardBreak', 'mention', 'emoji', 'date', 'placeholder', 'inlineCard', 'status', 'text_formatted', 'text_code_inline']],
|
@@ -285,6 +324,10 @@ var codeBlock = exports.codeBlock = {
|
|
285
324
|
uniqueId: {
|
286
325
|
type: 'string',
|
287
326
|
optional: true
|
327
|
+
},
|
328
|
+
localId: {
|
329
|
+
type: 'string',
|
330
|
+
optional: true
|
288
331
|
}
|
289
332
|
},
|
290
333
|
optional: true
|
@@ -351,6 +394,10 @@ var date = exports.date = {
|
|
351
394
|
timestamp: {
|
352
395
|
minLength: 1,
|
353
396
|
type: 'string'
|
397
|
+
},
|
398
|
+
localId: {
|
399
|
+
type: 'string',
|
400
|
+
optional: true
|
354
401
|
}
|
355
402
|
}
|
356
403
|
},
|
@@ -460,6 +507,10 @@ var embedCard = exports.embedCard = {
|
|
460
507
|
originalWidth: {
|
461
508
|
type: 'number',
|
462
509
|
optional: true
|
510
|
+
},
|
511
|
+
localId: {
|
512
|
+
type: 'string',
|
513
|
+
optional: true
|
463
514
|
}
|
464
515
|
}
|
465
516
|
}
|
@@ -483,6 +534,10 @@ var emoji = exports.emoji = {
|
|
483
534
|
text: {
|
484
535
|
type: 'string',
|
485
536
|
optional: true
|
537
|
+
},
|
538
|
+
localId: {
|
539
|
+
type: 'string',
|
540
|
+
optional: true
|
486
541
|
}
|
487
542
|
}
|
488
543
|
},
|
@@ -504,6 +559,10 @@ var expand = exports.expand = {
|
|
504
559
|
title: {
|
505
560
|
type: 'string',
|
506
561
|
optional: true
|
562
|
+
},
|
563
|
+
localId: {
|
564
|
+
type: 'string',
|
565
|
+
optional: true
|
507
566
|
}
|
508
567
|
},
|
509
568
|
optional: true
|
@@ -627,6 +686,10 @@ var hardBreak = exports.hardBreak = {
|
|
627
686
|
type: 'enum',
|
628
687
|
values: ['\n'],
|
629
688
|
optional: true
|
689
|
+
},
|
690
|
+
localId: {
|
691
|
+
type: 'string',
|
692
|
+
optional: true
|
630
693
|
}
|
631
694
|
},
|
632
695
|
optional: true
|
@@ -722,12 +785,20 @@ var inlineCard = exports.inlineCard = {
|
|
722
785
|
url: {
|
723
786
|
type: 'string',
|
724
787
|
validatorFn: 'safeUrl'
|
788
|
+
},
|
789
|
+
localId: {
|
790
|
+
type: 'string',
|
791
|
+
optional: true
|
725
792
|
}
|
726
793
|
}
|
727
794
|
}, {
|
728
795
|
props: {
|
729
796
|
data: {
|
730
797
|
type: 'object'
|
798
|
+
},
|
799
|
+
localId: {
|
800
|
+
type: 'string',
|
801
|
+
optional: true
|
731
802
|
}
|
732
803
|
}
|
733
804
|
}],
|
@@ -798,6 +869,10 @@ var layoutColumn = exports.layoutColumn = {
|
|
798
869
|
type: 'number',
|
799
870
|
minimum: 0,
|
800
871
|
maximum: 100
|
872
|
+
},
|
873
|
+
localId: {
|
874
|
+
type: 'string',
|
875
|
+
optional: true
|
801
876
|
}
|
802
877
|
}
|
803
878
|
},
|
@@ -815,6 +890,15 @@ var layoutSection = exports.layoutSection = {
|
|
815
890
|
type: 'enum',
|
816
891
|
values: ['layoutSection']
|
817
892
|
},
|
893
|
+
attrs: {
|
894
|
+
props: {
|
895
|
+
localId: {
|
896
|
+
type: 'string',
|
897
|
+
optional: true
|
898
|
+
}
|
899
|
+
},
|
900
|
+
optional: true
|
901
|
+
},
|
818
902
|
content: {
|
819
903
|
type: 'array',
|
820
904
|
items: ['layoutColumn'],
|
@@ -853,6 +937,10 @@ var layoutSection_with_single_column = exports.layoutSection_with_single_column
|
|
853
937
|
type: 'enum',
|
854
938
|
values: ['solid'],
|
855
939
|
optional: true
|
940
|
+
},
|
941
|
+
localId: {
|
942
|
+
type: 'string',
|
943
|
+
optional: true
|
856
944
|
}
|
857
945
|
},
|
858
946
|
optional: true
|
@@ -909,6 +997,15 @@ var listItem = exports.listItem = {
|
|
909
997
|
type: 'enum',
|
910
998
|
values: ['listItem']
|
911
999
|
},
|
1000
|
+
attrs: {
|
1001
|
+
props: {
|
1002
|
+
localId: {
|
1003
|
+
type: 'string',
|
1004
|
+
optional: true
|
1005
|
+
}
|
1006
|
+
},
|
1007
|
+
optional: true
|
1008
|
+
},
|
912
1009
|
content: {
|
913
1010
|
type: 'array',
|
914
1011
|
isTupleLike: true,
|
@@ -941,6 +1038,10 @@ var media = exports.media = {
|
|
941
1038
|
type: 'enum',
|
942
1039
|
values: ['link', 'file']
|
943
1040
|
},
|
1041
|
+
localId: {
|
1042
|
+
type: 'string',
|
1043
|
+
optional: true
|
1044
|
+
},
|
944
1045
|
id: {
|
945
1046
|
minLength: 1,
|
946
1047
|
type: 'string'
|
@@ -972,6 +1073,10 @@ var media = exports.media = {
|
|
972
1073
|
type: 'enum',
|
973
1074
|
values: ['external']
|
974
1075
|
},
|
1076
|
+
localId: {
|
1077
|
+
type: 'string',
|
1078
|
+
optional: true
|
1079
|
+
},
|
975
1080
|
alt: {
|
976
1081
|
type: 'string',
|
977
1082
|
optional: true
|
@@ -1024,6 +1129,10 @@ var mediaInline = exports.mediaInline = {
|
|
1024
1129
|
values: ['link', 'file', 'image'],
|
1025
1130
|
optional: true
|
1026
1131
|
},
|
1132
|
+
localId: {
|
1133
|
+
type: 'string',
|
1134
|
+
optional: true
|
1135
|
+
},
|
1027
1136
|
url: {
|
1028
1137
|
type: 'string',
|
1029
1138
|
optional: true
|
@@ -1073,6 +1182,10 @@ var mediaSingle = exports.mediaSingle = {
|
|
1073
1182
|
},
|
1074
1183
|
attrs: [{
|
1075
1184
|
props: {
|
1185
|
+
localId: {
|
1186
|
+
type: 'string',
|
1187
|
+
optional: true
|
1188
|
+
},
|
1076
1189
|
width: {
|
1077
1190
|
type: 'number',
|
1078
1191
|
minimum: 0,
|
@@ -1091,6 +1204,10 @@ var mediaSingle = exports.mediaSingle = {
|
|
1091
1204
|
}
|
1092
1205
|
}, {
|
1093
1206
|
props: {
|
1207
|
+
localId: {
|
1208
|
+
type: 'string',
|
1209
|
+
optional: true
|
1210
|
+
},
|
1094
1211
|
width: {
|
1095
1212
|
type: 'number',
|
1096
1213
|
minimum: 0
|
@@ -1241,6 +1358,10 @@ var nestedExpand = exports.nestedExpand = {
|
|
1241
1358
|
title: {
|
1242
1359
|
type: 'string',
|
1243
1360
|
optional: true
|
1361
|
+
},
|
1362
|
+
localId: {
|
1363
|
+
type: 'string',
|
1364
|
+
optional: true
|
1244
1365
|
}
|
1245
1366
|
}
|
1246
1367
|
},
|
@@ -1277,6 +1398,10 @@ var orderedList = exports.orderedList = {
|
|
1277
1398
|
type: 'number',
|
1278
1399
|
minimum: 0,
|
1279
1400
|
optional: true
|
1401
|
+
},
|
1402
|
+
localId: {
|
1403
|
+
type: 'string',
|
1404
|
+
optional: true
|
1280
1405
|
}
|
1281
1406
|
},
|
1282
1407
|
optional: true
|
@@ -1315,6 +1440,10 @@ var panel = exports.panel = {
|
|
1315
1440
|
panelColor: {
|
1316
1441
|
type: 'string',
|
1317
1442
|
optional: true
|
1443
|
+
},
|
1444
|
+
localId: {
|
1445
|
+
type: 'string',
|
1446
|
+
optional: true
|
1318
1447
|
}
|
1319
1448
|
}
|
1320
1449
|
},
|
@@ -1392,6 +1521,10 @@ var placeholder = exports.placeholder = {
|
|
1392
1521
|
props: {
|
1393
1522
|
text: {
|
1394
1523
|
type: 'string'
|
1524
|
+
},
|
1525
|
+
localId: {
|
1526
|
+
type: 'string',
|
1527
|
+
optional: true
|
1395
1528
|
}
|
1396
1529
|
}
|
1397
1530
|
}
|
@@ -1402,6 +1535,15 @@ var rule = exports.rule = {
|
|
1402
1535
|
type: {
|
1403
1536
|
type: 'enum',
|
1404
1537
|
values: ['rule']
|
1538
|
+
},
|
1539
|
+
attrs: {
|
1540
|
+
props: {
|
1541
|
+
localId: {
|
1542
|
+
type: 'string',
|
1543
|
+
optional: true
|
1544
|
+
}
|
1545
|
+
},
|
1546
|
+
optional: true
|
1405
1547
|
}
|
1406
1548
|
}
|
1407
1549
|
};
|
@@ -1542,6 +1684,10 @@ var tableCell = exports.tableCell = {
|
|
1542
1684
|
background: {
|
1543
1685
|
type: 'string',
|
1544
1686
|
optional: true
|
1687
|
+
},
|
1688
|
+
localId: {
|
1689
|
+
type: 'string',
|
1690
|
+
optional: true
|
1545
1691
|
}
|
1546
1692
|
},
|
1547
1693
|
optional: true
|
@@ -1581,6 +1727,10 @@ var tableHeader = exports.tableHeader = {
|
|
1581
1727
|
background: {
|
1582
1728
|
type: 'string',
|
1583
1729
|
optional: true
|
1730
|
+
},
|
1731
|
+
localId: {
|
1732
|
+
type: 'string',
|
1733
|
+
optional: true
|
1584
1734
|
}
|
1585
1735
|
},
|
1586
1736
|
optional: true
|
@@ -1599,6 +1749,15 @@ var tableRow = exports.tableRow = {
|
|
1599
1749
|
type: 'enum',
|
1600
1750
|
values: ['tableRow']
|
1601
1751
|
},
|
1752
|
+
attrs: {
|
1753
|
+
props: {
|
1754
|
+
localId: {
|
1755
|
+
type: 'string',
|
1756
|
+
optional: true
|
1757
|
+
}
|
1758
|
+
},
|
1759
|
+
optional: true
|
1760
|
+
},
|
1602
1761
|
content: {
|
1603
1762
|
type: 'array',
|
1604
1763
|
items: [['tableCell', 'tableHeader']]
|
package/dist/es2019/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, extendedBlockquote, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette, /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
2
|
-
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expandWithNestedExpand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, 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, backgroundColorPaletteNext, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable } from './schema';
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId, codeBlockToJSON, colorPalette, /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
2
|
+
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, hardBreakWithLocalId, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnWithLocalId, layoutSection, link, linkToJSON, listItem, listItemWithDecisionStage0, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, 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, backgroundColorPaletteNext, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId } 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, getDarkModeLCHColor } from './utils';
|
4
4
|
|
5
5
|
// ADF createPMSpecFactory
|