@zohodesk/dot 1.0.0-temp-197.3 → 1.0.0-temp-195.2

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 (533) hide show
  1. package/README.md +0 -11
  2. package/es/ActionButton/ActionButton.js +3 -3
  3. package/es/ActionButton/__tests__/ActionButton.spec.js +1 -1
  4. package/es/AlphabeticList/AlphabeticList.js +3 -3
  5. package/es/AlphabeticList/__tests__/AlphabeticList.spec.js +1 -1
  6. package/es/Attachment/Attachment.js +4 -4
  7. package/es/Attachment/__tests__/Attachment.spec.js +1 -1
  8. package/es/AttachmentViewer/AttachmentImage.js +4 -4
  9. package/es/AttachmentViewer/AttachmentViewer.js +9 -9
  10. package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +1 -1
  11. package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +1 -1
  12. package/es/ChannelIcon/ChannelIcon.js +5 -5
  13. package/es/ChannelIcon/__tests__/ChannelIcon.spec.js +1 -1
  14. package/es/Drawer/Drawer.js +6 -6
  15. package/es/Drawer/__tests__/Drawer.spec.js +1 -1
  16. package/es/Drawer/index.js +1 -1
  17. package/es/ExternalLink/ExternalLink.js +3 -3
  18. package/es/ExternalLink/__tests__/ExternalLink.spec.js +1 -1
  19. package/es/FlipCard/FlipCard.js +7 -7
  20. package/es/FlipCard/__tests__/FlipCard.spec.js +1 -1
  21. package/es/FormAction/FormAction.js +3 -3
  22. package/es/FormAction/__tests__/FormAction.spec.js +1 -1
  23. package/es/FreezeLayer/FreezeLayer.js +5 -5
  24. package/es/FreezeLayer/__tests__/FreezeLayer.spec.js +1 -1
  25. package/es/FreezeLayer/index.js +2 -2
  26. package/es/Hooks/Dragger/useDragger.js +5 -5
  27. package/es/Hooks/useFreezeLayer.js +1 -1
  28. package/es/IconButton/IconButton.js +3 -3
  29. package/es/IconButton/__tests__/IconButton.spec.js +1 -1
  30. package/es/Image/Image.js +3 -3
  31. package/es/Image/__tests__/Image.spec.js +1 -1
  32. package/es/ImportantNotes/ImportantNotes.js +3 -3
  33. package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +1 -1
  34. package/es/Link/Link.js +4 -4
  35. package/es/Link/__tests__/Link.spec.js +1 -1
  36. package/es/Loader/Loader.js +1 -1
  37. package/es/Loader/__tests__/Loader.spec.js +1 -1
  38. package/es/Message/Message.js +4 -4
  39. package/es/Message/__tests__/Message.spec.js +1 -1
  40. package/es/Message/props/propTypes.js +1 -1
  41. package/es/MessageBanner/MessageBanner.js +4 -4
  42. package/es/MessageBanner/__tests__/MessageBanner.spec.js +1 -1
  43. package/es/NewStar/NewStar.js +3 -3
  44. package/es/NewStar/__tests__/NewStar.spec.js +1 -1
  45. package/es/PlusIcon/PlusIcon.js +4 -4
  46. package/es/PlusIcon/__tests__/PlusIcon.spec.js +1 -1
  47. package/es/Separator/Separator.js +3 -3
  48. package/es/Separator/__tests__/Separator.spec.js +1 -1
  49. package/es/TagWithIcon/TagWithIcon.js +3 -3
  50. package/es/TagWithIcon/__tests__/TagWithIcon.spec.js +1 -1
  51. package/es/ToastMessage/ToastMessage.js +4 -4
  52. package/es/ToastMessage/__tests__/ToastMessage.spec.js +1 -1
  53. package/es/Upload/Upload.js +4 -4
  54. package/es/Upload/__tests__/Upload.spec.js +1 -1
  55. package/es/actions/AutoClose.js +2 -2
  56. package/es/alert/AlertHeader/AlertHeader.js +5 -5
  57. package/es/alert/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
  58. package/es/alert/AlertLookup/AlertLookup.js +7 -7
  59. package/es/alert/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
  60. package/es/alert/index.js +2 -2
  61. package/es/avatar/AvatarClose/AvatarClose.js +3 -3
  62. package/es/avatar/AvatarClose/__tests__/AvatarClose.spec.js +1 -1
  63. package/es/avatar/AvatarCollision/AvatarCollision.js +3 -3
  64. package/es/avatar/AvatarCollision/__tests__/AvatarCollision.spec.js +1 -1
  65. package/es/avatar/AvatarIcon/AvatarIcon.js +3 -3
  66. package/es/avatar/AvatarIcon/__tests__/AvatarIcon.spec.js +1 -1
  67. package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
  68. package/es/avatar/AvatarStatus/__tests__/AvatarStatus.spec.js +1 -1
  69. package/es/avatar/AvatarThread/AvatarThread.js +3 -3
  70. package/es/avatar/AvatarThread/__tests__/AvatarThread.spec.js +1 -1
  71. package/es/avatar/AvatarUser/AvatarUser.js +4 -4
  72. package/es/avatar/AvatarUser/__tests__/AvatarUser.spec.js +1 -1
  73. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  74. package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +1 -1
  75. package/es/avatar/index.js +7 -7
  76. package/es/deprecated/FreezeLayer/FreezeLayer.js +4 -4
  77. package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
  78. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
  79. package/es/dropdown/ToggleDropDown/__tests__/ToggleDropDown.spec.js +1 -1
  80. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
  81. package/es/emptystate/CommonEmptyState/__tests__/CommonEmptyState.spec.js +1 -1
  82. package/es/emptystate/EditionPage/EditionPage.js +3 -3
  83. package/es/emptystate/EditionPage/__tests__/EditionPage.spec.js +1 -1
  84. package/es/errorstate/Inconvenience/Inconvenience.js +5 -5
  85. package/es/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
  86. package/es/errorstate/LinkText/LinkText.js +4 -4
  87. package/es/errorstate/LinkText/__tests__/LinkText.spec.js +1 -1
  88. package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
  89. package/es/errorstate/NoRequestFound/__tests__/NoRequestFound.spec.js +1 -1
  90. package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
  91. package/es/errorstate/PermissionPlay/__tests__/PermissionPlay.spec.js +1 -1
  92. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
  93. package/es/errorstate/RequestUrlNotFound/__tests__/RequestUrlNotFound.spec.js +1 -1
  94. package/es/errorstate/UnableToProcess/UnableToProcess.js +5 -5
  95. package/es/errorstate/UnableToProcess/__tests__/UnableToProcess.spec.js +1 -1
  96. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
  97. package/es/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
  98. package/es/errorstate/WillBack/WillBack.js +4 -4
  99. package/es/errorstate/WillBack/__tests__/WillBack.spec.js +1 -1
  100. package/es/errorstate/index.js +8 -8
  101. package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -5
  102. package/es/form/fields/CheckBoxField/__tests__/CheckBoxField.spec.js +1 -1
  103. package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -1
  104. package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
  105. package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
  106. package/es/form/fields/CurrencyField/__tests__/CurrencyField.spec.js +1 -1
  107. package/es/form/fields/CurrencyField/props/defaultProps.js +1 -1
  108. package/es/form/fields/CurrencyField/props/propTypes.js +1 -1
  109. package/es/form/fields/DateField/DateField.js +5 -5
  110. package/es/form/fields/DateField/__tests__/DateField.spec.js +1 -1
  111. package/es/form/fields/DateField/props/defaultProps.js +1 -1
  112. package/es/form/fields/DateField/props/propTypes.js +1 -1
  113. package/es/form/fields/FieldContainer/FieldContainer.js +3 -3
  114. package/es/form/fields/FieldContainer/__tests__/FieldContainer.spec.js +1 -1
  115. package/es/form/fields/FieldContainer/props/defaultProps.js +1 -1
  116. package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -5
  117. package/es/form/fields/MultiSelectField/__tests__/MultiSelectField.spec.js +1 -1
  118. package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -1
  119. package/es/form/fields/MultiSelectField/props/propTypes.js +1 -1
  120. package/es/form/fields/PhoneField/PhoneField.js +6 -6
  121. package/es/form/fields/PhoneField/__tests__/PhoneField.spec.js +1 -1
  122. package/es/form/fields/RadioField/RadioField.js +4 -4
  123. package/es/form/fields/RadioField/__tests__/RadioField.spec.js +1 -1
  124. package/es/form/fields/SelectField/SelectField.js +5 -5
  125. package/es/form/fields/SelectField/__tests__/SelectField.spec.js +1 -1
  126. package/es/form/fields/SelectField/props/defaultProps.js +1 -1
  127. package/es/form/fields/SelectField/props/propTypes.js +1 -1
  128. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
  129. package/es/form/fields/TagsMultiSelect/__tests__/TagsMultiSelect.spec.js +1 -1
  130. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
  131. package/es/form/fields/TagsMultiSelectField/__tests__/TagsMultiSelectField.spec.js +1 -1
  132. package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
  133. package/es/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
  134. package/es/form/fields/TextBoxField/TextBoxField.js +5 -5
  135. package/es/form/fields/TextBoxField/__tests__/TextBoxField.spec.js +1 -1
  136. package/es/form/fields/TextBoxField/props/defaultProps.js +1 -1
  137. package/es/form/fields/TextBoxField/props/propTypes.js +1 -1
  138. package/es/form/fields/TextEditor/TextEditor.js +44 -45
  139. package/es/form/fields/TextEditor/__tests__/TextEditor.spec.js +1 -1
  140. package/es/form/fields/TextEditor/props/defaultProps.js +1 -7
  141. package/es/form/fields/TextEditor/props/propTypes.js +1 -8
  142. package/es/form/fields/TextEditorField/TextEditorField.js +6 -6
  143. package/es/form/fields/TextEditorField/__tests__/TextEditorField.spec.js +1 -1
  144. package/es/form/fields/TextEditorField/props/defaultProps.js +1 -1
  145. package/es/form/fields/TextEditorField/props/propTypes.js +1 -1
  146. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
  147. package/es/form/fields/TextEditorWrapper/__tests__/TextEditorWrapper.spec.js +1 -1
  148. package/es/form/fields/TextareaField/TextareaField.js +5 -5
  149. package/es/form/fields/TextareaField/__tests__/TextareaField.spec.js +1 -1
  150. package/es/form/fields/TextareaField/props/defaultProps.js +1 -1
  151. package/es/form/fields/TextareaField/props/propTypes.js +1 -1
  152. package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -3
  153. package/es/form/fields/ValidationMessage/__tests__/ValidationMessage.spec.js +1 -1
  154. package/es/form/fields/index.js +16 -16
  155. package/es/form/layout/Field/Field.js +3 -3
  156. package/es/form/layout/Field/__tests__/Field.spec.js +1 -1
  157. package/es/form/layout/Section/Section.js +2 -2
  158. package/es/form/layout/Section/__tests__/Section.spec.js +1 -1
  159. package/es/form/layout/index.js +2 -2
  160. package/es/index.js +39 -39
  161. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
  162. package/es/layout/SetupDetailLayout/__tests__/SetupDetailLayout.spec.js +1 -1
  163. package/es/layout/SetupDetailLayout/index.js +4 -4
  164. package/es/layout/SubtabLayout/SubtabLayout.js +4 -4
  165. package/es/layout/SubtabLayout/__tests__/SubtabLayout.spec.js +1 -1
  166. package/es/layout/SubtabLayout/index.js +4 -4
  167. package/es/list/AvatarFlip/AvatarFlip.js +4 -4
  168. package/es/list/AvatarFlip/__tests__/AvatarFlip.spec.js +1 -1
  169. package/es/list/BluePrintStatus/BluePrintStatus.js +2 -2
  170. package/es/list/BluePrintStatus/__tests__/BluePrintStatus.spec.js +1 -1
  171. package/es/list/Comment/Comment.js +3 -3
  172. package/es/list/Comment/__tests__/Comment.spec.js +1 -1
  173. package/es/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
  174. package/es/list/DepartmentDropDown/__tests__/DepartmentDropDown.spec.js +1 -1
  175. package/es/list/Dot/Dot.js +3 -3
  176. package/es/list/Dot/__tests__/Dot.spec.js +1 -1
  177. package/es/list/DotNew/DotNew.js +3 -3
  178. package/es/list/DotNew/__tests__/DotNew.spec.js +1 -1
  179. package/es/list/GridStencils/GridStencils.js +2 -2
  180. package/es/list/GridStencils/__tests__/GridStencils.spec.js +1 -1
  181. package/es/list/Icons/AddNewIcon.js +2 -2
  182. package/es/list/Icons/CompleteIcon.js +2 -2
  183. package/es/list/Icons/DeleteIcon.js +2 -2
  184. package/es/list/Icons/EditIcon.js +2 -2
  185. package/es/list/Icons/FloatingIcons.js +3 -3
  186. package/es/list/Icons/ReadUnreadIcon.js +3 -3
  187. package/es/list/Icons/SmartIcon.js +2 -2
  188. package/es/list/Icons/__tests__/AddNewIcon.spec.js +1 -1
  189. package/es/list/Icons/__tests__/CompleteIcon.spec.js +1 -1
  190. package/es/list/Icons/__tests__/DeleteIcon.spec.js +1 -1
  191. package/es/list/Icons/__tests__/EditIcon.spec.js +1 -1
  192. package/es/list/Icons/__tests__/FloatingIcons.spec.js +1 -1
  193. package/es/list/Icons/__tests__/ReadUnreadIcon.spec.js +1 -1
  194. package/es/list/Icons/__tests__/SmartIcon.spec.js +1 -1
  195. package/es/list/Icons/index.js +7 -7
  196. package/es/list/ListLayout/ListLayout.js +3 -3
  197. package/es/list/ListLayout/__tests__/ListLayout.spec.js +1 -1
  198. package/es/list/ListStencils/ListStencils.js +3 -3
  199. package/es/list/ListStencils/__tests__/ListStencils.spec.js +1 -1
  200. package/es/list/SecondaryText/AccountName.js +4 -4
  201. package/es/list/SecondaryText/ContactName.js +5 -5
  202. package/es/list/SecondaryText/DepartmentText.js +2 -2
  203. package/es/list/SecondaryText/Email.js +4 -4
  204. package/es/list/SecondaryText/HappinessRating.js +2 -2
  205. package/es/list/SecondaryText/PhoneNumber.js +4 -4
  206. package/es/list/SecondaryText/PriorityText.js +3 -3
  207. package/es/list/SecondaryText/SecondaryText.js +3 -3
  208. package/es/list/SecondaryText/StatusText.js +3 -3
  209. package/es/list/SecondaryText/TicketId.js +4 -4
  210. package/es/list/SecondaryText/Website.js +4 -4
  211. package/es/list/SecondaryText/__tests__/AccountName.spec.js +1 -1
  212. package/es/list/SecondaryText/__tests__/ContactName.spec.js +1 -1
  213. package/es/list/SecondaryText/__tests__/DepartmentText.spec.js +1 -1
  214. package/es/list/SecondaryText/__tests__/Email.spec.js +1 -1
  215. package/es/list/SecondaryText/__tests__/HappinessRating.spec.js +1 -1
  216. package/es/list/SecondaryText/__tests__/PhoneNumber.spec.js +1 -1
  217. package/es/list/SecondaryText/__tests__/PriorityText.spec.js +1 -1
  218. package/es/list/SecondaryText/__tests__/SecondaryText.spec.js +1 -1
  219. package/es/list/SecondaryText/__tests__/StatusText.spec.js +1 -1
  220. package/es/list/SecondaryText/__tests__/TicketId.spec.js +1 -1
  221. package/es/list/SecondaryText/__tests__/Website.spec.js +1 -1
  222. package/es/list/SecondaryText/index.js +11 -11
  223. package/es/list/SecondryPanel/SecondryPanel.js +4 -4
  224. package/es/list/SecondryPanel/__tests__/SecondryPanel.spec.js +1 -1
  225. package/es/list/SentimentStatus/SentimentStatus.js +2 -2
  226. package/es/list/SentimentStatus/__tests__/SentimentStatus.spec.js +1 -1
  227. package/es/list/Subject/Subject.js +4 -4
  228. package/es/list/Subject/__tests__/Subject.spec.js +1 -1
  229. package/es/list/TagNew/TagNew.js +3 -3
  230. package/es/list/TagNew/__tests__/TagNew.spec.js +1 -1
  231. package/es/list/Thread/Thread.js +3 -3
  232. package/es/list/Thread/__tests__/Thread.spec.js +1 -1
  233. package/es/list/index.js +16 -16
  234. package/es/list/status/StatusDropdown/StatusDropdown.js +5 -5
  235. package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +1 -1
  236. package/es/list/status/StatusListItem/StatusListItem.js +3 -3
  237. package/es/list/status/StatusListItem/__tests__/StatusListItem.spec.js +1 -1
  238. package/es/list/status/index.js +2 -2
  239. package/es/lookup/EmptyPage/EmptyPage.js +3 -3
  240. package/es/lookup/EmptyPage/__tests__/EmptyPage.spec.js +1 -1
  241. package/es/lookup/Lookup/Lookup.js +4 -4
  242. package/es/lookup/Lookup/__tests__/Lookup.spec.js +1 -1
  243. package/es/lookup/Section/Section.js +2 -2
  244. package/es/lookup/Section/__tests__/Section.spec.js +1 -1
  245. package/es/lookup/header/Close/Close.js +3 -3
  246. package/es/lookup/header/Close/__tests__/Close.spec.js +1 -1
  247. package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
  248. package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +1 -1
  249. package/es/lookup/header/Search/Search.js +4 -4
  250. package/es/lookup/header/Search/__tests__/Search.spec.js +1 -1
  251. package/es/lookup/header/TicketHeader/TicketHeader.js +10 -10
  252. package/es/lookup/header/TicketHeader/__tests__/TicketHeader.spec.js +1 -1
  253. package/es/lookup/header/Title/Title.js +3 -3
  254. package/es/lookup/header/Title/__tests__/Titles.spec.js +1 -1
  255. package/es/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  256. package/es/lookup/header/ViewDropDown/__test__/ViewDropDown.spec.js +1 -1
  257. package/es/lookup/header/index.js +5 -5
  258. package/es/lookup/index.js +4 -4
  259. package/es/setup/header/Button/Button.js +3 -3
  260. package/es/setup/header/Button/__tests__/Button.spec.js +1 -1
  261. package/es/setup/header/Link/Link.js +4 -4
  262. package/es/setup/header/Link/__tests__/Link.spec.js +1 -1
  263. package/es/setup/header/Search/Search.js +3 -3
  264. package/es/setup/header/Search/__tests__/Search.spec.js +1 -1
  265. package/es/setup/header/Views/Views.js +3 -3
  266. package/es/setup/header/Views/__tests__/Views.spec.js +1 -1
  267. package/es/setup/header/index.js +4 -4
  268. package/es/setup/helptips/Description/Description.js +2 -2
  269. package/es/setup/helptips/Description/__tests__/Description.spec.js +1 -1
  270. package/es/setup/helptips/Link/Link.js +3 -3
  271. package/es/setup/helptips/Link/__tests__/Link.spec.js +1 -1
  272. package/es/setup/helptips/ListGroup/ListGroup.js +2 -2
  273. package/es/setup/helptips/ListGroup/__tests__/ListGroup.spec.js +1 -1
  274. package/es/setup/helptips/Title/Title.js +2 -2
  275. package/es/setup/helptips/Title/__tests__/Title.spec.js +1 -1
  276. package/es/setup/helptips/index.js +4 -4
  277. package/es/setup/index.js +3 -3
  278. package/es/setup/table/Table/Table.js +2 -2
  279. package/es/setup/table/Table/__tests__/Table.spec.js +1 -1
  280. package/es/setup/table/TableBody/TableBody.js +2 -2
  281. package/es/setup/table/TableBody/__tests__/TableBody.spec.js +1 -1
  282. package/es/setup/table/TableData/TableData.js +3 -3
  283. package/es/setup/table/TableData/__tests__/TableData.spec.js +1 -1
  284. package/es/setup/table/TableHead/TableHead.js +3 -3
  285. package/es/setup/table/TableHead/__tests__/TableHead.spec.js +1 -1
  286. package/es/setup/table/TableRow/TableRow.js +3 -3
  287. package/es/setup/table/TableRow/__tests__/TableRow.spec.js +1 -1
  288. package/es/setup/table/Text/Text.js +4 -4
  289. package/es/setup/table/Text/__tests__/Text.spec.js +1 -1
  290. package/es/setup/table/index.js +5 -5
  291. package/es/svg/PlusIcon.js +2 -2
  292. package/es/svg/SnippetIcon.js +2 -2
  293. package/es/svg/TemplateIcon.js +2 -2
  294. package/es/svg/__tests__/PlusIcon.spec.js +1 -1
  295. package/es/svg/__tests__/SnippetIcon.spec.js +1 -1
  296. package/es/svg/__tests__/TemplateIcon.spec.js +1 -1
  297. package/es/svg/index.js +3 -3
  298. package/es/utils/editorUtils.js +6 -6
  299. package/es/v1/ActionButton/ActionButton.js +3 -3
  300. package/es/v1/AlphabeticList/AlphabeticList.js +3 -3
  301. package/es/v1/Attachment/Attachment.js +4 -4
  302. package/es/v1/AttachmentViewer/AttachmentImage.js +4 -4
  303. package/es/v1/AttachmentViewer/AttachmentViewer.js +9 -9
  304. package/es/v1/ChannelIcon/ChannelIcon.js +5 -5
  305. package/es/v1/Drawer/Drawer.js +6 -6
  306. package/es/v1/ExternalLink/ExternalLink.js +3 -3
  307. package/es/v1/FlipCard/FlipCard.js +7 -7
  308. package/es/v1/FormAction/FormAction.js +3 -3
  309. package/es/v1/FreezeLayer/FreezeLayer.js +5 -5
  310. package/es/v1/GlobalNotification/GlobalNotification.js +6 -6
  311. package/es/v1/IconButton/IconButton.js +3 -3
  312. package/es/v1/Image/Image.js +3 -3
  313. package/es/v1/ImportantNotes/ImportantNotes.js +3 -3
  314. package/es/v1/Link/Link.js +4 -4
  315. package/es/v1/Loader/Loader.js +1 -1
  316. package/es/v1/Message/Message.js +4 -4
  317. package/es/v1/Message/props/propTypes.js +1 -1
  318. package/es/v1/MessageBanner/MessageBanner.js +4 -4
  319. package/es/v1/NewStar/NewStar.js +3 -3
  320. package/es/v1/PlusIcon/PlusIcon.js +4 -4
  321. package/es/v1/Separator/Separator.js +3 -3
  322. package/es/v1/TagWithIcon/TagWithIcon.js +3 -3
  323. package/es/v1/ToastMessage/ToastMessage.js +4 -4
  324. package/es/v1/Upload/Upload.js +4 -4
  325. package/es/v1/actions/AutoClose.js +2 -2
  326. package/es/v1/alert/AlertClose/AlertClose.js +2 -2
  327. package/es/v1/alert/AlertHeader/AlertHeader.js +7 -7
  328. package/es/v1/alert/AlertLookup/AlertLookup.js +7 -7
  329. package/es/v1/alert/alertIcons/AlarmAlertIcon.js +3 -3
  330. package/es/v1/alert/alertIcons/AlertIcons.js +9 -9
  331. package/es/v1/alert/alertIcons/DangerAlertIcon.js +3 -3
  332. package/es/v1/alert/alertIcons/ErrorAlertIcon.js +3 -3
  333. package/es/v1/alert/alertIcons/InfoAlertIcon.js +3 -3
  334. package/es/v1/alert/alertIcons/NotificationAlertIcon.js +3 -3
  335. package/es/v1/alert/alertIcons/SuccessAlertIcon.js +3 -3
  336. package/es/v1/alert/alertIcons/WarningAlertIcon.js +3 -3
  337. package/es/v1/alert/alertIcons/index.js +8 -8
  338. package/es/v1/alert/index.js +2 -2
  339. package/es/v1/avatar/AvatarClose/AvatarClose.js +3 -3
  340. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +3 -3
  341. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +3 -3
  342. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +3 -3
  343. package/es/v1/avatar/AvatarThread/AvatarThread.js +3 -3
  344. package/es/v1/avatar/AvatarUser/AvatarUser.js +4 -4
  345. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  346. package/es/v1/avatar/index.js +7 -7
  347. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
  348. package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
  349. package/es/v1/emptystate/EditionPage/EditionPage.js +3 -3
  350. package/es/v1/errorstate/Inconvenience/Inconvenience.js +4 -4
  351. package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
  352. package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
  353. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
  354. package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +4 -4
  355. package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
  356. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +5 -5
  357. package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +1 -1
  358. package/es/v1/form/fields/CheckBoxField/props/propTypes.js +1 -1
  359. package/es/v1/form/fields/CurrencyField/CurrencyField.js +5 -5
  360. package/es/v1/form/fields/CurrencyField/props/defaultProps.js +1 -1
  361. package/es/v1/form/fields/CurrencyField/props/propTypes.js +1 -1
  362. package/es/v1/form/fields/DateField/DateField.js +5 -5
  363. package/es/v1/form/fields/DateField/props/defaultProps.js +1 -1
  364. package/es/v1/form/fields/DateField/props/propTypes.js +1 -1
  365. package/es/v1/form/fields/FieldContainer/FieldContainer.js +3 -3
  366. package/es/v1/form/fields/FieldContainer/props/defaultProps.js +1 -1
  367. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +5 -5
  368. package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +1 -1
  369. package/es/v1/form/fields/MultiSelectField/props/propTypes.js +1 -1
  370. package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
  371. package/es/v1/form/fields/RadioField/RadioField.js +5 -5
  372. package/es/v1/form/fields/SelectField/SelectField.js +5 -5
  373. package/es/v1/form/fields/SelectField/props/defaultProps.js +1 -1
  374. package/es/v1/form/fields/SelectField/props/propTypes.js +1 -1
  375. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
  376. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
  377. package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
  378. package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
  379. package/es/v1/form/fields/TextBoxField/TextBoxField.js +5 -5
  380. package/es/v1/form/fields/TextBoxField/props/defaultProps.js +1 -1
  381. package/es/v1/form/fields/TextBoxField/props/propTypes.js +1 -1
  382. package/es/v1/form/fields/TextEditor/TextEditor.js +30 -34
  383. package/es/v1/form/fields/TextEditor/props/defaultProps.js +1 -7
  384. package/es/v1/form/fields/TextEditor/props/propTypes.js +1 -6
  385. package/es/v1/form/fields/TextEditorField/TextEditorField.js +6 -6
  386. package/es/v1/form/fields/TextEditorField/props/defaultProps.js +1 -1
  387. package/es/v1/form/fields/TextEditorField/props/propTypes.js +1 -1
  388. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
  389. package/es/v1/form/fields/TextareaField/TextareaField.js +5 -5
  390. package/es/v1/form/fields/TextareaField/props/defaultProps.js +1 -1
  391. package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -1
  392. package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +3 -3
  393. package/es/v1/form/fields/index.js +16 -16
  394. package/es/v1/form/layout/Field/Field.js +3 -3
  395. package/es/v1/form/layout/Section/Section.js +2 -2
  396. package/es/v1/form/layout/index.js +2 -2
  397. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
  398. package/es/v1/layout/SetupDetailLayout/index.js +4 -4
  399. package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -4
  400. package/es/v1/layout/SubtabLayout/index.js +4 -4
  401. package/es/v1/list/AvatarFlip/AvatarFlip.js +4 -4
  402. package/es/v1/list/BluePrintStatus/BluePrintStatus.js +2 -2
  403. package/es/v1/list/Comment/Comment.js +3 -3
  404. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
  405. package/es/v1/list/Dot/Dot.js +3 -3
  406. package/es/v1/list/DotNew/DotNew.js +3 -3
  407. package/es/v1/list/GridStencils/GridStencils.js +2 -2
  408. package/es/v1/list/Icons/AddNewIcon.js +2 -2
  409. package/es/v1/list/Icons/CompleteIcon.js +2 -2
  410. package/es/v1/list/Icons/DeleteIcon.js +2 -2
  411. package/es/v1/list/Icons/EditIcon.js +2 -2
  412. package/es/v1/list/Icons/FloatingIcons.js +3 -3
  413. package/es/v1/list/Icons/ReadUnreadIcon.js +3 -3
  414. package/es/v1/list/Icons/SmartIcon.js +2 -2
  415. package/es/v1/list/Icons/index.js +7 -7
  416. package/es/v1/list/ListLayout/ListLayout.js +3 -3
  417. package/es/v1/list/ListStencils/ListStencils.js +3 -3
  418. package/es/v1/list/SecondaryText/AccountName.js +4 -4
  419. package/es/v1/list/SecondaryText/ContactName.js +5 -5
  420. package/es/v1/list/SecondaryText/DepartmentText.js +2 -2
  421. package/es/v1/list/SecondaryText/Email.js +4 -4
  422. package/es/v1/list/SecondaryText/HappinessRating.js +2 -2
  423. package/es/v1/list/SecondaryText/PhoneNumber.js +4 -4
  424. package/es/v1/list/SecondaryText/PriorityText.js +3 -3
  425. package/es/v1/list/SecondaryText/SecondaryText.js +3 -3
  426. package/es/v1/list/SecondaryText/StatusText.js +3 -3
  427. package/es/v1/list/SecondaryText/TicketId.js +4 -4
  428. package/es/v1/list/SecondaryText/Website.js +4 -4
  429. package/es/v1/list/SecondaryText/index.js +11 -11
  430. package/es/v1/list/SecondryPanel/SecondryPanel.js +4 -4
  431. package/es/v1/list/SentimentStatus/SentimentStatus.js +2 -2
  432. package/es/v1/list/Subject/Subject.js +4 -4
  433. package/es/v1/list/TagNew/TagNew.js +3 -3
  434. package/es/v1/list/Thread/Thread.js +3 -3
  435. package/es/v1/list/index.js +16 -16
  436. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +5 -5
  437. package/es/v1/list/status/StatusListItem/StatusListItem.js +3 -3
  438. package/es/v1/list/status/index.js +2 -2
  439. package/es/v1/lookup/EmptyPage/EmptyPage.js +3 -3
  440. package/es/v1/lookup/Lookup/Lookup.js +4 -4
  441. package/es/v1/lookup/Section/Section.js +2 -2
  442. package/es/v1/lookup/header/Close/Close.js +3 -3
  443. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
  444. package/es/v1/lookup/header/Search/Search.js +4 -4
  445. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +10 -10
  446. package/es/v1/lookup/header/Title/Title.js +3 -3
  447. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  448. package/es/v1/lookup/header/index.js +5 -5
  449. package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -6
  450. package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  451. package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
  452. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  453. package/es/v1/setup/header/Button/Button.js +3 -3
  454. package/es/v1/setup/header/Link/Link.js +4 -4
  455. package/es/v1/setup/header/Search/Search.js +3 -3
  456. package/es/v1/setup/header/Views/Views.js +3 -3
  457. package/es/v1/setup/header/index.js +4 -4
  458. package/es/v1/setup/helptips/Description/Description.js +2 -2
  459. package/es/v1/setup/helptips/Link/Link.js +3 -3
  460. package/es/v1/setup/helptips/ListGroup/ListGroup.js +2 -2
  461. package/es/v1/setup/helptips/Title/Title.js +2 -2
  462. package/es/v1/setup/helptips/index.js +4 -4
  463. package/es/v1/setup/index.js +3 -3
  464. package/es/v1/setup/table/Table/Table.js +2 -2
  465. package/es/v1/setup/table/TableBody/TableBody.js +2 -2
  466. package/es/v1/setup/table/TableData/TableData.js +3 -3
  467. package/es/v1/setup/table/TableHead/TableHead.js +3 -3
  468. package/es/v1/setup/table/TableRow/TableRow.js +3 -3
  469. package/es/v1/setup/table/Text/Text.js +4 -4
  470. package/es/v1/setup/table/index.js +5 -5
  471. package/es/v1/svg/PlusIcon.js +2 -2
  472. package/es/v1/svg/SnippetIcon.js +2 -2
  473. package/es/v1/svg/TemplateIcon.js +2 -2
  474. package/es/v1/svg/index.js +3 -3
  475. package/es/v1/utils/editorUtils.js +6 -6
  476. package/es/version2/AlertClose/AlertClose.js +2 -2
  477. package/es/version2/AlertClose/__tests__/AlertClose.spec.js +1 -1
  478. package/es/version2/GlobalNotification/GlobalNotification.js +6 -6
  479. package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +1 -1
  480. package/es/version2/alertIcons/AlarmAlertIcon.js +3 -3
  481. package/es/version2/alertIcons/AlertIcons.js +9 -9
  482. package/es/version2/alertIcons/DangerAlertIcon.js +3 -3
  483. package/es/version2/alertIcons/ErrorAlertIcon.js +3 -3
  484. package/es/version2/alertIcons/InfoAlertIcon.js +3 -3
  485. package/es/version2/alertIcons/NotificationAlertIcon.js +3 -3
  486. package/es/version2/alertIcons/SuccessAlertIcon.js +3 -3
  487. package/es/version2/alertIcons/WarningAlertIcon.js +3 -3
  488. package/es/version2/alertIcons/__tests__/AlarmAlertIcon.spec.js +1 -1
  489. package/es/version2/alertIcons/__tests__/AlertIcons.spec.js +1 -1
  490. package/es/version2/alertIcons/__tests__/DangerAlertIcon.spec.js +1 -1
  491. package/es/version2/alertIcons/__tests__/ErrorAlertIcon.spec.js +1 -1
  492. package/es/version2/alertIcons/__tests__/InfoAlertIcon.spec.js +1 -1
  493. package/es/version2/alertIcons/__tests__/NotificationAlertIcon.spec.js +1 -1
  494. package/es/version2/alertIcons/__tests__/SuccessAlertIcon.spec.js +1 -1
  495. package/es/version2/alertIcons/__tests__/WarningAlertIcon.spec.js +1 -1
  496. package/es/version2/alertIcons/index.js +8 -8
  497. package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -4
  498. package/es/version2/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
  499. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
  500. package/es/version2/errorstate/OopsSomethingMiss/__tests__/OopsSomethingMiss.spec.js +1 -1
  501. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
  502. package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js +1 -1
  503. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
  504. package/es/version2/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
  505. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -4
  506. package/es/version2/errorstate/UrlNotFound/__tests__/UrlNotFound.spec.js +1 -1
  507. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
  508. package/es/version2/errorstate/WillBeRightBack/__tests__/WillBeRightBack.spec.js +1 -1
  509. package/es/version2/errorstate/index.js +6 -6
  510. package/es/version2/index.js +8 -8
  511. package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -7
  512. package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
  513. package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -7
  514. package/es/version2/lookup/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
  515. package/es/version2/lookup/index.js +2 -2
  516. package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -6
  517. package/es/version2/notification/DesktopNotification/__tests__/DesktopNotification.spec.js +1 -1
  518. package/es/version2/notification/DesktopNotification/props/defaultProps.js +1 -1
  519. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
  520. package/es/version2/notification/DesktopNotificationHeader/__tests__/DesktopNotificationHeader.spec.js +1 -1
  521. package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  522. package/es/version2/notification/index.js +3 -3
  523. package/lib/form/fields/TextEditor/TextEditor.js +40 -37
  524. package/lib/form/fields/TextEditor/props/defaultProps.js +1 -7
  525. package/lib/form/fields/TextEditor/props/propTypes.js +1 -8
  526. package/lib/utils/editorUtils.js +5 -6
  527. package/lib/v1/form/fields/TextEditor/TextEditor.js +26 -26
  528. package/lib/v1/form/fields/TextEditor/props/defaultProps.js +1 -7
  529. package/lib/v1/form/fields/TextEditor/props/propTypes.js +1 -6
  530. package/lib/v1/utils/editorUtils.js +5 -6
  531. package/package.json +8 -8
  532. package/result.json +1 -1
  533. package/unittest/index.html +1 -1
