@atlaskit/editor-plugin-paste-options-toolbar 1.1.4 → 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 +69 -57
- 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 +9 -11
- package/report.api.md +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,174 +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
|
+
|
|
9
|
+
## 1.1.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.1.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
-
|
|
19
|
+
- Updated dependencies
|
|
8
20
|
|
|
9
21
|
## 1.1.3
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|
18
30
|
|
|
19
31
|
## 1.1.2
|
|
20
32
|
|
|
21
33
|
### Patch Changes
|
|
22
34
|
|
|
23
|
-
-
|
|
35
|
+
- Updated dependencies
|
|
24
36
|
|
|
25
37
|
## 1.1.1
|
|
26
38
|
|
|
27
39
|
### Patch Changes
|
|
28
40
|
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
|
32
44
|
|
|
33
45
|
## 1.1.0
|
|
34
46
|
|
|
35
47
|
### Minor Changes
|
|
36
48
|
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
|
40
52
|
|
|
41
53
|
### Patch Changes
|
|
42
54
|
|
|
43
|
-
-
|
|
55
|
+
- Updated dependencies
|
|
44
56
|
|
|
45
57
|
## 1.0.3
|
|
46
58
|
|
|
47
59
|
### Patch Changes
|
|
48
60
|
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
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.
|
|
52
64
|
|
|
53
65
|
## 1.0.2
|
|
54
66
|
|
|
55
67
|
### Patch Changes
|
|
56
68
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
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`
|
|
60
72
|
|
|
61
73
|
## 1.0.1
|
|
62
74
|
|
|
63
75
|
### Patch Changes
|
|
64
76
|
|
|
65
|
-
-
|
|
77
|
+
- Updated dependencies
|
|
66
78
|
|
|
67
79
|
## 1.0.0
|
|
68
80
|
|
|
69
81
|
### Major Changes
|
|
70
82
|
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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.
|
|
75
87
|
|
|
76
88
|
### Patch Changes
|
|
77
89
|
|
|
78
|
-
-
|
|
90
|
+
- Updated dependencies
|
|
79
91
|
|
|
80
92
|
## 0.3.9
|
|
81
93
|
|
|
82
94
|
### Patch Changes
|
|
83
95
|
|
|
84
|
-
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
|
87
99
|
|
|
88
100
|
## 0.3.8
|
|
89
101
|
|
|
90
102
|
### Patch Changes
|
|
91
103
|
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
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
|
|
96
108
|
|
|
97
109
|
## 0.3.7
|
|
98
110
|
|
|
99
111
|
### Patch Changes
|
|
100
112
|
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
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
|
|
104
116
|
|
|
105
117
|
## 0.3.6
|
|
106
118
|
|
|
107
119
|
### Patch Changes
|
|
108
120
|
|
|
109
|
-
-
|
|
121
|
+
- Updated dependencies
|
|
110
122
|
|
|
111
123
|
## 0.3.5
|
|
112
124
|
|
|
113
125
|
### Patch Changes
|
|
114
126
|
|
|
115
|
-
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
|
118
130
|
|
|
119
131
|
## 0.3.4
|
|
120
132
|
|
|
121
133
|
### Patch Changes
|
|
122
134
|
|
|
123
|
-
-
|
|
135
|
+
- Updated dependencies
|
|
124
136
|
|
|
125
137
|
## 0.3.3
|
|
126
138
|
|
|
127
139
|
### Patch Changes
|
|
128
140
|
|
|
129
|
-
-
|
|
141
|
+
- Updated dependencies
|
|
130
142
|
|
|
131
143
|
## 0.3.2
|
|
132
144
|
|
|
133
145
|
### Patch Changes
|
|
134
146
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
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
|
|
138
150
|
|
|
139
151
|
## 0.3.1
|
|
140
152
|
|
|
141
153
|
### Patch Changes
|
|
142
154
|
|
|
143
|
-
-
|
|
155
|
+
- Updated dependencies
|
|
144
156
|
|
|
145
157
|
## 0.3.0
|
|
146
158
|
|
|
147
159
|
### Minor Changes
|
|
148
160
|
|
|
149
|
-
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
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.
|
|
153
165
|
|
|
154
166
|
## 0.2.3
|
|
155
167
|
|
|
156
168
|
### Patch Changes
|
|
157
169
|
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
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
|
|
161
173
|
|
|
162
174
|
## 0.2.2
|
|
163
175
|
|
|
164
176
|
### Patch Changes
|
|
165
177
|
|
|
166
|
-
-
|
|
178
|
+
- Updated dependencies
|
|
167
179
|
|
|
168
180
|
## 0.2.1
|
|
169
181
|
|
|
170
182
|
### Patch Changes
|
|
171
183
|
|
|
172
|
-
-
|
|
173
|
-
|
|
174
|
-
|
|
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,14 +34,14 @@
|
|
|
34
34
|
"./styles": "./src/styles.ts"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
38
|
-
"@atlaskit/editor-markdown-transformer": "^5.
|
|
39
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
40
|
-
"@atlaskit/editor-plugin-paste": "^1.
|
|
37
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
38
|
+
"@atlaskit/editor-markdown-transformer": "^5.6.0",
|
|
39
|
+
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
40
|
+
"@atlaskit/editor-plugin-paste": "^1.2.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
42
|
-
"@atlaskit/editor-shared-styles": "^2.
|
|
43
|
-
"@atlaskit/icon": "^22.
|
|
44
|
-
"@atlaskit/tokens": "^1.
|
|
42
|
+
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
43
|
+
"@atlaskit/icon": "^22.3.0",
|
|
44
|
+
"@atlaskit/tokens": "^1.49.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -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
|
|