@zohodesk/dot 1.0.0-temp-135 → 1.0.0-temp-137

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 (456) hide show
  1. package/README.md +1222 -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.module.css +139 -139
  22. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  23. package/es/Attachment/Attachment.module.css +157 -157
  24. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -353
  25. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  26. package/es/Drawer/Drawer.js +0 -0
  27. package/es/Drawer/Drawer.module.css +150 -189
  28. package/es/ExternalLink/ExternalLink.js +0 -0
  29. package/es/ExternalLink/ExternalLink.module.css +3 -3
  30. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  31. package/es/FlipCard/FlipCard.module.css +44 -44
  32. package/es/FormAction/FormAction.module.css +82 -82
  33. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  34. package/es/IconButton/IconButton.module.css +22 -22
  35. package/es/Image/Image.module.css +10 -10
  36. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  37. package/es/Link/Link.js +0 -0
  38. package/es/Link/Link.module.css +3 -3
  39. package/es/Loader/Loader.module.css +46 -46
  40. package/es/Message/Message.module.css +102 -102
  41. package/es/MessageBanner/MessageBanner.module.css +46 -46
  42. package/es/NewStar/NewStar.module.css +175 -175
  43. package/es/PlusIcon/PlusIcon.js +0 -0
  44. package/es/PlusIcon/PlusIcon.module.css +16 -19
  45. package/es/Separator/Separator.module.css +34 -34
  46. package/es/ToastMessage/ToastMessage.js +0 -0
  47. package/es/ToastMessage/ToastMessage.module.css +328 -329
  48. package/es/Upload/Upload.module.css +125 -125
  49. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  50. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  51. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  52. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  53. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  54. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  55. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  56. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  57. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  58. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  59. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  60. package/es/common/dot_animation.module.css +26 -26
  61. package/es/common/dot_common.module.css +3 -3
  62. package/es/deprecated/FreezeLayer/FreezeLayer.js +1 -1
  63. package/{lib/deprecated/FreezeLayer/FreezeLayer.module.css → es/deprecated/FreezeLayer/_FreezeLayer.module.css} +42 -42
  64. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  65. package/es/deprecated/utils/KeyboardApi.js +25 -25
  66. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -1
  67. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -101
  68. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  69. package/es/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  70. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  71. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  72. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  73. package/es/errorstate/EmptyStates.module.css +87 -87
  74. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  75. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  76. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  77. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  78. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  79. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  80. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  81. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  82. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  83. package/es/form/fields/Fields.module.css +183 -183
  84. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  85. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  86. package/es/form/fields/TextEditor/TextEditor.module.css +666 -764
  87. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  88. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  89. package/es/form/layout/Field/Field.js +0 -0
  90. package/es/form/layout/Field/Field.module.css +22 -22
  91. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  92. package/es/form/layout/Section/Section.js +0 -0
  93. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  94. package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -165
  95. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  96. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  97. package/es/list/Comment/Comment.module.css +29 -29
  98. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  99. package/es/list/Dot/Dot.module.css +15 -15
  100. package/es/list/DotNew/DotNew.module.css +22 -25
  101. package/es/list/GridStencils/GridStencils.module.css +146 -146
  102. package/es/list/Icons/Icons.module.css +16 -16
  103. package/es/list/ListLayout/ListLayout.module.css +57 -57
  104. package/es/list/ListStencils/ListStencils.module.css +67 -67
  105. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  106. package/es/list/SecondaryText/Website.js +0 -0
  107. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  108. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  109. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  110. package/es/list/Subject/Subject.module.css +27 -27
  111. package/es/list/TagNew/TagNew.module.css +115 -117
  112. package/es/list/Thread/Thread.module.css +42 -42
  113. package/es/list/UserTime/UserTime.module.css +58 -58
  114. package/es/list/listCommon.module.css +60 -60
  115. package/es/list/status/StatusDropdown/StatusDropdown.js +3 -1
  116. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  117. package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
  118. package/es/list/status/StatusDropdown/props/propTypes.js +2 -1
  119. package/es/list/status/StatusListItem/StatusListItem.js +3 -2
  120. package/es/list/status/StatusListItem/StatusListItem.module.css +107 -104
  121. package/es/list/status/StatusListItem/props/defaultProps.js +2 -1
  122. package/es/list/status/StatusListItem/props/propTypes.js +1 -0
  123. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  124. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  125. package/es/lookup/Lookup/Lookup.js +0 -0
  126. package/es/lookup/Lookup/Lookup.module.css +26 -26
  127. package/es/lookup/Section/LookupSection.module.css +8 -8
  128. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  129. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  130. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  131. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  132. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  133. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  134. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  135. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  136. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  137. package/es/setup/header/Search/Search.module.css +68 -68
  138. package/es/setup/header/Views/Views.module.css +37 -37
  139. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  140. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  141. package/es/setup/helptips/Link/Link.js +0 -0
  142. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  143. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  144. package/es/setup/helptips/Title/Title.js +0 -0
  145. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  146. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  147. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  148. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  149. package/es/setup/table/Text/TableText.module.css +37 -37
  150. package/es/setup/table/Text/Text.js +0 -0
  151. package/es/svg/PlusIcon.js +1 -1
  152. package/es/svg/SnippetIcon.js +2 -2
  153. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  154. package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -127
  155. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  156. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  157. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  158. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  159. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  160. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
  161. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  162. package/install.md +12 -12
  163. package/lib/ActionButton/ActionButton.js +3 -1
  164. package/lib/ActionButton/ActionButton.module.css +139 -139
  165. package/lib/AlphabeticList/AlphabeticList.js +3 -1
  166. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  167. package/lib/AlphabeticList/props/propTypes.js +1 -1
  168. package/lib/Attachment/Attachment.js +3 -1
  169. package/lib/Attachment/Attachment.module.css +157 -157
  170. package/lib/AttachmentViewer/AttachmentImage.js +3 -1
  171. package/lib/AttachmentViewer/AttachmentViewer.js +4 -2
  172. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -353
  173. package/lib/AttachmentViewer/utils.js +4 -1
  174. package/lib/ChannelIcon/ChannelIcon.js +3 -1
  175. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  176. package/lib/Drawer/Drawer.js +3 -1
  177. package/lib/Drawer/Drawer.module.css +150 -189
  178. package/lib/ExternalLink/ExternalLink.js +3 -1
  179. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  180. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  181. package/lib/FlipCard/FlipCard.js +3 -1
  182. package/lib/FlipCard/FlipCard.module.css +44 -44
  183. package/lib/FormAction/FormAction.js +3 -1
  184. package/lib/FormAction/FormAction.module.css +82 -82
  185. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  186. package/lib/FreezeLayer/css/cssJSLogic.js +4 -1
  187. package/lib/FreezeLayer/useFreezeLayer.js +2 -2
  188. package/lib/IconButton/IconButton.js +3 -1
  189. package/lib/IconButton/IconButton.module.css +22 -22
  190. package/lib/IconButton/props/propTypes.js +4 -1
  191. package/lib/Image/Image.js +3 -1
  192. package/lib/Image/Image.module.css +10 -10
  193. package/lib/ImportantNotes/ImportantNotes.js +3 -1
  194. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  195. package/lib/Link/Link.js +3 -1
  196. package/lib/Link/Link.module.css +3 -3
  197. package/lib/Loader/Loader.js +3 -1
  198. package/lib/Loader/Loader.module.css +46 -46
  199. package/lib/Message/Message.js +3 -1
  200. package/lib/Message/Message.module.css +102 -102
  201. package/lib/MessageBanner/MessageBanner.js +3 -1
  202. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  203. package/lib/NewStar/NewStar.js +3 -1
  204. package/lib/NewStar/NewStar.module.css +175 -175
  205. package/lib/PlusIcon/PlusIcon.js +3 -1
  206. package/lib/PlusIcon/PlusIcon.module.css +16 -19
  207. package/lib/Separator/Separator.js +3 -1
  208. package/lib/Separator/Separator.module.css +34 -34
  209. package/lib/ToastMessage/ToastMessage.js +2 -2
  210. package/lib/ToastMessage/ToastMessage.module.css +328 -329
  211. package/lib/Upload/Upload.js +3 -1
  212. package/lib/Upload/Upload.module.css +125 -125
  213. package/lib/actions/AutoClose.js +2 -2
  214. package/lib/alert/AlertHeader/AlertHeader.js +3 -1
  215. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  216. package/lib/alert/AlertLookup/AlertLookup.js +3 -1
  217. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  218. package/lib/avatar/AvatarClose/AvatarClose.js +3 -1
  219. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  220. package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -1
  221. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  222. package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -1
  223. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  224. package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -1
  225. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  226. package/lib/avatar/AvatarStatus/props/propTypes.js +4 -1
  227. package/lib/avatar/AvatarThread/AvatarThread.js +3 -1
  228. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  229. package/lib/avatar/AvatarUser/AvatarUser.js +5 -2
  230. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  231. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -1
  232. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  233. package/lib/common/dot_animation.module.css +26 -26
  234. package/lib/common/dot_common.module.css +3 -3
  235. package/lib/deprecated/FreezeLayer/FreezeLayer.js +4 -2
  236. package/{es/deprecated/FreezeLayer/FreezeLayer.module.css → lib/deprecated/FreezeLayer/_FreezeLayer.module.css} +42 -42
  237. package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -1
  238. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  239. package/lib/deprecated/utils/KeyboardApi.js +29 -26
  240. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +10 -3
  241. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -101
  242. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  243. package/lib/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  244. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -1
  245. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  246. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  247. package/lib/emptystate/EditionPage/EditionPage.js +3 -1
  248. package/lib/errorstate/EmptyStates.module.css +87 -87
  249. package/lib/errorstate/Inconvenience/Inconvenience.js +3 -1
  250. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  251. package/lib/errorstate/LinkText/LinkText.js +3 -1
  252. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  253. package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -1
  254. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  255. package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -1
  256. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  257. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -1
  258. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  259. package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -1
  260. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  261. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
  262. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  263. package/lib/errorstate/WillBack/WillBack.js +3 -1
  264. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  265. package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -1
  266. package/lib/form/fields/CheckBoxField/props/defaultProps.js +4 -1
  267. package/lib/form/fields/CheckBoxField/props/propTypes.js +4 -1
  268. package/lib/form/fields/CurrencyField/CurrencyField.js +3 -1
  269. package/lib/form/fields/CurrencyField/props/defaultProps.js +4 -1
  270. package/lib/form/fields/CurrencyField/props/propTypes.js +4 -1
  271. package/lib/form/fields/DateField/DateField.js +3 -1
  272. package/lib/form/fields/DateField/props/defaultProps.js +4 -1
  273. package/lib/form/fields/DateField/props/propTypes.js +4 -1
  274. package/lib/form/fields/FieldContainer/FieldContainer.js +3 -1
  275. package/lib/form/fields/FieldContainer/props/defaultProps.js +4 -1
  276. package/lib/form/fields/FieldContainer/props/propTypes.js +4 -1
  277. package/lib/form/fields/Fields.module.css +183 -183
  278. package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -1
  279. package/lib/form/fields/MultiSelectField/props/defaultProps.js +4 -1
  280. package/lib/form/fields/MultiSelectField/props/propTypes.js +4 -1
  281. package/lib/form/fields/PhoneField/PhoneField.js +3 -1
  282. package/lib/form/fields/RadioField/RadioField.js +3 -1
  283. package/lib/form/fields/SelectField/SelectField.js +3 -1
  284. package/lib/form/fields/SelectField/props/defaultProps.js +4 -1
  285. package/lib/form/fields/SelectField/props/propTypes.js +4 -1
  286. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -1
  287. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  288. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  289. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  290. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +4 -1
  291. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +4 -1
  292. package/lib/form/fields/TextBoxField/TextBoxField.js +3 -1
  293. package/lib/form/fields/TextBoxField/props/defaultProps.js +4 -1
  294. package/lib/form/fields/TextBoxField/props/propTypes.js +4 -1
  295. package/lib/form/fields/TextEditor/TextEditor.js +4 -2
  296. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -764
  297. package/lib/form/fields/TextEditorField/TextEditorField.js +3 -1
  298. package/lib/form/fields/TextEditorField/props/defaultProps.js +4 -1
  299. package/lib/form/fields/TextEditorField/props/propTypes.js +4 -1
  300. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -2
  301. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  302. package/lib/form/fields/TextareaField/TextareaField.js +3 -1
  303. package/lib/form/fields/TextareaField/props/defaultProps.js +4 -1
  304. package/lib/form/fields/TextareaField/props/propTypes.js +4 -1
  305. package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -1
  306. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  307. package/lib/form/layout/Field/Field.js +3 -1
  308. package/lib/form/layout/Field/Field.module.css +22 -22
  309. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  310. package/lib/form/layout/Section/Section.js +3 -1
  311. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +3 -1
  312. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  313. package/lib/layout/SubtabLayout/SubtabLayout.js +3 -1
  314. package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -165
  315. package/lib/list/AvatarFlip/AvatarFlip.js +3 -1
  316. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  317. package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -1
  318. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  319. package/lib/list/Comment/Comment.js +3 -1
  320. package/lib/list/Comment/Comment.module.css +29 -29
  321. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -1
  322. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  323. package/lib/list/DepartmentDropDown/props/propTypes.js +4 -1
  324. package/lib/list/Dot/Dot.js +3 -1
  325. package/lib/list/Dot/Dot.module.css +15 -15
  326. package/lib/list/DotNew/DotNew.js +3 -1
  327. package/lib/list/DotNew/DotNew.module.css +22 -25
  328. package/lib/list/GridStencils/GridStencils.js +3 -1
  329. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  330. package/lib/list/Icons/AddNewIcon.js +3 -1
  331. package/lib/list/Icons/CompleteIcon.js +3 -1
  332. package/lib/list/Icons/DeleteIcon.js +3 -1
  333. package/lib/list/Icons/EditIcon.js +3 -1
  334. package/lib/list/Icons/FloatingIcons.js +3 -1
  335. package/lib/list/Icons/Icons.module.css +16 -16
  336. package/lib/list/Icons/ReadUnreadIcon.js +3 -1
  337. package/lib/list/Icons/SmartIcon.js +3 -1
  338. package/lib/list/ListLayout/ListLayout.js +3 -1
  339. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  340. package/lib/list/ListLayout/props/propTypes.js +4 -1
  341. package/lib/list/ListStencils/ListStencils.js +3 -1
  342. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  343. package/lib/list/SecondaryText/AccountName.js +3 -1
  344. package/lib/list/SecondaryText/ContactName.js +3 -1
  345. package/lib/list/SecondaryText/DepartmentText.js +3 -1
  346. package/lib/list/SecondaryText/Email.js +3 -1
  347. package/lib/list/SecondaryText/HappinessRating.js +3 -1
  348. package/lib/list/SecondaryText/PhoneNumber.js +3 -1
  349. package/lib/list/SecondaryText/PriorityText.js +3 -1
  350. package/lib/list/SecondaryText/SecondaryText.js +3 -1
  351. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  352. package/lib/list/SecondaryText/StatusText.js +3 -1
  353. package/lib/list/SecondaryText/TicketId.js +3 -1
  354. package/lib/list/SecondaryText/Website.js +3 -1
  355. package/lib/list/SecondryPanel/SecondryPanel.js +3 -1
  356. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  357. package/lib/list/SentimentStatus/SentimentStatus.js +3 -1
  358. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  359. package/lib/list/Subject/Subject.js +3 -1
  360. package/lib/list/Subject/Subject.module.css +27 -27
  361. package/lib/list/TagNew/TagNew.js +3 -1
  362. package/lib/list/TagNew/TagNew.module.css +115 -117
  363. package/lib/list/Thread/Thread.js +3 -1
  364. package/lib/list/Thread/Thread.module.css +42 -42
  365. package/lib/list/UserTime/UserTime.js +3 -1
  366. package/lib/list/UserTime/UserTime.module.css +58 -58
  367. package/lib/list/listCommon.module.css +60 -60
  368. package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -2
  369. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  370. package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
  371. package/lib/list/status/StatusDropdown/props/propTypes.js +5 -2
  372. package/lib/list/status/StatusListItem/StatusListItem.js +6 -3
  373. package/lib/list/status/StatusListItem/StatusListItem.module.css +107 -104
  374. package/lib/list/status/StatusListItem/props/defaultProps.js +2 -1
  375. package/lib/list/status/StatusListItem/props/propTypes.js +1 -0
  376. package/lib/lookup/EmptyPage/EmptyPage.js +3 -1
  377. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  378. package/lib/lookup/Lookup/Lookup.js +5 -2
  379. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  380. package/lib/lookup/Section/LookupSection.module.css +8 -8
  381. package/lib/lookup/Section/Section.js +3 -1
  382. package/lib/lookup/header/Close/Close.js +3 -1
  383. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  384. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +5 -2
  385. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  386. package/lib/lookup/header/Search/Search.js +3 -1
  387. package/lib/lookup/header/TicketHeader/TicketHeader.js +5 -2
  388. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  389. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  390. package/lib/lookup/header/Title/Title.js +3 -1
  391. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -1
  392. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  393. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  394. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  395. package/lib/setup/header/Button/Button.js +3 -1
  396. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  397. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  398. package/lib/setup/header/Link/Link.js +3 -1
  399. package/lib/setup/header/Search/Search.js +3 -1
  400. package/lib/setup/header/Search/Search.module.css +68 -68
  401. package/lib/setup/header/Views/Views.js +3 -1
  402. package/lib/setup/header/Views/Views.module.css +37 -37
  403. package/lib/setup/helptips/Description/Description.js +3 -1
  404. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  405. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  406. package/lib/setup/helptips/Link/Link.js +3 -1
  407. package/lib/setup/helptips/ListGroup/ListGroup.js +3 -1
  408. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  409. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  410. package/lib/setup/helptips/Title/Title.js +3 -1
  411. package/lib/setup/table/Table/Table.js +3 -1
  412. package/lib/setup/table/TableBody/TableBody.js +3 -1
  413. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  414. package/lib/setup/table/TableData/TableData.js +3 -1
  415. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  416. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  417. package/lib/setup/table/TableHead/TableHead.js +3 -1
  418. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  419. package/lib/setup/table/TableRow/TableRow.js +3 -1
  420. package/lib/setup/table/Text/TableText.module.css +37 -37
  421. package/lib/setup/table/Text/Text.js +3 -1
  422. package/lib/svg/PlusIcon.js +4 -2
  423. package/lib/svg/SnippetIcon.js +5 -3
  424. package/lib/svg/TemplateIcon.js +3 -1
  425. package/lib/version2/AlertClose/AlertClose.js +3 -1
  426. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  427. package/lib/version2/GlobalNotification/GlobalNotification.js +3 -1
  428. package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -127
  429. package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -1
  430. package/lib/version2/alertIcons/AlertIcons.js +3 -1
  431. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  432. package/lib/version2/alertIcons/DangerAlertIcon.js +3 -1
  433. package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -1
  434. package/lib/version2/alertIcons/InfoAlertIcon.js +3 -1
  435. package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -1
  436. package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -1
  437. package/lib/version2/alertIcons/WarningAlertIcon.js +3 -1
  438. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -1
  439. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -1
  440. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -1
  441. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
  442. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -1
  443. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  444. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -1
  445. package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -1
  446. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  447. package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -1
  448. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  449. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  450. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
  451. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -1
  452. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  453. package/package.json +106 -104
  454. package/css_error.log +0 -1
  455. package/es/common/dot_boxShadow.module.css +0 -77
  456. package/lib/common/dot_boxShadow.module.css +0 -77
