@atlaskit/editor-plugin-toolbar 7.1.2 → 7.3.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-toolbar
2
2
 
3
+ ## 7.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`41168b2bd2790`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/41168b2bd2790) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 7.2.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
  ## 7.1.2
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, "toolbarPlugin", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _toolbarPlugin.toolbarPlugin;
10
+ }
11
+ });
12
+ var _toolbarPlugin = require("../toolbarPlugin");
@@ -0,0 +1 @@
1
+ "use strict";
@@ -15,7 +15,6 @@ var _state = require("@atlaskit/editor-prosemirror/state");
15
15
  var _utils = require("@atlaskit/editor-prosemirror/utils");
16
16
  var _editorToolbarModel = require("@atlaskit/editor-toolbar-model");
17
17
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
19
18
  var _selectionToolbarOpenExperience = require("./pm-plugins/experiences/selection-toolbar-open-experience");
20
19
  var _pluginKey = require("./pm-plugins/plugin-key");
21
20
  var _consts = require("./ui/consts");
@@ -236,7 +235,7 @@ var toolbarPlugin = exports.toolbarPlugin = function toolbarPlugin(_ref) {
236
235
  }
237
236
  });
238
237
  }
239
- }].concat((0, _toConsumableArray2.default)(!disableSelectionToolbar && (0, _expValEquals.expValEquals)('platform_editor_experience_tracking', 'isEnabled', true) ? [{
238
+ }].concat((0, _toConsumableArray2.default)(!disableSelectionToolbar ? [{
240
239
  name: 'selectionToolbarOpenExperience',
241
240
  plugin: function plugin() {
242
241
  return (0, _selectionToolbarOpenExperience.getSelectionToolbarOpenExperiencePlugin)({
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { toolbarPlugin } from '../toolbarPlugin';
File without changes
@@ -5,7 +5,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
5
5
  import { findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
6
6
  import { createComponentRegistry } from '@atlaskit/editor-toolbar-model';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
8
  import { getSelectionToolbarOpenExperiencePlugin } from './pm-plugins/experiences/selection-toolbar-open-experience';
10
9
  import { editorToolbarPluginKey } from './pm-plugins/plugin-key';
11
10
  import { DEFAULT_POPUP_SELECTORS } from './ui/consts';
@@ -228,7 +227,7 @@ export const toolbarPlugin = ({
228
227
  }
229
228
  });
230
229
  }
231
- }, ...(!disableSelectionToolbar && expValEquals('platform_editor_experience_tracking', 'isEnabled', true) ? [{
230
+ }, ...(!disableSelectionToolbar ? [{
232
231
  name: 'selectionToolbarOpenExperience',
233
232
  plugin: () => getSelectionToolbarOpenExperiencePlugin({
234
233
  refs,
File without changes
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { toolbarPlugin } from '../toolbarPlugin';
File without changes
@@ -11,7 +11,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
11
11
  import { findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
12
12
  import { createComponentRegistry } from '@atlaskit/editor-toolbar-model';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
14
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
15
14
  import { getSelectionToolbarOpenExperiencePlugin } from './pm-plugins/experiences/selection-toolbar-open-experience';
16
15
  import { editorToolbarPluginKey } from './pm-plugins/plugin-key';
17
16
  import { DEFAULT_POPUP_SELECTORS } from './ui/consts';
@@ -229,7 +228,7 @@ export var toolbarPlugin = function toolbarPlugin(_ref) {
229
228
  }
230
229
  });
231
230
  }
232
- }].concat(_toConsumableArray(!disableSelectionToolbar && expValEquals('platform_editor_experience_tracking', 'isEnabled', true) ? [{
231
+ }].concat(_toConsumableArray(!disableSelectionToolbar ? [{
233
232
  name: 'selectionToolbarOpenExperience',
234
233
  plugin: function plugin() {
235
234
  return getSelectionToolbarOpenExperiencePlugin({
@@ -0,0 +1 @@
1
+ export type { ToolbarPlugin, EditorToolbarPluginState } from '../toolbarPluginType';
@@ -0,0 +1 @@
1
+ export { toolbarPlugin } from '../toolbarPlugin';
@@ -0,0 +1 @@
1
+ export type { ToolbarPluginOptions, RegisterComponentsAction } from '../types/index';
@@ -0,0 +1 @@
1
+ export type { ToolbarPlugin, EditorToolbarPluginState } from '../toolbarPluginType';
@@ -0,0 +1 @@
1
+ export { toolbarPlugin } from '../toolbarPlugin';
@@ -0,0 +1 @@
1
+ export type { ToolbarPluginOptions, RegisterComponentsAction } from '../types/index';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-toolbar",
3
- "version": "7.1.2",
3
+ "version": "7.3.0",
4
4
  "description": "Toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,21 +31,21 @@
31
31
  "@atlaskit/browser-apis": "^0.0.1",
32
32
  "@atlaskit/editor-plugin-analytics": "^10.0.0",
33
33
  "@atlaskit/editor-plugin-connectivity": "^10.0.0",
34
- "@atlaskit/editor-plugin-editor-viewmode": "^12.0.0",
35
- "@atlaskit/editor-plugin-selection": "^10.0.0",
36
- "@atlaskit/editor-plugin-user-intent": "^8.1.0",
37
- "@atlaskit/editor-plugin-user-preferences": "^8.1.0",
34
+ "@atlaskit/editor-plugin-editor-viewmode": "^12.1.0",
35
+ "@atlaskit/editor-plugin-selection": "^10.1.0",
36
+ "@atlaskit/editor-plugin-user-intent": "^8.2.0",
37
+ "@atlaskit/editor-plugin-user-preferences": "^8.2.0",
38
38
  "@atlaskit/editor-prosemirror": "^7.3.0",
39
39
  "@atlaskit/editor-shared-styles": "^3.10.0",
40
- "@atlaskit/editor-toolbar": "^1.1.0",
40
+ "@atlaskit/editor-toolbar": "^1.2.0",
41
41
  "@atlaskit/editor-toolbar-model": "^0.4.0",
42
42
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
- "@atlaskit/tmp-editor-statsig": "^79.0.0",
43
+ "@atlaskit/tmp-editor-statsig": "^80.0.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "bind-event-listener": "^3.0.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^114.29.0",
48
+ "@atlaskit/editor-common": "^114.30.0",
49
49
  "react": "^18.2.0",
50
50
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
51
51
  },
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-toolbar/toolbar-plugin",
3
+ "main": "../dist/cjs/entry-points/toolbar-plugin.js",
4
+ "module": "../dist/esm/entry-points/toolbar-plugin.js",
5
+ "module:es2019": "../dist/es2019/entry-points/toolbar-plugin.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/entry-points/toolbar-plugin.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.9": {
10
+ "*": [
11
+ "../dist/types-ts4.5/entry-points/toolbar-plugin.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-toolbar/toolbar-plugin-type",
3
+ "main": "../dist/cjs/entry-points/toolbar-plugin-type.js",
4
+ "module": "../dist/esm/entry-points/toolbar-plugin-type.js",
5
+ "module:es2019": "../dist/es2019/entry-points/toolbar-plugin-type.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/entry-points/toolbar-plugin-type.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.9": {
10
+ "*": [
11
+ "../dist/types-ts4.5/entry-points/toolbar-plugin-type.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-toolbar/types",
3
+ "main": "../dist/cjs/entry-points/types.js",
4
+ "module": "../dist/esm/entry-points/types.js",
5
+ "module:es2019": "../dist/es2019/entry-points/types.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/entry-points/types.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.9": {
10
+ "*": [
11
+ "../dist/types-ts4.5/entry-points/types.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }