@atlaskit/adf-utils 18.0.3 → 18.0.4
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 +10 -0
- package/dist/cjs/validator/specs/block_content.js +1 -1
- package/dist/cjs/validator/specs/doc.js +1 -1
- package/dist/cjs/validator/specs/index.js +2 -2
- package/dist/cjs/validator/specs/listItem.js +1 -1
- package/dist/cjs/validator/specs/nestedExpand_content.js +1 -1
- package/dist/cjs/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/cjs/validator/specs/panel.js +3 -3
- package/dist/cjs/validator/specs/tableCell_content.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/validator/specs/block_content.js +1 -1
- package/dist/es2019/validator/specs/doc.js +1 -1
- package/dist/es2019/validator/specs/index.js +2 -2
- package/dist/es2019/validator/specs/listItem.js +1 -1
- package/dist/es2019/validator/specs/nestedExpand_content.js +1 -1
- package/dist/es2019/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/es2019/validator/specs/panel.js +3 -3
- package/dist/es2019/validator/specs/tableCell_content.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/validator/specs/block_content.js +1 -1
- package/dist/esm/validator/specs/doc.js +1 -1
- package/dist/esm/validator/specs/index.js +2 -2
- package/dist/esm/validator/specs/listItem.js +1 -1
- package/dist/esm/validator/specs/nestedExpand_content.js +1 -1
- package/dist/esm/validator/specs/non_nestable_block_content.js +1 -1
- package/dist/esm/validator/specs/panel.js +3 -3
- package/dist/esm/validator/specs/tableCell_content.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/validator/specs/index.d.ts +2 -2
- package/dist/types/validator/specs/panel.d.ts +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/adf-utils
|
|
2
2
|
|
|
3
|
+
## 18.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6b52583b688`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b52583b688) - ED-15974 Currently nodes are validated against single spec.
|
|
8
|
+
When a node has multiple specs, like mediaSingle, the first spec is used to validate the node.
|
|
9
|
+
Therefore, the validation fails with an error `INVALID_CONTENT_LENGTH` when the correct spec is not selected for validation.
|
|
10
|
+
|
|
11
|
+
This fix is to re-arrange the specs so that the less restrictive spec is at the top.
|
|
12
|
+
|
|
3
13
|
## 18.0.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', '
|
|
7
|
+
var _default = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
|
8
8
|
exports.default = _default;
|
|
@@ -16,7 +16,7 @@ var _default = {
|
|
|
16
16
|
},
|
|
17
17
|
content: {
|
|
18
18
|
type: 'array',
|
|
19
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', '
|
|
19
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column']],
|
|
20
20
|
allowUnsupportedBlock: true
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -533,15 +533,15 @@ var _paragraph = _interopRequireDefault(require("./paragraph"));
|
|
|
533
533
|
var _paragraph_with_no_marks = _interopRequireDefault(require("./paragraph_with_no_marks"));
|
|
534
534
|
var _paragraph_with_alignment = _interopRequireDefault(require("./paragraph_with_alignment"));
|
|
535
535
|
var _paragraph_with_indentation = _interopRequireDefault(require("./paragraph_with_indentation"));
|
|
536
|
-
var _bulletList = _interopRequireDefault(require("./bulletList"));
|
|
537
536
|
var _caption = _interopRequireDefault(require("./caption"));
|
|
538
537
|
var _mediaSingle = _interopRequireDefault(require("./mediaSingle"));
|
|
539
|
-
var _mediaSingle_full = _interopRequireDefault(require("./mediaSingle_full"));
|
|
540
538
|
var _mediaSingle_caption = _interopRequireDefault(require("./mediaSingle_caption"));
|
|
539
|
+
var _mediaSingle_full = _interopRequireDefault(require("./mediaSingle_full"));
|
|
541
540
|
var _codeBlock = _interopRequireDefault(require("./codeBlock"));
|
|
542
541
|
var _codeBlock_with_no_marks = _interopRequireDefault(require("./codeBlock_with_no_marks"));
|
|
543
542
|
var _codeBlock_with_marks = _interopRequireDefault(require("./codeBlock_with_marks"));
|
|
544
543
|
var _listItem = _interopRequireDefault(require("./listItem"));
|
|
544
|
+
var _bulletList = _interopRequireDefault(require("./bulletList"));
|
|
545
545
|
var _orderedList = _interopRequireDefault(require("./orderedList"));
|
|
546
546
|
var _heading = _interopRequireDefault(require("./heading"));
|
|
547
547
|
var _heading_with_no_marks = _interopRequireDefault(require("./heading_with_no_marks"));
|
|
@@ -12,7 +12,7 @@ var _default = {
|
|
|
12
12
|
},
|
|
13
13
|
content: {
|
|
14
14
|
type: 'array',
|
|
15
|
-
items: [['paragraph_with_no_marks', '
|
|
15
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList']],
|
|
16
16
|
isTupleLike: true,
|
|
17
17
|
minItems: 1
|
|
18
18
|
}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _default = {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['paragraph_with_no_marks', '
|
|
9
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
|
|
10
10
|
minItems: 1,
|
|
11
11
|
allowUnsupportedBlock: true
|
|
12
12
|
};
|
|
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default = ['blockCard', 'paragraph_with_no_marks', '
|
|
7
|
+
var _default = ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table'];
|
|
8
8
|
exports.default = _default;
|
|
@@ -20,15 +20,15 @@ var _default = {
|
|
|
20
20
|
type: 'string',
|
|
21
21
|
optional: true
|
|
22
22
|
},
|
|
23
|
-
|
|
23
|
+
panelIconId: {
|
|
24
24
|
type: 'string',
|
|
25
25
|
optional: true
|
|
26
26
|
},
|
|
27
|
-
|
|
27
|
+
panelIconText: {
|
|
28
28
|
type: 'string',
|
|
29
29
|
optional: true
|
|
30
30
|
},
|
|
31
|
-
|
|
31
|
+
panelColor: {
|
|
32
32
|
type: 'string',
|
|
33
33
|
optional: true
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _default = {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', '
|
|
9
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'nestedExpand_with_no_marks']],
|
|
10
10
|
minItems: 1,
|
|
11
11
|
allowUnsupportedBlock: true
|
|
12
12
|
};
|
package/dist/cjs/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
},
|
|
11
11
|
content: {
|
|
12
12
|
type: 'array',
|
|
13
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', '
|
|
13
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column']],
|
|
14
14
|
allowUnsupportedBlock: true
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -36,15 +36,15 @@ export { default as paragraph } from './paragraph';
|
|
|
36
36
|
export { default as paragraph_with_no_marks } from './paragraph_with_no_marks';
|
|
37
37
|
export { default as paragraph_with_alignment } from './paragraph_with_alignment';
|
|
38
38
|
export { default as paragraph_with_indentation } from './paragraph_with_indentation';
|
|
39
|
-
export { default as bulletList } from './bulletList';
|
|
40
39
|
export { default as caption } from './caption';
|
|
41
40
|
export { default as mediaSingle } from './mediaSingle';
|
|
42
|
-
export { default as mediaSingle_full } from './mediaSingle_full';
|
|
43
41
|
export { default as mediaSingle_caption } from './mediaSingle_caption';
|
|
42
|
+
export { default as mediaSingle_full } from './mediaSingle_full';
|
|
44
43
|
export { default as codeBlock } from './codeBlock';
|
|
45
44
|
export { default as codeBlock_with_no_marks } from './codeBlock_with_no_marks';
|
|
46
45
|
export { default as codeBlock_with_marks } from './codeBlock_with_marks';
|
|
47
46
|
export { default as listItem } from './listItem';
|
|
47
|
+
export { default as bulletList } from './bulletList';
|
|
48
48
|
export { default as orderedList } from './orderedList';
|
|
49
49
|
export { default as heading } from './heading';
|
|
50
50
|
export { default as heading_with_no_marks } from './heading_with_no_marks';
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
},
|
|
7
7
|
content: {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['paragraph_with_no_marks', '
|
|
9
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList']],
|
|
10
10
|
isTupleLike: true,
|
|
11
11
|
minItems: 1
|
|
12
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['paragraph_with_no_marks', '
|
|
3
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table'];
|
|
@@ -14,15 +14,15 @@ export default {
|
|
|
14
14
|
type: 'string',
|
|
15
15
|
optional: true
|
|
16
16
|
},
|
|
17
|
-
|
|
17
|
+
panelIconId: {
|
|
18
18
|
type: 'string',
|
|
19
19
|
optional: true
|
|
20
20
|
},
|
|
21
|
-
|
|
21
|
+
panelIconText: {
|
|
22
22
|
type: 'string',
|
|
23
23
|
optional: true
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
panelColor: {
|
|
26
26
|
type: 'string',
|
|
27
27
|
optional: true
|
|
28
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', '
|
|
3
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'nestedExpand_with_no_marks']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
package/dist/es2019/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
},
|
|
11
11
|
content: {
|
|
12
12
|
type: 'array',
|
|
13
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', '
|
|
13
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'codeBlock_with_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'expand_with_breakout_mark', 'bodiedExtension_with_marks', 'layoutSection_full', 'layoutSection_with_single_column']],
|
|
14
14
|
allowUnsupportedBlock: true
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -36,15 +36,15 @@ export { default as paragraph } from './paragraph';
|
|
|
36
36
|
export { default as paragraph_with_no_marks } from './paragraph_with_no_marks';
|
|
37
37
|
export { default as paragraph_with_alignment } from './paragraph_with_alignment';
|
|
38
38
|
export { default as paragraph_with_indentation } from './paragraph_with_indentation';
|
|
39
|
-
export { default as bulletList } from './bulletList';
|
|
40
39
|
export { default as caption } from './caption';
|
|
41
40
|
export { default as mediaSingle } from './mediaSingle';
|
|
42
|
-
export { default as mediaSingle_full } from './mediaSingle_full';
|
|
43
41
|
export { default as mediaSingle_caption } from './mediaSingle_caption';
|
|
42
|
+
export { default as mediaSingle_full } from './mediaSingle_full';
|
|
44
43
|
export { default as codeBlock } from './codeBlock';
|
|
45
44
|
export { default as codeBlock_with_no_marks } from './codeBlock_with_no_marks';
|
|
46
45
|
export { default as codeBlock_with_marks } from './codeBlock_with_marks';
|
|
47
46
|
export { default as listItem } from './listItem';
|
|
47
|
+
export { default as bulletList } from './bulletList';
|
|
48
48
|
export { default as orderedList } from './orderedList';
|
|
49
49
|
export { default as heading } from './heading';
|
|
50
50
|
export { default as heading_with_no_marks } from './heading_with_no_marks';
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
},
|
|
7
7
|
content: {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['paragraph_with_no_marks', '
|
|
9
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList']],
|
|
10
10
|
isTupleLike: true,
|
|
11
11
|
minItems: 1
|
|
12
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['paragraph_with_no_marks', '
|
|
3
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['blockCard', 'paragraph_with_no_marks', '
|
|
1
|
+
export default ['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'table'];
|
|
@@ -14,15 +14,15 @@ export default {
|
|
|
14
14
|
type: 'string',
|
|
15
15
|
optional: true
|
|
16
16
|
},
|
|
17
|
-
|
|
17
|
+
panelIconId: {
|
|
18
18
|
type: 'string',
|
|
19
19
|
optional: true
|
|
20
20
|
},
|
|
21
|
-
|
|
21
|
+
panelIconText: {
|
|
22
22
|
type: 'string',
|
|
23
23
|
optional: true
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
panelColor: {
|
|
26
26
|
type: 'string',
|
|
27
27
|
optional: true
|
|
28
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', '
|
|
3
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'panel', 'blockquote', 'rule', 'mediaGroup', 'decisionList', 'taskList', 'extension_with_marks', 'embedCard', 'nestedExpand_with_no_marks']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
package/dist/esm/version.json
CHANGED
|
@@ -35,15 +35,15 @@ export { default as paragraph } from './paragraph';
|
|
|
35
35
|
export { default as paragraph_with_no_marks } from './paragraph_with_no_marks';
|
|
36
36
|
export { default as paragraph_with_alignment } from './paragraph_with_alignment';
|
|
37
37
|
export { default as paragraph_with_indentation } from './paragraph_with_indentation';
|
|
38
|
-
export { default as bulletList } from './bulletList';
|
|
39
38
|
export { default as caption } from './caption';
|
|
40
39
|
export { default as mediaSingle } from './mediaSingle';
|
|
41
|
-
export { default as mediaSingle_full } from './mediaSingle_full';
|
|
42
40
|
export { default as mediaSingle_caption } from './mediaSingle_caption';
|
|
41
|
+
export { default as mediaSingle_full } from './mediaSingle_full';
|
|
43
42
|
export { default as codeBlock } from './codeBlock';
|
|
44
43
|
export { default as codeBlock_with_no_marks } from './codeBlock_with_no_marks';
|
|
45
44
|
export { default as codeBlock_with_marks } from './codeBlock_with_marks';
|
|
46
45
|
export { default as listItem } from './listItem';
|
|
46
|
+
export { default as bulletList } from './bulletList';
|
|
47
47
|
export { default as orderedList } from './orderedList';
|
|
48
48
|
export { default as heading } from './heading';
|
|
49
49
|
export { default as heading_with_no_marks } from './heading_with_no_marks';
|
|
@@ -14,15 +14,15 @@ declare const _default: {
|
|
|
14
14
|
type: string;
|
|
15
15
|
optional: boolean;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
panelIconId: {
|
|
18
18
|
type: string;
|
|
19
19
|
optional: boolean;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
panelIconText: {
|
|
22
22
|
type: string;
|
|
23
23
|
optional: boolean;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
panelColor: {
|
|
26
26
|
type: string;
|
|
27
27
|
optional: boolean;
|
|
28
28
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-utils",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.4",
|
|
4
4
|
"description": "Set of utilities to traverse, modify and create ADF documents.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"generate:spec": "rm -rf ./src/validator/specs/ && ../json-schema-generator/bin.js --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^25.
|
|
36
|
+
"@atlaskit/adf-schema": "^25.3.0",
|
|
37
37
|
"@atlaskit/codemod-utils": "^4.1.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0"
|
|
39
39
|
},
|