@zohodesk/dot 1.0.0-temp-79 → 1.0.0-temp-82

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 (282) hide show
  1. package/README.md +1094 -1086
  2. package/dubFinder.js +96 -96
  3. package/es/ActionButton/ActionButton.module.css +136 -136
  4. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  5. package/es/Attachment/Attachment.module.css +132 -132
  6. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -346
  7. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  8. package/es/Drawer/Drawer.js +0 -0
  9. package/es/Drawer/Drawer.module.css +151 -151
  10. package/es/ExternalLink/ExternalLink.js +0 -0
  11. package/es/ExternalLink/ExternalLink.module.css +3 -3
  12. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  13. package/es/FlipCard/FlipCard.module.css +44 -44
  14. package/es/FormAction/FormAction.module.css +82 -82
  15. package/es/FreezeLayer/FreezeLayer.module.css +42 -42
  16. package/es/IconButton/IconButton.module.css +22 -22
  17. package/es/Image/Image.module.css +10 -10
  18. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  19. package/es/Link/Link.js +0 -0
  20. package/es/Link/Link.module.css +3 -3
  21. package/es/Loader/Loader.module.css +46 -46
  22. package/es/Message/Message.module.css +102 -102
  23. package/es/MessageBanner/MessageBanner.module.css +46 -46
  24. package/es/NewStar/NewStar.module.css +110 -110
  25. package/es/PlusIcon/PlusIcon.js +0 -0
  26. package/es/PlusIcon/PlusIcon.module.css +16 -16
  27. package/es/Provider.js +35 -88
  28. package/es/ToastMessage/ToastMessage.js +0 -0
  29. package/es/ToastMessage/ToastMessage.module.css +328 -328
  30. package/es/Upload/Upload.module.css +125 -125
  31. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  32. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  33. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  34. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  35. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  36. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  37. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  38. package/es/avatar/AvatarThread/AvatarThread.module.css +163 -163
  39. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  40. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  41. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  42. package/es/common/dot_animation.module.css +26 -26
  43. package/es/common/dot_common.module.css +3 -3
  44. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +55 -55
  45. package/es/deprecated/utils/KeyboardApi.js +25 -25
  46. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +3 -1
  47. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +97 -97
  48. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  49. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  50. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  51. package/es/errorstate/EmptyStates.module.css +87 -87
  52. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  53. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  54. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  55. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  56. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  57. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  58. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  59. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  60. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  61. package/es/form/fields/Fields.module.css +183 -183
  62. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  63. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  64. package/es/form/fields/TextEditor/TextEditor.module.css +666 -666
  65. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  66. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  67. package/es/form/layout/Field/Field.js +0 -0
  68. package/es/form/layout/Field/Field.module.css +22 -22
  69. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  70. package/es/form/layout/Section/Section.js +0 -0
  71. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  72. package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -146
  73. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  74. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  75. package/es/list/Comment/Comment.module.css +29 -29
  76. package/es/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
  77. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  78. package/es/list/Dot/Dot.module.css +15 -15
  79. package/es/list/DotNew/DotNew.module.css +22 -22
  80. package/es/list/GridStencils/GridStencils.module.css +158 -158
  81. package/es/list/Icons/Icons.module.css +15 -15
  82. package/es/list/ListLayout/ListLayout.module.css +57 -57
  83. package/es/list/ListStencils/ListStencils.module.css +67 -67
  84. package/es/list/SecondaryText/AccountName.js +38 -34
  85. package/es/list/SecondaryText/ContactName.js +13 -18
  86. package/es/list/SecondaryText/SecondaryText.module.css +151 -136
  87. package/es/list/SecondaryText/Website.js +0 -0
  88. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  89. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  90. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  91. package/es/list/Subject/Subject.module.css +27 -27
  92. package/es/list/TagNew/TagNew.module.css +115 -115
  93. package/es/list/Thread/Thread.module.css +42 -42
  94. package/es/list/UserTime/UserTime.module.css +58 -58
  95. package/es/list/listCommon.module.css +60 -60
  96. package/es/list/status/StatusDropdown/StatusDropdown.js +1 -1
  97. package/es/list/status/StatusDropdown/StatusDropdown.module.css +89 -89
  98. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  99. package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
  100. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  101. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  102. package/es/lookup/Lookup/Lookup.js +0 -0
  103. package/es/lookup/Lookup/Lookup.module.css +26 -26
  104. package/es/lookup/Section/LookupSection.module.css +8 -8
  105. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  106. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  107. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  108. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  109. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  110. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  111. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  112. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  113. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  114. package/es/setup/header/Search/Search.module.css +68 -68
  115. package/es/setup/header/Views/Views.module.css +37 -37
  116. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  117. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  118. package/es/setup/helptips/Link/Link.js +0 -0
  119. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  120. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  121. package/es/setup/helptips/Title/Title.js +0 -0
  122. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  123. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  124. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  125. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  126. package/es/setup/table/Text/TableText.module.css +37 -37
  127. package/es/setup/table/Text/Text.js +0 -0
  128. package/es/svg/PlusIcon.js +1 -1
  129. package/es/svg/SnippetIcon.js +2 -2
  130. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  131. package/es/version2/GlobalNotification/GlobalNotification.js +2 -0
  132. package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -124
  133. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  134. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  135. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  136. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  137. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  138. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
  139. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  140. package/lib/ActionButton/ActionButton.module.css +136 -136
  141. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  142. package/lib/Attachment/Attachment.module.css +132 -132
  143. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -346
  144. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  145. package/lib/Drawer/Drawer.js +0 -0
  146. package/lib/Drawer/Drawer.module.css +151 -151
  147. package/lib/ExternalLink/ExternalLink.js +0 -0
  148. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  149. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  150. package/lib/FlipCard/FlipCard.module.css +44 -44
  151. package/lib/FormAction/FormAction.module.css +82 -82
  152. package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
  153. package/lib/IconButton/IconButton.module.css +22 -22
  154. package/lib/Image/Image.module.css +10 -10
  155. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  156. package/lib/Link/Link.js +0 -0
  157. package/lib/Link/Link.module.css +3 -3
  158. package/lib/Loader/Loader.module.css +46 -46
  159. package/lib/Message/Message.module.css +102 -102
  160. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  161. package/lib/NewStar/NewStar.module.css +110 -110
  162. package/lib/PlusIcon/PlusIcon.js +0 -0
  163. package/lib/PlusIcon/PlusIcon.module.css +16 -16
  164. package/lib/Provider.js +37 -107
  165. package/lib/ToastMessage/ToastMessage.js +0 -0
  166. package/lib/ToastMessage/ToastMessage.module.css +328 -328
  167. package/lib/Upload/Upload.module.css +125 -125
  168. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  169. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  170. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  171. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  172. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  173. package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
  174. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  175. package/lib/avatar/AvatarThread/AvatarThread.module.css +163 -163
  176. package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
  177. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  178. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  179. package/lib/common/dot_animation.module.css +26 -26
  180. package/lib/common/dot_common.module.css +3 -3
  181. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +55 -55
  182. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  183. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +1 -1
  184. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +97 -97
  185. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  186. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  187. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  188. package/lib/errorstate/EmptyStates.module.css +87 -87
  189. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  190. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  191. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  192. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  193. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  194. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  195. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  196. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  197. package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  198. package/lib/form/fields/Fields.module.css +183 -183
  199. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  200. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  201. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -666
  202. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  203. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  204. package/lib/form/layout/Field/Field.js +0 -0
  205. package/lib/form/layout/Field/Field.module.css +22 -22
  206. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  207. package/lib/form/layout/Section/Section.js +0 -0
  208. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  209. package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -146
  210. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  211. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  212. package/lib/list/Comment/Comment.module.css +29 -29
  213. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
  214. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  215. package/lib/list/Dot/Dot.module.css +15 -15
  216. package/lib/list/DotNew/DotNew.module.css +22 -22
  217. package/lib/list/GridStencils/GridStencils.module.css +158 -158
  218. package/lib/list/Icons/Icons.module.css +15 -15
  219. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  220. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  221. package/lib/list/SecondaryText/AccountName.js +38 -34
  222. package/lib/list/SecondaryText/ContactName.js +13 -18
  223. package/lib/list/SecondaryText/SecondaryText.module.css +151 -136
  224. package/lib/list/SecondaryText/Website.js +0 -0
  225. package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
  226. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  227. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  228. package/lib/list/Subject/Subject.module.css +27 -27
  229. package/lib/list/TagNew/TagNew.module.css +115 -115
  230. package/lib/list/Thread/Thread.module.css +42 -42
  231. package/lib/list/UserTime/UserTime.module.css +58 -58
  232. package/lib/list/listCommon.module.css +60 -60
  233. package/lib/list/status/StatusDropdown/StatusDropdown.js +1 -1
  234. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +89 -89
  235. package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
  236. package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
  237. package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
  238. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  239. package/lib/lookup/Lookup/Lookup.js +0 -0
  240. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  241. package/lib/lookup/Section/LookupSection.module.css +8 -8
  242. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  243. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  244. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  245. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  246. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  247. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  248. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  249. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  250. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  251. package/lib/setup/header/Search/Search.module.css +68 -68
  252. package/lib/setup/header/Views/Views.module.css +37 -37
  253. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  254. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  255. package/lib/setup/helptips/Link/Link.js +0 -0
  256. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  257. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  258. package/lib/setup/helptips/Title/Title.js +0 -0
  259. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  260. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  261. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  262. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  263. package/lib/setup/table/Text/TableText.module.css +37 -37
  264. package/lib/setup/table/Text/Text.js +0 -0
  265. package/lib/svg/PlusIcon.js +1 -1
  266. package/lib/svg/SnippetIcon.js +2 -2
  267. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  268. package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -124
  269. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  270. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  271. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  272. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  273. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  274. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
  275. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  276. package/package.json +82 -82
  277. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +0 -533
  278. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +0 -16
  279. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +0 -16
  280. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +0 -16
  281. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +0 -16
  282. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +0 -16
