@atlaskit/smart-user-picker 5.0.4 → 5.1.1

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,27 @@
1
1
  # @atlassian/smart-user-picker
2
2
 
3
+ ## 5.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ff97c74b6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff97c74b6f0) - Add TeamMember as export from user-picker
8
+
9
+ ## 5.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`cc40ab95bd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc40ab95bd4) - Adds a list of team members under OptionData for Teams
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
19
+ ## 5.0.5
20
+
21
+ ### Patch Changes
22
+
23
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
24
+
3
25
  ## 5.0.4
4
26
 
5
27
  ### Patch Changes
@@ -60,6 +60,7 @@ var transformUser = function transformUser(item, intl) {
60
60
  description: team.description || '',
61
61
  name: team.displayName || '',
62
62
  memberCount: team.memberCount,
63
+ members: team.members,
63
64
  includesYou: team.includesYou,
64
65
  avatarUrl: team.largeAvatarImageUrl || team.smallAvatarImageUrl
65
66
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "5.0.4",
3
+ "version": "5.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -51,6 +51,7 @@ const transformUser = (item, intl) => {
51
51
  description: team.description || '',
52
52
  name: team.displayName || '',
53
53
  memberCount: team.memberCount,
54
+ members: team.members,
54
55
  includesYou: team.includesYou,
55
56
  avatarUrl: team.largeAvatarImageUrl || team.smallAvatarImageUrl
56
57
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "5.0.4",
3
+ "version": "5.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -51,6 +51,7 @@ var transformUser = function transformUser(item, intl) {
51
51
  description: team.description || '',
52
52
  name: team.displayName || '',
53
53
  memberCount: team.memberCount,
54
+ members: team.members,
54
55
  includesYou: team.includesYou,
55
56
  avatarUrl: team.largeAvatarImageUrl || team.smallAvatarImageUrl
56
57
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "5.0.4",
3
+ "version": "5.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -9,7 +9,7 @@ export declare type UserPickerSession = {
9
9
  lastKey?: number;
10
10
  };
11
11
  export declare const startSession: () => UserPickerSession;
12
- export declare const createAndFireEventInElementsChannel: (payload: Record<string, any>) => (createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent) => import("@atlaskit/analytics-next").UIAnalyticsEvent;
12
+ export declare const createAndFireEventInElementsChannel: (payload: AnalyticsEventPayload) => (createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent) => import("@atlaskit/analytics-next").UIAnalyticsEvent;
13
13
  export interface SmartEventCreator {
14
14
  (props: Props, ...args: any[]): AnalyticsEventPayload;
15
15
  }
@@ -2,5 +2,5 @@ export { default } from './components';
2
2
  export { getUserRecommendations, hydrateDefaultValues } from './service';
3
3
  export type { RecommendationRequest, Props, State } from './types';
4
4
  export { isEmail, isTeam, isUser, isValidEmail, EmailType, GroupType, TeamType, UserType, } from '@atlaskit/user-picker';
5
- export type { ActionTypes, Appearance, AtlasKitSelectChange, AtlaskitSelectValue, DefaultValue, EmailValidationResponse, EmailValidator, InputActionTypes, LozengeProps, OnChange, OnInputChange, OnOption, OnPicker, Option, OptionData, OptionIdentifier, PopupUserPickerProps, Promisable, Target, UserPickerProps, UserPickerState, Value, Email, Group, GroupHighlight, HighlightRange, LoadOptions, Team, TeamHighlight, User, UserHighlight, ExternalUser, UserSource, } from '@atlaskit/user-picker';
5
+ export type { ActionTypes, Appearance, AtlasKitSelectChange, AtlaskitSelectValue, DefaultValue, EmailValidationResponse, EmailValidator, InputActionTypes, LozengeProps, OnChange, OnInputChange, OnOption, OnPicker, Option, OptionData, OptionIdentifier, PopupUserPickerProps, Promisable, Target, UserPickerProps, UserPickerState, Value, Email, Group, GroupHighlight, HighlightRange, LoadOptions, Team, TeamHighlight, TeamMember, User, UserHighlight, ExternalUser, UserSource, } from '@atlaskit/user-picker';
6
6
  export { setSmartUserPickerEnv } from './config';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "5.0.4",
3
+ "version": "5.1.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@atlaskit/analytics-next": "^8.2.0",
26
26
  "@atlaskit/ufo": "^0.1.0",
27
- "@atlaskit/user-picker": "^9.0.0",
27
+ "@atlaskit/user-picker": "^9.1.0",
28
28
  "@babel/runtime": "^7.0.0",
29
29
  "lodash": "^4.17.21",
30
30
  "memoize-one": "^6.0.0",
@@ -36,11 +36,11 @@
36
36
  "react-dom": "^16.8.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@atlaskit/button": "^16.2.0",
39
+ "@atlaskit/button": "^16.3.0",
40
40
  "@atlaskit/docs": "*",
41
41
  "@atlaskit/elements-test-helpers": "^0.7.0",
42
42
  "@atlaskit/modal-dialog": "^12.2.0",
43
- "@atlaskit/select": "^15.2.0",
43
+ "@atlaskit/select": "^15.3.0",
44
44
  "@atlaskit/textfield": "^5.0.0",
45
45
  "@atlaskit/theme": "^12.1.0",
46
46
  "@atlaskit/util-data-test": "^17.2.0",
@@ -50,7 +50,7 @@
50
50
  "fetch-mock": "^8.0.0",
51
51
  "graphql-tag": "^2.10.1",
52
52
  "mock-apollo-client": "^0.1.0",
53
- "typescript": "3.9.10"
53
+ "typescript": "4.2.4"
54
54
  },
55
55
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
56
56
  }