@atlaskit/adf-utils 19.9.0 → 19.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 +8 -0
- package/dist/cjs/validator/specs/index.js +24 -30
- package/dist/es2019/validator/specs/index.js +2 -2
- package/dist/esm/validator/specs/index.js +2 -2
- package/dist/types/validator/specs/index.d.ts +2 -2
- package/dist/types-ts4.5/validator/specs/index.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/adf-utils
|
|
2
2
|
|
|
3
|
+
## 19.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#152510](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152510)
|
|
8
|
+
[`dcf9edde7ac7b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dcf9edde7ac7b) -
|
|
9
|
+
bump adf-schema to 42.0.1
|
|
10
|
+
|
|
3
11
|
## 19.9.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -15,12 +15,6 @@ Object.defineProperty(exports, "annotation", {
|
|
|
15
15
|
return _schemaValidator.annotation;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
Object.defineProperty(exports, "atomic_inline", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _schemaValidator.atomic_inline;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
18
|
Object.defineProperty(exports, "backgroundColor", {
|
|
25
19
|
enumerable: true,
|
|
26
20
|
get: function get() {
|
|
@@ -111,10 +105,10 @@ Object.defineProperty(exports, "codeBlock_with_no_marks", {
|
|
|
111
105
|
return _schemaValidator.codeBlock_with_no_marks;
|
|
112
106
|
}
|
|
113
107
|
});
|
|
114
|
-
Object.defineProperty(exports, "
|
|
108
|
+
Object.defineProperty(exports, "confluenceInlineComment", {
|
|
115
109
|
enumerable: true,
|
|
116
110
|
get: function get() {
|
|
117
|
-
return _schemaValidator.
|
|
111
|
+
return _schemaValidator.confluenceInlineComment;
|
|
118
112
|
}
|
|
119
113
|
});
|
|
120
114
|
Object.defineProperty(exports, "dataConsumer", {
|
|
@@ -207,12 +201,6 @@ Object.defineProperty(exports, "extension_with_marks", {
|
|
|
207
201
|
return _schemaValidator.extension_with_marks;
|
|
208
202
|
}
|
|
209
203
|
});
|
|
210
|
-
Object.defineProperty(exports, "formatted_text_inline", {
|
|
211
|
-
enumerable: true,
|
|
212
|
-
get: function get() {
|
|
213
|
-
return _schemaValidator.formatted_text_inline;
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
204
|
Object.defineProperty(exports, "fragment", {
|
|
217
205
|
enumerable: true,
|
|
218
206
|
get: function get() {
|
|
@@ -255,12 +243,6 @@ Object.defineProperty(exports, "indentation", {
|
|
|
255
243
|
return _schemaValidator.indentation;
|
|
256
244
|
}
|
|
257
245
|
});
|
|
258
|
-
Object.defineProperty(exports, "inline", {
|
|
259
|
-
enumerable: true,
|
|
260
|
-
get: function get() {
|
|
261
|
-
return _schemaValidator.inline;
|
|
262
|
-
}
|
|
263
|
-
});
|
|
264
246
|
Object.defineProperty(exports, "inlineCard", {
|
|
265
247
|
enumerable: true,
|
|
266
248
|
get: function get() {
|
|
@@ -279,10 +261,10 @@ Object.defineProperty(exports, "inlineExtension_with_marks", {
|
|
|
279
261
|
return _schemaValidator.inlineExtension_with_marks;
|
|
280
262
|
}
|
|
281
263
|
});
|
|
282
|
-
Object.defineProperty(exports, "
|
|
264
|
+
Object.defineProperty(exports, "inline_content", {
|
|
283
265
|
enumerable: true,
|
|
284
266
|
get: function get() {
|
|
285
|
-
return _schemaValidator.
|
|
267
|
+
return _schemaValidator.inline_content;
|
|
286
268
|
}
|
|
287
269
|
});
|
|
288
270
|
Object.defineProperty(exports, "layoutColumn", {
|
|
@@ -315,12 +297,6 @@ Object.defineProperty(exports, "link", {
|
|
|
315
297
|
return _schemaValidator.link;
|
|
316
298
|
}
|
|
317
299
|
});
|
|
318
|
-
Object.defineProperty(exports, "link_text_inline", {
|
|
319
|
-
enumerable: true,
|
|
320
|
-
get: function get() {
|
|
321
|
-
return _schemaValidator.link_text_inline;
|
|
322
|
-
}
|
|
323
|
-
});
|
|
324
300
|
Object.defineProperty(exports, "listItem", {
|
|
325
301
|
enumerable: true,
|
|
326
302
|
get: function get() {
|
|
@@ -489,10 +465,10 @@ Object.defineProperty(exports, "tableCell", {
|
|
|
489
465
|
return _schemaValidator.tableCell;
|
|
490
466
|
}
|
|
491
467
|
});
|
|
492
|
-
Object.defineProperty(exports, "
|
|
468
|
+
Object.defineProperty(exports, "tableCellContent", {
|
|
493
469
|
enumerable: true,
|
|
494
470
|
get: function get() {
|
|
495
|
-
return _schemaValidator.
|
|
471
|
+
return _schemaValidator.tableCellContent;
|
|
496
472
|
}
|
|
497
473
|
});
|
|
498
474
|
Object.defineProperty(exports, "tableHeader", {
|
|
@@ -531,6 +507,24 @@ Object.defineProperty(exports, "textColor", {
|
|
|
531
507
|
return _schemaValidator.textColor;
|
|
532
508
|
}
|
|
533
509
|
});
|
|
510
|
+
Object.defineProperty(exports, "text_code_inline", {
|
|
511
|
+
enumerable: true,
|
|
512
|
+
get: function get() {
|
|
513
|
+
return _schemaValidator.text_code_inline;
|
|
514
|
+
}
|
|
515
|
+
});
|
|
516
|
+
Object.defineProperty(exports, "text_formatted", {
|
|
517
|
+
enumerable: true,
|
|
518
|
+
get: function get() {
|
|
519
|
+
return _schemaValidator.text_formatted;
|
|
520
|
+
}
|
|
521
|
+
});
|
|
522
|
+
Object.defineProperty(exports, "text_link_inline", {
|
|
523
|
+
enumerable: true,
|
|
524
|
+
get: function get() {
|
|
525
|
+
return _schemaValidator.text_link_inline;
|
|
526
|
+
}
|
|
527
|
+
});
|
|
534
528
|
Object.defineProperty(exports, "underline", {
|
|
535
529
|
enumerable: true,
|
|
536
530
|
get: function get() {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { alignment, annotation,
|
|
1
|
+
export { alignment, annotation, backgroundColor, blockCard, block_content, blockquote, blockquote_without_nested_codeblock_or_media, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_with_marks, codeBlock_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_with_breakout_mark, expand_with_no_mark, expand_without_nested_expand, extension, extensionFrame, extension_with_marks, fragment, hardBreak, heading, heading_with_alignment, heading_with_indentation, heading_with_no_marks, indentation, inlineCard, inlineExtension, inlineExtension_with_marks, inline_content, layoutColumn, layoutSection, layoutSection_full, layoutSection_with_single_column, link, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, panel_with_nested_blockquote,
|
|
2
2
|
// Stage-0
|
|
3
|
-
paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell,
|
|
3
|
+
paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableCellContent, tableHeader, tableRow, taskItem, taskList, text, textColor, text_code_inline, text_formatted, text_link_inline, underline } from '@atlaskit/adf-schema/schema-validator';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { alignment, annotation,
|
|
1
|
+
export { alignment, annotation, backgroundColor, blockCard, block_content, blockquote, blockquote_without_nested_codeblock_or_media, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_with_marks, codeBlock_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_with_breakout_mark, expand_with_no_mark, expand_without_nested_expand, extension, extensionFrame, extension_with_marks, fragment, hardBreak, heading, heading_with_alignment, heading_with_indentation, heading_with_no_marks, indentation, inlineCard, inlineExtension, inlineExtension_with_marks, inline_content, layoutColumn, layoutSection, layoutSection_full, layoutSection_with_single_column, link, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, panel_with_nested_blockquote,
|
|
2
2
|
// Stage-0
|
|
3
|
-
paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell,
|
|
3
|
+
paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableCellContent, tableHeader, tableRow, taskItem, taskList, text, textColor, text_code_inline, text_formatted, text_link_inline, underline } from '@atlaskit/adf-schema/schema-validator';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { alignment, annotation,
|
|
2
|
-
paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell,
|
|
1
|
+
export { alignment, annotation, backgroundColor, blockCard, block_content, blockquote, blockquote_without_nested_codeblock_or_media, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_with_marks, codeBlock_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_with_breakout_mark, expand_with_no_mark, expand_without_nested_expand, extension, extensionFrame, extension_with_marks, fragment, hardBreak, heading, heading_with_alignment, heading_with_indentation, heading_with_no_marks, indentation, inlineCard, inlineExtension, inlineExtension_with_marks, inline_content, layoutColumn, layoutSection, layoutSection_full, layoutSection_with_single_column, link, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, panel_with_nested_blockquote, // Stage-0
|
|
2
|
+
paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableCellContent, tableHeader, tableRow, taskItem, taskList, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, } from '@atlaskit/adf-schema/schema-validator';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { alignment, annotation,
|
|
2
|
-
paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell,
|
|
1
|
+
export { alignment, annotation, backgroundColor, blockCard, block_content, blockquote, blockquote_without_nested_codeblock_or_media, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_with_marks, codeBlock_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_with_breakout_mark, expand_with_no_mark, expand_without_nested_expand, extension, extensionFrame, extension_with_marks, fragment, hardBreak, heading, heading_with_alignment, heading_with_indentation, heading_with_no_marks, indentation, inlineCard, inlineExtension, inlineExtension_with_marks, inline_content, layoutColumn, layoutSection, layoutSection_full, layoutSection_with_single_column, link, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, panel_with_nested_blockquote, // Stage-0
|
|
2
|
+
paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableCellContent, tableHeader, tableRow, taskItem, taskList, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, } from '@atlaskit/adf-schema/schema-validator';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-utils",
|
|
3
|
-
"version": "19.9.
|
|
3
|
+
"version": "19.9.1",
|
|
4
4
|
"description": "Set of utilities to traverse, modify and create ADF documents.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"./validatorTypes": "./src/types/validatorTypes.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/adf-schema": "^
|
|
39
|
+
"@atlaskit/adf-schema": "^42.0.2",
|
|
40
40
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0"
|
|
42
42
|
},
|