@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
package/README.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.0.0-beta.234
6
+
7
+ - AlertLookup V1 => isHtmlContent prop added
8
+
9
+ # 1.0.0-beta.233
10
+
11
+ - ToggleDropDown , StatusDropdown => preventParentScroll implemented
12
+
13
+ # 1.0.0-beta.232
14
+
15
+ - Svg path updated
16
+
17
+ # 1.0.0-beta.231
18
+
19
+ - :focus in css removed
20
+
21
+ # 1.0.0-beta.230
22
+
23
+ - renderLabelProps props added and Field Container Component Wrapped for => CheckBoxField, CurrencyField, DateField, MultiField, SelectField, TextareaField, TextBoxField
24
+
25
+ # 1.0.0-beta.229
26
+
27
+ - TagsMultiSelect,TagsMultiSelectField => clickableTag prop added
28
+ - GridStencils => margin, width removed in css
29
+
5
30
  # 1.0.0-beta.228
6
31
 
7
32
  - ResponsiveDropBox Implemented for all DropBox
@@ -49,7 +74,7 @@ In this Library, we Provide Some Basic Components to Build Your Application
49
74
 
50
75
  # 1.0.0-beta.216
51
76
 
52
- - CurrencyField => formatCurrency call if check fixed (vavlue will formatted when isActive is false)
77
+ - CurrencyField => formatCurrency call if check fixed (value will formatted when isActive is false)
53
78
 
54
79
  # 1.0.0-beta.215
55
80
 
@@ -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 from 'react';
@@ -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';
package/es/Link/Link.js CHANGED
@@ -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,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';
package/es/Provider.js CHANGED
@@ -4,6 +4,7 @@ import { Container } from '@zohodesk/components/lib/Layout';
4
4
  import AppContainer from '@zohodesk/components/lib/AppContainer/AppContainer';
5
5
  import LibraryContext from '@zohodesk/components/lib/Provider/LibraryContextInit';
6
6
  import datetime from '@zohodesk/datetimejs';
7
+ import ThemeTool from '../../common/lib/ThemeTool/ThemeTool';
7
8
  import i18n from './i18n';
8
9
  /* component pkg - default mode & themes */
9
10
 
@@ -109,6 +110,7 @@ export default class Provider extends React.Component {
109
110
  themeName: 'blue'
110
111
  };
111
112
  this.setTheme = this.setTheme.bind(this);
113
+ this.setAppearance = this.setAppearance.bind(this);
112
114
  }
113
115
 
