@atlaskit/mention 23.4.7 → 23.5.0

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/mention
2
2
 
3
+ ## 23.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#98070](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98070)
8
+ [`567bc6e27663e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/567bc6e27663e) -
9
+ Adding option boolean flag isEligibleXProductUserInvite on MentionResourceConfig for
10
+ CCEDITIONS-4746(x-product user search/invite) experiment
11
+
3
12
  ## 23.4.7
4
13
 
5
14
  ### 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 = "23.4.7";
15
+ var packageVersion = "23.5.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 = "23.4.7";
5
+ const packageVersion = "23.5.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 = "23.4.7";
8
+ var packageVersion = "23.5.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) {
@@ -31,6 +31,7 @@ export interface MentionResourceConfig extends ServiceConfig {
31
31
  userRole?: UserRole;
32
32
  productName?: string;
33
33
  debounceTime?: number;
34
+ isEligibleXProductUserInvite?: boolean;
34
35
  }
35
36
  export interface ResourceProvider<Result> {
36
37
  /**
@@ -31,6 +31,7 @@ export interface MentionResourceConfig extends ServiceConfig {
31
31
  userRole?: UserRole;
32
32
  productName?: string;
33
33
  debounceTime?: number;
34
+ isEligibleXProductUserInvite?: boolean;
34
35
  }
35
36
  export interface ResourceProvider<Result> {
36
37
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/mention",
3
- "version": "23.4.7",
3
+ "version": "23.5.0",
4
4
  "description": "A React component used to display user profiles in a list for 'Mention' functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/lozenge": "^11.12.0",
50
50
  "@atlaskit/primitives": "^13.3.0",
51
51
  "@atlaskit/theme": "^14.0.0",
52
- "@atlaskit/tokens": "^2.4.0",
52
+ "@atlaskit/tokens": "^2.5.0",
53
53
  "@atlaskit/tooltip": "^19.0.0",
54
54
  "@atlaskit/ufo": "^0.3.0",
55
55
  "@atlaskit/util-service-support": "^6.2.0",
package/tsconfig.json CHANGED
@@ -8,6 +8,5 @@
8
8
  "./examples/**/*.ts",
9
9
  "./examples/**/*.tsx"],
10
10
  "compilerOptions": {
11
- "baseUrl": "./"
12
11
  }
13
12
  }