@atlaskit/editor-plugin-quick-insert 10.2.11 → 10.4.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,27 @@
1
1
  # @atlaskit/editor-plugin-quick-insert
2
2
 
3
+ ## 10.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`a94a013546f69`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a94a013546f69) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 10.3.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [`2f70251ed8022`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f70251ed8022) -
19
+ Clean up experiment platform_editor_experience_tracking
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 10.2.11
4
26
 
5
27
  ### Patch Changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "quickInsertPlugin", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _quickInsertPlugin.quickInsertPlugin;
10
+ }
11
+ });
12
+ var _quickInsertPlugin = require("../quickInsertPlugin");
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.quickInsertPlugin = void 0;
8
8
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
9
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
10
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
10
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
12
  var _react = _interopRequireDefault(require("react"));
13
13
  var _reactIntl = require("react-intl");
14
14
  var _coreUtils = require("@atlaskit/editor-common/core-utils");
@@ -100,7 +100,7 @@ var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_
100
100
  dispatch = _ref5.dispatch;
101
101
  return quickInsertPluginFactory(defaultItems, providerFactory, getIntl, dispatch, options === null || options === void 0 ? void 0 : options.emptyStateHandler);
102
102
  }
103
- }].concat((0, _toConsumableArray2.default)((0, _expValEquals.expValEquals)('platform_editor_experience_tracking', 'isEnabled', true) ? [{
103
+ }, {
104
104
  name: 'quickInsertOpenExperience',
105
105
  plugin: function plugin() {
106
106
  return (0, _quickInsertOpenExperience.getQuickInsertOpenExperiencePlugin)({
@@ -111,7 +111,7 @@ var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_
111
111
  }
112
112
  });
113
113
  }
114
- }] : []));
114
+ }];
115
115
  },
116
116
  pluginsOptions: {
117
117
  typeAhead: typeAhead
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { quickInsertPlugin } from '../quickInsertPlugin';
@@ -90,7 +90,7 @@ export const quickInsertPlugin = ({
90
90
  getIntl,
91
91
  dispatch
92
92
  }) => quickInsertPluginFactory(defaultItems, providerFactory, getIntl, dispatch, options === null || options === void 0 ? void 0 : options.emptyStateHandler)
93
- }, ...(expValEquals('platform_editor_experience_tracking', 'isEnabled', true) ? [{
93
+ }, {
94
94
  name: 'quickInsertOpenExperience',
95
95
  plugin: () => getQuickInsertOpenExperiencePlugin({
96
96
  refs,
@@ -99,7 +99,7 @@ export const quickInsertPlugin = ({
99
99
  return api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : (_api$analytics$action = _api$analytics.actions) === null || _api$analytics$action === void 0 ? void 0 : _api$analytics$action.fireAnalyticsEvent(payload);
100
100
  }
101
101
  })
102
- }] : [])];
102
+ }];
103
103
  },
104
104
  pluginsOptions: {
105
105
  typeAhead
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { quickInsertPlugin } from '../quickInsertPlugin';
@@ -1,6 +1,6 @@
1
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _regeneratorRuntime from "@babel/runtime/regenerator";
5
5
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -93,7 +93,7 @@ export var quickInsertPlugin = function quickInsertPlugin(_ref) {
93
93
  dispatch = _ref5.dispatch;
94
94
  return quickInsertPluginFactory(defaultItems, providerFactory, getIntl, dispatch, options === null || options === void 0 ? void 0 : options.emptyStateHandler);
95
95
  }
96
- }].concat(_toConsumableArray(expValEquals('platform_editor_experience_tracking', 'isEnabled', true) ? [{
96
+ }, {
97
97
  name: 'quickInsertOpenExperience',
98
98
  plugin: function plugin() {
99
99
  return getQuickInsertOpenExperiencePlugin({
@@ -104,7 +104,7 @@ export var quickInsertPlugin = function quickInsertPlugin(_ref) {
104
104
  }
105
105
  });
106
106
  }
107
- }] : []));
107
+ }];
108
108
  },
109
109
  pluginsOptions: {
110
110
  typeAhead: typeAhead
@@ -0,0 +1 @@
1
+ export type { QuickInsertPlugin, QuickInsertSharedState, QuickInsertPluginOptions, } from '../quickInsertPluginType';
@@ -0,0 +1 @@
1
+ export { quickInsertPlugin } from '../quickInsertPlugin';
@@ -0,0 +1 @@
1
+ export type { QuickInsertPlugin, QuickInsertSharedState, QuickInsertPluginOptions, } from '../quickInsertPluginType';
@@ -0,0 +1 @@
1
+ export { quickInsertPlugin } from '../quickInsertPlugin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-quick-insert",
3
- "version": "10.2.11",
3
+ "version": "10.4.0",
4
4
  "description": "Quick insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,19 +32,19 @@
32
32
  "@atlaskit/button": "^23.11.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^10.0.0",
34
34
  "@atlaskit/editor-plugin-connectivity": "^10.0.0",
35
- "@atlaskit/editor-plugin-metrics": "^11.0.0",
35
+ "@atlaskit/editor-plugin-metrics": "^11.1.0",
36
36
  "@atlaskit/editor-plugin-type-ahead": "^10.0.0",
37
37
  "@atlaskit/editor-prosemirror": "^7.3.0",
38
38
  "@atlaskit/icon": "^34.5.0",
39
39
  "@atlaskit/modal-dialog": "^15.0.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/tmp-editor-statsig": "^79.0.0",
41
+ "@atlaskit/tmp-editor-statsig": "^80.0.0",
42
42
  "@atlaskit/tokens": "^13.0.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@atlaskit/editor-common": "^114.29.0",
47
+ "@atlaskit/editor-common": "^114.30.0",
48
48
  "react": "^18.2.0",
49
49
  "react-dom": "^18.2.0",
50
50
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-quick-insert/quick-insert-plugin",
3
+ "main": "../dist/cjs/entry-points/quick-insert-plugin.js",
4
+ "module": "../dist/esm/entry-points/quick-insert-plugin.js",
5
+ "module:es2019": "../dist/es2019/entry-points/quick-insert-plugin.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/quick-insert-plugin.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/quick-insert-plugin.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-quick-insert/quick-insert-plugin-type",
3
+ "main": "../dist/cjs/entry-points/quick-insert-plugin-type.js",
4
+ "module": "../dist/esm/entry-points/quick-insert-plugin-type.js",
5
+ "module:es2019": "../dist/es2019/entry-points/quick-insert-plugin-type.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/quick-insert-plugin-type.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/quick-insert-plugin-type.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }