@zohodesk/dot 1.0.0-temp-184.1 → 1.0.0-temp-185

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.
Files changed (170) hide show
  1. package/.cli/PropUnificationExcludeFilesArray.js +344 -344
  2. package/.cli/PropValidationExcludeFilesArray.js +8 -8
  3. package/.cli/propValidation_report.html +1 -1
  4. package/README.md +8 -0
  5. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  6. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  7. package/coverage/ExternalLink/index.html +1 -1
  8. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  9. package/coverage/ExternalLink/props/index.html +1 -1
  10. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  11. package/coverage/IconButton/IconButton.js.html +1 -1
  12. package/coverage/IconButton/IconButton.module.css.html +1 -1
  13. package/coverage/IconButton/index.html +1 -1
  14. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  15. package/coverage/IconButton/props/index.html +1 -1
  16. package/coverage/IconButton/props/propTypes.js.html +1 -1
  17. package/coverage/Image/Image.js.html +1 -1
  18. package/coverage/Image/Image.module.css.html +1 -1
  19. package/coverage/Image/index.html +1 -1
  20. package/coverage/Image/props/defaultProps.js.html +1 -1
  21. package/coverage/Image/props/index.html +1 -1
  22. package/coverage/Image/props/propTypes.js.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  27. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  28. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  29. package/coverage/coverage-final.json +16 -16
  30. package/coverage/coverage-summary.json +16 -16
  31. package/coverage/index.html +1 -1
  32. package/css_error.log +1 -1
  33. package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
  34. package/es/Drawer/Drawer.js +4 -5
  35. package/es/Drawer/Drawer.module.css +2 -2
  36. package/es/ExternalLink/ExternalLink.js +4 -5
  37. package/es/FlipCard/FlipCard.js +14 -12
  38. package/es/IconButton/IconButton.js +4 -5
  39. package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
  40. package/es/Link/Link.js +8 -10
  41. package/es/Message/Message.js +4 -5
  42. package/es/Message/Message.module.css +1 -1
  43. package/es/PlusIcon/PlusIcon.module.css +1 -1
  44. package/es/ToastMessage/ToastMessage.js +2 -4
  45. package/es/ToastMessage/ToastMessage.module.css +1 -1
  46. package/es/actions/AutoClose.js +2 -1
  47. package/es/alert/AlertLookup/AlertLookup.js +14 -12
  48. package/es/avatar/AvatarClose/AvatarClose.js +7 -7
  49. package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
  50. package/es/avatar/AvatarIcon/AvatarIcon.js +4 -5
  51. package/es/avatar/AvatarStatus/AvatarStatus.js +7 -8
  52. package/es/avatar/AvatarThread/AvatarThread.js +7 -7
  53. package/es/avatar/AvatarUser/AvatarUser.js +10 -9
  54. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
  55. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +28 -24
  56. package/es/form/fields/CheckBoxField/CheckBoxField.js +15 -13
  57. package/es/form/fields/CurrencyField/CurrencyField.js +14 -12
  58. package/es/form/fields/DateField/DateField.js +14 -14
  59. package/es/form/fields/MultiSelectField/MultiSelectField.js +13 -12
  60. package/es/form/fields/PhoneField/PhoneField.js +7 -7
  61. package/es/form/fields/RadioField/RadioField.js +18 -15
  62. package/es/form/fields/SelectField/SelectField.js +14 -14
  63. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
  64. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  65. package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
  66. package/es/form/fields/TextEditor/TextEditor.module.css +49 -63
  67. package/es/form/fields/TextEditorField/TextEditorField.js +11 -10
  68. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
  69. package/es/form/fields/TextareaField/TextareaField.js +14 -13
  70. package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
  71. package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  72. package/es/list/DotNew/DotNew.module.css +2 -1
  73. package/es/list/ListLayout/ListLayout.js +4 -5
  74. package/es/list/SecondaryText/AccountName.js +12 -12
  75. package/es/list/SecondaryText/ContactName.js +8 -9
  76. package/es/list/SecondaryText/Email.js +8 -8
  77. package/es/list/SecondaryText/PhoneNumber.js +8 -8
  78. package/es/list/SecondaryText/SecondaryText.js +4 -5
  79. package/es/list/SecondaryText/TicketId.js +7 -7
  80. package/es/list/Subject/Subject.js +7 -7
  81. package/es/list/TagNew/TagNew.module.css +1 -1
  82. package/es/list/status/StatusDropdown/StatusDropdown.js +35 -121
  83. package/es/list/status/StatusDropdown/StatusDropdown.module.css +1 -10
  84. package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
  85. package/es/list/status/StatusDropdown/props/propTypes.js +1 -1
  86. package/es/list/status/StatusListItem/StatusListItem.js +5 -5
  87. package/es/lookup/Lookup/Lookup.js +4 -5
  88. package/es/lookup/Section/LookupSection.module.css +1 -1
  89. package/es/lookup/header/Search/Search.js +5 -3
  90. package/es/v1/Drawer/Drawer.js +4 -5
  91. package/es/v1/ExternalLink/ExternalLink.js +4 -5
  92. package/es/v1/FlipCard/FlipCard.js +14 -12
  93. package/es/v1/GlobalNotification/GlobalNotification.js +6 -7
  94. package/es/v1/IconButton/IconButton.js +4 -5
  95. package/es/v1/Link/Link.js +8 -10
  96. package/es/v1/Message/Message.js +4 -5
  97. package/es/v1/ToastMessage/ToastMessage.js +2 -4
  98. package/es/v1/actions/AutoClose.js +2 -1
  99. package/es/v1/alert/AlertLookup/AlertLookup.js +15 -15
  100. package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
  101. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
  102. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +4 -5
  103. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +7 -8
  104. package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
  105. package/es/v1/avatar/AvatarUser/AvatarUser.js +10 -9
  106. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
  107. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +28 -24
  108. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
  109. package/es/v1/form/fields/CurrencyField/CurrencyField.js +14 -12
  110. package/es/v1/form/fields/DateField/DateField.js +14 -14
  111. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +13 -12
  112. package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
  113. package/es/v1/form/fields/RadioField/RadioField.js +18 -16
  114. package/es/v1/form/fields/SelectField/SelectField.js +14 -14
  115. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
  116. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  117. package/es/v1/form/fields/TextBoxField/TextBoxField.js +14 -14
  118. package/es/v1/form/fields/TextEditorField/TextEditorField.js +11 -10
  119. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
  120. package/es/v1/form/fields/TextareaField/TextareaField.js +14 -13
  121. package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -6
  122. package/es/v1/list/ListLayout/ListLayout.js +4 -5
  123. package/es/v1/list/SecondaryText/AccountName.js +12 -12
  124. package/es/v1/list/SecondaryText/ContactName.js +8 -9
  125. package/es/v1/list/SecondaryText/Email.js +8 -8
  126. package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
  127. package/es/v1/list/SecondaryText/SecondaryText.js +4 -5
  128. package/es/v1/list/SecondaryText/TicketId.js +7 -7
  129. package/es/v1/list/Subject/Subject.js +7 -7
  130. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +37 -113
  131. package/es/v1/list/status/StatusDropdown/props/defaultProps.js +2 -1
  132. package/es/v1/list/status/StatusDropdown/props/propTypes.js +1 -1
  133. package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
  134. package/es/v1/lookup/Lookup/Lookup.js +4 -5
  135. package/es/v1/lookup/header/Search/Search.js +5 -3
  136. package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -7
  137. package/es/v1/svg/PlusIcon.js +1 -1
  138. package/es/v1/svg/SnippetIcon.js +2 -2
  139. package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
  140. package/es/version2/GlobalNotification/GlobalNotification.module.css +2 -2
  141. package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
  142. package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
  143. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
  144. package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
  145. package/lib/Drawer/Drawer.module.css +2 -2
  146. package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
  147. package/lib/Message/Message.module.css +1 -1
  148. package/lib/PlusIcon/PlusIcon.module.css +1 -1
  149. package/lib/ToastMessage/ToastMessage.module.css +1 -1
  150. package/lib/form/fields/TextEditor/TextEditor.module.css +49 -63
  151. package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  152. package/lib/list/DotNew/DotNew.module.css +2 -1
  153. package/lib/list/TagNew/TagNew.module.css +1 -1
  154. package/lib/list/status/StatusDropdown/StatusDropdown.js +82 -167
  155. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +1 -10
  156. package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
  157. package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
  158. package/lib/lookup/Section/LookupSection.module.css +1 -1
  159. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +36 -110
  160. package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +2 -1
  161. package/lib/v1/list/status/StatusDropdown/props/propTypes.js +1 -1
  162. package/lib/v1/svg/PlusIcon.js +1 -1
  163. package/lib/v1/svg/SnippetIcon.js +2 -2
  164. package/lib/version2/GlobalNotification/GlobalNotification.module.css +2 -2
  165. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
  166. package/package.json +11 -7
  167. package/propValidationArg.json +11 -11
  168. package/result.json +1 -1
  169. /package/es/{common → deprecated}/dot_boxShadow.module.css +0 -0
  170. /package/lib/{common → deprecated}/dot_boxShadow.module.css +0 -0
