@zohodesk/components 1.6.0 → 1.6.2

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 (560) hide show
  1. package/README.md +18 -1
  2. package/_react-cli.config.js +24 -0
  3. package/assets/Appearance/dark/mode/Component_DarkMode.module.css +330 -321
  4. package/assets/Appearance/dark/mode/Component_v1_DarkMode.module.css +15 -9
  5. package/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css +466 -466
  6. package/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css +34 -34
  7. package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +33 -29
  8. package/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css +466 -466
  9. package/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css +34 -34
  10. package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +33 -29
  11. package/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css +466 -466
  12. package/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css +34 -34
  13. package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +33 -29
  14. package/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css +466 -466
  15. package/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css +34 -34
  16. package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +33 -29
  17. package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css +466 -466
  18. package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css +34 -34
  19. package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +33 -29
  20. package/assets/Appearance/light/mode/Component_LightMode.module.css +330 -321
  21. package/assets/Appearance/light/mode/Component_v1_LightMode.module.css +15 -9
  22. package/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css +466 -466
  23. package/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css +34 -34
  24. package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +33 -29
  25. package/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css +466 -466
  26. package/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css +34 -34
  27. package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +33 -29
  28. package/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css +466 -466
  29. package/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css +34 -34
  30. package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +33 -29
  31. package/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css +466 -466
  32. package/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css +34 -34
  33. package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +33 -29
  34. package/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css +466 -466
  35. package/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css +34 -34
  36. package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +33 -29
  37. package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +330 -321
  38. package/assets/Appearance/pureDark/mode/Component_v1_PureDarkMode.module.css +15 -9
  39. package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css +466 -466
  40. package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css +34 -34
  41. package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +33 -29
  42. package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css +466 -466
  43. package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css +34 -34
  44. package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +33 -29
  45. package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css +466 -466
  46. package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css +34 -34
  47. package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +33 -29
  48. package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css +466 -466
  49. package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css +34 -34
  50. package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +33 -29
  51. package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css +466 -466
  52. package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css +34 -34
  53. package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +33 -29
  54. package/assets/Contrast/darkContrastLightness.module.css +36 -36
  55. package/assets/Contrast/lightContrastLightness.module.css +36 -36
  56. package/assets/Contrast/pureDarkContrastLightness.module.css +36 -36
  57. package/cbt.config.js +41 -0
  58. package/es/AppContainer/AppContainer.js +9 -10
  59. package/es/Avatar/Avatar.js +5 -4
  60. package/es/Avatar/Avatar.module.css +8 -8
  61. package/es/AvatarTeam/AvatarTeam.js +7 -7
  62. package/es/AvatarTeam/AvatarTeam.module.css +30 -30
  63. package/es/Button/Button.js +6 -5
  64. package/es/Button/css/Button.module.css +19 -19
  65. package/es/Buttongroup/Buttongroup.js +0 -0
  66. package/es/Buttongroup/Buttongroup.module.css +5 -3
  67. package/es/Card/Card.js +0 -0
  68. package/es/CheckBox/CheckBox.js +11 -11
  69. package/es/ColorSelect/ColorMultiSelect.js +4 -2
  70. package/es/ColorSelect/ColorSingleSelect.js +4 -2
  71. package/es/ColorSelect/_shared/ColorIndicator/ColorIndicator.js +4 -3
  72. package/es/ColorSelect/_shared/ColorIndicator/ColorIndicator.module.css +2 -2
  73. package/es/ColorSelect/_shared/ColoredTag/ColoredTag.js +4 -2
  74. package/es/ColorSelect/_shared/helpers/renderHelpers.js +6 -4
  75. package/es/DateTime/CalendarView.js +0 -0
  76. package/es/DateTime/DateTime.js +5 -4
  77. package/es/DateTime/DateWidget.js +5 -4
  78. package/es/DateTime/Time.js +11 -12
  79. package/es/DateTime/YearView.js +0 -0
  80. package/es/DateTime/common.js +0 -0
  81. package/es/DateTime/index.js +0 -0
  82. package/es/DateTime/objectUtils.js +0 -0
  83. package/es/DateTime/typeChecker.js +0 -0
  84. package/es/DateTime/validator.js +0 -0
  85. package/es/DropBox/DropBox.js +11 -10
  86. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +6 -3
  87. package/es/DropDown/DropDown.js +1 -2
  88. package/es/DropDown/DropDownHeading.js +0 -0
  89. package/es/DropDown/DropDownHeading.module.css +4 -4
  90. package/es/DropDown/DropDownItem.js +0 -0
  91. package/es/DropDown/DropDownItem.module.css +4 -4
  92. package/es/DropDown/DropDownSearch.js +0 -0
  93. package/es/DropDown/DropDownSearch.module.css +3 -3
  94. package/es/DropDown/DropDownSeparator.js +0 -0
  95. package/es/Label/Label.js +7 -7
  96. package/es/Label/Label.module.css +5 -5
  97. package/es/Layout/Box.js +0 -0
  98. package/es/Layout/Container.js +0 -0
  99. package/es/Layout/utils.js +0 -0
  100. package/es/ListItem/ListContainer.js +5 -6
  101. package/es/ListItem/ListItem.js +5 -4
  102. package/es/ListItem/ListItem.module.css +30 -19
  103. package/es/ListItem/ListItemWithAvatar.js +10 -11
  104. package/es/ListItem/ListItemWithCheckBox.js +5 -4
  105. package/es/ListItem/ListItemWithIcon.js +5 -4
  106. package/es/ListItem/ListItemWithRadio.js +5 -4
  107. package/es/Modal/Modal.js +5 -4
  108. package/es/MultiSelect/AdvancedGroupMultiSelect.js +2 -0
  109. package/es/MultiSelect/AdvancedMultiSelect.js +11 -8
  110. package/es/MultiSelect/EmptyState.js +16 -2
  111. package/es/MultiSelect/MultiSelect.js +10 -8
  112. package/es/MultiSelect/MultiSelectWithAvatar.js +7 -4
  113. package/es/MultiSelect/SelectedOptions.js +8 -6
  114. package/es/MultiSelect/Suggestions.js +8 -6
  115. package/es/MultiSelect/props/propTypes.js +3 -0
  116. package/es/Popup/Popup.js +0 -0
  117. package/es/Provider/LibraryContext.js +11 -3
  118. package/es/Radio/Radio.js +11 -11
  119. package/es/Radio/Radio.module.css +9 -8
  120. package/es/Responsive/CustomResponsive.js +0 -0
  121. package/es/ResponsiveDropBox/ResponsiveDropBox.js +4 -2
  122. package/es/Ribbon/Ribbon.js +0 -0
  123. package/es/Ribbon/Ribbon.module.css +25 -20
  124. package/es/Select/GroupSelect.js +13 -12
  125. package/es/Select/Select.js +14 -12
  126. package/es/Select/SelectWithAvatar.js +13 -12
  127. package/es/Select/SelectWithIcon.js +10 -8
  128. package/es/Select/props/propTypes.js +3 -0
  129. package/es/Stencils/Stencils.js +0 -0
  130. package/es/Stencils/Stencils.module.css +11 -11
  131. package/es/Switch/Switch.js +8 -8
  132. package/es/Tab/Tab.js +5 -4
  133. package/es/Tab/TabContentWrapper.js +5 -4
  134. package/es/Tab/TabWrapper.js +4 -2
  135. package/es/Tab/Tabs.js +19 -20
  136. package/es/Tag/Tag.js +11 -12
  137. package/es/Tag/Tag.module.css +18 -17
  138. package/es/TextBox/TextBox.js +5 -5
  139. package/es/TextBox/TextBox.module.css +9 -9
  140. package/es/TextBoxIcon/TextBoxIcon.js +4 -2
  141. package/es/TextBoxIcon/TextBoxIcon.module.css +1 -1
  142. package/es/Textarea/Textarea.js +7 -6
  143. package/es/Textarea/Textarea.module.css +18 -18
  144. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -4
  145. package/es/common/avatarsizes.module.css +16 -16
  146. package/es/common/common.module.css +2 -2
  147. package/es/deprecated/PortalLayer/PortalLayer.js +6 -8
  148. package/es/deprecated/Switch/Switch.js +8 -8
  149. package/es/shared/ArrowIcon/ArrowIcon.js +6 -6
  150. package/es/shared/InputFieldLine/InputFieldLine.js +6 -6
  151. package/es/shared/InputFieldLine/InputFieldLine.module.css +2 -2
  152. package/es/utils/Common.js +0 -0
  153. package/es/utils/dropDownUtils.js +0 -0
  154. package/es/v1/Label/Label.js +98 -33
  155. package/es/v1/Label/__tests__/Label.spec.js +214 -0
  156. package/es/v1/Label/__tests__/__snapshots__/Label.spec.js.snap +457 -0
  157. package/es/v1/Label/constants/index.js +8 -0
  158. package/es/v1/Label/css/Label_v1.module.css +42 -0
  159. package/es/v1/Label/css/cssJSLogic.js +44 -0
  160. package/es/v1/Label/props/defaultProps.js +14 -9
  161. package/es/v1/Label/props/propTypes.js +34 -14
  162. package/es/v1/Switch/Switch.js +7 -6
  163. package/es/v1/Switch/css/Switch_v1.module.css +28 -28
  164. package/lib/Avatar/Avatar.module.css +8 -8
  165. package/lib/AvatarTeam/AvatarTeam.js +0 -0
  166. package/lib/AvatarTeam/AvatarTeam.module.css +30 -30
  167. package/lib/Button/Button.js +0 -0
  168. package/lib/Button/css/Button.module.css +19 -19
  169. package/lib/Buttongroup/Buttongroup.js +0 -0
  170. package/lib/Buttongroup/Buttongroup.module.css +5 -3
  171. package/lib/Card/Card.js +0 -0
  172. package/lib/CheckBox/CheckBox.js +0 -0
  173. package/lib/ColorSelect/_shared/ColorIndicator/ColorIndicator.module.css +2 -2
  174. package/lib/DateTime/CalendarView.js +0 -0
  175. package/lib/DateTime/DateTime.js +0 -0
  176. package/lib/DateTime/DateWidget.js +0 -0
  177. package/lib/DateTime/YearView.js +0 -0
  178. package/lib/DateTime/common.js +0 -0
  179. package/lib/DateTime/index.js +0 -0
  180. package/lib/DateTime/objectUtils.js +0 -0
  181. package/lib/DateTime/typeChecker.js +0 -0
  182. package/lib/DateTime/validator.js +0 -0
  183. package/lib/DropBox/DropBox.js +0 -0
  184. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +6 -3
  185. package/lib/DropDown/DropDown.js +0 -0
  186. package/lib/DropDown/DropDownHeading.js +0 -0
  187. package/lib/DropDown/DropDownHeading.module.css +4 -4
  188. package/lib/DropDown/DropDownItem.js +0 -0
  189. package/lib/DropDown/DropDownItem.module.css +4 -4
  190. package/lib/DropDown/DropDownSearch.js +0 -0
  191. package/lib/DropDown/DropDownSearch.module.css +3 -3
  192. package/lib/DropDown/DropDownSeparator.js +0 -0
  193. package/lib/Label/Label.js +0 -0
  194. package/lib/Label/Label.module.css +5 -5
  195. package/lib/Layout/Box.js +0 -0
  196. package/lib/Layout/Container.js +0 -0
  197. package/lib/Layout/utils.js +0 -0
  198. package/lib/ListItem/ListItem.js +0 -0
  199. package/lib/ListItem/ListItem.module.css +30 -19
  200. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +2 -0
  201. package/lib/MultiSelect/AdvancedMultiSelect.js +2 -0
  202. package/lib/MultiSelect/EmptyState.js +17 -2
  203. package/lib/MultiSelect/MultiSelect.js +2 -0
  204. package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -0
  205. package/lib/MultiSelect/props/propTypes.js +3 -0
  206. package/lib/Popup/Popup.js +0 -0
  207. package/lib/Provider/LibraryContext.js +11 -3
  208. package/lib/Radio/Radio.js +0 -0
  209. package/lib/Radio/Radio.module.css +9 -8
  210. package/lib/Responsive/CustomResponsive.js +0 -0
  211. package/lib/Ribbon/Ribbon.js +0 -0
  212. package/lib/Ribbon/Ribbon.module.css +25 -20
  213. package/lib/Select/GroupSelect.js +2 -0
  214. package/lib/Select/Select.js +2 -0
  215. package/lib/Select/SelectWithAvatar.js +2 -0
  216. package/lib/Select/SelectWithIcon.js +2 -0
  217. package/lib/Select/props/propTypes.js +3 -0
  218. package/lib/Stencils/Stencils.js +0 -0
  219. package/lib/Stencils/Stencils.module.css +11 -11
  220. package/lib/Switch/Switch.js +0 -0
  221. package/lib/Tag/Tag.js +0 -0
  222. package/lib/Tag/Tag.module.css +18 -17
  223. package/lib/TextBox/TextBox.js +0 -0
  224. package/lib/TextBox/TextBox.module.css +9 -9
  225. package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
  226. package/lib/TextBoxIcon/TextBoxIcon.module.css +1 -1
  227. package/lib/Textarea/Textarea.js +0 -0
  228. package/lib/Textarea/Textarea.module.css +18 -18
  229. package/lib/common/avatarsizes.module.css +16 -16
  230. package/lib/common/common.module.css +2 -2
  231. package/lib/deprecated/Switch/Switch.js +0 -0
  232. package/lib/shared/InputFieldLine/InputFieldLine.module.css +2 -2
  233. package/lib/utils/Common.js +0 -0
  234. package/lib/utils/dropDownUtils.js +0 -0
  235. package/lib/v1/Label/Label.js +104 -36
  236. package/lib/v1/Label/__tests__/Label.spec.js +221 -0
  237. package/lib/v1/Label/__tests__/__snapshots__/Label.spec.js.snap +457 -0
  238. package/lib/v1/Label/constants/index.js +16 -0
  239. package/lib/v1/Label/css/Label_v1.module.css +42 -0
  240. package/lib/v1/Label/css/cssJSLogic.js +38 -0
  241. package/lib/v1/Label/props/defaultProps.js +16 -11
  242. package/lib/v1/Label/props/propTypes.js +36 -16
  243. package/lib/v1/Switch/css/Switch_v1.module.css +28 -28
  244. package/package.json +15 -20
  245. package/es/v1/Accordion/Accordion.js +0 -66
  246. package/es/v1/Accordion/AccordionItem.js +0 -57
  247. package/es/v1/Accordion/index.js +0 -2
  248. package/es/v1/Accordion/props/defaultProps.js +0 -12
  249. package/es/v1/Accordion/props/propTypes.js +0 -33
  250. package/es/v1/Animation/Animation.js +0 -45
  251. package/es/v1/Animation/props/defaultProps.js +0 -7
  252. package/es/v1/Animation/props/propTypes.js +0 -12
  253. package/es/v1/Animation/utils.js +0 -83
  254. package/es/v1/AppContainer/AppContainer.js +0 -115
  255. package/es/v1/AppContainer/props/defaultProps.js +0 -10
  256. package/es/v1/AppContainer/props/propTypes.js +0 -17
  257. package/es/v1/Avatar/Avatar.js +0 -139
  258. package/es/v1/Avatar/props/defaultProps.js +0 -17
  259. package/es/v1/Avatar/props/propTypes.js +0 -26
  260. package/es/v1/AvatarTeam/AvatarTeam.js +0 -70
  261. package/es/v1/AvatarTeam/props/defaultProps.js +0 -17
  262. package/es/v1/AvatarTeam/props/propTypes.js +0 -27
  263. package/es/v1/Button/Button.js +0 -67
  264. package/es/v1/Button/props/defaultProps.js +0 -18
  265. package/es/v1/Button/props/propTypes.js +0 -28
  266. package/es/v1/Buttongroup/Buttongroup.js +0 -31
  267. package/es/v1/Buttongroup/props/defaultProps.js +0 -6
  268. package/es/v1/Buttongroup/props/propTypes.js +0 -9
  269. package/es/v1/Card/Card.js +0 -237
  270. package/es/v1/Card/index.js +0 -4
  271. package/es/v1/Card/props/defaultProps.js +0 -25
  272. package/es/v1/Card/props/propTypes.js +0 -48
  273. package/es/v1/CheckBox/CheckBox.js +0 -161
  274. package/es/v1/CheckBox/props/defaultProps.js +0 -18
  275. package/es/v1/CheckBox/props/propTypes.js +0 -41
  276. package/es/v1/DateTime/CalendarView.js +0 -254
  277. package/es/v1/DateTime/DateTime.js +0 -779
  278. package/es/v1/DateTime/DateTimePopupFooter.js +0 -47
  279. package/es/v1/DateTime/DateTimePopupHeader.js +0 -105
  280. package/es/v1/DateTime/DateWidget.js +0 -1134
  281. package/es/v1/DateTime/DaysRow.js +0 -32
  282. package/es/v1/DateTime/Time.js +0 -181
  283. package/es/v1/DateTime/YearView.js +0 -264
  284. package/es/v1/DateTime/index.js +0 -1
  285. package/es/v1/DateTime/props/defaultProps.js +0 -63
  286. package/es/v1/DateTime/props/propTypes.js +0 -206
  287. package/es/v1/DropBox/DropBox.js +0 -79
  288. package/es/v1/DropBox/DropBoxElement/DropBoxElement.js +0 -133
  289. package/es/v1/DropBox/DropBoxElement/props/defaultProps.js +0 -18
  290. package/es/v1/DropBox/DropBoxElement/props/propTypes.js +0 -51
  291. package/es/v1/DropBox/props/defaultProps.js +0 -14
  292. package/es/v1/DropBox/props/propTypes.js +0 -16
  293. package/es/v1/DropBox/utils/isMobilePopover.js +0 -17
  294. package/es/v1/DropDown/DropDown.js +0 -53
  295. package/es/v1/DropDown/DropDownHeading.js +0 -36
  296. package/es/v1/DropDown/DropDownItem.js +0 -56
  297. package/es/v1/DropDown/DropDownSearch.js +0 -58
  298. package/es/v1/DropDown/DropDownSeparator.js +0 -12
  299. package/es/v1/DropDown/props/defaultProps.js +0 -21
  300. package/es/v1/DropDown/props/propTypes.js +0 -66
  301. package/es/v1/Heading/Heading.js +0 -35
  302. package/es/v1/Heading/props/defaultProps.js +0 -5
  303. package/es/v1/Heading/props/propTypes.js +0 -12
  304. package/es/v1/Layout/Box.js +0 -115
  305. package/es/v1/Layout/Container.js +0 -132
  306. package/es/v1/Layout/index.js +0 -2
  307. package/es/v1/Layout/props/defaultProps.js +0 -16
  308. package/es/v1/Layout/props/propTypes.js +0 -46
  309. package/es/v1/ListItem/ListContainer.js +0 -104
  310. package/es/v1/ListItem/ListItem.js +0 -123
  311. package/es/v1/ListItem/ListItemWithAvatar.js +0 -143
  312. package/es/v1/ListItem/ListItemWithCheckBox.js +0 -104
  313. package/es/v1/ListItem/ListItemWithIcon.js +0 -126
  314. package/es/v1/ListItem/ListItemWithRadio.js +0 -105
  315. package/es/v1/ListItem/index.js +0 -6
  316. package/es/v1/ListItem/props/defaultProps.js +0 -97
  317. package/es/v1/ListItem/props/propTypes.js +0 -202
  318. package/es/v1/Modal/Modal.js +0 -125
  319. package/es/v1/Modal/props/defaultProps.js +0 -3
  320. package/es/v1/Modal/props/propTypes.js +0 -7
  321. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +0 -1092
  322. package/es/v1/MultiSelect/AdvancedMultiSelect.js +0 -583
  323. package/es/v1/MultiSelect/EmptyState.js +0 -64
  324. package/es/v1/MultiSelect/MobileHeader/MobileHeader.js +0 -50
  325. package/es/v1/MultiSelect/MobileHeader/props/defaultProps.js +0 -7
  326. package/es/v1/MultiSelect/MobileHeader/props/propTypes.js +0 -7
  327. package/es/v1/MultiSelect/MultiSelect.js +0 -1119
  328. package/es/v1/MultiSelect/MultiSelectHeader.js +0 -32
  329. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +0 -208
  330. package/es/v1/MultiSelect/SelectedOptions.js +0 -84
  331. package/es/v1/MultiSelect/Suggestions.js +0 -141
  332. package/es/v1/MultiSelect/index.js +0 -4
  333. package/es/v1/MultiSelect/props/defaultProps.js +0 -165
  334. package/es/v1/MultiSelect/props/propTypes.js +0 -322
  335. package/es/v1/PopOver/PopOver.js +0 -176
  336. package/es/v1/PopOver/props/defaultProps.js +0 -7
  337. package/es/v1/PopOver/props/propTypes.js +0 -53
  338. package/es/v1/Popup/Popup.js +0 -644
  339. package/es/v1/Radio/Radio.js +0 -130
  340. package/es/v1/Radio/props/defaultProps.js +0 -15
  341. package/es/v1/Radio/props/propTypes.js +0 -40
  342. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +0 -56
  343. package/es/v1/ResponsiveDropBox/props/defaultProps.js +0 -4
  344. package/es/v1/ResponsiveDropBox/props/propTypes.js +0 -8
  345. package/es/v1/Ribbon/Ribbon.js +0 -33
  346. package/es/v1/Ribbon/props/defaultProps.js +0 -9
  347. package/es/v1/Ribbon/props/propTypes.js +0 -11
  348. package/es/v1/RippleEffect/RippleEffect.js +0 -25
  349. package/es/v1/RippleEffect/props/defaultProps.js +0 -10
  350. package/es/v1/RippleEffect/props/propTypes.js +0 -12
  351. package/es/v1/Select/GroupSelect.js +0 -818
  352. package/es/v1/Select/Select.js +0 -975
  353. package/es/v1/Select/SelectWithAvatar.js +0 -356
  354. package/es/v1/Select/SelectWithIcon.js +0 -545
  355. package/es/v1/Select/index.js +0 -4
  356. package/es/v1/Select/props/defaultProps.js +0 -126
  357. package/es/v1/Select/props/propTypes.js +0 -297
  358. package/es/v1/Stencils/Stencils.js +0 -26
  359. package/es/v1/Stencils/props/defaultProps.js +0 -6
  360. package/es/v1/Stencils/props/propTypes.js +0 -7
  361. package/es/v1/Tab/Tab.js +0 -106
  362. package/es/v1/Tab/TabContent.js +0 -30
  363. package/es/v1/Tab/TabContentWrapper.js +0 -33
  364. package/es/v1/Tab/TabWrapper.js +0 -55
  365. package/es/v1/Tab/Tabs.js +0 -619
  366. package/es/v1/Tab/index.js +0 -5
  367. package/es/v1/Tab/props/defaultProps.js +0 -51
  368. package/es/v1/Tab/props/propTypes.js +0 -117
  369. package/es/v1/Tab/v1Tab.module.css +0 -100
  370. package/es/v1/Tab/v1TabContent.module.css +0 -4
  371. package/es/v1/Tab/v1Tabs.module.css +0 -167
  372. package/es/v1/Tag/Tag.js +0 -140
  373. package/es/v1/Tag/props/defaultProps.js +0 -15
  374. package/es/v1/Tag/props/propTypes.js +0 -36
  375. package/es/v1/TextBox/TextBox.js +0 -160
  376. package/es/v1/TextBox/props/defaultProps.js +0 -20
  377. package/es/v1/TextBox/props/propTypes.js +0 -56
  378. package/es/v1/TextBoxIcon/TextBoxIcon.js +0 -166
  379. package/es/v1/TextBoxIcon/props/defaultProps.js +0 -24
  380. package/es/v1/TextBoxIcon/props/propTypes.js +0 -53
  381. package/es/v1/Textarea/Textarea.js +0 -100
  382. package/es/v1/Textarea/props/defaultProps.js +0 -17
  383. package/es/v1/Textarea/props/propTypes.js +0 -31
  384. package/es/v1/Tooltip/Tooltip.js +0 -530
  385. package/es/v1/Tooltip/props/defaultProps.js +0 -4
  386. package/es/v1/Tooltip/props/propTypes.js +0 -5
  387. package/es/v1/Typography/Typography.js +0 -38
  388. package/es/v1/Typography/css/cssJSLogic.js +0 -56
  389. package/es/v1/Typography/css/v1_Typography.module.css +0 -380
  390. package/es/v1/Typography/props/defaultProps.js +0 -8
  391. package/es/v1/Typography/props/propTypes.js +0 -27
  392. package/es/v1/Typography/utils/index.js +0 -50
  393. package/es/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -69
  394. package/es/v1/VelocityAnimation/VelocityAnimation/props/defaultProps.js +0 -7
  395. package/es/v1/VelocityAnimation/VelocityAnimation/props/propTypes.js +0 -12
  396. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +0 -99
  397. package/es/v1/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +0 -15
  398. package/es/v1/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +0 -19
  399. package/es/v1/semantic/Button/Button.js +0 -53
  400. package/es/v1/semantic/Button/props/defaultProps.js +0 -12
  401. package/es/v1/semantic/Button/props/propTypes.js +0 -22
  402. package/es/v1/semantic/index.js +0 -1
  403. package/lib/v1/Accordion/Accordion.js +0 -98
  404. package/lib/v1/Accordion/AccordionItem.js +0 -68
  405. package/lib/v1/Accordion/index.js +0 -23
  406. package/lib/v1/Accordion/props/defaultProps.js +0 -20
  407. package/lib/v1/Accordion/props/propTypes.js +0 -45
  408. package/lib/v1/Animation/Animation.js +0 -61
  409. package/lib/v1/Animation/props/defaultProps.js +0 -14
  410. package/lib/v1/Animation/props/propTypes.js +0 -23
  411. package/lib/v1/Animation/utils.js +0 -94
  412. package/lib/v1/AppContainer/AppContainer.js +0 -146
  413. package/lib/v1/AppContainer/props/defaultProps.js +0 -17
  414. package/lib/v1/AppContainer/props/propTypes.js +0 -28
  415. package/lib/v1/Avatar/Avatar.js +0 -191
  416. package/lib/v1/Avatar/props/defaultProps.js +0 -24
  417. package/lib/v1/Avatar/props/propTypes.js +0 -37
  418. package/lib/v1/AvatarTeam/AvatarTeam.js +0 -81
  419. package/lib/v1/AvatarTeam/props/defaultProps.js +0 -24
  420. package/lib/v1/AvatarTeam/props/propTypes.js +0 -38
  421. package/lib/v1/Button/Button.js +0 -82
  422. package/lib/v1/Button/props/defaultProps.js +0 -27
  423. package/lib/v1/Button/props/propTypes.js +0 -40
  424. package/lib/v1/Buttongroup/Buttongroup.js +0 -44
  425. package/lib/v1/Buttongroup/props/defaultProps.js +0 -13
  426. package/lib/v1/Buttongroup/props/propTypes.js +0 -20
  427. package/lib/v1/Card/Card.js +0 -269
  428. package/lib/v1/Card/index.js +0 -37
  429. package/lib/v1/Card/props/defaultProps.js +0 -35
  430. package/lib/v1/Card/props/propTypes.js +0 -62
  431. package/lib/v1/CheckBox/CheckBox.js +0 -172
  432. package/lib/v1/CheckBox/props/defaultProps.js +0 -25
  433. package/lib/v1/CheckBox/props/propTypes.js +0 -52
  434. package/lib/v1/DateTime/CalendarView.js +0 -322
  435. package/lib/v1/DateTime/DateTime.js +0 -877
  436. package/lib/v1/DateTime/DateTimePopupFooter.js +0 -96
  437. package/lib/v1/DateTime/DateTimePopupHeader.js +0 -166
  438. package/lib/v1/DateTime/DateWidget.js +0 -1163
  439. package/lib/v1/DateTime/DaysRow.js +0 -81
  440. package/lib/v1/DateTime/Time.js +0 -270
  441. package/lib/v1/DateTime/YearView.js +0 -325
  442. package/lib/v1/DateTime/index.js +0 -15
  443. package/lib/v1/DateTime/props/defaultProps.js +0 -76
  444. package/lib/v1/DateTime/props/propTypes.js +0 -238
  445. package/lib/v1/DropBox/DropBox.js +0 -109
  446. package/lib/v1/DropBox/DropBoxElement/DropBoxElement.js +0 -146
  447. package/lib/v1/DropBox/DropBoxElement/props/defaultProps.js +0 -25
  448. package/lib/v1/DropBox/DropBoxElement/props/propTypes.js +0 -62
  449. package/lib/v1/DropBox/props/defaultProps.js +0 -30
  450. package/lib/v1/DropBox/props/propTypes.js +0 -35
  451. package/lib/v1/DropBox/utils/isMobilePopover.js +0 -25
  452. package/lib/v1/DropDown/DropDown.js +0 -74
  453. package/lib/v1/DropDown/DropDownHeading.js +0 -47
  454. package/lib/v1/DropDown/DropDownItem.js +0 -75
  455. package/lib/v1/DropDown/DropDownSearch.js +0 -77
  456. package/lib/v1/DropDown/DropDownSeparator.js +0 -24
  457. package/lib/v1/DropDown/props/defaultProps.js +0 -31
  458. package/lib/v1/DropDown/props/propTypes.js +0 -87
  459. package/lib/v1/Heading/Heading.js +0 -53
  460. package/lib/v1/Heading/props/defaultProps.js +0 -12
  461. package/lib/v1/Heading/props/propTypes.js +0 -23
  462. package/lib/v1/Layout/Box.js +0 -128
  463. package/lib/v1/Layout/Container.js +0 -145
  464. package/lib/v1/Layout/index.js +0 -23
  465. package/lib/v1/Layout/props/defaultProps.js +0 -24
  466. package/lib/v1/Layout/props/propTypes.js +0 -58
  467. package/lib/v1/ListItem/ListContainer.js +0 -128
  468. package/lib/v1/ListItem/ListItem.js +0 -138
  469. package/lib/v1/ListItem/ListItemWithAvatar.js +0 -167
  470. package/lib/v1/ListItem/ListItemWithCheckBox.js +0 -126
  471. package/lib/v1/ListItem/ListItemWithIcon.js +0 -143
  472. package/lib/v1/ListItem/ListItemWithRadio.js +0 -127
  473. package/lib/v1/ListItem/index.js +0 -55
  474. package/lib/v1/ListItem/props/defaultProps.js +0 -109
  475. package/lib/v1/ListItem/props/propTypes.js +0 -196
  476. package/lib/v1/Modal/Modal.js +0 -166
  477. package/lib/v1/Modal/props/defaultProps.js +0 -10
  478. package/lib/v1/Modal/props/propTypes.js +0 -18
  479. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +0 -1180
  480. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +0 -649
  481. package/lib/v1/MultiSelect/EmptyState.js +0 -112
  482. package/lib/v1/MultiSelect/MobileHeader/MobileHeader.js +0 -62
  483. package/lib/v1/MultiSelect/MobileHeader/props/defaultProps.js +0 -14
  484. package/lib/v1/MultiSelect/MobileHeader/props/propTypes.js +0 -18
  485. package/lib/v1/MultiSelect/MultiSelect.js +0 -1202
  486. package/lib/v1/MultiSelect/MultiSelectHeader.js +0 -78
  487. package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +0 -262
  488. package/lib/v1/MultiSelect/SelectedOptions.js +0 -130
  489. package/lib/v1/MultiSelect/Suggestions.js +0 -196
  490. package/lib/v1/MultiSelect/index.js +0 -39
  491. package/lib/v1/MultiSelect/props/defaultProps.js +0 -181
  492. package/lib/v1/MultiSelect/props/propTypes.js +0 -350
  493. package/lib/v1/PopOver/PopOver.js +0 -197
  494. package/lib/v1/PopOver/props/defaultProps.js +0 -15
  495. package/lib/v1/PopOver/props/propTypes.js +0 -66
  496. package/lib/v1/Popup/Popup.js +0 -715
  497. package/lib/v1/Radio/Radio.js +0 -141
  498. package/lib/v1/Radio/props/defaultProps.js +0 -22
  499. package/lib/v1/Radio/props/propTypes.js +0 -51
  500. package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +0 -79
  501. package/lib/v1/ResponsiveDropBox/props/defaultProps.js +0 -11
  502. package/lib/v1/ResponsiveDropBox/props/propTypes.js +0 -27
  503. package/lib/v1/Ribbon/Ribbon.js +0 -44
  504. package/lib/v1/Ribbon/props/defaultProps.js +0 -16
  505. package/lib/v1/Ribbon/props/propTypes.js +0 -22
  506. package/lib/v1/RippleEffect/RippleEffect.js +0 -40
  507. package/lib/v1/RippleEffect/props/defaultProps.js +0 -17
  508. package/lib/v1/RippleEffect/props/propTypes.js +0 -23
  509. package/lib/v1/Select/GroupSelect.js +0 -894
  510. package/lib/v1/Select/Select.js +0 -1025
  511. package/lib/v1/Select/SelectWithAvatar.js +0 -406
  512. package/lib/v1/Select/SelectWithIcon.js +0 -607
  513. package/lib/v1/Select/index.js +0 -39
  514. package/lib/v1/Select/props/defaultProps.js +0 -125
  515. package/lib/v1/Select/props/propTypes.js +0 -319
  516. package/lib/v1/Stencils/Stencils.js +0 -43
  517. package/lib/v1/Stencils/props/defaultProps.js +0 -13
  518. package/lib/v1/Stencils/props/propTypes.js +0 -18
  519. package/lib/v1/Tab/Tab.js +0 -132
  520. package/lib/v1/Tab/TabContent.js +0 -42
  521. package/lib/v1/Tab/TabContentWrapper.js +0 -47
  522. package/lib/v1/Tab/TabWrapper.js +0 -89
  523. package/lib/v1/Tab/Tabs.js +0 -688
  524. package/lib/v1/Tab/index.js +0 -47
  525. package/lib/v1/Tab/props/defaultProps.js +0 -62
  526. package/lib/v1/Tab/props/propTypes.js +0 -132
  527. package/lib/v1/Tab/v1Tab.module.css +0 -100
  528. package/lib/v1/Tab/v1TabContent.module.css +0 -4
  529. package/lib/v1/Tab/v1Tabs.module.css +0 -167
  530. package/lib/v1/Tag/Tag.js +0 -160
  531. package/lib/v1/Tag/props/defaultProps.js +0 -22
  532. package/lib/v1/Tag/props/propTypes.js +0 -47
  533. package/lib/v1/TextBox/TextBox.js +0 -175
  534. package/lib/v1/TextBox/props/defaultProps.js +0 -27
  535. package/lib/v1/TextBox/props/propTypes.js +0 -62
  536. package/lib/v1/TextBoxIcon/TextBoxIcon.js +0 -206
  537. package/lib/v1/TextBoxIcon/props/defaultProps.js +0 -31
  538. package/lib/v1/TextBoxIcon/props/propTypes.js +0 -72
  539. package/lib/v1/Textarea/Textarea.js +0 -118
  540. package/lib/v1/Textarea/props/defaultProps.js +0 -24
  541. package/lib/v1/Textarea/props/propTypes.js +0 -42
  542. package/lib/v1/Tooltip/Tooltip.js +0 -599
  543. package/lib/v1/Tooltip/props/defaultProps.js +0 -11
  544. package/lib/v1/Tooltip/props/propTypes.js +0 -16
  545. package/lib/v1/Typography/Typography.js +0 -56
  546. package/lib/v1/Typography/css/cssJSLogic.js +0 -48
  547. package/lib/v1/Typography/css/v1_Typography.module.css +0 -380
  548. package/lib/v1/Typography/props/defaultProps.js +0 -15
  549. package/lib/v1/Typography/props/propTypes.js +0 -38
  550. package/lib/v1/Typography/utils/index.js +0 -59
  551. package/lib/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -90
  552. package/lib/v1/VelocityAnimation/VelocityAnimation/props/defaultProps.js +0 -14
  553. package/lib/v1/VelocityAnimation/VelocityAnimation/props/propTypes.js +0 -23
  554. package/lib/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +0 -126
  555. package/lib/v1/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +0 -22
  556. package/lib/v1/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +0 -30
  557. package/lib/v1/semantic/Button/Button.js +0 -63
  558. package/lib/v1/semantic/Button/props/defaultProps.js +0 -19
  559. package/lib/v1/semantic/Button/props/propTypes.js +0 -33
  560. package/lib/v1/semantic/index.js +0 -15
