@zohodesk/dot 1.2.3 → 1.3.0

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 (257) 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 +13 -0
  5. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  6. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  7. package/coverage/ExternalLink/index.html +1 -1
  8. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  9. package/coverage/ExternalLink/props/index.html +1 -1
  10. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  11. package/coverage/Image/Image.js.html +1 -1
  12. package/coverage/Image/Image.module.css.html +1 -1
  13. package/coverage/Image/index.html +1 -1
  14. package/coverage/Image/props/defaultProps.js.html +1 -1
  15. package/coverage/Image/props/index.html +1 -1
  16. package/coverage/Image/props/propTypes.js.html +1 -1
  17. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  18. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  19. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  20. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  21. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  22. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  23. package/coverage/index.html +1 -1
  24. package/es/Drawer/Drawer.js +13 -12
  25. package/es/lookup/Lookup/Lookup.js +10 -10
  26. package/es/v1/ActionButton/ActionButton.js +11 -8
  27. package/es/v1/AlphabeticList/AlphabeticList.js +2 -2
  28. package/es/v1/Attachment/Attachment.js +1 -1
  29. package/es/v1/AttachmentViewer/AttachmentViewer.js +4 -4
  30. package/es/v1/ChannelIcon/ChannelIcon.js +1 -1
  31. package/es/v1/Drawer/Drawer.js +16 -16
  32. package/es/v1/FlipCard/FlipCard.js +4 -4
  33. package/es/v1/FormAction/FormAction.js +1 -1
  34. package/es/v1/FreezeLayer/FreezeLayer.js +3 -3
  35. package/es/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
  36. package/es/v1/IconButton/IconButton.js +3 -3
  37. package/es/v1/ImportantNotes/ImportantNotes.js +1 -1
  38. package/es/v1/Loader/Loader.js +1 -1
  39. package/es/v1/MessageBanner/MessageBanner.js +1 -1
  40. package/es/v1/NewStar/NewStar.js +1 -1
  41. package/es/v1/Separator/Separator.js +1 -1
  42. package/es/v1/TagWithIcon/TagWithIcon.js +1 -1
  43. package/es/v1/ToastMessage/ToastMessage.js +4 -4
  44. package/es/v1/Upload/Upload.js +1 -1
  45. package/es/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
  46. package/es/v1/alert/AlertHeader/AlertHeader.js +58 -49
  47. package/es/v1/alert/AlertLookup/AlertLookup.js +101 -41
  48. package/es/v1/avatar/AvatarClose/AvatarClose.js +1 -1
  49. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
  50. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
  51. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
  52. package/es/v1/avatar/AvatarThread/AvatarThread.js +1 -1
  53. package/es/v1/avatar/AvatarUser/AvatarUser.js +1 -1
  54. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  55. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -15
  56. package/es/v1/errorstate/Inconvenience/Inconvenience.js +53 -80
  57. package/es/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
  58. package/es/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
  59. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -73
  60. package/es/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
  61. package/es/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
  62. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +102 -118
  63. package/es/v1/form/fields/CurrencyField/CurrencyField.js +128 -154
  64. package/es/v1/form/fields/DateField/DateField.js +131 -162
  65. package/es/v1/form/fields/FieldContainer/FieldContainer.js +52 -57
  66. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +144 -168
  67. package/es/v1/form/fields/PhoneField/PhoneField.js +128 -156
  68. package/es/v1/form/fields/RadioField/RadioField.js +2 -2
  69. package/es/v1/form/fields/SelectField/SelectField.js +3 -3
  70. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
  71. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -5
  72. package/es/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
  73. package/es/v1/form/fields/TextEditor/TextEditor.js +1 -1
  74. package/es/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
  75. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
  76. package/es/v1/form/fields/TextareaField/TextareaField.js +3 -3
  77. package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  78. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
  79. package/es/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
  80. package/es/v1/list/AvatarFlip/AvatarFlip.js +61 -64
  81. package/es/v1/list/BluePrintStatus/BluePrintStatus.js +11 -18
  82. package/es/v1/list/Comment/Comment.js +25 -32
  83. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +57 -72
  84. package/es/v1/list/Dot/Dot.js +9 -16
  85. package/es/v1/list/DotNew/DotNew.js +11 -18
  86. package/es/v1/list/GridStencils/GridStencils.js +21 -24
  87. package/es/v1/list/Icons/AddNewIcon.js +19 -22
  88. package/es/v1/list/Icons/CompleteIcon.js +21 -24
  89. package/es/v1/list/Icons/DeleteIcon.js +22 -25
  90. package/es/v1/list/Icons/EditIcon.js +22 -25
  91. package/es/v1/list/Icons/FloatingIcons.js +12 -19
  92. package/es/v1/list/Icons/ReadUnreadIcon.js +24 -27
  93. package/es/v1/list/Icons/SmartIcon.js +20 -23
  94. package/es/v1/list/ListLayout/ListLayout.js +54 -68
  95. package/es/v1/list/ListStencils/ListStencils.js +28 -31
  96. package/es/v1/list/SecondaryText/AccountName.js +1 -1
  97. package/es/v1/list/SecondaryText/ContactName.js +1 -1
  98. package/es/v1/list/SecondryPanel/SecondryPanel.js +1 -2
  99. package/es/v1/list/Thread/Thread.js +1 -1
  100. package/es/v1/list/UserTime/UserTime.js +1 -1
  101. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +266 -357
  102. package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
  103. package/es/v1/lookup/Lookup/Lookup.js +14 -13
  104. package/es/v1/lookup/Section/Section.js +1 -1
  105. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  106. package/es/v1/lookup/header/Search/Search.js +3 -3
  107. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
  108. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
  109. package/es/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
  110. package/es/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
  111. package/es/v1/setup/header/Button/Button.js +1 -1
  112. package/es/v1/setup/header/Link/Link.js +1 -1
  113. package/es/v1/setup/header/Search/Search.js +1 -1
  114. package/es/v1/setup/table/Table/Table.js +1 -1
  115. package/es/v1/setup/table/TableBody/TableBody.js +1 -1
  116. package/es/v1/setup/table/TableData/TableData.js +1 -1
  117. package/es/v1/setup/table/TableHead/TableHead.js +1 -1
  118. package/es/v1/setup/table/TableRow/TableRow.js +1 -1
  119. package/lib/Drawer/Drawer.js +18 -17
  120. package/lib/lookup/Lookup/Lookup.js +15 -15
  121. package/lib/v1/ActionButton/ActionButton.js +11 -9
  122. package/lib/v1/AlphabeticList/AlphabeticList.js +2 -4
  123. package/lib/v1/Attachment/Attachment.js +1 -1
  124. package/lib/v1/AttachmentViewer/AttachmentViewer.js +4 -4
  125. package/lib/v1/ChannelIcon/ChannelIcon.js +1 -1
  126. package/lib/v1/Drawer/Drawer.js +21 -21
  127. package/lib/v1/FlipCard/FlipCard.js +4 -4
  128. package/lib/v1/FormAction/FormAction.js +1 -1
  129. package/lib/v1/FreezeLayer/FreezeLayer.js +3 -3
  130. package/lib/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
  131. package/lib/v1/IconButton/IconButton.js +3 -3
  132. package/lib/v1/ImportantNotes/ImportantNotes.js +1 -1
  133. package/lib/v1/Loader/Loader.js +1 -1
  134. package/lib/v1/MessageBanner/MessageBanner.js +1 -1
  135. package/lib/v1/NewStar/NewStar.js +1 -1
  136. package/lib/v1/Separator/Separator.js +1 -1
  137. package/lib/v1/TagWithIcon/TagWithIcon.js +1 -1
  138. package/lib/v1/ToastMessage/ToastMessage.js +4 -4
  139. package/lib/v1/Upload/Upload.js +1 -1
  140. package/lib/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
  141. package/lib/v1/alert/AlertHeader/AlertHeader.js +68 -50
  142. package/lib/v1/alert/AlertLookup/AlertLookup.js +109 -42
  143. package/lib/v1/avatar/AvatarClose/AvatarClose.js +1 -1
  144. package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
  145. package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
  146. package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
  147. package/lib/v1/avatar/AvatarThread/AvatarThread.js +1 -1
  148. package/lib/v1/avatar/AvatarUser/AvatarUser.js +1 -1
  149. package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
  150. package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -16
  151. package/lib/v1/errorstate/Inconvenience/Inconvenience.js +53 -115
  152. package/lib/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
  153. package/lib/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
  154. package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -108
  155. package/lib/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
  156. package/lib/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
  157. package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +107 -159
  158. package/lib/v1/form/fields/CurrencyField/CurrencyField.js +152 -193
  159. package/lib/v1/form/fields/DateField/DateField.js +140 -206
  160. package/lib/v1/form/fields/FieldContainer/FieldContainer.js +60 -91
  161. package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +168 -228
  162. package/lib/v1/form/fields/PhoneField/PhoneField.js +150 -193
  163. package/lib/v1/form/fields/RadioField/RadioField.js +2 -2
  164. package/lib/v1/form/fields/SelectField/SelectField.js +3 -3
  165. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
  166. package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -8
  167. package/lib/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
  168. package/lib/v1/form/fields/TextEditor/TextEditor.js +1 -1
  169. package/lib/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
  170. package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
  171. package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -3
  172. package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  173. package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
  174. package/lib/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
  175. package/lib/v1/list/AvatarFlip/AvatarFlip.js +61 -106
  176. package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +11 -51
  177. package/lib/v1/list/Comment/Comment.js +24 -69
  178. package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +67 -122
  179. package/lib/v1/list/Dot/Dot.js +9 -54
  180. package/lib/v1/list/DotNew/DotNew.js +11 -56
  181. package/lib/v1/list/GridStencils/GridStencils.js +21 -62
  182. package/lib/v1/list/Icons/AddNewIcon.js +19 -60
  183. package/lib/v1/list/Icons/CompleteIcon.js +21 -62
  184. package/lib/v1/list/Icons/DeleteIcon.js +22 -63
  185. package/lib/v1/list/Icons/EditIcon.js +22 -63
  186. package/lib/v1/list/Icons/FloatingIcons.js +17 -62
  187. package/lib/v1/list/Icons/ReadUnreadIcon.js +24 -65
  188. package/lib/v1/list/Icons/SmartIcon.js +20 -65
  189. package/lib/v1/list/ListLayout/ListLayout.js +53 -116
  190. package/lib/v1/list/ListStencils/ListStencils.js +33 -72
  191. package/lib/v1/list/SecondaryText/AccountName.js +1 -1
  192. package/lib/v1/list/SecondaryText/ContactName.js +1 -1
  193. package/lib/v1/list/SecondryPanel/SecondryPanel.js +3 -5
  194. package/lib/v1/list/Thread/Thread.js +1 -1
  195. package/lib/v1/list/UserTime/UserTime.js +1 -1
  196. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +367 -472
  197. package/lib/v1/list/status/StatusListItem/StatusListItem.js +5 -5
  198. package/lib/v1/lookup/Lookup/Lookup.js +20 -18
  199. package/lib/v1/lookup/Section/Section.js +1 -1
  200. package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  201. package/lib/v1/lookup/header/Search/Search.js +3 -3
  202. package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
  203. package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
  204. package/lib/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
  205. package/lib/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
  206. package/lib/v1/setup/header/Button/Button.js +1 -1
  207. package/lib/v1/setup/header/Link/Link.js +1 -1
  208. package/lib/v1/setup/header/Search/Search.js +1 -1
  209. package/lib/v1/setup/table/Table/Table.js +1 -1
  210. package/lib/v1/setup/table/TableBody/TableBody.js +1 -1
  211. package/lib/v1/setup/table/TableData/TableData.js +1 -1
  212. package/lib/v1/setup/table/TableHead/TableHead.js +1 -1
  213. package/lib/v1/setup/table/TableRow/TableRow.js +1 -1
  214. package/package.json +11 -11
  215. package/result.json +1 -1
  216. package/es/v1/errorstate/LinkText/LinkText.js +0 -29
  217. package/es/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -84
  218. package/es/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -83
  219. package/es/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -84
  220. package/es/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -86
  221. package/es/v1/errorstate/WillBack/WillBack.js +0 -75
  222. package/es/v1/errorstate/index.js +0 -8
  223. package/es/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -63
  224. package/es/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
  225. package/es/v1/version2/index.js +0 -12
  226. package/es/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -79
  227. package/es/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -164
  228. package/lib/v1/errorstate/LinkText/LinkText.js +0 -80
  229. package/lib/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -135
  230. package/lib/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -134
  231. package/lib/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -135
  232. package/lib/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -137
  233. package/lib/v1/errorstate/WillBack/WillBack.js +0 -125
  234. package/lib/v1/errorstate/index.js +0 -71
  235. package/lib/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -79
  236. package/lib/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
  237. package/lib/v1/version2/index.js +0 -58
  238. package/lib/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -104
  239. package/lib/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -185
  240. /package/es/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
  241. /package/es/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
  242. /package/es/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
  243. /package/es/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
  244. /package/es/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
  245. /package/es/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
  246. /package/es/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
  247. /package/es/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
  248. /package/es/v1/{version2 → alert}/alertIcons/index.js +0 -0
  249. /package/lib/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
  250. /package/lib/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
  251. /package/lib/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
  252. /package/lib/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
  253. /package/lib/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
  254. /package/lib/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
  255. /package/lib/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
  256. /package/lib/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
  257. /package/lib/v1/{version2 → alert}/alertIcons/index.js +0 -0
