@zohodesk/dot 1.0.0-temp-88 → 1.0.0-temp.30

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 (360) hide show
  1. package/README.md +26 -1
  2. package/es/ExternalLink/ExternalLink.js +1 -1
  3. package/es/FlipCard/FlipCard.js +1 -1
  4. package/es/Link/Link.js +1 -1
  5. package/es/Message/Message.js +1 -1
  6. package/es/Provider.js +5 -105
  7. package/es/ToastMessage/ToastMessage.js +1 -1
  8. package/es/alert/AlertLookup/AlertLookup.js +12 -5
  9. package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +4 -3
  10. package/es/avatar/AvatarClose/AvatarClose.js +1 -1
  11. package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
  12. package/es/avatar/AvatarIcon/AvatarIcon.js +1 -1
  13. package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
  14. package/es/avatar/AvatarThread/AvatarThread.js +1 -1
  15. package/es/avatar/AvatarUser/AvatarUser.js +1 -1
  16. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +1 -1
  17. package/es/docs/formDocs.js +5 -1
  18. package/es/docs/generalDocs.js +5 -2
  19. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -5
  20. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -2
  21. package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +3 -3
  22. package/es/emptystate/EditionPage/EditionPage.js +1 -1
  23. package/es/errorstate/Inconvenience/Inconvenience.js +1 -1
  24. package/es/errorstate/NoRequestFound/NoRequestFound.js +1 -1
  25. package/es/errorstate/PermissionPlay/PermissionPlay.js +1 -1
  26. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -1
  27. package/es/errorstate/UnableToProcess/UnableToProcess.js +1 -1
  28. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
  29. package/es/errorstate/WillBack/WillBack.js +1 -1
  30. package/es/form/fields/CheckBoxField/CheckBoxField.js +17 -29
  31. package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
  32. package/es/form/fields/CurrencyField/CurrencyField.js +17 -30
  33. package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +36 -0
  34. package/es/form/fields/DateField/DateField.js +17 -29
  35. package/es/form/fields/DateField/docs/DateField__default.docs.js +8 -1
  36. package/es/form/fields/FieldContainer/FieldContainer.js +82 -0
  37. package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +49 -0
  38. package/es/form/fields/MultiSelectField/MultiSelectField.js +17 -29
  39. package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
  40. package/es/form/fields/PhoneField/PhoneField.js +1 -1
  41. package/es/form/fields/RadioField/RadioField.js +1 -1
  42. package/es/form/fields/SelectField/SelectField.js +17 -29
  43. package/es/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
  44. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -7
  45. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +33 -29
  46. package/es/form/fields/TextBoxField/TextBoxField.js +19 -44
  47. package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +28 -1
  48. package/es/form/fields/TextEditorField/TextEditorField.js +28 -45
  49. package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
  50. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  51. package/es/form/fields/TextareaField/TextareaField.js +17 -29
  52. package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
  53. package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
  54. package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
  55. package/es/layout/SubtabLayout/SubtabLayout.js +1 -1
  56. package/es/list/GridStencils/GridStencils.module.css +7 -18
  57. package/es/list/ListLayout/ListLayout.js +1 -1
  58. package/es/list/SecondaryText/AccountName.js +35 -39
  59. package/es/list/SecondaryText/ContactName.js +19 -14
  60. package/es/list/SecondaryText/Email.js +1 -1
  61. package/es/list/SecondaryText/PhoneNumber.js +1 -1
  62. package/es/list/SecondaryText/SecondaryText.js +1 -1
  63. package/es/list/SecondaryText/SecondaryText.module.css +15 -30
  64. package/es/list/SecondaryText/TicketId.js +1 -1
  65. package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
  66. package/es/list/Subject/Subject.js +1 -1
  67. package/es/list/status/StatusDropdown/StatusDropdown.js +3 -2
  68. package/es/list/status/StatusListItem/StatusListItem.js +1 -1
  69. package/es/lookup/EmptyPage/EmptyPage.js +4 -4
  70. package/es/lookup/header/Search/Search.js +1 -1
  71. package/es/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  72. package/es/svg/PlusIcon.js +1 -1
  73. package/es/svg/SnippetIcon.js +1 -1
  74. package/es/svg/TemplateIcon.js +1 -1
  75. package/es/version2/GlobalNotification/GlobalNotification.js +1 -3
  76. package/es/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
  77. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
  78. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
  79. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
  80. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
  81. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
  82. package/es/version2/lookup/AlertLookup/AlertLookup.js +1 -1
  83. package/es/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
  84. package/lib/ActionButton/ActionButton.js +2 -2
  85. package/lib/ActionButton/docs/ActionButton__default.docs.js +2 -2
  86. package/lib/AlphabeticList/AlphabeticList.js +2 -2
  87. package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +2 -2
  88. package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +2 -2
  89. package/lib/Attachment/Attachment.js +2 -2
  90. package/lib/Attachment/docs/Attachment__default.docs.js +2 -2
  91. package/lib/AttachmentViewer/AttachmentImage.js +2 -2
  92. package/lib/AttachmentViewer/AttachmentViewer.js +2 -2
  93. package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +2 -2
  94. package/lib/ChannelIcon/ChannelIcon.js +2 -2
  95. package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +2 -2
  96. package/lib/Drawer/Drawer.js +2 -2
  97. package/lib/Drawer/docs/Drawer__default.docs.js +2 -2
  98. package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +2 -2
  99. package/lib/Drawer/docs/Drawer__noFreeze.docs.js +2 -2
  100. package/lib/Drawer/docs/Drawer__withModal.docs.js +2 -2
  101. package/lib/ExternalLink/ExternalLink.js +3 -3
  102. package/lib/ExternalLink/docs/ExternalLink__default.docs.js +2 -2
  103. package/lib/FlipCard/FlipCard.js +3 -3
  104. package/lib/FlipCard/docs/FlipCard__default.docs.js +2 -2
  105. package/lib/FormAction/FormAction.js +2 -2
  106. package/lib/FormAction/docs/FormAction__default.docs.js +2 -2
  107. package/lib/FreezeLayer/FreezeLayer.js +2 -2
  108. package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +2 -2
  109. package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +2 -2
  110. package/lib/IconButton/IconButton.js +2 -2
  111. package/lib/IconButton/docs/IconButton__default.docs.js +2 -2
  112. package/lib/Image/Image.js +2 -2
  113. package/lib/Image/docs/Image__default.docs.js +2 -2
  114. package/lib/ImportantNotes/ImportantNotes.js +2 -2
  115. package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +2 -2
  116. package/lib/Link/Link.js +3 -3
  117. package/lib/Link/docs/Link__default.docs.js +2 -2
  118. package/lib/Loader/Loader.js +2 -2
  119. package/lib/Loader/docs/Loader__default.docs.js +2 -2
  120. package/lib/Message/Message.js +3 -3
  121. package/lib/Message/docs/Message__default.docs.js +2 -2
  122. package/lib/MessageBanner/MessageBanner.js +2 -2
  123. package/lib/MessageBanner/docs/MessageBanner__default.docs.js +2 -2
  124. package/lib/NewStar/NewStar.js +2 -2
  125. package/lib/NewStar/docs/NewStar__default.docs.js +2 -2
  126. package/lib/PlusIcon/PlusIcon.js +2 -2
  127. package/lib/PlusIcon/docs/PlusIcon__default.docs.js +2 -2
  128. package/lib/Provider.js +8 -125
  129. package/lib/ToastMessage/ToastMessage.js +1 -1
  130. package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +2 -2
  131. package/lib/ToastMessage/docs/ToastMessage__information.docs.js +2 -2
  132. package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +2 -2
  133. package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +2 -2
  134. package/lib/ToastMessage/docs/ToastMessage__success.docs.js +2 -2
  135. package/lib/Upload/Upload.js +2 -2
  136. package/lib/Upload/docs/Upload__default.docs.js +2 -2
  137. package/lib/alert/AlertHeader/AlertHeader.js +2 -2
  138. package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +2 -2
  139. package/lib/alert/AlertLookup/AlertLookup.js +14 -7
  140. package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +6 -5
  141. package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
  142. package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +2 -2
  143. package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
  144. package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +2 -2
  145. package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
  146. package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +2 -2
  147. package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +2 -2
  148. package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
  149. package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +2 -2
  150. package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +2 -2
  151. package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
  152. package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +2 -2
  153. package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
  154. package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +2 -2
  155. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  156. package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +2 -2
  157. package/lib/deprecated/SelectDropdown/SelectDropdown.js +2 -2
  158. package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +2 -2
  159. package/lib/docs/formDocs.js +32 -0
  160. package/lib/docs/generalDocs.js +8 -0
  161. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
  162. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -2
  163. package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +2 -2
  164. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
  165. package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +5 -5
  166. package/lib/emptystate/EditionPage/EditionPage.js +3 -3
  167. package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +2 -2
  168. package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
  169. package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +2 -2
  170. package/lib/errorstate/LinkText/LinkText.js +2 -2
  171. package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +2 -2
  172. package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
  173. package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +2 -2
  174. package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
  175. package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +2 -2
  176. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
  177. package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +2 -2
  178. package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
  179. package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +2 -2
  180. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  181. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +2 -2
  182. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +2 -2
  183. package/lib/errorstate/WillBack/WillBack.js +3 -3
  184. package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +2 -2
  185. package/lib/form/fields/CheckBoxField/CheckBoxField.js +26 -32
  186. package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +10 -3
  187. package/lib/form/fields/CurrencyField/CurrencyField.js +26 -33
  188. package/lib/{list/SecondaryText/docs/ContactName__default.docs.js → form/fields/CurrencyField/docs/CurrencyField__default.docs.js} +31 -18
  189. package/lib/form/fields/DateField/DateField.js +26 -32
  190. package/lib/form/fields/DateField/docs/DateField__default.docs.js +10 -3
  191. package/lib/form/fields/FieldContainer/FieldContainer.js +136 -0
  192. package/lib/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +104 -0
  193. package/lib/form/fields/MultiSelectField/MultiSelectField.js +26 -32
  194. package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +10 -3
  195. package/lib/form/fields/PhoneField/PhoneField.js +3 -3
  196. package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +2 -2
  197. package/lib/form/fields/RadioField/RadioField.js +3 -3
  198. package/lib/form/fields/SelectField/SelectField.js +26 -32
  199. package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +10 -3
  200. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +12 -9
  201. package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +2 -2
  202. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +37 -31
  203. package/lib/form/fields/TextBoxField/TextBoxField.js +28 -48
  204. package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +37 -4
  205. package/lib/form/fields/TextEditor/TextEditor.js +2 -2
  206. package/lib/form/fields/TextEditorField/TextEditorField.js +36 -50
  207. package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +11 -4
  208. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
  209. package/lib/form/fields/TextareaField/TextareaField.js +26 -32
  210. package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +10 -3
  211. package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
  212. package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +2 -2
  213. package/lib/form/fields/props/FieldCommonDefaultProps.js +19 -0
  214. package/lib/form/fields/props/FieldCommonPropTypes.js +34 -0
  215. package/lib/form/layout/Field/Field.js +2 -2
  216. package/lib/form/layout/Field/docs/Field__default.docs.js +2 -2
  217. package/lib/form/layout/Section/Section.js +2 -2
  218. package/lib/form/layout/Section/docs/Section__default.docs.js +2 -2
  219. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
  220. package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +2 -2
  221. package/lib/layout/SubtabLayout/SubtabLayout.js +3 -3
  222. package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +2 -2
  223. package/lib/list/AvatarFlip/AvatarFlip.js +2 -2
  224. package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +2 -2
  225. package/lib/list/BluePrintStatus/BluePrintStatus.js +2 -2
  226. package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +2 -2
  227. package/lib/list/Comment/Comment.js +2 -2
  228. package/lib/list/Comment/docs/Comment__default.docs.js +2 -2
  229. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
  230. package/lib/list/Dot/Dot.js +2 -2
  231. package/lib/list/DotNew/DotNew.js +2 -2
  232. package/lib/list/DotNew/docs/DotNew__default.docs.js +2 -2
  233. package/lib/list/GridStencils/GridStencils.js +2 -2
  234. package/lib/list/GridStencils/GridStencils.module.css +7 -18
  235. package/lib/list/GridStencils/docs/GridStencils__default.docs.js +2 -2
  236. package/lib/list/Icons/AddNewIcon.js +2 -2
  237. package/lib/list/Icons/CompleteIcon.js +2 -2
  238. package/lib/list/Icons/DeleteIcon.js +2 -2
  239. package/lib/list/Icons/EditIcon.js +2 -2
  240. package/lib/list/Icons/FloatingIcons.js +2 -2
  241. package/lib/list/Icons/ReadUnreadIcon.js +2 -2
  242. package/lib/list/Icons/SmartIcon.js +2 -2
  243. package/lib/list/Icons/docs/FloatingIcons__default.docs.js +2 -2
  244. package/lib/list/ListLayout/ListLayout.js +3 -3
  245. package/lib/list/ListLayout/docs/ListLayout__default.docs.js +2 -2
  246. package/lib/list/ListStencils/ListStencils.js +2 -2
  247. package/lib/list/ListStencils/docs/ListStencils__default.docs.js +2 -2
  248. package/lib/list/SecondaryText/AccountName.js +37 -41
  249. package/lib/list/SecondaryText/ContactName.js +21 -16
  250. package/lib/list/SecondaryText/DepartmentText.js +2 -2
  251. package/lib/list/SecondaryText/Email.js +3 -3
  252. package/lib/list/SecondaryText/HappinessRating.js +2 -2
  253. package/lib/list/SecondaryText/PhoneNumber.js +3 -3
  254. package/lib/list/SecondaryText/PriorityText.js +2 -2
  255. package/lib/list/SecondaryText/SecondaryText.js +3 -3
  256. package/lib/list/SecondaryText/SecondaryText.module.css +15 -30
  257. package/lib/list/SecondaryText/StatusText.js +2 -2
  258. package/lib/list/SecondaryText/TicketId.js +3 -3
  259. package/lib/list/SecondaryText/Website.js +2 -2
  260. package/lib/list/SecondaryText/docs/SecondaryText__default.docs.js +162 -0
  261. package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
  262. package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +2 -2
  263. package/lib/list/SentimentStatus/SentimentStatus.js +2 -2
  264. package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +2 -2
  265. package/lib/list/Subject/Subject.js +3 -3
  266. package/lib/list/Subject/docs/Subject__default.docs.js +2 -2
  267. package/lib/list/TagNew/TagNew.js +2 -2
  268. package/lib/list/TagNew/docs/TagNew__default.docs.js +2 -2
  269. package/lib/list/Thread/Thread.js +2 -2
  270. package/lib/list/Thread/docs/Thread__default.docs.js +2 -2
  271. package/lib/list/UserTime/UserTime.js +2 -2
  272. package/lib/list/UserTime/docs/UserTime__default.docs.js +2 -2
  273. package/lib/list/status/StatusDropdown/StatusDropdown.js +5 -4
  274. package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +2 -2
  275. package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
  276. package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +2 -2
  277. package/lib/lookup/EmptyPage/EmptyPage.js +6 -6
  278. package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +2 -2
  279. package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +2 -2
  280. package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +2 -2
  281. package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +2 -2
  282. package/lib/lookup/Lookup/Lookup.js +2 -2
  283. package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +2 -2
  284. package/lib/lookup/Lookup/docs/Lookup__default.docs.js +2 -2
  285. package/lib/lookup/Section/Section.js +2 -2
  286. package/lib/lookup/header/Close/Close.js +2 -2
  287. package/lib/lookup/header/Close/docs/Close__default.docs.js +2 -2
  288. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
  289. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +2 -2
  290. package/lib/lookup/header/Search/Search.js +3 -3
  291. package/lib/lookup/header/Search/docs/Search__default.docs.js +2 -2
  292. package/lib/lookup/header/TicketHeader/TicketHeader.js +2 -2
  293. package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +2 -2
  294. package/lib/lookup/header/Title/Title.js +2 -2
  295. package/lib/lookup/header/Title/docs/Title__default.docs.js +2 -2
  296. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  297. package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +2 -2
  298. package/lib/setup/header/Button/Button.js +2 -2
  299. package/lib/setup/header/Button/docs/Button__default.docs.js +2 -2
  300. package/lib/setup/header/Link/Link.js +2 -2
  301. package/lib/setup/header/Link/docs/Link__default.docs.js +2 -2
  302. package/lib/setup/header/Search/Search.js +2 -2
  303. package/lib/setup/header/Search/docs/Search__default.docs.js +2 -2
  304. package/lib/setup/header/Views/Views.js +2 -2
  305. package/lib/setup/header/Views/docs/Views__default.docs.js +2 -2
  306. package/lib/setup/helptips/Description/Description.js +2 -2
  307. package/lib/setup/helptips/Description/docs/Description__default.docs.js +2 -2
  308. package/lib/setup/helptips/Link/Link.js +2 -2
  309. package/lib/setup/helptips/Link/docs/Link__default.docs.js +2 -2
  310. package/lib/setup/helptips/ListGroup/ListGroup.js +2 -2
  311. package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +2 -2
  312. package/lib/setup/helptips/Title/Title.js +2 -2
  313. package/lib/setup/helptips/Title/docs/Title__default.docs.js +2 -2
  314. package/lib/setup/table/Table/Table.js +2 -2
  315. package/lib/setup/table/Table/docs/Table__default.docs.js +2 -2
  316. package/lib/setup/table/TableBody/TableBody.js +2 -2
  317. package/lib/setup/table/TableData/TableData.js +2 -2
  318. package/lib/setup/table/TableHead/TableHead.js +2 -2
  319. package/lib/setup/table/TableRow/TableRow.js +2 -2
  320. package/lib/setup/table/Text/Text.js +2 -2
  321. package/lib/setup/table/Text/docs/Text__default.docs.js +2 -2
  322. package/lib/svg/PlusIcon.js +3 -3
  323. package/lib/svg/SnippetIcon.js +3 -3
  324. package/lib/svg/TemplateIcon.js +3 -3
  325. package/lib/svg/docs/SVG__default.docs.js +2 -2
  326. package/lib/version2/AlertClose/AlertClose.js +2 -2
  327. package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +2 -2
  328. package/lib/version2/GlobalNotification/GlobalNotification.js +3 -3
  329. package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +2 -2
  330. package/lib/version2/alertIcons/AlarmAlertIcon.js +2 -2
  331. package/lib/version2/alertIcons/AlertIcons.js +2 -2
  332. package/lib/version2/alertIcons/DangerAlertIcon.js +2 -2
  333. package/lib/version2/alertIcons/ErrorAlertIcon.js +2 -2
  334. package/lib/version2/alertIcons/InfoAlertIcon.js +2 -2
  335. package/lib/version2/alertIcons/NotificationAlertIcon.js +2 -2
  336. package/lib/version2/alertIcons/SuccessAlertIcon.js +2 -2
  337. package/lib/version2/alertIcons/WarningAlertIcon.js +2 -2
  338. package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +2 -2
  339. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
  340. package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +2 -2
  341. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
  342. package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +2 -2
  343. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
  344. package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +2 -2
  345. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  346. package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +2 -2
  347. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
  348. package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +2 -2
  349. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
  350. package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +2 -2
  351. package/lib/version2/lookup/AlertHeader/AlertHeader.js +2 -2
  352. package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +2 -2
  353. package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
  354. package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +2 -2
  355. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
  356. package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +2 -2
  357. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
  358. package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +2 -2
  359. package/package.json +9 -8
  360. package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -23
