@atlaskit/editor-plugin-selection-toolbar 0.1.2 → 0.1.4

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,17 @@
1
1
  # @atlaskit/editor-plugin-selection-toolbar
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802) [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) - Ensure all editor plugins are marked as singletons
8
+
9
+ ## 0.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#43081](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43081) [`efe83787c45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efe83787c45) - [ux] ED-20762 Remove blur dom event handler to prevent the toolbar disappearing when using the keyboard to access it.
14
+
3
15
  ## 0.1.2
4
16
 
5
17
  ### Patch Changes
@@ -66,12 +66,6 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
66
66
  selectionStable: false
67
67
  }));
68
68
  return false;
69
- },
70
- blur: function blur(view) {
71
- view.dispatch(view.state.tr.setMeta(_pluginKey.selectionToolbarPluginKey, {
72
- selectionStable: false
73
- }));
74
- return false;
75
69
  }
76
70
  }
77
71
  }
@@ -58,12 +58,6 @@ export const selectionToolbarPlugin = options => {
58
58
  selectionStable: false
59
59
  }));
60
60
  return false;
61
- },
62
- blur: view => {
63
- view.dispatch(view.state.tr.setMeta(selectionToolbarPluginKey, {
64
- selectionStable: false
65
- }));
66
- return false;
67
61
  }
68
62
  }
69
63
  }
@@ -59,12 +59,6 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(options) {
59
59
  selectionStable: false
60
60
  }));
61
61
  return false;
62
- },
63
- blur: function blur(view) {
64
- view.dispatch(view.state.tr.setMeta(selectionToolbarPluginKey, {
65
- selectionStable: false
66
- }));
67
- return false;
68
62
  }
69
63
  }
70
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -9,12 +9,10 @@
9
9
  },
10
10
  "atlassian": {
11
11
  "team": "Editor: AI",
12
+ "singleton": true,
12
13
  "inPublicMirror": false,
13
14
  "releaseModel": "continuous",
14
- "website": {
15
- "name": "EditorPluginSelectionToolbar",
16
- "category": "Components"
17
- }
15
+ "runReact18": false
18
16
  },
19
17
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
20
18
  "main": "dist/cjs/index.js",
@@ -35,7 +33,7 @@
35
33
  ".": "./src/index.ts"
36
34
  },
37
35
  "dependencies": {
38
- "@atlaskit/editor-common": "^76.18.0",
36
+ "@atlaskit/editor-common": "^76.35.0",
39
37
  "@atlaskit/editor-prosemirror": "1.1.0",
40
38
  "@babel/runtime": "^7.0.0",
41
39
  "bind-event-listener": "^2.1.1"
@@ -47,7 +45,6 @@
47
45
  "@af/visual-regression": "*",
48
46
  "@atlaskit/ssr": "*",
49
47
  "@atlaskit/visual-regression": "*",
50
- "@atlaskit/webdriver-runner": "*",
51
48
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
52
49
  "@testing-library/react": "^12.1.5",
53
50
  "react-dom": "^16.8.0",
@@ -1,21 +0,0 @@
1
- ## API Report File for "@atlaskit/editor-plugin-selection-toolbar"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
8
-
9
- // @public (undocumented)
10
- export type SelectionToolbarPlugin = typeof selectionToolbarPlugin;
11
-
12
- // @public (undocumented)
13
- export const selectionToolbarPlugin: NextEditorPlugin<'selectionToolbar', {
14
- pluginConfiguration: {
15
- preferenceToolbarAboveSelection?: boolean;
16
- };
17
- }>;
18
-
19
- // (No @packageDocumentation comment for this package)
20
-
21
- ```