@atlaskit/user-picker 11.0.12 → 11.0.13
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 +6 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/PopupUserPicker.js +2 -2
- package/dist/cjs/components/UserOption.js +2 -2
- package/dist/cjs/components/UserPicker.js +2 -2
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/PopupUserPicker.js +2 -2
- package/dist/es2019/components/UserOption.js +2 -2
- package/dist/es2019/components/UserPicker.js +2 -2
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/PopupUserPicker.js +2 -2
- package/dist/esm/components/UserOption.js +2 -2
- package/dist/esm/components/UserPicker.js +2 -2
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
package/dist/cjs/analytics.js
CHANGED
|
@@ -12,7 +12,7 @@ var _utils = require("./components/utils");
|
|
|
12
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
13
|
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; }
|
|
14
14
|
var packageName = "@atlaskit/user-picker";
|
|
15
|
-
var packageVersion = "11.0.
|
|
15
|
+
var packageVersion = "11.0.13";
|
|
16
16
|
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}$/;
|
|
17
17
|
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}$/;
|
|
18
18
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -65,8 +65,8 @@ var PopupUserPickerWithoutAnalytics = exports.PopupUserPickerWithoutAnalytics =
|
|
|
65
65
|
strategy = _this$props.strategy;
|
|
66
66
|
var width = this.props.width;
|
|
67
67
|
var selectStyles = (0, _styles.getPopupStyles)(width, isMulti, styles,
|
|
68
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
69
|
-
(0, _platformFeatureFlags.fg)('platform-component-visual-refresh')
|
|
68
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
69
|
+
(0, _platformFeatureFlags.fg)('platform-component-visual-refresh'));
|
|
70
70
|
return /*#__PURE__*/_react.default.createElement(_BaseUserPicker.BaseUserPickerWithoutAnalytics, (0, _extends2.default)({}, this.props, {
|
|
71
71
|
SelectComponent: _select.PopupSelect,
|
|
72
72
|
width: width,
|
|
@@ -69,8 +69,8 @@ var UserOption = exports.UserOption = /*#__PURE__*/function (_React$PureComponen
|
|
|
69
69
|
status = _this$props.status;
|
|
70
70
|
return (0, _react.jsx)(_SizeableAvatar.SizeableAvatar, {
|
|
71
71
|
appearance:
|
|
72
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
73
|
-
(0, _platformFeatureFlags.fg)('platform-component-visual-refresh')
|
|
72
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
73
|
+
(0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? 'medium' : 'big',
|
|
74
74
|
src: avatarUrl,
|
|
75
75
|
presence: status
|
|
76
76
|
});
|
|
@@ -103,8 +103,8 @@ var UserPickerWithoutAnalytics = exports.UserPickerWithoutAnalytics = /*#__PURE_
|
|
|
103
103
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
104
104
|
,
|
|
105
105
|
styles: (0, _styles.getStyles)(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
|
|
106
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
107
|
-
(0, _platformFeatureFlags.fg)('platform-component-visual-refresh')
|
|
106
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
107
|
+
(0, _platformFeatureFlags.fg)('platform-component-visual-refresh')),
|
|
108
108
|
components: (0, _components.getComponents)(isMulti, anchor, showClearIndicator && (0, _platformFeatureFlags.fg)('user-picker-show-clear-indicator'), (_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.components ? this.props.components : {}),
|
|
109
109
|
pickerProps: pickerProps
|
|
110
110
|
})))));
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
2
2
|
import { v4 as uuidv4 } from 'uuid';
|
|
3
3
|
import { isCustom, isExternalUser } from './components/utils';
|
|
4
4
|
const packageName = "@atlaskit/user-picker";
|
|
5
|
-
const packageVersion = "11.0.
|
|
5
|
+
const packageVersion = "11.0.13";
|
|
6
6
|
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}$/;
|
|
7
7
|
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}$/;
|
|
8
8
|
const UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -49,8 +49,8 @@ export class PopupUserPickerWithoutAnalytics extends React.Component {
|
|
|
49
49
|
} = this.props;
|
|
50
50
|
const width = this.props.width;
|
|
51
51
|
const selectStyles = getPopupStyles(width, isMulti, styles,
|
|
52
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
53
|
-
fg('platform-component-visual-refresh')
|
|
52
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
53
|
+
fg('platform-component-visual-refresh'));
|
|
54
54
|
return /*#__PURE__*/React.createElement(BaseUserPickerWithoutAnalytics, _extends({}, this.props, {
|
|
55
55
|
SelectComponent: PopupSelect,
|
|
56
56
|
width: width,
|
|
@@ -56,8 +56,8 @@ export class UserOption extends React.PureComponent {
|
|
|
56
56
|
} = this.props;
|
|
57
57
|
return jsx(SizeableAvatar, {
|
|
58
58
|
appearance:
|
|
59
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
60
|
-
fg('platform-component-visual-refresh')
|
|
59
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
60
|
+
fg('platform-component-visual-refresh') ? 'medium' : 'big',
|
|
61
61
|
src: avatarUrl,
|
|
62
62
|
presence: status
|
|
63
63
|
});
|
|
@@ -79,8 +79,8 @@ export class UserPickerWithoutAnalytics extends React.Component {
|
|
|
79
79
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
80
80
|
,
|
|
81
81
|
styles: getStyles(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
|
|
82
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
83
|
-
fg('platform-component-visual-refresh')
|
|
82
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
83
|
+
fg('platform-component-visual-refresh')),
|
|
84
84
|
components: getComponents(isMulti, anchor, showClearIndicator && fg('user-picker-show-clear-indicator'), (_this$props = this.props) !== null && _this$props !== void 0 && _this$props.components ? this.props.components : {}),
|
|
85
85
|
pickerProps: pickerProps
|
|
86
86
|
})))));
|
package/dist/esm/analytics.js
CHANGED
|
@@ -5,7 +5,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
5
5
|
import { v4 as uuidv4 } from 'uuid';
|
|
6
6
|
import { isCustom, isExternalUser } from './components/utils';
|
|
7
7
|
var packageName = "@atlaskit/user-picker";
|
|
8
|
-
var packageVersion = "11.0.
|
|
8
|
+
var packageVersion = "11.0.13";
|
|
9
9
|
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}$/;
|
|
10
10
|
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}$/;
|
|
11
11
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -58,8 +58,8 @@ export var PopupUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compo
|
|
|
58
58
|
strategy = _this$props.strategy;
|
|
59
59
|
var width = this.props.width;
|
|
60
60
|
var selectStyles = getPopupStyles(width, isMulti, styles,
|
|
61
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
62
|
-
fg('platform-component-visual-refresh')
|
|
61
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
62
|
+
fg('platform-component-visual-refresh'));
|
|
63
63
|
return /*#__PURE__*/React.createElement(BaseUserPickerWithoutAnalytics, _extends({}, this.props, {
|
|
64
64
|
SelectComponent: PopupSelect,
|
|
65
65
|
width: width,
|
|
@@ -64,8 +64,8 @@ export var UserOption = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
64
64
|
status = _this$props.status;
|
|
65
65
|
return jsx(SizeableAvatar, {
|
|
66
66
|
appearance:
|
|
67
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
68
|
-
fg('platform-component-visual-refresh')
|
|
67
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
68
|
+
fg('platform-component-visual-refresh') ? 'medium' : 'big',
|
|
69
69
|
src: avatarUrl,
|
|
70
70
|
presence: status
|
|
71
71
|
});
|
|
@@ -93,8 +93,8 @@ export var UserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component)
|
|
|
93
93
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
94
94
|
,
|
|
95
95
|
styles: getStyles(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
|
|
96
|
-
// eslint-disable-next-line @atlaskit/platform/
|
|
97
|
-
fg('platform-component-visual-refresh')
|
|
96
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
97
|
+
fg('platform-component-visual-refresh')),
|
|
98
98
|
components: getComponents(isMulti, anchor, showClearIndicator && fg('user-picker-show-clear-indicator'), (_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.components ? this.props.components : {}),
|
|
99
99
|
pickerProps: pickerProps
|
|
100
100
|
})))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.13",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
53
53
|
"@atlaskit/avatar": "^25.0.0",
|
|
54
|
-
"@atlaskit/icon": "^
|
|
54
|
+
"@atlaskit/icon": "^26.0.0",
|
|
55
55
|
"@atlaskit/logo": "^18.0.0",
|
|
56
56
|
"@atlaskit/lozenge": "^12.2.0",
|
|
57
57
|
"@atlaskit/people-teams-ui-public": "^3.1.0",
|
|
58
58
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
59
59
|
"@atlaskit/popper": "^7.0.0",
|
|
60
|
-
"@atlaskit/primitives": "^14.
|
|
60
|
+
"@atlaskit/primitives": "^14.7.0",
|
|
61
61
|
"@atlaskit/select": "^20.4.0",
|
|
62
62
|
"@atlaskit/spinner": "^18.0.0",
|
|
63
63
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
@@ -118,9 +118,6 @@
|
|
|
118
118
|
"platform-component-visual-refresh": {
|
|
119
119
|
"type": "boolean"
|
|
120
120
|
},
|
|
121
|
-
"visual-refresh-user-picker": {
|
|
122
|
-
"type": "boolean"
|
|
123
|
-
},
|
|
124
121
|
"user-picker-show-clear-indicator": {
|
|
125
122
|
"type": "boolean"
|
|
126
123
|
}
|