@zohodesk/components 1.0.0-temp-667 → 1.0.0-temp-999

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 (266) hide show
  1. package/README.md +7 -0
  2. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +1 -1
  3. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +1 -1
  4. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
  5. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +1 -1
  6. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
  7. package/es/AppContainer/AppContainer.js +1 -1
  8. package/es/Avatar/Avatar.js +1 -1
  9. package/es/Avatar/Avatar.module.css +9 -11
  10. package/es/AvatarTeam/AvatarTeam.js +1 -1
  11. package/es/AvatarTeam/AvatarTeam.module.css +7 -21
  12. package/es/Button/Button.module.css +24 -97
  13. package/es/Buttongroup/Buttongroup.module.css +8 -37
  14. package/es/CheckBox/CheckBox.js +1 -1
  15. package/es/CheckBox/CheckBox.module.css +19 -29
  16. package/es/DateTime/DateTime.module.css +12 -39
  17. package/es/DateTime/DateWidget.module.css +5 -9
  18. package/es/DateTime/YearView.module.css +7 -17
  19. package/es/DropBox/DropBox.js +1 -1
  20. package/es/DropBox/DropBox.module.css +11 -47
  21. package/es/DropDown/DropDownHeading.module.css +3 -7
  22. package/es/DropDown/DropDownItem.module.css +6 -32
  23. package/es/ListItem/ListContainer.js +1 -1
  24. package/es/ListItem/ListItem.js +1 -1
  25. package/es/ListItem/ListItem.module.css +33 -69
  26. package/es/ListItem/ListItemWithAvatar.js +1 -1
  27. package/es/ListItem/ListItemWithCheckBox.js +1 -1
  28. package/es/ListItem/ListItemWithIcon.js +1 -1
  29. package/es/ListItem/ListItemWithRadio.js +1 -1
  30. package/es/Modal/Modal.js +1 -1
  31. package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
  32. package/es/MultiSelect/AdvancedMultiSelect.module.css +113 -0
  33. package/es/MultiSelect/MultiSelect.module.css +11 -28
  34. package/es/MultiSelect/SelectedOptions.js +1 -1
  35. package/es/MultiSelect/SelectedOptions.module.css +2 -8
  36. package/es/MultiSelect/Suggestions.js +1 -1
  37. package/es/PopOver/PopOver.module.css +1 -1
  38. package/es/Popup/Popup.js +1 -1
  39. package/es/Radio/Radio.module.css +10 -18
  40. package/es/Responsive/ResizeComponent.js +82 -15
  41. package/es/Responsive/ResizeObserver.js +6 -2
  42. package/es/Responsive/docs/style.module.css +8 -17
  43. package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  44. package/es/Ribbon/Ribbon.module.css +28 -93
  45. package/es/RippleEffect/RippleEffect.module.css +44 -37
  46. package/es/Select/Select.js +8 -30
  47. package/es/Select/Select.module.css +2 -12
  48. package/es/Select/docs/Select__default.docs.js +1 -1
  49. package/es/Stencils/Stencils.module.css +3 -21
  50. package/es/Switch/Switch.js +1 -1
  51. package/es/Switch/Switch.module.css +9 -9
  52. package/es/Tab/Tab.js +1 -1
  53. package/es/Tab/Tab.module.css +7 -16
  54. package/es/Tab/TabWrapper.js +1 -1
  55. package/es/Tab/Tabs.js +1 -1
  56. package/es/Tab/Tabs.module.css +8 -42
  57. package/es/Tab/docs/tabdocs.module.css +1 -1
  58. package/es/Tag/Tag.module.css +14 -36
  59. package/es/TextBox/TextBox.js +1 -1
  60. package/es/TextBox/TextBox.module.css +11 -7
  61. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  62. package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
  63. package/es/Textarea/Textarea.js +1 -1
  64. package/es/Textarea/Textarea.module.css +7 -6
  65. package/es/Tooltip/Tooltip.module.css +8 -9
  66. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  67. package/es/beta/FocusRing/FocusRing.module.css +26 -51
  68. package/es/common/animation.module.css +21 -219
  69. package/es/common/basicReset.module.css +12 -2
  70. package/es/common/common.module.css +18 -62
  71. package/es/common/customscroll.module.css +21 -17
  72. package/es/common/docStyle.module.css +32 -79
  73. package/es/common/transition.module.css +10 -50
  74. package/es/deprecated/AdvancedMultiSelect.module.css +8 -22
  75. package/es/semantic/Button/semanticButton.module.css +3 -3
  76. package/lib/Accordion/Accordion.js +2 -2
  77. package/lib/Accordion/AccordionItem.js +2 -2
  78. package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
  79. package/lib/Animation/Animation.js +2 -2
  80. package/lib/Animation/docs/Animation__default.docs.js +2 -2
  81. package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
  82. package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
  83. package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
  84. package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
  85. package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
  86. package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
  87. package/lib/AppContainer/AppContainer.js +4 -11
  88. package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
  89. package/lib/Avatar/Avatar.js +3 -3
  90. package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
  91. package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
  92. package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
  93. package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
  94. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  95. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
  96. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
  97. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
  98. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
  99. package/lib/Button/Button.js +2 -2
  100. package/lib/Button/docs/Button__custom.docs.js +2 -2
  101. package/lib/Button/docs/Button__default.docs.js +2 -2
  102. package/lib/Buttongroup/Buttongroup.js +2 -2
  103. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
  104. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
  105. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
  106. package/lib/Card/Card.js +2 -2
  107. package/lib/Card/docs/Card__Custom.docs.js +2 -2
  108. package/lib/Card/docs/Card__Default.docs.js +2 -2
  109. package/lib/Card/docs/Card__Scroll.docs.js +2 -2
  110. package/lib/CheckBox/CheckBox.js +4 -5
  111. package/lib/CheckBox/CheckBox.module.css +8 -12
  112. package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
  113. package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
  114. package/lib/DateTime/CalendarView.js +2 -2
  115. package/lib/DateTime/DateTime.js +22 -50
  116. package/lib/DateTime/DateTime.module.css +1 -1
  117. package/lib/DateTime/DateTimePopupFooter.js +2 -2
  118. package/lib/DateTime/DateTimePopupHeader.js +2 -2
  119. package/lib/DateTime/DateWidget.js +4 -14
  120. package/lib/DateTime/DateWidget.module.css +4 -0
  121. package/lib/DateTime/DaysRow.js +2 -2
  122. package/lib/DateTime/Time.js +2 -2
  123. package/lib/DateTime/YearView.js +2 -2
  124. package/lib/DateTime/YearView.module.css +0 -1
  125. package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
  126. package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
  127. package/lib/DropBox/DropBox.js +4 -4
  128. package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
  129. package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
  130. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
  131. package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
  132. package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
  133. package/lib/DropDown/DropDown.js +2 -2
  134. package/lib/DropDown/DropDownHeading.js +2 -2
  135. package/lib/DropDown/DropDownItem.js +2 -2
  136. package/lib/DropDown/DropDownSearch.js +2 -2
  137. package/lib/DropDown/DropDownSeparator.js +2 -2
  138. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
  139. package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
  140. package/lib/Label/Label.js +2 -2
  141. package/lib/Label/docs/Label__clipped.docs.js +2 -2
  142. package/lib/Label/docs/Label__custom.docs.js +2 -2
  143. package/lib/Label/docs/Label__palette.docs.js +2 -2
  144. package/lib/Label/docs/Label__size.docs.js +2 -2
  145. package/lib/Label/docs/Label__type.docs.js +2 -2
  146. package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
  147. package/lib/Layout/docs/Layout__default.docs.js +2 -2
  148. package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
  149. package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
  150. package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
  151. package/lib/LightNightMode/Colors.json +397 -496
  152. package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -25
  153. package/lib/ListItem/ListContainer.js +5 -8
  154. package/lib/ListItem/ListItem.js +4 -4
  155. package/lib/ListItem/ListItem.module.css +19 -18
  156. package/lib/ListItem/ListItemWithAvatar.js +4 -4
  157. package/lib/ListItem/ListItemWithCheckBox.js +4 -4
  158. package/lib/ListItem/ListItemWithIcon.js +4 -4
  159. package/lib/ListItem/ListItemWithRadio.js +4 -4
  160. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
  161. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
  162. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
  163. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
  164. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
  165. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
  166. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
  167. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
  168. package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
  169. package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
  170. package/lib/Modal/Modal.js +3 -3
  171. package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
  172. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +88 -120
  173. package/lib/MultiSelect/AdvancedMultiSelect.js +62 -99
  174. package/lib/{deprecated → MultiSelect}/AdvancedMultiSelect.module.css +1 -1
  175. package/lib/MultiSelect/EmptyState.js +2 -2
  176. package/lib/MultiSelect/MultiSelect.js +64 -90
  177. package/lib/MultiSelect/MultiSelect.module.css +2 -15
  178. package/lib/MultiSelect/MultiSelectHeader.js +2 -2
  179. package/lib/MultiSelect/MultiSelectWithAvatar.js +55 -80
  180. package/lib/MultiSelect/SelectedOptions.js +3 -3
  181. package/lib/MultiSelect/Suggestions.js +3 -3
  182. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
  183. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
  184. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
  185. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
  186. package/lib/PopOver/PopOver.js +6 -13
  187. package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
  188. package/lib/Popup/Popup.js +3 -3
  189. package/lib/Popup/__tests__/Popup.spec.js +2 -2
  190. package/lib/Provider/Config.js +1 -3
  191. package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
  192. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
  193. package/lib/Provider.js +100 -34
  194. package/lib/Radio/Radio.js +2 -2
  195. package/lib/Radio/Radio.module.css +6 -8
  196. package/lib/Radio/docs/Radio__custom.docs.js +2 -2
  197. package/lib/Radio/docs/Radio__default.docs.js +2 -2
  198. package/lib/Responsive/ResizeComponent.js +2 -2
  199. package/lib/Responsive/Responsive.js +2 -2
  200. package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
  201. package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
  202. package/lib/Responsive/sizeObservers.js +3 -3
  203. package/lib/Ribbon/Ribbon.js +2 -2
  204. package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
  205. package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
  206. package/lib/RippleEffect/RippleEffect.module.css +15 -37
  207. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
  208. package/lib/Select/GroupSelect.js +79 -102
  209. package/lib/Select/Select.js +87 -142
  210. package/lib/Select/Select.module.css +0 -6
  211. package/lib/Select/SelectWithAvatar.js +73 -98
  212. package/lib/Select/SelectWithIcon.js +76 -99
  213. package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
  214. package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
  215. package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
  216. package/lib/Select/docs/Select__default.docs.js +3 -3
  217. package/lib/Stencils/Stencils.js +2 -2
  218. package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
  219. package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
  220. package/lib/Switch/Switch.js +3 -3
  221. package/lib/Switch/Switch.module.css +2 -3
  222. package/lib/Switch/docs/Switch__custom.docs.js +2 -2
  223. package/lib/Switch/docs/Switch__default.docs.js +2 -2
  224. package/lib/Tab/Tab.js +1 -1
  225. package/lib/Tab/TabWrapper.js +1 -1
  226. package/lib/Tab/Tabs.js +47 -70
  227. package/lib/Tab/Tabs.module.css +1 -2
  228. package/lib/Tab/docs/Tab__default.docs.js +2 -2
  229. package/lib/Tag/Tag.js +3 -3
  230. package/lib/Tag/Tag.module.css +2 -6
  231. package/lib/Tag/docs/Tag__custom.docs.js +2 -2
  232. package/lib/Tag/docs/Tag__default.docs.js +2 -2
  233. package/lib/TextBox/TextBox.js +3 -3
  234. package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
  235. package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
  236. package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
  237. package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
  238. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  239. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
  240. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
  241. package/lib/Textarea/Textarea.js +3 -3
  242. package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
  243. package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
  244. package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
  245. package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
  246. package/lib/Tooltip/Tooltip.js +10 -62
  247. package/lib/Tooltip/Tooltip.module.css +1 -6
  248. package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
  249. package/lib/Tooltip/docs/Tooltip__default.docs.js +13 -52
  250. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
  251. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
  252. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  253. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
  254. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
  255. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
  256. package/lib/common/docStyle.module.css +2 -6
  257. package/lib/css.js +2 -0
  258. package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
  259. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
  260. package/lib/index.js +1 -10
  261. package/lib/semantic/Button/Button.js +2 -2
  262. package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
  263. package/package.json +6 -5
  264. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +0 -130
  265. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +0 -6
  266. package/lib/deprecated/advancedMultiSelectVariableJson.js +0 -82
