@atlaskit/editor-plugin-avatar-group 1.2.4 → 1.2.5
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 +55 -49
- package/LICENSE.md +6 -8
- package/dist/cjs/ui/invite-to-edit.js +3 -1
- package/dist/es2019/ui/invite-to-edit.js +3 -1
- package/dist/esm/ui/invite-to-edit.js +3 -1
- package/dist/types/ui/avatars-with-plugin-state.d.ts +2 -0
- package/dist/types/ui/to-avatar.d.ts +1 -0
- package/dist/types-ts4.5/ui/avatars-with-plugin-state.d.ts +2 -0
- package/dist/types-ts4.5/ui/to-avatar.d.ts +1 -0
- package/package.json +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,144 +1,150 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-avatar-group
|
|
2
2
|
|
|
3
|
+
## 1.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 1.2.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
13
|
+
- Updated dependencies
|
|
8
14
|
|
|
9
15
|
## 1.2.3
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
-
|
|
19
|
+
- Updated dependencies
|
|
14
20
|
|
|
15
21
|
## 1.2.2
|
|
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.2.1
|
|
26
32
|
|
|
27
33
|
### Patch Changes
|
|
28
34
|
|
|
29
|
-
-
|
|
35
|
+
- Updated dependencies
|
|
30
36
|
|
|
31
37
|
## 1.2.0
|
|
32
38
|
|
|
33
39
|
### Minor Changes
|
|
34
40
|
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
41
|
+
- [#86433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86433)
|
|
42
|
+
[`88ca3b199a49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/88ca3b199a49) -
|
|
43
|
+
[ux] EDF-412 Collaborators avatars and telepointer colors are tokenised.
|
|
38
44
|
|
|
39
45
|
### Patch Changes
|
|
40
46
|
|
|
41
|
-
-
|
|
47
|
+
- Updated dependencies
|
|
42
48
|
|
|
43
49
|
## 1.1.0
|
|
44
50
|
|
|
45
51
|
### Minor Changes
|
|
46
52
|
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
54
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
55
|
+
bumped editor-prosemirror version to 4.0.0
|
|
50
56
|
|
|
51
57
|
### Patch Changes
|
|
52
58
|
|
|
53
|
-
-
|
|
59
|
+
- Updated dependencies
|
|
54
60
|
|
|
55
61
|
## 1.0.6
|
|
56
62
|
|
|
57
63
|
### Patch Changes
|
|
58
64
|
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
66
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
67
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
62
68
|
|
|
63
69
|
## 1.0.5
|
|
64
70
|
|
|
65
71
|
### Patch Changes
|
|
66
72
|
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
|
|
73
|
+
- [#80883](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80883)
|
|
74
|
+
[`5ecfa883d4ba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ecfa883d4ba) -
|
|
75
|
+
React 18 types for alignment, annotation, avatar-group and blocktype plugins.
|
|
70
76
|
|
|
71
77
|
## 1.0.4
|
|
72
78
|
|
|
73
79
|
### Patch Changes
|
|
74
80
|
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
|
|
82
|
+
[`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) -
|
|
83
|
+
Update usage of `React.FC` to explicity include `children`
|
|
78
84
|
|
|
79
85
|
## 1.0.3
|
|
80
86
|
|
|
81
87
|
### Patch Changes
|
|
82
88
|
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
89
|
+
- [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947)
|
|
90
|
+
[`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) -
|
|
91
|
+
Migrate @atlaskit/editor-core to use declarative entry points
|
|
86
92
|
|
|
87
93
|
## 1.0.2
|
|
88
94
|
|
|
89
95
|
### Patch Changes
|
|
90
96
|
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
- [#77259](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77259)
|
|
98
|
+
[`9086164a5b62`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9086164a5b62) -
|
|
99
|
+
Use spacing tokens instead of hardcoded values
|
|
94
100
|
|
|
95
101
|
## 1.0.1
|
|
96
102
|
|
|
97
103
|
### Patch Changes
|
|
98
104
|
|
|
99
|
-
-
|
|
105
|
+
- Updated dependencies
|
|
100
106
|
|
|
101
107
|
## 1.0.0
|
|
102
108
|
|
|
103
109
|
### Major Changes
|
|
104
110
|
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
111
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
112
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
113
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
114
|
+
is to address an issue with Jira plugin consumption.
|
|
109
115
|
|
|
110
116
|
### Patch Changes
|
|
111
117
|
|
|
112
|
-
-
|
|
118
|
+
- Updated dependencies
|
|
113
119
|
|
|
114
120
|
## 0.1.4
|
|
115
121
|
|
|
116
122
|
### Patch Changes
|
|
117
123
|
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
124
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
125
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
126
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
121
127
|
|
|
122
128
|
## 0.1.3
|
|
123
129
|
|
|
124
130
|
### Patch Changes
|
|
125
131
|
|
|
126
|
-
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
-
|
|
132
|
+
- [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
|
|
133
|
+
[`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
|
|
134
|
+
Move all plugin translations to editor-common
|
|
135
|
+
- Updated dependencies
|
|
130
136
|
|
|
131
137
|
## 0.1.2
|
|
132
138
|
|
|
133
139
|
### Patch Changes
|
|
134
140
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
-
|
|
141
|
+
- [#70084](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70084)
|
|
142
|
+
[`4d651eb93ab5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d651eb93ab5) -
|
|
143
|
+
Add editor-plugin-annotation pr and create shared utils for it in editor-test-helpers
|
|
144
|
+
- Updated dependencies
|
|
139
145
|
|
|
140
146
|
## 0.1.1
|
|
141
147
|
|
|
142
148
|
### Patch Changes
|
|
143
149
|
|
|
144
|
-
-
|
|
150
|
+
- Updated dependencies
|
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.
|
|
@@ -36,7 +36,9 @@ var InviteToEditButton = exports.InviteToEditButton = function InviteToEditButto
|
|
|
36
36
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
37
37
|
(0, _react2.jsx)("div", {
|
|
38
38
|
css: _styles.inviteTeamWrapperStyles
|
|
39
|
-
}, (0, _react2.jsx)(Wrapper, null, (0, _react2.jsx)(_uiMenu.ToolbarButton
|
|
39
|
+
}, (0, _react2.jsx)(Wrapper, null, (0, _react2.jsx)(_uiMenu.ToolbarButton
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
41
|
+
, {
|
|
40
42
|
className: "invite-to-edit",
|
|
41
43
|
onClick: onClick,
|
|
42
44
|
selected: selected,
|
|
@@ -23,7 +23,9 @@ export const InviteToEditButton = props => {
|
|
|
23
23
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
24
24
|
jsx("div", {
|
|
25
25
|
css: inviteTeamWrapperStyles
|
|
26
|
-
}, jsx(Wrapper, null, jsx(ToolbarButton
|
|
26
|
+
}, jsx(Wrapper, null, jsx(ToolbarButton
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
28
|
+
, {
|
|
27
29
|
className: "invite-to-edit",
|
|
28
30
|
onClick: onClick,
|
|
29
31
|
selected: selected,
|
|
@@ -25,7 +25,9 @@ export var InviteToEditButton = function InviteToEditButton(props) {
|
|
|
25
25
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
26
26
|
jsx("div", {
|
|
27
27
|
css: inviteTeamWrapperStyles
|
|
28
|
-
}, jsx(Wrapper, null, jsx(ToolbarButton
|
|
28
|
+
}, jsx(Wrapper, null, jsx(ToolbarButton
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
30
|
+
, {
|
|
29
31
|
className: "invite-to-edit",
|
|
30
32
|
onClick: onClick,
|
|
31
33
|
selected: selected,
|
|
@@ -46,6 +46,7 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
|
46
46
|
to: number;
|
|
47
47
|
mark: import("prosemirror-model").Mark;
|
|
48
48
|
}) => boolean;
|
|
49
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
49
50
|
};
|
|
50
51
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>]> | undefined;
|
|
51
52
|
} & CollabInviteToEditProps & WrappedComponentProps>> & {
|
|
@@ -83,6 +84,7 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
|
83
84
|
to: number;
|
|
84
85
|
mark: import("prosemirror-model").Mark;
|
|
85
86
|
}) => boolean;
|
|
87
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
86
88
|
};
|
|
87
89
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>]> | undefined;
|
|
88
90
|
} & CollabInviteToEditProps & WrappedComponentProps>;
|
|
@@ -30,6 +30,7 @@ declare const _default: import("memoize-one").MemoizedFn<(participant: CollabPar
|
|
|
30
30
|
to: number;
|
|
31
31
|
mark: import("prosemirror-model").Mark;
|
|
32
32
|
}) => boolean;
|
|
33
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
33
34
|
};
|
|
34
35
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>]> | undefined) => AvatarProps>;
|
|
35
36
|
export default _default;
|
|
@@ -54,6 +54,7 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
|
54
54
|
to: number;
|
|
55
55
|
mark: import("prosemirror-model").Mark;
|
|
56
56
|
}) => boolean;
|
|
57
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
57
58
|
};
|
|
58
59
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>
|
|
59
60
|
]> | undefined;
|
|
@@ -98,6 +99,7 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
|
98
99
|
to: number;
|
|
99
100
|
mark: import("prosemirror-model").Mark;
|
|
100
101
|
}) => boolean;
|
|
102
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
101
103
|
};
|
|
102
104
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>
|
|
103
105
|
]> | undefined;
|
|
@@ -36,6 +36,7 @@ declare const _default: import("memoize-one").MemoizedFn<(participant: CollabPar
|
|
|
36
36
|
to: number;
|
|
37
37
|
mark: import("prosemirror-model").Mark;
|
|
38
38
|
}) => boolean;
|
|
39
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
39
40
|
};
|
|
40
41
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>
|
|
41
42
|
]> | undefined) => AvatarProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-avatar-group",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Avatar Group plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/avatar-group": "^9.6.0",
|
|
41
|
-
"@atlaskit/editor-common": "^
|
|
41
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
43
43
|
"@atlaskit/editor-plugin-collab-edit": "^1.4.0",
|
|
44
44
|
"@atlaskit/editor-plugin-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
46
|
-
"@atlaskit/editor-shared-styles": "^2.
|
|
46
|
+
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
47
47
|
"@atlaskit/icon": "^22.3.0",
|
|
48
48
|
"@atlaskit/theme": "^12.8.0",
|
|
49
49
|
"@atlaskit/tokens": "^1.49.0",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"react": "^16.8.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
60
59
|
"typescript": "~5.4.2"
|
|
61
60
|
},
|
|
62
61
|
"techstack": {
|
|
@@ -92,7 +91,6 @@
|
|
|
92
91
|
]
|
|
93
92
|
}
|
|
94
93
|
},
|
|
95
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
96
94
|
"stricter": {
|
|
97
95
|
"no-unused-dependencies": {
|
|
98
96
|
"checkDevDependencies": true
|