@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
@@ -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