@@ -9,17 +9,17 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
12
- var _defaultProps = require("./props/defaultProps");
12
+ var _defaultProps = require("./../../../../list/status/StatusListItem/props/defaultProps");
13
13
 
14
- var _propTypes = require("./props/propTypes");
14
+ var _propTypes = require("./../../../../list/status/StatusListItem/props/propTypes");
15
15
 
16
- var _Layout = require("@zohodesk/components/lib/Layout");
16
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
17
17
 
18
18
  var _icons = require("@zohodesk/icons");
19
19
 
20
- var _CssProvider = _interopRequireDefault(require("@zohodesk/components/lib/Provider/CssProvider"));
20
+ var _CssProvider = _interopRequireDefault(require("@zohodesk/components/es/v1/Provider/CssProvider"));
21
21
 
22
- var _StatusListItemModule = _interopRequireDefault(require("./StatusListItem.module.css"));
22
+ var _StatusListItemModule = _interopRequireDefault(require("./../../../../list/status/StatusListItem/StatusListItem.module.css"));
23
23
 
24
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
25
 
@@ -9,13 +9,15 @@ exports["default"] = Lookup;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
+ var _hooks = require("@zohodesk/hooks");
13
+
12
14
  var _defaultProps = require("../../../lookup/Lookup/props/defaultProps");
