@atlaskit/mention 23.0.1 → 23.0.3
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 +1403 -881
- package/dist/cjs/api/MentionResource.js +0 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/api/MentionResource.js +0 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/api/MentionResource.js +0 -1
- package/dist/esm/util/analytics.js +1 -1
- package/dist/types/api/MentionResource.d.ts +1 -2
- package/dist/types/components/Mention/ufoExperiences.d.ts +2 -2
- package/dist/types/index.d.ts +6 -6
- package/dist/types/types.d.ts +2 -5
- package/dist/types-ts4.5/api/MentionResource.d.ts +1 -2
- package/dist/types-ts4.5/components/Mention/ufoExperiences.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +6 -6
- package/dist/types-ts4.5/types.d.ts +2 -5
- package/element/package.json +1 -1
- package/i18n/package.json +1 -1
- package/item/package.json +1 -1
- package/package.json +10 -10
- package/report.api.md +0 -9
- package/resource/package.json +1 -1
- package/shared-styles/package.json +1 -1
- package/team-resource/package.json +1 -1
- package/typeahead/package.json +1 -1
- package/types/package.json +1 -1
|
@@ -190,7 +190,6 @@ var MentionResource = exports.MentionResource = /*#__PURE__*/function (_Abstract
|
|
|
190
190
|
_this.activeSearches = new Set();
|
|
191
191
|
_this.productName = config.productName;
|
|
192
192
|
_this.shouldEnableInvite = !!config.shouldEnableInvite;
|
|
193
|
-
_this.inviteExperimentCohort = config.inviteExperimentCohort;
|
|
194
193
|
_this.onInviteItemClick = config.onInviteItemClick;
|
|
195
194
|
_this.userRole = config.userRole || 'basic';
|
|
196
195
|
if (_this.config.debounceTime) {
|
|
@@ -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.0.
|
|
15
|
+
var packageVersion = "23.0.3";
|
|
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 SliNames = exports.SliNames = /*#__PURE__*/function (SliNames) {
|
|
@@ -135,7 +135,6 @@ export class MentionResource extends AbstractMentionResource {
|
|
|
135
135
|
this.activeSearches = new Set();
|
|
136
136
|
this.productName = config.productName;
|
|
137
137
|
this.shouldEnableInvite = !!config.shouldEnableInvite;
|
|
138
|
-
this.inviteExperimentCohort = config.inviteExperimentCohort;
|
|
139
138
|
this.onInviteItemClick = config.onInviteItemClick;
|
|
140
139
|
this.userRole = config.userRole || 'basic';
|
|
141
140
|
if (this.config.debounceTime) {
|
|
@@ -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 { isSpecialMentionText } from '../types';
|
|
4
4
|
const packageName = "@atlaskit/mention";
|
|
5
|
-
const packageVersion = "23.0.
|
|
5
|
+
const packageVersion = "23.0.3";
|
|
6
6
|
export const SLI_EVENT_TYPE = 'sli';
|
|
7
7
|
export const SMART_EVENT_TYPE = 'smart';
|
|
8
8
|
export let SliNames = /*#__PURE__*/function (SliNames) {
|
|
@@ -183,7 +183,6 @@ export var MentionResource = /*#__PURE__*/function (_AbstractMentionResou) {
|
|
|
183
183
|
_this.activeSearches = new Set();
|
|
184
184
|
_this.productName = config.productName;
|
|
185
185
|
_this.shouldEnableInvite = !!config.shouldEnableInvite;
|
|
186
|
-
_this.inviteExperimentCohort = config.inviteExperimentCohort;
|
|
187
186
|
_this.onInviteItemClick = config.onInviteItemClick;
|
|
188
187
|
_this.userRole = config.userRole || 'basic';
|
|
189
188
|
if (_this.config.debounceTime) {
|
|
@@ -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 { isSpecialMentionText } from '../types';
|
|
7
7
|
var packageName = "@atlaskit/mention";
|
|
8
|
-
var packageVersion = "23.0.
|
|
8
|
+
var packageVersion = "23.0.3";
|
|
9
9
|
export var SLI_EVENT_TYPE = 'sli';
|
|
10
10
|
export var SMART_EVENT_TYPE = 'smart';
|
|
11
11
|
export var SliNames = /*#__PURE__*/function (SliNames) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnalyticsCallback, ErrorCallback, InfoCallback,
|
|
1
|
+
import { type AnalyticsCallback, type ErrorCallback, type InfoCallback, type InviteFlow, type MentionContextIdentifier, type MentionDescription, type MentionNameDetails, type MentionProvider, type MentionResourceConfig, type MentionsResult, type MentionStats, type ResourceProvider, type ResultCallback, type UserRole } from '../types';
|
|
2
2
|
export type { MentionStats, ResultCallback, ErrorCallback, InfoCallback, MentionResourceConfig, ResourceProvider, MentionContextIdentifier, MentionProvider, } from '../types';
|
|
3
3
|
export interface TeamMentionResourceConfig extends MentionResourceConfig {
|
|
4
4
|
teamLinkResolver?: (teamId: string) => string;
|
|
@@ -43,7 +43,6 @@ export declare class MentionResource extends AbstractMentionResource implements
|
|
|
43
43
|
private activeSearches;
|
|
44
44
|
productName?: string;
|
|
45
45
|
shouldEnableInvite: boolean;
|
|
46
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
47
46
|
userRole: UserRole;
|
|
48
47
|
onInviteItemClick?: (flow: InviteFlow) => void;
|
|
49
48
|
constructor(config: MentionResourceConfig);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ConcurrentExperience } from '@atlaskit/ufo';
|
|
3
3
|
export declare const mentionRenderedUfoExperience: ConcurrentExperience;
|
|
4
|
-
export declare class UfoErrorBoundary extends React.Component<{
|
|
4
|
+
export declare class UfoErrorBoundary extends React.Component<React.PropsWithChildren<{
|
|
5
5
|
id: string;
|
|
6
|
-
}
|
|
6
|
+
}>> {
|
|
7
7
|
componentDidCatch(): void;
|
|
8
8
|
render(): React.ReactNode;
|
|
9
9
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import MentionResource, { AbstractMentionResource, MentionContextIdentifier, MentionProvider, ResolvingMentionProvider, MentionStats, MentionResourceConfig, TeamMentionResourceConfig, isResolvingMentionProvider } from './api/MentionResource';
|
|
1
|
+
import MentionResource, { AbstractMentionResource, type MentionContextIdentifier, type MentionProvider, type ResolvingMentionProvider, type MentionStats, type MentionResourceConfig, type TeamMentionResourceConfig, isResolvingMentionProvider } from './api/MentionResource';
|
|
2
2
|
import TeamMentionResource from './api/TeamMentionResource';
|
|
3
|
-
import PresenceResource, { PresenceProvider, AbstractPresenceResource } from './api/PresenceResource';
|
|
4
|
-
import { DefaultMentionNameResolver, MentionNameResolver } from './api/MentionNameResolver';
|
|
5
|
-
import { MentionNameClient } from './api/MentionNameClient';
|
|
3
|
+
import PresenceResource, { type PresenceProvider, AbstractPresenceResource } from './api/PresenceResource';
|
|
4
|
+
import { DefaultMentionNameResolver, type MentionNameResolver } from './api/MentionNameResolver';
|
|
5
|
+
import { type MentionNameClient } from './api/MentionNameClient';
|
|
6
6
|
import MentionItem from './components/MentionItem';
|
|
7
7
|
import MentionList from './components/MentionList';
|
|
8
8
|
import ResourcedMentionList from './components/ResourcedMentionList';
|
|
9
9
|
import { MentionPickerWithAnalytics as MentionPicker } from './components/MentionPicker';
|
|
10
10
|
import Mention from './components/Mention';
|
|
11
11
|
import ResourcedMention from './components/Mention/ResourcedMention';
|
|
12
|
-
import { MentionDescription, MentionsResult, MentionNameStatus, MentionNameDetails,
|
|
12
|
+
import { type MentionDescription, type MentionsResult, MentionNameStatus, type MentionNameDetails, type InviteFlow, isSpecialMention, type TeamMember, UserAccessLevel, type UserRole, UserType } from './types';
|
|
13
13
|
import { ELEMENTS_CHANNEL } from './_constants';
|
|
14
14
|
import ContextMentionResource from './api/ContextMentionResource';
|
|
15
15
|
export { ContextMentionResource, MentionResource, TeamMentionResource, PresenceResource, DefaultMentionNameResolver, AbstractMentionResource, AbstractPresenceResource, MentionNameStatus, MentionItem, MentionList, ResourcedMentionList, MentionPicker, Mention, ResourcedMention, UserAccessLevel, UserType, isSpecialMention, isResolvingMentionProvider, ELEMENTS_CHANNEL, };
|
|
16
|
-
export type { ResolvingMentionProvider, MentionProvider, PresenceProvider, MentionDescription, MentionsResult, MentionNameResolver, MentionNameClient, MentionNameDetails, MentionContextIdentifier, MentionStats, TeamMember, MentionResourceConfig, TeamMentionResourceConfig,
|
|
16
|
+
export type { ResolvingMentionProvider, MentionProvider, PresenceProvider, MentionDescription, MentionsResult, MentionNameResolver, MentionNameClient, MentionNameDetails, MentionContextIdentifier, MentionStats, TeamMember, MentionResourceConfig, TeamMentionResourceConfig, InviteFlow, UserRole, };
|
|
17
17
|
export default MentionPicker;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
import { ServiceConfig } from '@atlaskit/util-service-support/types';
|
|
1
|
+
import { type SyntheticEvent } from 'react';
|
|
2
|
+
import { type ServiceConfig } from '@atlaskit/util-service-support/types';
|
|
3
3
|
export interface MentionNameResolver {
|
|
4
4
|
lookupName(id: string): Promise<MentionNameDetails> | MentionNameDetails;
|
|
5
5
|
cacheName(id: string, name: string): void;
|
|
@@ -25,7 +25,6 @@ export interface MentionResourceConfig extends ServiceConfig {
|
|
|
25
25
|
containerId?: string;
|
|
26
26
|
productId?: string;
|
|
27
27
|
shouldHighlightMention?: (mention: MentionDescription) => boolean;
|
|
28
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
29
28
|
mentionNameResolver?: MentionNameResolver;
|
|
30
29
|
shouldEnableInvite?: boolean;
|
|
31
30
|
onInviteItemClick?: (flow: InviteFlow) => void;
|
|
@@ -158,11 +157,9 @@ export declare function isSpecialMentionText(mentionText: string): boolean | "";
|
|
|
158
157
|
export declare const isPromise: <T>(p: any) => p is Promise<T>;
|
|
159
158
|
export type InviteFlow = 'mention' | 'assign';
|
|
160
159
|
export type UserRole = 'admin' | 'trusted' | 'basic';
|
|
161
|
-
export type InviteExperimentCohort = 'variation' | 'control' | 'not-enrolled';
|
|
162
160
|
export interface InviteFromMentionProvider {
|
|
163
161
|
productName?: string;
|
|
164
162
|
shouldEnableInvite?: boolean;
|
|
165
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
166
163
|
onInviteItemClick?(flow: InviteFlow): void;
|
|
167
164
|
userRole?: UserRole;
|
|
168
165
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnalyticsCallback, ErrorCallback, InfoCallback,
|
|
1
|
+
import { type AnalyticsCallback, type ErrorCallback, type InfoCallback, type InviteFlow, type MentionContextIdentifier, type MentionDescription, type MentionNameDetails, type MentionProvider, type MentionResourceConfig, type MentionsResult, type MentionStats, type ResourceProvider, type ResultCallback, type UserRole } from '../types';
|
|
2
2
|
export type { MentionStats, ResultCallback, ErrorCallback, InfoCallback, MentionResourceConfig, ResourceProvider, MentionContextIdentifier, MentionProvider, } from '../types';
|
|
3
3
|
export interface TeamMentionResourceConfig extends MentionResourceConfig {
|
|
4
4
|
teamLinkResolver?: (teamId: string) => string;
|
|
@@ -43,7 +43,6 @@ export declare class MentionResource extends AbstractMentionResource implements
|
|
|
43
43
|
private activeSearches;
|
|
44
44
|
productName?: string;
|
|
45
45
|
shouldEnableInvite: boolean;
|
|
46
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
47
46
|
userRole: UserRole;
|
|
48
47
|
onInviteItemClick?: (flow: InviteFlow) => void;
|
|
49
48
|
constructor(config: MentionResourceConfig);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ConcurrentExperience } from '@atlaskit/ufo';
|
|
3
3
|
export declare const mentionRenderedUfoExperience: ConcurrentExperience;
|
|
4
|
-
export declare class UfoErrorBoundary extends React.Component<{
|
|
4
|
+
export declare class UfoErrorBoundary extends React.Component<React.PropsWithChildren<{
|
|
5
5
|
id: string;
|
|
6
|
-
}
|
|
6
|
+
}>> {
|
|
7
7
|
componentDidCatch(): void;
|
|
8
8
|
render(): React.ReactNode;
|
|
9
9
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import MentionResource, { AbstractMentionResource, MentionContextIdentifier, MentionProvider, ResolvingMentionProvider, MentionStats, MentionResourceConfig, TeamMentionResourceConfig, isResolvingMentionProvider } from './api/MentionResource';
|
|
1
|
+
import MentionResource, { AbstractMentionResource, type MentionContextIdentifier, type MentionProvider, type ResolvingMentionProvider, type MentionStats, type MentionResourceConfig, type TeamMentionResourceConfig, isResolvingMentionProvider } from './api/MentionResource';
|
|
2
2
|
import TeamMentionResource from './api/TeamMentionResource';
|
|
3
|
-
import PresenceResource, { PresenceProvider, AbstractPresenceResource } from './api/PresenceResource';
|
|
4
|
-
import { DefaultMentionNameResolver, MentionNameResolver } from './api/MentionNameResolver';
|
|
5
|
-
import { MentionNameClient } from './api/MentionNameClient';
|
|
3
|
+
import PresenceResource, { type PresenceProvider, AbstractPresenceResource } from './api/PresenceResource';
|
|
4
|
+
import { DefaultMentionNameResolver, type MentionNameResolver } from './api/MentionNameResolver';
|
|
5
|
+
import { type MentionNameClient } from './api/MentionNameClient';
|
|
6
6
|
import MentionItem from './components/MentionItem';
|
|
7
7
|
import MentionList from './components/MentionList';
|
|
8
8
|
import ResourcedMentionList from './components/ResourcedMentionList';
|
|
9
9
|
import { MentionPickerWithAnalytics as MentionPicker } from './components/MentionPicker';
|
|
10
10
|
import Mention from './components/Mention';
|
|
11
11
|
import ResourcedMention from './components/Mention/ResourcedMention';
|
|
12
|
-
import { MentionDescription, MentionsResult, MentionNameStatus, MentionNameDetails,
|
|
12
|
+
import { type MentionDescription, type MentionsResult, MentionNameStatus, type MentionNameDetails, type InviteFlow, isSpecialMention, type TeamMember, UserAccessLevel, type UserRole, UserType } from './types';
|
|
13
13
|
import { ELEMENTS_CHANNEL } from './_constants';
|
|
14
14
|
import ContextMentionResource from './api/ContextMentionResource';
|
|
15
15
|
export { ContextMentionResource, MentionResource, TeamMentionResource, PresenceResource, DefaultMentionNameResolver, AbstractMentionResource, AbstractPresenceResource, MentionNameStatus, MentionItem, MentionList, ResourcedMentionList, MentionPicker, Mention, ResourcedMention, UserAccessLevel, UserType, isSpecialMention, isResolvingMentionProvider, ELEMENTS_CHANNEL, };
|
|
16
|
-
export type { ResolvingMentionProvider, MentionProvider, PresenceProvider, MentionDescription, MentionsResult, MentionNameResolver, MentionNameClient, MentionNameDetails, MentionContextIdentifier, MentionStats, TeamMember, MentionResourceConfig, TeamMentionResourceConfig,
|
|
16
|
+
export type { ResolvingMentionProvider, MentionProvider, PresenceProvider, MentionDescription, MentionsResult, MentionNameResolver, MentionNameClient, MentionNameDetails, MentionContextIdentifier, MentionStats, TeamMember, MentionResourceConfig, TeamMentionResourceConfig, InviteFlow, UserRole, };
|
|
17
17
|
export default MentionPicker;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
import { ServiceConfig } from '@atlaskit/util-service-support/types';
|
|
1
|
+
import { type SyntheticEvent } from 'react';
|
|
2
|
+
import { type ServiceConfig } from '@atlaskit/util-service-support/types';
|
|
3
3
|
export interface MentionNameResolver {
|
|
4
4
|
lookupName(id: string): Promise<MentionNameDetails> | MentionNameDetails;
|
|
5
5
|
cacheName(id: string, name: string): void;
|
|
@@ -25,7 +25,6 @@ export interface MentionResourceConfig extends ServiceConfig {
|
|
|
25
25
|
containerId?: string;
|
|
26
26
|
productId?: string;
|
|
27
27
|
shouldHighlightMention?: (mention: MentionDescription) => boolean;
|
|
28
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
29
28
|
mentionNameResolver?: MentionNameResolver;
|
|
30
29
|
shouldEnableInvite?: boolean;
|
|
31
30
|
onInviteItemClick?: (flow: InviteFlow) => void;
|
|
@@ -158,11 +157,9 @@ export declare function isSpecialMentionText(mentionText: string): boolean | "";
|
|
|
158
157
|
export declare const isPromise: <T>(p: any) => p is Promise<T>;
|
|
159
158
|
export type InviteFlow = 'mention' | 'assign';
|
|
160
159
|
export type UserRole = 'admin' | 'trusted' | 'basic';
|
|
161
|
-
export type InviteExperimentCohort = 'variation' | 'control' | 'not-enrolled';
|
|
162
160
|
export interface InviteFromMentionProvider {
|
|
163
161
|
productName?: string;
|
|
164
162
|
shouldEnableInvite?: boolean;
|
|
165
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
166
163
|
onInviteItemClick?(flow: InviteFlow): void;
|
|
167
164
|
userRole?: UserRole;
|
|
168
165
|
}
|
package/element/package.json
CHANGED
package/i18n/package.json
CHANGED
package/item/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/mention",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.3",
|
|
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/"
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
40
|
-
"@atlaskit/analytics-next": "^9.
|
|
41
|
-
"@atlaskit/avatar": "^21.
|
|
42
|
-
"@atlaskit/focus-ring": "^1.
|
|
40
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
41
|
+
"@atlaskit/avatar": "^21.8.0",
|
|
42
|
+
"@atlaskit/focus-ring": "^1.4.0",
|
|
43
43
|
"@atlaskit/icon": "^22.1.0",
|
|
44
|
-
"@atlaskit/lozenge": "^11.
|
|
45
|
-
"@atlaskit/theme": "^12.
|
|
46
|
-
"@atlaskit/tokens": "^1.
|
|
47
|
-
"@atlaskit/tooltip": "^18.
|
|
44
|
+
"@atlaskit/lozenge": "^11.7.0",
|
|
45
|
+
"@atlaskit/theme": "^12.8.0",
|
|
46
|
+
"@atlaskit/tokens": "^1.48.0",
|
|
47
|
+
"@atlaskit/tooltip": "^18.3.0",
|
|
48
48
|
"@atlaskit/ufo": "^0.2.0",
|
|
49
49
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"react-dom": "^16.8.0",
|
|
75
75
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
76
76
|
"serialize-javascript": "^5.0.1",
|
|
77
|
-
"typescript": "~4.
|
|
77
|
+
"typescript": "~5.4.2"
|
|
78
78
|
},
|
|
79
79
|
"keywords": [
|
|
80
80
|
"ui",
|
|
@@ -103,4 +103,4 @@
|
|
|
103
103
|
"./typeahead": "./src/typeahead.ts",
|
|
104
104
|
"./types": "./src/types.ts"
|
|
105
105
|
}
|
|
106
|
-
}
|
|
106
|
+
}
|
package/report.api.md
CHANGED
|
@@ -221,16 +221,11 @@ interface InfoCallback {
|
|
|
221
221
|
(info: string): void;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
// @public (undocumented)
|
|
225
|
-
export type InviteExperimentCohort = 'control' | 'not-enrolled' | 'variation';
|
|
226
|
-
|
|
227
224
|
// @public (undocumented)
|
|
228
225
|
export type InviteFlow = 'assign' | 'mention';
|
|
229
226
|
|
|
230
227
|
// @public (undocumented)
|
|
231
228
|
interface InviteFromMentionProvider {
|
|
232
|
-
// (undocumented)
|
|
233
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
234
229
|
// (undocumented)
|
|
235
230
|
onInviteItemClick?(flow: InviteFlow): void;
|
|
236
231
|
// (undocumented)
|
|
@@ -509,8 +504,6 @@ export class MentionResource
|
|
|
509
504
|
contextIdentifier?: MentionContextIdentifier,
|
|
510
505
|
): Promise<void>;
|
|
511
506
|
// (undocumented)
|
|
512
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
513
|
-
// (undocumented)
|
|
514
507
|
isFiltering(query: string): boolean;
|
|
515
508
|
// (undocumented)
|
|
516
509
|
notify(
|
|
@@ -567,8 +560,6 @@ export interface MentionResourceConfig extends ServiceConfig {
|
|
|
567
560
|
// (undocumented)
|
|
568
561
|
debounceTime?: number;
|
|
569
562
|
// (undocumented)
|
|
570
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
571
|
-
// (undocumented)
|
|
572
563
|
mentionNameResolver?: MentionNameResolver;
|
|
573
564
|
// (undocumented)
|
|
574
565
|
onInviteItemClick?: (flow: InviteFlow) => void;
|
package/resource/package.json
CHANGED
package/typeahead/package.json
CHANGED