@zohodesk/dot 1.0.0-temp-198.2 → 1.0.0-temp-197.6

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 (697) hide show
  1. package/.cli/UnValidatedFiles.html +1 -1
  2. package/.cli/propValidation_report.html +1 -1
  3. package/README.md +12 -0
  4. package/es/ActionButton/ActionButton.js +3 -3
  5. package/es/ActionButton/ActionButton.module.css +192 -192
  6. package/es/ActionButton/__tests__/ActionButton.spec.js +1 -1
  7. package/es/AlphabeticList/AlphabeticList.js +3 -3
  8. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  9. package/es/AlphabeticList/__tests__/AlphabeticList.spec.js +1 -1
  10. package/es/Attachment/Attachment.js +4 -4
  11. package/es/Attachment/__tests__/Attachment.spec.js +1 -1
  12. package/es/AttachmentViewer/AttachmentImage.js +4 -4
  13. package/es/AttachmentViewer/AttachmentViewer.js +9 -9
  14. package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
  15. package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +1 -1
  16. package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +1 -1
  17. package/es/ChannelIcon/ChannelIcon.js +5 -5
  18. package/es/ChannelIcon/ChannelIcon.module.css +225 -225
  19. package/es/ChannelIcon/__tests__/ChannelIcon.spec.js +1 -1
  20. package/es/Drawer/Drawer.js +6 -6
  21. package/es/Drawer/__tests__/Drawer.spec.js +1 -1
  22. package/es/Drawer/index.js +1 -1
  23. package/es/ExternalLink/ExternalLink.js +3 -3
  24. package/es/ExternalLink/__tests__/ExternalLink.spec.js +1 -1
  25. package/es/FlipCard/FlipCard.js +7 -7
  26. package/es/FlipCard/__tests__/FlipCard.spec.js +1 -1
  27. package/es/FormAction/FormAction.js +3 -3
  28. package/es/FormAction/FormAction.module.css +100 -100
  29. package/es/FormAction/__tests__/FormAction.spec.js +1 -1
  30. package/es/FreezeLayer/FreezeLayer.js +5 -5
  31. package/es/FreezeLayer/__tests__/FreezeLayer.spec.js +1 -1
  32. package/es/FreezeLayer/index.js +2 -2
  33. package/es/Hooks/Dragger/useDragger.js +5 -5
  34. package/es/Hooks/useFreezeLayer.js +1 -1
  35. package/es/IconButton/IconButton.js +3 -3
  36. package/es/IconButton/IconButton.module.css +22 -22
  37. package/es/IconButton/__tests__/IconButton.spec.js +1 -1
  38. package/es/Image/Image.js +3 -3
  39. package/es/Image/__tests__/Image.spec.js +1 -1
  40. package/es/ImportantNotes/ImportantNotes.js +3 -3
  41. package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +1 -1
  42. package/es/Link/Link.js +4 -4
  43. package/es/Link/__tests__/Link.spec.js +1 -1
  44. package/es/Loader/Loader.js +1 -1
  45. package/es/Loader/__tests__/Loader.spec.js +1 -1
  46. package/es/Message/Message.js +4 -4
  47. package/es/Message/__tests__/Message.spec.js +1 -1
  48. package/es/Message/props/propTypes.js +1 -1
  49. package/es/MessageBanner/MessageBanner.js +4 -4
  50. package/es/MessageBanner/__tests__/MessageBanner.spec.js +1 -1
  51. package/es/NewStar/NewStar.js +3 -3
  52. package/es/NewStar/__tests__/NewStar.spec.js +1 -1
  53. package/es/PlusIcon/PlusIcon.js +4 -4
  54. package/es/PlusIcon/__tests__/PlusIcon.spec.js +1 -1
  55. package/es/Separator/Separator.js +3 -3
  56. package/es/Separator/__tests__/Separator.spec.js +1 -1
  57. package/es/TagWithIcon/TagWithIcon.js +3 -3
  58. package/es/TagWithIcon/TagWithIcon.module.css +66 -66
  59. package/es/TagWithIcon/__tests__/TagWithIcon.spec.js +1 -1
  60. package/es/ToastMessage/ToastMessage.js +4 -4
  61. package/es/ToastMessage/__tests__/ToastMessage.spec.js +1 -1
  62. package/es/Upload/Upload.js +4 -4
  63. package/es/Upload/__tests__/Upload.spec.js +1 -1
  64. package/es/actions/AutoClose.js +2 -2
  65. package/es/alert/AlertHeader/AlertHeader.js +5 -5
  66. package/es/alert/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
  67. package/es/alert/AlertLookup/AlertLookup.js +7 -7
  68. package/es/alert/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
  69. package/es/alert/index.js +2 -2
  70. package/es/avatar/AvatarClose/AvatarClose.js +3 -3
  71. package/es/avatar/AvatarClose/__tests__/AvatarClose.spec.js +1 -1
  72. package/es/avatar/AvatarCollision/AvatarCollision.js +3 -3
  73. package/es/avatar/AvatarCollision/__tests__/AvatarCollision.spec.js +1 -1
  74. package/es/avatar/AvatarIcon/AvatarIcon.js +3 -3
  75. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  76. package/es/avatar/AvatarIcon/__tests__/AvatarIcon.spec.js +1 -1
  77. package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
  78. package/es/avatar/AvatarStatus/__tests__/AvatarStatus.spec.js +1 -1
  79. package/es/avatar/AvatarThread/AvatarThread.js +3 -3
  80. package/es/avatar/AvatarThread/__tests__/AvatarThread.spec.js +1 -1
  81. package/es/avatar/AvatarUser/AvatarUser.js +4 -4
  82. package/es/avatar/AvatarUser/__tests__/AvatarUser.spec.js +1 -1
  83. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  84. package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +1 -1
  85. package/es/avatar/index.js +7 -7
  86. package/es/common/dot_boxShadow.module.css +2 -0
  87. package/es/deprecated/FreezeLayer/FreezeLayer.js +4 -4
  88. package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
  89. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
  90. package/es/dropdown/ToggleDropDown/__tests__/ToggleDropDown.spec.js +1 -1
  91. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
  92. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
  93. package/es/emptystate/CommonEmptyState/__tests__/CommonEmptyState.spec.js +1 -1
  94. package/es/emptystate/EditionPage/EditionPage.js +3 -3
  95. package/es/emptystate/EditionPage/__tests__/EditionPage.spec.js +1 -1
  96. package/es/errorstate/Inconvenience/Inconvenience.js +5 -5
  97. package/es/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
  98. package/es/errorstate/LinkText/LinkText.js +4 -4
  99. package/es/errorstate/LinkText/__tests__/LinkText.spec.js +1 -1
  100. package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
  101. package/es/errorstate/NoRequestFound/__tests__/NoRequestFound.spec.js +1 -1
  102. package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
  103. package/es/errorstate/PermissionPlay/__tests__/PermissionPlay.spec.js +1 -1
  104. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
  105. package/es/errorstate/RequestUrlNotFound/__tests__/RequestUrlNotFound.spec.js +1 -1
  106. package/es/errorstate/UnableToProcess/UnableToProcess.js +5 -5
  107. package/es/errorstate/UnableToProcess/__tests__/UnableToProcess.spec.js +1 -1
  108. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
  109. package/es/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
  110. package/es/errorstate/WillBack/WillBack.js +4 -4
  111. package/es/errorstate/WillBack/__tests__/WillBack.spec.js +1 -1
  112. package/es/errorstate/index.js +8 -8
  113. package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -5
  114. package/es/form/fields/CheckBoxField/__tests__/CheckBoxField.spec.js +1 -1
  115. package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -1
  116. package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
  117. package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
  118. package/es/form/fields/CurrencyField/__tests__/CurrencyField.spec.js +1 -1
  119. package/es/form/fields/CurrencyField/props/defaultProps.js +1 -1
  120. package/es/form/fields/CurrencyField/props/propTypes.js +1 -1
  121. package/es/form/fields/DateField/DateField.js +5 -5
  122. package/es/form/fields/DateField/__tests__/DateField.spec.js +1 -1
  123. package/es/form/fields/DateField/props/defaultProps.js +1 -1
  124. package/es/form/fields/DateField/props/propTypes.js +1 -1
  125. package/es/form/fields/FieldContainer/FieldContainer.js +3 -3
  126. package/es/form/fields/FieldContainer/__tests__/FieldContainer.spec.js +1 -1
  127. package/es/form/fields/FieldContainer/props/defaultProps.js +1 -1
  128. package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -5
  129. package/es/form/fields/MultiSelectField/__tests__/MultiSelectField.spec.js +1 -1
  130. package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -1
  131. package/es/form/fields/MultiSelectField/props/propTypes.js +1 -1
  132. package/es/form/fields/PhoneField/PhoneField.js +6 -6
  133. package/es/form/fields/PhoneField/__tests__/PhoneField.spec.js +1 -1
  134. package/es/form/fields/RadioField/RadioField.js +4 -4
  135. package/es/form/fields/RadioField/__tests__/RadioField.spec.js +1 -1
  136. package/es/form/fields/SelectField/SelectField.js +5 -5
  137. package/es/form/fields/SelectField/__tests__/SelectField.spec.js +1 -1
  138. package/es/form/fields/SelectField/props/defaultProps.js +1 -1
  139. package/es/form/fields/SelectField/props/propTypes.js +1 -1
  140. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
  141. package/es/form/fields/TagsMultiSelect/__tests__/TagsMultiSelect.spec.js +1 -1
  142. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
  143. package/es/form/fields/TagsMultiSelectField/__tests__/TagsMultiSelectField.spec.js +1 -1
  144. package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
  145. package/es/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
  146. package/es/form/fields/TextBoxField/TextBoxField.js +5 -5
  147. package/es/form/fields/TextBoxField/__tests__/TextBoxField.spec.js +1 -1
  148. package/es/form/fields/TextBoxField/props/defaultProps.js +1 -1
  149. package/es/form/fields/TextBoxField/props/propTypes.js +1 -1
  150. package/es/form/fields/TextEditor/TextEditor.js +68 -68
  151. package/es/form/fields/TextEditor/TextEditor.module.css +73 -61
  152. package/es/form/fields/TextEditor/__tests__/TextEditor.spec.js +1 -1
  153. package/es/form/fields/TextEditor/props/defaultProps.js +4 -1
  154. package/es/form/fields/TextEditor/props/propTypes.js +10 -2
  155. package/es/form/fields/TextEditorField/TextEditorField.js +6 -6
  156. package/es/form/fields/TextEditorField/__tests__/TextEditorField.spec.js +1 -1
  157. package/es/form/fields/TextEditorField/props/defaultProps.js +1 -1
  158. package/es/form/fields/TextEditorField/props/propTypes.js +1 -1
  159. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
  160. package/es/form/fields/TextEditorWrapper/__tests__/TextEditorWrapper.spec.js +1 -1
  161. package/es/form/fields/TextareaField/TextareaField.js +5 -5
  162. package/es/form/fields/TextareaField/__tests__/TextareaField.spec.js +1 -1
  163. package/es/form/fields/TextareaField/props/defaultProps.js +1 -1
  164. package/es/form/fields/TextareaField/props/propTypes.js +1 -1
  165. package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -3
  166. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  167. package/es/form/fields/ValidationMessage/__tests__/ValidationMessage.spec.js +1 -1
  168. package/es/form/fields/index.js +16 -16
  169. package/es/form/layout/Field/Field.js +3 -3
  170. package/es/form/layout/Field/__tests__/Field.spec.js +1 -1
  171. package/es/form/layout/Section/Section.js +2 -2
  172. package/es/form/layout/Section/__tests__/Section.spec.js +1 -1
  173. package/es/form/layout/index.js +2 -2
  174. package/es/index.js +39 -39
  175. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
  176. package/es/layout/SetupDetailLayout/__tests__/SetupDetailLayout.spec.js +1 -1
  177. package/es/layout/SetupDetailLayout/index.js +4 -4
  178. package/es/layout/SubtabLayout/SubtabLayout.js +4 -4
  179. package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  180. package/es/layout/SubtabLayout/__tests__/SubtabLayout.spec.js +1 -1
  181. package/es/layout/SubtabLayout/index.js +4 -4
  182. package/es/list/AvatarFlip/AvatarFlip.js +4 -4
  183. package/es/list/AvatarFlip/__tests__/AvatarFlip.spec.js +1 -1
  184. package/es/list/BluePrintStatus/BluePrintStatus.js +2 -2
  185. package/es/list/BluePrintStatus/__tests__/BluePrintStatus.spec.js +1 -1
  186. package/es/list/Comment/Comment.js +3 -3
  187. package/es/list/Comment/Comment.module.css +29 -29
  188. package/es/list/Comment/__tests__/Comment.spec.js +1 -1
  189. package/es/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
  190. package/es/list/DepartmentDropDown/__tests__/DepartmentDropDown.spec.js +1 -1
  191. package/es/list/Dot/Dot.js +3 -3
  192. package/es/list/Dot/Dot.module.css +15 -15
  193. package/es/list/Dot/__tests__/Dot.spec.js +1 -1
  194. package/es/list/DotNew/DotNew.js +3 -3
  195. package/es/list/DotNew/__tests__/DotNew.spec.js +1 -1
  196. package/es/list/GridStencils/GridStencils.js +2 -2
  197. package/es/list/GridStencils/__tests__/GridStencils.spec.js +1 -1
  198. package/es/list/Icons/AddNewIcon.js +2 -2
  199. package/es/list/Icons/CompleteIcon.js +2 -2
  200. package/es/list/Icons/DeleteIcon.js +2 -2
  201. package/es/list/Icons/EditIcon.js +2 -2
  202. package/es/list/Icons/FloatingIcons.js +3 -3
  203. package/es/list/Icons/ReadUnreadIcon.js +3 -3
  204. package/es/list/Icons/SmartIcon.js +2 -2
  205. package/es/list/Icons/__tests__/AddNewIcon.spec.js +1 -1
  206. package/es/list/Icons/__tests__/CompleteIcon.spec.js +1 -1
  207. package/es/list/Icons/__tests__/DeleteIcon.spec.js +1 -1
  208. package/es/list/Icons/__tests__/EditIcon.spec.js +1 -1
  209. package/es/list/Icons/__tests__/FloatingIcons.spec.js +1 -1
  210. package/es/list/Icons/__tests__/ReadUnreadIcon.spec.js +1 -1
  211. package/es/list/Icons/__tests__/SmartIcon.spec.js +1 -1
  212. package/es/list/Icons/index.js +7 -7
  213. package/es/list/ListLayout/ListLayout.js +3 -3
  214. package/es/list/ListLayout/ListLayout.module.css +79 -79
  215. package/es/list/ListLayout/__tests__/ListLayout.spec.js +1 -1
  216. package/es/list/ListStencils/ListStencils.js +3 -3
  217. package/es/list/ListStencils/__tests__/ListStencils.spec.js +1 -1
  218. package/es/list/SecondaryText/AccountName.js +4 -4
  219. package/es/list/SecondaryText/ContactName.js +5 -5
  220. package/es/list/SecondaryText/DepartmentText.js +2 -2
  221. package/es/list/SecondaryText/Email.js +4 -4
  222. package/es/list/SecondaryText/HappinessRating.js +2 -2
  223. package/es/list/SecondaryText/PhoneNumber.js +4 -4
  224. package/es/list/SecondaryText/PriorityText.js +3 -3
  225. package/es/list/SecondaryText/SecondaryText.js +3 -3
  226. package/es/list/SecondaryText/StatusText.js +3 -3
  227. package/es/list/SecondaryText/TicketId.js +4 -4
  228. package/es/list/SecondaryText/Website.js +4 -4
  229. package/es/list/SecondaryText/__tests__/AccountName.spec.js +1 -1
  230. package/es/list/SecondaryText/__tests__/ContactName.spec.js +1 -1
  231. package/es/list/SecondaryText/__tests__/DepartmentText.spec.js +1 -1
  232. package/es/list/SecondaryText/__tests__/Email.spec.js +1 -1
  233. package/es/list/SecondaryText/__tests__/HappinessRating.spec.js +1 -1
  234. package/es/list/SecondaryText/__tests__/PhoneNumber.spec.js +1 -1
  235. package/es/list/SecondaryText/__tests__/PriorityText.spec.js +1 -1
  236. package/es/list/SecondaryText/__tests__/SecondaryText.spec.js +1 -1
  237. package/es/list/SecondaryText/__tests__/StatusText.spec.js +1 -1
  238. package/es/list/SecondaryText/__tests__/TicketId.spec.js +1 -1
  239. package/es/list/SecondaryText/__tests__/Website.spec.js +1 -1
  240. package/es/list/SecondaryText/index.js +11 -11
  241. package/es/list/SecondryPanel/SecondryPanel.js +4 -4
  242. package/es/list/SecondryPanel/__tests__/SecondryPanel.spec.js +1 -1
  243. package/es/list/SentimentStatus/SentimentStatus.js +2 -2
  244. package/es/list/SentimentStatus/__tests__/SentimentStatus.spec.js +1 -1
  245. package/es/list/Subject/Subject.js +4 -4
  246. package/es/list/Subject/Subject.module.css +34 -34
  247. package/es/list/Subject/__tests__/Subject.spec.js +1 -1
  248. package/es/list/TagNew/TagNew.js +3 -3
  249. package/es/list/TagNew/__tests__/TagNew.spec.js +1 -1
  250. package/es/list/Thread/Thread.js +3 -3
  251. package/es/list/Thread/Thread.module.css +42 -42
  252. package/es/list/Thread/__tests__/Thread.spec.js +1 -1
  253. package/es/list/index.js +16 -16
  254. package/es/list/status/StatusDropdown/StatusDropdown.js +5 -5
  255. package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +1 -1
  256. package/es/list/status/StatusListItem/StatusListItem.js +3 -3
  257. package/es/list/status/StatusListItem/__tests__/StatusListItem.spec.js +1 -1
  258. package/es/list/status/index.js +2 -2
  259. package/es/lookup/EmptyPage/EmptyPage.js +3 -3
  260. package/es/lookup/EmptyPage/__tests__/EmptyPage.spec.js +1 -1
  261. package/es/lookup/Lookup/Lookup.js +4 -4
  262. package/es/lookup/Lookup/__tests__/Lookup.spec.js +1 -1
  263. package/es/lookup/Section/Section.js +2 -2
  264. package/es/lookup/Section/__tests__/Section.spec.js +1 -1
  265. package/es/lookup/header/Close/Close.js +3 -3
  266. package/es/lookup/header/Close/__tests__/Close.spec.js +1 -1
  267. package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
  268. package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +1 -1
  269. package/es/lookup/header/Search/Search.js +4 -4
  270. package/es/lookup/header/Search/__tests__/Search.spec.js +1 -1
  271. package/es/lookup/header/TicketHeader/TicketHeader.js +10 -10
  272. package/es/lookup/header/TicketHeader/__tests__/TicketHeader.spec.js +1 -1
  273. package/es/lookup/header/Title/Title.js +3 -3
  274. package/es/lookup/header/Title/__tests__/Titles.spec.js +1 -1
  275. package/es/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  276. package/es/lookup/header/ViewDropDown/__test__/ViewDropDown.spec.js +1 -1
  277. package/es/lookup/header/index.js +5 -5
  278. package/es/lookup/index.js +4 -4
  279. package/es/setup/header/Button/Button.js +3 -3
  280. package/es/setup/header/Button/__tests__/Button.spec.js +1 -1
  281. package/es/setup/header/Link/Link.js +4 -4
  282. package/es/setup/header/Link/__tests__/Link.spec.js +1 -1
  283. package/es/setup/header/Search/Search.js +3 -3
  284. package/es/setup/header/Search/__tests__/Search.spec.js +1 -1
  285. package/es/setup/header/Views/Views.js +3 -3
  286. package/es/setup/header/Views/__tests__/Views.spec.js +1 -1
  287. package/es/setup/header/index.js +4 -4
  288. package/es/setup/helptips/Description/Description.js +2 -2
  289. package/es/setup/helptips/Description/__tests__/Description.spec.js +1 -1
  290. package/es/setup/helptips/Link/Link.js +3 -3
  291. package/es/setup/helptips/Link/__tests__/Link.spec.js +1 -1
  292. package/es/setup/helptips/ListGroup/ListGroup.js +2 -2
  293. package/es/setup/helptips/ListGroup/__tests__/ListGroup.spec.js +1 -1
  294. package/es/setup/helptips/Title/Title.js +2 -2
  295. package/es/setup/helptips/Title/__tests__/Title.spec.js +1 -1
  296. package/es/setup/helptips/index.js +4 -4
  297. package/es/setup/index.js +3 -3
  298. package/es/setup/table/Table/Table.js +2 -2
  299. package/es/setup/table/Table/__tests__/Table.spec.js +1 -1
  300. package/es/setup/table/TableBody/TableBody.js +2 -2
  301. package/es/setup/table/TableBody/__tests__/TableBody.spec.js +1 -1
  302. package/es/setup/table/TableData/TableData.js +3 -3
  303. package/es/setup/table/TableData/__tests__/TableData.spec.js +1 -1
  304. package/es/setup/table/TableHead/TableHead.js +3 -3
  305. package/es/setup/table/TableHead/__tests__/TableHead.spec.js +1 -1
  306. package/es/setup/table/TableRow/TableRow.js +3 -3
  307. package/es/setup/table/TableRow/__tests__/TableRow.spec.js +1 -1
  308. package/es/setup/table/Text/Text.js +4 -4
  309. package/es/setup/table/Text/__tests__/Text.spec.js +1 -1
  310. package/es/setup/table/index.js +5 -5
  311. package/es/svg/PlusIcon.js +2 -2
  312. package/es/svg/SnippetIcon.js +2 -2
  313. package/es/svg/TemplateIcon.js +2 -2
  314. package/es/svg/__tests__/PlusIcon.spec.js +1 -1
  315. package/es/svg/__tests__/SnippetIcon.spec.js +1 -1
  316. package/es/svg/__tests__/TemplateIcon.spec.js +1 -1
  317. package/es/svg/index.js +3 -3
  318. package/es/utils/editorUtils.js +6 -6
  319. package/es/v1/ActionButton/ActionButton.js +3 -3
  320. package/es/v1/AlphabeticList/AlphabeticList.js +3 -3
  321. package/es/v1/Attachment/Attachment.js +4 -4
  322. package/es/v1/AttachmentViewer/AttachmentImage.js +4 -4
  323. package/es/v1/AttachmentViewer/AttachmentViewer.js +9 -9
  324. package/es/v1/ChannelIcon/ChannelIcon.js +5 -5
  325. package/es/v1/Drawer/Drawer.js +6 -6
  326. package/es/v1/ExternalLink/ExternalLink.js +3 -3
  327. package/es/v1/FlipCard/FlipCard.js +7 -7
  328. package/es/v1/FormAction/FormAction.js +3 -3
  329. package/es/v1/FreezeLayer/FreezeLayer.js +5 -5
  330. package/es/v1/GlobalNotification/GlobalNotification.js +6 -6
  331. package/es/v1/IconButton/IconButton.js +3 -3
  332. package/es/v1/Image/Image.js +3 -3
  333. package/es/v1/ImportantNotes/ImportantNotes.js +3 -3
  334. package/es/v1/Link/Link.js +4 -4
  335. package/es/v1/Loader/Loader.js +1 -1
  336. package/es/v1/Message/Message.js +4 -4
  337. package/es/v1/Message/props/propTypes.js +1 -1
  338. package/es/v1/MessageBanner/MessageBanner.js +4 -4
  339. package/es/v1/NewStar/NewStar.js +3 -3
  340. package/es/v1/PlusIcon/PlusIcon.js +4 -4
  341. package/es/v1/Separator/Separator.js +3 -3
  342. package/es/v1/TagWithIcon/TagWithIcon.js +3 -3
  343. package/es/v1/ToastMessage/ToastMessage.js +4 -4
  344. package/es/v1/Upload/Upload.js +4 -4
  345. package/es/v1/actions/AutoClose.js +2 -2
  346. package/es/v1/alert/AlertClose/AlertClose.js +2 -2
  347. package/es/v1/alert/AlertHeader/AlertHeader.js +7 -7
  348. package/es/v1/alert/AlertLookup/AlertLookup.js +7 -7
  349. package/es/v1/alert/alertIcons/AlarmAlertIcon.js +3 -3
  350. package/es/v1/alert/alertIcons/AlertIcons.js +9 -9
  351. package/es/v1/alert/alertIcons/DangerAlertIcon.js +3 -3
  352. package/es/v1/alert/alertIcons/ErrorAlertIcon.js +3 -3
  353. package/es/v1/alert/alertIcons/InfoAlertIcon.js +3 -3
  354. package/es/v1/alert/alertIcons/NotificationAlertIcon.js +3 -3
  355. package/es/v1/alert/alertIcons/SuccessAlertIcon.js +3 -3
  356. package/es/v1/alert/alertIcons/WarningAlertIcon.js +3 -3
  357. package/es/v1/alert/alertIcons/index.js +8 -8
  358. package/es/v1/alert/index.js +2 -2
  359. package/es/v1/avatar/AvatarClose/AvatarClose.js +3 -3
  360. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +3 -3
  361. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +3 -3
  362. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +3 -3
  363. package/es/v1/avatar/AvatarThread/AvatarThread.js +3 -3
  364. package/es/v1/avatar/AvatarUser/AvatarUser.js +4 -4
  365. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  366. package/es/v1/avatar/index.js +7 -7
  367. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
  368. package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
  369. package/es/v1/emptystate/EditionPage/EditionPage.js +3 -3
  370. package/es/v1/errorstate/Inconvenience/Inconvenience.js +4 -4
  371. package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
  372. package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
  373. package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
  374. package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +4 -4
  375. package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
  376. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +5 -5
  377. package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +1 -1
  378. package/es/v1/form/fields/CheckBoxField/props/propTypes.js +1 -1
  379. package/es/v1/form/fields/CurrencyField/CurrencyField.js +5 -5
  380. package/es/v1/form/fields/CurrencyField/props/defaultProps.js +1 -1
  381. package/es/v1/form/fields/CurrencyField/props/propTypes.js +1 -1
  382. package/es/v1/form/fields/DateField/DateField.js +5 -5
  383. package/es/v1/form/fields/DateField/props/defaultProps.js +1 -1
  384. package/es/v1/form/fields/DateField/props/propTypes.js +1 -1
  385. package/es/v1/form/fields/FieldContainer/FieldContainer.js +3 -3
  386. package/es/v1/form/fields/FieldContainer/props/defaultProps.js +1 -1
  387. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +5 -5
  388. package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +1 -1
  389. package/es/v1/form/fields/MultiSelectField/props/propTypes.js +1 -1
  390. package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
  391. package/es/v1/form/fields/RadioField/RadioField.js +5 -5
  392. package/es/v1/form/fields/SelectField/SelectField.js +5 -5
  393. package/es/v1/form/fields/SelectField/props/defaultProps.js +1 -1
  394. package/es/v1/form/fields/SelectField/props/propTypes.js +1 -1
  395. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
  396. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
  397. package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
  398. package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
  399. package/es/v1/form/fields/TextBoxField/TextBoxField.js +5 -5
  400. package/es/v1/form/fields/TextBoxField/props/defaultProps.js +1 -1
  401. package/es/v1/form/fields/TextBoxField/props/propTypes.js +1 -1
  402. package/es/v1/form/fields/TextEditor/TextEditor.js +67 -68
  403. package/es/v1/form/fields/TextEditor/props/defaultProps.js +4 -1
  404. package/es/v1/form/fields/TextEditor/props/propTypes.js +10 -2
  405. package/es/v1/form/fields/TextEditorField/TextEditorField.js +6 -6
  406. package/es/v1/form/fields/TextEditorField/props/defaultProps.js +1 -1
  407. package/es/v1/form/fields/TextEditorField/props/propTypes.js +1 -1
  408. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
  409. package/es/v1/form/fields/TextareaField/TextareaField.js +5 -5
  410. package/es/v1/form/fields/TextareaField/props/defaultProps.js +1 -1
  411. package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -1
  412. package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +3 -3
  413. package/es/v1/form/fields/index.js +16 -16
  414. package/es/v1/form/layout/Field/Field.js +3 -3
  415. package/es/v1/form/layout/Section/Section.js +2 -2
  416. package/es/v1/form/layout/index.js +2 -2
  417. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
  418. package/es/v1/layout/SetupDetailLayout/index.js +4 -4
  419. package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -4
  420. package/es/v1/layout/SubtabLayout/index.js +4 -4
  421. package/es/v1/list/AvatarFlip/AvatarFlip.js +4 -4
  422. package/es/v1/list/BluePrintStatus/BluePrintStatus.js +2 -2
  423. package/es/v1/list/Comment/Comment.js +3 -3
  424. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
  425. package/es/v1/list/Dot/Dot.js +3 -3
  426. package/es/v1/list/DotNew/DotNew.js +3 -3
  427. package/es/v1/list/GridStencils/GridStencils.js +2 -2
  428. package/es/v1/list/Icons/AddNewIcon.js +2 -2
  429. package/es/v1/list/Icons/CompleteIcon.js +2 -2
  430. package/es/v1/list/Icons/DeleteIcon.js +2 -2
  431. package/es/v1/list/Icons/EditIcon.js +2 -2
  432. package/es/v1/list/Icons/FloatingIcons.js +3 -3
  433. package/es/v1/list/Icons/ReadUnreadIcon.js +3 -3
  434. package/es/v1/list/Icons/SmartIcon.js +2 -2
  435. package/es/v1/list/Icons/index.js +7 -7
  436. package/es/v1/list/ListLayout/ListLayout.js +3 -3
  437. package/es/v1/list/ListStencils/ListStencils.js +3 -3
  438. package/es/v1/list/SecondaryText/AccountName.js +4 -4
  439. package/es/v1/list/SecondaryText/ContactName.js +5 -5
  440. package/es/v1/list/SecondaryText/DepartmentText.js +2 -2
  441. package/es/v1/list/SecondaryText/Email.js +4 -4
  442. package/es/v1/list/SecondaryText/HappinessRating.js +2 -2
  443. package/es/v1/list/SecondaryText/PhoneNumber.js +4 -4
  444. package/es/v1/list/SecondaryText/PriorityText.js +3 -3
  445. package/es/v1/list/SecondaryText/SecondaryText.js +3 -3
  446. package/es/v1/list/SecondaryText/StatusText.js +3 -3
  447. package/es/v1/list/SecondaryText/TicketId.js +4 -4
  448. package/es/v1/list/SecondaryText/Website.js +4 -4
  449. package/es/v1/list/SecondaryText/index.js +11 -11
  450. package/es/v1/list/SecondryPanel/SecondryPanel.js +4 -4
  451. package/es/v1/list/SentimentStatus/SentimentStatus.js +2 -2
  452. package/es/v1/list/Subject/Subject.js +4 -4
  453. package/es/v1/list/TagNew/TagNew.js +3 -3
  454. package/es/v1/list/Thread/Thread.js +3 -3
  455. package/es/v1/list/index.js +16 -16
  456. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +5 -5
  457. package/es/v1/list/status/StatusListItem/StatusListItem.js +3 -3
  458. package/es/v1/list/status/index.js +2 -2
  459. package/es/v1/lookup/EmptyPage/EmptyPage.js +3 -3
  460. package/es/v1/lookup/Lookup/Lookup.js +4 -4
  461. package/es/v1/lookup/Section/Section.js +2 -2
  462. package/es/v1/lookup/header/Close/Close.js +3 -3
  463. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
  464. package/es/v1/lookup/header/Search/Search.js +4 -4
  465. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +10 -10
  466. package/es/v1/lookup/header/Title/Title.js +3 -3
  467. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  468. package/es/v1/lookup/header/index.js +5 -5
  469. package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -6
  470. package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  471. package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
  472. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  473. package/es/v1/setup/header/Button/Button.js +3 -3
  474. package/es/v1/setup/header/Link/Link.js +4 -4
  475. package/es/v1/setup/header/Search/Search.js +3 -3
  476. package/es/v1/setup/header/Views/Views.js +3 -3
  477. package/es/v1/setup/header/index.js +4 -4
  478. package/es/v1/setup/helptips/Description/Description.js +2 -2
  479. package/es/v1/setup/helptips/Link/Link.js +3 -3
  480. package/es/v1/setup/helptips/ListGroup/ListGroup.js +2 -2
  481. package/es/v1/setup/helptips/Title/Title.js +2 -2
  482. package/es/v1/setup/helptips/index.js +4 -4
  483. package/es/v1/setup/index.js +3 -3
  484. package/es/v1/setup/table/Table/Table.js +2 -2
  485. package/es/v1/setup/table/TableBody/TableBody.js +2 -2
  486. package/es/v1/setup/table/TableData/TableData.js +3 -3
  487. package/es/v1/setup/table/TableHead/TableHead.js +3 -3
  488. package/es/v1/setup/table/TableRow/TableRow.js +3 -3
  489. package/es/v1/setup/table/Text/Text.js +4 -4
  490. package/es/v1/setup/table/index.js +5 -5
  491. package/es/v1/svg/PlusIcon.js +2 -2
  492. package/es/v1/svg/SnippetIcon.js +2 -2
  493. package/es/v1/svg/TemplateIcon.js +2 -2
  494. package/es/v1/svg/index.js +3 -3
  495. package/es/v1/utils/editorUtils.js +6 -6
  496. package/es/version2/AlertClose/AlertClose.js +2 -2
  497. package/es/version2/AlertClose/__tests__/AlertClose.spec.js +1 -1
  498. package/es/version2/GlobalNotification/GlobalNotification.js +6 -6
  499. package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
  500. package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +1 -1
  501. package/es/version2/alertIcons/AlarmAlertIcon.js +3 -3
  502. package/es/version2/alertIcons/AlertIcons.js +9 -9
  503. package/es/version2/alertIcons/DangerAlertIcon.js +3 -3
  504. package/es/version2/alertIcons/ErrorAlertIcon.js +3 -3
  505. package/es/version2/alertIcons/InfoAlertIcon.js +3 -3
  506. package/es/version2/alertIcons/NotificationAlertIcon.js +3 -3
  507. package/es/version2/alertIcons/SuccessAlertIcon.js +3 -3
  508. package/es/version2/alertIcons/WarningAlertIcon.js +3 -3
  509. package/es/version2/alertIcons/__tests__/AlarmAlertIcon.spec.js +1 -1
  510. package/es/version2/alertIcons/__tests__/AlertIcons.spec.js +1 -1
  511. package/es/version2/alertIcons/__tests__/DangerAlertIcon.spec.js +1 -1
  512. package/es/version2/alertIcons/__tests__/ErrorAlertIcon.spec.js +1 -1
  513. package/es/version2/alertIcons/__tests__/InfoAlertIcon.spec.js +1 -1
  514. package/es/version2/alertIcons/__tests__/NotificationAlertIcon.spec.js +1 -1
  515. package/es/version2/alertIcons/__tests__/SuccessAlertIcon.spec.js +1 -1
  516. package/es/version2/alertIcons/__tests__/WarningAlertIcon.spec.js +1 -1
  517. package/es/version2/alertIcons/index.js +8 -8
  518. package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -4
  519. package/es/version2/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
  520. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
  521. package/es/version2/errorstate/OopsSomethingMiss/__tests__/OopsSomethingMiss.spec.js +1 -1
  522. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
  523. package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js +1 -1
  524. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
  525. package/es/version2/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
  526. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -4
  527. package/es/version2/errorstate/UrlNotFound/__tests__/UrlNotFound.spec.js +1 -1
  528. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
  529. package/es/version2/errorstate/WillBeRightBack/__tests__/WillBeRightBack.spec.js +1 -1
  530. package/es/version2/errorstate/index.js +6 -6
  531. package/es/version2/index.js +8 -8
  532. package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -7
  533. package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
  534. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
  535. package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -7
  536. package/es/version2/lookup/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
  537. package/es/version2/lookup/index.js +2 -2
  538. package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -6
  539. package/es/version2/notification/DesktopNotification/__tests__/DesktopNotification.spec.js +1 -1
  540. package/es/version2/notification/DesktopNotification/props/defaultProps.js +1 -1
  541. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
  542. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
  543. package/es/version2/notification/DesktopNotificationHeader/__tests__/DesktopNotificationHeader.spec.js +1 -1
  544. package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  545. package/es/version2/notification/index.js +3 -3
  546. package/lib/ActionButton/ActionButton.module.css +192 -192
  547. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  548. package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
  549. package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
  550. package/lib/FormAction/FormAction.module.css +100 -100
  551. package/lib/IconButton/IconButton.module.css +22 -22
  552. package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
  553. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  554. package/lib/common/dot_boxShadow.module.css +2 -0
  555. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
  556. package/lib/form/fields/TextEditor/TextEditor.js +74 -74
  557. package/lib/form/fields/TextEditor/TextEditor.module.css +73 -61
  558. package/lib/form/fields/TextEditor/props/defaultProps.js +4 -1
  559. package/lib/form/fields/TextEditor/props/propTypes.js +10 -2
  560. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  561. package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  562. package/lib/list/Comment/Comment.module.css +29 -29
  563. package/lib/list/Dot/Dot.module.css +15 -15
  564. package/lib/list/ListLayout/ListLayout.module.css +79 -79
  565. package/lib/list/Subject/Subject.module.css +34 -34
  566. package/lib/list/Thread/Thread.module.css +42 -42
  567. package/lib/utils/editorUtils.js +6 -5
  568. package/lib/v1/form/fields/TextEditor/TextEditor.js +73 -74
  569. package/lib/v1/form/fields/TextEditor/props/defaultProps.js +4 -1
  570. package/lib/v1/form/fields/TextEditor/props/propTypes.js +10 -2
  571. package/lib/v1/utils/editorUtils.js +6 -5
  572. package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
  573. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
  574. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
  575. package/package.json +4 -4
  576. package/result.json +1 -1
  577. package/unittest/index.html +38 -2
  578. package/es/DotProvider/DotProvider.js +0 -60
  579. package/es/DotProvider/hooks/useDotProvider.js +0 -55
  580. package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +0 -97
  581. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
  582. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
  583. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
  584. package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
  585. package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
  586. package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
  587. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
  588. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
  589. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
  590. package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
  591. package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
  592. package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
  593. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
  594. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
  595. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
  596. package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
  597. package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
  598. package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
  599. package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
  600. package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
  601. package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
  602. package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
  603. package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
  604. package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
  605. package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
  606. package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
  607. package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
  608. package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
  609. package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
  610. package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
  611. package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
  612. package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
  613. package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
  614. package/es/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
  615. package/es/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
  616. package/es/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
  617. package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
  618. package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
  619. package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
  620. package/es/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
  621. package/es/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
  622. package/es/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
  623. package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
  624. package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
  625. package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
  626. package/es/DotProvider/props/defaultProps.js +0 -11
  627. package/es/DotProvider/props/propTypes.js +0 -16
  628. package/es/DotProvider/utils/assetPromiseHandlers/fontSizeAssetPromise.js +0 -4
  629. package/es/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +0 -28
  630. package/es/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +0 -29
  631. package/es/DotProvider/utils/assetPromiseHandlers/zoomSizeAssetPromise.js +0 -4
  632. package/es/DotProvider/utils/constants.js +0 -14
  633. package/es/DotProvider/utils/errorValidation.js +0 -17
  634. package/es/DotProvider/utils/getAssetsImportPromises.js +0 -17
  635. package/es/DotProvider/utils/sizeAssetsConfig.js +0 -12
  636. package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +0 -47
  637. package/es/DotProvider/utils/themeColorAssetsConfig.js +0 -221
  638. package/lib/DotProvider/DotProvider.js +0 -88
  639. package/lib/DotProvider/hooks/useDotProvider.js +0 -83
  640. package/lib/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +0 -119
  641. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
  642. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
  643. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
  644. package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
  645. package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
  646. package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
  647. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
  648. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
  649. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
  650. package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
  651. package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
  652. package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
  653. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
  654. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
  655. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
  656. package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
  657. package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
  658. package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
  659. package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
  660. package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
  661. package/lib/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
  662. package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
  663. package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
  664. package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
  665. package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
  666. package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
  667. package/lib/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
  668. package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
  669. package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
  670. package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
  671. package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
  672. package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
  673. package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
  674. package/lib/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
  675. package/lib/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
  676. package/lib/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
  677. package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
  678. package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
  679. package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
  680. package/lib/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
  681. package/lib/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
  682. package/lib/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
  683. package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
  684. package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
  685. package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
  686. package/lib/DotProvider/props/defaultProps.js +0 -20
  687. package/lib/DotProvider/props/propTypes.js +0 -28
  688. package/lib/DotProvider/utils/assetPromiseHandlers/fontSizeAssetPromise.js +0 -12
  689. package/lib/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +0 -39
  690. package/lib/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +0 -40
  691. package/lib/DotProvider/utils/assetPromiseHandlers/zoomSizeAssetPromise.js +0 -12
  692. package/lib/DotProvider/utils/constants.js +0 -34
  693. package/lib/DotProvider/utils/errorValidation.js +0 -25
  694. package/lib/DotProvider/utils/getAssetsImportPromises.js +0 -22
  695. package/lib/DotProvider/utils/sizeAssetsConfig.js +0 -31
  696. package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +0 -69
  697. package/lib/DotProvider/utils/themeColorAssetsConfig.js +0 -249