13
15
 
14
16
  var _propTypes = require("../../../lookup/Lookup/props/propTypes");
15
17
 
16
18
  var _FreezeLayer = _interopRequireDefault(require("../../../FreezeLayer/FreezeLayer"));
17
19
 
18
- var _Layout = require("@zohodesk/components/lib/Layout");
20
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
19
21
 
20
22
  var _FocusScope = _interopRequireDefault(require("@zohodesk/a11y/es/FocusScope/FocusScope"));
21
23
 
@@ -58,28 +60,28 @@ function Lookup(props) {
58
60
  ariaModal = _a11y$ariaModal === void 0 ? isActive ? true : undefined : _a11y$ariaModal;
59
61
  var _customProps$focusSco = customProps.focusScopeProps,
60
62
  focusScopeProps = _customProps$focusSco === void 0 ? {} : _customProps$focusSco;
61
- var _focusScopeProps$auto = focusScopeProps.autoFocus,
62
- autoFocus = _focusScopeProps$auto === void 0 ? true : _focusScopeProps$auto,
63
- _focusScopeProps$rest = focusScopeProps.restoreFocus,
64
- restoreFocus = _focusScopeProps$rest === void 0 ? true : _focusScopeProps$rest,
65
- _focusScopeProps$need = focusScopeProps.needArrowLoop,
66
- needArrowLoop = _focusScopeProps$need === void 0 ? false : _focusScopeProps$need,
67
- _focusScopeProps$need2 = focusScopeProps.needTabLoop,
68
- needTabLoop = _focusScopeProps$need2 === void 0 ? true : _focusScopeProps$need2,
69
- _focusScopeProps$enab = focusScopeProps.enableEnterAction,
70
- enableEnterAction = _focusScopeProps$enab === void 0 ? false : _focusScopeProps$enab;
63
+ var _focusScopeProps$need = focusScopeProps.needAutoFocus,
64
+ needAutoFocus = _focusScopeProps$need === void 0 ? true : _focusScopeProps$need,
65
+ _focusScopeProps$need2 = focusScopeProps.needRestoreFocus,
66
+ needRestoreFocus = _focusScopeProps$need2 === void 0 ? true : _focusScopeProps$need2,
67
+ _focusScopeProps$need3 = focusScopeProps.needListNavigation,
68
+ needListNavigation = _focusScopeProps$need3 === void 0 ? false : _focusScopeProps$need3,
69
+ _focusScopeProps$need4 = focusScopeProps.needFocusLoop,
70
+ needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
71
+ _focusScopeProps$need5 = focusScopeProps.needEnterAction,
72
+ needEnterAction = _focusScopeProps$need5 === void 0 ? false : _focusScopeProps$need5;
71
73
  var createRef = (0, _react.useRef)(null);
72
74
  var handleKeyDown = (0, _react.useCallback)(function (e) {
73
75
  onKeyDown && onKeyDown(e);
74
76
  }, [onKeyDown]);
75
- useEffect(function () {
77
+ (0, _hooks.useEffectCallOnlyAfterState)(function () {
76
78
  if (isActive) {
77
79
  document.addEventListener('keydown', handleKeyDown);
78
80
  } else {
79
81
  document.removeEventListener('keydown', handleKeyDown);
80
82
  }
81
83
  }, [isActive]);
82
- useEffect(function () {
84
+ (0, _react.useEffect)(function () {
83
85
  return function () {
84
86
  document.removeEventListener('keydown', handleKeyDown);
85
87
  };
@@ -114,13 +116,13 @@ function Lookup(props) {
114
116
  className: _LookupModule["default"].container,
115
117
  dataId: "fldValue"
116
118
  }, needFocusScope ? /*#__PURE__*/_react["default"].createElement(_FocusScope["default"], {
117
- needTabLoop: needTabLoop,
118
- needArrowLoop: needArrowLoop,
119
+ needFocusLoop: needFocusLoop,
120
+ needListNavigation: needListNavigation,
119
121
  elementRef: createRef,
120
- autoFocus: autoFocus,
121
- restoreFocus: restoreFocus,
122
+ needAutoFocus: needAutoFocus,
123
+ needRestoreFocus: needRestoreFocus,
122
124
  onClose: onClose,
123
- enableEnterAction: enableEnterAction
125
+ needEnterAction: needEnterAction
124
126
  }, content) : content));
125
127
  }
126
128
 
@@ -11,7 +11,7 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  var _propTypes = require("../../../lookup/Section/props/propTypes");
13
13
 
14
- var _Layout = require("@zohodesk/components/lib/Layout");
14
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
15
15
 
16
16
  var _LookupSectionModule = _interopRequireDefault(require("../../../lookup/Section/LookupSection.module.css"));
17
17
 
@@ -19,7 +19,7 @@ var _Close = _interopRequireDefault(require("../Close/Close"));
19
19
 
20
20
  var _Search = _interopRequireDefault(require("../Search/Search"));
21
21
 
22
- var _Layout = require("@zohodesk/components/lib/Layout");
22
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
23
23
 
24
24
  var _lookupHeaderCommonModule = _interopRequireDefault(require("../../../../lookup/header/lookupHeaderCommon.module.css"));
25
25
 
@@ -13,15 +13,15 @@ var _defaultProps = require("../../../../lookup/header/Search/props/defaultProps
13
13
 
14
14
  var _propTypes = require("../../../../lookup/header/Search/props/propTypes");
15
15
 
16
- var _TextBoxIcon = _interopRequireDefault(require("@zohodesk/components/lib/TextBoxIcon/TextBoxIcon"));
16
+ var _TextBoxIcon = _interopRequireDefault(require("@zohodesk/components/es/v1/TextBoxIcon/TextBoxIcon"));
17
17
 
18
- var _Layout = require("@zohodesk/components/lib/Layout");
18
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
19
19
 
20
20
  var _icons = require("@zohodesk/icons");
21
21
 
22
22
  var _ToggleDropDown = _interopRequireDefault(require("../../../../dropdown/ToggleDropDown/ToggleDropDown"));
23
23
 
24
- var _debounce = require("@zohodesk/components/lib/utils/debounce");
24
+ var _debounce = require("@zohodesk/components/es/utils/debounce");
25
25
 
26
26
  var _Common = require("@zohodesk/components/es/utils/Common");
27
27
 
@@ -19,7 +19,7 @@ var _Search = _interopRequireDefault(require("../Search/Search"));
19
19
 
20
20
  var _ViewDropDown = _interopRequireDefault(require("../../../../lookup/header/ViewDropDown/ViewDropDown"));
21
21
 
22
- var _Layout = require("@zohodesk/components/lib/Layout");
22
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
23
23
 
24
24
  var _lookupHeaderCommonModule = _interopRequireDefault(require("../../../../lookup/header/lookupHeaderCommon.module.css"));
25
25
 
@@ -13,23 +13,23 @@ var _defaultProps = require("../../../../lookup/header/ViewDropDown/props/defaul
13
13
 
14
14
  var _propTypes = require("../../../../lookup/header/ViewDropDown/props/propTypes");
15
15
 
16
- var _Select = require("@zohodesk/components/lib/Select/Select");
16
+ var _Select = require("@zohodesk/components/es/v1/Select/Select");
17
17
 
18
- var _Popup = _interopRequireDefault(require("@zohodesk/components/lib/Popup/Popup"));
18
+ var _Popup = _interopRequireDefault(require("@zohodesk/components/es/v1/Popup/Popup"));
19
19
 
20
- var _ListItem = _interopRequireDefault(require("@zohodesk/components/lib/ListItem/ListItem"));
20
+ var _ListItem = _interopRequireDefault(require("@zohodesk/components/es/v1/ListItem/ListItem"));
21
21
 
22
- var _DropDownSearch = _interopRequireDefault(require("@zohodesk/components/lib/DropDown/DropDownSearch"));
22
+ var _DropDownSearch = _interopRequireDefault(require("@zohodesk/components/es/v1/DropDown/DropDownSearch"));
23
23
 
24
- var _Card = require("@zohodesk/components/lib/Card");
24
+ var _Card = require("@zohodesk/components/es/v1/Card");
25
25
 
26
- var _ResponsiveDropBox = _interopRequireDefault(require("@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox"));
26
+ var _ResponsiveDropBox = _interopRequireDefault(require("@zohodesk/components/es/v1/ResponsiveDropBox/ResponsiveDropBox"));
27
27
 
28
- var _CustomResponsive = require("@zohodesk/components/lib/Responsive/CustomResponsive");
28
+ var _CustomResponsive = require("@zohodesk/components/es/v1/Responsive/CustomResponsive");
29
29
 
30
30
  var _icons = require("@zohodesk/icons");
31
31
 
32
- var _Layout = require("@zohodesk/components/lib/Layout");
32
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
33
33
 
34
34
  var _Loader = _interopRequireDefault(require("@zohodesk/svg/lib/Loader/Loader"));
35
35
 
@@ -209,7 +209,8 @@ var DropDown = /*#__PURE__*/function (_SelectComponent) {
209
209
  DropDown.propTypes = _propTypes.propTypes;
210
210
  DropDown.defaultProps = _defaultProps.defaultProps;
211
211
  var ViewDropDown = (0, _Popup["default"])(DropDown);
212
- ViewDropDown.defaultProps = DropDown.defaultProps; // if (__DOCS__) {
212
+ ViewDropDown.defaultProps = DropDown.defaultProps;
213
+ ViewDropDown.propTypes = DropDown.propTypes; // if (__DOCS__) {
213
214
  // DropDown.docs = {
214
215
  // componentGroup: 'Lookup'
215
216
  // };
@@ -10,23 +10,23 @@ exports["default"] = DesktopNotification;
10
10
 
11
11
  var _react = _interopRequireWildcard(require("react"));
12
12
 
13
- var _defaultProps = require("../../../../version2/notification/DesktopNotification/props/defaultProps");
13
+ var _defaultProps = require("../../../version2/notification/DesktopNotification/props/defaultProps");
14
14
 
15
- var _propTypes = require("../../../../version2/notification/DesktopNotification/props/propTypes");
15
+ var _propTypes = require("../../../version2/notification/DesktopNotification/props/propTypes");
16
16
 
17
- var _Layout = require("@zohodesk/components/lib/Layout");
17
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
18
18
 
19
- var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider");
19
+ var _ZindexProvider = require("@zohodesk/components/es/v1/Provider/ZindexProvider");
20
20
 
21
21
  var _AutoClose = _interopRequireDefault(require("../../../actions/AutoClose"));
22
22
 
23
- var _Button = _interopRequireDefault(require("@zohodesk/components/lib/Button/Button"));
23
+ var _Button = _interopRequireDefault(require("@zohodesk/components/es/v1/Button/Button"));
24
24
 
25
25
  var _FormAction = _interopRequireDefault(require("../../../FormAction/FormAction"));
26
26
 
27
27
  var _DesktopNotificationHeader = _interopRequireDefault(require("../DesktopNotificationHeader/DesktopNotificationHeader"));
28
28
 
29
- var _DesktopNotificationModule = _interopRequireDefault(require("../../../../version2/notification/DesktopNotification/DesktopNotification.module.css"));
29
+ var _DesktopNotificationModule = _interopRequireDefault(require("../../../version2/notification/DesktopNotification/DesktopNotification.module.css"));
30
30
 
31
31
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
32
32
 
@@ -9,17 +9,17 @@ exports["default"] = DesktopNotificationHeader;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _defaultProps = require("../../../../version2/notification/DesktopNotificationHeader/props/defaultProps");
12
+ var _defaultProps = require("../../../version2/notification/DesktopNotificationHeader/props/defaultProps");
13
13
 
14
- var _propTypes = require("../../../../version2/notification/DesktopNotificationHeader/props/propTypes");
14
+ var _propTypes = require("../../../version2/notification/DesktopNotificationHeader/props/propTypes");
15
15
 
16
- var _Layout = require("@zohodesk/components/lib/Layout");
16
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
17
17
 
18
- var _AlertClose = _interopRequireDefault(require("../../AlertClose/AlertClose"));
18
+ var _AlertClose = _interopRequireDefault(require("../../alert/AlertClose/AlertClose"));
19
19
 
20
- var _AlertIcons = _interopRequireDefault(require("../../alertIcons/AlertIcons"));
20
+ var _AlertIcons = _interopRequireDefault(require("../../alert/alertIcons/AlertIcons"));
21
21
 
22
- var _DesktopNotificationHeaderModule = _interopRequireDefault(require("../../../../version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css"));
22
+ var _DesktopNotificationHeaderModule = _interopRequireDefault(require("../../../version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css"));
23
23
 
24
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
25
 
@@ -13,7 +13,7 @@ var _defaultProps = require("../../../../setup/header/Button/props/defaultProps"
13
13
 
14
14
  var _propTypes = require("../../../../setup/header/Button/props/propTypes");
15
15
 
16
- var _Button = _interopRequireDefault(require("@zohodesk/components/lib/Button/Button"));
16
+ var _Button = _interopRequireDefault(require("@zohodesk/components/es/v1/Button/Button"));
17
17
 
18
18
  var _HeaderButtonModule = _interopRequireDefault(require("../../../../setup/header/Button/HeaderButton.module.css"));
19
19
 
@@ -15,7 +15,7 @@ var _propTypes = require("../../../../setup/header/Link/props/propTypes");
15
15
 
16
16
  var _icons = require("@zohodesk/icons");
17
17
 
18
- var _Layout = require("@zohodesk/components/lib/Layout");
18
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
19
19
 
20
20
  var _ExternalLink = _interopRequireDefault(require("../../../ExternalLink/ExternalLink"));
21
21
 
@@ -15,7 +15,7 @@ var _propTypes = require("../../../../setup/header/Search/props/propTypes");
15
15
 
16
16
  var _icons = require("@zohodesk/icons");
17
17
 
18
- var _TextBox = _interopRequireDefault(require("@zohodesk/components/lib/TextBox/TextBox"));
18
+ var _TextBox = _interopRequireDefault(require("@zohodesk/components/es/v1/TextBox/TextBox"));
19
19
 
20
20
  var _SearchModule = _interopRequireDefault(require("../../../../setup/header/Search/Search.module.css"));
21
21
 
@@ -11,7 +11,7 @@ var _defaultProps = require("../../../../setup/table/Table/props/defaultProps");
11
11
 
12
12
  var _propTypes = require("../../../../setup/table/Table/props/propTypes");
13
13
 
14
- var _Layout = require("@zohodesk/components/lib/Layout");
14
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
17
 
@@ -11,7 +11,7 @@ var _defaultProps = require("../../../../setup/table/TableBody/props/defaultProp
11
11
 
12
12
  var _propTypes = require("../../../../setup/table/TableBody/props/propTypes");
13
13
 
14
- var _Layout = require("@zohodesk/components/lib/Layout");
14
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
17
 
@@ -11,7 +11,7 @@ var _defaultProps = require("../../../../setup/table/TableData/props/defaultProp
11
11
 
12
12
  var _propTypes = require("../../../../setup/table/TableData/props/propTypes");
13
13
 
14
- var _Layout = require("@zohodesk/components/lib/Layout");
14
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
15
15
 
16
16
  var _SetupTableDataModule = _interopRequireDefault(require("../../../../setup/table/TableData/SetupTableData.module.css"));
17
17
 
@@ -11,7 +11,7 @@ var _defaultProps = require("../../../../setup/table/TableHead/props/defaultProp
11
11
 
12
12
  var _propTypes = require("../../../../setup/table/TableHead/props/propTypes");
13
13
 
14
- var _Layout = require("@zohodesk/components/lib/Layout");
14
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
15
15
 
16
16
  var _SetupTableHeadModule = _interopRequireDefault(require("../../../../setup/table/TableHead/SetupTableHead.module.css"));
17
17
 
@@ -11,7 +11,7 @@ var _defaultProps = require("../../../../setup/table/TableRow/props/defaultProps
11
11
 
12
12
  var _propTypes = require("../../../../setup/table/TableRow/props/propTypes");
13
13
 
14
- var _Layout = require("@zohodesk/components/lib/Layout");
14
+ var _Layout = require("@zohodesk/components/es/v1/Layout");
15
15
 
16
16
  var _SetupTableRowModule = _interopRequireDefault(require("../../../../setup/table/TableRow/SetupTableRow.module.css"));
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -50,12 +50,12 @@
50
50
  "@zohodesk-private/css-variable-migrator": "^1.0.7",
51
51
  "@zohodesk-private/node-plugins": "^1.0.0",
52
52
  "@zohodesk-private/color-variable-preprocessor": "1.0.6",
53
- "@zohodesk-private/react-prop-validator": "0.1.0",
54
- "@zohodesk/components": "1.2.3",
55
- "@zohodesk/a11y": "2.0.2",
53
+ "@zohodesk-private/react-prop-validator": "0.1.1",
54
+ "@zohodesk/components": "1.2.12",
55
+ "@zohodesk/a11y": "2.1.0",
56
56
  "@zohodesk/i18n": "1.0.0-beta.23",
57
- "@zohodesk/icons": "1.0.2",
58
- "@zohodesk/svg": "1.1.1",
57
+ "@zohodesk/icons": "1.0.10",
58
+ "@zohodesk/svg": "1.1.4",
59
59
  "@zohodesk/variables": "1.0.0",
60
60
  "@zohodesk/virtualizer": "1.0.3",
61
61
  "react-sortable-hoc": "^0.8.3",
@@ -71,13 +71,13 @@
71
71
  "velocity-react": "1.4.3",
72
72
  "@zohodesk/variables": "1.0.0",
73
73
  "@zohodesk/i18n": "1.0.0-beta.23",
74
- "@zohodesk/components": "1.2.3",
75
- "@zohodesk/icons": "1.0.2",
76
- "@zohodesk/svg": "1.1.1",
74
+ "@zohodesk/components": "1.2.12",
75
+ "@zohodesk/icons": "1.0.10",
76
+ "@zohodesk/svg": "1.1.4",
77
77
  "@zohodesk/virtualizer": "1.0.3",
78
78
  "react-sortable-hoc": "^0.8.3",
79
79
  "@zohodesk/hooks": "2.0.1",
80
80
  "@zohodesk/utils": "1.3.13",
81
- "@zohodesk/a11y": "2.0.2"
81
+ "@zohodesk/a11y": "2.1.0"
82
82
  }
83
- }
83
+ }
package/result.json CHANGED
@@ -1 +1 @@
1
- {"jobDetails":{"isRunByLocal":true,"hostName":"bharathi-zt93","platForm":"Darwin","branchName":"testcase_gowtham"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":14,"numberOfFails":0,"numberOfCases":14,"numberOfSuites":3,"endTime":1693238421406,"startTime":1693238418652,"coverageDetail":{"codeCoveragePercentage":98.03,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}}]}}}
1
+ {"jobDetails":{"isRunByLocal":true,"hostName":"bharathi-zt93","platForm":"Darwin","branchName":"testcase_gowtham"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":14,"numberOfFails":0,"numberOfCases":14,"numberOfSuites":3,"endTime":1697466153758,"startTime":1697466151244,"coverageDetail":{"codeCoveragePercentage":98.03,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}}]}}}
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { defaultProps } from '../../../errorstate/LinkText/props/defaultProps';
3
- import { propTypes } from '../../../errorstate/LinkText/props/propTypes';
4
- import Link from '../../Link/Link';
5
- import style from '../../../errorstate/LinkText/LinkText.module.css';
6
- export default class LinkText extends React.Component {
7
- render() {
8
- let {
9
- text,
10
- href,
11
- onClick,
12
- dataId,
13
- customClass
14
- } = this.props;
15
- return /*#__PURE__*/React.createElement(Link, {
16
- href: href ? href : 'javascript:void(0)',
17
- className: `${style.text} ${customClass} `,
18
- onClick: onClick,
19
- dataId: dataId
20
- }, text);
21
- }
22
-
23
- }
24
- LinkText.propTypes = propTypes;
25
- LinkText.defaultProps = defaultProps; // if (__DOCS__) {
26
- // LinkText.docs = {
27
- // componentGroup: 'errorStates'
28
- // };
29
- // }
@@ -1,84 +0,0 @@
1
- import React from 'react';
2
- import { defaultProps } from '../../../errorstate/NoRequestFound/props/defaultProps';
3
- import { propTypes } from '../../../errorstate/NoRequestFound/props/propTypes';
4
- import commonStyle from '../../../errorstate/EmptyStates.module.css';
5
- import NoRequestFoundSVG from '@zohodesk/svg/lib/errorstate/version1/NoRequestFound';
6
- import { Container, Box } from '@zohodesk/components/lib/Layout';
7
- import LinkText from '../LinkText/LinkText';
8
- import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
9
- import style from '../../../errorstate/NoRequestFound/NoRequestFound.module.css';
10
- export default class NoRequestFound extends React.Component {
11
- constructor(props) {
12
- super(props);
13
- this.responsiveFunc = this.responsiveFunc.bind(this);
14
- }
15
-
16
- responsiveFunc(_ref) {
17
- let {
18
- mediaQueryOR
19
- } = _ref;
20
- return {
21
- tablet: mediaQueryOR([{
22
- minWidth: 481,
23
- maxWidth: 768
24
- }]),
25
- uptoMobile: mediaQueryOR([{
26
- maxWidth: 480
27
- }])
28
- };
29
- }
30
-
31
- render() {
32
- let {
33
- title,
34
- subtitle,
35
- description,
36
- urlText,
37
- url,
38
- onClick,
39
- dataId,
40
- customClass
41
- } = this.props;
42
- return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
43
- query: this.responsiveFunc
44
- }, _ref2 => {
45
- let {
46
- tablet,
47
- uptoMobile
48
- } = _ref2;
49
- return /*#__PURE__*/React.createElement(Container, {
50
- className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
51
- dataId: dataId,
52
- scroll: "vertical"
53
- }, /*#__PURE__*/React.createElement(Box, {
54
- className: commonStyle.top
55
- }, title ? /*#__PURE__*/React.createElement("div", {
56
- className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
57
- }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
58
- className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
59
- }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
60
- className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
61
- }, /*#__PURE__*/React.createElement(NoRequestFoundSVG, {
62
- isFluid: true,
63
- dataId: `${dataId}_svg`
64
- })), /*#__PURE__*/React.createElement(Box, {
65
- className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
66
- }, /*#__PURE__*/React.createElement("div", {
67
- className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
68
- }, description), /*#__PURE__*/React.createElement(LinkText, {
69
- text: urlText,
70
- href: url,
71
- onClick: onClick,
72
- dataId: `${dataId}_link`,
73
- customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
74
- })));
75
- });
76
- }
77
-
78
- }
79
- NoRequestFound.propTypes = propTypes;
80
- NoRequestFound.defaultProps = defaultProps; // if (__DOCS__) {
81
- // NoRequestFound.docs = {
82
- // componentGroup: 'errorStates'
83
- // };
84
- // }
@@ -1,83 +0,0 @@
1
- import React from 'react';
2
- import { defaultProps } from '../../../errorstate/PermissionPlay/props/defaultProps';
3
- import { propTypes } from '../../../errorstate/PermissionPlay/props/propTypes';
4
- import { Container, Box } from '@zohodesk/components/lib/Layout';
5
- import LinkText from '../LinkText/LinkText';
6
- import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
7
- import commonStyle from '../../../errorstate/EmptyStates.module.css';
8
- import style from '../../../errorstate/PermissionPlay/PermissionPlay.module.css';
9
- import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
10
- export default class PermissionPlay extends React.Component {
11
- constructor(props) {
12
- super(props);
13
- this.responsiveFunc = this.responsiveFunc.bind(this);
14
- }
15
-
16
- responsiveFunc(_ref) {
17
- let {
18
- mediaQueryOR
19
- } = _ref;
20
- return {
21
- tablet: mediaQueryOR([{
22
- minWidth: 481,
23
- maxWidth: 768
24
- }]),
25
- uptoMobile: mediaQueryOR([{
26
- maxWidth: 480
27
- }])
28
- };
29
- }
30
-
31
- render() {
32
- let {
33
- subtitle,
34
- title,
35
- description,
36
- urlText,
37
- url,
38
- onClick,
39
- dataId,
40
- customClass
41
- } = this.props;
42
- return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
43
- query: this.responsiveFunc
44
- }, _ref2 => {
45
- let {
46
- tablet,
47
- uptoMobile
48
- } = _ref2;
49
- return /*#__PURE__*/React.createElement(Container, {
50
- className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
51
- dataId: dataId,
52
- scroll: "vertical"
53
- }, /*#__PURE__*/React.createElement(Box, {
54
- className: commonStyle.top
55
- }, title ? /*#__PURE__*/React.createElement("div", {
56
- className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
57
- }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
58
- className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
59
- }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
60
- className: uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer
61
- }, /*#__PURE__*/React.createElement(UnauthorizedLoginSVG, {
62
- isFluid: true,
63
- dataId: `${dataId}_svg`
64
- })), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("div", {
65
- className: `${style.lastBox} ${tablet || uptoMobile ? style.max : style.min}`
66
- }, /*#__PURE__*/React.createElement("span", null, description), /*#__PURE__*/React.createElement("span", {
67
- className: style.lineText
68
- }, /*#__PURE__*/React.createElement(LinkText, {
69
- text: urlText,
70
- href: url,
71
- onClick: onClick,
72
- dataId: `${dataId}_link`
73
- })))));
74
- });
75
- }
76
-
77
- }
78
- PermissionPlay.propTypes = propTypes;
79
- PermissionPlay.defaultProps = defaultProps; // if (__DOCS__) {
80
- // PermissionPlay.docs = {
81
- // componentGroup: 'errorStates'
82
- // };
83
- // }