@zohodesk/components 1.0.0-temp-176 → 1.0.0-temp-178

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 (393) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/PropValidationExcludeFilesArray.js +1 -1
  3. package/.cli/propValidation_report.html +1 -1
  4. package/README.md +1357 -1345
  5. package/css_error.log +1 -1
  6. package/es/AppContainer/AppContainer.module.css +18 -18
  7. package/es/Avatar/Avatar.js +9 -9
  8. package/es/Avatar/Avatar.module.css +175 -175
  9. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  10. package/es/AvatarTeam/AvatarTeam.js +7 -7
  11. package/es/AvatarTeam/AvatarTeam.module.css +189 -189
  12. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +704 -704
  13. package/es/Button/Button.js +4 -4
  14. package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +440 -440
  15. package/es/Button/css/Button.module.css +525 -525
  16. package/es/Buttongroup/Buttongroup.js +1 -1
  17. package/es/Buttongroup/Buttongroup.module.css +105 -105
  18. package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  19. package/es/Card/Card.js +4 -4
  20. package/es/Card/Card.module.css +20 -20
  21. package/es/CheckBox/CheckBox.js +0 -0
  22. package/es/CheckBox/CheckBox.module.css +157 -157
  23. package/es/DateTime/CalendarView.js +0 -0
  24. package/es/DateTime/DateTime.js +2 -29
  25. package/es/DateTime/DateTime.module.css +248 -248
  26. package/es/DateTime/DateWidget.js +2 -6
  27. package/es/DateTime/DateWidget.module.css +38 -38
  28. package/es/DateTime/YearView.js +0 -0
  29. package/es/DateTime/YearView.module.css +98 -98
  30. package/es/DateTime/common.js +0 -0
  31. package/es/DateTime/dateFormatUtils/dateFormat.js +8 -1
  32. package/es/DateTime/dateFormatUtils/index.js +2 -4
  33. package/es/DateTime/index.js +0 -0
  34. package/es/DateTime/objectUtils.js +0 -0
  35. package/es/DateTime/typeChecker.js +0 -0
  36. package/es/DateTime/validator.js +0 -0
  37. package/es/DropBox/DropBox.js +0 -0
  38. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +434 -434
  39. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  40. package/es/DropBox/css/DropBox.module.css +58 -58
  41. package/es/DropDown/DropDown.js +0 -0
  42. package/es/DropDown/DropDown.module.css +5 -5
  43. package/es/DropDown/DropDownHeading.js +0 -0
  44. package/es/DropDown/DropDownHeading.module.css +53 -53
  45. package/es/DropDown/DropDownItem.js +0 -0
  46. package/es/DropDown/DropDownItem.module.css +94 -94
  47. package/es/DropDown/DropDownSearch.js +0 -0
  48. package/es/DropDown/DropDownSearch.module.css +14 -14
  49. package/es/DropDown/DropDownSeparator.js +0 -0
  50. package/es/DropDown/DropDownSeparator.module.css +7 -7
  51. package/es/Heading/Heading.module.css +4 -4
  52. package/es/Label/Label.js +2 -2
  53. package/es/Label/Label.module.css +52 -52
  54. package/es/Label/LabelColors.module.css +20 -20
  55. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  56. package/es/Layout/Box.js +0 -0
  57. package/es/Layout/Container.js +0 -0
  58. package/es/Layout/Layout.module.css +335 -335
  59. package/es/Layout/utils.js +0 -0
  60. package/es/ListItem/ListItem.js +0 -0
  61. package/es/ListItem/ListItem.module.css +216 -216
  62. package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  63. package/es/MultiSelect/MobileHeader/MobileHeader.module.css +16 -16
  64. package/es/MultiSelect/MultiSelect.js +5 -5
  65. package/es/MultiSelect/MultiSelect.module.css +204 -204
  66. package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
  67. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  68. package/es/PopOver/PopOver.module.css +8 -8
  69. package/es/Popup/Popup.js +0 -0
  70. package/es/Popup/PositionMapping.json +73 -73
  71. package/es/Radio/Radio.js +0 -0
  72. package/es/Radio/Radio.module.css +112 -112
  73. package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +1837 -1837
  74. package/es/Responsive/CustomResponsive.js +0 -0
  75. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  76. package/es/Ribbon/Ribbon.js +0 -0
  77. package/es/Ribbon/Ribbon.module.css +454 -454
  78. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  79. package/es/RippleEffect/RippleEffect.module.css +92 -92
  80. package/es/RippleEffect/__tests__/__snapshots__/RippleEffect.spec.js.snap +171 -171
  81. package/es/Select/GroupSelect.js +0 -0
  82. package/es/Select/Select.js +0 -0
  83. package/es/Select/Select.module.css +108 -108
  84. package/es/Select/SelectWithAvatar.js +0 -0
  85. package/es/Select/SelectWithIcon.js +0 -0
  86. package/es/Stencils/Stencils.js +0 -0
  87. package/es/Stencils/Stencils.module.css +96 -96
  88. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  89. package/es/Switch/Switch.js +0 -0
  90. package/es/Switch/Switch.module.css +127 -127
  91. package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  92. package/es/Tab/Tab.module.css +100 -100
  93. package/es/Tab/TabContent.module.css +4 -4
  94. package/es/Tab/Tabs.js +17 -17
  95. package/es/Tab/Tabs.module.css +136 -136
  96. package/es/Tag/Tag.js +8 -8
  97. package/es/Tag/Tag.module.css +254 -254
  98. package/es/TextBox/TextBox.js +0 -0
  99. package/es/TextBox/TextBox.module.css +158 -158
  100. package/es/TextBox/props/defaultProps.js +0 -1
  101. package/es/TextBoxIcon/TextBoxIcon.js +0 -0
  102. package/es/TextBoxIcon/TextBoxIcon.module.css +79 -79
  103. package/es/Textarea/Textarea.js +0 -0
  104. package/es/Textarea/Textarea.module.css +139 -139
  105. package/es/Tooltip/Tooltip.module.css +140 -140
  106. package/es/common/a11y.module.css +3 -3
  107. package/es/common/animation.module.css +624 -624
  108. package/es/common/avatarsizes.module.css +48 -48
  109. package/es/common/basic.module.css +33 -33
  110. package/es/common/basicReset.module.css +40 -40
  111. package/es/common/boxShadow.module.css +33 -33
  112. package/es/common/common.module.css +524 -524
  113. package/es/common/customscroll.module.css +91 -91
  114. package/es/common/reset.module.css +13 -13
  115. package/es/common/transition.module.css +146 -146
  116. package/es/semantic/Button/semanticButton.module.css +9 -9
  117. package/es/utils/Common.js +0 -0
  118. package/es/utils/dropDownUtils.js +0 -0
  119. package/es/v1/Avatar/Avatar.js +5 -5
  120. package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
  121. package/es/v1/Button/Button.js +4 -4
  122. package/es/v1/Card/Card.js +4 -4
  123. package/es/v1/CheckBox/CheckBox.js +0 -0
  124. package/es/v1/DateTime/DateTime.js +2 -29
  125. package/es/v1/DateTime/DateWidget.js +2 -6
  126. package/es/v1/DateTime/YearView.js +0 -0
  127. package/es/v1/DateTime/index.js +0 -0
  128. package/es/v1/DropBox/DropBox.js +0 -0
  129. package/es/v1/DropDown/DropDown.js +0 -0
  130. package/es/v1/DropDown/DropDownHeading.js +0 -0
  131. package/es/v1/DropDown/DropDownItem.js +0 -0
  132. package/es/v1/DropDown/DropDownSearch.js +0 -0
  133. package/es/v1/DropDown/DropDownSeparator.js +0 -0
  134. package/es/v1/Layout/Box.js +0 -0
  135. package/es/v1/Layout/Container.js +0 -0
  136. package/es/v1/ListItem/ListItem.js +0 -0
  137. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  138. package/es/v1/MultiSelect/MultiSelect.js +5 -5
  139. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +0 -0
  140. package/es/v1/Radio/Radio.js +0 -0
  141. package/es/v1/Responsive/CustomResponsive.js +0 -0
  142. package/es/v1/Select/GroupSelect.js +0 -0
  143. package/es/v1/Select/Select.js +0 -0
  144. package/es/v1/Select/SelectWithAvatar.js +0 -0
  145. package/es/v1/Select/SelectWithIcon.js +0 -0
  146. package/es/v1/Switch/Switch.js +0 -0
  147. package/es/v1/Tab/Tabs.js +17 -17
  148. package/es/v1/Tag/Tag.js +8 -8
  149. package/es/v1/TextBox/TextBox.js +0 -0
  150. package/es/v1/Typography/css/Typography.module.css +409 -409
  151. package/install.md +10 -10
  152. package/lib/AppContainer/AppContainer.module.css +18 -18
  153. package/lib/Avatar/Avatar.js +9 -9
  154. package/lib/Avatar/Avatar.module.css +175 -175
  155. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  156. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  157. package/lib/AvatarTeam/AvatarTeam.module.css +189 -189
  158. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +704 -704
  159. package/lib/Button/Button.js +4 -4
  160. package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +440 -440
  161. package/lib/Button/css/Button.module.css +525 -525
  162. package/lib/Buttongroup/Buttongroup.js +1 -1
  163. package/lib/Buttongroup/Buttongroup.module.css +105 -105
  164. package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  165. package/lib/Card/Card.js +4 -4
  166. package/lib/Card/Card.module.css +20 -20
  167. package/lib/CheckBox/CheckBox.js +0 -0
  168. package/lib/CheckBox/CheckBox.module.css +157 -157
  169. package/lib/DateTime/CalendarView.js +0 -0
  170. package/lib/DateTime/DateTime.js +3 -30
  171. package/lib/DateTime/DateTime.module.css +248 -248
  172. package/lib/DateTime/DateWidget.js +1 -6
  173. package/lib/DateTime/DateWidget.module.css +38 -38
  174. package/lib/DateTime/YearView.js +0 -0
  175. package/lib/DateTime/YearView.module.css +98 -98
  176. package/lib/DateTime/common.js +0 -0
  177. package/lib/DateTime/dateFormatUtils/dateFormat.js +10 -1
  178. package/lib/DateTime/dateFormatUtils/index.js +2 -6
  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 +434 -434
  185. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  186. package/lib/DropBox/css/DropBox.module.css +58 -58
  187. package/lib/DropDown/DropDown.js +0 -0
  188. package/lib/DropDown/DropDown.module.css +5 -5
  189. package/lib/DropDown/DropDownHeading.js +0 -0
  190. package/lib/DropDown/DropDownHeading.module.css +53 -53
  191. package/lib/DropDown/DropDownItem.js +0 -0
  192. package/lib/DropDown/DropDownItem.module.css +94 -94
  193. package/lib/DropDown/DropDownSearch.js +0 -0
  194. package/lib/DropDown/DropDownSearch.module.css +14 -14
  195. package/lib/DropDown/DropDownSeparator.js +0 -0
  196. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  197. package/lib/Heading/Heading.module.css +4 -4
  198. package/lib/Label/Label.js +0 -0
  199. package/lib/Label/Label.module.css +52 -52
  200. package/lib/Label/LabelColors.module.css +20 -20
  201. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  202. package/lib/Layout/Box.js +0 -0
  203. package/lib/Layout/Container.js +0 -0
  204. package/lib/Layout/Layout.module.css +335 -335
  205. package/lib/Layout/utils.js +0 -0
  206. package/lib/ListItem/ListItem.js +0 -0
  207. package/lib/ListItem/ListItem.module.css +216 -216
  208. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  209. package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +16 -16
  210. package/lib/MultiSelect/MultiSelect.js +5 -5
  211. package/lib/MultiSelect/MultiSelect.module.css +204 -204
  212. package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -0
  213. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  214. package/lib/PopOver/PopOver.module.css +8 -8
  215. package/lib/Popup/Popup.js +0 -0
  216. package/lib/Popup/PositionMapping.json +73 -73
  217. package/lib/Radio/Radio.js +0 -0
  218. package/lib/Radio/Radio.module.css +112 -112
  219. package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +1837 -1837
  220. package/lib/Responsive/CustomResponsive.js +0 -0
  221. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  222. package/lib/Ribbon/Ribbon.js +0 -0
  223. package/lib/Ribbon/Ribbon.module.css +454 -454
  224. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  225. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  226. package/lib/RippleEffect/__tests__/__snapshots__/RippleEffect.spec.js.snap +171 -171
  227. package/lib/Select/GroupSelect.js +0 -0
  228. package/lib/Select/Select.js +0 -0
  229. package/lib/Select/Select.module.css +108 -108
  230. package/lib/Select/SelectWithAvatar.js +0 -0
  231. package/lib/Select/SelectWithIcon.js +0 -0
  232. package/lib/Stencils/Stencils.js +0 -0
  233. package/lib/Stencils/Stencils.module.css +96 -96
  234. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  235. package/lib/Switch/Switch.js +0 -0
  236. package/lib/Switch/Switch.module.css +127 -127
  237. package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  238. package/lib/Tab/Tab.module.css +100 -100
  239. package/lib/Tab/TabContent.module.css +4 -4
  240. package/lib/Tab/Tabs.js +11 -11
  241. package/lib/Tab/Tabs.module.css +136 -136
  242. package/lib/Tag/Tag.js +8 -8
  243. package/lib/Tag/Tag.module.css +254 -254
  244. package/lib/TextBox/TextBox.js +0 -0
  245. package/lib/TextBox/TextBox.module.css +158 -158
  246. package/lib/TextBox/props/defaultProps.js +0 -1
  247. package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
  248. package/lib/TextBoxIcon/TextBoxIcon.module.css +79 -79
  249. package/lib/Textarea/Textarea.js +0 -0
  250. package/lib/Textarea/Textarea.module.css +139 -139
  251. package/lib/Tooltip/Tooltip.module.css +140 -140
  252. package/lib/common/a11y.module.css +3 -3
  253. package/lib/common/animation.module.css +624 -624
  254. package/lib/common/avatarsizes.module.css +48 -48
  255. package/lib/common/basic.module.css +33 -33
  256. package/lib/common/basicReset.module.css +40 -40
  257. package/lib/common/boxShadow.module.css +33 -33
  258. package/lib/common/common.module.css +524 -524
  259. package/lib/common/customscroll.module.css +91 -91
  260. package/lib/common/reset.module.css +13 -13
  261. package/lib/common/transition.module.css +146 -146
  262. package/lib/semantic/Button/semanticButton.module.css +9 -9
  263. package/lib/utils/Common.js +0 -0
  264. package/lib/utils/dropDownUtils.js +0 -0
  265. package/lib/v1/Avatar/Avatar.js +5 -5
  266. package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
  267. package/lib/v1/Button/Button.js +4 -4
  268. package/lib/v1/Card/Card.js +4 -4
  269. package/lib/v1/CheckBox/CheckBox.js +0 -0
  270. package/lib/v1/DateTime/DateTime.js +3 -30
  271. package/lib/v1/DateTime/DateWidget.js +1 -6
  272. package/lib/v1/DateTime/YearView.js +0 -0
  273. package/lib/v1/DateTime/index.js +0 -0
  274. package/lib/v1/DropBox/DropBox.js +0 -0
  275. package/lib/v1/DropDown/DropDown.js +0 -0
  276. package/lib/v1/DropDown/DropDownHeading.js +0 -0
  277. package/lib/v1/DropDown/DropDownItem.js +0 -0
  278. package/lib/v1/DropDown/DropDownSearch.js +0 -0
  279. package/lib/v1/DropDown/DropDownSeparator.js +0 -0
  280. package/lib/v1/Layout/Box.js +0 -0
  281. package/lib/v1/Layout/Container.js +0 -0
  282. package/lib/v1/ListItem/ListItem.js +0 -0
  283. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  284. package/lib/v1/MultiSelect/MultiSelect.js +5 -5
  285. package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +0 -0
  286. package/lib/v1/Radio/Radio.js +0 -0
  287. package/lib/v1/Responsive/CustomResponsive.js +0 -0
  288. package/lib/v1/Select/GroupSelect.js +0 -0
  289. package/lib/v1/Select/Select.js +0 -0
  290. package/lib/v1/Select/SelectWithAvatar.js +0 -0
  291. package/lib/v1/Select/SelectWithIcon.js +0 -0
  292. package/lib/v1/Switch/Switch.js +0 -0
  293. package/lib/v1/Tab/Tabs.js +11 -11
  294. package/lib/v1/Tag/Tag.js +8 -8
  295. package/lib/v1/TextBox/TextBox.js +0 -0
  296. package/lib/v1/Typography/css/Typography.module.css +409 -409
  297. package/package.json +93 -93
  298. package/postPublish.js +8 -8
  299. package/prePublish.js +70 -70
  300. package/react-cli.config.js +23 -23
  301. package/result.json +1 -1
  302. package/coverage/Avatar/Avatar.js.html +0 -649
  303. package/coverage/Avatar/Avatar.module.css.html +0 -556
  304. package/coverage/Avatar/index.html +0 -131
  305. package/coverage/Avatar/props/defaultProps.js.html +0 -136
  306. package/coverage/Avatar/props/index.html +0 -131
  307. package/coverage/Avatar/props/propTypes.js.html +0 -166
  308. package/coverage/AvatarTeam/AvatarTeam.js.html +0 -340
  309. package/coverage/AvatarTeam/AvatarTeam.module.css.html +0 -610
  310. package/coverage/AvatarTeam/index.html +0 -131
  311. package/coverage/AvatarTeam/props/defaultProps.js.html +0 -136
  312. package/coverage/AvatarTeam/props/index.html +0 -131
  313. package/coverage/AvatarTeam/props/propTypes.js.html +0 -169
  314. package/coverage/Button/Button.js.html +0 -313
  315. package/coverage/Button/css/Button.module.css.html +0 -1441
  316. package/coverage/Button/css/cssJSLogic.js.html +0 -214
  317. package/coverage/Button/css/index.html +0 -131
  318. package/coverage/Button/index.html +0 -116
  319. package/coverage/Button/props/defaultProps.js.html +0 -142
  320. package/coverage/Button/props/index.html +0 -131
  321. package/coverage/Button/props/propTypes.js.html +0 -208
  322. package/coverage/Buttongroup/Buttongroup.js.html +0 -220
  323. package/coverage/Buttongroup/Buttongroup.module.css.html +0 -298
  324. package/coverage/Buttongroup/index.html +0 -131
  325. package/coverage/Buttongroup/props/defaultProps.js.html +0 -103
  326. package/coverage/Buttongroup/props/index.html +0 -131
  327. package/coverage/Buttongroup/props/propTypes.js.html +0 -115
  328. package/coverage/Label/Label.js.html +0 -253
  329. package/coverage/Label/Label.module.css.html +0 -241
  330. package/coverage/Label/LabelColors.module.css.html +0 -145
  331. package/coverage/Label/index.html +0 -146
  332. package/coverage/Label/props/defaultProps.js.html +0 -118
  333. package/coverage/Label/props/index.html +0 -131
  334. package/coverage/Label/props/propTypes.js.html +0 -145
  335. package/coverage/Layout/Box.js.html +0 -367
  336. package/coverage/Layout/Container.js.html +0 -439
  337. package/coverage/Layout/Layout.module.css.html +0 -1090
  338. package/coverage/Layout/index.html +0 -176
  339. package/coverage/Layout/index.js.html +0 -118
  340. package/coverage/Layout/props/defaultProps.js.html +0 -136
  341. package/coverage/Layout/props/index.html +0 -131
  342. package/coverage/Layout/props/propTypes.js.html +0 -262
  343. package/coverage/Layout/utils.js.html +0 -199
  344. package/coverage/Provider/AvatarSize.js.html +0 -124
  345. package/coverage/Provider/CssProvider.js.html +0 -133
  346. package/coverage/Provider/index.html +0 -131
  347. package/coverage/Radio/Radio.js.html +0 -415
  348. package/coverage/Radio/Radio.module.css.html +0 -403
  349. package/coverage/Radio/index.html +0 -131
  350. package/coverage/Radio/props/defaultProps.js.html +0 -127
  351. package/coverage/Radio/props/index.html +0 -131
  352. package/coverage/Radio/props/propTypes.js.html +0 -187
  353. package/coverage/Ribbon/Ribbon.js.html +0 -229
  354. package/coverage/Ribbon/Ribbon.module.css.html +0 -1210
  355. package/coverage/Ribbon/index.html +0 -131
  356. package/coverage/Ribbon/props/defaultProps.js.html +0 -112
  357. package/coverage/Ribbon/props/index.html +0 -131
  358. package/coverage/Ribbon/props/propTypes.js.html +0 -121
  359. package/coverage/RippleEffect/RippleEffect.js.html +0 -172
  360. package/coverage/RippleEffect/RippleEffect.module.css.html +0 -415
  361. package/coverage/RippleEffect/index.html +0 -131
  362. package/coverage/RippleEffect/props/defaultProps.js.html +0 -112
  363. package/coverage/RippleEffect/props/index.html +0 -131
  364. package/coverage/RippleEffect/props/propTypes.js.html +0 -121
  365. package/coverage/Stencils/Stencils.js.html +0 -163
  366. package/coverage/Stencils/Stencils.module.css.html +0 -319
  367. package/coverage/Stencils/index.html +0 -131
  368. package/coverage/Stencils/props/defaultProps.js.html +0 -103
  369. package/coverage/Stencils/props/index.html +0 -131
  370. package/coverage/Stencils/props/propTypes.js.html +0 -109
  371. package/coverage/Switch/Switch.js.html +0 -379
  372. package/coverage/Switch/Switch.module.css.html +0 -481
  373. package/coverage/Switch/index.html +0 -131
  374. package/coverage/Switch/props/defaultProps.js.html +0 -118
  375. package/coverage/Switch/props/index.html +0 -131
  376. package/coverage/Switch/props/propTypes.js.html +0 -172
  377. package/coverage/base.css +0 -224
  378. package/coverage/block-navigation.js +0 -87
  379. package/coverage/common/avatarsizes.module.css.html +0 -229
  380. package/coverage/common/common.module.css.html +0 -1519
  381. package/coverage/common/index.html +0 -131
  382. package/coverage/coverage-final.json +0 -56
  383. package/coverage/coverage-summary.json +0 -57
  384. package/coverage/favicon.png +0 -0
  385. package/coverage/index.html +0 -491
  386. package/coverage/prettify.css +0 -1
  387. package/coverage/prettify.js +0 -2
  388. package/coverage/sort-arrow-sprite.png +0 -0
  389. package/coverage/sorter.js +0 -196
  390. package/coverage/utils/dummyFunction.js.html +0 -88
  391. package/coverage/utils/getInitial.js.html +0 -139
  392. package/coverage/utils/index.html +0 -131
  393. package/unittest/index.html +0 -37
