@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
@@ -7,13 +7,13 @@
7
7
  --avatarteam_outline_style: solid;
8
8
  --avatarteam_outline_color: var(--zdt_avatarteam_innerCircle);
9
9
  --avatarteam_bg_color: var(--zdt_avatarteam_default_bg);
10
- --avatarteam_width: var(--zd_size5);
11
- --avatarteam_height: var(--zd_size5);
10
+ --avatarteam_width: 5px;
11
+ --avatarteam_height: 5px;
12
12
  --avatarteam_border_radius: 50%;
13
13
  --avatarteam_bottom_top: initial;
14
14
  --avatarteam_bottom_left: initial;
15
15
  --avatarteam_bottom_right: initial;
16
- --avatarteam_top_top: var(--zd_size1);
16
+ --avatarteam_top_top: 1px;
17
17
  }
18
18
  .container {
19
19
  position: relative;
@@ -92,18 +92,18 @@
92
92
  .smallteam,
93
93
  .xsmallteam,
94
94
  .xxsmallteam {
95
- --avatarteam_height: var(--zd_size3);
96
- --avatarteam_width: var(--zd_size3);
95
+ --avatarteam_height: 3px;
96
+ --avatarteam_width: 3px;
97
97
  }
98
98
  .mediumteam,
99
99
  .xmediumteam {
100
- --avatarteam_height: var(--zd_size5);
101
- --avatarteam_width: var(--zd_size5);
100
+ --avatarteam_height: 5px;
101
+ --avatarteam_width: 5px;
102
102
  }
103
103
  .largeteam,
104
104
  .xlargeteam {
105
- --avatarteam_height: var(--zd_size7);
106
- --avatarteam_width: var(--zd_size7);
105
+ --avatarteam_height: 7px;
106
+ --avatarteam_width: 7px;
107
107
  }
108
108
 
109
109
  .xxsmallteam {
@@ -112,78 +112,78 @@
112
112
  }
113
113
  .xxsmallteam::after,
114
114
  .xxsmallteam:before {
115
- --avatarteam_bottom_top: var(--zd_size13);
115
+ --avatarteam_bottom_top: 13px;
116
116
  }
117
117
  .xxsmallteam:after {
118
- --avatarteam_bottom_left: calc( var(--zd_size8) * -1 );
118
+ --avatarteam_bottom_left: -8px;
119
119
  }
120
120
  .xxsmallteam:before {
121
- --avatarteam_bottom_right: calc( var(--zd_size8) * -1 );
121
+ --avatarteam_bottom_right: -8px;
122
122
  }
123
123
 
124
124
 
125
125
  .smallteam::after,
126
126
  .smallteam:before {
127
- --avatarteam_bottom_top: var(--zd_size17);
127
+ --avatarteam_bottom_top: 17px;
128
128
  }
129
129
  .smallteam:after {
130
- --avatarteam_bottom_left: calc( var(--zd_size8) * -1 );
130
+ --avatarteam_bottom_left: -8px;
131
131
  }
132
132
  .smallteam:before {
133
- --avatarteam_bottom_right: calc( var(--zd_size8) * -1 );
133
+ --avatarteam_bottom_right: -8px;
134
134
  }
135
135
 
136
136
  .xsmallteam::after,
137
137
  .xsmallteam:before {
138
- --avatarteam_bottom_top: var(--zd_size24);
138
+ --avatarteam_bottom_top: 24px;
139
139
  }
140
140
  .xsmallteam:after {
141
- --avatarteam_bottom_left: calc( var(--zd_size10) * -1 );
141
+ --avatarteam_bottom_left: -10px;
142
142
  }
143
143
  .xsmallteam:before {
144
- --avatarteam_bottom_right: calc( var(--zd_size10) * -1 );
144
+ --avatarteam_bottom_right: -10px;
145
145
  }
146
146
 
147
147
  .mediumteam::after,
148
148
  .mediumteam:before {
149
- --avatarteam_bottom_top: var(--zd_size26);
149
+ --avatarteam_bottom_top: 26px;
150
150
  }
151
151
  .mediumteam:after {
152
- --avatarteam_bottom_left: calc( var(--zd_size13) * -1 );
152
+ --avatarteam_bottom_left: -13px;
153
153
  }
154
154
  .mediumteam:before {
155
- --avatarteam_bottom_right: calc( var(--zd_size13) * -1 );
155
+ --avatarteam_bottom_right: -13px;
156
156
  }
157
157
 
158
158
  .xmediumteam::after,
159
159
  .xmediumteam:before {
160
- --avatarteam_bottom_top: var(--zd_size30);
160
+ --avatarteam_bottom_top: 30px;
161
161
  }
162
162
  .xmediumteam:after {
163
- --avatarteam_bottom_left: calc( var(--zd_size16) * -1 );
163
+ --avatarteam_bottom_left: -16px;
164
164
  }
165
165
  .xmediumteam:before {
166
- --avatarteam_bottom_right: calc( var(--zd_size16) * -1 );
166
+ --avatarteam_bottom_right: -16px;
167
167
  }
168
168
 
169
169
  .largeteam::after,
170
170
  .largeteam:before {
171
- --avatarteam_bottom_top: var(--zd_size46);
171
+ --avatarteam_bottom_top: 46px;
172
172
  }
173
173
  .largeteam:after {
174
- --avatarteam_bottom_left: calc( var(--zd_size24) * -1 );
174
+ --avatarteam_bottom_left: -24px;
175
175
  }
176
176
  .largeteam:before {
177
- --avatarteam_bottom_right: calc( var(--zd_size24) * -1 );
177
+ --avatarteam_bottom_right: -24px;
178
178
  }
179
179
 
180
180
  .xlargeteam::after,
181
181
  .xlargeteam:before {
182
- --avatarteam_bottom_top: var(--zd_size65);
182
+ --avatarteam_bottom_top: 65px;
183
183
  }
184
184
  .xlargeteam:after {
185
- --avatarteam_bottom_left: calc( var(--zd_size29) * -1 );
185
+ --avatarteam_bottom_left: -29px;
186
186
  }
187
187
  .xlargeteam:before {
188
- --avatarteam_bottom_right: calc( var(--zd_size29) * -1 );
188
+ --avatarteam_bottom_right: -29px;
189
189
  }
@@ -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 from 'react'; // props
2
4
 
3
5
  import { defaultProps } from "./props/defaultProps";
@@ -42,7 +44,7 @@ function Button(props) {
42
44
  style: finalStyle
43
45
  });
