@atlaskit/mention 24.4.9 → 24.4.11

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,18 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 24.4.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 24.4.10
10
+
11
+ ### Patch Changes
12
+
13
+ - [`24eaee764c0df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24eaee764c0df) -
14
+ [ux] Inline invites for mentions in editor.
15
+
3
16
  ## 24.4.9
4
17
 
5
18
  ### Patch Changes
@@ -12,7 +12,7 @@ var _types = require("../types");
12
12
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
13
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
14
  var packageName = "@atlaskit/mention";
15
- var packageVersion = "0.0.0-development";
15
+ var packageVersion = "24.4.10";
16
16
  var SLI_EVENT_TYPE = exports.SLI_EVENT_TYPE = 'sli';
17
17
  var SMART_EVENT_TYPE = exports.SMART_EVENT_TYPE = 'smart';
18
18
  var fireAnalyticsMentionTypeaheadEvent = exports.fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -2,7 +2,7 @@ import { OPERATIONAL_EVENT_TYPE, UI_EVENT_TYPE } from '@atlaskit/analytics-gas-t
2
2
  import { ELEMENTS_CHANNEL } from '../_constants';
3
3
  import { ComponentNames, isSpecialMentionText } from '../types';
4
4
  const packageName = "@atlaskit/mention";
5
- const packageVersion = "0.0.0-development";
5
+ const packageVersion = "24.4.10";
6
6
  export const SLI_EVENT_TYPE = 'sli';
7
7
  export const SMART_EVENT_TYPE = 'smart';
8
8
  export const fireAnalyticsMentionTypeaheadEvent = props => (action, duration, userIds = [], query) => {
@@ -5,7 +5,7 @@ import { OPERATIONAL_EVENT_TYPE, UI_EVENT_TYPE } from '@atlaskit/analytics-gas-t
5
5
  import { ELEMENTS_CHANNEL } from '../_constants';
6
6
  import { ComponentNames, isSpecialMentionText } from '../types';
7
7
  var packageName = "@atlaskit/mention";
8
- var packageVersion = "0.0.0-development";
8
+ var packageVersion = "24.4.10";
9
9
  export var SLI_EVENT_TYPE = 'sli';
10
10
  export var SMART_EVENT_TYPE = 'smart';
11
11
  export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -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",
28
- "@atlaskit/icon": "^30.0.0",
29
- "@atlaskit/lozenge": "^13.3.0",
27
+ "@atlaskit/heading": "^5.3.0",
28
+ "@atlaskit/icon": "^31.0.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.10.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.11"
116
116
  }