@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 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
- - Updated dependencies
13
+ - Updated dependencies
8
14
 
9
15
  ## 1.1.4
10
16
 
11
17
  ### Patch Changes
12
18
 
13
- - Updated dependencies
19
+ - Updated dependencies
14
20
 
15
21
  ## 1.1.3
16
22
 
17
23
  ### Patch Changes
18
24
 
19
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
20
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
21
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
22
- language triggering composition on an empty line.This was fixed in a patch bump of
23
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
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
- - Updated dependencies
35
+ - Updated dependencies
30
36
 
31
37
  ## 1.1.1
32
38
 
33
39
  ### Patch Changes
34
40
 
35
- - [#96138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96138)
36
- [`6c157cfaf29f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6c157cfaf29f) -
37
- [ED-19863] Clean-up the paste options toolbar
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
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
44
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
45
- bumped editor-prosemirror version to 4.0.0
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
- - Updated dependencies
55
+ - Updated dependencies
50
56
 
51
57
  ## 1.0.3
52
58
 
53
59
  ### Patch Changes
54
60
 
55
- - [#89247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89247)
56
- [`a65b4a0870d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a65b4a0870d8) -
57
- The internal composition of this package has changed. There is no expected change in behavior.
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
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
64
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
65
- Upgrade Typescript from `4.9.5` to `5.4.2`
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
- - Updated dependencies
77
+ - Updated dependencies
72
78
 
73
79
  ## 1.0.0
74
80
 
75
81
  ### Major Changes
76
82
 
77
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
78
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
79
- This changeset exists to bump all editor plugins that currently don't have a major version. This
80
- is to address an issue with Jira plugin consumption.
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
- - Updated dependencies
90
+ - Updated dependencies
85
91
 
86
92
  ## 0.3.9
87
93
 
88
94
  ### Patch Changes
89
95
 
90
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
91
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
92
- Upgrading @atlaskit/editor-prosemirror dependency
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
- - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
99
- [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
100
- Move all plugin translations to editor-common
101
- - Updated dependencies
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
- - [#69790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69790)
108
- [`0de5e8a05235`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0de5e8a05235) -
109
- ED-21955-update: Correcting outdated comments
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
- - Updated dependencies
121
+ - Updated dependencies
116
122
 
117
123
  ## 0.3.5
118
124
 
119
125
  ### Patch Changes
120
126
 
121
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
122
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
123
- Ensure all editor plugins are marked as singletons
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
- - Updated dependencies
135
+ - Updated dependencies
130
136
 
131
137
  ## 0.3.3
132
138
 
133
139
  ### Patch Changes
134
140
 
135
- - Updated dependencies
141
+ - Updated dependencies
136
142
 
137
143
  ## 0.3.2
138
144
 
139
145
  ### Patch Changes
140
146
 
141
- - [#43282](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43282)
142
- [`ea6aae16859`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea6aae16859) - Fixed
143
- extra paragraph added on pasting codeblock and modified relevant testcases
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
- - Updated dependencies
155
+ - Updated dependencies
150
156
 
151
157
  ## 0.3.0
152
158
 
153
159
  ### Minor Changes
154
160
 
155
- - [#42718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42718)
156
- [`954af7ba44b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954af7ba44b) -
157
- Changing hasLinkMark function to use pasted slice instead of state.doc while searching for link
158
- in pasted text.
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
- - [#42152](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42152)
165
- [`0097171c562`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0097171c562) -
166
- ED-19766-collab: Adding collab support for paste options toolbar for confluence
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
- - Updated dependencies
178
+ - Updated dependencies
173
179
 
174
180
  ## 0.2.1
175
181
 
176
182
  ### Patch Changes
177
183
 
178
- - [#42128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42128)
179
- [`8d06cbeae33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d06cbeae33) -
180
- ED-20584: Adding logic to show correct positioning for toolbar in confluence
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
- you may not use this file except in compliance with the License.
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 under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
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.
@@ -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 .", " {\n background-color: ", ";\n\n border-bottom: 2px solid\n ", ";\n }\n"])), _constants.TEXT_HIGHLIGHT_CLASS, "var(--ds-background-accent-blue-subtlest, #E9F2FF)", "var(--ds-background-accent-blue-subtler, #cce0ff)");
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)");
@@ -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
- .${TEXT_HIGHLIGHT_CLASS} {
7
- background-color: ${"var(--ds-background-accent-blue-subtlest, #E9F2FF)"};
6
+ .${TEXT_HIGHLIGHT_CLASS} {
7
+ background-color: ${"var(--ds-background-accent-blue-subtlest, #E9F2FF)"};
8
8
 
9
- border-bottom: 2px solid
10
- ${"var(--ds-background-accent-blue-subtler, #cce0ff)"};
11
- }
9
+ border-bottom: 2px solid ${"var(--ds-background-accent-blue-subtler, #cce0ff)"};
10
+ }
12
11
  `;
@@ -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 .", " {\n background-color: ", ";\n\n border-bottom: 2px solid\n ", ";\n }\n"])), TEXT_HIGHLIGHT_CLASS, "var(--ds-background-accent-blue-subtlest, #E9F2FF)", "var(--ds-background-accent-blue-subtler, #cce0ff)");
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.5",
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": "^81.0.0",
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.11.0",
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 [API Extractor](https://api-extractor.com/).
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
- 'pasteOptionsToolbarPlugin',
26
- {
27
- dependencies: [OptionalPlugin<AnalyticsPlugin>, PastePlugin];
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
- "react": "^16.8.0"
43
+ "react": "^16.8.0"
43
44
  }
44
45
  ```
45
46