@zohodesk/components 1.0.0-temp-199.4 → 1.0.0-temp-213

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 (346) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +16 -1
  3. package/es/Accordion/Accordion.js +2 -2
  4. package/es/Accordion/AccordionItem.js +4 -4
  5. package/es/Accordion/__tests__/Accordion.spec.js +1 -1
  6. package/es/Accordion/__tests__/AccordionItem.spec.js +1 -1
  7. package/es/Accordion/index.js +2 -2
  8. package/es/Animation/Animation.js +3 -3
  9. package/es/Animation/__tests__/Animation.spec.js +1 -1
  10. package/es/Animation/utils.js +1 -1
  11. package/es/AppContainer/AppContainer.js +9 -9
  12. package/es/AppContainer/__tests__/AppContainer.spec.js +1 -1
  13. package/es/Avatar/Avatar.js +5 -5
  14. package/es/Avatar/__tests__/Avatar.spec.js +1 -1
  15. package/es/AvatarTeam/AvatarTeam.js +4 -4
  16. package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +1 -1
  17. package/es/Button/Button.js +4 -4
  18. package/es/Button/__tests__/Button.spec.js +1 -1
  19. package/es/Button/index.js +2 -2
  20. package/es/Button/props/defaultProps.js +1 -1
  21. package/es/Buttongroup/Buttongroup.js +3 -3
  22. package/es/Buttongroup/__tests__/Buttongroup.spec.js +1 -1
  23. package/es/Card/Card.js +5 -5
  24. package/es/Card/__tests__/Card.spec.js +1 -1
  25. package/es/Card/index.js +4 -4
  26. package/es/CheckBox/CheckBox.js +6 -6
  27. package/es/CheckBox/__tests__/CheckBox.spec.js +1 -1
  28. package/es/DateTime/CalendarView.js +14 -11
  29. package/es/DateTime/DateTime.js +33 -19
  30. package/es/DateTime/DateTime.module.css +5 -5
  31. package/es/DateTime/DateTimePopupFooter.js +5 -5
  32. package/es/DateTime/DateTimePopupHeader.js +4 -4
  33. package/es/DateTime/DateWidget.js +22 -18
  34. package/es/DateTime/DaysRow.js +6 -5
  35. package/es/DateTime/Time.js +5 -5
  36. package/es/DateTime/YearView.js +6 -6
  37. package/es/DateTime/__tests__/CalendarView.spec.js +1 -1
  38. package/es/DateTime/__tests__/DateTime.spec.js +1 -1
  39. package/es/DateTime/__tests__/DateTimePopupFooter.spec.js +1 -1
  40. package/es/DateTime/__tests__/DateTimePopupHeader.spec.js +1 -1
  41. package/es/DateTime/__tests__/DateWidget.spec.js +1 -1
  42. package/es/DateTime/__tests__/DaysRow.spec.js +1 -1
  43. package/es/DateTime/__tests__/Time.spec.js +1 -1
  44. package/es/DateTime/__tests__/YearView.spec.js +1 -1
  45. package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +7 -7
  46. package/es/DateTime/dateFormatUtils/dateFormat.js +4 -4
  47. package/es/DateTime/dateFormatUtils/dayChange.js +2 -2
  48. package/es/DateTime/dateFormatUtils/index.js +3 -3
  49. package/es/DateTime/dateFormatUtils/monthChange.js +2 -2
  50. package/es/DateTime/dateFormatUtils/timeChange.js +2 -2
  51. package/es/DateTime/dateFormatUtils/yearChange.js +2 -2
  52. package/es/DateTime/index.js +1 -1
  53. package/es/DateTime/props/defaultProps.js +9 -3
  54. package/es/DateTime/props/propTypes.js +12 -5
  55. package/es/DateTime/validator.js +2 -2
  56. package/es/DropBox/DropBox.js +9 -9
  57. package/es/DropBox/DropBoxElement/DropBoxElement.js +6 -6
  58. package/es/DropBox/DropBoxElement/__tests__/DropBoxElement.spec.js +1 -1
  59. package/es/DropBox/DropBoxElement/css/cssJSLogic.js +1 -1
  60. package/es/DropBox/DropBoxElement/useDropboxPosCalc.js +1 -1
  61. package/es/DropBox/__tests__/DropBox.spec.js +1 -1
  62. package/es/DropBox/css/cssJSLogic.js +1 -1
  63. package/es/DropBox/props/defaultProps.js +1 -1
  64. package/es/DropBox/props/propTypes.js +1 -1
  65. package/es/DropBox/utils/isMobilePopover.js +1 -1
  66. package/es/DropDown/DropDown.js +4 -4
  67. package/es/DropDown/DropDownHeading.js +3 -3
  68. package/es/DropDown/DropDownItem.js +3 -3
  69. package/es/DropDown/DropDownSearch.js +4 -4
  70. package/es/DropDown/DropDownSeparator.js +2 -2
  71. package/es/DropDown/__tests__/DropDown.spec.js +1 -1
  72. package/es/DropDown/__tests__/DropDownHeading.spec.js +1 -1
  73. package/es/DropDown/__tests__/DropDownItem.spec.js +1 -1
  74. package/es/DropDown/__tests__/DropDownSearch.spec.js +1 -1
  75. package/es/DropDown/__tests__/DropDownSeparator.spec.js +1 -1
  76. package/es/DropDown/index.js +7 -7
  77. package/es/DropDown/props/propTypes.js +1 -1
  78. package/es/Heading/Heading.js +4 -4
  79. package/es/Heading/__tests__/Heading.spec.js +1 -1
  80. package/es/Label/Label.js +4 -4
  81. package/es/Label/__tests__/Label.spec.js +1 -1
  82. package/es/Layout/Box.js +4 -4
  83. package/es/Layout/Container.js +4 -4
  84. package/es/Layout/__tests__/Box.spec.js +1 -1
  85. package/es/Layout/__tests__/Container.spec.js +1 -1
  86. package/es/Layout/index.js +2 -2
  87. package/es/ListItem/ListContainer.js +6 -6
  88. package/es/ListItem/ListItem.js +7 -7
  89. package/es/ListItem/ListItem.module.css +18 -85
  90. package/es/ListItem/ListItemWithAvatar.js +10 -10
  91. package/es/ListItem/ListItemWithCheckBox.js +6 -6
  92. package/es/ListItem/ListItemWithIcon.js +7 -7
  93. package/es/ListItem/ListItemWithRadio.js +6 -6
  94. package/es/ListItem/__tests__/ListContainer.spec.js +1 -1
  95. package/es/ListItem/__tests__/ListItem.spec.js +1 -1
  96. package/es/ListItem/__tests__/ListItemWithAvatar.spec.js +1 -1
  97. package/es/ListItem/__tests__/ListItemWithCheckBox.spec.js +1 -1
  98. package/es/ListItem/__tests__/ListItemWithIcon.spec.js +1 -1
  99. package/es/ListItem/__tests__/ListItemWithRadio.spec.js +1 -1
  100. package/es/ListItem/index.js +6 -6
  101. package/es/Modal/Modal.js +3 -3
  102. package/es/Modal/__tests__/Modal.spec.js +1 -1
  103. package/es/MultiSelect/AdvancedGroupMultiSelect.js +19 -24
  104. package/es/MultiSelect/AdvancedMultiSelect.js +18 -19
  105. package/es/MultiSelect/EmptyState.js +3 -3
  106. package/es/MultiSelect/MobileHeader/MobileHeader.js +5 -5
  107. package/es/MultiSelect/MobileHeader/__tests__/MobileHeader.spec.js +1 -1
  108. package/es/MultiSelect/MultiSelect.js +22 -27
  109. package/es/MultiSelect/MultiSelectHeader.js +4 -4
  110. package/es/MultiSelect/MultiSelectWithAvatar.js +16 -16
  111. package/es/MultiSelect/SelectedOptions.js +5 -5
  112. package/es/MultiSelect/Suggestions.js +10 -14
  113. package/es/MultiSelect/__tests__/AdvancedGroupMultiSelect.spec.js +1 -1
  114. package/es/MultiSelect/__tests__/AdvancedMultiSelect.spec.js +1 -1
  115. package/es/MultiSelect/__tests__/EmptyState.spec.js +1 -1
  116. package/es/MultiSelect/__tests__/MultiSelect.spec.js +1 -1
  117. package/es/MultiSelect/__tests__/MultiSelectHeader.spec.js +1 -1
  118. package/es/MultiSelect/__tests__/MultiSelectWithAvatar.spec.js +1 -1
  119. package/es/MultiSelect/__tests__/SelectedOptions.spec.js +1 -1
  120. package/es/MultiSelect/__tests__/Suggestions.spec.js +1 -1
  121. package/es/MultiSelect/index.js +4 -4
  122. package/es/MultiSelect/props/defaultProps.js +5 -7
  123. package/es/MultiSelect/props/propTypes.js +3 -6
  124. package/es/PopOver/PopOver.js +6 -6
  125. package/es/PopOver/__tests__/PopOver.spec.js +1 -1
  126. package/es/PopOver/index.js +3 -3
  127. package/es/Popup/Popup.js +5 -5
  128. package/es/Provider/AvatarSize.js +1 -1
  129. package/es/Provider/CssProvider.js +1 -1
  130. package/es/Provider/IdProvider.js +2 -2
  131. package/es/Provider/LibraryContext.js +2 -2
  132. package/es/Provider/ZindexProvider.js +2 -2
  133. package/es/Provider/index.js +4 -4
  134. package/es/Radio/Radio.js +5 -5
  135. package/es/Radio/__tests__/Radio.spec.js +1 -1
  136. package/es/Responsive/CustomResponsive.js +7 -7
  137. package/es/Responsive/ResizeComponent.js +2 -2
  138. package/es/Responsive/Responsive.js +6 -6
  139. package/es/Responsive/index.js +3 -3
  140. package/es/Responsive/utils/index.js +1 -1
  141. package/es/Responsive/windowResizeObserver.js +1 -1
  142. package/es/ResponsiveDropBox/ResponsiveDropBox.js +6 -6
  143. package/es/ResponsiveDropBox/__tests__/ResponsiveDropBox.spec.js +1 -1
  144. package/es/ResponsiveDropBox/props/propTypes.js +1 -1
  145. package/es/Ribbon/Ribbon.js +3 -3
  146. package/es/Ribbon/__tests__/Ribbon.spec.js +1 -1
  147. package/es/RippleEffect/RippleEffect.js +4 -4
  148. package/es/RippleEffect/__tests__/RippleEffect.spec.js +1 -1
  149. package/es/Select/GroupSelect.js +18 -23
  150. package/es/Select/Select.js +15 -15
  151. package/es/Select/SelectWithAvatar.js +19 -24
  152. package/es/Select/SelectWithIcon.js +15 -17
  153. package/es/Select/__tests__/GroupSelect.spec.js +1 -1
  154. package/es/Select/__tests__/Select.spec.js +1 -1
  155. package/es/Select/__tests__/SelectWithAvatar.spec.js +1 -1
  156. package/es/Select/__tests__/SelectWithIcon.spec.js +1 -1
  157. package/es/Select/index.js +4 -4
  158. package/es/Select/props/defaultProps.js +3 -5
  159. package/es/Select/props/propTypes.js +2 -4
  160. package/es/Stencils/Stencils.js +3 -3
  161. package/es/Stencils/__tests__/Stencils.spec.js +1 -1
  162. package/es/Switch/Switch.js +5 -5
  163. package/es/Switch/__tests__/Switch.spec.js +1 -1
  164. package/es/Tab/Tab.js +5 -5
  165. package/es/Tab/TabContent.js +4 -4
  166. package/es/Tab/TabContentWrapper.js +3 -3
  167. package/es/Tab/TabWrapper.js +3 -3
  168. package/es/Tab/Tabs.js +13 -13
  169. package/es/Tab/__tests__/Tab.spec.js +1 -1
  170. package/es/Tab/__tests__/TabContent.spec.js +1 -1
  171. package/es/Tab/__tests__/TabContentWrapper.spec.js +1 -1
  172. package/es/Tab/__tests__/TabWrapper.spec.js +1 -1
  173. package/es/Tab/__tests__/Tabs.spec.js +1 -1
  174. package/es/Tab/index.js +5 -5
  175. package/es/Tag/Tag.js +7 -7
  176. package/es/Tag/__tests__/Tag.spec.js +1 -1
  177. package/es/TextBox/TextBox.js +3 -3
  178. package/es/TextBox/__tests__/TextBox.spec.js +1 -1
  179. package/es/TextBoxIcon/TextBoxIcon.js +6 -6
  180. package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +1 -1
  181. package/es/TextBoxIcon/props/propTypes.js +1 -1
  182. package/es/Textarea/Textarea.js +3 -3
  183. package/es/Textarea/__tests__/Textarea.spec.js +1 -1
  184. package/es/Tooltip/Tooltip.js +6 -6
  185. package/es/{v1/Typography → Typography}/Typography.js +4 -4
  186. package/{lib/v1 → es}/Typography/css/Typography.module.css +234 -125
  187. package/es/{v1/Typography → Typography}/css/cssJSLogic.js +1 -1
  188. package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
  189. package/es/VelocityAnimation/VelocityAnimation/__tests__/VelocityAnimation.spec.js +1 -1
  190. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  191. package/es/VelocityAnimation/VelocityAnimationGroup/__tests__/VelocityAnimationGroup.spec.js +1 -1
  192. package/es/VelocityAnimation/index.js +2 -2
  193. package/es/css.js +37 -37
  194. package/es/deprecated/PortalLayer/PortalLayer.js +3 -3
  195. package/es/index.js +39 -39
  196. package/es/semantic/Button/Button.js +3 -3
  197. package/es/semantic/Button/__tests__/Button.spec.js +1 -1
  198. package/es/semantic/index.js +1 -1
  199. package/es/utils/Common.js +1 -1
  200. package/es/utils/ContextOptimizer.js +1 -1
  201. package/es/utils/cssUtils.js +1 -1
  202. package/es/utils/datetime/common.js +1 -1
  203. package/es/utils/dropDownUtils.js +1 -1
  204. package/es/utils/index.js +1 -1
  205. package/es/v1/Accordion/Accordion.js +2 -2
  206. package/es/v1/Accordion/AccordionItem.js +4 -4
  207. package/es/v1/Accordion/index.js +2 -2
  208. package/es/v1/Animation/Animation.js +3 -3
  209. package/es/v1/Animation/utils.js +1 -1
  210. package/es/v1/AppContainer/AppContainer.js +8 -8
  211. package/es/v1/Avatar/Avatar.js +5 -5
  212. package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
  213. package/es/v1/Button/Button.js +4 -4
  214. package/es/v1/Button/props/defaultProps.js +1 -1
  215. package/es/v1/Buttongroup/Buttongroup.js +3 -3
  216. package/es/v1/Card/Card.js +5 -5
  217. package/es/v1/Card/index.js +4 -4
  218. package/es/v1/CheckBox/CheckBox.js +6 -6
  219. package/es/v1/DateTime/CalendarView.js +16 -13
  220. package/es/v1/DateTime/DateTime.js +33 -19
  221. package/es/v1/DateTime/DateTimePopupFooter.js +5 -5
  222. package/es/v1/DateTime/DateTimePopupHeader.js +4 -4
  223. package/es/v1/DateTime/DateWidget.js +22 -18
  224. package/es/v1/DateTime/DaysRow.js +6 -5
  225. package/es/v1/DateTime/Time.js +5 -5
  226. package/es/v1/DateTime/YearView.js +6 -6
  227. package/es/v1/DateTime/index.js +1 -1
  228. package/es/v1/DateTime/props/defaultProps.js +9 -3
  229. package/es/v1/DateTime/props/propTypes.js +12 -5
  230. package/es/v1/DropBox/DropBox.js +9 -9
  231. package/es/v1/DropBox/DropBoxElement/DropBoxElement.js +6 -6
  232. package/es/v1/DropBox/props/defaultProps.js +1 -1
  233. package/es/v1/DropBox/props/propTypes.js +1 -1
  234. package/es/v1/DropBox/utils/isMobilePopover.js +1 -1
  235. package/es/v1/DropDown/DropDown.js +4 -4
  236. package/es/v1/DropDown/DropDownHeading.js +3 -3
  237. package/es/v1/DropDown/DropDownItem.js +3 -3
  238. package/es/v1/DropDown/DropDownSearch.js +4 -4
  239. package/es/v1/DropDown/DropDownSeparator.js +2 -2
  240. package/es/v1/DropDown/props/propTypes.js +1 -1
  241. package/es/v1/Heading/Heading.js +4 -4
  242. package/es/v1/Label/Label.js +4 -4
  243. package/es/v1/Layout/Box.js +4 -4
  244. package/es/v1/Layout/Container.js +4 -4
  245. package/es/v1/Layout/index.js +2 -2
  246. package/es/v1/ListItem/ListContainer.js +6 -6
  247. package/es/v1/ListItem/ListItem.js +5 -5
  248. package/es/v1/ListItem/ListItemWithAvatar.js +7 -7
  249. package/es/v1/ListItem/ListItemWithCheckBox.js +6 -6
  250. package/es/v1/ListItem/ListItemWithIcon.js +5 -5
  251. package/es/v1/ListItem/ListItemWithRadio.js +6 -6
  252. package/es/v1/ListItem/index.js +6 -6
  253. package/es/v1/Modal/Modal.js +3 -3
  254. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +17 -17
  255. package/es/v1/MultiSelect/AdvancedMultiSelect.js +18 -19
  256. package/es/v1/MultiSelect/EmptyState.js +3 -3
  257. package/es/v1/MultiSelect/MobileHeader/MobileHeader.js +5 -5
  258. package/es/v1/MultiSelect/MultiSelect.js +21 -26
  259. package/es/v1/MultiSelect/MultiSelectHeader.js +4 -4
  260. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +16 -16
  261. package/es/v1/MultiSelect/SelectedOptions.js +5 -5
  262. package/es/v1/MultiSelect/Suggestions.js +10 -14
  263. package/es/v1/MultiSelect/index.js +4 -4
  264. package/es/v1/MultiSelect/props/defaultProps.js +3 -5
  265. package/es/v1/MultiSelect/props/propTypes.js +2 -6
  266. package/es/v1/PopOver/PopOver.js +6 -6
  267. package/es/v1/Popup/Popup.js +3 -3
  268. package/es/v1/Radio/Radio.js +5 -5
  269. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +6 -6
  270. package/es/v1/ResponsiveDropBox/props/propTypes.js +1 -1
  271. package/es/v1/Ribbon/Ribbon.js +3 -3
  272. package/es/v1/RippleEffect/RippleEffect.js +4 -4
  273. package/es/v1/Select/GroupSelect.js +18 -23
  274. package/es/v1/Select/Select.js +15 -15
  275. package/es/v1/Select/SelectWithAvatar.js +19 -24
  276. package/es/v1/Select/SelectWithIcon.js +13 -13
  277. package/es/v1/Select/index.js +4 -4
  278. package/es/v1/Select/props/defaultProps.js +3 -5
  279. package/es/v1/Select/props/propTypes.js +2 -6
  280. package/es/v1/Stencils/Stencils.js +3 -3
  281. package/es/v1/Switch/Switch.js +5 -5
  282. package/es/v1/Tab/Tab.js +5 -5
  283. package/es/v1/Tab/TabContent.js +4 -4
  284. package/es/v1/Tab/TabContentWrapper.js +3 -3
  285. package/es/v1/Tab/TabWrapper.js +3 -3
  286. package/es/v1/Tab/Tabs.js +13 -13
  287. package/es/v1/Tab/index.js +5 -5
  288. package/es/v1/Tag/Tag.js +7 -7
  289. package/es/v1/TextBox/TextBox.js +3 -3
  290. package/es/v1/TextBoxIcon/TextBoxIcon.js +6 -6
  291. package/es/v1/TextBoxIcon/props/propTypes.js +1 -1
  292. package/es/v1/Textarea/Textarea.js +3 -3
  293. package/es/v1/Tooltip/Tooltip.js +6 -6
  294. package/es/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
  295. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  296. package/es/v1/semantic/Button/Button.js +3 -3
  297. package/es/v1/semantic/index.js +1 -1
  298. package/lib/DateTime/CalendarView.js +8 -5
  299. package/lib/DateTime/DateTime.js +27 -4
  300. package/lib/DateTime/DateTime.module.css +5 -5
  301. package/lib/DateTime/DateWidget.js +5 -1
  302. package/lib/DateTime/DaysRow.js +3 -2
  303. package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +7 -7
  304. package/lib/DateTime/props/defaultProps.js +9 -3
  305. package/lib/DateTime/props/propTypes.js +11 -4
  306. package/lib/ListItem/ListItem.js +2 -2
  307. package/lib/ListItem/ListItem.module.css +18 -85
  308. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  309. package/lib/ListItem/ListItemWithIcon.js +2 -2
  310. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -7
  311. package/lib/MultiSelect/AdvancedMultiSelect.js +1 -3
  312. package/lib/MultiSelect/MultiSelect.js +3 -6
  313. package/lib/MultiSelect/Suggestions.js +4 -8
  314. package/lib/MultiSelect/props/defaultProps.js +4 -6
  315. package/lib/MultiSelect/props/propTypes.js +6 -8
  316. package/lib/Select/GroupSelect.js +3 -8
  317. package/lib/Select/SelectWithAvatar.js +3 -8
  318. package/lib/Select/SelectWithIcon.js +3 -5
  319. package/lib/Select/props/defaultProps.js +2 -4
  320. package/lib/Select/props/propTypes.js +2 -4
  321. package/{es/v1 → lib}/Typography/css/Typography.module.css +234 -125
  322. package/lib/v1/DateTime/CalendarView.js +9 -6
  323. package/lib/v1/DateTime/DateTime.js +27 -4
  324. package/lib/v1/DateTime/DateWidget.js +5 -1
  325. package/lib/v1/DateTime/DaysRow.js +3 -2
  326. package/lib/v1/DateTime/props/defaultProps.js +9 -3
  327. package/lib/v1/DateTime/props/propTypes.js +11 -4
  328. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +1 -3
  329. package/lib/v1/MultiSelect/MultiSelect.js +3 -8
  330. package/lib/v1/MultiSelect/Suggestions.js +4 -8
  331. package/lib/v1/MultiSelect/props/defaultProps.js +2 -4
  332. package/lib/v1/MultiSelect/props/propTypes.js +2 -6
  333. package/lib/v1/Select/GroupSelect.js +3 -8
  334. package/lib/v1/Select/SelectWithAvatar.js +3 -8
  335. package/lib/v1/Select/props/defaultProps.js +2 -4
  336. package/lib/v1/Select/props/propTypes.js +2 -6
  337. package/package.json +4 -4
  338. package/result.json +1 -1
  339. /package/es/{v1/Typography → Typography}/props/defaultProps.js +0 -0
  340. /package/es/{v1/Typography → Typography}/props/propTypes.js +0 -0
  341. /package/es/{v1/Typography → Typography}/utils/index.js +0 -0
  342. /package/lib/{v1/Typography → Typography}/Typography.js +0 -0
  343. /package/lib/{v1/Typography → Typography}/css/cssJSLogic.js +0 -0
  344. /package/lib/{v1/Typography → Typography}/props/defaultProps.js +0 -0
  345. /package/lib/{v1/Typography → Typography}/props/propTypes.js +0 -0
  346. /package/lib/{v1/Typography → Typography}/utils/index.js +0 -0