@@ -82,40 +82,44 @@ var AccountName = /*#__PURE__*/function (_Component) {
82
82
  TextProps = _customProps$TextProp === void 0 ? {} : _customProps$TextProp,
83
83
  _customProps$Secondar = customProps.SecondaryTextProps,
84
84
  SecondaryTextProps = _customProps$Secondar === void 0 ? {} : _customProps$Secondar;
85
- return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
86
- alignBox: "row",
87
- align: "baseline",
88
- isCover: false,
89
- "data-title": dataTitle,
90
- dataId: dataId
91
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
92
- flexible: true
93
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
94
- alignBox: "row",
95
- align: "baseline",
96
- isCover: false,
97
- className: _SecondaryTextModule["default"].primaryAccountNameCnt
98
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
99
- className: _SecondaryTextModule["default"].primaryAccountName,
100
- shrink: true
101
- }, isLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], _extends({
102
- href: href,
103
- urlName: urlName,
104
- urlData: urlData,
105
- onClick: onClick,
106
- dataId: "".concat(dataId, "_link"),
107
- className: _SecondaryTextModule["default"].link
108
- }, LinkProps), /*#__PURE__*/_react["default"].createElement("div", {
109
- className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
110
- }, text)) : /*#__PURE__*/_react["default"].createElement("div", _extends({
111
- className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '', " ").concat(notAccessible ? _SecondaryTextModule["default"].disable : '')
112
- }, TextProps), text)), secondaryAccountText && /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
113
- href: secondaryAccountHref,
114
- onClick: secondaryAccountClick,
115
- className: _SecondaryTextModule["default"].link
116
- }, /*#__PURE__*/_react["default"].createElement("div", _extends({
117
- className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
118
- }, SecondaryTextProps), secondaryAccountText))))));
85
+ return (
86
+ /*#__PURE__*/
87
+ // <Container
88
+ // alignBox='row'
89
+ // align='baseline'
90
+ // isCover={false}
91
+ // data-title={dataTitle}
92
+ // dataId={dataId}
93
+ // >
94
+ // <Box flexible>
95
+ _react["default"].createElement("div", {
96
+ className: _SecondaryTextModule["default"].primaryAccountNameCnt,
97
+ "data-title": dataTitle,
98
+ "data-id": dataId
99
+ }, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
100
+ className: _SecondaryTextModule["default"].primaryAccountName,
101
+ shrink: true
102
+ }, isLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], _extends({
103
+ href: href,
104
+ urlName: urlName,
105
+ urlData: urlData,
106
+ onClick: onClick,
107
+ dataId: "".concat(dataId, "_link"),
108
+ className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].link)
109
+ }, LinkProps), /*#__PURE__*/_react["default"].createElement("div", {
110
+ className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
111
+ }, text)) : /*#__PURE__*/_react["default"].createElement("div", _extends({
112
+ className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '', " ").concat(notAccessible ? _SecondaryTextModule["default"].disable : '')
113
+ }, TextProps), text)), secondaryAccountText && /*#__PURE__*/_react["default"].createElement(_Link["default"], {
114
+ href: secondaryAccountHref,
115
+ onClick: secondaryAccountClick,
116
+ className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].link)
117
+ }, /*#__PURE__*/_react["default"].createElement("div", _extends({
118
+ className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
119
+ }, SecondaryTextProps), secondaryAccountText))) // </Box>
120
+ // </Container>
121
+
122
+ );
119
123
  }
