@atlaskit/editor-plugin-floating-toolbar 31.0.5 → 32.0.1
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,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 32.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 32.0.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`69a94a43a77b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/69a94a43a77b2) -
|
|
14
|
+
Add a `focusOutsideEditor` user intent that consumers can use to suppress editor toolbars and
|
|
15
|
+
selection markers while focus is on a related surface outside ProseMirror.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 31.0.5
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -43,7 +43,7 @@ var SUPPRESS_TOOLBAR_USER_INTENTS = ['dragging', 'tableContextualMenuPopupOpen',
|
|
|
43
43
|
'reviewing', 'resizing', 'blockMenuOpen', 'statusPickerOpen',
|
|
44
44
|
// Suppress when a modal/overlay is open over the editor (e.g. the Jira remix ephemeral preview),
|
|
45
45
|
// so the floating toolbar does not bleed through on top of the overlay.
|
|
46
|
-
'overlayOpen'];
|
|
46
|
+
'overlayOpen', 'focusOutsideEditor'];
|
|
47
47
|
|
|
48
48
|
// TODO: AFP-2532 - Fix automatic suppressions below
|
|
49
49
|
var getRelevantConfig = exports.getRelevantConfig = function getRelevantConfig(selection, configs) {
|
|
@@ -27,7 +27,7 @@ const SUPPRESS_TOOLBAR_USER_INTENTS = ['dragging', 'tableContextualMenuPopupOpen
|
|
|
27
27
|
'reviewing', 'resizing', 'blockMenuOpen', 'statusPickerOpen',
|
|
28
28
|
// Suppress when a modal/overlay is open over the editor (e.g. the Jira remix ephemeral preview),
|
|
29
29
|
// so the floating toolbar does not bleed through on top of the overlay.
|
|
30
|
-
'overlayOpen'];
|
|
30
|
+
'overlayOpen', 'focusOutsideEditor'];
|
|
31
31
|
|
|
32
32
|
// TODO: AFP-2532 - Fix automatic suppressions below
|
|
33
33
|
export const getRelevantConfig = (selection, configs) => {
|
|
@@ -31,7 +31,7 @@ var SUPPRESS_TOOLBAR_USER_INTENTS = ['dragging', 'tableContextualMenuPopupOpen',
|
|
|
31
31
|
'reviewing', 'resizing', 'blockMenuOpen', 'statusPickerOpen',
|
|
32
32
|
// Suppress when a modal/overlay is open over the editor (e.g. the Jira remix ephemeral preview),
|
|
33
33
|
// so the floating toolbar does not bleed through on top of the overlay.
|
|
34
|
-
'overlayOpen'];
|
|
34
|
+
'overlayOpen', 'focusOutsideEditor'];
|
|
35
35
|
|
|
36
36
|
// TODO: AFP-2532 - Fix automatic suppressions below
|
|
37
37
|
export var getRelevantConfig = function getRelevantConfig(selection, configs) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "32.0.1",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"@atlaskit/button": "^25.6.0",
|
|
26
26
|
"@atlaskit/checkbox": "^19.3.0",
|
|
27
27
|
"@atlaskit/editor-palette": "^3.5.0",
|
|
28
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
29
|
-
"@atlaskit/editor-plugin-context-panel": "^
|
|
30
|
-
"@atlaskit/editor-plugin-copy-button": "^
|
|
31
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
32
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
33
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
34
|
-
"@atlaskit/editor-plugin-emoji": "^
|
|
35
|
-
"@atlaskit/editor-plugin-extension": "^
|
|
36
|
-
"@atlaskit/editor-plugin-interaction": "^
|
|
37
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
28
|
+
"@atlaskit/editor-plugin-analytics": "^30.0.0",
|
|
29
|
+
"@atlaskit/editor-plugin-context-panel": "^32.0.0",
|
|
30
|
+
"@atlaskit/editor-plugin-copy-button": "^30.0.0",
|
|
31
|
+
"@atlaskit/editor-plugin-decorations": "^30.0.0",
|
|
32
|
+
"@atlaskit/editor-plugin-editor-disabled": "^30.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^32.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-emoji": "^31.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-extension": "^33.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-interaction": "^44.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-user-intent": "^28.0.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
39
39
|
"@atlaskit/emoji": "^73.1.0",
|
|
40
40
|
"@atlaskit/icon": "^38.0.0",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
45
45
|
"@atlaskit/primitives": "^22.6.0",
|
|
46
46
|
"@atlaskit/select": "^23.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
-
"@atlaskit/tokens": "^20.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^247.0.0",
|
|
48
|
+
"@atlaskit/tokens": "^20.8.0",
|
|
49
49
|
"@atlaskit/tooltip": "^24.4.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"react-loosely-lazy": "^1.0.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^
|
|
59
|
+
"@atlaskit/editor-common": "^134.0.0",
|
|
60
60
|
"react": "^18.2.0 || ^19.2.0",
|
|
61
61
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
62
62
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|