@@ -13,6 +13,8 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
13
13
 
14
14
  var _Popup = _interopRequireDefault(require("../Popup/Popup"));
15
15
 
16
+ var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
17
+
16
18
  var _TextBoxIcon = _interopRequireDefault(require("../TextBoxIcon/TextBoxIcon"));
17
19
 
18
20
  var _Layout = require("../Layout");
@@ -31,10 +33,6 @@ var _CssProvider = _interopRequireDefault(require("../Provider/CssProvider"));
31
33
 
32
34
  var _IdProvider = require("../Provider/IdProvider");
33
35
 
34
- var _ResponsiveDropBox = _interopRequireDefault(require("../ResponsiveDropBox/ResponsiveDropBox"));
35
-
36
- var _CustomResponsive = require("../Responsive/CustomResponsive");
37
-
38
36
  var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
39
37
 
40
38
  var _MultiSelectModule = _interopRequireDefault(require("./MultiSelect.module.css"));
@@ -43,8 +41,6 @@ var _Common = require("../utils/Common.js");
43
41
 
44
42
  var _dropDownUtils = require("../utils/dropDownUtils");
45
43
 
46
- var _Config = require("../Provider/Config");
47
-
48
44
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
49
45
 
50
46
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -79,7 +75,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
79
75
 