@@ -1,16 +1,16 @@
1
1
  /***** Libraries *****/
2
2
  import React, { Component } from 'react';
3
- import { defaultProps } from './props/defaultProps';
4
- import { propTypes } from './props/propTypes';
3
+ import { defaultProps } from "./props/defaultProps";
4
+ import { propTypes } from "./props/propTypes";
5
5
  import selectn from 'selectn';
6
6
  import { Container, Box } from '@zohodesk/components/es/v1/Layout';
7
7
  /***** Methods *****/
8
8
 
9
- import { bind, editorContentValidate, fixEncoding, isFileNameSizeInvalid, isImageFormat, triggerKeyup, getRichEditorContent, changeContent, validateEditorContentOnInsertHtml, loadResource } from '../../../../utils/editorUtils'; //import './ZohoDeskEditor_Init';
9
+ import { bind, editorContentValidate, fixEncoding, isFileNameSizeInvalid, isImageFormat, triggerKeyup, getRichEditorContent, changeContent, validateEditorContentOnInsertHtml, loadResource } from "../../../../utils/editorUtils"; //import './ZohoDeskEditor_Init';
10
10
 
11
11
  /***** components *****/
12
12
 
13
- import styles from '../../../../form/fields/TextEditor/TextEditor.module.css';
13
+ import styles from "../../../../form/fields/TextEditor/TextEditor.module.css";
14
14
  /* eslint-disable camelcase */
