@zohodesk/dot 1.0.0-temp-118 → 1.0.0-temp-120

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 (255) hide show
  1. package/README.md +4 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +21 -36
  3. package/assets/Appearance/default/mode/dotDefaultMode.module.css +21 -36
  4. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +21 -36
  5. package/es/Attachment/Attachment.js +6 -5
  6. package/es/AttachmentViewer/AttachmentViewer.js +29 -28
  7. package/es/ChannelIcon/ChannelIcon.js +5 -5
  8. package/es/Drawer/Drawer.js +7 -6
  9. package/es/ExternalLink/ExternalLink.js +6 -5
  10. package/es/FlipCard/FlipCard.js +5 -5
  11. package/es/FormAction/FormAction.js +12 -9
  12. package/es/FreezeLayer/FreezeLayer.js +7 -6
  13. package/es/IconButton/IconButton.js +6 -5
  14. package/es/Image/Image.js +5 -5
  15. package/es/ImportantNotes/ImportantNotes.js +7 -6
  16. package/es/Link/Link.js +6 -5
  17. package/es/Loader/Loader.js +6 -5
  18. package/es/Message/Message.js +7 -5
  19. package/es/MessageBanner/MessageBanner.js +6 -5
  20. package/es/NewStar/NewStar.js +6 -5
  21. package/es/PlusIcon/PlusIcon.js +7 -6
  22. package/es/ToastMessage/ToastMessage.js +6 -5
  23. package/es/Upload/Upload.js +6 -5
  24. package/es/alert/AlertHeader/AlertHeader.js +7 -6
  25. package/es/alert/AlertLookup/AlertLookup.js +7 -6
  26. package/es/avatar/AvatarClose/AvatarClose.js +5 -5
  27. package/es/avatar/AvatarCollision/AvatarCollision.js +5 -5
  28. package/es/avatar/AvatarIcon/AvatarIcon.js +3 -5
  29. package/es/avatar/AvatarStatus/AvatarStatus.js +6 -5
  30. package/es/avatar/AvatarThread/AvatarThread.js +6 -5
  31. package/es/avatar/AvatarUser/AvatarUser.js +6 -5
  32. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
  33. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
  34. package/es/common/{boxShadow.module.css → dot_boxShadow.module.css} +13 -13
  35. package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -6
  36. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
  37. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
  38. package/es/emptystate/EditionPage/EditionPage.js +6 -5
  39. package/es/errorstate/LinkText/LinkText.js +5 -5
  40. package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
  41. package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
  42. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
  43. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
  44. package/es/errorstate/WillBack/WillBack.js +5 -5
  45. package/es/form/fields/CheckBoxField/CheckBoxField.js +7 -6
  46. package/es/form/fields/CurrencyField/CurrencyField.js +7 -6
  47. package/es/form/fields/DateField/DateField.js +7 -6
  48. package/es/form/fields/FieldContainer/FieldContainer.js +7 -6
  49. package/es/form/fields/MultiSelectField/MultiSelectField.js +7 -6
  50. package/es/form/fields/PhoneField/PhoneField.js +7 -6
  51. package/es/form/fields/RadioField/RadioField.js +6 -6
  52. package/es/form/fields/SelectField/SelectField.js +7 -6
  53. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
  54. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
  55. package/es/form/fields/TextBoxField/TextBoxField.js +7 -6
  56. package/es/form/fields/TextEditor/TextEditor.js +7 -7
  57. package/es/form/fields/TextEditorField/TextEditorField.js +6 -5
  58. package/es/form/fields/TextareaField/TextareaField.js +7 -6
  59. package/es/form/fields/ValidationMessage/ValidationMessage.js +7 -6
  60. package/es/form/layout/Field/Field.js +6 -5
  61. package/es/form/layout/Section/Section.js +5 -5
  62. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +7 -5
  63. package/es/layout/SubtabLayout/SubtabLayout.js +6 -5
  64. package/es/list/AvatarFlip/AvatarFlip.js +7 -6
  65. package/es/list/BluePrintStatus/BluePrintStatus.js +6 -5
  66. package/es/list/Comment/Comment.js +7 -6
  67. package/es/list/DepartmentDropDown/DepartmentDropDown.js +6 -6
  68. package/es/list/DotNew/DotNew.js +7 -6
  69. package/es/list/GridStencils/GridStencils.js +7 -6
  70. package/es/list/Icons/FloatingIcons.js +7 -6
  71. package/es/list/ListLayout/ListLayout.js +7 -6
  72. package/es/list/ListStencils/ListStencils.js +7 -6
  73. package/es/list/SecondaryText/AccountName.js +7 -6
  74. package/es/list/SecondaryText/ContactName.js +7 -6
  75. package/es/list/SecondaryText/DepartmentText.js +7 -6
  76. package/es/list/SecondaryText/Email.js +7 -6
  77. package/es/list/SecondaryText/HappinessRating.js +7 -6
  78. package/es/list/SecondaryText/PhoneNumber.js +7 -6
  79. package/es/list/SecondaryText/PriorityText.js +7 -6
  80. package/es/list/SecondaryText/SecondaryText.js +7 -6
  81. package/es/list/SecondaryText/StatusText.js +7 -6
  82. package/es/list/SecondaryText/TicketId.js +7 -6
  83. package/es/list/SecondaryText/Website.js +7 -6
  84. package/es/list/SecondryPanel/SecondryPanel.js +7 -6
  85. package/es/list/SentimentStatus/SentimentStatus.js +6 -5
  86. package/es/list/Subject/Subject.js +7 -6
  87. package/es/list/TagNew/TagNew.js +7 -6
  88. package/es/list/Thread/Thread.js +7 -6
  89. package/es/list/UserTime/UserTime.js +7 -6
  90. package/es/list/status/StatusDropdown/StatusDropdown.js +6 -5
  91. package/es/list/status/StatusListItem/StatusListItem.js +7 -6
  92. package/es/lookup/EmptyPage/EmptyPage.js +6 -5
  93. package/es/lookup/Lookup/Lookup.js +6 -5
  94. package/es/lookup/header/Close/Close.js +6 -5
  95. package/es/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
  96. package/es/lookup/header/Search/Search.js +6 -5
  97. package/es/lookup/header/TicketHeader/TicketHeader.js +6 -5
  98. package/es/lookup/header/Title/Title.js +6 -5
  99. package/es/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
  100. package/es/setup/header/Button/Button.js +7 -6
  101. package/es/setup/header/Link/Link.js +7 -6
  102. package/es/setup/header/Search/Search.js +7 -6
  103. package/es/setup/header/Views/Views.js +7 -6
  104. package/es/setup/helptips/Description/Description.js +7 -6
  105. package/es/setup/helptips/Link/Link.js +7 -6
  106. package/es/setup/helptips/ListGroup/ListGroup.js +7 -6
  107. package/es/setup/helptips/Title/Title.js +7 -6
  108. package/es/setup/table/Table/Table.js +7 -6
  109. package/es/setup/table/TableBody/TableBody.js +7 -6
  110. package/es/setup/table/TableData/TableData.js +7 -6
  111. package/es/setup/table/TableHead/TableHead.js +7 -6
  112. package/es/setup/table/TableRow/TableRow.js +7 -6
  113. package/es/setup/table/Text/Text.js +7 -6
  114. package/es/svg/PlusIcon.js +6 -5
  115. package/es/svg/SnippetIcon.js +6 -5
  116. package/es/svg/TemplateIcon.js +6 -5
  117. package/es/version2/AlertClose/AlertClose.js +7 -6
  118. package/es/version2/GlobalNotification/GlobalNotification.js +8 -6
  119. package/es/version2/alertIcons/AlertIcons.js +7 -6
  120. package/es/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
  121. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
  122. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
  123. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
  124. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
  125. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
  126. package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -6
  127. package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -6
  128. package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
  129. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
  130. package/lib/Attachment/Attachment.js +6 -5
  131. package/lib/AttachmentViewer/AttachmentViewer.js +17 -16
  132. package/lib/ChannelIcon/ChannelIcon.js +5 -5
  133. package/lib/Drawer/Drawer.js +6 -5
  134. package/lib/ExternalLink/ExternalLink.js +6 -5
  135. package/lib/FlipCard/FlipCard.js +5 -5
  136. package/lib/FormAction/FormAction.js +12 -9
  137. package/lib/FreezeLayer/FreezeLayer.js +7 -6
  138. package/lib/IconButton/IconButton.js +6 -5
  139. package/lib/Image/Image.js +5 -5
  140. package/lib/ImportantNotes/ImportantNotes.js +7 -6
  141. package/lib/Link/Link.js +6 -5
  142. package/lib/Loader/Loader.js +6 -7
  143. package/lib/Message/Message.js +7 -5
  144. package/lib/MessageBanner/MessageBanner.js +6 -5
  145. package/lib/NewStar/NewStar.js +6 -5
  146. package/lib/PlusIcon/PlusIcon.js +7 -6
  147. package/lib/ToastMessage/ToastMessage.js +6 -5
  148. package/lib/Upload/Upload.js +6 -5
  149. package/lib/alert/AlertHeader/AlertHeader.js +7 -6
  150. package/lib/alert/AlertLookup/AlertLookup.js +7 -6
  151. package/lib/avatar/AvatarClose/AvatarClose.js +5 -5
  152. package/lib/avatar/AvatarCollision/AvatarCollision.js +5 -5
  153. package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -5
  154. package/lib/avatar/AvatarStatus/AvatarStatus.js +6 -5
  155. package/lib/avatar/AvatarThread/AvatarThread.js +6 -5
  156. package/lib/avatar/AvatarUser/AvatarUser.js +6 -5
  157. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
  158. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
  159. package/lib/common/{boxShadow.module.css → dot_boxShadow.module.css} +13 -13
  160. package/lib/deprecated/SelectDropdown/SelectDropdown.js +6 -6
  161. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
  162. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
  163. package/lib/emptystate/EditionPage/EditionPage.js +6 -5
  164. package/lib/errorstate/LinkText/LinkText.js +5 -5
  165. package/lib/errorstate/NoRequestFound/NoRequestFound.js +5 -5
  166. package/lib/errorstate/PermissionPlay/PermissionPlay.js +5 -5
  167. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
  168. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
  169. package/lib/errorstate/WillBack/WillBack.js +5 -5
  170. package/lib/form/fields/CheckBoxField/CheckBoxField.js +7 -6
  171. package/lib/form/fields/CurrencyField/CurrencyField.js +7 -6
  172. package/lib/form/fields/DateField/DateField.js +7 -6
  173. package/lib/form/fields/FieldContainer/FieldContainer.js +7 -6
  174. package/lib/form/fields/MultiSelectField/MultiSelectField.js +7 -6
  175. package/lib/form/fields/PhoneField/PhoneField.js +7 -6
  176. package/lib/form/fields/RadioField/RadioField.js +6 -6
  177. package/lib/form/fields/SelectField/SelectField.js +7 -6
  178. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
  179. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
  180. package/lib/form/fields/TextBoxField/TextBoxField.js +7 -6
  181. package/lib/form/fields/TextEditor/TextEditor.js +7 -7
  182. package/lib/form/fields/TextEditorField/TextEditorField.js +6 -5
  183. package/lib/form/fields/TextareaField/TextareaField.js +7 -6
  184. package/lib/form/fields/ValidationMessage/ValidationMessage.js +7 -6
  185. package/lib/form/layout/Field/Field.js +6 -5
  186. package/lib/form/layout/Section/Section.js +5 -5
  187. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +6 -5
  188. package/lib/layout/SubtabLayout/SubtabLayout.js +6 -5
  189. package/lib/list/AvatarFlip/AvatarFlip.js +7 -6
  190. package/lib/list/BluePrintStatus/BluePrintStatus.js +6 -5
  191. package/lib/list/Comment/Comment.js +7 -6
  192. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +7 -8
  193. package/lib/list/DotNew/DotNew.js +7 -6
  194. package/lib/list/GridStencils/GridStencils.js +7 -6
  195. package/lib/list/Icons/FloatingIcons.js +7 -6
  196. package/lib/list/ListLayout/ListLayout.js +7 -6
  197. package/lib/list/ListStencils/ListStencils.js +7 -6
  198. package/lib/list/SecondaryText/AccountName.js +7 -6
  199. package/lib/list/SecondaryText/ContactName.js +7 -6
  200. package/lib/list/SecondaryText/DepartmentText.js +7 -6
  201. package/lib/list/SecondaryText/Email.js +7 -6
  202. package/lib/list/SecondaryText/HappinessRating.js +7 -6
  203. package/lib/list/SecondaryText/PhoneNumber.js +7 -6
  204. package/lib/list/SecondaryText/PriorityText.js +7 -6
  205. package/lib/list/SecondaryText/SecondaryText.js +7 -6
  206. package/lib/list/SecondaryText/StatusText.js +7 -6
  207. package/lib/list/SecondaryText/TicketId.js +7 -6
  208. package/lib/list/SecondaryText/Website.js +7 -6
  209. package/lib/list/SecondryPanel/SecondryPanel.js +7 -6
  210. package/lib/list/SentimentStatus/SentimentStatus.js +6 -5
  211. package/lib/list/Subject/Subject.js +7 -6
  212. package/lib/list/TagNew/TagNew.js +7 -6
  213. package/lib/list/Thread/Thread.js +7 -6
  214. package/lib/list/UserTime/UserTime.js +7 -6
  215. package/lib/list/status/StatusDropdown/StatusDropdown.js +5 -6
  216. package/lib/list/status/StatusListItem/StatusListItem.js +7 -6
  217. package/lib/lookup/EmptyPage/EmptyPage.js +6 -5
  218. package/lib/lookup/Lookup/Lookup.js +6 -5
  219. package/lib/lookup/header/Close/Close.js +6 -5
  220. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
  221. package/lib/lookup/header/Search/Search.js +6 -5
  222. package/lib/lookup/header/TicketHeader/TicketHeader.js +6 -5
  223. package/lib/lookup/header/Title/Title.js +6 -5
  224. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
  225. package/lib/setup/header/Button/Button.js +7 -6
  226. package/lib/setup/header/Link/Link.js +7 -6
  227. package/lib/setup/header/Search/Search.js +7 -6
  228. package/lib/setup/header/Views/Views.js +7 -6
  229. package/lib/setup/helptips/Description/Description.js +7 -6
  230. package/lib/setup/helptips/Link/Link.js +7 -6
  231. package/lib/setup/helptips/ListGroup/ListGroup.js +7 -6
  232. package/lib/setup/helptips/Title/Title.js +7 -6
  233. package/lib/setup/table/Table/Table.js +7 -6
  234. package/lib/setup/table/TableBody/TableBody.js +7 -6
  235. package/lib/setup/table/TableData/TableData.js +7 -6
  236. package/lib/setup/table/TableHead/TableHead.js +7 -6
  237. package/lib/setup/table/TableRow/TableRow.js +7 -6
  238. package/lib/setup/table/Text/Text.js +7 -6
  239. package/lib/svg/PlusIcon.js +6 -5
  240. package/lib/svg/SnippetIcon.js +6 -5
  241. package/lib/svg/TemplateIcon.js +6 -5
  242. package/lib/version2/AlertClose/AlertClose.js +7 -6
  243. package/lib/version2/GlobalNotification/GlobalNotification.js +8 -6
  244. package/lib/version2/alertIcons/AlertIcons.js +7 -6
  245. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
  246. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
  247. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
  248. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
  249. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
  250. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
  251. package/lib/version2/lookup/AlertHeader/AlertHeader.js +7 -6
  252. package/lib/version2/lookup/AlertLookup/AlertLookup.js +7 -6
  253. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
  254. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
  255. package/package.json +3 -3
