@atlaskit/user-picker 10.31.1 → 10.31.2
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 +6 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/types/clients/UserSourceProvider.d.ts +2 -2
- package/dist/types/components/BaseUserPicker.d.ts +2 -2
- package/dist/types/components/ClearIndicator.d.ts +1 -1
- package/dist/types/components/ExternalUserOption/SourcesTooltipContent.d.ts +2 -2
- package/dist/types/components/HighlightText.d.ts +1 -1
- package/dist/types/components/Input.d.ts +1 -1
- package/dist/types/components/MessagesIntlProvider.d.ts +2 -2
- package/dist/types/components/MultiValueContainer.d.ts +1 -1
- package/dist/types/components/PopupInput.d.ts +1 -1
- package/dist/types/components/PopupUserPicker.d.ts +1 -1
- package/dist/types/components/SizeableAvatar.d.ts +1 -1
- package/dist/types/components/UserPicker.d.ts +1 -1
- package/dist/types/components/assets/github.d.ts +1 -1
- package/dist/types/components/assets/google.d.ts +1 -1
- package/dist/types/components/assets/microsoft.d.ts +1 -1
- package/dist/types/components/assets/slack.d.ts +1 -1
- package/dist/types-ts4.5/clients/UserSourceProvider.d.ts +2 -2
- package/dist/types-ts4.5/components/BaseUserPicker.d.ts +2 -2
- package/dist/types-ts4.5/components/ClearIndicator.d.ts +1 -1
- package/dist/types-ts4.5/components/ExternalUserOption/SourcesTooltipContent.d.ts +2 -2
- package/dist/types-ts4.5/components/HighlightText.d.ts +1 -1
- package/dist/types-ts4.5/components/Input.d.ts +1 -1
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +2 -2
- package/dist/types-ts4.5/components/MultiValueContainer.d.ts +1 -1
- package/dist/types-ts4.5/components/PopupInput.d.ts +1 -1
- package/dist/types-ts4.5/components/PopupUserPicker.d.ts +1 -1
- package/dist/types-ts4.5/components/SizeableAvatar.d.ts +1 -1
- package/dist/types-ts4.5/components/UserPicker.d.ts +1 -1
- package/dist/types-ts4.5/components/assets/github.d.ts +1 -1
- package/dist/types-ts4.5/components/assets/google.d.ts +1 -1
- package/dist/types-ts4.5/components/assets/microsoft.d.ts +1 -1
- package/dist/types-ts4.5/components/assets/slack.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
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 = "10.31.
|
|
15
|
+
var packageVersion = "10.31.2";
|
|
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}$/;
|
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 = "10.31.
|
|
5
|
+
const packageVersion = "10.31.2";
|
|
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}$/;
|
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 = "10.31.
|
|
8
|
+
var packageVersion = "10.31.2";
|
|
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,9 +1,9 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type LoadUserSource, type UserSource } from '../types';
|
|
3
3
|
export interface UserSourceContext {
|
|
4
4
|
fetchUserSource?: LoadUserSource;
|
|
5
5
|
}
|
|
6
|
-
export declare const ExusUserSourceProvider: ({ fetchUserSource, children, }: PropsWithChildren<UserSourceContext>) => JSX.Element;
|
|
6
|
+
export declare const ExusUserSourceProvider: ({ fetchUserSource, children, }: PropsWithChildren<UserSourceContext>) => React.JSX.Element;
|
|
7
7
|
export declare const useUserSource: (accountId: string, shouldFetchSources: boolean, existingSources?: UserSource[]) => {
|
|
8
8
|
sources: UserSource[];
|
|
9
9
|
loading: boolean;
|
|
@@ -21,7 +21,7 @@ export declare class BaseUserPickerWithoutAnalytics extends React.Component<Base
|
|
|
21
21
|
noBorder: boolean;
|
|
22
22
|
textFieldBackgroundColor: boolean;
|
|
23
23
|
isClearable: boolean;
|
|
24
|
-
loadOptionsErrorMessage: () => JSX.Element;
|
|
24
|
+
loadOptionsErrorMessage: () => React.JSX.Element;
|
|
25
25
|
openMenuOnClick: boolean;
|
|
26
26
|
};
|
|
27
27
|
static getDerivedStateFromProps(nextProps: Partial<UserPickerProps>, prevState: UserPickerState): Partial<UserPickerState>;
|
|
@@ -62,7 +62,7 @@ export declare class BaseUserPickerWithoutAnalytics extends React.Component<Base
|
|
|
62
62
|
private getAppearance;
|
|
63
63
|
get ariaProps(): {};
|
|
64
64
|
private handleClickDraggableParentComponent;
|
|
65
|
-
render(): JSX.Element;
|
|
65
|
+
render(): React.JSX.Element;
|
|
66
66
|
}
|
|
67
67
|
export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
68
68
|
fieldId: string | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type ExternalUserSourcesData } from '../ExternalUserSourcesContainer';
|
|
3
|
-
export declare const SourcesTooltipContent: ({ sources, sourcesLoading }: ExternalUserSourcesData) => JSX.Element;
|
|
3
|
+
export declare const SourcesTooltipContent: ({ sources, sourcesLoading }: ExternalUserSourcesData) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
2
|
-
declare const MessagesIntlProvider: (props: PropsWithChildren<{}>) => JSX.Element;
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
declare const MessagesIntlProvider: (props: PropsWithChildren<{}>) => React.JSX.Element;
|
|
3
3
|
export default MessagesIntlProvider;
|
|
@@ -17,7 +17,7 @@ export declare class PopupUserPickerWithoutAnalytics extends React.Component<Pop
|
|
|
17
17
|
styles: any;
|
|
18
18
|
popper: any;
|
|
19
19
|
};
|
|
20
|
-
render(): JSX.Element;
|
|
20
|
+
render(): React.JSX.Element;
|
|
21
21
|
}
|
|
22
22
|
export declare const PopupUserPicker: React.ForwardRefExoticComponent<Omit<Pick<Omit<{
|
|
23
23
|
fieldId: string | null;
|
|
@@ -8,7 +8,7 @@ export declare class UserPickerWithoutAnalytics extends React.Component<UserPick
|
|
|
8
8
|
isMulti: boolean;
|
|
9
9
|
};
|
|
10
10
|
componentDidMount(): void;
|
|
11
|
-
render(): JSX.Element;
|
|
11
|
+
render(): React.JSX.Element;
|
|
12
12
|
}
|
|
13
13
|
export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
14
14
|
fieldId: string | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function GitHubIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
export declare function GitHubIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function GoogleIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
export declare function GoogleIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function MicrosoftIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
export declare function MicrosoftIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function SlackIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
export declare function SlackIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type LoadUserSource, type UserSource } from '../types';
|
|
3
3
|
export interface UserSourceContext {
|
|
4
4
|
fetchUserSource?: LoadUserSource;
|
|
5
5
|
}
|
|
6
|
-
export declare const ExusUserSourceProvider: ({ fetchUserSource, children, }: PropsWithChildren<UserSourceContext>) => JSX.Element;
|
|
6
|
+
export declare const ExusUserSourceProvider: ({ fetchUserSource, children, }: PropsWithChildren<UserSourceContext>) => React.JSX.Element;
|
|
7
7
|
export declare const useUserSource: (accountId: string, shouldFetchSources: boolean, existingSources?: UserSource[]) => {
|
|
8
8
|
sources: UserSource[];
|
|
9
9
|
loading: boolean;
|
|
@@ -21,7 +21,7 @@ export declare class BaseUserPickerWithoutAnalytics extends React.Component<Base
|
|
|
21
21
|
noBorder: boolean;
|
|
22
22
|
textFieldBackgroundColor: boolean;
|
|
23
23
|
isClearable: boolean;
|
|
24
|
-
loadOptionsErrorMessage: () => JSX.Element;
|
|
24
|
+
loadOptionsErrorMessage: () => React.JSX.Element;
|
|
25
25
|
openMenuOnClick: boolean;
|
|
26
26
|
};
|
|
27
27
|
static getDerivedStateFromProps(nextProps: Partial<UserPickerProps>, prevState: UserPickerState): Partial<UserPickerState>;
|
|
@@ -62,7 +62,7 @@ export declare class BaseUserPickerWithoutAnalytics extends React.Component<Base
|
|
|
62
62
|
private getAppearance;
|
|
63
63
|
get ariaProps(): {};
|
|
64
64
|
private handleClickDraggableParentComponent;
|
|
65
|
-
render(): JSX.Element;
|
|
65
|
+
render(): React.JSX.Element;
|
|
66
66
|
}
|
|
67
67
|
export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
68
68
|
fieldId: string | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type ExternalUserSourcesData } from '../ExternalUserSourcesContainer';
|
|
3
|
-
export declare const SourcesTooltipContent: ({ sources, sourcesLoading }: ExternalUserSourcesData) => JSX.Element;
|
|
3
|
+
export declare const SourcesTooltipContent: ({ sources, sourcesLoading }: ExternalUserSourcesData) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
2
|
-
declare const MessagesIntlProvider: (props: PropsWithChildren<{}>) => JSX.Element;
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
declare const MessagesIntlProvider: (props: PropsWithChildren<{}>) => React.JSX.Element;
|
|
3
3
|
export default MessagesIntlProvider;
|
|
@@ -17,7 +17,7 @@ export declare class PopupUserPickerWithoutAnalytics extends React.Component<Pop
|
|
|
17
17
|
styles: any;
|
|
18
18
|
popper: any;
|
|
19
19
|
};
|
|
20
|
-
render(): JSX.Element;
|
|
20
|
+
render(): React.JSX.Element;
|
|
21
21
|
}
|
|
22
22
|
export declare const PopupUserPicker: React.ForwardRefExoticComponent<Omit<Pick<Omit<{
|
|
23
23
|
fieldId: string | null;
|
|
@@ -8,7 +8,7 @@ export declare class UserPickerWithoutAnalytics extends React.Component<UserPick
|
|
|
8
8
|
isMulti: boolean;
|
|
9
9
|
};
|
|
10
10
|
componentDidMount(): void;
|
|
11
|
-
render(): JSX.Element;
|
|
11
|
+
render(): React.JSX.Element;
|
|
12
12
|
}
|
|
13
13
|
export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
14
14
|
fieldId: string | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function GitHubIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
export declare function GitHubIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function GoogleIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
export declare function GoogleIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function MicrosoftIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
export declare function MicrosoftIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function SlackIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
export declare function SlackIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "10.31.
|
|
3
|
+
"version": "10.31.2",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@atlaskit/analytics-next": "^10.3.0",
|
|
51
51
|
"@atlaskit/avatar": "^21.18.0",
|
|
52
|
-
"@atlaskit/icon": "^23.
|
|
52
|
+
"@atlaskit/icon": "^23.7.0",
|
|
53
53
|
"@atlaskit/logo": "^15.2.0",
|
|
54
54
|
"@atlaskit/lozenge": "^11.13.0",
|
|
55
55
|
"@atlaskit/people-teams-ui-public": "^2.1.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/select": "^18.10.0",
|
|
60
60
|
"@atlaskit/spinner": "^17.1.0",
|
|
61
61
|
"@atlaskit/teams-avatar": "^1.2.0",
|
|
62
|
-
"@atlaskit/theme": "^
|
|
62
|
+
"@atlaskit/theme": "^15.0.0",
|
|
63
63
|
"@atlaskit/tokens": "^3.3.0",
|
|
64
64
|
"@atlaskit/tooltip": "^19.1.0",
|
|
65
65
|
"@atlaskit/ufo": "^0.3.0",
|