@@ -3,231 +3,297 @@
3
3
  margin: initial ;
4
4
  padding: initial ;
5
5
  }
6
- .dotted{
7
- composes: dotted from '../../../common/common.module.css';
6
+
7
+ .dotted {
8
+ composes: dotted from '../../common/common.module.css';
8
9
  }
10
+
9
11
  .display_block {
10
12
  display: block;
11
13
  }
14
+
12
15
  .display_inlineBlock {
13
16
  display: inline-block;
14
17
  }
18
+
15
19
  .display_inline {
16
20
  display: inline;
17
21
  }
18
- .display_initial{
22
+
23
+ .display_initial {
19
24
  display: initial;
20
25
  }
26
+
21
27
  .font_regular {
22
28
  font-family: var(--zd_regular);
23
29
  }
30
+
24
31
  .font_light {
25
32
  font-family: var(--zd_light);
26
33
  }
34
+
27
35
  .font_semibold {
28
36
  font-family: var(--zd_semibold);
29
- composes: ftsmooth from '../../../common/common.module.css';
37
+ composes: ftsmooth from '../../common/common.module.css';
30
38
  }
39
+
31
40
  .font_bold {
32
41
  font-family: var(--zd_bold);
33
- composes: ftsmooth from '../../../common/common.module.css';
42
+ composes: ftsmooth from '../../common/common.module.css';
34
43
  }
35
- .fontStyles_normal{
44
+
45
+ .fontStyles_normal {
36
46
  font-style: normal;
37
47
  }
38
- .fontStyles_italic{
48
+
49
+ .fontStyles_italic {
39
50
  font-style: italic;
40
51
  }
41
- .decoration_default{
52
+
53
+ .decoration_default {
42
54
  text-decoration: none;
43
55
  }
44
- .decoration_underline{
56
+
57
+ .decoration_underline {
45
58
  text-decoration: underline;
46
59
  }
47
- .decoration_strike{
60
+
61
+ .decoration_strike {
48
62
  text-decoration: line-through;
49
63
  }
50
- .decoration_overline{
64
+
65
+ .decoration_overline {
51
66
  text-decoration: overline;
52
67
  }
53
- [dir=ltr] .textalign_left{
68
+
69
+ [dir=ltr] .textalign_left {
54
70
  text-align: left;
55
71
  }
56
- [dir=rtl] .textalign_left{
72
+
73
+ [dir=rtl] .textalign_left {
57
74
  text-align: right;
58
75
  }
59
- [dir=ltr] .textalign_right{
76
+
77
+ [dir=ltr] .textalign_right {
60
78
  text-align: right;
61
79
  }
62
- [dir=rtl] .textalign_right{
80
+
81
+ [dir=rtl] .textalign_right {
63
82
  text-align: left;
64
83
  }
65
- .textalign_center{
84
+
85
+ .textalign_center {
66
86
  text-align: center;
67
87
  }
68
- .textalign_justify{
88
+
89
+ .textalign_justify {
69
90
  text-align: justify;
70
91
  }
71
- .transform_default{
92
+
93
+ .transform_default {
72
94
  text-transform: none;
73
95
  }
74
- .transform_upper{
96
+
97
+ .transform_upper {
75
98
  text-transform: uppercase;
76
99
  }
77
- .transform_lower{
100
+
101
+ .transform_lower {
78
102
  text-transform: lowercase;
79
103
  }
80
- .transform_capital{
104
+
105
+ .transform_capital {
81
106
  text-transform: capitalize;
82
107
  }
83
- .dotted_clamp{
108
+
109
+ .dotted_clamp {
84
110
  display: -webkit-box;
85
111
  -webkit-box-orient: vertical;
86
112
  overflow: hidden;
87
113
  }
88
- .lineclamp_1{
114
+
115
+ .lineclamp_1 {
89
116
  -webkit-line-clamp: 1;
90
- composes:dotted_clamp;
117
+ composes: dotted_clamp;
91
118
  }
92
- .lineclamp_2{
119
+
120
+ .lineclamp_2 {
93
121
  -webkit-line-clamp: 2;
94
- composes:dotted_clamp;
122
+ composes: dotted_clamp;
95
123
  }
96
- .lineclamp_3{
124
+
125
+ .lineclamp_3 {
97
126
  -webkit-line-clamp: 3;
98
- composes:dotted_clamp;
127
+ composes: dotted_clamp;
99
128
  }
100
- .lineclamp_4{
129
+
130
+ .lineclamp_4 {
101
131
  -webkit-line-clamp: 4;
102
- composes:dotted_clamp;
132
+ composes: dotted_clamp;
103
133
  }
104
- .lineclamp_5{
134
+
135
+ .lineclamp_5 {
105
136
  -webkit-line-clamp: 5;
106
- composes:dotted_clamp;
137
+ composes: dotted_clamp;
107
138
  }
108
139
 
109
- .wordBreak_breakAll{
140
+ .wordBreak_breakAll {
110
141
  word-break: break-all
111
142
  }
112
- .wordBreak_keepAll{
143
+
144
+ .wordBreak_keepAll {
113
145
  word-break: keep-all
114
146
  }
115
- .wordBreak_breakWord{
147
+
148
+ .wordBreak_breakWord {
116
149
  word-break: break-word
117
150
  }
118
151
 
119
- .wordWrap_normal{
120
- word-wrap:normal;
152
+ .wordWrap_normal {
153
+ word-wrap: normal;
121
154
  }
122
- .wordWrap_break{
123
- word-wrap:break-word
155
+
156
+ .wordWrap_break {
157
+ word-wrap: break-word
124
158
  }
125
159
 
126
- .whiteSpace_normal{
127
- white-space:normal
160
+ .whiteSpace_normal {
161
+ white-space: normal
128
162
  }
129
- .whiteSpace_noWrap{
130
- white-space:nowrap
163
+
164
+ .whiteSpace_noWrap {
165
+ white-space: nowrap
131
166
  }
132
- .whiteSpace_pre{
133
- white-space:pre
167
+
168
+ .whiteSpace_pre {
169
+ white-space: pre
134
170
  }
135
- .whiteSpace_preLine{
136
- white-space:pre-line
171
+
172
+ .whiteSpace_preLine {
173
+ white-space: pre-line
137
174
  }
138
- .whiteSpace_preWrap{
139
- white-space:pre-wrap
175
+
176
+ .whiteSpace_preWrap {
177
+ white-space: pre-wrap
140
178
  }
141
179
 
142
180
 
143
181
 
144
182
  /*...............Font Size Start.........*/
145
183
 
146
- .size7{
184
+ .size7 {
147
185
  font-size: var(--zd_font_size7) ;
148
186
  }
149
- .size8{
187
+
188
+ .size8 {
150
189
  font-size: var(--zd_font_size8) ;
151
190
  }
152
- .size9{
191
+
192
+ .size9 {
153
193
  font-size: var(--zd_font_size9) ;
154
194
  }
155
- .size10{
195
+
196
+ .size10 {
156
197
  font-size: var(--zd_font_size10) ;
157
198
  }
158
- .size11{
199
+
200
+ .size11 {
159
201
  font-size: var(--zd_font_size11) ;
160
202
  }
161
- .size12{
203
+
204
+ .size12 {
162
205
  font-size: var(--zd_font_size12) ;
163
206
  }
164
- .size13{
207
+
208
+ .size13 {
165
209
  font-size: var(--zd_font_size13) ;
166
210
  }
167
- .size14{
211
+
212
+ .size14 {
168
213
  font-size: var(--zd_font_size14) ;
169
214
  }
170
- .size15{
215
+
216
+ .size15 {
171
217
  font-size: var(--zd_font_size15) ;
172
218
  }
173
- .size16{
219
+
220
+ .size16 {
174
221
  font-size: var(--zd_font_size16) ;
175
222
  }
176
- .size17{
223
+
224
+ .size17 {
177
225
  font-size: var(--zd_font_size17) ;
178
226
  }
179
- .size18{
227
+
228
+ .size18 {
180
229
  font-size: var(--zd_font_size18) ;
181
230
  }
182
- .size19{
231
+
232
+ .size19 {
183
233
  font-size: var(--zd_font_size19) ;
184
234
  }
185
- .size20{
235
+
236
+ .size20 {
186
237
  font-size: var(--zd_font_size20) ;
187
238
  }
188
- .size21{
239
+
240
+ .size21 {
189
241
  font-size: var(--zd_font_size21) ;
190
242
  }
191
- .size22{
243
+
244
+ .size22 {
192
245
  font-size: var(--zd_font_size22) ;
193
246
  }
194
- .size24{
247
+
248
+ .size24 {
195
249
  font-size: var(--zd_font_size24) ;
196
250
  }
197
- .size25{
251
+
252
+ .size25 {
198
253
  font-size: var(--zd_font_size25) ;
199
254
  }
200
- .size26{
255
+
256
+ .size26 {
201
257
  font-size: var(--zd_font_size26) ;
202
258
  }
203
- .size28{
259
+
260
+ .size28 {
204
261
  font-size: var(--zd_font_size28) ;
205
262
  }
206
- .size29{
263
+
264
+ .size29 {
207
265
  font-size: var(--zd_font_size29) ;
208
266
  }
209
- .size30{
267
+
268
+ .size30 {
210
269
  font-size: var(--zd_font_size30) ;
211
270
  }
212
- .size32{
271
+
272
+ .size32 {
213
273
  font-size: var(--zd_font_size32) ;
214
274
  }
215
- .size34{
275
+
276
+ .size34 {
216
277
  font-size: var(--zd_font_size34) ;
217
278
  }
218
- .size35{
279
+
280
+ .size35 {
219
281
  font-size: var(--zd_font_size35) ;
220
282
  }
221
- .size36{
283
+
284
+ .size36 {
222
285
  font-size: var(--zd_font_size36) ;
223
286
  }
224
- .size40{
287
+
288
+ .size40 {
225
289
  font-size: var(--zd_font_size40) ;
226
290
  }
227
- .size50{
291
+
292
+ .size50 {
228
293
  font-size: var(--zd_font_size50) ;
229
294
  }
230
- .sizeinherit{
295
+
296
+ .sizeinherit {
231
297
  font-size: inherit ;
232
298
  }
233
299
 
@@ -235,76 +301,99 @@
235
301
 
236
302
  /*............... Lineheight Start.........*/
237
303
 
238
- .lineheight_inherit{
304
+ .lineheight_inherit {
239
305
  line-height: inherit;
240
306
  }
241
- .lineheight_initial{
307
+
308
+ .lineheight_initial {
242
309
  line-height: initial;
243
310
  }
244
- .lineheight_normal{
311
+
312
+ .lineheight_normal {
245
313
  line-height: normal;
246
314
  }
247
- .lineheight_0{
315
+
316
+ .lineheight_0 {
248
317
  line-height: 0;
249
318
  }
250
- .lineheight_0_1{
319
+
320
+ .lineheight_0_1 {
251
321
  line-height: 0.1;
252
322
  }
253
- .lineheight_0_2{
323
+
324
+ .lineheight_0_2 {
254
325
  line-height: 0.2;
255
326
  }
256
- .lineheight_0_3{
327
+
328
+ .lineheight_0_3 {
257
329
  line-height: 0.3;
258
330
  }
259
- .lineheight_0_4{
331
+
332
+ .lineheight_0_4 {
260
333
  line-height: 0.4;
261
334
  }
262
- .lineheight_0_5{
335
+
336
+ .lineheight_0_5 {
263
337
  line-height: 0.5;
264
338
  }
265
- .lineheight_0_6{
339
+
340
+ .lineheight_0_6 {
266
341
  line-height: 0.6;
267
342
  }
268
- .lineheight_0_7{
343
+
344
+ .lineheight_0_7 {
269
345
  line-height: 0.7;
270
346
  }
271
- .lineheight_0_8{
347
+
348
+ .lineheight_0_8 {
272
349
  line-height: 0.8;
273
350
  }
274
- .lineheight_0_9{
351
+
352
+ .lineheight_0_9 {
275
353
  line-height: 0.9;
276
354
  }
277
- .lineheight_1{
355
+
356
+ .lineheight_1 {
278
357
  line-height: 1;
279
358
  }
280
- .lineheight_1_1{
359
+
360
+ .lineheight_1_1 {
281
361
  line-height: 1.1;
282
362
  }
283
- .lineheight_1_2{
363
+
364
+ .lineheight_1_2 {
284
365
  line-height: 1.2;
285
366
  }
286
- .lineheight_1_3{
367
+
368
+ .lineheight_1_3 {
287
369
  line-height: 1.3;
288
370
  }
289
- .lineheight_1_4{
371
+
372
+ .lineheight_1_4 {
290
373
  line-height: 1.4;
291
374
  }
292
- .lineheight_1_5{
375
+
376
+ .lineheight_1_5 {
293
377
  line-height: 1.5;
294
378
  }
295
- .lineheight_1_6{
379
+
380
+ .lineheight_1_6 {
296
381
  line-height: 1.6;
297
382
  }
298
- .lineheight_1_7{
383
+
384
+ .lineheight_1_7 {
299
385
  line-height: 1.7;
300
386
  }
301
- .lineheight_1_8{
387
+
388
+ .lineheight_1_8 {
302
389
  line-height: 1.8;
303
390
  }
304
- .lineheight_1_9{
391
+
392
+ .lineheight_1_9 {
305
393
  line-height: 1.9;
306
394
  }
307
- .lineheight_2{
395
+
396
+ .lineheight_2 {
308
397
  line-height: 2;
309
398
  }
310
399
 
@@ -313,68 +402,88 @@
313
402
 
314
403
  /*............... Letterspacing Start.........*/
315
404
 
316
- .letterspacing_inherit{
317
- letter-spacing:inherit;
405
+ .letterspacing_inherit {
406
+ letter-spacing: inherit;
318
407
  }
319
- .letterspacing_0_1{
408
+
409
+ .letterspacing_0_1 {
320
410
  letter-spacing: 0.1px;
321
411
  }
322
- .letterspacing_0_2{
412
+
413
+ .letterspacing_0_2 {
323
414
  letter-spacing: 0.2px;
324
415
  }
325
- .letterspacing_0_3{
416
+
417
+ .letterspacing_0_3 {
326
418
  letter-spacing: 0.3px;
327
419
  }
328
- .letterspacing_0_4{
420
+
421
+ .letterspacing_0_4 {
329
422
  letter-spacing: 0.4px;
330
423
  }
331
- .letterspacing_0_5{
424
+
425
+ .letterspacing_0_5 {
332
426
  letter-spacing: 0.5px;
333
427
  }
334
- .letterspacing_0_6{
428
+
429
+ .letterspacing_0_6 {
335
430
  letter-spacing: 0.6px;
336
431
  }
337
- .letterspacing_0_7{
432
+
433
+ .letterspacing_0_7 {
338
434
  letter-spacing: 0.7px;
339
435
  }
340
- .letterspacing_0_8{
436
+
437
+ .letterspacing_0_8 {
341
438
  letter-spacing: 0.8px;
342
439
  }
343
- .letterspacing_0_9{
440
+
441
+ .letterspacing_0_9 {
344
442
  letter-spacing: 0.9px;
345
443
  }
346
- .letterspacing_1{
444
+
445
+ .letterspacing_1 {
347
446
  letter-spacing: 1px;
348
447
  }
349
- .letterspacing_1_1{
448
+
449
+ .letterspacing_1_1 {
350
450
  letter-spacing: 1.1px;
351
451
  }
352
- .letterspacing_1_2{
452
+
453
+ .letterspacing_1_2 {
353
454
  letter-spacing: 1.2px;
354
455
  }
355
- .letterspacing_1_3{
456
+
457
+ .letterspacing_1_3 {
356
458
  letter-spacing: 1.3px;
357
459
  }
358
- .letterspacing_1_4{
460
+
461
+ .letterspacing_1_4 {
359
462
  letter-spacing: 1.4px;
360
463
  }
361
- .letterspacing_1_5{
464
+
465
+ .letterspacing_1_5 {
362
466
  letter-spacing: 1.5px;
363
467
  }
364
- .letterspacing_1_6{
468
+
469
+ .letterspacing_1_6 {
365
470
  letter-spacing: 1.6px;
366
471
  }
367
- .letterspacing_1_7{
472
+
473
+ .letterspacing_1_7 {
368
474
  letter-spacing: 1.7px;
369
475
  }
370
- .letterspacing_1_8{
476
+
477
+ .letterspacing_1_8 {
371
478
  letter-spacing: 1.8px;
372
479
  }
373
- .letterspacing_1_9{
480
+
481
+ .letterspacing_1_9 {
374
482
  letter-spacing: 1.9px;
375
483
  }
376
- .letterspacing_2{
484
+
485
+ .letterspacing_2 {
377
486
  letter-spacing: 2px;
378
487
  }
379
488
 
380
- /*............... Letterspacing End.........*/
489
+ /*............... Letterspacing End.........*/
@@ -84,9 +84,11 @@ var CalendarView = /*#__PURE__*/function (_React$PureComponent) {
84
84
  todayDate = _this$props.todayDate,
85
85
  todayYear = _this$props.todayYear,
86
86
  startDate = _this$props.startDate,
87
- endDate = _this$props.endDate;
87
+ endDate = _this$props.endDate,
88
+ weekStartDay = _this$props.weekStartDay,
89
+ holidays = _this$props.holidays;
88
90
  var userSeeDate = new Date(year, month, 1);
89
- var userSeeDay = userSeeDate.getDay() + 1;
91
+ var userSeeDay = (userSeeDate.getDay() - weekStartDay + dayNames.length) % dayNames.length + 1;
90
92
  var userSeeYear = userSeeDate.getFullYear();
91
93
  var userSeeMonth = userSeeDate.getMonth();
92
94
  var monthEnd = (0, _common.getMonthEnd)(month, year);
@@ -114,10 +116,10 @@ var CalendarView = /*#__PURE__*/function (_React$PureComponent) {
114
116
  var output = null;
115
117
 
116
118
  for (var i = 1; i <= 7; i++) {
117
- var tdclass = "".concat(_DateTimeModule["default"].datesStr, " ").concat(_DateTimeModule["default"].grid);
119
+ var tdclass = "".concat(_DateTimeModule["default"].datesStr, " ").concat(_DateTimeModule["default"].grid); // if (i === 1) {
118
120
 
119
- if (i === 1) {
120
- tdclass += " ".concat(_DateTimeModule["default"].sunday);
121
+ if (holidays.includes(i - 1)) {
122
+ tdclass += " ".concat(_DateTimeModule["default"].holiday);
121
123
  }
122
124
 
123
125
  if (incremleti >= userSeeDay && incremday <= monthEnd) {
@@ -226,7 +228,8 @@ var CalendarView = /*#__PURE__*/function (_React$PureComponent) {
226
228
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_DaysRow["default"], {
227
229
  dayNames: dayNames,
228
230
  dayNamesShort: dayNamesShort,
229
- ariaLabel: dayNamesShort
231
+ ariaLabel: dayNamesShort,
232
+ holidays: holidays
230
233
  }), /*#__PURE__*/_react["default"].createElement("div", {
231
234
  "data-id": "".concat(dataId, "_dateContainer"),
232
235
  "data-test-id": "".concat(dataId, "_dateContainer"),
@@ -43,6 +43,14 @@ var _dateFormat = require("./../../DateTime/dateFormatUtils/dateFormat");
43
43
 
44
44
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
45
45
 
46
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
47
+
48
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
49
+
50
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
51
+
52
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
53
+
46
54
  function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
47
55
 
48
56
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
@@ -728,7 +736,9 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
728
736
  startDate = _this$props7.startDate,
729
737
  endDate = _this$props7.endDate,
730
738
  _this$props7$customPr = _this$props7.customProps,
731
- customProps = _this$props7$customPr === void 0 ? {} : _this$props7$customPr;
739
+ customProps = _this$props7$customPr === void 0 ? {} : _this$props7$customPr,
740
+ holidays = _this$props7.holidays,
741
+ weekStartDay = _this$props7.weekStartDay;
732
742
  var _customProps$TimeProp = customProps.TimeProps,
733
743
  TimeProps = _customProps$TimeProp === void 0 ? {} : _customProps$TimeProp;
734
744
  var _i18nKeys$timeText = i18nKeys.timeText,
@@ -754,6 +764,17 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
754
764
  _i18nKeys$dayNamesSho = i18nKeys.dayNamesShort,
755
765
  dayNamesShort = _i18nKeys$dayNamesSho === void 0 ? _constants.dayNamesShortDefault : _i18nKeys$dayNamesSho;
756
766
  var showmonthtxt = title(date, year, month, monthNames);
767
+ var customDayNames = dayNames,
768
+ customDayNamesShort = dayNamesShort,
769
+ customizedHolidays = holidays;
770
+
771
+ if (weekStartDay !== 0) {
772
+ customDayNames = [].concat(_toConsumableArray(dayNames.slice(weekStartDay)), _toConsumableArray(dayNames.slice(0, weekStartDay)));
773
+ customDayNamesShort = [].concat(_toConsumableArray(dayNamesShort.slice(weekStartDay)), _toConsumableArray(dayNamesShort.slice(0, weekStartDay)));
774
+ customizedHolidays = holidays.map(function (dayIndex) {
775
+ return customDayNames.indexOf(dayNames[dayIndex]);
776
+ });
777
+ }
757
778
 
758
779
  var childEle = /*#__PURE__*/_react["default"].createElement("div", {
759
780
  className: "".concat(_DateTimeModule["default"].container, " ").concat(innerClass),
@@ -776,13 +797,15 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
776
797
  year: year,
777
798
  month: month,
778
799
  onSelect: this.dateSelect,
779
- dayNames: dayNames,
780
- dayNamesShort: dayNamesShort,
800
+ dayNames: customDayNames,
801
+ dayNamesShort: customDayNamesShort,
781
802
  todayDate: todayDate,
782
803
  todayMonth: todayMonth,
783
804
  todayYear: todayYear,
784
805
  startDate: startDate,
785
- endDate: endDate
806
+ endDate: endDate,
807
+ weekStartDay: weekStartDay,
808
+ holidays: customizedHolidays
786
809
  }), isDateTimeField ? /*#__PURE__*/_react["default"].createElement(_Time["default"], {
787
810
  timeText: timeText,
788
811
  dataId: dataId,