114
116
  setAppearance(mode) {
@@ -128,51 +130,6 @@ export default class Provider extends React.Component {
128
130
  appearanceName,
129
131
  themeName
130
132
  } = this.state;
131
- let themeClass = {
132
- width: '20px',
133
- height: '20px',
134
- borderRadius: '3px',
135
- display: 'flex',
136
- border: '1px solid #ccc',
137
- margin: '0 5px',
138
- cursor: 'pointer',
139
- backgroundColor: '#0a73eb'
140
- };
141
- let green = {
142
- backgroundColor: '#26a942'
143
- };
144
- let red = {
145
- backgroundColor: '#de3535'
146
- };
147
- let orange = {
148
- backgroundColor: '#e57717'
149
- };
150
- let yellow = {
151
- backgroundColor: '#e8b923'
152
- };
153
- let light = {
154
- backgroundColor: '#fff'
155
- };
156
- let night = {
157
- backgroundColor: '#232b38'
158
- };
159
- let dark = {
160
- backgroundColor: '#212121'
161
- };
162
- let fixedPosition = {
163
- position: 'fixed',
164
- bottom: '0',
165
- backgroundColor: '#272727',
166
- padding: '10px',
167
- borderRadius: '15px 15px 0 0',
168
- minWidth: '100px',
169
- textAlign: 'center',
170
- boxShadow: '0 0 3px #000',
171
- fontSize: '12px',
172
- zIndex: '3',
173
- display: 'flex',
174
- alignItems: 'center'
175
- };
176
133
  return /*#__PURE__*/React.createElement(I18NProvider, {
177
134
  i18n: i18n,
178
135
  timeZone: "Asia/Kolkata",
@@ -194,66 +151,9 @@ export default class Provider extends React.Component {
194
151
  }
195
152
  }, /*#__PURE__*/React.createElement(Container, {
196
153
  scroll: "vertical"
197
- }, this.props.children), /*#__PURE__*/React.createElement("div", {
198
- style: Object.assign({}, fixedPosition, {
199
- left: '20%',
200
- transform: 'translate(-20%)'
201
- })
202
- }, /*#__PURE__*/React.createElement("div", {
203
- style: {
204
- color: '#fff'
205
- }
206
- }, "Appearance:"), /*#__PURE__*/React.createElement("div", {
207
- style: {
208
- display: 'flex'
209
- }
210
- }, /*#__PURE__*/React.createElement("span", {
211
- title: "Light Mode",
212
- style: Object.assign({}, themeClass, light),
213
- onClick: () => this.setAppearance('default')
214
- }), /*#__PURE__*/React.createElement("span", {
215
- title: "Night Mode",
216
- style: Object.assign({}, themeClass, night),
217
- onClick: () => this.setAppearance('dark')
218
- }), /*#__PURE__*/React.createElement("span", {
219
- title: "Dark Mode",
220
- style: Object.assign({}, themeClass, dark),
221
- onClick: () => this.setAppearance('pureDark')
222
- }))), /*#__PURE__*/React.createElement("div", {
223
- style: Object.assign({}, fixedPosition, {
224
- left: '80%',
225
- transform: 'translate(-80%)'
226
- })
227
- }, /*#__PURE__*/React.createElement("div", {
228
- style: {
229
- color: '#fff'
230
- }
231
- }, "Themes:"), /*#__PURE__*/React.createElement("div", {
232
- style: {
233
- display: 'flex'
234
- }
235
- }, /*#__PURE__*/React.createElement("span", {
236
- title: "Blue Theme",
237
- style: themeClass,
238
- onClick: () => this.setTheme('blue')
239
- }), /*#__PURE__*/React.createElement("span", {
240
- title: "Green Theme",
241
- style: Object.assign({}, themeClass, green),
242
- onClick: () => this.setTheme('green')
243
- }), /*#__PURE__*/React.createElement("span", {
244
- title: "Red Theme",
245
- style: Object.assign({}, themeClass, red),
246
- onClick: () => this.setTheme('red')
247
- }), /*#__PURE__*/React.createElement("span", {
248
- title: "Orange Theme",
249
- style: Object.assign({}, themeClass, orange),
250
- onClick: () => this.setTheme('orange')
251
- }), /*#__PURE__*/React.createElement("span", {
252
- title: "Yellow Theme",
253
- style: Object.assign({}, themeClass, yellow),
254
- onClick: () => this.setTheme('yellow')
255
- }))), /*#__PURE__*/React.createElement("div", {
256
- "data-portal": "portal1"
154
+ }, this.props.children), /*#__PURE__*/React.createElement(ThemeTool, {
155
+ onThemeChange: this.setTheme,
156
+ onAppearanceChange: this.setAppearance
257
157
  }))));
258
158
  }
259
159
 
@@ -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, { useState } from 'react';
4
4
  import PropTypes from 'prop-types'; //components
@@ -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, { Component } from 'react';
@@ -90,7 +90,8 @@ export default class AlertLookup extends Component {
90
90
  iconName,
91
91
  iconClass,
92
92
  iconSize,
93
- customProps
93
+ customProps,
94
+ isHtmlContent
94
95
  } = this.props;
