@zohodesk/dot 1.0.0-temp-133 → 1.0.0-temp-134

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 (497) hide show
  1. package/README.md +1218 -1222
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +300 -305
  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 +295 -300
  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 +303 -308
  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/dubFinder.js +96 -96
  21. package/es/ActionButton/ActionButton.js +3 -3
  22. package/es/ActionButton/ActionButton.module.css +139 -139
  23. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  24. package/es/Attachment/Attachment.module.css +157 -157
  25. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -353
  26. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  27. package/es/Drawer/Drawer.js +0 -0
  28. package/es/Drawer/Drawer.module.css +150 -189
  29. package/es/Drawer/index.js +1 -0
  30. package/es/ExternalLink/ExternalLink.js +0 -0
  31. package/es/ExternalLink/ExternalLink.module.css +3 -3
  32. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  33. package/es/FlipCard/FlipCard.module.css +44 -44
  34. package/es/FormAction/FormAction.module.css +82 -82
  35. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  36. package/es/IconButton/IconButton.module.css +22 -22
  37. package/es/Image/Image.module.css +10 -10
  38. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  39. package/es/Link/Link.js +0 -0
  40. package/es/Link/Link.module.css +3 -3
  41. package/es/Loader/Loader.module.css +46 -46
  42. package/es/Message/Message.module.css +102 -102
  43. package/es/MessageBanner/MessageBanner.module.css +46 -46
  44. package/es/NewStar/NewStar.module.css +175 -175
  45. package/es/PlusIcon/PlusIcon.js +0 -0
  46. package/es/PlusIcon/PlusIcon.module.css +16 -19
  47. package/es/Separator/Separator.module.css +34 -34
  48. package/es/ToastMessage/ToastMessage.js +0 -0
  49. package/es/ToastMessage/ToastMessage.module.css +328 -329
  50. package/es/Upload/Upload.module.css +125 -125
  51. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  52. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  53. package/es/alert/index.js +2 -0
  54. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  55. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  56. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  57. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  58. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  59. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  60. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  61. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  62. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  63. package/es/avatar/index.js +7 -0
  64. package/es/common/dot_animation.module.css +26 -26
  65. package/es/common/dot_common.module.css +3 -3
  66. package/es/deprecated/FreezeLayer/FreezeLayer.module.css +42 -42
  67. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  68. package/es/deprecated/utils/KeyboardApi.js +25 -25
  69. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -1
  70. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +107 -101
  71. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  72. package/es/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  73. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  74. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  75. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  76. package/es/errorstate/EmptyStates.module.css +87 -87
  77. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  78. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  79. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  80. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  81. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  82. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  83. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  84. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  85. package/es/errorstate/index.js +8 -0
  86. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  87. package/es/form/fields/Fields.module.css +183 -183
  88. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  89. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  90. package/es/form/fields/TextEditor/TextEditor.module.css +666 -764
  91. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  92. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  93. package/es/form/fields/index.js +16 -0
  94. package/es/form/layout/Field/Field.js +0 -0
  95. package/es/form/layout/Field/Field.module.css +22 -22
  96. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  97. package/es/form/layout/Section/Section.js +0 -0
  98. package/es/form/layout/index.js +2 -0
  99. package/es/index.js +51 -4
  100. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  101. package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -165
  102. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  103. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  104. package/es/list/Comment/Comment.module.css +29 -29
  105. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  106. package/es/list/Dot/Dot.module.css +15 -15
  107. package/es/list/DotNew/DotNew.module.css +22 -25
  108. package/es/list/GridStencils/GridStencils.module.css +146 -146
  109. package/es/list/Icons/Icons.module.css +16 -16
  110. package/es/list/Icons/index.js +7 -0
  111. package/es/list/ListLayout/ListLayout.module.css +57 -57
  112. package/es/list/ListStencils/ListStencils.module.css +67 -67
  113. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  114. package/es/list/SecondaryText/Website.js +0 -0
  115. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  116. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  117. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  118. package/es/list/Subject/Subject.module.css +27 -27
  119. package/es/list/TagNew/TagNew.module.css +115 -117
  120. package/es/list/Thread/Thread.module.css +42 -42
  121. package/es/list/UserTime/UserTime.module.css +58 -58
  122. package/es/list/index.js +17 -0
  123. package/es/list/listCommon.module.css +60 -60
  124. package/es/list/status/StatusDropdown/StatusDropdown.js +3 -1
  125. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  126. package/es/list/status/StatusListItem/StatusListItem.js +3 -2
  127. package/es/list/status/StatusListItem/StatusListItem.module.css +106 -104
  128. package/es/list/status/StatusListItem/props/defaultProps.js +2 -1
  129. package/es/list/status/StatusListItem/props/propTypes.js +1 -0
  130. package/es/list/status/index.js +2 -0
  131. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  132. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  133. package/es/lookup/Lookup/Lookup.js +0 -0
  134. package/es/lookup/Lookup/Lookup.module.css +26 -26
  135. package/es/lookup/Section/LookupSection.module.css +8 -8
  136. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  137. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  138. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  139. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  140. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  141. package/es/lookup/header/index.js +5 -0
  142. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  143. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  144. package/es/lookup/index.js +5 -0
  145. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  146. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  147. package/es/setup/header/Search/Search.module.css +68 -68
  148. package/es/setup/header/Views/Views.module.css +37 -37
  149. package/es/setup/header/index.js +4 -0
  150. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  151. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  152. package/es/setup/helptips/Link/Link.js +0 -0
  153. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  154. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  155. package/es/setup/helptips/Title/Title.js +0 -0
  156. package/es/setup/helptips/index.js +4 -0
  157. package/es/setup/index.js +6 -0
  158. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  159. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  160. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  161. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  162. package/es/setup/table/Text/TableText.module.css +37 -37
  163. package/es/setup/table/Text/Text.js +0 -0
  164. package/es/setup/table/index.js +5 -0
  165. package/es/svg/PlusIcon.js +1 -1
  166. package/es/svg/SnippetIcon.js +2 -2
  167. package/es/svg/index.js +3 -0
  168. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  169. package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -127
  170. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  171. package/es/version2/alertIcons/index.js +8 -0
  172. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  173. package/es/version2/errorstate/index.js +6 -0
  174. package/es/version2/index.js +12 -0
  175. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  176. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  177. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  178. package/es/version2/lookup/index.js +2 -0
  179. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
  180. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  181. package/es/version2/notification/index.js +3 -0
  182. package/install.md +12 -12
  183. package/lib/ActionButton/ActionButton.js +6 -4
  184. package/lib/ActionButton/ActionButton.module.css +139 -139
  185. package/lib/AlphabeticList/AlphabeticList.js +3 -1
  186. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  187. package/lib/AlphabeticList/props/propTypes.js +1 -1
  188. package/lib/Attachment/Attachment.js +3 -1
  189. package/lib/Attachment/Attachment.module.css +157 -157
  190. package/lib/AttachmentViewer/AttachmentImage.js +3 -1
  191. package/lib/AttachmentViewer/AttachmentViewer.js +4 -2
  192. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -353
  193. package/lib/AttachmentViewer/utils.js +4 -1
  194. package/lib/ChannelIcon/ChannelIcon.js +3 -1
  195. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  196. package/lib/Drawer/Drawer.js +3 -1
  197. package/lib/Drawer/Drawer.module.css +150 -189
  198. package/lib/Drawer/index.js +33 -0
  199. package/lib/ExternalLink/ExternalLink.js +3 -1
  200. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  201. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  202. package/lib/FlipCard/FlipCard.js +3 -1
  203. package/lib/FlipCard/FlipCard.module.css +44 -44
  204. package/lib/FormAction/FormAction.js +3 -1
  205. package/lib/FormAction/FormAction.module.css +82 -82
  206. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  207. package/lib/FreezeLayer/css/cssJSLogic.js +4 -1
  208. package/lib/FreezeLayer/useFreezeLayer.js +2 -2
  209. package/lib/IconButton/IconButton.js +3 -1
  210. package/lib/IconButton/IconButton.module.css +22 -22
  211. package/lib/IconButton/props/propTypes.js +4 -1
  212. package/lib/Image/Image.js +3 -1
  213. package/lib/Image/Image.module.css +10 -10
  214. package/lib/ImportantNotes/ImportantNotes.js +3 -1
  215. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  216. package/lib/Link/Link.js +3 -1
  217. package/lib/Link/Link.module.css +3 -3
  218. package/lib/Loader/Loader.js +3 -1
  219. package/lib/Loader/Loader.module.css +46 -46
  220. package/lib/Message/Message.js +3 -1
  221. package/lib/Message/Message.module.css +102 -102
  222. package/lib/MessageBanner/MessageBanner.js +3 -1
  223. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  224. package/lib/NewStar/NewStar.js +3 -1
  225. package/lib/NewStar/NewStar.module.css +175 -175
  226. package/lib/PlusIcon/PlusIcon.js +3 -1
  227. package/lib/PlusIcon/PlusIcon.module.css +16 -19
  228. package/lib/Separator/Separator.js +3 -1
  229. package/lib/Separator/Separator.module.css +34 -34
  230. package/lib/ToastMessage/ToastMessage.js +2 -2
  231. package/lib/ToastMessage/ToastMessage.module.css +328 -329
  232. package/lib/Upload/Upload.js +3 -1
  233. package/lib/Upload/Upload.module.css +125 -125
  234. package/lib/actions/AutoClose.js +2 -2
  235. package/lib/alert/AlertHeader/AlertHeader.js +3 -1
  236. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  237. package/lib/alert/AlertLookup/AlertLookup.js +3 -1
  238. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  239. package/lib/alert/index.js +20 -0
  240. package/lib/avatar/AvatarClose/AvatarClose.js +3 -1
  241. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  242. package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -1
  243. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  244. package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -1
  245. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  246. package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -1
  247. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  248. package/lib/avatar/AvatarStatus/props/propTypes.js +4 -1
  249. package/lib/avatar/AvatarThread/AvatarThread.js +3 -1
  250. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  251. package/lib/avatar/AvatarUser/AvatarUser.js +5 -2
  252. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  253. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -1
  254. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  255. package/lib/avatar/index.js +55 -0
  256. package/lib/common/dot_animation.module.css +26 -26
  257. package/lib/common/dot_common.module.css +3 -3
  258. package/lib/deprecated/FreezeLayer/FreezeLayer.js +3 -1
  259. package/lib/deprecated/FreezeLayer/FreezeLayer.module.css +42 -42
  260. package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -1
  261. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  262. package/lib/deprecated/utils/KeyboardApi.js +29 -26
  263. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +10 -3
  264. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +107 -101
  265. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  266. package/lib/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  267. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -1
  268. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  269. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  270. package/lib/emptystate/EditionPage/EditionPage.js +3 -1
  271. package/lib/errorstate/EmptyStates.module.css +87 -87
  272. package/lib/errorstate/Inconvenience/Inconvenience.js +3 -1
  273. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  274. package/lib/errorstate/LinkText/LinkText.js +3 -1
  275. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  276. package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -1
  277. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  278. package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -1
  279. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  280. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -1
  281. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  282. package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -1
  283. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  284. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
  285. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  286. package/lib/errorstate/WillBack/WillBack.js +3 -1
  287. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  288. package/lib/errorstate/index.js +62 -0
  289. package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -1
  290. package/lib/form/fields/CheckBoxField/props/defaultProps.js +4 -1
  291. package/lib/form/fields/CheckBoxField/props/propTypes.js +4 -1
  292. package/lib/form/fields/CurrencyField/CurrencyField.js +3 -1
  293. package/lib/form/fields/CurrencyField/props/defaultProps.js +4 -1
  294. package/lib/form/fields/CurrencyField/props/propTypes.js +4 -1
  295. package/lib/form/fields/DateField/DateField.js +3 -1
  296. package/lib/form/fields/DateField/props/defaultProps.js +4 -1
  297. package/lib/form/fields/DateField/props/propTypes.js +4 -1
  298. package/lib/form/fields/FieldContainer/FieldContainer.js +3 -1
  299. package/lib/form/fields/FieldContainer/props/defaultProps.js +4 -1
  300. package/lib/form/fields/FieldContainer/props/propTypes.js +4 -1
  301. package/lib/form/fields/Fields.module.css +183 -183
  302. package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -1
  303. package/lib/form/fields/MultiSelectField/props/defaultProps.js +4 -1
  304. package/lib/form/fields/MultiSelectField/props/propTypes.js +4 -1
  305. package/lib/form/fields/PhoneField/PhoneField.js +3 -1
  306. package/lib/form/fields/RadioField/RadioField.js +3 -1
  307. package/lib/form/fields/SelectField/SelectField.js +3 -1
  308. package/lib/form/fields/SelectField/props/defaultProps.js +4 -1
  309. package/lib/form/fields/SelectField/props/propTypes.js +4 -1
  310. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -1
  311. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  312. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  313. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  314. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +4 -1
  315. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +4 -1
  316. package/lib/form/fields/TextBoxField/TextBoxField.js +3 -1
  317. package/lib/form/fields/TextBoxField/props/defaultProps.js +4 -1
  318. package/lib/form/fields/TextBoxField/props/propTypes.js +4 -1
  319. package/lib/form/fields/TextEditor/TextEditor.js +4 -2
  320. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -764
  321. package/lib/form/fields/TextEditorField/TextEditorField.js +3 -1
  322. package/lib/form/fields/TextEditorField/props/defaultProps.js +4 -1
  323. package/lib/form/fields/TextEditorField/props/propTypes.js +4 -1
  324. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -2
  325. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  326. package/lib/form/fields/TextareaField/TextareaField.js +3 -1
  327. package/lib/form/fields/TextareaField/props/defaultProps.js +4 -1
  328. package/lib/form/fields/TextareaField/props/propTypes.js +4 -1
  329. package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -1
  330. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  331. package/lib/form/fields/index.js +118 -0
  332. package/lib/form/layout/Field/Field.js +3 -1
  333. package/lib/form/layout/Field/Field.module.css +22 -22
  334. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  335. package/lib/form/layout/Section/Section.js +3 -1
  336. package/lib/form/layout/index.js +20 -0
  337. package/lib/index.js +269 -29
  338. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +3 -1
  339. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  340. package/lib/layout/SubtabLayout/SubtabLayout.js +3 -1
  341. package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -165
  342. package/lib/list/AvatarFlip/AvatarFlip.js +3 -1
  343. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  344. package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -1
  345. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  346. package/lib/list/Comment/Comment.js +3 -1
  347. package/lib/list/Comment/Comment.module.css +29 -29
  348. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -1
  349. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  350. package/lib/list/DepartmentDropDown/props/propTypes.js +4 -1
  351. package/lib/list/Dot/Dot.js +3 -1
  352. package/lib/list/Dot/Dot.module.css +15 -15
  353. package/lib/list/DotNew/DotNew.js +3 -1
  354. package/lib/list/DotNew/DotNew.module.css +22 -25
  355. package/lib/list/GridStencils/GridStencils.js +3 -1
  356. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  357. package/lib/list/Icons/AddNewIcon.js +3 -1
  358. package/lib/list/Icons/CompleteIcon.js +3 -1
  359. package/lib/list/Icons/DeleteIcon.js +3 -1
  360. package/lib/list/Icons/EditIcon.js +3 -1
  361. package/lib/list/Icons/FloatingIcons.js +3 -1
  362. package/lib/list/Icons/Icons.module.css +16 -16
  363. package/lib/list/Icons/ReadUnreadIcon.js +3 -1
  364. package/lib/list/Icons/SmartIcon.js +3 -1
  365. package/lib/list/Icons/index.js +55 -0
  366. package/lib/list/ListLayout/ListLayout.js +3 -1
  367. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  368. package/lib/list/ListLayout/props/propTypes.js +4 -1
  369. package/lib/list/ListStencils/ListStencils.js +3 -1
  370. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  371. package/lib/list/SecondaryText/AccountName.js +3 -1
  372. package/lib/list/SecondaryText/ContactName.js +3 -1
  373. package/lib/list/SecondaryText/DepartmentText.js +3 -1
  374. package/lib/list/SecondaryText/Email.js +3 -1
  375. package/lib/list/SecondaryText/HappinessRating.js +3 -1
  376. package/lib/list/SecondaryText/PhoneNumber.js +3 -1
  377. package/lib/list/SecondaryText/PriorityText.js +3 -1
  378. package/lib/list/SecondaryText/SecondaryText.js +3 -1
  379. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  380. package/lib/list/SecondaryText/StatusText.js +3 -1
  381. package/lib/list/SecondaryText/TicketId.js +3 -1
  382. package/lib/list/SecondaryText/Website.js +3 -1
  383. package/lib/list/SecondryPanel/SecondryPanel.js +3 -1
  384. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  385. package/lib/list/SentimentStatus/SentimentStatus.js +3 -1
  386. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  387. package/lib/list/Subject/Subject.js +3 -1
  388. package/lib/list/Subject/Subject.module.css +27 -27
  389. package/lib/list/TagNew/TagNew.js +3 -1
  390. package/lib/list/TagNew/TagNew.module.css +115 -117
  391. package/lib/list/Thread/Thread.js +3 -1
  392. package/lib/list/Thread/Thread.module.css +42 -42
  393. package/lib/list/UserTime/UserTime.js +3 -1
  394. package/lib/list/UserTime/UserTime.module.css +58 -58
  395. package/lib/list/index.js +152 -0
  396. package/lib/list/listCommon.module.css +60 -60
  397. package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -2
  398. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  399. package/lib/list/status/StatusDropdown/props/propTypes.js +4 -1
  400. package/lib/list/status/StatusListItem/StatusListItem.js +6 -3
  401. package/lib/list/status/StatusListItem/StatusListItem.module.css +106 -104
  402. package/lib/list/status/StatusListItem/props/defaultProps.js +2 -1
  403. package/lib/list/status/StatusListItem/props/propTypes.js +1 -0
  404. package/lib/list/status/index.js +20 -0
  405. package/lib/lookup/EmptyPage/EmptyPage.js +3 -1
  406. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  407. package/lib/lookup/Lookup/Lookup.js +5 -2
  408. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  409. package/lib/lookup/Section/LookupSection.module.css +8 -8
  410. package/lib/lookup/Section/Section.js +3 -1
  411. package/lib/lookup/header/Close/Close.js +3 -1
  412. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  413. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +5 -2
  414. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  415. package/lib/lookup/header/Search/Search.js +3 -1
  416. package/lib/lookup/header/TicketHeader/TicketHeader.js +5 -2
  417. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  418. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  419. package/lib/lookup/header/Title/Title.js +3 -1
  420. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -1
  421. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  422. package/lib/lookup/header/index.js +41 -0
  423. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  424. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  425. package/lib/lookup/index.js +33 -0
  426. package/lib/setup/header/Button/Button.js +3 -1
  427. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  428. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  429. package/lib/setup/header/Link/Link.js +3 -1
  430. package/lib/setup/header/Search/Search.js +3 -1
  431. package/lib/setup/header/Search/Search.module.css +68 -68
  432. package/lib/setup/header/Views/Views.js +3 -1
  433. package/lib/setup/header/Views/Views.module.css +37 -37
  434. package/lib/setup/header/index.js +34 -0
  435. package/lib/setup/helptips/Description/Description.js +3 -1
  436. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  437. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  438. package/lib/setup/helptips/Link/Link.js +3 -1
  439. package/lib/setup/helptips/ListGroup/ListGroup.js +3 -1
  440. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  441. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  442. package/lib/setup/helptips/Title/Title.js +3 -1
  443. package/lib/setup/helptips/index.js +34 -0
  444. package/lib/setup/index.js +15 -0
  445. package/lib/setup/table/Table/Table.js +3 -1
  446. package/lib/setup/table/TableBody/TableBody.js +3 -1
  447. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  448. package/lib/setup/table/TableData/TableData.js +3 -1
  449. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  450. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  451. package/lib/setup/table/TableHead/TableHead.js +3 -1
  452. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  453. package/lib/setup/table/TableRow/TableRow.js +3 -1
  454. package/lib/setup/table/Text/TableText.module.css +37 -37
  455. package/lib/setup/table/Text/Text.js +3 -1
  456. package/lib/setup/table/index.js +41 -0
  457. package/lib/svg/PlusIcon.js +4 -2
  458. package/lib/svg/SnippetIcon.js +5 -3
  459. package/lib/svg/TemplateIcon.js +3 -1
  460. package/lib/svg/index.js +27 -0
  461. package/lib/version2/AlertClose/AlertClose.js +3 -1
  462. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  463. package/lib/version2/GlobalNotification/GlobalNotification.js +3 -1
  464. package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -127
  465. package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -1
  466. package/lib/version2/alertIcons/AlertIcons.js +3 -1
  467. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  468. package/lib/version2/alertIcons/DangerAlertIcon.js +3 -1
  469. package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -1
  470. package/lib/version2/alertIcons/InfoAlertIcon.js +3 -1
  471. package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -1
  472. package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -1
  473. package/lib/version2/alertIcons/WarningAlertIcon.js +3 -1
  474. package/lib/version2/alertIcons/index.js +62 -0
  475. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -1
  476. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -1
  477. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -1
  478. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
  479. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -1
  480. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  481. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -1
  482. package/lib/version2/errorstate/index.js +48 -0
  483. package/lib/version2/index.js +44 -0
  484. package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -1
  485. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  486. package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -1
  487. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  488. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  489. package/lib/version2/lookup/index.js +20 -0
  490. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
  491. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -1
  492. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  493. package/lib/version2/notification/index.js +29 -0
  494. package/package.json +104 -104
  495. package/css_error.log +0 -1
  496. package/es/common/dot_boxShadow.module.css +0 -77
  497. package/lib/common/dot_boxShadow.module.css +0 -77
