@atlaskit/adf-schema 52.4.16 → 52.4.17

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
+ ## 52.4.17
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 52.4.16
4
10
 
5
11
  ### Patch Changes
@@ -11,8 +11,10 @@ export type LinkStepMetadata = {
11
11
  /**
12
12
  * The applicable card action for this step
13
13
  * if is RESOLVE then the undo/redo steps should be considered "updates" of a link
14
+ * if is AUTO_CONVERT then the transaction is converting a link to a non-link node (e.g. extension)
15
+ * and the link removal should not be tracked as a deletion
14
16
  */
15
- cardAction?: 'RESOLVE';
17
+ cardAction?: 'RESOLVE' | 'AUTO_CONVERT';
16
18
  /**
17
19
  * Editor input method that triggered the transaction
18
20
  */
@@ -11,8 +11,10 @@ export type LinkStepMetadata = {
11
11
  /**
12
12
  * The applicable card action for this step
13
13
  * if is RESOLVE then the undo/redo steps should be considered "updates" of a link
14
+ * if is AUTO_CONVERT then the transaction is converting a link to a non-link node (e.g. extension)
15
+ * and the link removal should not be tracked as a deletion
14
16
  */
15
- cardAction?: 'RESOLVE';
17
+ cardAction?: 'RESOLVE' | 'AUTO_CONVERT';
16
18
  /**
17
19
  * Editor input method that triggered the transaction
18
20
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "52.4.16",
3
+ "version": "52.4.17",
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/"
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@atlaskit/adf-schema-generator": "^2.2.0",
44
44
  "@atlaskit/editor-prosemirror": "^7.3.0",
45
- "@atlaskit/tmp-editor-statsig": "^55.0.0",
45
+ "@atlaskit/tmp-editor-statsig": "^56.0.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "css-color-names": "0.0.4",
48
48
  "linkify-it": "^3.0.3",