@atlaskit/smart-user-picker 9.2.1 → 9.2.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 +10 -0
- package/dist/cjs/components/MessagesIntlProvider.js +2 -1
- package/dist/es2019/components/MessagesIntlProvider.js +2 -1
- package/dist/esm/components/MessagesIntlProvider.js +2 -1
- package/dist/types/components/MessagesIntlProvider.d.ts +3 -3
- package/dist/types/components/SmartUserPicker.d.ts +4 -2
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +3 -3
- package/dist/types-ts4.5/components/SmartUserPicker.d.ts +4 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlassian/smart-user-picker
|
|
2
2
|
|
|
3
|
+
## 9.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2c91b4048c838`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2c91b4048c838) -
|
|
8
|
+
Bump i18n packages
|
|
9
|
+
- [`ddd049a745d38`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ddd049a745d38) -
|
|
10
|
+
Internal change to how legacy colors are applied. No visual changes.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 9.2.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -49,4 +49,5 @@ var MessagesIntlProvider = function MessagesIntlProvider(props) {
|
|
|
49
49
|
messages: mergedMessages
|
|
50
50
|
}, children);
|
|
51
51
|
};
|
|
52
|
-
var
|
|
52
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(MessagesIntlProvider);
|
|
53
|
+
var _default = exports.default = _default_1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import { type IntlShape } from 'react-intl-next';
|
|
2
|
+
import { type IntlShape, type WithIntlProps } from 'react-intl-next';
|
|
3
3
|
export type MessagesIntlProviderProps = PropsWithChildren<{
|
|
4
4
|
intl: IntlShape;
|
|
5
5
|
}>;
|
|
6
|
-
declare const
|
|
6
|
+
declare const _default_1: React.FC<WithIntlProps<MessagesIntlProviderProps>> & {
|
|
7
7
|
WrappedComponent: React.ComponentType<MessagesIntlProviderProps>;
|
|
8
8
|
};
|
|
9
|
-
export default
|
|
9
|
+
export default _default_1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
2
3
|
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
4
|
import { type UFOExperience } from '@atlaskit/ufo';
|
|
4
5
|
import { type OptionData } from '@atlaskit/user-picker';
|
|
5
6
|
import { type Props, type State, type FilterOptions } from '../types';
|
|
7
|
+
import type { DebouncedFunc } from 'lodash';
|
|
6
8
|
export declare class SmartUserPickerWithoutAnalytics extends React.Component<Props & WrappedComponentProps, State> {
|
|
7
9
|
state: State;
|
|
8
10
|
private lastEmailSearchFoundMatches;
|
|
@@ -30,8 +32,8 @@ export declare class SmartUserPickerWithoutAnalytics extends React.Component<Pro
|
|
|
30
32
|
startOptionsShownUfoExperience: () => void;
|
|
31
33
|
private fireEvent;
|
|
32
34
|
filterOptions: (users: OptionData[], query: string, propFilterOptions?: FilterOptions) => OptionData[];
|
|
33
|
-
memoizedFilterOptions:
|
|
34
|
-
getUsers:
|
|
35
|
+
memoizedFilterOptions: MemoizedFn<(users: OptionData[], query: string, propFilterOptions?: FilterOptions) => OptionData[]>;
|
|
36
|
+
getUsers: DebouncedFunc<() => Promise<void>>;
|
|
35
37
|
onInputChange: (newQuery?: string, sessionId?: string) => void;
|
|
36
38
|
filterUsers: () => OptionData[];
|
|
37
39
|
onFocus: (sessionId?: string) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import { type IntlShape } from 'react-intl-next';
|
|
2
|
+
import { type IntlShape, type WithIntlProps } from 'react-intl-next';
|
|
3
3
|
export type MessagesIntlProviderProps = PropsWithChildren<{
|
|
4
4
|
intl: IntlShape;
|
|
5
5
|
}>;
|
|
6
|
-
declare const
|
|
6
|
+
declare const _default_1: React.FC<WithIntlProps<MessagesIntlProviderProps>> & {
|
|
7
7
|
WrappedComponent: React.ComponentType<MessagesIntlProviderProps>;
|
|
8
8
|
};
|
|
9
|
-
export default
|
|
9
|
+
export default _default_1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
2
3
|
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
4
|
import { type UFOExperience } from '@atlaskit/ufo';
|
|
4
5
|
import { type OptionData } from '@atlaskit/user-picker';
|
|
5
6
|
import { type Props, type State, type FilterOptions } from '../types';
|
|
7
|
+
import type { DebouncedFunc } from 'lodash';
|
|
6
8
|
export declare class SmartUserPickerWithoutAnalytics extends React.Component<Props & WrappedComponentProps, State> {
|
|
7
9
|
state: State;
|
|
8
10
|
private lastEmailSearchFoundMatches;
|
|
@@ -30,8 +32,8 @@ export declare class SmartUserPickerWithoutAnalytics extends React.Component<Pro
|
|
|
30
32
|
startOptionsShownUfoExperience: () => void;
|
|
31
33
|
private fireEvent;
|
|
32
34
|
filterOptions: (users: OptionData[], query: string, propFilterOptions?: FilterOptions) => OptionData[];
|
|
33
|
-
memoizedFilterOptions:
|
|
34
|
-
getUsers:
|
|
35
|
+
memoizedFilterOptions: MemoizedFn<(users: OptionData[], query: string, propFilterOptions?: FilterOptions) => OptionData[]>;
|
|
36
|
+
getUsers: DebouncedFunc<() => Promise<void>>;
|
|
35
37
|
onInputChange: (newQuery?: string, sessionId?: string) => void;
|
|
36
38
|
filterUsers: () => OptionData[];
|
|
37
39
|
onFocus: (sessionId?: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-user-picker",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker": "2.
|
|
37
|
+
"@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker": "2.88.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/ufo": "^0.4.0",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"react-dom": "^18.2.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@atlaskit/select": "^21.
|
|
53
|
+
"@atlaskit/select": "^21.10.0",
|
|
54
54
|
"@atlaskit/util-data-test": "^18.5.0",
|
|
55
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
55
|
+
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
56
56
|
"@testing-library/dom": "^10.1.0",
|
|
57
57
|
"@testing-library/react": "^16.3.0",
|
|
58
58
|
"@testing-library/user-event": "^14.4.3",
|