@@ -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
+ }
@@ -5,7 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.Shortcut = Shortcut;
7
7
  exports.keycallback = keycallback;
8
- 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; }
8
+ 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); }
9
+ 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; }
10
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
11
+ 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); }
9
12
  //$Id$
10
13
  var isShortCutEnabled;
11
14
  var showShortcut = {};
@@ -60,10 +63,10 @@ Shortcut.addAll = function (keysObj, props) {
60
63
  });
61
64
  };
62
65
 
63
- /**
64
- * @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
65
- * @param callback = any function
66
- * @param action = keypress or keydown or keyup
66
+ /**
67
+ * @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
68
+ * @param callback = any function
69
+ * @param action = keypress or keydown or keyup
67
70
  */
68
71
 
69
72
  Shortcut.bulkAdd = function (shortcutArray) {
@@ -92,8 +95,8 @@ Shortcut.add = function (keycombo, cpFunc, action, displayLabel) {
92
95
  tempjson.action = action || 'keypress';
93
96
  shortcutdatas[keycombo.toLowerCase()] = tempjson;
94
97
  };
95
- /*Shortcut.prototype.remove = function(){
96
-
98
+ /*Shortcut.prototype.remove = function(){
99
+
97
100
  };*/
98
101
  Shortcut.removeAll = function () {
99
102
  shortcutdatas = {};
@@ -219,25 +222,25 @@ function _convertToKeyCharacter(e) {
219
222
  return keyName;
220
223
  }
221
224
  function _defaultCallBack(keycombo, keyOptions) {
222
- /*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
223
- if (keyOptions.callbackflow !== undefined) {
224
- keycombo = keyOptions.callbackflow.split(',');
225
- var click = function(i, combo) {
226
- setTimeout(function() {
227
- jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
228
- }, i * 200);
229
- };
230
- for (var i = 0; i < keycombo.length; i++) {
231
- var clickFunc = click.bind(this, i);
232
- clickFunc(keycombo[i]);
233
- highLightKeys(keycombo[i]);
234
- }
235
- return;
236
- }
237
- if (keyElement.length === 1) {
238
- keyElement.trigger('click');
239
- highLightKeys(keycombo);
240
- return;
225
+ /*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
226
+ if (keyOptions.callbackflow !== undefined) {
227
+ keycombo = keyOptions.callbackflow.split(',');
228
+ var click = function(i, combo) {
229
+ setTimeout(function() {
230
+ jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
231
+ }, i * 200);
232
+ };
233
+ for (var i = 0; i < keycombo.length; i++) {
234
+ var clickFunc = click.bind(this, i);
235
+ clickFunc(keycombo[i]);
236
+ highLightKeys(keycombo[i]);
237
+ }
238
+ return;
239
+ }
240
+ if (keyElement.length === 1) {
241
+ keyElement.trigger('click');
242
+ highLightKeys(keycombo);
243
+ return;
241
244
  }*/
242
245
  }
243
246
  function _shortRestrictionPlaces(e) {
@@ -30,10 +30,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
30
30
  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); }
31
31
  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; }
