@atlaskit/editor-plugin-avatar-group 4.1.2 → 4.1.3

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,5 +1,14 @@
1
1
  # @atlaskit/editor-plugin-avatar-group
2
2
 
3
+ ## 4.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#199353](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/199353)
8
+ [`f2d4ca35574b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2d4ca35574b8) -
9
+ Internal changes to how border radius values are applied. No visual change.
10
+ - Updated dependencies
11
+
3
12
  ## 4.1.2
4
13
 
5
14
  ### Patch Changes
@@ -45,7 +45,8 @@ var badge = exports.badge = function badge(backgroundColor, textColor) {
45
45
  height: "var(--ds-space-150, 12px)",
46
46
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
47
47
  zIndex: _editorSharedStyles.akEditorSmallZIndex,
48
- borderRadius: '3px',
48
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
49
+ borderRadius: "var(--ds-border-radius-100, 3px)",
49
50
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
50
51
  background: backgroundColor,
51
52
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -37,7 +37,8 @@ export const badge = (backgroundColor, textColor) => css({
37
37
  height: "var(--ds-space-150, 12px)",
38
38
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
39
39
  zIndex: akEditorSmallZIndex,
40
- borderRadius: '3px',
40
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
41
+ borderRadius: "var(--ds-border-radius-100, 3px)",
41
42
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
42
43
  background: backgroundColor,
43
44
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -38,7 +38,8 @@ export var badge = function badge(backgroundColor, textColor) {
38
38
  height: "var(--ds-space-150, 12px)",
39
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
40
40
  zIndex: akEditorSmallZIndex,
41
- borderRadius: '3px',
41
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
42
+ borderRadius: "var(--ds-border-radius-100, 3px)",
42
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
43
44
  background: backgroundColor,
44
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CollabEditOptions, CollabInviteToEditProps } from '@atlaskit/editor-common/collab';
3
2
  import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
4
3
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
@@ -6,10 +6,10 @@ import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/
6
6
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
7
7
  import type { AvatarGroupPlugin } from '../index';
8
8
  declare const AvatarGroupPluginWrapper: (props: {
9
- collabEdit?: CollabEditOptions | undefined;
9
+ collabEdit?: CollabEditOptions;
10
10
  editorView: EditorView;
11
11
  eventDispatcher: EventDispatcher<any>;
12
- dispatchAnalyticsEvent?: DispatchAnalyticsEvent | undefined;
12
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
13
13
  takeFullWidth: boolean;
14
14
  featureFlags: FeatureFlags;
15
15
  editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
@@ -14,30 +14,18 @@ export type AvatarsWithPluginStateProps = {
14
14
  editorAPI: ExtractInjectionAPI<AvatarGroupPlugin> | undefined;
15
15
  } & CollabInviteToEditProps;
16
16
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
17
- editorView?: EditorView | undefined;
18
- eventDispatcher?: EventDispatcher<any> | undefined;
17
+ editorView?: EditorView;
18
+ eventDispatcher?: EventDispatcher;
19
19
  featureFlags: FeatureFlags;
20
20
  editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
21
- editorAPI: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
22
- pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
23
- dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
24
- actions: {
25
- getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
26
- };
27
- }> | undefined;
21
+ editorAPI: ExtractInjectionAPI<AvatarGroupPlugin> | undefined;
28
22
  } & CollabInviteToEditProps & WrappedComponentProps>> & {
29
23
  WrappedComponent: React.ComponentType<{
30
- editorView?: EditorView | undefined;
31
- eventDispatcher?: EventDispatcher<any> | undefined;
24
+ editorView?: EditorView;
25
+ eventDispatcher?: EventDispatcher;
32
26
  featureFlags: FeatureFlags;
33
27
  editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
34
- editorAPI: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
35
- pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
36
- dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
37
- actions: {
38
- getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
39
- };
40
- }> | undefined;
28
+ editorAPI: ExtractInjectionAPI<AvatarGroupPlugin> | undefined;
41
29
  } & CollabInviteToEditProps & WrappedComponentProps>;
42
30
  };
43
31
  export default _default;
@@ -1,11 +1,6 @@
1
- /// <reference types="react" />
2
1
  import type { AvatarProps } from '@atlaskit/avatar-group';
3
2
  import type { CollabParticipant } from '@atlaskit/editor-common/collab';
4
- declare const _default: import("memoize-one").MemoizedFn<(participant: CollabParticipant, api: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
5
- pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
6
- dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
7
- actions: {
8
- getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
9
- };
10
- }> | undefined) => AvatarProps>;
3
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
+ import type { AvatarGroupPlugin } from '../avatarGroupPluginType';
5
+ declare const _default: import("memoize-one").MemoizedFn<(participant: CollabParticipant, api: ExtractInjectionAPI<AvatarGroupPlugin> | undefined) => AvatarProps>;
11
6
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CollabEditOptions, CollabInviteToEditProps } from '@atlaskit/editor-common/collab';
3
2
  import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
4
3
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
@@ -6,10 +6,10 @@ import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/
6
6
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
7
7
  import type { AvatarGroupPlugin } from '../index';
8
8
  declare const AvatarGroupPluginWrapper: (props: {
9
- collabEdit?: CollabEditOptions | undefined;
9
+ collabEdit?: CollabEditOptions;
10
10
  editorView: EditorView;
11
11
  eventDispatcher: EventDispatcher<any>;
12
- dispatchAnalyticsEvent?: DispatchAnalyticsEvent | undefined;
12
+ dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
13
13
  takeFullWidth: boolean;
14
14
  featureFlags: FeatureFlags;
15
15
  editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
@@ -14,30 +14,18 @@ export type AvatarsWithPluginStateProps = {
14
14
  editorAPI: ExtractInjectionAPI<AvatarGroupPlugin> | undefined;
15
15
  } & CollabInviteToEditProps;
16
16
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
17
- editorView?: EditorView | undefined;
18
- eventDispatcher?: EventDispatcher<any> | undefined;
17
+ editorView?: EditorView;
18
+ eventDispatcher?: EventDispatcher;
19
19
  featureFlags: FeatureFlags;
20
20
  editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
21
- editorAPI: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
22
- pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
23
- dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
24
- actions: {
25
- getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
26
- };
27
- }> | undefined;
21
+ editorAPI: ExtractInjectionAPI<AvatarGroupPlugin> | undefined;
28
22
  } & CollabInviteToEditProps & WrappedComponentProps>> & {
29
23
  WrappedComponent: React.ComponentType<{
30
- editorView?: EditorView | undefined;
31
- eventDispatcher?: EventDispatcher<any> | undefined;
24
+ editorView?: EditorView;
25
+ eventDispatcher?: EventDispatcher;
32
26
  featureFlags: FeatureFlags;
33
27
  editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
34
- editorAPI: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
35
- pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
36
- dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
37
- actions: {
38
- getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: CollabInviteToEditProps) => JSX.Element | null;
39
- };
40
- }> | undefined;
28
+ editorAPI: ExtractInjectionAPI<AvatarGroupPlugin> | undefined;
41
29
  } & CollabInviteToEditProps & WrappedComponentProps>;
42
30
  };
43
31
  export default _default;
@@ -1,11 +1,6 @@
1
- /// <reference types="react" />
2
1
  import type { AvatarProps } from '@atlaskit/avatar-group';
3
2
  import type { CollabParticipant } from '@atlaskit/editor-common/collab';
4
- declare const _default: import("memoize-one").MemoizedFn<(participant: CollabParticipant, api: import("@atlaskit/editor-common/types").EditorInjectionAPI<"avatarGroup", {
5
- pluginConfiguration: import("../avatarGroupPluginType").AvatarGroupPluginOptions;
6
- dependencies: import("../avatarGroupPluginType").AvatarGroupPluginDependencies;
7
- actions: {
8
- getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
9
- };
10
- }> | undefined) => AvatarProps>;
3
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
+ import type { AvatarGroupPlugin } from '../avatarGroupPluginType';
5
+ declare const _default: import("memoize-one").MemoizedFn<(participant: CollabParticipant, api: ExtractInjectionAPI<AvatarGroupPlugin> | undefined) => AvatarProps>;
11
6
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-avatar-group",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "Avatar Group plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,17 +35,17 @@
35
35
  ".": "./src/index.ts"
36
36
  },
37
37
  "dependencies": {
38
- "@atlaskit/avatar-group": "^12.1.0",
38
+ "@atlaskit/avatar-group": "^12.2.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^3.0.0",
40
40
  "@atlaskit/editor-plugin-collab-edit": "^4.1.0",
41
41
  "@atlaskit/editor-plugin-feature-flags": "^2.0.0",
42
42
  "@atlaskit/editor-plugin-primary-toolbar": "^4.1.0",
43
43
  "@atlaskit/editor-prosemirror": "7.0.0",
44
- "@atlaskit/editor-shared-styles": "^3.5.0",
45
- "@atlaskit/icon": "^27.9.0",
44
+ "@atlaskit/editor-shared-styles": "^3.6.0",
45
+ "@atlaskit/icon": "^27.11.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/theme": "^19.0.0",
48
- "@atlaskit/tmp-editor-statsig": "^9.22.0",
48
+ "@atlaskit/tmp-editor-statsig": "^9.27.0",
49
49
  "@atlaskit/tokens": "^6.0.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
@@ -53,12 +53,9 @@
53
53
  "react-intl-next": "npm:react-intl@^5.18.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^107.16.0",
56
+ "@atlaskit/editor-common": "^107.20.0",
57
57
  "react": "^18.2.0"
58
58
  },
59
- "devDependencies": {
60
- "typescript": "~5.4.2"
61
- },
62
59
  "techstack": {
63
60
  "@atlassian/frontend": {
64
61
  "code-structure": [