@@ -78,20 +78,13 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
78
78
  _this = _super.call(this, props);
79
79
  _this.state = {
80
80
  searchString: '',
81
- // selectedIndex: 0,
82
81
  options: props.options
83
82
  };
84
- _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this)); // this.handleKeyDown = this.handleKeyDown.bind(this);
85
-
83
+ _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
86
84
  _this.onSelect = _this.onSelect.bind(_assertThisInitialized(_this));
87
85
  _this.handleTogglePopup = _this.handleTogglePopup.bind(_assertThisInitialized(_this));
88
86
  _this.onSearchClear = _this.onSearchClear.bind(_assertThisInitialized(_this));
89
- _this.searchList = _this.searchList.bind(_assertThisInitialized(_this)); // this.scrollContentRef = this.scrollContentRef.bind(this);
90
- // this.handleMouseEnter = this.handleMouseEnter.bind(this);
91
- // this.searchInputRef = this.searchInputRef.bind(this);
92
- // this.itemRef = this.itemRef.bind(this);
93
- // this.inputRef = this.inputRef.bind(this);
94
-
87
+ _this.searchList = _this.searchList.bind(_assertThisInitialized(_this));
95
88
  _this.handleScroll = _this.handleScroll.bind(_assertThisInitialized(_this));
96
89
  _this.emptySearchSVG = _this.emptySearchSVG.bind(_assertThisInitialized(_this));
97
90
  _this.getAriaId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
@@ -104,16 +97,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
104
97
  return /*#__PURE__*/_react["default"].createElement(_EmptySearch["default"], {
105
98
  size: "small"
106
99
  });