44
46
  let statusLower = status.toLowerCase();
45
- return /*#__PURE__*/React.createElement("button", {
47
+ return /*#__PURE__*/React.createElement("button", _extends({
46
48
  className: buttonClass,
47
49
  "data-id": disabled ? `${dataId}_disabled` : dataId,
48
50
  "data-test-id": disabled ? `${dataId}_disabled` : dataId,
@@ -51,11 +53,10 @@ function Button(props) {
51
53
  "data-title": title,
52
54
  type: "button",
53
55
  ref: getRef,
54
- "data-selector-id": dataSelectorId,
55
- ...customProps,
56
- ...a11y,
56
+ "data-selector-id": dataSelectorId
57
+ }, customProps, a11y, {
57
58
  id: id
58
- }, children ? children : text, statusLower !== 'none' && needAppearance && /*#__PURE__*/React.createElement("div", {
59
+ }), children ? children : text, statusLower !== 'none' && needAppearance && /*#__PURE__*/React.createElement("div", {
59
60
  className: finalStyle.overlay
60
61
  }, /*#__PURE__*/React.createElement("div", {
61
62
  className: loaderParentClass
@@ -3,13 +3,13 @@
3
3
  /* Variable:Ignore */
4
4
  --button_letter_spacing: 0.2px;
5
5
  --button_cursor: pointer;
6
- --button_font_size: var(--zd_font_size13);
6
+ --button_font_size: 13px;
7
7
  --button_text_color: var(--zdt_button_default_text);
8
8
  --button_font_weight: var(--zd-fw-normal);
9
9
  --button_text_transform: capitalize;
10
10
  --button_bg_color: var(--zdt_button_default_bg);
11
11
  --button_border_radius: 4px;
12
- --button_min_width: var(--zd_size90);
12
+ --button_min_width: 90px;
13
13
  --button_height: auto;
14
14
  --button_border_width: 0;
15
15
  --button_border_style: solid;
@@ -72,38 +72,38 @@
72
72
  }
73
73
 
74
74
  .small {
75
- --button_padding: var(--zd_size4) var(--zd_size7);
76
- --button_min_width: var(--zd_size50);
77
- --button_font_size: var(--zd_font_size10);
75
+ --button_padding: 4px 7px;
76
+ --button_min_width: 50px;
77
+ --button_font_size: 10px;
78
78
  }
79
79
 
80
80
  .medium {
81
- --button_padding: var(--zd_size6) var(--zd_size15);
81
+ --button_padding: 6px 15px;
82
82
  }
83
83
 
84
84
  .large {
85
- --button_padding: var(--zd_size9) var(--zd_size14);
86
- --button_min_width: var(--zd_size80);
87
- --button_font_size: var(--zd_font_size12);
85
+ --button_padding: 9px 14px;
86
+ --button_min_width: 80px;
87
+ --button_font_size: 12px;
88
88
  }
89
89
 
90
90
  .xlarge {
91
- --button_padding: var(--zd_size12) var(--zd_size25);
92
- --button_min_width: var(--zd_size90);
93
- --button_font_size: var(--zd_font_size13);
91
+ --button_padding: 12px 25px;
92
+ --button_min_width: 90px;
93
+ --button_font_size: 13px;
94
94
  }
95
95
 
96
96
  .mediumBtn {
97
- --button_height: var(--zd_size42);
98
- --button_min_width: var(--zd_size42);
99
- --button_font_size: var(--zd_font_size10);
97
+ --button_height: 42px;
98
+ --button_min_width: 42px;
99
+ --button_font_size: 10px;
100
100
  text-align: center;
101
101
  }
102
102
 
103
103
  .smallBtn {
104
- --button_height: var(--zd_size22);
105
- --button_min_width: var(--zd_size22);
106
- --button_font_size: var(--zd_font_size13);
104
+ --button_height: 22px;
105
+ --button_min_width: 22px;
106
+ --button_font_size: 13px;
107
107
  text-align: center;
108
108
  }
109
109
 
@@ -134,7 +134,7 @@
134
134
  .plaindanger,
135
135
  .plainsuccess,
136
136
  .plainsecondary {
137
- --button_padding: var(--zd_size5);
137
+ --button_padding: 5px;
138
138
  --button_min_width: initial;
139
139
  --button_bg_color: var(--zdt_button_default_bg);
140
140
  }
File without changes
@@ -24,15 +24,17 @@
24
24
  }
25
25
 
26
26
  [dir=ltr] .footer {
27
- --buttongroup_padding: var(--zd_size20) 0 var(--zd_size20) var(--zd_size60);
27
+ --buttongroup_padding: 20px 0 20px 60px
28
+ /*rtl: 20px 60px 20px 0*/
29
+ ;
28
30
  }
29
31
 
30
32
  [dir=rtl] .footer {
31
- --buttongroup_padding: var(--zd_size20) 0 var(--zd_size20) var(--zd_size60);
33
+ --buttongroup_padding: 20px 60px 20px 0;
32
34
  }
33
35
 
34
36
  .header {
35
- --buttongroup_padding: var(--zd_size12) var(--zd_size20);
37
+ --buttongroup_padding: 12px 20px;
36
38
  --buttongroup_border_width: 0 0 1px 0;
37
39
  }
38
40
 
package/es/Card/Card.js CHANGED
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 from 'react';
2
4
  import { propTypes } from "./props/propTypes";
3
5
  import { defaultProps } from "./props/defaultProps";
@@ -79,7 +81,7 @@ export default class CheckBox extends React.Component {
79
81
  ariaChecked = checked
80
82
  } = a11y;
81
83
  const isEditable = !(isReadOnly || disabled);
82
- return /*#__PURE__*/React.createElement(Container, {
84
+ return /*#__PURE__*/React.createElement(Container, _extends({
83
85
  dataId: dataId,
84
86
  isCover: false,
85
87
  isInline: text ? false : true,
@@ -96,9 +98,8 @@ export default class CheckBox extends React.Component {
96
98
  "aria-label": ariaLabel,
97
99
  "aria-labelledby": ariaLabelledby,
98
100
  "aria-hidden": ariaHidden,
99
- dataSelectorId: dataSelectorId || id,
100
- ...CheckBoxProps
101
- }, /*#__PURE__*/React.createElement(Box, {
101
+ dataSelectorId: dataSelectorId || id
102
+ }, CheckBoxProps), /*#__PURE__*/React.createElement(Box, {
102
103
  className: `${style.boxContainer} ${secondaryText ? style.withSecondaryText : ''} ${style[size]} ${customCBoxSize} ${isFilled ? style.filled : ''} ${!isEditable ? `${style[`disabled`]}` : ''}`,
103
104
  align: secondaryText ? "start" : undefined
104
105
  }, /*#__PURE__*/React.createElement("input", {
@@ -151,7 +152,7 @@ export default class CheckBox extends React.Component {
151
152
  }) : null))), (text || secondaryText) && /*#__PURE__*/React.createElement(Box, {
152
153
  flexible: true,
153
154
  className: style.labelContainer
154
- }, text && /*#__PURE__*/React.createElement(Label, {
155
+ }, text && /*#__PURE__*/React.createElement(Label, _extends({
155
156
  text: text,
156
157
  palette: disabled ? 'disable' : labelPalette,
157
158
  id: id,
@@ -162,15 +163,14 @@ export default class CheckBox extends React.Component {
162
163
  customClass: `${active && !disabled ? `${style[`active${palette}Label`]}` : ''}
163
164
  ${checked && active ? `${style[`checked${palette}Label`]}` : ''}
164
165
  ${accessMode} ${customLabel}`,
165
- title: toolTip ? toolTip : text,
166
- ...LabelProps
167
- }), secondaryText ? /*#__PURE__*/React.createElement(Typography, {
166
+ title: toolTip ? toolTip : text
167
+ }, LabelProps)), secondaryText ? /*#__PURE__*/React.createElement(Typography, _extends({
168
168
  $ui_size: "12",
169
- $ui_lineHeight: "1.2",
170
- ...secondaryTextProps,
169
+ $ui_lineHeight: "1.2"
170
+ }, secondaryTextProps, {
171
171
  $i18n_dataTitle: toolTip ? null : secondaryText,
172
172
  $ui_className: `${style.secondaryText} ${customSecondaryText}`
173
- }, secondaryText) : null), renderRightPlaceholderNode ? renderRightPlaceholderNode : null);
173
+ }), secondaryText) : null), renderRightPlaceholderNode ? renderRightPlaceholderNode : null);
174
174
  }
175
175
 
176
176
  }
@@ -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, { useMemo } from 'react';
2
4
  import MultiSelect from "../MultiSelect/MultiSelect";
3
5
  import { ColorMultiSelect_propTypes } from "./props/propTypes";
@@ -22,7 +24,7 @@ function ColorMultiSelect(props) {
22
24
  };
23
25
  });
24
26
  }, [options]);
25
- return /*#__PURE__*/React.createElement(MultiSelect, { ...rest,
27
+ return /*#__PURE__*/React.createElement(MultiSelect, _extends({}, rest, {
26
28
  options: optionsWithOptionType,
27
29
  renderCustomSelectedValue: renderSelectedValue,
28
30
  customProps: { ...customProps,
@@ -30,7 +32,7 @@ function ColorMultiSelect(props) {
30
32
  renderBeforeChildren: colorIndicator
31
33
  }
32
34
  }
33
- });
35
+ }));
34
36
  }
