@atlaskit/adf-utils 19.27.3 → 19.27.5

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/adf-utils
2
2
 
3
+ ## 19.27.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 19.27.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 19.27.3
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.fontSize = void 0;
7
+ var _applyMark = require("../utils/apply-mark");
8
+ var fontSize = exports.fontSize = function fontSize(attrs) {
9
+ return function (maybeNode) {
10
+ return (0, _applyMark.applyMark)({
11
+ type: 'fontSize',
12
+ attrs: attrs
13
+ }, maybeNode);
14
+ };
15
+ };
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.nativeEmbedsFallbackTransform = void 0;
7
+ var _traverse = require("../traverse/traverse");
8
+ var NATIVE_EMBED_EXTENSION_KEY = 'native-embed';
9
+
10
+ /**
11
+ * Replaces any `extension` nodes whose `extensionKey` is
12
+ * `native-embed` with a paragraph containing an `inlineCard`
13
+ * node pointing at the same URL.
14
+ * If a native-embed node has no URL it is dropped from the document.
15
+ */
16
+ var nativeEmbedsFallbackTransform = exports.nativeEmbedsFallbackTransform = function nativeEmbedsFallbackTransform(adf) {
17
+ var isTransformed = false;
18
+ var transformedAdf = (0, _traverse.traverse)(adf, {
19
+ extension: function extension(node) {
20
+ var _node$attrs, _node$attrs2;
21
+ if (((_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs['extensionKey'].split(':')[0]) !== NATIVE_EMBED_EXTENSION_KEY) {
22
+ return node;
23
+ }
24
+ var url = (_node$attrs2 = node.attrs) === null || _node$attrs2 === void 0 || (_node$attrs2 = _node$attrs2['parameters']) === null || _node$attrs2 === void 0 ? void 0 : _node$attrs2.url;
25
+ if (!url) {
26
+ isTransformed = true;
27
+ return false;
28
+ }
29
+ isTransformed = true;
30
+ return {
31
+ type: 'paragraph',
32
+ content: [{
33
+ type: 'inlineCard',
34
+ attrs: {
35
+ url: url
36
+ }
37
+ }]
38
+ };
39
+ }
40
+ });
41
+ return {
42
+ transformedAdf: transformedAdf,
43
+ isTransformed: isTransformed
44
+ };
45
+ };
@@ -15,6 +15,12 @@ Object.defineProperty(exports, "isNestedTableExtension", {
15
15
  return _nestedTableTransform.isNestedTableExtension;
16
16
  }
17
17
  });