@@ -30,8 +30,15 @@ export default class TextEditorField__default extends Component {
30
30
  labelName: "TextEditor",
31
31
  EDITORURL: "https://js.zohostatic.com/zde/v2.2.9/js/ZohoDeskEditor.js",
32
32
  initCallback: this.handleEditorStyleOptions,
33
- loadingComponent: /*#__PURE__*/React.createElement("div", null, "Loading...")
34
- }));
33
+ loadingComponent: /*#__PURE__*/React.createElement("div", null, "Loading..."),
34
+ infoText: "infoText",
35
+ isLocked: true,
36
+ ePhiData: {
37
+ ePhiTitle: 'ePhiTitle',
38
+ ePhiText: 'ePhiText',
39
+ ePhiStatus: true
40
+ }
41
+ }, "Children"));
35
42
  }
36
43
 
37
44
  }
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { Component } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React, { PureComponent } from 'react';
@@ -9,9 +9,11 @@ import Label from '@zohodesk/components/lib/Label/Label';
9
9
  import Textarea from '@zohodesk/components/lib/Textarea/Textarea';
10
10
  import ValidationMessage from '../ValidationMessage/ValidationMessage';
11
11
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
12
- /**** Icons ****/
12
+ import FieldContainer from '../FieldContainer/FieldContainer';
13
+ /**** props ****/
13
14
 
