@atlaskit/user-picker 11.6.7 → 11.6.8

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,12 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 11.6.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`80ea8c58d8cd0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/80ea8c58d8cd0) -
8
+ Support avatar for external user
9
+
3
10
  ## 11.6.7
4
11
 
5
12
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* ClearIndicator.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* ClearIndicator.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Control.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* Control.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Input.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* Input.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* MultiValueContainer.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* MultiValueContainer.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* SingleValue.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* SingleValue.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* UserPicker.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* UserPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -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;
@@ -1,4 +1,4 @@
1
- /* ClearIndicator.tsx generated by @compiled/babel-plugin v0.36.1 */
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
- /* Control.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* Control.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./Control.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* Input.tsx generated by @compiled/babel-plugin v0.36.1 */
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.36.1 */
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
- /* SingleValue.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* SingleValue.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./SingleValue.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.36.1 */
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.36.1 */
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;
@@ -1,4 +1,4 @@
1
- /* ClearIndicator.tsx generated by @compiled/babel-plugin v0.36.1 */
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
- /* Control.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* Control.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./Control.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* Input.tsx generated by @compiled/babel-plugin v0.36.1 */
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.36.1 */
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
- /* SingleValue.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* SingleValue.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./SingleValue.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.36.1 */
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.36.1 */
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.7",
3
+ "version": "11.6.8",
4
4
  "description": "Fabric component for display a dropdown to select a user from",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"