@atlaskit/adf-schema 25.9.0 → 25.9.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
+ ## 25.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`bf7e8e4968b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf7e8e4968b) - ED-15895 add unsupportedinline support to caption
8
+
3
9
  ## 25.9.0
4
10
 
5
11
  ### Minor Changes
@@ -9,7 +9,7 @@ exports.caption = void 0;
9
9
  */
10
10
 
11
11
  var caption = {
12
- content: '(text|hardBreak|mention|emoji|date|placeholder|inlineCard|status)*',
12
+ content: '(text|hardBreak|mention|emoji|date|placeholder|inlineCard|status|unsupportedInline)*',
13
13
  isolating: true,
14
14
  marks: '_',
15
15
  selectable: false,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "25.9.0",
3
+ "version": "25.9.1",
4
4
  "sideEffects": false
5
5
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  export const caption = {
6
- content: '(text|hardBreak|mention|emoji|date|placeholder|inlineCard|status)*',
6
+ content: '(text|hardBreak|mention|emoji|date|placeholder|inlineCard|status|unsupportedInline)*',
7
7
  isolating: true,
8
8
  marks: '_',
9
9
  selectable: false,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "25.9.0",
3
+ "version": "25.9.1",
4
4
  "sideEffects": false
5
5
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  export var caption = {
6
- content: '(text|hardBreak|mention|emoji|date|placeholder|inlineCard|status)*',
6
+ content: '(text|hardBreak|mention|emoji|date|placeholder|inlineCard|status|unsupportedInline)*',
7
7
  isolating: true,
8
8
  marks: '_',
9
9
  selectable: false,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "25.9.0",
3
+ "version": "25.9.1",
4
4
  "sideEffects": false
5
5
  }
@@ -14,6 +14,7 @@ export interface CaptionDefinition {
14
14
  type: 'caption';
15
15
  /**
16
16
  * @minItems 0
17
+ * @allowUnsupportedInline true
17
18
  */
18
19
  content: Array<InlineFormattedText | InlineCode | HardBreak | Mention | Emoji | Date | Placeholder | InlineCard | Status>;
19
20
  }
@@ -14,6 +14,7 @@ export interface CaptionDefinition {
14
14
  type: 'caption';
15
15
  /**
16
16
  * @minItems 0
17
+ * @allowUnsupportedInline true
17
18
  */
18
19
  content: Array<InlineFormattedText | InlineCode | HardBreak | Mention | Emoji | Date | Placeholder | InlineCard | Status>;
19
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "25.9.0",
3
+ "version": "25.9.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/"
@@ -58,7 +58,7 @@
58
58
  "prosemirror-transform": "1.3.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@atlaskit/editor-test-helpers": "^18.6.0",
61
+ "@atlaskit/editor-test-helpers": "^18.7.0",
62
62
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
63
63
  "@types/linkify-it": "^2.0.4",
64
64
  "@types/prosemirror-history": "^1.0.1",
package/report.api.md CHANGED
@@ -276,7 +276,6 @@ export const caption: NodeSpec;
276
276
 
277
277
  // @public
278
278
  export interface CaptionDefinition {
279
- // (undocumented)
280
279
  content: Array<
281
280
  | DateDefinition
282
281
  | EmojiDefinition
@@ -240,7 +240,6 @@ export const caption: NodeSpec;
240
240
 
241
241
  // @public
242
242
  export interface CaptionDefinition {
243
- // (undocumented)
244
243
  content: Array<DateDefinition | EmojiDefinition | HardBreakDefinition | InlineCardDefinition | InlineCode | InlineFormattedText | MentionDefinition | PlaceholderDefinition | StatusDefinition>;
245
244
  // (undocumented)
246
245
  type: 'caption';