80
76
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
81
77
 
82
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
78
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
83
79
 
84
80
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
85
81
 
@@ -89,7 +85,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
89
85
 
90
86
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
91
87
 
92
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
88
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
93
89
 
94
90
  /* eslint-disable react/forbid-component-props */
95
91
 
@@ -516,6 +512,10 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
516
512
  }
517
513
  } else if (keyCode === 27) {// this.handlePopupClose(e);
518
514
  } else if (keyCode === 9) {
515
+ var _selectedOption = suggestions[hoverOption] || {};
516
+
517
+ var _id = _selectedOption.id;
518
+ isPopupOpen && !(0, _Common.getIsEmptyValue)(_id) && this.handleSelectOption(_id, e);
519
519
  this.handlePopupClose(e);
520
520
  }
521
521
  }
@@ -903,21 +903,9 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
903
903
  openPopupOnly: openPopupOnly
904
904
  });
905
905
  }
906
- }, {
907
- key: "responsiveFunc",
908
- value: function responsiveFunc(_ref6) {
909
- var mediaQueryOR = _ref6.mediaQueryOR;
910
- return {
911
- tabletMode: mediaQueryOR([{
912
- maxWidth: 700
913
- }])
914
- };
915
- }
916
906
  }, {
917
907
  key: "render",
918
908
  value: function render() {
919
- var _this5 = this;
920
-
921
909
  var _this$props13 = this.props,
922
910
  isReadOnly = _this$props13.isReadOnly,
923
911
  needSelectAll = _this$props13.needSelectAll,
@@ -958,8 +946,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
958
946
  getFooter = _this$props13.getFooter,
959
947
  needEffect = _this$props13.needEffect,
960
948
  disabledOptions = _this$props13.disabledOptions,
961
- boxSize = _this$props13.boxSize,
962
- autoComplete = _this$props13.autoComplete;
949
+ boxSize = _this$props13.boxSize;
963
950
  var _i18nKeys = i18nKeys,
964
951
  _i18nKeys$clearText = _i18nKeys.clearText,
965
952
  clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText,
@@ -1048,7 +1035,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
1048
1035
  ariaRequired: true,
1049
1036
  ariaDescribedby: ariaErrorId
1050
1037
  },
1051
- autoComplete: autoComplete
1038
+ autoComplete: false
1052
1039
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
1053
1040
  alignBox: "row",
1054
1041
  align: "vertical"
@@ -1064,71 +1051,60 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
1064
1051
  size: "15"
1065
1052
  })) : null, children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
