@zohodesk/dot 1.0.0-temp-119 → 1.0.0-temp-121

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 (471) hide show
  1. package/README.md +1202 -1197
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +316 -313
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +9 -9
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +9 -9
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +9 -9
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +9 -9
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +310 -307
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +9 -9
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +9 -9
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +9 -9
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +9 -9
  14. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +319 -316
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +9 -9
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +9 -9
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +9 -9
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +9 -9
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +9 -9
  20. package/css_error.log +56 -0
  21. package/dubFinder.js +96 -96
  22. package/es/ActionButton/ActionButton.js +6 -4
  23. package/es/ActionButton/ActionButton.module.css +139 -139
  24. package/es/ActionButton/props/defaultProps.js +1 -1
  25. package/es/ActionButton/props/propTypes.js +1 -1
  26. package/es/AlphabeticList/AlphabeticList.js +4 -2
  27. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  28. package/es/AlphabeticList/props/defaultProps.js +2 -1
  29. package/es/AlphabeticList/props/propTypes.js +2 -1
  30. package/es/Attachment/Attachment.js +4 -2
  31. package/es/Attachment/Attachment.module.css +157 -157
  32. package/es/Attachment/props/defaultProps.js +2 -1
  33. package/es/Attachment/props/propTypes.js +1 -0
  34. package/es/AttachmentViewer/AttachmentViewer.module.css +353 -354
  35. package/es/ChannelIcon/ChannelIcon.js +4 -2
  36. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  37. package/es/ChannelIcon/props/defaultProps.js +2 -1
  38. package/es/ChannelIcon/props/propTypes.js +2 -1
  39. package/es/Drawer/Drawer.js +0 -0
  40. package/es/Drawer/Drawer.module.css +189 -150
  41. package/es/ExternalLink/ExternalLink.js +0 -0
  42. package/es/ExternalLink/ExternalLink.module.css +3 -3
  43. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  44. package/es/FlipCard/FlipCard.module.css +44 -44
  45. package/es/FormAction/FormAction.js +4 -2
  46. package/es/FormAction/FormAction.module.css +82 -82
  47. package/es/FormAction/props/defaultProps.js +2 -1
  48. package/es/FormAction/props/propTypes.js +2 -1
  49. package/es/FreezeLayer/FreezeLayer.module.css +42 -42
  50. package/es/IconButton/IconButton.js +2 -0
  51. package/es/IconButton/IconButton.module.css +22 -22
  52. package/es/IconButton/props/defaultProps.js +2 -1
  53. package/es/IconButton/props/propTypes.js +1 -0
  54. package/es/Image/Image.module.css +10 -10
  55. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  56. package/es/Link/Link.js +0 -0
  57. package/es/Link/Link.module.css +3 -3
  58. package/es/Loader/Loader.module.css +46 -46
  59. package/es/Message/Message.js +4 -2
  60. package/es/Message/Message.module.css +102 -102
  61. package/es/Message/props/defaultProps.js +2 -1
  62. package/es/Message/props/propTypes.js +1 -0
  63. package/es/MessageBanner/MessageBanner.js +4 -2
  64. package/es/MessageBanner/MessageBanner.module.css +46 -46
  65. package/es/MessageBanner/props/defaultProps.js +2 -1
  66. package/es/MessageBanner/props/propTypes.js +2 -1
  67. package/es/NewStar/NewStar.module.css +175 -175
  68. package/es/PlusIcon/PlusIcon.js +0 -0
  69. package/es/PlusIcon/PlusIcon.module.css +19 -16
  70. package/es/Separator/Separator.module.css +34 -34
  71. package/es/ToastMessage/ToastMessage.js +3 -1
  72. package/es/ToastMessage/ToastMessage.module.css +329 -328
  73. package/es/ToastMessage/props/defaultProps.js +2 -1
  74. package/es/ToastMessage/props/propTypes.js +1 -0
  75. package/es/Upload/Upload.js +3 -1
  76. package/es/Upload/Upload.module.css +125 -125
  77. package/es/Upload/props/defaultProps.js +2 -1
  78. package/es/Upload/props/propTypes.js +1 -0
  79. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  80. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  81. package/es/avatar/AvatarClose/AvatarClose.js +4 -2
  82. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  83. package/es/avatar/AvatarClose/props/defaultProps.js +2 -1
  84. package/es/avatar/AvatarClose/props/propTypes.js +2 -1
  85. package/es/avatar/AvatarCollision/AvatarCollision.js +4 -2
  86. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  87. package/es/avatar/AvatarCollision/props/defaultProps.js +2 -1
  88. package/es/avatar/AvatarCollision/props/propTypes.js +1 -0
  89. package/es/avatar/AvatarIcon/AvatarIcon.js +4 -2
  90. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  91. package/es/avatar/AvatarIcon/props/defaultProps.js +2 -1
  92. package/es/avatar/AvatarIcon/props/propTypes.js +1 -0
  93. package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
  94. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  95. package/es/avatar/AvatarStatus/props/defaultProps.js +1 -2
  96. package/es/avatar/AvatarStatus/props/propTypes.js +1 -2
  97. package/es/avatar/AvatarThread/AvatarThread.js +4 -2
  98. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  99. package/es/avatar/AvatarThread/props/defaultProps.js +2 -1
  100. package/es/avatar/AvatarThread/props/propTypes.js +1 -0
  101. package/es/avatar/AvatarUser/AvatarUser.js +3 -1
  102. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  103. package/es/avatar/AvatarUser/props/defaultProps.js +2 -1
  104. package/es/avatar/AvatarUser/props/propTypes.js +1 -0
  105. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +4 -2
  106. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  107. package/es/avatar/AvatarWithTeam/props/defaultProps.js +2 -1
  108. package/es/avatar/AvatarWithTeam/props/propTypes.js +1 -0
  109. package/es/common/dot_animation.module.css +26 -26
  110. package/es/common/dot_boxShadow.module.css +77 -0
  111. package/es/common/dot_common.module.css +3 -3
  112. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  113. package/es/deprecated/utils/KeyboardApi.js +25 -25
  114. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +3 -1
  115. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
  116. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  117. package/es/dropdown/ToggleDropDown/props/propTypes.js +1 -0
  118. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  119. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  120. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  121. package/es/errorstate/EmptyStates.module.css +87 -87
  122. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  123. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  124. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  125. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  126. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  127. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  128. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  129. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  130. package/es/form/fields/CheckBoxField/CheckBoxField.js +3 -1
  131. package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -0
  132. package/es/form/fields/CurrencyField/CurrencyField.js +3 -1
  133. package/es/form/fields/CurrencyField/props/defaultProps.js +1 -0
  134. package/es/form/fields/DateField/DateField.js +3 -1
  135. package/es/form/fields/DateField/props/defaultProps.js +1 -0
  136. package/es/form/fields/FieldContainer/FieldContainer.js +4 -2
  137. package/es/form/fields/FieldContainer/props/defaultProps.js +2 -1
  138. package/es/form/fields/Fields.module.css +183 -183
  139. package/es/form/fields/MultiSelectField/MultiSelectField.js +3 -1
  140. package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -0
  141. package/es/form/fields/PhoneField/PhoneField.js +3 -1
  142. package/es/form/fields/PhoneField/props/defaultProps.js +2 -1
  143. package/es/form/fields/RadioField/RadioField.js +3 -1
  144. package/es/form/fields/RadioField/props/defaultProps.js +2 -1
  145. package/es/form/fields/SelectField/SelectField.js +3 -1
  146. package/es/form/fields/SelectField/props/defaultProps.js +1 -0
  147. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -2
  148. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  149. package/es/form/fields/TagsMultiSelect/props/defaultProps.js +2 -1
  150. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +4 -2
  151. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  152. package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -0
  153. package/es/form/fields/TextBoxField/TextBoxField.js +3 -1
  154. package/es/form/fields/TextBoxField/props/defaultProps.js +1 -0
  155. package/es/form/fields/TextEditor/TextEditor.js +4 -2
  156. package/es/form/fields/TextEditor/TextEditor.module.css +764 -666
  157. package/es/form/fields/TextEditor/props/defaultProps.js +2 -1
  158. package/es/form/fields/TextEditorField/TextEditorField.js +3 -1
  159. package/es/form/fields/TextEditorField/props/defaultProps.js +1 -0
  160. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +4 -2
  161. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  162. package/es/form/fields/TextEditorWrapper/props/defaultProps.js +2 -1
  163. package/es/form/fields/TextareaField/TextareaField.js +3 -1
  164. package/es/form/fields/TextareaField/props/defaultProps.js +1 -0
  165. package/es/form/fields/ValidationMessage/ValidationMessage.js +4 -2
  166. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  167. package/es/form/fields/ValidationMessage/props/defaultProps.js +2 -1
  168. package/es/form/fields/props/FieldCommonPropTypes.js +2 -1
  169. package/es/form/layout/Field/Field.js +0 -0
  170. package/es/form/layout/Field/Field.module.css +22 -22
  171. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  172. package/es/form/layout/Section/Section.js +0 -0
  173. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  174. package/es/layout/SubtabLayout/SubtabLayout.module.css +165 -146
  175. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  176. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  177. package/es/list/Comment/Comment.module.css +29 -29
  178. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  179. package/es/list/Dot/Dot.module.css +15 -15
  180. package/es/list/DotNew/DotNew.module.css +25 -22
  181. package/es/list/GridStencils/GridStencils.module.css +146 -146
  182. package/es/list/Icons/Icons.module.css +16 -16
  183. package/es/list/ListLayout/ListLayout.module.css +57 -57
  184. package/es/list/ListStencils/ListStencils.module.css +67 -67
  185. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  186. package/es/list/SecondaryText/Website.js +0 -0
  187. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  188. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  189. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  190. package/es/list/Subject/Subject.module.css +27 -27
  191. package/es/list/TagNew/TagNew.module.css +117 -115
  192. package/es/list/Thread/Thread.module.css +42 -42
  193. package/es/list/UserTime/UserTime.module.css +58 -58
  194. package/es/list/listCommon.module.css +60 -60
  195. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  196. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  197. package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
  198. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  199. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  200. package/es/lookup/Lookup/Lookup.js +0 -0
  201. package/es/lookup/Lookup/Lookup.module.css +26 -26
  202. package/es/lookup/Section/LookupSection.module.css +8 -8
  203. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  204. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  205. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  206. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  207. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  208. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  209. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  210. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  211. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  212. package/es/setup/header/Search/Search.module.css +68 -68
  213. package/es/setup/header/Views/Views.module.css +37 -37
  214. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  215. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  216. package/es/setup/helptips/Link/Link.js +0 -0
  217. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  218. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  219. package/es/setup/helptips/Title/Title.js +0 -0
  220. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  221. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  222. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  223. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  224. package/es/setup/table/Text/TableText.module.css +37 -37
  225. package/es/setup/table/Text/Text.js +0 -0
  226. package/es/svg/PlusIcon.js +1 -1
  227. package/es/svg/SnippetIcon.js +2 -2
  228. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  229. package/es/version2/GlobalNotification/GlobalNotification.js +8 -4
  230. package/es/version2/GlobalNotification/GlobalNotification.module.css +127 -124
  231. package/es/version2/GlobalNotification/props/defaultProps.js +2 -1
  232. package/es/version2/GlobalNotification/props/propTypes.js +1 -0
  233. package/es/version2/alertIcons/AlertIcons.js +4 -2
  234. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  235. package/es/version2/alertIcons/props/defaultProps.js +2 -1
  236. package/es/version2/alertIcons/props/propTypes.js +2 -1
  237. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  238. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  239. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  240. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  241. package/es/version2/notification/DesktopNotification/DesktopNotification.js +3 -1
  242. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +127 -106
  243. package/es/version2/notification/DesktopNotification/props/defaultProps.js +2 -1
  244. package/es/version2/notification/DesktopNotification/props/propTypes.js +1 -0
  245. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  246. package/install.md +12 -12
  247. package/lib/ActionButton/ActionButton.js +6 -4
  248. package/lib/ActionButton/ActionButton.module.css +139 -139
  249. package/lib/ActionButton/props/defaultProps.js +1 -1
  250. package/lib/ActionButton/props/propTypes.js +1 -1
  251. package/lib/AlphabeticList/AlphabeticList.js +4 -2
  252. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  253. package/lib/AlphabeticList/props/defaultProps.js +2 -1
  254. package/lib/AlphabeticList/props/propTypes.js +2 -1
  255. package/lib/Attachment/Attachment.js +4 -2
  256. package/lib/Attachment/Attachment.module.css +157 -157
  257. package/lib/Attachment/props/defaultProps.js +2 -1
  258. package/lib/Attachment/props/propTypes.js +1 -0
  259. package/lib/AttachmentViewer/AttachmentViewer.module.css +353 -354
  260. package/lib/ChannelIcon/ChannelIcon.js +4 -2
  261. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  262. package/lib/ChannelIcon/props/defaultProps.js +2 -1
  263. package/lib/ChannelIcon/props/propTypes.js +2 -1
  264. package/lib/Drawer/Drawer.js +0 -0
  265. package/lib/Drawer/Drawer.module.css +189 -150
  266. package/lib/ExternalLink/ExternalLink.js +0 -0
  267. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  268. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  269. package/lib/FlipCard/FlipCard.module.css +44 -44
  270. package/lib/FormAction/FormAction.js +4 -2
  271. package/lib/FormAction/FormAction.module.css +82 -82
  272. package/lib/FormAction/props/defaultProps.js +2 -1
  273. package/lib/FormAction/props/propTypes.js +2 -1
  274. package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
  275. package/lib/IconButton/IconButton.js +2 -0
  276. package/lib/IconButton/IconButton.module.css +22 -22
  277. package/lib/IconButton/props/defaultProps.js +2 -1
  278. package/lib/IconButton/props/propTypes.js +1 -0
  279. package/lib/Image/Image.module.css +10 -10
  280. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  281. package/lib/Link/Link.js +0 -0
  282. package/lib/Link/Link.module.css +3 -3
  283. package/lib/Loader/Loader.module.css +46 -46
  284. package/lib/Message/Message.js +4 -2
  285. package/lib/Message/Message.module.css +102 -102
  286. package/lib/Message/props/defaultProps.js +2 -1
  287. package/lib/Message/props/propTypes.js +1 -0
  288. package/lib/MessageBanner/MessageBanner.js +4 -2
  289. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  290. package/lib/MessageBanner/props/defaultProps.js +2 -1
  291. package/lib/MessageBanner/props/propTypes.js +2 -1
  292. package/lib/NewStar/NewStar.module.css +175 -175
  293. package/lib/PlusIcon/PlusIcon.js +0 -0
  294. package/lib/PlusIcon/PlusIcon.module.css +19 -16
  295. package/lib/Separator/Separator.module.css +34 -34
  296. package/lib/ToastMessage/ToastMessage.js +3 -1
  297. package/lib/ToastMessage/ToastMessage.module.css +329 -328
  298. package/lib/ToastMessage/props/defaultProps.js +2 -1
  299. package/lib/ToastMessage/props/propTypes.js +1 -0
  300. package/lib/Upload/Upload.js +3 -1
  301. package/lib/Upload/Upload.module.css +125 -125
  302. package/lib/Upload/props/defaultProps.js +2 -1
  303. package/lib/Upload/props/propTypes.js +1 -0
  304. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  305. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  306. package/lib/avatar/AvatarClose/AvatarClose.js +4 -2
  307. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  308. package/lib/avatar/AvatarClose/props/defaultProps.js +2 -1
  309. package/lib/avatar/AvatarClose/props/propTypes.js +2 -1
  310. package/lib/avatar/AvatarCollision/AvatarCollision.js +4 -2
  311. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  312. package/lib/avatar/AvatarCollision/props/defaultProps.js +2 -1
  313. package/lib/avatar/AvatarCollision/props/propTypes.js +1 -0
  314. package/lib/avatar/AvatarIcon/AvatarIcon.js +4 -2
  315. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  316. package/lib/avatar/AvatarIcon/props/defaultProps.js +2 -1
  317. package/lib/avatar/AvatarIcon/props/propTypes.js +1 -0
  318. package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
  319. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  320. package/lib/avatar/AvatarStatus/props/defaultProps.js +1 -2
  321. package/lib/avatar/AvatarStatus/props/propTypes.js +24 -22
  322. package/lib/avatar/AvatarThread/AvatarThread.js +4 -2
  323. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  324. package/lib/avatar/AvatarThread/props/defaultProps.js +2 -1
  325. package/lib/avatar/AvatarThread/props/propTypes.js +1 -0
  326. package/lib/avatar/AvatarUser/AvatarUser.js +3 -1
  327. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  328. package/lib/avatar/AvatarUser/props/defaultProps.js +2 -1
  329. package/lib/avatar/AvatarUser/props/propTypes.js +1 -0
  330. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +4 -2
  331. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  332. package/lib/avatar/AvatarWithTeam/props/defaultProps.js +2 -1
  333. package/lib/avatar/AvatarWithTeam/props/propTypes.js +1 -0
  334. package/lib/common/dot_animation.module.css +26 -26
  335. package/lib/common/dot_boxShadow.module.css +77 -0
  336. package/lib/common/dot_common.module.css +3 -3
  337. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  338. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  339. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -1
  340. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
  341. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  342. package/lib/dropdown/ToggleDropDown/props/propTypes.js +1 -0
  343. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  344. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  345. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  346. package/lib/errorstate/EmptyStates.module.css +87 -87
  347. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  348. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  349. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  350. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  351. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  352. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  353. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  354. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  355. package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -1
  356. package/lib/form/fields/CheckBoxField/props/defaultProps.js +2 -1
  357. package/lib/form/fields/CurrencyField/CurrencyField.js +3 -1
  358. package/lib/form/fields/CurrencyField/props/defaultProps.js +2 -1
  359. package/lib/form/fields/DateField/DateField.js +3 -1
  360. package/lib/form/fields/DateField/props/defaultProps.js +2 -1
  361. package/lib/form/fields/FieldContainer/FieldContainer.js +4 -2
  362. package/lib/form/fields/FieldContainer/props/defaultProps.js +2 -1
  363. package/lib/form/fields/Fields.module.css +183 -183
  364. package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -1
  365. package/lib/form/fields/MultiSelectField/props/defaultProps.js +2 -1
  366. package/lib/form/fields/PhoneField/PhoneField.js +3 -1
  367. package/lib/form/fields/PhoneField/props/defaultProps.js +2 -1
  368. package/lib/form/fields/RadioField/RadioField.js +3 -1
  369. package/lib/form/fields/RadioField/props/defaultProps.js +2 -1
  370. package/lib/form/fields/SelectField/SelectField.js +3 -1
  371. package/lib/form/fields/SelectField/props/defaultProps.js +2 -1
  372. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -2
  373. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  374. package/lib/form/fields/TagsMultiSelect/props/defaultProps.js +2 -1
  375. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +4 -2
  376. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  377. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +2 -1
  378. package/lib/form/fields/TextBoxField/TextBoxField.js +3 -1
  379. package/lib/form/fields/TextBoxField/props/defaultProps.js +2 -1
  380. package/lib/form/fields/TextEditor/TextEditor.js +4 -2
  381. package/lib/form/fields/TextEditor/TextEditor.module.css +764 -666
  382. package/lib/form/fields/TextEditor/props/defaultProps.js +2 -1
  383. package/lib/form/fields/TextEditorField/TextEditorField.js +3 -1
  384. package/lib/form/fields/TextEditorField/props/defaultProps.js +2 -1
  385. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +4 -2
  386. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  387. package/lib/form/fields/TextEditorWrapper/props/defaultProps.js +2 -1
  388. package/lib/form/fields/TextareaField/TextareaField.js +3 -1
  389. package/lib/form/fields/TextareaField/props/defaultProps.js +2 -1
  390. package/lib/form/fields/ValidationMessage/ValidationMessage.js +4 -2
  391. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  392. package/lib/form/fields/ValidationMessage/props/defaultProps.js +2 -1
  393. package/lib/form/fields/props/FieldCommonPropTypes.js +2 -1
  394. package/lib/form/layout/Field/Field.js +0 -0
  395. package/lib/form/layout/Field/Field.module.css +22 -22
  396. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  397. package/lib/form/layout/Section/Section.js +0 -0
  398. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  399. package/lib/layout/SubtabLayout/SubtabLayout.module.css +165 -146
  400. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  401. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  402. package/lib/list/Comment/Comment.module.css +29 -29
  403. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  404. package/lib/list/Dot/Dot.module.css +15 -15
  405. package/lib/list/DotNew/DotNew.module.css +25 -22
  406. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  407. package/lib/list/Icons/Icons.module.css +16 -16
  408. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  409. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  410. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  411. package/lib/list/SecondaryText/Website.js +0 -0
  412. package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
  413. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  414. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  415. package/lib/list/Subject/Subject.module.css +27 -27
  416. package/lib/list/TagNew/TagNew.module.css +117 -115
  417. package/lib/list/Thread/Thread.module.css +42 -42
  418. package/lib/list/UserTime/UserTime.module.css +58 -58
  419. package/lib/list/listCommon.module.css +60 -60
  420. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  421. package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
  422. package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
  423. package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
  424. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  425. package/lib/lookup/Lookup/Lookup.js +0 -0
  426. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  427. package/lib/lookup/Section/LookupSection.module.css +8 -8
  428. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  429. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  430. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  431. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  432. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  433. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  434. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  435. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  436. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  437. package/lib/setup/header/Search/Search.module.css +68 -68
  438. package/lib/setup/header/Views/Views.module.css +37 -37
  439. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  440. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  441. package/lib/setup/helptips/Link/Link.js +0 -0
  442. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  443. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  444. package/lib/setup/helptips/Title/Title.js +0 -0
  445. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  446. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  447. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  448. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  449. package/lib/setup/table/Text/TableText.module.css +37 -37
  450. package/lib/setup/table/Text/Text.js +0 -0
  451. package/lib/svg/PlusIcon.js +1 -1
  452. package/lib/svg/SnippetIcon.js +2 -2
  453. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  454. package/lib/version2/GlobalNotification/GlobalNotification.js +8 -4
  455. package/lib/version2/GlobalNotification/GlobalNotification.module.css +127 -124
  456. package/lib/version2/GlobalNotification/props/defaultProps.js +2 -1
  457. package/lib/version2/GlobalNotification/props/propTypes.js +1 -0
  458. package/lib/version2/alertIcons/AlertIcons.js +4 -2
  459. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  460. package/lib/version2/alertIcons/props/defaultProps.js +2 -1
  461. package/lib/version2/alertIcons/props/propTypes.js +2 -1
  462. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  463. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  464. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  465. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  466. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +3 -1
  467. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +127 -106
  468. package/lib/version2/notification/DesktopNotification/props/defaultProps.js +2 -1
  469. package/lib/version2/notification/DesktopNotification/props/propTypes.js +1 -0
  470. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  471. package/package.json +104 -104
