@atlaskit/mention 27.13.0 → 27.13.1

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,11 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 27.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 27.13.0
4
10
 
5
11
  ### Minor 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 = "27.12.11";
15
+ var packageVersion = "27.13.0";
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 = "27.12.11";
5
+ const packageVersion = "27.13.0";
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 = "27.12.11";
8
+ var packageVersion = "27.13.0";
9
9
  export var SLI_EVENT_TYPE = 'sli';
10
10
  export var SMART_EVENT_TYPE = 'smart';
11
11
  export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -335,32 +335,13 @@ export declare function isSpecialMentionText(mentionText: string): boolean | '';
335
335
  export declare const isPromise: <T>(p: any) => p is Promise<T>;
336
336
  export type InviteFlow = 'mention' | 'assign';
337
337
  export type UserRole = 'admin' | 'trusted' | 'basic';
338
- export type InlineInvitePopupResult = {
339
- error: {
340
- email: string;
341
- }[];
342
- failure: boolean;
343
- invited: {
344
- email: string;
345
- id: string;
346
- }[];
347
- requested: {
348
- email: string;
349
- id: string;
350
- }[];
351
- };
352
338
  export interface InviteFromMentionProvider {
353
339
  getShouldEnableInlineInvite?: () => boolean;
354
- InlineInvitePopup?: React.ComponentType<{
355
- anchorElement: HTMLElement | null;
356
- onDismiss: () => void;
357
- onInviteComplete: (result: InlineInvitePopupResult) => void;
358
- onReady: (show: ((email: string) => void) | null) => void;
359
- }> | null;
340
+ InlineInviteRecaptcha?: React.ComponentType<any> | null;
360
341
  onInviteItemClick?(flow: InviteFlow): void;
361
342
  productName?: string;
362
343
  shouldEnableInvite?: boolean;
363
- showInlineInvitePopup?: (email: string, localId: string) => void;
344
+ showInlineInviteRecaptcha?: (email: string) => void;
364
345
  userEmailDomain?: string;
365
346
  userRole?: UserRole;
366
347
  }
package/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/afm-i18n-platform-elements-mention": "2.200.0",
30
30
  "@atlaskit/analytics-gas-types": "^6.0.0",
31
31
  "@atlaskit/analytics-next": "^12.3.0",
32
- "@atlaskit/avatar": "^26.4.0",
32
+ "@atlaskit/avatar": "^27.0.0",
33
33
  "@atlaskit/focus-ring": "^5.0.0",
34
34
  "@atlaskit/heading": "^7.0.0",
35
35
  "@atlaskit/icon": "^37.3.0",
@@ -125,5 +125,5 @@
125
125
  }
126
126
  },
127
127
  "types": "dist/types/index.d.ts",
128
- "version": "27.13.0"
128
+ "version": "27.13.1"
129
129
  }