95
96
  const {
96
97
  LookupProps = {},
@@ -120,7 +121,11 @@ export default class AlertLookup extends Component {
120
121
  className: style.section
121
122
  }, /*#__PURE__*/React.createElement("div", {
122
123
  className: `${style.innerSection} ${sectionClassName}`
123
- }, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, message), confirmationMessage && /*#__PURE__*/React.createElement("div", {
124
+ }, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, isHtmlContent && message ? /*#__PURE__*/React.createElement("div", {
125
+ dangerouslySetInnerHTML: {
126
+ __html: message
127
+ }
128
+ }) : /*#__PURE__*/React.createElement("div", null, message), confirmationMessage && /*#__PURE__*/React.createElement("div", {
124
129
  className: style.text
125
130
  }, confirmationMessage))), submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/React.createElement(FormAction, {
126
131
  size: "small",
@@ -172,7 +177,8 @@ AlertLookup.propTypes = {
172
177
  PrimaryButtonProps: PropTypes.object,
173
178
  SecondaryButtonProps: PropTypes.object
174
179
  }),
175
- onEsc: PropTypes.oneOf(['close', 'cancel'])
180
+ onEsc: PropTypes.oneOf(['close', 'cancel']),
181
+ isHtmlContent: PropTypes.bool
176
182
  };
177
183
  AlertLookup.defaultProps = {
178
184
  isActive: false,
@@ -185,7 +191,8 @@ AlertLookup.defaultProps = {
185
191
  customClass: '',
186
192
  isDefaultFocus: true,
187
193
  customProps: {},
188
- onEsc: 'cancel'
194
+ onEsc: 'cancel',
195
+ isHtmlContent: false
189
196
  };
190
197
 
191
198
  if (false) {
@@ -80,12 +80,13 @@ export default class AlertLookup__default extends Component {
80
80
  },
81
81
  onCancelClick: this.onCancel,
82
82
  title: "Delete Ticket",
83
- message: "Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin.",
83
+ message: "<h2>Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin.</h2>",
84
84
  confirmationMessage: "Would you like to delete?",
85
85
  submitText: "Delete",
86
86
  cancelText: "Cancel",
87
87
  onClose: this.onClose,
88
- onEsc: "close"
88
+ onEsc: "close",
89
+ isHtmlContent: true
89
90
  }), /*#__PURE__*/React.createElement(AlertLookup, {
90
91
  isActive: lookup === 'remoteAssist' ? true : false,
91
92
  type: "remoteAssist",
@@ -95,7 +96,7 @@ export default class AlertLookup__default extends Component {
95
96
  },
96
97
  onCancelClick: this.onCancel,
97
98
  title: "Remote Assist",
98
- message: /*#__PURE__*/React.createElement("div", null, "You are about to send an invite for remote assistance to", ' ', /*#__PURE__*/React.createElement("b", null, "antro.avemaxa@gmail.com")),
99
+ message: /*#__PURE__*/React.createElement("div", null, "You are about to send an invite for remote assistance to ", /*#__PURE__*/React.createElement("b", null, "antro.avemaxa@gmail.com")),
99
100
  confirmationMessage: "Would you like to continue?",
100
101
  submitText: "Continue",
101
102
  cancelText: "Cancel"
@@ -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,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,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,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,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,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 from 'react';
@@ -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';
@@ -18,9 +18,13 @@ export { default as DateField } from '../form/fields/DateField/DateField';
18
18
  export { default as DateField__default } from '../form/fields/DateField/docs/DateField__default.docs';
19
19
  export { default as CheckBoxField } from '../form/fields/CheckBoxField/CheckBoxField';
20
20
  export { default as CheckBoxField__default } from '../form/fields/CheckBoxField/docs/CheckBoxField__default.docs';
21
+ export { default as CurrencyField } from '../form/fields/CurrencyField/CurrencyField';
22
+ export { default as CurrencyField__default } from '../form/fields/CurrencyField/docs/CurrencyField__default.docs';
21
23
  export { default as TagsMultiSelect } from '../form/fields/TagsMultiSelect/TagsMultiSelect';
22
24
  export { default as TagsMultiSelect__default } from '../form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs';
23
25
  export { default as TagsMultiSelectField } from '../form/fields/TagsMultiSelectField/TagsMultiSelectField';
24
26
  export { default as TagsMultiSelectField__default } from '../form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs';
25
27
  export { default as TextEditorField } from '../form/fields/TextEditorField/TextEditorField';
26
- export { default as TextEditorField__default } from '../form/fields/TextEditorField/docs/TextEditorField__default.docs';
28
+ export { default as TextEditorField__default } from '../form/fields/TextEditorField/docs/TextEditorField__default.docs';
29
+ export { default as FieldContainer } from '../form/fields/FieldContainer/FieldContainer';
30
+ export { default as FieldContainer__default } from '../form/fields/FieldContainer/docs/FieldContainer__default.docs';
@@ -131,5 +131,8 @@ export { default as V2_ErrState_OopsSomethingMiss } from '../version2/errorstate
131
131
  export { default as V2_ErrState_OopsSomethingMiss__default } from '../version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs';
132
132
  /* Attachment Viewer */
133
133
 
134
- export { default as AttachmentViewer } from "../AttachmentViewer/AttachmentViewer";
135
- export { default as AttachmentViewer__default } from "../AttachmentViewer/docs/AttachmentViewer__default.docs";
134
+ export { default as AttachmentViewer } from '../AttachmentViewer/AttachmentViewer';
135
+ export { default as AttachmentViewer__default } from '../AttachmentViewer/docs/AttachmentViewer__default.docs';
136
+ /* Secondary Text */
137
+
138
+ export { default as SecondaryText__default } from '../list/SecondaryText/docs/SecondaryText__default.docs';
@@ -1,6 +1,4 @@
1
- import "core-js/modules/es.array.includes";
2
-
3
- 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); }
4
2
 