@@ -1,3 +1,5 @@
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
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import { MultiSelect_propTypes } from "./props/propTypes";
@@ -995,7 +997,7 @@ export class MultiSelectComponent extends React.Component {
995
997
  }, /*#__PURE__*/React.createElement("span", {
996
998
  className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
997
999
  ${customChildrenClass ? customChildrenClass : ''}`
998
- }, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
1000
+ }, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
999
1001
  isDisabled: isDisabled,
1000
1002
  inputRef: this.searchInputRef,
1001
1003
  needBorder: false,
@@ -1032,9 +1034,8 @@ export class MultiSelectComponent extends React.Component {
1032
1034
  isPopupOpened: isPopupReady,
1033
1035
  isReadOnly: isReadOnly,
1034
1036
  isDisabled: isDisabled
1035
- }) : renderCustomToggleIndicator,
1036
- ...TextBoxIconProps
1037
- }, /*#__PURE__*/React.createElement(Container, {
1037
+ }) : renderCustomToggleIndicator
1038
+ }, TextBoxIconProps), /*#__PURE__*/React.createElement(Container, {
1038
1039
  isInline: true,
1039
1040
  isCover: false,
1040
1041
  alignBox: "row",
@@ -1065,6 +1066,7 @@ export class MultiSelectComponent extends React.Component {
1065
1066
  searchEmptyMessage,
1066
1067
  emptyMessage,
1067
1068
  noMoreOptionsMessage,
1069
+ renderCustomEmptyState,
1068
1070
  dropBoxSize,
1069
1071
  isPopupOpen,
1070
1072
  isPopupReady,
@@ -1181,7 +1183,7 @@ export class MultiSelectComponent extends React.Component {
1181
1183
  eleRef: this.suggestionContainerRef
1182
1184
  }, isSearching ? /*#__PURE__*/React.createElement("div", {
1183
1185
  className: style[palette]
1184
- }, searchText) : suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, {
1186
+ }, searchText) : suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, _extends({
1185
1187
  a11y: a11yProps,
1186
1188
  needBorder: false,
1187
1189
  key: searchStr.trim(),
@@ -1197,13 +1199,13 @@ export class MultiSelectComponent extends React.Component {
1197
1199
  palette: palette,
1198
1200
  selectedOptions: selectedOptionIds,
1199
1201
  limit: limit,
1200
- limitReachedMessage: limitReachedMessage,
1201
- ...SuggestionsProps
1202
- }) : /*#__PURE__*/React.createElement(EmptyState, {
1202
+ limitReachedMessage: limitReachedMessage
1203
+ }, SuggestionsProps)) : /*#__PURE__*/React.createElement(EmptyState, {
1203
1204
  isLoading: isFetchingOptions,
1204
1205
  options: options,
1205
1206
  searchString: searchStr,
1206
1207
  suggestions: suggestions,
1208
+ renderCustomEmptyState: renderCustomEmptyState,
1207
1209
  dataId: dataId,
1208
1210
  palette: palette,
1209
1211
  i18nKeys: i18nKeys,
@@ -1,3 +1,5 @@
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
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import { MultiSelectWithAvatar_propTypes } from "./props/propTypes";
@@ -67,6 +69,7 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
67
69
  searchEmptyMessage,
68
70
  emptyMessage,
69
71
  noMoreOptionsMessage,
72
+ renderCustomEmptyState,
70
73
  dropBoxSize,
71
74
  isPopupOpen,
72
75
  isPopupReady,
@@ -175,7 +178,7 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
175
178
  shrink: true,
176
179
  customClass: !isModel && dropBoxSize ? style[dropBoxSize] : '',
177
180
  eleRef: this.suggestionContainerRef
178
- }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, {
181
+ }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, _extends({
179
182
  needTick: keepSelectedOptions,
180
183
  suggestions: suggestions,
181
184
  getRef: this.suggestionItemRef,
@@ -190,13 +193,13 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
190
193
  role: 'option'
191
194
  },
192
195
  limit: limit,
193
- limitReachedMessage: limitReachedMessage,
194
- ...SuggestionsProps
195
- }) : /*#__PURE__*/React.createElement(EmptyState, {
196
+ limitReachedMessage: limitReachedMessage
197
+ }, SuggestionsProps)) : /*#__PURE__*/React.createElement(EmptyState, {
196
198
  isLoading: isFetchingOptions,
197
199
  options: options,
198
200
  searchString: searchStr,
199
201
  suggestions: suggestions,
202
+ renderCustomEmptyState: renderCustomEmptyState,
200
203
  dataId: dataId,
201
204
  palette: palette,
202
205
  i18nKeys: i18nKeys,
@@ -1,3 +1,5 @@
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
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import { SelectedOptions_propTypes } from "./props/propTypes";
@@ -58,21 +60,21 @@ export default class SelectedOptions extends React.PureComponent {
58
60
  className: `${style.tag} ${style[size]}`,
59
61
  key: `${id}photoTag`,
60
62
  dataId: dataId
61
- }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
63
+ }, /*#__PURE__*/React.createElement(Tag, _extends({}, commonProps, {
62
64
  active: highLightedSelectOptions.indexOf(id) >= 0,
63
65
  hasAvatar: true,
64
66
  imageURL: photoURL
65
- }));
67
+ })));
66
68
  } else if (optionType === 'icon') {
67
69
  return /*#__PURE__*/React.createElement(Box, {
68
70
  className: `${style.tag} ${style[size]}`,
69
71
  key: `${id}iconTag`,
70
72
  dataId: dataId
71
- }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
73
+ }, /*#__PURE__*/React.createElement(Tag, _extends({}, commonProps, {
72
74
  active: highLightedSelectOptions.indexOf(id) >= 0,
73
75
  iconName: icon,
74
76
  iconSize: iconSize
75
- }));
77
+ })));
76
78
  } else if (optionType === 'custom') {
77
79
  return /*#__PURE__*/React.createElement(Box, {
78
80
  className: `${style.tag} ${style[size]}`,
@@ -98,9 +100,9 @@ export default class SelectedOptions extends React.PureComponent {
98
100
  className: `${style.tag} ${style[size]}`,
99
101
  key: `${id}tag`,
100
102
  dataId: dataId
101
- }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
103
+ }, /*#__PURE__*/React.createElement(Tag, _extends({}, commonProps, {
102
104
  active: highLightedSelectOptions.indexOf(id) >= 0
103
- }));
105
+ })));
104
106
  }));
105
107
  }
106
108
 
@@ -1,3 +1,5 @@
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
+
1
3
  /**** Libraries ****/
2
4
  import React, { useMemo } from 'react';
3
5
  import { Suggestions_propTypes } from "./props/propTypes";
@@ -103,7 +105,7 @@ export default class Suggestions extends React.PureComponent {
103
105
  }
104
106
 
105
107
  if (optionType === 'avatar') {
106
- return /*#__PURE__*/React.createElement(ListItemWithAvatar, { ...commonProps,
108
+ return /*#__PURE__*/React.createElement(ListItemWithAvatar, _extends({}, commonProps, {
107
109
  autoHover: false,
108
110
  getRef: getListItemRef,
109
111
  highlight: isHighlight,
@@ -123,9 +125,9 @@ export default class Suggestions extends React.PureComponent {
123
125
  palette: palette,
124
126
  a11y: list_a11y,
125
127
  secondaryValue: secondaryValue
126
- });
128
+ }));
127
129
  } else if (optionType === 'icon') {
128
- return /*#__PURE__*/React.createElement(ListItemWithIcon, { ...commonProps,
130
+ return /*#__PURE__*/React.createElement(ListItemWithIcon, _extends({}, commonProps, {
129
131
  autoHover: false,
130
132
  getRef: getListItemRef,
131
133
  highlight: isHighlight,
@@ -144,10 +146,10 @@ export default class Suggestions extends React.PureComponent {
144
146
  palette: palette,
145
147
  a11y: list_a11y,
146
148
  secondaryValue: secondaryValue
147
- });
149
+ }));
148
150
  }
149
151
 
150
- return /*#__PURE__*/React.createElement(ListItem, { ...commonProps,
152
+ return /*#__PURE__*/React.createElement(ListItem, _extends({}, commonProps, {
151
153
  autoHover: false,
152
154
  getRef: getListItemRef,
153
155
  highlight: isHighlight,
@@ -165,7 +167,7 @@ export default class Suggestions extends React.PureComponent {
165
167
  a11y: list_a11y,
166
168
  secondaryValue: secondaryValue,
167
169
  renderBeforeChildren: renderNode(renderBeforeChildren, suggestion)
168
- });
170
+ }));
169
171
  }
170
172
 
171
173
  renderVirtualizerSuggestionListItem(_ref3) {
@@ -3,6 +3,7 @@ export const EmptyState_propTypes = {
3
3
  dataId: PropTypes.string,
4
4
  emptyMessage: PropTypes.string,
5
5
  getCustomEmptyState: PropTypes.func,
6
+ renderCustomEmptyState: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),
6
7
  i18nKeys: PropTypes.shape({
7
8
  loadingText: PropTypes.string,
8
9
  emptyText: PropTypes.string,
@@ -83,6 +84,7 @@ export const MultiSelect_propTypes = {
83
84
  position: PropTypes.string,
84
85
  prefixText: PropTypes.string,
85
86
  removeClose: PropTypes.func,
87
+ renderCustomEmptyState: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),
86
88
  searchDebounceTime: PropTypes.number,
87
89
  searchEmptyMessage: PropTypes.string,
88
90
  selectedOptions: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])).isRequired,
@@ -240,6 +242,7 @@ export const AdvancedGroupMultiSelect_propTypes = {
240
242
  placeHolder: PropTypes.string,
241
243
  position: PropTypes.string,
242
244
  removeClose: PropTypes.func,
245
+ renderCustomEmptyState: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),
243
246
  searchDebounceTime: PropTypes.number,
244
247
  searchEmptyMessage: PropTypes.string,
245
248
  selectAllText: PropTypes.string,
package/es/Popup/Popup.js CHANGED
File without changes
@@ -11,6 +11,8 @@ const LibraryContextProvider = _ref => {
11
11
  hasTagColorInheritedToText,
12
12
  shouldIndicateSwitchState,
13
13
  shouldStrikeThroughDisabledButton,
14
+ labelRequiredType,
15
+ shouldHighlightRequiredLabel,
14
16
  children
15
17
  } = _ref;
16
18
  const [value, setValue] = useState({
@@ -19,7 +21,9 @@ const LibraryContextProvider = _ref => {
19
21
  coloredTagVariant,
20
22
  hasTagColorInheritedToText,
21
23
  shouldIndicateSwitchState,
22
- shouldStrikeThroughDisabledButton
24
+ shouldStrikeThroughDisabledButton,
25
+ labelRequiredType,
26
+ shouldHighlightRequiredLabel
23
27
  });
24
28
 
25
29
  function setGlobalContext(key, data) {
@@ -44,7 +48,9 @@ LibraryContextProvider.propTypes = {
44
48
  hasTagColorInheritedToText: PropTypes.bool,
45
49
  direction: PropTypes.string,
46
50
  shouldIndicateSwitchState: PropTypes.bool,
47
- shouldStrikeThroughDisabledButton: PropTypes.bool
51
+ shouldStrikeThroughDisabledButton: PropTypes.bool,
52
+ labelRequiredType: PropTypes.oneOf(['asterisk', 'text']),
53
+ shouldHighlightRequiredLabel: PropTypes.bool
48
54
  };
49
55
  LibraryContextProvider.defaultProps = {
50
56
  isReducedMotion: getLibraryConfig('isReducedMotion'),
@@ -52,6 +58,8 @@ LibraryContextProvider.defaultProps = {
52
58
  coloredTagVariant: 'bold',
53
59
  hasTagColorInheritedToText: true,
54
60
  shouldIndicateSwitchState: false,
55
- shouldStrikeThroughDisabledButton: false
61
+ shouldStrikeThroughDisabledButton: false,
62
+ labelRequiredType: 'asterisk',
63
+ shouldHighlightRequiredLabel: true
56
64
  };
57
65
  export default LibraryContextProvider;
package/es/Radio/Radio.js CHANGED
@@ -1,3 +1,5 @@
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
+
1
3
  /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium'] }] */
2
4
  import React from 'react';
3
5
  import { defaultProps } from "./props/defaultProps";
@@ -78,7 +80,7 @@ export default class Radio extends React.Component {
78
80
  LabelProps = {},
79
81
  secondaryTextProps = {}
80
82
  } = customProps;
81
- return /*#__PURE__*/React.createElement(Container, {
83
+ return /*#__PURE__*/React.createElement(Container, _extends({
82
84
  dataId: value ? value.toLowerCase() : 'RadioComp',
83
85
  isCover: false,
84
86
  isInline: text ? false : true,
@@ -94,9 +96,8 @@ export default class Radio extends React.Component {
94
96
  "aria-Hidden": ariaHidden,
95
97
  "aria-label": ariaLabel,
96
98
  "aria-labelledby": ariaLabelledby,
97
- "aria-readonly": ariaReadonly,
98
- ...ContainerProps
99
- }, /*#__PURE__*/React.createElement(Box, {
99
+ "aria-readonly": ariaReadonly
100
+ }, ContainerProps), /*#__PURE__*/React.createElement(Box, {
100
101
  className: `${style.radio} ${checked ? `${style[`rdBox${palette}`]}` : ''}
101
102
  ${!isEditable ? '' : `${style[`hover${palette}`]}`} ${style[size]} ${isFilled ? style.filled : ''} ${style[`centerPath${palette}`]} ${customRadio} ${!isEditable ? `${style.disabled}` : ''} ${secondaryText ? style.withSecondaryText : ''}`,
102
103
  align: secondaryText ? "start" : undefined
@@ -123,7 +124,7 @@ export default class Radio extends React.Component {
123
124
  }) : null))), (text || secondaryText) && /*#__PURE__*/React.createElement(Box, {
124
125
  flexible: true,
125
126
  className: style.labelContainer
126
- }, text && /*#__PURE__*/React.createElement(Label, {
127
+ }, text && /*#__PURE__*/React.createElement(Label, _extends({
127
128
  text: text,
128
129
  palette: labelPalette,
129
130
  size: labelSize,
@@ -133,15 +134,14 @@ export default class Radio extends React.Component {
133
134
  variant: variant,
134
135
  title: toolTip ? toolTip : text,
135
136
  customClass: `${checked && active ? `${style[`${palette}checkedActive`]}` : ''} ${disabled ? `${style.disabled}` : ''}
136
- ${style[`${palette}Label`]} ${isEditable ? style.pointer : ''} ${isReadOnly ? style.readonly : ''} ${customLabel}`,
137
- ...LabelProps
138
- }), secondaryText ? /*#__PURE__*/React.createElement(Typography, {
137
+ ${style[`${palette}Label`]} ${isEditable ? style.pointer : ''} ${isReadOnly ? style.readonly : ''} ${customLabel}`
138
+ }, LabelProps)), secondaryText ? /*#__PURE__*/React.createElement(Typography, _extends({
139
139
  $ui_size: "12",
140
- $ui_lineHeight: "1.2",
141
- ...secondaryTextProps,
140
+ $ui_lineHeight: "1.2"
141
+ }, secondaryTextProps, {
142
142
  $i18n_dataTitle: toolTip ? null : secondaryText,
143
143
  $ui_className: `${style.secondaryText} ${customSecondaryText}`
144
- }, secondaryText) : null), children, renderRightPlaceholderNode ? renderRightPlaceholderNode : null);
144
+ }), secondaryText) : null), children, renderRightPlaceholderNode ? renderRightPlaceholderNode : null);
145
145
  }