35
37
 
36
38
  ColorMultiSelect.propTypes = ColorMultiSelect_propTypes;
@@ -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 from 'react';
2
4
  import Select from "../Select/Select";
3
5
  import { ColorSingleSelect_propTypes } from "./props/propTypes";
@@ -62,7 +64,7 @@ function ColorSingleSelect(props) {
62
64
  }
63
65
 
64
66
  const colorIndicator = renderCustomColorIndicator || renderColorIndicator;
65
- return /*#__PURE__*/React.createElement(Select, { ...rest,
67
+ return /*#__PURE__*/React.createElement(Select, _extends({}, rest, {
66
68
  placeHolder: placeholder,
67
69
  dataId: dataId,
68
70
  borderColor: borderColor,
@@ -74,7 +76,7 @@ function ColorSingleSelect(props) {
74
76
  renderBeforeChildren: colorIndicator
75
77
  }
76
78
  }
77
- });
79
+ }));
78
80
  }
79
81
 
80
82
  ColorSingleSelect.propTypes = ColorSingleSelect_propTypes;
@@ -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 from 'react';
2
4
  import { defaultProps } from "./props/defaultProps";
3
5
  import { propTypes } from "./props/propTypes";
@@ -17,15 +19,14 @@ function ColorIndicator(props) {
17
19
  const {
18
20
  background
19
21
  } = colorConfig || DUMMY_OBJECT;
20
- return /*#__PURE__*/React.createElement("div", { ...tagAttributes,
21
- ...a11yAttributes,
22
+ return /*#__PURE__*/React.createElement("div", _extends({}, tagAttributes, a11yAttributes, {
22
23
  className: `${style.varClass} ${style.indicator} ${style[shape]} ${customClass}`,
23
24
  style: {
24
25
  backgroundColor: background
25
26
  },
26
27
  "data-id": customId,
27
28
  "data-test-id": testId
28
- });
29
+ }));
29
30
  }
30
31
 
31
32
  ColorIndicator.propTypes = propTypes;
@@ -1,6 +1,6 @@
1
1
  .varClass {
2
- --local-colorIndicator-height: var(--zd_size10);
3
- --local-colorIndicator-width: var(--zd_size10);
2
+ --local-colorIndicator-height: 10px;
3
+ --local-colorIndicator-width: 10px;
4
4
  --local-colorIndicator-border-radius: 10px;
5
5
  }
6
6
 
@@ -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, { useMemo } from 'react';
2
4
  import { propTypes } from "./props/propTypes";
3
5
  import Tag from "../../../Tag/Tag";
@@ -23,10 +25,10 @@ function ColoredTag(props) {
23
25
  const composedAttributes = useMemo(() => ({ ...customAttributes,
24
26
  style
25
27
  }), [customAttributes, style]);
26
- return /*#__PURE__*/React.createElement(Tag, { ...rest,
28
+ return /*#__PURE__*/React.createElement(Tag, _extends({}, rest, {
27
29
  active: isActive,
28
30
  customAttributes: composedAttributes
29
- });
31
+ }));
30
32
  }
31
33
 
32
34
  ColoredTag.propTypes = propTypes;
@@ -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 from 'react';
2
4
  import ColoredTag from "../ColoredTag/ColoredTag";