120
124
  }]);
121
125
 
@@ -93,36 +93,30 @@ var ContactName = /*#__PURE__*/function (_Component) {
93
93
  LinkProps = _customProps$LinkProp === void 0 ? {} : _customProps$LinkProp,
94
94
  _customProps$TextProp = customProps.TextProps,
95
95
  TextProps = _customProps$TextProp === void 0 ? {} : _customProps$TextProp;
96
- return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
97
- alignBox: "row",
98
- align: "baseline",
99
- isCover: false,
100
- dataId: dataId
101
- }, isPaidUser && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
102
- className: _SecondaryTextModule["default"].paidUserIcon,
103
- title: paidTitle
104
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
96
+ return /*#__PURE__*/_react["default"].createElement("div", {
97
+ className: _SecondaryTextModule["default"].contactNameCnt,
98
+ "data-id": dataId
99
+ }, isPaidUser && /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
105
100
  name: "ZD-paiduser",
106
- iconClass: _SecondaryTextModule["default"].icon
107
- })), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
108
- flexible: true
109
- }, isLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], _extends({
101
+ iconClass: _SecondaryTextModule["default"].paidUserIcon,
102
+ title: paidTitle
103
+ }), /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], _extends({
110
104
  urlName: urlName,
111
105
  href: href,
112
106
  urlData: urlData,
113
107
  onClick: onClick,
114
108
  title: dataTitle,
115
109
  dataId: "".concat(dataId, "_link"),
116
- className: _SecondaryTextModule["default"].link
110
+ className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].link)
117
111
  }, LinkProps), /*#__PURE__*/_react["default"].createElement("div", {
118
112
  className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
119
113
  }, text)) : /*#__PURE__*/_react["default"].createElement("div", _extends({
120
- className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '', " ").concat(notAccessible ? _SecondaryTextModule["default"].disable : ''),
114
+ className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '', " ").concat(notAccessible ? _SecondaryTextModule["default"].disable : ''),
121
115
  "data-title": dataTitle
122
- }, TextProps), text)), sentimentType && /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_SentimentStatus["default"], {
116
+ }, TextProps), text)), sentimentType && /*#__PURE__*/_react["default"].createElement(_SentimentStatus["default"], {
123
117
  type: sentimentType,
124
118
  dataTitle: sentimentDataTitle
125
- })));
119
+ }));
126
120
  }
