@atlaskit/adf-schema 40.7.0 → 40.8.0

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
+ ## 40.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 276b273: In validator spec when mixed content nodes + groups, groups should be flattened
8
+
3
9
  ## 40.7.0
4
10
 
5
11
  ### Minor Changes
@@ -1680,7 +1680,7 @@ var expand = exports.expand = {
1680
1680
  },
1681
1681
  content: {
1682
1682
  type: 'array',
1683
- items: [['non_nestable_block_content', 'nestedExpand_with_no_marks']],
1683
+ items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
1684
1684
  minItems: 1,
1685
1685
  allowUnsupportedBlock: true
1686
1686
  },
@@ -1673,7 +1673,7 @@ export const expand = {
1673
1673
  },
1674
1674
  content: {
1675
1675
  type: 'array',
1676
- items: [['non_nestable_block_content', 'nestedExpand_with_no_marks']],
1676
+ items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
1677
1677
  minItems: 1,
1678
1678
  allowUnsupportedBlock: true
1679
1679
  },
@@ -1673,7 +1673,7 @@ export var expand = {
1673
1673
  },
1674
1674
  content: {
1675
1675
  type: 'array',
1676
- items: [['non_nestable_block_content', 'nestedExpand_with_no_marks']],
1676
+ items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
1677
1677
  minItems: 1,
1678
1678
  allowUnsupportedBlock: true
1679
1679
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "40.7.0",
3
+ "version": "40.8.0",
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/"
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@atlassian/adf-schema-json": "^1.22.0",
50
50
  "@atlassian/feature-flags-test-utils": "^0.2.0",
51
- "@atlaskit/adf-schema-generator": "^1.30.0",
51
+ "@atlaskit/adf-schema-generator": "^1.31.0",
52
52
  "@atlaskit/codemod-utils": "^4.2.4",
53
53
  "@babel/cli": "^7.22.9",
54
54
  "@babel/core": "^7.22.9",