@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 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 _default = exports.default = (0, _reactIntlNext.injectIntl)(MessagesIntlProvider);
52
+ var _default_1 = (0, _reactIntlNext.injectIntl)(MessagesIntlProvider);
53
+ var _default = exports.default = _default_1;
@@ -38,4 +38,5 @@ const MessagesIntlProvider = props => {
38
38
  messages: mergedMessages
39
39
  }, children);
40
40
  };
41
- export default injectIntl(MessagesIntlProvider);
41
+ const _default_1 = injectIntl(MessagesIntlProvider);
42
+ export default _default_1;
@@ -40,4 +40,5 @@ var MessagesIntlProvider = function MessagesIntlProvider(props) {
40
40
  messages: mergedMessages
41
41
  }, children);
42
42
  };
43
- export default injectIntl(MessagesIntlProvider);
43
+ var _default_1 = injectIntl(MessagesIntlProvider);
44
+ export 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 _default: React.FC<import("react-intl-next").WithIntlProps<MessagesIntlProviderProps>> & {
6
+ declare const _default_1: React.FC<WithIntlProps<MessagesIntlProviderProps>> & {
7
7
  WrappedComponent: React.ComponentType<MessagesIntlProviderProps>;
8
8
  };
9
- export default _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: import("memoize-one").MemoizedFn<(users: OptionData[], query: string, propFilterOptions?: FilterOptions) => OptionData[]>;
34
- getUsers: import("lodash").DebouncedFunc<() => Promise<void>>;
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 _default: React.FC<import("react-intl-next").WithIntlProps<MessagesIntlProviderProps>> & {
6
+ declare const _default_1: React.FC<WithIntlProps<MessagesIntlProviderProps>> & {
7
7
  WrappedComponent: React.ComponentType<MessagesIntlProviderProps>;
8
8
  };
9
- export default _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: import("memoize-one").MemoizedFn<(users: OptionData[], query: string, propFilterOptions?: FilterOptions) => OptionData[]>;
34
- getUsers: import("lodash").DebouncedFunc<() => Promise<void>>;
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.1",
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.7.0",
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.8.0",
53
+ "@atlaskit/select": "^21.10.0",
54
54
  "@atlaskit/util-data-test": "^18.5.0",
55
- "@atlassian/a11y-jest-testing": "^0.10.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",