1066
1053
  dataId: "".concat(dataId, "_children")
1067
- }, children) : null)))), !isReadOnly && !isDisabled && !disableAction && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
1068
- query: this.responsiveFunc,
1069
- responsiveId: "Helmet"
1070
- }, function (_ref7) {
1071
- var tabletMode = _ref7.tabletMode;
1072
- return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
1073
- animationStyle: animationStyle,
1074
- boxPosition: position || "".concat(defaultDropBoxPosition),
1075
- getRef: getContainerRef,
1076
- isActive: isPopupReady,
1077
- isAnimate: isAnimate,
1078
- isArrow: false,
1079
- onClick: removeClose,
1080
- needResponsive: needResponsive,
1081
- isPadding: false,
1082
- isBoxPaddingNeed: isBoxPaddingNeed,
1083
- palette: palette,
1084
- htmlId: setAriaId,
1085
- a11y: {
1086
- role: 'listbox',
1087
- ariaMultiselectable: true
1088
- },
1089
- size: boxSize,
1090
- alignBox: "row",
1091
- isResponsivePadding: getFooter ? false : true
1092
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
1093
- flexible: true
1094
- }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
1095
- customClass: "".concat(_MultiSelectModule["default"].box, " ").concat(_MultiSelectModule["default"]["".concat(palette, "Box")]),
1096
- onScroll: _this5.handleScroll
1097
- }, /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement(_MultiSelectHeader["default"], {
1098
- needSelectAll: needSelectAll,
1099
- onSelect: _this5.handleSelectAll,
1100
- selectAllText: selectAllText,
1101
- suggestions: suggestions,
1102
- dataId: dataId
1103
- })), /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
1104
- shrink: true,
1105
- customClass: !tabletMode && dropBoxSize ? _MultiSelectModule["default"][dropBoxSize] : '',
1106
- eleRef: _this5.suggestionContainerRef
1107
- }, isSearching ? /*#__PURE__*/_react["default"].createElement("div", {
1108
- className: _MultiSelectModule["default"][palette]
1109
- }, searchText) : suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
1110
- suggestions: suggestions,
1111
- getRef: _this5.suggestionItemRef,
1112
- hoverOption: hoverOption,
1113
- onClick: _this5.handleSelectOption,
1114
- onMouseEnter: _this5.handleMouseEnter,
1115
- needBorder: false,
1116
- dataId: "".concat(dataId, "_Options"),
1117
- palette: palette,
1118
- a11y: {
1119
- role: 'option'
1120
- }
1121
- }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
1122
- isLoading: isFetchingOptions,
1123
- options: options,
1124
- searchString: searchStr,
1125
- suggestions: suggestions,
1126
- dataId: dataId,
1127
- palette: palette,
1128
- i18nKeys: i18nKeys,
1129
- htmlId: ariaErrorId
1130
- })), getFooter ? /*#__PURE__*/_react["default"].createElement(_Card.CardFooter, null, getFooter()) : null)));
1131
- }) : null);
1054
+ }, children) : null)))), !isReadOnly && !isDisabled && !disableAction && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_DropBox["default"], {
1055
+ animationStyle: animationStyle,
1056
+ boxPosition: position || "".concat(defaultDropBoxPosition),
1057
+ getRef: getContainerRef,
1058
+ isActive: isPopupReady,
1059
+ isAnimate: isAnimate,
1060
+ isArrow: false,
1061
+ onClick: removeClose,
1062
+ needResponsive: needResponsive,
1063
+ isPadding: false,
1064
+ isBoxPaddingNeed: isBoxPaddingNeed,
1065
+ palette: palette,
1066
+ htmlId: setAriaId,
1067
+ a11y: {
1068
+ role: 'listbox',
1069
+ ariaMultiselectable: true
1070
+ },
1071
+ size: boxSize
1072
+ }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
1073
+ customClass: "".concat(_MultiSelectModule["default"].box, " ").concat(_MultiSelectModule["default"]["".concat(palette, "Box")]),
1074
+ onScroll: this.handleScroll
1075
+ }, /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement(_MultiSelectHeader["default"], {
1076
+ needSelectAll: needSelectAll,
1077
+ onSelect: this.handleSelectAll,
1078
+ selectAllText: selectAllText,
1079
+ suggestions: suggestions,
1080
+ dataId: dataId
1081
+ })), /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
1082
+ customClass: dropBoxSize ? _MultiSelectModule["default"][dropBoxSize] : '',
1083
+ eleRef: this.suggestionContainerRef
1084
+ }, isSearching ? /*#__PURE__*/_react["default"].createElement("div", {
1085
+ className: _MultiSelectModule["default"][palette]
1086
+ }, searchText) : suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
1087
+ suggestions: suggestions,
1088
+ getRef: this.suggestionItemRef,
1089
+ hoverOption: hoverOption,
1090
+ onClick: this.handleSelectOption,
1091
+ onMouseEnter: this.handleMouseEnter,
1092
+ needBorder: false,
1093
+ dataId: "".concat(dataId, "_Options"),
1094
+ palette: palette,
1095
+ a11y: {
1096
+ role: 'option'
1097
+ }
1098
+ }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
1099
+ isLoading: isFetchingOptions,
1100
+ options: options,
1101
+ searchString: searchStr,
1102
+ suggestions: suggestions,
1103
+ dataId: dataId,
1104
+ palette: palette,
1105
+ i18nKeys: i18nKeys,
1106
+ htmlId: ariaErrorId
1107
+ })), getFooter ? /*#__PURE__*/_react["default"].createElement(_Card.CardFooter, null, getFooter()) : null)) : null);
1132
1108
  }
