@zohodesk/dot 1.2.3 → 1.3.0-temp-158

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 (299) 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 +24 -9
  5. package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +1 -1
  6. package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +1 -1
  7. package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +1 -1
  8. package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +1 -1
  9. package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +1 -1
  10. package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +1 -1
  11. package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +1 -1
  12. package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +1 -1
  13. package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +1 -1
  14. package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +1 -1
  15. package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +1 -1
  16. package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +1 -1
  17. package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +1 -1
  18. package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +1 -1
  19. package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +1 -1
  20. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  21. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  22. package/coverage/ExternalLink/index.html +1 -1
  23. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  24. package/coverage/ExternalLink/props/index.html +1 -1
  25. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  26. package/coverage/IconButton/IconButton.js.html +466 -0
  27. package/coverage/IconButton/IconButton.module.css.html +151 -0
  28. package/coverage/IconButton/index.html +131 -0
  29. package/coverage/IconButton/props/defaultProps.js.html +136 -0
  30. package/coverage/IconButton/props/index.html +131 -0
  31. package/coverage/IconButton/props/propTypes.js.html +187 -0
  32. package/coverage/Image/Image.js.html +1 -1
  33. package/coverage/Image/Image.module.css.html +1 -1
  34. package/coverage/Image/index.html +1 -1
  35. package/coverage/Image/props/defaultProps.js.html +1 -1
  36. package/coverage/Image/props/index.html +1 -1
  37. package/coverage/Image/props/propTypes.js.html +1 -1
  38. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  39. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  40. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  41. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  42. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  43. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  44. package/coverage/coverage-final.json +4 -0
  45. package/coverage/coverage-summary.json +5 -1
  46. package/coverage/index.html +40 -10
  47. package/es/Drawer/Drawer.js +13 -12
  48. package/es/IconButton/__tests__/IconButton.spec.js +148 -0
  49. package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
  50. package/es/form/fields/FieldContainer/props/propTypes.js +1 -1
  51. package/es/lookup/Lookup/Lookup.js +10 -10
  52. package/es/v1/ActionButton/ActionButton.js +11 -8
  53. package/es/v1/AlphabeticList/AlphabeticList.js +7 -3
  54. package/es/v1/Attachment/Attachment.js +79 -76
  55. package/es/v1/AttachmentViewer/AttachmentImage.js +44 -63
  56. package/es/v1/AttachmentViewer/AttachmentViewer.js +4 -4
  57. package/es/v1/ChannelIcon/ChannelIcon.js +1 -1
  58. package/es/v1/Drawer/Drawer.js +16 -16
  59. package/es/v1/FlipCard/FlipCard.js +4 -4
  60. package/es/v1/FormAction/FormAction.js +1 -1
  61. package/es/v1/FreezeLayer/FreezeLayer.js +3 -3
  62. package/es/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
  63. package/es/v1/IconButton/IconButton.js +3 -3
  64. package/es/v1/Image/Image.js +26 -33
  65. package/es/v1/ImportantNotes/ImportantNotes.js +1 -1
  66. package/es/v1/Loader/Loader.js +12 -18
  67. package/es/v1/MessageBanner/MessageBanner.js +1 -1
  68. package/es/v1/NewStar/NewStar.js +1 -1
  69. package/es/v1/Separator/Separator.js +41 -48
  70. package/es/v1/TagWithIcon/TagWithIcon.js +1 -1
  71. package/es/v1/ToastMessage/ToastMessage.js +4 -4
  72. package/es/v1/Upload/Upload.js +60 -67
  73. package/es/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
  74. package/es/v1/alert/AlertHeader/AlertHeader.js +58 -49
  75. package/es/v1/alert/AlertLookup/AlertLookup.js +101 -41
  76. package/es/v1/avatar/AvatarClose/AvatarClose.js +1 -1
  77. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
  78. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
  79. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
  80. package/es/v1/avatar/AvatarThread/AvatarThread.js +1 -1
  81. package/es/v1/avatar/AvatarUser/AvatarUser.js +1 -1
  82. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  83. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -15
  84. package/es/v1/errorstate/Inconvenience/Inconvenience.js +53 -80
  85. package/es/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
  86. package/es/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
  87. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -73
  88. package/es/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
  89. package/es/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
  90. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +102 -118
  91. package/es/v1/form/fields/CurrencyField/CurrencyField.js +129 -155
  92. package/es/v1/form/fields/DateField/DateField.js +132 -163
  93. package/es/v1/form/fields/FieldContainer/FieldContainer.js +52 -57
  94. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +144 -168
  95. package/es/v1/form/fields/PhoneField/PhoneField.js +129 -157
  96. package/es/v1/form/fields/RadioField/RadioField.js +91 -99
  97. package/es/v1/form/fields/SelectField/SelectField.js +141 -156
  98. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
  99. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -5
  100. package/es/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
  101. package/es/v1/form/fields/TextEditor/TextEditor.js +1 -1
  102. package/es/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
  103. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
  104. package/es/v1/form/fields/TextareaField/TextareaField.js +3 -3
  105. package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  106. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +155 -198
  107. package/es/v1/layout/SubtabLayout/SubtabLayout.js +110 -126
  108. package/es/v1/list/AvatarFlip/AvatarFlip.js +61 -64
  109. package/es/v1/list/BluePrintStatus/BluePrintStatus.js +11 -18
  110. package/es/v1/list/Comment/Comment.js +25 -32
  111. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +57 -72
  112. package/es/v1/list/Dot/Dot.js +9 -16
  113. package/es/v1/list/DotNew/DotNew.js +11 -18
  114. package/es/v1/list/GridStencils/GridStencils.js +21 -24
  115. package/es/v1/list/Icons/AddNewIcon.js +19 -22
  116. package/es/v1/list/Icons/CompleteIcon.js +21 -24
  117. package/es/v1/list/Icons/DeleteIcon.js +22 -25
  118. package/es/v1/list/Icons/EditIcon.js +22 -25
  119. package/es/v1/list/Icons/FloatingIcons.js +12 -19
  120. package/es/v1/list/Icons/ReadUnreadIcon.js +24 -27
  121. package/es/v1/list/Icons/SmartIcon.js +20 -23
  122. package/es/v1/list/ListLayout/ListLayout.js +54 -68
  123. package/es/v1/list/ListStencils/ListStencils.js +28 -31
  124. package/es/v1/list/SecondaryText/AccountName.js +1 -1
  125. package/es/v1/list/SecondaryText/ContactName.js +1 -1
  126. package/es/v1/list/SecondryPanel/SecondryPanel.js +1 -2
  127. package/es/v1/list/Thread/Thread.js +1 -1
  128. package/es/v1/list/UserTime/UserTime.js +1 -1
  129. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +266 -357
  130. package/es/v1/list/status/StatusListItem/StatusListItem.js +77 -102
  131. package/es/v1/lookup/EmptyPage/EmptyPage.js +15 -26
  132. package/es/v1/lookup/Lookup/Lookup.js +14 -13
  133. package/es/v1/lookup/Section/Section.js +15 -21
  134. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  135. package/es/v1/lookup/header/Search/Search.js +3 -3
  136. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
  137. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
  138. package/es/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
  139. package/es/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
  140. package/es/v1/setup/header/Button/Button.js +1 -1
  141. package/es/v1/setup/header/Link/Link.js +1 -1
  142. package/es/v1/setup/header/Search/Search.js +1 -1
  143. package/es/v1/setup/table/Table/Table.js +1 -1
  144. package/es/v1/setup/table/TableBody/TableBody.js +1 -1
  145. package/es/v1/setup/table/TableData/TableData.js +1 -1
  146. package/es/v1/setup/table/TableHead/TableHead.js +1 -1
  147. package/es/v1/setup/table/TableRow/TableRow.js +1 -1
  148. package/es/v1/svg/PlusIcon.js +20 -27
  149. package/es/v1/svg/SnippetIcon.js +22 -29
  150. package/es/v1/svg/TemplateIcon.js +23 -30
  151. package/lib/Drawer/Drawer.js +18 -17
  152. package/lib/IconButton/__tests__/IconButton.spec.js +156 -0
  153. package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
  154. package/lib/form/fields/FieldContainer/props/propTypes.js +1 -1
  155. package/lib/lookup/Lookup/Lookup.js +15 -15
  156. package/lib/v1/ActionButton/ActionButton.js +11 -9
  157. package/lib/v1/AlphabeticList/AlphabeticList.js +8 -6
  158. package/lib/v1/Attachment/Attachment.js +78 -113
  159. package/lib/v1/AttachmentViewer/AttachmentImage.js +61 -96
  160. package/lib/v1/AttachmentViewer/AttachmentViewer.js +4 -4
  161. package/lib/v1/ChannelIcon/ChannelIcon.js +1 -1
  162. package/lib/v1/Drawer/Drawer.js +21 -21
  163. package/lib/v1/FlipCard/FlipCard.js +4 -4
  164. package/lib/v1/FormAction/FormAction.js +1 -1
  165. package/lib/v1/FreezeLayer/FreezeLayer.js +3 -3
  166. package/lib/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
  167. package/lib/v1/IconButton/IconButton.js +3 -3
  168. package/lib/v1/Image/Image.js +26 -71
  169. package/lib/v1/ImportantNotes/ImportantNotes.js +1 -1
  170. package/lib/v1/Loader/Loader.js +13 -56
  171. package/lib/v1/MessageBanner/MessageBanner.js +1 -1
  172. package/lib/v1/NewStar/NewStar.js +1 -1
  173. package/lib/v1/Separator/Separator.js +45 -86
  174. package/lib/v1/TagWithIcon/TagWithIcon.js +1 -1
  175. package/lib/v1/ToastMessage/ToastMessage.js +4 -4
  176. package/lib/v1/Upload/Upload.js +59 -104
  177. package/lib/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
  178. package/lib/v1/alert/AlertHeader/AlertHeader.js +68 -50
  179. package/lib/v1/alert/AlertLookup/AlertLookup.js +109 -42
  180. package/lib/v1/avatar/AvatarClose/AvatarClose.js +1 -1
  181. package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
  182. package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
  183. package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
  184. package/lib/v1/avatar/AvatarThread/AvatarThread.js +1 -1
  185. package/lib/v1/avatar/AvatarUser/AvatarUser.js +1 -1
  186. package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  187. package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -16
  188. package/lib/v1/errorstate/Inconvenience/Inconvenience.js +53 -115
  189. package/lib/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
  190. package/lib/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
  191. package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -108
  192. package/lib/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
  193. package/lib/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
  194. package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +108 -160
  195. package/lib/v1/form/fields/CurrencyField/CurrencyField.js +153 -194
  196. package/lib/v1/form/fields/DateField/DateField.js +141 -207
  197. package/lib/v1/form/fields/FieldContainer/FieldContainer.js +60 -91
  198. package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +169 -229
  199. package/lib/v1/form/fields/PhoneField/PhoneField.js +151 -194
  200. package/lib/v1/form/fields/RadioField/RadioField.js +93 -139
  201. package/lib/v1/form/fields/SelectField/SelectField.js +152 -203
  202. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
  203. package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -8
  204. package/lib/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
  205. package/lib/v1/form/fields/TextEditor/TextEditor.js +1 -1
  206. package/lib/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
  207. package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
  208. package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -3
  209. package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  210. package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +161 -254
  211. package/lib/v1/layout/SubtabLayout/SubtabLayout.js +109 -208
  212. package/lib/v1/list/AvatarFlip/AvatarFlip.js +61 -106
  213. package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +11 -51
  214. package/lib/v1/list/Comment/Comment.js +24 -69
  215. package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +67 -122
  216. package/lib/v1/list/Dot/Dot.js +9 -54
  217. package/lib/v1/list/DotNew/DotNew.js +11 -56
  218. package/lib/v1/list/GridStencils/GridStencils.js +21 -62
  219. package/lib/v1/list/Icons/AddNewIcon.js +19 -60
  220. package/lib/v1/list/Icons/CompleteIcon.js +21 -62
  221. package/lib/v1/list/Icons/DeleteIcon.js +22 -63
  222. package/lib/v1/list/Icons/EditIcon.js +22 -63
  223. package/lib/v1/list/Icons/FloatingIcons.js +17 -62
  224. package/lib/v1/list/Icons/ReadUnreadIcon.js +24 -65
  225. package/lib/v1/list/Icons/SmartIcon.js +20 -65
  226. package/lib/v1/list/ListLayout/ListLayout.js +53 -116
  227. package/lib/v1/list/ListStencils/ListStencils.js +33 -72
  228. package/lib/v1/list/SecondaryText/AccountName.js +1 -1
  229. package/lib/v1/list/SecondaryText/ContactName.js +1 -1
  230. package/lib/v1/list/SecondryPanel/SecondryPanel.js +3 -5
  231. package/lib/v1/list/Thread/Thread.js +1 -1
  232. package/lib/v1/list/UserTime/UserTime.js +1 -1
  233. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +367 -472
  234. package/lib/v1/list/status/StatusListItem/StatusListItem.js +83 -139
  235. package/lib/v1/lookup/EmptyPage/EmptyPage.js +43 -93
  236. package/lib/v1/lookup/Lookup/Lookup.js +20 -18
  237. package/lib/v1/lookup/Section/Section.js +15 -59
  238. package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  239. package/lib/v1/lookup/header/Search/Search.js +3 -3
  240. package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
  241. package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
  242. package/lib/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
  243. package/lib/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
  244. package/lib/v1/setup/header/Button/Button.js +1 -1
  245. package/lib/v1/setup/header/Link/Link.js +1 -1
  246. package/lib/v1/setup/header/Search/Search.js +1 -1
  247. package/lib/v1/setup/table/Table/Table.js +1 -1
  248. package/lib/v1/setup/table/TableBody/TableBody.js +1 -1
  249. package/lib/v1/setup/table/TableData/TableData.js +1 -1
  250. package/lib/v1/setup/table/TableHead/TableHead.js +1 -1
  251. package/lib/v1/setup/table/TableRow/TableRow.js +1 -1
  252. package/lib/v1/svg/PlusIcon.js +20 -65
  253. package/lib/v1/svg/SnippetIcon.js +22 -67
  254. package/lib/v1/svg/TemplateIcon.js +23 -68
  255. package/package.json +13 -13
  256. package/result.json +1 -1
  257. package/unittest/index.html +1 -1
  258. package/es/v1/errorstate/LinkText/LinkText.js +0 -29
  259. package/es/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -84
  260. package/es/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -83
  261. package/es/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -84
  262. package/es/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -86
  263. package/es/v1/errorstate/WillBack/WillBack.js +0 -75
  264. package/es/v1/errorstate/index.js +0 -8
  265. package/es/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -63
  266. package/es/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
  267. package/es/v1/version2/index.js +0 -12
  268. package/es/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -79
  269. package/es/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -164
  270. package/lib/v1/errorstate/LinkText/LinkText.js +0 -80
  271. package/lib/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -135
  272. package/lib/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -134
  273. package/lib/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -135
  274. package/lib/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -137
  275. package/lib/v1/errorstate/WillBack/WillBack.js +0 -125
  276. package/lib/v1/errorstate/index.js +0 -71
  277. package/lib/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -79
  278. package/lib/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
  279. package/lib/v1/version2/index.js +0 -58
  280. package/lib/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -104
  281. package/lib/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -185
  282. /package/es/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
  283. /package/es/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
  284. /package/es/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
  285. /package/es/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
  286. /package/es/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
  287. /package/es/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
  288. /package/es/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
  289. /package/es/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
  290. /package/es/v1/{version2 → alert}/alertIcons/index.js +0 -0
  291. /package/lib/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
  292. /package/lib/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
  293. /package/lib/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
  294. /package/lib/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
  295. /package/lib/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
  296. /package/lib/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
  297. /package/lib/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
  298. /package/lib/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
  299. /package/lib/v1/{version2 → alert}/alertIcons/index.js +0 -0