146
146
 
147
147
  }
@@ -1,16 +1,17 @@
1
1
  .varClass {
2
2
  /* radio default variables */
3
- --radio_width: var(--zd_size16);
4
- --radio_height: var(--zd_size16);
3
+ --radio_width: 16px;
4
+ --radio_height: 16px;
5
5
  --radio_bg_color: none;
6
6
  --radio_stroke_width: 2px;
7
7
  --radio_stroke_color: var(--zdt_radio_default_stroke);
8
8
  --radio_fill: none;
9
9
  --radio_inner_stroke_width: 0;
10
10
  }[dir=ltr] .varClass {
11
- --radio_label_margin: 0 0 0 var(--zd_size6);
11
+ --radio_label_margin: 0 0 0 6px /*rtl: 0 6px 0 0*/
12
+ ;
12
13
  }[dir=rtl] .varClass {
13
- --radio_label_margin: 0 0 0 var(--zd_size6);
14
+ --radio_label_margin: 0 6px 0 0;
14
15
  }
15
16
 
16
17
  .container {
@@ -48,13 +49,13 @@
48
49
  }
49
50
 
50
51
  .medium {
51
- --radio_width: var(--zd_size16);
52
- --radio_height: var(--zd_size16);
52
+ --radio_width: 16px;
53
+ --radio_height: 16px;
53
54
  }