@@ -27,8 +27,9 @@ export default class SnippetIcon extends React.Component {
27
27
  }
28
28
  SnippetIcon.propTypes = SnippetIcon_propTypes;
29
29
  SnippetIcon.defaultProps = SnippetIcon_defaultProps;
30
- if (false) {
31
- SnippetIcon.docs = {
32
- componentGroup: 'SVG'
33
- };
34
- }
30
+
31
+ // if (__DOCS__) {
32
+ // SnippetIcon.docs = {
33
+ // componentGroup: 'SVG'
34
+ // };
35
+ // }
@@ -28,8 +28,9 @@ export default class TemplateIcon extends React.Component {
28
28
  }
29
29
  TemplateIcon.propTypes = TemplateIcon_propTypes;
30
30
  TemplateIcon.defaultProps = TemplateIcon_defaultProps;
31
- if (false) {
32
- TemplateIcon.docs = {
33
- componentGroup: 'SVG'
34
- };
35
- }
31
+
32
+ // if (__DOCS__) {
33
+ // TemplateIcon.docs = {
34
+ // componentGroup: 'SVG'
35
+ // };
36
+ // }
@@ -31,9 +31,10 @@ export default class AlertClose extends PureComponent {
31
31
  }
32
32
  }
33
33
  AlertClose.propTypes = propTypes;
34
- if (false) {
35
- AlertClose.docs = {
36
- componentGroup: 'AlertClose',
37
- folderName: 'Alert'
38
- };
39
- }
34
+
35
+ // if (__DOCS__) {
36
+ // AlertClose.docs = {
37
+ // componentGroup: 'AlertClose',
38
+ // folderName: 'Alert'
39
+ // };
40
+ // }
@@ -63,12 +63,14 @@ export default class GlobalNotification extends React.Component {
63
63
  }
64
64
  GlobalNotification.propTypes = propTypes;
65
65
  GlobalNotification.defaultProps = defaultProps;
66
- if (false) {
67
- GlobalNotification.docs = {
68
- componentGroup: 'GlobalNotification',
69
- folderName: 'Alert'
70
- };
71
- }
66
+
67
+ // if (__DOCS__) {
68
+ // GlobalNotification.docs = {
69
+ // componentGroup: 'GlobalNotification',
70
+ // folderName: 'Alert'
71
+ // };
72
+ // }
73
+
72
74
  export function GlobalNotificationUI(props) {
73
75
  function onClose(e) {
74
76
  let {
@@ -50,9 +50,10 @@ export default class AlertIcons extends Component {
50
50
  }
51
51
  AlertIcons.propTypes = AlertIcons_propTypes;
52
52
  AlertIcons.defaultProps = AlertIcons_defaultProps;
53
- if (false) {
54
- AlertIcons.docs = {
55
- componentGroup: 'AlertIcons',
56
- folderName: 'Alert'
57
- };
58
- }
53
+
54
+ // if (__DOCS__) {
55
+ // AlertIcons.docs = {
56
+ // componentGroup: 'AlertIcons',
57
+ // folderName: 'Alert'
58
+ // };
59
+ // }
@@ -62,8 +62,9 @@ export default class Inconvenience extends React.Component {
62
62
  }
63
63
  Inconvenience.propTypes = propTypes;
64
64
  Inconvenience.defaultProps = defaultProps;
65
- if (false) {
66
- Inconvenience.docs = {
67
- componentGroup: 'errorStates'
68
- };
69
- }
65
+
66
+ // if (__DOCS__) {
67
+ // Inconvenience.docs = {
68
+ // componentGroup: 'errorStates'
69
+ // };
70
+ // }
@@ -63,8 +63,9 @@ export default class OopsSomethingMiss extends React.Component {
63
63
  }
64
64
  OopsSomethingMiss.propTypes = propTypes;
65
65
  OopsSomethingMiss.defaultProps = defaultProps;
66
- if (false) {
67
- OopsSomethingMiss.docs = {
68
- componentGroup: 'errorStates'
69
- };
70
- }
66
+
67
+ // if (__DOCS__) {
68
+ // OopsSomethingMiss.docs = {
69
+ // componentGroup: 'errorStates'
70
+ // };
71
+ // }
@@ -62,8 +62,9 @@ export default class UnableToProcessRequest extends React.Component {
62
62
  }
63
63
  UnableToProcessRequest.propTypes = propTypes;
64
64
  UnableToProcessRequest.defaultProps = defaultProps;
65
- if (false) {
66
- UnableToProcessRequest.docs = {
67
- componentGroup: 'errorStates'
68
- };
69
- }
65
+
66
+ // if (__DOCS__) {
67
+ // UnableToProcessRequest.docs = {
68
+ // componentGroup: 'errorStates'
69
+ // };
70
+ // }
@@ -64,8 +64,9 @@ export default class UnauthorizedLogin extends React.Component {
64
64
  }
65
65
  UnauthorizedLogin.propTypes = propTypes;
66
66
  UnauthorizedLogin.defaultProps = defaultProps;
67
- if (false) {
68
- UnauthorizedLogin.docs = {
69
- componentGroup: 'errorStates'
70
- };
71
- }
67
+
68
+ // if (__DOCS__) {
69
+ // UnauthorizedLogin.docs = {
70
+ // componentGroup: 'errorStates'
71
+ // };
72
+ // }
@@ -62,8 +62,9 @@ export default class UrlNotFound extends React.Component {
62
62
  }
63
63
  UrlNotFound.propTypes = propTypes;
64
64
  UrlNotFound.defaultProps = defaultProps;
65
- if (false) {
66
- UrlNotFound.docs = {
67
- componentGroup: 'errorStates'
68
- };
69
- }
65
+
66
+ // if (__DOCS__) {
67
+ // UrlNotFound.docs = {
68
+ // componentGroup: 'errorStates'
69
+ // };
70
+ // }
@@ -62,8 +62,9 @@ export default class WillBeRightBack extends React.Component {
62
62
  }
63
63
  WillBeRightBack.propTypes = propTypes;
64
64
  WillBeRightBack.defaultProps = defaultProps;
65
- if (false) {
66
- WillBeRightBack.docs = {
67
- componentGroup: 'errorStates'
68
- };
69
- }
65
+
66
+ // if (__DOCS__) {
67
+ // WillBeRightBack.docs = {
68
+ // componentGroup: 'errorStates'
69
+ // };
70
+ // }
@@ -54,9 +54,10 @@ export default class AlertHeader extends Component {
54
54
  }
55
55
  AlertHeader.propTypes = propTypes;
56
56
  AlertHeader.defaultProps = defaultProps;
57
- if (false) {
58
- AlertHeader.docs = {
59
- componentGroup: 'AlertHeader',
60
- folderName: 'Alert'
61
- };
62
- }
57
+
58
+ // if (__DOCS__) {
59
+ // AlertHeader.docs = {
60
+ // componentGroup: 'AlertHeader',
61
+ // folderName: 'Alert'
62
+ // };
63
+ // }
@@ -188,9 +188,10 @@ export default class AlertLookup extends Component {
188
188
  }
189
189
  AlertLookup.propTypes = propTypes;
190
190
  AlertLookup.defaultProps = defaultProps;
191
- if (false) {
192
- AlertLookup.docs = {
193
- componentGroup: 'AlertLookup',
194
- folderName: 'Alert'
195
- };
196
- }
191
+
192
+ // if (__DOCS__) {
193
+ // AlertLookup.docs = {
194
+ // componentGroup: 'AlertLookup',
195
+ // folderName: 'Alert'
196
+ // };
197
+ // }
@@ -150,9 +150,10 @@ export default function DesktopNotification(props) {
150
150
  }
151
151
  DesktopNotification.propTypes = propTypes;
152
152
  DesktopNotification.defaultProps = defaultProps;
153
- if (false) {
154
- DesktopNotification.docs = {
155
- componentGroup: 'DesktopNotification',
156
- folderName: 'Alert'
157
- };
158
- }
153
+
154
+ // if (__DOCS__) {
155
+ // DesktopNotification.docs = {
156
+ // componentGroup: 'DesktopNotification',
157
+ // folderName: 'Alert'
158
+ // };
159
+ // }
@@ -52,9 +52,10 @@ export default class DesktopNotificationHeader extends Component {
52
52
  }
53
53
  DesktopNotificationHeader.propTypes = propTypes;
54
54
  DesktopNotificationHeader.defaultProps = defaultProps;
55
- if (false) {
56
- DesktopNotificationHeader.docs = {
57
- componentGroup: 'DesktopNotificationHeader',
58
- folderName: 'Alert'
59
- };
60
- }
55
+
56
+ // if (__DOCS__) {
57
+ // DesktopNotificationHeader.docs = {
58
+ // componentGroup: 'DesktopNotificationHeader',
59
+ // folderName: 'Alert'
60
+ // };
61
+ // }
@@ -105,8 +105,9 @@ var Attachment = /*#__PURE__*/function (_React$Component) {
105
105
  exports["default"] = Attachment;
106
106
  Attachment.propTypes = _propTypes.propTypes;
107
107
  Attachment.defaultProps = _defaultProps.defaultProps;
108
- if (false) {
109
- Attachment.docs = {
110
- componentGroup: 'Attachment'
111
- };
112
- }
108
+
109
+ // if (__DOCS__) {
110
+ // Attachment.docs = {
111
+ // componentGroup: 'Attachment'
112
+ // };
113
+ // }
@@ -249,19 +249,19 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
249
249
  position = (i - selectedIndex) * 100;
250
250
  return {
251
251
  transform: "translateX(".concat(parseInt(position), "%)"),
252
- opacity: "0"
252
+ opacity: '0'
253
253
  };
254
254
  }
255
255
  if (i === selectedIndex) {
256
256
  return {
257
- transform: "translateX(0%)",
258
- opacity: "1"
257
+ transform: 'translateX(0%)',
258
+ opacity: '1'
259
259
  };
260
260
  }
261
261
  position = (selectedIndex - i) * 100 * -1;
262
262
  return {
263
263
  transform: "translateX(".concat(parseInt(position), "%)"),
264
- opacity: "0"
264
+ opacity: '0'
265
265
  };
266
266
  };
267
267
  return dataList.length && dataList.map(function () {
@@ -286,7 +286,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
286
286
  src: data.viewUrl,
287
287
  type: "audio/".concat((0, _Attachment.getExtensionFromFileName)(data.name))
288
288
  })) : null : /*#__PURE__*/_react["default"].createElement(_AttachmentImage["default"], {
289
- className: "".concat(_AttachmentViewerModule["default"].img, " ").concat(selectedIndex == i && maintainZoom ? isZoomed ? _AttachmentViewerModule["default"].zoomedImg : _AttachmentViewerModule["default"].normalImg : ""),
289
+ className: "".concat(_AttachmentViewerModule["default"].img, " ").concat(selectedIndex == i && maintainZoom ? isZoomed ? _AttachmentViewerModule["default"].zoomedImg : _AttachmentViewerModule["default"].normalImg : ''),
290
290
  src: selectedImgUrl,
291
291
  onClick: isZoomed ? _this4.zoomOut.bind(_this4, i) : function (e) {
292
292
  _this4.zoomIn(e, i, true);
@@ -357,8 +357,8 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
357
357
  className: uptoTablet ? _AttachmentViewerModule["default"].mbleMenuBar : _AttachmentViewerModule["default"].menuBar
358
358
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
359
359
  isInline: true,
360
- alignBox: uptoTablet ? "column-reverse" : "row",
361
- align: uptoTablet ? "bottom" : "center",
360
+ alignBox: uptoTablet ? 'column-reverse' : 'row',
361
+ align: uptoTablet ? 'bottom' : 'center',
362
362
  wrap: "wrap",
363
363
  isCover: false
364
364
  }, isZoomed ? /*#__PURE__*/_react["default"].createElement("div", {
@@ -443,7 +443,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
443
443
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
444
444
  alignBox: "row"
445
445
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
446
- className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(selectedIndex === 0 ? _AttachmentViewerModule["default"].hidden : ""),
446
+ className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(selectedIndex === 0 ? _AttachmentViewerModule["default"].hidden : ''),
447
447
  onClick: _this5.changeSelectedIndex.bind(_this5, selectedIndex - 1),
448
448
  "data-title": i18nKeys.previousText,
449
449
  "data-title-position": "left"
@@ -465,7 +465,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
465
465
  scroll: "both",
466
466
  flexible: true
467
467
  }, _this5.imgPreviewView()), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
468
- className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(totalLen === selectedIndex + 1 ? _AttachmentViewerModule["default"].hidden : ""),
468
+ className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(totalLen === selectedIndex + 1 ? _AttachmentViewerModule["default"].hidden : ''),
469
469
  onClick: _this5.changeSelectedIndex.bind(_this5, selectedIndex + 1),
470
470
  "data-title": i18nKeys.nextText,
471
471
  "data-title-position": "right"
@@ -512,7 +512,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
512
512
  viewUrl = item.viewUrl;
513
513
  var isAudio = (0, _Attachment.isAudioFile)(name);
514
514
  return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
515
- className: "".concat(_AttachmentViewerModule["default"].imgItem, " ").concat(index === selectedIndex ? _AttachmentViewerModule["default"].selected : "", " ").concat(isAudio ? _AttachmentViewerModule["default"].isAudio : ""),
515
+ className: "".concat(_AttachmentViewerModule["default"].imgItem, " ").concat(index === selectedIndex ? _AttachmentViewerModule["default"].selected : '', " ").concat(isAudio ? _AttachmentViewerModule["default"].isAudio : ''),
516
516
  key: index,
517
517
  onClick: _this5.changeSelectedIndex.bind(_this5, index),
518
518
  eleRef: function eleRef(el) {
@@ -534,7 +534,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
534
534
  iconName: "ZD-GN-hideTab",
535
535
  iconSize: "14",
536
536
  hoverType: "border",
537
- iconClass: "".concat(_AttachmentViewerModule["default"].thumpIcon, " ").concat(isPViewListOpen ? _AttachmentViewerModule["default"].thumpIconActive : ""),
537
+ iconClass: "".concat(_AttachmentViewerModule["default"].thumpIcon, " ").concat(isPViewListOpen ? _AttachmentViewerModule["default"].thumpIconActive : ''),
538
538
  className: _AttachmentViewerModule["default"].button,
539
539
  a11y: {
540
540
  ariaLabel: i18nKeys.hideText
@@ -549,8 +549,9 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
549
549
  exports["default"] = AttachmentViewer;
550
550
  AttachmentViewer.propTypes = _propTypes.AttachmentViewer_propTypes;
551
551
  AttachmentViewer.defaultProps = _defaultProps.AttachmentViewer_defaultProps;
552
- if (false) {
553
- AttachmentViewer.docs = {
554
- componentGroup: "Molecule"
555
- };
556
- }
552
+
553
+ // if (__DOCS__) {
554
+ // AttachmentViewer.docs = {
555
+ // componentGroup: "Molecule"
556
+ // };
557
+ // }
@@ -115,8 +115,8 @@ var ChannelIcon = /*#__PURE__*/function (_Component) {
115
115
  exports["default"] = ChannelIcon;
116
116
  ChannelIcon.defaultProps = _defaultProps.defaultProps;
117
117
  ChannelIcon.propTypes = _propTypes.propTypes;
118
- if (false) {
119
- ChannelIcon.docs = {
120
- componentGroup: 'Atom'
121
- };
122
- }
118
+ // if (__DOCS__) {
119
+ // ChannelIcon.docs = {
120
+ // componentGroup: 'Atom'
121
+ // };
122
+ // }
@@ -317,8 +317,9 @@ var Drawer = /*#__PURE__*/function (_React$Component4) {
317
317
  exports["default"] = Drawer;
318
318
  Drawer.propTypes = _propTypes.Drawer_propTypes;
319
319
  Drawer.defaultProps = _defaultProps.Drawer_defaultProps;
320
- if (false) {
321
- Drawer.docs = {
322
- componentGroup: 'Template'
323
- };
324
- }
320
+
321
+ // if (__DOCS__) {
322
+ // Drawer.docs = {
323
+ // componentGroup: 'Template'
324
+ // };
325
+ // }
@@ -67,8 +67,9 @@ var ExternalLink = /*#__PURE__*/function (_React$Component) {
67
67
  exports["default"] = ExternalLink;
68
68
  ExternalLink.defaultProps = _defaultProps.defaultProps;
69
69
  ExternalLink.propTypes = _propTypes.propTypes;
70
- if (false) {
71
- ExternalLink.docs = {
72
- componentGroup: 'Atom'
73
- };
74
- }
70
+
71
+ // if (__DOCS__) {
72
+ // ExternalLink.docs = {
73
+ // componentGroup: 'Atom'
74
+ // };
75
+ // }
@@ -160,8 +160,8 @@ var FlipCard = /*#__PURE__*/function (_Component) {
160
160
  exports["default"] = FlipCard;
161
161
  FlipCard.propTypes = _propTypes.propTypes;
162
162
  FlipCard.defaultProps = _defaultProps.defaultProps;
163
- if (false) {
164
- FlipCard.docs = {
165
- componentGroup: 'Molecule'
166
- };
167
- }
163
+ // if (__DOCS__) {
164
+ // FlipCard.docs = {
165
+ // componentGroup: 'Molecule'
166
+ // };
167
+ // }
@@ -77,15 +77,17 @@ var FormAction = /*#__PURE__*/function (_React$Component) {
77
77
  }, hasLeftChild ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
78
78
  flexible: hasRightChild ? true : false,
79
79
  shrink: !hasRightChild && hasLeftChild ? true : false
80
- }, leftbuttonGroup.length > 1 ? leftbuttonGroup.map(function (item) {
80
+ }, leftbuttonGroup.length > 1 ? leftbuttonGroup.map(function (item, index) {
81
81
  return /*#__PURE__*/_react["default"].createElement("div", {
82
- className: _FormActionModule["default"].marginRight
82
+ className: _FormActionModule["default"].marginRight,
83
+ key: index
83
84
  }, item);
84
85
  }) : leftbuttonGroup[0]) : null, hasRightChild ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
85
86
  shrink: hasRightChild && !hasLeftChild ? true : false
86
- }, rightbuttonGroup.length > 1 ? rightbuttonGroup.map(function (item) {
87
+ }, rightbuttonGroup.length > 1 ? rightbuttonGroup.map(function (item, index) {
87
88
  return /*#__PURE__*/_react["default"].createElement("div", {
88
- className: _FormActionModule["default"].marginRight
89
+ className: _FormActionModule["default"].marginRight,
90
+ key: index
89
91
  }, item);
90
92
  }) : rightbuttonGroup[0]) : null, hasCenterChild ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, centerbuttonGroup.length > 1 ? centerbuttonGroup.map(function (item, index) {
91
93
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -100,8 +102,9 @@ var FormAction = /*#__PURE__*/function (_React$Component) {
100
102
  exports["default"] = FormAction;
101
103
  FormAction.propTypes = _propTypes.propTypes;
102
104
  FormAction.defaultProps = _defaultProps.defaultProps;
103
- if (false) {
104
- FormAction.docs = {
105
- componentGroup: 'Atom'
106
- };
107
- }
105
+
106
+ // if (__DOCS__) {
107
+ // FormAction.docs = {
108
+ // componentGroup: 'Atom'
109
+ // };
110
+ // }
@@ -152,9 +152,10 @@ var FreezeLayer = /*#__PURE__*/function (_Component) {
152
152
  exports["default"] = FreezeLayer;
153
153
  FreezeLayer.propTypes = _propTypes.propTypes;
154
154
  FreezeLayer.defaultProps = _defaultProps.defaultProps;
155
- if (false) {
156
- FreezeLayer.docs = {
157
- componentGroup: 'Atom',
158
- folderName: 'General'
159
- };
160
- }
155
+
156
+ // if (__DOCS__) {
157
+ // FreezeLayer.docs = {
158
+ // componentGroup: 'Atom',
159
+ // folderName: 'General'
160
+ // };
161
+ // }
@@ -161,8 +161,9 @@ var IconButton = /*#__PURE__*/function (_React$Component) {
161
161
  exports["default"] = IconButton;
162
162
  IconButton.propTypes = _propTypes.propTypes;
163
163
  IconButton.defaultProps = _defaultProps.defaultProps;
164
- if (false) {
165
- IconButton.docs = {
166
- componentGroup: 'Atom'
167
- };
168
- }
164
+
165
+ // if (__DOCS__) {
166
+ // IconButton.docs = {
167
+ // componentGroup: 'Atom'
168
+ // };
169
+ // }
@@ -59,8 +59,8 @@ var Image = /*#__PURE__*/function (_React$Component) {
59
59
  exports["default"] = Image;
60
60
  Image.propTypes = _propTypes.propTypes;
61
61
  Image.defaultProps = _defaultProps.defaultProps;
62
- if (false) {
63
- Image.docs = {
64
- componentGroup: 'Atom'
65
- };
66
- }
62
+ // if (__DOCS__) {
63
+ // Image.docs = {
64
+ // componentGroup: 'Atom'
65
+ // };
66
+ // }
@@ -64,9 +64,10 @@ var ImportantNotes = /*#__PURE__*/function (_React$Component) {
64
64
  exports["default"] = ImportantNotes;
65
65
  ImportantNotes.propTypes = _propTypes.propTypes;
66
66
  ImportantNotes.defaultProps = _defaultProps.defaultProps;
67
- if (false) {
68
- ImportantNotes.docs = {
69
- componentGroup: 'Common',
70
- folderName: 'General'
71
- };
72
- }
67
+
68
+ // if (__DOCS__) {
69
+ // ImportantNotes.docs = {
70
+ // componentGroup: 'Common',
71
+ // folderName: 'General'
72
+ // };
73
+ // }
package/lib/Link/Link.js CHANGED
@@ -116,8 +116,9 @@ exports["default"] = Link;
116
116
  Link.contextType = _LinkContext["default"];
117
117
  Link.defaultProps = _defaultProps.defaultProps;
118
118
  Link.propTypes = _propTypes.propTypes;
119
- if (false) {
120
- Link.docs = {
121
- componentGroup: 'Atom'
122
- };
123
- }
119
+
120
+ // if (__DOCS__) {
121
+ // Link.docs = {
122
+ // componentGroup: 'Atom'
123
+ // };
124
+ // }
@@ -43,10 +43,9 @@ var Loader = /*#__PURE__*/function (_React$Component) {
43
43
  }
44
44
  }]);
45
45
  return Loader;
46
- }(_react["default"].Component);
47
- exports["default"] = Loader;
48
- if (false) {
49
- Loader.docs = {
50
- componentGroup: 'Atom'
51
- };
52
- }
46
+ }(_react["default"].Component); // if (__DOCS__) {
47
+ // Loader.docs = {
48
+ // componentGroup: 'Atom'
49
+ // };
50
+ // }
51
+ exports["default"] = Loader;
@@ -74,11 +74,13 @@ var Message = /*#__PURE__*/function (_React$Component) {
74
74
  exports["default"] = Message;
75
75
  Message.propTypes = _propTypes.propTypes;
76
76
  Message.defaultProps = _defaultProps.defaultProps;
77
- if (false) {
78
- Message.docs = {
79
- componentGroup: 'Atom'
80
- };
81
- }
77
+
78
+ // if (__DOCS__) {
79
+ // Message.docs = {
80
+ // componentGroup: 'Atom'
81
+ // };
82
+ // }
83
+
82
84
  function MessageUI(props) {
83
85
  function onClose(e) {
84
86
  var hideMessage = props.hideMessage,
@@ -80,8 +80,9 @@ var MessageBanner = /*#__PURE__*/function (_React$Component) {
80
80
  exports["default"] = MessageBanner;
81
81
  MessageBanner.defaultProps = _defaultProps.defaultProps;
82
82
  MessageBanner.propTypes = _propTypes.propTypes;
83
- if (false) {
84
- MessageBanner.docs = {
85
- componentGroup: 'Atom'
86
- };
87
- }
83
+
84
+ // if (__DOCS__) {
85
+ // MessageBanner.docs = {
86
+ // componentGroup: 'Atom'
87
+ // };
88
+ // }
@@ -90,8 +90,9 @@ var NewStar = /*#__PURE__*/function (_React$Component) {
90
90
  exports["default"] = NewStar;
91
91
  NewStar.propTypes = _propTypes.propTypes;
92
92
  NewStar.defaultProps = _defaultProps.defaultProps;
93
- if (false) {
94
- NewStar.docs = {
95
- componentGroup: 'Atom'
96
- };
97
- }
93
+
94
+ // if (__DOCS__) {
95
+ // NewStar.docs = {
96
+ // componentGroup: 'Atom'
97
+ // };
98
+ // }