@atlaskit/user-picker 11.6.7 → 11.6.9
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 +14 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/ClearIndicator.js +1 -1
- package/dist/cjs/components/Control.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/MultiValueContainer.js +1 -1
- package/dist/cjs/components/SingleValue.js +1 -1
- package/dist/cjs/components/SingleValueContainer.js +1 -1
- package/dist/cjs/components/UserPicker.js +1 -1
- package/dist/cjs/components/utils.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/ClearIndicator.js +1 -1
- package/dist/es2019/components/Control.js +1 -1
- package/dist/es2019/components/Input.js +1 -1
- package/dist/es2019/components/MultiValueContainer.js +1 -1
- package/dist/es2019/components/SingleValue.js +1 -1
- package/dist/es2019/components/SingleValueContainer.js +1 -1
- package/dist/es2019/components/UserPicker.js +1 -1
- package/dist/es2019/components/utils.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/ClearIndicator.js +1 -1
- package/dist/esm/components/Control.js +1 -1
- package/dist/esm/components/Input.js +1 -1
- package/dist/esm/components/MultiValueContainer.js +1 -1
- package/dist/esm/components/SingleValue.js +1 -1
- package/dist/esm/components/SingleValueContainer.js +1 -1
- package/dist/esm/components/UserPicker.js +1 -1
- package/dist/esm/components/utils.js +1 -1
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 11.6.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`944f9ffd5469c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/944f9ffd5469c) -
|
|
8
|
+
Remove @atlaskit/analytics-viewer
|
|
9
|
+
|
|
10
|
+
## 11.6.8
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`80ea8c58d8cd0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/80ea8c58d8cd0) -
|
|
15
|
+
Support avatar for external user
|
|
16
|
+
|
|
3
17
|
## 11.6.7
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
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 = "
|
|
15
|
+
var packageVersion = "11.6.8";
|
|
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}$/;
|
|
@@ -109,7 +109,7 @@ var callCallback = exports.callCallback = function callCallback(callback) {
|
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
var getAvatarUrl = exports.getAvatarUrl = function getAvatarUrl(optionData) {
|
|
112
|
-
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData)) {
|
|
112
|
+
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData) || isExternalUser(optionData)) {
|
|
113
113
|
return optionData.avatarUrl;
|
|
114
114
|
}
|
|
115
115
|
return undefined;
|
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 = "
|
|
5
|
+
const packageVersion = "11.6.8";
|
|
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}$/;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ClearIndicator.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ClearIndicator.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./ClearIndicator.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Input.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Input.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./Input.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MultiValueContainer.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* MultiValueContainer.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./MultiValueContainer.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./SingleValueContainer.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* UserPicker.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* UserPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -67,7 +67,7 @@ export const callCallback = (callback, ...args) => {
|
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
export const getAvatarUrl = optionData => {
|
|
70
|
-
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData)) {
|
|
70
|
+
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData) || isExternalUser(optionData)) {
|
|
71
71
|
return optionData.avatarUrl;
|
|
72
72
|
}
|
|
73
73
|
return undefined;
|
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 = "
|
|
8
|
+
var packageVersion = "11.6.8";
|
|
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}$/;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ClearIndicator.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ClearIndicator.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Input.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Input.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MultiValueContainer.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* MultiValueContainer.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* UserPicker.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* UserPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -102,7 +102,7 @@ export var callCallback = function callCallback(callback) {
|
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
export var getAvatarUrl = function getAvatarUrl(optionData) {
|
|
105
|
-
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData)) {
|
|
105
|
+
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData) || isExternalUser(optionData)) {
|
|
106
106
|
return optionData.avatarUrl;
|
|
107
107
|
}
|
|
108
108
|
return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.6.
|
|
3
|
+
"version": "11.6.9",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@atlaskit/analytics-viewer": "^0.9.0",
|
|
76
75
|
"@atlaskit/elements-test-helpers": "workspace:^",
|
|
77
76
|
"@atlaskit/heading": "^5.2.0",
|
|
78
77
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|