5
3
  import React, { Component, Fragment } from 'react';
6
4
  import PropTypes from 'prop-types';
@@ -11,9 +9,9 @@ import ListItem from '@zohodesk/components/lib/ListItem/ListItem';
11
9
  import ListItemWithIcon from '@zohodesk/components/lib/ListItem/ListItemWithIcon';
12
10
  import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
13
11
  import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
14
- import Loader from '@zohodesk/svg/lib/svg/Loader';
12
+ import Loader from '@zohodesk/svg/lib/Loader/Loader';
15
13
  import CommonEmptyState from '../../emptystate/CommonEmptyState/CommonEmptyState';
16
- import EmptySearch from '@zohodesk/svg/lib/svg/EmptySearch';
14
+ import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
17
15
  import CssProvider from '@zohodesk/components/lib/Provider/CssProvider';
18
16
  import { scrollTo } from '@zohodesk/components/lib/utils/Common';
19
17
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -675,6 +673,7 @@ export class ToggleDropDown extends Component {
675
673
  flexible: true,
676
674
  shrink: true,
677
675
  scroll: "vertical",
676
+ preventParentScroll: "vertical",
678
677
  dataId: `${dataId}_list`,
679
678
  className: `${tabletMode ? style.responsivemaxHgt : style.maxHgt}`,
680
679
  eleRef: this.scrollContentRef,
@@ -33,8 +33,9 @@
33
33
  opacity: 0;
34
34
  visibility: hidden;
35
35
  }
