@atlaskit/user-picker 9.0.7 → 9.1.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
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Tries to get the most specific messages bundle for a given locale.
|
package/dist/esm/version.json
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export { UserPicker as default } from './components/UserPicker';
|
|
|
4
4
|
export { PopupUserPicker } from './components/PopupUserPicker';
|
|
5
5
|
export { isEmail, isExternalUser, isTeam, isUser } from './components/utils';
|
|
6
6
|
export { EmailType, GroupType, TeamType, UserType, } from './types';
|
|
7
|
-
export type { ActionTypes, Appearance, AtlasKitSelectChange, AtlaskitSelectValue, DefaultValue, 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 './types';
|
|
7
|
+
export type { ActionTypes, Appearance, AtlasKitSelectChange, AtlaskitSelectValue, DefaultValue, InputActionTypes, LozengeProps, OnChange, OnInputChange, OnOption, OnPicker, Option, OptionData, OptionIdentifier, PopupUserPickerProps, Promisable, Target, UserPickerProps, UserPickerState, Value, Email, Group, GroupHighlight, HighlightRange, LoadOptions, Team, TeamMember, TeamHighlight, User, UserHighlight, ExternalUser, UserSource, } from './types';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -225,10 +225,15 @@ export interface LozengeProps {
|
|
|
225
225
|
isBold?: boolean;
|
|
226
226
|
}
|
|
227
227
|
export declare const TeamType = "team";
|
|
228
|
+
export interface TeamMember {
|
|
229
|
+
name: string;
|
|
230
|
+
id: string;
|
|
231
|
+
}
|
|
228
232
|
export interface Team extends OptionData {
|
|
229
233
|
avatarUrl?: string;
|
|
230
234
|
description?: string;
|
|
231
235
|
memberCount?: number;
|
|
236
|
+
members?: TeamMember[];
|
|
232
237
|
includesYou?: boolean;
|
|
233
238
|
highlight?: TeamHighlight;
|
|
234
239
|
type: 'team';
|