@atlaskit/user-picker 12.1.3 → 13.0.0
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 +26 -0
- package/analytics/package.json +1 -8
- package/components/custom-option/main/package.json +1 -8
- package/components/custom-option/package.json +1 -8
- package/components/email-option/main/package.json +1 -8
- package/components/email-option/package.json +1 -8
- package/components/email-validation/package.json +1 -8
- package/components/group-option/main/package.json +1 -8
- package/components/group-option/package.json +1 -8
- package/components/option/package.json +1 -8
- package/components/popup-user-picker/package.json +1 -8
- package/components/single-value/package.json +1 -8
- package/components/team-option/main/package.json +1 -8
- package/components/team-option/package.json +1 -8
- package/components/user-option/package.json +1 -8
- package/components/user-picker/package.json +1 -8
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Control.compiled.css +1 -1
- package/dist/cjs/components/Control.js +1 -1
- package/dist/cjs/components/styles.js +2 -2
- package/dist/cjs/util/i18n-util.js +39 -39
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Control.compiled.css +1 -1
- package/dist/es2019/components/Control.js +1 -1
- package/dist/es2019/components/styles.js +2 -2
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Control.compiled.css +1 -1
- package/dist/esm/components/Control.js +1 -1
- package/dist/esm/components/styles.js +2 -2
- package/dist/esm/util/i18n-util.js +38 -38
- package/option/package.json +1 -8
- package/package.json +21 -29
- package/types/package.json +1 -8
- package/utils/package.json +1 -8
- package/dist/types-ts4.5/analytics.d.ts +0 -24
- package/dist/types-ts4.5/clients/UserSourceProvider.d.ts +0 -11
- package/dist/types-ts4.5/components/AddOptionAvatar.d.ts +0 -7
- package/dist/types-ts4.5/components/AvatarItemOption.d.ts +0 -16
- package/dist/types-ts4.5/components/AvatarOrIcon.d.ts +0 -17
- package/dist/types-ts4.5/components/BaseUserPicker.d.ts +0 -179
- package/dist/types-ts4.5/components/ClearIndicator.d.ts +0 -10
- package/dist/types-ts4.5/components/Control.d.ts +0 -8
- package/dist/types-ts4.5/components/CustomOption/index.d.ts +0 -4
- package/dist/types-ts4.5/components/CustomOption/main.d.ts +0 -15
- package/dist/types-ts4.5/components/EmailOption/index.d.ts +0 -4
- package/dist/types-ts4.5/components/EmailOption/main.d.ts +0 -21
- package/dist/types-ts4.5/components/ExternalUserOption/ExternalAvatarItemOption.d.ts +0 -14
- package/dist/types-ts4.5/components/ExternalUserOption/InfoIcon.d.ts +0 -3
- package/dist/types-ts4.5/components/ExternalUserOption/SourcesTooltipContent.d.ts +0 -3
- package/dist/types-ts4.5/components/ExternalUserOption/index.d.ts +0 -9
- package/dist/types-ts4.5/components/ExternalUserOption/main.d.ts +0 -20
- package/dist/types-ts4.5/components/ExternalUserSourcesContainer.d.ts +0 -15
- package/dist/types-ts4.5/components/GroupOption/index.d.ts +0 -4
- package/dist/types-ts4.5/components/GroupOption/main.d.ts +0 -21
- package/dist/types-ts4.5/components/HighlightText.d.ts +0 -9
- package/dist/types-ts4.5/components/Input.d.ts +0 -26
- package/dist/types-ts4.5/components/Menu.d.ts +0 -12
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +0 -3
- package/dist/types-ts4.5/components/MultiValue.d.ts +0 -29
- package/dist/types-ts4.5/components/MultiValueContainer.d.ts +0 -37
- package/dist/types-ts4.5/components/Option.d.ts +0 -15
- package/dist/types-ts4.5/components/PopupControl.d.ts +0 -10
- package/dist/types-ts4.5/components/PopupInput.d.ts +0 -8
- package/dist/types-ts4.5/components/PopupUserPicker.d.ts +0 -209
- package/dist/types-ts4.5/components/SingleValue.d.ts +0 -6
- package/dist/types-ts4.5/components/SingleValueContainer.d.ts +0 -15
- package/dist/types-ts4.5/components/SizeableAvatar.d.ts +0 -12
- package/dist/types-ts4.5/components/TeamOption/index.d.ts +0 -4
- package/dist/types-ts4.5/components/TeamOption/main.d.ts +0 -17
- package/dist/types-ts4.5/components/UserOption.d.ts +0 -15
- package/dist/types-ts4.5/components/UserPicker.d.ts +0 -105
- package/dist/types-ts4.5/components/ValueContainerWrapper.d.ts +0 -16
- package/dist/types-ts4.5/components/assets/github.d.ts +0 -2
- package/dist/types-ts4.5/components/assets/google.d.ts +0 -2
- package/dist/types-ts4.5/components/assets/microsoft.d.ts +0 -2
- package/dist/types-ts4.5/components/assets/slack.d.ts +0 -2
- package/dist/types-ts4.5/components/batch.d.ts +0 -1
- package/dist/types-ts4.5/components/components.d.ts +0 -61
- package/dist/types-ts4.5/components/creatable.d.ts +0 -12
- package/dist/types-ts4.5/components/creatableEmailSuggestion.d.ts +0 -20
- package/dist/types-ts4.5/components/emailValidation.d.ts +0 -3
- package/dist/types-ts4.5/components/i18n.d.ts +0 -212
- package/dist/types-ts4.5/components/popup.d.ts +0 -49
- package/dist/types-ts4.5/components/styles.d.ts +0 -7
- package/dist/types-ts4.5/components/utils.d.ts +0 -30
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -50
- package/dist/types-ts4.5/i18n/da.d.ts +0 -50
- package/dist/types-ts4.5/i18n/de.d.ts +0 -50
- package/dist/types-ts4.5/i18n/en.d.ts +0 -50
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -50
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -50
- package/dist/types-ts4.5/i18n/es.d.ts +0 -50
- package/dist/types-ts4.5/i18n/et.d.ts +0 -15
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -50
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -50
- package/dist/types-ts4.5/i18n/hr.d.ts +0 -50
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -50
- package/dist/types-ts4.5/i18n/index.d.ts +0 -36
- package/dist/types-ts4.5/i18n/is.d.ts +0 -7
- package/dist/types-ts4.5/i18n/it.d.ts +0 -50
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -50
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -50
- package/dist/types-ts4.5/i18n/languages.d.ts +0 -28
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -50
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -50
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -50
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -50
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -15
- package/dist/types-ts4.5/i18n/ro.d.ts +0 -7
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -50
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -15
- package/dist/types-ts4.5/i18n/sl.d.ts +0 -50
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -50
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -50
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -50
- package/dist/types-ts4.5/i18n/th.d.ts +0 -50
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -50
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -50
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -50
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -50
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -50
- package/dist/types-ts4.5/index.d.ts +0 -8
- package/dist/types-ts4.5/option.d.ts +0 -12
- package/dist/types-ts4.5/types.d.ts +0 -419
- package/dist/types-ts4.5/util/group-options-by-type/index.d.ts +0 -4
- package/dist/types-ts4.5/util/i18n-util.d.ts +0 -11
- package/dist/types-ts4.5/util/ufoExperiences.d.ts +0 -10
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
._4cvx1j28:hover{border-color:transparent}
|
|
17
17
|
._4cvx1v1w:hover{border-color:var(--ds-border-focused,#4688ec)}
|
|
18
18
|
._4cvxrsbi:hover{border-color:var(--ds-border-input,#8c8f97)}
|
|
19
|
+
._irr3187o:hover{background-color:var(--ds-background-disabled,#0515240f)}
|
|
19
20
|
._irr31gly:hover{background-color:var(--ds-background-danger,#ffeceb)}
|
|
20
21
|
._irr31j9a:hover{background-color:var(--ds-background-input,#fff)}
|
|
21
|
-
._irr3by5v:hover{background-color:var(--ds-background-disabled,#17171708)}
|
|
22
22
|
._irr3l4ek:hover{background-color:var(--ds-background-input-hovered,#f8f8f8)}
|
|
@@ -8,7 +8,7 @@ import { cx } from '@compiled/react';
|
|
|
8
8
|
var controlStyles = {
|
|
9
9
|
invalid: "_1h6d1bqt _4cvx1bqt",
|
|
10
10
|
focused: "_1h6d1v1w _bfhk1j9a _4cvx1v1w _irr31j9a",
|
|
11
|
-
disabled: "
|
|
11
|
+
disabled: "_irr3187o",
|
|
12
12
|
subtle: "_1h6d1j28 _bfhk1j28 _4cvx1j28 _irr31gly",
|
|
13
13
|
root: "_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1h6drsbi _bfhk1j9a _p12f1osq _14regrf3 _4cvxrsbi _irr3l4ek _1a98zg3v",
|
|
14
14
|
compact: "_1tke1wug"
|
|
@@ -29,13 +29,13 @@ export var getStyles = memoizeOne(function (width, isMulti, isCompact, overrideS
|
|
|
29
29
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
30
30
|
width: width,
|
|
31
31
|
borderColor: state.isFocused ? "var(--ds-border-focused, #4688EC)" : state.isInvalid ? "var(--ds-border-danger, #E2483D)" : state.selectProps.subtle || state.selectProps.noBorder ? 'transparent' : "var(--ds-border-input, #8C8F97)",
|
|
32
|
-
backgroundColor: state.isFocused ? "var(--ds-background-input, #FFFFFF)" : state.selectProps.subtle ? 'transparent' : state.isDisabled && fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? "var(--ds-background-disabled, #
|
|
32
|
+
backgroundColor: state.isFocused ? "var(--ds-background-input, #FFFFFF)" : state.selectProps.subtle ? 'transparent' : state.isDisabled && fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? "var(--ds-background-disabled, #0515240F)" : state.selectProps.textFieldBackgroundColor ? "var(--ds-background-input, #FFFFFF)" : "var(--ds-background-input, #FFFFFF)",
|
|
33
33
|
'&:hover .fabric-user-picker__clear-indicator': {
|
|
34
34
|
opacity: 1
|
|
35
35
|
},
|
|
36
36
|
':hover': _objectSpread(_objectSpread({}, css[':hover']), {}, {
|
|
37
37
|
borderColor: state.isFocused ? css[':hover'] ? "var(--ds-border-focused, #4688EC)" : "var(--ds-border-focused, #4688EC)" : state.isInvalid ? "var(--ds-border-danger, #E2483D)" : state.selectProps.subtle ? 'transparent' : "var(--ds-border-input, #8C8F97)",
|
|
38
|
-
backgroundColor: state.selectProps.subtle && state.selectProps.hoveringClearIndicator ? "var(--ds-background-danger, #FFECEB)" : state.isFocused ? css[':hover'] ? "var(--ds-background-input, #FFFFFF)" : "var(--ds-background-input, #FFFFFF)" : state.isDisabled ? "var(--ds-background-disabled, #
|
|
38
|
+
backgroundColor: state.selectProps.subtle && state.selectProps.hoveringClearIndicator ? "var(--ds-background-danger, #FFECEB)" : state.isFocused ? css[':hover'] ? "var(--ds-background-input, #FFFFFF)" : "var(--ds-background-input, #FFFFFF)" : state.isDisabled ? "var(--ds-background-disabled, #0515240F)" : "var(--ds-background-input-hovered, #F8F8F8)"
|
|
39
39
|
}),
|
|
40
40
|
padding: 0,
|
|
41
41
|
minHeight: minHeight ? minHeight : height || isCompact ? isMulti && fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? 30 : 'none' : isMulti && fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? 42 : 44,
|
|
@@ -12,145 +12,145 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
12
12
|
*/
|
|
13
13
|
var _getMessagesForLocale = /*#__PURE__*/function () {
|
|
14
14
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(locale) {
|
|
15
|
-
var fragments;
|
|
16
|
-
return _regeneratorRuntime.wrap(function
|
|
15
|
+
var fragments, _t;
|
|
16
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
17
17
|
while (1) switch (_context.prev = _context.next) {
|
|
18
18
|
case 0:
|
|
19
|
-
|
|
20
|
-
_context.next =
|
|
19
|
+
_t = locale;
|
|
20
|
+
_context.next = _t === 'cs' ? 1 : _t === 'da' ? 2 : _t === 'de' ? 3 : _t === 'en' ? 4 : _t === 'en_GB' ? 5 : _t === 'en_ZZ' ? 6 : _t === 'es' ? 7 : _t === 'et' ? 8 : _t === 'fi' ? 9 : _t === 'fr' ? 10 : _t === 'hu' ? 11 : _t === 'is' ? 12 : _t === 'it' ? 13 : _t === 'ja' ? 14 : _t === 'ko' ? 15 : _t === 'nb' ? 16 : _t === 'nl' ? 17 : _t === 'pl' ? 18 : _t === 'pt_BR' ? 19 : _t === 'pt-BR' ? 19 : _t === 'pt_PT' ? 20 : _t === 'pt-PT' ? 20 : _t === 'ro' ? 21 : _t === 'ru' ? 22 : _t === 'sk' ? 23 : _t === 'sv' ? 24 : _t === 'th' ? 25 : _t === 'tr' ? 26 : _t === 'uk' ? 27 : _t === 'vi' ? 28 : _t === 'zh_TW' ? 29 : _t === 'zh' ? 30 : 31;
|
|
21
21
|
break;
|
|
22
|
-
case
|
|
22
|
+
case 1:
|
|
23
23
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-cs" */'../i18n/cs').then(function (mod) {
|
|
24
24
|
return mod.default;
|
|
25
25
|
}));
|
|
26
|
-
case
|
|
26
|
+
case 2:
|
|
27
27
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-da" */'../i18n/da').then(function (mod) {
|
|
28
28
|
return mod.default;
|
|
29
29
|
}));
|
|
30
|
-
case
|
|
30
|
+
case 3:
|
|
31
31
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-de" */'../i18n/de').then(function (mod) {
|
|
32
32
|
return mod.default;
|
|
33
33
|
}));
|
|
34
|
-
case
|
|
34
|
+
case 4:
|
|
35
35
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-en" */'../i18n/en').then(function (mod) {
|
|
36
36
|
return mod.default;
|
|
37
37
|
}));
|
|
38
|
-
case
|
|
38
|
+
case 5:
|
|
39
39
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-en_GB" */'../i18n/en_GB').then(function (mod) {
|
|
40
40
|
return mod.default;
|
|
41
41
|
}));
|
|
42
|
-
case
|
|
42
|
+
case 6:
|
|
43
43
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-en_ZZ" */'../i18n/en_ZZ').then(function (mod) {
|
|
44
44
|
return mod.default;
|
|
45
45
|
}));
|
|
46
|
-
case
|
|
46
|
+
case 7:
|
|
47
47
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-es" */'../i18n/es').then(function (mod) {
|
|
48
48
|
return mod.default;
|
|
49
49
|
}));
|
|
50
|
-
case
|
|
50
|
+
case 8:
|
|
51
51
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-et" */'../i18n/et').then(function (mod) {
|
|
52
52
|
return mod.default;
|
|
53
53
|
}));
|
|
54
|
-
case
|
|
54
|
+
case 9:
|
|
55
55
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-fi" */'../i18n/fi').then(function (mod) {
|
|
56
56
|
return mod.default;
|
|
57
57
|
}));
|
|
58
|
-
case
|
|
58
|
+
case 10:
|
|
59
59
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-fr" */'../i18n/fr').then(function (mod) {
|
|
60
60
|
return mod.default;
|
|
61
61
|
}));
|
|
62
|
-
case
|
|
62
|
+
case 11:
|
|
63
63
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-hu" */'../i18n/hu').then(function (mod) {
|
|
64
64
|
return mod.default;
|
|
65
65
|
}));
|
|
66
|
-
case
|
|
66
|
+
case 12:
|
|
67
67
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-is" */'../i18n/is').then(function (mod) {
|
|
68
68
|
return mod.default;
|
|
69
69
|
}));
|
|
70
|
-
case
|
|
70
|
+
case 13:
|
|
71
71
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-it" */'../i18n/it').then(function (mod) {
|
|
72
72
|
return mod.default;
|
|
73
73
|
}));
|
|
74
|
-
case
|
|
74
|
+
case 14:
|
|
75
75
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-ja" */'../i18n/ja').then(function (mod) {
|
|
76
76
|
return mod.default;
|
|
77
77
|
}));
|
|
78
|
-
case
|
|
78
|
+
case 15:
|
|
79
79
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-ko" */'../i18n/ko').then(function (mod) {
|
|
80
80
|
return mod.default;
|
|
81
81
|
}));
|
|
82
|
-
case
|
|
82
|
+
case 16:
|
|
83
83
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-nb" */'../i18n/nb').then(function (mod) {
|
|
84
84
|
return mod.default;
|
|
85
85
|
}));
|
|
86
|
-
case
|
|
86
|
+
case 17:
|
|
87
87
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-nl" */'../i18n/nl').then(function (mod) {
|
|
88
88
|
return mod.default;
|
|
89
89
|
}));
|
|
90
|
-
case
|
|
90
|
+
case 18:
|
|
91
91
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-pl" */'../i18n/pl').then(function (mod) {
|
|
92
92
|
return mod.default;
|
|
93
93
|
}));
|
|
94
|
-
case
|
|
94
|
+
case 19:
|
|
95
95
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-pt_BR" */'../i18n/pt_BR').then(function (mod) {
|
|
96
96
|
return mod.default;
|
|
97
97
|
}));
|
|
98
|
-
case
|
|
98
|
+
case 20:
|
|
99
99
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-pt_PT" */'../i18n/pt_PT').then(function (mod) {
|
|
100
100
|
return mod.default;
|
|
101
101
|
}));
|
|
102
|
-
case
|
|
102
|
+
case 21:
|
|
103
103
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-ro" */'../i18n/ro').then(function (mod) {
|
|
104
104
|
return mod.default;
|
|
105
105
|
}));
|
|
106
|
-
case
|
|
106
|
+
case 22:
|
|
107
107
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-ru" */'../i18n/ru').then(function (mod) {
|
|
108
108
|
return mod.default;
|
|
109
109
|
}));
|
|
110
|
-
case
|
|
110
|
+
case 23:
|
|
111
111
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-sk" */'../i18n/sk').then(function (mod) {
|
|
112
112
|
return mod.default;
|
|
113
113
|
}));
|
|
114
|
-
case
|
|
114
|
+
case 24:
|
|
115
115
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-sv" */'../i18n/sv').then(function (mod) {
|
|
116
116
|
return mod.default;
|
|
117
117
|
}));
|
|
118
|
-
case
|
|
118
|
+
case 25:
|
|
119
119
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-th" */'../i18n/th').then(function (mod) {
|
|
120
120
|
return mod.default;
|
|
121
121
|
}));
|
|
122
|
-
case
|
|
122
|
+
case 26:
|
|
123
123
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-tr" */'../i18n/tr').then(function (mod) {
|
|
124
124
|
return mod.default;
|
|
125
125
|
}));
|
|
126
|
-
case
|
|
126
|
+
case 27:
|
|
127
127
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-uk" */'../i18n/uk').then(function (mod) {
|
|
128
128
|
return mod.default;
|
|
129
129
|
}));
|
|
130
|
-
case
|
|
130
|
+
case 28:
|
|
131
131
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-vi" */'../i18n/vi').then(function (mod) {
|
|
132
132
|
return mod.default;
|
|
133
133
|
}));
|
|
134
|
-
case
|
|
134
|
+
case 29:
|
|
135
135
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-zh_TW" */'../i18n/zh_TW').then(function (mod) {
|
|
136
136
|
return mod.default;
|
|
137
137
|
}));
|
|
138
|
-
case
|
|
138
|
+
case 30:
|
|
139
139
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-zh" */'../i18n/zh').then(function (mod) {
|
|
140
140
|
return mod.default;
|
|
141
141
|
}));
|
|
142
|
-
case
|
|
142
|
+
case 31:
|
|
143
143
|
fragments = locale.split(/[_-]/);
|
|
144
144
|
if (!(fragments.length === 2)) {
|
|
145
|
-
_context.next =
|
|
145
|
+
_context.next = 32;
|
|
146
146
|
break;
|
|
147
147
|
}
|
|
148
148
|
return _context.abrupt("return", _getMessagesForLocale(fragments[0]));
|
|
149
|
-
case
|
|
149
|
+
case 32:
|
|
150
150
|
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_user-picker-i18n-en" */'../i18n/en').then(function (mod) {
|
|
151
151
|
return mod.default;
|
|
152
152
|
}));
|
|
153
|
-
case
|
|
153
|
+
case 33:
|
|
154
154
|
case "end":
|
|
155
155
|
return _context.stop();
|
|
156
156
|
}
|
package/option/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,20 +12,12 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.5 <4.9": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.5/*",
|
|
19
|
-
"dist/types-ts4.5/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"devDependencies": {
|
|
24
16
|
"@af/integration-testing": "workspace:^",
|
|
25
17
|
"@af/search-test-utils": "workspace:^",
|
|
26
18
|
"@af/visual-regression": "workspace:^",
|
|
27
|
-
"@atlaskit/heading": "^
|
|
28
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
19
|
+
"@atlaskit/heading": "^6.0.0",
|
|
20
|
+
"@atlassian/a11y-jest-testing": "^0.12.0",
|
|
29
21
|
"@atlassian/a11y-playwright-testing": "^0.10.0",
|
|
30
22
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
31
23
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
@@ -72,24 +64,24 @@
|
|
|
72
64
|
"access": "public"
|
|
73
65
|
},
|
|
74
66
|
"dependencies": {
|
|
75
|
-
"@atlaskit/afm-i18n-platform-elements-user-picker": "2.
|
|
76
|
-
"@atlaskit/analytics-next": "^
|
|
77
|
-
"@atlaskit/avatar": "^
|
|
78
|
-
"@atlaskit/feature-gate-js-client": "^
|
|
79
|
-
"@atlaskit/icon": "^
|
|
80
|
-
"@atlaskit/logo": "^
|
|
81
|
-
"@atlaskit/lozenge": "^
|
|
82
|
-
"@atlaskit/people-teams-ui-public": "^
|
|
83
|
-
"@atlaskit/platform-feature-flags": "^
|
|
84
|
-
"@atlaskit/popper": "^
|
|
85
|
-
"@atlaskit/primitives": "^
|
|
86
|
-
"@atlaskit/select": "^
|
|
87
|
-
"@atlaskit/spinner": "^
|
|
88
|
-
"@atlaskit/tag": "^
|
|
89
|
-
"@atlaskit/teams-avatar": "^
|
|
90
|
-
"@atlaskit/tokens": "^
|
|
91
|
-
"@atlaskit/tooltip": "^
|
|
92
|
-
"@atlaskit/ufo": "^0.
|
|
67
|
+
"@atlaskit/afm-i18n-platform-elements-user-picker": "2.142.0",
|
|
68
|
+
"@atlaskit/analytics-next": "^12.0.0",
|
|
69
|
+
"@atlaskit/avatar": "^26.0.0",
|
|
70
|
+
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
71
|
+
"@atlaskit/icon": "^36.0.0",
|
|
72
|
+
"@atlaskit/logo": "^21.0.0",
|
|
73
|
+
"@atlaskit/lozenge": "^14.0.0",
|
|
74
|
+
"@atlaskit/people-teams-ui-public": "^5.0.0",
|
|
75
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
76
|
+
"@atlaskit/popper": "^8.0.0",
|
|
77
|
+
"@atlaskit/primitives": "^20.0.0",
|
|
78
|
+
"@atlaskit/select": "^22.0.0",
|
|
79
|
+
"@atlaskit/spinner": "^20.0.0",
|
|
80
|
+
"@atlaskit/tag": "^15.0.0",
|
|
81
|
+
"@atlaskit/teams-avatar": "^3.0.0",
|
|
82
|
+
"@atlaskit/tokens": "^14.0.0",
|
|
83
|
+
"@atlaskit/tooltip": "^23.0.0",
|
|
84
|
+
"@atlaskit/ufo": "^1.0.0",
|
|
93
85
|
"@babel/runtime": "^7.0.0",
|
|
94
86
|
"@compiled/react": "^0.20.0",
|
|
95
87
|
"@emotion/react": "^11.7.1",
|
package/types/package.json
CHANGED
package/utils/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/components/utils.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/components/utils.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/components/utils.d.ts"
|
|
17
10
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { UIAnalyticsEvent, type AnalyticsEventPayload, type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
-
import { type UserPickerProps, type UserPickerState } from './types';
|
|
3
|
-
export type UserPickerSession = {
|
|
4
|
-
downCount: number;
|
|
5
|
-
id: string;
|
|
6
|
-
inputChangeTime: number;
|
|
7
|
-
lastKey?: number;
|
|
8
|
-
start: number;
|
|
9
|
-
upCount: number;
|
|
10
|
-
};
|
|
11
|
-
export declare const startSession: () => UserPickerSession;
|
|
12
|
-
export declare const createAndFireEventInElementsChannel: (payload: AnalyticsEventPayload) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => UIAnalyticsEvent;
|
|
13
|
-
export interface EventCreator {
|
|
14
|
-
(props: UserPickerProps, state: UserPickerState, session?: UserPickerSession): AnalyticsEventPayload;
|
|
15
|
-
(props: UserPickerProps, state: UserPickerState, session?: UserPickerSession, ...args: any[]): AnalyticsEventPayload;
|
|
16
|
-
}
|
|
17
|
-
export declare const focusEvent: EventCreator;
|
|
18
|
-
export declare const clearEvent: EventCreator;
|
|
19
|
-
export declare const deleteEvent: EventCreator;
|
|
20
|
-
export declare const cancelEvent: EventCreator;
|
|
21
|
-
export declare const selectEvent: EventCreator;
|
|
22
|
-
export declare const searchedEvent: EventCreator;
|
|
23
|
-
export declare const failedEvent: EventCreator;
|
|
24
|
-
export declare const userInfoEvent: (sources: string[], accountId: string) => AnalyticsEventPayload;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import { type LoadUserSource, type UserSource } from '../types';
|
|
3
|
-
export interface UserSourceContext {
|
|
4
|
-
fetchUserSource?: LoadUserSource;
|
|
5
|
-
}
|
|
6
|
-
export declare const ExusUserSourceProvider: ({ fetchUserSource, children, }: PropsWithChildren<UserSourceContext>) => React.JSX.Element;
|
|
7
|
-
export declare const useUserSource: (accountId: string, shouldFetchSources: boolean, existingSources?: UserSource[]) => {
|
|
8
|
-
sources: UserSource[];
|
|
9
|
-
loading: boolean;
|
|
10
|
-
error: string | null;
|
|
11
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ReactNode } from 'react';
|
|
6
|
-
import { jsx, type SerializedStyles } from '@emotion/react';
|
|
7
|
-
import { type LozengeProps } from '../types';
|
|
8
|
-
export declare const textWrapper: (color?: string) => SerializedStyles;
|
|
9
|
-
export type AvatarItemOptionProps = {
|
|
10
|
-
avatar: ReactNode;
|
|
11
|
-
isDisabled?: boolean;
|
|
12
|
-
lozenge?: ReactNode | LozengeProps;
|
|
13
|
-
primaryText?: ReactNode;
|
|
14
|
-
secondaryText?: ReactNode;
|
|
15
|
-
};
|
|
16
|
-
export declare const AvatarItemOption: ({ avatar, isDisabled, lozenge, primaryText, secondaryText, }: AvatarItemOptionProps) => jsx.JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ReactNode } from 'react';
|
|
6
|
-
import { type AppearanceType } from '@atlaskit/avatar';
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
8
|
-
export type AvatarOrIconProps = {
|
|
9
|
-
appearance?: string;
|
|
10
|
-
avatarAppearanceShape?: AppearanceType;
|
|
11
|
-
icon?: ReactNode;
|
|
12
|
-
iconColor?: string;
|
|
13
|
-
presence?: string;
|
|
14
|
-
src?: string;
|
|
15
|
-
type?: 'person' | 'team';
|
|
16
|
-
};
|
|
17
|
-
export declare const AvatarOrIcon: ({ appearance, avatarAppearanceShape, icon, iconColor, presence, src, type, }: AvatarOrIconProps) => jsx.JSX.Element;
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { Appearance, DefaultValue, LoadOptions, LoadUserSource, OnChange, OnInputChange, OnOption, OnPicker, OptionData, UserPickerProps, UserPickerRef, UserPickerState, Value } from '../types';
|
|
4
|
-
import type { AriaAttributes } from 'react';
|
|
5
|
-
import type { SelectComponentsConfig, PopupSelectProps, StylesConfig } from '@atlaskit/select';
|
|
6
|
-
import type { EmailValidator } from './emailValidation';
|
|
7
|
-
export type BaseUserPickerProps = UserPickerProps & {
|
|
8
|
-
components: any;
|
|
9
|
-
name?: string;
|
|
10
|
-
pickerProps?: any;
|
|
11
|
-
SelectComponent: React.ComponentType<any>;
|
|
12
|
-
styles: any;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated This is a temporary prop to enable user-pickers to work in Draggable elements in react-beautiful-dnd.
|
|
15
|
-
* See https://product-fabric.atlassian.net/browse/DSP-15701 for more details.
|
|
16
|
-
* It may be removed in a future minor or patch when a longer-term workaround is found.
|
|
17
|
-
*/
|
|
18
|
-
UNSAFE_hasDraggableParentComponent?: boolean;
|
|
19
|
-
width: string | number;
|
|
20
|
-
};
|
|
21
|
-
export declare class BaseUserPickerWithoutAnalytics extends React.Component<BaseUserPickerProps, UserPickerState> {
|
|
22
|
-
static defaultProps: {
|
|
23
|
-
isMulti: boolean;
|
|
24
|
-
subtle: boolean;
|
|
25
|
-
noBorder: boolean;
|
|
26
|
-
textFieldBackgroundColor: boolean;
|
|
27
|
-
isClearable: boolean;
|
|
28
|
-
loadOptionsErrorMessage: () => React.JSX.Element;
|
|
29
|
-
openMenuOnClick: boolean;
|
|
30
|
-
};
|
|
31
|
-
static getDerivedStateFromProps(nextProps: Partial<UserPickerProps>, prevState: UserPickerState): Partial<UserPickerState>;
|
|
32
|
-
private selectRef;
|
|
33
|
-
private session?;
|
|
34
|
-
private journeyId?;
|
|
35
|
-
private optionsShownUfoExperienceInstance;
|
|
36
|
-
constructor(props: BaseUserPickerProps);
|
|
37
|
-
private getSessionId;
|
|
38
|
-
private withSelectRef;
|
|
39
|
-
nextOption: () => void;
|
|
40
|
-
previousOption: () => void;
|
|
41
|
-
focus: () => void;
|
|
42
|
-
blur: () => void;
|
|
43
|
-
selectOption: () => void;
|
|
44
|
-
private handleChange;
|
|
45
|
-
private handleSelectRef;
|
|
46
|
-
private addOptions;
|
|
47
|
-
private handleLoadOptionsError;
|
|
48
|
-
private debouncedLoadOptions;
|
|
49
|
-
private get isMenuOpenOnClickForSingleSelect();
|
|
50
|
-
abortOptionsShownUfoExperience: () => void;
|
|
51
|
-
startOptionsShownUfoExperience: () => void;
|
|
52
|
-
private executeLoadOptions;
|
|
53
|
-
private handleFocus;
|
|
54
|
-
private resetInputState;
|
|
55
|
-
private handleOpen;
|
|
56
|
-
private handleBlur;
|
|
57
|
-
private handleClose;
|
|
58
|
-
private handleInputChange;
|
|
59
|
-
private fireEvent;
|
|
60
|
-
private startSession;
|
|
61
|
-
componentDidMount(): void;
|
|
62
|
-
componentDidUpdate(prevProps: UserPickerProps, prevState: UserPickerState): void;
|
|
63
|
-
private handleKeyDown;
|
|
64
|
-
handleClearIndicatorHover: (hoveringClearIndicator: boolean) => void;
|
|
65
|
-
private getOptionsOld;
|
|
66
|
-
private getOptionsNew;
|
|
67
|
-
private getOptions;
|
|
68
|
-
private getAppearance;
|
|
69
|
-
get ariaProps(): Partial<AriaAttributes>;
|
|
70
|
-
private handleClickDraggableParentComponent;
|
|
71
|
-
private shouldKeepMenuOpen;
|
|
72
|
-
render(): React.JSX.Element;
|
|
73
|
-
}
|
|
74
|
-
export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
75
|
-
addMoreMessage?: string;
|
|
76
|
-
allowEmail?: boolean;
|
|
77
|
-
anchor?: React.ComponentType<any>;
|
|
78
|
-
appearance?: Appearance;
|
|
79
|
-
ariaDescribedBy?: string;
|
|
80
|
-
ariaLabel?: string;
|
|
81
|
-
ariaLabelledBy?: string;
|
|
82
|
-
ariaLive?: 'polite' | 'off' | 'assertive';
|
|
83
|
-
autoFocus?: boolean;
|
|
84
|
-
captureMenuScroll?: boolean;
|
|
85
|
-
clearValueLabel?: string;
|
|
86
|
-
closeMenuOnScroll?: boolean | EventListener;
|
|
87
|
-
components?: SelectComponentsConfig<OptionData, boolean>;
|
|
88
|
-
customGroupAnalyticsLabels?: Partial<Record<NonNullable<OptionData['type']>, string>>;
|
|
89
|
-
customGroupLabels?: Partial<Record<NonNullable<OptionData['type']>, React.ReactNode>>;
|
|
90
|
-
defaultValue?: DefaultValue;
|
|
91
|
-
disableInput?: boolean;
|
|
92
|
-
emailLabel?: string;
|
|
93
|
-
fieldId: string | null;
|
|
94
|
-
footer?: React.ReactNode;
|
|
95
|
-
forwardedRef?: React.ForwardedRef<UserPickerRef>;
|
|
96
|
-
groupByTypeOrder?: NonNullable<OptionData['type']>[];
|
|
97
|
-
header?: React.ReactNode;
|
|
98
|
-
height?: number | string;
|
|
99
|
-
includeTeamsUpdates?: boolean;
|
|
100
|
-
inputId?: string;
|
|
101
|
-
isClearable?: boolean;
|
|
102
|
-
isDisabled?: boolean;
|
|
103
|
-
isFooterFocused?: boolean;
|
|
104
|
-
isHeaderFocused?: boolean;
|
|
105
|
-
isInvalid?: boolean;
|
|
106
|
-
isLoading?: boolean;
|
|
107
|
-
isMulti?: boolean;
|
|
108
|
-
isValidEmail?: EmailValidator;
|
|
109
|
-
loadOptions?: LoadOptions;
|
|
110
|
-
loadOptionsErrorMessage?: (value: {
|
|
111
|
-
inputValue: string;
|
|
112
|
-
}) => React.ReactNode;
|
|
113
|
-
loadUserSource?: LoadUserSource;
|
|
114
|
-
maxOptions?: number;
|
|
115
|
-
maxPickerHeight?: number;
|
|
116
|
-
menuIsOpen?: boolean;
|
|
117
|
-
menuMinWidth?: number;
|
|
118
|
-
menuPortalTarget?: HTMLElement;
|
|
119
|
-
menuPosition?: 'absolute' | 'fixed';
|
|
120
|
-
menuShouldBlockScroll?: boolean;
|
|
121
|
-
name?: string;
|
|
122
|
-
noBorder?: boolean;
|
|
123
|
-
noOptionsMessage?: ((value: {
|
|
124
|
-
inputValue: string;
|
|
125
|
-
}) => string | null | React.ReactNode) | null | React.ReactNode;
|
|
126
|
-
onBlur?: OnPicker;
|
|
127
|
-
onChange?: OnChange;
|
|
128
|
-
onClear?: OnPicker;
|
|
129
|
-
onClose?: OnPicker;
|
|
130
|
-
onFocus?: OnPicker;
|
|
131
|
-
onInputChange?: OnInputChange;
|
|
132
|
-
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
133
|
-
onOpen?: OnPicker;
|
|
134
|
-
onSelection?: OnOption;
|
|
135
|
-
open?: boolean;
|
|
136
|
-
openMenuOnClick?: boolean;
|
|
137
|
-
openMenuOnFocus?: boolean;
|
|
138
|
-
options?: OptionData[];
|
|
139
|
-
placeholder?: React.ReactNode;
|
|
140
|
-
placeholderAvatar?: 'person' | 'team';
|
|
141
|
-
popupSelectProps?: PopupSelectProps<OptionData>;
|
|
142
|
-
required?: boolean;
|
|
143
|
-
search?: string;
|
|
144
|
-
setIsFooterFocused?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
145
|
-
setIsHeaderFocused?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
146
|
-
showClearIndicator?: boolean;
|
|
147
|
-
strategy?: 'fixed' | 'absolute';
|
|
148
|
-
styles?: StylesConfig;
|
|
149
|
-
subtle?: boolean;
|
|
150
|
-
suggestEmailsForDomain?: string;
|
|
151
|
-
textFieldBackgroundColor?: boolean;
|
|
152
|
-
UNSAFE_hasDraggableParentComponent?: boolean;
|
|
153
|
-
value?: Value;
|
|
154
|
-
width?: number | string;
|
|
155
|
-
} & {
|
|
156
|
-
components: any;
|
|
157
|
-
name?: string;
|
|
158
|
-
pickerProps?: any;
|
|
159
|
-
SelectComponent: React.ComponentType<any>;
|
|
160
|
-
styles: any;
|
|
161
|
-
/**
|
|
162
|
-
* @deprecated This is a temporary prop to enable user-pickers to work in Draggable elements in react-beautiful-dnd.
|
|
163
|
-
* See https://product-fabric.atlassian.net/browse/DSP-15701 for more details.
|
|
164
|
-
* It may be removed in a future minor or patch when a longer-term workaround is found.
|
|
165
|
-
*/
|
|
166
|
-
UNSAFE_hasDraggableParentComponent?: boolean;
|
|
167
|
-
width: string | number;
|
|
168
|
-
}, keyof WithAnalyticsEventsProps>, 'options' | 'noOptionsMessage' | 'placeholder' | 'addMoreMessage' | 'allowEmail' | 'anchor' | 'appearance' | 'ariaDescribedBy' | 'ariaLabel' | 'ariaLabelledBy' | 'ariaLive' | 'autoFocus' | 'captureMenuScroll' | 'clearValueLabel' | 'closeMenuOnScroll' | 'components' | 'defaultValue' | 'disableInput' | 'emailLabel' | 'fieldId' | 'footer' | 'forwardedRef' | 'groupByTypeOrder' | 'customGroupLabels' | 'customGroupAnalyticsLabels' | 'header' | 'height' | 'includeTeamsUpdates' | 'inputId' | 'isDisabled' | 'isFooterFocused' | 'isInvalid' | 'isLoading' | 'isValidEmail' | 'loadOptions' | 'loadUserSource' | 'maxOptions' | 'maxPickerHeight' | 'menuIsOpen' | 'menuMinWidth' | 'menuPortalTarget' | 'menuPosition' | 'menuShouldBlockScroll' | 'name' | 'onBlur' | 'onChange' | 'onClear' | 'onClose' | 'onFocus' | 'onInputChange' | 'onKeyDown' | 'onOpen' | 'onSelection' | 'open' | 'openMenuOnFocus' | 'placeholderAvatar' | 'popupSelectProps' | 'required' | 'search' | 'setIsFooterFocused' | 'showClearIndicator' | 'strategy' | 'styles' | 'suggestEmailsForDomain' | 'UNSAFE_hasDraggableParentComponent' | 'value' | 'width' | 'pickerProps' | 'SelectComponent'> & {
|
|
169
|
-
isClearable?: boolean | undefined;
|
|
170
|
-
isMulti?: boolean | undefined;
|
|
171
|
-
loadOptionsErrorMessage?: ((value: {
|
|
172
|
-
inputValue: string;
|
|
173
|
-
}) => React.ReactNode) | undefined;
|
|
174
|
-
noBorder?: boolean | undefined;
|
|
175
|
-
openMenuOnClick?: boolean | undefined;
|
|
176
|
-
openMenuOnFocus?: boolean | undefined;
|
|
177
|
-
subtle?: boolean | undefined;
|
|
178
|
-
textFieldBackgroundColor?: boolean | undefined;
|
|
179
|
-
} & {} & React.RefAttributes<any>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { type ClearIndicatorProps } from '@atlaskit/select';
|
|
7
|
-
export declare class ClearIndicator extends React.PureComponent<ClearIndicatorProps<any>> {
|
|
8
|
-
private handleMouseDown;
|
|
9
|
-
render(): JSX.Element;
|
|
10
|
-
}
|