@atlaskit/user-picker 11.23.1 → 11.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 11.23.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 11.23.1
4
10
 
5
11
  ### 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;
@@ -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': 'Official team {verifiedIcon}',
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': 'Official team {verifiedIcon} • 50+ members',
50
- 'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Official team {verifiedIcon} • 50+ members, 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': 'Official team {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
54
- 'fabric.elements.user-picker.team.member.count.official.including.you': 'Official team {verifiedIcon} • {count} {count, plural, one {member} other {members}}, 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
  };
@@ -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': 'Official team {verifiedIcon}',
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': 'Official team {verifiedIcon} • 50+ members',
50
- 'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Official team {verifiedIcon} • 50+ members, 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': 'Official team {verifiedIcon} • {count} {count, plural, one {member} other {members}}',
54
- 'fabric.elements.user-picker.team.member.count.official.including.you': 'Official team {verifiedIcon} • {count} {count, plural, one {member} other {members}}, 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
  };
@@ -136,7 +136,8 @@ export class TeamOption extends React.PureComponent {
136
136
  if (this.props.team.verified) {
137
137
  return jsx(VerifiedTeamIcon, {
138
138
  label: "",
139
- size: "small"
139
+ size: "small",
140
+ spacing: "none"
140
141
  });
141
142
  }
142
143
  return undefined;
@@ -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': 'Official team {verifiedIcon}',
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': 'Official team {verifiedIcon} • 50+ members',
44
- 'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Official team {verifiedIcon} • 50+ members, 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': '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',
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': 'Official team {verifiedIcon}',
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': 'Official team {verifiedIcon} • 50+ members',
44
- 'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Official team {verifiedIcon} • 50+ members, 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': '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',
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;
@@ -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': 'Official team {verifiedIcon}',
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': 'Official team {verifiedIcon} • 50+ members',
44
- 'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Official team {verifiedIcon} • 50+ members, 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': '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',
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': 'Official team {verifiedIcon}',
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': 'Official team {verifiedIcon} • 50+ members',
44
- 'fabric.elements.user-picker.team.member.50plus.official.including.you': 'Official team {verifiedIcon} • 50+ members, 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': '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',
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.1",
3
+ "version": "11.23.2",
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,7 +56,7 @@
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": "^21.0.0",
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",
@@ -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.10.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",