32
32
  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); }
33
- 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; }
33
+ 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; }
34
34
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35
- 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); } }
35
+ 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); } }
36
36
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
38
+ 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); }
37
39
  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); }
38
40
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
39
41
  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); }; }
@@ -566,7 +568,8 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
566
568
  hoverType = _this$props12.hoverType,
567
569
  palette = _this$props12.palette,
568
570
  getFooter = _this$props12.getFooter,
569
- customProps = _this$props12.customProps;
571
+ customProps = _this$props12.customProps,
572
+ needMultiLineText = _this$props12.needMultiLineText;
570
573
  var _customProps$ToggleDr = customProps.ToggleDropDownProps,
571
574
  ToggleDropDownProps = _customProps$ToggleDr === void 0 ? {} : _customProps$ToggleDr,
572
575
  _customProps$DropBoxP = customProps.DropBoxProps,
@@ -755,6 +758,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
755
758
  getRef: _this6.itemRef,
756
759
  title: title ? title : item[keyName],
757
760
  palette: palette,
761
+ needMultiLineText: needMultiLineText,
758
762
  a11y: {
759
763
  role: isSearch ? 'option' : 'menuitem',
760
764
  ariaSelected: selectedId === item[idName],
@@ -777,6 +781,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
777
781
  getRef: _this6.itemRef,
778
782
  title: title ? title : item[keyName],
779
783
  palette: palette,
784
+ needMultiLineText: needMultiLineText,
780
785
  a11y: {
781
786
  role: isSearch ? 'option' : 'menuitem',
782
787
  ariaSelected: selectedId === item[idName],
@@ -824,6 +829,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
824
829
  title: title ? title : item[keyName],
825
830
  key: listIndex,
826
831
  palette: palette,
832
+ needMultiLineText: needMultiLineText,
827
833
  a11y: {
828
834
  role: isSearch ? 'option' : 'menuitem',
829
835
  ariaSelected: selectedId === item[idName],
@@ -846,6 +852,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
846
852
  getRef: _this6.itemRef,
847
853
  title: title ? title : item[keyName],
848
854
  palette: palette,
855
+ needMultiLineText: needMultiLineText,
849
856
  a11y: {
850
857
  role: isSearch ? 'option' : 'menuitem',
851
858
  ariaSelected: selectedId === item[idName],
@@ -1,101 +1,100 @@
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 offSelection 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
+ .cursorDefault {
52
+ cursor: default;
53
+ }
54
+ .cursor {
55
+ cursor: pointer;
56
+ }
57
+ [dir=ltr] .dropBoxContainer {
58
+ text-align: left;
59
+ }
60
+ [dir=rtl] .dropBoxContainer {
61
+ text-align: right;
62
+ }
63
+ [dir=ltr] .iconBox {
64
+ margin-right: var(--zd_size4);
65
+ }
66
+ [dir=rtl] .iconBox {
67
+ margin-left: var(--zd_size4);
68
+ }
69
+ .iconBox > i {
70
+ display: block;
71
+ }
72
+ .loader {
73
+ width: var(--zd_size40);
74
+ margin: 0 auto;
75
+ }
76
+ .seperatedLine {
77
+ height: var(--zd_size1);
78
+ border-bottom: 1px solid var(--zdt_toggledropdown_line_border);
79
+ margin: var(--zd_size7) 0 var(--zd_size8);
80
+ }
81
+ .hiddenInput {
82
+ width: 0;
83
+ height: 0;
84
+ opacity: 0;
85
+ position: absolute;
86
+ }
87
+ .hiddenInputElement{
88
+ width: 100%;
89
+ -webkit-appearance: none;
90
+ -moz-appearance: none;
91
+ appearance: none;
92
+ padding: 0;
93
+ border: 0;
94
+ }
95
+ .groupName {
96
+ margin: var(--zd_size6) 0;
97
+ }
98
+ .dropdown {
99
+ background-color: transparent;
100
+ }
@@ -27,6 +27,7 @@ var defaultProps = {
27
27
  needExternalPopupState: false,
28
28
  customProps: {},
29
29
  preventPopupClose: false,
30
- dataSelectorId: 'toggleDropdown'
30
+ dataSelectorId: 'toggleDropdown',
31
+ needMultiLineText: false
31
32
  };
32
33
  exports.defaultProps = defaultProps;
@@ -74,6 +74,7 @@ var propTypes = {
74
74
  ListItemWithIconProps: _propTypes["default"].object,
75
75
  ListItemProps: _propTypes["default"].object
76
76
  }),
77
- preventPopupClose: _propTypes["default"].bool
77
+ preventPopupClose: _propTypes["default"].bool,
78
+ needMultiLineText: _propTypes["default"].bool
78
79
  };
79
80
  exports.propTypes = propTypes;
@@ -14,8 +14,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
14
14
  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); }