18
+ Object.defineProperty(exports, "nativeEmbedsFallbackTransform", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _nativeEmbedsFallbackTransform.nativeEmbedsFallbackTransform;
22
+ }
23
+ });
18
24
  Object.defineProperty(exports, "syncBlockFallbackTransform", {
19
25
  enumerable: true,
20
26
  get: function get() {
@@ -84,4 +90,5 @@ var _indentationMarksTransform = require("./transforms/indentation-marks-transfo
84
90
  var _invalidMediaContentTransform = require("./transforms/invalid-media-content-transform");
85
91
  var _nestedTableTransform = require("./transforms/nested-table-transform");
86
92
  var _errors = require("./transforms/errors");
87
- var _syncBlockFallbackTransform = require("./transforms/sync-block-fallback-transform");
93
+ var _syncBlockFallbackTransform = require("./transforms/sync-block-fallback-transform");
94
+ var _nativeEmbedsFallbackTransform = require("./transforms/native-embeds-fallback-transform");
@@ -195,6 +195,12 @@ Object.defineProperty(exports, "extension_with_marks", {
195
195
  return _schemaValidator.extension_with_marks;
196
196
  }
197
197
  });
198
+ Object.defineProperty(exports, "fontSize", {
199
+ enumerable: true,
200
+ get: function get() {
201
+ return _schemaValidator.fontSize;
202
+ }
203
+ });
198
204
  Object.defineProperty(exports, "fragment", {
199
205
  enumerable: true,
200
206
  get: function get() {
@@ -399,6 +405,24 @@ Object.defineProperty(exports, "paragraph_with_alignment", {
399
405
  return _schemaValidator.paragraph_with_alignment;
400
406
  }
401
407
  });
408
+ Object.defineProperty(exports, "paragraph_with_font_size", {
409
+ enumerable: true,
410
+ get: function get() {
411
+ return _schemaValidator.paragraph_with_font_size;
412
+ }
413
+ });
414
+ Object.defineProperty(exports, "paragraph_with_font_size_and_alignment", {
415
+ enumerable: true,
416
+ get: function get() {
417
+ return _schemaValidator.paragraph_with_font_size_and_alignment;
418
+ }
419
+ });
420
+ Object.defineProperty(exports, "paragraph_with_font_size_and_indentation", {
421
+ enumerable: true,
422
+ get: function get() {
423
+ return _schemaValidator.paragraph_with_font_size_and_indentation;
424
+ }
425
+ });
402
426
  Object.defineProperty(exports, "paragraph_with_indentation", {
403
427
  enumerable: true,
404
428
  get: function get() {
@@ -0,0 +1,5 @@
1
+ import { applyMark } from '../utils/apply-mark';
2
+ export const fontSize = attrs => maybeNode => applyMark({
3
+ type: 'fontSize',
4
+ attrs
5
+ }, maybeNode);
@@ -0,0 +1,39 @@
1
+ import { traverse } from '../traverse/traverse';
2
+ const NATIVE_EMBED_EXTENSION_KEY = 'native-embed';
3
+
4
+ /**
5
+ * Replaces any `extension` nodes whose `extensionKey` is
6
+ * `native-embed` with a paragraph containing an `inlineCard`
7
+ * node pointing at the same URL.
8
+ * If a native-embed node has no URL it is dropped from the document.
9
+ */
10
+ export const nativeEmbedsFallbackTransform = adf => {
11
+ let isTransformed = false;
12
+ const transformedAdf = traverse(adf, {
13
+ extension: node => {
14
+ var _node$attrs, _node$attrs2, _node$attrs2$paramete;
15
+ if (((_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs['extensionKey'].split(':')[0]) !== NATIVE_EMBED_EXTENSION_KEY) {
16
+ return node;
17
+ }
18
+ const url = (_node$attrs2 = node.attrs) === null || _node$attrs2 === void 0 ? void 0 : (_node$attrs2$paramete = _node$attrs2['parameters']) === null || _node$attrs2$paramete === void 0 ? void 0 : _node$attrs2$paramete.url;
19
+ if (!url) {
20
+ isTransformed = true;
21
+ return false;
22
+ }
23
+ isTransformed = true;
24
+ return {
25
+ type: 'paragraph',
26
+ content: [{
27
+ type: 'inlineCard',
28
+ attrs: {
29
+ url
30
+ }
31
+ }]
32
+ };
33
+ }
34
+ });
35
+ return {
36
+ transformedAdf,
37
+ isTransformed
38
+ };
39
+ };
@@ -11,4 +11,5 @@ export { transformInvalidMediaContent } from './transforms/invalid-media-content
11
11
  export { transformNestedTablesIncomingDocument, isNestedTableExtension } from './transforms/nested-table-transform';
12
12
  export { transformNestedTableNodeOutgoingDocument } from './transforms/nested-table-transform';
13
13
  export { NodeNestingTransformError } from './transforms/errors';
14
- export { syncBlockFallbackTransform } from './transforms/sync-block-fallback-transform';
14
+ export { syncBlockFallbackTransform } from './transforms/sync-block-fallback-transform';
15
+ export { nativeEmbedsFallbackTransform } from './transforms/native-embeds-fallback-transform';
@@ -1,2 +1,2 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
- export { alignment, annotation, backgroundColor, blockCard, block_content, blockRootOnly, blockquote, blockTaskItem, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_root_only, text_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_root_only, 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, listItem_with_flexible_first_child, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableHeader, tableRow, taskItem, taskList, taskList_with_flexible_first_child, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, syncBlock, bodiedSyncBlock } from '@atlaskit/adf-schema/schema-validator';
2
+ export { alignment, annotation, backgroundColor, blockCard, block_content, blockRootOnly, blockquote, blockTaskItem, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_root_only, text_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_root_only, extension, extensionFrame, extension_with_marks, fontSize, 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, listItem_with_flexible_first_child, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, paragraph, paragraph_with_alignment, paragraph_with_font_size, paragraph_with_font_size_and_alignment, paragraph_with_font_size_and_indentation, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableHeader, tableRow, taskItem, taskList, taskList_with_flexible_first_child, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, syncBlock, bodiedSyncBlock } from '@atlaskit/adf-schema/schema-validator';
@@ -0,0 +1,9 @@
1
+ import { applyMark } from '../utils/apply-mark';
2
+ export var fontSize = function fontSize(attrs) {
3
+ return function (maybeNode) {
4
+ return applyMark({
5
+ type: 'fontSize',
6
+ attrs: attrs
7
+ }, maybeNode);
8
+ };
9
+ };
@@ -0,0 +1,39 @@
1
+ import { traverse } from '../traverse/traverse';
2
+ var NATIVE_EMBED_EXTENSION_KEY = 'native-embed';
3
+
4
+ /**
5
+ * Replaces any `extension` nodes whose `extensionKey` is
6
+ * `native-embed` with a paragraph containing an `inlineCard`
7
+ * node pointing at the same URL.
8
+ * If a native-embed node has no URL it is dropped from the document.
9
+ */
10
+ export var nativeEmbedsFallbackTransform = function nativeEmbedsFallbackTransform(adf) {
11
+ var isTransformed = false;
12
+ var transformedAdf = traverse(adf, {
13
+ extension: function extension(node) {
14
+ var _node$attrs, _node$attrs2;
15
+ if (((_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs['extensionKey'].split(':')[0]) !== NATIVE_EMBED_EXTENSION_KEY) {
16
+ return node;
17
+ }
18
+ var url = (_node$attrs2 = node.attrs) === null || _node$attrs2 === void 0 || (_node$attrs2 = _node$attrs2['parameters']) === null || _node$attrs2 === void 0 ? void 0 : _node$attrs2.url;
19
+ if (!url) {
20
+ isTransformed = true;
21
+ return false;
22
+ }
23
+ isTransformed = true;
24
+ return {
25
+ type: 'paragraph',
26
+ content: [{
27
+ type: 'inlineCard',
28
+ attrs: {
29
+ url: url
30
+ }
31
+ }]
32
+ };
33
+ }
34
+ });
35
+ return {
36
+ transformedAdf: transformedAdf,
37
+ isTransformed: isTransformed
38
+ };
39
+ };
@@ -11,4 +11,5 @@ export { transformInvalidMediaContent } from './transforms/invalid-media-content
11
11
  export { transformNestedTablesIncomingDocument, isNestedTableExtension } from './transforms/nested-table-transform';
12
12
  export { transformNestedTableNodeOutgoingDocument } from './transforms/nested-table-transform';
13
13
  export { NodeNestingTransformError } from './transforms/errors';
14
- export { syncBlockFallbackTransform } from './transforms/sync-block-fallback-transform';
14
+ export { syncBlockFallbackTransform } from './transforms/sync-block-fallback-transform';
15
+ export { nativeEmbedsFallbackTransform } from './transforms/native-embeds-fallback-transform';
@@ -1,2 +1,2 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
- export { alignment, annotation, backgroundColor, blockCard, block_content, blockRootOnly, blockquote, blockTaskItem, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_root_only, text_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_root_only, 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, listItem_with_flexible_first_child, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableHeader, tableRow, taskItem, taskList, taskList_with_flexible_first_child, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, syncBlock, bodiedSyncBlock } from '@atlaskit/adf-schema/schema-validator';
2
+ export { alignment, annotation, backgroundColor, blockCard, block_content, blockRootOnly, blockquote, blockTaskItem, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_root_only, text_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_root_only, extension, extensionFrame, extension_with_marks, fontSize, 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, listItem_with_flexible_first_child, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, paragraph, paragraph_with_alignment, paragraph_with_font_size, paragraph_with_font_size_and_alignment, paragraph_with_font_size_and_indentation, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableHeader, tableRow, taskItem, taskList, taskList_with_flexible_first_child, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, syncBlock, bodiedSyncBlock } from '@atlaskit/adf-schema/schema-validator';
@@ -0,0 +1,3 @@
1
+ import { type FontSizeMarkAttrs, type FontSizeMarkDefinition, type ParagraphDefinition } from '@atlaskit/adf-schema';
2
+ import { type WithMark, type WithAppliedMark } from '../types';
3
+ export declare const fontSize: (attrs: FontSizeMarkAttrs) => (maybeNode: WithMark | string) => WithAppliedMark<ParagraphDefinition, FontSizeMarkDefinition>;
@@ -0,0 +1,11 @@
1
+ import { type ADFEntity } from '../types';
2
+ /**
3
+ * Replaces any `extension` nodes whose `extensionKey` is
4
+ * `native-embed` with a paragraph containing an `inlineCard`
5
+ * node pointing at the same URL.
6
+ * If a native-embed node has no URL it is dropped from the document.
7
+ */
8
+ export declare const nativeEmbedsFallbackTransform: (adf: ADFEntity) => {
9
+ isTransformed: boolean;
10
+ transformedAdf: false | ADFEntity;
11
+ };
@@ -9,3 +9,4 @@ export { transformNestedTablesIncomingDocument, isNestedTableExtension, } from '
9
9
  export { transformNestedTableNodeOutgoingDocument } from './transforms/nested-table-transform';
10
10
  export { NodeNestingTransformError } from './transforms/errors';
11
11
  export { syncBlockFallbackTransform } from './transforms/sync-block-fallback-transform';
12
+ export { nativeEmbedsFallbackTransform } from './transforms/native-embeds-fallback-transform';
@@ -1 +1 @@
1
- export { alignment, annotation, backgroundColor, blockCard, block_content, blockRootOnly, blockquote, blockTaskItem, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_root_only, text_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_root_only, 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, listItem_with_flexible_first_child, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableHeader, tableRow, taskItem, taskList, taskList_with_flexible_first_child, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, syncBlock, bodiedSyncBlock, } from '@atlaskit/adf-schema/schema-validator';
1
+ export { alignment, annotation, backgroundColor, blockCard, block_content, blockRootOnly, blockquote, blockTaskItem, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_root_only, text_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_root_only, extension, extensionFrame, extension_with_marks, fontSize, 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, listItem_with_flexible_first_child, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, paragraph, paragraph_with_alignment, paragraph_with_font_size, paragraph_with_font_size_and_alignment, paragraph_with_font_size_and_indentation, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableHeader, tableRow, taskItem, taskList, taskList_with_flexible_first_child, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, syncBlock, bodiedSyncBlock, } from '@atlaskit/adf-schema/schema-validator';
@@ -0,0 +1,3 @@
1
+ import { type FontSizeMarkAttrs, type FontSizeMarkDefinition, type ParagraphDefinition } from '@atlaskit/adf-schema';
2
+ import { type WithMark, type WithAppliedMark } from '../types';
3
+ export declare const fontSize: (attrs: FontSizeMarkAttrs) => (maybeNode: WithMark | string) => WithAppliedMark<ParagraphDefinition, FontSizeMarkDefinition>;
@@ -0,0 +1,11 @@
1
+ import { type ADFEntity } from '../types';
2
+ /**
3
+ * Replaces any `extension` nodes whose `extensionKey` is
4
+ * `native-embed` with a paragraph containing an `inlineCard`
5
+ * node pointing at the same URL.
6
+ * If a native-embed node has no URL it is dropped from the document.
7
+ */
8
+ export declare const nativeEmbedsFallbackTransform: (adf: ADFEntity) => {
9
+ isTransformed: boolean;
10
+ transformedAdf: false | ADFEntity;
11
+ };
@@ -9,3 +9,4 @@ export { transformNestedTablesIncomingDocument, isNestedTableExtension, } from '
9
9
  export { transformNestedTableNodeOutgoingDocument } from './transforms/nested-table-transform';
10
10
  export { NodeNestingTransformError } from './transforms/errors';
11
11
  export { syncBlockFallbackTransform } from './transforms/sync-block-fallback-transform';
12
+ export { nativeEmbedsFallbackTransform } from './transforms/native-embeds-fallback-transform';
@@ -1 +1 @@
1
- export { alignment, annotation, backgroundColor, blockCard, block_content, blockRootOnly, blockquote, blockTaskItem, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_root_only, text_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_root_only, 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, listItem_with_flexible_first_child, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, paragraph, paragraph_with_alignment, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableHeader, tableRow, taskItem, taskList, taskList_with_flexible_first_child, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, syncBlock, bodiedSyncBlock, } from '@atlaskit/adf-schema/schema-validator';
1
+ export { alignment, annotation, backgroundColor, blockCard, block_content, blockRootOnly, blockquote, blockTaskItem, bodiedExtension, bodiedExtension_with_marks, border, breakout, bulletList, caption, code, codeBlock, codeBlock_root_only, text_with_no_marks, confluenceInlineComment, dataConsumer, date, decisionItem, decisionList, doc, em, embedCard, emoji, expand, expand_root_only, extension, extensionFrame, extension_with_marks, fontSize, 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, listItem_with_flexible_first_child, media, mediaGroup, mediaInline, mediaSingle, mediaSingle_caption, mediaSingle_full, mention, multiBodiedExtension, nestedExpand, nestedExpand_content, nestedExpand_with_no_marks, non_nestable_block_content, orderedList, panel, paragraph, paragraph_with_alignment, paragraph_with_font_size, paragraph_with_font_size_and_alignment, paragraph_with_font_size_and_indentation, paragraph_with_indentation, paragraph_with_no_marks, placeholder, rule, status, strike, strong, subsup, table, tableCell, tableHeader, tableRow, taskItem, taskList, taskList_with_flexible_first_child, text, textColor, text_code_inline, text_formatted, text_link_inline, underline, syncBlock, bodiedSyncBlock, } 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.27.3",
3
+ "version": "19.27.5",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,9 +26,9 @@
26
26
  "team": "Editor: Collaboration"
27
27
  },
28
28
  "dependencies": {
29
- "@atlaskit/adf-schema": "^52.1.0",
29
+ "@atlaskit/adf-schema": "^52.2.0",
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
- "@atlaskit/tmp-editor-statsig": "^32.3.0",
31
+ "@atlaskit/tmp-editor-statsig": "^34.0.0",
32
32
  "@babel/runtime": "^7.0.0"
33
33
  },
34
34
  "devDependencies": {