@atlaskit/editor-plugin-block-type 10.2.6 → 10.2.7

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,14 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 10.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0d661119b4293`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0d661119b4293) -
8
+ Clean up platform_editor_insertion experiment by shipping control variant. Remove modern TypeAhead
9
+ components and experiment infrastructure while preserving all existing functionality.
10
+ - Updated dependencies
11
+
3
12
  ## 10.2.6
4
13
 
5
14
  ### Patch Changes
@@ -247,7 +247,7 @@ var blockTypePlugin = exports.blockTypePlugin = function blockTypePlugin(_ref3)
247
247
  return undefined;
248
248
  }
249
249
  }
250
- }), (0, _experiments.editorExperiment)('platform_editor_insertion', 'control') && {
250
+ }), {}, {
251
251
  quickInsert: function quickInsert(intl) {
252
252
  var _api$analytics7, _api$analytics8;
253
253
  var exclude = options && options.allowBlockType && options.allowBlockType.exclude ? options.allowBlockType.exclude : [];
@@ -236,13 +236,11 @@ const blockTypePlugin = ({
236
236
  }
237
237
  }
238
238
  }),
239
- ...(editorExperiment('platform_editor_insertion', 'control') && {
240
- quickInsert: intl => {
241
- var _api$analytics7, _api$analytics8;
242
- const exclude = options && options.allowBlockType && options.allowBlockType.exclude ? options.allowBlockType.exclude : [];
243
- return [...blockquotePluginOptions(intl, exclude.indexOf('blockquote') === -1, api === null || api === void 0 ? void 0 : (_api$analytics7 = api.analytics) === null || _api$analytics7 === void 0 ? void 0 : _api$analytics7.actions), ...headingPluginOptions(intl, exclude.indexOf('heading') === -1, api === null || api === void 0 ? void 0 : (_api$analytics8 = api.analytics) === null || _api$analytics8 === void 0 ? void 0 : _api$analytics8.actions)];
244
- }
245
- })
239
+ quickInsert: intl => {
240
+ var _api$analytics7, _api$analytics8;
241
+ const exclude = options && options.allowBlockType && options.allowBlockType.exclude ? options.allowBlockType.exclude : [];
242
+ return [...blockquotePluginOptions(intl, exclude.indexOf('blockquote') === -1, api === null || api === void 0 ? void 0 : (_api$analytics7 = api.analytics) === null || _api$analytics7 === void 0 ? void 0 : _api$analytics7.actions), ...headingPluginOptions(intl, exclude.indexOf('heading') === -1, api === null || api === void 0 ? void 0 : (_api$analytics8 = api.analytics) === null || _api$analytics8 === void 0 ? void 0 : _api$analytics8.actions)];
243
+ }
246
244
  }
247
245
  };
248
246
  };
@@ -240,7 +240,7 @@ var blockTypePlugin = function blockTypePlugin(_ref3) {
240
240
  return undefined;
241
241
  }
242
242
  }
243
- }), editorExperiment('platform_editor_insertion', 'control') && {
243
+ }), {}, {
244
244
  quickInsert: function quickInsert(intl) {
245
245
  var _api$analytics7, _api$analytics8;
246
246
  var exclude = options && options.allowBlockType && options.allowBlockType.exclude ? options.allowBlockType.exclude : [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "10.2.6",
3
+ "version": "10.2.7",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -49,15 +49,15 @@
49
49
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
50
50
  "@atlaskit/primitives": "^16.1.0",
51
51
  "@atlaskit/prosemirror-history": "^0.2.0",
52
- "@atlaskit/prosemirror-input-rules": "^3.5.0",
52
+ "@atlaskit/prosemirror-input-rules": "^3.6.0",
53
53
  "@atlaskit/theme": "^21.0.0",
54
- "@atlaskit/tmp-editor-statsig": "^13.22.0",
55
- "@atlaskit/tokens": "^7.0.0",
54
+ "@atlaskit/tmp-editor-statsig": "^13.32.0",
55
+ "@atlaskit/tokens": "^8.0.0",
56
56
  "@babel/runtime": "^7.0.0",
57
57
  "@emotion/react": "^11.7.1"
58
58
  },
59
59
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^110.19.0",
60
+ "@atlaskit/editor-common": "^110.24.0",
61
61
  "react": "^18.2.0",
62
62
  "react-dom": "^18.2.0",
63
63
  "react-intl-next": "npm:react-intl@^5.18.1"