@zohodesk/dot 1.0.0-temp-144 → 1.0.0-temp-146

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 (320) hide show
  1. package/README.md +1249 -1232
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +12 -1
  3. package/assets/Appearance/default/mode/dotDefaultMode.module.css +12 -1
  4. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +12 -1
  5. package/dubFinder.js +96 -96
  6. package/es/ActionButton/ActionButton.module.css +139 -139
  7. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  8. package/es/Attachment/Attachment.module.css +157 -157
  9. package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
  10. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  11. package/es/Drawer/Drawer.js +3 -2
  12. package/es/Drawer/Drawer.module.css +189 -189
  13. package/es/ExternalLink/ExternalLink.js +0 -0
  14. package/es/ExternalLink/ExternalLink.module.css +3 -3
  15. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  16. package/es/FlipCard/FlipCard.module.css +44 -44
  17. package/es/FormAction/FormAction.module.css +82 -82
  18. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  19. package/es/FreezeLayer/props/propTypes.js +2 -1
  20. package/es/FreezeLayer/useFreezeLayer.js +3 -3
  21. package/es/IconButton/IconButton.module.css +22 -22
  22. package/es/Image/Image.module.css +10 -10
  23. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  24. package/es/Link/Link.js +3 -2
  25. package/es/Link/Link.module.css +3 -3
  26. package/es/Loader/Loader.module.css +46 -46
  27. package/es/Message/Message.module.css +102 -102
  28. package/es/MessageBanner/MessageBanner.module.css +46 -46
  29. package/es/NewStar/NewStar.module.css +175 -175
  30. package/es/PlusIcon/PlusIcon.js +0 -0
  31. package/es/PlusIcon/PlusIcon.module.css +18 -18
  32. package/es/Separator/Separator.module.css +34 -34
  33. package/es/TagWithIcon/TagWithIcon.js +41 -0
  34. package/es/TagWithIcon/TagWithIcon.module.css +56 -0
  35. package/es/TagWithIcon/props/defaultProps.js +8 -0
  36. package/es/TagWithIcon/props/propTypes.js +12 -0
  37. package/es/ToastMessage/ToastMessage.js +2 -5
  38. package/es/ToastMessage/ToastMessage.module.css +328 -328
  39. package/es/Upload/Upload.module.css +125 -125
  40. package/es/actions/AutoClose.js +2 -5
  41. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  42. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  43. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  44. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  45. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  46. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  47. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  48. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  49. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  50. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  51. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  52. package/es/common/dot_animation.module.css +26 -26
  53. package/es/common/dot_boxShadow.module.css +37 -37
  54. package/es/common/dot_common.module.css +3 -3
  55. package/es/common/dot_docStyle.module.css +34 -34
  56. package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  57. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  58. package/es/deprecated/utils/KeyboardApi.js +25 -25
  59. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  60. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  61. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  62. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  63. package/es/errorstate/EmptyStates.module.css +87 -87
  64. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  65. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  66. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  67. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  68. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  69. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  70. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  71. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  72. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  73. package/es/form/fields/Fields.module.css +183 -183
  74. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  75. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  76. package/es/form/fields/TextEditor/TextEditor.js +16 -10
  77. package/es/form/fields/TextEditor/TextEditor.module.css +763 -763
  78. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  79. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  80. package/es/form/layout/Field/Field.js +0 -0
  81. package/es/form/layout/Field/Field.module.css +22 -22
  82. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  83. package/es/form/layout/Section/Section.js +0 -0
  84. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  85. package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  86. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  87. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  88. package/es/list/Comment/Comment.module.css +29 -29
  89. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  90. package/es/list/Dot/Dot.module.css +15 -15
  91. package/es/list/DotNew/DotNew.module.css +24 -24
  92. package/es/list/GridStencils/GridStencils.module.css +146 -146
  93. package/es/list/Icons/Icons.module.css +16 -16
  94. package/es/list/ListLayout/ListLayout.module.css +57 -57
  95. package/es/list/ListStencils/ListStencils.module.css +67 -67
  96. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  97. package/es/list/SecondaryText/Website.js +0 -0
  98. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  99. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  100. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  101. package/es/list/Subject/Subject.module.css +27 -27
  102. package/es/list/TagNew/TagNew.module.css +116 -116
  103. package/es/list/Thread/Thread.module.css +42 -42
  104. package/es/list/UserTime/UserTime.module.css +58 -58
  105. package/es/list/listCommon.module.css +60 -60
  106. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  107. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  108. package/es/list/status/StatusListItem/StatusListItem.module.css +109 -109
  109. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  110. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  111. package/es/lookup/Lookup/Lookup.js +0 -0
  112. package/es/lookup/Lookup/Lookup.module.css +26 -26
  113. package/es/lookup/Section/LookupSection.module.css +7 -7
  114. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  115. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  116. package/es/lookup/header/Search/Search.js +5 -8
  117. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  118. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  119. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  120. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  121. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  122. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  123. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  124. package/es/setup/header/Search/Search.module.css +68 -68
  125. package/es/setup/header/Views/Views.module.css +37 -37
  126. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  127. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  128. package/es/setup/helptips/Link/Link.js +0 -0
  129. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  130. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  131. package/es/setup/helptips/Title/Title.js +0 -0
  132. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  133. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  134. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  135. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  136. package/es/setup/table/Text/TableText.module.css +37 -37
  137. package/es/setup/table/Text/Text.js +0 -0
  138. package/es/svg/PlusIcon.js +1 -1
  139. package/es/svg/SnippetIcon.js +2 -2
  140. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  141. package/es/version2/GlobalNotification/GlobalNotification.module.css +127 -127
  142. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  143. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  144. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  145. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  146. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  147. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +126 -126
  148. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  149. package/install.md +12 -12
  150. package/lib/ActionButton/ActionButton.module.css +139 -139
  151. package/lib/AlphabeticList/AlphabeticList.js +1 -1
  152. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  153. package/lib/Attachment/Attachment.module.css +157 -157
  154. package/lib/AttachmentViewer/AttachmentImage.js +1 -1
  155. package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
  156. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  157. package/lib/Drawer/Drawer.js +3 -2
  158. package/lib/Drawer/Drawer.module.css +189 -189
  159. package/lib/ExternalLink/ExternalLink.js +1 -1
  160. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  161. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  162. package/lib/FlipCard/FlipCard.module.css +44 -44
  163. package/lib/FormAction/FormAction.module.css +82 -82
  164. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  165. package/lib/FreezeLayer/props/propTypes.js +4 -2
  166. package/lib/FreezeLayer/useFreezeLayer.js +2 -2
  167. package/lib/IconButton/IconButton.module.css +22 -22
  168. package/lib/Image/Image.module.css +10 -10
  169. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  170. package/lib/Link/Link.js +3 -2
  171. package/lib/Link/Link.module.css +3 -3
  172. package/lib/Loader/Loader.module.css +46 -46
  173. package/lib/Message/Message.module.css +102 -102
  174. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  175. package/lib/NewStar/NewStar.module.css +175 -175
  176. package/lib/PlusIcon/PlusIcon.js +0 -0
  177. package/lib/PlusIcon/PlusIcon.module.css +18 -18
  178. package/lib/Separator/Separator.module.css +34 -34
  179. package/lib/TagWithIcon/TagWithIcon.js +71 -0
  180. package/lib/TagWithIcon/TagWithIcon.module.css +56 -0
  181. package/lib/TagWithIcon/props/defaultProps.js +15 -0
  182. package/lib/TagWithIcon/props/propTypes.js +20 -0
  183. package/lib/ToastMessage/ToastMessage.js +4 -6
  184. package/lib/ToastMessage/ToastMessage.module.css +328 -328
  185. package/lib/Upload/Upload.module.css +125 -125
  186. package/lib/actions/AutoClose.js +2 -5
  187. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  188. package/lib/alert/AlertLookup/AlertLookup.js +1 -1
  189. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  190. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  191. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  192. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  193. package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
  194. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  195. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  196. package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
  197. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  198. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  199. package/lib/common/dot_animation.module.css +26 -26
  200. package/lib/common/dot_boxShadow.module.css +37 -37
  201. package/lib/common/dot_common.module.css +3 -3
  202. package/lib/common/dot_docStyle.module.css +34 -34
  203. package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  204. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  205. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  206. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  207. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  208. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  209. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  210. package/lib/errorstate/EmptyStates.module.css +87 -87
  211. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  212. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  213. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  214. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  215. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  216. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  217. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  218. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  219. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  220. package/lib/form/fields/CurrencyField/CurrencyField.js +1 -1
  221. package/lib/form/fields/DateField/DateField.js +1 -1
  222. package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
  223. package/lib/form/fields/Fields.module.css +183 -183
  224. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  225. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  226. package/lib/form/fields/RadioField/RadioField.js +1 -1
  227. package/lib/form/fields/SelectField/SelectField.js +1 -1
  228. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  229. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
  230. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  231. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  232. package/lib/form/fields/TextEditor/TextEditor.js +18 -11
  233. package/lib/form/fields/TextEditor/TextEditor.module.css +763 -763
  234. package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
  235. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  236. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  237. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  238. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  239. package/lib/form/layout/Field/Field.js +0 -0
  240. package/lib/form/layout/Field/Field.module.css +22 -22
  241. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  242. package/lib/form/layout/Section/Section.js +0 -0
  243. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  244. package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  245. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  246. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  247. package/lib/list/Comment/Comment.module.css +29 -29
  248. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  249. package/lib/list/Dot/Dot.module.css +15 -15
  250. package/lib/list/DotNew/DotNew.module.css +24 -24
  251. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  252. package/lib/list/Icons/Icons.module.css +16 -16
  253. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  254. package/lib/list/ListStencils/ListStencils.js +1 -1
  255. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  256. package/lib/list/SecondaryText/AccountName.js +1 -1
  257. package/lib/list/SecondaryText/Email.js +1 -1
  258. package/lib/list/SecondaryText/HappinessRating.js +1 -1
  259. package/lib/list/SecondaryText/PhoneNumber.js +1 -1
  260. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  261. package/lib/list/SecondaryText/Website.js +1 -1
  262. package/lib/list/SecondryPanel/SecondryPanel.js +1 -1
  263. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  264. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  265. package/lib/list/Subject/Subject.module.css +27 -27
  266. package/lib/list/TagNew/TagNew.module.css +116 -116
  267. package/lib/list/Thread/Thread.module.css +42 -42
  268. package/lib/list/UserTime/UserTime.module.css +58 -58
  269. package/lib/list/listCommon.module.css +60 -60
  270. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  271. package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
  272. package/lib/list/status/StatusListItem/StatusListItem.module.css +109 -109
  273. package/lib/lookup/EmptyPage/EmptyPage.js +1 -1
  274. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  275. package/lib/lookup/Lookup/Lookup.js +1 -1
  276. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  277. package/lib/lookup/Section/LookupSection.module.css +7 -7
  278. package/lib/lookup/header/Close/Close.js +1 -1
  279. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  280. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  281. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  282. package/lib/lookup/header/Search/Search.js +6 -11
  283. package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
  284. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  285. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  286. package/lib/lookup/header/Title/Title.js +1 -1
  287. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  288. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  289. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  290. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  291. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  292. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  293. package/lib/setup/header/Search/Search.module.css +68 -68
  294. package/lib/setup/header/Views/Views.module.css +37 -37
  295. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  296. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  297. package/lib/setup/helptips/Link/Link.js +0 -0
  298. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  299. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  300. package/lib/setup/helptips/Title/Title.js +0 -0
  301. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  302. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  303. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  304. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  305. package/lib/setup/table/Text/TableText.module.css +37 -37
  306. package/lib/setup/table/Text/Text.js +0 -0
  307. package/lib/svg/PlusIcon.js +1 -1
  308. package/lib/svg/SnippetIcon.js +2 -2
  309. package/lib/version2/AlertClose/AlertClose.js +1 -1
  310. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  311. package/lib/version2/GlobalNotification/GlobalNotification.module.css +127 -127
  312. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  313. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  314. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  315. package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -1
  316. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  317. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  318. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +126 -126
  319. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  320. package/package.json +99 -99