14
- import Icon from '@zohodesk/icons/lib/Icon';
15
+ import { FieldCommonDefaultProps } from '../props/FieldCommonDefaultProps';
16
+ import { FieldCommonPropTypes } from '../props/FieldCommonPropTypes';
15
17
  /**** CSS ****/
16
18
 
17
19
  import style from '../Fields.module.css';
@@ -85,7 +87,8 @@ export default class TextareaField extends PureComponent {
85
87
  htmlId,
86
88
  lockedInfoText,
87
89
  isLocked,
88
- customProps
90
+ customProps,
91
+ renderLabelProps
89
92
  } = this.props;
90
93
  const {
91
94
  LabelProps = {},
@@ -97,8 +100,11 @@ export default class TextareaField extends PureComponent {
97
100
  return /*#__PURE__*/React.createElement("div", {
98
101
  className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
99
102
  "data-title": isDisabled ? title : null
100
- }, labelName && /*#__PURE__*/React.createElement("div", {
101
- className: style.labelContainer
103
+ }, labelName && /*#__PURE__*/React.createElement(FieldContainer, {
104
+ infoText: infoText,
105
+ isLocked: isLocked,
106
+ lockedInfoText: lockedInfoText,
107
+ renderProps: renderLabelProps
102
108
  }, /*#__PURE__*/React.createElement(Label, _extends({
103
109
  text: labelName,
104
110
  id: id,
@@ -107,17 +113,7 @@ export default class TextareaField extends PureComponent {
107
113
  customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
108
114
  htmlFor: uniqueId,
109
115
  dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
110
- }, LabelProps)), infoText ? /*#__PURE__*/React.createElement(Icon, {
111
- name: "ZD-GN-info",
112
- iconClass: style.infoIcon,
113
- title: infoText,
114
- size: "15"
115
- }) : null, isLocked ? /*#__PURE__*/React.createElement(Icon, {
116
- name: "ZD-GN-lock",
117
- size: "13",
118
- iconClass: style.lockIcon,
119
- title: lockedInfoText
120
- }) : null), /*#__PURE__*/React.createElement("div", {
116
+ }, LabelProps))), /*#__PURE__*/React.createElement("div", {
121
117
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
122
118
  }, /*#__PURE__*/React.createElement(Textarea, _extends({
123
119
  onChange: this.handleChange,
@@ -156,16 +152,11 @@ export default class TextareaField extends PureComponent {
156
152
  TextareaField.propTypes = {
157
153
  animated: PropTypes.bool,
158
154
  borderColor: PropTypes.oneOf(['transparent', 'default']),
159
- dataId: PropTypes.string,
160
155
  errorType: PropTypes.oneOf(['primary', 'secondary']),
161
156
  fieldSize: PropTypes.oneOf(['small', 'medium']),
162
157
  getRef: PropTypes.func,
163
158
  id: PropTypes.string,
164
- infoText: PropTypes.string,
165
- isDisabled: PropTypes.bool,
166
159
  // isFocusOnLabelClick: PropTypes.bool,
167
- isMandatory: PropTypes.bool,
168
- isReadOnly: PropTypes.bool,
169
160
  labelCustomClass: PropTypes.string,
170
161
  labelName: PropTypes.string,
171
162
  labelPalette: PropTypes.string,
@@ -182,29 +173,26 @@ TextareaField.propTypes = {
182
173
  validationRuleMessage: PropTypes.string,
183
174
  validationRulePalette: PropTypes.string,
184
175
  value: PropTypes.string,
185
- lockedInfoText: PropTypes.string,
186
- isLocked: PropTypes.bool,
187
176
  customProps: PropTypes.shape({
188
177
  LabelProps: PropTypes.object,
189
178
  TextareaProps: PropTypes.object,
190
179
  ValidationMessageProps1: PropTypes.object,
191
180
  ValidationMessageProps2: PropTypes.object
192
- })
181
+ }),
182
+ ...FieldCommonPropTypes()
193
183
  };
194
184
  TextareaField.defaultProps = {
195
- isMandatory: false,
196
- isReadOnly: false,
197
185
  textBoxSize: 'xsmall',
198
186
  textBoxVariant: 'primary',
199
187
  animated: true,
200
188
  errorType: 'primary',
201
189
  borderColor: 'default',
202
- isDisabled: false,
203
190
  fieldSize: 'medium',
204
191
  // isFocusOnLabelClick: true,
205
192
  labelPalette: 'default',
206
193
  labelCustomClass: '',
207
- customProps: {}
194
+ customProps: {},
195
+ ...FieldCommonDefaultProps()
208
196
  };
209
197
 
210
198
  if (false) {
@@ -12,7 +12,14 @@ export default class TextareaField__default extends Component {
12
12
  onChange: () => {},
13
13
  textBoxSize: "xsmall",
14
14
  textBoxVariant: "primary",
15
- validationMessage: "Invalid Input"
15
+ validationMessage: "Invalid Input",
16
+ infoText: "infoText",
17
+ isLocked: true,
18
+ ePhiData: {
19
+ ePhiTitle: 'ePhiTitle',
20
+ ePhiText: 'ePhiText',
21
+ ePhiStatus: true
22
+ }
16
23
  });
17
24
  }
18
25
 
@@ -0,0 +1,10 @@
1
+ export const FieldCommonDefaultProps = () => {
2
+ return {
3
+ ePhiData: {},
4
+ isLocked: false,
5
+ isMandatory: false,
6
+ isDisabled: false,
7
+ isReadOnly: false,
8
+ renderLabelProps: {}
9
+ };
10
+ };
@@ -0,0 +1,22 @@
1
+ import PropTypes from 'prop-types';
2
+ export const FieldCommonPropTypes = () => {
3
+ return {
4
+ ePhiData: PropTypes.shape({
5
+ ePhiTitle: PropTypes.string,
6
+ ePhiText: PropTypes.string,
7
+ ePhiStatus: PropTypes.bool
8
+ }),
9
+ dataId: PropTypes.string,
10
+ infoText: PropTypes.string,
11
+ lockedInfoText: PropTypes.string,
12
+ isLocked: PropTypes.bool,
13
+ isDisabled: PropTypes.bool,
14
+ isReadOnly: PropTypes.bool,
15
+ isMandatory: PropTypes.bool,
16
+ renderLabelProps: PropTypes.shape({
17
+ start: PropTypes.func,
18
+ middle: PropTypes.func,
19
+ end: PropTypes.func
20
+ })
21
+ };
22
+ };
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,10 +1,9 @@
1
1
  .stenLoading {
2
2
  position: relative;
3
- width: var(--zd_size265);
4
3
  background-color: var(--zdt_gridstencils_default_bg);
5
4
  border-bottom: 1px solid var(--zdt_gridstencils_default_border);
6
- padding: var(--zd_size13) var(--zd_size20) var(--zd_size11);
7
- margin: 0 auto var(--zd_size10) auto;
5
+ padding: var(--zd_size13) var(--zd_size15) var(--zd_size11) var(--zd_size15);
6
+ margin-bottom: var(--zd_size10) ;
8
7
  border-radius: var(--zd_size5);
9
8
  }
10
9
  [dir=ltr] .stenLoadbody {
@@ -28,7 +27,6 @@
28
27
  [dir=rtl] .stenLoadbody::after {
29
28
  left: var(--zd_size20);
30
29
  }
31
-
32
30
  .lineBar {
33
31
  width: 90%;
34
32
  }
@@ -54,14 +52,14 @@
54
52
  background-repeat: no-repeat;
55
53
  }
56
54
  [dir=ltr] .stenListBAr {
57
- -webkit-animation-duration:var(--zd_transition10);
55
+ -webkit-animation-duration: var(--zd_transition10);
58
56
  -webkit-animation-fill-mode: forwards;
59
57
  -webkit-animation-iteration-count: infinite;
60
58
  -webkit-animation-name: placeHolderShimmer;
61
59
  -webkit-animation-timing-function: linear;
62
60
  }
63
61
  [dir=rtl] .stenListBAr {
64
- -webkit-animation-duration:var(--zd_transition10);
62
+ -webkit-animation-duration: var(--zd_transition10);
65
63
  -webkit-animation-fill-mode: forwards;
66
64
  -webkit-animation-iteration-count: infinite;
67
65
  -webkit-animation-name: placeHolderShimmer;
@@ -104,13 +102,11 @@
104
102
  [dir=rtl] .threeLayout .stenLoadbody::before {
105
103
  right: var(--zd_size16);
106
104
  }
107
-
108
105
  [dir=ltr] .threeLayout .stenLoadbody {
109
- margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0 ;
106
+ margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0;
110
107
  }
111
-
112
108
  [dir=rtl] .threeLayout .stenLoadbody {
113
- margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20) ;
109
+ margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20);
114
110
  }
115
111
  .threeLayout .stenLoadbody::after {
116
112
  top: var(--zd_size15);
@@ -122,31 +118,24 @@
122
118
  [dir=rtl] .threeLayout .stenLoadbody::after {
123
119
  left: var(--zd_size20);
124
120
  }
125
-
126
121
  [dir=ltr] .leftCont .stenLoadbody::before {
127
122
  left: var(--zd_size33);
128
123
  }
129
-
130
124
  [dir=rtl] .leftCont .stenLoadbody::before {
131
125
  right: var(--zd_size33);
132
126
  }
133
-
134
127
  [dir=ltr] .leftCont .stenLoadbody {
135
128
  margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) var(--zd_size46);
136
129
  }
137
-
138
130
  [dir=rtl] .leftCont .stenLoadbody {
139
131
  margin: var(--zd_size8) var(--zd_size46) var(--zd_size8) var(--zd_size20);
140
132
  }
141
-
142
133
  [dir=ltr] .leftCont .stenLoadbody::after {
143
134
  right: var(--zd_size40);
144
135
  }
145
-
146
136
  [dir=rtl] .leftCont .stenLoadbody::after {
147
137
  left: var(--zd_size40);
148
138
  }
149
-
150
139
  .leftCont .lineBar {
151
140
  width: 80%;
152
141
  }
@@ -155,4 +144,4 @@
155
144
  }
156
145
  .leftCont .lineBar3 {
157
146
  width: 40%;
158
- }
147
+ }
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { Component } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /* eslint-disable react/forbid-component-props */
4
4
 
@@ -36,44 +36,40 @@ export default class AccountName extends Component {
36
36
  TextProps = {},
37
37
  SecondaryTextProps = {}
38
38
  } = customProps;
39
- return (
40
- /*#__PURE__*/
41
- // <Container
42
- // alignBox='row'
43
- // align='baseline'
44
- // isCover={false}
45
- // data-title={dataTitle}
46
- // dataId={dataId}
47
- // >
48
- // <Box flexible>
49
- React.createElement("div", {
50
- className: style.primaryAccountNameCnt,
51
- "data-title": dataTitle,
52
- "data-id": dataId
53
- }, /*#__PURE__*/React.createElement(React.Fragment, {
54
- className: style.primaryAccountName,
55
- shrink: true
56
- }, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
57
- href: href,
58
- urlName: urlName,
59
- urlData: urlData,
60
- onClick: onClick,
61
- dataId: `${dataId}_link`,
62
- className: `${style.gridItem} ${style.link}`
63
- }, LinkProps), /*#__PURE__*/React.createElement("div", {
64
- className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
65
- }, text)) : /*#__PURE__*/React.createElement("div", _extends({
66
- className: `${style.gridItem} ${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`
67
- }, TextProps), text)), secondaryAccountText && /*#__PURE__*/React.createElement(Link, {
68
- href: secondaryAccountHref,
69
- onClick: secondaryAccountClick,
70
- className: `${style.gridItem} ${style.link}`
71
- }, /*#__PURE__*/React.createElement("div", _extends({
72
- className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
73
- }, SecondaryTextProps), secondaryAccountText))) // </Box>
74
- // </Container>
75
-
76
- );
39
+ return /*#__PURE__*/React.createElement(Container, {
40
+ alignBox: "row",
41
+ align: "baseline",
42
+ isCover: false,
43
+ "data-title": dataTitle,
44
+ dataId: dataId
45
+ }, /*#__PURE__*/React.createElement(Box, {
46
+ flexible: true
47
+ }, /*#__PURE__*/React.createElement(Container, {
48
+ alignBox: "row",
49
+ align: "baseline",
50
+ isCover: false,
51
+ className: style.primaryAccountNameCnt
52
+ }, /*#__PURE__*/React.createElement(Box, {
53
+ className: style.primaryAccountName,
54
+ shrink: true
55
+ }, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
56
+ href: href,
57
+ urlName: urlName,
58
+ urlData: urlData,
59
+ onClick: onClick,
60
+ dataId: `${dataId}_link`,
61
+ className: style.link
62
+ }, LinkProps), /*#__PURE__*/React.createElement("div", {
63
+ className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
64
+ }, text)) : /*#__PURE__*/React.createElement("div", _extends({
65
+ className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`
66
+ }, TextProps), text)), secondaryAccountText && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Link, {
67
+ href: secondaryAccountHref,
68
+ onClick: secondaryAccountClick,
69
+ className: style.link
70
+ }, /*#__PURE__*/React.createElement("div", _extends({
71
+ className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
72
+ }, SecondaryTextProps), secondaryAccountText))))));
77
73
  }
78
74
 
79
75
  }
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { Component } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -39,30 +39,36 @@ export default class ContactName extends Component {
39
39
  LinkProps = {},
40
40
  TextProps = {}
41
41
  } = customProps;
42
- return /*#__PURE__*/React.createElement("div", {
43
- className: style.contactNameCnt,
44
- "data-id": dataId
45
- }, isPaidUser && /*#__PURE__*/React.createElement(Icon, {
46
- name: "ZD-paiduser",
47
- iconClass: style.paidUserIcon,
42
+ return /*#__PURE__*/React.createElement(Container, {
43
+ alignBox: "row",
44
+ align: "baseline",
45
+ isCover: false,
46
+ dataId: dataId
47
+ }, isPaidUser && /*#__PURE__*/React.createElement(Box, {
48
+ className: style.paidUserIcon,
48
49
  title: paidTitle
49
- }), /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
50
+ }, /*#__PURE__*/React.createElement(Icon, {
51
+ name: "ZD-paiduser",
52
+ iconClass: style.icon
53
+ })), /*#__PURE__*/React.createElement(Box, {
54
+ flexible: true
55
+ }, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
50
56
  urlName: urlName,
51
57
  href: href,
52
58
  urlData: urlData,
53
59
  onClick: onClick,
54
60
  title: dataTitle,
55
61
  dataId: `${dataId}_link`,
56
- className: `${style.gridItem} ${style.link}`
62
+ className: style.link
57
63
  }, LinkProps), /*#__PURE__*/React.createElement("div", {
58
64
  className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
59
65
  }, text)) : /*#__PURE__*/React.createElement("div", _extends({
60
- className: `${style.gridItem} ${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`,
66
+ className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`,
61
67
  "data-title": dataTitle
62
- }, TextProps), text)), sentimentType && /*#__PURE__*/React.createElement(SentimentStatus, {
68
+ }, TextProps), text)), sentimentType && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(SentimentStatus, {
63
69
  type: sentimentType,
64
70
  dataTitle: sentimentDataTitle
65
- }));
71
+ })));
66
72
  }
