@atlaskit/mention 19.9.6 → 21.0.1
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 +37 -0
- package/dist/cjs/api/MentionResource.js +4 -6
- package/dist/cjs/api/TeamMentionResource.js +2 -2
- package/dist/cjs/api/analytics.js +2 -15
- package/dist/cjs/components/LockCircleIcon/index.js +28 -0
- package/dist/cjs/components/Mention/PrimitiveMention.js +118 -0
- package/dist/cjs/components/Mention/index.js +42 -24
- package/dist/cjs/components/Mention/ufoExperiences.js +61 -0
- package/dist/cjs/components/MentionDescriptionByline/TeamMentionDescriptionByline.js +5 -5
- package/dist/cjs/components/MentionDescriptionByline/styles.js +4 -2
- package/dist/cjs/components/MentionItem/index.js +14 -8
- package/dist/cjs/components/MentionItem/styles.js +12 -10
- package/dist/cjs/components/MentionList/index.js +4 -2
- package/dist/cjs/components/MentionList/styles.js +5 -3
- package/dist/cjs/components/MentionListError/styles.js +7 -5
- package/dist/cjs/components/MentionPicker/index.js +12 -4
- package/dist/cjs/components/MentionPicker/styles.js +5 -3
- package/dist/cjs/components/MessagesIntlProvider/index.js +57 -0
- package/dist/cjs/components/NoAccessTooltip/index.js +29 -0
- package/dist/cjs/components/{NoAccessTooltip.js → NoAccessTooltip/main.js} +4 -2
- package/dist/cjs/components/ResourcedMentionList/index.js +14 -6
- package/dist/cjs/components/Scrollable/index.js +1 -1
- package/dist/cjs/components/Scrollable/styles.js +4 -2
- package/dist/cjs/components/TeamMentionHighlight/index.js +6 -4
- package/dist/cjs/components/TeamMentionHighlight/lazy.js +28 -0
- package/dist/cjs/components/TeamMentionHighlight/styles.js +11 -9
- package/dist/cjs/components/i18n.js +2 -2
- package/dist/cjs/i18n/cs.js +2 -2
- package/dist/cjs/i18n/da.js +2 -2
- package/dist/cjs/i18n/de.js +2 -2
- package/dist/cjs/i18n/en_ZZ.js +32 -0
- package/dist/cjs/i18n/es.js +2 -2
- package/dist/cjs/i18n/et.js +2 -2
- package/dist/cjs/i18n/fi.js +2 -2
- package/dist/cjs/i18n/fr.js +2 -2
- package/dist/cjs/i18n/hu.js +2 -2
- package/dist/cjs/i18n/it.js +2 -2
- package/dist/cjs/i18n/ja.js +2 -2
- package/dist/cjs/i18n/ko.js +2 -2
- package/dist/cjs/i18n/nb.js +2 -2
- package/dist/cjs/i18n/nl.js +2 -2
- package/dist/cjs/i18n/pl.js +2 -2
- package/dist/cjs/i18n/pt_BR.js +2 -2
- package/dist/cjs/i18n/pt_PT.js +2 -2
- package/dist/cjs/i18n/ru.js +2 -2
- package/dist/cjs/i18n/sk.js +2 -2
- package/dist/cjs/i18n/sv.js +2 -2
- package/dist/cjs/i18n/th.js +2 -2
- package/dist/cjs/i18n/tr.js +2 -2
- package/dist/cjs/i18n/uk.js +2 -2
- package/dist/cjs/i18n/vi.js +2 -2
- package/dist/cjs/i18n/zh.js +2 -2
- package/dist/cjs/i18n/zh_TW.js +2 -2
- package/dist/cjs/index.js +12 -8
- package/dist/cjs/shared-styles.js +4 -2
- package/dist/cjs/util/analytics.js +2 -2
- package/dist/cjs/util/i18n.js +297 -26
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/api/analytics.js +0 -9
- package/dist/es2019/components/LockCircleIcon/index.js +7 -0
- package/dist/es2019/components/Mention/PrimitiveMention.js +117 -0
- package/dist/es2019/components/Mention/index.js +35 -16
- package/dist/es2019/components/Mention/ufoExperiences.js +19 -0
- package/dist/es2019/components/MentionDescriptionByline/TeamMentionDescriptionByline.js +1 -1
- package/dist/es2019/components/MentionDescriptionByline/styles.js +3 -4
- package/dist/es2019/components/MentionItem/index.js +11 -7
- package/dist/es2019/components/MentionItem/styles.js +6 -7
- package/dist/es2019/components/MentionList/index.js +3 -2
- package/dist/es2019/components/MentionList/styles.js +3 -4
- package/dist/es2019/components/MentionListError/GenericErrorIllustration.js +1 -0
- package/dist/es2019/components/MentionListError/styles.js +5 -6
- package/dist/es2019/components/MentionPicker/index.js +11 -4
- package/dist/es2019/components/MentionPicker/styles.js +4 -5
- package/dist/es2019/components/MessagesIntlProvider/index.js +38 -0
- package/dist/es2019/components/NoAccessTooltip/index.js +9 -0
- package/dist/es2019/components/{NoAccessTooltip.js → NoAccessTooltip/main.js} +4 -2
- package/dist/es2019/components/ResourcedMentionList/index.js +6 -4
- package/dist/es2019/components/Scrollable/index.js +1 -1
- package/dist/es2019/components/Scrollable/styles.js +3 -4
- package/dist/es2019/components/TeamMentionHighlight/index.js +4 -3
- package/dist/es2019/components/TeamMentionHighlight/lazy.js +6 -0
- package/dist/es2019/components/TeamMentionHighlight/styles.js +5 -4
- package/dist/es2019/components/i18n.js +1 -1
- package/dist/es2019/i18n/cs.js +2 -2
- package/dist/es2019/i18n/da.js +2 -2
- package/dist/es2019/i18n/de.js +2 -2
- package/dist/es2019/i18n/en_ZZ.js +24 -0
- package/dist/es2019/i18n/es.js +2 -2
- package/dist/es2019/i18n/et.js +2 -2
- package/dist/es2019/i18n/fi.js +2 -2
- package/dist/es2019/i18n/fr.js +2 -2
- package/dist/es2019/i18n/hu.js +2 -2
- package/dist/es2019/i18n/it.js +2 -2
- package/dist/es2019/i18n/ja.js +2 -2
- package/dist/es2019/i18n/ko.js +2 -2
- package/dist/es2019/i18n/nb.js +2 -2
- package/dist/es2019/i18n/nl.js +2 -2
- package/dist/es2019/i18n/pl.js +2 -2
- package/dist/es2019/i18n/pt_BR.js +2 -2
- package/dist/es2019/i18n/pt_PT.js +2 -2
- package/dist/es2019/i18n/ru.js +2 -2
- package/dist/es2019/i18n/sk.js +2 -2
- package/dist/es2019/i18n/sv.js +2 -2
- package/dist/es2019/i18n/th.js +2 -2
- package/dist/es2019/i18n/tr.js +2 -2
- package/dist/es2019/i18n/uk.js +2 -2
- package/dist/es2019/i18n/vi.js +2 -2
- package/dist/es2019/i18n/zh.js +2 -2
- package/dist/es2019/i18n/zh_TW.js +2 -2
- package/dist/es2019/index.js +3 -4
- package/dist/es2019/shared-styles.js +3 -2
- package/dist/es2019/util/i18n.js +260 -18
- package/dist/es2019/version.json +1 -1
- package/dist/esm/api/MentionResource.js +4 -4
- package/dist/esm/api/TeamMentionResource.js +2 -2
- package/dist/esm/api/analytics.js +0 -10
- package/dist/esm/components/LockCircleIcon/index.js +11 -0
- package/dist/esm/components/Mention/PrimitiveMention.js +100 -0
- package/dist/esm/components/Mention/index.js +36 -21
- package/dist/esm/components/Mention/ufoExperiences.js +44 -0
- package/dist/esm/components/MentionDescriptionByline/TeamMentionDescriptionByline.js +1 -1
- package/dist/esm/components/MentionDescriptionByline/styles.js +3 -4
- package/dist/esm/components/MentionItem/index.js +11 -7
- package/dist/esm/components/MentionItem/styles.js +6 -7
- package/dist/esm/components/MentionList/index.js +3 -2
- package/dist/esm/components/MentionList/styles.js +4 -5
- package/dist/esm/components/MentionListError/GenericErrorIllustration.js +1 -0
- package/dist/esm/components/MentionListError/styles.js +3 -4
- package/dist/esm/components/MentionPicker/index.js +11 -4
- package/dist/esm/components/MentionPicker/styles.js +3 -4
- package/dist/esm/components/MessagesIntlProvider/index.js +41 -0
- package/dist/esm/components/NoAccessTooltip/index.js +11 -0
- package/dist/esm/components/{NoAccessTooltip.js → NoAccessTooltip/main.js} +4 -2
- package/dist/esm/components/ResourcedMentionList/index.js +8 -6
- package/dist/esm/components/Scrollable/index.js +1 -1
- package/dist/esm/components/Scrollable/styles.js +3 -4
- package/dist/esm/components/TeamMentionHighlight/index.js +4 -3
- package/dist/esm/components/TeamMentionHighlight/lazy.js +10 -0
- package/dist/esm/components/TeamMentionHighlight/styles.js +4 -3
- package/dist/esm/components/i18n.js +1 -1
- package/dist/esm/i18n/cs.js +2 -2
- package/dist/esm/i18n/da.js +2 -2
- package/dist/esm/i18n/de.js +2 -2
- package/dist/esm/i18n/en_ZZ.js +24 -0
- package/dist/esm/i18n/es.js +2 -2
- package/dist/esm/i18n/et.js +2 -2
- package/dist/esm/i18n/fi.js +2 -2
- package/dist/esm/i18n/fr.js +2 -2
- package/dist/esm/i18n/hu.js +2 -2
- package/dist/esm/i18n/it.js +2 -2
- package/dist/esm/i18n/ja.js +2 -2
- package/dist/esm/i18n/ko.js +2 -2
- package/dist/esm/i18n/nb.js +2 -2
- package/dist/esm/i18n/nl.js +2 -2
- package/dist/esm/i18n/pl.js +2 -2
- package/dist/esm/i18n/pt_BR.js +2 -2
- package/dist/esm/i18n/pt_PT.js +2 -2
- package/dist/esm/i18n/ru.js +2 -2
- package/dist/esm/i18n/sk.js +2 -2
- package/dist/esm/i18n/sv.js +2 -2
- package/dist/esm/i18n/th.js +2 -2
- package/dist/esm/i18n/tr.js +2 -2
- package/dist/esm/i18n/uk.js +2 -2
- package/dist/esm/i18n/vi.js +2 -2
- package/dist/esm/i18n/zh.js +2 -2
- package/dist/esm/i18n/zh_TW.js +2 -2
- package/dist/esm/index.js +3 -4
- package/dist/esm/shared-styles.js +3 -2
- package/dist/esm/util/analytics.js +2 -2
- package/dist/esm/util/i18n.js +284 -23
- package/dist/esm/version.json +1 -1
- package/dist/types/api/analytics.d.ts +0 -5
- package/dist/types/components/LockCircleIcon/index.d.ts +3 -0
- package/dist/types/components/Mention/PrimitiveMention.d.ts +7 -0
- package/dist/types/components/Mention/index.d.ts +3 -1
- package/dist/types/components/Mention/ufoExperiences.d.ts +9 -0
- package/dist/types/components/MentionDescriptionByline/styles.d.ts +2 -2
- package/dist/types/components/MentionItem/MentionHighlightHelpers.d.ts +2 -3
- package/dist/types/components/MentionItem/styles.d.ts +9 -9
- package/dist/types/components/MentionList/styles.d.ts +2 -2
- package/dist/types/components/MentionListError/styles.d.ts +5 -5
- package/dist/types/components/MentionPicker/index.d.ts +11 -8
- package/dist/types/components/MentionPicker/styles.d.ts +3 -3
- package/dist/types/components/MessagesIntlProvider/index.d.ts +3 -0
- package/dist/types/components/NoAccessTooltip/index.d.ts +6 -0
- package/dist/types/components/{NoAccessTooltip.d.ts → NoAccessTooltip/main.d.ts} +0 -0
- package/dist/types/components/Scrollable/styles.d.ts +2 -4
- package/dist/types/components/TeamMentionHighlight/index.d.ts +1 -1
- package/dist/types/components/TeamMentionHighlight/lazy.d.ts +4 -0
- package/dist/types/components/TeamMentionHighlight/styles.d.ts +8 -8
- package/dist/types/i18n/cs.d.ts +1 -1
- package/dist/types/i18n/da.d.ts +1 -1
- package/dist/types/i18n/de.d.ts +1 -1
- package/dist/types/i18n/en_ZZ.d.ts +24 -0
- package/dist/types/i18n/es.d.ts +1 -1
- package/dist/types/i18n/et.d.ts +1 -1
- package/dist/types/i18n/fi.d.ts +1 -1
- package/dist/types/i18n/fr.d.ts +1 -1
- package/dist/types/i18n/hu.d.ts +1 -1
- package/dist/types/i18n/it.d.ts +1 -1
- package/dist/types/i18n/ja.d.ts +1 -1
- package/dist/types/i18n/ko.d.ts +1 -1
- package/dist/types/i18n/nb.d.ts +1 -1
- package/dist/types/i18n/nl.d.ts +1 -1
- package/dist/types/i18n/pl.d.ts +1 -1
- package/dist/types/i18n/pt_BR.d.ts +1 -1
- package/dist/types/i18n/pt_PT.d.ts +1 -1
- package/dist/types/i18n/ru.d.ts +1 -1
- package/dist/types/i18n/sk.d.ts +1 -1
- package/dist/types/i18n/sv.d.ts +1 -1
- package/dist/types/i18n/th.d.ts +1 -1
- package/dist/types/i18n/tr.d.ts +1 -1
- package/dist/types/i18n/uk.d.ts +1 -1
- package/dist/types/i18n/vi.d.ts +1 -1
- package/dist/types/i18n/zh.d.ts +1 -1
- package/dist/types/i18n/zh_TW.d.ts +1 -1
- package/dist/types/index.d.ts +3 -4
- package/dist/types/shared-styles.d.ts +2 -2
- package/dist/types/util/i18n.d.ts +32 -17
- package/docs/1-in-editor.tsx +4 -36
- package/package.json +24 -13
- package/tsconfig.json +1 -2
- package/dist/cjs/api/SmartMentionResource.js +0 -338
- package/dist/cjs/api/SmartMentionTypes.js +0 -15
- package/dist/cjs/api/extract-react-types/smart-config-props.js +0 -15
- package/dist/cjs/api/recommendationClient.js +0 -57
- package/dist/cjs/components/Mention/styles.js +0 -66
- package/dist/cjs/default-mention-name-resolver/default-mention-name-resolver.js +0 -136
- package/dist/cjs/default-mention-name-resolver/graphqlUtils.js +0 -48
- package/dist/es2019/api/SmartMentionResource.js +0 -219
- package/dist/es2019/api/SmartMentionTypes.js +0 -7
- package/dist/es2019/api/extract-react-types/smart-config-props.js +0 -8
- package/dist/es2019/api/recommendationClient.js +0 -46
- package/dist/es2019/components/Mention/styles.js +0 -61
- package/dist/es2019/default-mention-name-resolver/default-mention-name-resolver.js +0 -64
- package/dist/es2019/default-mention-name-resolver/graphqlUtils.js +0 -39
- package/dist/esm/api/SmartMentionResource.js +0 -317
- package/dist/esm/api/SmartMentionTypes.js +0 -7
- package/dist/esm/api/extract-react-types/smart-config-props.js +0 -8
- package/dist/esm/api/recommendationClient.js +0 -48
- package/dist/esm/components/Mention/styles.js +0 -50
- package/dist/esm/default-mention-name-resolver/default-mention-name-resolver.js +0 -121
- package/dist/esm/default-mention-name-resolver/graphqlUtils.js +0 -41
- package/dist/types/api/SmartMentionResource.d.ts +0 -63
- package/dist/types/api/SmartMentionTypes.d.ts +0 -81
- package/dist/types/api/extract-react-types/smart-config-props.d.ts +0 -7
- package/dist/types/api/recommendationClient.d.ts +0 -3
- package/dist/types/components/Mention/styles.d.ts +0 -6
- package/dist/types/default-mention-name-resolver/default-mention-name-resolver.d.ts +0 -16
- package/dist/types/default-mention-name-resolver/graphqlUtils.d.ts +0 -14
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import Avatar from '@atlaskit/avatar';
|
|
3
|
-
import LockCircleIcon from '@atlaskit/icon/glyph/lock-circle';
|
|
4
3
|
import Lozenge from '@atlaskit/lozenge';
|
|
5
4
|
import { N30 } from '@atlaskit/theme/colors';
|
|
6
5
|
import React from 'react';
|
|
6
|
+
import { token } from '@atlaskit/tokens';
|
|
7
7
|
import { isRestricted } from '../../types';
|
|
8
8
|
import { NoAccessLabel } from '../../util/i18n';
|
|
9
9
|
import { leftClick } from '../../util/mouse';
|
|
10
|
-
import
|
|
10
|
+
import AsyncNoAccessTooltip from '../NoAccessTooltip';
|
|
11
|
+
import AsyncLockCircleIcon from '../LockCircleIcon';
|
|
11
12
|
import { AccessSectionStyle, AvatarStyle, FullNameStyle, InfoSectionStyle, MentionItemStyle, NameSectionStyle, RowStyle, TimeStyle } from './styles';
|
|
12
13
|
import { renderHighlight } from './MentionHighlightHelpers';
|
|
13
14
|
import MentionDescriptionByline from '../MentionDescriptionByline';
|
|
15
|
+
import MessagesIntlProvider from '../MessagesIntlProvider';
|
|
14
16
|
export { MENTION_ITEM_HEIGHT } from './styles';
|
|
15
17
|
|
|
16
18
|
function renderLozenge(lozenge) {
|
|
@@ -84,8 +86,8 @@ export default class MentionItem extends React.PureComponent {
|
|
|
84
86
|
} = presence || {};
|
|
85
87
|
const restricted = isRestricted(accessLevel);
|
|
86
88
|
const nameHighlights = highlight && highlight.name;
|
|
87
|
-
const borderColor = selected ? N30 : undefined;
|
|
88
|
-
return /*#__PURE__*/React.createElement(MentionItemStyle, {
|
|
89
|
+
const borderColor = selected ? token('color.border', N30) : undefined;
|
|
90
|
+
return /*#__PURE__*/React.createElement(MessagesIntlProvider, null, /*#__PURE__*/React.createElement(MentionItemStyle, {
|
|
89
91
|
selected: selected,
|
|
90
92
|
onMouseDown: this.onMentionSelected,
|
|
91
93
|
onMouseMove: this.onMentionMenuItemMouseMove,
|
|
@@ -105,13 +107,15 @@ export default class MentionItem extends React.PureComponent {
|
|
|
105
107
|
mention: mention
|
|
106
108
|
})), /*#__PURE__*/React.createElement(InfoSectionStyle, {
|
|
107
109
|
restricted: restricted
|
|
108
|
-
}, renderLozenge(lozenge), renderTime(time)), restricted ? /*#__PURE__*/React.createElement(
|
|
110
|
+
}, renderLozenge(lozenge), renderTime(time)), restricted ? /*#__PURE__*/React.createElement(React.Suspense, {
|
|
111
|
+
fallback: null
|
|
112
|
+
}, /*#__PURE__*/React.createElement(AsyncNoAccessTooltip, {
|
|
109
113
|
name: name
|
|
110
|
-
}, /*#__PURE__*/React.createElement(AccessSectionStyle, null, /*#__PURE__*/React.createElement(NoAccessLabel, null, text => /*#__PURE__*/React.createElement(
|
|
114
|
+
}, /*#__PURE__*/React.createElement(AccessSectionStyle, null, /*#__PURE__*/React.createElement(NoAccessLabel, null, text => /*#__PURE__*/React.createElement(AsyncLockCircleIcon, {
|
|
111
115
|
label: text
|
|
112
116
|
})
|
|
113
117
|
/* safe to cast to string given there is no value binding */
|
|
114
|
-
))) : null));
|
|
118
|
+
)))) : null)));
|
|
115
119
|
}
|
|
116
120
|
|
|
117
121
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import styled from 'styled
|
|
2
|
-
// prettier-ignore
|
|
3
|
-
|
|
1
|
+
import styled from '@emotion/styled';
|
|
4
2
|
import { N900, N100, N30, N500 } from '@atlaskit/theme/colors';
|
|
3
|
+
import { token } from '@atlaskit/tokens';
|
|
5
4
|
export const RowStyle = styled.div`
|
|
6
5
|
align-items: center;
|
|
7
6
|
display: flex;
|
|
@@ -28,7 +27,7 @@ export const FullNameStyle = styled.span`
|
|
|
28
27
|
overflow: hidden;
|
|
29
28
|
text-overflow: ellipsis;
|
|
30
29
|
white-space: nowrap;
|
|
31
|
-
color: ${N900};
|
|
30
|
+
color: ${token('color.text', N900)};
|
|
32
31
|
`;
|
|
33
32
|
export const InfoSectionStyle = styled.div`
|
|
34
33
|
display: flex;
|
|
@@ -46,12 +45,12 @@ export const InfoSectionStyle = styled.div`
|
|
|
46
45
|
export const TimeStyle = styled.div`
|
|
47
46
|
margin-left: 20px;
|
|
48
47
|
flex: none;
|
|
49
|
-
color: ${N100};
|
|
48
|
+
color: ${token('color.text.subtlest', N100)};
|
|
50
49
|
font-size: 12px;
|
|
51
50
|
`;
|
|
52
51
|
export const MENTION_ITEM_HEIGHT = 48;
|
|
53
52
|
export const MentionItemStyle = styled.div`
|
|
54
|
-
background-color: ${props => props.selected ? N30 : 'transparent'};
|
|
53
|
+
background-color: ${props => props.selected ? token('color.background.selected', N30) : 'transparent'};
|
|
55
54
|
display: block;
|
|
56
55
|
overflow: hidden;
|
|
57
56
|
list-style-type: none;
|
|
@@ -61,5 +60,5 @@ export const MentionItemStyle = styled.div`
|
|
|
61
60
|
`;
|
|
62
61
|
export const AccessSectionStyle = styled.div`
|
|
63
62
|
padding-left: 5px;
|
|
64
|
-
color: ${N500};
|
|
63
|
+
color: ${token('color.text.subtle', N500)};
|
|
65
64
|
`;
|
|
@@ -4,6 +4,7 @@ import debug from '../../util/logger';
|
|
|
4
4
|
import { actualMouseMove, mouseLocation } from '../../util/mouse';
|
|
5
5
|
import MentionItem from '../MentionItem';
|
|
6
6
|
import MentionListError from '../MentionListError';
|
|
7
|
+
import MessagesIntlProvider from '../MessagesIntlProvider';
|
|
7
8
|
import Scrollable from '../Scrollable';
|
|
8
9
|
import { MentionListStyle } from './styles';
|
|
9
10
|
|
|
@@ -257,9 +258,9 @@ export default class MentionList extends React.PureComponent {
|
|
|
257
258
|
}, this.renderItems());
|
|
258
259
|
}
|
|
259
260
|
|
|
260
|
-
return /*#__PURE__*/React.createElement(MentionListStyle, {
|
|
261
|
+
return /*#__PURE__*/React.createElement(MessagesIntlProvider, null, /*#__PURE__*/React.createElement(MentionListStyle, {
|
|
261
262
|
empty: !hasMentions && !resourceError
|
|
262
|
-
}, errorSection, resultSection);
|
|
263
|
+
}, errorSection, resultSection));
|
|
263
264
|
}
|
|
264
265
|
|
|
265
266
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import styled from 'styled
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
|
+
import { token } from '@atlaskit/tokens';
|
|
4
3
|
import { mentionListWidth, noDialogContainerBorderColor, noDialogContainerBorderRadius, noDialogContainerBoxShadow } from '../../shared-styles';
|
|
5
4
|
export const MentionListStyle = styled.div`
|
|
6
5
|
display: ${props => props.empty ? 'none' : 'block'};
|
|
7
6
|
|
|
8
7
|
/* list style */
|
|
9
8
|
width: ${mentionListWidth};
|
|
10
|
-
color: #333;
|
|
9
|
+
color: ${token('color.text.subtle', '#333')};
|
|
11
10
|
|
|
12
11
|
border: 1px solid ${noDialogContainerBorderColor};
|
|
13
12
|
border-radius: ${noDialogContainerBorderRadius};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import styled from 'styled
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
|
+
import { token } from '@atlaskit/tokens';
|
|
4
3
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
5
4
|
import { N500 } from '@atlaskit/theme/colors';
|
|
6
5
|
import { h400 } from '@atlaskit/theme/typography';
|
|
@@ -9,9 +8,9 @@ export const MentionListErrorStyle = styled.div`
|
|
|
9
8
|
display: flex;
|
|
10
9
|
justify-content: center;
|
|
11
10
|
flex-direction: column;
|
|
12
|
-
background-color: white;
|
|
13
|
-
color: ${N500};
|
|
14
|
-
border: 1px solid #fff;
|
|
11
|
+
background-color: ${token('elevation.surface.overlay', 'white')};
|
|
12
|
+
color: ${token('color.text.subtle', N500)};
|
|
13
|
+
border: 1px solid ${token('elevation.surface.overlay', '#fff')};
|
|
15
14
|
border-radius: ${borderRadius()}px;
|
|
16
15
|
`;
|
|
17
16
|
export const GenericErrorVisualStyle = styled.div`
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import
|
|
2
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
import { IntlProvider, injectIntl } from 'react-intl-next';
|
|
4
5
|
import { fireAnalyticsMentionTypeaheadEvent } from '../../util/analytics';
|
|
5
6
|
import uniqueId from '../../util/id';
|
|
6
7
|
import debug from '../../util/logger';
|
|
@@ -162,7 +163,8 @@ export class MentionPicker extends React.PureComponent {
|
|
|
162
163
|
zIndex,
|
|
163
164
|
offsetX,
|
|
164
165
|
offsetY,
|
|
165
|
-
showTeamMentionsHighlight
|
|
166
|
+
showTeamMentionsHighlight,
|
|
167
|
+
intl
|
|
166
168
|
} = this.props;
|
|
167
169
|
const {
|
|
168
170
|
visible,
|
|
@@ -190,7 +192,9 @@ export class MentionPicker extends React.PureComponent {
|
|
|
190
192
|
zIndex: zIndex,
|
|
191
193
|
offsetX: offsetX,
|
|
192
194
|
offsetY: offsetY
|
|
193
|
-
}, /*#__PURE__*/React.createElement(
|
|
195
|
+
}, /*#__PURE__*/React.createElement(IntlProvider, {
|
|
196
|
+
locale: (intl === null || intl === void 0 ? void 0 : intl.locale) || 'en'
|
|
197
|
+
}, /*#__PURE__*/React.createElement("div", null, resourceMentionList, infoContent)));
|
|
194
198
|
} else {
|
|
195
199
|
// don't show if we have a position, but no target yet
|
|
196
200
|
content = null;
|
|
@@ -218,5 +222,8 @@ _defineProperty(MentionPicker, "defaultProps", {
|
|
|
218
222
|
onClose: () => {}
|
|
219
223
|
});
|
|
220
224
|
|
|
221
|
-
|
|
225
|
+
const MentionPickerWithIntl = injectIntl(MentionPicker, {
|
|
226
|
+
forwardRef: true
|
|
227
|
+
});
|
|
228
|
+
export const MentionPickerWithAnalytics = withAnalyticsEvents({})(MentionPickerWithIntl);
|
|
222
229
|
export default MentionPickerWithAnalytics;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import styled from 'styled
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
|
+
import { token } from '@atlaskit/tokens';
|
|
4
3
|
import { N100 } from '@atlaskit/theme/colors';
|
|
5
4
|
import { mentionListWidth, noDialogContainerBorderColor, noDialogContainerBorderRadius, noDialogContainerBoxShadow } from '../../shared-styles';
|
|
6
5
|
export const MentionPickerStyle = styled.div`
|
|
7
6
|
display: ${props => props.visible ? 'block' : 'none'};
|
|
8
7
|
`;
|
|
9
8
|
export const MentionPickerInfoStyle = styled.div`
|
|
10
|
-
background: #fff;
|
|
11
|
-
color: ${N100};
|
|
9
|
+
background: ${token('elevation.surface', '#fff')};
|
|
10
|
+
color: ${token('color.text.subtlest', N100)};
|
|
12
11
|
border: 1px solid ${noDialogContainerBorderColor};
|
|
13
12
|
border-radius: ${noDialogContainerBorderRadius};
|
|
14
13
|
box-shadow: ${noDialogContainerBoxShadow};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IntlProvider, useIntl } from 'react-intl-next';
|
|
4
|
+
import { getMessagesForLocale } from '../../util/i18n';
|
|
5
|
+
const EMPTY = {};
|
|
6
|
+
|
|
7
|
+
const useI18n = locale => {
|
|
8
|
+
const [messages, setMessages] = React.useState(EMPTY);
|
|
9
|
+
React.useEffect(() => {
|
|
10
|
+
let aborted = false;
|
|
11
|
+
setMessages(EMPTY);
|
|
12
|
+
getMessagesForLocale(locale).then(messages => {
|
|
13
|
+
if (!aborted) {
|
|
14
|
+
setMessages(messages);
|
|
15
|
+
}
|
|
16
|
+
}).catch(error => {
|
|
17
|
+
// eslint-disable-next-line no-console
|
|
18
|
+
console.error(error);
|
|
19
|
+
});
|
|
20
|
+
return () => {
|
|
21
|
+
aborted = true;
|
|
22
|
+
};
|
|
23
|
+
}, [locale]);
|
|
24
|
+
return messages;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const MessagesIntlProvider = props => {
|
|
28
|
+
const {
|
|
29
|
+
children
|
|
30
|
+
} = props;
|
|
31
|
+
const intl = useIntl();
|
|
32
|
+
const messages = useI18n(intl.locale);
|
|
33
|
+
return /*#__PURE__*/React.createElement(IntlProvider, _extends({}, intl, {
|
|
34
|
+
messages: messages
|
|
35
|
+
}), children);
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export default MessagesIntlProvider;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const AsyncNoAccessTooltip = /*#__PURE__*/React.lazy(() => import(
|
|
3
|
+
/* webpackChunkName: "@atlaskit-internal_@atlaskit/mention/no-access-tooltip" */
|
|
4
|
+
'./main').then(module => {
|
|
5
|
+
return {
|
|
6
|
+
default: module.NoAccessTooltip
|
|
7
|
+
};
|
|
8
|
+
}));
|
|
9
|
+
export default AsyncNoAccessTooltip;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import Tooltip from '@atlaskit/tooltip';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { NoAccessWarning } from '
|
|
3
|
+
import { NoAccessWarning } from '../../util/i18n';
|
|
4
4
|
export const NoAccessTooltip = ({
|
|
5
5
|
name,
|
|
6
6
|
children
|
|
7
7
|
}) => /*#__PURE__*/React.createElement(NoAccessWarning, {
|
|
8
|
-
|
|
8
|
+
values: {
|
|
9
|
+
name: name
|
|
10
|
+
}
|
|
9
11
|
}, text => /*#__PURE__*/React.createElement(Tooltip, {
|
|
10
12
|
content: text,
|
|
11
13
|
position: "right"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { Suspense } from 'react';
|
|
3
3
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
4
4
|
import uniqueId from '../../util/id';
|
|
5
5
|
import debug from '../../util/logger';
|
|
6
6
|
import MentionList from '../MentionList';
|
|
7
|
-
import
|
|
7
|
+
import { LazyTeamMentionHighlight } from '../TeamMentionHighlight/lazy';
|
|
8
8
|
import TeamMentionHighlightController from '../TeamMentionHighlight/TeamMentionHighlightController';
|
|
9
9
|
import { fireSliAnalyticsEvent, SLI_EVENT_TYPE } from '../../util/analytics';
|
|
10
10
|
|
|
@@ -143,10 +143,12 @@ export class ResourcedMentionListWithoutAnalytics extends React.PureComponent {
|
|
|
143
143
|
return null;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
return /*#__PURE__*/React.createElement(
|
|
146
|
+
return /*#__PURE__*/React.createElement(Suspense, {
|
|
147
|
+
fallback: null
|
|
148
|
+
}, /*#__PURE__*/React.createElement(LazyTeamMentionHighlight, {
|
|
147
149
|
createTeamLink: createTeamPath,
|
|
148
150
|
onClose: this.closeHighlight
|
|
149
|
-
});
|
|
151
|
+
}));
|
|
150
152
|
});
|
|
151
153
|
|
|
152
154
|
this.subscriberKey = uniqueId('ak-resourced-mention-list');
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import styled from 'styled
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
|
+
import { token } from '@atlaskit/tokens';
|
|
4
3
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
5
4
|
import { scrollableMaxHeight } from '../../shared-styles';
|
|
6
5
|
export const ScrollableStyle = styled.div`
|
|
@@ -11,7 +10,7 @@ export const ScrollableStyle = styled.div`
|
|
|
11
10
|
padding: 4px 0;
|
|
12
11
|
margin: 0;
|
|
13
12
|
|
|
14
|
-
background: white;
|
|
13
|
+
background: ${token('elevation.surface', 'white')};
|
|
15
14
|
max-height: ${scrollableMaxHeight};
|
|
16
15
|
|
|
17
16
|
border-radius: ${borderRadius()}px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
4
4
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
5
5
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
6
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -8,6 +8,7 @@ import TeamMentionHighlightController from './TeamMentionHighlightController';
|
|
|
8
8
|
import { fireAnalyticsTeamMentionHighlightEvent, ComponentNames, Actions } from '../../util/analytics';
|
|
9
9
|
import { TeamMentionHighlightTitle, TeamMentionHighlightCloseTooltip, TeamMentionHighlightDescription, TeamMentionHighlightDescriptionLink } from '../../util/i18n';
|
|
10
10
|
import * as Styled from './styles';
|
|
11
|
+
import MessagesIntlProvider from '../MessagesIntlProvider';
|
|
11
12
|
const ICON_URL = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEyOCIgdmlld0JveD0iMCAwIDEyOCAxMjgiIHdpZHRoPSIxMjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSI2NCIgY3k9IjY0IiBmaWxsPSIjNTI0M2FhIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHI9IjY0Ii8+PHBhdGggZD0ibTgwIDY0Yy02LjYyNzQxNyAwLTEyLTUuMzcyNTgzLTEyLTEyczUuMzcyNTgzLTEyIDEyLTEyIDEyIDUuMzcyNTgzIDEyIDEyLTUuMzcyNTgzIDEyLTEyIDEyem0tMzItMTJjLTYuNjI3NDE3IDAtMTItNS4zNzI1ODMtMTItMTJzNS4zNzI1ODMtMTIgMTItMTIgMTIgNS4zNzI1ODMgMTIgMTItNS4zNzI1ODMgMTItMTIgMTJ6bTEyIDI0YzAtNC40MiAzLjU0OC04IDgtOGgyNGM0LjQyIDAgOCAzLjU0IDggOHYxNC45MmMwIDEyLjEwOC00MCAxMi4xMDgtNDAgMHptOC0xMmgtLjAxMmMtMy4xODQzNTM3LjAwNDI0LTYuMjM2NTQxIDEuMjczNTYxNS04LjQ4NDg0MjcgMy41Mjg2MTQ5LTIuMjQ4MzAxOCAyLjI1NTA1MzQtMy41MDg0NjU2IDUuMzExMDMzLTMuNTAzMTU3MyA4LjQ5NTM4NTF2MTEuMjI4Yy0xMS43ODQgMi4xMzYtMjgtLjI1Mi0yOC03LjkzNnYtMTUuMzA0YzAtNC40MjQgMy41NDgtOC4wMTIgOC04LjAxMmgyNGMyLjEyMjcwODYtLjAwMzE5MTIgNC4xNTkzOTQ2LjgzODYzODYgNS42NjAzNzggMi4zMzk2MjJzMi4zNDI4MTMyIDMuNTM3NjY5NCAyLjMzOTYyMiA1LjY2MDM3OHoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjk1Ii8+PC9nPjwvc3ZnPg==';
|
|
12
13
|
export class TeamMentionHighlightInternal extends React.Component {
|
|
13
14
|
// Wrap whole dialog so we can catch events, see preventClickOnCard
|
|
@@ -111,7 +112,7 @@ export class TeamMentionHighlightInternal extends React.Component {
|
|
|
111
112
|
return null;
|
|
112
113
|
}
|
|
113
114
|
|
|
114
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
115
|
+
return /*#__PURE__*/React.createElement(MessagesIntlProvider, null, /*#__PURE__*/React.createElement("div", {
|
|
115
116
|
ref: this.elWrapper
|
|
116
117
|
}, /*#__PURE__*/React.createElement(Styled.Card, null, /*#__PURE__*/React.createElement(Styled.Content, null, /*#__PURE__*/React.createElement(Styled.Aside, null, /*#__PURE__*/React.createElement("img", {
|
|
117
118
|
src: ICON_URL,
|
|
@@ -135,7 +136,7 @@ export class TeamMentionHighlightInternal extends React.Component {
|
|
|
135
136
|
}),
|
|
136
137
|
spacing: "none" // on click fired by preventClickOnCard, not here
|
|
137
138
|
|
|
138
|
-
}))))))));
|
|
139
|
+
})))))))));
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import styled from 'styled
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
2
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
3
|
import { P50 } from '@atlaskit/theme/colors';
|
|
4
4
|
import { h400 } from '@atlaskit/theme/typography';
|
|
5
|
+
import { token } from '@atlaskit/tokens';
|
|
5
6
|
export const Actions = styled.div`
|
|
6
7
|
justify-content: flex-end;
|
|
7
|
-
margin-top: -${gridSize() * 0.5}px; /* Negative margin is used to middle align x button with title*/
|
|
8
|
+
margin-top: -${gridSize() * 0.5}px; /* Negative margin is used to middle align x button with title */
|
|
8
9
|
margin-right: ${gridSize() * 0.5}px;
|
|
9
10
|
`;
|
|
10
11
|
export const Title = styled.div`
|
|
@@ -18,14 +19,14 @@ export const Heading = styled.div`
|
|
|
18
19
|
export const Card = styled.div`
|
|
19
20
|
display: flex;
|
|
20
21
|
flex-direction: row;
|
|
21
|
-
background-color: ${P50};
|
|
22
|
+
background-color: ${token('color.background.discovery', P50)};
|
|
22
23
|
overflow: hidden;
|
|
23
24
|
line-height: 21px;
|
|
24
25
|
padding-top: ${gridSize() * 2}px;
|
|
25
26
|
padding-bottom: ${gridSize() * 2}px;
|
|
26
27
|
padding-left: ${gridSize() * 2}px;
|
|
27
28
|
padding-right: 0px;
|
|
28
|
-
margin-top: -${gridSize() * 0.5}px; /* Negative margin is used to fill the entire top of the mention dropdown with background colour of highlight*/
|
|
29
|
+
margin-top: -${gridSize() * 0.5}px; /* Negative margin is used to fill the entire top of the mention dropdown with background colour of highlight */
|
|
29
30
|
`;
|
|
30
31
|
export const Content = styled.div`
|
|
31
32
|
max-width: 290px;
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Czech
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Zavřít',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Tým • 50 a více členů',
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Danish (Denmark)
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Afvis',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Team • Over 50 medlemmer',
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//German (Germany)
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Schließen',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Team • über 50 Mitglieder',
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
//
|
|
8
|
+
export default {
|
|
9
|
+
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Dismiss',
|
|
10
|
+
'fabric.elements.mentions.team.member.50plus': 'Team • 50+ members',
|
|
11
|
+
'fabric.elements.mentions.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
12
|
+
'fabric.elements.mentions.team.member.count': '{0, plural, one {Team • 1 member} other {Team • {0} members}}',
|
|
13
|
+
'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Team • 1 member, including you} other {Team • {0} members, including you}}',
|
|
14
|
+
'fabric.elements.mentions.team.mention.highlight.description': 'Get everyone on the page with one click. No team?',
|
|
15
|
+
'fabric.elements.mentions.team.mention.highlight.description.link': 'Start one.',
|
|
16
|
+
'fabric.elements.mentions.team.mention.highlight.title': 'Mention your team',
|
|
17
|
+
'fabric.mention.error.defaultAction': 'Try again in a few seconds',
|
|
18
|
+
'fabric.mention.error.defaultHeadline': 'Something went wrong',
|
|
19
|
+
'fabric.mention.error.differentText': 'Try entering different text',
|
|
20
|
+
'fabric.mention.error.loginAgain': 'Try logging out then in again',
|
|
21
|
+
'fabric.mention.noAccess.label': 'No access',
|
|
22
|
+
'fabric.mention.noAccess.warning': "{name} won't be notified as they have no access",
|
|
23
|
+
'fabric.mention.unknow.user.error': 'Unknown user {userId}'
|
|
24
|
+
};
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Spanish (International)
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Descartar',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Equipo • Más de 50 miembros',
|
package/dist/es2019/i18n/et.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Estonian
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Loobu',
|
|
10
10
|
'fabric.elements.mentions.team.mention.highlight.description': 'Kaasa kõik lehele ühe klõpsuga. Pole meeskonda?',
|
package/dist/es2019/i18n/fi.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Finnish
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Hylkää',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Tiimi • 50+ jäsentä',
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//French (France)
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Ignorer',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Équipe • Plus de 50 membres',
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Hungarian
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Bezárás',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Csapat • 50+ tag',
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Italian (Italy)
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Ignora',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Team • 50+ membri',
|
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Japanese
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': '閉じる',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'チーム • 50 人以上のメンバー',
|
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Korean
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': '해제',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': '팀 • 구성원 50명 이상',
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Norwegian (Bokmål)
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Avvis',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Team • flere enn 50 medlemmer',
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Dutch (Netherlands)
|
|
8
8
|
export default {
|
|
9
9
|
'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip': 'Sluiten',
|
|
10
10
|
'fabric.elements.mentions.team.member.50plus': 'Team • 50+ leden',
|