@atlaskit/adf-schema 47.7.0 → 47.7.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
+ ## 47.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 742cd9b: fixed MBE maxItems for marks array issue
8
+
3
9
  ## 47.7.0
4
10
 
5
11
  ### Minor Changes
@@ -16,6 +16,7 @@ var multiBodiedExtension = exports.multiBodiedExtension = (0, _adfSchemaGenerato
16
16
  // packages/adf-schema-generator/src/transforms/adfToPm/buildPmSpec.ts
17
17
  marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
18
18
  hasEmptyMarks: true,
19
+ marksMaxItems: 0,
19
20
  attrs: {
20
21
  extensionKey: {
21
22
  type: 'string',
@@ -10,6 +10,7 @@ export const multiBodiedExtension = adfNode('multiBodiedExtension').define({
10
10
  // packages/adf-schema-generator/src/transforms/adfToPm/buildPmSpec.ts
11
11
  marks: [unsupportedNodeAttribute, unsupportedMark],
12
12
  hasEmptyMarks: true,
13
+ marksMaxItems: 0,
13
14
  attrs: {
14
15
  extensionKey: {
15
16
  type: 'string',
@@ -10,6 +10,7 @@ export var multiBodiedExtension = adfNode('multiBodiedExtension').define({
10
10
  // packages/adf-schema-generator/src/transforms/adfToPm/buildPmSpec.ts
11
11
  marks: [unsupportedNodeAttribute, unsupportedMark],
12
12
  hasEmptyMarks: true,
13
+ marksMaxItems: 0,
13
14
  attrs: {
14
15
  extensionKey: {
15
16
  type: 'string',
@@ -2014,7 +2014,8 @@
2014
2014
  "enum": ["multiBodiedExtension"]
2015
2015
  },
2016
2016
  "marks": {
2017
- "type": "array"
2017
+ "type": "array",
2018
+ "maxItems": 0
2018
2019
  },
2019
2020
  "attrs": {
2020
2021
  "type": "object",
@@ -2014,7 +2014,8 @@
2014
2014
  "enum": ["multiBodiedExtension"]
2015
2015
  },
2016
2016
  "marks": {
2017
- "type": "array"
2017
+ "type": "array",
2018
+ "maxItems": 0
2018
2019
  },
2019
2020
  "attrs": {
2020
2021
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "47.7.0",
3
+ "version": "47.7.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/"
@@ -46,7 +46,7 @@
46
46
  "memoize-one": "^6.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@atlaskit/adf-schema-generator": "^2.1.0",
49
+ "@atlaskit/adf-schema-generator": "^2.1.1",
50
50
  "@atlaskit/codemod-utils": "^4.2.4",
51
51
  "@atlassian/adf-schema-json": "^1.31.0",
52
52
  "@babel/cli": "^7.22.9",