@atlaskit/mention 24.4.8 → 24.4.10
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.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`24eaee764c0df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24eaee764c0df) -
|
|
8
|
+
[ux] Inline invites for mentions in editor.
|
|
9
|
+
|
|
10
|
+
## 24.4.9
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 24.4.8
|
|
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 = "
|
|
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 = "
|
|
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 = "
|
|
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) {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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,14 +24,14 @@
|
|
|
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.
|
|
27
|
+
"@atlaskit/heading": "^5.3.0",
|
|
28
28
|
"@atlaskit/icon": "^30.0.0",
|
|
29
|
-
"@atlaskit/lozenge": "^13.
|
|
29
|
+
"@atlaskit/lozenge": "^13.4.0",
|
|
30
30
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
31
|
-
"@atlaskit/primitives": "^
|
|
31
|
+
"@atlaskit/primitives": "^18.0.0",
|
|
32
32
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
33
33
|
"@atlaskit/theme": "^21.0.0",
|
|
34
|
-
"@atlaskit/tokens": "^
|
|
34
|
+
"@atlaskit/tokens": "^11.0.0",
|
|
35
35
|
"@atlaskit/tooltip": "^20.14.0",
|
|
36
36
|
"@atlaskit/ufo": "^0.4.0",
|
|
37
37
|
"@atlaskit/util-service-support": "^6.3.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.
|
|
50
|
+
"@atlassian/a11y-jest-testing": "^0.9.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.
|
|
115
|
+
"version": "24.4.10"
|
|
116
116
|
}
|