127
121
  }]);
128
122
 
@@ -164,7 +158,8 @@ ContactName.defaultProps = {
164
158
  dataId: 'contactName',
165
159
  fontWeight: 'regular',
166
160
  i18nKeys: {},
167
- customProps: {}
161
+ customProps: {},
162
+ sentimentType: 'positive'
168
163
  };
169
164
 
170
165
  if (false) {
@@ -1,136 +1,151 @@
1
- .paidUserIcon {
2
- vertical-align: middle;
3
- bottom: var(--zd_size1);
4
- position: relative;
5
- font-size: var(--zd_font_size8);
6
- }[dir=ltr] .paidUserIcon {
7
- margin-right: var(--zd_size5);
8
- }[dir=rtl] .paidUserIcon {
9
- margin-left: var(--zd_size5);
10
- }
11
- .icon {
12
- display: block;
13
- }
14
- .disable {
15
- cursor: not-allowed;
16
- }
17
- .textBold {
18
- font-family: var(--zd_bold);
19
- color: var(--zdt_secondaryText_black_text);
20
- }
21
- .textStyle, .link{
22
- display: block
23
- }
24
- .textStyle.textBold {
25
- font-family: var(--zd_bold);
26
- color: var(--zdt_secondaryText_black_text);
27
- }
28
- .ticketId,
29
- .link,
30
- .textStyle,
31
- .secondaryText,
32
- .ratingText,
33
- .phoneNumber {
34
- color: var(--zdt_secondaryText_secondaryText_text);
35
- }
36
- .textStyle,
37
- .secondaryText {
38
- font-size: var(--zd_font_size12);
39
- }
40
- .ticketId,
41
- .phoneNumber,
42
- .ratingText {
43
- font-size: var(--zd_font_size12);
44
- }
45
- .textStyle,
46
- .secondaryText,
47
- .phoneNumber {
48
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
49
- max-width: 100%;
50
- display: block;
51
- }
52
- .textStyle, .secondaryText, .phoneNumber {
53
- cursor: pointer;
54
- }
55
- .textStyle:hover,
56
- .ticketIdLink,
57
- .phoneNumber:hover,
58
- .link:hover {
59
- color: var(--zdt_secondaryText_blue_text);
60
- }
61
- .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
62
- color: var(--zdt_secondaryText_blue_text);
63
- }
64
- .ticketIdLink {
65
- cursor: pointer;
66
- }
67
- .ticketIdLink:hover, .ticketIdLink:focus {
68
- color: var(--zdt_secondaryText_blue_hover_text);
69
- }
70
- .primaryAccountNameCnt {
71
- max-width: 100%;
72
- }
73
- /* status */
74
- .font_regular {
75
- font-family: var(--zd_regular);
76
- }
77
- .font_semibold {
78
- font-family: var(--zd_semibold);
79
- }
80
- .font_bold {
81
- font-family: var(--zd_bold);
82
- }
83
- .font_semibold,
84
- .font_bold,
85
- .textBold {
86
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
87
- }
88
- .priorityText,
89
- .statusText {
90
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
91
- }
92
-
93
- .priorityText {
94
- font-size: var(--zd_font_size12);
95
- max-width: 100%;
96
- }
97
- .departmentText {
98
- font-size: var(--zd_font_size12);
99
- color: var(--zdt_secondaryText_secondaryText_text);
100
- max-width: 100%;
101
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
102
- }
103
- /* HappinessRating Style */
104
- .happinessContainer {
105
- composes: inlineBlockMiddle from '../listCommon.module.css';
106
- }
107
- .happinessImg {
108
- width: var(--zd_size10);
109
- vertical-align: middle;
110
- }
111
- [dir=ltr] .happinessImg {
112
- margin: 0 var(--zd_size4) 0 0;
113
- }
114
- [dir=rtl] .happinessImg {
115
- margin: 0 0 0 var(--zd_size4);
116
- }
117
-
118
- /* colors */
119
- .gray {
120
- color: var(--zdt_secondaryText_gray_text);
121
- }
122
- .orange {
123
- color: var(--zdt_secondaryText_orage_text);
124
- }
125
- .green {
126
- color: var(--zdt_secondaryText_green_text);
127
- }
128
- .red {
129
- color: var(--zdt_secondaryText_red_text);
130
- }
131
- .blue {
132
- color: var(--zdt_secondaryText_blue_text);
133
- }
134
- .black {
135
- color: var(--zdt_secondaryText_black_text);
136
- }
1
+ .icon {
2
+ display: block;
3
+ }
4
+ .disable {
5
+ cursor: not-allowed;
6
+ }
7
+ .textBold {
8
+ font-family: var(--zd_bold);
9
+ color: var(--zdt_secondaryText_black_text);
10
+ }
11
+ .textStyle, .link{
12
+ display: block
13
+ }
14
+ .textStyle.textBold {
15
+ font-family: var(--zd_bold);
16
+ color: var(--zdt_secondaryText_black_text);
17
+ }
18
+ .ticketId,
19
+ .link,
20
+ .textStyle,
21
+ .secondaryText,
22
+ .ratingText,
23
+ .phoneNumber {
24
+ color: var(--zdt_secondaryText_secondaryText_text);
25
+ }
26
+ .textStyle,
27
+ .secondaryText {
28
+ font-size: var(--zd_font_size12);
29
+ }
30
+ .ticketId,
31
+ .phoneNumber,
32
+ .ratingText {
33
+ font-size: var(--zd_font_size12);
34
+ }
35
+ .textStyle,
36
+ .secondaryText,
37
+ .phoneNumber {
38
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
39
+ max-width: 100%;
40
+ display: block;
41
+ }
42
+ .textStyle, .secondaryText, .phoneNumber {
43
+ cursor: pointer;
44
+ }
45
+ .textStyle:hover,
46
+ .ticketIdLink,
47
+ .phoneNumber:hover,
48
+ .link:hover {
49
+ color: var(--zdt_secondaryText_blue_text);
50
+ }
51
+ .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
52
+ color: var(--zdt_secondaryText_blue_text);
53
+ }
54
+ .ticketIdLink {
55
+ cursor: pointer;
56
+ }
57
+ .ticketIdLink:hover, .ticketIdLink:focus {
58
+ color: var(--zdt_secondaryText_blue_hover_text);
59
+ }
60
+ /* status */
61
+ .font_regular {
62
+ font-family: var(--zd_regular);
63
+ }
64
+ .font_semibold {
65
+ font-family: var(--zd_semibold);
66
+ }
67
+ .font_bold {
68
+ font-family: var(--zd_bold);
69
+ }
70
+ .font_semibold,
71
+ .font_bold,
72
+ .textBold {
73
+ composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
74
+ }
75
+ .priorityText,
76
+ .statusText {
77
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
78
+ }
79
+
80
+ .priorityText {
81
+ font-size: var(--zd_font_size12);
82
+ max-width: 100%;
83
+ }
84
+ .departmentText {
85
+ font-size: var(--zd_font_size12);
86
+ color: var(--zdt_secondaryText_secondaryText_text);
87
+ max-width: 100%;
88
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
89
+ }
90
+ /* HappinessRating Style */
91
+ .happinessContainer {
92
+ composes: inlineBlockMiddle from '../listCommon.module.css';
93
+ }
94
+ .happinessImg {
95
+ width: var(--zd_size10);
96
+ vertical-align: middle;
97
+ }
98
+ [dir=ltr] .happinessImg {
99
+ margin: 0 var(--zd_size4) 0 0;
100
+ }
101
+ [dir=rtl] .happinessImg {
102
+ margin: 0 0 0 var(--zd_size4);
103
+ }
104
+
105
+ /* colors */
106
+ .gray {
107
+ color: var(--zdt_secondaryText_gray_text);
108
+ }
109
+ .orange {
110
+ color: var(--zdt_secondaryText_orage_text);
111
+ }
112
+ .green {
113
+ color: var(--zdt_secondaryText_green_text);
114
+ }
115
+ .red {
116
+ color: var(--zdt_secondaryText_red_text);
117
+ }
118
+ .blue {
119
+ color: var(--zdt_secondaryText_blue_text);
120
+ }
121
+ .black {
122
+ color: var(--zdt_secondaryText_black_text);
123
+ }
124
+ /* Contact Name */
125
+ .contactNameCnt {
126
+ display: inline-grid;
127
+ grid-template-columns: minmax(auto,max-content) 1fr minmax(auto,max-content);
128
+ align-items: baseline;
129
+ }
130
+ .paidUserIcon {
131
+ vertical-align: middle;
132
+ bottom: var(--zd_size1);
133
+ position: relative;
134
+ font-size: var(--zd_font_size8);
135
+ }
136
+ [dir=ltr] .paidUserIcon {
137
+ margin-right: var(--zd_size5);
138
+ }
139
+ [dir=rtl] .paidUserIcon {
140
+ margin-left: var(--zd_size5);
141
+ }
142
+ .gridItem {
143
+ min-width: 0;
144
+ }
145
+ /* Account Name */
146
+ .primaryAccountNameCnt {
147
+ max-width: 100%;
148
+ display: grid;
149
+ grid-template-columns: 1fr minmax(auto,max-content);
150
+ align-items: baseline;
151
+ }
File without changes
File without changes
@@ -1,6 +1,6 @@
1
- .listItemContainer {
2
- max-width: 100%;
3
- }
4
- .dottedStyle {
5
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
1
+ .listItemContainer {
2
+ max-width: 100%;
3
+ }
4
+ .dottedStyle {
5
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
6
6
  }
@@ -1,12 +1,12 @@
1
- .container {
2
- vertical-align: middle;
3
- font-size: var(--zd_font_size10);
4
- }[dir=ltr] .container {
5
- margin: 0 0 0 var(--zd_size5);
6
- }[dir=rtl] .container {
7
- margin: 0 var(--zd_size5) 0 0;
8
- }
9
-
10
- .sentimentIcon {
11
- display: block;
12
- }
1
+ .container {
2
+ vertical-align: middle;
3
+ font-size: var(--zd_font_size10);
4
+ }[dir=ltr] .container {
5
+ margin: 0 0 0 var(--zd_size5);
6
+ }[dir=rtl] .container {
7
+ margin: 0 var(--zd_size5) 0 0;
8
+ }
9
+
10
+ .sentimentIcon {
11
+ display: block;
12
+ }
@@ -1,27 +1,27 @@
1
- .varClass {
2
- --subject_text: var(--zdt_subject_text);
3
- }
4
- .subject {
5
- composes: varClass;
6
- color: var(--subject_text);
7
- display: block;
8
- }
9
- .dotted {
10
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
11
- }
12
- .font_regular {
13
- font-family: var(--zd_regular);
14
- }
15
- .font_semibold {
16
- font-family: var(--zd_semibold);
17
- }
18
- .font_bold {
19
- font-family: var(--zd_bold);
20
- }
21
- .font_semibold,
22
- .font_bold {
23
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
24
- }
25
- .cursorPointer {
26
- cursor: pointer;
27
- }
1
+ .varClass {
2
+ --subject_text: var(--zdt_subject_text);
3
+ }
4
+ .subject {
5
+ composes: varClass;
6
+ color: var(--subject_text);
7
+ display: block;
8
+ }
9
+ .dotted {
10
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
11
+ }
12
+ .font_regular {
13
+ font-family: var(--zd_regular);
14
+ }
15
+ .font_semibold {
16
+ font-family: var(--zd_semibold);
17
+ }
18
+ .font_bold {
19
+ font-family: var(--zd_bold);
20
+ }
21
+ .font_semibold,
22
+ .font_bold {
23
+ composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
24
+ }
25
+ .cursorPointer {
26
+ cursor: pointer;
27
+ }