@atlaskit/editor-plugin-selection-toolbar 1.1.6 → 1.1.8
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/.eslintrc.js +4 -4
- package/CHANGELOG.md +69 -57
- package/LICENSE.md +6 -8
- package/package.json +3 -5
- package/report.api.md +9 -8
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,149 +1,161 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 1.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.1.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.1.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
-
|
|
19
|
+
- Updated dependencies
|
|
8
20
|
|
|
9
21
|
## 1.1.5
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
25
|
+
- [#99563](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99563)
|
|
26
|
+
[`3d4ddbef36b8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3d4ddbef36b8) -
|
|
27
|
+
[ux] [EDF-629] Revert floating toolbar click handler changes
|
|
16
28
|
|
|
17
29
|
## 1.1.4
|
|
18
30
|
|
|
19
31
|
### Patch Changes
|
|
20
32
|
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
33
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
34
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
35
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
36
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
37
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
26
38
|
|
|
27
39
|
## 1.1.3
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
31
|
-
-
|
|
43
|
+
- Updated dependencies
|
|
32
44
|
|
|
33
45
|
## 1.1.2
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
49
|
+
- [#96198](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96198)
|
|
50
|
+
[`b69d14268915`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b69d14268915) -
|
|
51
|
+
[ux] EDF-629 fixed floating toolbar elements stealing selection from editor
|
|
40
52
|
|
|
41
53
|
## 1.1.1
|
|
42
54
|
|
|
43
55
|
### Patch Changes
|
|
44
56
|
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
57
|
+
- [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316)
|
|
58
|
+
[`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) -
|
|
59
|
+
Upgrading internal dependency `bind-event-listener` to `@^3.0.0`
|
|
48
60
|
|
|
49
61
|
## 1.1.0
|
|
50
62
|
|
|
51
63
|
### Minor Changes
|
|
52
64
|
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
65
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
66
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
67
|
+
bumped editor-prosemirror version to 4.0.0
|
|
56
68
|
|
|
57
69
|
### Patch Changes
|
|
58
70
|
|
|
59
|
-
-
|
|
71
|
+
- Updated dependencies
|
|
60
72
|
|
|
61
73
|
## 1.0.2
|
|
62
74
|
|
|
63
75
|
### Patch Changes
|
|
64
76
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
77
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
78
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
79
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
68
80
|
|
|
69
81
|
## 1.0.1
|
|
70
82
|
|
|
71
83
|
### Patch Changes
|
|
72
84
|
|
|
73
|
-
-
|
|
85
|
+
- Updated dependencies
|
|
74
86
|
|
|
75
87
|
## 1.0.0
|
|
76
88
|
|
|
77
89
|
### Major Changes
|
|
78
90
|
|
|
79
|
-
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
91
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
92
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
93
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
94
|
+
is to address an issue with Jira plugin consumption.
|
|
83
95
|
|
|
84
96
|
### Patch Changes
|
|
85
97
|
|
|
86
|
-
-
|
|
98
|
+
- Updated dependencies
|
|
87
99
|
|
|
88
100
|
## 0.2.1
|
|
89
101
|
|
|
90
102
|
### Patch Changes
|
|
91
103
|
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
|
|
104
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
105
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
106
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
95
107
|
|
|
96
108
|
## 0.2.0
|
|
97
109
|
|
|
98
110
|
### Minor Changes
|
|
99
111
|
|
|
100
|
-
-
|
|
101
|
-
|
|
102
|
-
|
|
112
|
+
- [#68277](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68277)
|
|
113
|
+
[`fe0abf4abc01`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fe0abf4abc01) -
|
|
114
|
+
Enable the selection toolbar to work with live pages view mode
|
|
103
115
|
|
|
104
116
|
## 0.1.5
|
|
105
117
|
|
|
106
118
|
### Patch Changes
|
|
107
119
|
|
|
108
|
-
-
|
|
120
|
+
- Updated dependencies
|
|
109
121
|
|
|
110
122
|
## 0.1.4
|
|
111
123
|
|
|
112
124
|
### Patch Changes
|
|
113
125
|
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
|
|
126
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
|
|
127
|
+
[`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
|
|
128
|
+
Ensure all editor plugins are marked as singletons
|
|
117
129
|
|
|
118
130
|
## 0.1.3
|
|
119
131
|
|
|
120
132
|
### Patch Changes
|
|
121
133
|
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
134
|
+
- [#43081](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43081)
|
|
135
|
+
[`efe83787c45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efe83787c45) - [ux]
|
|
136
|
+
ED-20762 Remove blur dom event handler to prevent the toolbar disappearing when using the keyboard
|
|
137
|
+
to access it.
|
|
126
138
|
|
|
127
139
|
## 0.1.2
|
|
128
140
|
|
|
129
141
|
### Patch Changes
|
|
130
142
|
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
143
|
+
- [#42935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42935)
|
|
144
|
+
[`d9e2cafc03e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9e2cafc03e) - [ux]
|
|
145
|
+
ED-20664 Fix position of floating toolbar on non full-page editors when using
|
|
146
|
+
editor-plugin-selection-toolbar
|
|
147
|
+
- [#42935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42935)
|
|
148
|
+
[`31e453b325e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31e453b325e) - [ux]
|
|
149
|
+
ED-20807 Prevents the selection toolbar from extending outside of the Editor.
|
|
150
|
+
- [#42935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42935)
|
|
151
|
+
[`bc3880e7c3c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc3880e7c3c) - [ux]
|
|
152
|
+
ED-20806 Prevents the selection toolbar from overriding the table floating toolbar by preventing
|
|
153
|
+
rendering on anything that's not a text selection.
|
|
142
154
|
|
|
143
155
|
## 0.1.1
|
|
144
156
|
|
|
145
157
|
### Patch Changes
|
|
146
158
|
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
|
|
159
|
+
- [#42201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42201)
|
|
160
|
+
[`36241a43553`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36241a43553) - ED-20653
|
|
161
|
+
Removes the selection toolbar when the view loses focus.
|
package/LICENSE.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Copyright 2023 Atlassian Pty Ltd
|
|
2
2
|
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-toolbar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"@af/visual-regression": "*",
|
|
47
47
|
"@atlaskit/ssr": "*",
|
|
48
48
|
"@atlaskit/visual-regression": "*",
|
|
49
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
50
49
|
"@testing-library/react": "^12.1.5",
|
|
51
50
|
"react-dom": "^16.8.0",
|
|
52
51
|
"typescript": "~5.4.2",
|
|
@@ -81,6 +80,5 @@
|
|
|
81
80
|
"emotion"
|
|
82
81
|
]
|
|
83
82
|
}
|
|
84
|
-
}
|
|
85
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
83
|
+
}
|
|
86
84
|
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-selection-toolbar"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -22,12 +23,12 @@ export type SelectionToolbarPlugin = typeof selectionToolbarPlugin;
|
|
|
22
23
|
|
|
23
24
|
// @public (undocumented)
|
|
24
25
|
export const selectionToolbarPlugin: NextEditorPlugin<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
'selectionToolbar',
|
|
27
|
+
{
|
|
28
|
+
pluginConfiguration: {
|
|
29
|
+
preferenceToolbarAboveSelection?: boolean;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
31
32
|
>;
|
|
32
33
|
|
|
33
34
|
// (No @packageDocumentation comment for this package)
|
|
@@ -41,7 +42,7 @@ export const selectionToolbarPlugin: NextEditorPlugin<
|
|
|
41
42
|
|
|
42
43
|
```json
|
|
43
44
|
{
|
|
44
|
-
|
|
45
|
+
"react": "^16.8.0"
|
|
45
46
|
}
|
|
46
47
|
```
|
|
47
48
|
|