@atlaskit/editor-plugin-card 10.1.5 → 10.2.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,24 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 10.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`687c1b8fa7801`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/687c1b8fa7801) -
8
+ EDITOR-1566 bump adf-schema + update validator
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 10.1.6
15
+
16
+ ### Patch Changes
17
+
18
+ - [`bb4166f191a3f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bb4166f191a3f) -
19
+ [ux] EDITOR-1520 - addToHistory false and not scrollIntoView for smart card to link tr
20
+ - Updated dependencies
21
+
3
22
  ## 10.1.5
4
23
 
5
24
  ### Patch Changes
@@ -324,7 +324,11 @@ var changeSelectedCardToLinkFallback = exports.changeSelectedCardToLinkFallback
324
324
  })(tr);
325
325
  }
326
326
  if (dispatch) {
327
- dispatch(tr.scrollIntoView());
327
+ if ((0, _experiments.editorExperiment)('platform_editor_ai_aifc', true)) {
328
+ dispatch(tr.setMeta('addToHistory', false));
329
+ } else {
330
+ dispatch(tr.scrollIntoView());
331
+ }
328
332
  }
329
333
  return true;
330
334
  };
@@ -296,7 +296,11 @@ export const changeSelectedCardToLinkFallback = (text, href, sendAnalytics, node
296
296
  })(tr);
297
297
  }
298
298
  if (dispatch) {
299
- dispatch(tr.scrollIntoView());
299
+ if (editorExperiment('platform_editor_ai_aifc', true)) {
300
+ dispatch(tr.setMeta('addToHistory', false));
301
+ } else {
302
+ dispatch(tr.scrollIntoView());
303
+ }
300
304
  }
301
305
  return true;
302
306
  };
@@ -318,7 +318,11 @@ export var changeSelectedCardToLinkFallback = function changeSelectedCardToLinkF
318
318
  })(tr);
319
319
  }
320
320
  if (dispatch) {
321
- dispatch(tr.scrollIntoView());
321
+ if (editorExperiment('platform_editor_ai_aifc', true)) {
322
+ dispatch(tr.setMeta('addToHistory', false));
323
+ } else {
324
+ dispatch(tr.scrollIntoView());
325
+ }
322
326
  }
323
327
  return true;
324
328
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "10.1.5",
3
+ "version": "10.2.0",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,13 +29,13 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.1.2",
32
+ "@atlaskit/adf-schema": "^51.2.0",
33
33
  "@atlaskit/analytics-next": "^11.1.0",
34
34
  "@atlaskit/button": "^23.4.0",
35
- "@atlaskit/custom-steps": "^0.13.0",
35
+ "@atlaskit/custom-steps": "^0.14.0",
36
36
  "@atlaskit/editor-card-provider": "^6.0.0",
37
- "@atlaskit/editor-plugin-analytics": "^5.2.0",
38
- "@atlaskit/editor-plugin-base": "^6.2.0",
37
+ "@atlaskit/editor-plugin-analytics": "^5.3.0",
38
+ "@atlaskit/editor-plugin-base": "^6.3.0",
39
39
  "@atlaskit/editor-plugin-connectivity": "^5.0.0",
40
40
  "@atlaskit/editor-plugin-decorations": "^5.0.0",
41
41
  "@atlaskit/editor-plugin-editor-disabled": "^5.0.0",
@@ -48,20 +48,20 @@
48
48
  "@atlaskit/editor-prosemirror": "7.0.0",
49
49
  "@atlaskit/editor-shared-styles": "^3.6.0",
50
50
  "@atlaskit/frontend-utilities": "^3.1.0",
51
- "@atlaskit/icon": "^28.2.0",
51
+ "@atlaskit/icon": "^28.3.0",
52
52
  "@atlaskit/link": "^3.2.0",
53
53
  "@atlaskit/link-analytics": "^11.0.0",
54
54
  "@atlaskit/link-client-extension": "^6.0.0",
55
- "@atlaskit/link-datasource": "^4.23.0",
56
- "@atlaskit/linking-common": "^9.6.0",
55
+ "@atlaskit/link-datasource": "^4.25.0",
56
+ "@atlaskit/linking-common": "^9.7.0",
57
57
  "@atlaskit/linking-types": "^14.0.0",
58
58
  "@atlaskit/menu": "^8.4.0",
59
59
  "@atlaskit/platform-feature-flags": "^1.1.0",
60
60
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
61
- "@atlaskit/primitives": "^14.14.0",
62
- "@atlaskit/smart-card": "^42.0.0",
61
+ "@atlaskit/primitives": "^14.15.0",
62
+ "@atlaskit/smart-card": "^42.2.0",
63
63
  "@atlaskit/theme": "^21.0.0",
64
- "@atlaskit/tmp-editor-statsig": "^12.25.0",
64
+ "@atlaskit/tmp-editor-statsig": "^12.30.0",
65
65
  "@atlaskit/tokens": "^6.3.0",
66
66
  "@babel/runtime": "^7.0.0",
67
67
  "@emotion/react": "^11.7.1",
@@ -71,7 +71,7 @@
71
71
  "uuid": "^3.1.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "@atlaskit/editor-common": "^109.10.0",
74
+ "@atlaskit/editor-common": "^109.16.0",
75
75
  "@atlaskit/link-provider": "^4.0.0",
76
76
  "react": "^18.2.0",
77
77
  "react-intl-next": "npm:react-intl@^5.18.1"