@@ -1,122 +1,97 @@
1
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
2
 
3
3
  /**** Libraries ****/
4
- import React from 'react';
5
- import { defaultProps } from './props/defaultProps';
6
- import { propTypes } from './props/propTypes';
7
- import { Container, Box } from '@zohodesk/components/lib/Layout';
4
+ import React, { useRef } from 'react';
5
+ import { defaultProps } from '../../../../list/status/StatusListItem/props/defaultProps';
6
+ import { propTypes } from '../../../../list/status/StatusListItem/props/propTypes';
7
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
8
8
  /**** Components ****/
9
9
 
10
10
  import { Icon } from '@zohodesk/icons';
11
- import CssProvider from '@zohodesk/components/lib/Provider/CssProvider';
11
+ import CssProvider from '@zohodesk/components/es/v1/Provider/CssProvider';
12
12
  /**** CSS ****/
13
13
 
14
- import style from './StatusListItem.module.css';
15
- export default class StatusListItem extends React.Component {
16
- constructor(props) {
17
- super(props);
18
- this.handleClick = this.handleClick.bind(this);
19
- this.getRef = this.getRef.bind(this);
20
- this.handleMouseEnter = this.handleMouseEnter.bind(this);
14
+ import style from '../../../../list/status/StatusListItem/StatusListItem.module.css';
15
+ export default function StatusListItem(props) {
16
+ let {
17
+ size,
18
+ active,
19
+ highlight,
20
+ value,
21
+ autoHover,
22
+ palette,
23
+ title,
24
+ disableTitle,
25
+ needTick,
26
+ isLink,
27
+ href,
28
+ target,
29
+ needBorder,
30
+ isDisabled,
31
+ bulletColor,
32
+ a11y,
33
+ needMultiLineText,
34
+ index,
35
+ getRef,
36
+ id,
37
+ onClick,
38
+ onMouseEnter
39
+ } = props;
40
+ let options = {};
41
+ let {
42
+ role,
43
+ ariaSelected,
44
+ ariaHidden = true
45
+ } = a11y;
46
+
47
+ if (isLink) {
48
+ options.href = href;
49
+ options.target = `_${target}`;
21
50
  }
22
51
 
23
- getRef(ele) {
24
- this.ele = ele;
25
- let {
26
- index,
27
- getRef,
28
- id
29
- } = this.props;
30
- getRef && getRef(ele, index, id);
52
+ const element = useRef(null);
53
+
54
+ function getReference(ele) {
55
+ element.current = ele;
56
+ getRef && getRef(element.current, index, id);
31
57
  }
32
58
 
33
- handleClick(e) {
34
- let {
35
- onClick,
36
- id,
37
- value,
38
- index
39
- } = this.props;
59
+ function handleClick(e) {
40
60
  onClick && onClick(id, value, index, e);
41
61
  }
42
62
 
43
- handleMouseEnter(e) {
44
- let {
45
- onMouseEnter,
46
- id,
47
- value,
48
- index
49
- } = this.props;
63
+ function handleMouseEnter(e) {
50
64
  onMouseEnter && onMouseEnter(id, value, index, e);
51
65
  }
52
66
 
53
- render() {
54
- let {
55
- size,
56
- active,
57
- highlight,
58
- value,
59
- autoHover,
60
- palette,
61
- title,
62
- disableTitle,
63
- needTick,
64
- isLink,
65
- href,
66
- target,
67
- needBorder,
68
- isDisabled,
69
- bulletColor,
70
- a11y,
71
- needMultiLineText
72
- } = this.props;
73
- let options = {};
74
- let {
75
- role,
76
- ariaSelected,
77
- ariaHidden = true
78
- } = a11y;
79
-
80
- if (isLink) {
81
- options.href = href;
82
- options.target = `_${target}`;
83
- }
84
-
85
- return /*#__PURE__*/React.createElement(Container, _extends({
86
- role: role,
87
- "aria-selected": ariaSelected,
88
- isCover: false,
89
- align: "baseline",
90
- alignBox: "row",
91
- className: `${style.list} ${style[size]} ${style[palette]} ${active ? style.active : highlight && !isDisabled ? style.hover : ''} ${autoHover && !isDisabled ? style.effect : ''} ${needTick ? style.withTick : ''} ${isDisabled ? CssProvider('isDisable') : ''} ${needBorder ? style.withBorder : ''}`,
92
- dataId: String(value).replace("'", '_'),
93
- onClick: !isDisabled && this.handleClick,
94
- onMouseEnter: this.handleMouseEnter,
95
- eleRef: this.getRef,
96
- tagName: isLink ? 'a' : 'li',
97
- "data-title": isDisabled ? disableTitle : null,
98
- tabindex: isDisabled ? '-1' : '0'
99
- }, options), /*#__PURE__*/React.createElement(Box, {
100
- className: `${style.statusType} ${style[bulletColor]}`
101
- }), /*#__PURE__*/React.createElement(Box, {
102
- "data-title": isDisabled ? null : title,
103
- flexible: true,
104
- shrink: true,
105
- className: needMultiLineText ? style.multiLineValue : style.value
106
- }, value), needTick && active ? /*#__PURE__*/React.createElement("div", {
107
- className: style.tickIcon,
108
- "aria-hidden": ariaHidden
109
- }, /*#__PURE__*/React.createElement(Icon, {
110
- name: "ZD-ticknew",
111
- size: "8"
112
- })) : null);
113
- }
114
-
67
+ return /*#__PURE__*/React.createElement(Container, _extends({
68
+ role: role,
69
+ "aria-selected": ariaSelected,
70
+ isCover: false,
71
+ align: "baseline",
72
+ alignBox: "row",
73
+ className: `${style.list} ${style[size]} ${style[palette]} ${active ? style.active : highlight && !isDisabled ? style.hover : ''} ${autoHover && !isDisabled ? style.effect : ''} ${needTick ? style.withTick : ''} ${isDisabled ? CssProvider('isDisable') : ''} ${needBorder ? style.withBorder : ''}`,
74
+ dataId: String(value).replace("'", '_'),
75
+ onClick: !isDisabled && handleClick,
76
+ onMouseEnter: handleMouseEnter,
77
+ eleRef: getReference,
78
+ tagName: isLink ? 'a' : 'li',
79
+ "data-title": isDisabled ? disableTitle : null,
80
+ tabindex: isDisabled ? '-1' : '0'
81
+ }, options), /*#__PURE__*/React.createElement(Box, {
82
+ className: `${style.statusType} ${style[bulletColor]}`
83
+ }), /*#__PURE__*/React.createElement(Box, {
84
+ "data-title": isDisabled ? null : title,
85
+ flexible: true,
86
+ shrink: true,
87
+ className: needMultiLineText ? style.multiLineValue : style.value
88
+ }, value), needTick && active ? /*#__PURE__*/React.createElement("div", {
89
+ className: style.tickIcon,
90
+ "aria-hidden": ariaHidden
91
+ }, /*#__PURE__*/React.createElement(Icon, {
92
+ name: "ZD-ticknew",
93
+ size: "8"
94
+ })) : null);
115
95
  }
116
96
  StatusListItem.defaultProps = defaultProps;
117
- StatusListItem.propTypes = propTypes; // if (__DOCS__) {
118
- // StatusListItem.docs = {
119
- // componentGroup: 'StatusListItem',
120
- // folderName: 'List'
121
- // };
122
- // }
97
+ StatusListItem.propTypes = propTypes;
@@ -1,5 +1,5 @@
1
1
  /*** Libraries ***/
2
- import React, { Component } from 'react';
2
+ import React from 'react';
3
3
  import { defaultProps } from '../../../lookup/EmptyPage/props/defaultProps';
4
4
  import { propTypes } from '../../../lookup/EmptyPage/props/propTypes';
5
5
  import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
@@ -9,13 +9,13 @@ import EmptyProducts from '@zohodesk/svg/lib/emptystate/version3/EmptyProducts';
9
9
  /*** CSS ***/
10
10
 
11
11
  import style from '../../../lookup/EmptyPage/LookupEmptyPage.module.css';
12
- export default class EmptyPage extends Component {
13
- constructor(props) {
14
- super(props);
15
- this.renderEmptyState = this.renderEmptyState.bind();
16
- }
12
+ export default function EmptyPage(props) {
13
+ let {
14
+ type,
15
+ title
16
+ } = props;
17
17
 
18
- renderEmptyState(type) {
18
+ function renderEmptyState(type) {
19
19
  switch (type) {
20
20
  case 'search':
21
21
  return /*#__PURE__*/React.createElement(EmptySearch, {
@@ -42,24 +42,13 @@ export default class EmptyPage extends Component {
42
42
  }
43
43
  }
44
44
 
45
- render() {
46
- let {
47
- type,
48
- title
49
- } = this.props;
50
- return /*#__PURE__*/React.createElement("div", {
51
- className: style.container,
52
- "data-id": `empty_${type}`,
53
- "data-test-id": `empty_${type}`
54
- }, this.renderEmptyState(type), /*#__PURE__*/React.createElement("div", {
55
- className: style.contentDiv
56
- }, title));
57
- }
58
-
45
+ return /*#__PURE__*/React.createElement("div", {
46
+ className: style.container,
47
+ "data-id": `empty_${type}`,
48
+ "data-test-id": `empty_${type}`
49
+ }, renderEmptyState(type), /*#__PURE__*/React.createElement("div", {
50
+ className: style.contentDiv
51
+ }, title));
59
52
  }
60
53
  EmptyPage.propTypes = propTypes;
61
- EmptyPage.defaultProps = defaultProps; // if (__DOCS__) {
62
- // EmptyPage.docs = {
63
- // componentGroup: 'Lookup'
64
- // };
65
- // }
54
+ EmptyPage.defaultProps = defaultProps;
@@ -1,11 +1,12 @@
1
1
  /*** Libraries ***/
2
- import React, { useRef, useCallback } from 'react';
2
+ import React, { useRef, useCallback, useEffect } from 'react';
3
+ import { useEffectCallOnlyAfterState } from '@zohodesk/hooks';
3
4
  import { defaultProps } from '../../../lookup/Lookup/props/defaultProps';
4
5
  import { propTypes } from '../../../lookup/Lookup/props/propTypes';
5
6
  /*** Components ***/
6
7
 
7
8
  import FreezeLayer from '../../../FreezeLayer/FreezeLayer';
8
- import { Container } from '@zohodesk/components/lib/Layout';
9
+ import { Container } from '@zohodesk/components/es/v1/Layout';
9
10
  import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
10
11
  /*** CSS ***/
11
12
 
@@ -40,17 +41,17 @@ export default function Lookup(props) {
40
41
  focusScopeProps = {}
41
42
  } = customProps;
42
43
  const {
43
- autoFocus = true,
44
- restoreFocus = true,
45
- needArrowLoop = false,
46
- needTabLoop = true,
47
- enableEnterAction = false
44
+ needAutoFocus = true,
45
+ needRestoreFocus = true,
46
+ needListNavigation = false,
47
+ needFocusLoop = true,
48
+ needEnterAction = false
48
49
  } = focusScopeProps;
49
50
  const createRef = useRef(null);
50
51
  const handleKeyDown = useCallback(e => {
51
52
  onKeyDown && onKeyDown(e);
52
53
  }, [onKeyDown]);
53
- useEffect(() => {
54
+ useEffectCallOnlyAfterState(() => {
54
55
  if (isActive) {
55
56
  document.addEventListener('keydown', handleKeyDown);
56
57
  } else {
@@ -90,13 +91,13 @@ export default function Lookup(props) {
90
91
  className: style.container,
91
92
  dataId: "fldValue"
92
93
  }, needFocusScope ? /*#__PURE__*/React.createElement(FocusScope, {
93
- needTabLoop: needTabLoop,
94
- needArrowLoop: needArrowLoop,
94
+ needFocusLoop: needFocusLoop,
95
+ needListNavigation: needListNavigation,
95
96
  elementRef: createRef,
96
- autoFocus: autoFocus,
97
- restoreFocus: restoreFocus,
97
+ needAutoFocus: needAutoFocus,
98
+ needRestoreFocus: needRestoreFocus,
98
99
  onClose: onClose,
99
- enableEnterAction: enableEnterAction
100
+ needEnterAction: needEnterAction
100
101
  }, content) : content));
101
102
  }
102
103
  Lookup.propTypes = propTypes;
@@ -1,25 +1,19 @@
1
- import React, { Component } from 'react';
1
+ import React from 'react';
2
2
  import { propTypes } from '../../../lookup/Section/props/propTypes';
3
- import { Container, Box } from '@zohodesk/components/lib/Layout';
3
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
4
4
  import style from '../../../lookup/Section/LookupSection.module.css';
5
- export default class Section extends Component {
6
- constructor(props) {
7
- super(props);
8
- }
9
-
10
- render() {
11
- let {
12
- alignBox,
13
- className
14
- } = this.props;
15
- return /*#__PURE__*/React.createElement(Container, {
16
- "data-drag-container": "true",
17
- alignBox: alignBox,
18
- className: `${style.section} ${className ? className : ''}`
19
- }, /*#__PURE__*/React.createElement(Box, {
20
- flexible: true
21
- }, this.props.children));
22
- }
23
-
5
+ export default function Section(props) {
6
+ let {
7
+ alignBox,
8
+ className,
9
+ children
10
+ } = props;
11
+ return /*#__PURE__*/React.createElement(Container, {
12
+ "data-drag-container": "true",
13
+ alignBox: alignBox,
14
+ className: `${style.section} ${className ? className : ''}`
15
+ }, /*#__PURE__*/React.createElement(Box, {
16
+ flexible: true
17
+ }, children));
24
18
  }
25
19
  Section.propTypes = propTypes;
@@ -7,7 +7,7 @@ import { propTypes } from '../../../../lookup/header/ModuleHeader/props/propType
7
7
  import Title from '../Title/Title';
8
8
  import Close from '../Close/Close';
9
9
  import Search from '../Search/Search';
10
- import { Container, Box } from '@zohodesk/components/lib/Layout';
10
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
11
11
  /*** CSS ***/
12
12
 
13
13
  import commonStyle from '../../../../lookup/header/lookupHeaderCommon.module.css';
@@ -8,13 +8,13 @@ import { SearchUI_defaultProps } from '../../../../lookup/header/Search/props/de
8
8
  import { Search_propTypes, SearchUI_propTypes } from '../../../../lookup/header/Search/props/propTypes';
9
9
  /** * Components ** */
10
10
 
11
- import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
12
- import { Container, Box } from '@zohodesk/components/lib/Layout';
11
+ import TextBoxIcon from '@zohodesk/components/es/v1/TextBoxIcon/TextBoxIcon';
12
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
13
13
  import { Icon } from '@zohodesk/icons';
14
14
  import ToggleDropDown from '../../../../dropdown/ToggleDropDown/ToggleDropDown';
15
15
  /** * Methods ** */
16
16
 
17
- import { debounce } from '@zohodesk/components/lib/utils/debounce';
17
+ import { debounce } from '@zohodesk/components/es/utils/debounce';
18
18
  import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
19
19
  /** * CSS ** */
20
20
 
@@ -8,7 +8,7 @@ import Title from '../Title/Title';
8
8
  import Close from '../Close/Close';
9
9
  import Search from '../Search/Search';
10
10
  import ViewDropDown from '../../../../lookup/header/ViewDropDown/ViewDropDown';
11
- import { Container, Box } from '@zohodesk/components/lib/Layout';
11
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
12
12
  /*** CSS ***/
13
13
 
14
14
  import commonStyle from '../../../../lookup/header/lookupHeaderCommon.module.css';
@@ -4,17 +4,17 @@ import { defaultProps } from '../../../../lookup/header/ViewDropDown/props/defau
4
4
  import { propTypes } from '../../../../lookup/header/ViewDropDown/props/propTypes';
5
5
  /**** Components ****/
6
6
 
7
- import { SelectComponent } from '@zohodesk/components/lib/Select/Select';
8
- import Popup from '@zohodesk/components/lib/Popup/Popup';
9
- import ListItem from '@zohodesk/components/lib/ListItem/ListItem';
10
- import DropDownSearch from '@zohodesk/components/lib/DropDown/DropDownSearch';
11
- import { Card, CardHeader, CardContent } from '@zohodesk/components/lib/Card';
12
- import ResponsiveDropBox from '@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox';
13
- import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
7
+ import { SelectComponent } from '@zohodesk/components/es/v1/Select/Select';
8
+ import Popup from '@zohodesk/components/es/v1/Popup/Popup';
9
+ import ListItem from '@zohodesk/components/es/v1/ListItem/ListItem';
10
+ import DropDownSearch from '@zohodesk/components/es/v1/DropDown/DropDownSearch';
11
+ import { Card, CardHeader, CardContent } from '@zohodesk/components/es/v1/Card';
12
+ import ResponsiveDropBox from '@zohodesk/components/es/v1/ResponsiveDropBox/ResponsiveDropBox';
13
+ import { ResponsiveReceiver } from '@zohodesk/components/es/v1/Responsive/CustomResponsive';
14
14
  /**** Icons ****/
15
15
 
16
16
  import { Icon } from '@zohodesk/icons';
17
- import { Container, Box } from '@zohodesk/components/lib/Layout';
17
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
18
18
  import Loader from '@zohodesk/svg/lib/Loader/Loader';
19
19
  import style from '../../../../lookup/header/ViewDropDown/ViewDropDown.module.css';
20
20
  /* eslint-disable react/forbid-component-props */
@@ -165,7 +165,8 @@ class DropDown extends SelectComponent {
165
165
  DropDown.propTypes = propTypes;
166
166
  DropDown.defaultProps = defaultProps;
167
167
  const ViewDropDown = Popup(DropDown);
168
- ViewDropDown.defaultProps = DropDown.defaultProps; // if (__DOCS__) {
168
+ ViewDropDown.defaultProps = DropDown.defaultProps;
169
+ ViewDropDown.propTypes = DropDown.propTypes; // if (__DOCS__) {
169
170
  // DropDown.docs = {
170
171
  // componentGroup: 'Lookup'
171
172
  // };
@@ -1,15 +1,15 @@
1
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
2
 
3
3
  import React, { useState } from 'react';
4
- import { defaultProps } from '../../../../version2/notification/DesktopNotification/props/defaultProps';
5
- import { propTypes, DesktopNotificationUI_propTypes } from '../../../../version2/notification/DesktopNotification/props/propTypes';
6
- import { Container, Box } from '@zohodesk/components/lib/Layout';
7
- import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
4
+ import { defaultProps } from '../../../version2/notification/DesktopNotification/props/defaultProps';
5
+ import { propTypes, DesktopNotificationUI_propTypes } from '../../../version2/notification/DesktopNotification/props/propTypes';
6
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
7
+ import { useZIndex } from '@zohodesk/components/es/v1/Provider/ZindexProvider';
8
8
  import AutoClose from '../../../actions/AutoClose';
9
- import Button from '@zohodesk/components/lib/Button/Button';
9
+ import Button from '@zohodesk/components/es/v1/Button/Button';
10
10
  import FormAction from '../../../FormAction/FormAction';
11
11
  import DesktopNotificationHeader from '../DesktopNotificationHeader/DesktopNotificationHeader';
12
- import style from '../../../../version2/notification/DesktopNotification/DesktopNotification.module.css';
12
+ import style from '../../../version2/notification/DesktopNotification/DesktopNotification.module.css';
13
13
  let buttonPaletteObject = {
14
14
  success: {
15
15
  buttonPalette: 'successFilled'
@@ -1,10 +1,10 @@
1
1
  import React, { Component } from 'react';
2
- import { defaultProps } from '../../../../version2/notification/DesktopNotificationHeader/props/defaultProps';
3
- import { propTypes } from '../../../../version2/notification/DesktopNotificationHeader/props/propTypes';
4
- import { Container, Box } from '@zohodesk/components/lib/Layout';
5
- import AlertClose from '../../AlertClose/AlertClose';
6
- import AlertIcons from '../../alertIcons/AlertIcons';
7
- import style from '../../../../version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css';
2
+ import { defaultProps } from '../../../version2/notification/DesktopNotificationHeader/props/defaultProps';
3
+ import { propTypes } from '../../../version2/notification/DesktopNotificationHeader/props/propTypes';
4
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
5
+ import AlertClose from '../../alert/AlertClose/AlertClose';
6
+ import AlertIcons from '../../alert/alertIcons/AlertIcons';
7
+ import style from '../../../version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css';
8
8
  export default function DesktopNotificationHeader(props) {
9
9
  let {
10
10
  onClose,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { defaultProps } from '../../../../setup/header/Button/props/defaultProps';
3
3
  import { propTypes } from '../../../../setup/header/Button/props/propTypes';
4
- import GenButton from '@zohodesk/components/lib/Button/Button';
4
+ import GenButton from '@zohodesk/components/es/v1/Button/Button';
5
5
  import style from '../../../../setup/header/Button/HeaderButton.module.css';
6
6
  export default class Button extends React.Component {
7
7
  constructor(props) {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { defaultProps } from '../../../../setup/header/Link/props/defaultProps';
3
3
  import { propTypes } from '../../../../setup/header/Link/props/propTypes';
4
4
  import { Icon } from '@zohodesk/icons';
5
- import { Box } from '@zohodesk/components/lib/Layout';
5
+ import { Box } from '@zohodesk/components/es/v1/Layout';
6
6
  import ExternalLink from '../../../ExternalLink/ExternalLink';
7
7
  import style from '../../../../setup/header/Link/HeaderLink.module.css';
8
8
  export default class Link extends React.Component {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { defaultProps } from '../../../../setup/header/Search/props/defaultProps';
3
3
  import { propTypes } from '../../../../setup/header/Search/props/propTypes';
4
4
  import { Icon } from '@zohodesk/icons';
5
- import TextBox from '@zohodesk/components/lib/TextBox/TextBox';
5
+ import TextBox from '@zohodesk/components/es/v1/TextBox/TextBox';
6
6
  import style from '../../../../setup/header/Search/Search.module.css';
7
7
  export default class Search extends React.Component {
8
8
  constructor(props) {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { defaultProps } from '../../../../setup/table/Table/props/defaultProps';
3
3
  import { propTypes } from '../../../../setup/table/Table/props/propTypes';
4
- import { Container } from '@zohodesk/components/lib/Layout';
4
+ import { Container } from '@zohodesk/components/es/v1/Layout';
5
5
  export default function Table(props) {
6
6
  let {
7
7
  children,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { defaultProps } from '../../../../setup/table/TableBody/props/defaultProps';
3
3
  import { propTypes } from '../../../../setup/table/TableBody/props/propTypes';
4
- import { Box } from '@zohodesk/components/lib/Layout';
4
+ import { Box } from '@zohodesk/components/es/v1/Layout';
5
5
  export default function TableBody(props) {
6
6
  let {
7
7
  children,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { defaultProps } from '../../../../setup/table/TableData/props/defaultProps';
3
3
  import { propTypes } from '../../../../setup/table/TableData/props/propTypes';
4
- import { Box } from '@zohodesk/components/lib/Layout';
4
+ import { Box } from '@zohodesk/components/es/v1/Layout';
5
5
  import style from '../../../../setup/table/TableData/SetupTableData.module.css';
6
6
  export default function TableData(props) {
7
7
  let {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { defaultProps } from '../../../../setup/table/TableHead/props/defaultProps';
3
3
  import { propTypes } from '../../../../setup/table/TableHead/props/propTypes';
4
- import { Container, Box } from '@zohodesk/components/lib/Layout';
4
+ import { Container, Box } from '@zohodesk/components/es/v1/Layout';
5
5
  import style from '../../../../setup/table/TableHead/SetupTableHead.module.css';
6
6
  export default function TableHead(props) {
7
7
  let {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { defaultProps } from '../../../../setup/table/TableRow/props/defaultProps';
3
3
  import { propTypes } from '../../../../setup/table/TableRow/props/propTypes';
4
- import { Container } from '@zohodesk/components/lib/Layout';
4
+ import { Container } from '@zohodesk/components/es/v1/Layout';
5
5
  import style from '../../../../setup/table/TableRow/SetupTableRow.module.css';
6
6
  export default function TableRow(props) {
7
7
  let {
@@ -1,32 +1,25 @@
1
1
  import React from 'react';
2
2
  import { PlusIcon_defaultProps } from '../../svg/props/defaultProps';
3
3
  import { PlusIcon_propTypes } from '../../svg/props/propTypes';
4
- import SVG from '@zohodesk/svg/lib/SVG/SVG';
5
- export default class PlusIcon extends React.Component {
6
- render() {
7
- let {
8
- isRender,
9
- isSymbol,
10
- className
11
- } = this.props;
12
- return /*#__PURE__*/React.createElement(SVG, {
13
- viewBox: "0 0 32 32",
14
- name: "PlusIcon",
15
- isRender: isRender,
16
- isSymbol: isSymbol,
17
- className: className
18
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
19
- style: {
20
- fill: '#767d89'
21
- },
22
- d: "M16,2.7c0.4,0,0.7,0.1,0.9,0.4s0.4,0.6,0.4,0.9v10.7H28c0.4,0,0.7,0.1,0.9,0.4c0.3,0.3,0.4,0.6,0.4,0.9 c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4H17.3V28c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4c-0.4,0-0.7-0.1-0.9-0.4 c-0.3-0.3-0.4-0.6-0.4-0.9V17.3H4c-0.4,0-0.7-0.1-0.9-0.4S2.7,16.4,2.7,16s0.1-0.7,0.4-0.9c0.3-0.3,0.6-0.4,0.9-0.4h10.7V4 c0-0.4,0.1-0.7,0.4-0.9C15.3,2.8,15.6,2.7,16,2.7z"
23
- })));
24
- }
25
-
4
+ import SVG from '@zohodesk/svg/lib/v1/SVG/SVG';
5
+ export default function PlusIcon(props) {
6
+ let {
7
+ isRender,
8
+ isSymbol,
9
+ className
10
+ } = props;
11
+ return /*#__PURE__*/React.createElement(SVG, {
12
+ viewBox: "0 0 32 32",
13
+ name: "PlusIcon",
14
+ isRender: isRender,
15
+ isSymbol: isSymbol,
16
+ className: className
17
+ }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
18
+ style: {
19
+ fill: '#767d89'
20
+ },
21
+ d: "M16,2.7c0.4,0,0.7,0.1,0.9,0.4s0.4,0.6,0.4,0.9v10.7H28c0.4,0,0.7,0.1,0.9,0.4c0.3,0.3,0.4,0.6,0.4,0.9 c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4H17.3V28c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4c-0.4,0-0.7-0.1-0.9-0.4 c-0.3-0.3-0.4-0.6-0.4-0.9V17.3H4c-0.4,0-0.7-0.1-0.9-0.4S2.7,16.4,2.7,16s0.1-0.7,0.4-0.9c0.3-0.3,0.6-0.4,0.9-0.4h10.7V4 c0-0.4,0.1-0.7,0.4-0.9C15.3,2.8,15.6,2.7,16,2.7z"
22
+ })));
26
23
  }
27
24
  PlusIcon.propTypes = PlusIcon_propTypes;
28
- PlusIcon.defaultProps = PlusIcon_defaultProps; // if (__DOCS__) {
29
- // PlusIcon.docs = {
30
- // componentGroup: 'SVG'
31
- // };
32
- // }
25
+ PlusIcon.defaultProps = PlusIcon_defaultProps;