107
- } // inputRef(el) {
108
- // this.hiddenInput = el;
109
- // }
110
- // itemRef(ele, index, id) {
111
- // this[`suggestion_${id}`] = ele;
112
- // }
113
- // searchInputRef(el) {
114
- // this.searchInput = el;
115
- // }
116
-
100
+ }
117
101
  }, {
118
102
  key: "handleTogglePopup",
119
103
  value: function handleTogglePopup(e) {
@@ -126,13 +110,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
126
110
  !isPopupOpen && onSelectLabel && onSelectLabel(e);
127
111
  onTogglePopup && onTogglePopup(isPopupOpen);
128
112
  togglePopup(e, boxPosition);
129
- } // scrollContentRef(el) {
130
- // let { isPopupOpen } = this.props;
131
- // if (isPopupOpen) {
132
- // this.optionsContainer = el;
133
- // }
134
- // }
135
-
113
+ }
136
114
  }, {
137
115
  key: "componentWillReceiveProps",
138
116
  value: function componentWillReceiveProps(nextProps) {
@@ -157,68 +135,10 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
157
135
  }, {
158
136
  key: "componentDidUpdate",
159
137
  value: function componentDidUpdate(prevProps) {
160
- // let { isPopupOpen, isSearch, idName } = this.props;
161
- // let { selectedIndex, options } = this.state;
162
- // if (prevProps.isPopupOpen != isPopupOpen) {
163
- // setTimeout(() => {
164
- // isPopupOpen && isSearch
165
- // ? this.searchInput && this.searchInput.focus()
166
- // : this.hiddenInput && this.hiddenInput.focus();
167
- // }, 10);
168
- // }
169
- // let mergeOptions = options;
170
- // let option = mergeOptions[selectedIndex];
171
- // let id = (option && option[idName]) || {};
172
- // let selSuggestion = this[`suggestion_${id}`];
173
- // if (isPopupOpen) {
174
- // this.optionsContainer && scrollTo(this.optionsContainer, selSuggestion);
175
- // }
176
138
  if (!prevProps.isPopupOpen && this.props.isPopupOpen) {
177
139
  this.onSearchClear();
178
140
  }
179
- } // handleKeyDown(e) {
180
- // let { keyCode } = e;
181
- // let { selectedIndex, options } = this.state;
182
- // let totalIndex = options.length;
183
- // let { togglePopup, onClick, boxPosition, isPopupReady, isNextOptions, getNextOptions, onTogglePopup, isPopupOpen } =
184
- // this.props;
185
- // if (isPopupReady && (keyCode === 38 || keyCode === 40) && e.preventDefault) {
186
- // e.preventDefault(); //prevent body scroll
187
- // }
188
- // if (isPopupReady) {
189
- // switch (keyCode) {
190
- // case 40:
191
- // if (selectedIndex === totalIndex - 1) {
192
- // this.setState({ selectedIndex: 0 });
193
- // } else {
194
- // if (selectedIndex === totalIndex - 3) {
195
- // isNextOptions && getNextOptions && getNextOptions();
196
- // }
197
- // this.setState({ selectedIndex: selectedIndex + 1 });
198
- // }
199
- // break;
200
- // case 38:
201
- // if (selectedIndex === 0) {
202
- // this.setState({ selectedIndex: totalIndex - 1 });
203
- // } else {
204
- // this.setState({ selectedIndex: selectedIndex - 1 });
205
- // }
206
- // break;
207
- // case 13:
208
- // onClick && onClick(options[selectedIndex].name, e);
209
- // onTogglePopup && onTogglePopup(isPopupOpen);
210
- // togglePopup(e, boxPosition);
211
- // break;
212
- // default:
213
- // break;
214
- // }
215
- // } else {
216
- // if (keyCode === 13 || keyCode === 40) {
217
- // togglePopup(e, boxPosition);
218
- // }
219
- // }
220
- // }
221
-
141
+ }
222
142
  }, {
223
143
  key: "searchList",
224
144
  value: function searchList(value) {
@@ -236,7 +156,6 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
236
156
  var foptions = this.searchList(value);
237
157
  this.setState({
238
158
  searchString: value,
239
- // selectedIndex: -1,
240
159
  options: foptions
241
160
  });
242
161
  }
@@ -248,21 +167,14 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
248
167
  searchString: '',
249
168
  options: foptions
250
169
  });