54
55
 
55
56
  .small {
56
- --radio_width: var(--zd_size13);
57
- --radio_height: var(--zd_size13);
57
+ --radio_width: 13px;
58
+ --radio_height: 13px;
58
59
  }
59
60
 
60
61
  .medium.withSecondaryText {
File without changes
@@ -1,3 +1,5 @@
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
+
1
3
  import React, { Component } from 'react';
2
4
  import { defaultProps } from "./props/defaultProps";
3
5
  import { propTypes } from "./props/propTypes";
@@ -43,9 +45,9 @@ export default class ResponsiveDropBox extends Component {
43
45
  customMobileDropBoxWrap: `${customMobileDropBoxWrap}`,
44
46
  customResponsiveContainer: `${customResponsiveContainer}`
45
47
  };
46
- return /*#__PURE__*/React.createElement(DropBox, { ...this.props,
48
+ return /*#__PURE__*/React.createElement(DropBox, _extends({}, this.props, {
47
49
  customClass: dropBoxClasses
48
- }, /*#__PURE__*/React.createElement(ResponsiveReceiver, {
50
+ }), /*#__PURE__*/React.createElement(ResponsiveReceiver, {
49
51
  query: this.responsiveFunc,
50
52
  responsiveId: "Helmet"
51
53
  }, _ref2 => {
File without changes
@@ -3,7 +3,7 @@
3
3
  --ribbon_padding: 0;
4
4
  --ribbon_text_color: var(--zdt_ribbon_default_text);
5
5
  --ribbon_text_transform: none;
6
- --ribbon_font_size: var(--zd_font_size13);
6
+ --ribbon_font_size: 13px;
7
7
  --ribbon_bg_color: var(--zdt_ribbon_default_bg);
8
8
  --ribbon_box_shadow: none;
9
9
  --ribbon_border_width: 0;
@@ -13,12 +13,12 @@
13
13
  /* flag ribbon default variable */
14
14
 
15
15
  /* tag ribbon default variables */
16
- --ribbon_tag_before_top: var(--zd_size3);
16
+ --ribbon_tag_before_top: 3px;
17
17
  --ribbon_tag_before_border_style: solid;
18
18
  --ribbon_tag_before_border_color: var(--zdt_ribbon_default_tag_border);
19
- --ribbon_tag_before_width: var(--zd_size20);
20
- --ribbon_tag_before_height: var(--zd_size20);
21
- --ribbon_tag_before_left: calc( var(--zd_size10) * -1 );
19
+ --ribbon_tag_before_width: 20px;
20
+ --ribbon_tag_before_height: 20px;
21
+ --ribbon_tag_before_left: -10px;
22
22
  --ribbon_tag_before_border_radius: 3px 0 0 0;
23
23
  }[dir=ltr] .varClass {
24
24
  --ribbon_flag_border_width: 14px 12px 14px 0
@@ -28,8 +28,8 @@
28
28
  /*rtl: 1px 1px 0 0*/
29
29
  ;
30
30
  }[dir=rtl] .varClass {
31
- --ribbon_flag_border_width: 14px 12px 14px 0 ;
32
- --ribbon_tag_before_border_width: 1px 0 0 1px ;
31
+ --ribbon_flag_border_width: 14px 0 14px 12px;
32
+ --ribbon_tag_before_border_width: 1px 1px 0 0;
33
33
  }
34
34
 
35
35
  /* css:lineheight-validation:ignore */
@@ -61,26 +61,26 @@
61
61
  .default {
62
62
  composes: semibold from '../common/common.module.css';
63
63
  display: block;
64
- --ribbon_padding: var(--zd_size5) var(--zd_size20);
64
+ --ribbon_padding: 5px 20px;
65
65
  --ribbon_text_color: var(--zdt_ribbon_white_text);
66
66
  --ribbon_text_transform: uppercase;
67
67
  text-align: center;
68
68
  }
69
69
 
70
70
  .small {
71
- --ribbon_font_size: var(--zd_font_size9);
71
+ --ribbon_font_size: 9px;
72
72
  }
73
73
 
74
74
  .medium {
75
- --ribbon_font_size: var(--zd_font_size11);
75
+ --ribbon_font_size: 11px;
76
76
  }
77
77
 
78
78
  .large {
79
- --ribbon_font_size: var(--zd_font_size13);
79
+ --ribbon_font_size: 13px;
80
80
  }
81
81
 
82
82
  .xlarge {
83
- --ribbon_font_size: var(--zd_font_size14);
83
+ --ribbon_font_size: 14px;
84
84
  }
85
85
 
86
86
  .palette_default {
@@ -217,11 +217,13 @@
217
217
  }
218
218
 
219
219
  [dir=ltr] .flag {
220
- --ribbon_padding: var(--zd_size4) var(--zd_size24) var(--zd_size4) var(--zd_size6);
220
+ --ribbon_padding: 4px 24px 4px 6px
221
+ /*rtl: 4px 6px 4px 24px*/
222
+ ;
221
223
  }
222
224
 
223
225
  [dir=rtl] .flag {
224
- --ribbon_padding: var(--zd_size4) var(--zd_size24) var(--zd_size4) var(--zd_size6);
226
+ --ribbon_padding: 4px 6px 4px 24px;
225
227
  }
226
228
 
227
229
  .flag.small {
@@ -274,7 +276,7 @@
274
276
  display: block;
275
277
  --ribbon_text_color: var(--zdt_ribbon_white_text);
276
278
  --ribbon_text_transform: uppercase;
277
- --ribbon_padding: var(--zd_size6) var(--zd_size10);
279
+ --ribbon_padding: 6px 10px;
278
280
  text-align: center;
279
281
  }
280
282
 
@@ -355,10 +357,13 @@
355
357
  }
356
358
 
357
359
  [dir=rtl] .tag {
358
- border-width: 1px 0 1px 1px ;
359
- border-radius: 3px 0 0 3px ;
360
+ border-width: 1px 0 1px 1px
361
+ ;
362
+ border-radius: 3px 0 0 3px
363
+ ;
360
364
  margin-right: var(--zd_size13) ;
361
- padding: var(--zd_size6) var(--zd_size5) var(--zd_size6) var(--zd_size8) ;
365
+ padding: 6px 5px 6px 8px
366
+ ;
362
367
  }
363
368
 
364
369
  .tag::before {
@@ -387,13 +392,13 @@
387
392
  .box {
388
393
  display: inline-block;
389
394
  --ribbon_bg_color: var(--zdt_ribbon_white_bg);
390
- --ribbon_padding: var(--zd_size5) var(--zd_size8);
395
+ --ribbon_padding: 5px 8px;
391
396
  border-radius: 3px;
392
397
  }
393
398
 
394
399
  .stamp {
395
400
  display: inline-block;
396
- --ribbon_padding: var(--zd_size3) var(--zd_size5);
401
+ --ribbon_padding: 3px 5px;
397
402
  --ribbon_text_transform: uppercase;
398
403
  }
399
404
 
@@ -1,3 +1,5 @@
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
+
1
3
  /**** Libraries ****/
2
4
  import React, { PureComponent } from 'react';
3
5
  import { GroupSelect_defaultProps } from "./props/defaultProps";
@@ -559,6 +561,7 @@ export class GroupSelectComponent extends PureComponent {
559
561
  defaultDropBoxPosition,
560
562
  searchBoxPlaceHolder,
561
563
  searchEmptyMessage,
564
+ renderCustomEmptyState,
562
565
  dataId,
563
566
  dataIdSlctComp,
564
567
  dataIdDownIcon,
@@ -637,7 +640,7 @@ export class GroupSelectComponent extends PureComponent {
637
640
  ref: getTargetRef,
638
641
  "data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
639
642
  "data-test-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`
640
- }, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, needSelectDownIcon ? /*#__PURE__*/React.createElement(TextBoxIcon, {
643
+ }, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, needSelectDownIcon ? /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
641
644
  isDisabled: isDisabled,
642
645
  iconRotated: isPopupOpen,
643
646
  inputRef: this.valueInputRef,
@@ -667,16 +670,15 @@ export class GroupSelectComponent extends PureComponent {
667
670
  },
668
671
  i18nKeys: TextBoxIcon_i18n,
669
672
  isFocus: isPopupReady,
670
- autoComplete: false,
671
- ...TextBoxIconProps
672
- }, /*#__PURE__*/React.createElement(Container, {
673
+ autoComplete: false
674
+ }, TextBoxIconProps), /*#__PURE__*/React.createElement(Container, {
673
675
  align: "both",
674
676
  dataId: dataIdDownIcon
675
677
  }, /*#__PURE__*/React.createElement(Icon, {
676
678
  name: "ZD-down",
677
679
  size: "7",
678
680
  iconClass: style.arrowIcon
679
- }))) : /*#__PURE__*/React.createElement(Textbox, {
681
+ }))) : /*#__PURE__*/React.createElement(Textbox, _extends({
680
682
  isDisabled: isDisabled,
681
683
  inputRef: this.valueInputRef,
682
684
  maxLength: maxLength,
@@ -705,9 +707,8 @@ export class GroupSelectComponent extends PureComponent {
705
707
  ariaOwns: setAriaId
706
708
  },
707
709
  autoComplete: false,
708
- isFocus: isPopupReady,
709
- ...TextBoxProps
710
- }))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
710
+ isFocus: isPopupReady
711
+ }, TextBoxProps)))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
711
712
  query: this.responsiveFunc,
