@atlaskit/mention 24.2.3 → 24.2.5
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 +14 -0
- package/afm-volt/tsconfig.json +66 -0
- package/dist/cjs/components/Mention/ResourcedMention.js +2 -1
- package/dist/cjs/components/Mention/index.js +7 -2
- package/dist/cjs/i18n/hr.js +28 -0
- package/dist/cjs/i18n/sl.js +28 -0
- package/dist/cjs/i18n/sr_RS.js +28 -0
- package/dist/cjs/i18n/sr_YR.js +28 -0
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/components/Mention/ResourcedMention.js +2 -1
- package/dist/es2019/components/Mention/index.js +7 -2
- package/dist/es2019/i18n/hr.js +22 -0
- package/dist/es2019/i18n/sl.js +22 -0
- package/dist/es2019/i18n/sr_RS.js +22 -0
- package/dist/es2019/i18n/sr_YR.js +22 -0
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/components/Mention/ResourcedMention.js +2 -1
- package/dist/esm/components/Mention/index.js +7 -2
- package/dist/esm/i18n/hr.js +22 -0
- package/dist/esm/i18n/sl.js +22 -0
- package/dist/esm/i18n/sr_RS.js +22 -0
- package/dist/esm/i18n/sr_YR.js +22 -0
- package/dist/esm/util/analytics.js +1 -1
- package/dist/types/components/Mention/ResourcedMention.d.ts +1 -0
- package/dist/types/components/Mention/index.d.ts +1 -0
- package/dist/types/i18n/hr.d.ts +21 -0
- package/dist/types/i18n/sl.d.ts +21 -0
- package/dist/types/i18n/sr_RS.d.ts +21 -0
- package/dist/types/i18n/sr_YR.d.ts +21 -0
- package/dist/types-ts4.5/components/Mention/ResourcedMention.d.ts +1 -0
- package/dist/types-ts4.5/components/Mention/index.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hr.d.ts +21 -0
- package/dist/types-ts4.5/i18n/sl.d.ts +21 -0
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +21 -0
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +21 -0
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 24.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 24.2.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#173636](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/173636)
|
|
14
|
+
[`22b85a186fb8a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22b85a186fb8a) -
|
|
15
|
+
SSR placeholder for mention profile card trigger
|
|
16
|
+
|
|
3
17
|
## 24.2.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.volt.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../volt/tsDist/@atlaskit__mention/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-gas-types/afm-volt/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../analytics/analytics-next/afm-volt/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../design-system/avatar/afm-volt/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../design-system/focus-ring/afm-volt/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/heading/afm-volt/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../design-system/icon/afm-volt/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/lozenge/afm-volt/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../platform/feature-flags/afm-volt/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../../design-system/primitives/afm-volt/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../people-and-teams/teams-avatar/afm-volt/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../../design-system/theme/afm-volt/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../design-system/tokens/afm-volt/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../../design-system/tooltip/afm-volt/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../../data/ufo-external/afm-volt/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../util-service-support/afm-volt/tsconfig.json"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -124,7 +124,8 @@ var ResourcedMention = exports.default = /*#__PURE__*/function (_React$PureCompo
|
|
|
124
124
|
localId: props.localId,
|
|
125
125
|
onClick: props.onClick,
|
|
126
126
|
onMouseEnter: props.onMouseEnter,
|
|
127
|
-
onMouseLeave: props.onMouseLeave
|
|
127
|
+
onMouseLeave: props.onMouseLeave,
|
|
128
|
+
ssrPlaceholderId: props.ssrPlaceholderId
|
|
128
129
|
});
|
|
129
130
|
}
|
|
130
131
|
}]);
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.UNKNOWN_USER_ID = exports.MentionInternal = exports.ANALYTICS_HOVER_DELAY = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
9
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
11
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
@@ -13,6 +14,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
13
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
14
15
|
var _react = _interopRequireDefault(require("react"));
|
|
15
16
|
var _focusRing = _interopRequireDefault(require("@atlaskit/focus-ring"));
|
|
17
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
18
|
var _MessagesIntlProvider = _interopRequireDefault(require("../MessagesIntlProvider"));
|
|
17
19
|
var _PrimitiveMention = _interopRequireDefault(require("./PrimitiveMention"));
|
|
18
20
|
var _NoAccessTooltip = _interopRequireDefault(require("../NoAccessTooltip"));
|
|
@@ -135,15 +137,18 @@ var MentionInternal = exports.MentionInternal = /*#__PURE__*/function (_React$Pu
|
|
|
135
137
|
"data-mention-type": mentionType,
|
|
136
138
|
"data-mention-tooltip": showTooltip
|
|
137
139
|
}, failedMention ? this.renderUnknownUserError(id) : text || '@...'));
|
|
140
|
+
var ssrPlaceholderProp = (0, _platformFeatureFlags.fg)('cc_mention_ssr_placeholder') ? {
|
|
141
|
+
'data-ssr-placeholder': props.ssrPlaceholderId
|
|
142
|
+
} : {};
|
|
138
143
|
return /*#__PURE__*/_react.default.createElement(_ufoExperiences.UfoErrorBoundary, {
|
|
139
144
|
id: id
|
|
140
|
-
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
145
|
+
}, /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({
|
|
141
146
|
id: localId,
|
|
142
147
|
"data-mention-id": id,
|
|
143
148
|
"data-local-id": localId,
|
|
144
149
|
"data-access-level": accessLevel,
|
|
145
150
|
spellCheck: false
|
|
146
|
-
}, /*#__PURE__*/_react.default.createElement(_MessagesIntlProvider.default, null, showTooltip ? /*#__PURE__*/_react.default.createElement(_react.default.Suspense, {
|
|
151
|
+
}, ssrPlaceholderProp), /*#__PURE__*/_react.default.createElement(_MessagesIntlProvider.default, null, showTooltip ? /*#__PURE__*/_react.default.createElement(_react.default.Suspense, {
|
|
147
152
|
fallback: mentionComponent
|
|
148
153
|
}, /*#__PURE__*/_react.default.createElement(_NoAccessTooltip.default, {
|
|
149
154
|
name: text
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE:
|
|
10
|
+
*
|
|
11
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
|
+
*/
|
|
14
|
+
//Croatian (Croatia) [hr-HR]
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.elements.mentions.team.member.50plus': 'Tim • 50+ članova',
|
|
17
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Tim • 50+ članova, uključujući tebe',
|
|
18
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Tim • 1 član} few {Tim • {0} člana} many {Tim • {0} članova} other {Tim • {0} članova}}',
|
|
19
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Tim • 1 član, uključujući tebe} few {Tim • {0} člana, uključujući tebe} many {Tim • {0} članova, uključujući tebe} other {Tim • {0} članova, uključujući tebe}}',
|
|
20
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potreban je pristup Confluenceu',
|
|
21
|
+
'fabric.mention.error.defaultAction': 'Pokušaj ponovno za nekoliko sekundi',
|
|
22
|
+
'fabric.mention.error.defaultHeadline': 'Nešto nije u redu',
|
|
23
|
+
'fabric.mention.error.differentText': 'Pokušaj unijeti drugi tekst',
|
|
24
|
+
'fabric.mention.error.loginAgain': 'Pokušaj se odjaviti, a zatim se ponovno prijaviti',
|
|
25
|
+
'fabric.mention.noAccess.label': 'Nema pristupa',
|
|
26
|
+
'fabric.mention.noAccess.warning': '{name} neće biti obaviješten jer nema pristup',
|
|
27
|
+
'fabric.mention.unknow.user.error': 'Nepoznati korisnik {userId}'
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE:
|
|
10
|
+
*
|
|
11
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
|
+
*/
|
|
14
|
+
//Slovenian (Slovenia) [sl-SI]
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.elements.mentions.team.member.50plus': 'Ekipa • Več kot 50 članov',
|
|
17
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Ekipa • Več kot 50 članov, vključno z vami',
|
|
18
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Ekipa • 1 član} two {Ekipa • {0} člana} few {Ekipa • {0} člani} other {Ekipa • {0} članov}}',
|
|
19
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Ekipa • 1 član, vključno z vami} two {Ekipa • {0} člana, vključno z vami} few {Ekipa • {0} člani, vključno z vami} other {Ekipa • {0} članov, vključno z vami}}',
|
|
20
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potrebuje dostop do storitve Confluence',
|
|
21
|
+
'fabric.mention.error.defaultAction': 'Poskusite znova čez nekaj sekund',
|
|
22
|
+
'fabric.mention.error.defaultHeadline': 'Prišlo je do napake',
|
|
23
|
+
'fabric.mention.error.differentText': 'Poskusite vnesti drugo besedilo',
|
|
24
|
+
'fabric.mention.error.loginAgain': 'Poskusite se odjaviti in se znova prijaviti',
|
|
25
|
+
'fabric.mention.noAccess.label': 'Ni dostopa',
|
|
26
|
+
'fabric.mention.noAccess.warning': 'Oseba {name} ne bo obveščana, ker nima dostopa',
|
|
27
|
+
'fabric.mention.unknow.user.error': 'Neznani uporabnik {userId}'
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE:
|
|
10
|
+
*
|
|
11
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
|
+
*/
|
|
14
|
+
//Serbian (Serbia) [sr-RS]
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.elements.mentions.team.member.50plus': 'Tim • više od 50 članova',
|
|
17
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Tim • više od 50 članova, uključujući vas',
|
|
18
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Tim • 1 član} few {Tim • {0} člana} many {Tim • {0} članova} other {Tim • {0} članova}}',
|
|
19
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Tim • 1 član, uključujući vas} few {Tim • {0} člana, uključujući vas} many {Tim • {0} članova, uključujući vas} other {Tim • {0} članova, uključujući vas}}',
|
|
20
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potreban pristup za Confluence',
|
|
21
|
+
'fabric.mention.error.defaultAction': 'Probajte ponovo za nekoliko sekundi',
|
|
22
|
+
'fabric.mention.error.defaultHeadline': 'Došlo je do greške',
|
|
23
|
+
'fabric.mention.error.differentText': 'Probajte da unesete drugi tekst',
|
|
24
|
+
'fabric.mention.error.loginAgain': 'Probajte da se odjavite i prijavite',
|
|
25
|
+
'fabric.mention.noAccess.label': 'Nema pristupa',
|
|
26
|
+
'fabric.mention.noAccess.warning': 'Korisnik {name} neće biti obavešten jer nema pristup',
|
|
27
|
+
'fabric.mention.unknow.user.error': 'Nepoznat korisnik {userId}'
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE:
|
|
10
|
+
*
|
|
11
|
+
* This file is automatically generated by Traduki 2.0.
|
|
12
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
13
|
+
*/
|
|
14
|
+
//Serbian (Cyrillic) [sr-YR]
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.elements.mentions.team.member.50plus': 'Тим • више од 50 чланова',
|
|
17
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Тим • више од 50 чланова, укључујући вас',
|
|
18
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Тим • 1 члан} other {Тим • {0} члана/ова}}',
|
|
19
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Тим • 1 члан, укључујући вас} other {Тим • {0} члана/ова, укључујући вас}}',
|
|
20
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Потребан приступ за Confluence',
|
|
21
|
+
'fabric.mention.error.defaultAction': 'Пробајте поново за неколико секунди',
|
|
22
|
+
'fabric.mention.error.defaultHeadline': 'Дошло је до грешке',
|
|
23
|
+
'fabric.mention.error.differentText': 'Пробајте да унесете други текст',
|
|
24
|
+
'fabric.mention.error.loginAgain': 'Пробајте да се одјавите и пријавите',
|
|
25
|
+
'fabric.mention.noAccess.label': 'Нема приступа',
|
|
26
|
+
'fabric.mention.noAccess.warning': 'Корисник {name} неће бити обавештен јер нема приступ',
|
|
27
|
+
'fabric.mention.unknow.user.error': 'Непознат корисник {userId}'
|
|
28
|
+
};
|
|
@@ -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.2.
|
|
15
|
+
var packageVersion = "24.2.4";
|
|
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) {
|
|
@@ -98,7 +98,8 @@ export default class ResourcedMention extends React.PureComponent {
|
|
|
98
98
|
localId: props.localId,
|
|
99
99
|
onClick: props.onClick,
|
|
100
100
|
onMouseEnter: props.onMouseEnter,
|
|
101
|
-
onMouseLeave: props.onMouseLeave
|
|
101
|
+
onMouseLeave: props.onMouseLeave,
|
|
102
|
+
ssrPlaceholderId: props.ssrPlaceholderId
|
|
102
103
|
});
|
|
103
104
|
}
|
|
104
105
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import FocusRing from '@atlaskit/focus-ring';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
6
|
import MessagesIntlProvider from '../MessagesIntlProvider';
|
|
5
7
|
import PrimitiveMention from './PrimitiveMention';
|
|
6
8
|
import AsyncNoAccessTooltip from '../NoAccessTooltip';
|
|
@@ -115,15 +117,18 @@ export class MentionInternal extends React.PureComponent {
|
|
|
115
117
|
"data-mention-type": mentionType,
|
|
116
118
|
"data-mention-tooltip": showTooltip
|
|
117
119
|
}, failedMention ? this.renderUnknownUserError(id) : text || '@...'));
|
|
120
|
+
const ssrPlaceholderProp = fg('cc_mention_ssr_placeholder') ? {
|
|
121
|
+
'data-ssr-placeholder': props.ssrPlaceholderId
|
|
122
|
+
} : {};
|
|
118
123
|
return /*#__PURE__*/React.createElement(UfoErrorBoundary, {
|
|
119
124
|
id: id
|
|
120
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
125
|
+
}, /*#__PURE__*/React.createElement("span", _extends({
|
|
121
126
|
id: localId,
|
|
122
127
|
"data-mention-id": id,
|
|
123
128
|
"data-local-id": localId,
|
|
124
129
|
"data-access-level": accessLevel,
|
|
125
130
|
spellCheck: false
|
|
126
|
-
}, /*#__PURE__*/React.createElement(MessagesIntlProvider, null, showTooltip ? /*#__PURE__*/React.createElement(React.Suspense, {
|
|
131
|
+
}, ssrPlaceholderProp), /*#__PURE__*/React.createElement(MessagesIntlProvider, null, showTooltip ? /*#__PURE__*/React.createElement(React.Suspense, {
|
|
127
132
|
fallback: mentionComponent
|
|
128
133
|
}, /*#__PURE__*/React.createElement(AsyncNoAccessTooltip, {
|
|
129
134
|
name: text
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Croatian (Croatia) [hr-HR]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Tim • 50+ članova',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Tim • 50+ članova, uključujući tebe',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Tim • 1 član} few {Tim • {0} člana} many {Tim • {0} članova} other {Tim • {0} članova}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Tim • 1 član, uključujući tebe} few {Tim • {0} člana, uključujući tebe} many {Tim • {0} članova, uključujući tebe} other {Tim • {0} članova, uključujući tebe}}',
|
|
14
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potreban je pristup Confluenceu',
|
|
15
|
+
'fabric.mention.error.defaultAction': 'Pokušaj ponovno za nekoliko sekundi',
|
|
16
|
+
'fabric.mention.error.defaultHeadline': 'Nešto nije u redu',
|
|
17
|
+
'fabric.mention.error.differentText': 'Pokušaj unijeti drugi tekst',
|
|
18
|
+
'fabric.mention.error.loginAgain': 'Pokušaj se odjaviti, a zatim se ponovno prijaviti',
|
|
19
|
+
'fabric.mention.noAccess.label': 'Nema pristupa',
|
|
20
|
+
'fabric.mention.noAccess.warning': '{name} neće biti obaviješten jer nema pristup',
|
|
21
|
+
'fabric.mention.unknow.user.error': 'Nepoznati korisnik {userId}'
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Slovenian (Slovenia) [sl-SI]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Ekipa • Več kot 50 članov',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Ekipa • Več kot 50 članov, vključno z vami',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Ekipa • 1 član} two {Ekipa • {0} člana} few {Ekipa • {0} člani} other {Ekipa • {0} članov}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Ekipa • 1 član, vključno z vami} two {Ekipa • {0} člana, vključno z vami} few {Ekipa • {0} člani, vključno z vami} other {Ekipa • {0} članov, vključno z vami}}',
|
|
14
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potrebuje dostop do storitve Confluence',
|
|
15
|
+
'fabric.mention.error.defaultAction': 'Poskusite znova čez nekaj sekund',
|
|
16
|
+
'fabric.mention.error.defaultHeadline': 'Prišlo je do napake',
|
|
17
|
+
'fabric.mention.error.differentText': 'Poskusite vnesti drugo besedilo',
|
|
18
|
+
'fabric.mention.error.loginAgain': 'Poskusite se odjaviti in se znova prijaviti',
|
|
19
|
+
'fabric.mention.noAccess.label': 'Ni dostopa',
|
|
20
|
+
'fabric.mention.noAccess.warning': 'Oseba {name} ne bo obveščana, ker nima dostopa',
|
|
21
|
+
'fabric.mention.unknow.user.error': 'Neznani uporabnik {userId}'
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Serbia) [sr-RS]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Tim • više od 50 članova',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Tim • više od 50 članova, uključujući vas',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Tim • 1 član} few {Tim • {0} člana} many {Tim • {0} članova} other {Tim • {0} članova}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Tim • 1 član, uključujući vas} few {Tim • {0} člana, uključujući vas} many {Tim • {0} članova, uključujući vas} other {Tim • {0} članova, uključujući vas}}',
|
|
14
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potreban pristup za Confluence',
|
|
15
|
+
'fabric.mention.error.defaultAction': 'Probajte ponovo za nekoliko sekundi',
|
|
16
|
+
'fabric.mention.error.defaultHeadline': 'Došlo je do greške',
|
|
17
|
+
'fabric.mention.error.differentText': 'Probajte da unesete drugi tekst',
|
|
18
|
+
'fabric.mention.error.loginAgain': 'Probajte da se odjavite i prijavite',
|
|
19
|
+
'fabric.mention.noAccess.label': 'Nema pristupa',
|
|
20
|
+
'fabric.mention.noAccess.warning': 'Korisnik {name} neće biti obavešten jer nema pristup',
|
|
21
|
+
'fabric.mention.unknow.user.error': 'Nepoznat korisnik {userId}'
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Cyrillic) [sr-YR]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Тим • више од 50 чланова',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Тим • више од 50 чланова, укључујући вас',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Тим • 1 члан} other {Тим • {0} члана/ова}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Тим • 1 члан, укључујући вас} other {Тим • {0} члана/ова, укључујући вас}}',
|
|
14
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Потребан приступ за Confluence',
|
|
15
|
+
'fabric.mention.error.defaultAction': 'Пробајте поново за неколико секунди',
|
|
16
|
+
'fabric.mention.error.defaultHeadline': 'Дошло је до грешке',
|
|
17
|
+
'fabric.mention.error.differentText': 'Пробајте да унесете други текст',
|
|
18
|
+
'fabric.mention.error.loginAgain': 'Пробајте да се одјавите и пријавите',
|
|
19
|
+
'fabric.mention.noAccess.label': 'Нема приступа',
|
|
20
|
+
'fabric.mention.noAccess.warning': 'Корисник {name} неће бити обавештен јер нема приступ',
|
|
21
|
+
'fabric.mention.unknow.user.error': 'Непознат корисник {userId}'
|
|
22
|
+
};
|
|
@@ -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.2.
|
|
5
|
+
const packageVersion = "24.2.4";
|
|
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) => {
|
|
@@ -115,7 +115,8 @@ var ResourcedMention = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
115
115
|
localId: props.localId,
|
|
116
116
|
onClick: props.onClick,
|
|
117
117
|
onMouseEnter: props.onMouseEnter,
|
|
118
|
-
onMouseLeave: props.onMouseLeave
|
|
118
|
+
onMouseLeave: props.onMouseLeave,
|
|
119
|
+
ssrPlaceholderId: props.ssrPlaceholderId
|
|
119
120
|
});
|
|
120
121
|
}
|
|
121
122
|
}]);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -8,6 +9,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
8
9
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
10
|
import React from 'react';
|
|
10
11
|
import FocusRing from '@atlaskit/focus-ring';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
13
|
import MessagesIntlProvider from '../MessagesIntlProvider';
|
|
12
14
|
import PrimitiveMention from './PrimitiveMention';
|
|
13
15
|
import AsyncNoAccessTooltip from '../NoAccessTooltip';
|
|
@@ -128,15 +130,18 @@ export var MentionInternal = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
128
130
|
"data-mention-type": mentionType,
|
|
129
131
|
"data-mention-tooltip": showTooltip
|
|
130
132
|
}, failedMention ? this.renderUnknownUserError(id) : text || '@...'));
|
|
133
|
+
var ssrPlaceholderProp = fg('cc_mention_ssr_placeholder') ? {
|
|
134
|
+
'data-ssr-placeholder': props.ssrPlaceholderId
|
|
135
|
+
} : {};
|
|
131
136
|
return /*#__PURE__*/React.createElement(UfoErrorBoundary, {
|
|
132
137
|
id: id
|
|
133
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
138
|
+
}, /*#__PURE__*/React.createElement("span", _extends({
|
|
134
139
|
id: localId,
|
|
135
140
|
"data-mention-id": id,
|
|
136
141
|
"data-local-id": localId,
|
|
137
142
|
"data-access-level": accessLevel,
|
|
138
143
|
spellCheck: false
|
|
139
|
-
}, /*#__PURE__*/React.createElement(MessagesIntlProvider, null, showTooltip ? /*#__PURE__*/React.createElement(React.Suspense, {
|
|
144
|
+
}, ssrPlaceholderProp), /*#__PURE__*/React.createElement(MessagesIntlProvider, null, showTooltip ? /*#__PURE__*/React.createElement(React.Suspense, {
|
|
140
145
|
fallback: mentionComponent
|
|
141
146
|
}, /*#__PURE__*/React.createElement(AsyncNoAccessTooltip, {
|
|
142
147
|
name: text
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Croatian (Croatia) [hr-HR]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Tim • 50+ članova',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Tim • 50+ članova, uključujući tebe',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Tim • 1 član} few {Tim • {0} člana} many {Tim • {0} članova} other {Tim • {0} članova}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Tim • 1 član, uključujući tebe} few {Tim • {0} člana, uključujući tebe} many {Tim • {0} članova, uključujući tebe} other {Tim • {0} članova, uključujući tebe}}',
|
|
14
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potreban je pristup Confluenceu',
|
|
15
|
+
'fabric.mention.error.defaultAction': 'Pokušaj ponovno za nekoliko sekundi',
|
|
16
|
+
'fabric.mention.error.defaultHeadline': 'Nešto nije u redu',
|
|
17
|
+
'fabric.mention.error.differentText': 'Pokušaj unijeti drugi tekst',
|
|
18
|
+
'fabric.mention.error.loginAgain': 'Pokušaj se odjaviti, a zatim se ponovno prijaviti',
|
|
19
|
+
'fabric.mention.noAccess.label': 'Nema pristupa',
|
|
20
|
+
'fabric.mention.noAccess.warning': '{name} neće biti obaviješten jer nema pristup',
|
|
21
|
+
'fabric.mention.unknow.user.error': 'Nepoznati korisnik {userId}'
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Slovenian (Slovenia) [sl-SI]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Ekipa • Več kot 50 članov',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Ekipa • Več kot 50 članov, vključno z vami',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Ekipa • 1 član} two {Ekipa • {0} člana} few {Ekipa • {0} člani} other {Ekipa • {0} članov}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Ekipa • 1 član, vključno z vami} two {Ekipa • {0} člana, vključno z vami} few {Ekipa • {0} člani, vključno z vami} other {Ekipa • {0} članov, vključno z vami}}',
|
|
14
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potrebuje dostop do storitve Confluence',
|
|
15
|
+
'fabric.mention.error.defaultAction': 'Poskusite znova čez nekaj sekund',
|
|
16
|
+
'fabric.mention.error.defaultHeadline': 'Prišlo je do napake',
|
|
17
|
+
'fabric.mention.error.differentText': 'Poskusite vnesti drugo besedilo',
|
|
18
|
+
'fabric.mention.error.loginAgain': 'Poskusite se odjaviti in se znova prijaviti',
|
|
19
|
+
'fabric.mention.noAccess.label': 'Ni dostopa',
|
|
20
|
+
'fabric.mention.noAccess.warning': 'Oseba {name} ne bo obveščana, ker nima dostopa',
|
|
21
|
+
'fabric.mention.unknow.user.error': 'Neznani uporabnik {userId}'
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Serbia) [sr-RS]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Tim • više od 50 članova',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Tim • više od 50 članova, uključujući vas',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Tim • 1 član} few {Tim • {0} člana} many {Tim • {0} članova} other {Tim • {0} članova}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Tim • 1 član, uključujući vas} few {Tim • {0} člana, uključujući vas} many {Tim • {0} članova, uključujući vas} other {Tim • {0} članova, uključujući vas}}',
|
|
14
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Potreban pristup za Confluence',
|
|
15
|
+
'fabric.mention.error.defaultAction': 'Probajte ponovo za nekoliko sekundi',
|
|
16
|
+
'fabric.mention.error.defaultHeadline': 'Došlo je do greške',
|
|
17
|
+
'fabric.mention.error.differentText': 'Probajte da unesete drugi tekst',
|
|
18
|
+
'fabric.mention.error.loginAgain': 'Probajte da se odjavite i prijavite',
|
|
19
|
+
'fabric.mention.noAccess.label': 'Nema pristupa',
|
|
20
|
+
'fabric.mention.noAccess.warning': 'Korisnik {name} neće biti obavešten jer nema pristup',
|
|
21
|
+
'fabric.mention.unknow.user.error': 'Nepoznat korisnik {userId}'
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Serbian (Cyrillic) [sr-YR]
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Тим • више од 50 чланова',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Тим • више од 50 чланова, укључујући вас',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Тим • 1 члан} other {Тим • {0} члана/ова}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Тим • 1 члан, укључујући вас} other {Тим • {0} члана/ова, укључујући вас}}',
|
|
14
|
+
'fabric.elements.mentions.xproduct.mention.description': 'Потребан приступ за Confluence',
|
|
15
|
+
'fabric.mention.error.defaultAction': 'Пробајте поново за неколико секунди',
|
|
16
|
+
'fabric.mention.error.defaultHeadline': 'Дошло је до грешке',
|
|
17
|
+
'fabric.mention.error.differentText': 'Пробајте да унесете други текст',
|
|
18
|
+
'fabric.mention.error.loginAgain': 'Пробајте да се одјавите и пријавите',
|
|
19
|
+
'fabric.mention.noAccess.label': 'Нема приступа',
|
|
20
|
+
'fabric.mention.noAccess.warning': 'Корисник {name} неће бити обавештен јер нема приступ',
|
|
21
|
+
'fabric.mention.unknow.user.error': 'Непознат корисник {userId}'
|
|
22
|
+
};
|
|
@@ -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.2.
|
|
8
|
+
var packageVersion = "24.2.4";
|
|
9
9
|
export var SLI_EVENT_TYPE = 'sli';
|
|
10
10
|
export var SMART_EVENT_TYPE = 'smart';
|
|
11
11
|
export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
|
|
@@ -13,6 +13,7 @@ export type OwnProps = {
|
|
|
13
13
|
onMouseEnter?: MentionEventHandler;
|
|
14
14
|
onMouseLeave?: MentionEventHandler;
|
|
15
15
|
onHover?: () => void;
|
|
16
|
+
ssrPlaceholderId?: string;
|
|
16
17
|
};
|
|
17
18
|
export type Props = OwnProps & WithAnalyticsEventsProps;
|
|
18
19
|
export declare class MentionInternal extends React.PureComponent<Props, {}> {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.elements.mentions.team.member.50plus': string;
|
|
9
|
+
'fabric.elements.mentions.team.member.50plus.including.you': string;
|
|
10
|
+
'fabric.elements.mentions.team.member.count': string;
|
|
11
|
+
'fabric.elements.mentions.team.member.count.including.you': string;
|
|
12
|
+
'fabric.elements.mentions.xproduct.mention.description': string;
|
|
13
|
+
'fabric.mention.error.defaultAction': string;
|
|
14
|
+
'fabric.mention.error.defaultHeadline': string;
|
|
15
|
+
'fabric.mention.error.differentText': string;
|
|
16
|
+
'fabric.mention.error.loginAgain': string;
|
|
17
|
+
'fabric.mention.noAccess.label': string;
|
|
18
|
+
'fabric.mention.noAccess.warning': string;
|
|
19
|
+
'fabric.mention.unknow.user.error': string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.elements.mentions.team.member.50plus': string;
|
|
9
|
+
'fabric.elements.mentions.team.member.50plus.including.you': string;
|
|
10
|
+
'fabric.elements.mentions.team.member.count': string;
|
|
11
|
+
'fabric.elements.mentions.team.member.count.including.you': string;
|
|
12
|
+
'fabric.elements.mentions.xproduct.mention.description': string;
|
|
13
|
+
'fabric.mention.error.defaultAction': string;
|
|
14
|
+
'fabric.mention.error.defaultHeadline': string;
|
|
15
|
+
'fabric.mention.error.differentText': string;
|
|
16
|
+
'fabric.mention.error.loginAgain': string;
|
|
17
|
+
'fabric.mention.noAccess.label': string;
|
|
18
|
+
'fabric.mention.noAccess.warning': string;
|
|
19
|
+
'fabric.mention.unknow.user.error': string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.elements.mentions.team.member.50plus': string;
|
|
9
|
+
'fabric.elements.mentions.team.member.50plus.including.you': string;
|
|
10
|
+
'fabric.elements.mentions.team.member.count': string;
|
|
11
|
+
'fabric.elements.mentions.team.member.count.including.you': string;
|
|
12
|
+
'fabric.elements.mentions.xproduct.mention.description': string;
|
|
13
|
+
'fabric.mention.error.defaultAction': string;
|
|
14
|
+
'fabric.mention.error.defaultHeadline': string;
|
|
15
|
+
'fabric.mention.error.differentText': string;
|
|
16
|
+
'fabric.mention.error.loginAgain': string;
|
|
17
|
+
'fabric.mention.noAccess.label': string;
|
|
18
|
+
'fabric.mention.noAccess.warning': string;
|
|
19
|
+
'fabric.mention.unknow.user.error': string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.elements.mentions.team.member.50plus': string;
|
|
9
|
+
'fabric.elements.mentions.team.member.50plus.including.you': string;
|
|
10
|
+
'fabric.elements.mentions.team.member.count': string;
|
|
11
|
+
'fabric.elements.mentions.team.member.count.including.you': string;
|
|
12
|
+
'fabric.elements.mentions.xproduct.mention.description': string;
|
|
13
|
+
'fabric.mention.error.defaultAction': string;
|
|
14
|
+
'fabric.mention.error.defaultHeadline': string;
|
|
15
|
+
'fabric.mention.error.differentText': string;
|
|
16
|
+
'fabric.mention.error.loginAgain': string;
|
|
17
|
+
'fabric.mention.noAccess.label': string;
|
|
18
|
+
'fabric.mention.noAccess.warning': string;
|
|
19
|
+
'fabric.mention.unknow.user.error': string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -13,6 +13,7 @@ export type OwnProps = {
|
|
|
13
13
|
onMouseEnter?: MentionEventHandler;
|
|
14
14
|
onMouseLeave?: MentionEventHandler;
|
|
15
15
|
onHover?: () => void;
|
|
16
|
+
ssrPlaceholderId?: string;
|
|
16
17
|
};
|
|
17
18
|
export type Props = OwnProps & WithAnalyticsEventsProps;
|
|
18
19
|
export declare class MentionInternal extends React.PureComponent<Props, {}> {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.elements.mentions.team.member.50plus': string;
|
|
9
|
+
'fabric.elements.mentions.team.member.50plus.including.you': string;
|
|
10
|
+
'fabric.elements.mentions.team.member.count': string;
|
|
11
|
+
'fabric.elements.mentions.team.member.count.including.you': string;
|
|
12
|
+
'fabric.elements.mentions.xproduct.mention.description': string;
|
|
13
|
+
'fabric.mention.error.defaultAction': string;
|
|
14
|
+
'fabric.mention.error.defaultHeadline': string;
|
|
15
|
+
'fabric.mention.error.differentText': string;
|
|
16
|
+
'fabric.mention.error.loginAgain': string;
|
|
17
|
+
'fabric.mention.noAccess.label': string;
|
|
18
|
+
'fabric.mention.noAccess.warning': string;
|
|
19
|
+
'fabric.mention.unknow.user.error': string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.elements.mentions.team.member.50plus': string;
|
|
9
|
+
'fabric.elements.mentions.team.member.50plus.including.you': string;
|
|
10
|
+
'fabric.elements.mentions.team.member.count': string;
|
|
11
|
+
'fabric.elements.mentions.team.member.count.including.you': string;
|
|
12
|
+
'fabric.elements.mentions.xproduct.mention.description': string;
|
|
13
|
+
'fabric.mention.error.defaultAction': string;
|
|
14
|
+
'fabric.mention.error.defaultHeadline': string;
|
|
15
|
+
'fabric.mention.error.differentText': string;
|
|
16
|
+
'fabric.mention.error.loginAgain': string;
|
|
17
|
+
'fabric.mention.noAccess.label': string;
|
|
18
|
+
'fabric.mention.noAccess.warning': string;
|
|
19
|
+
'fabric.mention.unknow.user.error': string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.elements.mentions.team.member.50plus': string;
|
|
9
|
+
'fabric.elements.mentions.team.member.50plus.including.you': string;
|
|
10
|
+
'fabric.elements.mentions.team.member.count': string;
|
|
11
|
+
'fabric.elements.mentions.team.member.count.including.you': string;
|
|
12
|
+
'fabric.elements.mentions.xproduct.mention.description': string;
|
|
13
|
+
'fabric.mention.error.defaultAction': string;
|
|
14
|
+
'fabric.mention.error.defaultHeadline': string;
|
|
15
|
+
'fabric.mention.error.differentText': string;
|
|
16
|
+
'fabric.mention.error.loginAgain': string;
|
|
17
|
+
'fabric.mention.noAccess.label': string;
|
|
18
|
+
'fabric.mention.noAccess.warning': string;
|
|
19
|
+
'fabric.mention.unknow.user.error': string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.elements.mentions.team.member.50plus': string;
|
|
9
|
+
'fabric.elements.mentions.team.member.50plus.including.you': string;
|
|
10
|
+
'fabric.elements.mentions.team.member.count': string;
|
|
11
|
+
'fabric.elements.mentions.team.member.count.including.you': string;
|
|
12
|
+
'fabric.elements.mentions.xproduct.mention.description': string;
|
|
13
|
+
'fabric.mention.error.defaultAction': string;
|
|
14
|
+
'fabric.mention.error.defaultHeadline': string;
|
|
15
|
+
'fabric.mention.error.differentText': string;
|
|
16
|
+
'fabric.mention.error.loginAgain': string;
|
|
17
|
+
'fabric.mention.noAccess.label': string;
|
|
18
|
+
'fabric.mention.noAccess.warning': string;
|
|
19
|
+
'fabric.mention.unknow.user.error': string;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"atlaskit:src": "src/index.ts",
|
|
14
14
|
"atlassian": {
|
|
15
15
|
"team": "Search Platform: Search Experience",
|
|
16
|
-
"runReact18": true,
|
|
17
16
|
"slack": {
|
|
18
17
|
"channel": "#search-plex-prs",
|
|
19
18
|
"notifications": {
|
|
@@ -36,13 +35,13 @@
|
|
|
36
35
|
"@atlaskit/avatar": "^25.1.0",
|
|
37
36
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
38
37
|
"@atlaskit/heading": "^5.2.0",
|
|
39
|
-
"@atlaskit/icon": "^27.
|
|
38
|
+
"@atlaskit/icon": "^27.3.0",
|
|
40
39
|
"@atlaskit/lozenge": "^13.0.0",
|
|
41
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
-
"@atlaskit/primitives": "^14.
|
|
41
|
+
"@atlaskit/primitives": "^14.10.0",
|
|
43
42
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
44
|
-
"@atlaskit/theme": "^
|
|
45
|
-
"@atlaskit/tokens": "^5.
|
|
43
|
+
"@atlaskit/theme": "^19.0.0",
|
|
44
|
+
"@atlaskit/tokens": "^5.4.0",
|
|
46
45
|
"@atlaskit/tooltip": "^20.3.0",
|
|
47
46
|
"@atlaskit/ufo": "^0.4.0",
|
|
48
47
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
@@ -62,7 +61,6 @@
|
|
|
62
61
|
"@types/query-string": "^4.3.1",
|
|
63
62
|
"@types/serialize-javascript": "^5.0.0",
|
|
64
63
|
"enzyme": "^3.10.0",
|
|
65
|
-
"enzyme-adapter-react-16": "^1.15.1",
|
|
66
64
|
"es6-promise": "^4.0.5",
|
|
67
65
|
"exenv": "^1.2.2",
|
|
68
66
|
"fetch-mock": "^8.0.0",
|
|
@@ -92,6 +90,9 @@
|
|
|
92
90
|
"platform-feature-flags": {
|
|
93
91
|
"team-avatar-in-mention-picker": {
|
|
94
92
|
"type": "boolean"
|
|
93
|
+
},
|
|
94
|
+
"cc_mention_ssr_placeholder": {
|
|
95
|
+
"type": "boolean"
|
|
95
96
|
}
|
|
96
97
|
},
|
|
97
98
|
"publishConfig": {
|
|
@@ -119,5 +120,5 @@
|
|
|
119
120
|
]
|
|
120
121
|
}
|
|
121
122
|
},
|
|
122
|
-
"version": "24.2.
|
|
123
|
+
"version": "24.2.5"
|
|
123
124
|
}
|