251
- } // handleMouseEnter(id, value, index, e) {
252
- // this.setState({
253
- // selectedIndex: index
254
- // });
255
- // }
256
-
170
+ }
257
171
  }, {
258
172
  key: "handleScroll",
259
173
  value: function handleScroll(e) {
260
- var _this$props4 = this.props,
261
- isNextOptions = _this$props4.isNextOptions,
262
- getNextOptions = _this$props4.getNextOptions;
174
+ var getNextOptions = this.props.getNextOptions;
263
175
 
264
176
  if (e.target.scrollTop + e.target.offsetHeight > e.target.scrollHeight - 1) {
265
- isNextOptions && getNextOptions && getNextOptions(e);
177
+ getNextOptions && getNextOptions(e);
266
178
  }
267
179
  }
268
180
  }, {
@@ -281,53 +193,55 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
281
193
  var _this2 = this;
282
194
 
283
195
  var options = this.state.options;
284
- var _this$props5 = this.props,
285
- value = _this$props5.value,
286
- removeClose = _this$props5.removeClose,
287
- boxSize = _this$props5.boxSize,
288
- keyName = _this$props5.keyName,
289
- idName = _this$props5.idName,
290
- title = _this$props5.title,
291
- isSearch = _this$props5.isSearch,
292
- isArrow = _this$props5.isArrow,
293
- placeHolderText = _this$props5.placeHolderText,
294
- className = _this$props5.className,
295
- right = _this$props5.right,
296
- left = _this$props5.left,
297
- top = _this$props5.top,
298
- bottom = _this$props5.bottom,
299
- isOpen = _this$props5.isPopupOpen,
300
- isPopupReady = _this$props5.isPopupReady,
301
- position = _this$props5.position,
302
- getTargetRef = _this$props5.getTargetRef,
303
- getContainerRef = _this$props5.getContainerRef,
304
- dataId = _this$props5.dataId,
305
- searchBoxSize = _this$props5.searchBoxSize,
306
- searchEmptyHint = _this$props5.searchEmptyHint,
307
- searchErrorText = _this$props5.searchErrorText,
308
- activeStyle = _this$props5.activeStyle,
309
- _this$props5$showOnHo = _this$props5.showOnHover,
310
- showOnHover = _this$props5$showOnHo === void 0 ? false : _this$props5$showOnHo,
311
- isDisabled = _this$props5.isDisabled,
312
- showIconOnHover = _this$props5.showIconOnHover,
313
- isReadOnly = _this$props5.isReadOnly,
314
- hoverStyle = _this$props5.hoverStyle,
315
- isEditable = _this$props5.isEditable,
316
- needTick = _this$props5.needTick,
317
- dataTitle = _this$props5.dataTitle,
318
- isDataLoaded = _this$props5.isDataLoaded,
319
- children = _this$props5.children,
320
- targetAlign = _this$props5.targetAlign,
321
- needResponsive = _this$props5.needResponsive,
322
- arrowIconPosition = _this$props5.arrowIconPosition,
323
- statusColor = _this$props5.statusColor,
324
- _this$props5$needExte = _this$props5.needExternalPopupState,
325
- needExternalPopupState = _this$props5$needExte === void 0 ? false : _this$props5$needExte,
326
- _this$props5$isPopupA = _this$props5.isPopupActive,
327
- isPopupActive = _this$props5$isPopupA === void 0 ? false : _this$props5$isPopupA,
328
- needMultiLineText = _this$props5.needMultiLineText,
329
- _this$props5$a11y = _this$props5.a11y,
330
- a11y = _this$props5$a11y === void 0 ? {} : _this$props5$a11y;
196
+ var _this$props4 = this.props,
197
+ value = _this$props4.value,
198
+ removeClose = _this$props4.removeClose,
199
+ boxSize = _this$props4.boxSize,
200
+ keyName = _this$props4.keyName,
201
+ idName = _this$props4.idName,
202
+ title = _this$props4.title,
203
+ isSearch = _this$props4.isSearch,
204
+ isArrow = _this$props4.isArrow,
205
+ placeHolderText = _this$props4.placeHolderText,
206
+ className = _this$props4.className,
207
+ right = _this$props4.right,
208
+ left = _this$props4.left,
209
+ top = _this$props4.top,
210
+ bottom = _this$props4.bottom,
211
+ isOpen = _this$props4.isPopupOpen,
212
+ isPopupReady = _this$props4.isPopupReady,
213
+ position = _this$props4.position,
214
+ getTargetRef = _this$props4.getTargetRef,
215
+ getContainerRef = _this$props4.getContainerRef,
216
+ dataId = _this$props4.dataId,
217
+ searchBoxSize = _this$props4.searchBoxSize,
218
+ searchEmptyHint = _this$props4.searchEmptyHint,
219
+ searchErrorText = _this$props4.searchErrorText,
220
+ activeStyle = _this$props4.activeStyle,
221
+ _this$props4$showOnHo = _this$props4.showOnHover,
222
+ showOnHover = _this$props4$showOnHo === void 0 ? false : _this$props4$showOnHo,
223
+ isDisabled = _this$props4.isDisabled,
224
+ showIconOnHover = _this$props4.showIconOnHover,
225
+ isReadOnly = _this$props4.isReadOnly,
226
+ hoverStyle = _this$props4.hoverStyle,
227
+ isEditable = _this$props4.isEditable,
228
+ needTick = _this$props4.needTick,
229
+ dataTitle = _this$props4.dataTitle,
230
+ isDataLoaded = _this$props4.isDataLoaded,
231
+ children = _this$props4.children,
232
+ targetAlign = _this$props4.targetAlign,
233
+ needResponsive = _this$props4.needResponsive,
234
+ arrowIconPosition = _this$props4.arrowIconPosition,
235
+ statusColor = _this$props4.statusColor,
236
+ _this$props4$needExte = _this$props4.needExternalPopupState,
237
+ needExternalPopupState = _this$props4$needExte === void 0 ? false : _this$props4$needExte,
238
+ _this$props4$isPopupA = _this$props4.isPopupActive,
239
+ isPopupActive = _this$props4$isPopupA === void 0 ? false : _this$props4$isPopupA,
240
+ needMultiLineText = _this$props4.needMultiLineText,
241
+ isFetchingOptions = _this$props4.isFetchingOptions,
242
+ getNextOptions = _this$props4.getNextOptions,
243
+ _this$props4$a11y = _this$props4.a11y,
244
+ a11y = _this$props4$a11y === void 0 ? {} : _this$props4$a11y;
331
245
  var _a11y$tabIndex = a11y.tabIndex,
332
246
  tabIndex = _a11y$tabIndex === void 0 ? 0 : _a11y$tabIndex,
333
247
  ariaLabelledby = a11y.ariaLabelledby,
@@ -389,9 +303,15 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
389
303
  },