3
5
  import ColorIndicator from "../ColorIndicator/ColorIndicator";
@@ -26,12 +28,12 @@ export function renderColoredTag(data) {
26
28
  };
27
29
  }
28
30
 
29
- return /*#__PURE__*/React.createElement(ColoredTag, {
31
+ return /*#__PURE__*/React.createElement(ColoredTag, _extends({
30
32
  text: value,
31
- id: id,
32
- ...otherData,
33
+ id: id
34
+ }, otherData, {
33
35
  colorConfig: getColorConfig()
34
- });
36
+ }));
35
37
  }
36
38
  export function renderColorIndicator(data) {
37
39
  const {
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
  /* eslint css-modules/no-unused-class: [0, { markAsUsed: ['datesStr', 'dateContainer', 'dateRow', 'today', 'emptySpan', 'dropDown'] }] */
2
4
 
3
5
  /* eslint-disable react/forbid-component-props */
@@ -750,7 +752,7 @@ export default class DateTime extends React.PureComponent {
750
752
  className: `${style.dropBox} ${className}`,
751
753
  "data-id": `${dataId}_dateBoxContainer`,
752
754
  "data-test-id": `${dataId}_dateBoxContainer`
753
- }, childEle) : isReady ? /*#__PURE__*/React.createElement(ResponsiveDropBox, {
755
+ }, childEle) : isReady ? /*#__PURE__*/React.createElement(ResponsiveDropBox, _extends({
754
756
  size: boxSize,
755
757
  boxPosition: position,
756
758
  isActive: isActive,
@@ -769,9 +771,8 @@ export default class DateTime extends React.PureComponent {
769
771
  positionsOffset: positionsOffset,
770
772
  targetOffset: targetOffset,
771
773
  isRestrictScroll: isRestrictScroll,
772
- portalId: dropBoxPortalId,
773
- ...DropBoxProps
774
- }, /*#__PURE__*/React.createElement(Box, null, childEle)) : null;
774
+ portalId: dropBoxPortalId
775
+ }, DropBoxProps), /*#__PURE__*/React.createElement(Box, null, childEle)) : null;
775
776
  }
