@atlaskit/user-picker 11.0.9 → 11.0.10
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 +8 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/ClearIndicator.compiled.css +8 -0
- package/dist/cjs/components/ClearIndicator.js +8 -1
- package/dist/cjs/components/Control.compiled.css +20 -0
- package/dist/cjs/components/Control.js +30 -0
- package/dist/cjs/components/Input.compiled.css +5 -0
- package/dist/cjs/components/Input.js +8 -1
- package/dist/cjs/components/MultiValueContainer.compiled.css +10 -0
- package/dist/cjs/components/MultiValueContainer.js +10 -1
- package/dist/cjs/components/Option.js +2 -2
- package/dist/cjs/components/PopupControl.js +2 -2
- package/dist/cjs/components/SingleValueContainer.compiled.css +14 -0
- package/dist/cjs/components/SingleValueContainer.js +21 -26
- package/dist/cjs/components/TeamOption/main.js +2 -2
- package/dist/cjs/components/UserPicker.js +2 -0
- package/dist/cjs/components/components.js +3 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/ClearIndicator.compiled.css +8 -0
- package/dist/es2019/components/ClearIndicator.js +8 -1
- package/dist/es2019/components/Control.compiled.css +20 -0
- package/dist/es2019/components/Control.js +20 -0
- package/dist/es2019/components/Input.compiled.css +5 -0
- package/dist/es2019/components/Input.js +8 -1
- package/dist/es2019/components/MultiValueContainer.compiled.css +10 -0
- package/dist/es2019/components/MultiValueContainer.js +10 -1
- package/dist/es2019/components/Option.js +1 -1
- package/dist/es2019/components/PopupControl.js +2 -2
- package/dist/es2019/components/SingleValueContainer.compiled.css +14 -0
- package/dist/es2019/components/SingleValueContainer.js +19 -26
- package/dist/es2019/components/TeamOption/main.js +1 -1
- package/dist/es2019/components/UserPicker.js +2 -0
- package/dist/es2019/components/components.js +4 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/ClearIndicator.compiled.css +8 -0
- package/dist/esm/components/ClearIndicator.js +8 -1
- package/dist/esm/components/Control.compiled.css +20 -0
- package/dist/esm/components/Control.js +20 -0
- package/dist/esm/components/Input.compiled.css +5 -0
- package/dist/esm/components/Input.js +8 -1
- package/dist/esm/components/MultiValueContainer.compiled.css +10 -0
- package/dist/esm/components/MultiValueContainer.js +10 -1
- package/dist/esm/components/Option.js +1 -1
- package/dist/esm/components/PopupControl.js +2 -2
- package/dist/esm/components/SingleValueContainer.compiled.css +14 -0
- package/dist/esm/components/SingleValueContainer.js +19 -26
- package/dist/esm/components/TeamOption/main.js +1 -1
- package/dist/esm/components/UserPicker.js +2 -0
- package/dist/esm/components/components.js +4 -1
- package/dist/types/components/BaseUserPicker.d.ts +6 -1
- package/dist/types/components/ClearIndicator.d.ts +5 -1
- package/dist/types/components/Control.d.ts +8 -0
- package/dist/types/components/Input.d.ts +5 -1
- package/dist/types/components/MultiValueContainer.d.ts +5 -1
- package/dist/types/components/PopupUserPicker.d.ts +2 -0
- package/dist/types/components/SingleValueContainer.d.ts +3 -4
- package/dist/types/components/UserPicker.d.ts +3 -2
- package/dist/types/components/components.d.ts +1 -1
- package/dist/types/types.d.ts +3 -1
- package/dist/types-ts4.5/components/BaseUserPicker.d.ts +6 -1
- package/dist/types-ts4.5/components/ClearIndicator.d.ts +5 -1
- package/dist/types-ts4.5/components/Control.d.ts +8 -0
- package/dist/types-ts4.5/components/Input.d.ts +5 -1
- package/dist/types-ts4.5/components/MultiValueContainer.d.ts +5 -1
- package/dist/types-ts4.5/components/PopupUserPicker.d.ts +2 -0
- package/dist/types-ts4.5/components/SingleValueContainer.d.ts +3 -4
- package/dist/types-ts4.5/components/UserPicker.d.ts +3 -2
- package/dist/types-ts4.5/components/components.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +3 -1
- package/package.json +3 -3
|
@@ -1,22 +1,17 @@
|
|
|
1
|
+
/* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import { components } from '@atlaskit/select';
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
-
import { css, jsx } from '@emotion/react';
|
|
4
|
+
import "./SingleValueContainer.compiled.css";
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
9
6
|
import React from 'react';
|
|
7
|
+
import { components } from '@atlaskit/select';
|
|
10
8
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
11
|
-
import { BORDER_PADDING } from './styles';
|
|
12
9
|
import ValueContainerWrapper from './ValueContainerWrapper';
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
gridArea: '1/1/2/2'
|
|
19
|
-
});
|
|
10
|
+
const valueContainerStyles = {
|
|
11
|
+
root: "_yv0e5bpd _ca0q12x7 _n3td12x7 _19bvze3t _1reo15vq _18m91wug _1fjgglyw _c71l1osq _1suq1j28 _1ke8idpf"
|
|
12
|
+
};
|
|
13
|
+
const placeholderIconContainer = null;
|
|
14
|
+
const wrapperStyle = null;
|
|
20
15
|
const showUserAvatar = (inputValue, value) => value && value.data && inputValue === value.label;
|
|
21
16
|
export class SingleValueContainer extends React.Component {
|
|
22
17
|
constructor(...args) {
|
|
@@ -34,7 +29,7 @@ export class SingleValueContainer extends React.Component {
|
|
|
34
29
|
}
|
|
35
30
|
} = this.props;
|
|
36
31
|
if (isFocused || !hasValue) {
|
|
37
|
-
return
|
|
32
|
+
return /*#__PURE__*/React.createElement(SizeableAvatar, {
|
|
38
33
|
appearance: appearance,
|
|
39
34
|
type: placeholderAvatar,
|
|
40
35
|
src: showUserAvatar(inputValue, value) ? value.data.avatarUrl : undefined
|
|
@@ -47,13 +42,9 @@ export class SingleValueContainer extends React.Component {
|
|
|
47
42
|
_defineProperty(this, "Wrapper", ({
|
|
48
43
|
children
|
|
49
44
|
}) => {
|
|
50
|
-
return this.onValueContainerClick ?
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
css: css({
|
|
54
|
-
flexGrow: 1
|
|
55
|
-
}),
|
|
56
|
-
onMouseDown: this.onValueContainerClick
|
|
45
|
+
return this.onValueContainerClick ? /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
onMouseDown: this.onValueContainerClick,
|
|
47
|
+
className: ax(["_16jlkb7n"])
|
|
57
48
|
}, children) : children;
|
|
58
49
|
});
|
|
59
50
|
}
|
|
@@ -62,11 +53,13 @@ export class SingleValueContainer extends React.Component {
|
|
|
62
53
|
children,
|
|
63
54
|
...valueContainerProps
|
|
64
55
|
} = this.props;
|
|
65
|
-
return
|
|
56
|
+
return /*#__PURE__*/React.createElement(ValueContainerWrapper, {
|
|
66
57
|
isEnabled: this.onValueContainerClick,
|
|
67
58
|
onMouseDown: this.onValueContainerClick
|
|
68
|
-
},
|
|
69
|
-
|
|
59
|
+
}, /*#__PURE__*/React.createElement(components.ValueContainer, _extends({}, valueContainerProps, {
|
|
60
|
+
xcss: valueContainerStyles.root
|
|
61
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
62
|
+
className: ax(["_nd5l1kqh _19bv12x7 _vwz4idpf"])
|
|
70
63
|
}, this.renderAvatar()), children));
|
|
71
64
|
}
|
|
72
65
|
}
|
|
@@ -6,7 +6,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
6
6
|
*/
|
|
7
7
|
import { B400, N800, N200 } from '@atlaskit/theme/colors';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
-
import { Inline } from '@atlaskit/primitives';
|
|
9
|
+
import { Inline } from '@atlaskit/primitives/compiled';
|
|
10
10
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
12
|
import { jsx } from '@emotion/react';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
/* UserPicker.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
5
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
4
6
|
import Select, { CreatableSelect } from '@atlaskit/select';
|
|
5
7
|
import { UFOExperienceState } from '@atlaskit/ufo';
|
|
@@ -9,6 +9,8 @@ import { SingleValueContainer } from './SingleValueContainer';
|
|
|
9
9
|
import { PopupInput } from './PopupInput';
|
|
10
10
|
import { PopupControl } from './PopupControl';
|
|
11
11
|
import { Menu } from './Menu';
|
|
12
|
+
import Control from './Control';
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* Memoize getComponents to avoid rerenders.
|
|
14
16
|
*/
|
|
@@ -27,7 +29,8 @@ export const getComponents = memoizeOne((multi, anchor, showClearIndicator) => {
|
|
|
27
29
|
Option,
|
|
28
30
|
ValueContainer: multi ? MultiValueContainer : SingleValueContainer,
|
|
29
31
|
Input,
|
|
30
|
-
Menu
|
|
32
|
+
Menu,
|
|
33
|
+
Control
|
|
31
34
|
};
|
|
32
35
|
}
|
|
33
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.10";
|
|
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}$/;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
._v5641ppt{transition:color .15s,opacity .15s}._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
|
+
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
4
|
+
._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
|
|
5
|
+
._tzy4kb7n{opacity:1}
|
|
6
|
+
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
7
|
+
._30l3s4qr:hover{color:var(--ds-icon-danger,#c9372c)}
|
|
8
|
+
@media (hover:hover) and (pointer:fine){._1mhjidpf{opacity:0}}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* ClearIndicator.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -5,6 +6,8 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
5
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
7
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
8
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
9
|
+
import "./ClearIndicator.compiled.css";
|
|
10
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
8
11
|
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; }
|
|
9
12
|
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) { _defineProperty(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; }
|
|
10
13
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
@@ -18,6 +21,9 @@ var AsyncTooltip = /*#__PURE__*/React.lazy(function () {
|
|
|
18
21
|
};
|
|
19
22
|
});
|
|
20
23
|
});
|
|
24
|
+
var clearIndicatorStyles = {
|
|
25
|
+
root: "_v5641ppt _tzy4kb7n _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _30l3s4qr _1mhjidpf"
|
|
26
|
+
};
|
|
21
27
|
export var ClearIndicator = /*#__PURE__*/function (_React$PureComponent) {
|
|
22
28
|
function ClearIndicator() {
|
|
23
29
|
var _this;
|
|
@@ -50,7 +56,8 @@ export var ClearIndicator = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
50
56
|
var Indicator = /*#__PURE__*/React.createElement(components.ClearIndicator, _extends({}, this.props, {
|
|
51
57
|
innerProps: _objectSpread(_objectSpread({}, this.props.innerProps), {}, {
|
|
52
58
|
onMouseDown: this.handleMouseDown
|
|
53
|
-
})
|
|
59
|
+
}),
|
|
60
|
+
xcss: clearIndicatorStyles.root
|
|
54
61
|
}));
|
|
55
62
|
return clearValueLabel ? /*#__PURE__*/React.createElement(React.Suspense, {
|
|
56
63
|
fallback: Indicator
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
._1h6d1bqt{border-color:var(--ds-border-danger,#e2483d)}
|
|
3
|
+
._1h6d1elr{border-color:var(--ds-border-input,#8590a2)}
|
|
4
|
+
._1h6d1j28{border-color:transparent}
|
|
5
|
+
._1h6d1p6i{border-color:var(--ds-border-focused,#388bff)}._19bvidpf{padding-left:0}
|
|
6
|
+
._1a98kb7n:hover .fabric-user-picker__clear-indicator{opacity:1}
|
|
7
|
+
._bfhk1j28{background-color:transparent}
|
|
8
|
+
._bfhk1j9a{background-color:var(--ds-background-input,#fff)}
|
|
9
|
+
._ca0qidpf{padding-top:0}
|
|
10
|
+
._n3tdidpf{padding-bottom:0}
|
|
11
|
+
._p12f1osq{max-width:100%}
|
|
12
|
+
._u5f3idpf{padding-right:0}
|
|
13
|
+
._4cvx1bqt:hover{border-color:var(--ds-border-danger,#e2483d)}
|
|
14
|
+
._4cvx1elr:hover{border-color:var(--ds-border-input,#8590a2)}
|
|
15
|
+
._4cvx1j28:hover{border-color:transparent}
|
|
16
|
+
._4cvx1p6i:hover{border-color:var(--ds-border-focused,#388bff)}
|
|
17
|
+
._irr31d5g:hover{background-color:var(--ds-background-input-hovered,#f7f8f9)}
|
|
18
|
+
._irr31gly:hover{background-color:var(--ds-background-danger,#ffeceb)}
|
|
19
|
+
._irr31j9a:hover{background-color:var(--ds-background-input,#fff)}
|
|
20
|
+
._irr3syzs:hover{background-color:var(--ds-background-disabled,#091e4208)}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* Control.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import "./Control.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { components } from '@atlaskit/select';
|
|
7
|
+
import { cx } from '@compiled/react';
|
|
8
|
+
var controlStyles = {
|
|
9
|
+
invalid: "_1h6d1bqt _4cvx1bqt",
|
|
10
|
+
focused: "_1h6d1p6i _bfhk1j9a _4cvx1p6i _irr31j9a",
|
|
11
|
+
disabled: "_irr3syzs",
|
|
12
|
+
subtle: "_1h6d1j28 _bfhk1j28 _4cvx1j28 _irr31gly",
|
|
13
|
+
root: "_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1h6d1elr _bfhk1j9a _p12f1osq _4cvx1elr _irr31d5g _1a98kb7n"
|
|
14
|
+
};
|
|
15
|
+
var Control = function Control(props) {
|
|
16
|
+
return /*#__PURE__*/React.createElement(components.Control, _extends({}, props, {
|
|
17
|
+
xcss: cx(controlStyles.root, (props.selectProps.subtle || props.selectProps.noBorder) && controlStyles.subtle, props.isFocused && controlStyles.focused, props.isInvalid && controlStyles.invalid, props.isDisabled && controlStyles.disabled)
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
20
|
+
export default Control;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
._1ir3kb7n input::-ms-input-placeholder{opacity:1}
|
|
2
|
+
._1ir3kb7n input::placeholder{opacity:1}
|
|
3
|
+
._5ce6131l input::-ms-input-placeholder{color:var(--ds-text-subtlest,#626f86)}
|
|
4
|
+
._5ce6131l input::placeholder{color:var(--ds-text-subtlest,#626f86)}
|
|
5
|
+
._h5gq131l input:-ms-input-placeholder{color:var(--ds-text-subtlest,#626f86)}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* Input.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -5,10 +6,15 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
5
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
7
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
8
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
9
|
+
import "./Input.compiled.css";
|
|
10
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
8
11
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
9
12
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
13
|
import React from 'react';
|
|
11
14
|
import { components } from '@atlaskit/select';
|
|
15
|
+
var inputStyles = {
|
|
16
|
+
root: "_5ce6131l _1ir3kb7n _h5gq131l"
|
|
17
|
+
};
|
|
12
18
|
export var Input = /*#__PURE__*/function (_React$Component) {
|
|
13
19
|
function Input() {
|
|
14
20
|
var _this;
|
|
@@ -60,7 +66,8 @@ export var Input = /*#__PURE__*/function (_React$Component) {
|
|
|
60
66
|
"aria-labelledby": this.ariaLabelledBy,
|
|
61
67
|
"aria-describedby": this.ariaDescribedBy,
|
|
62
68
|
innerRef: this.props.innerRef,
|
|
63
|
-
onKeyPress: this.handleKeyPress
|
|
69
|
+
onKeyPress: this.handleKeyPress,
|
|
70
|
+
xcss: inputStyles.root
|
|
64
71
|
}));
|
|
65
72
|
}
|
|
66
73
|
}]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
._18m91wug{overflow-y:auto}
|
|
2
|
+
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
3
|
+
._1fjgglyw{scrollbar-width:none}
|
|
4
|
+
._1ke8idpf::-webkit-scrollbar{width:0}
|
|
5
|
+
._1reo15vq{overflow-x:hidden}
|
|
6
|
+
._1suq1j28::-webkit-scrollbar{background-color:transparent}
|
|
7
|
+
._c71l1osq{max-height:100%}
|
|
8
|
+
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
9
|
+
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
10
|
+
._yv0e5bpd{grid-template-columns:auto 1fr}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* MultiValueContainer.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
5
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -6,6 +8,8 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
|
6
8
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
9
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
10
|
var _excluded = ["children", "innerProps"];
|
|
11
|
+
import "./MultiValueContainer.compiled.css";
|
|
12
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
9
13
|
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; }
|
|
10
14
|
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) { _defineProperty(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; }
|
|
11
15
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
@@ -17,6 +21,9 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
17
21
|
import { messages } from './i18n';
|
|
18
22
|
import { isChildInput } from './utils';
|
|
19
23
|
import ValueContainerWrapper from './ValueContainerWrapper';
|
|
24
|
+
var valueContainerStyles = {
|
|
25
|
+
root: "_yv0e5bpd _ca0q12x7 _n3td12x7 _19bv12x7 _1reo15vq _18m91wug _1fjgglyw _c71l1osq _1suq1j28 _1ke8idpf"
|
|
26
|
+
};
|
|
20
27
|
export var MultiValueContainer = /*#__PURE__*/function (_React$PureComponent) {
|
|
21
28
|
function MultiValueContainer(props) {
|
|
22
29
|
var _this;
|
|
@@ -116,7 +123,9 @@ export var MultiValueContainer = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
116
123
|
return /*#__PURE__*/React.createElement(ValueContainerWrapper, {
|
|
117
124
|
isEnabled: this.onValueContainerClick,
|
|
118
125
|
onMouseDown: this.onValueContainerClick
|
|
119
|
-
}, /*#__PURE__*/React.createElement(components.ValueContainer, props,
|
|
126
|
+
}, /*#__PURE__*/React.createElement(components.ValueContainer, _extends({}, props, {
|
|
127
|
+
xcss: valueContainerStyles.root
|
|
128
|
+
}), this.renderChildren()));
|
|
120
129
|
}
|
|
121
130
|
}], [{
|
|
122
131
|
key: "getDerivedStateFromProps",
|
|
@@ -10,10 +10,10 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
10
10
|
* @jsx jsx
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
|
-
import { components } from '@atlaskit/select';
|
|
14
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
14
|
import { css, jsx } from '@emotion/react';
|
|
16
15
|
import { N200 } from '@atlaskit/theme/colors';
|
|
16
|
+
import Control from './Control';
|
|
17
17
|
var controlWrapper = css({
|
|
18
18
|
display: 'flex',
|
|
19
19
|
flexDirection: 'column',
|
|
@@ -42,7 +42,7 @@ export var PopupControl = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
42
42
|
css: controlWrapper
|
|
43
43
|
}, jsx("div", {
|
|
44
44
|
css: labelStyle
|
|
45
|
-
}, popupTitle), jsx(
|
|
45
|
+
}, popupTitle), jsx(Control, this.props));
|
|
46
46
|
}
|
|
47
47
|
}]);
|
|
48
48
|
}(React.PureComponent);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
._nd5l1kqh{grid-area:1/1/2/2}._16jlkb7n{flex-grow:1}
|
|
3
|
+
._18m91wug{overflow-y:auto}
|
|
4
|
+
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
5
|
+
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
6
|
+
._1fjgglyw{scrollbar-width:none}
|
|
7
|
+
._1ke8idpf::-webkit-scrollbar{width:0}
|
|
8
|
+
._1reo15vq{overflow-x:hidden}
|
|
9
|
+
._1suq1j28::-webkit-scrollbar{background-color:transparent}
|
|
10
|
+
._c71l1osq{max-height:100%}
|
|
11
|
+
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
12
|
+
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
13
|
+
._vwz4idpf{line-height:0}
|
|
14
|
+
._yv0e5bpd{grid-template-columns:auto 1fr}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* SingleValueContainer.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
5
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -6,26 +8,19 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
|
6
8
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
9
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
10
|
var _excluded = ["children"];
|
|
11
|
+
import "./SingleValueContainer.compiled.css";
|
|
12
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
9
13
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
10
14
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
|
-
/**
|
|
12
|
-
* @jsxRuntime classic
|
|
13
|
-
* @jsx jsx
|
|
14
|
-
*/
|
|
15
|
-
import { components } from '@atlaskit/select';
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
-
import { css, jsx } from '@emotion/react';
|
|
18
15
|
import React from 'react';
|
|
16
|
+
import { components } from '@atlaskit/select';
|
|
19
17
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
20
|
-
import { BORDER_PADDING } from './styles';
|
|
21
18
|
import ValueContainerWrapper from './ValueContainerWrapper';
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
gridArea: '1/1/2/2'
|
|
28
|
-
});
|
|
19
|
+
var valueContainerStyles = {
|
|
20
|
+
root: "_yv0e5bpd _ca0q12x7 _n3td12x7 _19bvze3t _1reo15vq _18m91wug _1fjgglyw _c71l1osq _1suq1j28 _1ke8idpf"
|
|
21
|
+
};
|
|
22
|
+
var placeholderIconContainer = null;
|
|
23
|
+
var wrapperStyle = null;
|
|
29
24
|
var showUserAvatar = function showUserAvatar(inputValue, value) {
|
|
30
25
|
return value && value.data && inputValue === value.label;
|
|
31
26
|
};
|
|
@@ -47,7 +42,7 @@ export var SingleValueContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
47
42
|
value = _this$props$selectPro.value,
|
|
48
43
|
placeholderAvatar = _this$props$selectPro.placeholderAvatar;
|
|
49
44
|
if (isFocused || !hasValue) {
|
|
50
|
-
return
|
|
45
|
+
return /*#__PURE__*/React.createElement(SizeableAvatar, {
|
|
51
46
|
appearance: appearance,
|
|
52
47
|
type: placeholderAvatar,
|
|
53
48
|
src: showUserAvatar(inputValue, value) ? value.data.avatarUrl : undefined
|
|
@@ -59,13 +54,9 @@ export var SingleValueContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
59
54
|
_defineProperty(_this, "onValueContainerClick", _this.props.selectProps.onValueContainerClick);
|
|
60
55
|
_defineProperty(_this, "Wrapper", function (_ref) {
|
|
61
56
|
var children = _ref.children;
|
|
62
|
-
return _this.onValueContainerClick ?
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
css: css({
|
|
66
|
-
flexGrow: 1
|
|
67
|
-
}),
|
|
68
|
-
onMouseDown: _this.onValueContainerClick
|
|
57
|
+
return _this.onValueContainerClick ? /*#__PURE__*/React.createElement("div", {
|
|
58
|
+
onMouseDown: _this.onValueContainerClick,
|
|
59
|
+
className: ax(["_16jlkb7n"])
|
|
69
60
|
}, children) : children;
|
|
70
61
|
});
|
|
71
62
|
return _this;
|
|
@@ -77,11 +68,13 @@ export var SingleValueContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
77
68
|
var _this$props2 = this.props,
|
|
78
69
|
children = _this$props2.children,
|
|
79
70
|
valueContainerProps = _objectWithoutProperties(_this$props2, _excluded);
|
|
80
|
-
return
|
|
71
|
+
return /*#__PURE__*/React.createElement(ValueContainerWrapper, {
|
|
81
72
|
isEnabled: this.onValueContainerClick,
|
|
82
73
|
onMouseDown: this.onValueContainerClick
|
|
83
|
-
},
|
|
84
|
-
|
|
74
|
+
}, /*#__PURE__*/React.createElement(components.ValueContainer, _extends({}, valueContainerProps, {
|
|
75
|
+
xcss: valueContainerStyles.root
|
|
76
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
77
|
+
className: ax(["_nd5l1kqh _19bv12x7 _vwz4idpf"])
|
|
85
78
|
}, this.renderAvatar()), children));
|
|
86
79
|
}
|
|
87
80
|
}]);
|
|
@@ -13,7 +13,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
13
13
|
*/
|
|
14
14
|
import { B400, N800, N200 } from '@atlaskit/theme/colors';
|
|
15
15
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
|
-
import { Inline } from '@atlaskit/primitives';
|
|
16
|
+
import { Inline } from '@atlaskit/primitives/compiled';
|
|
17
17
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
19
|
import { jsx } from '@emotion/react';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* UserPicker.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -5,6 +6,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
5
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
7
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
8
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
9
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
8
10
|
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; }
|
|
9
11
|
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) { _defineProperty(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; }
|
|
10
12
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
@@ -12,6 +12,8 @@ import { SingleValueContainer } from './SingleValueContainer';
|
|
|
12
12
|
import { PopupInput } from './PopupInput';
|
|
13
13
|
import { PopupControl } from './PopupControl';
|
|
14
14
|
import { Menu } from './Menu';
|
|
15
|
+
import Control from './Control';
|
|
16
|
+
|
|
15
17
|
/**
|
|
16
18
|
* Memoize getComponents to avoid rerenders.
|
|
17
19
|
*/
|
|
@@ -30,7 +32,8 @@ export var getComponents = memoizeOne(function (multi, anchor, showClearIndicato
|
|
|
30
32
|
Option: Option,
|
|
31
33
|
ValueContainer: multi ? MultiValueContainer : SingleValueContainer,
|
|
32
34
|
Input: Input,
|
|
33
|
-
Menu: Menu
|
|
35
|
+
Menu: Menu,
|
|
36
|
+
Control: Control
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
39
|
});
|
|
@@ -65,7 +65,11 @@ export declare class BaseUserPickerWithoutAnalytics extends React.Component<Base
|
|
|
65
65
|
render(): React.JSX.Element;
|
|
66
66
|
}
|
|
67
67
|
export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
68
|
-
fieldId: string | null;
|
|
68
|
+
fieldId: string | null; /**
|
|
69
|
+
* @deprecated This is a temporary prop to enable user-pickers to work in Draggable elements in react-beautiful-dnd.
|
|
70
|
+
* See https://product-fabric.atlassian.net/browse/DSP-15701 for more details.
|
|
71
|
+
* It may be removed in a future minor or patch when a longer-term workaround is found.
|
|
72
|
+
*/
|
|
69
73
|
options?: OptionData[] | undefined;
|
|
70
74
|
width?: string | number | undefined;
|
|
71
75
|
menuMinWidth?: number | undefined;
|
|
@@ -94,6 +98,7 @@ export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
94
98
|
subtle?: boolean | undefined;
|
|
95
99
|
noBorder?: boolean | undefined;
|
|
96
100
|
styles?: import("@atlaskit/select").StylesConfig | undefined;
|
|
101
|
+
components?: Partial<import("packages/design-system/react-select/dist/types/components").SelectComponents<OptionData, boolean, import("@atlaskit/select").GroupType<OptionData>>> | undefined;
|
|
97
102
|
defaultValue?: import("../types").DefaultValue;
|
|
98
103
|
placeholder?: React.ReactNode;
|
|
99
104
|
placeholderAvatar?: "team" | "person" | undefined;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
1
5
|
import React from 'react';
|
|
2
6
|
import { type ClearIndicatorProps } from '@atlaskit/select';
|
|
3
7
|
export declare class ClearIndicator extends React.PureComponent<ClearIndicatorProps<any>> {
|
|
4
8
|
private handleMouseDown;
|
|
5
|
-
render():
|
|
9
|
+
render(): JSX.Element;
|
|
6
10
|
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
1
5
|
import React, { type AriaAttributes } from 'react';
|
|
2
6
|
import { type OptionType, type SelectProps } from '@atlaskit/select';
|
|
3
7
|
import { type AriaAttributesType } from '../types';
|
|
@@ -18,5 +22,5 @@ export declare class Input extends React.Component<Props & AriaAttributes> {
|
|
|
18
22
|
*/
|
|
19
23
|
get ariaLabelledBy(): AriaAttributesType;
|
|
20
24
|
get ariaDescribedBy(): AriaAttributesType;
|
|
21
|
-
render():
|
|
25
|
+
render(): JSX.Element;
|
|
22
26
|
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
1
5
|
import { type MultiValueProps } from '@atlaskit/select';
|
|
2
6
|
import React from 'react';
|
|
3
7
|
import { type Option, type User } from '../types';
|
|
@@ -26,6 +30,6 @@ export declare class MultiValueContainer extends React.PureComponent<Props, Stat
|
|
|
26
30
|
private addPlaceholder;
|
|
27
31
|
private renderChildren;
|
|
28
32
|
onValueContainerClick: any;
|
|
29
|
-
render():
|
|
33
|
+
render(): JSX.Element;
|
|
30
34
|
}
|
|
31
35
|
export {};
|
|
@@ -49,6 +49,7 @@ export declare const PopupUserPicker: React.ForwardRefExoticComponent<Omit<Pick<
|
|
|
49
49
|
subtle?: boolean | undefined;
|
|
50
50
|
noBorder?: boolean | undefined;
|
|
51
51
|
styles?: import("@atlaskit/select").StylesConfig | undefined;
|
|
52
|
+
components?: Partial<import("packages/design-system/react-select/dist/types/components").SelectComponents<import("../types").OptionData, boolean, import("@atlaskit/select").GroupType<import("../types").OptionData>>> | undefined;
|
|
52
53
|
defaultValue?: import("../types").DefaultValue;
|
|
53
54
|
placeholder?: React.ReactNode;
|
|
54
55
|
placeholderAvatar?: "team" | "person" | undefined;
|
|
@@ -103,6 +104,7 @@ export declare const PopupUserPicker: React.ForwardRefExoticComponent<Omit<Pick<
|
|
|
103
104
|
autoFocus?: boolean | undefined;
|
|
104
105
|
captureMenuScroll?: boolean | undefined;
|
|
105
106
|
closeMenuOnScroll?: boolean | EventListener | undefined;
|
|
107
|
+
components?: Partial<import("packages/design-system/react-select/dist/types/components").SelectComponents<import("../types").OptionData, boolean, import("@atlaskit/select").GroupType<import("../types").OptionData>>> | undefined;
|
|
106
108
|
inputId?: string | undefined;
|
|
107
109
|
isClearable?: boolean | undefined;
|
|
108
110
|
isInvalid?: boolean | undefined;
|
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import { type ValueContainerProps } from '@atlaskit/select';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
5
|
import React from 'react';
|
|
6
|
+
import { type ValueContainerProps } from '@atlaskit/select';
|
|
8
7
|
import { type Option, type User } from '../types';
|
|
9
8
|
export declare class SingleValueContainer extends React.Component<ValueContainerProps<Option<User>>> {
|
|
10
9
|
private renderAvatar;
|
|
11
10
|
onValueContainerClick: any;
|
|
12
11
|
Wrapper: ({ children }: {
|
|
13
12
|
children: React.ReactElement;
|
|
14
|
-
}) =>
|
|
15
|
-
render():
|
|
13
|
+
}) => JSX.Element;
|
|
14
|
+
render(): JSX.Element;
|
|
16
15
|
}
|
|
@@ -8,7 +8,7 @@ export declare class UserPickerWithoutAnalytics extends React.Component<UserPick
|
|
|
8
8
|
isMulti: boolean;
|
|
9
9
|
};
|
|
10
10
|
componentDidMount(): void;
|
|
11
|
-
render():
|
|
11
|
+
render(): JSX.Element;
|
|
12
12
|
}
|
|
13
13
|
export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
14
14
|
fieldId: string | null;
|
|
@@ -40,6 +40,7 @@ export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
40
40
|
subtle?: boolean | undefined;
|
|
41
41
|
noBorder?: boolean | undefined;
|
|
42
42
|
styles?: import("@atlaskit/select").StylesConfig | undefined;
|
|
43
|
+
components?: Partial<import("packages/design-system/react-select/dist/types/components").SelectComponents<import("../types").OptionData, boolean, import("@atlaskit/select").GroupType<import("../types").OptionData>>> | undefined;
|
|
43
44
|
defaultValue?: import("../types").DefaultValue;
|
|
44
45
|
placeholder?: React.ReactNode;
|
|
45
46
|
placeholderAvatar?: "team" | "person" | undefined;
|
|
@@ -77,7 +78,7 @@ export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
77
78
|
openMenuOnClick?: boolean | undefined;
|
|
78
79
|
strategy?: "absolute" | "fixed" | undefined;
|
|
79
80
|
showClearIndicator?: boolean | undefined;
|
|
80
|
-
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "options" | "search" | "placeholder" | "isDisabled" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "inputId" | "isClearable" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "openMenuOnClick" | "styles" | "value" | "required" | "appearance" | "footer" | "defaultValue" | "fieldId" | "menuMinWidth" | "maxPickerHeight" | "textFieldBackgroundColor" | "loadOptions" | "loadOptionsErrorMessage" | "loadUserSource" | "anchor" | "open" | "onSelection" | "onClear" | "onOpen" | "onClose" | "subtle" | "noBorder" | "placeholderAvatar" | "addMoreMessage" | "clearValueLabel" | "allowEmail" | "suggestEmailsForDomain" | "emailLabel" | "disableInput" | "isValidEmail" | "maxOptions" | "ariaLabel" | "ariaLabelledBy" | "ariaDescribedBy" | "ariaLive" | "header" | "UNSAFE_hasDraggableParentComponent" | "strategy" | "showClearIndicator"> & {
|
|
81
|
+
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "options" | "search" | "placeholder" | "isDisabled" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isClearable" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onChange" | "onFocus" | "onInputChange" | "onKeyDown" | "openMenuOnClick" | "styles" | "value" | "required" | "appearance" | "footer" | "defaultValue" | "fieldId" | "menuMinWidth" | "maxPickerHeight" | "textFieldBackgroundColor" | "loadOptions" | "loadOptionsErrorMessage" | "loadUserSource" | "anchor" | "open" | "onSelection" | "onClear" | "onOpen" | "onClose" | "subtle" | "noBorder" | "placeholderAvatar" | "addMoreMessage" | "clearValueLabel" | "allowEmail" | "suggestEmailsForDomain" | "emailLabel" | "disableInput" | "isValidEmail" | "maxOptions" | "ariaLabel" | "ariaLabelledBy" | "ariaDescribedBy" | "ariaLive" | "header" | "UNSAFE_hasDraggableParentComponent" | "strategy" | "showClearIndicator"> & {
|
|
81
82
|
isMulti?: boolean | undefined;
|
|
82
83
|
width?: string | number | undefined;
|
|
83
84
|
} & {} & React.RefAttributes<any>>;
|
|
@@ -29,7 +29,7 @@ export declare const getComponents: import("memoize-one").MemoizedFn<(multi?: bo
|
|
|
29
29
|
ValueContainer: typeof MultiValueContainer | typeof SingleValueContainer;
|
|
30
30
|
Input: typeof Input;
|
|
31
31
|
Menu: typeof Menu;
|
|
32
|
-
Control
|
|
32
|
+
Control: (props: import("@atlaskit/select").ControlProps<any>) => JSX.Element;
|
|
33
33
|
}>;
|
|
34
34
|
export declare const getPopupComponents: import("memoize-one").MemoizedFn<(hasPopupTitle: boolean) => {
|
|
35
35
|
DropdownIndicator: null;
|