@atlaskit/adf-schema 35.1.0 → 35.1.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 35.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2023f5a: ED-20070: Added multiBodiedExtension and extensionFrame as defaultSchema customNodeSpecs for stage-0
8
+
3
9
  ## 35.1.0
4
10
 
5
11
  ### Minor Changes
@@ -24,7 +24,9 @@ var getSchemaBasedOnStage = (0, _memoizeOne.default)(function () {
24
24
  var defaultSchemaConfig = getDefaultSchemaConfig();
25
25
  if (stage === 'stage0') {
26
26
  defaultSchemaConfig.customNodeSpecs = {
27
- layoutSection: _nodes.layoutSectionWithSingleColumn
27
+ layoutSection: _nodes.layoutSectionWithSingleColumn,
28
+ multiBodiedExtension: _nodes.multiBodiedExtension,
29
+ extensionFrame: _nodes.extensionFrame
28
30
  };
29
31
  }
30
32
  return (0, _createSchema.createSchema)(defaultSchemaConfig);
@@ -1,5 +1,5 @@
1
1
  import memoizeOne from 'memoize-one';
2
- import { layoutSectionWithSingleColumn } from './nodes';
2
+ import { extensionFrame, layoutSectionWithSingleColumn, multiBodiedExtension } from './nodes';
3
3
  import { createSchema } from './create-schema';
4
4
  const getDefaultSchemaConfig = () => {
5
5
  const defaultSchemaConfig = {
@@ -15,7 +15,9 @@ export const getSchemaBasedOnStage = memoizeOne((stage = 'final') => {
15
15
  const defaultSchemaConfig = getDefaultSchemaConfig();
16
16
  if (stage === 'stage0') {
17
17
  defaultSchemaConfig.customNodeSpecs = {
18
- layoutSection: layoutSectionWithSingleColumn
18
+ layoutSection: layoutSectionWithSingleColumn,
19
+ multiBodiedExtension: multiBodiedExtension,
20
+ extensionFrame: extensionFrame
19
21
  };
20
22
  }
21
23
  return createSchema(defaultSchemaConfig);
@@ -1,5 +1,5 @@
1
1
  import memoizeOne from 'memoize-one';
2
- import { layoutSectionWithSingleColumn } from './nodes';
2
+ import { extensionFrame, layoutSectionWithSingleColumn, multiBodiedExtension } from './nodes';
3
3
  import { createSchema } from './create-schema';
4
4
  var getDefaultSchemaConfig = function getDefaultSchemaConfig() {
5
5
  var defaultSchemaConfig = {
@@ -16,7 +16,9 @@ export var getSchemaBasedOnStage = memoizeOne(function () {
16
16
  var defaultSchemaConfig = getDefaultSchemaConfig();
17
17
  if (stage === 'stage0') {
18
18
  defaultSchemaConfig.customNodeSpecs = {
19
- layoutSection: layoutSectionWithSingleColumn
19
+ layoutSection: layoutSectionWithSingleColumn,
20
+ multiBodiedExtension: multiBodiedExtension,
21
+ extensionFrame: extensionFrame
20
22
  };
21
23
  }
22
24
  return createSchema(defaultSchemaConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "35.1.0",
3
+ "version": "35.1.1",
4
4
  "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"