390
304
  needResponsive: needResponsive,
391
305
  isResponsivePadding: true,
392
- tabindex: "0",
393
306
  needFocusScope: true,
394
- onClose: _this2.handleTogglePopup
307
+ onClose: _this2.handleTogglePopup,
308
+ customProps: {
309
+ focusScopeProps: {
310
+ loadNextOptions: getNextOptions,
311
+ searchValue: searchString,
312
+ isFetchingOptions: isFetchingOptions
313
+ }
314
+ }
395
315
  }, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isSearch ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
396
316
  className: _StatusDropdownModule["default"].search
397
317
  }, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
@@ -399,9 +319,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
399
319
  onChange: _this2.handleChange,
400
320
  value: searchString,
401
321
  onClear: _this2.onSearchClear,
402
- size: searchBoxSize // inputRef={this.searchInputRef}
403
- // onKeyDown={this.handleKeyDown}
404
- ,
322
+ size: searchBoxSize,
405
323
  customProps: {
406
324
  TextBoxProps: {
407
325
  'data-a11y-autofocus': true
@@ -428,41 +346,38 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
428
346
  shrink: true,
429
347
  dataId: "".concat(dataId, "_list"),
430
348
  preventParentScroll: "vertical",
431
- className: "".concat(tabletMode ? _StatusDropdownModule["default"].responsivemaxHgt : _StatusDropdownModule["default"].maxHgt) // eleRef={this.scrollContentRef}
432
- ,
349
+ className: "".concat(tabletMode ? _StatusDropdownModule["default"].responsivemaxHgt : _StatusDropdownModule["default"].maxHgt),
433
350
  onScroll: _this2.handleScroll,
434
351
  role: isSearch ? 'listbox' : 'menu',
435
- "aria-labelledby": isSearch ? ariaTitleId : undefined,
436
352
  tabindex: "-1",
437
- "data-scroll": "true"
353
+ isScrollAttribute: true
438
354
  }, options.length != 0 && isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, options.map(function (item, i) {
439
- var selectedValue = item[keyName];
440
- var isActive = value === selectedValue;
441
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
442
- key: i
443
- }, /*#__PURE__*/_react["default"].createElement(_StatusListItem["default"], {
355
+ var listItemText = item[keyName];
356
+ var isActive = value === listItemText;
357
+ return /*#__PURE__*/_react["default"].createElement(_StatusListItem["default"], {
358
+ key: i,
444
359
  dataId: "dataid_".concat(i),
445
- value: selectedValue,
360
+ value: listItemText,
446
361
  id: item[idName],
447
362
  active: isActive,
448
363
  onClick: _this2.onSelect.bind(_this2, item),
449
- index: i // highlight={selectedIndex === i}
450
- ,
364
+ index: i,
451
365
  needTick: needTick,
452
- needBorder: false // onMouseEnter={this.handleMouseEnter}
453
- // getRef={this.itemRef}
454
- ,
366
+ needBorder: false,
455
367
  bulletColor: item[statusColor],
456
- title: selectedValue,
368
+ title: listItemText,
457
369
  needMultiLineText: needMultiLineText,
458
370
  autoHover: true,
459
371
  a11y: {
460
372
  role: isSearch ? 'option' : 'menuitem',
461
373
  ariaSelected: isActive,
462
- ariaLabel: selectedValue
374
+ ariaLabel: listItemText
463
375
  }
464
- }));
465
- })) : isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
376
+ });
377
+ }), isFetchingOptions && /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
378
+ isCover: false,
379
+ align: "both"
380
+ }, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null))) : isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
466
381
  className: _StatusDropdownModule["default"].svgWrapper,
467
382
  title: searchErrorText || 'No results',
468
383
  description: searchEmptyHint,
@@ -80,13 +80,4 @@
80
80
  height: var(--zd_size1) ;
81
81
  border-bottom: 1px solid var(--zdt_statusdropdown_line_border);
82
82
  margin: var(--zd_size9) 0 var(--zd_size10) ;
83
- }
84
- /* .hiddenInput {
85
- width: 0;
86
- height: 0;
87
- opacity: 0;
88
- }
89
- .hiddenInput > input {
90
- width: 100%;
91
- padding: 0;
92
- } */
83
+ }
@@ -21,6 +21,7 @@ var defaultProps = {
21
21
  boxSize: 'medium',
22
22
  needExternalPopupState: false,
23
23
  statusColor: 'statusColor',
24
- needMultiLineText: false
24
+ needMultiLineText: false,
25
+ isFetchingOptions: false
25
26
  };
26
27
  exports.defaultProps = defaultProps;
