@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,60 +1,60 @@
1
- .inlineBlockMiddle {
2
- display: inline-block;
3
- vertical-align: middle;
4
- }
5
- .inlineFlex {
6
- composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
7
- }
8
- [dir=ltr] .avatarMargin {
9
- margin-right: var(--zd_size25);
10
- }
11
- [dir=rtl] .avatarMargin {
12
- margin-left: var(--zd_size25);
13
- }
14
- .subject {
15
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
16
- font-size: var(--zd_font_size16);
17
- }
18
- .secondaryPanel {
19
- line-height: var(--zd_size18);
20
- composes: dflex alignVertical flexwrap from '~@zohodesk/components/lib/common/common.module.css';
21
- }
22
- .statusColumn {
23
- composes: inlineBlockMiddle;
24
- }
25
- [dir=ltr] .statusColumn {
26
- text-align: right;
27
- }
28
- [dir=rtl] .statusColumn {
29
- text-align: left;
30
- }
31
- .classic .floatingIconContainer {
32
- display: none;
33
- }
34
- .compact .floatingIconContainer,
35
- .superCompact .floatingIconContainer,
36
- .listContainer:hover .classic .floatingIconContainer,
37
- .hoveredStyle .classic .floatingIconContainer {
38
- display: inline-flex;
39
- align-items: center;
40
- }
41
- .compact .floatingIconContainer,
42
- .superCompact .floatingIconContainer {
43
- opacity: 0;
44
- visibility: hidden;
45
- }
46
- .floatingIcons {
47
- font-size: var(--zd_font_size15);
48
- }
49
- .listContainer, .listLayoutContainer {
50
- position: relative;
51
- transition: var(--zd_transition3) all ease;
52
- }
53
- .listContainer:hover .compact .floatingIconContainer,
54
- .listContainer:hover .superCompact .floatingIconContainer,
55
- .hoveredStyle .compact .floatingIconContainer,
56
- .hoveredStyle .superCompact .floatingIconContainer
57
- {
58
- opacity: 1;
59
- visibility: visible;
60
- }
1
+ .inlineBlockMiddle {
2
+ display: inline-block;
3
+ vertical-align: middle;
4
+ }
5
+ .inlineFlex {
6
+ composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
7
+ }
8
+ [dir=ltr] .avatarMargin {
9
+ margin-right: var(--zd_size25);
10
+ }
11
+ [dir=rtl] .avatarMargin {
12
+ margin-left: var(--zd_size25);
13
+ }
14
+ .subject {
15
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
16
+ font-size: var(--zd_font_size16);
17
+ }
18
+ .secondaryPanel {
19
+ line-height: var(--zd_size18);
20
+ composes: dflex alignVertical flexwrap from '~@zohodesk/components/lib/common/common.module.css';
21
+ }
22
+ .statusColumn {
23
+ composes: inlineBlockMiddle;
24
+ }
25
+ [dir=ltr] .statusColumn {
26
+ text-align: right;
27
+ }
28
+ [dir=rtl] .statusColumn {
29
+ text-align: left;
30
+ }
31
+ .classic .floatingIconContainer {
32
+ display: none;
33
+ }
34
+ .compact .floatingIconContainer,
35
+ .superCompact .floatingIconContainer,
36
+ .listContainer:hover .classic .floatingIconContainer,
37
+ .hoveredStyle .classic .floatingIconContainer {
38
+ display: inline-flex;
39
+ align-items: center;
40
+ }
41
+ .compact .floatingIconContainer,
42
+ .superCompact .floatingIconContainer {
43
+ opacity: 0;
44
+ visibility: hidden;
45
+ }
46
+ .floatingIcons {
47
+ font-size: var(--zd_font_size15);
48
+ }
49
+ .listContainer, .listLayoutContainer {
50
+ position: relative;
51
+ transition: var(--zd_transition3) all ease;
52
+ }
53
+ .listContainer:hover .compact .floatingIconContainer,
54
+ .listContainer:hover .superCompact .floatingIconContainer,
55
+ .hoveredStyle .compact .floatingIconContainer,
56
+ .hoveredStyle .superCompact .floatingIconContainer
57
+ {
58
+ opacity: 1;
59
+ visibility: visible;
60
+ }
@@ -27,8 +27,10 @@ var _semanticButtonModule = _interopRequireDefault(require("@zohodesk/components
27
27
  var _StatusDropdownModule = _interopRequireDefault(require("./StatusDropdown.module.css"));
28
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
29
29
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
30
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
30
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
31
31
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
32
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
33
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
32
34
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
35
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
34
36
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
@@ -324,7 +326,8 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
324
326
  _this$props7$needExte = _this$props7.needExternalPopupState,
325
327
  needExternalPopupState = _this$props7$needExte === void 0 ? false : _this$props7$needExte,
326
328
  _this$props7$isPopupA = _this$props7.isPopupActive,
327
- isPopupActive = _this$props7$isPopupA === void 0 ? false : _this$props7$isPopupA;
329
+ isPopupActive = _this$props7$isPopupA === void 0 ? false : _this$props7$isPopupA,
330
+ isMultiLineNeeded = _this$props7.isMultiLineNeeded;
328
331
  var isPopupOpen = needExternalPopupState ? isPopupActive && isOpen : isOpen;
329
332
  var searchString = this.state.searchString;
330
333
  var containerClass = "".concat(className ? className : '', " ").concat(isPopupReady ? activeStyle ? activeStyle : '' : showIconOnHover ? _StatusDropdownModule["default"].hoverIcon : '', " ").concat(isDisabled ? _commonModule["default"].disabled : isReadOnly ? _StatusDropdownModule["default"].readOnly : !isEditable ? _StatusDropdownModule["default"].cursorDefault : !showOnHover ? "".concat(_StatusDropdownModule["default"].cursor, " ").concat(hoverStyle ? hoverStyle : '') : "".concat(hoverStyle ? hoverStyle : '', " ").concat(_StatusDropdownModule["default"].cursorDefault));
@@ -441,6 +444,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
441
444
  getRef: _this3.itemRef,
442
445
  bulletColor: item[statusColor],
443
446
  title: item[keyName],
447
+ isMultiLineNeeded: isMultiLineNeeded,
444
448
  a11y: {
445
449
  role: isSearch ? 'option' : 'menuitem',
446
450
  ariaSelected: value === item[keyName]
@@ -1,92 +1,92 @@
1
- .container {
2
- max-width: 100%;
3
- }
4
- .posRel {
5
- position: relative;
6
- }
7
- .maxHgt {
8
- max-height: var(--zd_size265);
9
- padding: var(--zd_size10) 0;
10
- }
11
- .responsivemaxHgt{
12
- padding: var(--zd_size10) 0 0;
13
- }
14
- .title {
15
- padding-top: var(--zd_size6);
16
- }
17
- [dir=ltr] .default_arrow, [dir=ltr] .overlay_arrow {
18
- padding: 0 0 0 var(--zd_size5);
19
- }
20
- [dir=rtl] .default_arrow, [dir=rtl] .overlay_arrow {
21
- padding: 0 var(--zd_size5) 0 0;
22
- }
23
- .overlay_arrow {
24
- position: absolute;
25
- top: 50%;
26
- transform: translateY(-50%) perspective(1px);
27
- }
28
- [dir=ltr] .overlay_arrow {
29
- left: 100%;
30
- }
31
- [dir=rtl] .overlay_arrow {
32
- right: 100%;
33
- }
34
- .hoverIcon .arrow {
35
- opacity: 0;
36
- visibility: hidden;
37
- }
38
- .hoverIcon:hover .arrow {
39
- opacity: 1;
40
- visibility: visible;
41
- }
42
- .value {
43
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
44
- }
45
- .search {
46
- padding: var(--zd_size6) var(--zd_size20) 0;
47
- }
48
- .svgWrapper {
49
- padding-bottom: var(--zd_size25);
50
- }
51
- .readOnly {
52
- cursor: no-drop;
53
- }
54
- .cursorDefault {
55
- cursor: default;
56
- }
57
- .cursor {
58
- cursor: pointer;
59
- }
60
- [dir=ltr] .dropBoxContainer {
61
- text-align: left;
62
- }
63
- [dir=rtl] .dropBoxContainer {
64
- text-align: right;
65
- }
66
- [dir=ltr] .iconBox {
67
- margin-right: var(--zd_size4);
68
- }
69
- [dir=rtl] .iconBox {
70
- margin-left: var(--zd_size4);
71
- }
72
- .iconBox > i {
73
- display: block;
74
- }
75
- .loader {
76
- width: var(--zd_size40);
77
- margin: 0 auto;
78
- }
79
- .seperatedLine {
80
- height: var(--zd_size1);
81
- border-bottom: 1px solid var(--zdt_statusdropdown_line_border);
82
- margin: var(--zd_size9) 0 var(--zd_size10);
83
- }
84
- .hiddenInput {
85
- width: 0;
86
- height: 0;
87
- opacity: 0;
88
- }
89
- .hiddenInput > input {
90
- width: 100%;
91
- padding: 0;
92
- }
1
+ .container {
2
+ max-width: 100%;
3
+ }
4
+ .posRel {
5
+ position: relative;
6
+ }
7
+ .maxHgt {
8
+ max-height: var(--zd_size265);
9
+ padding: var(--zd_size10) 0;
10
+ }
11
+ .responsivemaxHgt{
12
+ padding: var(--zd_size10) 0 0;
13
+ }
14
+ .title {
15
+ padding-top: var(--zd_size6);
16
+ }
17
+ [dir=ltr] .default_arrow, [dir=ltr] .overlay_arrow {
18
+ padding: 0 0 0 var(--zd_size5);
19
+ }
20
+ [dir=rtl] .default_arrow, [dir=rtl] .overlay_arrow {
21
+ padding: 0 var(--zd_size5) 0 0;
22
+ }
23
+ .overlay_arrow {
24
+ position: absolute;
25
+ top: 50%;
26
+ transform: translateY(-50%) perspective(1px);
27
+ }
28
+ [dir=ltr] .overlay_arrow {
29
+ left: 100%;
30
+ }
31
+ [dir=rtl] .overlay_arrow {
32
+ right: 100%;
33
+ }
34
+ .hoverIcon .arrow {
35
+ opacity: 0;
36
+ visibility: hidden;
37
+ }
38
+ .hoverIcon:hover .arrow {
39
+ opacity: 1;
40
+ visibility: visible;
41
+ }
42
+ .value {
43
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
44
+ }
45
+ .search {
46
+ padding: var(--zd_size6) var(--zd_size20) 0;
47
+ }
48
+ .svgWrapper {
49
+ padding-bottom: var(--zd_size25);
50
+ }
51
+ .readOnly {
52
+ cursor: no-drop;
53
+ }
54
+ .cursorDefault {
55
+ cursor: default;
56
+ }
57
+ .cursor {
58
+ cursor: pointer;
59
+ }
60
+ [dir=ltr] .dropBoxContainer {
61
+ text-align: left;
62
+ }
63
+ [dir=rtl] .dropBoxContainer {
64
+ text-align: right;
65
+ }
66
+ [dir=ltr] .iconBox {
67
+ margin-right: var(--zd_size4);
68
+ }
69
+ [dir=rtl] .iconBox {
70
+ margin-left: var(--zd_size4);
71
+ }
72
+ .iconBox > i {
73
+ display: block;
74
+ }
75
+ .loader {
76
+ width: var(--zd_size40);
77
+ margin: 0 auto;
78
+ }
79
+ .seperatedLine {
80
+ height: var(--zd_size1);
81
+ border-bottom: 1px solid var(--zdt_statusdropdown_line_border);
82
+ margin: var(--zd_size9) 0 var(--zd_size10);
83
+ }
84
+ .hiddenInput {
85
+ width: 0;
86
+ height: 0;
87
+ opacity: 0;
88
+ }
89
+ .hiddenInput > input {
90
+ width: 100%;
91
+ padding: 0;
92
+ }
@@ -7,7 +7,10 @@ exports.propTypes = void 0;
7
7
  var _propTypes2 = _interopRequireDefault(require("prop-types"));
8
8
  var _propTypes;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
13
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
14
  var propTypes = (_propTypes = {
12
15
  activeStyle: _propTypes2["default"].string,
13
16
  arrowIconPosition: _propTypes2["default"].oneOf(['default', 'overlay']),
@@ -15,8 +15,10 @@ var _StatusListItemModule = _interopRequireDefault(require("./StatusListItem.mod
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
16
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
17
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
18
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
19
19
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
20
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
21
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
20
22
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
21
23
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
22
24
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
@@ -85,7 +87,8 @@ var StatusListItem = /*#__PURE__*/function (_React$Component) {
85
87
  needBorder = _this$props4.needBorder,
86
88
  isDisabled = _this$props4.isDisabled,
87
89
  bulletColor = _this$props4.bulletColor,
88
- a11y = _this$props4.a11y;
90
+ a11y = _this$props4.a11y,
91
+ isMultiLineNeeded = _this$props4.isMultiLineNeeded;
89
92
  var options = {};
90
93
  var role = a11y.role,
91
94
  ariaSelected = a11y.ariaSelected,
@@ -115,7 +118,7 @@ var StatusListItem = /*#__PURE__*/function (_React$Component) {
115
118
  "data-title": isDisabled ? null : title,
116
119
  flexible: true,
117
120
  shrink: true,
118
- className: _StatusListItemModule["default"].value
121
+ className: isMultiLineNeeded ? _StatusListItemModule["default"].multiLineValue : _StatusListItemModule["default"].value
119
122
  }, value), needTick && active ? /*#__PURE__*/_react["default"].createElement("div", {
120
123
  className: _StatusListItemModule["default"].tickIcon,
121
124
  "aria-hidden": ariaHidden
@@ -1,104 +1,106 @@
1
- .list {
2
- color: var(--zdt_statuslistitem_list_text);
3
- font-size: var(--zd_font_size13);
4
- position: relative;
5
- list-style: none;
6
- cursor: pointer;
7
- }
8
- [dir=ltr] .withBorder {
9
- border-left: 1px solid var(--zdt_statuslistitem_default_border);
10
- }
11
- [dir=rtl] .withBorder {
12
- border-right: 1px solid var(--zdt_statuslistitem_default_border);
13
- }
14
- [dir=ltr] .small {
15
- padding: var(--zd_size9) var(--zd_size3) var(--zd_size9) var(--zd_size5);
16
- }
17
- [dir=rtl] .small {
18
- padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
19
- }
20
- .medium {
21
- padding: var(--zd_size9) var(--zd_size20);
22
- }
23
- .large {
24
- height: var(--zd_size48);
25
- }
26
- [dir=ltr] .large {
27
- padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
28
- }
29
- [dir=rtl] .large {
30
- padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
31
- }
32
-
33
- .value {
34
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
35
- }
36
-
37
- [dir=ltr] .withBorder.active {
38
- border-left-color: var(--zdt_statuslistitem_default_active_border);
39
- }
40
-
41
- [dir=rtl] .withBorder.active {
42
- border-right-color: var(--zdt_statuslistitem_default_active_border);
43
- }
44
-
45
- .default.hover, .default.effect:hover {
46
- background-color: var(--zdt_statuslistitem_default_effect_bg);
47
- }
48
- .primary.hover, .primary.effect:hover, .selected {
49
- background-color: var(--zdt_statuslistitem_primary_efffect_bg);
50
- }
51
- .secondary.hover, .secondary.effect:hover {
52
- background-color: var(--zdt_statuslistitem_secondary_effect_bg);
53
- }
54
- .list.active.default, .list.active.primary {
55
- background-color: var(--zdt_statuslistitem_primary_efffect_bg);
56
- }
57
- .list.active.secondary {
58
- background-color: var(--zdt_statuslistitem_secondary_effect_bg);
59
- }
60
- .secondary.hover,
61
- .secondary.effect:hover,
62
- .list.active.secondary {
63
- color: var(--zdt_statuslistitem_secondary_effect_text);
64
- }
65
- .tickIcon {
66
- color: var(--zdt_statuslistitem_tickicon);
67
- position: absolute;
68
- }
69
- [dir=ltr] .tickIcon {
70
- right: var(--zd_size20);
71
- }
72
- [dir=rtl] .tickIcon {
73
- left: var(--zd_size20);
74
- }
75
- .tickIcon > i {
76
- display: block;
77
- }
78
- [dir=ltr] .active.withTick {
79
- padding-right: var(--zd_size39);
80
- }
81
- [dir=rtl] .active.withTick {
82
- padding-left: var(--zd_size39);
83
- }
84
- /* Status Type */
85
- .statusType {
86
- width: var(--zd_size8);
87
- height: var(--zd_size8);
88
- border-radius: 50%;
89
- }
90
- [dir=ltr] .statusType {
91
- margin-right: var(--zd_size13);
92
- }
93
- [dir=rtl] .statusType {
94
- margin-left: var(--zd_size13);
95
- }
96
- .black {
97
- background-color: var(--zdt_statuslistitem_black_bg);
98
- }
99
- .orange {
100
- background-color: var(--zdt_statuslistitem_orange_bg);
101
- }
102
- .green {
103
- background-color: var(--zdt_statuslistitem_green_bg);
104
- }
1
+ .list {
2
+ color: var(--zdt_statuslistitem_list_text);
3
+ font-size: var(--zd_font_size13);
4
+ position: relative;
5
+ list-style: none;
6
+ cursor: pointer;
7
+ }
8
+ [dir=ltr] .withBorder {
9
+ border-left: 1px solid var(--zdt_statuslistitem_default_border);
10
+ }
11
+ [dir=rtl] .withBorder {
12
+ border-right: 1px solid var(--zdt_statuslistitem_default_border);
13
+ }
14
+ [dir=ltr] .small {
15
+ padding: var(--zd_size9) var(--zd_size3) var(--zd_size9) var(--zd_size5);
16
+ }
17
+ [dir=rtl] .small {
18
+ padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
19
+ }
20
+ .medium {
21
+ padding: var(--zd_size9) var(--zd_size20);
22
+ }
23
+ .large {
24
+ height: var(--zd_size48);
25
+ }
26
+ [dir=ltr] .large {
27
+ padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
28
+ }
29
+ [dir=rtl] .large {
30
+ padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
31
+ }
32
+
33
+ .value {
34
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
35
+ }
36
+ .multiLineValue{
37
+ line-height: var(--zd_size18);
38
+ composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
39
+ }
40
+ [dir=ltr] .withBorder.active {
41
+ border-left-color: var(--zdt_statuslistitem_default_active_border);
42
+ }
43
+ [dir=rtl] .withBorder.active {
44
+ border-right-color: var(--zdt_statuslistitem_default_active_border);
45
+ }
46
+
47
+ .default.hover, .default.effect:hover {
48
+ background-color: var(--zdt_statuslistitem_default_effect_bg);
49
+ }
50
+ .primary.hover, .primary.effect:hover, .selected {
51
+ background-color: var(--zdt_statuslistitem_primary_efffect_bg);
52
+ }
53
+ .secondary.hover, .secondary.effect:hover {
54
+ background-color: var(--zdt_statuslistitem_secondary_effect_bg);
55
+ }
56
+ .list.active.default, .list.active.primary {
57
+ background-color: var(--zdt_statuslistitem_primary_efffect_bg);
58
+ }
59
+ .list.active.secondary {
60
+ background-color: var(--zdt_statuslistitem_secondary_effect_bg);
61
+ }
62
+ .secondary.hover,
63
+ .secondary.effect:hover,
64
+ .list.active.secondary {
65
+ color: var(--zdt_statuslistitem_secondary_effect_text);
66
+ }
67
+ .tickIcon {
68
+ color: var(--zdt_statuslistitem_tickicon);
69
+ position: absolute;
70
+ }
71
+ [dir=ltr] .tickIcon {
72
+ right: var(--zd_size20);
73
+ }
74
+ [dir=rtl] .tickIcon {
75
+ left: var(--zd_size20);
76
+ }
77
+ .tickIcon > i {
78
+ display: block;
79
+ }
80
+ [dir=ltr] .active.withTick {
81
+ padding-right: var(--zd_size39);
82
+ }
83
+ [dir=rtl] .active.withTick {
84
+ padding-left: var(--zd_size39);
85
+ }
86
+ /* Status Type */
87
+ .statusType {
88
+ width: var(--zd_size8);
89
+ height: var(--zd_size8);
90
+ border-radius: 50%;
91
+ }
92
+ [dir=ltr] .statusType {
93
+ margin-right: var(--zd_size13);
94
+ }
95
+ [dir=rtl] .statusType {
96
+ margin-left: var(--zd_size13);
97
+ }
98
+ .black {
99
+ background-color: var(--zdt_statuslistitem_black_bg);
100
+ }
101
+ .orange {
102
+ background-color: var(--zdt_statuslistitem_orange_bg);
103
+ }
104
+ .green {
105
+ background-color: var(--zdt_statuslistitem_green_bg);
106
+ }
@@ -16,6 +16,7 @@ var defaultProps = {
16
16
  target: 'blank',
17
17
  needBorder: true,
18
18
  bulletColor: 'black',
19
- a11y: {}
19
+ a11y: {},
20
+ isMultiLineNeeded: false
20
21
  };
21
22
  exports.defaultProps = defaultProps;
@@ -27,6 +27,7 @@ var propTypes = {
27
27
  target: _propTypes["default"].oneOf(['blank', 'self']),
28
28
  title: _propTypes["default"].string,
29
29
  value: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]).isRequired,
30
+ isMultiLineNeeded: _propTypes["default"].bool,
30
31
  a11y: _propTypes["default"].shape({
31
32
  role: _propTypes["default"].string,
32
33
  ariaSelected: _propTypes["default"].bool,
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "StatusDropdown", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _StatusDropdown["default"];
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "StatusListItem", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _StatusListItem["default"];
16
+ }
17
+ });
18
+ var _StatusDropdown = _interopRequireDefault(require("./StatusDropdown/StatusDropdown"));
19
+ var _StatusListItem = _interopRequireDefault(require("./StatusListItem/StatusListItem"));
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -17,8 +17,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
17
17
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
18
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
19
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
20
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
20
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
21
21
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
22
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
23
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
22
24
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
25
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }