@atlaskit/editor-plugin-toolbar 7.0.14 → 7.0.16
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 +13 -0
- package/afm-cc/tsconfig.json +0 -1
- package/afm-products/tsconfig.json +0 -1
- package/dist/cjs/ui/SelectionToolbar/index.js +1 -2
- package/dist/es2019/ui/SelectionToolbar/index.js +1 -2
- package/dist/esm/ui/SelectionToolbar/index.js +1 -2
- package/package.json +3 -6
- package/afm-jira/tsconfig.json +0 -64
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-toolbar
|
|
2
2
|
|
|
3
|
+
## 7.0.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0a5c224eafc8f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0a5c224eafc8f) -
|
|
8
|
+
Clean up platform_editor_sel_toolbar_stacking_fix feature gate.
|
|
9
|
+
|
|
10
|
+
## 7.0.15
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 7.0.14
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -20,7 +20,6 @@ var _state = require("@atlaskit/editor-prosemirror/state");
|
|
|
20
20
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
21
21
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
22
22
|
var _editorToolbarModel = require("@atlaskit/editor-toolbar-model");
|
|
23
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
24
23
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
25
24
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
26
25
|
var _consts = require("../consts");
|
|
@@ -107,7 +106,7 @@ var SelectionToolbar = exports.SelectionToolbar = function SelectionToolbar(_ref
|
|
|
107
106
|
target: (0, _utils2.getDomRefFromSelection)(editorView),
|
|
108
107
|
onPositionCalculated: onPositionCalculated,
|
|
109
108
|
mountTo: mountPoint,
|
|
110
|
-
zIndex:
|
|
109
|
+
zIndex: _editorSharedStyles.akEditorFloatingDialogZIndex
|
|
111
110
|
}, /*#__PURE__*/_react.default.createElement(_toolbar.EditorToolbarProvider, {
|
|
112
111
|
editorView: editorView,
|
|
113
112
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
|
@@ -13,7 +13,6 @@ import { AllSelection, TextSelection } from '@atlaskit/editor-prosemirror/state'
|
|
|
13
13
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
|
|
14
14
|
import { ToolbarSection, ToolbarButtonGroup, ToolbarDropdownItemSection, useToolbarUI } from '@atlaskit/editor-toolbar';
|
|
15
15
|
import { ToolbarModelRenderer } from '@atlaskit/editor-toolbar-model';
|
|
16
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
16
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
17
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
19
18
|
import { SELECTION_TOOLBAR_LABEL } from '../consts';
|
|
@@ -100,7 +99,7 @@ export const SelectionToolbar = ({
|
|
|
100
99
|
target: getDomRefFromSelection(editorView),
|
|
101
100
|
onPositionCalculated: onPositionCalculated,
|
|
102
101
|
mountTo: mountPoint,
|
|
103
|
-
zIndex:
|
|
102
|
+
zIndex: akEditorFloatingDialogZIndex
|
|
104
103
|
}, /*#__PURE__*/React.createElement(EditorToolbarProvider, {
|
|
105
104
|
editorView: editorView,
|
|
106
105
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
|
@@ -13,7 +13,6 @@ import { AllSelection, TextSelection } from '@atlaskit/editor-prosemirror/state'
|
|
|
13
13
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
|
|
14
14
|
import { ToolbarSection, ToolbarButtonGroup, ToolbarDropdownItemSection, useToolbarUI } from '@atlaskit/editor-toolbar';
|
|
15
15
|
import { ToolbarModelRenderer } from '@atlaskit/editor-toolbar-model';
|
|
16
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
16
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
17
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
19
18
|
import { SELECTION_TOOLBAR_LABEL } from '../consts';
|
|
@@ -99,7 +98,7 @@ export var SelectionToolbar = function SelectionToolbar(_ref) {
|
|
|
99
98
|
target: getDomRefFromSelection(editorView),
|
|
100
99
|
onPositionCalculated: onPositionCalculated,
|
|
101
100
|
mountTo: mountPoint,
|
|
102
|
-
zIndex:
|
|
101
|
+
zIndex: akEditorFloatingDialogZIndex
|
|
103
102
|
}, /*#__PURE__*/React.createElement(EditorToolbarProvider, {
|
|
104
103
|
editorView: editorView,
|
|
105
104
|
editorToolbarDockingPreference: editorToolbarDockingPreference,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.16",
|
|
4
4
|
"description": "Toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@atlaskit/editor-toolbar": "^1.0.0",
|
|
41
41
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
43
|
+
"@atlaskit/tmp-editor-statsig": "^77.1.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.
|
|
48
|
+
"@atlaskit/editor-common": "^114.21.0",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
51
51
|
},
|
|
@@ -58,9 +58,6 @@
|
|
|
58
58
|
},
|
|
59
59
|
"platform_editor_toolbar_open_experience_fix": {
|
|
60
60
|
"type": "boolean"
|
|
61
|
-
},
|
|
62
|
-
"platform_editor_sel_toolbar_stacking_fix": {
|
|
63
|
-
"type": "boolean"
|
|
64
61
|
}
|
|
65
62
|
},
|
|
66
63
|
"techstack": {
|
package/afm-jira/tsconfig.json
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.local-consumption.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "es5",
|
|
5
|
-
"outDir": "../../../../../jira/tsDist/@atlaskit__editor-plugin-toolbar/app",
|
|
6
|
-
"rootDir": "../",
|
|
7
|
-
"composite": true,
|
|
8
|
-
"noCheck": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/**/examples.*"
|
|
19
|
-
],
|
|
20
|
-
"references": [
|
|
21
|
-
{
|
|
22
|
-
"path": "../../../helpers/browser-apis/afm-jira/tsconfig.json"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"path": "../../editor-plugin-analytics/afm-jira/tsconfig.json"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"path": "../../editor-plugin-connectivity/afm-jira/tsconfig.json"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"path": "../../editor-plugin-editor-viewmode/afm-jira/tsconfig.json"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"path": "../../editor-plugin-selection/afm-jira/tsconfig.json"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"path": "../../editor-plugin-user-intent/afm-jira/tsconfig.json"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"path": "../../editor-plugin-user-preferences/afm-jira/tsconfig.json"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"path": "../../editor-prosemirror/afm-jira/tsconfig.json"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"path": "../../editor-shared-styles/afm-jira/tsconfig.json"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"path": "../../editor-toolbar/afm-jira/tsconfig.json"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"path": "../../editor-toolbar-model/afm-jira/tsconfig.json"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"path": "../../tmp-editor-statsig/afm-jira/tsconfig.json"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"path": "../../editor-common/afm-jira/tsconfig.json"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|