@atlaskit/user-picker 11.25.5 → 11.25.7
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 +13 -0
- package/afm-jira/tsconfig.json +0 -3
- package/afm-products/tsconfig.json +0 -3
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/ExternalUserOption/main.js +2 -3
- package/dist/cjs/components/SingleValue.js +2 -2
- package/dist/cjs/components/SingleValueContainer.js +2 -3
- package/dist/cjs/components/UserOption.js +2 -2
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/ExternalUserOption/main.js +2 -3
- package/dist/es2019/components/SingleValue.js +2 -2
- package/dist/es2019/components/SingleValueContainer.js +2 -3
- package/dist/es2019/components/UserOption.js +2 -2
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/ExternalUserOption/main.js +2 -3
- package/dist/esm/components/SingleValue.js +2 -2
- package/dist/esm/components/SingleValueContainer.js +2 -3
- package/dist/esm/components/UserOption.js +2 -2
- package/package.json +7 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 11.25.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.25.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`56b3ad1028c58`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/56b3ad1028c58) -
|
|
14
|
+
Clean up feature gate jira_ai_agent_avatar_user_picker_user_option
|
|
15
|
+
|
|
3
16
|
## 11.25.5
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/afm-jira/tsconfig.json
CHANGED
package/dist/cjs/analytics.js
CHANGED
|
@@ -14,7 +14,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
15
15
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
16
16
|
var packageName = "@atlaskit/user-picker";
|
|
17
|
-
var packageVersion = "11.25.
|
|
17
|
+
var packageVersion = "11.25.6";
|
|
18
18
|
var UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
19
19
|
var UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
20
20
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -25,7 +25,6 @@ var _InfoIcon = _interopRequireDefault(require("./InfoIcon"));
|
|
|
25
25
|
var _ExternalAvatarItemOption = require("./ExternalAvatarItemOption");
|
|
26
26
|
var _SourcesTooltipContent = require("./SourcesTooltipContent");
|
|
27
27
|
var _avatar = require("@atlaskit/avatar");
|
|
28
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
29
28
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
30
29
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
|
31
30
|
* @jsxRuntime classic
|
|
@@ -112,7 +111,7 @@ var ExternalUserOptionImpl = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
112
111
|
iconColor: iconColor,
|
|
113
112
|
src: avatarUrl,
|
|
114
113
|
presence: status,
|
|
115
|
-
avatarAppearanceShape: (0,
|
|
114
|
+
avatarAppearanceShape: (0, _avatar.getAppearanceForAppType)(appType)
|
|
116
115
|
});
|
|
117
116
|
}
|
|
118
117
|
// Fallback to original behavior
|
|
@@ -120,7 +119,7 @@ var ExternalUserOptionImpl = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
120
119
|
appearance: "big",
|
|
121
120
|
src: avatarUrl,
|
|
122
121
|
presence: status,
|
|
123
|
-
avatarAppearanceShape: (0,
|
|
122
|
+
avatarAppearanceShape: (0, _avatar.getAppearanceForAppType)(appType)
|
|
124
123
|
});
|
|
125
124
|
});
|
|
126
125
|
(0, _defineProperty2.default)(_this, "fireEvent", function (eventCreator) {
|
|
@@ -55,12 +55,12 @@ var SingleValue = exports.SingleValue = function SingleValue(props) {
|
|
|
55
55
|
src: (0, _utils.getAvatarUrl)(data),
|
|
56
56
|
appearance: appearance,
|
|
57
57
|
type: (0, _utils.isTeam)(data) ? 'team' : 'person',
|
|
58
|
-
avatarAppearanceShape: (0,
|
|
58
|
+
avatarAppearanceShape: (0, _avatar.getAppearanceForAppType)(data.appType)
|
|
59
59
|
}) : /*#__PURE__*/React.createElement(_SizeableAvatar.SizeableAvatar, {
|
|
60
60
|
src: (0, _utils.getAvatarUrl)(data),
|
|
61
61
|
appearance: appearance,
|
|
62
62
|
type: (0, _utils.isTeam)(data) ? 'team' : 'person',
|
|
63
|
-
avatarAppearanceShape: (0,
|
|
63
|
+
avatarAppearanceShape: (0, _avatar.getAppearanceForAppType)(data.appType)
|
|
64
64
|
}), /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
65
65
|
xcss: styles.avatarItem
|
|
66
66
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -22,7 +22,6 @@ var _AvatarOrIcon = require("./AvatarOrIcon");
|
|
|
22
22
|
var _SizeableAvatar = require("./SizeableAvatar");
|
|
23
23
|
var _ValueContainerWrapper = _interopRequireDefault(require("./ValueContainerWrapper"));
|
|
24
24
|
var _avatar = require("@atlaskit/avatar");
|
|
25
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
26
25
|
var _excluded = ["children"];
|
|
27
26
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
28
27
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
@@ -60,7 +59,7 @@ var SingleValueContainer = exports.SingleValueContainer = /*#__PURE__*/function
|
|
|
60
59
|
iconColor: userData.iconColor,
|
|
61
60
|
type: placeholderAvatar,
|
|
62
61
|
src: userData.avatarUrl,
|
|
63
|
-
avatarAppearanceShape: userData
|
|
62
|
+
avatarAppearanceShape: userData ? (0, _avatar.getAppearanceForAppType)(userData.appType) : undefined
|
|
64
63
|
});
|
|
65
64
|
}
|
|
66
65
|
// Fallback to original behavior
|
|
@@ -68,7 +67,7 @@ var SingleValueContainer = exports.SingleValueContainer = /*#__PURE__*/function
|
|
|
68
67
|
appearance: appearance,
|
|
69
68
|
type: placeholderAvatar,
|
|
70
69
|
src: userData === null || userData === void 0 ? void 0 : userData.avatarUrl,
|
|
71
|
-
avatarAppearanceShape: userData
|
|
70
|
+
avatarAppearanceShape: userData ? (0, _avatar.getAppearanceForAppType)(userData.appType) : undefined
|
|
72
71
|
});
|
|
73
72
|
}
|
|
74
73
|
return null;
|
|
@@ -92,7 +92,7 @@ var UserOption = exports.UserOption = /*#__PURE__*/function (_React$PureComponen
|
|
|
92
92
|
iconColor: iconColor,
|
|
93
93
|
src: avatarUrl,
|
|
94
94
|
presence: status,
|
|
95
|
-
avatarAppearanceShape: (0,
|
|
95
|
+
avatarAppearanceShape: (0, _avatar.getAppearanceForAppType)(appType)
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
98
|
// Fallback to original behavior
|
|
@@ -100,7 +100,7 @@ var UserOption = exports.UserOption = /*#__PURE__*/function (_React$PureComponen
|
|
|
100
100
|
appearance: appearance,
|
|
101
101
|
src: avatarUrl,
|
|
102
102
|
presence: status,
|
|
103
|
-
avatarAppearanceShape: (0,
|
|
103
|
+
avatarAppearanceShape: (0, _avatar.getAppearanceForAppType)(appType)
|
|
104
104
|
});
|
|
105
105
|
});
|
|
106
106
|
(0, _defineProperty2.default)(_this, "getLozengeProps", function () {
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -5,7 +5,7 @@ import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
|
5
5
|
import { v4 as uuidv4 } from 'uuid';
|
|
6
6
|
import { isCustom, isExternalUser } from './components/utils';
|
|
7
7
|
const packageName = "@atlaskit/user-picker";
|
|
8
|
-
const packageVersion = "11.25.
|
|
8
|
+
const packageVersion = "11.25.6";
|
|
9
9
|
const UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
10
10
|
const UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
11
11
|
const UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -17,7 +17,6 @@ import InfoIcon from './InfoIcon';
|
|
|
17
17
|
import { ExternalAvatarItemOption } from './ExternalAvatarItemOption';
|
|
18
18
|
import { SourcesTooltipContent } from './SourcesTooltipContent';
|
|
19
19
|
import { getAppearanceForAppType } from '@atlaskit/avatar';
|
|
20
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
20
|
|
|
22
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
23
22
|
export const imageContainer = css({
|
|
@@ -99,7 +98,7 @@ class ExternalUserOptionImpl extends React.PureComponent {
|
|
|
99
98
|
iconColor: iconColor,
|
|
100
99
|
src: avatarUrl,
|
|
101
100
|
presence: status,
|
|
102
|
-
avatarAppearanceShape:
|
|
101
|
+
avatarAppearanceShape: getAppearanceForAppType(appType)
|
|
103
102
|
});
|
|
104
103
|
}
|
|
105
104
|
// Fallback to original behavior
|
|
@@ -107,7 +106,7 @@ class ExternalUserOptionImpl extends React.PureComponent {
|
|
|
107
106
|
appearance: "big",
|
|
108
107
|
src: avatarUrl,
|
|
109
108
|
presence: status,
|
|
110
|
-
avatarAppearanceShape:
|
|
109
|
+
avatarAppearanceShape: getAppearanceForAppType(appType)
|
|
111
110
|
});
|
|
112
111
|
});
|
|
113
112
|
_defineProperty(this, "fireEvent", (eventCreator, ...args) => {
|
|
@@ -55,12 +55,12 @@ export const SingleValue = props => {
|
|
|
55
55
|
src: getAvatarUrl(data),
|
|
56
56
|
appearance: appearance,
|
|
57
57
|
type: isTeam(data) ? 'team' : 'person',
|
|
58
|
-
avatarAppearanceShape:
|
|
58
|
+
avatarAppearanceShape: getAppearanceForAppType(data.appType)
|
|
59
59
|
}) : /*#__PURE__*/React.createElement(SizeableAvatar, {
|
|
60
60
|
src: getAvatarUrl(data),
|
|
61
61
|
appearance: appearance,
|
|
62
62
|
type: isTeam(data) ? 'team' : 'person',
|
|
63
|
-
avatarAppearanceShape:
|
|
63
|
+
avatarAppearanceShape: getAppearanceForAppType(data.appType)
|
|
64
64
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
65
65
|
xcss: styles.avatarItem
|
|
66
66
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -9,7 +9,6 @@ import { AvatarOrIcon } from './AvatarOrIcon';
|
|
|
9
9
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
10
10
|
import ValueContainerWrapper from './ValueContainerWrapper';
|
|
11
11
|
import { getAppearanceForAppType } from '@atlaskit/avatar';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
12
|
const valueContainerStyles = {
|
|
14
13
|
root: "_yv0e5bpd _ca0q12x7 _n3td12x7 _19bvze3t _1reo15vq _18m91wug _1fjgglyw _c71l1osq _1suq1j28 _1ke8idpf"
|
|
15
14
|
};
|
|
@@ -40,7 +39,7 @@ export class SingleValueContainer extends React.Component {
|
|
|
40
39
|
iconColor: userData.iconColor,
|
|
41
40
|
type: placeholderAvatar,
|
|
42
41
|
src: userData.avatarUrl,
|
|
43
|
-
avatarAppearanceShape: userData
|
|
42
|
+
avatarAppearanceShape: userData ? getAppearanceForAppType(userData.appType) : undefined
|
|
44
43
|
});
|
|
45
44
|
}
|
|
46
45
|
// Fallback to original behavior
|
|
@@ -48,7 +47,7 @@ export class SingleValueContainer extends React.Component {
|
|
|
48
47
|
appearance: appearance,
|
|
49
48
|
type: placeholderAvatar,
|
|
50
49
|
src: userData === null || userData === void 0 ? void 0 : userData.avatarUrl,
|
|
51
|
-
avatarAppearanceShape: userData
|
|
50
|
+
avatarAppearanceShape: userData ? getAppearanceForAppType(userData.appType) : undefined
|
|
52
51
|
});
|
|
53
52
|
}
|
|
54
53
|
return null;
|
|
@@ -76,7 +76,7 @@ export class UserOption extends React.PureComponent {
|
|
|
76
76
|
iconColor: iconColor,
|
|
77
77
|
src: avatarUrl,
|
|
78
78
|
presence: status,
|
|
79
|
-
avatarAppearanceShape:
|
|
79
|
+
avatarAppearanceShape: getAppearanceForAppType(appType)
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
// Fallback to original behavior
|
|
@@ -84,7 +84,7 @@ export class UserOption extends React.PureComponent {
|
|
|
84
84
|
appearance: appearance,
|
|
85
85
|
src: avatarUrl,
|
|
86
86
|
presence: status,
|
|
87
|
-
avatarAppearanceShape:
|
|
87
|
+
avatarAppearanceShape: getAppearanceForAppType(appType)
|
|
88
88
|
});
|
|
89
89
|
});
|
|
90
90
|
_defineProperty(this, "getLozengeProps", () => typeof this.props.user.lozenge === 'string' ? {
|
package/dist/esm/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
|
8
8
|
import { v4 as uuidv4 } from 'uuid';
|
|
9
9
|
import { isCustom, isExternalUser } from './components/utils';
|
|
10
10
|
var packageName = "@atlaskit/user-picker";
|
|
11
|
-
var packageVersion = "11.25.
|
|
11
|
+
var packageVersion = "11.25.6";
|
|
12
12
|
var UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
13
13
|
var UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
14
14
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -25,7 +25,6 @@ import InfoIcon from './InfoIcon';
|
|
|
25
25
|
import { ExternalAvatarItemOption } from './ExternalAvatarItemOption';
|
|
26
26
|
import { SourcesTooltipContent } from './SourcesTooltipContent';
|
|
27
27
|
import { getAppearanceForAppType } from '@atlaskit/avatar';
|
|
28
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
29
28
|
|
|
30
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
30
|
export var imageContainer = css({
|
|
@@ -108,7 +107,7 @@ var ExternalUserOptionImpl = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
108
107
|
iconColor: iconColor,
|
|
109
108
|
src: avatarUrl,
|
|
110
109
|
presence: status,
|
|
111
|
-
avatarAppearanceShape:
|
|
110
|
+
avatarAppearanceShape: getAppearanceForAppType(appType)
|
|
112
111
|
});
|
|
113
112
|
}
|
|
114
113
|
// Fallback to original behavior
|
|
@@ -116,7 +115,7 @@ var ExternalUserOptionImpl = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
116
115
|
appearance: "big",
|
|
117
116
|
src: avatarUrl,
|
|
118
117
|
presence: status,
|
|
119
|
-
avatarAppearanceShape:
|
|
118
|
+
avatarAppearanceShape: getAppearanceForAppType(appType)
|
|
120
119
|
});
|
|
121
120
|
});
|
|
122
121
|
_defineProperty(_this, "fireEvent", function (eventCreator) {
|
|
@@ -46,12 +46,12 @@ export var SingleValue = function SingleValue(props) {
|
|
|
46
46
|
src: getAvatarUrl(data),
|
|
47
47
|
appearance: appearance,
|
|
48
48
|
type: isTeam(data) ? 'team' : 'person',
|
|
49
|
-
avatarAppearanceShape:
|
|
49
|
+
avatarAppearanceShape: getAppearanceForAppType(data.appType)
|
|
50
50
|
}) : /*#__PURE__*/React.createElement(SizeableAvatar, {
|
|
51
51
|
src: getAvatarUrl(data),
|
|
52
52
|
appearance: appearance,
|
|
53
53
|
type: isTeam(data) ? 'team' : 'person',
|
|
54
|
-
avatarAppearanceShape:
|
|
54
|
+
avatarAppearanceShape: getAppearanceForAppType(data.appType)
|
|
55
55
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
56
56
|
xcss: styles.avatarItem
|
|
57
57
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -18,7 +18,6 @@ import { AvatarOrIcon } from './AvatarOrIcon';
|
|
|
18
18
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
19
19
|
import ValueContainerWrapper from './ValueContainerWrapper';
|
|
20
20
|
import { getAppearanceForAppType } from '@atlaskit/avatar';
|
|
21
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
21
|
var valueContainerStyles = {
|
|
23
22
|
root: "_yv0e5bpd _ca0q12x7 _n3td12x7 _19bvze3t _1reo15vq _18m91wug _1fjgglyw _c71l1osq _1suq1j28 _1ke8idpf"
|
|
24
23
|
};
|
|
@@ -53,7 +52,7 @@ export var SingleValueContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
53
52
|
iconColor: userData.iconColor,
|
|
54
53
|
type: placeholderAvatar,
|
|
55
54
|
src: userData.avatarUrl,
|
|
56
|
-
avatarAppearanceShape: userData
|
|
55
|
+
avatarAppearanceShape: userData ? getAppearanceForAppType(userData.appType) : undefined
|
|
57
56
|
});
|
|
58
57
|
}
|
|
59
58
|
// Fallback to original behavior
|
|
@@ -61,7 +60,7 @@ export var SingleValueContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
61
60
|
appearance: appearance,
|
|
62
61
|
type: placeholderAvatar,
|
|
63
62
|
src: userData === null || userData === void 0 ? void 0 : userData.avatarUrl,
|
|
64
|
-
avatarAppearanceShape: userData
|
|
63
|
+
avatarAppearanceShape: userData ? getAppearanceForAppType(userData.appType) : undefined
|
|
65
64
|
});
|
|
66
65
|
}
|
|
67
66
|
return null;
|
|
@@ -87,7 +87,7 @@ export var UserOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
87
87
|
iconColor: iconColor,
|
|
88
88
|
src: avatarUrl,
|
|
89
89
|
presence: status,
|
|
90
|
-
avatarAppearanceShape:
|
|
90
|
+
avatarAppearanceShape: getAppearanceForAppType(appType)
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
// Fallback to original behavior
|
|
@@ -95,7 +95,7 @@ export var UserOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
95
95
|
appearance: appearance,
|
|
96
96
|
src: avatarUrl,
|
|
97
97
|
presence: status,
|
|
98
|
-
avatarAppearanceShape:
|
|
98
|
+
avatarAppearanceShape: getAppearanceForAppType(appType)
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
101
|
_defineProperty(_this, "getLozengeProps", function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.25.
|
|
3
|
+
"version": "11.25.7",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@atlaskit/afm-i18n-platform-elements-user-picker": "2.7.0",
|
|
46
46
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
47
|
-
"@atlaskit/avatar": "^25.
|
|
47
|
+
"@atlaskit/avatar": "^25.11.0",
|
|
48
48
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
49
|
-
"@atlaskit/icon": "^
|
|
49
|
+
"@atlaskit/icon": "^34.0.0",
|
|
50
50
|
"@atlaskit/logo": "^19.10.0",
|
|
51
51
|
"@atlaskit/lozenge": "^13.5.0",
|
|
52
52
|
"@atlaskit/people-teams-ui-public": "^3.7.0",
|
|
53
53
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
54
54
|
"@atlaskit/popper": "^7.1.0",
|
|
55
55
|
"@atlaskit/primitives": "^18.1.0",
|
|
56
|
-
"@atlaskit/select": "^21.
|
|
56
|
+
"@atlaskit/select": "^21.10.0",
|
|
57
57
|
"@atlaskit/spinner": "^19.0.0",
|
|
58
58
|
"@atlaskit/tag": "^14.6.0",
|
|
59
59
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
60
|
-
"@atlaskit/tokens": "^11.
|
|
61
|
-
"@atlaskit/tooltip": "^21.
|
|
60
|
+
"@atlaskit/tokens": "^11.4.0",
|
|
61
|
+
"@atlaskit/tooltip": "^21.1.0",
|
|
62
62
|
"@atlaskit/ufo": "^0.4.0",
|
|
63
63
|
"@babel/runtime": "^7.0.0",
|
|
64
64
|
"@compiled/react": "^0.20.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",
|
|
@@ -116,9 +116,6 @@
|
|
|
116
116
|
"product-terminology-refresh": {
|
|
117
117
|
"type": "boolean"
|
|
118
118
|
},
|
|
119
|
-
"jira_ai_agent_avatar_user_picker_user_option": {
|
|
120
|
-
"type": "boolean"
|
|
121
|
-
},
|
|
122
119
|
"platform-dst-lozenge-tag-badge-visual-uplifts": {
|
|
123
120
|
"type": "boolean"
|
|
124
121
|
},
|