1133
1109
  }]);
1134
1110
 
@@ -1138,7 +1114,6 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
1138
1114
  exports.MultiSelectComponent = MultiSelectComponent;
1139
1115
  MultiSelectComponent.propTypes = {
1140
1116
  animationStyle: _propTypes["default"].string,
1141
- autoComplete: _propTypes["default"].bool,
1142
1117
  borderColor: _propTypes["default"].oneOf(['transparent', 'default', 'dark']),
1143
1118
  closePopupOnly: _propTypes["default"].func,
1144
1119
  dataId: _propTypes["default"].string,
@@ -1218,7 +1193,6 @@ MultiSelectComponent.propTypes = {
1218
1193
  };
1219
1194
  MultiSelectComponent.defaultProps = {
1220
1195
  animationStyle: 'bounce',
1221
- autoComplete: (0, _Config.getLibraryConfig)('autoComplete'),
1222
1196
  dataId: 'multiSelect',
1223
1197
  dropBoxSize: 'small',
1224
1198
  isAnimate: true,
@@ -1,6 +1,7 @@
1
1
  .wrapper {
2
2
  position: relative;
3
3
  }
4
+
4
5
  .disabled, .readOnly {
5
6
  cursor: not-allowed;
6
7
  }
@@ -100,9 +101,7 @@
100
101
  [dir=rtl] .container.medium .tag {
101
102
  margin: var(--zd_size5) 0 0 var(--zd_size10);
102
103
  }
103
- .responsiveParent{
104
- width: 100%;
105
- }
104
+
106
105
  .box {
107
106
  background: var(--zdt_multiselect_box_bg);
108
107
  }
@@ -192,15 +191,3 @@
192
191
  [dir=rtl] .clearIconSpace {
193
192
  padding-left: var(--zd_size37)
194
193
  }
195
- .search{
196
- padding: 0px 20px;
197
- }
198
- .more {
199
- font-size: var(--zd_font_size14);
200
- color: var(--zdt_multiselect_more_text);
201
- font-family: inherit;
202
- cursor: pointer;
203
- margin-top: var(--zd_size5);
204
- background-color: var(--zdt_multiselect_delete_bg);
205
- border: 0;
206
- }
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
25
25
 
26
26
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
30
30
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
31
 
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
35
35
 
36
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
 
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
 
40
40
  var MultiSelectHeader = /*#__PURE__*/function (_React$PureComponent) {
41
41
  _inherits(MultiSelectHeader, _React$PureComponent);
@@ -15,6 +15,8 @@ var _MultiSelect = require("./MultiSelect");
15
15
 
16
16
  var _Popup = _interopRequireDefault(require("../Popup/Popup"));
17
17
 
18
+ var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
19
+
18
20
  var _TextBoxIcon = _interopRequireDefault(require("../TextBoxIcon/TextBoxIcon"));
19
21
 
20
22
  var _Layout = require("../Layout");
@@ -33,10 +35,6 @@ var _CssProvider = _interopRequireDefault(require("../Provider/CssProvider"));
33
35
 
34
36
  var _IdProvider = require("../Provider/IdProvider");
35
37
 
36
- var _ResponsiveDropBox = _interopRequireDefault(require("../ResponsiveDropBox/ResponsiveDropBox"));
37
-
38
- var _CustomResponsive = require("../Responsive/CustomResponsive");
39
-
40
38
  var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
41
39
 
42
40
  var _MultiSelectModule = _interopRequireDefault(require("./MultiSelect.module.css"));
@@ -55,7 +53,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
55
53
 
56
54
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
57
55
 
58
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
56
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
59
57
 
60
58
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
61
59
 
@@ -65,7 +63,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
65
63
 
66
64
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
67
65
 
68
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
66
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
69
67
 
70
68
  /*eslint-disable react/sort-prop-types*/
71
69
 
@@ -105,21 +103,9 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
105
103
  disabledOptions: disabledOptions
106
104
  });
107
105
  }