@@ -30,5 +30,5 @@ var propTypes = (_propTypes = {
30
30
  idName: _propTypes2["default"].string,
31
31
  isArrow: _propTypes2["default"].bool,
32
32
  isDataLoaded: _propTypes2["default"].bool
33
- }, _defineProperty(_propTypes, "isDataLoaded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isDisabled", _propTypes2["default"].bool), _defineProperty(_propTypes, "isEditable", _propTypes2["default"].bool), _defineProperty(_propTypes, "isNextOptions", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupActive", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupOpen", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupReady", _propTypes2["default"].bool), _defineProperty(_propTypes, "isReadOnly", _propTypes2["default"].bool), _defineProperty(_propTypes, "isSearch", _propTypes2["default"].bool), _defineProperty(_propTypes, "keyName", _propTypes2["default"].string), _defineProperty(_propTypes, "left", _propTypes2["default"].number), _defineProperty(_propTypes, "needExternalPopupState", _propTypes2["default"].bool), _defineProperty(_propTypes, "needResponsive", _propTypes2["default"].bool), _defineProperty(_propTypes, "needTick", _propTypes2["default"].bool), _defineProperty(_propTypes, "onClick", _propTypes2["default"].func), _defineProperty(_propTypes, "onTogglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "options", _propTypes2["default"].array.isRequired), _defineProperty(_propTypes, "placeHolderText", _propTypes2["default"].string), _defineProperty(_propTypes, "position", _propTypes2["default"].string), _defineProperty(_propTypes, "removeClose", _propTypes2["default"].func), _defineProperty(_propTypes, "right", _propTypes2["default"].number), _defineProperty(_propTypes, "searchBoxSize", _propTypes2["default"].oneOf(['small', 'medium', 'xmedium'])), _defineProperty(_propTypes, "searchEmptyHint", _propTypes2["default"].string), _defineProperty(_propTypes, "searchErrorText", _propTypes2["default"].string), _defineProperty(_propTypes, "showIconOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "showOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "statusColor", _propTypes2["default"].string), _defineProperty(_propTypes, "targetAlign", _propTypes2["default"].oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around'])), _defineProperty(_propTypes, "title", _propTypes2["default"].string), _defineProperty(_propTypes, "togglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "value", _propTypes2["default"].node), _defineProperty(_propTypes, "needMultiLineText", _propTypes2["default"].bool), _defineProperty(_propTypes, "onSelectLabel", _propTypes2["default"].func), _defineProperty(_propTypes, "top", _propTypes2["default"].number), _defineProperty(_propTypes, "a11y", _propTypes2["default"].object), _propTypes);
33
+ }, _defineProperty(_propTypes, "isDataLoaded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isDisabled", _propTypes2["default"].bool), _defineProperty(_propTypes, "isEditable", _propTypes2["default"].bool), _defineProperty(_propTypes, "isFetchingOptions", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupActive", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupOpen", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupReady", _propTypes2["default"].bool), _defineProperty(_propTypes, "isReadOnly", _propTypes2["default"].bool), _defineProperty(_propTypes, "isSearch", _propTypes2["default"].bool), _defineProperty(_propTypes, "keyName", _propTypes2["default"].string), _defineProperty(_propTypes, "left", _propTypes2["default"].number), _defineProperty(_propTypes, "needExternalPopupState", _propTypes2["default"].bool), _defineProperty(_propTypes, "needResponsive", _propTypes2["default"].bool), _defineProperty(_propTypes, "needTick", _propTypes2["default"].bool), _defineProperty(_propTypes, "onClick", _propTypes2["default"].func), _defineProperty(_propTypes, "onTogglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "options", _propTypes2["default"].array.isRequired), _defineProperty(_propTypes, "placeHolderText", _propTypes2["default"].string), _defineProperty(_propTypes, "position", _propTypes2["default"].string), _defineProperty(_propTypes, "removeClose", _propTypes2["default"].func), _defineProperty(_propTypes, "right", _propTypes2["default"].number), _defineProperty(_propTypes, "searchBoxSize", _propTypes2["default"].oneOf(['small', 'medium', 'xmedium'])), _defineProperty(_propTypes, "searchEmptyHint", _propTypes2["default"].string), _defineProperty(_propTypes, "searchErrorText", _propTypes2["default"].string), _defineProperty(_propTypes, "showIconOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "showOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "statusColor", _propTypes2["default"].string), _defineProperty(_propTypes, "targetAlign", _propTypes2["default"].oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around'])), _defineProperty(_propTypes, "title", _propTypes2["default"].string), _defineProperty(_propTypes, "togglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "value", _propTypes2["default"].node), _defineProperty(_propTypes, "needMultiLineText", _propTypes2["default"].bool), _defineProperty(_propTypes, "onSelectLabel", _propTypes2["default"].func), _defineProperty(_propTypes, "top", _propTypes2["default"].number), _defineProperty(_propTypes, "a11y", _propTypes2["default"].object), _propTypes);
34
34
  exports.propTypes = propTypes;
@@ -5,5 +5,5 @@
5
5
  composes: flexgrow from '~@zohodesk/components/lib/common/common.module.css';
6
6
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
7
7
  background-color: var(--zdt_lookupsection_bg);
8
- box-shadow: var(--zd_bs_lookupsection_shadow)
8
+ box-shadow: var(--zd_bs_contrast_outline, 0px 4px 20px var(--zdt_lookupsection_box_shadow))
9
9
  }
@@ -113,7 +113,7 @@ function StatusDropdown(props) {
113
113
  onTogglePopup = props.onTogglePopup,
114
114
  onClick = props.onClick,
115
115
  onSelectLabel = props.onSelectLabel,
116
- isNextOptions = props.isNextOptions,
116
+ isFetchingOptions = props.isFetchingOptions,
117
117
  getNextOptions = props.getNextOptions,
118
118
  options = props.options,
119
119
  _props$a11y = props.a11y,
@@ -122,17 +122,12 @@ function StatusDropdown(props) {
122
122
  var _useState = (0, _react.useState)(options),
123
123
  _useState2 = _slicedToArray(_useState, 2),
124
124
  optionsList = _useState2[0],
125
- setOptionsList = _useState2[1]; // const [selectedIndex, setSelectedIndex] = useState(0);
126
-
125
+ setOptionsList = _useState2[1];
127
126
 
128
127
  var _useState3 = (0, _react.useState)(''),
129
128
  _useState4 = _slicedToArray(_useState3, 2),
130
129
  searchString = _useState4[0],
131
- setSearchString = _useState4[1]; // const hiddenInput = useRef(null);
132
- // const searchInput = useRef(null);
133
- // const optionsContainer = useRef(null);
134
- // const dropdown = useRef({});
135
-
130
+ setSearchString = _useState4[1];
136
131
 
137
132
  var getAriaId = (0, _IdProvider.useUniqueId)();
138
133
  var _a11y$tabIndex = a11y.tabIndex,
@@ -147,72 +142,19 @@ function StatusDropdown(props) {
147
142
  return /*#__PURE__*/_react["default"].createElement(_EmptySearch["default"], {
148
143
  size: "small"
149
144
  });
150
- } // function handleInputRef(el) {
151
- // hiddenInput.current = el;
152
- // }
153
- // function itemRef(ele, index, id) {
154
- // dropdown.current[`suggestion_${id}`] = ele;
155
- // }
156
- // function searchInputRef(el) {
157
- // searchInput.current = el;
158
- // }
159
-
145
+ }
160
146
 
161
147
  function handleTogglePopup(e) {
162
148
  !isPopupOpen && onSelectLabel && onSelectLabel(e);
163
149
  onTogglePopup && onTogglePopup(isPopupOpen);
164
150
  togglePopup(e, boxPosition);
165
- } // function scrollContentRef(el) {
166
- // if (isPopupOpen) {
167
- // optionsContainer.current = el;
168
- // }
169
- // }
170
-
151
+ }
171
152
 
172
153
  function onSelect(element, e) {
173
154
  onClick && onClick(e, element);
174
155
  onTogglePopup && onTogglePopup(isPopupOpen);
175
156
  togglePopup(e);
176
- } // function handleKeyDown(e) {
177
- // let { keyCode } = e;
178
- // let totalIndex = optionsList.length;
179
- // if (isPopupReady && (keyCode === 38 || keyCode === 40) && e.preventDefault) {
180
- // e.preventDefault(); //prevent body scroll
181
- // }
182
- // if (isPopupReady) {
183
- // switch (keyCode) {
184
- // case 40:
185
- // if (selectedIndex === totalIndex - 1) {
186
- // setSelectedIndex(0);
187
- // } else {
188
- // if (selectedIndex === totalIndex - 3) {
189
- // isNextOptions && getNextOptions && getNextOptions();
190
- // }
191
- // setSelectedIndex(selectedIndex + 1);
192
- // }
193
- // break;
194
- // case 38:
195
- // if (selectedIndex === 0) {
196
- // setSelectedIndex(totalIndex - 1);
197
- // } else {
198
- // setSelectedIndex(selectedIndex - 1);
199
- // }
200
- // break;
201
- // case 13:
202
- // onClick && onClick(optionsList[selectedIndex].name, e);
203
- // onTogglePopup && onTogglePopup(isPopupOpen);
204
- // togglePopup(e, boxPosition);
205
- // break;
206
- // default:
207
- // break;
208
- // }
209
- // } else {
210
- // if (keyCode === 13 || keyCode === 40) {
211
- // togglePopup(e, boxPosition);
212
- // }
213
- // }
214
- // }
215
-
157
+ }
216
158
 
