@atlaskit/user-picker 11.19.0 → 11.20.0

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,16 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 11.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`19a12355991dc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/19a12355991dc) -
8
+ update user types to use PendingInviteUser and improve type safety in invite logic
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 11.19.0
4
15
 
5
16
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.confluence.json",
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
@@ -65,7 +65,6 @@ var GroupOption = exports.GroupOption = /*#__PURE__*/function (_React$PureCompon
65
65
  }, (0, _react2.jsx)(_peopleGroup.default, {
66
66
  color: "currentColor",
67
67
  label: "group-icon",
68
- LEGACY_size: "medium",
69
68
  spacing: "spacious"
70
69
  }));
71
70
  });
@@ -50,7 +50,6 @@ export class GroupOption extends React.PureComponent {
50
50
  }, jsx(PeopleIcon, {
51
51
  color: "currentColor",
52
52
  label: "group-icon",
53
- LEGACY_size: "medium",
54
53
  spacing: "spacious"
55
54
  })));
56
55
  _defineProperty(this, "renderVerifiedIcon", () => {
@@ -61,7 +61,6 @@ export var GroupOption = /*#__PURE__*/function (_React$PureComponent) {
61
61
  }, jsx(PeopleIcon, {
62
62
  color: "currentColor",
63
63
  label: "group-icon",
64
- LEGACY_size: "medium",
65
64
  spacing: "spacious"
66
65
  }));
67
66
  });
@@ -285,7 +285,7 @@ export interface OptionData {
285
285
  }
286
286
  export declare const UserType = "user";
287
287
  export declare const ExternalUserType = "external_user";
288
- export type UserSource = 'google' | 'slack' | 'microsoft' | 'jira' | 'confluence' | 'other-atlassian';
288
+ export type UserSource = 'google' | 'slack' | 'microsoft' | 'jira' | 'confluence' | 'other-atlassian' | 'email';
289
289
  export interface ExternalUser extends User {
290
290
  externalUserType?: 'crossSite' | 'thirdParty';
291
291
  hasProductAccess?: boolean;
@@ -288,7 +288,7 @@ export interface OptionData {
288
288
  }
289
289
  export declare const UserType = "user";
290
290
  export declare const ExternalUserType = "external_user";
291
- export type UserSource = 'google' | 'slack' | 'microsoft' | 'jira' | 'confluence' | 'other-atlassian';
291
+ export type UserSource = 'google' | 'slack' | 'microsoft' | 'jira' | 'confluence' | 'other-atlassian' | 'email';
292
292
  export interface ExternalUser extends User {
293
293
  externalUserType?: 'crossSite' | 'thirdParty';
294
294
  hasProductAccess?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "11.19.0",
3
+ "version": "11.20.0",
4
4
  "description": "Fabric component for display a dropdown to select a user from",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -58,7 +58,7 @@
58
58
  "@atlaskit/teams-avatar": "^2.4.0",
59
59
  "@atlaskit/theme": "^21.0.0",
60
60
  "@atlaskit/tokens": "^9.1.0",
61
- "@atlaskit/tooltip": "^20.12.0",
61
+ "@atlaskit/tooltip": "^20.13.0",
62
62
  "@atlaskit/ufo": "^0.4.0",
63
63
  "@babel/runtime": "^7.0.0",
64
64
  "@compiled/react": "^0.18.6",