@zohodesk/components 1.0.0-temp-190.2 → 1.0.0-temp-191

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 (248) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/propValidation_report.html +1 -1
  3. package/README.md +12 -5
  4. package/assets/Appearance/dark/mode/Component_DarkMode.module.css +2 -29
  5. package/assets/Appearance/light/mode/Component_LightMode.module.css +2 -29
  6. package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +2 -29
  7. package/es/AppContainer/AppContainer.js +10 -9
  8. package/es/AppContainer/AppContainer.module.css +2 -2
  9. package/es/Avatar/Avatar.js +4 -5
  10. package/es/Avatar/Avatar.module.css +22 -52
  11. package/es/AvatarTeam/AvatarTeam.js +7 -7
  12. package/es/AvatarTeam/AvatarTeam.module.css +74 -66
  13. package/es/Button/Button.js +5 -6
  14. package/es/Button/css/Button.module.css +100 -162
  15. package/es/Buttongroup/Buttongroup.module.css +17 -52
  16. package/es/CheckBox/CheckBox.js +18 -8
  17. package/es/CheckBox/CheckBox.module.css +60 -37
  18. package/es/CheckBox/props/propTypes.js +1 -0
  19. package/es/DateTime/DateTime.module.css +57 -86
  20. package/es/DateTime/DateWidget.module.css +7 -11
  21. package/es/DateTime/YearView.module.css +21 -34
  22. package/es/DropBox/DropBox.js +10 -11
  23. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +79 -105
  24. package/es/DropBox/css/DropBox.module.css +6 -24
  25. package/es/DropDown/DropDown.js +2 -1
  26. package/es/DropDown/DropDown.module.css +2 -2
  27. package/es/DropDown/DropDownHeading.module.css +13 -19
  28. package/es/DropDown/DropDownItem.module.css +22 -43
  29. package/es/DropDown/DropDownSearch.module.css +3 -3
  30. package/es/DropDown/DropDownSeparator.module.css +2 -2
  31. package/es/Heading/Heading.module.css +2 -2
  32. package/es/Label/Label.module.css +23 -12
  33. package/es/Label/LabelColors.module.css +7 -1
  34. package/es/Layout/Layout.module.css +15 -15
  35. package/es/ListItem/ListContainer.js +6 -5
  36. package/es/ListItem/ListItem.js +4 -5
  37. package/es/ListItem/ListItem.module.css +87 -90
  38. package/es/ListItem/ListItemWithAvatar.js +4 -5
  39. package/es/ListItem/ListItemWithCheckBox.js +4 -5
  40. package/es/ListItem/ListItemWithIcon.js +4 -5
  41. package/es/ListItem/ListItemWithRadio.js +4 -5
  42. package/es/Modal/Modal.js +4 -5
  43. package/es/MultiSelect/AdvancedMultiSelect.js +8 -9
  44. package/es/MultiSelect/MobileHeader/MobileHeader.module.css +19 -16
  45. package/es/MultiSelect/MultiSelect.module.css +69 -55
  46. package/es/MultiSelect/MultiSelectWithAvatar.js +4 -5
  47. package/es/MultiSelect/SelectedOptions.js +6 -8
  48. package/es/MultiSelect/SelectedOptions.module.css +5 -11
  49. package/es/MultiSelect/Suggestions.js +6 -8
  50. package/es/PopOver/PopOver.module.css +4 -4
  51. package/es/Popup/Popup.js +3 -4
  52. package/es/Radio/Radio.js +25 -6
  53. package/es/Radio/Radio.module.css +40 -23
  54. package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +3 -3
  55. package/es/Radio/props/defaultProps.js +1 -0
  56. package/es/Radio/props/propTypes.js +7 -0
  57. package/es/ResponsiveDropBox/ResponsiveDropBox.js +2 -4
  58. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  59. package/es/Ribbon/Ribbon.module.css +64 -147
  60. package/es/RippleEffect/RippleEffect.module.css +27 -9
  61. package/es/Select/Select.js +4 -5
  62. package/es/Select/Select.module.css +22 -33
  63. package/es/Stencils/Stencils.module.css +14 -32
  64. package/es/Switch/Switch.js +8 -8
  65. package/es/Switch/Switch.module.css +35 -32
  66. package/es/Tab/Tab.js +4 -5
  67. package/es/Tab/Tab.module.css +39 -28
  68. package/es/Tab/TabContentWrapper.js +4 -5
  69. package/es/Tab/TabWrapper.js +2 -4
  70. package/es/Tab/Tabs.js +16 -16
  71. package/es/Tab/Tabs.module.css +29 -51
  72. package/es/Tag/Tag.module.css +91 -66
  73. package/es/TextBox/TextBox.js +5 -5
  74. package/es/TextBox/TextBox.module.css +20 -36
  75. package/es/TextBoxIcon/TextBoxIcon.js +2 -4
  76. package/es/TextBoxIcon/TextBoxIcon.module.css +6 -18
  77. package/es/Textarea/Textarea.js +4 -6
  78. package/es/Textarea/Textarea.module.css +60 -36
  79. package/es/Tooltip/Tooltip.module.css +13 -12
  80. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +4 -5
  81. package/es/common/animation.module.css +29 -227
  82. package/es/common/avatarsizes.module.css +16 -16
  83. package/es/common/basicReset.module.css +15 -5
  84. package/es/common/common.module.css +36 -82
  85. package/es/common/customscroll.module.css +32 -29
  86. package/es/common/transition.module.css +10 -50
  87. package/es/deprecated/PortalLayer/PortalLayer.js +8 -6
  88. package/es/semantic/Button/semanticButton.module.css +3 -3
  89. package/es/v1/Animation/Animation.js +1 -1
  90. package/es/v1/AppContainer/AppContainer.js +10 -9
  91. package/es/v1/Avatar/Avatar.js +4 -5
  92. package/es/v1/AvatarTeam/AvatarTeam.js +7 -7
  93. package/es/v1/Button/Button.js +5 -6
  94. package/es/v1/Card/Card.js +1 -1
  95. package/es/v1/CheckBox/CheckBox.js +15 -9
  96. package/es/v1/CheckBox/props/propTypes.js +1 -0
  97. package/es/v1/DropBox/DropBox.js +10 -11
  98. package/es/v1/DropBox/utils/isMobilePopover.js +1 -1
  99. package/es/v1/DropDown/DropDown.js +2 -1
  100. package/es/v1/ListItem/ListContainer.js +7 -6
  101. package/es/v1/ListItem/ListItem.js +4 -5
  102. package/es/v1/ListItem/ListItemWithAvatar.js +4 -5
  103. package/es/v1/ListItem/ListItemWithCheckBox.js +4 -5
  104. package/es/v1/ListItem/ListItemWithIcon.js +4 -5
  105. package/es/v1/ListItem/ListItemWithRadio.js +4 -5
  106. package/es/v1/Modal/Modal.js +4 -5
  107. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
  108. package/es/v1/MultiSelect/AdvancedMultiSelect.js +9 -10
  109. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +5 -6
  110. package/es/v1/MultiSelect/SelectedOptions.js +6 -8
  111. package/es/v1/MultiSelect/Suggestions.js +6 -8
  112. package/es/v1/MultiSelect/props/defaultProps.js +1 -1
  113. package/es/v1/Popup/Popup.js +3 -4
  114. package/es/v1/Radio/Radio.js +21 -6
  115. package/es/v1/Radio/props/defaultProps.js +1 -0
  116. package/es/v1/Radio/props/propTypes.js +7 -0
  117. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +3 -5
  118. package/es/v1/Select/GroupSelect.js +1 -1
  119. package/es/v1/Select/Select.js +5 -6
  120. package/es/v1/Select/SelectWithAvatar.js +5 -7
  121. package/es/v1/Select/SelectWithIcon.js +1 -1
  122. package/es/v1/Select/props/defaultProps.js +1 -1
  123. package/es/v1/Select/props/propTypes.js +1 -3
  124. package/es/v1/Switch/Switch.js +8 -8
  125. package/es/v1/Tab/Tab.js +4 -5
  126. package/es/v1/Tab/TabContentWrapper.js +4 -5
  127. package/es/v1/Tab/TabWrapper.js +2 -4
  128. package/es/v1/Tab/Tabs.js +18 -18
  129. package/es/v1/Tab/v1Tab.module.css +39 -28
  130. package/es/v1/Tab/v1Tabs.module.css +29 -51
  131. package/es/v1/TextBox/TextBox.js +5 -5
  132. package/es/v1/TextBoxIcon/TextBoxIcon.js +2 -4
  133. package/es/v1/Textarea/Textarea.js +4 -6
  134. package/es/v1/Tooltip/Tooltip.js +1 -1
  135. package/es/v1/Typography/css/Typography.module.css +33 -39
  136. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +4 -5
  137. package/lib/AppContainer/AppContainer.module.css +2 -2
  138. package/lib/Avatar/Avatar.module.css +22 -52
  139. package/lib/AvatarTeam/AvatarTeam.module.css +74 -66
  140. package/lib/Button/css/Button.module.css +100 -162
  141. package/lib/Buttongroup/Buttongroup.module.css +17 -52
  142. package/lib/CheckBox/CheckBox.js +34 -24
  143. package/lib/CheckBox/CheckBox.module.css +60 -37
  144. package/lib/CheckBox/props/propTypes.js +1 -0
  145. package/lib/DateTime/DateTime.module.css +57 -86
  146. package/lib/DateTime/DateWidget.module.css +7 -11
  147. package/lib/DateTime/YearView.module.css +21 -34
  148. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +79 -105
  149. package/lib/DropBox/css/DropBox.module.css +6 -24
  150. package/lib/DropDown/DropDown.module.css +2 -2
  151. package/lib/DropDown/DropDownHeading.module.css +13 -19
  152. package/lib/DropDown/DropDownItem.module.css +22 -43
  153. package/lib/DropDown/DropDownSearch.module.css +3 -3
  154. package/lib/DropDown/DropDownSeparator.module.css +2 -2
  155. package/lib/Heading/Heading.module.css +2 -2
  156. package/lib/Label/Label.module.css +23 -12
  157. package/lib/Label/LabelColors.module.css +7 -1
  158. package/lib/Layout/Layout.module.css +15 -15
  159. package/lib/ListItem/ListItem.module.css +87 -90
  160. package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +19 -16
  161. package/lib/MultiSelect/MultiSelect.module.css +69 -55
  162. package/lib/MultiSelect/SelectedOptions.module.css +5 -11
  163. package/lib/PopOver/PopOver.module.css +4 -4
  164. package/lib/Radio/Radio.js +45 -26
  165. package/lib/Radio/Radio.module.css +40 -23
  166. package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +3 -3
  167. package/lib/Radio/props/defaultProps.js +1 -0
  168. package/lib/Radio/props/propTypes.js +7 -0
  169. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  170. package/lib/Ribbon/Ribbon.module.css +64 -147
  171. package/lib/RippleEffect/RippleEffect.module.css +27 -9
  172. package/lib/Select/Select.module.css +22 -33
  173. package/lib/Stencils/Stencils.module.css +14 -32
  174. package/lib/Switch/Switch.module.css +35 -32
  175. package/lib/Tab/Tab.module.css +39 -28
  176. package/lib/Tab/Tabs.module.css +29 -51
  177. package/lib/Tag/Tag.module.css +91 -66
  178. package/lib/TextBox/TextBox.module.css +20 -36
  179. package/lib/TextBoxIcon/TextBoxIcon.module.css +6 -18
  180. package/lib/Textarea/Textarea.module.css +60 -36
  181. package/lib/Tooltip/Tooltip.module.css +13 -12
  182. package/lib/common/animation.module.css +29 -227
  183. package/lib/common/avatarsizes.module.css +16 -16
  184. package/lib/common/basicReset.module.css +15 -5
  185. package/lib/common/common.module.css +36 -82
  186. package/lib/common/customscroll.module.css +32 -29
  187. package/lib/common/transition.module.css +10 -50
  188. package/lib/semantic/Button/semanticButton.module.css +3 -3
  189. package/lib/v1/Animation/Animation.js +1 -1
  190. package/lib/v1/Card/Card.js +1 -1
  191. package/lib/v1/CheckBox/CheckBox.js +7 -1
  192. package/lib/v1/CheckBox/props/propTypes.js +1 -0
  193. package/lib/v1/DropBox/utils/isMobilePopover.js +1 -1
  194. package/lib/v1/ListItem/ListContainer.js +1 -1
  195. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
  196. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +1 -1
  197. package/lib/v1/MultiSelect/props/defaultProps.js +1 -1
  198. package/lib/v1/Radio/Radio.js +22 -7
  199. package/lib/v1/Radio/props/defaultProps.js +1 -0
  200. package/lib/v1/Radio/props/propTypes.js +7 -0
  201. package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  202. package/lib/v1/Select/GroupSelect.js +1 -1
  203. package/lib/v1/Select/Select.js +1 -1
  204. package/lib/v1/Select/SelectWithAvatar.js +4 -6
  205. package/lib/v1/Select/SelectWithIcon.js +1 -1
  206. package/lib/v1/Select/props/defaultProps.js +1 -1
  207. package/lib/v1/Select/props/propTypes.js +1 -3
  208. package/lib/v1/Tab/Tabs.js +2 -2
  209. package/lib/v1/Tab/v1Tab.module.css +39 -28
  210. package/lib/v1/Tab/v1Tabs.module.css +29 -51
  211. package/lib/v1/Tooltip/Tooltip.js +1 -1
  212. package/lib/v1/Typography/css/Typography.module.css +33 -39
  213. package/package.json +10 -10
  214. package/es/v1/Provider/AvatarSize.js +0 -13
  215. package/es/v1/Provider/Config.js +0 -18
  216. package/es/v1/Provider/CssProvider.js +0 -16
  217. package/es/v1/Provider/IdProvider.js +0 -66
  218. package/es/v1/Provider/LibraryContext.js +0 -37
  219. package/es/v1/Provider/LibraryContextInit.js +0 -3
  220. package/es/v1/Provider/NumberGenerator/NumberGenerator.js +0 -136
  221. package/es/v1/Provider/ZindexProvider.js +0 -57
  222. package/es/v1/Provider/index.js +0 -4
  223. package/es/v1/Responsive/CustomResponsive.js +0 -195
  224. package/es/v1/Responsive/RefWrapper.js +0 -39
  225. package/es/v1/Responsive/ResizeComponent.js +0 -197
  226. package/es/v1/Responsive/ResizeObserver.js +0 -140
  227. package/es/v1/Responsive/Responsive.js +0 -194
  228. package/es/v1/Responsive/index.js +0 -9
  229. package/es/v1/Responsive/props/defaultProps.js +0 -13
  230. package/es/v1/Responsive/props/propTypes.js +0 -25
  231. package/lib/v1/Provider/AvatarSize.js +0 -24
  232. package/lib/v1/Provider/Config.js +0 -27
  233. package/lib/v1/Provider/CssProvider.js +0 -27
  234. package/lib/v1/Provider/IdProvider.js +0 -79
  235. package/lib/v1/Provider/LibraryContext.js +0 -76
  236. package/lib/v1/Provider/LibraryContextInit.js +0 -15
  237. package/lib/v1/Provider/NumberGenerator/NumberGenerator.js +0 -174
  238. package/lib/v1/Provider/ZindexProvider.js +0 -69
  239. package/lib/v1/Provider/index.js +0 -81
  240. package/lib/v1/Responsive/CustomResponsive.js +0 -242
  241. package/lib/v1/Responsive/RefWrapper.js +0 -57
  242. package/lib/v1/Responsive/ResizeComponent.js +0 -268
  243. package/lib/v1/Responsive/ResizeObserver.js +0 -168
  244. package/lib/v1/Responsive/Responsive.js +0 -274
  245. package/lib/v1/Responsive/index.js +0 -55
  246. package/lib/v1/Responsive/props/defaultProps.js +0 -23
  247. package/lib/v1/Responsive/props/propTypes.js +0 -39
  248. package/result.json +0 -1
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -39,7 +37,7 @@ export default function Button(props) {
39
37
  style: finalStyle
40
38
  });
