@atlaskit/editor-plugin-paste-options-toolbar 1.1.5 → 1.1.6
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 +64 -58
- package/LICENSE.md +6 -8
- package/dist/cjs/ui/styles.js +1 -1
- package/dist/es2019/ui/styles.js +4 -5
- package/dist/esm/ui/styles.js +1 -1
- package/package.json +4 -6
- package/report.api.md +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,180 +1,186 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-paste-options-toolbar
|
|
2
2
|
|
|
3
|
+
## 1.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 1.1.5
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
13
|
+
- Updated dependencies
|
|
8
14
|
|
|
9
15
|
## 1.1.4
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
-
|
|
19
|
+
- Updated dependencies
|
|
14
20
|
|
|
15
21
|
## 1.1.3
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
26
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
27
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
28
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
29
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
24
30
|
|
|
25
31
|
## 1.1.2
|
|
26
32
|
|
|
27
33
|
### Patch Changes
|
|
28
34
|
|
|
29
|
-
-
|
|
35
|
+
- Updated dependencies
|
|
30
36
|
|
|
31
37
|
## 1.1.1
|
|
32
38
|
|
|
33
39
|
### Patch Changes
|
|
34
40
|
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
41
|
+
- [#96138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96138)
|
|
42
|
+
[`6c157cfaf29f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6c157cfaf29f) -
|
|
43
|
+
[ED-19863] Clean-up the paste options toolbar
|
|
38
44
|
|
|
39
45
|
## 1.1.0
|
|
40
46
|
|
|
41
47
|
### Minor Changes
|
|
42
48
|
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
49
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
50
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
51
|
+
bumped editor-prosemirror version to 4.0.0
|
|
46
52
|
|
|
47
53
|
### Patch Changes
|
|
48
54
|
|
|
49
|
-
-
|
|
55
|
+
- Updated dependencies
|
|
50
56
|
|
|
51
57
|
## 1.0.3
|
|
52
58
|
|
|
53
59
|
### Patch Changes
|
|
54
60
|
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
- [#89247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89247)
|
|
62
|
+
[`a65b4a0870d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a65b4a0870d8) -
|
|
63
|
+
The internal composition of this package has changed. There is no expected change in behavior.
|
|
58
64
|
|
|
59
65
|
## 1.0.2
|
|
60
66
|
|
|
61
67
|
### Patch Changes
|
|
62
68
|
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
69
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
70
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
71
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
66
72
|
|
|
67
73
|
## 1.0.1
|
|
68
74
|
|
|
69
75
|
### Patch Changes
|
|
70
76
|
|
|
71
|
-
-
|
|
77
|
+
- Updated dependencies
|
|
72
78
|
|
|
73
79
|
## 1.0.0
|
|
74
80
|
|
|
75
81
|
### Major Changes
|
|
76
82
|
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
83
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
84
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
85
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
86
|
+
is to address an issue with Jira plugin consumption.
|
|
81
87
|
|
|
82
88
|
### Patch Changes
|
|
83
89
|
|
|
84
|
-
-
|
|
90
|
+
- Updated dependencies
|
|
85
91
|
|
|
86
92
|
## 0.3.9
|
|
87
93
|
|
|
88
94
|
### Patch Changes
|
|
89
95
|
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
96
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
97
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
98
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
93
99
|
|
|
94
100
|
## 0.3.8
|
|
95
101
|
|
|
96
102
|
### Patch Changes
|
|
97
103
|
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
-
|
|
104
|
+
- [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
|
|
105
|
+
[`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
|
|
106
|
+
Move all plugin translations to editor-common
|
|
107
|
+
- Updated dependencies
|
|
102
108
|
|
|
103
109
|
## 0.3.7
|
|
104
110
|
|
|
105
111
|
### Patch Changes
|
|
106
112
|
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
113
|
+
- [#69790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69790)
|
|
114
|
+
[`0de5e8a05235`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0de5e8a05235) -
|
|
115
|
+
ED-21955-update: Correcting outdated comments
|
|
110
116
|
|
|
111
117
|
## 0.3.6
|
|
112
118
|
|
|
113
119
|
### Patch Changes
|
|
114
120
|
|
|
115
|
-
-
|
|
121
|
+
- Updated dependencies
|
|
116
122
|
|
|
117
123
|
## 0.3.5
|
|
118
124
|
|
|
119
125
|
### Patch Changes
|
|
120
126
|
|
|
121
|
-
-
|
|
122
|
-
|
|
123
|
-
|
|
127
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
|
|
128
|
+
[`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
|
|
129
|
+
Ensure all editor plugins are marked as singletons
|
|
124
130
|
|
|
125
131
|
## 0.3.4
|
|
126
132
|
|
|
127
133
|
### Patch Changes
|
|
128
134
|
|
|
129
|
-
-
|
|
135
|
+
- Updated dependencies
|
|
130
136
|
|
|
131
137
|
## 0.3.3
|
|
132
138
|
|
|
133
139
|
### Patch Changes
|
|
134
140
|
|
|
135
|
-
-
|
|
141
|
+
- Updated dependencies
|
|
136
142
|
|
|
137
143
|
## 0.3.2
|
|
138
144
|
|
|
139
145
|
### Patch Changes
|
|
140
146
|
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
|
|
147
|
+
- [#43282](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43282)
|
|
148
|
+
[`ea6aae16859`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea6aae16859) - Fixed
|
|
149
|
+
extra paragraph added on pasting codeblock and modified relevant testcases
|
|
144
150
|
|
|
145
151
|
## 0.3.1
|
|
146
152
|
|
|
147
153
|
### Patch Changes
|
|
148
154
|
|
|
149
|
-
-
|
|
155
|
+
- Updated dependencies
|
|
150
156
|
|
|
151
157
|
## 0.3.0
|
|
152
158
|
|
|
153
159
|
### Minor Changes
|
|
154
160
|
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
161
|
+
- [#42718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42718)
|
|
162
|
+
[`954af7ba44b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954af7ba44b) - Changing
|
|
163
|
+
hasLinkMark function to use pasted slice instead of state.doc while searching for link in pasted
|
|
164
|
+
text.
|
|
159
165
|
|
|
160
166
|
## 0.2.3
|
|
161
167
|
|
|
162
168
|
### Patch Changes
|
|
163
169
|
|
|
164
|
-
-
|
|
165
|
-
|
|
166
|
-
|
|
170
|
+
- [#42152](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42152)
|
|
171
|
+
[`0097171c562`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0097171c562) -
|
|
172
|
+
ED-19766-collab: Adding collab support for paste options toolbar for confluence
|
|
167
173
|
|
|
168
174
|
## 0.2.2
|
|
169
175
|
|
|
170
176
|
### Patch Changes
|
|
171
177
|
|
|
172
|
-
-
|
|
178
|
+
- Updated dependencies
|
|
173
179
|
|
|
174
180
|
## 0.2.1
|
|
175
181
|
|
|
176
182
|
### Patch Changes
|
|
177
183
|
|
|
178
|
-
-
|
|
179
|
-
|
|
180
|
-
|
|
184
|
+
- [#42128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42128)
|
|
185
|
+
[`8d06cbeae33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d06cbeae33) -
|
|
186
|
+
ED-20584: Adding logic to show correct positioning for toolbar in confluence
|
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/dist/cjs/ui/styles.js
CHANGED
|
@@ -10,4 +10,4 @@ var _react = require("@emotion/react");
|
|
|
10
10
|
var _constants = require("../pm-plugins/constants");
|
|
11
11
|
var _templateObject;
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
13
|
-
var textHighlightStyle = exports.textHighlightStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n
|
|
13
|
+
var textHighlightStyle = exports.textHighlightStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.", " {\n\t\tbackground-color: ", ";\n\n\t\tborder-bottom: 2px solid ", ";\n\t}\n"])), _constants.TEXT_HIGHLIGHT_CLASS, "var(--ds-background-accent-blue-subtlest, #E9F2FF)", "var(--ds-background-accent-blue-subtler, #cce0ff)");
|
package/dist/es2019/ui/styles.js
CHANGED
|
@@ -3,10 +3,9 @@ import { TEXT_HIGHLIGHT_CLASS } from '../pm-plugins/constants';
|
|
|
3
3
|
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
5
5
|
export const textHighlightStyle = css`
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
.${TEXT_HIGHLIGHT_CLASS} {
|
|
7
|
+
background-color: ${"var(--ds-background-accent-blue-subtlest, #E9F2FF)"};
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
9
|
+
border-bottom: 2px solid ${"var(--ds-background-accent-blue-subtler, #cce0ff)"};
|
|
10
|
+
}
|
|
12
11
|
`;
|
package/dist/esm/ui/styles.js
CHANGED
|
@@ -4,4 +4,4 @@ import { css } from '@emotion/react';
|
|
|
4
4
|
import { TEXT_HIGHLIGHT_CLASS } from '../pm-plugins/constants';
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
7
|
-
export var textHighlightStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
7
|
+
export var textHighlightStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.", " {\n\t\tbackground-color: ", ";\n\n\t\tborder-bottom: 2px solid ", ";\n\t}\n"])), TEXT_HIGHLIGHT_CLASS, "var(--ds-background-accent-blue-subtlest, #E9F2FF)", "var(--ds-background-accent-blue-subtler, #cce0ff)");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-paste-options-toolbar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Paste options toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"./styles": "./src/styles.ts"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
37
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
38
38
|
"@atlaskit/editor-markdown-transformer": "^5.6.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
40
40
|
"@atlaskit/editor-plugin-paste": "^1.2.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
42
|
-
"@atlaskit/editor-shared-styles": "^2.
|
|
42
|
+
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
43
43
|
"@atlaskit/icon": "^22.3.0",
|
|
44
44
|
"@atlaskit/tokens": "^1.49.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
"@af/visual-regression": "*",
|
|
54
54
|
"@atlaskit/ssr": "*",
|
|
55
55
|
"@atlaskit/visual-regression": "*",
|
|
56
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
57
56
|
"@testing-library/react": "^12.1.5",
|
|
58
57
|
"react-dom": "^16.8.0",
|
|
59
58
|
"typescript": "~5.4.2",
|
|
@@ -99,6 +98,5 @@
|
|
|
99
98
|
"stricter": [
|
|
100
99
|
"@atlassian/tangerine/project-structure"
|
|
101
100
|
]
|
|
102
|
-
}
|
|
103
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
101
|
+
}
|
|
104
102
|
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-paste-options-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,10 +23,10 @@ import type { PastePlugin } from '@atlaskit/editor-plugin-paste';
|
|
|
22
23
|
|
|
23
24
|
// @public (undocumented)
|
|
24
25
|
export const pasteOptionsToolbarPlugin: NextEditorPlugin<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
'pasteOptionsToolbarPlugin',
|
|
27
|
+
{
|
|
28
|
+
dependencies: [OptionalPlugin<AnalyticsPlugin>, PastePlugin];
|
|
29
|
+
}
|
|
29
30
|
>;
|
|
30
31
|
|
|
31
32
|
// (No @packageDocumentation comment for this package)
|
|
@@ -39,7 +40,7 @@ export const pasteOptionsToolbarPlugin: NextEditorPlugin<
|
|
|
39
40
|
|
|
40
41
|
```json
|
|
41
42
|
{
|
|
42
|
-
|
|
43
|
+
"react": "^16.8.0"
|
|
43
44
|
}
|
|
44
45
|
```
|
|
45
46
|
|