@@ -1,91 +1,91 @@
1
- .scroll {
2
- /* Variable:Ignore */
3
- --zd-scroll-width: 12px;
4
- /* Variable:Ignore */
5
- --zd-scroll-height: 12px;
6
- --zd-scroll-bg: var(--zdt_customscroll_default_bg);
7
- --zd-scroll-corner-bg: transparent;
8
- --zd-scroll-thump: var(--zdt_customscroll_thump_bg);
9
- --zd-scroll-thump-hoverbg: var(--zdt_customscroll_thump_hover_bg);
10
- --zd-scroll-border: var(--zdt_customscroll_border);
11
- }
12
- .scroll[data-scroll-palette='dark'],
13
- .scroll [data-scroll-palette='dark'] {
14
- --zd-scroll-bg: var(--zdt_customscroll_dark_bg);
15
- --zd-scroll-thump: var(--zdt_customscroll_thump_dark_bg);
16
- --zd-scroll-thump-hoverbg: var(--zdt_customscroll_thump_dark_hover_bg);
17
- --zd-scroll-border: var(--zdt_customscroll_dark_border);
18
- }
19
- .scroll,
20
- .scroll * {
21
- scrollbar-color: var(--zd-scroll-thump) var(--zd-scroll-bg);
22
- scrollbar-width: thin;
23
- -ms-scrollbar-highlight-color: var(--zd-scroll-bg);
24
- -ms-scrollbar-face-color: var(--zd-scroll-thump);
25
- }
26
- .scroll::-webkit-scrollbar, .scroll ::-webkit-scrollbar {
27
- background: var(--zd-scroll-corner-bg);
28
- }
29
- .scroll::-webkit-scrollbar:hover, .scroll ::-webkit-scrollbar:hover {
30
- background: var(--zd-scroll-bg);
31
- }
32
- .scroll::-webkit-scrollbar:horizontal,
33
- .scroll ::-webkit-scrollbar:horizontal {
34
- height: var(--zd-scroll-height);
35
- }
36
- .scroll::-webkit-scrollbar:vertical,
37
- .scroll ::-webkit-scrollbar:vertical {
38
- width: var(--zd-scroll-width);
39
- }
40
- .scroll::-webkit-scrollbar-button,
41
- .scroll ::-webkit-scrollbar-button {
42
- display: none;
43
- width: 0 ;
44
- height: 0 ;
45
- }
46
- [dir=ltr] .scroll::-webkit-scrollbar-track:vertical, [dir=ltr] .scroll ::-webkit-scrollbar-track:vertical {
47
- border-left: 1px solid transparent;
48
- border-right: 1px solid transparent;
49
- }
50
- [dir=rtl] .scroll::-webkit-scrollbar-track:vertical, [dir=rtl] .scroll ::-webkit-scrollbar-track:vertical {
51
- border-right: 1px solid transparent;
52
- border-left: 1px solid transparent;
53
- }
54
- .scroll::-webkit-scrollbar-track:vertical:hover, .scroll ::-webkit-scrollbar-track:vertical:hover {
55
- border-color: var(--zd-scroll-border);
56
- }
57
- .scroll::-webkit-scrollbar-track:horizontal, .scroll ::-webkit-scrollbar-track:horizontal {
58
- border-top: 1px solid transparent;
59
- border-bottom: 1px solid transparent;
60
- }
61
- .scroll::-webkit-scrollbar-track:horizontal:hover, .scroll ::-webkit-scrollbar-track:horizontal:hover {
62
- border-color: var(--zd-scroll-border);
63
- }
64
- .scroll::-webkit-scrollbar-track-piece, .scroll ::-webkit-scrollbar-track-piece {
65
- background: inherit;
66
- }
67
- .scroll::-webkit-scrollbar-thumb,
68
- .scroll ::-webkit-scrollbar-thumb {
69
- /* display: none; */
70
- }
71
- .scroll::-webkit-scrollbar-thumb, .scroll ::-webkit-scrollbar-thumb {
72
- border-radius: 10px;
73
- background: var(--zd-scroll-thump);
74
- background-clip: padding-box;
75
- border: 3px solid transparent;
76
- }
77
- .scroll::-webkit-scrollbar-thumb:hover, .scroll ::-webkit-scrollbar-thumb:hover {
78
- background: var(--zd-scroll-thump-hoverbg);
79
- background-clip: padding-box;
80
- border: 3px solid transparent;
81
- }
82
- /* .scroll:hover > ::-webkit-scrollbar-thumb,
83
- .scroll *:hover > ::-webkit-scrollbar-thumb {
84
- display: block;
85
- } */
86
- .scroll::-webkit-scrollbar-corner, .scroll ::-webkit-scrollbar-corner {
87
- background: var(--zd-scroll-corner-bg);
88
- }
89
- .scroll::-webkit-resizer, .scroll ::-webkit-resizer {
90
- background: inherit;
91
- }
1
+ .scroll {
2
+ /* Variable:Ignore */
3
+ --zd-scroll-width: 12px;
4
+ /* Variable:Ignore */
5
+ --zd-scroll-height: 12px;
6
+ --zd-scroll-bg: var(--zdt_customscroll_default_bg);
7
+ --zd-scroll-corner-bg: transparent;
8
+ --zd-scroll-thump: var(--zdt_customscroll_thump_bg);
9
+ --zd-scroll-thump-hoverbg: var(--zdt_customscroll_thump_hover_bg);
10
+ --zd-scroll-border: var(--zdt_customscroll_border);
11
+ }
12
+ .scroll[data-scroll-palette='dark'],
13
+ .scroll [data-scroll-palette='dark'] {
14
+ --zd-scroll-bg: var(--zdt_customscroll_dark_bg);
15
+ --zd-scroll-thump: var(--zdt_customscroll_thump_dark_bg);
16
+ --zd-scroll-thump-hoverbg: var(--zdt_customscroll_thump_dark_hover_bg);
17
+ --zd-scroll-border: var(--zdt_customscroll_dark_border);
18
+ }
19
+ .scroll,
20
+ .scroll * {
21
+ scrollbar-color: var(--zd-scroll-thump) var(--zd-scroll-bg);
22
+ scrollbar-width: thin;
23
+ -ms-scrollbar-highlight-color: var(--zd-scroll-bg);
24
+ -ms-scrollbar-face-color: var(--zd-scroll-thump);
25
+ }
26
+ .scroll::-webkit-scrollbar, .scroll ::-webkit-scrollbar {
27
+ background: var(--zd-scroll-corner-bg);
28
+ }
29
+ .scroll::-webkit-scrollbar:hover, .scroll ::-webkit-scrollbar:hover {
30
+ background: var(--zd-scroll-bg);
31
+ }
32
+ .scroll::-webkit-scrollbar:horizontal,
33
+ .scroll ::-webkit-scrollbar:horizontal {
34
+ height: var(--zd-scroll-height);
35
+ }
36
+ .scroll::-webkit-scrollbar:vertical,
37
+ .scroll ::-webkit-scrollbar:vertical {
38
+ width: var(--zd-scroll-width);
39
+ }
40
+ .scroll::-webkit-scrollbar-button,
41
+ .scroll ::-webkit-scrollbar-button {
42
+ display: none;
43
+ width: 0 ;
44
+ height: 0 ;
45
+ }
46
+ [dir=ltr] .scroll::-webkit-scrollbar-track:vertical, [dir=ltr] .scroll ::-webkit-scrollbar-track:vertical {
47
+ border-left: 1px solid transparent;
48
+ border-right: 1px solid transparent;
49
+ }
50
+ [dir=rtl] .scroll::-webkit-scrollbar-track:vertical, [dir=rtl] .scroll ::-webkit-scrollbar-track:vertical {
51
+ border-right: 1px solid transparent;
52
+ border-left: 1px solid transparent;
53
+ }
54
+ .scroll::-webkit-scrollbar-track:vertical:hover, .scroll ::-webkit-scrollbar-track:vertical:hover {
55
+ border-color: var(--zd-scroll-border);
56
+ }
57
+ .scroll::-webkit-scrollbar-track:horizontal, .scroll ::-webkit-scrollbar-track:horizontal {
58
+ border-top: 1px solid transparent;
59
+ border-bottom: 1px solid transparent;
60
+ }
61
+ .scroll::-webkit-scrollbar-track:horizontal:hover, .scroll ::-webkit-scrollbar-track:horizontal:hover {
62
+ border-color: var(--zd-scroll-border);
63
+ }
64
+ .scroll::-webkit-scrollbar-track-piece, .scroll ::-webkit-scrollbar-track-piece {
65
+ background: inherit;
66
+ }
67
+ .scroll::-webkit-scrollbar-thumb,
68
+ .scroll ::-webkit-scrollbar-thumb {
69
+ /* display: none; */
70
+ }
71
+ .scroll::-webkit-scrollbar-thumb, .scroll ::-webkit-scrollbar-thumb {
72
+ border-radius: 10px;
73
+ background: var(--zd-scroll-thump);
74
+ background-clip: padding-box;
75
+ border: 3px solid transparent;
76
+ }
77
+ .scroll::-webkit-scrollbar-thumb:hover, .scroll ::-webkit-scrollbar-thumb:hover {
78
+ background: var(--zd-scroll-thump-hoverbg);
79
+ background-clip: padding-box;
80
+ border: 3px solid transparent;
81
+ }
82
+ /* .scroll:hover > ::-webkit-scrollbar-thumb,
83
+ .scroll *:hover > ::-webkit-scrollbar-thumb {
84
+ display: block;
85
+ } */
86
+ .scroll::-webkit-scrollbar-corner, .scroll ::-webkit-scrollbar-corner {
87
+ background: var(--zd-scroll-corner-bg);
88
+ }
89
+ .scroll::-webkit-resizer, .scroll ::-webkit-resizer {
90
+ background: inherit;
91
+ }
@@ -1,13 +1,13 @@
1
- *,
2
- :after,
3
- :before {
4
- outline: 0;
5
- box-sizing: border-box;
6
- -webkit-box-sizing: border-box;
7
- -moz-box-sizing: border-box;
8
- -ms-box-sizing: border-box;
9
- }
10
- html {
11
- /* Variable:Ignore */
12
- font-size: 16px;
13
- }
1
+ *,
2
+ :after,
3
+ :before {
4
+ outline: 0;
5
+ box-sizing: border-box;
6
+ -webkit-box-sizing: border-box;
7
+ -moz-box-sizing: border-box;
8
+ -ms-box-sizing: border-box;
9
+ }
10
+ html {
11
+ /* Variable:Ignore */
12
+ font-size: 16px;
13
+ }
@@ -1,146 +1,146 @@
1
- .zoomInEnter,
2
- .zoomInLeave.zoomInLeaveActive {
3
- opacity: 0;
4
- }.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
5
- transform: perspective(1px) scale(1.5) translateZ(0);
6
- transition-duration: var(--zd_transition3);
7
- transition-property: all;
8
- }
9
- .zoomInEnter.zoomInEnterActive,
10
- .zoomInLeave {
11
- opacity: 1;
12
- }
13
- .zoomInEnter.zoomInEnterActive, .zoomInLeave {
14
- transform: perspective(1px) scale(1) translateZ(0);
15
- transition-duration: var(--zd_transition3);
16
- transition-property: all;
17
- }
18
-
19
- .scaleInEnter,
20
- .scaleInLeave.scaleInLeaveActive {
21
- opacity: 0;
22
- }
23
-
24
- .scaleInEnter, .scaleInLeave.scaleInLeaveActive {
25
- transform: scale(0);
26
- transition-duration: var(--zd_transition3);
27
- transition-property: all;
28
- }
29
- .scaleInEnter.scaleInEnterActive,
30
- .scaleInLeave {
31
- opacity: 1;
32
- }
33
- .scaleInEnter.scaleInEnterActive, .scaleInLeave {
34
- transform: scale(1);
35
- transition-duration: var(--zd_transition3);
36
- transition-property: all;
37
- }
38
-
39
- .fadeInEnter,
40
- .fadeInLeave.fadeInLeaveActive {
41
- opacity: 0;
42
- }
43
-
44
- .fadeInEnter, .fadeInLeave.fadeInLeaveActive {
45
- transition-duration: var(--zd_transition3);
46
- transition-property: all;
47
- }
48
-
49
- .fadeInEnter.fadeInEnterActive,
50
- .fadeInLeave {
51
- opacity: 1;
52
- }
53
-
54
- .fadeInEnter.fadeInEnterActive, .fadeInLeave {
55
- transition-duration: var(--zd_transition3);
56
- transition-property: all;
57
- }
58
-
59
- .slideLeftEnter,
60
- .slideLeftLeave.slideLeftLeaveActive {
61
- opacity: 0;
62
- }
63
-
64
- .slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
65
- transition-duration: var(--zd_transition3);
66
- transition-property: all;
67
- }
68
-
69
- [dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
70
- transform: translateX(110%);
71
- }
72
-
73
- [dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
74
- transform: translateX(-110%);
75
- }
76
-
77
- .slideLeftEnter.slideLeftEnterActive,
78
- .slideLeftLeave {
79
- opacity: 1;
80
- }
81
-
82
- .slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
83
- transform: translateX(0%);
84
- transition-duration: var(--zd_transition3);
85
- transition-property: all;
86
- }
87
-
88
- .slideDownEnter,
89
- .slideDownLeave.slideDownLeaveActive {
90
- opacity: 0;
91
- }
92
-
93
- .slideDownEnter, .slideDownLeave.slideDownLeaveActive {
94
- transform: translateY(-100%);
95
- transition-duration: var(--zd_transition3);
96
- transition-property: all;
97
- }
98
-
99
- .slideDownEnter.slideDownEnterActive,
100
- .slideDownLeave {
101
- opacity: 1;
102
- }
103
-
104
- .slideDownEnter.slideDownEnterActive, .slideDownLeave {
105
- transform: translateY(0%);
106
- transition-duration: var(--zd_transition3);
107
- transition-property: all;
108
- }
109
-
110
- .skewInEnter,
111
- .skewInLeave.skewInLeaveActive {
112
- opacity: 0;
113
- }
114
-
115
- .skewInEnter, .skewInLeave.skewInLeaveActive {
116
- transition-duration: var(--zd_transition3);
117
- transition-property: all;
118
- }
119
-
120
- [dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
121
- transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
122
- }
123
-
124
- [dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
125
- transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
126
- }
127
-
128
- .skewInEnter.skewInEnterActive,
129
- .skewInLeave {
130
- opacity: 1;
131
- }
132
-
133
- .skewInEnter.skewInEnterActive, .skewInLeave {
134
- transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
135
- transition-duration: var(--zd_transition3);
136
- transition-property: all;
137
- }
138
-
139
- .defaultEnter,
140
- .defaultLeave.defaultLeaveActive {
141
- display: none;
142
- }
143
- .defaultEnter.defaultEnterActive,
144
- .defaultLeave {
145
- display: block;
146
- }
1
+ .zoomInEnter,
2
+ .zoomInLeave.zoomInLeaveActive {
3
+ opacity: 0;
4
+ }.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
5
+ transform: perspective(1px) scale(1.5) translateZ(0);
6
+ transition-duration: var(--zd_transition3);
7
+ transition-property: all;
8
+ }
9
+ .zoomInEnter.zoomInEnterActive,
10
+ .zoomInLeave {
11
+ opacity: 1;
12
+ }
13
+ .zoomInEnter.zoomInEnterActive, .zoomInLeave {
14
+ transform: perspective(1px) scale(1) translateZ(0);
15
+ transition-duration: var(--zd_transition3);
16
+ transition-property: all;
17
+ }
18
+
19
+ .scaleInEnter,
20
+ .scaleInLeave.scaleInLeaveActive {
21
+ opacity: 0;
22
+ }
23
+
24
+ .scaleInEnter, .scaleInLeave.scaleInLeaveActive {
25
+ transform: scale(0);
26
+ transition-duration: var(--zd_transition3);
27
+ transition-property: all;
28
+ }
29
+ .scaleInEnter.scaleInEnterActive,
30
+ .scaleInLeave {
31
+ opacity: 1;
32
+ }
33
+ .scaleInEnter.scaleInEnterActive, .scaleInLeave {
34
+ transform: scale(1);
35
+ transition-duration: var(--zd_transition3);
36
+ transition-property: all;
37
+ }
38
+
39
+ .fadeInEnter,
40
+ .fadeInLeave.fadeInLeaveActive {
41
+ opacity: 0;
42
+ }
43
+
44
+ .fadeInEnter, .fadeInLeave.fadeInLeaveActive {
45
+ transition-duration: var(--zd_transition3);
46
+ transition-property: all;
47
+ }
48
+
49
+ .fadeInEnter.fadeInEnterActive,
50
+ .fadeInLeave {
51
+ opacity: 1;
52
+ }
53
+
54
+ .fadeInEnter.fadeInEnterActive, .fadeInLeave {
55
+ transition-duration: var(--zd_transition3);
56
+ transition-property: all;
57
+ }
58
+
59
+ .slideLeftEnter,
60
+ .slideLeftLeave.slideLeftLeaveActive {
61
+ opacity: 0;
62
+ }
63
+
64
+ .slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
65
+ transition-duration: var(--zd_transition3);
66
+ transition-property: all;
67
+ }
68
+
69
+ [dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
70
+ transform: translateX(110%);
71
+ }
72
+
73
+ [dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
74
+ transform: translateX(-110%);
75
+ }
76
+
77
+ .slideLeftEnter.slideLeftEnterActive,
78
+ .slideLeftLeave {
79
+ opacity: 1;
80
+ }
81
+
82
+ .slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
83
+ transform: translateX(0%);
84
+ transition-duration: var(--zd_transition3);
85
+ transition-property: all;
86
+ }
87
+
88
+ .slideDownEnter,
89
+ .slideDownLeave.slideDownLeaveActive {
90
+ opacity: 0;
91
+ }
92
+
93
+ .slideDownEnter, .slideDownLeave.slideDownLeaveActive {
94
+ transform: translateY(-100%);
95
+ transition-duration: var(--zd_transition3);
96
+ transition-property: all;
97
+ }
98
+
99
+ .slideDownEnter.slideDownEnterActive,
100
+ .slideDownLeave {
101
+ opacity: 1;
102
+ }
103
+
104
+ .slideDownEnter.slideDownEnterActive, .slideDownLeave {
105
+ transform: translateY(0%);
106
+ transition-duration: var(--zd_transition3);
107
+ transition-property: all;
108
+ }
109
+
110
+ .skewInEnter,
111
+ .skewInLeave.skewInLeaveActive {
112
+ opacity: 0;
113
+ }
114
+
115
+ .skewInEnter, .skewInLeave.skewInLeaveActive {
116
+ transition-duration: var(--zd_transition3);
117
+ transition-property: all;
118
+ }
119
+
120
+ [dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
121
+ transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
122
+ }
123
+
124
+ [dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
125
+ transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
126
+ }
127
+
128
+ .skewInEnter.skewInEnterActive,
129
+ .skewInLeave {
130
+ opacity: 1;
131
+ }
132
+
133
+ .skewInEnter.skewInEnterActive, .skewInLeave {
134
+ transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
135
+ transition-duration: var(--zd_transition3);
136
+ transition-property: all;
137
+ }
138
+
139
+ .defaultEnter,
140
+ .defaultLeave.defaultLeaveActive {
141
+ display: none;
142
+ }
143
+ .defaultEnter.defaultEnterActive,
144
+ .defaultLeave {
145
+ display: block;
146
+ }
@@ -1,9 +1,9 @@
1
- .buttonReset {
2
- outline: 0;
3
- font: inherit;
4
- color: inherit;
5
- border: inherit;
6
- background-color: inherit;
7
- padding: 0 ;
8
- text-align: inherit;
9
- }
1
+ .buttonReset {
2
+ outline: 0;
3
+ font: inherit;
4
+ color: inherit;
5
+ border: inherit;
6
+ background-color: inherit;
7
+ padding: 0 ;
8
+ text-align: inherit;
9
+ }
File without changes
File without changes
@@ -49,11 +49,11 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
49
49
 
