@atlaskit/mention 24.4.9 → 24.4.10

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,12 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 24.4.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [`24eaee764c0df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24eaee764c0df) -
8
+ [ux] Inline invites for mentions in editor.
9
+
3
10
  ## 24.4.9
4
11
 
5
12
  ### Patch Changes
@@ -180,9 +180,11 @@ export type InviteFlow = 'mention' | 'assign';
180
180
  export type UserRole = 'admin' | 'trusted' | 'basic';
181
181
  export interface InviteFromMentionProvider {
182
182
  getShouldEnableInlineInvite?: () => boolean;
183
+ InlineInviteRecaptcha?: React.ComponentType<any> | null;
183
184
  onInviteItemClick?(flow: InviteFlow): void;
184
185
  productName?: string;
185
186
  shouldEnableInvite?: boolean;
187
+ showInlineInviteRecaptcha?: (email: string) => void;
186
188
  userEmailDomain?: string;
187
189
  userRole?: UserRole;
188
190
  }
@@ -180,9 +180,11 @@ export type InviteFlow = 'mention' | 'assign';
180
180
  export type UserRole = 'admin' | 'trusted' | 'basic';
181
181
  export interface InviteFromMentionProvider {
182
182
  getShouldEnableInlineInvite?: () => boolean;
183
+ InlineInviteRecaptcha?: React.ComponentType<any> | null;
183
184
  onInviteItemClick?(flow: InviteFlow): void;
184
185
  productName?: string;
185
186
  shouldEnableInvite?: boolean;
187
+ showInlineInviteRecaptcha?: (email: string) => void;
186
188
  userEmailDomain?: string;
187
189
  userRole?: UserRole;
188
190
  }
package/package.json CHANGED
@@ -24,9 +24,9 @@
24
24
  "@atlaskit/analytics-next": "^11.1.0",
25
25
  "@atlaskit/avatar": "^25.7.0",
26
26
  "@atlaskit/focus-ring": "^3.0.0",
27
- "@atlaskit/heading": "^5.2.0",
27
+ "@atlaskit/heading": "^5.3.0",
28
28
  "@atlaskit/icon": "^30.0.0",
29
- "@atlaskit/lozenge": "^13.3.0",
29
+ "@atlaskit/lozenge": "^13.4.0",
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
31
  "@atlaskit/primitives": "^18.0.0",
32
32
  "@atlaskit/teams-avatar": "^2.4.0",
@@ -47,7 +47,7 @@
47
47
  "@af/search-test-utils": "workspace:^",
48
48
  "@af/visual-regression": "workspace:^",
49
49
  "@atlaskit/elements-test-helpers": "workspace:^",
50
- "@atlassian/a11y-jest-testing": "^0.8.0",
50
+ "@atlassian/a11y-jest-testing": "^0.9.0",
51
51
  "@atlassian/feature-flags-test-utils": "^1.0.0",
52
52
  "@testing-library/react": "^16.3.0",
53
53
  "@testing-library/user-event": "^14.4.3",
@@ -112,5 +112,5 @@
112
112
  ]
113
113
  }
114
114
  },
115
- "version": "24.4.9"
115
+ "version": "24.4.10"
116
116
  }