@atlaskit/adf-schema 35.5.2 → 35.6.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.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - cbc7286: ED-22379 Add annotation mark to inline card
8
+
3
9
  ## 35.5.2
4
10
 
5
11
  ### Patch Changes
@@ -847,6 +847,12 @@
847
847
  "additionalProperties": false
848
848
  }
849
849
  ]
850
+ },
851
+ "marks": {
852
+ "type": "array",
853
+ "items": {
854
+ "$ref": "#/definitions/annotation_mark"
855
+ }
850
856
  }
851
857
  },
852
858
  "required": [
@@ -1,10 +1,15 @@
1
1
  import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  import { CardAttributes } from './block-card';
3
+ import { AnnotationMarkDefinition } from '../marks/annotation';
3
4
  /**
4
5
  * @name inlineCard_node
5
6
  */
6
7
  export interface InlineCardDefinition {
7
8
  type: 'inlineCard';
8
9
  attrs: CardAttributes;
10
+ /**
11
+ * @stage 0
12
+ */
13
+ marks?: Array<AnnotationMarkDefinition>;
9
14
  }
10
15
  export declare const inlineCard: NodeSpec;
@@ -847,6 +847,12 @@
847
847
  "additionalProperties": false
848
848
  }
849
849
  ]
850
+ },
851
+ "marks": {
852
+ "type": "array",
853
+ "items": {
854
+ "$ref": "#/definitions/annotation_mark"
855
+ }
850
856
  }
851
857
  },
852
858
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "35.5.2",
3
+ "version": "35.6.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/"
@@ -41,7 +41,7 @@
41
41
  "memoize-one": "^6.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@atlassian/adf-schema-json": "^1.5.1",
44
+ "@atlassian/adf-schema-json": "^1.6.0",
45
45
  "@babel/cli": "^7.22.9",
46
46
  "@babel/core": "^7.22.9",
47
47
  "@babel/plugin-proposal-class-properties": "^7.18.6",