67
73
 
68
74
  }
@@ -100,8 +106,7 @@ ContactName.defaultProps = {
100
106
  dataId: 'contactName',
101
107
  fontWeight: 'regular',
102
108
  i18nKeys: {},
103
- customProps: {},
104
- sentimentType: 'positive'
109
+ customProps: {}
105
110
  };
106
111
 
107
112
  if (false) {
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /* eslint-disable react/forbid-component-props */
4
4
 
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /* eslint-disable react/forbid-component-props */
4
4
 
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { Component } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,3 +1,13 @@
1
+ .paidUserIcon {
2
+ vertical-align: middle;
3
+ bottom: var(--zd_size1);
4
+ position: relative;
5
+ font-size: var(--zd_font_size8);
6
+ }[dir=ltr] .paidUserIcon {
7
+ margin-right: var(--zd_size5);
8
+ }[dir=rtl] .paidUserIcon {
9
+ margin-left: var(--zd_size5);
10
+ }
1
11
  .icon {
2
12
  display: block;
3
13
  }
@@ -48,15 +58,18 @@ display: block
48
58
  .link:hover {
49
59
  color: var(--zdt_secondaryText_blue_text);
50
60
  }
51
- .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
61
+ /* .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
52
62
  color: var(--zdt_secondaryText_blue_text);
53
- }
63
+ } */
54
64
  .ticketIdLink {
55
65
  cursor: pointer;
56
66
  }
57
67
  .ticketIdLink:hover, .ticketIdLink:focus {
58
68
  color: var(--zdt_secondaryText_blue_hover_text);
59
69
  }
70
+ .primaryAccountNameCnt {
71
+ max-width: 100%;
72
+ }
60
73
  /* status */
61
74
  .font_regular {
62
75
  font-family: var(--zd_regular);
@@ -121,31 +134,3 @@ display: block
121
134
  .black {
122
135
  color: var(--zdt_secondaryText_black_text);
123
136
  }
124
- /* Contact Name */
125
- .contactNameCnt {
126
- display: inline-grid;
127
- grid-template-columns: minmax(auto,max-content) 1fr minmax(auto,max-content);
128
- align-items: baseline;
129
- }
130
- .paidUserIcon {
131
- vertical-align: middle;
132
- bottom: var(--zd_size1);
133
- position: relative;
134
- font-size: var(--zd_font_size8);
135
- }
136
- [dir=ltr] .paidUserIcon {
137
- margin-right: var(--zd_size5);
138
- }
139
- [dir=rtl] .paidUserIcon {
140
- margin-left: var(--zd_size5);
141
- }
142
- .gridItem {
143
- min-width: 0;
144
- }
145
- /* Account Name */
146
- .primaryAccountNameCnt {
147
- max-width: 100%;
148
- display: grid;
149
- grid-template-columns: 1fr minmax(auto,max-content);
150
- align-items: baseline;
151
- }
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { Component } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -0,0 +1,114 @@
1
+ import React, { Component } from 'react';
2
+ import { Container, Box } from '@zohodesk/components/lib/Layout';
3
+ import { ContactName, AccountName, DepartmentText, Email, HappinessRating, PhoneNumber, PriorityText, SecondaryText, StatusText, TicketId, Website } from '../index';
4
+ export default class SecondaryText__default extends Component {
5
+ constructor(props) {
6
+ super(props);
7
+ }
8
+
9
+ render() {
10
+ const boxStyle = {
11
+ padding: '10px',
12
+ border: '2px solid #000',
13
+ width: '30%',
14
+ margin: '5px'
15
+ };
16
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Container, {
17
+ alignBox: "column",
18
+ wrap: "wrap",
19
+ align: "both"
20
+ }, /*#__PURE__*/React.createElement(Box, {
21
+ style: boxStyle
22
+ }, /*#__PURE__*/React.createElement("div", null, "ContactName"), /*#__PURE__*/React.createElement(ContactName, {
23
+ text: "Antro Contact",
24
+ isPaidUser: true,
25
+ sentimentType: "positive"
26
+ }), /*#__PURE__*/React.createElement(ContactName, {
27
+ text: "Antro Contact",
28
+ isPaidUser: true,
29
+ sentimentType: "negative"
30
+ }), /*#__PURE__*/React.createElement(ContactName, {
31
+ text: "Antro Contact",
32
+ isPaidUser: true,
33
+ sentimentType: "neutral"
34
+ })), /*#__PURE__*/React.createElement(Box, {
35
+ style: boxStyle
36
+ }, /*#__PURE__*/React.createElement("div", null, "AccountName"), /*#__PURE__*/React.createElement(AccountName, {
37
+ text: "Antro Contact ",
38
+ secondaryAccountText: " secondaryAccountText",
39
+ fontWeight: "semibold"
40
+ }), /*#__PURE__*/React.createElement(AccountName, {
41
+ text: "Antro Contact ",
42
+ secondaryAccountText: " secondaryAccountText",
43
+ fontWeight: "bold"
44
+ })), /*#__PURE__*/React.createElement(Box, {
45
+ style: boxStyle
46
+ }, /*#__PURE__*/React.createElement("div", null, "DepartmentText"), /*#__PURE__*/React.createElement(DepartmentText, {
47
+ text: "Antro Contact"
48
+ })), /*#__PURE__*/React.createElement(Box, {
49
+ style: boxStyle
50
+ }, /*#__PURE__*/React.createElement("div", null, "Email"), /*#__PURE__*/React.createElement(Email, {
51
+ text: "Antro Contact"
52
+ })), /*#__PURE__*/React.createElement(Box, {
53
+ style: boxStyle
54
+ }, /*#__PURE__*/React.createElement("div", null, "HappinessRating"), /*#__PURE__*/React.createElement(HappinessRating, {
55
+ text: "100",
56
+ src: "https://hjemly.dk/wp-content/uploads/2016/05/facebook-default-no-profile-pic.jpg"
57
+ })), /*#__PURE__*/React.createElement(Box, {
58
+ style: boxStyle
59
+ }, /*#__PURE__*/React.createElement("div", null, "PhoneNumber"), /*#__PURE__*/React.createElement(PhoneNumber, {
60
+ text: "1243123434543"
61
+ })), /*#__PURE__*/React.createElement(Box, {
62
+ style: boxStyle
63
+ }, /*#__PURE__*/React.createElement("div", null, "PriorityText"), /*#__PURE__*/React.createElement(PriorityText, {
64
+ text: "Antro Contact",
65
+ color: "red"
66
+ }), /*#__PURE__*/React.createElement(PriorityText, {
67
+ text: "Antro Contact",
68
+ color: "green"
69
+ }), /*#__PURE__*/React.createElement(PriorityText, {
70
+ text: "Antro Contact",
71
+ color: "gray"
72
+ }), /*#__PURE__*/React.createElement(PriorityText, {
73
+ text: "Antro Contact",
74
+ color: "orange"
75
+ })), /*#__PURE__*/React.createElement(Box, {
76
+ style: boxStyle
77
+ }, /*#__PURE__*/React.createElement("div", null, "SecondaryText"), /*#__PURE__*/React.createElement(SecondaryText, {
78
+ text: "Antro Contact"
79
+ })), /*#__PURE__*/React.createElement(Box, {
80
+ style: boxStyle
81
+ }, /*#__PURE__*/React.createElement("div", null, "StatusText"), /*#__PURE__*/React.createElement(StatusText, {
82
+ text: "Antro Contact",
83
+ color: "red"
84
+ }), /*#__PURE__*/React.createElement(StatusText, {
85
+ text: "Antro Contact",
86
+ color: "green"
87
+ }), /*#__PURE__*/React.createElement(StatusText, {
88
+ text: "Antro Contact",
89
+ color: "gray"
90
+ }), /*#__PURE__*/React.createElement(StatusText, {
91
+ text: "Antro Contact",
92
+ color: "orange"
93
+ }), /*#__PURE__*/React.createElement(StatusText, {
94
+ text: "Antro Contact",
95
+ color: "black"
96
+ })), /*#__PURE__*/React.createElement(Box, {
97
+ style: boxStyle
98
+ }, /*#__PURE__*/React.createElement("div", null, "TicketId"), /*#__PURE__*/React.createElement(TicketId, {
99
+ text: "124213234"
100
+ })), /*#__PURE__*/React.createElement(Box, {
101
+ style: boxStyle
102
+ }, /*#__PURE__*/React.createElement("div", null, "Website"), /*#__PURE__*/React.createElement(Website, {
103
+ text: "https://www.zoho.com/"
104
+ }))));
105
+ }
106
+
107
+ }
108
+
109
+ if (false) {
110
+ SecondaryText__default.docs = {
111
+ folderName: 'List',
112
+ componentGroup: 'SecondaryText'
113
+ };
114
+ }