@atlaskit/editor-plugin-avatar-group 1.2.3 → 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 CHANGED
@@ -1,138 +1,150 @@
1
1
  # @atlaskit/editor-plugin-avatar-group
2
2
 
3
+ ## 1.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.2.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.2.3
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - Updated dependencies
19
+ - Updated dependencies
8
20
 
9
21
  ## 1.2.2
10
22
 
11
23
  ### Patch Changes
12
24
 
13
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
14
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
15
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
16
- language triggering composition on an empty line.This was fixed in a patch bump of
17
- 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
18
30
 
19
31
  ## 1.2.1
20
32
 
21
33
  ### Patch Changes
22
34
 
23
- - Updated dependencies
35
+ - Updated dependencies
24
36
 
25
37
  ## 1.2.0
26
38
 
27
39
  ### Minor Changes
28
40
 
29
- - [#86433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86433)
30
- [`88ca3b199a49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/88ca3b199a49) -
31
- [ux] EDF-412 Collaborators avatars and telepointer colors are tokenised.
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.
32
44
 
33
45
  ### Patch Changes
34
46
 
35
- - Updated dependencies
47
+ - Updated dependencies
36
48
 
37
49
  ## 1.1.0
38
50
 
39
51
  ### Minor Changes
40
52
 
41
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
42
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
43
- bumped editor-prosemirror version to 4.0.0
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
44
56
 
45
57
  ### Patch Changes
46
58
 
47
- - Updated dependencies
59
+ - Updated dependencies
48
60
 
49
61
  ## 1.0.6
50
62
 
51
63
  ### Patch Changes
52
64
 
53
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
54
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
55
- Upgrade Typescript from `4.9.5` to `5.4.2`
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`
56
68
 
57
69
  ## 1.0.5
58
70
 
59
71
  ### Patch Changes
60
72
 
61
- - [#80883](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80883)
62
- [`5ecfa883d4ba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ecfa883d4ba) -
63
- React 18 types for alignment, annotation, avatar-group and blocktype plugins.
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.
64
76
 
65
77
  ## 1.0.4
66
78
 
67
79
  ### Patch Changes
68
80
 
69
- - [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
70
- [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) -
71
- Update usage of `React.FC` to explicity include `children`
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`
72
84
 
73
85
  ## 1.0.3
74
86
 
75
87
  ### Patch Changes
76
88
 
77
- - [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947)
78
- [`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) -
79
- Migrate @atlaskit/editor-core to use declarative entry points
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
80
92
 
81
93
  ## 1.0.2
82
94
 
83
95
  ### Patch Changes
84
96
 
85
- - [#77259](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77259)
86
- [`9086164a5b62`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9086164a5b62) -
87
- Use spacing tokens instead of hardcoded values
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
88
100
 
89
101
  ## 1.0.1
90
102
 
91
103
  ### Patch Changes
92
104
 
93
- - Updated dependencies
105
+ - Updated dependencies
94
106
 
95
107
  ## 1.0.0
96
108
 
97
109
  ### Major Changes
98
110
 
99
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
100
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
101
- This changeset exists to bump all editor plugins that currently don't have a major version. This
102
- is to address an issue with Jira plugin consumption.
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.
103
115
 
104
116
  ### Patch Changes
105
117
 
106
- - Updated dependencies
118
+ - Updated dependencies
107
119
 
108
120
  ## 0.1.4
109
121
 
110
122
  ### Patch Changes
111
123
 
112
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
113
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
114
- Upgrading @atlaskit/editor-prosemirror dependency
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
115
127
 
116
128
  ## 0.1.3
117
129
 
118
130
  ### Patch Changes
119
131
 
120
- - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
121
- [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
122
- Move all plugin translations to editor-common
123
- - Updated dependencies
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
124
136
 
125
137
  ## 0.1.2
126
138
 
127
139
  ### Patch Changes
128
140
 
129
- - [#70084](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70084)
130
- [`4d651eb93ab5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d651eb93ab5) -
131
- Add editor-plugin-annotation pr and create shared utils for it in editor-test-helpers
132
- - Updated dependencies
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
133
145
 
134
146
  ## 0.1.1
135
147
 
136
148
  ### Patch Changes
137
149
 
138
- - Updated dependencies
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
- 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.
@@ -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",
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,15 +38,15 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@atlaskit/avatar-group": "^9.6.0",
41
- "@atlaskit/editor-common": "^80.0.0",
42
- "@atlaskit/editor-plugin-analytics": "^1.1.0",
43
- "@atlaskit/editor-plugin-collab-edit": "^1.3.0",
41
+ "@atlaskit/editor-common": "^82.0.0",
42
+ "@atlaskit/editor-plugin-analytics": "^1.2.0",
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.10.0",
47
- "@atlaskit/icon": "^22.1.0",
46
+ "@atlaskit/editor-shared-styles": "^2.12.0",
47
+ "@atlaskit/icon": "^22.3.0",
48
48
  "@atlaskit/theme": "^12.8.0",
49
- "@atlaskit/tokens": "^1.48.0",
49
+ "@atlaskit/tokens": "^1.49.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "memoize-one": "^6.0.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