@@ -1,42 +1,42 @@
1
- .container {
2
- top: 0;
3
- bottom: 0;
4
- position: absolute;
5
- overflow: hidden;
6
- }[dir=ltr] .container {
7
- left: 0;
8
- right: 0;
9
- }[dir=rtl] .container {
10
- right: 0;
11
- left: 0;
12
- }
13
- .default {
14
- background-color: var(--zdt_freezelayer_default_bg);
15
- }
16
- .dark {
17
- background-color: var(--zdt_freezelayer_dark_bg);
18
- }
19
- .darkLight {
20
- background-color: var(--zdt_freezelayer_darklight_bg);
21
- }
22
- .plain {
23
- background-color: var(--zdt_freezelayer_plain_bg);
24
- }
25
- .snow {
26
- background-color: var(--zdt_freezelayer_snow_bg);
27
- }
28
- .index3 {
29
- z-index: 3;
30
- }
31
- .index5 {
32
- z-index: 5;
33
- }
34
- .index7 {
35
- z-index: 7;
36
- }
37
- .index10 {
38
- z-index: 10;
39
- }
40
- .delay {
41
- transition-delay: var(--zd_transition2);
42
- }
1
+ .container {
2
+ top: 0;
3
+ bottom: 0;
4
+ position: absolute;
5
+ overflow: hidden;
6
+ }[dir=ltr] .container {
7
+ left: 0;
8
+ right: 0;
9
+ }[dir=rtl] .container {
10
+ right: 0;
11
+ left: 0;
12
+ }
13
+ .default {
14
+ background-color: var(--zdt_freezelayer_default_bg);
15
+ }
16
+ .dark {
17
+ background-color: var(--zdt_freezelayer_dark_bg);
18
+ }
19
+ .darkLight {
20
+ background-color: var(--zdt_freezelayer_darklight_bg);
21
+ }
22
+ .plain {
23
+ background-color: var(--zdt_freezelayer_plain_bg);
24
+ }
25
+ .snow {
26
+ background-color: var(--zdt_freezelayer_snow_bg);
27
+ }
28
+ .index3 {
29
+ z-index: 3;
30
+ }
31
+ .index5 {
32
+ z-index: 5;
33
+ }
34
+ .index7 {
35
+ z-index: 7;
36
+ }
37
+ .index10 {
38
+ z-index: 10;
39
+ }
40
+ .delay {
41
+ transition-delay: var(--zd_transition2);
42
+ }
@@ -69,6 +69,7 @@ export default class IconButton extends React.Component {
69
69
  className,
70
70
  iconClass,
71
71
  dataId,
72
+ dataSelectorId,
72
73
  eleRef,
73
74
  isActive,
74
75
  tourId,
@@ -112,6 +113,7 @@ export default class IconButton extends React.Component {
112
113
  isCover: false,
113
114
  className: `${needButtonTag && btnStyle.buttonReset} ${style.wrapper} ${className ? className : ''} ${isActive ? style[`${palette}_active`] : style[palette]}`,
114
115
  dataId: dataId,
116
+ dataSelectorId: dataSelectorId,
115
117
  onClick: this.triggerClick,
116
118
  "data-title": title,
117
119
  "data-ishtml": dataIsHtml,
@@ -1,22 +1,22 @@
1
- .varClass {
2
- --iconColor: var(--zdt_iconButton_icon_black);
3
- }
4
- .wrapper {
5
- height: var(--zd_size28);
6
- width: var(--zd_size28);
7
- composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
- composes: varClass;
9
- color: var(--iconColor);
10
- cursor: pointer;
11
- }
12
- .primary {
13
- --iconColor: var(--zdt_iconButton_icon_primary);
14
- }
15
- .primary:hover {
16
- --iconColor: var(--zdt_iconButton_icon_primaryHover);
17
- }
18
- .primary_active,
19
- .primaryFilled,
20
- .primaryFilled_active {
21
- --iconColor: var(--zdt_iconButton_icon_primaryActive);
22
- }
1
+ .varClass {
2
+ --iconColor: var(--zdt_iconButton_icon_black);
3
+ }
4
+ .wrapper {
5
+ height: var(--zd_size28);
6
+ width: var(--zd_size28);
7
+ composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
+ composes: varClass;
9
+ color: var(--iconColor);
10
+ cursor: pointer;
11
+ }
12
+ .primary {
13
+ --iconColor: var(--zdt_iconButton_icon_primary);
14
+ }
15
+ .primary:hover {
16
+ --iconColor: var(--zdt_iconButton_icon_primaryHover);
17
+ }
18
+ .primary_active,
19
+ .primaryFilled,
20
+ .primaryFilled_active {
21
+ --iconColor: var(--zdt_iconButton_icon_primaryActive);
22
+ }
@@ -12,5 +12,6 @@ export const defaultProps = {
12
12
  needButtonTag: true,
13
13
  a11y: {},
14
14
  dataIsHtml: false,
15
- customProps: {}
15
+ customProps: {},
16
+ dataSelectorId: 'iconButton'
16
17
  };
@@ -3,6 +3,7 @@ export const propTypes = {
3
3
  children: PropTypes.node,
4
4
  className: PropTypes.string,
5
5
  dataId: PropTypes.string,
6
+ dataSelectorId: PropTypes.string,
6
7
  eleRef: PropTypes.func,
7
8
  hoverType: PropTypes.oneOf(['default', 'border', 'bg']),
8
9
  iconClass: PropTypes.string,
@@ -1,11 +1,11 @@
1
- .imgFullSize{
2
- height:100%;
3
- width:100%
4
- }
5
- .imgMaxFullSize{
6
- max-height:100%;
7
- max-width:100%
8
- }
9
- .imgFullSize, .imgMaxFullSize{
10
- font-size: 12px
1
+ .imgFullSize{
2
+ height:100%;
3
+ width:100%
4
+ }
5
+ .imgMaxFullSize{
6
+ max-height:100%;
7
+ max-width:100%
8
+ }
9
+ .imgFullSize, .imgMaxFullSize{
10
+ font-size: 12px
11
11
  }
@@ -1,20 +1,20 @@
1
- .section {
2
- background: var(--zdt_importantnotes_bg);
3
- padding: var(--zd_size5) var(--zd_size10);
4
- }
5
- .title {
6
- font-size: var(--zd_font_size13);
7
- line-height: var(--zd_font_size18);
8
- color: var(--zdt_importantnotes_title_text);
9
- }
10
- .icon {
11
- color: var(--zdt_importantnotes_icon);
12
- font-size: 0;
13
- margin-top: var(--zd_size1);
14
- }
15
- [dir=ltr] .icon {
16
- margin-right: var(--zd_size5);
17
- }
18
- [dir=rtl] .icon {
19
- margin-left: var(--zd_size5);
20
- }
1
+ .section {
2
+ background: var(--zdt_importantnotes_bg);
3
+ padding: var(--zd_size5) var(--zd_size10);
4
+ }
5
+ .title {
6
+ font-size: var(--zd_font_size13);
7
+ line-height: var(--zd_font_size18);
8
+ color: var(--zdt_importantnotes_title_text);
9
+ }
10
+ .icon {
11
+ color: var(--zdt_importantnotes_icon);
12
+ font-size: 0;
13
+ margin-top: var(--zd_size1);
14
+ }
15
+ [dir=ltr] .icon {
16
+ margin-right: var(--zd_size5);
17
+ }
18
+ [dir=rtl] .icon {
19
+ margin-left: var(--zd_size5);
20
+ }
package/es/Link/Link.js CHANGED
File without changes
@@ -1,4 +1,4 @@
1
- .container {
2
- text-decoration: none;
3
- color: inherit;
1
+ .container {
2
+ text-decoration: none;
3
+ color: inherit;
4
4
  }
@@ -1,46 +1,46 @@
1
- .ajaxLoader {
2
- position: absolute;
3
- top: 0;
4
- }[dir=ltr] .ajaxLoader {
5
- left: 0;
6
- right: 0;
7
- }[dir=rtl] .ajaxLoader {
8
- right: 0;
9
- left: 0;
10
- }
11
- .loader {
12
- width: 100%;
13
- height: 3px;
14
- background-image: var(--zdt_loader_gradient_bg);
15
- background-size: 200% auto;
16
- }
17
- [dir=ltr] .loader {
18
- background-position: 0 100%;
19
- animation: loading-ltr 3s infinite;
20
- animation-fill-mode: forwards;
21
- animation-timing-function: linear;
22
- }
23
- [dir=rtl] .loader {
24
- background-position: 100% 100%;
25
- animation: loading-rtl 3s infinite;
26
- animation-fill-mode: forwards;
27
- animation-timing-function: linear;
28
- }
29
-
30
- @keyframes loading-ltr {
31
- 0% {
32
- background-position: 0 0;
33
- }
34
- 100% {
35
- background-position: -200% 0;
36
- }
37
- }
38
-
39
- @keyframes loading-rtl {
40
- 0% {
41
- background-position: 100% 0;
42
- }
43
- 100% {
44
- background-position: 300% 0;
45
- }
46
- }
1
+ .ajaxLoader {
2
+ position: absolute;
3
+ top: 0;
4
+ }[dir=ltr] .ajaxLoader {
5
+ left: 0;
6
+ right: 0;
7
+ }[dir=rtl] .ajaxLoader {
8
+ right: 0;
9
+ left: 0;
10
+ }
11
+ .loader {
12
+ width: 100%;
13
+ height: 3px;
14
+ background-image: var(--zdt_loader_gradient_bg);
15
+ background-size: 200% auto;
16
+ }
17
+ [dir=ltr] .loader {
18
+ background-position: 0 100%;
19
+ animation: loading-ltr 3s infinite;
20
+ animation-fill-mode: forwards;
21
+ animation-timing-function: linear;
22
+ }
23
+ [dir=rtl] .loader {
24
+ background-position: 100% 100%;
25
+ animation: loading-rtl 3s infinite;
26
+ animation-fill-mode: forwards;
27
+ animation-timing-function: linear;
28
+ }
29
+
30
+ @keyframes loading-ltr {
31
+ 0% {
32
+ background-position: 0 0;
33
+ }
34
+ 100% {
35
+ background-position: -200% 0;
36
+ }
37
+ }
38
+
39
+ @keyframes loading-rtl {
40
+ 0% {
41
+ background-position: 100% 0;
42
+ }
43
+ 100% {
44
+ background-position: 300% 0;
45
+ }
46
+ }
@@ -62,14 +62,16 @@ export function MessageUI(props) {
62
62
  type,
63
63
  message,
64
64
  onClick,
65
- i18nKeys
65
+ i18nKeys,
66
+ dataSelectorId
66
67
  } = props;
67
68
  let {
68
69
  closeTitle = 'Close'
69
70
  } = i18nKeys;
70
71
  return /*#__PURE__*/React.createElement("div", {
71
72
  className: style.message,
72
- "data-id": `show_${type}_message`
73
+ "data-id": `show_${type}_message`,
74
+ "data-selector-id": dataSelectorId
73
75
  }, /*#__PURE__*/React.createElement("div", {
74
76
  className: style.container
75
77
  }, /*#__PURE__*/React.createElement("div", {
@@ -1,103 +1,103 @@
1
- .message {
2
- position: absolute;
3
- top: 0;
4
- z-index: 1000;
5
- /*Hook for editor alert*/
6
- pointer-events: none;
7
- text-align: center;
8
- }[dir=ltr] .message {
9
- right: 0;
10
- left: 0;
11
- }[dir=rtl] .message {
12
- left: 0;
13
- right: 0;
14
- }
15
-
16
- .container {
17
- position: relative;
18
- display: inline-block;
19
- pointer-events: initial;
20
- box-shadow: 0 0 19px 1px var(--zdt_message_default_box_shadow);
21
- border-radius: 0 0 5px 5px;
22
- background: var(--zdt_message_default_bg);
23
- }
24
-
25
- [dir=ltr] .container {
26
- padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
27
- }
28
-
29
- [dir=rtl] .container {
30
- padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10);
31
- }
32
-
33
- .text {
34
- max-width: var(--zd_size480);
35
- display: inline-block;
36
- word-break: break-word;
37
- font-size: var(--zd_font_size14);
38
- vertical-align: middle;
39
- }
40
-
41
- [dir=ltr] .text {
42
- text-align: left;
43
- }
44
-
45
- [dir=rtl] .text {
46
- text-align: right;
47
- }
48
-
49
- .icon {
50
- position: absolute;
51
- top: 0;
52
- width: var(--zd_size40);
53
- display: inline-block;
54
- height: 100%;
55
- }
56
-
57
- [dir=ltr] .icon {
58
- left: 0;
59
- border-bottom-left-radius: 5px;
60
- }
61
-
62
- [dir=rtl] .icon {
63
- right: 0;
64
- border-bottom-right-radius: 5px;
65
- }
66
-
67
- .success {
68
- composes: icon;
69
- background: var(--zdt_message_success_bg);
70
- }
71
-
72
- .alert {
73
- composes: icon;
74
- background: var(--zdt_message_alert_bg);
75
- }
76
-
77
- .info {
78
- composes: icon;
79
- background: var(--zdt_message_info_bg);
80
- }
81
-
82
- .tickIcn {
83
- color: var(--zdt_message_tickicon);
84
- font-size: var(--zd_font_size16);
85
- position: absolute;
86
- composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
87
- }
88
-
89
- .close {
90
- color: var(--zdt_message_close_text);
91
- font-size: var(--zd_font_size16);
92
- display: inline-block;
93
- vertical-align: middle;
94
- cursor: pointer;
95
- }
96
-
97
- [dir=ltr] .close {
98
- margin-left: var(--zd_size10);
99
- }
100
-
101
- [dir=rtl] .close {
102
- margin-right: var(--zd_size10);
1
+ .message {
2
+ position: absolute;
3
+ top: 0;
4
+ z-index: 1000;
5
+ /*Hook for editor alert*/
6
+ pointer-events: none;
7
+ text-align: center;
8
+ }[dir=ltr] .message {
9
+ right: 0;
10
+ left: 0;
11
+ }[dir=rtl] .message {
12
+ left: 0;
13
+ right: 0;
14
+ }
15
+
16
+ .container {
17
+ position: relative;
18
+ display: inline-block;
19
+ pointer-events: initial;
20
+ box-shadow: var(--bs_message_container);
21
+ border-radius: 0 0 5px 5px;
22
+ background: var(--zdt_message_default_bg);
23
+ }
24
+
25
+ [dir=ltr] .container {
26
+ padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
27
+ }
28
+
29
+ [dir=rtl] .container {
30
+ padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10);
31
+ }
32
+
33
+ .text {
34
+ max-width: var(--zd_size480);
35
+ display: inline-block;
36
+ word-break: break-word;
37
+ font-size: var(--zd_font_size14);
38
+ vertical-align: middle;
39
+ }
40
+
41
+ [dir=ltr] .text {
42
+ text-align: left;
43
+ }
44
+
45
+ [dir=rtl] .text {
46
+ text-align: right;
47
+ }
48
+
49
+ .icon {
50
+ position: absolute;
51
+ top: 0;
52
+ width: var(--zd_size40);
53
+ display: inline-block;
54
+ height: 100%;
55
+ }
56
+
57
+ [dir=ltr] .icon {
58
+ left: 0;
59
+ border-bottom-left-radius: 5px;
60
+ }
61
+
62
+ [dir=rtl] .icon {
63
+ right: 0;
64
+ border-bottom-right-radius: 5px;
65
+ }
66
+
67
+ .success {
68
+ composes: icon;
69
+ background: var(--zdt_message_success_bg);
70
+ }
71
+
72
+ .alert {
73
+ composes: icon;
74
+ background: var(--zdt_message_alert_bg);
75
+ }
76
+
77
+ .info {
78
+ composes: icon;
79
+ background: var(--zdt_message_info_bg);
80
+ }
81
+
82
+ .tickIcn {
83
+ color: var(--zdt_message_tickicon);
84
+ font-size: var(--zd_font_size16);
85
+ position: absolute;
86
+ composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
87
+ }
88
+
89
+ .close {
90
+ color: var(--zdt_message_close_text);
91
+ font-size: var(--zd_font_size16);
92
+ display: inline-block;
93
+ vertical-align: middle;
94
+ cursor: pointer;
95
+ }
96
+
97
+ [dir=ltr] .close {
98
+ margin-left: var(--zd_size10);
99
+ }
100
+
101
+ [dir=rtl] .close {
102
+ margin-right: var(--zd_size10);
103
103
  }
@@ -1,3 +1,4 @@
1
1
  export const defaultProps = {
2
- i18nKeys: {}
2
+ i18nKeys: {},
3
+ dataSelectorId: 'message'
3
4
  };
@@ -5,6 +5,7 @@ export const propTypes = {
5
5
  message: PropTypes.string,
6
6
  onClick: PropTypes.func,
7
7
  showMessage: PropTypes.bool,
8
+ dataSelectorId: PropTypes.string,
8
9
  type: PropTypes.oneOf(['success', 'alert', 'info']),
9
10
  i18nKeys: PropTypes.shape({
10
11
  closeTitle: PropTypes.string
@@ -16,13 +16,15 @@ export default class MessageBanner extends React.Component {
16
16
  urlText,
17
17
  palette,
18
18
  customClass,
19
- dataId
19
+ dataId,
20
+ dataSelectorId
20
21
  } = this.props;
21
22
  return /*#__PURE__*/React.createElement(Container, {
22
23
  className: `${style[`type_${type}`]} ${style[`palette_${palette}`]} ${customClass}`,
23
24
  alignBox: "row",
24
25
  isCover: false,
25
- dataId: dataId
26
+ dataId: dataId,
27
+ dataSelectorId: dataSelectorId
26
28
  }, /*#__PURE__*/React.createElement(Box, {
27
29
  className: style.content,
28
30
  flexible: true
@@ -1,46 +1,46 @@
1
- .type_secondary {
2
- max-width: var(--zd_size468);
3
- border-radius: 3px;
4
- margin: 0 auto;
5
- }
6
- .message {
7
- color: var(--zdt_messagebanner_text);
8
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
- padding: var(--zd_size10) 0;
10
- }
11
- [dir=ltr] .message {
12
- margin-left: var(--zd_size10);
13
- }
14
- [dir=rtl] .message {
15
- margin-right: var(--zd_size10);
16
- }
17
- .link {
18
- color: var(--zdt_messagebanner_link_text);
19
- }
20
- [dir=ltr] .link {
21
- margin-left: var(--zd_size5);
22
- }
23
- [dir=rtl] .link {
24
- margin-right: var(--zd_size5);
25
- }
26
- .message,.link{font-size: var(--zd_font_size14);}
27
- .close {
28
- color: var(--zdt_messagebanner_close_text);
29
- cursor: pointer;
30
- }
31
- .type_primary .close:hover {
32
- background: var(--zdt_messagebanner_close_hover_bg);
33
- }
34
- .close:hover {
35
- color: var(--zdt_messagebanner_close_hover_text);
36
- }
37
-
38
- .palette_default {
39
- background: var(--zdt_messagebanner_default_bg);
40
- }
41
- .palette_blue {
42
- background: var(--zdt_messagebanner_blue_bg);
43
- }
44
- .palette_white {
45
- background: var(--zdt_messagebanner_white_text);
46
- }
1
+ .type_secondary {
2
+ max-width: var(--zd_size468);
3
+ border-radius: 3px;
4
+ margin: 0 auto;
5
+ }
6
+ .message {
7
+ color: var(--zdt_messagebanner_text);
8
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
+ padding: var(--zd_size10) 0;
10
+ }
11
+ [dir=ltr] .message {
12
+ margin-left: var(--zd_size10);
13
+ }
14
+ [dir=rtl] .message {
15
+ margin-right: var(--zd_size10);
16
+ }
17
+ .link {
18
+ color: var(--zdt_messagebanner_link_text);
19
+ }
20
+ [dir=ltr] .link {
21
+ margin-left: var(--zd_size5);
22
+ }
23
+ [dir=rtl] .link {
24
+ margin-right: var(--zd_size5);
25
+ }
26
+ .message,.link{font-size: var(--zd_font_size14);}
27
+ .close {
28
+ color: var(--zdt_messagebanner_close_text);
29
+ cursor: pointer;
30
+ }
31
+ .type_primary .close:hover {
32
+ background: var(--zdt_messagebanner_close_hover_bg);
33
+ }
34
+ .close:hover {
35
+ color: var(--zdt_messagebanner_close_hover_text);
36
+ }
37
+
38
+ .palette_default {
39
+ background: var(--zdt_messagebanner_default_bg);
40
+ }
41
+ .palette_blue {
42
+ background: var(--zdt_messagebanner_blue_bg);
43
+ }
44
+ .palette_white {
45
+ background: var(--zdt_messagebanner_white_text);
46
+ }