@@ -29,9 +29,45 @@
29
29
  <th>FullName</th>
30
30
  <th>Test Case Path</th>
31
31
  </tr>
32
-
32
+ <tr>
33
+ <td>rendering the default props</td>
34
+ <td>NewStar rendering the default props</td>
35
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
36
+ </tr>,<tr>
37
+ <td>rendering the palette of - green</td>
38
+ <td>NewStar rendering the palette of - green</td>
39
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
40
+ </tr>,<tr>
41
+ <td>rendering the palette of - blue</td>
42
+ <td>NewStar rendering the palette of - blue</td>
43
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
44
+ </tr>,<tr>
45
+ <td>rendering the palette of - yellow</td>
46
+ <td>NewStar rendering the palette of - yellow</td>
47
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
48
+ </tr>,<tr>
49
+ <td>rendering the position of - topRight</td>
50
+ <td>NewStar rendering the position of - topRight</td>
51
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
52
+ </tr>,<tr>
53
+ <td>rendering the position of - topLeft</td>
54
+ <td>NewStar rendering the position of - topLeft</td>
55
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
56
+ </tr>,<tr>
57
+ <td>rendering the position of - bottomRight</td>
58
+ <td>NewStar rendering the position of - bottomRight</td>
59
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
60
+ </tr>,<tr>
61
+ <td>rendering the position of - bottomLeft</td>
62
+ <td>NewStar rendering the position of - bottomLeft</td>
63
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
64
+ </tr>,<tr>
65
+ <td>rendering the customClass props</td>
66
+ <td>NewStar rendering the customClass props</td>
67
+ <td>/Users/mari-19987/React_Package/jsapps/dot/dot/src/NewStar/__tests__/NewStar.spec.js</td>
68
+ </tr>
33
69
  </table>