@@ -1,23 +1,23 @@
1
- .container {
2
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
3
- vertical-align: middle;
4
- position: relative;
5
- }
6
-
7
- .teamAvatar {
8
- position: absolute;
9
- bottom: calc(var(--zd_size6) * -1);
10
- font-size: 0;
11
- padding: var(--zd_size2);
12
- border-radius: 50%;
13
- transform: scale(0.8);
14
- background-color: var(--zdt_avatarwithteam_default_bg);
15
- }
16
-
17
- [dir=ltr] .teamAvatar {
18
- right: calc(var(--zd_size10) * -1);
19
- }
20
-
21
- [dir=rtl] .teamAvatar {
22
- left: calc(var(--zd_size10) * -1);
23
- }
1
+ .container {
2
+ composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
3
+ vertical-align: middle;
4
+ position: relative;
5
+ }
6
+
7
+ .teamAvatar {
8
+ position: absolute;
9
+ bottom: calc(var(--zd_size6) * -1);
10
+ font-size: 0;
11
+ padding: var(--zd_size2);
12
+ border-radius: 50%;
13
+ transform: scale(0.8);
14
+ background-color: var(--zdt_avatarwithteam_default_bg);
15
+ }
16
+
17
+ [dir=ltr] .teamAvatar {
18
+ right: calc(var(--zd_size10) * -1);
19
+ }
20
+
21
+ [dir=rtl] .teamAvatar {
22
+ left: calc(var(--zd_size10) * -1);
23
+ }
@@ -0,0 +1,7 @@
1
+ export { default as AvatarClose } from './AvatarClose/AvatarClose';
2
+ export { default as AvatarCollision } from './AvatarCollision/AvatarCollision';
3
+ export { default as AvatarIcon } from './AvatarIcon/AvatarIcon';
4
+ export { default as AvatarStatus } from './AvatarStatus/AvatarStatus';
5
+ export { default as AvatarThread } from './AvatarThread/AvatarThread';
6
+ export { default as AvatarUser } from './AvatarUser/AvatarUser';
7
+ export { default as AvatarWithTeam } from './AvatarWithTeam/AvatarWithTeam';
@@ -1,27 +1,27 @@
1
-
2
- [dir=ltr] .rotate{
3
- animation-name: rotate-ltr ;
4
- }
5
- [dir=rtl] .rotate{
6
- animation-name: rotate-rtl ;
7
- }
8
-
9
- @keyframes rotate-ltr {
10
- from {
11
- transform: rotate(0);
12
- }
13
-
14
- to {
15
- transform: rotate(360deg);
16
- }
17
- }
18
-
19
- @keyframes rotate-rtl {
20
- from {
21
- transform: rotate(0);
22
- }
23
-
24
- to {
25
- transform: rotate(-360deg);
26
- }
1
+
2
+ [dir=ltr] .rotate{
3
+ animation-name: rotate-ltr ;
4
+ }
5
+ [dir=rtl] .rotate{
6
+ animation-name: rotate-rtl ;
7
+ }
8
+
9
+ @keyframes rotate-ltr {
10
+ from {
11
+ transform: rotate(0);
12
+ }
13
+
14
+ to {
15
+ transform: rotate(360deg);
16
+ }
17
+ }
18
+
19
+ @keyframes rotate-rtl {
20
+ from {
21
+ transform: rotate(0);
22
+ }
23
+
24
+ to {
25
+ transform: rotate(-360deg);
26
+ }
27
27
  }
@@ -1,4 +1,4 @@
1
- .audioImage {
2
- background-image: url('../../images/audio_thumbnail.png');
3
- background-repeat: no-repeat;
1
+ .audioImage {
2
+ background-image: url('../../images/audio_thumbnail.png');
3
+ background-repeat: no-repeat;
4
4
  }
@@ -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
+ }
@@ -1,56 +1,56 @@
1
- .container {
2
- position: relative;
3
- line-height: var(--zd_size18);
4
- composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
5
- padding: var(--zd_size3) var(--zd_size15);
6
- cursor: pointer;
7
- }[dir=ltr] .container {
8
- margin-left: var(--zd_size15);
9
- }[dir=rtl] .container {
10
- margin-right: var(--zd_size15);
11
- }
12
- .container:hover {
13
- background: var(--zdt_selectdropzdt_selectdropdown_hover_bg down_hover_bg);
14
- }
15
- .departName {
16
- font-size: var(--zd_font_size13);
17
- color: var(--zdt_selectdropdown_departname_text);
18
- composes: flexgrow dotted offSelection from '~@zohodesk/components/lib/common/common.module.css';
19
- }
20
- .departIcon {
21
- color: var(--zdt_selectdropdown_departicon);
22
- cursor: pointer;
23
- }
24
- [dir=ltr] .departIcon {
25
- margin-left: var(--zd_size5);
26
- }
27
- [dir=rtl] .departIcon {
28
- margin-right: var(--zd_size5);
29
- }
30
- .rulesPopup {
31
- max-height: var(--zd_size260);
32
- padding: var(--zd_size10) 0;
33
- }
34
-
35
- .rulesDepart {
36
- margin: 0 var(--zd_size5) var(--zd_size10) var(--zd_size5);
37
- }
38
- .searchDepart {
39
- padding: 0 var(--zd_size20);
40
- margin: 0 0 var(--zd_size10) 0;
41
- }
42
-
43
- /*Variables */
44
- /* select dropdown */
45
-
46
- [data-mode='dark'] {
47
- --zdt_selectdropdown_hover_bg: var(--dot_smoke64);
48
- --zdt_selectdropdown_departname_text: var(--zd_dark4);
49
- --zdt_selectdropdown_departicon: var(--zd_dark5);
50
- }
51
-
52
- [data-mode='default'] {
53
- --zdt_selectdropdown_hover_bg: var(--dot_smoke64);
54
- --zdt_selectdropdown_departname_text: var(--zd_dark4);
55
- --zdt_selectdropdown_departicon: var(--zd_dark5);
56
- }
1
+ .container {
2
+ position: relative;
3
+ line-height: var(--zd_size18);
4
+ composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
5
+ padding: var(--zd_size3) var(--zd_size15);
6
+ cursor: pointer;
7
+ }[dir=ltr] .container {
8
+ margin-left: var(--zd_size15);
9
+ }[dir=rtl] .container {
10
+ margin-right: var(--zd_size15);
11
+ }
12
+ .container:hover {
13
+ background: var(--zdt_selectdropzdt_selectdropdown_hover_bg down_hover_bg);
14
+ }
15
+ .departName {
16
+ font-size: var(--zd_font_size13);
17
+ color: var(--zdt_selectdropdown_departname_text);
18
+ composes: flexgrow dotted offSelection from '~@zohodesk/components/lib/common/common.module.css';
19
+ }
20
+ .departIcon {
21
+ color: var(--zdt_selectdropdown_departicon);
22
+ cursor: pointer;
23
+ }
24
+ [dir=ltr] .departIcon {
25
+ margin-left: var(--zd_size5);
26
+ }
27
+ [dir=rtl] .departIcon {
28
+ margin-right: var(--zd_size5);
29
+ }
30
+ .rulesPopup {
31
+ max-height: var(--zd_size260);
32
+ padding: var(--zd_size10) 0;
33
+ }
34
+
35
+ .rulesDepart {
36
+ margin: 0 var(--zd_size5) var(--zd_size10) var(--zd_size5);
37
+ }
38
+ .searchDepart {
39
+ padding: 0 var(--zd_size20);
40
+ margin: 0 0 var(--zd_size10) 0;
41
+ }
42
+
43
+ /*Variables */
44
+ /* select dropdown */
45
+
46
+ [data-mode='dark'] {
47
+ --zdt_selectdropdown_hover_bg: var(--dot_smoke64);
48
+ --zdt_selectdropdown_departname_text: var(--zd_dark4);
49
+ --zdt_selectdropdown_departicon: var(--zd_dark5);
50
+ }
51
+
52
+ [data-mode='default'] {
53
+ --zdt_selectdropdown_hover_bg: var(--dot_smoke64);
54
+ --zdt_selectdropdown_departname_text: var(--zd_dark4);
55
+ --zdt_selectdropdown_departicon: var(--zd_dark5);
56
+ }
@@ -52,10 +52,10 @@ Shortcut.addAll = function (keysObj, props) {
52
52
  });
