@atlaskit/editor-plugin-mentions 9.3.5 → 9.3.6
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 9.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f80d1f0c9b54b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f80d1f0c9b54b) -
|
|
8
|
+
fallback to old invite CTA when emailDomain not present
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 9.3.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -44,7 +44,7 @@ var createInviteItem = function createInviteItem(_ref) {
|
|
|
44
44
|
var isSelected = _ref2.isSelected,
|
|
45
45
|
onClick = _ref2.onClick,
|
|
46
46
|
onHover = _ref2.onHover;
|
|
47
|
-
return (_mentionProvider$getS = mentionProvider.getShouldEnableInlineInvite) !== null && _mentionProvider$getS !== void 0 && _mentionProvider$getS.call(mentionProvider) && (0, _platformFeatureFlags.fg)('jira_invites_auto_tag_new_user_in_mentions_fg') ? /*#__PURE__*/_react.default.createElement(_InviteItemWithEmailDomain.default, {
|
|
47
|
+
return emailDomain && (_mentionProvider$getS = mentionProvider.getShouldEnableInlineInvite) !== null && _mentionProvider$getS !== void 0 && _mentionProvider$getS.call(mentionProvider) && (0, _platformFeatureFlags.fg)('jira_invites_auto_tag_new_user_in_mentions_fg') ? /*#__PURE__*/_react.default.createElement(_InviteItemWithEmailDomain.default, {
|
|
48
48
|
productName: mentionProvider ? mentionProvider.productName : undefined,
|
|
49
49
|
selected: isSelected,
|
|
50
50
|
onMount: onInviteItemMount,
|
|
@@ -29,7 +29,7 @@ const createInviteItem = ({
|
|
|
29
29
|
onHover
|
|
30
30
|
}) => {
|
|
31
31
|
var _mentionProvider$getS;
|
|
32
|
-
return (_mentionProvider$getS = mentionProvider.getShouldEnableInlineInvite) !== null && _mentionProvider$getS !== void 0 && _mentionProvider$getS.call(mentionProvider) && fg('jira_invites_auto_tag_new_user_in_mentions_fg') ? /*#__PURE__*/React.createElement(InviteItemWithEmailDomain, {
|
|
32
|
+
return emailDomain && (_mentionProvider$getS = mentionProvider.getShouldEnableInlineInvite) !== null && _mentionProvider$getS !== void 0 && _mentionProvider$getS.call(mentionProvider) && fg('jira_invites_auto_tag_new_user_in_mentions_fg') ? /*#__PURE__*/React.createElement(InviteItemWithEmailDomain, {
|
|
33
33
|
productName: mentionProvider ? mentionProvider.productName : undefined,
|
|
34
34
|
selected: isSelected,
|
|
35
35
|
onMount: onInviteItemMount,
|
|
@@ -35,7 +35,7 @@ var createInviteItem = function createInviteItem(_ref) {
|
|
|
35
35
|
var isSelected = _ref2.isSelected,
|
|
36
36
|
onClick = _ref2.onClick,
|
|
37
37
|
onHover = _ref2.onHover;
|
|
38
|
-
return (_mentionProvider$getS = mentionProvider.getShouldEnableInlineInvite) !== null && _mentionProvider$getS !== void 0 && _mentionProvider$getS.call(mentionProvider) && fg('jira_invites_auto_tag_new_user_in_mentions_fg') ? /*#__PURE__*/React.createElement(InviteItemWithEmailDomain, {
|
|
38
|
+
return emailDomain && (_mentionProvider$getS = mentionProvider.getShouldEnableInlineInvite) !== null && _mentionProvider$getS !== void 0 && _mentionProvider$getS.call(mentionProvider) && fg('jira_invites_auto_tag_new_user_in_mentions_fg') ? /*#__PURE__*/React.createElement(InviteItemWithEmailDomain, {
|
|
39
39
|
productName: mentionProvider ? mentionProvider.productName : undefined,
|
|
40
40
|
selected: isSelected,
|
|
41
41
|
onMount: onInviteItemMount,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.6",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^52.
|
|
32
|
+
"@atlaskit/adf-schema": "^52.1.0",
|
|
33
33
|
"@atlaskit/css": "^0.19.0",
|
|
34
34
|
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-base": "^8.0.0",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@atlaskit/popper": "^7.1.0",
|
|
46
46
|
"@atlaskit/portal": "^5.2.0",
|
|
47
47
|
"@atlaskit/primitives": "^18.0.0",
|
|
48
|
-
"@atlaskit/profilecard": "^24.
|
|
48
|
+
"@atlaskit/profilecard": "^24.38.0",
|
|
49
49
|
"@atlaskit/theme": "^21.0.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^32.
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^32.4.0",
|
|
51
51
|
"@atlaskit/tokens": "^11.0.0",
|
|
52
52
|
"@atlaskit/user-picker": "^11.23.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"uuid": "^3.1.0"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@atlaskit/editor-common": "^111.
|
|
60
|
+
"@atlaskit/editor-common": "^111.21.0",
|
|
61
61
|
"react": "^18.2.0",
|
|
62
62
|
"react-dom": "^18.2.0",
|
|
63
63
|
"react-intl-next": "npm:react-intl@^5.18.1"
|