@zohodesk/dot 1.0.0-beta.224 → 1.0.0-beta.227

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 (280) hide show
  1. package/README.md +15 -0
  2. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +1 -1
  3. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +1 -1
  4. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +533 -0
  5. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +16 -0
  6. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +16 -0
  7. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +16 -0
  8. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +16 -0
  9. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +16 -0
  10. package/es/ActionButton/docs/ActionButton__default.docs.js +144 -0
  11. package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +34 -0
  12. package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +43 -0
  13. package/es/Attachment/docs/Attachment__default.docs.js +54 -0
  14. package/es/AttachmentViewer/AttachmentImage.js +5 -1
  15. package/es/AttachmentViewer/AttachmentViewer.js +3 -2
  16. package/es/AttachmentViewer/AttachmentViewer.module.css +9 -1
  17. package/es/AttachmentViewer/docs/AttachmentViewer__default.docs.js +70 -0
  18. package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +57 -0
  19. package/es/Drawer/docs/Drawer__default.docs.js +87 -0
  20. package/es/Drawer/docs/Drawer__multiDrawer.docs.js +112 -0
  21. package/es/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
  22. package/es/Drawer/docs/Drawer__withModal.docs.js +74 -0
  23. package/es/ExternalLink/docs/ExternalLink__default.docs.js +19 -0
  24. package/es/FlipCard/docs/FlipCard__default.docs.js +66 -0
  25. package/es/FormAction/docs/FormAction__default.docs.js +72 -0
  26. package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +51 -0
  27. package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +48 -0
  28. package/es/IconButton/docs/IconButton__default.docs.js +219 -0
  29. package/es/Image/docs/Image__default.docs.js +22 -0
  30. package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
  31. package/es/Link/docs/Link__default.docs.js +36 -0
  32. package/es/Loader/docs/Loader__default.docs.js +23 -0
  33. package/es/Message/docs/Message__default.docs.js +55 -0
  34. package/es/MessageBanner/docs/MessageBanner__default.docs.js +88 -0
  35. package/es/NewStar/docs/NewStar__default.docs.js +62 -0
  36. package/es/PlusIcon/docs/PlusIcon__default.docs.js +16 -0
  37. package/es/Provider.js +88 -35
  38. package/es/ToastMessage/docs/ToastMessage__custom.docs.js +92 -0
  39. package/es/ToastMessage/docs/ToastMessage__information.docs.js +54 -0
  40. package/es/ToastMessage/docs/ToastMessage__primary.docs.js +125 -0
  41. package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +37 -0
  42. package/es/ToastMessage/docs/ToastMessage__success.docs.js +61 -0
  43. package/es/Upload/docs/Upload__default.docs.js +61 -0
  44. package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +63 -0
  45. package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +132 -0
  46. package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
  47. package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +35 -0
  48. package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +40 -0
  49. package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +46 -0
  50. package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +35 -0
  51. package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +51 -0
  52. package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +147 -0
  53. package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +173 -0
  54. package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +24 -0
  55. package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +34 -0
  56. package/es/docs/formDocs.js +26 -0
  57. package/es/docs/generalDocs.js +135 -0
  58. package/es/docs/lookupDocs.js +44 -0
  59. package/es/docs/setupDocs.js +22 -0
  60. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +1 -1
  61. package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +228 -0
  62. package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +111 -0
  63. package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +21 -0
  64. package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
  65. package/es/errorstate/LinkText/docs/LinkText__default.docs.js +17 -0
  66. package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
  67. package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
  68. package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
  69. package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
  70. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
  71. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
  72. package/es/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
  73. package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +30 -0
  74. package/es/form/fields/DateField/docs/DateField__default.docs.js +25 -0
  75. package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +48 -0
  76. package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
  77. package/es/form/fields/SelectField/docs/SelectField__default.docs.js +58 -0
  78. package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +77 -0
  79. package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +82 -0
  80. package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +45 -0
  81. package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +43 -0
  82. package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +26 -0
  83. package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +58 -0
  84. package/es/form/layout/Field/docs/Field__default.docs.js +25 -0
  85. package/es/form/layout/Section/docs/Section__default.docs.js +21 -0
  86. package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +29 -0
  87. package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +67 -0
  88. package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +100 -0
  89. package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +19 -0
  90. package/es/list/Comment/docs/Comment__default.docs.js +26 -0
  91. package/es/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
  92. package/es/list/DotNew/docs/DotNew__default.docs.js +20 -0
  93. package/es/list/GridStencils/docs/GridStencils__default.docs.js +35 -0
  94. package/es/list/Icons/docs/FloatingIcons__default.docs.js +24 -0
  95. package/es/list/ListLayout/docs/ListLayout__default.docs.js +60 -0
  96. package/es/list/ListStencils/docs/ListStencils__default.docs.js +20 -0
  97. package/es/list/SecondaryText/SecondaryText.module.css +1 -1
  98. package/es/list/SecondaryText/docs/ContactName__default.docs.js +23 -0
  99. package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
  100. package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +81 -0
  101. package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +19 -0
  102. package/es/list/Subject/docs/Subject__default.docs.js +44 -0
  103. package/es/list/TagNew/docs/TagNew__default.docs.js +23 -0
  104. package/es/list/Thread/docs/Thread__default.docs.js +22 -0
  105. package/es/list/UserTime/docs/UserTime__default.docs.js +157 -0
  106. package/es/list/status/StatusDropdown/StatusDropdown.js +1 -1
  107. package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +129 -0
  108. package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +27 -0
  109. package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +20 -0
  110. package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +20 -0
  111. package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +17 -0
  112. package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +20 -0
  113. package/es/lookup/Lookup/docs/Lookup__contact.docs.js +196 -0
  114. package/es/lookup/Lookup/docs/Lookup__default.docs.js +68 -0
  115. package/es/lookup/header/Close/docs/Close__default.docs.js +19 -0
  116. package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +51 -0
  117. package/es/lookup/header/Search/docs/Search__default.docs.js +124 -0
  118. package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +83 -0
  119. package/es/lookup/header/Title/docs/Title__default.docs.js +21 -0
  120. package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +75 -0
  121. package/es/setup/header/Button/docs/Button__default.docs.js +22 -0
  122. package/es/setup/header/Link/docs/Link__default.docs.js +23 -0
  123. package/es/setup/header/Search/docs/Search__default.docs.js +41 -0
  124. package/es/setup/header/Views/docs/Views__default.docs.js +24 -0
  125. package/es/setup/helptips/Description/docs/Description__default.docs.js +26 -0
  126. package/es/setup/helptips/Link/docs/Link__default.docs.js +27 -0
  127. package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +30 -0
  128. package/es/setup/helptips/Title/docs/Title__default.docs.js +26 -0
  129. package/es/setup/table/Table/docs/Table__default.docs.js +181 -0
  130. package/es/setup/table/Text/docs/Text__default.docs.js +35 -0
  131. package/es/svg/docs/SVG__default.docs.js +49 -0
  132. package/es/version2/AlertClose/docs/AlertClose__default.docs.js +47 -0
  133. package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +95 -0
  134. package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +138 -0
  135. package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +18 -0
  136. package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +20 -0
  137. package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +30 -0
  138. package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +18 -0
  139. package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +20 -0
  140. package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +18 -0
  141. package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +56 -0
  142. package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +157 -0
  143. package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +92 -0
  144. package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +57 -0
  145. package/lib/ActionButton/docs/ActionButton__default.docs.js +197 -0
  146. package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +82 -0
  147. package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +91 -0
  148. package/lib/Attachment/docs/Attachment__default.docs.js +104 -0
  149. package/lib/AttachmentViewer/AttachmentImage.js +5 -1
  150. package/lib/AttachmentViewer/AttachmentViewer.js +3 -2
  151. package/lib/AttachmentViewer/AttachmentViewer.module.css +9 -1
  152. package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +123 -0
  153. package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +112 -0
  154. package/lib/Drawer/docs/Drawer__default.docs.js +143 -0
  155. package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +171 -0
  156. package/lib/Drawer/docs/Drawer__noFreeze.docs.js +65 -0
  157. package/lib/Drawer/docs/Drawer__withModal.docs.js +131 -0
  158. package/lib/ExternalLink/docs/ExternalLink__default.docs.js +68 -0
  159. package/lib/FlipCard/docs/FlipCard__default.docs.js +121 -0
  160. package/lib/FormAction/docs/FormAction__default.docs.js +127 -0
  161. package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +103 -0
  162. package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +100 -0
  163. package/lib/IconButton/docs/IconButton__default.docs.js +272 -0
  164. package/lib/Image/docs/Image__default.docs.js +76 -0
  165. package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +68 -0
  166. package/lib/Link/docs/Link__default.docs.js +90 -0
  167. package/lib/Loader/docs/Loader__default.docs.js +68 -0
  168. package/lib/Message/docs/Message__default.docs.js +100 -0
  169. package/lib/MessageBanner/docs/MessageBanner__default.docs.js +132 -0
  170. package/lib/NewStar/docs/NewStar__default.docs.js +111 -0
  171. package/lib/PlusIcon/docs/PlusIcon__default.docs.js +70 -0
  172. package/lib/Provider.js +112 -37
  173. package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +151 -0
  174. package/lib/ToastMessage/docs/ToastMessage__information.docs.js +108 -0
  175. package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +175 -0
  176. package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +91 -0
  177. package/lib/ToastMessage/docs/ToastMessage__success.docs.js +115 -0
  178. package/lib/Upload/docs/Upload__default.docs.js +110 -0
  179. package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +112 -0
  180. package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +187 -0
  181. package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +72 -0
  182. package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +81 -0
  183. package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +95 -0
  184. package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +99 -0
  185. package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +90 -0
  186. package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +104 -0
  187. package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +198 -0
  188. package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +224 -0
  189. package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +74 -0
  190. package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +80 -0
  191. package/lib/docs/formDocs.js +215 -0
  192. package/lib/docs/generalDocs.js +1055 -0
  193. package/lib/docs/lookupDocs.js +287 -0
  194. package/lib/docs/setupDocs.js +183 -0
  195. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +1 -1
  196. package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +279 -0
  197. package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +171 -0
  198. package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +74 -0
  199. package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +69 -0
  200. package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +67 -0
  201. package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +68 -0
  202. package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +70 -0
  203. package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +69 -0
  204. package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +69 -0
  205. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +70 -0
  206. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +69 -0
  207. package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +71 -0
  208. package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +80 -0
  209. package/lib/form/fields/DateField/docs/DateField__default.docs.js +74 -0
  210. package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +100 -0
  211. package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +76 -0
  212. package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +110 -0
  213. package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +126 -0
  214. package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +96 -0
  215. package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +97 -0
  216. package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +94 -0
  217. package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +76 -0
  218. package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +103 -0
  219. package/lib/form/layout/Field/docs/Field__default.docs.js +74 -0
  220. package/lib/form/layout/Section/docs/Section__default.docs.js +71 -0
  221. package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +80 -0
  222. package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +118 -0
  223. package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +149 -0
  224. package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +65 -0
  225. package/lib/list/Comment/docs/Comment__default.docs.js +76 -0
  226. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
  227. package/lib/list/DotNew/docs/DotNew__default.docs.js +70 -0
  228. package/lib/list/GridStencils/docs/GridStencils__default.docs.js +86 -0
  229. package/lib/list/Icons/docs/FloatingIcons__default.docs.js +81 -0
  230. package/lib/list/ListLayout/docs/ListLayout__default.docs.js +111 -0
  231. package/lib/list/ListStencils/docs/ListStencils__default.docs.js +70 -0
  232. package/lib/list/SecondaryText/SecondaryText.module.css +1 -1
  233. package/lib/list/SecondaryText/docs/ContactName__default.docs.js +73 -0
  234. package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
  235. package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +133 -0
  236. package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +65 -0
  237. package/lib/list/Subject/docs/Subject__default.docs.js +94 -0
  238. package/lib/list/TagNew/docs/TagNew__default.docs.js +73 -0
  239. package/lib/list/Thread/docs/Thread__default.docs.js +72 -0
  240. package/lib/list/UserTime/docs/UserTime__default.docs.js +196 -0
  241. package/lib/list/status/StatusDropdown/StatusDropdown.js +1 -1
  242. package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +178 -0
  243. package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +77 -0
  244. package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +70 -0
  245. package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +70 -0
  246. package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +67 -0
  247. package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +70 -0
  248. package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +247 -0
  249. package/lib/lookup/Lookup/docs/Lookup__default.docs.js +121 -0
  250. package/lib/lookup/header/Close/docs/Close__default.docs.js +69 -0
  251. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +99 -0
  252. package/lib/lookup/header/Search/docs/Search__default.docs.js +175 -0
  253. package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +133 -0
  254. package/lib/lookup/header/Title/docs/Title__default.docs.js +71 -0
  255. package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +119 -0
  256. package/lib/setup/header/Button/docs/Button__default.docs.js +68 -0
  257. package/lib/setup/header/Link/docs/Link__default.docs.js +69 -0
  258. package/lib/setup/header/Search/docs/Search__default.docs.js +92 -0
  259. package/lib/setup/header/Views/docs/Views__default.docs.js +70 -0
  260. package/lib/setup/helptips/Description/docs/Description__default.docs.js +72 -0
  261. package/lib/setup/helptips/Link/docs/Link__default.docs.js +73 -0
  262. package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +76 -0
  263. package/lib/setup/helptips/Title/docs/Title__default.docs.js +72 -0
  264. package/lib/setup/table/Table/docs/Table__default.docs.js +238 -0
  265. package/lib/setup/table/Text/docs/Text__default.docs.js +84 -0
  266. package/lib/svg/docs/SVG__default.docs.js +101 -0
  267. package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +97 -0
  268. package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +143 -0
  269. package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +187 -0
  270. package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +68 -0
  271. package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +70 -0
  272. package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +80 -0
  273. package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +68 -0
  274. package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +70 -0
  275. package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +68 -0
  276. package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +105 -0
  277. package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +212 -0
  278. package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +142 -0
  279. package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +108 -0
  280. package/package.json +7 -7
