@atlaskit/user-picker 11.0.10 → 11.0.11
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/cjs/components/UserPicker.js +2 -1
- package/dist/cjs/components/components.js +3 -3
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/UserPicker.js +2 -1
- package/dist/es2019/components/components.js +3 -3
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/UserPicker.js +2 -1
- package/dist/esm/components/components.js +3 -4
- package/dist/types/components/components.d.ts +25 -17
- package/dist/types-ts4.5/components/components.d.ts +25 -17
- package/package.json +6 -6
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 = "11.0.
|
|
15
|
+
var packageVersion = "11.0.11";
|
|
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}$/;
|
|
@@ -61,6 +61,7 @@ var UserPickerWithoutAnalytics = exports.UserPickerWithoutAnalytics = /*#__PURE_
|
|
|
61
61
|
}, {
|
|
62
62
|
key: "render",
|
|
63
63
|
value: function render() {
|
|
64
|
+
var _this$props2;
|
|
64
65
|
var _this$props = this.props,
|
|
65
66
|
emailLabel = _this$props.emailLabel,
|
|
66
67
|
allowEmail = _this$props.allowEmail,
|
|
@@ -104,7 +105,7 @@ var UserPickerWithoutAnalytics = exports.UserPickerWithoutAnalytics = /*#__PURE_
|
|
|
104
105
|
styles: (0, _styles.getStyles)(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
|
|
105
106
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
106
107
|
(0, _platformFeatureFlags.fg)('platform-component-visual-refresh') && (0, _platformFeatureFlags.fg)('visual-refresh-user-picker')),
|
|
107
|
-
components: (0, _components.getComponents)(isMulti, anchor, showClearIndicator && (0, _platformFeatureFlags.fg)('user-picker-show-clear-indicator')),
|
|
108
|
+
components: (0, _components.getComponents)(isMulti, anchor, showClearIndicator && (0, _platformFeatureFlags.fg)('user-picker-show-clear-indicator'), (_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.components ? this.props.components : {}),
|
|
108
109
|
pickerProps: pickerProps
|
|
109
110
|
})))));
|
|
110
111
|
}
|
|
@@ -23,14 +23,14 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
23
23
|
/**
|
|
24
24
|
* Memoize getComponents to avoid rerenders.
|
|
25
25
|
*/
|
|
26
|
-
var getComponents = exports.getComponents = (0, _memoizeOne.default)(function (multi, anchor, showClearIndicator) {
|
|
26
|
+
var getComponents = exports.getComponents = (0, _memoizeOne.default)(function (multi, anchor, showClearIndicator, customComponents) {
|
|
27
27
|
if (anchor) {
|
|
28
28
|
return {
|
|
29
29
|
Control: anchor,
|
|
30
30
|
Option: _Option.Option
|
|
31
31
|
};
|
|
32
32
|
} else {
|
|
33
|
-
return {
|
|
33
|
+
return _objectSpread({
|
|
34
34
|
MultiValue: _MultiValue.MultiValue,
|
|
35
35
|
DropdownIndicator: null,
|
|
36
36
|
SingleValue: _SingleValue.SingleValue,
|
|
@@ -40,7 +40,7 @@ var getComponents = exports.getComponents = (0, _memoizeOne.default)(function (m
|
|
|
40
40
|
Input: _Input.Input,
|
|
41
41
|
Menu: _Menu.Menu,
|
|
42
42
|
Control: _Control.default
|
|
43
|
-
};
|
|
43
|
+
}, customComponents ? customComponents : {});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
var getPopupComponents = exports.getPopupComponents = (0, _memoizeOne.default)(function (hasPopupTitle) {
|
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 = "11.0.
|
|
5
|
+
const packageVersion = "11.0.11";
|
|
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}$/;
|
|
@@ -34,6 +34,7 @@ export class UserPickerWithoutAnalytics extends React.Component {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
+
var _this$props;
|
|
37
38
|
const {
|
|
38
39
|
emailLabel,
|
|
39
40
|
allowEmail,
|
|
@@ -80,7 +81,7 @@ export class UserPickerWithoutAnalytics extends React.Component {
|
|
|
80
81
|
styles: getStyles(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
|
|
81
82
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
82
83
|
fg('platform-component-visual-refresh') && fg('visual-refresh-user-picker')),
|
|
83
|
-
components: getComponents(isMulti, anchor, showClearIndicator && fg('user-picker-show-clear-indicator')),
|
|
84
|
+
components: getComponents(isMulti, anchor, showClearIndicator && fg('user-picker-show-clear-indicator'), (_this$props = this.props) !== null && _this$props !== void 0 && _this$props.components ? this.props.components : {}),
|
|
84
85
|
pickerProps: pickerProps
|
|
85
86
|
})))));
|
|
86
87
|
}
|
|
@@ -10,11 +10,10 @@ import { PopupInput } from './PopupInput';
|
|
|
10
10
|
import { PopupControl } from './PopupControl';
|
|
11
11
|
import { Menu } from './Menu';
|
|
12
12
|
import Control from './Control';
|
|
13
|
-
|
|
14
13
|
/**
|
|
15
14
|
* Memoize getComponents to avoid rerenders.
|
|
16
15
|
*/
|
|
17
|
-
export const getComponents = memoizeOne((multi, anchor, showClearIndicator) => {
|
|
16
|
+
export const getComponents = memoizeOne((multi, anchor, showClearIndicator, customComponents) => {
|
|
18
17
|
if (anchor) {
|
|
19
18
|
return {
|
|
20
19
|
Control: anchor,
|
|
@@ -30,7 +29,8 @@ export const getComponents = memoizeOne((multi, anchor, showClearIndicator) => {
|
|
|
30
29
|
ValueContainer: multi ? MultiValueContainer : SingleValueContainer,
|
|
31
30
|
Input,
|
|
32
31
|
Menu,
|
|
33
|
-
Control
|
|
32
|
+
Control,
|
|
33
|
+
...(customComponents ? customComponents : {})
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
});
|
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 = "11.0.
|
|
8
|
+
var packageVersion = "11.0.11";
|
|
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}$/;
|
|
@@ -51,6 +51,7 @@ export var UserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component)
|
|
|
51
51
|
}, {
|
|
52
52
|
key: "render",
|
|
53
53
|
value: function render() {
|
|
54
|
+
var _this$props2;
|
|
54
55
|
var _this$props = this.props,
|
|
55
56
|
emailLabel = _this$props.emailLabel,
|
|
56
57
|
allowEmail = _this$props.allowEmail,
|
|
@@ -94,7 +95,7 @@ export var UserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component)
|
|
|
94
95
|
styles: getStyles(width, isMulti, this.props.appearance === 'compact', this.props.styles, this.props.isInvalid,
|
|
95
96
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
96
97
|
fg('platform-component-visual-refresh') && fg('visual-refresh-user-picker')),
|
|
97
|
-
components: getComponents(isMulti, anchor, showClearIndicator && fg('user-picker-show-clear-indicator')),
|
|
98
|
+
components: getComponents(isMulti, anchor, showClearIndicator && fg('user-picker-show-clear-indicator'), (_this$props2 = this.props) !== null && _this$props2 !== void 0 && _this$props2.components ? this.props.components : {}),
|
|
98
99
|
pickerProps: pickerProps
|
|
99
100
|
})))));
|
|
100
101
|
}
|
|
@@ -13,18 +13,17 @@ import { PopupInput } from './PopupInput';
|
|
|
13
13
|
import { PopupControl } from './PopupControl';
|
|
14
14
|
import { Menu } from './Menu';
|
|
15
15
|
import Control from './Control';
|
|
16
|
-
|
|
17
16
|
/**
|
|
18
17
|
* Memoize getComponents to avoid rerenders.
|
|
19
18
|
*/
|
|
20
|
-
export var getComponents = memoizeOne(function (multi, anchor, showClearIndicator) {
|
|
19
|
+
export var getComponents = memoizeOne(function (multi, anchor, showClearIndicator, customComponents) {
|
|
21
20
|
if (anchor) {
|
|
22
21
|
return {
|
|
23
22
|
Control: anchor,
|
|
24
23
|
Option: Option
|
|
25
24
|
};
|
|
26
25
|
} else {
|
|
27
|
-
return {
|
|
26
|
+
return _objectSpread({
|
|
28
27
|
MultiValue: MultiValue,
|
|
29
28
|
DropdownIndicator: null,
|
|
30
29
|
SingleValue: SingleValue,
|
|
@@ -34,7 +33,7 @@ export var getComponents = memoizeOne(function (multi, anchor, showClearIndicato
|
|
|
34
33
|
Input: Input,
|
|
35
34
|
Menu: Menu,
|
|
36
35
|
Control: Control
|
|
37
|
-
};
|
|
36
|
+
}, customComponents ? customComponents : {});
|
|
38
37
|
}
|
|
39
38
|
});
|
|
40
39
|
export var getPopupComponents = memoizeOne(function (hasPopupTitle) {
|
|
@@ -7,29 +7,37 @@ import { SingleValueContainer } from './SingleValueContainer';
|
|
|
7
7
|
import { PopupInput } from './PopupInput';
|
|
8
8
|
import { PopupControl } from './PopupControl';
|
|
9
9
|
import { Menu } from './Menu';
|
|
10
|
+
import { type SelectComponentsConfig } from '@atlaskit/select';
|
|
11
|
+
import { type OptionData } from '../types';
|
|
10
12
|
/**
|
|
11
13
|
* Memoize getComponents to avoid rerenders.
|
|
12
14
|
*/
|
|
13
|
-
export declare const getComponents: import("memoize-one").MemoizedFn<(multi?: boolean, anchor?: React.ComponentType<any>, showClearIndicator?: boolean) => {
|
|
15
|
+
export declare const getComponents: import("memoize-one").MemoizedFn<(multi?: boolean, anchor?: React.ComponentType<any>, showClearIndicator?: boolean, customComponents?: SelectComponentsConfig<OptionData, boolean>) => {
|
|
14
16
|
Control: import("react").ComponentType<any>;
|
|
15
17
|
Option: import("react").FC<import("./Option").OptionProps>;
|
|
16
|
-
MultiValue?: undefined;
|
|
17
|
-
DropdownIndicator?: undefined;
|
|
18
|
-
SingleValue?: undefined;
|
|
19
|
-
ClearIndicator?: undefined;
|
|
20
|
-
ValueContainer?: undefined;
|
|
21
|
-
Input?: undefined;
|
|
22
|
-
Menu?: undefined;
|
|
23
18
|
} | {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
19
|
+
Option: import("react").FC<import("./Option").OptionProps> | import("react").ComponentType<import("packages/design-system/react-select/dist/types").OptionProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
20
|
+
Group?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").GroupProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
21
|
+
ClearIndicator: typeof ClearIndicator | import("react").ComponentType<import("@atlaskit/select").ClearIndicatorProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | null;
|
|
22
|
+
Control: ((props: import("@atlaskit/select").ControlProps<any>) => JSX.Element) | import("react").ComponentType<import("packages/design-system/react-select/dist/types").ControlProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
23
|
+
DropdownIndicator: import("react").ComponentType<import("@atlaskit/select").DropdownIndicatorProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | null;
|
|
24
|
+
GroupHeading?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").GroupHeadingProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
25
|
+
IndicatorsContainer?: import("react").ComponentType<import("@atlaskit/select").IndicatorsContainerProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
26
|
+
Input: typeof Input | import("react").ComponentType<import("@atlaskit/select").InputProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
27
|
+
LoadingIndicator?: import("react").ComponentType<import("@atlaskit/select").LoadingIndicatorProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
28
|
+
Menu: typeof Menu | import("react").ComponentType<import("packages/design-system/react-select/dist/types").MenuProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
29
|
+
MenuList?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").MenuListProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
30
|
+
MenuPortal?: import("react").ComponentType<import("packages/design-system/react-select/dist/types/components/menu").MenuPortalProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
31
|
+
LoadingMessage?: import("react").ComponentType<import("@atlaskit/select").NoticeProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
32
|
+
NoOptionsMessage?: import("react").ComponentType<import("@atlaskit/select").NoticeProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
33
|
+
MultiValue: typeof MultiValue | import("react").ComponentType<import("@atlaskit/select").MultiValueProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
34
|
+
MultiValueContainer?: import("react").ComponentType<import("@atlaskit/select").MultiValueGenericProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
35
|
+
MultiValueLabel?: import("react").ComponentType<import("@atlaskit/select").MultiValueGenericProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
36
|
+
MultiValueRemove?: import("react").ComponentType<import("@atlaskit/select").MultiValueRemoveProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
37
|
+
Placeholder?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").PlaceholderProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
38
|
+
SelectContainer?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").ContainerProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
39
|
+
SingleValue: ((props: import("./SingleValue").Props) => JSX.Element | null) | import("react").ComponentType<import("@atlaskit/select").SingleValueProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
40
|
+
ValueContainer: typeof MultiValueContainer | typeof SingleValueContainer | import("react").ComponentType<import("packages/design-system/react-select/dist/types").ValueContainerProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
33
41
|
}>;
|
|
34
42
|
export declare const getPopupComponents: import("memoize-one").MemoizedFn<(hasPopupTitle: boolean) => {
|
|
35
43
|
DropdownIndicator: null;
|
|
@@ -7,29 +7,37 @@ import { SingleValueContainer } from './SingleValueContainer';
|
|
|
7
7
|
import { PopupInput } from './PopupInput';
|
|
8
8
|
import { PopupControl } from './PopupControl';
|
|
9
9
|
import { Menu } from './Menu';
|
|
10
|
+
import { type SelectComponentsConfig } from '@atlaskit/select';
|
|
11
|
+
import { type OptionData } from '../types';
|
|
10
12
|
/**
|
|
11
13
|
* Memoize getComponents to avoid rerenders.
|
|
12
14
|
*/
|
|
13
|
-
export declare const getComponents: import("memoize-one").MemoizedFn<(multi?: boolean, anchor?: React.ComponentType<any>, showClearIndicator?: boolean) => {
|
|
15
|
+
export declare const getComponents: import("memoize-one").MemoizedFn<(multi?: boolean, anchor?: React.ComponentType<any>, showClearIndicator?: boolean, customComponents?: SelectComponentsConfig<OptionData, boolean>) => {
|
|
14
16
|
Control: import("react").ComponentType<any>;
|
|
15
17
|
Option: import("react").FC<import("./Option").OptionProps>;
|
|
16
|
-
MultiValue?: undefined;
|
|
17
|
-
DropdownIndicator?: undefined;
|
|
18
|
-
SingleValue?: undefined;
|
|
19
|
-
ClearIndicator?: undefined;
|
|
20
|
-
ValueContainer?: undefined;
|
|
21
|
-
Input?: undefined;
|
|
22
|
-
Menu?: undefined;
|
|
23
18
|
} | {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
19
|
+
Option: import("react").FC<import("./Option").OptionProps> | import("react").ComponentType<import("packages/design-system/react-select/dist/types").OptionProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
20
|
+
Group?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").GroupProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
21
|
+
ClearIndicator: typeof ClearIndicator | import("react").ComponentType<import("@atlaskit/select").ClearIndicatorProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | null;
|
|
22
|
+
Control: ((props: import("@atlaskit/select").ControlProps<any>) => JSX.Element) | import("react").ComponentType<import("packages/design-system/react-select/dist/types").ControlProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
23
|
+
DropdownIndicator: import("react").ComponentType<import("@atlaskit/select").DropdownIndicatorProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | null;
|
|
24
|
+
GroupHeading?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").GroupHeadingProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
25
|
+
IndicatorsContainer?: import("react").ComponentType<import("@atlaskit/select").IndicatorsContainerProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
26
|
+
Input: typeof Input | import("react").ComponentType<import("@atlaskit/select").InputProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
27
|
+
LoadingIndicator?: import("react").ComponentType<import("@atlaskit/select").LoadingIndicatorProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
28
|
+
Menu: typeof Menu | import("react").ComponentType<import("packages/design-system/react-select/dist/types").MenuProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
29
|
+
MenuList?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").MenuListProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
30
|
+
MenuPortal?: import("react").ComponentType<import("packages/design-system/react-select/dist/types/components/menu").MenuPortalProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
31
|
+
LoadingMessage?: import("react").ComponentType<import("@atlaskit/select").NoticeProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
32
|
+
NoOptionsMessage?: import("react").ComponentType<import("@atlaskit/select").NoticeProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
33
|
+
MultiValue: typeof MultiValue | import("react").ComponentType<import("@atlaskit/select").MultiValueProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
34
|
+
MultiValueContainer?: import("react").ComponentType<import("@atlaskit/select").MultiValueGenericProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
35
|
+
MultiValueLabel?: import("react").ComponentType<import("@atlaskit/select").MultiValueGenericProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
36
|
+
MultiValueRemove?: import("react").ComponentType<import("@atlaskit/select").MultiValueRemoveProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
37
|
+
Placeholder?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").PlaceholderProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
38
|
+
SelectContainer?: import("react").ComponentType<import("packages/design-system/react-select/dist/types").ContainerProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
39
|
+
SingleValue: ((props: import("./SingleValue").Props) => JSX.Element | null) | import("react").ComponentType<import("@atlaskit/select").SingleValueProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
40
|
+
ValueContainer: typeof MultiValueContainer | typeof SingleValueContainer | import("react").ComponentType<import("packages/design-system/react-select/dist/types").ValueContainerProps<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>>;
|
|
33
41
|
}>;
|
|
34
42
|
export declare const getPopupComponents: import("memoize-one").MemoizedFn<(hasPopupTitle: boolean) => {
|
|
35
43
|
DropdownIndicator: null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.11",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
53
53
|
"@atlaskit/avatar": "^25.0.0",
|
|
54
54
|
"@atlaskit/icon": "^25.6.0",
|
|
55
|
-
"@atlaskit/logo": "^
|
|
55
|
+
"@atlaskit/logo": "^17.0.0",
|
|
56
56
|
"@atlaskit/lozenge": "^12.2.0",
|
|
57
57
|
"@atlaskit/people-teams-ui-public": "^3.1.0",
|
|
58
58
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
59
59
|
"@atlaskit/popper": "^7.0.0",
|
|
60
|
-
"@atlaskit/primitives": "^14.
|
|
61
|
-
"@atlaskit/select": "^20.
|
|
60
|
+
"@atlaskit/primitives": "^14.6.0",
|
|
61
|
+
"@atlaskit/select": "^20.4.0",
|
|
62
62
|
"@atlaskit/spinner": "^18.0.0",
|
|
63
63
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
64
64
|
"@atlaskit/theme": "^18.0.0",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@atlaskit/analytics-viewer": "^0.8.0",
|
|
82
|
-
"@atlaskit/elements-test-helpers": "
|
|
82
|
+
"@atlaskit/elements-test-helpers": "workspace:^",
|
|
83
83
|
"@atlaskit/heading": "^5.2.0",
|
|
84
|
-
"@atlaskit/visual-regression": "
|
|
84
|
+
"@atlaskit/visual-regression": "workspace:^",
|
|
85
85
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
86
86
|
"@emotion/styled": "^11.0.0",
|
|
87
87
|
"@testing-library/dom": "^10.1.0",
|