15
15
 
16
16
  /* eslint-disable no-undef */
@@ -203,8 +203,7 @@ export default class TextEditor extends Component {
203
203
  let {
204
204
  editorCallback,
205
205
  getRef,
206
- isCustomScroll,
207
- customCSS
206
+ isCustomScroll
208
207
  } = this.props;
209
208
  this.setState({
210
209
  isEditorLoad: true,
@@ -219,6 +218,18 @@ export default class TextEditor extends Component {
219
218
  global.editor[id] = editorObj;
220
219
  }
221
220
 
221
+ const css = 'pre {white-space: pre-wrap}',
222
+ head = editorObj.doc.head || editorObj.doc.getElementsByTagName('head')[0],
223
+ style = document.createElement('style');
224
+ style.type = 'text/css';
225
+
226
+ if (style.styleSheet) {
227
+ style.styleSheet.cssText = css;
228
+ } else {
229
+ style.appendChild(editorObj.doc.createTextNode(css));
230
+ }
231
+
232
+ head.appendChild(style);
222
233
  editorCallback && editorCallback(editorObj);
223
234
  const iframe = selectn('iframe.contentDocument.body', editorObj) || null;
224
235
  const iframeHead = selectn('iframe.contentDocument.head', editorObj) || null;
@@ -234,11 +245,9 @@ export default class TextEditor extends Component {
234
245
  iframe.classList.add('scroll');
235
246
  }
236
247
 
237
- let customStyleTag = document.createElement('style');
238
- const customizedCSS = `pre {white-space: pre-wrap} ${customCSS}`;
239
- const fontCSS = `@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/4.0/Zoho_Puvi_Regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}`;
240
- customStyleTag.innerText = `${customizedCSS} ${fontCSS}`;
241
- iframeHead.appendChild(customStyleTag);
248
+ let customFonts = document.createElement('style');
249
+ customFonts.innerText = `@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/4.0/Zoho_Puvi_Regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}`;
250
+ iframeHead.appendChild(customFonts);
242
251
  }
243
252
  }
244
253
 
@@ -246,26 +255,13 @@ export default class TextEditor extends Component {
246
255
  let {
247
256
  id,
248
257
  setInlineAttachmentInProgress: progress,
249
- i18nKeys,
250
- inlineImageProps
258
+ i18nKeys
251
259
  } = this.props;
252
- const {
253
- fileUploadError,
254
- fileNotSupported,
255
- fileSizeLimitExceed,
256
- fileEmptyError,
257
- fileNameLimitExceed
258
- } = i18nKeys;
259
- const {
260
- allowedFileExtensions,
261
- fileNameMaxCharacters,
262
- fileSizeMax
263
- } = inlineImageProps;
264
-
265
- if (!isFileNameSizeInvalid(file.name, fileNameMaxCharacters)) {
260
+
261
+ if (!isFileNameSizeInvalid(file.name)) {
266
262
  if (file.size != 0) {
267
- if (file.size <= fileSizeMax) {
268
- if (isImageFormat(file.name, allowedFileExtensions)) {
263
+ if (file.size <= 3 * 1024 * 1024) {
264
+ if (isImageFormat(file.name)) {
269
265
  progress && progress(true);
270
266
  this.handleUpload(file).then(res => {
271
267
  successCallback(res);
@@ -275,19 +271,19 @@ export default class TextEditor extends Component {
275
271
  triggerKeyup(editorObj.doc);
276
272
  }
277
273
  }, () => {
278
- failureCallback(fileUploadError);
274
+ failureCallback(i18nKeys.fileUploadError);
279
275
  });
280
276
  } else {
281
- failureCallback(fileNotSupported);
277
+ failureCallback(i18nKeys.fileNotSupported);
282
278
  }
283
279
  } else {
284
- failureCallback(fileSizeLimitExceed);
280
+ failureCallback(i18nKeys.fileSizeLimitExceed);
285
281
  }
286
282
  } else {
287
- failureCallback(fileEmptyError);
283
+ failureCallback(i18nKeys.fileEmptyError);
288
284
  }
289
285
  } else {
290
- failureCallback(fileNameLimitExceed);
286
+ failureCallback(i18nKeys.fileNameLimitExceed);
291
287
  }
292
288
  }
293
289
 
@@ -9,11 +9,5 @@ export const defaultProps = {
9
9
  needInlineAttachment: false,
10
10
  isNightMode: false,
11
11
  isReadOnly: false,
12
- dataSelectorId: 'textEditor',
13
- customCSS: '',
14
- inlineImageProps: {
15
- allowedFileExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
16
- fileNameMaxCharacters: 200,
17
- fileSizeMax: 3 * 1024 * 1024
18
- }
12
+ dataSelectorId: 'textEditor'
19
13
  };
@@ -42,10 +42,5 @@ export const propTypes = {
42
42
  getCSRFCookie: PropTypes.string,
43
43
  isEditorDefaultOpen: PropTypes.bool,
44
44
  toggleEdit: PropTypes.func,
45
- dataSelectorId: PropTypes.string,
46
- inlineImageProps: {
47
- allowedFileExtensions: PropTypes.array,
48
- fileNameMaxCharacters: PropTypes.number,
49
- fileSizeMax: PropTypes.number
50
- }
45
+ dataSelectorId: PropTypes.string
51
46
  };
@@ -1,16 +1,16 @@
1
1
  /**** Libraries ****/
2
2
  import React, { memo, useRef } from 'react';
3
- import { defaultProps } from './props/defaultProps';
4
- import { propTypes } from './props/propTypes';
3
+ import { defaultProps } from "./props/defaultProps";
4
+ import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
6
 
7
7
  import Label from '@zohodesk/components/es/v1/Label/Label';
8
- import ValidationMessage from '../ValidationMessage/ValidationMessage';
9
- import TextEditorWrapper from '../TextEditorWrapper/TextEditorWrapper';
10
- import FieldContainer from '../FieldContainer/FieldContainer';
8
+ import ValidationMessage from "../ValidationMessage/ValidationMessage";
9
+ import TextEditorWrapper from "../TextEditorWrapper/TextEditorWrapper";
10
+ import FieldContainer from "../FieldContainer/FieldContainer";
11
11
  /** Css */
12
12
 
13
- import style from '../../../../form/fields/Fields.module.css';
13
+ import style from "../../../../form/fields/Fields.module.css";
14
14
 
15
15
  const TextEditorField = props => {
16
16
  const {
@@ -1,4 +1,4 @@
1
- import { FieldCommonDefaultProps } from '../../props/FieldCommonDefaultProps';
1
+ import { FieldCommonDefaultProps } from "../../props/FieldCommonDefaultProps";
2
2
  export const defaultProps = {
3
3
  errorType: 'primary',
4
4
  needEditor: true,
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
- import { FieldCommonPropTypes } from '../../props/FieldCommonPropTypes';
2
+ import { FieldCommonPropTypes } from "../../props/FieldCommonPropTypes";
3
3
  export const propTypes = {
4
4
  dataId: PropTypes.string,
5
5
  fieldSize: PropTypes.oneOf(['small', 'medium']),
@@ -1,14 +1,14 @@
1
1
  import React, { useState } from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
4
  /**** Components ****/
5
5
 
6
6
  import useEffectCallOnlyAfterState from '@zohodesk/hooks/es/utils/useEffectCallOnlyAfterState';
7
- import TextEditor from '../TextEditor/TextEditor';
7
+ import TextEditor from "../TextEditor/TextEditor";
8
8
  import Textarea from '@zohodesk/components/es/v1/Textarea/Textarea';
9
9
  import VelocityAnimationGroup from '@zohodesk/components/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
10
- import { editorContentValidate } from '../../../../utils/editorUtils';
11
- import style from './../../../../form/fields/TextEditorWrapper/TextEditorWrapper.module.css';
10
+ import { editorContentValidate } from "../../../../utils/editorUtils";
11
+ import style from "./../../../../form/fields/TextEditorWrapper/TextEditorWrapper.module.css";
12
12
  /* eslint-disable react/no-deprecated */
13
13
 
14
14
  const TextEditorWrapper = props => {
@@ -1,17 +1,17 @@
1
1
  /**** Libraries ****/
2
2
  import React, { memo } from 'react';
3
- import { defaultProps } from './props/defaultProps';
4
- import { propTypes } from './props/propTypes';
3
+ import { defaultProps } from "./props/defaultProps";
4
+ import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
6
 
7
7
  import Label from '@zohodesk/components/es/v1/Label/Label';
8
8
  import Textarea from '@zohodesk/components/es/v1/Textarea/Textarea';
9
- import ValidationMessage from '../ValidationMessage/ValidationMessage';
9
+ import ValidationMessage from "../ValidationMessage/ValidationMessage";
10
10
  import { useUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
11
- import FieldContainer from '../FieldContainer/FieldContainer';
11
+ import FieldContainer from "../FieldContainer/FieldContainer";
12
12
  /**** CSS ****/
13
13
 
14
- import style from '../../../../form/fields/Fields.module.css';
14
+ import style from "../../../../form/fields/Fields.module.css";
15
15
 
16
16
  const TextareaField = props => {
17
17
  const {
@@ -1,4 +1,4 @@
1
- import { FieldCommonDefaultProps } from '../../props/FieldCommonDefaultProps';
1
+ import { FieldCommonDefaultProps } from "../../props/FieldCommonDefaultProps";
2
2
  export const defaultProps = {
3
3
  textBoxSize: 'xsmall',
4
4
  textBoxVariant: 'primary',
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
- import { FieldCommonPropTypes } from '../../props/FieldCommonPropTypes';
2
+ import { FieldCommonPropTypes } from "../../props/FieldCommonPropTypes";
3
3
  export const propTypes = {
4
4
  animated: PropTypes.bool,
5
5
  borderColor: PropTypes.oneOf(['transparent', 'default']),
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
4
  import Label from '@zohodesk/components/es/v1/Label/Label';
5
5
  import colors from '@zohodesk/components/es/Label/LabelColors.module.css';
6
- import style from '../../../../form/fields/ValidationMessage/ValidationMessage.module.css';
6
+ import style from "../../../../form/fields/ValidationMessage/ValidationMessage.module.css";
7
7
  import { Icon } from '@zohodesk/icons';
8
8
 
9
9
  const ValidationMessage = props => {
@@ -1,16 +1,16 @@
1
- export { default as CheckBoxField } from './CheckBoxField/CheckBoxField';
2
- export { default as CurrencyField } from './CurrencyField/CurrencyField';
3
- export { default as DateField } from './DateField/DateField';
4
- export { default as FieldContainer } from './FieldContainer/FieldContainer';
5
- export { default as MultiSelectField } from './MultiSelectField/MultiSelectField';
6
- export { default as PhoneField } from './PhoneField/PhoneField';
7
- export { default as RadioField } from './RadioField/RadioField';
8
- export { default as SelectField } from './SelectField/SelectField';
9
- export { default as TagsMultiSelect } from './TagsMultiSelect/TagsMultiSelect';
10
- export { default as TagsMultiSelectField } from './TagsMultiSelectField/TagsMultiSelectField';
11
- export { default as TextareaField } from './TextareaField/TextareaField';
12
- export { default as TextBoxField } from './TextBoxField/TextBoxField';
13
- export { default as TextEditor } from './TextEditor/TextEditor';
14
- export { default as TextEditorField } from './TextEditorField/TextEditorField';
15
- export { default as TextEditorWrapper } from './TextEditorWrapper/TextEditorWrapper';
16
- export { default as ValidationMessage } from './ValidationMessage/ValidationMessage';
1
+ export { default as CheckBoxField } from "./CheckBoxField/CheckBoxField";
2
+ export { default as CurrencyField } from "./CurrencyField/CurrencyField";
3
+ export { default as DateField } from "./DateField/DateField";
4
+ export { default as FieldContainer } from "./FieldContainer/FieldContainer";
5
+ export { default as MultiSelectField } from "./MultiSelectField/MultiSelectField";
6
+ export { default as PhoneField } from "./PhoneField/PhoneField";
7
+ export { default as RadioField } from "./RadioField/RadioField";
8
+ export { default as SelectField } from "./SelectField/SelectField";
9
+ export { default as TagsMultiSelect } from "./TagsMultiSelect/TagsMultiSelect";
10
+ export { default as TagsMultiSelectField } from "./TagsMultiSelectField/TagsMultiSelectField";
11
+ export { default as TextareaField } from "./TextareaField/TextareaField";
12
+ export { default as TextBoxField } from "./TextBoxField/TextBoxField";
13
+ export { default as TextEditor } from "./TextEditor/TextEditor";
14
+ export { default as TextEditorField } from "./TextEditorField/TextEditorField";
15
+ export { default as TextEditorWrapper } from "./TextEditorWrapper/TextEditorWrapper";
16
+ export { default as ValidationMessage } from "./ValidationMessage/ValidationMessage";
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
4
- import style from '../../../../form/layout/Field/Field.module.css';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
+ import style from "../../../../form/layout/Field/Field.module.css";
5
5
 
6
6
  const Field = props => {
7
7
  const {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { propTypes } from './props/propTypes';
3
- import style from '../../../../form/layout/Section/ModuleFormSection.module.css';
2
+ import { propTypes } from "./props/propTypes";
3
+ import style from "../../../../form/layout/Section/ModuleFormSection.module.css";
4
4
 
5
5
  const Section = props => {
6
6
  const {
@@ -1,2 +1,2 @@
1
- export { default as Field } from './Field/Field';
2
- export { default as Section } from './Section/Section';
1
+ export { default as Field } from "./Field/Field";
2
+ export { default as Section } from "./Section/Section";
@@ -1,9 +1,9 @@
1
1
  import React, { useState } from 'react';
2
- import { SetupDetailLayout_defaultProps, SetupHeader_defaultProps, SetupContent_defaultProps, SetupFooter_defaultProps } from './props/defaultProps';
3
- import { SetupDetailLayout_propTypes, SetupHeader_propTypes, SetupContent_propTypes, SetupFooter_propTypes } from './props/propTypes';
2
+ import { SetupDetailLayout_defaultProps, SetupHeader_defaultProps, SetupContent_defaultProps, SetupFooter_defaultProps } from "./props/defaultProps";
3
+ import { SetupDetailLayout_propTypes, SetupHeader_propTypes, SetupContent_propTypes, SetupFooter_propTypes } from "./props/propTypes";
4
4
  import { Container, Box } from '@zohodesk/components/es/v1/Layout';
5
5
  import { Icon } from '@zohodesk/icons';
6
- import style from '../../../layout/SetupDetailLayout/SetupDetailLayout.module.css';
6
+ import style from "../../../layout/SetupDetailLayout/SetupDetailLayout.module.css";
7
7
  export default function SetupDetailLayout(props) {
8
8
  let {
9
9
  children,
@@ -1,4 +1,4 @@
1
- export { default as SetupDetailLayout } from './SetupDetailLayout';
2
- export { SetupHeader } from './SetupDetailLayout';
3
- export { SetupFooter } from './SetupDetailLayout';
4
- export { SetupContent } from './SetupDetailLayout';
1
+ export { default as SetupDetailLayout } from "./SetupDetailLayout";
2
+ export { SetupHeader } from "./SetupDetailLayout";
3
+ export { SetupFooter } from "./SetupDetailLayout";
4
+ export { SetupContent } from "./SetupDetailLayout";
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { SubtabHeader_propTypes, SubtabFooter_propTypes, SubtabContent_propTypes, SubtabLayout_propTypes } from './props/propTypes';
3
- import { SubtabHeader_defaultProps, SubtabFooter_defaultProps, SubtabContent_defaultProps, SubtabLayout_defaultProps } from './props/defaultProps';
2
+ import { SubtabHeader_propTypes, SubtabFooter_propTypes, SubtabContent_propTypes, SubtabLayout_propTypes } from "./props/propTypes";
3
+ import { SubtabHeader_defaultProps, SubtabFooter_defaultProps, SubtabContent_defaultProps, SubtabLayout_defaultProps } from "./props/defaultProps";
4
4
  import { Container, Box } from '@zohodesk/components/es/v1/Layout';
5
5
  import { Card, CardHeader, CardContent } from '@zohodesk/components/es/v1/Card';
6
- import PlusIcon from '../../PlusIcon/PlusIcon';
7
- import style from '../../../layout/SubtabLayout/SubtabLayout.module.css';
6
+ import PlusIcon from "../../PlusIcon/PlusIcon";
7
+ import style from "../../../layout/SubtabLayout/SubtabLayout.module.css";
8
8
  export function SubtabHeader(props) {
9
9
  let {
10
10
  onAdd,
@@ -1,4 +1,4 @@
1
- export { default as SubtabLayout } from './SubtabLayout';
2
- export { SubtabHeader } from './SubtabLayout';
3
- export { SubtabContent } from './SubtabLayout';
4
- export { SubtabFooter } from './SubtabLayout';
1
+ export { default as SubtabLayout } from "./SubtabLayout";
2
+ export { SubtabHeader } from "./SubtabLayout";
3
+ export { SubtabContent } from "./SubtabLayout";
4
+ export { SubtabFooter } from "./SubtabLayout";
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
4
- import FlipCard from '../../FlipCard/FlipCard';
5
- import style from '../../../list/AvatarFlip/AvatarFlip.module.css';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
+ import FlipCard from "../../FlipCard/FlipCard";
5
+ import style from "../../../list/AvatarFlip/AvatarFlip.module.css";
6
6
  export default function AvatarFlip(props) {
7
7
  let {
8
8
  id,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { propTypes } from './props/propTypes';
3
- import style from '../../../list/BluePrintStatus/BluePrintStatus.module.css';
2
+ import { propTypes } from "./props/propTypes";
3
+ import style from "../../../list/BluePrintStatus/BluePrintStatus.module.css";
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  export default function BluePrintStatus(props) {
6
6
  let {
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  import Button from '@zohodesk/components/es/v1/semantic/Button/Button';
6
- import style from '../../../list/Comment/Comment.module.css';
6
+ import style from "../../../list/Comment/Comment.module.css";
7
7
  export default function Comment(props) {
8
8
  let {
9
9
  count,
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
4
- import ToggleDropDown from '../../dropdown/ToggleDropDown/ToggleDropDown';
5
- import { DepartmentText } from '../SecondaryText';
6
- import style from '../../../list/DepartmentDropDown/DepartmentDropDown.module.css';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
+ import ToggleDropDown from "../../dropdown/ToggleDropDown/ToggleDropDown";
5
+ import { DepartmentText } from "../SecondaryText";
6
+ import style from "../../../list/DepartmentDropDown/DepartmentDropDown.module.css";
7
7
 
8
8
  function DepartmentDropDown(props) {
9
9
  let {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
4
- import style from '../../../list/Dot/Dot.module.css';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
+ import style from "../../../list/Dot/Dot.module.css";
5
5
  export default function Dot(props) {
6
6
  let {
7
7
  className,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { defaultProps } from './props/defaultProps';
3
- import { propTypes } from './props/propTypes';
4
- import style from '../../../list/DotNew/DotNew.module.css';
2
+ import { defaultProps } from "./props/defaultProps";
3
+ import { propTypes } from "./props/propTypes";
4
+ import style from "../../../list/DotNew/DotNew.module.css";
5
5
  export default function DotNew(props) {
6
6
  let {
7
7
  className,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { propTypes } from './props/propTypes';
3
- import style from '../../../list/GridStencils/GridStencils.module.css';
2
+ import { propTypes } from "./props/propTypes";
3
+ import style from "../../../list/GridStencils/GridStencils.module.css";
4
4
  export default function GridStencils(props) {
5
5
  let {
6
6
  lineBar,
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { AddNewIcon_propTypes } from './props/propTypes';
2
+ import { AddNewIcon_propTypes } from "./props/propTypes";
3
3
  import { Icon } from '@zohodesk/icons';
4
4
  import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
5
- import style from '../../../list/Icons/Icons.module.css';
5
+ import style from "../../../list/Icons/Icons.module.css";
6
6
  export default function AddNewIcon(props) {
7
7
  let {
8
8
  onClick,
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { CompleteIcon_propTypes } from './props/propTypes';
2
+ import { CompleteIcon_propTypes } from "./props/propTypes";
3
3
  import { Icon } from '@zohodesk/icons';
4
4
  import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
5
- import style from '../../../list/Icons/Icons.module.css';
5
+ import style from "../../../list/Icons/Icons.module.css";
6
6
  export default function CompleteIcon(props) {
7
7
  let {
8
8
  onClick,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { DeleteComponent_propTypes } from './props/propTypes';
3
- import style from '../../../list/Icons/Icons.module.css';
2
+ import { DeleteComponent_propTypes } from "./props/propTypes";
3
+ import style from "../../../list/Icons/Icons.module.css";
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
6
6
  export default function DeleteComponent(props) {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { EditIcon_propTypes } from './props/propTypes';
3
- import style from '../../../list/Icons/Icons.module.css';
2
+ import { EditIcon_propTypes } from "./props/propTypes";
3
+ import style from "../../../list/Icons/Icons.module.css";
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
6
6
  export default function EditIcon(props) {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { FloatingIcons_defaultProps } from './props/defaultProps';
3
- import { FloatingIcons_propTypes } from './props/propTypes';
4
- import style from '../../../list/Icons/Icons.module.css';
2
+ import { FloatingIcons_defaultProps } from "./props/defaultProps";
3
+ import { FloatingIcons_propTypes } from "./props/propTypes";
4
+ import style from "../../../list/Icons/Icons.module.css";
5
5
  export default function FloatingIcons(props) {
6
6
  let {
7
7
  children = [],
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { ReadUnreadIcon_defaultProps } from './props/defaultProps';
3
- import { ReadUnreadIcon_propTypes } from './props/propTypes';
2
+ import { ReadUnreadIcon_defaultProps } from "./props/defaultProps";
3
+ import { ReadUnreadIcon_propTypes } from "./props/propTypes";
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
6
- import style from '../../../list/Icons/Icons.module.css';
6
+ import style from "../../../list/Icons/Icons.module.css";
7
7
  export default function ReadUnreadIcon(props) {
8
8
  let {
9
9
  onClick,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { SmartIcon_propTypes } from './props/propTypes';
3
- import style from '../../../list/Icons/Icons.module.css';
2
+ import { SmartIcon_propTypes } from "./props/propTypes";
3
+ import style from "../../../list/Icons/Icons.module.css";
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
6
6
  export default function SmartIcon(props) {
@@ -1,7 +1,7 @@
1
- export { default as AddNewIcon } from './AddNewIcon';
2
- export { default as CompleteIcon } from './CompleteIcon';
3
- export { default as DeleteComponent } from './DeleteComponent';
4
- export { default as EditIcon } from './EditIcon';
5
- export { default as FloatingIcons } from './FloatingIcons';
6
- export { default as ReadUnreadIcon } from './ReadUnreadIcon';
7
- export { default as SmartIcon } from './SmartIcon';
1
+ export { default as AddNewIcon } from "./AddNewIcon";
2
+ export { default as CompleteIcon } from "./CompleteIcon";
3
+ export { default as DeleteComponent } from "./DeleteComponent";
4
+ export { default as EditIcon } from "./EditIcon";
5
+ export { default as FloatingIcons } from "./FloatingIcons";
6
+ export { default as ReadUnreadIcon } from "./ReadUnreadIcon";
7
+ export { default as SmartIcon } from "./SmartIcon";
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { ListLayout_defaultProps } from './props/defaultProps';
3
- import { ListLayout_propTypes, Column_propTypes } from './props/propTypes';
2
+ import { ListLayout_defaultProps } from "./props/defaultProps";
3
+ import { ListLayout_propTypes, Column_propTypes } from "./props/propTypes";
4
4
  import { Container, Box } from '@zohodesk/components/es/v1/Layout';
5
- import style from '../../../list/ListLayout/ListLayout.module.css';
5
+ import style from "../../../list/ListLayout/ListLayout.module.css";
6
6
  export default function ListLayout(props) {
7
7
  let {
8
8
  children,
@@ -1,13 +1,13 @@
1
1
  /*** Libraries ***/
2
2
  import React from 'react';
3
- import { defaultProps } from './props/defaultProps';
4
- import { propTypes } from './props/propTypes';
3
+ import { defaultProps } from "./props/defaultProps";
4
+ import { propTypes } from "./props/propTypes";
5
5
  /*** Components ***/
6
6
 
7
7
  import Stencils from '@zohodesk/components/es/v1/Stencils/Stencils';
8
8
  /*** CSS ***/
9
9
 
10
- import style from '../../../list/ListStencils/ListStencils.module.css';
10
+ import style from "../../../list/ListStencils/ListStencils.module.css";
11
11
  export default function ListStencils(props) {
12
12
  let {
13
13
  listType