34
- <br/>COVERAGE <span class="green">78.15%</span> <br/> less than 60% consider failure
70
+ <br/>COVERAGE <span class="green">78.04%</span> <br/> less than 60% consider failure
35
71
  </body>
36
72
  </html>
37
73
 
@@ -1,60 +0,0 @@
1
- import React, { useRef, useCallback, forwardRef } from "react";
2
- import { defaultProps } from "./props/defaultProps";
3
- import { propTypes } from "./props/propTypes";
4
- import useDotProvider from "./hooks/useDotProvider";
5
- const DotProvider = /*#__PURE__*/forwardRef((props, ref) => {
6
- const {
7
- tag: Element = 'div',
8
- themeAppearance,
9
- themeColor,
10
- baseZoomUnit,
11
- baseFontUnit,
12
- zoomUnitVariable,
13
- fontUnitVariable,
14
- themeAppearanceAttr,
15
- themeColorAttr,
16
- providerRef,
17
- onAssetsDownloadSuccess,
18
- getAssetsPromises,
19
- children,
20
- ...rest
21
- } = props;
22
- const wrapperElementRef = useRef(null);
23
- const getProviderElement = useCallback(() => {
24
- if (typeof providerRef === 'function') {
25
- return providerRef();
26
- } else if (Element !== React.Fragment) {
27
- return wrapperElementRef.current;
28
- } else {
29
- return document.documentElement;
30
- }
31
- }, [providerRef, Element]);
32
- const getEleRef = useCallback(ele => {
33
- wrapperElementRef.current = ele;
34
-
35
- if (ref && typeof ref === 'function') {
36
- ref(ele);
37
- } else if (ref && typeof ref === 'object') {
38
- ref.current = ele;
39
- }
40
- }, [ref]);
41
- useDotProvider({
42
- themeAppearance: themeAppearance,
43
- themeColor: themeColor,
44
- themeAppearanceAttr: themeAppearanceAttr,
45
- themeColorAttr: themeColorAttr,
46
- baseZoomUnit: baseZoomUnit,
47
- baseFontUnit: baseFontUnit,
48
- zoomUnitVariable: zoomUnitVariable,
49
- fontUnitVariable: fontUnitVariable,
50
- getProviderElement,
51
- onAssetsDownloadSuccess: onAssetsDownloadSuccess,
52
- getAssetsPromises: getAssetsPromises
53
- });
54
- return /*#__PURE__*/React.createElement(Element, { ...rest,
55
- ref: getEleRef
56
- }, children);
57
- });
58
- DotProvider.propTypes = propTypes;
59
- DotProvider.defaultProps = defaultProps;
60
- export default DotProvider;
@@ -1,55 +0,0 @@
1
- import { useLayoutEffect } from 'react';
2
- import useDownloadAssetsAndSetAttr from "./useDownloadAssetsAndSetAttr";
3
- import '@zohodesk/components/assets/Contrast/lightContrastLightness.module.css';
4
- import '@zohodesk/components/assets/Contrast/darkContrastLightness.module.css';
5
- import '@zohodesk/components/assets/Contrast/pureDarkContrastLightness.module.css';
6
- import '@zohodesk/variables/assets/colorVariables.module.css';
7
- import '@zohodesk/variables/assets/dotVariables.module.css';
8
- import '@zohodesk/components/es/common/basic.module.css';
9
- import '@zohodesk/variables/lib/fontFamilyVariables.module.css';
10
- import '@zohodesk/components/lib/common/boxShadow.module.css';
11
- import "../../common/dot_boxShadow.module.css";
12
-
13
- function useDotProvider(_ref) {
14
- let {
15
- themeAppearance,
16
- themeColor,
17
- baseZoomUnit,
18
- baseFontUnit,
19
- getProviderElement,
20
- zoomUnitVariable,
21
- fontUnitVariable,
22
- themeAppearanceAttr,
23
- themeColorAttr,
24
- onAssetsDownloadSuccess,
25
- getAssetsPromises
26
- } = _ref;
27
- const assetsPromises = useDownloadAssetsAndSetAttr({
28
- themeAppearance,
29
- themeColor,
30
- baseZoomUnit,
31
- baseFontUnit,
32
- getProviderElement,
33
- zoomUnitVariable,
34
- fontUnitVariable,
35
- themeAppearanceAttr,
36
- themeColorAttr
37
- });
38
- const {
39
- themeAppearancePromise,
40
- themeColorPromise,
41
- zoomSizePromise,
42
- fontSizePromise
43
- } = assetsPromises;
44
- const allPromises = [...themeAppearancePromise, ...themeColorPromise, zoomSizePromise, fontSizePromise];
45
- useLayoutEffect(() => {
46
- Promise.all(allPromises).then(() => {
47
- typeof onAssetsDownloadSuccess === 'function' && onAssetsDownloadSuccess();
48
- }).catch(error => {
49
- console.error('Error loading assets:', error);
50
- });
51
- typeof getAssetsPromises === 'function' && getAssetsPromises(assetsPromises);
52
- }, [...allPromises]);
53
- }
54
-
55
- export default useDotProvider;
@@ -1,97 +0,0 @@
1
- import { useMemo, useLayoutEffect } from 'react';
2
- import { getThemeAppearanceAssetPromise } from "../utils/assetPromiseHandlers/themeAppearanceAssetPromise.js";
3
- import { getThemeColorAssetPromise } from "../utils/assetPromiseHandlers/themeColorAssetPromise.js";
4
- import { getFontSizeAssetPromise } from "../utils/assetPromiseHandlers/fontSizeAssetPromise.js";
5
- import { getZoomSizeAssetPromise } from "../utils/assetPromiseHandlers/zoomSizeAssetPromise.js";
6
- export default function useDownloadAssetsAndSetAttr(_ref) {
7
- let {
8
- themeAppearance,
9
- themeColor,
10
- baseZoomUnit,
11
- baseFontUnit,
12
- getProviderElement,
13
- zoomUnitVariable,
14
- fontUnitVariable,
15
- themeAppearanceAttr,
16
- themeColorAttr
17
- } = _ref;
18
- const themeAppearancePromise = useMemo(() => {
19
- const themeAppearanceAssetPromise = getThemeAppearanceAssetPromise({
20
- themeAppearance
21
- });
22
- return themeAppearanceAssetPromise;
23
- }, [themeAppearance]);
24
- const themeColorPromise = useMemo(() => {
25
- const themeColorAssetPromise = getThemeColorAssetPromise({
26
- themeAppearance,
27
- themeColor
28
- });
29
- return themeColorAssetPromise;
30
- }, [themeAppearance, themeColor]);
31
- const modifiedZoomUnitWithSuffix = useMemo(() => {
32
- return !isNaN(Number(baseZoomUnit)) ? `${Number(baseZoomUnit)}px` : baseZoomUnit;
33
- }, [baseZoomUnit]);
34
- const zoomSizePromise = useMemo(() => {
35
- const assetPromise = getZoomSizeAssetPromise();
36
- return assetPromise;
37
- }, []);
38
- const fontSizePromise = useMemo(() => {
39
- const assetPromise = getFontSizeAssetPromise();
40
- return assetPromise;
41
- }, []);
42
- const combinedPromise = {
43
- themeAppearancePromise,
44
- themeColorPromise,
45
- zoomSizePromise,
46
- fontSizePromise
47
- };
48
-
49
- function setThemeAttribute() {
50
- const themePromise = [...themeAppearancePromise, ...themeColorPromise];
51
- Promise.all(themePromise).then(() => {
52
- const providerElement = getProviderElement();
53
-
54
- if (providerElement) {
55
- providerElement.setAttribute(themeAppearanceAttr, themeAppearance);
56
- providerElement.setAttribute(themeColorAttr, themeColor);
57
- }
58
- }).catch(error => {
59
- console.error('Error on setting theme appearance and color attributes:', error);
60
- });
61
- }
62
-
63
- function setZoomSizeAttribute() {
64
- zoomSizePromise.then(() => {
65
- const providerElement = getProviderElement();
66
-
67
- if (providerElement) {
68
- providerElement.style.setProperty(zoomUnitVariable, modifiedZoomUnitWithSuffix);
69
- }
70
- }).catch(error => {
71
- console.error('Error on setting zoom-size property', error);
72
- });
73
- }
74
-
75
- function setFontSizeAttribute() {
76
- fontSizePromise.then(() => {
77
- const providerElement = getProviderElement();
78
-
79
- if (providerElement) {
80
- providerElement.style.setProperty(fontUnitVariable, baseFontUnit);
81
- }
82
- }).catch(error => {
83
- console.error('Error on setting font-size property', error);
84
- });
85
- }
86
-
87
- useLayoutEffect(() => {
88
- setThemeAttribute();
89
- }, [themeAppearanceAttr, themeColorAttr, themeAppearance, themeColor, getProviderElement]);
90
- useLayoutEffect(() => {
91
- setZoomSizeAttribute();
92
- }, [zoomUnitVariable, modifiedZoomUnitWithSuffix, getProviderElement]);
93
- useLayoutEffect(() => {
94
- setFontSizeAttribute();
95
- }, [fontUnitVariable, baseFontUnit, getProviderElement]);
96
- return combinedPromise;
97
- }
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css';
@@ -1,3 +0,0 @@
1
- import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css';
2
- import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css';
3
- import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css';
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css";
@@ -1 +0,0 @@
1
- import "./../../../../../../assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css";
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/dark/themes/blue/blue_SVGTheme_DarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/light/themes/blue/blue_SVGTheme_LightTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/pureDark/themes/blue/blue_SVGTheme_PureDarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/dark/themes/green/green_SVGTheme_DarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/light/themes/green/green_SVGTheme_LightTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/pureDark/themes/green/green_SVGTheme_PureDarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/dark/themes/orange/orange_SVGTheme_DarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/light/themes/orange/orange_SVGTheme_LightTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/pureDark/themes/orange/orange_SVGTheme_PureDarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/dark/themes/red/red_SVGTheme_DarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/light/themes/red/red_SVGTheme_LightTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/pureDark/themes/red/red_SVGTheme_PureDarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/dark/themes/yellow/yellow_SVGTheme_DarkTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/light/themes/yellow/yellow_SVGTheme_LightTheme.module.css';
@@ -1 +0,0 @@
1
- import '@zohodesk/svg/assets/Appearance/pureDark/themes/yellow/yellow_SVGTheme_PureDarkTheme.module.css';
@@ -1,11 +0,0 @@
1
- import { THEME_APPEARANCE_LIGHT, THEME_COLOR_BLUE } from "../utils/constants";
2
- export const defaultProps = {
3
- themeAppearance: THEME_APPEARANCE_LIGHT,
4
- themeColor: THEME_COLOR_BLUE,
5
- baseZoomUnit: '1px',
6
- baseFontUnit: '16px',
7
- zoomUnitVariable: '--zd_baseUnit',
8
- fontUnitVariable: '--zd_baseFontUnit',
9
- themeAppearanceAttr: 'data-mode',
10
- themeColorAttr: 'data-theme'
11
- };
@@ -1,16 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- import { THEME_APPEARANCES, THEME_COLORS } from "../utils/constants";
3
- export const propTypes = {
4
- themeAppearance: PropTypes.oneOf(THEME_APPEARANCES),
5
- themeColor: PropTypes.oneOf(THEME_COLORS),
6
- baseZoomUnit: PropTypes.string,
7
- baseFontUnit: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
8
- zoomUnitVariable: PropTypes.string,
9
- fontUnitVariable: PropTypes.string,
10
- themeAppearanceAttr: PropTypes.string,
11
- themeColorAttr: PropTypes.string,
12
- providerRef: PropTypes.func,
13
- onAssetsDownloadSuccess: PropTypes.func,
14
- getAssetsPromises: PropTypes.func,
15
- children: PropTypes.node
16
- };
@@ -1,4 +0,0 @@
1
- import { sizeImports, sizeMapping } from "../sizeAssetsConfig";
2
- export function getFontSizeAssetPromise() {
3
- return sizeImports[sizeMapping.fontSize]();
4
- }
@@ -1,28 +0,0 @@
1
- import { getAssetsImportPromises } from "../getAssetsImportPromises";
2
- import { themeAppearanceImports, themeAppearanceMapping } from "../themeAppearanceAssetsConfig";
3
- import { validateAndLogError } from "../errorValidation";
4
- import { LIBRARIES, THEME_APPEARANCES } from "../constants";
5
- export function getThemeAppearanceAssetPromise(_ref) {
6
- let {
7
- themeAppearance
8
- } = _ref;
9
- const isError = validateAndLogError({
10
- options: THEME_APPEARANCES,
11
- value: themeAppearance,
12
- type: 'themeAppearance'
13
- });
14
-
15
- if (!isError) {
16
- const assetImportKeys = [];
17
- LIBRARIES.map(library => {
18
- const assetImportKey = themeAppearanceMapping[library][themeAppearance];
19
- assetImportKeys.push(assetImportKey);
20
- });
21
- return getAssetsImportPromises({
22
- assetImportKeys: assetImportKeys,
23
- assetImports: themeAppearanceImports
24
- });
25
- }
26
-
27
- return [];
28
- }
@@ -1,29 +0,0 @@
1
- import { getAssetsImportPromises } from "../getAssetsImportPromises";
2
- import { themeColorImports, themeColorMapping } from "../themeColorAssetsConfig";
3
- import { validateAndLogError } from "../errorValidation";
4
- import { LIBRARIES, THEME_COLORS } from "../constants";
5
- export function getThemeColorAssetPromise(_ref) {
6
- let {
7
- themeAppearance,
8
- themeColor
9
- } = _ref;
10
- const isError = validateAndLogError({
11
- options: THEME_COLORS,
12
- value: themeColor,
13
- type: 'themeColor'
14
- });
15
-
16
- if (!isError) {
17
- const assetImportKeys = [];
18
- LIBRARIES.map(library => {
19
- const assetImportKey = themeColorMapping[library][themeColor][themeAppearance];
20
- assetImportKeys.push(assetImportKey);
21
- });
22
- return getAssetsImportPromises({
23
- assetImportKeys: assetImportKeys,
24
- assetImports: themeColorImports
25
- });
26
- }
27
-
28
- return [];
29
- }
@@ -1,4 +0,0 @@
1
- import { sizeImports, sizeMapping } from "../sizeAssetsConfig";
2
- export function getZoomSizeAssetPromise() {
3
- return sizeImports[sizeMapping.zoomSize]();
4
- }
@@ -1,14 +0,0 @@
1
- export const LIBRARY_COMPONENT = 'component';
2
- export const LIBRARY_DOT = 'dot';
3
- export const LIBRARY_SVG = 'svg';
4
- export const THEME_APPEARANCE_LIGHT = 'light';
5
- export const THEME_APPEARANCE_DARK = 'dark';
6
- export const THEME_APPEARANCE_PURE_DARK = 'pureDark';
7
- export const THEME_COLOR_BLUE = 'blue';
8
- export const THEME_COLOR_GREEN = 'green';
9
- export const THEME_COLOR_ORANGE = 'orange';
10
- export const THEME_COLOR_RED = 'red';
11
- export const THEME_COLOR_YELLOW = 'yellow';
12
- export const LIBRARIES = [LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG];
13
- export const THEME_APPEARANCES = [THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_DARK, THEME_APPEARANCE_PURE_DARK];
14
- export const THEME_COLORS = [THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW];
@@ -1,17 +0,0 @@
1
- import { THEME_APPEARANCES, THEME_COLORS } from "./constants";
2
- export function validateAndLogError(_ref) {
3
- let {
4
- options,
5
- value,
6
- type
7
- } = _ref;
8
- let isError = !options.includes(value);
9
-
10
- if (isError) {
11
- const themeAppearances = THEME_APPEARANCES.toString();
12
- const themeColors = THEME_COLORS.toString();
13
- console.error(`We do not support the '${value} ${type}'. Please provide valid '${type}' values or check spelling. DotProvider supports ${themeAppearances} appearance & ${themeColors} theme.`);
14
- }
15
-
16
- return isError;
17
- }
@@ -1,17 +0,0 @@
1
- export function getAssetsImportPromises(_ref) {
2
- let {
3
- assetImportKeys,
4
- assetImports
5
- } = _ref;
6
- const promises = [];
7
- assetImportKeys.forEach(importKey => {
8
- const assetURL = assetImports[importKey];
9
-
10
- if (assetURL) {
11
- promises.push(assetURL());
12
- } else {
13
- console.error(`Import not found for ${importKey} from ${assetImports}`);
14
- }
15
- });
16
- return promises;
17
- }
@@ -1,12 +0,0 @@
1
- export const sizeImports = {
2
- Lib_ZoomSize: () => import(
3
- /* webpackChunkName: 'Lib_ZoomSize' */
4
- '@zohodesk/variables/assets/sizeVariables.module.css'),
5
- Lib_FontSize: () => import(
6
- /* webpackChunkName: 'Lib_FontSize' */
7
- '@zohodesk/variables/assets/fontsizeVariables.module.css')
8
- };
9
- export const sizeMapping = {
10
- zoomSize: 'Lib_ZoomSize',
11
- fontSize: 'Lib_FontSize'
12
- };