36
- .hoverIcon:hover .arrow,
37
- .hoverIcon:focus .arrow {
36
+ .hoverIcon:hover .arrow
37
+ /* .hoverIcon:focus .arrow */
38
+ {
38
39
  opacity: 1;
39
40
  visibility: visible;
40
41
  }
@@ -1,8 +1,8 @@
1
1
  import React, { Component } from 'react';
2
2
  import CommonEmptyState from '../CommonEmptyState';
3
- import EmptySearch from '@zohodesk/svg/lib/svg/EmptySearch';
4
- import EmptyAccounts from '@zohodesk/svg/lib/svg/EmptyAccounts';
5
- import EmptyTicket from '@zohodesk/svg/lib/svg/EmptyTicket';
3
+ import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
4
+ import EmptyAccounts from '@zohodesk/svg/lib/emptystate/version3/EmptyAccounts';
5
+ import EmptyTicket from '@zohodesk/svg/lib/emptystate/version3/EmptyTicket';
6
6
  import Button from '@zohodesk/components/lib/Button/Button';
7
7
  import { Container } from '@zohodesk/components/lib/Layout';
8
8
  export default class CommonEmptyState__default extends Component {
@@ -1,6 +1,6 @@
1
1
  import React, { Component } from 'react';
2
2
  import { PropTypes } from 'prop-types';
3
- import EmptyCrmPotential from '@zohodesk/svg/lib/svg/EmptyCrmPotential';
3
+ import EmptyCrmPotential from '@zohodesk/svg/lib/emptystate/version3/EmptyCrmPotential';
4
4
  import style from './EditionPage.css';
5
5
  export default class EditionPage extends Component {
6
6
  constructor(props) {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
4
  import LinkText from '../LinkText/LinkText';
5
- import InconvenienceSVG from '@zohodesk/svg/lib/svg/EmptyInconvenience';
5
+ import InconvenienceSVG from '@zohodesk/svg/lib/errorstate/version1/EmptyInconvenience';
6
6
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
7
7
  import commonStyle from '../EmptyStates.module.css';
8
8
  import style from './Inconvenience.module.css';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import commonStyle from '../EmptyStates.module.css';
4
- import NoRequestFoundSVG from '@zohodesk/svg/lib/svg/NoRequestFound';
4
+ import NoRequestFoundSVG from '@zohodesk/svg/lib/errorstate/version1/NoRequestFound';
5
5
  import { Container, Box } from '@zohodesk/components/lib/Layout';
6
6
  import LinkText from '../LinkText/LinkText';
7
7
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
4
  import LinkText from '../LinkText/LinkText';
5
- import UnauthorizedLoginSVG from '@zohodesk/svg/lib/svg/UnauthorizedLogin';
5
+ import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
6
6
  import commonStyle from '../EmptyStates.module.css';
7
7
  import style from './PermissionPlay.module.css';
8
8
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
- import UrlNotFound from '@zohodesk/svg/lib/svg/UrlNotFound';
4
+ import UrlNotFound from '@zohodesk/svg/lib/errorstate/version1/UrlNotFound';
5
5
  import LinkText from '../LinkText/LinkText';
6
6
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
7
7
  import commonStyle from '../EmptyStates.module.css';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
4
  import LinkText from '../LinkText/LinkText';
5
- import UnableToProcessRequest from '@zohodesk/svg/lib/svg/UnableToProcessRequest';
5
+ import UnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version1/UnableToProcessRequest';
6
6
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
7
7
  import commonStyle from '../EmptyStates.module.css';
8
8
  import style from './UnableToProcess.module.css';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
4
  import LinkText from '../LinkText/LinkText';
5
- import UnauthorizedLoginSVG from '@zohodesk/svg/lib/svg/UnauthorizedLogin';
5
+ import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
6
6
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
7
7
  import commonStyle from '../EmptyStates.module.css';
8
8
  import style from './UnauthorizedLogin.module.css';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container, Box } from '@zohodesk/components/lib/Layout';
4
- import WillBeRightBack from '@zohodesk/svg/lib/svg/WillBeRightBack';
4
+ import WillBeRightBack from '@zohodesk/svg/lib/errorstate/version1/WillBeRightBack';
5
5
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
6
6
  import commonStyle from '../EmptyStates.module.css';
7
7
  import style from './WillBack.module.css';
@@ -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 CheckBox from '@zohodesk/components/lib/CheckBox/CheckBox';
10
10
  import ValidationMessage from '../ValidationMessage/ValidationMessage';
11
11
  import { Container, Box } from '@zohodesk/components/lib/Layout';
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';
@@ -69,7 +71,8 @@ export default class CheckBoxField extends PureComponent {
69
71
  lineClamp,
70
72
  isLocked,
71
73
  lockedInfoText,
72
- customProps
74
+ customProps,
75
+ renderLabelProps
73
76
  } = this.props;
74
77
  const {
75
78
  LabelProps = {},
@@ -79,8 +82,11 @@ export default class CheckBoxField extends PureComponent {
79
82
  } = customProps;
80
83
  let removeEvent = isDisabled || isReadOnly;
81
84
  let isDirectCol = direction === 'column';
82
- let labelElement = /*#__PURE__*/React.createElement("div", {
83
- className: style.labelContainer
85
+ let labelElement = /*#__PURE__*/React.createElement(FieldContainer, {
86
+ isLocked: isLocked,
87
+ lockedInfoText: lockedInfoText,
88
+ infoText: infoText,
89
+ renderProps: renderLabelProps
84
90
  }, /*#__PURE__*/React.createElement(Label, _extends({
85
91
  text: labelName,
86
92
  id: id,
@@ -92,17 +98,7 @@ export default class CheckBoxField extends PureComponent {
92
98
  onClick: !removeEvent ? this.handleLabelClick : null,
93
99
  variant: isDirectCol ? 'default' : 'primary',
94
100
  dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
95
- }, LabelProps)), infoText ? /*#__PURE__*/React.createElement(Icon, {
96
- name: "ZD-GN-info",
97
- iconClass: style.infoIcon,
98
- title: infoText,
99
- size: "15"
100
- }) : null, isLocked ? /*#__PURE__*/React.createElement(Icon, {
101
- name: "ZD-GN-lock",
102
- size: "13",
103
- iconClass: style.lockIcon,
104
- title: lockedInfoText
105
- }) : null);
101
+ }, LabelProps)));
106
102
  return /*#__PURE__*/React.createElement("div", {
107
103
  className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
108
104
  "data-title": isDisabled ? title : null
@@ -139,16 +135,11 @@ export default class CheckBoxField extends PureComponent {
139
135
  }
140
136
  CheckBoxField.propTypes = {
141
137
  checked: PropTypes.bool,
142
- dataId: PropTypes.string,
143
138
  direction: PropTypes.oneOf(['row', 'column']),
144
139
  errorType: PropTypes.oneOf(['primary', 'secondary']),
145
140
  fieldSize: PropTypes.oneOf(['small', 'medium']),
146
141
  getRef: PropTypes.func,
147
142
  id: PropTypes.string.isRequired,
148
- infoText: PropTypes.string,
149
- isDisabled: PropTypes.bool,
150
- isMandatory: PropTypes.bool,
151
- isReadOnly: PropTypes.bool,
152
143
  labelCustomClass: PropTypes.string,
153
144
  labelName: PropTypes.string,
154
145
  labelPalette: PropTypes.string,
@@ -159,26 +150,23 @@ CheckBoxField.propTypes = {
159
150
  validationPalette: PropTypes.string,
160
151
  validationRuleMessage: PropTypes.string,
161
152
  validationRulePalette: PropTypes.string,
162
- lockedInfoText: PropTypes.string,
163
- isLocked: PropTypes.bool,
164
153
  customProps: PropTypes.shape({
165
154
  LabelProps: PropTypes.object,
166
155
  CheckBoxProps: PropTypes.object,
167
156
  ValidationMessageProps1: PropTypes.object,
168
157
  ValidationMessageProps2: PropTypes.object
169
- })
158
+ }),
159
+ ...FieldCommonPropTypes()
170
160
  };
171
161
  CheckBoxField.defaultProps = {
172
- isMandatory: false,
173
162
  errorType: 'primary',
174
- isDisabled: false,
175
- isReadOnly: false,
176
163
  fieldSize: 'medium',
177
164
  labelPalette: 'default',
178
165
  labelCustomClass: '',
179
166
  direction: 'row',
180
167
  lineClamp: '',
181
- customProps: {}
168
+ customProps: {},
169
+ ...FieldCommonDefaultProps()
182
170
  };
183
171
 
184
172
  if (false) {