776
777
 
777
778
  }
@@ -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 { DateWidget_propTypes } from "./props/propTypes";
@@ -1042,7 +1044,7 @@ class DateWidgetComponent extends React.Component {
1042
1044
  className: `${className ? className : ''} ${style.textBox} ${isPopupOpen && !isDisabled ? style.textBoxFocus : ''} ${isDisabled ? style.disabled : isReadOnly ? style.readOnly : style.enabled}`,
1043
1045
  onClick: !isAllowedDateType ? isDisabled || isReadOnly ? null : this.handleTogglePopup : null,
1044
1046
  ref: getTargetRef
1045
- }, /*#__PURE__*/React.createElement(TextBoxIcon, {
1047
+ }, /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
1046
1048
  htmlId: htmlId,
1047
1049
  value: showValue ? showValue : placeholder,
1048
1050
  needBorder: needBorder,
@@ -1070,9 +1072,8 @@ class DateWidgetComponent extends React.Component {
1070
1072
  isFocus: isPopupReady,
1071
1073
  autoComplete: false,
1072
1074
  a11y: a11y,
1073
- customProps: TextBoxProps,
1074
- ...TextBoxIconProps
1075
- }, /*#__PURE__*/React.createElement(Container, {
1075
+ customProps: TextBoxProps
1076
+ }, TextBoxIconProps), /*#__PURE__*/React.createElement(Container, {
1076
1077
  isInline: true,
1077
1078
  align: "both",
1078
1079
  isCover: false,
@@ -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-disable react/forbid-component-props */
2
4
 
3
5
  /** ** Libraries *** */
@@ -90,7 +92,7 @@ class Hour extends React.PureComponent {
90
92
  hourEmptyText,
91
93
  customProps
92
94
  } = this.props;
93
- return /*#__PURE__*/React.createElement(Select, {
95
+ return /*#__PURE__*/React.createElement(Select, _extends({
94
96
  options: hourSuggestions,
95
97
  onChange: onHourSelect,
96
98
  selectedValue: hours,
@@ -108,9 +110,8 @@ class Hour extends React.PureComponent {
108
110
  needResponsive: needResponsive,
109
111
  needListBorder: true,
110
112
  needTick: false,
111
- listItemSize: "small",
112
- ...customProps
113
- });
113
+ listItemSize: "small"
114
+ }, customProps));
114
115
  }
115
116
 
116
117
  }
@@ -125,7 +126,7 @@ class Minute extends React.PureComponent {
125
126
  needResponsive,
126
127
  customProps
127
128
  } = this.props;
128
- return /*#__PURE__*/React.createElement(Select, {
129
+ return /*#__PURE__*/React.createElement(Select, _extends({
129
130
  options: minSuggestions,
130
131
  onChange: onMinutesSelect,
131
132
  selectedValue: mins,
@@ -143,9 +144,8 @@ class Minute extends React.PureComponent {
143
144
  needResponsive: needResponsive,
144
145
  needListBorder: true,
145
146
  needTick: false,
146
- listItemSize: "small",
147
- ...customProps
148
- });
147
+ listItemSize: "small"
148
+ }, customProps));
149
149
  }
150
150
 
151
151
  }
@@ -159,7 +159,7 @@ class AmPm extends React.PureComponent {
159
159
  needResponsive,
160
160
  customProps
161
161
  } = this.props;
162
- return /*#__PURE__*/React.createElement(Select, {
162
+ return /*#__PURE__*/React.createElement(Select, _extends({
163
163
  options: ampmSuggestions,
164
164
  onChange: onAmPmSelect,
165
165
  selectedValue: amPm,
@@ -173,9 +173,8 @@ class AmPm extends React.PureComponent {
173
173
  needResponsive: needResponsive,
174
174
  needListBorder: true,
175
175
  needTick: false,
176
- listItemSize: "small",
177
- ...customProps
178
- });
176
+ listItemSize: "small"
177
+ }, customProps));
179
178
  }
180
179
 
181
180
  }