53
53
  };
54
54
 
55
- /**
56
- * @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
57
- * @param callback = any function
58
- * @param action = keypress or keydown or keyup
55
+ /**
56
+ * @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
57
+ * @param callback = any function
58
+ * @param action = keypress or keydown or keyup
59
59
  */
60
60
 
61
61
  Shortcut.bulkAdd = function (shortcutArray) {
@@ -84,8 +84,8 @@ Shortcut.add = function (keycombo, cpFunc, action, displayLabel) {
84
84
  tempjson.action = action || 'keypress';
85
85
  shortcutdatas[keycombo.toLowerCase()] = tempjson;
86
86
  };
87
- /*Shortcut.prototype.remove = function(){
88
-
87
+ /*Shortcut.prototype.remove = function(){
88
+
89
89
  };*/
90
90
  Shortcut.removeAll = function () {
91
91
  shortcutdatas = {};
@@ -215,25 +215,25 @@ function _convertToKeyCharacter(e) {
215
215
  return keyName;
216
216
  }
217
217
  function _defaultCallBack(keycombo, keyOptions) {
218
- /*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
219
- if (keyOptions.callbackflow !== undefined) {
220
- keycombo = keyOptions.callbackflow.split(',');
221
- var click = function(i, combo) {
222
- setTimeout(function() {
223
- jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
224
- }, i * 200);
225
- };
226
- for (var i = 0; i < keycombo.length; i++) {
227
- var clickFunc = click.bind(this, i);
228
- clickFunc(keycombo[i]);
229
- highLightKeys(keycombo[i]);
230
- }
231
- return;
232
- }
233
- if (keyElement.length === 1) {
234
- keyElement.trigger('click');
235
- highLightKeys(keycombo);
236
- return;
218
+ /*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
219
+ if (keyOptions.callbackflow !== undefined) {
220
+ keycombo = keyOptions.callbackflow.split(',');
221
+ var click = function(i, combo) {
222
+ setTimeout(function() {
223
+ jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
224
+ }, i * 200);
225
+ };
226
+ for (var i = 0; i < keycombo.length; i++) {
227
+ var clickFunc = click.bind(this, i);
228
+ clickFunc(keycombo[i]);
229
+ highLightKeys(keycombo[i]);
230
+ }
231
+ return;
232
+ }
233
+ if (keyElement.length === 1) {
234
+ keyElement.trigger('click');
235
+ highLightKeys(keycombo);
236
+ return;
237
237
  }*/
238
238
  }
239
239
  function _shortRestrictionPlaces(e) {
@@ -519,7 +519,8 @@ export class ToggleDropDown extends Component {
519
519
  hoverType,
520
520
  palette,
521
521
  getFooter,
522
- customProps
522
+ customProps,
523
+ isMultiLineNeeded
523
524
  } = this.props;
524
525
  let {
525
526
  ToggleDropDownProps = {},
@@ -711,6 +712,7 @@ export class ToggleDropDown extends Component {
711
712
  getRef: this.itemRef,
712
713
  title: title ? title : item[keyName],
713
714
  palette: palette,
715
+ isMultiLineNeeded: isMultiLineNeeded,
714
716
  a11y: {
715
717
  role: isSearch ? 'option' : 'menuitem',
716
718
  ariaSelected: selectedId === item[idName],
@@ -733,6 +735,7 @@ export class ToggleDropDown extends Component {
733
735
  getRef: this.itemRef,
734
736
  title: title ? title : item[keyName],
735
737
  palette: palette,
738
+ isMultiLineNeeded: isMultiLineNeeded,
736
739
  a11y: {
737
740
  role: isSearch ? 'option' : 'menuitem',
738
741
  ariaSelected: selectedId === item[idName],
@@ -780,6 +783,7 @@ export class ToggleDropDown extends Component {
780
783
  title: title ? title : item[keyName],
781
784
  key: listIndex,
782
785
  palette: palette,
786
+ isMultiLineNeeded: isMultiLineNeeded,
783
787
  a11y: {
784
788
  role: isSearch ? 'option' : 'menuitem',
785
789
  ariaSelected: selectedId === item[idName],
@@ -802,6 +806,7 @@ export class ToggleDropDown extends Component {
802
806
  getRef: this.itemRef,
803
807
  title: title ? title : item[keyName],
804
808
  palette: palette,
809
+ isMultiLineNeeded: isMultiLineNeeded,
805
810
  a11y: {
806
811
  role: isSearch ? 'option' : 'menuitem',
807
812
  ariaSelected: selectedId === item[idName],
@@ -1,101 +1,107 @@
1
- .wrapper {
2
- position: relative;
3
- max-width: 100%;
4
- }
5
- .maxHgt {
6
- max-height: var(--zd_size265);
7
- padding: var(--zd_size10) 0;
8
- }
9
- .responsivemaxHgt {
10
- padding: 0;
11
- }
12
- .title {
13
- padding-top: var(--zd_size6);
14
- }
15
- [dir=ltr] .default_arrow, [dir=ltr] .overlay_arrow {
16
- padding: 0 0 0 var(--zd_size5);
17
- }
18
- [dir=rtl] .default_arrow, [dir=rtl] .overlay_arrow {
19
- padding: 0 var(--zd_size5) 0 0;
20
- }
21
- .overlay_arrow {
22
- position: absolute;
23
- top: 50%;
24
- transform: translateY(-50%) perspective(1px);
25
- }
26
- [dir=ltr] .overlay_arrow {
27
- left: 100%;
28
- }
29
- [dir=rtl] .overlay_arrow {
30
- right: 100%;
31
- }
32
- .hoverIcon .arrow {
33
- opacity: 0;
34
- visibility: hidden;
35
- }
36
- .hoverIcon:hover .arrow
37
- /* .hoverIcon:focus .arrow */
38
- {
39
- opacity: 1;
40
- visibility: visible;
41
- }
42
- .value {
43
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
44
- composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
45
- }
46
- .search {
47
- padding: var(--zd_size6) var(--zd_size20) 0;
48
- }
49
- .svgWrapper {
50
- padding-bottom: var(--zd_size25);
51
- }
52
- .cursorDefault {
53
- cursor: default;
54
- }
55
- .cursor {
56
- cursor: pointer;
57
- }
58
- [dir=ltr] .dropBoxContainer {
59
- text-align: left;
60
- }
61
- [dir=rtl] .dropBoxContainer {
62
- text-align: right;
63
- }
64
- [dir=ltr] .iconBox {
65
- margin-right: var(--zd_size4);
66
- }
67
- [dir=rtl] .iconBox {
68
- margin-left: var(--zd_size4);
69
- }
70
- .iconBox > i {
71
- display: block;
72
- }
73
- .loader {
74
- width: var(--zd_size40);
75
- margin: 0 auto;
76
- }
77
- .seperatedLine {
78
- height: var(--zd_size1);
79
- border-bottom: 1px solid var(--zdt_toggledropdown_line_border);
80
- margin: var(--zd_size7) 0 var(--zd_size8);
81
- }
82
- .hiddenInput {
83
- width: 0;
84
- height: 0;
85
- opacity: 0;
86
- position: absolute;
87
- }
88
- .hiddenInputElement{
89
- width: 100%;
90
- -webkit-appearance: none;
91
- -moz-appearance: none;
92
- appearance: none;
93
- padding: 0;
94
- border: 0;
95
- }
96
- .groupName {
97
- margin: var(--zd_size6) 0;
98
- }
99
- .dropdown {
100
- background-color: transparent;
101
- }
1
+ .wrapper {
2
+ position: relative;
3
+ max-width: 100%;
4
+ }
5
+ .maxHgt {
6
+ max-height: var(--zd_size265);
7
+ padding: var(--zd_size10) 0;
8
+ }
9
+ .responsivemaxHgt {
10
+ padding: 0;
11
+ }
12
+ .title {
13
+ padding-top: var(--zd_size6);
14
+ }
15
+ [dir=ltr] .default_arrow, [dir=ltr] .overlay_arrow {
16
+ padding: 0 0 0 var(--zd_size5);
17
+ }
18
+ [dir=rtl] .default_arrow, [dir=rtl] .overlay_arrow {
19
+ padding: 0 var(--zd_size5) 0 0;
20
+ }
21
+ .overlay_arrow {
22
+ position: absolute;
23
+ top: 50%;
24
+ transform: translateY(-50%) perspective(1px);
25
+ }
26
+ [dir=ltr] .overlay_arrow {
27
+ left: 100%;
28
+ }
29
+ [dir=rtl] .overlay_arrow {
30
+ right: 100%;
31
+ }
32
+ .hoverIcon .arrow {
33
+ opacity: 0;
34
+ visibility: hidden;
35
+ }
36
+ .hoverIcon:hover .arrow
37
+ /* .hoverIcon:focus .arrow */
38
+ {
39
+ opacity: 1;
40
+ visibility: visible;
41
+ }
42
+ .value {
43
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
44
+ }
45
+ .multiLineValue{
46
+ line-height: var(--zd_size18);
47
+ composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
48
+ }
49
+ .offSelection{
50
+ composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
51
+ }
52
+ .search {
53
+ padding: var(--zd_size6) var(--zd_size20) 0;
54
+ }
55
+ .svgWrapper {
56
+ padding-bottom: var(--zd_size25);
57
+ }
58
+ .cursorDefault {
59
+ cursor: default;
60
+ }
61
+ .cursor {
62
+ cursor: pointer;
63
+ }
64
+ [dir=ltr] .dropBoxContainer {
65
+ text-align: left;
66
+ }
67
+ [dir=rtl] .dropBoxContainer {
68
+ text-align: right;
69
+ }
70
+ [dir=ltr] .iconBox {
71
+ margin-right: var(--zd_size4);
72
+ }
73
+ [dir=rtl] .iconBox {
74
+ margin-left: var(--zd_size4);
75
+ }
76
+ .iconBox > i {
77
+ display: block;
78
+ }
79
+ .loader {
80
+ width: var(--zd_size40);
81
+ margin: 0 auto;
82
+ }
83
+ .seperatedLine {
84
+ height: var(--zd_size1);
85
+ border-bottom: 1px solid var(--zdt_toggledropdown_line_border);
86
+ margin: var(--zd_size7) 0 var(--zd_size8);
87
+ }
88
+ .hiddenInput {
89
+ width: 0;
90
+ height: 0;
91
+ opacity: 0;
92
+ position: absolute;
93
+ }
94
+ .hiddenInputElement{
95
+ width: 100%;
96
+ -webkit-appearance: none;
97
+ -moz-appearance: none;
98
+ appearance: none;
99
+ padding: 0;
100
+ border: 0;
101
+ }
102
+ .groupName {
103
+ margin: var(--zd_size6) 0;
104
+ }
105
+ .dropdown {
106
+ background-color: transparent;
107
+ }
@@ -21,5 +21,6 @@ export const defaultProps = {
21
21
  needExternalPopupState: false,
22
22
  customProps: {},
23
23
  preventPopupClose: false,
24
- dataSelectorId: 'toggleDropdown'
24
+ dataSelectorId: 'toggleDropdown',
25
+ isMultiLineNeed: false
25
26
  };
@@ -67,5 +67,6 @@ export const propTypes = {
67
67
  ListItemWithIconProps: PropTypes.object,
68
68
  ListItemProps: PropTypes.object
69
69
  }),
70
- preventPopupClose: PropTypes.bool
70
+ preventPopupClose: PropTypes.bool,
71
+ isMultiLineNeed: PropTypes.bool
71
72
  };