@@ -1,175 +1,175 @@
1
- .star {
2
- position: absolute;
3
- height: var(--zd_size20);
4
- width: var(--zd_size21);
5
- }
6
- .topLeft {
7
- top: 0;
8
- }
9
- [dir=ltr] .topLeft {
10
- transform: translate(-45%, -45%);
11
- left: 0;
12
- }
13
- [dir=rtl] .topLeft {
14
- transform: translate(45%, -45%);
15
- right: 0;
16
- }
17
- .topRight {
18
- top: 0;
19
- }
20
- [dir=ltr] .topRight {
21
- transform: translate(45%, -45%);
22
- right: 0;
23
- }
24
- [dir=rtl] .topRight {
25
- transform: translate(-45%, -45%);
26
- left: 0;
27
- }
28
- .bottomLeft {
29
- bottom: 0;
30
- }
31
- [dir=ltr] .bottomLeft {
32
- transform: translate(-45%, 45%);
33
- left: 0;
34
- }
35
- [dir=rtl] .bottomLeft {
36
- transform: translate(45%, 45%);
37
- right: 0;
38
- }
39
- .bottomRight {
40
- bottom: 0;
41
- }
42
- [dir=ltr] .bottomRight {
43
- transform: translate(45%, 45%);
44
- right: 0;
45
- }
46
- [dir=rtl] .bottomRight {
47
- transform: translate(-45%, 45%);
48
- left: 0;
49
- }
50
-
51
- .stars {
52
- position: absolute;
53
- }
54
-
55
- [dir=ltr] .stars {
56
- animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
57
- }
58
-
59
- [dir=rtl] .stars {
60
- animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
61
- }
62
- .green::before {
63
- color: var(--zdt_newstar_green_text);
64
- }
65
- .yellow::before {
66
- color: var(--zdt_newstar_yellow_text);
67
- }
68
- .blue::before {
69
- color: var(--zdt_newstar_blue_text);
70
- }
71
- .starOne {
72
- composes: stars;
73
- }
74
- .starTwo {
75
- composes: stars;
76
- }
77
- [dir=ltr] .starTwo {
78
- animation-delay: 0.5s;
79
- }
80
- [dir=rtl] .starTwo {
81
- animation-delay: 0.5s;
82
- }
83
- .starThree {
84
- composes: stars;
85
- }
86
- [dir=ltr] .starThree {
87
- animation-delay: 1s;
88
- }
89
- [dir=rtl] .starThree {
90
- animation-delay: 1s;
91
- }
92
-
93
- .topLeft .starOne{top:0}
94
-
95
- [dir=ltr] .topLeft .starOne{
96
- left:0}
97
-
98
- [dir=rtl] .topLeft .starOne{right:0}
99
- .topLeft .starTwo{top:0}
100
- [dir=ltr] .topLeft .starTwo{
101
- left:10px}
102
- [dir=rtl] .topLeft .starTwo{right:10px}
103
- .topLeft .starThree{top:10px}
104
- [dir=ltr] .topLeft .starThree{
105
- left:0}
106
- [dir=rtl] .topLeft .starThree{right:0}
107
-
108
- .topRight .starOne{top:0}
109
-
110
- [dir=ltr] .topRight .starOne{
111
- right:0}
112
-
113
- [dir=rtl] .topRight .starOne{left:0}
114
- .topRight .starTwo{top:0}
115
- [dir=ltr] .topRight .starTwo{
116
- right:10px}
117
- [dir=rtl] .topRight .starTwo{left:10px}
118
- .topRight .starThree{top:10px}
119
- [dir=ltr] .topRight .starThree{
120
- right:0}
121
- [dir=rtl] .topRight .starThree{left:0}
122
-
123
- .bottomLeft .starOne{bottom:0}
124
-
125
- [dir=ltr] .bottomLeft .starOne{
126
- left:0}
127
-
128
- [dir=rtl] .bottomLeft .starOne{right:0}
129
- .bottomLeft .starTwo{bottom:0}
130
- [dir=ltr] .bottomLeft .starTwo{
131
- left:10px}
132
- [dir=rtl] .bottomLeft .starTwo{right:10px}
133
- .bottomLeft .starThree{bottom:10px}
134
- [dir=ltr] .bottomLeft .starThree{
135
- left:0}
136
- [dir=rtl] .bottomLeft .starThree{right:0}
137
-
138
- .bottomRight .starOne{bottom:0}
139
-
140
- [dir=ltr] .bottomRight .starOne{
141
- right:0}
142
-
143
- [dir=rtl] .bottomRight .starOne{left:0}
144
- .bottomRight .starTwo{bottom:0}
145
- [dir=ltr] .bottomRight .starTwo{
146
- right:10px}
147
- [dir=rtl] .bottomRight .starTwo{left:10px}
148
- .bottomRight .starThree{bottom:10px}
149
- [dir=ltr] .bottomRight .starThree{
150
- right:0}
151
- [dir=rtl] .bottomRight .starThree{left:0}
152
-
153
- @keyframes twinkle {
154
- 0% {
155
- opacity: 0.5;
156
- }
157
- 50% {
158
- opacity: 1;
159
- }
160
- 100% {
161
- opacity: 0.6;
162
- }
163
- }
164
-
165
- @keyframes star-scale {
166
- 0% {
167
- transform: perspective(1px) scale(0.7);
168
- }
169
- 50% {
170
- transform: perspective(1px) scale(1, 1);
171
- }
172
- 100% {
173
- transform: perspective(1px) scale(0.7);
174
- }
175
- }
1
+ .star {
2
+ position: absolute;
3
+ height: var(--zd_size20);
4
+ width: var(--zd_size21);
5
+ }
6
+ .topLeft {
7
+ top: 0;
8
+ }
9
+ [dir=ltr] .topLeft {
10
+ transform: translate(-45%, -45%);
11
+ left: 0;
12
+ }
13
+ [dir=rtl] .topLeft {
14
+ transform: translate(45%, -45%);
15
+ right: 0;
16
+ }
17
+ .topRight {
18
+ top: 0;
19
+ }
20
+ [dir=ltr] .topRight {
21
+ transform: translate(45%, -45%);
22
+ right: 0;
23
+ }
24
+ [dir=rtl] .topRight {
25
+ transform: translate(-45%, -45%);
26
+ left: 0;
27
+ }
28
+ .bottomLeft {
29
+ bottom: 0;
30
+ }
31
+ [dir=ltr] .bottomLeft {
32
+ transform: translate(-45%, 45%);
33
+ left: 0;
34
+ }
35
+ [dir=rtl] .bottomLeft {
36
+ transform: translate(45%, 45%);
37
+ right: 0;
38
+ }
39
+ .bottomRight {
40
+ bottom: 0;
41
+ }
42
+ [dir=ltr] .bottomRight {
43
+ transform: translate(45%, 45%);
44
+ right: 0;
45
+ }
46
+ [dir=rtl] .bottomRight {
47
+ transform: translate(-45%, 45%);
48
+ left: 0;
49
+ }
50
+
51
+ .stars {
52
+ position: absolute;
53
+ }
54
+
55
+ [dir=ltr] .stars {
56
+ animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
57
+ }
58
+
59
+ [dir=rtl] .stars {
60
+ animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
61
+ }
62
+ .green::before {
63
+ color: var(--zdt_newstar_green_text);
64
+ }
65
+ .yellow::before {
66
+ color: var(--zdt_newstar_yellow_text);
67
+ }
68
+ .blue::before {
69
+ color: var(--zdt_newstar_blue_text);
70
+ }
71
+ .starOne {
72
+ composes: stars;
73
+ }
74
+ .starTwo {
75
+ composes: stars;
76
+ }
77
+ [dir=ltr] .starTwo {
78
+ animation-delay: 0.5s;
79
+ }
80
+ [dir=rtl] .starTwo {
81
+ animation-delay: 0.5s;
82
+ }
83
+ .starThree {
84
+ composes: stars;
85
+ }
86
+ [dir=ltr] .starThree {
87
+ animation-delay: 1s;
88
+ }
89
+ [dir=rtl] .starThree {
90
+ animation-delay: 1s;
91
+ }
92
+
93
+ .topLeft .starOne{top:0}
94
+
95
+ [dir=ltr] .topLeft .starOne{
96
+ left:0}
97
+
98
+ [dir=rtl] .topLeft .starOne{right:0}
99
+ .topLeft .starTwo{top:0}
100
+ [dir=ltr] .topLeft .starTwo{
101
+ left:10px}
102
+ [dir=rtl] .topLeft .starTwo{right:10px}
103
+ .topLeft .starThree{top:10px}
104
+ [dir=ltr] .topLeft .starThree{
105
+ left:0}
106
+ [dir=rtl] .topLeft .starThree{right:0}
107
+
108
+ .topRight .starOne{top:0}
109
+
110
+ [dir=ltr] .topRight .starOne{
111
+ right:0}
112
+
113
+ [dir=rtl] .topRight .starOne{left:0}
114
+ .topRight .starTwo{top:0}
115
+ [dir=ltr] .topRight .starTwo{
116
+ right:10px}
117
+ [dir=rtl] .topRight .starTwo{left:10px}
118
+ .topRight .starThree{top:10px}
119
+ [dir=ltr] .topRight .starThree{
120
+ right:0}
121
+ [dir=rtl] .topRight .starThree{left:0}
122
+
123
+ .bottomLeft .starOne{bottom:0}
124
+
125
+ [dir=ltr] .bottomLeft .starOne{
126
+ left:0}
127
+
128
+ [dir=rtl] .bottomLeft .starOne{right:0}
129
+ .bottomLeft .starTwo{bottom:0}
130
+ [dir=ltr] .bottomLeft .starTwo{
131
+ left:10px}
132
+ [dir=rtl] .bottomLeft .starTwo{right:10px}
133
+ .bottomLeft .starThree{bottom:10px}
134
+ [dir=ltr] .bottomLeft .starThree{
135
+ left:0}
136
+ [dir=rtl] .bottomLeft .starThree{right:0}
137
+
138
+ .bottomRight .starOne{bottom:0}
139
+
140
+ [dir=ltr] .bottomRight .starOne{
141
+ right:0}
142
+
143
+ [dir=rtl] .bottomRight .starOne{left:0}
144
+ .bottomRight .starTwo{bottom:0}
145
+ [dir=ltr] .bottomRight .starTwo{
146
+ right:10px}
147
+ [dir=rtl] .bottomRight .starTwo{left:10px}
148
+ .bottomRight .starThree{bottom:10px}
149
+ [dir=ltr] .bottomRight .starThree{
150
+ right:0}
151
+ [dir=rtl] .bottomRight .starThree{left:0}
152
+
153
+ @keyframes twinkle {
154
+ 0% {
155
+ opacity: 0.5;
156
+ }
157
+ 50% {
158
+ opacity: 1;
159
+ }
160
+ 100% {
161
+ opacity: 0.6;
162
+ }
163
+ }
164
+
165
+ @keyframes star-scale {
166
+ 0% {
167
+ transform: perspective(1px) scale(0.7);
168
+ }
169
+ 50% {
170
+ transform: perspective(1px) scale(1, 1);
171
+ }
172
+ 100% {
173
+ transform: perspective(1px) scale(0.7);
174
+ }
175
+ }
File without changes
@@ -1,19 +1,19 @@
1
- .container {
2
- composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
3
- border-radius: 50%;
4
- box-shadow: var(--zd_bs_plusicon_container);
5
- cursor: pointer;
6
- background-color: var(--zdt_plusicon_bg);
7
- }
8
-
9
- .plusIcon {
10
- border: 1px solid var(--zdt_plusicon_border);
11
- }
12
-
13
- .icon {
14
- color: var(--zdt_plusicon_text);
15
- }
16
-
17
- .plusIcon:hover {
18
- border-color: var(--zdt_plusicon_hover_border);
1
+ .container {
2
+ composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
3
+ border-radius: 50%;
4
+ box-shadow: var(--zd_bs_plusicon_container);
5
+ cursor: pointer;
6
+ background-color: var(--zdt_plusicon_bg);
7
+ }
8
+
9
+ .plusIcon {
10
+ border: 1px solid var(--zdt_plusicon_border);
11
+ }
12
+
13
+ .icon {
14
+ color: var(--zdt_plusicon_text);
15
+ }
16
+
17
+ .plusIcon:hover {
18
+ border-color: var(--zdt_plusicon_hover_border);
19
19
  }
@@ -1,34 +1,34 @@
1
- .varClass {
2
- --separator_fontSize: var(--zd_font_size15);
3
- }
4
- .separator {
5
- font-size: var(--separator_fontSize);
6
- margin: 0 var(--zd_size5);
7
- }
8
- .dot {
9
- --separator_fontSize: var(--zd_font_size8);
10
- }
11
- .slash {
12
- --separator_fontSize: var(--zd_font_size10);
13
- /* line-height: var(--zd_size10); */
14
- }
15
- .arrow {
16
- --separator_fontSize: var(--zd_font_size8);
17
- /* line-height: var(--zd_size7); */
18
- }
19
- .comma {
20
- --separator_fontSize: var(--zd_font_size15);
21
- /* line-height: var(--zd_size13); */
22
- }
23
- .none {
24
- display: none;
25
- }
26
- .default {
27
- color: var(--zdt_separator_default_text);
28
- }
29
- .primary {
30
- color: var(--zdt_separator_primary_text);
31
- }
32
- .secondary {
33
- color: var(--zdt_separator_secondary_text);
34
- }
1
+ .varClass {
2
+ --separator_fontSize: var(--zd_font_size15);
3
+ }
4
+ .separator {
5
+ font-size: var(--separator_fontSize);
6
+ margin: 0 var(--zd_size5);
7
+ }
8
+ .dot {
9
+ --separator_fontSize: var(--zd_font_size8);
10
+ }
11
+ .slash {
12
+ --separator_fontSize: var(--zd_font_size10);
13
+ /* line-height: var(--zd_size10); */
14
+ }
15
+ .arrow {
16
+ --separator_fontSize: var(--zd_font_size8);
17
+ /* line-height: var(--zd_size7); */
18
+ }
19
+ .comma {
20
+ --separator_fontSize: var(--zd_font_size15);
21
+ /* line-height: var(--zd_size13); */
22
+ }
23
+ .none {
24
+ display: none;
25
+ }
26
+ .default {
27
+ color: var(--zdt_separator_default_text);
28
+ }
29
+ .primary {
30
+ color: var(--zdt_separator_primary_text);
31
+ }
32
+ .secondary {
33
+ color: var(--zdt_separator_secondary_text);
34
+ }
@@ -0,0 +1,41 @@
1
+ import React from 'react';
2
+ import { defaultProps } from './props/defaultProps';
3
+ import { propTypes } from './props/propTypes';
4
+ import { Container, Box } from '@zohodesk/components/es/Layout';
5
+ import Icon from '@zohodesk/icons/es/Icon';
6
+ import style from './TagWithIcon.module.css';
7
+ export default class TagWithIcon extends React.Component {
8
+ render() {
9
+ const {
10
+ text,
11
+ iconName,
12
+ iconSize,
13
+ palette,
14
+ iconClass,
15
+ isBold,
16
+ size,
17
+ dataId,
18
+ className,
19
+ title
20
+ } = this.props;
21
+ return /*#__PURE__*/React.createElement(Container, {
22
+ isInline: true,
23
+ alignBox: "row",
24
+ align: "vertical",
25
+ isCover: false,
26
+ className: `${style.wrapper} ${style[palette]} ${style[size]} ${className}`,
27
+ dataId: dataId,
28
+ title: title
29
+ }, iconName ? /*#__PURE__*/React.createElement(Icon, {
30
+ name: iconName,
31
+ size: iconSize,
32
+ iconClass: `${text ? style.iconSpace : ''} ${iconClass} `
33
+ }) : null, text ? /*#__PURE__*/React.createElement(Box, {
34
+ shrink: true,
35
+ "data-title": text,
36
+ className: `${style.text} ${style[size]}_text ${isBold ? style.bold : ''}`
37
+ }, text) : null);
38
+ }
39
+ }
40
+ TagWithIcon.propTypes = propTypes;
41
+ TagWithIcon.defaultProps = defaultProps;
@@ -0,0 +1,56 @@
1
+ .varClass {
2
+ --tag_bg_color: var(--zdt_tagWithIconGrey_bg);
3
+ --tag_text_color: var(--zdt_tagWithIconGrey_text);
4
+ --tag_border_color: var(--zdt_tagWithIconGrey_border);
5
+ --tag_small_fontSize: var(--zd_font_size10);
6
+ --tag_large_fontSize: var(--zd_font_size12);
7
+ }
8
+ .wrapper {
9
+ composes: varClass;
10
+ color: var(--tag_text_color);
11
+ background-color: var(--tag_bg_color);
12
+ }
13
+ .small,
14
+ .large {
15
+ max-width: 100%;
16
+ height: var(--zd_size18);
17
+ }
18
+ .small, .large {
19
+ border: 1px solid;
20
+ border-color: var(--tag_border_color);
21
+ border-radius: var(--zd_size4);
22
+ padding: 0 var(--zd_size6);
23
+ }
24
+ .bold {
25
+ composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
26
+ }
27
+ .small_text {
28
+ font-size: var(--tag_small_fontSize);
29
+ }
30
+ .large_text {
31
+ font-size: var(--tag_large_fontSize);
32
+ }
33
+ .text {
34
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
35
+ }
36
+ [dir=ltr] .iconSpace{
37
+ margin-right: var(--zd_size4);
38
+ }
39
+ [dir=rtl] .iconSpace{
40
+ margin-left: var(--zd_size4);
41
+ }
42
+ .yellow {
43
+ --tag_bg_color: var(--zdt_tagWithIconYellow_bg);
44
+ --tag_text_color: var(--zdt_tagWithIconYellow_text);
45
+ --tag_border_color: var(--zdt_tagWithIconYellow_border);
46
+ }
47
+ .grey {
48
+ --tag_bg_color: var(--zdt_tagWithIconGrey_bg);
49
+ --tag_text_color: var(--zdt_tagWithIconGrey_text);
50
+ --tag_border_color: var(--zdt_tagWithIconGrey_border);
51
+ }
52
+ .blue {
53
+ --tag_bg_color: var(--zdt_tagWithIconBlue_bg);
54
+ --tag_text_color: var(--zdt_tagWithIconBlue_text);
55
+ --tag_border_color: var(--zdt_tagWithIconBlue_border);
56
+ }
@@ -0,0 +1,8 @@
1
+ export const defaultProps = {
2
+ iconSize: '9',
3
+ size: 'large',
4
+ iconClass: '',
5
+ isBold: true,
6
+ palette: 'grey',
7
+ className: ''
8
+ };
@@ -0,0 +1,12 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ iconClass: PropTypes.string,
4
+ iconName: PropTypes.string,
5
+ iconSize: PropTypes.string,
6
+ title: PropTypes.string,
7
+ isBold: PropTypes.bool,
8
+ palette: PropTypes.oneOf(['yellow', 'blue', 'grey']),
9
+ size: PropTypes.oneOf('small', 'large'),
10
+ className: PropTypes.string,
11
+ text: PropTypes.string
12
+ };
@@ -3,6 +3,7 @@ import React, { useState } from 'react';
3
3
  import { defaultProps } from './props/defaultProps';
4
4
  import { propTypes } from './props/propTypes';
5
5
  //components
6
+ import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
6
7
  import { Icon } from '@zohodesk/icons';
7
8
  import { Container, Box } from '@zohodesk/components/lib/Layout';
8
9
  import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
@@ -11,10 +12,6 @@ import AutoClose from '../actions/AutoClose';
11
12
  import a11yStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
12
13
  //style
13
14
  import style from './ToastMessage.module.css';
14
- function removeClose(e) {
15
- e && e.stopPropagation && e.stopPropagation();
16
- e && e.nativeEvent && e.nativeEvent.stopImmediatePropagation && e.nativeEvent.stopImmediatePropagation();
17
- }
18
15
  function ToastMessageUI(props) {
19
16
  let [messageState, setMessageState] = useState(props.messageState);
20
17
  let {
@@ -54,7 +51,7 @@ function ToastMessageUI(props) {
54
51
  onClose && onClose();
55
52
  }
56
53
  function changeMessageState(e) {
57
- removeClose(e);
54
+ cancelBubblingEffect(e);
58
55
  setMessageState(!messageState);
59
56
  }
60
57
  let animateClass = isClose ? style.rightanimate : style.leftanimate;