@atlaskit/user-picker 11.23.1 → 11.23.3
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 +20 -0
- package/dist/cjs/components/TeamOption/main.js +2 -1
- package/dist/cjs/i18n/en.js +5 -5
- package/dist/cjs/i18n/en_GB.js +5 -5
- package/dist/es2019/components/TeamOption/main.js +2 -1
- package/dist/es2019/i18n/en.js +5 -5
- package/dist/es2019/i18n/en_GB.js +5 -5
- package/dist/esm/components/TeamOption/main.js +2 -1
- package/dist/esm/i18n/en.js +5 -5
- package/dist/esm/i18n/en_GB.js +5 -5
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 11.23.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1d0fcc9c19260`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1d0fcc9c19260) -
|
|
8
|
+
Document manual translation updates for user-picker team byline messages.
|
|
9
|
+
|
|
10
|
+
Translations were updated manually in locale files (en, en_GB, and other languages) to support the
|
|
11
|
+
dynamic `{teamTypeName}` parameter in official/verified team byline messages. This allows the UI
|
|
12
|
+
to display server-provided team type labels (e.g. "Managed team", "Official team") instead of a
|
|
13
|
+
single hardcoded string. The manual update was done because these message key changes and new
|
|
14
|
+
placeholder usage required coordinated updates across the translation files outside of the normal
|
|
15
|
+
code-driven flow.
|
|
16
|
+
|
|
17
|
+
## 11.23.2
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 11.23.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -148,7 +148,8 @@ var TeamOption = exports.TeamOption = /*#__PURE__*/function (_React$PureComponen
|
|
|
148
148
|
if (_this.props.team.verified) {
|
|
149
149
|
return (0, _react.jsx)(_verifiedTeamIcon.VerifiedTeamIcon, {
|
|
150
150
|
label: "",
|
|
151
|
-
size: "small"
|
|
151
|
+
size: "small",
|
|
152
|
+
spacing: "none"
|
|
152
153
|
});
|
|
153
154
|
}
|
|
154
155
|
return undefined;
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -43,15 +43,15 @@ var _default = exports.default = {
|
|
|
43
43
|
'fabric.elements.user-picker.source.other-atlassian': 'Other Atlassian products',
|
|
44
44
|
'fabric.elements.user-picker.source.other-atlassian-appify': 'Other Atlassian apps',
|
|
45
45
|
'fabric.elements.user-picker.team.byline': 'Team',
|
|
46
|
-
'fabric.elements.user-picker.team.byline.official': '
|
|
46
|
+
'fabric.elements.user-picker.team.byline.official': '{teamTypeName} {verifiedIcon}',
|
|
47
47
|
'fabric.elements.user-picker.team.member.50plus': 'Team • 50+ members',
|
|
48
48
|
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
49
|
-
'fabric.elements.user-picker.team.member.50plus.official': '
|
|
50
|
-
'fabric.elements.user-picker.team.member.50plus.official.including.you': '
|
|
49
|
+
'fabric.elements.user-picker.team.member.50plus.official': '{teamTypeName} {verifiedIcon} • 50+ members',
|
|
50
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': '{teamTypeName} {verifiedIcon} • 50+ members, including you',
|
|
51
51
|
'fabric.elements.user-picker.team.member.count': 'Team • {count} {count, plural, one {member} other {members}}',
|
|
52
52
|
'fabric.elements.user-picker.team.member.count.including.you': 'Team • {count} {count, plural, one {member} other {members}}, including you',
|
|
53
|
-
'fabric.elements.user-picker.team.member.count.official': '
|
|
54
|
-
'fabric.elements.user-picker.team.member.count.official.including.you': '
|
|
53
|
+
'fabric.elements.user-picker.team.member.count.official': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
|
|
54
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}, including you',
|
|
55
55
|
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
56
56
|
'fabric.elements.user-picker.user.type.label': 'People'
|
|
57
57
|
};
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -43,15 +43,15 @@ var _default = exports.default = {
|
|
|
43
43
|
'fabric.elements.user-picker.source.other-atlassian': 'Other Atlassian products',
|
|
44
44
|
'fabric.elements.user-picker.source.other-atlassian-appify': 'Other Atlassian apps',
|
|
45
45
|
'fabric.elements.user-picker.team.byline': 'Team',
|
|
46
|
-
'fabric.elements.user-picker.team.byline.official': '
|
|
46
|
+
'fabric.elements.user-picker.team.byline.official': '{teamTypeName} {verifiedIcon}',
|
|
47
47
|
'fabric.elements.user-picker.team.member.50plus': 'Team • 50+ members',
|
|
48
48
|
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
49
|
-
'fabric.elements.user-picker.team.member.50plus.official': '
|
|
50
|
-
'fabric.elements.user-picker.team.member.50plus.official.including.you': '
|
|
49
|
+
'fabric.elements.user-picker.team.member.50plus.official': '{teamTypeName} {verifiedIcon} • 50+ members',
|
|
50
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': '{teamTypeName} {verifiedIcon} • 50+ members, including you',
|
|
51
51
|
'fabric.elements.user-picker.team.member.count': 'Team • {count} {count, plural, one {member} other {members}}',
|
|
52
52
|
'fabric.elements.user-picker.team.member.count.including.you': 'Team • {count} {count, plural, one {member} other {members}}, including you',
|
|
53
|
-
'fabric.elements.user-picker.team.member.count.official': '
|
|
54
|
-
'fabric.elements.user-picker.team.member.count.official.including.you': '
|
|
53
|
+
'fabric.elements.user-picker.team.member.count.official': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
|
|
54
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}, including you',
|
|
55
55
|
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
56
56
|
'fabric.elements.user-picker.user.type.label': 'People'
|
|
57
57
|
};
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -37,15 +37,15 @@ export default {
|
|
|
37
37
|
'fabric.elements.user-picker.source.other-atlassian': 'Other Atlassian products',
|
|
38
38
|
'fabric.elements.user-picker.source.other-atlassian-appify': 'Other Atlassian apps',
|
|
39
39
|
'fabric.elements.user-picker.team.byline': 'Team',
|
|
40
|
-
'fabric.elements.user-picker.team.byline.official': '
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': '{teamTypeName} {verifiedIcon}',
|
|
41
41
|
'fabric.elements.user-picker.team.member.50plus': 'Team • 50+ members',
|
|
42
42
|
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
43
|
-
'fabric.elements.user-picker.team.member.50plus.official': '
|
|
44
|
-
'fabric.elements.user-picker.team.member.50plus.official.including.you': '
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': '{teamTypeName} {verifiedIcon} • 50+ members',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': '{teamTypeName} {verifiedIcon} • 50+ members, including you',
|
|
45
45
|
'fabric.elements.user-picker.team.member.count': 'Team • {count} {count, plural, one {member} other {members}}',
|
|
46
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': '
|
|
48
|
-
'fabric.elements.user-picker.team.member.count.official.including.you': '
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}, including you',
|
|
49
49
|
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
50
50
|
'fabric.elements.user-picker.user.type.label': 'People'
|
|
51
51
|
};
|
|
@@ -37,15 +37,15 @@ export default {
|
|
|
37
37
|
'fabric.elements.user-picker.source.other-atlassian': 'Other Atlassian products',
|
|
38
38
|
'fabric.elements.user-picker.source.other-atlassian-appify': 'Other Atlassian apps',
|
|
39
39
|
'fabric.elements.user-picker.team.byline': 'Team',
|
|
40
|
-
'fabric.elements.user-picker.team.byline.official': '
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': '{teamTypeName} {verifiedIcon}',
|
|
41
41
|
'fabric.elements.user-picker.team.member.50plus': 'Team • 50+ members',
|
|
42
42
|
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
43
|
-
'fabric.elements.user-picker.team.member.50plus.official': '
|
|
44
|
-
'fabric.elements.user-picker.team.member.50plus.official.including.you': '
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': '{teamTypeName} {verifiedIcon} • 50+ members',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': '{teamTypeName} {verifiedIcon} • 50+ members, including you',
|
|
45
45
|
'fabric.elements.user-picker.team.member.count': 'Team • {count} {count, plural, one {member} other {members}}',
|
|
46
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': '
|
|
48
|
-
'fabric.elements.user-picker.team.member.count.official.including.you': '
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}, including you',
|
|
49
49
|
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
50
50
|
'fabric.elements.user-picker.user.type.label': 'People'
|
|
51
51
|
};
|
|
@@ -143,7 +143,8 @@ export var TeamOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
143
143
|
if (_this.props.team.verified) {
|
|
144
144
|
return jsx(VerifiedTeamIcon, {
|
|
145
145
|
label: "",
|
|
146
|
-
size: "small"
|
|
146
|
+
size: "small",
|
|
147
|
+
spacing: "none"
|
|
147
148
|
});
|
|
148
149
|
}
|
|
149
150
|
return undefined;
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -37,15 +37,15 @@ export default {
|
|
|
37
37
|
'fabric.elements.user-picker.source.other-atlassian': 'Other Atlassian products',
|
|
38
38
|
'fabric.elements.user-picker.source.other-atlassian-appify': 'Other Atlassian apps',
|
|
39
39
|
'fabric.elements.user-picker.team.byline': 'Team',
|
|
40
|
-
'fabric.elements.user-picker.team.byline.official': '
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': '{teamTypeName} {verifiedIcon}',
|
|
41
41
|
'fabric.elements.user-picker.team.member.50plus': 'Team • 50+ members',
|
|
42
42
|
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
43
|
-
'fabric.elements.user-picker.team.member.50plus.official': '
|
|
44
|
-
'fabric.elements.user-picker.team.member.50plus.official.including.you': '
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': '{teamTypeName} {verifiedIcon} • 50+ members',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': '{teamTypeName} {verifiedIcon} • 50+ members, including you',
|
|
45
45
|
'fabric.elements.user-picker.team.member.count': 'Team • {count} {count, plural, one {member} other {members}}',
|
|
46
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': '
|
|
48
|
-
'fabric.elements.user-picker.team.member.count.official.including.you': '
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}, including you',
|
|
49
49
|
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
50
50
|
'fabric.elements.user-picker.user.type.label': 'People'
|
|
51
51
|
};
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -37,15 +37,15 @@ export default {
|
|
|
37
37
|
'fabric.elements.user-picker.source.other-atlassian': 'Other Atlassian products',
|
|
38
38
|
'fabric.elements.user-picker.source.other-atlassian-appify': 'Other Atlassian apps',
|
|
39
39
|
'fabric.elements.user-picker.team.byline': 'Team',
|
|
40
|
-
'fabric.elements.user-picker.team.byline.official': '
|
|
40
|
+
'fabric.elements.user-picker.team.byline.official': '{teamTypeName} {verifiedIcon}',
|
|
41
41
|
'fabric.elements.user-picker.team.member.50plus': 'Team • 50+ members',
|
|
42
42
|
'fabric.elements.user-picker.team.member.50plus.including.you': 'Team • 50+ members, including you',
|
|
43
|
-
'fabric.elements.user-picker.team.member.50plus.official': '
|
|
44
|
-
'fabric.elements.user-picker.team.member.50plus.official.including.you': '
|
|
43
|
+
'fabric.elements.user-picker.team.member.50plus.official': '{teamTypeName} {verifiedIcon} • 50+ members',
|
|
44
|
+
'fabric.elements.user-picker.team.member.50plus.official.including.you': '{teamTypeName} {verifiedIcon} • 50+ members, including you',
|
|
45
45
|
'fabric.elements.user-picker.team.member.count': 'Team • {count} {count, plural, one {member} other {members}}',
|
|
46
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': '
|
|
48
|
-
'fabric.elements.user-picker.team.member.count.official.including.you': '
|
|
47
|
+
'fabric.elements.user-picker.team.member.count.official': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
|
|
48
|
+
'fabric.elements.user-picker.team.member.count.official.including.you': '{teamTypeName} {verifiedIcon} • {count} {count, plural, one {member} other {members}}, including you',
|
|
49
49
|
'fabric.elements.user-picker.team.type.label': 'Teams',
|
|
50
50
|
'fabric.elements.user-picker.user.type.label': 'People'
|
|
51
51
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.23.
|
|
3
|
+
"version": "11.23.3",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"@atlaskit/select": "^21.7.0",
|
|
57
57
|
"@atlaskit/spinner": "^19.0.0",
|
|
58
58
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
59
|
-
"@atlaskit/theme": "^
|
|
59
|
+
"@atlaskit/theme": "^22.0.0",
|
|
60
60
|
"@atlaskit/tokens": "^11.0.0",
|
|
61
61
|
"@atlaskit/tooltip": "^20.14.0",
|
|
62
62
|
"@atlaskit/ufo": "^0.4.0",
|
|
63
63
|
"@babel/runtime": "^7.0.0",
|
|
64
|
-
"@compiled/react": "^0.
|
|
64
|
+
"@compiled/react": "^0.20.0",
|
|
65
65
|
"@emotion/react": "^11.7.1",
|
|
66
66
|
"lodash": "^4.17.21",
|
|
67
67
|
"memoize-one": "^6.0.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@af/visual-regression": "workspace:^",
|
|
79
79
|
"@atlaskit/elements-test-helpers": "workspace:^",
|
|
80
80
|
"@atlaskit/heading": "^5.3.0",
|
|
81
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
81
|
+
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
82
82
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
83
83
|
"@emotion/styled": "^11.0.0",
|
|
84
84
|
"@testing-library/dom": "^10.1.0",
|