@atlaskit/mention 24.4.6 → 24.4.7

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
+ ## 24.4.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 24.4.6
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.jira.json",
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
@@ -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 = "24.4.5";
15
+ var packageVersion = "0.0.0-development";
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 = "24.4.5";
5
+ const packageVersion = "0.0.0-development";
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 = "24.4.5";
8
+ var packageVersion = "0.0.0-development";
9
9
  export var SLI_EVENT_TYPE = 'sli';
10
10
  export var SMART_EVENT_TYPE = 'smart';
11
11
  export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -179,9 +179,11 @@ export declare const isPromise: <T>(p: any) => p is Promise<T>;
179
179
  export type InviteFlow = 'mention' | 'assign';
180
180
  export type UserRole = 'admin' | 'trusted' | 'basic';
181
181
  export interface InviteFromMentionProvider {
182
+ getShouldEnableInlineInvite?: () => boolean;
182
183
  onInviteItemClick?(flow: InviteFlow): void;
183
184
  productName?: string;
184
185
  shouldEnableInvite?: boolean;
186
+ userEmailDomain?: string;
185
187
  userRole?: UserRole;
186
188
  }
187
189
  export interface XProductInviteMentionProvider {
@@ -179,9 +179,11 @@ export declare const isPromise: <T>(p: any) => p is Promise<T>;
179
179
  export type InviteFlow = 'mention' | 'assign';
180
180
  export type UserRole = 'admin' | 'trusted' | 'basic';
181
181
  export interface InviteFromMentionProvider {
182
+ getShouldEnableInlineInvite?: () => boolean;
182
183
  onInviteItemClick?(flow: InviteFlow): void;
183
184
  productName?: string;
184
185
  shouldEnableInvite?: boolean;
186
+ userEmailDomain?: string;
185
187
  userRole?: UserRole;
186
188
  }
187
189
  export interface XProductInviteMentionProvider {
package/package.json CHANGED
@@ -25,13 +25,13 @@
25
25
  "@atlaskit/avatar": "^25.7.0",
26
26
  "@atlaskit/focus-ring": "^3.0.0",
27
27
  "@atlaskit/heading": "^5.2.0",
28
- "@atlaskit/icon": "^29.4.0",
28
+ "@atlaskit/icon": "^30.0.0",
29
29
  "@atlaskit/lozenge": "^13.3.0",
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
31
  "@atlaskit/primitives": "^17.1.0",
32
32
  "@atlaskit/teams-avatar": "^2.4.0",
33
33
  "@atlaskit/theme": "^21.0.0",
34
- "@atlaskit/tokens": "^10.0.0",
34
+ "@atlaskit/tokens": "^10.1.0",
35
35
  "@atlaskit/tooltip": "^20.14.0",
36
36
  "@atlaskit/ufo": "^0.4.0",
37
37
  "@atlaskit/util-service-support": "^6.3.0",
@@ -111,5 +111,5 @@
111
111
  ]
112
112
  }
113
113
  },
114
- "version": "24.4.6"
114
+ "version": "24.4.7"
115
115
  }