217
159
  function searchList(value) {
218
160
  var foptions = options.filter(function (dept) {
@@ -223,8 +165,7 @@ function StatusDropdown(props) {
223
165
 
224
166
  function handleChange(value, e) {
225
167
  var foptions = searchList(value);
226
- setSearchString(value); // setSelectedIndex(-1);
227
-
168
+ setSearchString(value);
228
169
  setOptionsList(foptions);
229
170
  }
230
171
 
@@ -232,14 +173,11 @@ function StatusDropdown(props) {
232
173
  var foptions = searchList('');
233
174
  setSearchString('');
234
175
  setOptionsList(foptions);
235
- } // function handleMouseEnter(id, value, index, e) {
236
- // setSelectedIndex(index);
237
- // }
238
-
176
+ }
239
177
 
240
178
  function handleScroll(e) {
241
179
  if (e.target.scrollTop + e.target.offsetHeight > e.target.scrollHeight - 1) {
242
- isNextOptions && getNextOptions && getNextOptions(e);
180
+ getNextOptions && getNextOptions(e);
243
181
  }
244
182
  }
245
183
 
@@ -256,19 +194,7 @@ function StatusDropdown(props) {
256
194
  setOptionsList(options);
257
195
  }, [options.length]);
258
196
  (0, _hooks.useEffectCallOnlyAfterState)(function () {
259
- if (isPopupOpen) {
260
- onSearchClear();
261
- } // setTimeout(() => {
262
- // isPopupOpen && isSearch
263
- // ? searchInput.current && searchInput.current.focus()
264
- // : hiddenInput.current && hiddenInput.current.focus();
265
- // }, 10);
266
- // let mergeOptions = optionsList;
267
- // let option = mergeOptions[selectedIndex];
268
- // let id = (option && option[idName]) || {};
269
- // let selSuggestion = dropdown.current[`suggestion_${id}`];
270
- // optionsContainer.current && scrollTo(optionsContainer.current, selSuggestion);
271
-
197
+ isPopupOpen && onSearchClear();
272
198
  }, [isPopupOpen]);
273
199
  return /*#__PURE__*/_react["default"].createElement("div", {
274
200
  className: _StatusDropdownModule["default"].posRel,
@@ -282,8 +208,7 @@ function StatusDropdown(props) {
282
208
  eleRef: getTargetRef,
283
209
  align: targetAlign,
284
210
  isCover: false,
285
- dataId: dataId // onClick={removeClose}
286
- ,
211
+ dataId: dataId,
287
212
  disabled: isDisabled || isReadOnly ? true : false,
288
213
  "aria-haspopup": isSearch ? 'listbox' : 'menu',
289
214
  "aria-expanded": isPopupReady && isEditable ? true : false,
@@ -324,9 +249,15 @@ function StatusDropdown(props) {
324
249
  },
325
250
  needResponsive: needResponsive,
326
251
  isResponsivePadding: true,
327
- tabindex: "0",
328
252
  needFocusScope: true,
329
- onClose: handleTogglePopup
253
+ onClose: handleTogglePopup,
254
+ customProps: {
255
+ focusScopeProps: {
256
+ searchValue: searchString,
257
+ loadNextOptions: getNextOptions,
258
+ isFetchingOptions: isFetchingOptions
259
+ }
260
+ }
330
261
  }, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isSearch ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
331
262
  className: _StatusDropdownModule["default"].search
332
263
  }, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
@@ -334,9 +265,7 @@ function StatusDropdown(props) {
334
265
  onChange: handleChange,
335
266
  value: searchString,
336
267
  onClear: onSearchClear,
337
- size: searchBoxSize // inputRef={searchInputRef}
338
- // onKeyDown={handleKeyDown}
339
- ,
268
+ size: searchBoxSize,
340
269
  customProps: {
341
270
  TextBoxProps: {
342
271
  'data-a11y-autofocus': true
@@ -363,43 +292,40 @@ function StatusDropdown(props) {
363
292
  shrink: true,
364
293
  dataId: "".concat(dataId, "_list"),
365
294
  preventParentScroll: "vertical",
366
- className: "".concat(tabletMode ? _StatusDropdownModule["default"].responsivemaxHgt : _StatusDropdownModule["default"].maxHgt) // eleRef={scrollContentRef}
367
- ,
295
+ className: "".concat(tabletMode ? _StatusDropdownModule["default"].responsivemaxHgt : _StatusDropdownModule["default"].maxHgt),
368
296
  onScroll: handleScroll,
369
297
  role: isSearch ? 'listbox' : 'menu',
370
- "aria-labelledby": isSearch ? ariaTitleId : undefined,
371
298
  tabindex: "-1",
372
- "data-scroll": "true"
299
+ isScrollAttribute: true
373
300
  }, optionsList.length != 0 && isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, optionsList.map(function (item, i) {
374
- var selectedValue = item[keyName];
375
- var isActive = value === selectedValue;
376
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
377
- key: i
378
- }, /*#__PURE__*/_react["default"].createElement(_StatusListItem["default"], {
301
+ var listItemText = item[keyName];
302
+ var isActive = value === listItemText;
303
+ return /*#__PURE__*/_react["default"].createElement(_StatusListItem["default"], {
304
+ key: i,
379
305
  dataId: "dataid_".concat(i),
380
- value: selectedValue,
306
+ value: listItemText,
381
307
  id: item[idName],
382
308
  active: isActive,
383
309
  onClick: function onClick(e) {
384
310
  return onSelect(item, e);
385
311
  },
386
- index: i // highlight={selectedIndex === i}
387
- ,
312
+ index: i,
388
313
  needTick: needTick,
389
- needBorder: false // onMouseEnter={handleMouseEnter}
390
- // getRef={itemRef}
391
- ,
314
+ needBorder: false,
392
315
  bulletColor: item[statusColor],
393
- title: selectedValue,
316
+ title: listItemText,
394
317
  needMultiLineText: needMultiLineText,
395
318
  autoHover: true,
396
319
  a11y: {
397
320
  role: isSearch ? 'option' : 'menuitem',
398
321
  ariaSelected: isActive,
399
- ariaLabel: selectedValue
322
+ ariaLabel: listItemText
400
323
  }
401
- }));
402
- })) : isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
324
+ });
325
+ }), isFetchingOptions && /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
326
+ isCover: false,
327
+ align: "both"
328
+ }, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null))) : isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
403
329
  className: _StatusDropdownModule["default"].svgWrapper,
404
330
  title: searchErrorText || 'No results',
405
331
  description: searchEmptyHint,
@@ -21,6 +21,7 @@ var defaultProps = {
21
21
  boxSize: 'medium',
22
22
  needExternalPopupState: false,
23
23
  statusColor: 'statusColor',
24
- needMultiLineText: false
24
+ needMultiLineText: false,
25
+ isFetchingOptions: false
25
26
  };
26
27
  exports.defaultProps = defaultProps;