108
- }, {
109
- key: "responsiveFunc",
110
- value: function responsiveFunc(_ref) {
111
- var mediaQueryOR = _ref.mediaQueryOR;
112
- return {
113
- tabletMode: mediaQueryOR([{
114
- maxWidth: 700
115
- }])
116
- };
117
- }
118
106
  }, {
119
107
  key: "render",
120
108
  value: function render() {
121
- var _this2 = this;
122
-
123
109
  var _this$props = this.props,
124
110
  isReadOnly = _this$props.isReadOnly,
125
111
  needSelectAll = _this$props.needSelectAll,
@@ -252,68 +238,57 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
252
238
  }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
253
239
  name: "ZD-delete",
254
240
  size: "15"
255
- })) : null)))), popUpState ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
256
- query: this.responsiveFunc,
257
- responsiveId: "Helmet"
258
- }, function (_ref2) {
259
- var tabletMode = _ref2.tabletMode;
260
- return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
261
- animationStyle: animationStyle,
262
- boxPosition: position || "".concat(defaultDropBoxPosition, "Center"),
263
- getRef: getContainerRef,
264
- isActive: isPopupReady,
265
- isAnimate: isAnimate,
266
- isArrow: false,
267
- onClick: removeClose,
268
- needResponsive: needResponsive,
269
- isPadding: false,
270
- isBoxPaddingNeed: isBoxPaddingNeed,
271
- palette: palette,
272
- htmlId: setAriaId,
273
- a11y: {
274
- ariaMultiselectable: true,
275
- role: 'listbox'
276
- },
277
- isResponsivePadding: true,
278
- alignBox: "row"
279
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
280
- flexible: true
281
- }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
282
- customClass: "".concat(_MultiSelectModule["default"].box, " ").concat(_MultiSelectModule["default"]["".concat(palette, "Box")]),
283
- onScroll: _this2.handleScroll
284
- }, /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement(_MultiSelectHeader["default"], {
285
- needSelectAll: needSelectAll,
286
- onSelect: _this2.handleSelectAll,
287
- selectAllText: selectAllText,
288
- suggestions: suggestions,
289
- dataId: dataId
290
- })), /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
291
- shrink: true,
292
- customClass: !tabletMode && dropBoxSize ? _MultiSelectModule["default"][dropBoxSize] : '',
293
- eleRef: _this2.suggestionContainerRef
294
- }, suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
295
- suggestions: suggestions,
296
- getRef: _this2.suggestionItemRef,
297
- hoverOption: hoverOption,
298
- onClick: _this2.handleSelectOption,
299
- onMouseEnter: _this2.handleMouseEnter,
300
- needBorder: false,
301
- dataId: "".concat(dataId, "_Options"),
302
- palette: palette,
303
- a11y: {
304
- role: 'option'
305
- }
306
- }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
307
- isLoading: isFetchingOptions,
308
- options: options,
309
- searchString: searchStr,
310
- suggestions: suggestions,
311
- dataId: dataId,
312
- palette: palette,
313
- i18nKeys: i18nKeys,
314
- htmlId: ariaErrorId
315
- })))));
316
- }) : null);
241
+ })) : null)))), popUpState ? /*#__PURE__*/_react["default"].createElement(_DropBox["default"], {
242
+ animationStyle: animationStyle,
243
+ boxPosition: position || "".concat(defaultDropBoxPosition, "Center"),
244
+ getRef: getContainerRef,
245
+ isActive: isPopupReady,
246
+ isAnimate: isAnimate,
247
+ isArrow: false,
248
+ onClick: removeClose,
249
+ needResponsive: needResponsive,
250
+ isPadding: false,
251
+ isBoxPaddingNeed: isBoxPaddingNeed,
252
+ palette: palette,
253
+ htmlId: setAriaId,
254
+ a11y: {
255
+ ariaMultiselectable: true,
256
+ role: 'listbox'
257
+ }
258
+ }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
259
+ customClass: "".concat(_MultiSelectModule["default"].box, " ").concat(_MultiSelectModule["default"]["".concat(palette, "Box")]),
260
+ onScroll: this.handleScroll
261
+ }, /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement(_MultiSelectHeader["default"], {
262
+ needSelectAll: needSelectAll,
263
+ onSelect: this.handleSelectAll,
264
+ selectAllText: selectAllText,
265
+ suggestions: suggestions,
266
+ dataId: dataId
267
+ })), /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
268
+ customClass: dropBoxSize ? _MultiSelectModule["default"][dropBoxSize] : '',
269
+ eleRef: this.suggestionContainerRef
270
+ }, suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
271
+ suggestions: suggestions,
272
+ getRef: this.suggestionItemRef,
273
+ hoverOption: hoverOption,
274
+ onClick: this.handleSelectOption,
275
+ onMouseEnter: this.handleMouseEnter,
276
+ needBorder: false,
277
+ dataId: "".concat(dataId, "_Options"),
278
+ palette: palette,
279
+ a11y: {
280
+ role: 'option'
281
+ }
282
+ }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
283
+ isLoading: isFetchingOptions,
284
+ options: options,
285
+ searchString: searchStr,
286
+ suggestions: suggestions,
287
+ dataId: dataId,
288
+ palette: palette,
289
+ i18nKeys: i18nKeys,
290
+ htmlId: ariaErrorId
291
+ })))) : null);
317
292
  }