File without changes
File without changes
File without changes
File without changes
File without changes
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, { useRef, useContext } from 'react';
2
4
  import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
3
5
  import Portal from "../Modal/Portal/Portal"; // import { getLibraryConfig } from '../Provider/Config';
@@ -40,28 +42,27 @@ export default function DropBox(props) {
40
42
  const {
41
43
  zIndexStyle
42
44
  } = cssJSLogic(props);
43
- const dropBoxEle = needFocusScope ? /*#__PURE__*/React.createElement(FocusScope, {
45
+ const dropBoxEle = needFocusScope ? /*#__PURE__*/React.createElement(FocusScope, _extends({
44
46
  onClose: onClose,
45
47
  elementRef: dropBoxRef,
46
48
  needAutoFocus: needAutoFocus,
47
49
  needRestoreFocus: needRestoreFocus,
48
50
  needListNavigation: needListNavigation,
49
51
  needFocusLoop: needFocusLoop,
50
- needEnterAction: needEnterAction,
51
- ...focusScopeProps
52
- }, /*#__PURE__*/React.createElement(DropBoxElement, {
52
+ needEnterAction: needEnterAction
53
+ }, focusScopeProps), /*#__PURE__*/React.createElement(DropBoxElement, _extends({
53
54
  isModel: isModel,
54
- direction: direction,
55
- ...props,
55
+ direction: direction
56
+ }, props, {
56
57
  zIndexStyle: zIndexStyle,
57
58
  subContainerRef: dropBoxRef
58
- })) : /*#__PURE__*/React.createElement(DropBoxElement, {
59
+ }))) : /*#__PURE__*/React.createElement(DropBoxElement, _extends({
59
60
  isModel: isModel,
60
61
  subContainerRef: dropBoxRef,
61
- direction: direction,
62
- ...props,
62
+ direction: direction
63
+ }, props, {
63
64
  zIndexStyle: zIndexStyle
64
- });
65
+ }));
65
66
  return isModel && isActive ? /*#__PURE__*/React.createElement(Portal, {
66
67
  portalId: portalId
67
68
  }, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {