@atlaskit/user-picker 11.17.0 → 11.18.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 +15 -0
- package/afm-cc/tsconfig.json +2 -1
- package/afm-jira/tsconfig.json +2 -1
- package/afm-products/tsconfig.json +2 -1
- package/dist/cjs/components/AvatarOrIcon.js +66 -0
- package/dist/cjs/components/CustomOption/main.js +16 -1
- package/dist/cjs/components/ExternalUserOption/InfoIcon.js +2 -2
- package/dist/cjs/components/ExternalUserOption/main.js +15 -0
- package/dist/cjs/components/GroupOption/main.js +2 -2
- package/dist/cjs/components/MultiValue.js +16 -2
- package/dist/cjs/components/SingleValue.js +9 -1
- package/dist/cjs/components/SingleValueContainer.js +16 -2
- package/dist/cjs/components/TeamOption/main.js +19 -3
- package/dist/cjs/components/UserOption.js +17 -1
- package/dist/cjs/i18n/cs.js +44 -3
- package/dist/cjs/i18n/da.js +44 -3
- package/dist/cjs/i18n/de.js +44 -3
- package/dist/cjs/i18n/en.js +44 -3
- package/dist/cjs/i18n/en_GB.js +44 -3
- package/dist/cjs/i18n/en_ZZ.js +44 -3
- package/dist/cjs/i18n/es.js +44 -3
- package/dist/cjs/i18n/fi.js +44 -3
- package/dist/cjs/i18n/fr.js +44 -3
- package/dist/cjs/i18n/hr.js +44 -3
- package/dist/cjs/i18n/hu.js +44 -3
- package/dist/cjs/i18n/it.js +44 -3
- package/dist/cjs/i18n/ja.js +44 -3
- package/dist/cjs/i18n/ko.js +44 -3
- package/dist/cjs/i18n/nb.js +44 -3
- package/dist/cjs/i18n/nl.js +44 -3
- package/dist/cjs/i18n/pl.js +44 -3
- package/dist/cjs/i18n/pt_BR.js +44 -3
- package/dist/cjs/i18n/ru.js +44 -3
- package/dist/cjs/i18n/sl.js +44 -3
- package/dist/cjs/i18n/sr_RS.js +44 -3
- package/dist/cjs/i18n/sr_YR.js +44 -3
- package/dist/cjs/i18n/sv.js +44 -3
- package/dist/cjs/i18n/th.js +44 -3
- package/dist/cjs/i18n/tr.js +44 -3
- package/dist/cjs/i18n/uk.js +44 -3
- package/dist/cjs/i18n/vi.js +44 -3
- package/dist/cjs/i18n/zh.js +44 -3
- package/dist/cjs/i18n/zh_TW.js +44 -3
- package/dist/es2019/components/AvatarOrIcon.js +58 -0
- package/dist/es2019/components/CustomOption/main.js +15 -1
- package/dist/es2019/components/ExternalUserOption/InfoIcon.js +1 -1
- package/dist/es2019/components/ExternalUserOption/main.js +16 -1
- package/dist/es2019/components/GroupOption/main.js +1 -1
- package/dist/es2019/components/MultiValue.js +15 -1
- package/dist/es2019/components/SingleValue.js +9 -1
- package/dist/es2019/components/SingleValueContainer.js +16 -2
- package/dist/es2019/components/TeamOption/main.js +16 -1
- package/dist/es2019/components/UserOption.js +18 -2
- package/dist/es2019/i18n/cs.js +44 -3
- package/dist/es2019/i18n/da.js +44 -3
- package/dist/es2019/i18n/de.js +44 -3
- package/dist/es2019/i18n/en.js +44 -3
- package/dist/es2019/i18n/en_GB.js +44 -3
- package/dist/es2019/i18n/en_ZZ.js +44 -3
- package/dist/es2019/i18n/es.js +44 -3
- package/dist/es2019/i18n/fi.js +44 -3
- package/dist/es2019/i18n/fr.js +44 -3
- package/dist/es2019/i18n/hr.js +44 -3
- package/dist/es2019/i18n/hu.js +44 -3
- package/dist/es2019/i18n/it.js +44 -3
- package/dist/es2019/i18n/ja.js +44 -3
- package/dist/es2019/i18n/ko.js +44 -3
- package/dist/es2019/i18n/nb.js +44 -3
- package/dist/es2019/i18n/nl.js +44 -3
- package/dist/es2019/i18n/pl.js +44 -3
- package/dist/es2019/i18n/pt_BR.js +44 -3
- package/dist/es2019/i18n/ru.js +44 -3
- package/dist/es2019/i18n/sl.js +44 -3
- package/dist/es2019/i18n/sr_RS.js +44 -3
- package/dist/es2019/i18n/sr_YR.js +44 -3
- package/dist/es2019/i18n/sv.js +44 -3
- package/dist/es2019/i18n/th.js +44 -3
- package/dist/es2019/i18n/tr.js +44 -3
- package/dist/es2019/i18n/uk.js +44 -3
- package/dist/es2019/i18n/vi.js +44 -3
- package/dist/es2019/i18n/zh.js +44 -3
- package/dist/es2019/i18n/zh_TW.js +44 -3
- package/dist/esm/components/AvatarOrIcon.js +59 -0
- package/dist/esm/components/CustomOption/main.js +16 -1
- package/dist/esm/components/ExternalUserOption/InfoIcon.js +1 -1
- package/dist/esm/components/ExternalUserOption/main.js +15 -0
- package/dist/esm/components/GroupOption/main.js +1 -1
- package/dist/esm/components/MultiValue.js +15 -1
- package/dist/esm/components/SingleValue.js +9 -1
- package/dist/esm/components/SingleValueContainer.js +16 -2
- package/dist/esm/components/TeamOption/main.js +19 -3
- package/dist/esm/components/UserOption.js +17 -1
- package/dist/esm/i18n/cs.js +44 -3
- package/dist/esm/i18n/da.js +44 -3
- package/dist/esm/i18n/de.js +44 -3
- package/dist/esm/i18n/en.js +44 -3
- package/dist/esm/i18n/en_GB.js +44 -3
- package/dist/esm/i18n/en_ZZ.js +44 -3
- package/dist/esm/i18n/es.js +44 -3
- package/dist/esm/i18n/fi.js +44 -3
- package/dist/esm/i18n/fr.js +44 -3
- package/dist/esm/i18n/hr.js +44 -3
- package/dist/esm/i18n/hu.js +44 -3
- package/dist/esm/i18n/it.js +44 -3
- package/dist/esm/i18n/ja.js +44 -3
- package/dist/esm/i18n/ko.js +44 -3
- package/dist/esm/i18n/nb.js +44 -3
- package/dist/esm/i18n/nl.js +44 -3
- package/dist/esm/i18n/pl.js +44 -3
- package/dist/esm/i18n/pt_BR.js +44 -3
- package/dist/esm/i18n/ru.js +44 -3
- package/dist/esm/i18n/sl.js +44 -3
- package/dist/esm/i18n/sr_RS.js +44 -3
- package/dist/esm/i18n/sr_YR.js +44 -3
- package/dist/esm/i18n/sv.js +44 -3
- package/dist/esm/i18n/th.js +44 -3
- package/dist/esm/i18n/tr.js +44 -3
- package/dist/esm/i18n/uk.js +44 -3
- package/dist/esm/i18n/vi.js +44 -3
- package/dist/esm/i18n/zh.js +44 -3
- package/dist/esm/i18n/zh_TW.js +44 -3
- package/dist/types/components/AvatarOrIcon.d.ts +17 -0
- package/dist/types/components/BaseUserPicker.d.ts +4 -4
- package/dist/types/components/PopupUserPicker.d.ts +5 -5
- package/dist/types/components/UserPicker.d.ts +4 -4
- package/dist/types/i18n/cs.d.ts +44 -2
- package/dist/types/i18n/da.d.ts +44 -2
- package/dist/types/i18n/de.d.ts +44 -2
- package/dist/types/i18n/en.d.ts +44 -2
- package/dist/types/i18n/en_GB.d.ts +44 -2
- package/dist/types/i18n/en_ZZ.d.ts +44 -2
- package/dist/types/i18n/es.d.ts +44 -2
- package/dist/types/i18n/fi.d.ts +44 -2
- package/dist/types/i18n/fr.d.ts +44 -2
- package/dist/types/i18n/hr.d.ts +44 -2
- package/dist/types/i18n/hu.d.ts +44 -2
- package/dist/types/i18n/it.d.ts +44 -2
- package/dist/types/i18n/ja.d.ts +44 -2
- package/dist/types/i18n/ko.d.ts +44 -2
- package/dist/types/i18n/nb.d.ts +44 -2
- package/dist/types/i18n/nl.d.ts +44 -2
- package/dist/types/i18n/pl.d.ts +44 -2
- package/dist/types/i18n/pt_BR.d.ts +44 -2
- package/dist/types/i18n/ru.d.ts +44 -2
- package/dist/types/i18n/sl.d.ts +44 -2
- package/dist/types/i18n/sr_RS.d.ts +44 -2
- package/dist/types/i18n/sr_YR.d.ts +44 -2
- package/dist/types/i18n/sv.d.ts +44 -2
- package/dist/types/i18n/th.d.ts +44 -2
- package/dist/types/i18n/tr.d.ts +44 -2
- package/dist/types/i18n/uk.d.ts +44 -2
- package/dist/types/i18n/vi.d.ts +44 -2
- package/dist/types/i18n/zh.d.ts +44 -2
- package/dist/types/i18n/zh_TW.d.ts +44 -2
- package/dist/types/types.d.ts +11 -6
- package/dist/types-ts4.5/components/AvatarOrIcon.d.ts +17 -0
- package/dist/types-ts4.5/components/BaseUserPicker.d.ts +4 -4
- package/dist/types-ts4.5/components/PopupUserPicker.d.ts +5 -5
- package/dist/types-ts4.5/components/UserPicker.d.ts +4 -4
- package/dist/types-ts4.5/i18n/cs.d.ts +44 -2
- package/dist/types-ts4.5/i18n/da.d.ts +44 -2
- package/dist/types-ts4.5/i18n/de.d.ts +44 -2
- package/dist/types-ts4.5/i18n/en.d.ts +44 -2
- package/dist/types-ts4.5/i18n/en_GB.d.ts +44 -2
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +44 -2
- package/dist/types-ts4.5/i18n/es.d.ts +44 -2
- package/dist/types-ts4.5/i18n/fi.d.ts +44 -2
- package/dist/types-ts4.5/i18n/fr.d.ts +44 -2
- package/dist/types-ts4.5/i18n/hr.d.ts +44 -2
- package/dist/types-ts4.5/i18n/hu.d.ts +44 -2
- package/dist/types-ts4.5/i18n/it.d.ts +44 -2
- package/dist/types-ts4.5/i18n/ja.d.ts +44 -2
- package/dist/types-ts4.5/i18n/ko.d.ts +44 -2
- package/dist/types-ts4.5/i18n/nb.d.ts +44 -2
- package/dist/types-ts4.5/i18n/nl.d.ts +44 -2
- package/dist/types-ts4.5/i18n/pl.d.ts +44 -2
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +44 -2
- package/dist/types-ts4.5/i18n/ru.d.ts +44 -2
- package/dist/types-ts4.5/i18n/sl.d.ts +44 -2
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +44 -2
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +44 -2
- package/dist/types-ts4.5/i18n/sv.d.ts +44 -2
- package/dist/types-ts4.5/i18n/th.d.ts +44 -2
- package/dist/types-ts4.5/i18n/tr.d.ts +44 -2
- package/dist/types-ts4.5/i18n/uk.d.ts +44 -2
- package/dist/types-ts4.5/i18n/vi.d.ts +44 -2
- package/dist/types-ts4.5/i18n/zh.d.ts +44 -2
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +44 -2
- package/dist/types-ts4.5/types.d.ts +11 -6
- package/package.json +10 -7
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { SizeableAvatar } from './SizeableAvatar';
|
|
7
|
+
import { getAvatarSize } from './utils';
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
+
import { css, jsx } from '@emotion/react';
|
|
10
|
+
var iconStyle = css({
|
|
11
|
+
display: 'flex',
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
justifyContent: 'center',
|
|
14
|
+
flexShrink: 0
|
|
15
|
+
});
|
|
16
|
+
var iconSizes = {
|
|
17
|
+
xsmall: css({
|
|
18
|
+
width: '20px',
|
|
19
|
+
height: '20px'
|
|
20
|
+
}),
|
|
21
|
+
small: css({
|
|
22
|
+
width: '28px',
|
|
23
|
+
height: '28px'
|
|
24
|
+
}),
|
|
25
|
+
medium: css({
|
|
26
|
+
width: '36px',
|
|
27
|
+
height: '36px'
|
|
28
|
+
})
|
|
29
|
+
};
|
|
30
|
+
export var AvatarOrIcon = function AvatarOrIcon(_ref) {
|
|
31
|
+
var _ref$appearance = _ref.appearance,
|
|
32
|
+
appearance = _ref$appearance === void 0 ? 'big' : _ref$appearance,
|
|
33
|
+
avatarAppearanceShape = _ref.avatarAppearanceShape,
|
|
34
|
+
icon = _ref.icon,
|
|
35
|
+
iconColor = _ref.iconColor,
|
|
36
|
+
presence = _ref.presence,
|
|
37
|
+
src = _ref.src,
|
|
38
|
+
_ref$type = _ref.type,
|
|
39
|
+
type = _ref$type === void 0 ? 'person' : _ref$type;
|
|
40
|
+
// If icon is provided, render it instead of avatar
|
|
41
|
+
if (icon) {
|
|
42
|
+
var avatarSize = getAvatarSize(appearance);
|
|
43
|
+
return jsx("div", {
|
|
44
|
+
css: [iconStyle, iconSizes[avatarSize]],
|
|
45
|
+
style: {
|
|
46
|
+
color: iconColor
|
|
47
|
+
}
|
|
48
|
+
}, icon);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Otherwise, render the avatar as before
|
|
52
|
+
return jsx(SizeableAvatar, {
|
|
53
|
+
appearance: appearance,
|
|
54
|
+
src: src,
|
|
55
|
+
presence: presence,
|
|
56
|
+
type: type,
|
|
57
|
+
avatarAppearanceShape: avatarAppearanceShape
|
|
58
|
+
});
|
|
59
|
+
};
|
|
@@ -14,8 +14,10 @@ import { B400, N800, N200 } from '@atlaskit/theme/colors';
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
15
|
import { jsx } from '@emotion/react';
|
|
16
16
|
import React from 'react';
|
|
17
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
18
|
import { AvatarItemOption, textWrapper } from '../AvatarItemOption';
|
|
18
19
|
import { HighlightText } from '../HighlightText';
|
|
20
|
+
import { AvatarOrIcon } from '../AvatarOrIcon';
|
|
19
21
|
import { SizeableAvatar } from '../SizeableAvatar';
|
|
20
22
|
export var CustomOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
21
23
|
function CustomOption() {
|
|
@@ -53,7 +55,20 @@ export var CustomOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
53
55
|
return _this.getBylineComponent(_this.props.isSelected, _this.props.data.byline);
|
|
54
56
|
});
|
|
55
57
|
_defineProperty(_this, "renderAvatar", function () {
|
|
56
|
-
var
|
|
58
|
+
var _this$props$data3 = _this.props.data,
|
|
59
|
+
avatarUrl = _this$props$data3.avatarUrl,
|
|
60
|
+
icon = _this$props$data3.icon,
|
|
61
|
+
iconColor = _this$props$data3.iconColor;
|
|
62
|
+
// Only use icon if feature gate is enabled
|
|
63
|
+
if (icon && fg('atlaskit_user_picker_support_icon')) {
|
|
64
|
+
return jsx(AvatarOrIcon, {
|
|
65
|
+
appearance: "big",
|
|
66
|
+
icon: icon,
|
|
67
|
+
iconColor: iconColor,
|
|
68
|
+
src: avatarUrl
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
// Fallback to original behavior
|
|
57
72
|
return jsx(SizeableAvatar, {
|
|
58
73
|
appearance: "big",
|
|
59
74
|
src: avatarUrl
|
|
@@ -6,7 +6,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
import { useCallback, useState } from 'react';
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import EditorPanelIcon from '@atlaskit/icon/core/
|
|
9
|
+
import EditorPanelIcon from '@atlaskit/icon/core/status-information';
|
|
10
10
|
import { N50, N200 } from '@atlaskit/theme/colors';
|
|
11
11
|
var wrapper = css({
|
|
12
12
|
display: 'flex',
|
|
@@ -19,6 +19,7 @@ import Tooltip from '@atlaskit/tooltip';
|
|
|
19
19
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
20
20
|
import { createAndFireEventInElementsChannel, userInfoEvent } from '../../analytics';
|
|
21
21
|
import { textWrapper } from '../AvatarItemOption';
|
|
22
|
+
import { AvatarOrIcon } from '../AvatarOrIcon';
|
|
22
23
|
import { SizeableAvatar } from '../SizeableAvatar';
|
|
23
24
|
import { ExternalUserSourcesContainer } from '../ExternalUserSourcesContainer';
|
|
24
25
|
import InfoIcon from './InfoIcon';
|
|
@@ -98,7 +99,21 @@ var ExternalUserOptionImpl = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
98
99
|
_this$props$user2 = _this$props.user,
|
|
99
100
|
avatarUrl = _this$props$user2.avatarUrl,
|
|
100
101
|
appType = _this$props$user2.appType,
|
|
102
|
+
icon = _this$props$user2.icon,
|
|
103
|
+
iconColor = _this$props$user2.iconColor,
|
|
101
104
|
status = _this$props.status;
|
|
105
|
+
// Only use icon if feature gate is enabled
|
|
106
|
+
if (icon && fg('atlaskit_user_picker_support_icon')) {
|
|
107
|
+
return jsx(AvatarOrIcon, {
|
|
108
|
+
appearance: "big",
|
|
109
|
+
icon: icon,
|
|
110
|
+
iconColor: iconColor,
|
|
111
|
+
src: avatarUrl,
|
|
112
|
+
presence: status,
|
|
113
|
+
avatarAppearanceShape: fg('jira_ai_agent_avatar_user_picker_user_option') ? getAppearanceForAppType(appType) : undefined
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
// Fallback to original behavior
|
|
102
117
|
return jsx(SizeableAvatar, {
|
|
103
118
|
appearance: "big",
|
|
104
119
|
src: avatarUrl,
|
|
@@ -16,7 +16,7 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
import { css, jsx } from '@emotion/react';
|
|
18
18
|
import { N20, B400, N800, N200 } from '@atlaskit/theme/colors';
|
|
19
|
-
import PeopleIcon from '@atlaskit/icon/core/
|
|
19
|
+
import PeopleIcon from '@atlaskit/icon/core/people-group';
|
|
20
20
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
|
|
21
21
|
import { AvatarItemOption, textWrapper } from '../AvatarItemOption';
|
|
22
22
|
import { messages } from '../i18n';
|
|
@@ -20,10 +20,12 @@ import { components } from '@atlaskit/select';
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
import { css, jsx } from '@emotion/react';
|
|
22
22
|
import { AddOptionAvatar } from './AddOptionAvatar';
|
|
23
|
+
import { AvatarOrIcon } from './AvatarOrIcon';
|
|
23
24
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
24
25
|
import { getAvatarUrl, isEmail, isGroup, isTeam } from './utils';
|
|
25
|
-
import PeopleIcon from '@atlaskit/icon/core/
|
|
26
|
+
import PeopleIcon from '@atlaskit/icon/core/people-group';
|
|
26
27
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
|
|
28
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
27
29
|
export var scrollToValue = function scrollToValue(valueContainer, control) {
|
|
28
30
|
var _valueContainer$getBo = valueContainer.getBoundingClientRect(),
|
|
29
31
|
top = _valueContainer$getBo.top,
|
|
@@ -70,6 +72,18 @@ export var MultiValue = /*#__PURE__*/function (_React$Component) {
|
|
|
70
72
|
LEGACY_size: "small"
|
|
71
73
|
}));
|
|
72
74
|
}
|
|
75
|
+
|
|
76
|
+
// Only use icon if feature gate is enabled
|
|
77
|
+
if (data.icon && fg('atlaskit_user_picker_support_icon')) {
|
|
78
|
+
return jsx(AvatarOrIcon, {
|
|
79
|
+
appearance: "multi",
|
|
80
|
+
icon: data.icon,
|
|
81
|
+
iconColor: data.iconColor,
|
|
82
|
+
src: getAvatarUrl(data),
|
|
83
|
+
type: isTeam(data) ? 'team' : 'person'
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
// Fallback to original behavior
|
|
73
87
|
return jsx(SizeableAvatar, {
|
|
74
88
|
appearance: "multi",
|
|
75
89
|
src: getAvatarUrl(data),
|
|
@@ -3,6 +3,7 @@ import "./SingleValue.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { components } from '@atlaskit/select';
|
|
6
|
+
import { AvatarOrIcon } from './AvatarOrIcon';
|
|
6
7
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
7
8
|
import { getAvatarUrl, isTeam, isGroup } from './utils';
|
|
8
9
|
import { getAppearanceForAppType } from '@atlaskit/avatar';
|
|
@@ -34,7 +35,14 @@ export var SingleValue = function SingleValue(props) {
|
|
|
34
35
|
isFocused = _props$selectProps.isFocused;
|
|
35
36
|
return !isFocused ? /*#__PURE__*/React.createElement(components.SingleValue, props, /*#__PURE__*/React.createElement(Flex, {
|
|
36
37
|
xcss: styles.avatarItem
|
|
37
|
-
}, /*#__PURE__*/React.createElement(
|
|
38
|
+
}, data.icon && fg('atlaskit_user_picker_support_icon') ? /*#__PURE__*/React.createElement(AvatarOrIcon, {
|
|
39
|
+
icon: data.icon,
|
|
40
|
+
iconColor: data.iconColor,
|
|
41
|
+
src: getAvatarUrl(data),
|
|
42
|
+
appearance: appearance,
|
|
43
|
+
type: isTeam(data) ? 'team' : 'person',
|
|
44
|
+
avatarAppearanceShape: fg('jira_ai_agent_avatar_user_picker_user_option') ? getAppearanceForAppType(data.appType) : undefined
|
|
45
|
+
}) : /*#__PURE__*/React.createElement(SizeableAvatar, {
|
|
38
46
|
src: getAvatarUrl(data),
|
|
39
47
|
appearance: appearance,
|
|
40
48
|
type: isTeam(data) ? 'team' : 'person',
|
|
@@ -14,6 +14,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
14
14
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
15
15
|
import React from 'react';
|
|
16
16
|
import { components } from '@atlaskit/select';
|
|
17
|
+
import { AvatarOrIcon } from './AvatarOrIcon';
|
|
17
18
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
18
19
|
import ValueContainerWrapper from './ValueContainerWrapper';
|
|
19
20
|
import { getAppearanceForAppType } from '@atlaskit/avatar';
|
|
@@ -44,11 +45,24 @@ export var SingleValueContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
44
45
|
value = _this$props$selectPro.value,
|
|
45
46
|
placeholderAvatar = _this$props$selectPro.placeholderAvatar;
|
|
46
47
|
if (isFocused || !hasValue) {
|
|
48
|
+
var userData = showUserAvatar(inputValue, value) ? value.data : undefined;
|
|
49
|
+
// Only use icon if feature gate is enabled
|
|
50
|
+
if (userData !== null && userData !== void 0 && userData.icon && fg('atlaskit_user_picker_support_icon')) {
|
|
51
|
+
return /*#__PURE__*/React.createElement(AvatarOrIcon, {
|
|
52
|
+
appearance: appearance,
|
|
53
|
+
icon: userData.icon,
|
|
54
|
+
iconColor: userData.iconColor,
|
|
55
|
+
type: placeholderAvatar,
|
|
56
|
+
src: userData.avatarUrl,
|
|
57
|
+
avatarAppearanceShape: userData && fg('jira_ai_agent_avatar_user_picker_user_option') ? getAppearanceForAppType(userData.appType) : undefined
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
// Fallback to original behavior
|
|
47
61
|
return /*#__PURE__*/React.createElement(SizeableAvatar, {
|
|
48
62
|
appearance: appearance,
|
|
49
63
|
type: placeholderAvatar,
|
|
50
|
-
src:
|
|
51
|
-
avatarAppearanceShape:
|
|
64
|
+
src: userData === null || userData === void 0 ? void 0 : userData.avatarUrl,
|
|
65
|
+
avatarAppearanceShape: userData && fg('jira_ai_agent_avatar_user_picker_user_option') ? getAppearanceForAppType(userData.appType) : undefined
|
|
52
66
|
});
|
|
53
67
|
}
|
|
54
68
|
return null;
|
|
@@ -18,9 +18,11 @@ import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team
|
|
|
18
18
|
import { jsx } from '@emotion/react';
|
|
19
19
|
import React from 'react';
|
|
20
20
|
import { FormattedMessage } from 'react-intl-next';
|
|
21
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
22
|
import { AvatarItemOption, textWrapper } from '../AvatarItemOption';
|
|
22
23
|
import { HighlightText } from '../HighlightText';
|
|
23
24
|
import { messages } from '../i18n';
|
|
25
|
+
import { AvatarOrIcon } from '../AvatarOrIcon';
|
|
24
26
|
import { SizeableAvatar } from '../SizeableAvatar';
|
|
25
27
|
export var TeamOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
28
|
function TeamOption() {
|
|
@@ -111,7 +113,21 @@ export var TeamOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
111
113
|
}, message);
|
|
112
114
|
});
|
|
113
115
|
_defineProperty(_this, "renderAvatar", function () {
|
|
114
|
-
var
|
|
116
|
+
var _this$props$team2 = _this.props.team,
|
|
117
|
+
avatarUrl = _this$props$team2.avatarUrl,
|
|
118
|
+
icon = _this$props$team2.icon,
|
|
119
|
+
iconColor = _this$props$team2.iconColor;
|
|
120
|
+
// Only use icon if feature gate is enabled
|
|
121
|
+
if (icon && fg('atlaskit_user_picker_support_icon')) {
|
|
122
|
+
return jsx(AvatarOrIcon, {
|
|
123
|
+
appearance: "big",
|
|
124
|
+
icon: icon,
|
|
125
|
+
iconColor: iconColor,
|
|
126
|
+
src: avatarUrl,
|
|
127
|
+
type: "team"
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
// Fallback to original behavior
|
|
115
131
|
return jsx(SizeableAvatar, {
|
|
116
132
|
appearance: "big",
|
|
117
133
|
src: avatarUrl,
|
|
@@ -134,8 +150,8 @@ export var TeamOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
134
150
|
} : _this.props.team.lozenge;
|
|
135
151
|
});
|
|
136
152
|
_defineProperty(_this, "renderCustomByLine", function () {
|
|
137
|
-
var _this$props$
|
|
138
|
-
if (!((_this$props$
|
|
153
|
+
var _this$props$team3;
|
|
154
|
+
if (!((_this$props$team3 = _this.props.team) !== null && _this$props$team3 !== void 0 && _this$props$team3.byline)) {
|
|
139
155
|
return undefined;
|
|
140
156
|
}
|
|
141
157
|
return jsx("span", {
|
|
@@ -17,6 +17,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
17
17
|
import React from 'react';
|
|
18
18
|
import { AvatarItemOption, textWrapper } from './AvatarItemOption';
|
|
19
19
|
import { HighlightText } from './HighlightText';
|
|
20
|
+
import { AvatarOrIcon } from './AvatarOrIcon';
|
|
20
21
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
21
22
|
import { hasValue } from './utils';
|
|
22
23
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -76,9 +77,24 @@ export var UserOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
76
77
|
_this$props$user2 = _this$props.user,
|
|
77
78
|
avatarUrl = _this$props$user2.avatarUrl,
|
|
78
79
|
appType = _this$props$user2.appType,
|
|
80
|
+
icon = _this$props$user2.icon,
|
|
81
|
+
iconColor = _this$props$user2.iconColor,
|
|
79
82
|
status = _this$props.status;
|
|
83
|
+
var appearance = fg('platform-component-visual-refresh') ? 'medium' : 'big';
|
|
84
|
+
// Only use icon if feature gate is enabled
|
|
85
|
+
if (icon && fg('atlaskit_user_picker_support_icon')) {
|
|
86
|
+
return jsx(AvatarOrIcon, {
|
|
87
|
+
appearance: appearance,
|
|
88
|
+
icon: icon,
|
|
89
|
+
iconColor: iconColor,
|
|
90
|
+
src: avatarUrl,
|
|
91
|
+
presence: status,
|
|
92
|
+
avatarAppearanceShape: fg('jira_ai_agent_avatar_user_picker_user_option') ? getAppearanceForAppType(appType) : undefined
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
// Fallback to original behavior
|
|
80
96
|
return jsx(SizeableAvatar, {
|
|
81
|
-
appearance:
|
|
97
|
+
appearance: appearance,
|
|
82
98
|
src: avatarUrl,
|
|
83
99
|
presence: status,
|
|
84
100
|
avatarAppearanceShape: fg('jira_ai_agent_avatar_user_picker_user_option') ? getAppearanceForAppType(appType) : undefined
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -5,6 +5,47 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//Czech
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.user-picker.custom.type.label': 'Vlastní',
|
|
11
|
+
'fabric.elements.user-picker.email.add': 'Přidat uživatele',
|
|
12
|
+
'fabric.elements.user-picker.email.add.potential': 'Zadejte e-mailovou adresu.',
|
|
13
|
+
'fabric.elements.user-picker.email.select.to.add': 'Vyberte e-mailovou adresu.',
|
|
14
|
+
'fabric.elements.user-picker.email.type.label': 'E-maily',
|
|
15
|
+
'fabric.elements.user-picker.error.message': 'Něco se pokazilo',
|
|
16
|
+
'fabric.elements.user-picker.external.sourced.error': 'Momentálně vás nejde připojit.',
|
|
17
|
+
'fabric.elements.user-picker.external.sourced.from': 'Nalezen v:',
|
|
18
|
+
'fabric.elements.user-picker.external.user.type.label': 'Externí uživatelé',
|
|
19
|
+
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
20
|
+
'fabric.elements.user-picker.google.provider': 'Google',
|
|
21
|
+
'fabric.elements.user-picker.group.byline': 'Skupina spravovaná administrátorem',
|
|
22
|
+
'fabric.elements.user-picker.group.byline.admin-managed': 'Skupina správců {verifiedIcon}',
|
|
23
|
+
'fabric.elements.user-picker.group.type.label': 'Skupiny',
|
|
24
|
+
'fabric.elements.user-picker.guest.lozenge.text': 'HOST',
|
|
25
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Skupiny hostů mají přístup pouze k určitým prostorům a mají omezený přístup k uživatelským údajům.',
|
|
26
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Hosté mají přístup pouze k určitým prostorům a mají omezený přístup k uživatelským údajům.',
|
|
27
|
+
'fabric.elements.user-picker.member.lozenge.text': 'ČLEN',
|
|
28
|
+
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
29
|
+
'fabric.elements.user-picker.multi.remove-item': 'Odstranit',
|
|
30
|
+
'fabric.elements.user-picker.other.type.label': 'Ostatní',
|
|
31
|
+
'fabric.elements.user-picker.placeholder': 'Zadejte osoby nebo týmy...',
|
|
32
|
+
'fabric.elements.user-picker.placeholder.add-more': 'přidat více lidí...',
|
|
33
|
+
'fabric.elements.user-picker.single.clear': 'Vymazat',
|
|
34
|
+
'fabric.elements.user-picker.slack.provider': 'Slack',
|
|
35
|
+
'fabric.elements.user-picker.source.confluence': 'Confluence',
|
|
36
|
+
'fabric.elements.user-picker.source.jira': 'Jira',
|
|
37
|
+
'fabric.elements.user-picker.source.other-atlassian': 'Ostatní produkty Atlassian',
|
|
38
|
+
'fabric.elements.user-picker.source.other-atlassian-appify': 'Ostatní aplikace Atlassian',
|
|
39
|
+
'fabric.elements.user-picker.team.byline': 'Tým',
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': 'Oficiální tým {verifiedIcon}',
|
|
41
|
+
'fabric.elements.user-picker.team.member.50plus': 'Tým • 50 a více členů',
|
|
42
|
+
'fabric.elements.user-picker.team.member.50plus.including.you': 'Tým • 50 a více členů včetně vás',
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': 'Oficiální tým {verifiedIcon} • 50+ členů',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Oficiální tým {verifiedIcon} • 50+ členů, včetně vás',
|
|
45
|
+
'fabric.elements.user-picker.team.member.count': '{count, plural, one {Tým • {count} člen} few {Tým • {count} členové} many {Tým • {count} člena} other {Tým • {count} členů}}',
|
|
46
|
+
'fabric.elements.user-picker.team.member.count.including.you': '{count, plural, one {Tým • {count} člen včetně vás} few {Tým • {count} členové včetně vás} many {Tým • {count} člena včetně vás} other {Tým • {count} členů včetně vás}}',
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': '{count, plural, one {Oficiální tým {verifiedIcon} • {count} člen} few {Oficiální tým {verifiedIcon} • {count} členové} many {Oficiální tým {verifiedIcon} • {count} člena} other {Oficiální tým {verifiedIcon} • {count} členů}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{count, plural, one {Oficiální tým {verifiedIcon} • {count} člen, včetně vás} few {Oficiální tým {verifiedIcon} • {count} členové, včetně vás} many {Oficiální tým {verifiedIcon} • {count} člena, včetně vás} other {Oficiální tým {verifiedIcon} • {count} členů, včetně vás}}',
|
|
49
|
+
'fabric.elements.user-picker.team.type.label': 'Týmy',
|
|
50
|
+
'fabric.elements.user-picker.user.type.label': 'Lidé'
|
|
51
|
+
};
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -5,6 +5,47 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//Danish (Denmark)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.user-picker.custom.type.label': 'Brugerdefineret',
|
|
11
|
+
'fabric.elements.user-picker.email.add': 'Tilføj bruger',
|
|
12
|
+
'fabric.elements.user-picker.email.add.potential': 'Indtast en e-mailadresse',
|
|
13
|
+
'fabric.elements.user-picker.email.select.to.add': 'Vælg en e-mailadresse',
|
|
14
|
+
'fabric.elements.user-picker.email.type.label': 'E-mails',
|
|
15
|
+
'fabric.elements.user-picker.error.message': 'Noget gik galt',
|
|
16
|
+
'fabric.elements.user-picker.external.sourced.error': 'Vi kan ikke oprette forbindelse lige nu.',
|
|
17
|
+
'fabric.elements.user-picker.external.sourced.from': 'Fundet i:',
|
|
18
|
+
'fabric.elements.user-picker.external.user.type.label': 'Eksterne brugere',
|
|
19
|
+
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
20
|
+
'fabric.elements.user-picker.google.provider': 'Google',
|
|
21
|
+
'fabric.elements.user-picker.group.byline': 'Administreret gruppe',
|
|
22
|
+
'fabric.elements.user-picker.group.byline.admin-managed': 'Administratorgruppe {verifiedIcon}',
|
|
23
|
+
'fabric.elements.user-picker.group.type.label': 'Grupper',
|
|
24
|
+
'fabric.elements.user-picker.guest.lozenge.text': 'GÆST',
|
|
25
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Gæstegrupper har kun adgang til bestemte områder og har begrænset adgang til brugeroplysninger.',
|
|
26
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Gæster har kun adgang til bestemte områder og har begrænset adgang til brugeroplysninger.',
|
|
27
|
+
'fabric.elements.user-picker.member.lozenge.text': 'Medlem',
|
|
28
|
+
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
29
|
+
'fabric.elements.user-picker.multi.remove-item': 'Fjern',
|
|
30
|
+
'fabric.elements.user-picker.other.type.label': 'Andet',
|
|
31
|
+
'fabric.elements.user-picker.placeholder': 'Indtast personer eller hold ...',
|
|
32
|
+
'fabric.elements.user-picker.placeholder.add-more': 'tilføj flere personer ...',
|
|
33
|
+
'fabric.elements.user-picker.single.clear': 'Ryd',
|
|
34
|
+
'fabric.elements.user-picker.slack.provider': 'Slack',
|
|
35
|
+
'fabric.elements.user-picker.source.confluence': 'Confluence',
|
|
36
|
+
'fabric.elements.user-picker.source.jira': 'Jira',
|
|
37
|
+
'fabric.elements.user-picker.source.other-atlassian': 'Andre Atlassian-produkter',
|
|
38
|
+
'fabric.elements.user-picker.source.other-atlassian-appify': 'Andre Atlassian-apps',
|
|
39
|
+
'fabric.elements.user-picker.team.byline': 'Team',
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': 'Officielt team {verifiedIcon}',
|
|
41
|
+
'fabric.elements.user-picker.team.member.50plus': 'Team • Over 50 medlemmer',
|
|
42
|
+
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • Over 50 medlemmer, inklusive dig',
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': 'Officielt team {verifiedIcon} • over 50 medlemmer',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Officielt team {verifiedIcon} • over 50 medlemmer, inklusive dig',
|
|
45
|
+
'fabric.elements.user-picker.team.member.count': '{count, plural, one {Team • {count} medlem} other {Team • {count} medlemmer}}',
|
|
46
|
+
'fabric.elements.user-picker.team.member.count.including.you': '{count, plural, one {Team • {count} medlem, inklusive dig} other {Team • {count} medlemmer, inklusive dig}}',
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': '{count, plural, one {Officielt team {verifiedIcon} • {count} medlem} other {Officielt team {verifiedIcon} • {count} medlemmer}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{count, plural, one {Officielt team {verifiedIcon} • {count} medlem, inklusive dig} other {Officielt team {verifiedIcon} • {count} medlemmer, inklusive dig}}',
|
|
49
|
+
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
50
|
+
'fabric.elements.user-picker.user.type.label': 'Personer'
|
|
51
|
+
};
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -5,6 +5,47 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//German (Germany)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.user-picker.custom.type.label': 'Benutzerdefinierte Einstellungen',
|
|
11
|
+
'fabric.elements.user-picker.email.add': 'Benutzer hinzufügen',
|
|
12
|
+
'fabric.elements.user-picker.email.add.potential': 'Geben Sie eine E-Mail-Adresse ein',
|
|
13
|
+
'fabric.elements.user-picker.email.select.to.add': 'Wählen Sie eine E-Mail-Adresse aus',
|
|
14
|
+
'fabric.elements.user-picker.email.type.label': 'E-Mails',
|
|
15
|
+
'fabric.elements.user-picker.error.message': 'Etwas ist schiefgelaufen',
|
|
16
|
+
'fabric.elements.user-picker.external.sourced.error': 'Es ist derzeit keine Verbindung möglich.',
|
|
17
|
+
'fabric.elements.user-picker.external.sourced.from': 'Gefunden in:',
|
|
18
|
+
'fabric.elements.user-picker.external.user.type.label': 'Externe Benutzer',
|
|
19
|
+
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
20
|
+
'fabric.elements.user-picker.google.provider': 'Google',
|
|
21
|
+
'fabric.elements.user-picker.group.byline': 'Vom Administrator verwaltete Gruppe',
|
|
22
|
+
'fabric.elements.user-picker.group.byline.admin-managed': 'Administratorgruppe {verifiedIcon}',
|
|
23
|
+
'fabric.elements.user-picker.group.type.label': 'Gruppen',
|
|
24
|
+
'fabric.elements.user-picker.guest.lozenge.text': 'GAST',
|
|
25
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Gästegruppen können ausschließlich auf ausgewählte Bereiche zugreifen und verfügen über eingeschränkten Zugriff auf Benutzerinformationen.',
|
|
26
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Gäste können ausschließlich auf ausgewählte Bereiche zugreifen und verfügen über eingeschränkten Zugriff auf Benutzerinformationen.',
|
|
27
|
+
'fabric.elements.user-picker.member.lozenge.text': 'Mitglied',
|
|
28
|
+
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
29
|
+
'fabric.elements.user-picker.multi.remove-item': 'Entfernen',
|
|
30
|
+
'fabric.elements.user-picker.other.type.label': 'Sonstiges',
|
|
31
|
+
'fabric.elements.user-picker.placeholder': 'Personen oder Teams eingeben …',
|
|
32
|
+
'fabric.elements.user-picker.placeholder.add-more': 'weitere Personen hinzufügen …',
|
|
33
|
+
'fabric.elements.user-picker.single.clear': 'Löschen',
|
|
34
|
+
'fabric.elements.user-picker.slack.provider': 'Slack',
|
|
35
|
+
'fabric.elements.user-picker.source.confluence': 'Confluence',
|
|
36
|
+
'fabric.elements.user-picker.source.jira': 'Jira',
|
|
37
|
+
'fabric.elements.user-picker.source.other-atlassian': 'Andere Atlassian-Produkte',
|
|
38
|
+
'fabric.elements.user-picker.source.other-atlassian-appify': 'Andere Atlassian-Apps',
|
|
39
|
+
'fabric.elements.user-picker.team.byline': 'Team',
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': 'Offizielles Team {verifiedIcon}',
|
|
41
|
+
'fabric.elements.user-picker.team.member.50plus': 'Team • über 50 Mitglieder',
|
|
42
|
+
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • über 50 Mitglieder, einschließlich Ihnen',
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': 'Offizielles Team {verifiedIcon} • über 50 Mitglieder',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Offizielles Team {verifiedIcon} • über 50 Mitglieder, einschließlich Ihnen',
|
|
45
|
+
'fabric.elements.user-picker.team.member.count': '{count, plural, one {Team • {count} Mitglied} other {Team • {count} Mitglieder}}',
|
|
46
|
+
'fabric.elements.user-picker.team.member.count.including.you': '{count, plural, one {Team • {count} Mitglied, einschließlich Ihnen} other {Team • {count} Mitglieder, einschließlich Ihnen}}',
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': '{count, plural, one {Offizielles Team {verifiedIcon} • {count} Mitglied} other {Offizielles Team {verifiedIcon} • {count} Mitglieder}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{count, plural, one {Offizielles Team {verifiedIcon} • {count} Mitglied, einschließlich Ihnen} other {Offizielles Team {verifiedIcon} • {count} Mitglieder, einschließlich Ihnen}}',
|
|
49
|
+
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
50
|
+
'fabric.elements.user-picker.user.type.label': 'Personen'
|
|
51
|
+
};
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -5,6 +5,47 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.user-picker.custom.type.label': 'Customs',
|
|
11
|
+
'fabric.elements.user-picker.email.add': 'Add user',
|
|
12
|
+
'fabric.elements.user-picker.email.add.potential': 'Enter an email address',
|
|
13
|
+
'fabric.elements.user-picker.email.select.to.add': 'Select an email address',
|
|
14
|
+
'fabric.elements.user-picker.email.type.label': 'Emails',
|
|
15
|
+
'fabric.elements.user-picker.error.message': 'Something went wrong',
|
|
16
|
+
'fabric.elements.user-picker.external.sourced.error': "We can't connect you right now.",
|
|
17
|
+
'fabric.elements.user-picker.external.sourced.from': 'Found in:',
|
|
18
|
+
'fabric.elements.user-picker.external.user.type.label': 'External Users',
|
|
19
|
+
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
20
|
+
'fabric.elements.user-picker.google.provider': 'Google',
|
|
21
|
+
'fabric.elements.user-picker.group.byline': 'Admin-managed group',
|
|
22
|
+
'fabric.elements.user-picker.group.byline.admin-managed': 'Admin group {verifiedIcon}',
|
|
23
|
+
'fabric.elements.user-picker.group.type.label': 'Groups',
|
|
24
|
+
'fabric.elements.user-picker.guest.lozenge.text': 'GUEST',
|
|
25
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
|
|
26
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
|
|
27
|
+
'fabric.elements.user-picker.member.lozenge.text': 'MEMBER',
|
|
28
|
+
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
29
|
+
'fabric.elements.user-picker.multi.remove-item': 'Remove',
|
|
30
|
+
'fabric.elements.user-picker.other.type.label': 'Others',
|
|
31
|
+
'fabric.elements.user-picker.placeholder': 'Enter people or teams...',
|
|
32
|
+
'fabric.elements.user-picker.placeholder.add-more': 'add more people...',
|
|
33
|
+
'fabric.elements.user-picker.single.clear': 'Clear',
|
|
34
|
+
'fabric.elements.user-picker.slack.provider': 'Slack',
|
|
35
|
+
'fabric.elements.user-picker.source.confluence': 'Confluence',
|
|
36
|
+
'fabric.elements.user-picker.source.jira': 'Jira',
|
|
37
|
+
'fabric.elements.user-picker.source.other-atlassian': 'Other Atlassian products',
|
|
38
|
+
'fabric.elements.user-picker.source.other-atlassian-appify': 'Other Atlassian apps',
|
|
39
|
+
'fabric.elements.user-picker.team.byline': 'Team',
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': 'Official team {verifiedIcon}',
|
|
41
|
+
'fabric.elements.user-picker.team.member.50plus': 'Team • 50+ members',
|
|
42
|
+
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': 'Official team {verifiedIcon} • 50+ members',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Official team {verifiedIcon} • 50+ members, including you',
|
|
45
|
+
'fabric.elements.user-picker.team.member.count': 'Team • {count} {count, plural, one {member} other {members}}',
|
|
46
|
+
'fabric.elements.user-picker.team.member.count.including.you': 'Team • {count} {count, plural, one {member} other {members}}, including you',
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': 'Official team {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': 'Official team {verifiedIcon} • {count} {count, plural, one {member} other {members}}, including you',
|
|
49
|
+
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
50
|
+
'fabric.elements.user-picker.user.type.label': 'People'
|
|
51
|
+
};
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -5,6 +5,47 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//English (United Kingdom)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.elements.user-picker.custom.type.label': 'Customs',
|
|
11
|
+
'fabric.elements.user-picker.email.add': 'Add user',
|
|
12
|
+
'fabric.elements.user-picker.email.add.potential': 'Enter an email address',
|
|
13
|
+
'fabric.elements.user-picker.email.select.to.add': 'Select an email address',
|
|
14
|
+
'fabric.elements.user-picker.email.type.label': 'Emails',
|
|
15
|
+
'fabric.elements.user-picker.error.message': 'Something went wrong',
|
|
16
|
+
'fabric.elements.user-picker.external.sourced.error': "We can't connect you right now.",
|
|
17
|
+
'fabric.elements.user-picker.external.sourced.from': 'Found in:',
|
|
18
|
+
'fabric.elements.user-picker.external.user.type.label': 'External Users',
|
|
19
|
+
'fabric.elements.user-picker.github.provider': 'GitHub',
|
|
20
|
+
'fabric.elements.user-picker.google.provider': 'Google',
|
|
21
|
+
'fabric.elements.user-picker.group.byline': 'Admin-managed group',
|
|
22
|
+
'fabric.elements.user-picker.group.byline.admin-managed': 'Admin group {verifiedIcon}',
|
|
23
|
+
'fabric.elements.user-picker.group.type.label': 'Groups',
|
|
24
|
+
'fabric.elements.user-picker.guest.lozenge.text': 'GUEST',
|
|
25
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
|
|
26
|
+
'fabric.elements.user-picker.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
|
|
27
|
+
'fabric.elements.user-picker.member.lozenge.text': 'MEMBER',
|
|
28
|
+
'fabric.elements.user-picker.microsoft.provider': 'Microsoft',
|
|
29
|
+
'fabric.elements.user-picker.multi.remove-item': 'Remove',
|
|
30
|
+
'fabric.elements.user-picker.other.type.label': 'Others',
|
|
31
|
+
'fabric.elements.user-picker.placeholder': 'Enter people or teams...',
|
|
32
|
+
'fabric.elements.user-picker.placeholder.add-more': 'add more people...',
|
|
33
|
+
'fabric.elements.user-picker.single.clear': 'Clear',
|
|
34
|
+
'fabric.elements.user-picker.slack.provider': 'Slack',
|
|
35
|
+
'fabric.elements.user-picker.source.confluence': 'Confluence',
|
|
36
|
+
'fabric.elements.user-picker.source.jira': 'Jira',
|
|
37
|
+
'fabric.elements.user-picker.source.other-atlassian': 'Other Atlassian products',
|
|
38
|
+
'fabric.elements.user-picker.source.other-atlassian-appify': 'Other Atlassian apps',
|
|
39
|
+
'fabric.elements.user-picker.team.byline': 'Team',
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': 'Official team {verifiedIcon}',
|
|
41
|
+
'fabric.elements.user-picker.team.member.50plus': 'Team • 50+ members',
|
|
42
|
+
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': 'Official team {verifiedIcon} • 50+ members',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Official team {verifiedIcon} • 50+ members, including you',
|
|
45
|
+
'fabric.elements.user-picker.team.member.count': 'Team • {count} {count, plural, one {member} other {members}}',
|
|
46
|
+
'fabric.elements.user-picker.team.member.count.including.you': 'Team • {count} {count, plural, one {member} other {members}}, including you',
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': 'Official team {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': 'Official team {verifiedIcon} • {count} {count, plural, one {member} other {members}}, including you',
|
|
49
|
+
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
50
|
+
'fabric.elements.user-picker.user.type.label': 'People'
|
|
51
|
+
};
|