318
293
  }]);
319
294
 
@@ -19,7 +19,7 @@ var _SelectedOptionsModule = _interopRequireDefault(require("./SelectedOptions.m
19
19
 
20
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
21
 
22
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
23
 
24
24
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
25
25
 
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
29
29
 
30
30
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
31
 
32
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
32
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
34
34
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
35
35
 
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
39
39
 
40
40
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
41
41
 
42
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
42
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
43
43
 
44
44
  /* eslint-disable react/forbid-component-props */
45
45
  var SelectedOptions = /*#__PURE__*/function (_React$PureComponent) {
@@ -21,7 +21,7 @@ var _Layout = require("../Layout");
21
21
 
22
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
23
 
24
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
24
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
25
 
26
26
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
27
27
 
@@ -37,7 +37,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
37
37
 
38
38
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
39
39
 
40
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
40
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
41
41
 
42
42
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
43
43
 
@@ -47,7 +47,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
47
47
 
48
48
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
49
49
 
50
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
50
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
51
51
 
52
52
  var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
53
53
  _inherits(Suggestions, _React$PureComponent);
@@ -21,7 +21,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
21
21
 
22
22
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
23
 
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
25
 
26
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
27
27
 
@@ -31,7 +31,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
31
31
 
32
32
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
33
 
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
34
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
35
 
36
36
  var AdvancedGroupMultiSelect__default = /*#__PURE__*/function (_React$Component) {
37
37
  _inherits(AdvancedGroupMultiSelect__default, _React$Component);
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
25
25
 
26
26
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
30
30
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
31
 
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
35
35
 
36
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
 
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
 
40
40
  var AdvancedMultiSelect__default = /*#__PURE__*/function (_Component) {
41
41
  _inherits(AdvancedMultiSelect__default, _Component);
@@ -27,7 +27,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
27
27
 
28
28
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
32
32
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
33
 
@@ -37,7 +37,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
37
37
 
38
38
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
39
 
40
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
41
 
42
42
  var MultiSelectWithAvatar__default = /*#__PURE__*/function (_Component) {
43
43
  _inherits(MultiSelectWithAvatar__default, _Component);
@@ -31,7 +31,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
31
31
 
32
32
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
33
 
34
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
34
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
35
 
36
36
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
37
37
 
@@ -41,7 +41,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
41
41
 
42
42
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
43
43
 
44
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
44
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
45
45
 
46
46
  var MultiSelect__default = /*#__PURE__*/function (_Component) {
47
47
  _inherits(MultiSelect__default, _Component);