15
15
  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; }
16
16
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
- 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); } }
17
+ 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); } }
18
18
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
+ 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); }
19
21
  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); }
20
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
21
23
  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); }; }
@@ -1,85 +1,85 @@
1
- .varClass {
2
- --titleColor: var(--zdt_commonEmptyState_default_title);
3
- --descriptionColor: var(--zdt_commonEmptyState_default_description);
4
- --linkColor: var(--zdt_commonEmptyState_default_link);
5
- --linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
6
- }
7
- .container {
8
- composes: varClass;
9
- text-align: center;
10
- }
11
- [dir=ltr] .container {
12
- margin-left: auto;
13
- margin-right: auto;
14
- }
15
- [dir=rtl] .container {
16
- margin-right: auto;
17
- margin-left: auto;
18
- }
19
- .fluid {
20
- max-width: var(--zd_size430);
21
- }
22
- .title {
23
- font-family: var(--zd_semibold);
24
- color: var(--titleColor);
25
- }
26
- .small .title {
27
- font-size: var(--zd_font_size16);
28
- }
29
- .medium .title {
30
- font-size: var(--zd_font_size20);
31
- }
32
- .linkWrapper,
33
- .linkDescWrapper {
34
- color: var(--descriptionColor);
35
- }
36
- .small .linkWrapper,
37
- .small .linkDescWrapper {
38
- font-size: var(--zd_font_size12);
39
- }
40
- .medium .linkWrapper,
41
- .medium .linkDescWrapper {
42
- font-size: var(--zd_font_size14);
43
- }
44
- .medium .linkWrapper {
45
- margin-top: var(--zd_size18);
46
- }
47
- .small .linkWrapper {
48
- margin-top: var(--zd_size12);
49
- }
50
- .linkDescWrapper {
51
- margin-top: var(--zd_size20);
52
- }
53
- [dir=ltr] .linkDesc, [dir=ltr] .desc {
54
- margin-right: var(--zd_size4);
55
- }
56
- [dir=rtl] .linkDesc, [dir=rtl] .desc {
57
- margin-left: var(--zd_size4);
58
- }
59
- .desc {
60
- line-height: var(--zd_size19);
61
- }
62
- .link {
63
- color: var(--linkColor);
64
- display: inline-block;
65
- cursor: pointer;
66
- }
67
- .link:hover {
68
- color: var(--linkHoverColor);
69
- }
70
- .children {
71
- margin-top: var(--zd_size15);
72
- }
73
-
74
- .default {
75
- --titleColor: var(--zdt_commonEmptyState_default_title);
76
- --linkColor: var(--zdt_commonEmptyState_default_link);
77
- --linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
78
- --descriptionColor: var(--zdt_commonEmptyState_default_description);
79
- }
80
- .dark {
81
- --titleColor: var(--zdt_commonEmptyState_dark_title);
82
- --linkColor: var(--zdt_commonEmptyState_dark_link);
83
- --linkHoverColor: var(--zdt_commonEmptyState_dark_link_hover);
84
- --descriptionColor: var(--zdt_commonEmptyState_dark_description);
85
- }
1
+ .varClass {
2
+ --titleColor: var(--zdt_commonEmptyState_default_title);
3
+ --descriptionColor: var(--zdt_commonEmptyState_default_description);
4
+ --linkColor: var(--zdt_commonEmptyState_default_link);
5
+ --linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
6
+ }
7
+ .container {
8
+ composes: varClass;
9
+ text-align: center;
10
+ }
11
+ [dir=ltr] .container {
12
+ margin-left: auto;
13
+ margin-right: auto;
14
+ }
15
+ [dir=rtl] .container {
16
+ margin-right: auto;
17
+ margin-left: auto;
18
+ }
19
+ .fluid {
20
+ max-width: var(--zd_size430);
21
+ }
22
+ .title {
23
+ font-family: var(--zd_semibold);
24
+ color: var(--titleColor);
25
+ }
26
+ .small .title {
27
+ font-size: var(--zd_font_size16);
28
+ }
29
+ .medium .title {
30
+ font-size: var(--zd_font_size20);
31
+ }
32
+ .linkWrapper,
33
+ .linkDescWrapper {
34
+ color: var(--descriptionColor);
35
+ }
36
+ .small .linkWrapper,
37
+ .small .linkDescWrapper {
38
+ font-size: var(--zd_font_size12);
39
+ }
40
+ .medium .linkWrapper,
41
+ .medium .linkDescWrapper {
42
+ font-size: var(--zd_font_size14);
43
+ }
44
+ .medium .linkWrapper {
45
+ margin-top: var(--zd_size18);
46
+ }
47
+ .small .linkWrapper {
48
+ margin-top: var(--zd_size12);
49
+ }
50
+ .linkDescWrapper {
51
+ margin-top: var(--zd_size20);
52
+ }
53
+ [dir=ltr] .linkDesc, [dir=ltr] .desc {
54
+ margin-right: var(--zd_size4);
55
+ }
56
+ [dir=rtl] .linkDesc, [dir=rtl] .desc {
57
+ margin-left: var(--zd_size4);
58
+ }
59
+ .desc {
60
+ line-height: var(--zd_size19);
61
+ }
62
+ .link {
63
+ color: var(--linkColor);
64
+ display: inline-block;
65
+ cursor: pointer;
66
+ }
67
+ .link:hover {
68
+ color: var(--linkHoverColor);
69
+ }
70
+ .children {
71
+ margin-top: var(--zd_size15);
72
+ }
73
+
74
+ .default {
75
+ --titleColor: var(--zdt_commonEmptyState_default_title);
76
+ --linkColor: var(--zdt_commonEmptyState_default_link);
77
+ --linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
78
+ --descriptionColor: var(--zdt_commonEmptyState_default_description);
79
+ }
80
+ .dark {
81
+ --titleColor: var(--zdt_commonEmptyState_dark_title);
82
+ --linkColor: var(--zdt_commonEmptyState_dark_link);
83
+ --linkHoverColor: var(--zdt_commonEmptyState_dark_link_hover);
84
+ --descriptionColor: var(--zdt_commonEmptyState_dark_description);
85
+ }