@atlaskit/adf-schema 35.7.0 → 35.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
+ ## 35.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 39eba61: [ED-22607] - Remove `maxFrames` attribute from `multiBodiedExtension`
8
+
3
9
  ## 35.7.0
4
10
 
5
11
  ### Minor Changes
@@ -62,9 +62,6 @@ var createMultiBodiedExtensionNodeSpec = function createMultiBodiedExtensionNode
62
62
  extensionType: {
63
63
  default: ''
64
64
  },
65
- maxFrames: {
66
- default: 5
67
- },
68
65
  parameters: {
69
66
  default: null
70
67
  },
@@ -57,9 +57,6 @@ const createMultiBodiedExtensionNodeSpec = () => {
57
57
  extensionType: {
58
58
  default: ''
59
59
  },
60
- maxFrames: {
61
- default: 5
62
- },
63
60
  parameters: {
64
61
  default: null
65
62
  },
@@ -57,9 +57,6 @@ var createMultiBodiedExtensionNodeSpec = function createMultiBodiedExtensionNode
57
57
  extensionType: {
58
58
  default: ''
59
59
  },
60
- maxFrames: {
61
- default: 5
62
- },
63
60
  parameters: {
64
61
  default: null
65
62
  },
@@ -2943,10 +2943,6 @@
2943
2943
  "attrs": {
2944
2944
  "type": "object",
2945
2945
  "properties": {
2946
- "maxFrames": {
2947
- "type": "number",
2948
- "default": 5
2949
- },
2950
2946
  "extensionKey": {
2951
2947
  "type": "string",
2952
2948
  "minLength": 1
@@ -2971,11 +2967,11 @@
2971
2967
  "minLength": 1
2972
2968
  }
2973
2969
  },
2974
- "additionalProperties": false,
2975
2970
  "required": [
2976
2971
  "extensionKey",
2977
2972
  "extensionType"
2978
- ]
2973
+ ],
2974
+ "additionalProperties": false
2979
2975
  },
2980
2976
  "marks": {
2981
2977
  "type": "array"
@@ -1,5 +1,5 @@
1
1
  import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
- import { MultiBodiedExtensionAttributes } from './types/extensions';
2
+ import { ExtensionAttributes } from './types/extensions';
3
3
  import { BodiedExtensionDefinition as BodiedExtension } from './bodied-extension';
4
4
  import { PanelDefinition as Panel } from './panel';
5
5
  import { ParagraphDefinition as Paragraph } from './paragraph';
@@ -42,7 +42,7 @@ export declare const extensionFrame: NodeSpec;
42
42
  */
43
43
  export interface MultiBodiedExtensionDefinition {
44
44
  type: 'multiBodiedExtension';
45
- attrs: MultiBodiedExtensionAttributes;
45
+ attrs: ExtensionAttributes;
46
46
  marks?: Array<any>;
47
47
  /**
48
48
  * @minLength 1
@@ -32,9 +32,3 @@ export interface InlineExtensionAttributes {
32
32
  */
33
33
  localId?: string;
34
34
  }
35
- export interface MultiBodiedExtensionAttributes extends ExtensionAttributes {
36
- /**
37
- * @default 5
38
- */
39
- maxFrames?: number;
40
- }
@@ -2943,10 +2943,6 @@
2943
2943
  "attrs": {
2944
2944
  "type": "object",
2945
2945
  "properties": {
2946
- "maxFrames": {
2947
- "type": "number",
2948
- "default": 5
2949
- },
2950
2946
  "extensionKey": {
2951
2947
  "type": "string",
2952
2948
  "minLength": 1
@@ -2971,11 +2967,11 @@
2971
2967
  "minLength": 1
2972
2968
  }
2973
2969
  },
2974
- "additionalProperties": false,
2975
2970
  "required": [
2976
2971
  "extensionKey",
2977
2972
  "extensionType"
2978
- ]
2973
+ ],
2974
+ "additionalProperties": false
2979
2975
  },
2980
2976
  "marks": {
2981
2977
  "type": "array"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "35.7.0",
3
+ "version": "35.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/"