@@ -0,0 +1,92 @@
1
+ import React, { Component } from 'react';
2
+ import DesktopNotification from '../DesktopNotification';
3
+ import style from '@zohodesk/components/lib/common/docStyle.module.css';
4
+ export default class DesktopNotification__default extends Component {
5
+ constructor(props) {
6
+ super(props);
7
+ }
8
+
9
+ render() {
10
+ return /*#__PURE__*/React.createElement("div", {
11
+ className: style.m50
12
+ }, /*#__PURE__*/React.createElement("div", {
13
+ style: {
14
+ marginBottom: '20px'
15
+ }
16
+ }, /*#__PURE__*/React.createElement(DesktopNotification, {
17
+ type: "success",
18
+ title: "Updated Successfully",
19
+ info: "The Customer Insights(3) extension has been updated successfully",
20
+ isAnimate: false,
21
+ size: "medium",
22
+ i18nKeys: {
23
+ closeTitle: 'Custom Close Title'
24
+ }
25
+ })), /*#__PURE__*/React.createElement("div", {
26
+ style: {
27
+ marginBottom: '20px'
28
+ }
29
+ }, /*#__PURE__*/React.createElement(DesktopNotification, {
30
+ type: "notification",
31
+ title: "Desktop Notification",
32
+ info: "Zoho Desk needs your Permission to enable desktop notification.",
33
+ submitText: "SUBMIT",
34
+ cancelText: "NOT NOW",
35
+ isAnimate: false,
36
+ size: "medium"
37
+ })), /*#__PURE__*/React.createElement("div", {
38
+ style: {
39
+ marginBottom: '20px'
40
+ }
41
+ }, /*#__PURE__*/React.createElement(DesktopNotification, {
42
+ type: "danger",
43
+ title: "Authorization Pending",
44
+ info: "Authorize your account for Zoho OAuth service to acivate this extension",
45
+ submitText: "AUTHORIZE",
46
+ submitType: "danger",
47
+ isAnimate: false,
48
+ size: "medium"
49
+ })), /*#__PURE__*/React.createElement("div", {
50
+ style: {
51
+ marginBottom: '20px'
52
+ }
53
+ }, /*#__PURE__*/React.createElement(DesktopNotification, {
54
+ type: "info",
55
+ title: "Scheduled Call time",
56
+ subTitle: "You are 13 Head of the scheduled call time.",
57
+ info: "Would you like to proceed this call now?",
58
+ submitText: "Yes",
59
+ cancelText: "Not Now",
60
+ isAnimate: false,
61
+ size: "medium"
62
+ })), /*#__PURE__*/React.createElement("div", {
63
+ style: {
64
+ marginBottom: '20px'
65
+ }
66
+ }, /*#__PURE__*/React.createElement(DesktopNotification, {
67
+ type: "success",
68
+ title: "You have started following this Ticket",
69
+ titleVariant: "secondary",
70
+ isAnimate: false,
71
+ isShrinkView: true
72
+ })), /*#__PURE__*/React.createElement("div", {
73
+ style: {
74
+ marginBottom: '20px'
75
+ }
76
+ }, /*#__PURE__*/React.createElement(DesktopNotification, {
77
+ type: "danger",
78
+ title: "You an integrate with either zoho cliq slack at a time. Please disable the integration with slack and try again.",
79
+ titleVariant: "secondary",
80
+ isAnimate: false,
81
+ isShrinkView: true
82
+ })));
83
+ }
84
+
85
+ }
86
+
87
+ if (false) {
88
+ DesktopNotification__default.docs = {
89
+ componentGroup: 'DesktopNotification',
90
+ folderName: 'Alert'
91
+ };
92
+ }
@@ -0,0 +1,57 @@
1
+ import React, { Component } from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import DesktopNotificationHeader from '../DesktopNotificationHeader';
4
+ import style from '@zohodesk/components/lib/common/docStyle.module.css';
5
+ export default class DesktopNotificationHeader__default extends Component {
6
+ constructor(props) {
7
+ super(props);
8
+ }
9
+
10
+ render() {
11
+ return /*#__PURE__*/React.createElement("div", {
12
+ className: style.m50
13
+ }, /*#__PURE__*/React.createElement("div", {
14
+ style: {
15
+ width: '452px',
16
+ marginBottom: '20px'
17
+ }
18
+ }, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
19
+ type: "success",
20
+ title: "Updated Successfully"
21
+ })), /*#__PURE__*/React.createElement("div", {
22
+ style: {
23
+ width: '452px',
24
+ marginBottom: '20px'
25
+ }
26
+ }, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
27
+ type: "notification",
28
+ title: "Desktop Notification"
29
+ })), /*#__PURE__*/React.createElement("div", {
30
+ style: {
31
+ width: '452px',
32
+ marginBottom: '20px'
33
+ }
34
+ }, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
35
+ type: "danger",
36
+ title: "Authorization Pending"
37
+ })), /*#__PURE__*/React.createElement("div", {
38
+ style: {
39
+ width: '452px',
40
+ marginBottom: '20px'
41
+ }
42
+ }, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
43
+ type: "success",
44
+ title: "You have started following this Ticket",
45
+ variant: "secondary"
46
+ })));
47
+ }
48
+
49
+ }
50
+ DesktopNotificationHeader__default.propTypes = {};
51
+
52
+ if (false) {
53
+ DesktopNotificationHeader__default.docs = {
54
+ componentGroup: 'DesktopNotificationHeader',
55
+ folderName: 'Alert'
56
+ };
57
+ }
@@ -0,0 +1,197 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _ActionButton = _interopRequireDefault(require("../ActionButton"));
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+
16
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
+
18
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
19
+
20
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
+
22
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
+
24
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
+
26
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
27
+
28
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
29
+
30
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
+
32
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
+
34
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
+
36
+ var ActionButton__default = /*#__PURE__*/function (_React$Component) {
37
+ _inherits(ActionButton__default, _React$Component);
38
+
39
+ var _super = _createSuper(ActionButton__default);
40
+
41
+ function ActionButton__default(props) {
42
+ _classCallCheck(this, ActionButton__default);
43
+
44
+ return _super.call(this, props);
45
+ }
46
+
47
+ _createClass(ActionButton__default, [{
48
+ key: "render",
49
+ value: function render() {
50
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
51
+ style: {
52
+ margin: '20px',
53
+ display: 'inline-block'
54
+ }
55
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
56
+ text: "Reply",
57
+ size: "small"
58
+ })), /*#__PURE__*/_react["default"].createElement("div", {
59
+ style: {
60
+ margin: '20px',
61
+ display: 'inline-block'
62
+ }
63
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
64
+ text: "Reply",
65
+ size: "medium"
66
+ })), /*#__PURE__*/_react["default"].createElement("div", {
67
+ style: {
68
+ margin: '20px',
69
+ display: 'inline-block'
70
+ }
71
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
72
+ text: "Reply",
73
+ size: "large"
74
+ })), /*#__PURE__*/_react["default"].createElement("div", {
75
+ style: {
76
+ margin: '20px',
77
+ display: 'inline-block'
78
+ }
79
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
80
+ text: "Reply",
81
+ size: "large",
82
+ isLoading: true
83
+ })), /*#__PURE__*/_react["default"].createElement("div", {
84
+ style: {
85
+ margin: '20px',
86
+ display: 'inline-block'
87
+ }
88
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
89
+ text: "Reply",
90
+ size: "large",
91
+ isLoading: true,
92
+ palette: "primary"
93
+ })), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
94
+ style: {
95
+ margin: '20px',
96
+ display: 'inline-block'
97
+ }
98
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
99
+ iconName: "ZD-replyall",
100
+ iconSize: "9",
101
+ onClick: function onClick() {
102
+ return '';
103
+ },
104
+ dropdownChildren: 'children',
105
+ dropBoxPosition: "bottomRight",
106
+ size: "small",
107
+ isDisabled: true
108
+ })), /*#__PURE__*/_react["default"].createElement("div", {
109
+ style: {
110
+ margin: '20px',
111
+ display: 'inline-block'
112
+ }
113
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
114
+ text: "Reply all",
115
+ iconName: "ZD-replyall",
116
+ iconSize: "9",
117
+ onClick: function onClick() {
118
+ return '';
119
+ },
120
+ dropBoxPosition: "bottomRight",
121
+ size: "small"
122
+ }, "children")), /*#__PURE__*/_react["default"].createElement("div", {
123
+ style: {
124
+ margin: '20px',
125
+ display: 'inline-block'
126
+ }
127
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
128
+ text: "Reply all",
129
+ iconName: "ZD-replyall",
130
+ iconSize: "9",
131
+ onClick: function onClick() {
132
+ return '';
133
+ },
134
+ dropBoxPosition: "bottomRight",
135
+ size: "small",
136
+ onHover: true
137
+ }, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
138
+ style: {
139
+ margin: '20px',
140
+ display: 'inline-block'
141
+ }
142
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
143
+ text: "Reply all",
144
+ iconName: "ZD-replyall",
145
+ iconSize: "9",
146
+ dropBoxPosition: "bottomRight",
147
+ size: "small",
148
+ onHover: true
149
+ }, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
150
+ style: {
151
+ margin: '20px',
152
+ display: 'inline-block'
153
+ }
154
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
155
+ text: "Reply all",
156
+ iconName: "ZD-replyall",
157
+ iconSize: "9",
158
+ dropBoxPosition: "bottomRight",
159
+ size: "small"
160
+ }, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
161
+ style: {
162
+ margin: '20px',
163
+ display: 'inline-block'
164
+ }
165
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
166
+ text: "Comment",
167
+ subText: "Public"
168
+ })), /*#__PURE__*/_react["default"].createElement("div", {
169
+ style: {
170
+ margin: '20px',
171
+ display: 'inline-block'
172
+ }
173
+ }, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
174
+ text: "Reply all",
175
+ iconName: "ZD-replyall",
176
+ iconSize: "9",
177
+ onClick: function onClick() {
178
+ return '';
179
+ },
180
+ dropBoxPosition: "bottomRight",
181
+ size: "small",
182
+ palette: "primary"
183
+ }, "children")), /*#__PURE__*/_react["default"].createElement("div", {
184
+ style: {
185
+ margin: '20px'
186
+ }
187
+ }));
188
+ }
189
+ }]);
190
+
191
+ return ActionButton__default;
192
+ }(_react["default"].Component);
193
+
194
+ exports["default"] = ActionButton__default;
195
+ ActionButton__default.docs = {
196
+ componentGroup: 'Atom'
197
+ };
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _AlphabeticList = _interopRequireDefault(require("../AlphabeticList"));
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+
16
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
+
18
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
+
20
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
21
+
22
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
+
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
+
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
+
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
+
30
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
+
32
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
33
+
34
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
35
+
36
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
+
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
+
40
+ var AlphabeticList__default = /*#__PURE__*/function (_Component) {
41
+ _inherits(AlphabeticList__default, _Component);
42
+
43
+ var _super = _createSuper(AlphabeticList__default);
44
+
45
+ function AlphabeticList__default(props) {
46
+ var _this;
47
+
48
+ _classCallCheck(this, AlphabeticList__default);
49
+
50
+ _this = _super.call(this, props);
51
+ _this.state = {
52
+ selectedCharacter: 'C'
53
+ };
54
+ _this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
55
+ return _this;
56
+ }
57
+
58
+ _createClass(AlphabeticList__default, [{
59
+ key: "handleSelect",
60
+ value: function handleSelect(selectedCharacter) {
61
+ this.setState({
62
+ selectedCharacter: selectedCharacter
63
+ });
64
+ }
65
+ }, {
66
+ key: "render",
67
+ value: function render() {
68
+ var selectedCharacter = this.state.selectedCharacter;
69
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
70
+ selectedCharacter: selectedCharacter,
71
+ onSelect: this.handleSelect
72
+ }));
73
+ }
74
+ }]);
75
+
76
+ return AlphabeticList__default;
77
+ }(_react.Component);
78
+
79
+ exports["default"] = AlphabeticList__default;
80
+ AlphabeticList__default.docs = {
81
+ componentGroup: 'Atom'
82
+ };
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _AlphabeticList = _interopRequireDefault(require("../AlphabeticList"));
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+
16
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
+
18
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
+
20
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
21
+
22
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
+
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
+
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
+
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
+
30
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
+
32
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
33
+
34
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
35
+
36
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
+
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
+
40
+ var AlphabeticList__horizontal = /*#__PURE__*/function (_Component) {
41
+ _inherits(AlphabeticList__horizontal, _Component);
42
+
43
+ var _super = _createSuper(AlphabeticList__horizontal);
44
+
45
+ function AlphabeticList__horizontal(props) {
46
+ var _this;
47
+
48
+ _classCallCheck(this, AlphabeticList__horizontal);
49
+
50
+ _this = _super.call(this, props);
51
+ _this.state = {
52
+ selectedCharacter: 'C'
53
+ };
54
+ _this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
55
+ return _this;
56
+ }
57
+
58
+ _createClass(AlphabeticList__horizontal, [{
59
+ key: "handleSelect",
60
+ value: function handleSelect(selectedCharacter) {
61
+ this.setState({
62
+ selectedCharacter: selectedCharacter
63
+ });
64
+ }
65
+ }, {
66
+ key: "render",
67
+ value: function render() {
68
+ var selectedCharacter = this.state.selectedCharacter;
69
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
70
+ selectedCharacter: selectedCharacter,
71
+ onSelect: this.handleSelect,
72
+ align: "horizontal"
73
+ }), /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
74
+ type: "numerals",
75
+ selectedCharacter: selectedCharacter,
76
+ onSelect: this.handleSelect,
77
+ align: "horizontal"
78
+ }));
79
+ }
80
+ }]);
81
+
82
+ return AlphabeticList__horizontal;
83
+ }(_react.Component);
84
+
85
+ exports["default"] = AlphabeticList__horizontal;
86
+
87
+ if (false) {
88
+ AlphabeticList__horizontal.docs = {
89
+ componentGroup: 'Atom'
90
+ };
91
+ }
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ var _Attachment = _interopRequireDefault(require("../Attachment"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
18
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
+
20
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
21
+
22
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
23
+
24
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
25
+
26
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
+
28
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
29
+
30
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
31
+
32
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
33
+
34
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
35
+
36
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
37
+
38
+ var Attachment__default = /*#__PURE__*/function (_React$Component) {
39
+ _inherits(Attachment__default, _React$Component);
40
+
41
+ var _super = _createSuper(Attachment__default);
42
+
43
+ function Attachment__default() {
44
+ _classCallCheck(this, Attachment__default);
45
+
46
+ return _super.apply(this, arguments);
47
+ }
48
+
49
+ _createClass(Attachment__default, [{
50
+ key: "render",
51
+ value: function render() {
52
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
53
+ fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
54
+ fileSize: "31.5 KB",
55
+ downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
56
+ tooltip: "Attachment",
57
+ iconName: "ZD-filePicture",
58
+ fileInfo: "2 days ago"
59
+ }), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
60
+ fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
61
+ fileSize: "31.5 KB",
62
+ downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
63
+ tooltip: "Attachment",
64
+ iconName: "ZD-filePicture"
65
+ }), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
66
+ fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
67
+ downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
68
+ tooltip: "Attachment",
69
+ iconName: "ZD-filePicture"
70
+ }), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
71
+ fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
72
+ fileSize: "31.5 KB",
73
+ downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
74
+ tooltip: "Attachment",
75
+ iconName: "ZD-filePicture",
76
+ size: "small",
77
+ fileInfo: "15 days ago"
78
+ }), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
79
+ fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
80
+ fileSize: "31.5 KB",
81
+ downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
82
+ tooltip: "Attachment",
83
+ iconName: "ZD-filePicture",
84
+ size: "small"
85
+ }), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
86
+ fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
87
+ downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
88
+ tooltip: "Attachment",
89
+ iconName: "ZD-filePicture",
90
+ size: "small"
91
+ }));
92
+ }
93
+ }]);
94
+
95
+ return Attachment__default;
96
+ }(_react["default"].Component);
97
+
98
+ exports["default"] = Attachment__default;
99
+
100
+ if (false) {
101
+ Attachment__default.docs = {
102
+ componentGroup: 'Attachment'
103
+ };
104
+ }
@@ -96,7 +96,8 @@ var AttachmentImage = /*#__PURE__*/function (_Component) {
96
96
  isCover = _this$props.isCover;
97
97
  var isLoading = this.state.isLoading;
98
98
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isLoading ? /*#__PURE__*/_react["default"].createElement("div", {
99
- className: "".concat(_AttachmentViewerModule["default"].spinLoad)
99
+ className: "".concat(_AttachmentViewerModule["default"].spinLoad),
100
+ "data-id": "".concat(dataId, "_loader")
100
101
  }, /*#__PURE__*/_react["default"].createElement("div", {
101
102
  className: _AttachmentViewerModule["default"].loader
102
103
  })) : null, /*#__PURE__*/_react["default"].createElement(_Image["default"], {
@@ -126,4 +127,7 @@ AttachmentImage.propTypes = {
126
127
  onClick: _propTypes["default"].func,
127
128
  onLoad: _propTypes["default"].func,
128
129
  src: _propTypes["default"].string
130
+ };
131
+ AttachmentImage.defaultProps = {
132
+ dataId: 'AttachmentImage'
129
133
  };