@atlaskit/editor-plugin-avatar-group 3.0.5 → 3.1.0
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 +13 -0
- package/dist/types/avatarGroupPluginType.d.ts +2 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/ui/avatars-with-plugin-state.d.ts +2 -10
- package/dist/types/ui/to-avatar.d.ts +1 -5
- package/dist/types-ts4.5/avatarGroupPluginType.d.ts +2 -3
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/avatars-with-plugin-state.d.ts +2 -10
- package/dist/types-ts4.5/ui/to-avatar.d.ts +1 -5
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-avatar-group
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
|
|
8
|
+
[`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
|
|
9
|
+
[https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
|
|
10
|
+
`@atlassian/confluence-presets` package with Confluence `full-page` preset is created
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 3.0.5
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -5,7 +5,7 @@ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
|
5
5
|
import type { CollabEditPlugin } from '@atlaskit/editor-plugin-collab-edit';
|
|
6
6
|
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
7
7
|
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
|
|
8
|
-
type
|
|
8
|
+
export type AvatarGroupPluginOptions = {
|
|
9
9
|
collabEdit?: CollabEditOptions;
|
|
10
10
|
takeFullWidth: boolean;
|
|
11
11
|
showAvatarGroup?: boolean;
|
|
@@ -17,10 +17,9 @@ export type AvatarGroupPluginDependencies = [
|
|
|
17
17
|
OptionalPlugin<PrimaryToolbarPlugin>
|
|
18
18
|
];
|
|
19
19
|
export type AvatarGroupPlugin = NextEditorPlugin<'avatarGroup', {
|
|
20
|
-
pluginConfiguration:
|
|
20
|
+
pluginConfiguration: AvatarGroupPluginOptions;
|
|
21
21
|
dependencies: AvatarGroupPluginDependencies;
|
|
22
22
|
actions: {
|
|
23
23
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
|
|
24
24
|
};
|
|
25
25
|
}>;
|
|
26
|
-
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { AvatarGroupPlugin } from './avatarGroupPluginType';
|
|
1
|
+
export type { AvatarGroupPlugin, AvatarGroupPluginOptions } from './avatarGroupPluginType';
|
|
2
2
|
export { avatarGroupPlugin } from './avatarGroupPlugin';
|
|
@@ -19,11 +19,7 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
|
19
19
|
featureFlags: FeatureFlags;
|
|
20
20
|
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
21
21
|
editorAPI: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
|
|
22
|
-
pluginConfiguration:
|
|
23
|
-
collabEdit?: import("@atlaskit/editor-common/collab").CollabEditOptions | undefined;
|
|
24
|
-
takeFullWidth: boolean;
|
|
25
|
-
showAvatarGroup?: boolean | undefined;
|
|
26
|
-
};
|
|
22
|
+
pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
|
|
27
23
|
dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
|
|
28
24
|
actions: {
|
|
29
25
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
|
|
@@ -36,11 +32,7 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
|
36
32
|
featureFlags: FeatureFlags;
|
|
37
33
|
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
38
34
|
editorAPI: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
|
|
39
|
-
pluginConfiguration:
|
|
40
|
-
collabEdit?: import("@atlaskit/editor-common/collab").CollabEditOptions | undefined;
|
|
41
|
-
takeFullWidth: boolean;
|
|
42
|
-
showAvatarGroup?: boolean | undefined;
|
|
43
|
-
};
|
|
35
|
+
pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
|
|
44
36
|
dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
|
|
45
37
|
actions: {
|
|
46
38
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
import type { AvatarProps } from '@atlaskit/avatar-group';
|
|
3
3
|
import type { CollabParticipant } from '@atlaskit/editor-common/collab';
|
|
4
4
|
declare const _default: import("memoize-one").MemoizedFn<(participant: CollabParticipant, api: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
|
|
5
|
-
pluginConfiguration:
|
|
6
|
-
collabEdit?: import("@atlaskit/editor-common/collab").CollabEditOptions | undefined;
|
|
7
|
-
takeFullWidth: boolean;
|
|
8
|
-
showAvatarGroup?: boolean | undefined;
|
|
9
|
-
};
|
|
5
|
+
pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
|
|
10
6
|
dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
|
|
11
7
|
actions: {
|
|
12
8
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
|
|
@@ -5,7 +5,7 @@ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
|
5
5
|
import type { CollabEditPlugin } from '@atlaskit/editor-plugin-collab-edit';
|
|
6
6
|
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
7
7
|
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
|
|
8
|
-
type
|
|
8
|
+
export type AvatarGroupPluginOptions = {
|
|
9
9
|
collabEdit?: CollabEditOptions;
|
|
10
10
|
takeFullWidth: boolean;
|
|
11
11
|
showAvatarGroup?: boolean;
|
|
@@ -17,10 +17,9 @@ export type AvatarGroupPluginDependencies = [
|
|
|
17
17
|
OptionalPlugin<PrimaryToolbarPlugin>
|
|
18
18
|
];
|
|
19
19
|
export type AvatarGroupPlugin = NextEditorPlugin<'avatarGroup', {
|
|
20
|
-
pluginConfiguration:
|
|
20
|
+
pluginConfiguration: AvatarGroupPluginOptions;
|
|
21
21
|
dependencies: AvatarGroupPluginDependencies;
|
|
22
22
|
actions: {
|
|
23
23
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
|
|
24
24
|
};
|
|
25
25
|
}>;
|
|
26
|
-
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { AvatarGroupPlugin } from './avatarGroupPluginType';
|
|
1
|
+
export type { AvatarGroupPlugin, AvatarGroupPluginOptions } from './avatarGroupPluginType';
|
|
2
2
|
export { avatarGroupPlugin } from './avatarGroupPlugin';
|
|
@@ -19,11 +19,7 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
|
19
19
|
featureFlags: FeatureFlags;
|
|
20
20
|
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
21
21
|
editorAPI: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
|
|
22
|
-
pluginConfiguration:
|
|
23
|
-
collabEdit?: import("@atlaskit/editor-common/collab").CollabEditOptions | undefined;
|
|
24
|
-
takeFullWidth: boolean;
|
|
25
|
-
showAvatarGroup?: boolean | undefined;
|
|
26
|
-
};
|
|
22
|
+
pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
|
|
27
23
|
dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
|
|
28
24
|
actions: {
|
|
29
25
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
|
|
@@ -36,11 +32,7 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
|
36
32
|
featureFlags: FeatureFlags;
|
|
37
33
|
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
38
34
|
editorAPI: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
|
|
39
|
-
pluginConfiguration:
|
|
40
|
-
collabEdit?: import("@atlaskit/editor-common/collab").CollabEditOptions | undefined;
|
|
41
|
-
takeFullWidth: boolean;
|
|
42
|
-
showAvatarGroup?: boolean | undefined;
|
|
43
|
-
};
|
|
35
|
+
pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
|
|
44
36
|
dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
|
|
45
37
|
actions: {
|
|
46
38
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
import type { AvatarProps } from '@atlaskit/avatar-group';
|
|
3
3
|
import type { CollabParticipant } from '@atlaskit/editor-common/collab';
|
|
4
4
|
declare const _default: import("memoize-one").MemoizedFn<(participant: CollabParticipant, api: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
|
|
5
|
-
pluginConfiguration:
|
|
6
|
-
collabEdit?: import("@atlaskit/editor-common/collab").CollabEditOptions | undefined;
|
|
7
|
-
takeFullWidth: boolean;
|
|
8
|
-
showAvatarGroup?: boolean | undefined;
|
|
9
|
-
};
|
|
5
|
+
pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
|
|
10
6
|
dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
|
|
11
7
|
actions: {
|
|
12
8
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-avatar-group",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Avatar Group plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@atlaskit/avatar-group": "^12.0.0",
|
|
40
|
-
"@atlaskit/editor-common": "^103.
|
|
40
|
+
"@atlaskit/editor-common": "^103.4.0",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
42
|
-
"@atlaskit/editor-plugin-collab-edit": "^3.
|
|
43
|
-
"@atlaskit/editor-plugin-feature-flags": "^1.
|
|
44
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^3.
|
|
42
|
+
"@atlaskit/editor-plugin-collab-edit": "^3.4.0",
|
|
43
|
+
"@atlaskit/editor-plugin-feature-flags": "^1.4.0",
|
|
44
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
|
|
45
45
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
46
46
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
47
47
|
"@atlaskit/icon": "^25.5.0",
|