50
50
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
51
51
 
52
- /*
53
- 1. need to change name into firstName lastName
54
- 2. pattern support via context as well as props
55
- 3. prop high priority to arrange firstName lastName
56
- 4. team pass name as lastName and pass pattern via prop
52
+ /*
53
+ 1. need to change name into firstName lastName
54
+ 2. pattern support via context as well as props
55
+ 3. prop high priority to arrange firstName lastName
56
+ 4. team pass name as lastName and pass pattern via prop
57
57
  */
58
58
  function Avatar(props) {
59
59
  var src = props.src,
@@ -19,10 +19,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
19
19
 
20
20
  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); }
21
21
 
22
- /* once avatar support firstname lastname and pattern
23
- pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
24
-
25
- Not going to export to external then can kept inside supportapp
22
+ /* once avatar support firstname lastname and pattern
23
+ pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
24
+
25
+ Not going to export to external then can kept inside supportapp
26
26
  */
27
27
  function AvatarTeam(props) {
28
28
  var src = props.src,
@@ -21,10 +21,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
21
21
 
22
22
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
23
 
24
- /*
25
- Button text and children props?
26
- use children for both cases
27
- toLowerCase check needed?
24
+ /*
25
+ Button text and children props?
26
+ use children for both cases
27
+ toLowerCase check needed?
28
28
  */
29
29
  function Button(props) {
30
30
  var text = props.text,
@@ -44,10 +44,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
44
44
 
45
45
  /* eslint-disable react/forbid-component-props */
46
46
 
47
- /*
48
- isscroll header border change use ref
49
- scroll logic remove from here
50
- scroll logic move to virtualizer list
47
+ /*
48
+ isscroll header border change use ref
49
+ scroll logic remove from here
50
+ scroll logic move to virtualizer list
51
51
  */
52
52
 
53
53
  /* performance handling pending in card component moving to ref instead of setState */
File without changes
@@ -39,6 +39,8 @@ var _Layout = require("../Layout");
39
39
 
40
40
  var _dateFormatUtils = require("../../DateTime/dateFormatUtils");
41
41
 
42
+ var _dateFormat = require("./../../DateTime/dateFormatUtils/dateFormat");
43
+
42
44
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
43
45
 
44
46
  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); }