712
713
  responsiveId: "Helmet"
713
714
  }, _ref2 => {
@@ -777,7 +778,7 @@ export class GroupSelectComponent extends PureComponent {
777
778
  a11y: {
778
779
  role: 'heading'
779
780
  }
780
- })), /*#__PURE__*/React.createElement(Suggestions, {
781
+ })), /*#__PURE__*/React.createElement(Suggestions, _extends({
781
782
  activeId: selectedId,
782
783
  suggestions: options,
783
784
  getRef: this.suggestionItemRef,
@@ -792,13 +793,13 @@ export class GroupSelectComponent extends PureComponent {
792
793
  ariaParentRole: 'listbox',
793
794
  role: 'option'
794
795
  },
795
- dataId: `${dataId}_Options`,
796
- ...SuggestionsProps
797
- }));
796
+ dataId: `${dataId}_Options`
797
+ }, SuggestionsProps)));
798
798
  }) : /*#__PURE__*/React.createElement(EmptyState, {
799
799
  options: revampedGroups,
800
800
  searchString: searchStr,
801
801
  suggestions: suggestionGroups,
802
+ renderCustomEmptyState: renderCustomEmptyState,
802
803
  dataId: dataIdSrchEmptyMsg,
803
804
  isLoading: isFetchingOptions,
804
805
  i18nKeys: i18nKeys,
@@ -1,3 +1,5 @@
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
+
1
3
  /**** Libraries ****/
2
4
  import React, { Component } from 'react';
3
5
  import { Select_defaultProps } from "./props/defaultProps";
@@ -790,6 +792,7 @@ export class SelectComponent extends Component {
790
792
  getFooter,
791
793
  getChildren,
792
794
  getCustomEmptyState,
795
+ renderCustomEmptyState,
793
796
  isParentBased,
794
797
  i18nKeys,
795
798
  htmlId,
@@ -855,10 +858,10 @@ export class SelectComponent extends Component {
855
858
  ref: getTargetRef,
856
859
  "data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
857
860
  "data-test-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`
858
- }, isRenderable(renderCustomSelectedValue) ? /*#__PURE__*/React.createElement(InputFieldLine, {
861
+ }, isRenderable(renderCustomSelectedValue) ? /*#__PURE__*/React.createElement(InputFieldLine, _extends({
859
862
  border: needBorder ? 'bottom' : 'none',
860
- hasPadding: true,
861
- ...InputFieldLineProps,
863
+ hasPadding: true
864
+ }, InputFieldLineProps, {
862
865
  isActive: isPopupReady,
863
866
  size: size,
864
867
  borderColor: borderColor,
@@ -866,7 +869,7 @@ export class SelectComponent extends Component {
866
869
  isReadOnly: isReadOnly,
867
870
  onKeyDown: this.handleKeyDown,
868
871
  a11yAttributes: inputFieldLineA11yAttributes
869
- }, renderNode(renderCustomSelectedValue, {
872
+ }), renderNode(renderCustomSelectedValue, {
870
873
  isDisabled,
871
874
  isPopupOpen,
872
875
  isReadOnly,
@@ -882,7 +885,7 @@ export class SelectComponent extends Component {
882
885
  onKeyDown: this.handleKeyDown,
883
886
  onKeyPress: this.handleValueInputChange,
884
887
  ariaControlsId: setAriaId
885
- })) : needSelectDownIcon ? /*#__PURE__*/React.createElement(TextBoxIcon, {
888
+ })) : needSelectDownIcon ? /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
886
889
  a11y: {
887
890
  role: 'Menuitem',
888
891
  ariaLabel: TextBox_ally_label,
@@ -930,9 +933,8 @@ export class SelectComponent extends Component {
930
933
  isPopupOpened: isPopupReady,
931
934
  isReadOnly: isReadOnly,
932
935
  isDisabled: isDisabled
933
- }) : renderCustomToggleIndicator,
934
- ...TextBoxIconProps
935
- }, !renderCustomToggleIndicator || children ? /*#__PURE__*/React.createElement(Container, {
936
+ }) : renderCustomToggleIndicator
937
+ }, TextBoxIconProps), !renderCustomToggleIndicator || children ? /*#__PURE__*/React.createElement(Container, {
936
938
  isInline: true,
937
939
  isCover: false,
938
940
  alignBox: "row",
@@ -1047,7 +1049,7 @@ export class SelectComponent extends Component {
1047
1049
  shrink: true,
1048
1050
  customClass: !tabletMode && dropBoxSize ? style[dropBoxSize] : '',
1049
1051
  eleRef: this.suggestionContainerRef
1050
- }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, {
1052
+ }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, _extends({
1051
1053
  key: searchStr.trim(),
1052
1054
  activeId: selectedId,
1053
1055
  isVirtualizerEnabled: isVirtualizerEnabled,
@@ -1068,14 +1070,14 @@ export class SelectComponent extends Component {
1068
1070
  a11y: {
1069
1071
  ariaParentRole: 'listbox',
1070
1072
  role: 'option'
1071
- },
1072
- ...SuggestionsProps
1073
- }) : /*#__PURE__*/React.createElement(EmptyState, {
1073
+ }
1074
+ }, SuggestionsProps)) : /*#__PURE__*/React.createElement(EmptyState, {
1074
1075
  isLoading: isFetchingOptions,
1075
1076
  options: options,
1076
1077
  searchString: searchStr,
1077
1078
  suggestions: suggestions,
1078
1079
  dataId: dataId,
1080
+ renderCustomEmptyState: renderCustomEmptyState,
1079
1081
  getCustomEmptyState: getCustomEmptyState ? this.handleGetAddNewOptionText : null,
1080
1082
  i18nKeys: i18nKeys,
1081
1083
  htmlId: ariaErrorId