@atlaskit/editor-plugin-selection-toolbar 1.1.7 → 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 +64 -58
- 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,155 +1,161 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 1.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 1.1.7
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
13
|
+
- Updated dependencies
|
|
8
14
|
|
|
9
15
|
## 1.1.6
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
-
|
|
19
|
+
- Updated dependencies
|
|
14
20
|
|
|
15
21
|
## 1.1.5
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
|
22
28
|
|
|
23
29
|
## 1.1.4
|
|
24
30
|
|
|
25
31
|
### Patch Changes
|
|
26
32
|
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
|
32
38
|
|
|
33
39
|
## 1.1.3
|
|
34
40
|
|
|
35
41
|
### Patch Changes
|
|
36
42
|
|
|
37
|
-
-
|
|
43
|
+
- Updated dependencies
|
|
38
44
|
|
|
39
45
|
## 1.1.2
|
|
40
46
|
|
|
41
47
|
### Patch Changes
|
|
42
48
|
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
|
46
52
|
|
|
47
53
|
## 1.1.1
|
|
48
54
|
|
|
49
55
|
### Patch Changes
|
|
50
56
|
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
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`
|
|
54
60
|
|
|
55
61
|
## 1.1.0
|
|
56
62
|
|
|
57
63
|
### Minor Changes
|
|
58
64
|
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
|
62
68
|
|
|
63
69
|
### Patch Changes
|
|
64
70
|
|
|
65
|
-
-
|
|
71
|
+
- Updated dependencies
|
|
66
72
|
|
|
67
73
|
## 1.0.2
|
|
68
74
|
|
|
69
75
|
### Patch Changes
|
|
70
76
|
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
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`
|
|
74
80
|
|
|
75
81
|
## 1.0.1
|
|
76
82
|
|
|
77
83
|
### Patch Changes
|
|
78
84
|
|
|
79
|
-
-
|
|
85
|
+
- Updated dependencies
|
|
80
86
|
|
|
81
87
|
## 1.0.0
|
|
82
88
|
|
|
83
89
|
### Major Changes
|
|
84
90
|
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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.
|
|
89
95
|
|
|
90
96
|
### Patch Changes
|
|
91
97
|
|
|
92
|
-
-
|
|
98
|
+
- Updated dependencies
|
|
93
99
|
|
|
94
100
|
## 0.2.1
|
|
95
101
|
|
|
96
102
|
### Patch Changes
|
|
97
103
|
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
|
101
107
|
|
|
102
108
|
## 0.2.0
|
|
103
109
|
|
|
104
110
|
### Minor Changes
|
|
105
111
|
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
|
109
115
|
|
|
110
116
|
## 0.1.5
|
|
111
117
|
|
|
112
118
|
### Patch Changes
|
|
113
119
|
|
|
114
|
-
-
|
|
120
|
+
- Updated dependencies
|
|
115
121
|
|
|
116
122
|
## 0.1.4
|
|
117
123
|
|
|
118
124
|
### Patch Changes
|
|
119
125
|
|
|
120
|
-
-
|
|
121
|
-
|
|
122
|
-
|
|
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
|
|
123
129
|
|
|
124
130
|
## 0.1.3
|
|
125
131
|
|
|
126
132
|
### Patch Changes
|
|
127
133
|
|
|
128
|
-
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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.
|
|
132
138
|
|
|
133
139
|
## 0.1.2
|
|
134
140
|
|
|
135
141
|
### Patch Changes
|
|
136
142
|
|
|
137
|
-
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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.
|
|
148
154
|
|
|
149
155
|
## 0.1.1
|
|
150
156
|
|
|
151
157
|
### Patch Changes
|
|
152
158
|
|
|
153
|
-
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
|