@@ -111,7 +113,6 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
111
113
  _this.handleSelectMonthViaYearView = _this.handleSelectMonthViaYearView.bind(_assertThisInitialized(_this));
112
114
  _this.handleGetStateValues = _this.handleGetStateValues.bind(_assertThisInitialized(_this));
113
115
  _this.handleYearViewToggle = _this.handleYearViewToggle.bind(_assertThisInitialized(_this));
114
- _this.getInitialDate = _this.getInitialDate.bind(_assertThisInitialized(_this));
115
116
  var _props$i18nKeys$ampmT = props.i18nKeys.ampmText,
116
117
  ampmText = _props$i18nKeys$ampmT === void 0 ? _constants.ampmTextDefault : _props$i18nKeys$ampmT;
117
118
 
@@ -171,34 +172,6 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
171
172
  value: function componentWillUnmount() {
172
173
  this.handleExposeMethods(false);
173
174
  }
174
- }, {
175
- key: "getInitialDate",
176
- value: function getInitialDate(value) {
177
- var timeZone = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
178
- var isDateTime = arguments.length > 2 ? arguments[2] : undefined;
179
- var result = null;
180
-
181
- if (isDateTime) {
182
- if (timeZone && value) {
183
- result = _datetimejs["default"].toDate(_datetimejs["default"].tz.utcToTz(value, timeZone));
184
- } else {
185
- value = value ? value.replace('Z', '') : null;
186
- result = value ? new Date(value) : new Date();
187
- }
188
- } else {
189
- if (value) {
190
- if (timeZone) {
191
- result = _datetimejs["default"].toDate(value);
192
- } else {
193
- result = new Date(value);
194
- }
195
- } else {
196
- result = new Date();
197
- }
198
- }
199
-
200
- return result;
201
- }
202
175
  }, {
203
176
  key: "getStateFromProps",
204
177
  value: function getStateFromProps(props) {
@@ -229,7 +202,7 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
229
202
  defaultMin = parseInt(defaultMin);
230
203
  }
231
204
 
232
- var dateObj = this.getInitialDate(value, timeZone, isDateTimeField);
205
+ var dateObj = (0, _dateFormat.getDateText)(value, timeZone, isDateTimeField);
233
206
  date = dateObj.getDate();
234
207
  month = dateObj.getMonth();
235
208
  year = dateObj.getFullYear();