41
39
  let statusLower = status.toLowerCase();
42
- return /*#__PURE__*/React.createElement("button", _extends({
40
+ return /*#__PURE__*/React.createElement("button", {
43
41
  className: buttonClass,
44
42
  "data-id": disabled ? `${dataId}_disabled` : dataId,
45
43
  "data-test-id": disabled ? `${dataId}_disabled` : dataId,
@@ -48,10 +46,11 @@ export default function Button(props) {
48
46
  "data-title": title,
49
47
  type: "button",
50
48
  ref: getRef,
51
- "data-selector-id": dataSelectorId
52
- }, customProps, a11y, {
49
+ "data-selector-id": dataSelectorId,
50
+ ...customProps,
51
+ ...a11y,
53
52
  id: id
54
- }), children ? children : text, statusLower !== 'none' && needAppearance && /*#__PURE__*/React.createElement("div", {
53
+ }, children ? children : text, statusLower !== 'none' && needAppearance && /*#__PURE__*/React.createElement("div", {
55
54
  className: finalStyle.overlay
56
55
  }, /*#__PURE__*/React.createElement("div", {
57
56
  className: loaderParentClass
@@ -3,7 +3,7 @@ import { useEffectCallOnlyAfterState } from '@zohodesk/hooks';
3
3
  import { CardHeader_propTypes, CardContent_propTypes, Card_propTypes, CardFooter_propTypes } from './props/propTypes';
4
4
  import { Card_defaultProps, CardHeader_defaultProps, CardContent_defaultProps, CardFooter_defaultProps } from './props/defaultProps';
5
5
  import { Container, Box } from '../Layout';
6
- import { getLibraryConfig } from '../Provider/Config';
6
+ import { getLibraryConfig } from '../../Provider/Config';
7
7
  import style from '../../Card/Card.module.css';
8
8
  /* eslint-disable react/forbid-component-props */
9
9
 
@@ -1,11 +1,9 @@
1
- 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); }
2
-
3
1
  import React from 'react';
4
2
  import { propTypes } from './props/propTypes';
5
3
  import { defaultProps } from './props/defaultProps';
6
4
  import Label from '../Label/Label';
7
5
  import { Container, Box } from '../Layout';
8
- import CssProvider from '../Provider/CssProvider';
6
+ import CssProvider from '../../Provider/CssProvider';
9
7
  import style from '../../CheckBox/CheckBox.module.css';
10
8
 
11
9
  const CheckBox = props => {
@@ -24,6 +22,7 @@ const CheckBox = props => {
24
22
  isFilled,
25
23
  isClipped,
26
24
  getRef,
25
+ getContainerRef,
27
26
  variant,
28
27
  active,
29
28
  dataId,
@@ -42,6 +41,10 @@ const CheckBox = props => {
42
41
  onChange && onChange(!checked, e);
43
42
  }
44
43
 
44
+ function handleGetContainerRef(ele) {
45
+ getContainerRef && getContainerRef(ele, id);
46
+ }
47
+
45
48
  let {
46
49
  CheckBoxProps = {},
47
50
  LabelProps = {}
@@ -61,7 +64,7 @@ const CheckBox = props => {
61
64
  role = 'checkbox',
62
65
  ariaChecked = checked
63
66
  } = a11y;
64
- return /*#__PURE__*/React.createElement(Container, _extends({
67
+ return /*#__PURE__*/React.createElement(Container, {
65
68
  dataId: dataId,
66
69
  isCover: false,
67
70
  isInline: text ? false : true,
@@ -73,12 +76,14 @@ const CheckBox = props => {
73
76
  onClick: isReadOnly || disabled ? null : onChange,
74
77
  tabIndex: isReadOnly || disabled || ariaHidden ? '-1' : '0',
75
78
  "aria-checked": ariaChecked,
79
+ eleRef: handleGetContainerRef,
76
80
  role: role,
77
81
  "aria-label": ariaLabel,
78
82
  "aria-labelledby": ariaLabelledby,
79
83
  "aria-hidden": ariaHidden,
80
- "data-selector-id": dataSelectorId || id
81
- }, CheckBoxProps), /*#__PURE__*/React.createElement(Box, {
84
+ "data-selector-id": dataSelectorId || id,
85
+ ...CheckBoxProps
86
+ }, /*#__PURE__*/React.createElement(Box, {
82
87
  className: `${style.boxContainer} ${style[size]} ${customCBoxSize} ${isFilled ? style.filled : ''}`
83
88
  }, /*#__PURE__*/React.createElement("input", {
84
89
  type: "hidden",
@@ -130,7 +135,7 @@ const CheckBox = props => {
130
135
  }) : null))), text && /*#__PURE__*/React.createElement(Box, {
131
136
  flexible: true,
132
137
  className: style.text
133
- }, /*#__PURE__*/React.createElement(Label, _extends({
138
+ }, /*#__PURE__*/React.createElement(Label, {
134
139
  text: text,
135
140
  palette: disabled ? 'disable' : labelPalette,
136
141
  id: id,
@@ -141,8 +146,9 @@ const CheckBox = props => {
141
146
  customClass: `${active && !disabled ? `${style[`active${palette}Label`]}` : ''}
142
147
  ${checked && active ? `${style[`checked${palette}Label`]}` : ''}
143
148
  ${accessMode} ${customLabel}`,
144
- title: toolTip ? toolTip : text
145
- }, LabelProps))));
149
+ title: toolTip ? toolTip : text,
150
+ ...LabelProps
151
+ })));
146
152
  };
147
153
 
148
154
  export default CheckBox;
@@ -8,6 +8,7 @@ export const propTypes = {
8
8
  disabled: PropTypes.bool,
9
9
  disabledTitle: PropTypes.string,
10
10
  getRef: PropTypes.func,
11
+ getContainerRef: PropTypes.func,
11
12
  id: PropTypes.string,
12
13
  isFilled: PropTypes.bool,
13
14
  isClipped: PropTypes.bool,
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React, { useRef, useContext } from 'react';
4
2
  import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
5
3
  import Modal from '../Modal/Modal';
@@ -41,27 +39,28 @@ export default function DropBox(props) {
41
39
  const {
42
40
  zIndexStyle
43
41
  } = cssJSLogic(props);
44
- const dropBoxEle = needFocusScope ? /*#__PURE__*/React.createElement(FocusScope, _extends({
42
+ const dropBoxEle = needFocusScope ? /*#__PURE__*/React.createElement(FocusScope, {
45
43
  onClose: onClose,
46
44
  elementRef: dropBoxRef,
47
45
  needAutoFocus: needAutoFocus,
48
46
  needRestoreFocus: needRestoreFocus,
49
47
  needListNavigation: needListNavigation,
50
48
  needFocusLoop: needFocusLoop,
51
- needEnterAction: needEnterAction
52
- }, focusScopeProps), /*#__PURE__*/React.createElement(DropBoxElement, _extends({
49
+ needEnterAction: needEnterAction,
50
+ ...focusScopeProps
51
+ }, /*#__PURE__*/React.createElement(DropBoxElement, {
53
52
  isModel: isModel,
54
- direction: direction
55
- }, props, {
53
+ direction: direction,
54
+ ...props,
56
55
  zIndexStyle: zIndexStyle,
57
56
  subContainerRef: dropBoxRef
58
- }))) : /*#__PURE__*/React.createElement(DropBoxElement, _extends({
57
+ })) : /*#__PURE__*/React.createElement(DropBoxElement, {
59
58
  isModel: isModel,
60
59
  subContainerRef: dropBoxRef,
61
- direction: direction
62
- }, props, {
60
+ direction: direction,
61
+ ...props,
63
62
  zIndexStyle: zIndexStyle
64
- }));
63
+ });
65
64
  return isModel && isActive ? /*#__PURE__*/React.createElement(Modal, {
66
65
  portalId: portalId
67
66
  }, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
@@ -1,4 +1,4 @@
1
- import { getLibraryConfig } from '../../Provider/Config';
1
+ import { getLibraryConfig } from '../../../Provider/Config';
2
2
  export default function isMobilePopover(needResponsive) {
3
3
  // let { needResponsive } = props;
4
4
  let windowWidth,
@@ -7,7 +7,8 @@ export default function DropDown(props) {
7
7
  let {
8
8
  children
9
9
  } = props;
10
- return /*#__PURE__*/React.createElement(PopOver, props, /*#__PURE__*/React.createElement(PopOverTarget, null, children[0]), /*#__PURE__*/React.createElement(PopOverContainer, null, children[1]));
10
+ return /*#__PURE__*/React.createElement(PopOver, { ...props
11
+ }, /*#__PURE__*/React.createElement(PopOverTarget, null, children[0]), /*#__PURE__*/React.createElement(PopOverContainer, null, children[1]));
11
12
  }
12
13
  DropDown.propTypes = DropDown_propTypes;
13
14
  export function DropDownTarget(props) {
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React, { useCallback } from 'react';
5
3
  import { Container } from '../Layout';
@@ -7,7 +5,7 @@ import CssProvider from '../../Provider/CssProvider';
7
5
  import style from '../../ListItem/ListItem.module.css';
8
6
  import { ListContainerDefaultProps } from './props/defaultProps';
9
7
  import { ListContainer_Props } from './props/propTypes';
10
- import { useResponsiveReceiver } from '../Responsive/CustomResponsive';
8
+ import { useResponsiveReceiver } from '../../Responsive/CustomResponsive';
11
9
 
12
10
  const ListContainer = props => {
13
11
  const {
@@ -73,7 +71,7 @@ const ListContainer = props => {
73
71
  options.tabindex = '0';
74
72
  }
75
73
 
76
- return /*#__PURE__*/React.createElement(Container, _extends({
74
+ return /*#__PURE__*/React.createElement(Container, {
77
75
  role: role,
78
76
  "data-a11y-inset-focus": insetFocus,
79
77
  "aria-selected": ariaSelected,
@@ -89,8 +87,11 @@ const ListContainer = props => {
89
87
  onMouseOver: onMouseOver,
90
88
  eleRef: eleRef,
91
89
  tagName: isLink ? 'a' : 'li',
92
- "data-title": isDisabled ? disableTitle : title
93
- }, options, customProps, a11yAttributes), children);
90
+ "data-title": isDisabled ? disableTitle : title,
91
+ ...options,
92
+ ...customProps,
93
+ ...a11yAttributes
94
+ }, children);
94
95
  };
95
96
 
96
97
  ListContainer.defaultProps = ListContainerDefaultProps;
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import { Box } from '../Layout';
@@ -73,7 +71,7 @@ const ListItem = props => {
73
71
  } = listA11y;
74
72
  let tickIconPalette = style[`${palette}Tick`] ? style[`${palette}Tick`] : '';
75
73
  let dataIdString = dataId ? dataId : value ? String(value).replace("'", '_') : 'listItem';
76
- return /*#__PURE__*/React.createElement(ListContainer, _extends({
74
+ return /*#__PURE__*/React.createElement(ListContainer, {
77
75
  a11y: listA11y,
78
76
  size: size,
79
77
  palette: palette,
@@ -94,8 +92,9 @@ const ListItem = props => {
94
92
  onClick: handleClick,
95
93
  onMouseEnter: handleMouseEnter,
96
94
  eleRef: handleRef,
97
- customProps: ListItemProps
98
- }, ContainerProps), value ? /*#__PURE__*/React.createElement(Box, {
95
+ customProps: ListItemProps,
96
+ ...ContainerProps
97
+ }, value ? /*#__PURE__*/React.createElement(Box, {
99
98
  shrink: true,
100
99
  adjust: true,
101
100
  className: needMultiLineText ? style.multiLineValue : style.value
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React, { memo } from 'react';
5
3
  import { Box } from '../Layout';
@@ -78,7 +76,7 @@ const ListItemWithAvatar = props => {
78
76
  } = listA11y;
79
77
  let isDarkPalette = palette === 'dark';
80
78
  let dataIdString = value ? value : dataId;
81
- return /*#__PURE__*/React.createElement(ListContainer, _extends({
79
+ return /*#__PURE__*/React.createElement(ListContainer, {
82
80
  a11y: listA11y,
83
81
  size: size,
84
82
  palette: palette,
@@ -96,8 +94,9 @@ const ListItemWithAvatar = props => {
96
94
  eleRef: handleRef,
97
95
  disableTitle: disableTitle,
98
96
  title: null,
99
- customProps: ListItemProps
100
- }, ContainerProps), name || imgSrc ? /*#__PURE__*/React.createElement(Box, {
97
+ customProps: ListItemProps,
98
+ ...ContainerProps
99
+ }, name || imgSrc ? /*#__PURE__*/React.createElement(Box, {
101
100
  className: style.leftAvatar
102
101
  }, isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
103
102
  name: name,
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React from 'react';
4
2
  import ListContainer from './ListContainer';
5
3
  import { ListItemWithCheckBoxDefaultProps } from './props/defaultProps';
@@ -58,7 +56,7 @@ const ListItemWithCheckBox = props => {
58
56
  customCheckBox = '',
59
57
  customLabel = ''
60
58
  } = customClass;
61
- return /*#__PURE__*/React.createElement(ListContainer, _extends({
59
+ return /*#__PURE__*/React.createElement(ListContainer, {
62
60
  a11y: listA11y,
63
61
  size: size,
64
62
  palette: palette,
@@ -74,8 +72,9 @@ const ListItemWithCheckBox = props => {
74
72
  eleRef: handleRef,
75
73
  disableTitle: disableTitle,
76
74
  title: null,
77
- customProps: ListItemProps
78
- }, ContainerProps), /*#__PURE__*/React.createElement(Box, {
75
+ customProps: ListItemProps,
76
+ ...ContainerProps
77
+ }, /*#__PURE__*/React.createElement(Box, {
79
78
  className: style.iconBox
80
79
  }, /*#__PURE__*/React.createElement(CheckBox, {
81
80
  checked: checked,
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import { Box } from '../Layout';
@@ -68,7 +66,7 @@ const ListItemWithIcon = props => {
68
66
  ariaHidden
69
67
  } = listA11y;
70
68
  let dataIdString = dataId ? `${dataId.replace("'", '_')}` : value.toLowerCase().replace("'", '_');
71
- return /*#__PURE__*/React.createElement(ListContainer, _extends({
69
+ return /*#__PURE__*/React.createElement(ListContainer, {
72
70
  a11y: listA11y,
73
71
  size: size,
74
72
  palette: palette,
@@ -89,8 +87,9 @@ const ListItemWithIcon = props => {
89
87
  eleRef: handleRef,
90
88
  disableTitle: disableTitle,
91
89
  title: null,
92
- customProps: ListItemProps
93
- }, ContainerProps), iconName && /*#__PURE__*/React.createElement(Box, {
90
+ customProps: ListItemProps,
91
+ ...ContainerProps
92
+ }, iconName && /*#__PURE__*/React.createElement(Box, {
94
93
  "aria-hidden": true,
95
94
  className: style.iconBox,
96
95
  dataId: dataId ? `${dataId}_Icon` : `${value.toLowerCase().replace("'", '_')}_Icon`
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React from 'react';
4
2
  import Radio from '../Radio/Radio';
5
3
  import { Box } from '../Layout';
@@ -58,7 +56,7 @@ const ListItemWithRadio = props => {
58
56
  customRadio = '',
59
57
  customRadioWrap = ''
60
58
  } = customClass;
61
- return /*#__PURE__*/React.createElement(ListContainer, _extends({
59
+ return /*#__PURE__*/React.createElement(ListContainer, {
62
60
  a11y: listA11y,
63
61
  size: size,
64
62
  palette: palette,
@@ -74,8 +72,9 @@ const ListItemWithRadio = props => {
74
72
  eleRef: handleRef,
75
73
  disableTitle: disableTitle,
76
74
  title: null,
77
- customProps: ListItemProps
78
- }, ContainerProps), /*#__PURE__*/React.createElement(Box, {
75
+ customProps: ListItemProps,
76
+ ...ContainerProps
77
+ }, /*#__PURE__*/React.createElement(Box, {
79
78
  className: style.iconBox
80
79
  }, /*#__PURE__*/React.createElement(Radio, {
81
80
  checked: checked,
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React, { useState, useRef, useEffect, useCallback } from 'react';
4
2
  import ReactDOM from 'react-dom';
5
3
  import useEffectCallOnlyAfterState from '@zohodesk/hooks/es/utils/useEffectCallOnlyAfterState';
@@ -112,9 +110,10 @@ export default function Modal(props) {
112
110
 
113
111
  if (isMounted) {
114
112
  if (Element) {
115
- return /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Element, _extends({
116
- ref: setRef
117
- }, elementProps)), portalDiv.current);
113
+ return /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Element, {
114
+ ref: setRef,
115
+ ...elementProps
116
+ }), portalDiv.current);
118
117
  }
119
118
 
120
119
  return null;
@@ -15,7 +15,7 @@ import EmptyState from './EmptyState';
15
15
  import Card, { CardContent, CardHeader, CardFooter } from '../Card/Card';
16
16
  import { getUniqueId } from '../../Provider/IdProvider';
17
17
  import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox';
18
- import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
18
+ import { ResponsiveReceiver } from '../../Responsive/CustomResponsive';
19
19
  /**** Icons ****/
20
20
 
21
21
  import { Icon } from '@zohodesk/icons';
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import { AdvancedMultiSelect_propTypes } from './props/propTypes';
@@ -18,7 +16,7 @@ import Card, { CardContent, CardHeader, CardFooter } from '../Card/Card';
18
16
  import { Icon } from '@zohodesk/icons';
19
17
  import { getUniqueId } from '../../Provider/IdProvider';
20
18
  import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox';
21
- import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
19
+ import { ResponsiveReceiver } from '../../Responsive/CustomResponsive';
22
20
  import Loader from '@zohodesk/svg/lib/Loader/Loader';
23
21
  /**** CSS ****/
24
22
 
@@ -488,7 +486,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
488
486
  let {
489
487
  tabletMode
490
488
  } = _ref2;
491
- return /*#__PURE__*/React.createElement(ResponsiveDropBox, _extends({
489
+ return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
492
490
  animationStyle: animationStyle,
493
491
  boxPosition: position || `${defaultDropBoxPosition}Center`,
494
492
  getRef: getContainerRef,
@@ -502,11 +500,11 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
502
500
  a11y: {
503
501
  role: 'listbox',
504
502
  ariaMultiselectable: true
505
- }
506
- }, DropBoxProps, {
503
+ },
504
+ ...DropBoxProps,
507
505
  alignBox: "row",
508
506
  isResponsivePadding: getFooter ? false : true
509
- }), isLoading ? /*#__PURE__*/React.createElement(Container, {
507
+ }, isLoading ? /*#__PURE__*/React.createElement(Container, {
510
508
  align: "both",
511
509
  className: style.loader
512
510
  }, /*#__PURE__*/React.createElement(Loader, null)) : /*#__PURE__*/React.createElement(Box, {
@@ -523,7 +521,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
523
521
  shrink: true,
524
522
  customClass: !tabletMode && dropBoxSize ? style[dropBoxSize] : '',
525
523
  eleRef: this.suggestionContainerRef
526
- }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, _extends({
524
+ }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, {
527
525
  suggestions: suggestions,
528
526
  selectedOptions: allselectedOptionIds,
529
527
  getRef: this.suggestionItemRef,
@@ -534,8 +532,9 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
534
532
  listItemSize: listItemSize,
535
533
  a11y: {
536
534
  role: 'option'
537
- }
538
- }, SuggestionsProps)) : /*#__PURE__*/React.createElement(EmptyState, {
535
+ },
536
+ ...SuggestionsProps
537
+ }) : /*#__PURE__*/React.createElement(EmptyState, {
539
538
  isLoading: isFetchingOptions,
540
539
  options: options,
541
540
  searchString: searchStr,
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import { MultiSelectWithAvatar_propTypes } from './props/propTypes';
@@ -17,7 +15,7 @@ import MobileHeader from './MobileHeader/MobileHeader';
17
15
  import MultiSelectHeader from './MultiSelectHeader';
18
16
  import CssProvider from '../../Provider/CssProvider';
19
17
  import { getUniqueId } from '../../Provider/IdProvider';
20
- import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox'; // import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
18
+ import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox'; // import { ResponsiveReceiver } from '../../Responsive/CustomResponsive';
21
19
 
22
20
  import Loader from '@zohodesk/svg/lib/Loader/Loader';
23
21
  import isMobilePopover from '../DropBox/utils/isMobilePopover';
@@ -160,7 +158,7 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
160
158
  shrink: true,
161
159
  customClass: !isModel && dropBoxSize ? style[dropBoxSize] : '',
162
160
  eleRef: this.suggestionContainerRef
163
- }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, _extends({
161
+ }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, {
164
162
  needTick: keepSelectedOptions,
165
163
  suggestions: suggestions,
166
164
  getRef: this.suggestionItemRef,
@@ -173,8 +171,9 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
173
171
  selectedOptions: selectedOptionIds,
174
172
  a11y: {
175
173
  role: 'option'
176
- }
177
- }, SuggestionsProps)) : /*#__PURE__*/React.createElement(EmptyState, {
174
+ },
175
+ ...SuggestionsProps
176
+ }) : /*#__PURE__*/React.createElement(EmptyState, {
178
177
  isLoading: isFetchingOptions,
179
178
  options: options,
180
179
  searchString: searchStr,
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import { SelectedOptions_propTypes } from './props/propTypes';
@@ -52,28 +50,28 @@ export default class SelectedOptions extends React.PureComponent {
52
50
  return /*#__PURE__*/React.createElement(Box, {
53
51
  className: `${style.tag} ${style[size]}`,
54
52
  key: `${id}photoTag`
55
- }, /*#__PURE__*/React.createElement(Tag, _extends({}, commonProps, {
53
+ }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
56
54
  active: highLightedSelectOptions.indexOf(id) >= 0,
57
55
  hasAvatar: true,
58
56
  imageURL: photoURL
59
- })));
57
+ }));
60
58
  } else if (optionType === 'icon') {
61
59
  return /*#__PURE__*/React.createElement(Box, {
62
60
  className: `${style.tag} ${style[size]}`,
63
61
  key: `${id}iconTag`
64
- }, /*#__PURE__*/React.createElement(Tag, _extends({}, commonProps, {
62
+ }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
65
63
  active: highLightedSelectOptions.indexOf(id) >= 0,
66
64
  iconName: icon,
67
65
  iconSize: iconSize
68
- })));
66
+ }));
69
67
  }
70
68
 
71
69
  return /*#__PURE__*/React.createElement(Box, {
72
70
  className: `${style.tag} ${style[size]}`,
73
71
  key: `${id}tag`
74
- }, /*#__PURE__*/React.createElement(Tag, _extends({}, commonProps, {
72
+ }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
75
73
  active: highLightedSelectOptions.indexOf(id) >= 0
76
- })));
74
+ }));
77
75
  }));
78
76
  }
79
77
 
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import { Suggestions_propTypes } from './props/propTypes';
@@ -76,7 +74,7 @@ export default class Suggestions extends React.PureComponent {
76
74
  }
77
75
 
78
76
  if (optionType === 'avatar') {
79
- return /*#__PURE__*/React.createElement(ListItemWithAvatar, _extends({}, commonProps, {
77
+ return /*#__PURE__*/React.createElement(ListItemWithAvatar, { ...commonProps,
80
78
  autoHover: false,
81
79
  getRef: getRef,
82
80
  highlight: isHighlight,
@@ -95,9 +93,9 @@ export default class Suggestions extends React.PureComponent {
95
93
  avatarPalette: avatarPalette,
96
94
  palette: palette,
97
95
  a11y: list_a11y
98
- }));
96
+ });
99
97
  } else if (optionType === 'icon') {
100
- return /*#__PURE__*/React.createElement(ListItemWithIcon, _extends({}, commonProps, {
98
+ return /*#__PURE__*/React.createElement(ListItemWithIcon, { ...commonProps,
101
99
  autoHover: false,
102
100
  getRef: getRef,
103
101
  highlight: isHighlight,
@@ -115,10 +113,10 @@ export default class Suggestions extends React.PureComponent {
115
113
  size: listItemSize,
116
114
  palette: palette,
117
115
  a11y: list_a11y
118
- }));
116
+ });
119
117
  }
120
118
 
121
- return /*#__PURE__*/React.createElement(ListItem, _extends({}, commonProps, {
119
+ return /*#__PURE__*/React.createElement(ListItem, { ...commonProps,
122
120
  autoHover: false,
123
121
  getRef: getRef,
124
122
  highlight: isHighlight,
@@ -134,7 +132,7 @@ export default class Suggestions extends React.PureComponent {
134
132
  size: listItemSize,
135
133
  palette: palette,
136
134
  a11y: list_a11y
137
- }));
135
+ });
138
136
  })));
139
137
  }
140
138
 
@@ -1,4 +1,4 @@
1
- import { getLibraryConfig } from '../../Provider/Config';
1
+ import { getLibraryConfig } from '../../../Provider/Config';
2
2
  export const AdvancedGroupMultiSelect_defaultProps = {
3
3
  animationStyle: 'bounce',
4
4
  autoComplete: getLibraryConfig('autoComplete'),
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import PropTypes from 'prop-types';
@@ -623,14 +621,15 @@ const Popup = function (Component) {
623
621
  isPopupOpen
624
622
  } = this.state;
625
623
  const localState = isPopupReady ? this.state : {};
626
- return /*#__PURE__*/React.createElement(Component, _extends({}, this.props, this.state, {
624
+ return /*#__PURE__*/React.createElement(Component, { ...this.props,
625
+ ...this.state,
627
626
  openPopupOnly: this.openPopupOnly,
628
627
  closePopupOnly: this.closePopupOnly,
629
628
  togglePopup: this.togglePopup,
630
629
  removeClose: this.removeClose,
631
630
  getTargetRef: this.getTargetRef,
632
631
  getContainerRef: this.getContainerRef
633
- }));
632
+ });
634
633
  }
635
634
 
636
635
  }