@atlaskit/editor-plugin-card 11.0.1 → 11.0.2

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,13 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 11.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`76ffc91d514f3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/76ffc91d514f3) -
8
+ Changed packages over to using the generic AIFC FG rather then an experiment
9
+ - Updated dependencies
10
+
3
11
  ## 11.0.1
4
12
 
5
13
  ### Patch Changes
@@ -324,7 +324,7 @@ var changeSelectedCardToLinkFallback = exports.changeSelectedCardToLinkFallback
324
324
  })(tr);
325
325
  }
326
326
  if (dispatch) {
327
- if ((0, _experiments.editorExperiment)('platform_editor_ai_aifc', true)) {
327
+ if ((0, _platformFeatureFlags.fg)('aifc_create_enabled')) {
328
328
  dispatch(tr.setMeta('addToHistory', false));
329
329
  } else {
330
330
  dispatch(tr.scrollIntoView());
@@ -296,7 +296,7 @@ export const changeSelectedCardToLinkFallback = (text, href, sendAnalytics, node
296
296
  })(tr);
297
297
  }
298
298
  if (dispatch) {
299
- if (editorExperiment('platform_editor_ai_aifc', true)) {
299
+ if (fg('aifc_create_enabled')) {
300
300
  dispatch(tr.setMeta('addToHistory', false));
301
301
  } else {
302
302
  dispatch(tr.scrollIntoView());
@@ -318,7 +318,7 @@ export var changeSelectedCardToLinkFallback = function changeSelectedCardToLinkF
318
318
  })(tr);
319
319
  }
320
320
  if (dispatch) {
321
- if (editorExperiment('platform_editor_ai_aifc', true)) {
321
+ if (fg('aifc_create_enabled')) {
322
322
  dispatch(tr.setMeta('addToHistory', false));
323
323
  } else {
324
324
  dispatch(tr.scrollIntoView());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "11.0.1",
3
+ "version": "11.0.2",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,20 +34,20 @@
34
34
  "@atlaskit/button": "^23.4.0",
35
35
  "@atlaskit/custom-steps": "^0.14.0",
36
36
  "@atlaskit/editor-card-provider": "^6.0.0",
37
- "@atlaskit/editor-plugin-analytics": "^6.0.0",
37
+ "@atlaskit/editor-plugin-analytics": "^6.1.0",
38
38
  "@atlaskit/editor-plugin-base": "^7.0.0",
39
39
  "@atlaskit/editor-plugin-connectivity": "^6.0.0",
40
40
  "@atlaskit/editor-plugin-decorations": "^6.1.0",
41
41
  "@atlaskit/editor-plugin-editor-disabled": "^6.0.0",
42
42
  "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
43
43
  "@atlaskit/editor-plugin-feature-flags": "^5.0.0",
44
- "@atlaskit/editor-plugin-floating-toolbar": "^8.0.0",
44
+ "@atlaskit/editor-plugin-floating-toolbar": "^8.1.0",
45
45
  "@atlaskit/editor-plugin-grid": "^6.0.0",
46
46
  "@atlaskit/editor-plugin-toolbar": "^3.0.0",
47
47
  "@atlaskit/editor-plugin-width": "^7.0.0",
48
48
  "@atlaskit/editor-prosemirror": "7.0.0",
49
49
  "@atlaskit/editor-shared-styles": "^3.6.0",
50
- "@atlaskit/frontend-utilities": "^3.1.0",
50
+ "@atlaskit/frontend-utilities": "^3.2.0",
51
51
  "@atlaskit/icon": "^28.3.0",
52
52
  "@atlaskit/link": "^3.2.0",
53
53
  "@atlaskit/link-analytics": "^11.0.0",
@@ -62,7 +62,7 @@
62
62
  "@atlaskit/smart-card": "^42.3.0",
63
63
  "@atlaskit/theme": "^21.0.0",
64
64
  "@atlaskit/tmp-editor-statsig": "^12.32.0",
65
- "@atlaskit/tokens": "^6.3.0",
65
+ "@atlaskit/tokens": "^6.4.0",
66
66
  "@babel/runtime": "^7.0.0",
67
67
  "@emotion/react": "^11.7.1",
68
68
  "lodash": "^4.17.21",
@@ -71,7 +71,7 @@
71
71
  "uuid": "^3.1.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "@atlaskit/editor-common": "^110.2.0",
74
+ "@atlaskit/editor-common": "^110.3.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"
@@ -124,6 +124,9 @@
124
124
  },
125
125
  "platform_editor_adf_with_localid": {
126
126
  "type": "boolean"
127
+ },
128
+ "aifc_create_enabled": {
129
+ "type": "boolean"
127
130
  }
128
131
  },
129
132
  "stricter": {