@zohodesk/dot 1.0.0-temp-155 → 1.0.0-temp-156

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 (754) hide show
  1. package/README.md +1330 -1330
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +555 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +16 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +16 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +16 -0
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +16 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +16 -0
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +555 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +16 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +16 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +16 -0
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +16 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +16 -0
  14. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +555 -0
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +16 -0
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +16 -0
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +16 -0
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +16 -0
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +16 -0
  20. package/es/ActionButton/ActionButton.js +2 -5
  21. package/es/ActionButton/ActionButton.module.css +139 -139
  22. package/es/AlphabeticList/AlphabeticList.js +0 -10
  23. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  24. package/es/Attachment/Attachment.js +3 -2
  25. package/es/Attachment/Attachment.module.css +159 -159
  26. package/es/AttachmentViewer/Attachment.js +0 -1
  27. package/es/AttachmentViewer/AttachmentImage.js +0 -6
  28. package/es/AttachmentViewer/AttachmentViewer.js +3 -34
  29. package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
  30. package/es/AttachmentViewer/utils.js +0 -17
  31. package/es/ChannelIcon/ChannelIcon.js +2 -5
  32. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  33. package/es/Drawer/Drawer.js +3 -9
  34. package/es/Drawer/Drawer.module.css +190 -190
  35. package/es/ExternalLink/ExternalLink.js +4 -7
  36. package/es/ExternalLink/ExternalLink.module.css +3 -3
  37. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  38. package/es/FlipCard/FlipCard.js +2 -7
  39. package/es/FlipCard/FlipCard.module.css +44 -44
  40. package/es/FormAction/FormAction.js +5 -4
  41. package/es/FormAction/FormAction.module.css +82 -82
  42. package/es/FreezeLayer/FreezeLayer.js +3 -1
  43. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  44. package/es/FreezeLayer/useFreezeLayer.js +0 -5
  45. package/es/Hooks/Dragger/css/Dragger.module.css +2 -2
  46. package/es/Hooks/Dragger/useDragger.js +11 -13
  47. package/es/IconButton/IconButton.js +3 -9
  48. package/es/IconButton/IconButton.module.css +22 -22
  49. package/es/Image/Image.js +2 -2
  50. package/es/Image/Image.module.css +11 -11
  51. package/es/ImportantNotes/ImportantNotes.js +3 -3
  52. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  53. package/es/Link/Link.js +5 -15
  54. package/es/Link/Link.module.css +3 -3
  55. package/es/Loader/Loader.js +2 -2
  56. package/es/Loader/Loader.module.css +47 -47
  57. package/es/Message/Message.js +3 -9
  58. package/es/Message/Message.module.css +102 -102
  59. package/es/MessageBanner/MessageBanner.js +3 -2
  60. package/es/MessageBanner/MessageBanner.module.css +46 -46
  61. package/es/NewStar/NewStar.js +15 -10
  62. package/es/NewStar/NewStar.module.css +183 -183
  63. package/es/PlusIcon/PlusIcon.js +3 -3
  64. package/es/PlusIcon/PlusIcon.module.css +18 -18
  65. package/es/Separator/Separator.js +0 -3
  66. package/es/Separator/Separator.module.css +34 -34
  67. package/es/TagWithIcon/TagWithIcon.js +0 -1
  68. package/es/TagWithIcon/TagWithIcon.module.css +56 -56
  69. package/es/ToastMessage/ToastMessage.js +10 -15
  70. package/es/ToastMessage/ToastMessage.module.css +328 -328
  71. package/es/Upload/Upload.js +3 -2
  72. package/es/Upload/Upload.module.css +125 -125
  73. package/es/actions/AutoClose.js +0 -4
  74. package/es/actions/index.js +0 -3
  75. package/es/alert/AlertHeader/AlertHeader.js +3 -2
  76. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  77. package/es/alert/AlertLookup/AlertLookup.js +5 -5
  78. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  79. package/es/avatar/AvatarClose/AvatarClose.js +2 -4
  80. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  81. package/es/avatar/AvatarCollision/AvatarCollision.js +2 -4
  82. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  83. package/es/avatar/AvatarIcon/AvatarIcon.js +2 -3
  84. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  85. package/es/avatar/AvatarStatus/AvatarStatus.js +3 -4
  86. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  87. package/es/avatar/AvatarThread/AvatarThread.js +3 -3
  88. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  89. package/es/avatar/AvatarUser/AvatarUser.js +3 -4
  90. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  91. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  92. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  93. package/es/common/dot_animation.module.css +26 -26
  94. package/es/common/dot_boxShadow.module.css +37 -37
  95. package/es/common/dot_common.module.css +3 -3
  96. package/es/deprecated/FreezeLayer/FreezeLayer.js +3 -10
  97. package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  98. package/es/deprecated/SelectDropdown/SelectDropdown.js +2 -8
  99. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  100. package/es/deprecated/utils/General.js +0 -2
  101. package/es/deprecated/utils/KeyboardApi.js +29 -70
  102. package/es/docs/generalDocs.js +2 -2
  103. package/es/docs/lookupDocs.js +2 -1
  104. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -64
  105. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  106. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +3 -2
  107. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  108. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  109. package/es/emptystate/EditionPage/EditionPage.js +3 -3
  110. package/es/errorstate/EmptyStates.module.css +87 -87
  111. package/es/errorstate/Inconvenience/Inconvenience.js +0 -4
  112. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  113. package/es/errorstate/LinkText/LinkText.js +2 -2
  114. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  115. package/es/errorstate/NoRequestFound/NoRequestFound.js +2 -4
  116. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  117. package/es/errorstate/PermissionPlay/PermissionPlay.js +2 -4
  118. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  119. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +2 -4
  120. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  121. package/es/errorstate/UnableToProcess/UnableToProcess.js +0 -4
  122. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  123. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -4
  124. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  125. package/es/errorstate/WillBack/WillBack.js +2 -4
  126. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  127. package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -9
  128. package/es/form/fields/CurrencyField/CurrencyField.js +5 -12
  129. package/es/form/fields/DateField/DateField.js +5 -15
  130. package/es/form/fields/FieldContainer/FieldContainer.js +4 -6
  131. package/es/form/fields/FieldContainer/props/defaultProps.js +2 -1
  132. package/es/form/fields/FieldContainer/props/propTypes.js +2 -1
  133. package/es/form/fields/Fields.module.css +183 -183
  134. package/es/form/fields/MultiSelectField/MultiSelectField.js +12 -15
  135. package/es/form/fields/PhoneField/PhoneField.js +5 -13
  136. package/es/form/fields/RadioField/RadioField.js +4 -7
  137. package/es/form/fields/SelectField/SelectField.js +10 -11
  138. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -14
  139. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  140. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +4 -20
  141. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  142. package/es/form/fields/TextBoxField/TextBoxField.js +10 -11
  143. package/es/form/fields/TextEditor/TextEditor.js +8 -59
  144. package/es/form/fields/TextEditor/TextEditor.module.css +770 -770
  145. package/es/form/fields/TextEditorField/TextEditorField.js +5 -11
  146. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +4 -12
  147. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  148. package/es/form/fields/TextareaField/TextareaField.js +12 -13
  149. package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -2
  150. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  151. package/es/form/layout/Field/Field.js +3 -2
  152. package/es/form/layout/Field/Field.module.css +22 -22
  153. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  154. package/es/form/layout/Section/Section.js +2 -3
  155. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -11
  156. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  157. package/es/layout/SubtabLayout/SubtabLayout.js +3 -6
  158. package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  159. package/es/list/AvatarFlip/AvatarFlip.js +3 -2
  160. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  161. package/es/list/BluePrintStatus/BluePrintStatus.js +3 -3
  162. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  163. package/es/list/Comment/Comment.js +3 -3
  164. package/es/list/Comment/Comment.module.css +29 -29
  165. package/es/list/DepartmentDropDown/DepartmentDropDown.js +2 -9
  166. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  167. package/es/list/Dot/Dot.js +0 -2
  168. package/es/list/Dot/Dot.module.css +15 -15
  169. package/es/list/DotNew/DotNew.js +3 -3
  170. package/es/list/DotNew/DotNew.module.css +24 -24
  171. package/es/list/GridStencils/GridStencils.js +3 -2
  172. package/es/list/GridStencils/GridStencils.module.css +146 -146
  173. package/es/list/Icons/AddNewIcon.js +0 -1
  174. package/es/list/Icons/CompleteIcon.js +0 -1
  175. package/es/list/Icons/DeleteIcon.js +0 -1
  176. package/es/list/Icons/EditIcon.js +0 -1
  177. package/es/list/Icons/FloatingIcons.js +3 -3
  178. package/es/list/Icons/Icons.module.css +16 -16
  179. package/es/list/Icons/ReadUnreadIcon.js +0 -1
  180. package/es/list/Icons/SmartIcon.js +0 -1
  181. package/es/list/ListLayout/ListLayout.js +3 -6
  182. package/es/list/ListLayout/ListLayout.module.css +57 -57
  183. package/es/list/ListStencils/ListStencils.js +4 -4
  184. package/es/list/ListStencils/ListStencils.module.css +67 -67
  185. package/es/list/SecondaryText/AccountName.js +5 -6
  186. package/es/list/SecondaryText/ContactName.js +3 -3
  187. package/es/list/SecondaryText/DepartmentText.js +3 -3
  188. package/es/list/SecondaryText/Email.js +5 -6
  189. package/es/list/SecondaryText/HappinessRating.js +4 -3
  190. package/es/list/SecondaryText/PhoneNumber.js +5 -6
  191. package/es/list/SecondaryText/PriorityText.js +3 -3
  192. package/es/list/SecondaryText/SecondaryText.js +3 -4
  193. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  194. package/es/list/SecondaryText/StatusText.js +3 -3
  195. package/es/list/SecondaryText/TicketId.js +3 -4
  196. package/es/list/SecondaryText/Website.js +5 -5
  197. package/es/list/SecondryPanel/SecondryPanel.js +8 -9
  198. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  199. package/es/list/SentimentStatus/SentimentStatus.js +3 -3
  200. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  201. package/es/list/Subject/Subject.js +3 -4
  202. package/es/list/Subject/Subject.module.css +27 -27
  203. package/es/list/TagNew/TagNew.js +3 -3
  204. package/es/list/TagNew/TagNew.module.css +116 -116
  205. package/es/list/Thread/Thread.js +3 -3
  206. package/es/list/Thread/Thread.module.css +42 -42
  207. package/es/list/UserTime/UserTime.js +3 -3
  208. package/es/list/UserTime/UserTime.module.css +58 -58
  209. package/es/list/listCommon.module.css +60 -60
  210. package/es/list/status/StatusDropdown/StatusDropdown.js +2 -32
  211. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  212. package/es/list/status/StatusListItem/StatusListItem.js +3 -11
  213. package/es/list/status/StatusListItem/StatusListItem.module.css +111 -111
  214. package/es/lookup/EmptyPage/EmptyPage.js +3 -9
  215. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  216. package/es/lookup/Lookup/Lookup.js +5 -9
  217. package/es/lookup/Lookup/Lookup.module.css +26 -26
  218. package/es/lookup/Section/LookupSection.module.css +7 -7
  219. package/es/lookup/Section/Section.js +0 -2
  220. package/es/lookup/header/Close/Close.js +4 -3
  221. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  222. package/es/lookup/header/ModuleHeader/ModuleHeader.js +6 -4
  223. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  224. package/es/lookup/header/Search/Search.js +6 -21
  225. package/es/lookup/header/TicketHeader/TicketHeader.js +6 -4
  226. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  227. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  228. package/es/lookup/header/Title/Title.js +4 -3
  229. package/es/lookup/header/ViewDropDown/ViewDropDown.js +6 -12
  230. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  231. package/es/lookup/header/ViewDropDown/props/propTypes.js +0 -1
  232. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  233. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  234. package/es/setup/header/Button/Button.js +3 -3
  235. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  236. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  237. package/es/setup/header/Link/Link.js +3 -3
  238. package/es/setup/header/Search/Search.js +3 -5
  239. package/es/setup/header/Search/Search.module.css +68 -68
  240. package/es/setup/header/Views/Views.js +3 -3
  241. package/es/setup/header/Views/Views.module.css +37 -37
  242. package/es/setup/helptips/Description/Description.js +3 -3
  243. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  244. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  245. package/es/setup/helptips/Link/Link.js +3 -5
  246. package/es/setup/helptips/ListGroup/ListGroup.js +3 -5
  247. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  248. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  249. package/es/setup/helptips/Title/Title.js +3 -3
  250. package/es/setup/table/Table/Table.js +3 -2
  251. package/es/setup/table/TableBody/TableBody.js +3 -2
  252. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  253. package/es/setup/table/TableData/TableData.js +3 -3
  254. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  255. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  256. package/es/setup/table/TableHead/TableHead.js +3 -3
  257. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  258. package/es/setup/table/TableRow/TableRow.js +3 -3
  259. package/es/setup/table/Text/TableText.module.css +37 -37
  260. package/es/setup/table/Text/Text.js +3 -4
  261. package/es/svg/PlusIcon.js +4 -3
  262. package/es/svg/SnippetIcon.js +5 -4
  263. package/es/svg/TemplateIcon.js +3 -2
  264. package/es/utils/General.js +0 -7
  265. package/es/utils/editorUtils.js +16 -40
  266. package/es/version2/AlertClose/AlertClose.js +3 -2
  267. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  268. package/es/version2/GlobalNotification/GlobalNotification.js +3 -9
  269. package/es/version2/GlobalNotification/GlobalNotification.module.css +127 -127
  270. package/es/version2/alertIcons/AlarmAlertIcon.js +0 -1
  271. package/es/version2/alertIcons/AlertIcons.js +3 -2
  272. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  273. package/es/version2/alertIcons/DangerAlertIcon.js +0 -1
  274. package/es/version2/alertIcons/ErrorAlertIcon.js +0 -1
  275. package/es/version2/alertIcons/InfoAlertIcon.js +0 -1
  276. package/es/version2/alertIcons/NotificationAlertIcon.js +0 -1
  277. package/es/version2/alertIcons/SuccessAlertIcon.js +0 -1
  278. package/es/version2/alertIcons/WarningAlertIcon.js +0 -1
  279. package/es/version2/errorstate/Inconvenience/Inconvenience.js +3 -4
  280. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -4
  281. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -4
  282. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -4
  283. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -4
  284. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  285. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -4
  286. package/es/version2/lookup/AlertHeader/AlertHeader.js +10 -9
  287. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
  288. package/es/version2/lookup/AlertLookup/AlertLookup.js +12 -8
  289. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  290. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  291. package/es/version2/notification/DesktopNotification/DesktopNotification.js +3 -5
  292. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +126 -126
  293. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -3
  294. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  295. package/install.md +12 -12
  296. package/lib/ActionButton/ActionButton.js +34 -64
  297. package/lib/ActionButton/ActionButton.module.css +139 -139
  298. package/lib/ActionButton/props/propTypes.js +0 -3
  299. package/lib/AlphabeticList/AlphabeticList.js +21 -53
  300. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  301. package/lib/AlphabeticList/props/propTypes.js +1 -10
  302. package/lib/Attachment/Attachment.js +19 -41
  303. package/lib/Attachment/Attachment.module.css +159 -159
  304. package/lib/Attachment/props/propTypes.js +0 -3
  305. package/lib/AttachmentViewer/Attachment.js +0 -4
  306. package/lib/AttachmentViewer/AttachmentImage.js +10 -36
  307. package/lib/AttachmentViewer/AttachmentViewer.js +24 -87
  308. package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
  309. package/lib/AttachmentViewer/props/propTypes.js +0 -3
  310. package/lib/AttachmentViewer/utils.js +10 -31
  311. package/lib/ChannelIcon/ChannelIcon.js +27 -55
  312. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  313. package/lib/ChannelIcon/props/propTypes.js +0 -3
  314. package/lib/Drawer/Drawer.js +51 -109
  315. package/lib/Drawer/Drawer.module.css +190 -190
  316. package/lib/Drawer/index.js +0 -4
  317. package/lib/Drawer/props/propTypes.js +0 -3
  318. package/lib/ExternalLink/ExternalLink.js +15 -37
  319. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  320. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -7
  321. package/lib/ExternalLink/props/propTypes.js +0 -3
  322. package/lib/FlipCard/FlipCard.js +40 -72
  323. package/lib/FlipCard/FlipCard.module.css +44 -44
  324. package/lib/FlipCard/props/propTypes.js +0 -3
  325. package/lib/FormAction/FormAction.js +13 -41
  326. package/lib/FormAction/FormAction.module.css +82 -82
  327. package/lib/FormAction/props/propTypes.js +0 -3
  328. package/lib/FreezeLayer/FreezeLayer.js +24 -39
  329. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  330. package/lib/FreezeLayer/css/cssJSLogic.js +8 -9
  331. package/lib/FreezeLayer/index.js +0 -3
  332. package/lib/FreezeLayer/props/propTypes.js +0 -3
  333. package/lib/FreezeLayer/useFreezeLayer.js +9 -30
  334. package/lib/Hooks/Dragger/css/Dragger.module.css +2 -2
  335. package/lib/Hooks/Dragger/props/propTypes.js +0 -3
  336. package/lib/Hooks/Dragger/useDragger.js +14 -22
  337. package/lib/Hooks/Dragger/utils/DraggerUtil.js +7 -8
  338. package/lib/IconButton/IconButton.js +36 -61
  339. package/lib/IconButton/IconButton.module.css +22 -22
  340. package/lib/IconButton/props/propTypes.js +4 -6
  341. package/lib/Image/Image.js +15 -35
  342. package/lib/Image/Image.module.css +11 -11
  343. package/lib/Image/props/propTypes.js +0 -3
  344. package/lib/ImportantNotes/ImportantNotes.js +13 -34
  345. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  346. package/lib/ImportantNotes/props/propTypes.js +0 -3
  347. package/lib/Link/Link.js +25 -56
  348. package/lib/Link/Link.module.css +3 -3
  349. package/lib/Link/LinkContext.js +0 -4
  350. package/lib/Link/props/propTypes.js +0 -3
  351. package/lib/Loader/Loader.js +3 -25
  352. package/lib/Loader/Loader.module.css +47 -47
  353. package/lib/Message/Message.js +16 -43
  354. package/lib/Message/Message.module.css +102 -102
  355. package/lib/Message/props/propTypes.js +0 -3
  356. package/lib/MessageBanner/MessageBanner.js +16 -38
  357. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  358. package/lib/MessageBanner/props/propTypes.js +0 -3
  359. package/lib/NewStar/NewStar.js +21 -38
  360. package/lib/NewStar/NewStar.module.css +183 -183
  361. package/lib/NewStar/props/propTypes.js +0 -3
  362. package/lib/PlusIcon/PlusIcon.js +14 -34
  363. package/lib/PlusIcon/PlusIcon.module.css +18 -18
  364. package/lib/PlusIcon/props/propTypes.js +0 -3
  365. package/lib/Provider/Config.js +0 -2
  366. package/lib/Separator/Separator.js +13 -36
  367. package/lib/Separator/Separator.module.css +34 -34
  368. package/lib/Separator/props/propTypes.js +0 -3
  369. package/lib/TagWithIcon/TagWithIcon.js +13 -36
  370. package/lib/TagWithIcon/TagWithIcon.module.css +56 -56
  371. package/lib/TagWithIcon/props/propTypes.js +0 -3
  372. package/lib/ToastMessage/ToastMessage.js +45 -75
  373. package/lib/ToastMessage/ToastMessage.module.css +328 -328
  374. package/lib/ToastMessage/props/propTypes.js +0 -3
  375. package/lib/Upload/Upload.js +20 -42
  376. package/lib/Upload/Upload.module.css +125 -125
  377. package/lib/Upload/props/propTypes.js +0 -3
  378. package/lib/actions/AutoClose.js +9 -29
  379. package/lib/actions/index.js +0 -5
  380. package/lib/actions/props/propTypes.js +0 -3
  381. package/lib/alert/AlertHeader/AlertHeader.js +18 -43
  382. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  383. package/lib/alert/AlertHeader/props/propTypes.js +0 -3
  384. package/lib/alert/AlertLookup/AlertLookup.js +40 -67
  385. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  386. package/lib/alert/AlertLookup/props/propTypes.js +0 -3
  387. package/lib/alert/index.js +0 -3
  388. package/lib/avatar/AvatarClose/AvatarClose.js +16 -39
  389. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  390. package/lib/avatar/AvatarClose/props/propTypes.js +0 -3
  391. package/lib/avatar/AvatarCollision/AvatarCollision.js +19 -42
  392. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  393. package/lib/avatar/AvatarCollision/props/propTypes.js +0 -3
  394. package/lib/avatar/AvatarIcon/AvatarIcon.js +21 -45
  395. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  396. package/lib/avatar/AvatarIcon/props/propTypes.js +0 -3
  397. package/lib/avatar/AvatarStatus/AvatarStatus.js +28 -49
  398. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  399. package/lib/avatar/AvatarStatus/props/propTypes.js +4 -6
  400. package/lib/avatar/AvatarThread/AvatarThread.js +33 -55
  401. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  402. package/lib/avatar/AvatarThread/props/propTypes.js +0 -3
  403. package/lib/avatar/AvatarUser/AvatarUser.js +40 -63
  404. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  405. package/lib/avatar/AvatarUser/props/propTypes.js +0 -3
  406. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +32 -54
  407. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  408. package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +6 -12
  409. package/lib/avatar/AvatarWithTeam/props/propTypes.js +0 -3
  410. package/lib/avatar/index.js +0 -8
  411. package/lib/common/dot_animation.module.css +26 -26
  412. package/lib/common/dot_boxShadow.module.css +37 -37
  413. package/lib/common/dot_common.module.css +3 -3
  414. package/lib/deprecated/FreezeLayer/FreezeLayer.js +20 -49
  415. package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  416. package/lib/deprecated/FreezeLayer/props/propTypes.js +0 -3
  417. package/lib/deprecated/SelectDropdown/SelectDropdown.js +21 -52
  418. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  419. package/lib/deprecated/utils/General.js +0 -5
  420. package/lib/deprecated/utils/KeyboardApi.js +32 -73
  421. package/lib/docs/formDocs.js +0 -16
  422. package/lib/docs/generalDocs.js +0 -60
  423. package/lib/docs/lookupDocs.js +0 -17
  424. package/lib/docs/setupDocs.js +0 -12
  425. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +145 -225
  426. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  427. package/lib/dropdown/ToggleDropDown/props/propTypes.js +0 -3
  428. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +24 -46
  429. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  430. package/lib/emptystate/CommonEmptyState/props/propTypes.js +0 -3
  431. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  432. package/lib/emptystate/EditionPage/EditionPage.js +14 -36
  433. package/lib/emptystate/EditionPage/props/propTypes.js +0 -3
  434. package/lib/errorstate/EmptyStates.module.css +87 -87
  435. package/lib/errorstate/Inconvenience/Inconvenience.js +12 -40
  436. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  437. package/lib/errorstate/Inconvenience/props/propTypes.js +0 -3
  438. package/lib/errorstate/LinkText/LinkText.js +10 -31
  439. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  440. package/lib/errorstate/LinkText/props/propTypes.js +0 -3
  441. package/lib/errorstate/NoRequestFound/NoRequestFound.js +14 -40
  442. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  443. package/lib/errorstate/NoRequestFound/props/propTypes.js +0 -3
  444. package/lib/errorstate/PermissionPlay/PermissionPlay.js +14 -40
  445. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  446. package/lib/errorstate/PermissionPlay/props/propTypes.js +0 -3
  447. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +14 -40
  448. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  449. package/lib/errorstate/RequestUrlNotFound/props/propTypes.js +0 -3
  450. package/lib/errorstate/UnableToProcess/UnableToProcess.js +12 -40
  451. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  452. package/lib/errorstate/UnableToProcess/props/propTypes.js +0 -3
  453. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +14 -40
  454. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  455. package/lib/errorstate/UnauthorizedLogin/props/propTypes.js +0 -3
  456. package/lib/errorstate/WillBack/WillBack.js +8 -33
  457. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  458. package/lib/errorstate/WillBack/props/propTypes.js +0 -3
  459. package/lib/errorstate/index.js +0 -9
  460. package/lib/form/fields/CheckBoxField/CheckBoxField.js +41 -71
  461. package/lib/form/fields/CheckBoxField/props/defaultProps.js +4 -7
  462. package/lib/form/fields/CheckBoxField/props/propTypes.js +4 -9
  463. package/lib/form/fields/CurrencyField/CurrencyField.js +51 -81
  464. package/lib/form/fields/CurrencyField/props/defaultProps.js +4 -7
  465. package/lib/form/fields/CurrencyField/props/propTypes.js +4 -9
  466. package/lib/form/fields/DateField/DateField.js +50 -83
  467. package/lib/form/fields/DateField/props/defaultProps.js +4 -7
  468. package/lib/form/fields/DateField/props/propTypes.js +4 -9
  469. package/lib/form/fields/FieldContainer/FieldContainer.js +25 -48
  470. package/lib/form/fields/FieldContainer/props/defaultProps.js +4 -7
  471. package/lib/form/fields/FieldContainer/props/propTypes.js +4 -9
  472. package/lib/form/fields/Fields.module.css +183 -183
  473. package/lib/form/fields/MultiSelectField/MultiSelectField.js +74 -100
  474. package/lib/form/fields/MultiSelectField/props/defaultProps.js +4 -7
  475. package/lib/form/fields/MultiSelectField/props/propTypes.js +4 -9
  476. package/lib/form/fields/PhoneField/PhoneField.js +43 -73
  477. package/lib/form/fields/PhoneField/props/propTypes.js +0 -3
  478. package/lib/form/fields/RadioField/RadioField.js +36 -64
  479. package/lib/form/fields/RadioField/props/propTypes.js +0 -3
  480. package/lib/form/fields/SelectField/SelectField.js +71 -98
  481. package/lib/form/fields/SelectField/props/defaultProps.js +4 -7
  482. package/lib/form/fields/SelectField/props/propTypes.js +4 -9
  483. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +46 -83
  484. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  485. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +0 -3
  486. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +62 -103
  487. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  488. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +4 -7
  489. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +4 -9
  490. package/lib/form/fields/TextBoxField/TextBoxField.js +58 -85
  491. package/lib/form/fields/TextBoxField/props/defaultProps.js +4 -7
  492. package/lib/form/fields/TextBoxField/props/propTypes.js +4 -9
  493. package/lib/form/fields/TextEditor/TextEditor.js +54 -117
  494. package/lib/form/fields/TextEditor/TextEditor.module.css +770 -770
  495. package/lib/form/fields/TextEditor/props/propTypes.js +0 -3
  496. package/lib/form/fields/TextEditorField/TextEditorField.js +61 -89
  497. package/lib/form/fields/TextEditorField/props/defaultProps.js +4 -7
  498. package/lib/form/fields/TextEditorField/props/propTypes.js +4 -9
  499. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +47 -79
  500. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  501. package/lib/form/fields/TextEditorWrapper/props/propTypes.js +0 -3
  502. package/lib/form/fields/TextareaField/TextareaField.js +55 -81
  503. package/lib/form/fields/TextareaField/props/defaultProps.js +4 -7
  504. package/lib/form/fields/TextareaField/props/propTypes.js +4 -9
  505. package/lib/form/fields/ValidationMessage/ValidationMessage.js +18 -40
  506. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  507. package/lib/form/fields/ValidationMessage/props/propTypes.js +0 -3
  508. package/lib/form/fields/index.js +0 -17
  509. package/lib/form/fields/props/FieldCommonDefaultProps.js +0 -2
  510. package/lib/form/fields/props/FieldCommonPropTypes.js +0 -4
  511. package/lib/form/layout/Field/Field.js +13 -34
  512. package/lib/form/layout/Field/Field.module.css +22 -22
  513. package/lib/form/layout/Field/props/propTypes.js +0 -3
  514. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  515. package/lib/form/layout/Section/Section.js +12 -33
  516. package/lib/form/layout/Section/props/propTypes.js +0 -3
  517. package/lib/form/layout/index.js +0 -3
  518. package/lib/index.js +0 -57
  519. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +36 -83
  520. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  521. package/lib/layout/SetupDetailLayout/index.js +0 -4
  522. package/lib/layout/SetupDetailLayout/props/propTypes.js +0 -3
  523. package/lib/layout/SubtabLayout/SubtabLayout.js +39 -83
  524. package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  525. package/lib/layout/SubtabLayout/index.js +0 -4
  526. package/lib/layout/SubtabLayout/props/propTypes.js +0 -3
  527. package/lib/list/AvatarFlip/AvatarFlip.js +32 -54
  528. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  529. package/lib/list/AvatarFlip/props/propTypes.js +0 -3
  530. package/lib/list/BluePrintStatus/BluePrintStatus.js +6 -25
  531. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  532. package/lib/list/BluePrintStatus/props/propTypes.js +0 -3
  533. package/lib/list/Comment/Comment.js +9 -33
  534. package/lib/list/Comment/Comment.module.css +29 -29
  535. package/lib/list/Comment/props/propTypes.js +0 -3
  536. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +28 -57
  537. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  538. package/lib/list/DepartmentDropDown/props/propTypes.js +4 -6
  539. package/lib/list/Dot/Dot.js +5 -28
  540. package/lib/list/Dot/Dot.module.css +15 -15
  541. package/lib/list/Dot/props/propTypes.js +0 -3
  542. package/lib/list/DotNew/DotNew.js +9 -30
  543. package/lib/list/DotNew/DotNew.module.css +24 -24
  544. package/lib/list/DotNew/props/propTypes.js +0 -3
  545. package/lib/list/GridStencils/GridStencils.js +11 -29
  546. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  547. package/lib/list/GridStencils/props/propTypes.js +0 -3
  548. package/lib/list/Icons/AddNewIcon.js +8 -29
  549. package/lib/list/Icons/CompleteIcon.js +9 -30
  550. package/lib/list/Icons/DeleteIcon.js +9 -30
  551. package/lib/list/Icons/EditIcon.js +9 -30
  552. package/lib/list/Icons/FloatingIcons.js +9 -32
  553. package/lib/list/Icons/Icons.module.css +16 -16
  554. package/lib/list/Icons/ReadUnreadIcon.js +11 -33
  555. package/lib/list/Icons/SmartIcon.js +8 -31
  556. package/lib/list/Icons/index.js +0 -8
  557. package/lib/list/Icons/props/propTypes.js +0 -3
  558. package/lib/list/ListLayout/ListLayout.js +28 -58
  559. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  560. package/lib/list/ListLayout/props/propTypes.js +4 -6
  561. package/lib/list/ListStencils/ListStencils.js +6 -28
  562. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  563. package/lib/list/ListStencils/props/propTypes.js +0 -3
  564. package/lib/list/SecondaryText/AccountName.js +27 -51
  565. package/lib/list/SecondaryText/ContactName.js +32 -58
  566. package/lib/list/SecondaryText/DepartmentText.js +10 -30
  567. package/lib/list/SecondaryText/Email.js +19 -42
  568. package/lib/list/SecondaryText/HappinessRating.js +9 -29
  569. package/lib/list/SecondaryText/PhoneNumber.js +21 -44
  570. package/lib/list/SecondaryText/PriorityText.js +11 -32
  571. package/lib/list/SecondaryText/SecondaryText.js +12 -34
  572. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  573. package/lib/list/SecondaryText/StatusText.js +12 -33
  574. package/lib/list/SecondaryText/TicketId.js +20 -43
  575. package/lib/list/SecondaryText/Website.js +13 -35
  576. package/lib/list/SecondaryText/index.js +0 -12
  577. package/lib/list/SecondaryText/props/propTypes.js +0 -3
  578. package/lib/list/SecondryPanel/SecondryPanel.js +28 -71
  579. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  580. package/lib/list/SecondryPanel/props/propTypes.js +0 -3
  581. package/lib/list/SentimentStatus/SentimentStatus.js +8 -27
  582. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  583. package/lib/list/SentimentStatus/props/propTypes.js +0 -3
  584. package/lib/list/Subject/Subject.js +22 -45
  585. package/lib/list/Subject/Subject.module.css +27 -27
  586. package/lib/list/Subject/props/propTypes.js +0 -3
  587. package/lib/list/TagNew/TagNew.js +11 -32
  588. package/lib/list/TagNew/TagNew.module.css +116 -116
  589. package/lib/list/TagNew/props/propTypes.js +0 -3
  590. package/lib/list/Thread/Thread.js +11 -34
  591. package/lib/list/Thread/Thread.module.css +42 -42
  592. package/lib/list/Thread/props/propTypes.js +0 -3
  593. package/lib/list/UserTime/UserTime.js +21 -45
  594. package/lib/list/UserTime/UserTime.module.css +58 -58
  595. package/lib/list/UserTime/props/propTypes.js +0 -3
  596. package/lib/list/index.js +0 -21
  597. package/lib/list/listCommon.module.css +60 -60
  598. package/lib/list/status/StatusDropdown/StatusDropdown.js +77 -133
  599. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  600. package/lib/list/status/StatusDropdown/props/propTypes.js +4 -6
  601. package/lib/list/status/StatusListItem/StatusListItem.js +37 -63
  602. package/lib/list/status/StatusListItem/StatusListItem.module.css +111 -111
  603. package/lib/list/status/StatusListItem/props/propTypes.js +0 -3
  604. package/lib/list/status/index.js +0 -3
  605. package/lib/lookup/EmptyPage/EmptyPage.js +8 -38
  606. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  607. package/lib/lookup/EmptyPage/props/propTypes.js +0 -3
  608. package/lib/lookup/Lookup/Lookup.js +23 -51
  609. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  610. package/lib/lookup/Lookup/props/propTypes.js +0 -3
  611. package/lib/lookup/Section/LookupSection.module.css +7 -7
  612. package/lib/lookup/Section/Section.js +5 -28
  613. package/lib/lookup/Section/props/propTypes.js +0 -3
  614. package/lib/lookup/header/Close/Close.js +9 -30
  615. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  616. package/lib/lookup/header/Close/props/propTypes.js +0 -3
  617. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +23 -49
  618. package/lib/lookup/header/ModuleHeader/props/propTypes.js +0 -3
  619. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  620. package/lib/lookup/header/Search/Search.js +29 -67
  621. package/lib/lookup/header/Search/props/propTypes.js +0 -3
  622. package/lib/lookup/header/TicketHeader/TicketHeader.js +22 -50
  623. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  624. package/lib/lookup/header/TicketHeader/props/propTypes.js +0 -3
  625. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  626. package/lib/lookup/header/Title/Title.js +9 -30
  627. package/lib/lookup/header/Title/props/propTypes.js +0 -3
  628. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +28 -62
  629. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  630. package/lib/lookup/header/ViewDropDown/props/propTypes.js +0 -4
  631. package/lib/lookup/header/index.js +0 -6
  632. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  633. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  634. package/lib/lookup/index.js +0 -9
  635. package/lib/setup/header/Button/Button.js +10 -30
  636. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  637. package/lib/setup/header/Button/props/propTypes.js +0 -3
  638. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  639. package/lib/setup/header/Link/Link.js +11 -33
  640. package/lib/setup/header/Link/props/propTypes.js +0 -3
  641. package/lib/setup/header/Search/Search.js +12 -34
  642. package/lib/setup/header/Search/Search.module.css +68 -68
  643. package/lib/setup/header/Search/props/propTypes.js +0 -3
  644. package/lib/setup/header/Views/Views.js +12 -32
  645. package/lib/setup/header/Views/Views.module.css +37 -37
  646. package/lib/setup/header/Views/props/propTypes.js +0 -3
  647. package/lib/setup/header/index.js +0 -5
  648. package/lib/setup/helptips/Description/Description.js +6 -24
  649. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  650. package/lib/setup/helptips/Description/props/propTypes.js +0 -3
  651. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  652. package/lib/setup/helptips/Link/Link.js +11 -32
  653. package/lib/setup/helptips/Link/props/propTypes.js +0 -3
  654. package/lib/setup/helptips/ListGroup/ListGroup.js +8 -28
  655. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  656. package/lib/setup/helptips/ListGroup/props/propTypes.js +0 -3
  657. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  658. package/lib/setup/helptips/Title/Title.js +6 -24
  659. package/lib/setup/helptips/Title/props/propTypes.js +0 -3
  660. package/lib/setup/helptips/index.js +0 -5
  661. package/lib/setup/index.js +0 -9
  662. package/lib/setup/table/Table/Table.js +9 -28
  663. package/lib/setup/table/Table/props/propTypes.js +0 -3
  664. package/lib/setup/table/TableBody/TableBody.js +11 -30
  665. package/lib/setup/table/TableBody/props/propTypes.js +0 -3
  666. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  667. package/lib/setup/table/TableData/TableData.js +14 -34
  668. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  669. package/lib/setup/table/TableData/props/propTypes.js +0 -3
  670. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  671. package/lib/setup/table/TableHead/TableHead.js +11 -31
  672. package/lib/setup/table/TableHead/props/propTypes.js +0 -3
  673. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  674. package/lib/setup/table/TableRow/TableRow.js +14 -34
  675. package/lib/setup/table/TableRow/props/propTypes.js +0 -3
  676. package/lib/setup/table/Text/TableText.module.css +37 -37
  677. package/lib/setup/table/Text/Text.js +17 -39
  678. package/lib/setup/table/Text/props/propTypes.js +0 -3
  679. package/lib/setup/table/index.js +0 -6
  680. package/lib/svg/PlusIcon.js +10 -29
  681. package/lib/svg/SnippetIcon.js +11 -30
  682. package/lib/svg/TemplateIcon.js +9 -28
  683. package/lib/svg/index.js +0 -4
  684. package/lib/svg/props/propTypes.js +0 -3
  685. package/lib/utils/ChannelIconMapping.js +0 -2
  686. package/lib/utils/General.js +0 -11
  687. package/lib/utils/editorUtils.js +13 -48
  688. package/lib/version2/AlertClose/AlertClose.js +11 -33
  689. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  690. package/lib/version2/AlertClose/props/propTypes.js +0 -3
  691. package/lib/version2/GlobalNotification/GlobalNotification.js +30 -59
  692. package/lib/version2/GlobalNotification/GlobalNotification.module.css +127 -127
  693. package/lib/version2/GlobalNotification/props/propTypes.js +0 -3
  694. package/lib/version2/alertIcons/AlarmAlertIcon.js +5 -28
  695. package/lib/version2/alertIcons/AlertIcons.js +11 -41
  696. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  697. package/lib/version2/alertIcons/DangerAlertIcon.js +5 -28
  698. package/lib/version2/alertIcons/ErrorAlertIcon.js +5 -28
  699. package/lib/version2/alertIcons/InfoAlertIcon.js +5 -28
  700. package/lib/version2/alertIcons/NotificationAlertIcon.js +5 -28
  701. package/lib/version2/alertIcons/SuccessAlertIcon.js +5 -28
  702. package/lib/version2/alertIcons/WarningAlertIcon.js +5 -28
  703. package/lib/version2/alertIcons/index.js +0 -9
  704. package/lib/version2/alertIcons/props/propTypes.js +0 -3
  705. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +19 -43
  706. package/lib/version2/errorstate/Inconvenience/props/propTypes.js +0 -3
  707. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +19 -43
  708. package/lib/version2/errorstate/OopsSomethingMiss/props/propTypes.js +0 -3
  709. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +19 -43
  710. package/lib/version2/errorstate/UnableToProcessRequest/props/propTypes.js +0 -3
  711. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +20 -44
  712. package/lib/version2/errorstate/UnauthorizedLogin/props/propTypes.js +0 -3
  713. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +19 -43
  714. package/lib/version2/errorstate/UrlNotFound/props/propTypes.js +0 -3
  715. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  716. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +19 -43
  717. package/lib/version2/errorstate/WillBeRightBack/props/propTypes.js +0 -3
  718. package/lib/version2/errorstate/index.js +0 -7
  719. package/lib/version2/index.js +0 -14
  720. package/lib/version2/lookup/AlertHeader/AlertHeader.js +20 -33
  721. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
  722. package/lib/version2/lookup/AlertHeader/css/cssJSLogic.js +7 -8
  723. package/lib/version2/lookup/AlertHeader/props/propTypes.js +0 -3
  724. package/lib/version2/lookup/AlertLookup/AlertLookup.js +54 -84
  725. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  726. package/lib/version2/lookup/AlertLookup/props/propTypes.js +0 -3
  727. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  728. package/lib/version2/lookup/index.js +0 -3
  729. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +38 -60
  730. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +126 -126
  731. package/lib/version2/notification/DesktopNotification/props/propTypes.js +0 -3
  732. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +15 -39
  733. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  734. package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +0 -3
  735. package/lib/version2/notification/index.js +0 -6
  736. package/package.json +106 -107
  737. package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +0 -555
  738. package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +0 -16
  739. package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +0 -16
  740. package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +0 -16
  741. package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +0 -16
  742. package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +0 -16
  743. package/assets/Appearance/light/mode/Dot_LightMode.module.css +0 -555
  744. package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +0 -16
  745. package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +0 -16
  746. package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +0 -16
  747. package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +0 -16
  748. package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +0 -16
  749. package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +0 -555
  750. package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +0 -16
  751. package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +0 -16
  752. package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +0 -16
  753. package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +0 -16
  754. package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +0 -16
@@ -1,38 +1,38 @@
1
- :root {
2
- /* attachment viewer */
3
- --zd_bs_attachmentviewer_selected: var(--zd_bs_contrast_outline, 0 0 4px 2px var(--zdt_attachmentviewer_selected_box_shadow) inset);
4
-
5
- /* texteditor */
6
- --zd_bs_texteditor_menu: var(--zd_bs_contrast_outline, -1px 1px 2px 0 var(--zdt_texteditor_menu_after_box_shadow));
7
- --zd_bs_texteditor_ul: var(--zd_bs_contrast_outline, 0 1px 32px 0 var(--zdt_texteditor_dropdown_box_shadow));
8
-
9
- /* subtab layout */
10
- --zd_bs_subtablayout_shadow: var(--zd_bs_contrast_outline, 0 0 6px var(--zdt_subtablayout_shadowstyle_box_shadow));
11
-
12
- /* drawer */
13
- --zd_bs_drawer_shadow: var(--zd_bs_contrast_outline, 0 6px 12px var(--zdt_drawer_default_box_shadow));
14
-
15
- /* dot new */
16
- --zd_bs_dotnew_shadow: var(--zd_bs_contrast_outline, 0 0 15px 1px var(--zdt_dotnew_default_box_shadow));
17
-
18
- /* tag new */
19
- --zd_bs_tagnew_shadow: var(--zd_bs_contrast_outline, 0 8px 30px 0 var(--zdt_tagnew_default_box_shadow));
20
-
21
- /* lookup section */
22
- --zd_bs_lookupsection_shadow: var(--zd_bs_contrast_outline, 0px 4px 20px var(--zdt_lookupsection_box_shadow));
23
-
24
- /* message */
25
- --zd_bs_message_container: var(--zd_bs_contrast_outline, 0 0 19px 1px var(--zdt_message_default_box_shadow));
26
-
27
- /* plus icon */
28
- --zd_bs_plusicon_container: var(--zd_bs_contrast_outline, 0 2px 3px 0 var(--zdt_plusicon_box_shadow));
29
-
30
- /* toast message */
31
- --zd_bs_toastmessage_container: var(--zd_bs_contrast_outline, 0 5px 40px 7px var(--zdt_toastmessage_default_box_shadow));
32
-
33
- /* global notification */
34
- --zd_bs_globalnotification_container: var(--zd_bs_contrast_outline, 0 4px 20px var(--globalnotification_box_shadow));
35
-
36
- /* desktop notification */
37
- --zd_bs_desktopnotification_container: var(--zd_bs_contrast_outline, 0 4px 20px var(--zdt_desktopnotification_box_shadow));
1
+ :root {
2
+ /* attachment viewer */
3
+ --zd_bs_attachmentviewer_selected: var(--zd_bs_contrast_outline, 0 0 4px 2px var(--zdt_attachmentviewer_selected_box_shadow) inset);
4
+
5
+ /* texteditor */
6
+ --zd_bs_texteditor_menu: var(--zd_bs_contrast_outline, -1px 1px 2px 0 var(--zdt_texteditor_menu_after_box_shadow));
7
+ --zd_bs_texteditor_ul: var(--zd_bs_contrast_outline, 0 1px 32px 0 var(--zdt_texteditor_dropdown_box_shadow));
8
+
9
+ /* subtab layout */
10
+ --zd_bs_subtablayout_shadow: var(--zd_bs_contrast_outline, 0 0 6px var(--zdt_subtablayout_shadowstyle_box_shadow));
11
+
12
+ /* drawer */
13
+ --zd_bs_drawer_shadow: var(--zd_bs_contrast_outline, 0 6px 12px var(--zdt_drawer_default_box_shadow));
14
+
15
+ /* dot new */
16
+ --zd_bs_dotnew_shadow: var(--zd_bs_contrast_outline, 0 0 15px 1px var(--zdt_dotnew_default_box_shadow));
17
+
18
+ /* tag new */
19
+ --zd_bs_tagnew_shadow: var(--zd_bs_contrast_outline, 0 8px 30px 0 var(--zdt_tagnew_default_box_shadow));
20
+
21
+ /* lookup section */
22
+ --zd_bs_lookupsection_shadow: var(--zd_bs_contrast_outline, 0px 4px 20px var(--zdt_lookupsection_box_shadow));
23
+
24
+ /* message */
25
+ --zd_bs_message_container: var(--zd_bs_contrast_outline, 0 0 19px 1px var(--zdt_message_default_box_shadow));
26
+
27
+ /* plus icon */
28
+ --zd_bs_plusicon_container: var(--zd_bs_contrast_outline, 0 2px 3px 0 var(--zdt_plusicon_box_shadow));
29
+
30
+ /* toast message */
31
+ --zd_bs_toastmessage_container: var(--zd_bs_contrast_outline, 0 5px 40px 7px var(--zdt_toastmessage_default_box_shadow));
32
+
33
+ /* global notification */
34
+ --zd_bs_globalnotification_container: var(--zd_bs_contrast_outline, 0 4px 20px var(--globalnotification_box_shadow));
35
+
36
+ /* desktop notification */
37
+ --zd_bs_desktopnotification_container: var(--zd_bs_contrast_outline, 0 4px 20px var(--zdt_desktopnotification_box_shadow));
38
38
  }
@@ -1,4 +1,4 @@
1
- .audioImage {
2
- background-image: url('../../images/audio_thumbnail.png');
3
- background-repeat: no-repeat;
1
+ .audioImage {
2
+ background-image: url('../../images/audio_thumbnail.png');
3
+ background-repeat: no-repeat;
4
4
  }
@@ -1,64 +1,39 @@
1
1
  "use strict";
2
2
 
3
3
  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); }
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports["default"] = void 0;
9
-
10
8
  var _react = _interopRequireWildcard(require("react"));
11
-
12
9
  var _defaultProps = require("./props/defaultProps");
13
-
14
10
  var _propTypes = require("./props/propTypes");
15
-
16
11
  var _Layout = require("@zohodesk/components/lib/Layout");
17
-
18
12
  var _VelocityAnimationGroup = _interopRequireDefault(require("@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup"));
19
-
20
13
  var _FreezeLayerModule = _interopRequireDefault(require("./_FreezeLayer.module.css"));
21
-
22
14
  var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider");
23
-
24
15
  var _Config = require("../Provider/Config");
25
-
26
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
-
28
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); }
29
-
30
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; }
31
-
32
19
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
33
-
34
- 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
-
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); } }
36
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; }
37
-
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); }
38
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); }
39
-
40
25
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
41
-
42
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); }; }
43
-
44
27
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
45
-
46
28
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
47
-
48
29
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
49
-
50
30
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
51
-
52
31
  var FreezeLayer = /*#__PURE__*/function (_Component) {
53
32
  _inherits(FreezeLayer, _Component);
54
-
55
33
  var _super = _createSuper(FreezeLayer);
56
-
57
34
  function FreezeLayer(props) {
58
35
  var _this;
59
-
60
36
  _classCallCheck(this, FreezeLayer);
61
-
62
37
  _this = _super.call(this, props);
63
38
  _this.state = {
64
39
  isActive: props.isActive,
@@ -68,7 +43,6 @@ var FreezeLayer = /*#__PURE__*/function (_Component) {
68
43
  _this.isFreezeLayerEnabled = false;
69
44
  return _this;
70
45
  }
71
-
72
46
  _createClass(FreezeLayer, [{
73
47
  key: "enableFreeze",
74
48
  value: function enableFreeze() {
@@ -91,7 +65,6 @@ var FreezeLayer = /*#__PURE__*/function (_Component) {
91
65
  key: "componentDidMount",
92
66
  value: function componentDidMount() {
93
67
  var isActive = this.props.isActive;
94
-
95
68
  if (isActive) {
96
69
  this.setState({
97
70
  isChildActive: true
@@ -103,9 +76,7 @@ var FreezeLayer = /*#__PURE__*/function (_Component) {
103
76
  key: "componentDidUpdate",
104
77
  value: function componentDidUpdate(prevProps) {
105
78
  var _this2 = this;
106
-
107
79
  var isActive = this.props.isActive;
108
-
109
80
  if (isActive != prevProps.isActive) {
110
81
  if (isActive) {
111
82
  this.enableFreeze();
@@ -137,21 +108,21 @@ var FreezeLayer = /*#__PURE__*/function (_Component) {
137
108
  key: "render",
138
109
  value: function render() {
139
110
  var _this$props = this.props,
140
- children = _this$props.children,
141
- align = _this$props.align,
142
- childAnimationName = _this$props.childAnimationName,
143
- palette = _this$props.palette,
144
- onClick = _this$props.onClick,
145
- animationName = _this$props.animationName,
146
- zIndex = _this$props.zIndex,
147
- runOnMount = _this$props.runOnMount,
148
- forwardRef = _this$props.forwardRef,
149
- isSvgMask = _this$props.isSvgMask,
150
- customClass = _this$props.customClass,
151
- needAutoZindex = _this$props.needAutoZindex;
111
+ children = _this$props.children,
112
+ align = _this$props.align,
113
+ childAnimationName = _this$props.childAnimationName,
114
+ palette = _this$props.palette,
115
+ onClick = _this$props.onClick,
116
+ animationName = _this$props.animationName,
117
+ zIndex = _this$props.zIndex,
118
+ runOnMount = _this$props.runOnMount,
119
+ forwardRef = _this$props.forwardRef,
120
+ isSvgMask = _this$props.isSvgMask,
121
+ customClass = _this$props.customClass,
122
+ needAutoZindex = _this$props.needAutoZindex;
152
123
  var _this$state = this.state,
153
- isActive = _this$state.isActive,
154
- isChildActive = _this$state.isChildActive;
124
+ isActive = _this$state.isActive,
125
+ isChildActive = _this$state.isChildActive;
155
126
  return /*#__PURE__*/_react["default"].createElement(_VelocityAnimationGroup["default"], {
156
127
  name: animationName && animationName,
157
128
  isActive: isActive,
@@ -178,13 +149,13 @@ var FreezeLayer = /*#__PURE__*/function (_Component) {
178
149
  }, children))));
179
150
  }
180
151
  }]);
181
-
182
152
  return FreezeLayer;
183
153
  }(_react.Component);
184
-
185
154
  exports["default"] = FreezeLayer;
186
155
  FreezeLayer.propTypes = _propTypes.propTypes;
187
- FreezeLayer.defaultProps = _defaultProps.defaultProps; // if (__DOCS__) {
156
+ FreezeLayer.defaultProps = _defaultProps.defaultProps;
157
+
158
+ // if (__DOCS__) {
188
159
  // FreezeLayer.docs = {
189
160
  // componentGroup: 'Atom',
190
161
  // folderName: 'General'
@@ -1,42 +1,42 @@
1
- .container {
2
- top: 0 ;
3
- bottom: 0 ;
4
- position: absolute;
5
- overflow: hidden;
6
- }[dir=ltr] .container {
7
- left: 0 ;
8
- right: 0 ;
9
- }[dir=rtl] .container {
10
- right: 0 ;
11
- left: 0 ;
12
- }
13
- .default {
14
- background-color: var(--zdt_freezelayer_default_bg);
15
- }
16
- .dark {
17
- background-color: var(--zdt_freezelayer_dark_bg);
18
- }
19
- .darkLight {
20
- background-color: var(--zdt_freezelayer_darklight_bg);
21
- }
22
- .plain {
23
- background-color: var(--zdt_freezelayer_plain_bg);
24
- }
25
- .snow {
26
- background-color: var(--zdt_freezelayer_snow_bg);
27
- }
28
- .index3 {
29
- z-index: 3;
30
- }
31
- .index5 {
32
- z-index: 5;
33
- }
34
- .index7 {
35
- z-index: 7;
36
- }
37
- .index10 {
38
- z-index: 10;
39
- }
40
- .delay {
41
- transition-delay: var(--zd_transition2);
42
- }
1
+ .container {
2
+ top: 0;
3
+ bottom: 0;
4
+ position: absolute;
5
+ overflow: hidden;
6
+ }[dir=ltr] .container {
7
+ left: 0;
8
+ right: 0;
9
+ }[dir=rtl] .container {
10
+ right: 0;
11
+ left: 0;
12
+ }
13
+ .default {
14
+ background-color: var(--zdt_freezelayer_default_bg);
15
+ }
16
+ .dark {
17
+ background-color: var(--zdt_freezelayer_dark_bg);
18
+ }
19
+ .darkLight {
20
+ background-color: var(--zdt_freezelayer_darklight_bg);
21
+ }
22
+ .plain {
23
+ background-color: var(--zdt_freezelayer_plain_bg);
24
+ }
25
+ .snow {
26
+ background-color: var(--zdt_freezelayer_snow_bg);
27
+ }
28
+ .index3 {
29
+ z-index: 3;
30
+ }
31
+ .index5 {
32
+ z-index: 5;
33
+ }
34
+ .index7 {
35
+ z-index: 7;
36
+ }
37
+ .index10 {
38
+ z-index: 10;
39
+ }
40
+ .delay {
41
+ transition-delay: var(--zd_transition2);
42
+ }
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.propTypes = void 0;
7
-
8
7
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
9
  var animationValues = ['fade', 'shrink', 'expand', 'slideRight', 'slideDown', 'flyDown'];
13
10
  var propTypes = {
14
11
  align: _propTypes["default"].oneOf(['horizontal', 'vertical', 'both']),
@@ -1,78 +1,51 @@
1
1
  "use strict";
2
2
 
3
3
  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); }
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports["default"] = void 0;
9
-
10
8
  var _react = _interopRequireDefault(require("react"));
11
-
12
9
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
-
14
10
  var _Popup = _interopRequireDefault(require("@zohodesk/components/lib/Popup/Popup"));
15
-
16
11
  var _ListItem = _interopRequireDefault(require("@zohodesk/components/lib/ListItem/ListItem"));
17
-
18
12
  var _TextBox = _interopRequireDefault(require("@zohodesk/components/lib/TextBox/TextBox"));
19
-
20
13
  var _DropDownHeading = _interopRequireDefault(require("@zohodesk/components/lib/DropDown/DropDownHeading"));
21
-
22
14
  var _icons = require("@zohodesk/icons");
23
-
24
15
  var _Layout = require("@zohodesk/components/lib/Layout");
25
-
26
16
  var _ResponsiveDropBox = _interopRequireDefault(require("@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox"));
27
-
28
17
  var _CustomResponsive = require("@zohodesk/components/lib/Responsive/CustomResponsive");
29
-
30
18
  var _SelectDropdownModule = _interopRequireDefault(require("./SelectDropdown.module.css"));
31
-
32
19
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
33
-
34
20
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35
-
36
- 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); } }
37
-
21
+ 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); } }
38
22
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
39
-
23
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
24
+ 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); }
40
25
  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); }
41
-
42
26
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
43
-
44
27
  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); }; }
45
-
46
28
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
47
-
48
29
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
49
-
50
30
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
51
-
52
31
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
53
-
54
32
  var SelectDropdown = /*#__PURE__*/function (_React$Component) {
55
33
  _inherits(SelectDropdown, _React$Component);
56
-
57
34
  var _super = _createSuper(SelectDropdown);
58
-
59
35
  function SelectDropdown(props) {
60
36
  var _this;
61
-
62
37
  _classCallCheck(this, SelectDropdown);
63
-
64
38
  _this = _super.call(this, props);
65
39
  _this.handleTogglePopup = _this.handleTogglePopup.bind(_assertThisInitialized(_this));
66
40
  _this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));
67
41
  return _this;
68
42
  }
69
-
70
43
  _createClass(SelectDropdown, [{
71
44
  key: "handleClick",
72
45
  value: function handleClick(id, value, index, e) {
73
46
  var _this$props = this.props,
74
- onClick = _this$props.onClick,
75
- togglePopup = _this$props.togglePopup;
47
+ onClick = _this$props.onClick,
48
+ togglePopup = _this$props.togglePopup;
76
49
  onClick && onClick(id, value, index, e);
77
50
  togglePopup(e, 'bottomRight');
78
51
  }
@@ -96,23 +69,22 @@ var SelectDropdown = /*#__PURE__*/function (_React$Component) {
96
69
  key: "render",
97
70
  value: function render() {
98
71
  var _this2 = this;
99
-
100
72
  var _this$props2 = this.props,
101
- title = _this$props2.title,
102
- selectedText = _this$props2.selectedText,
103
- isPopupOpen = _this$props2.isPopupOpen,
104
- isPopupReady = _this$props2.isPopupReady,
105
- getTargetRef = _this$props2.getTargetRef,
106
- getContainerRef = _this$props2.getContainerRef,
107
- removeClose = _this$props2.removeClose,
108
- suggestions = _this$props2.suggestions,
109
- selectedId = _this$props2.selectedId,
110
- _this$props2$isSearch = _this$props2.isSearchRequired,
111
- isSearchRequired = _this$props2$isSearch === void 0 ? false : _this$props2$isSearch;
73
+ title = _this$props2.title,
74
+ selectedText = _this$props2.selectedText,
75
+ isPopupOpen = _this$props2.isPopupOpen,
76
+ isPopupReady = _this$props2.isPopupReady,
77
+ getTargetRef = _this$props2.getTargetRef,
78
+ getContainerRef = _this$props2.getContainerRef,
79
+ removeClose = _this$props2.removeClose,
80
+ suggestions = _this$props2.suggestions,
81
+ selectedId = _this$props2.selectedId,
82
+ _this$props2$isSearch = _this$props2.isSearchRequired,
83
+ isSearchRequired = _this$props2$isSearch === void 0 ? false : _this$props2$isSearch;
112
84
  var idKey = suggestions.idKey,
113
- valueKey = suggestions.valueKey,
114
- _suggestions$options = suggestions.options,
115
- options = _suggestions$options === void 0 ? [] : _suggestions$options;
85
+ valueKey = suggestions.valueKey,
86
+ _suggestions$options = suggestions.options,
87
+ options = _suggestions$options === void 0 ? [] : _suggestions$options;
116
88
  return /*#__PURE__*/_react["default"].createElement("span", {
117
89
  ref: getTargetRef,
118
90
  className: _SelectDropdownModule["default"].container,
@@ -174,10 +146,8 @@ var SelectDropdown = /*#__PURE__*/function (_React$Component) {
174
146
  }));
175
147
  }
176
148
  }]);
177
-
178
149
  return SelectDropdown;
179
150
  }(_react["default"].Component);
180
-
181
151
  SelectDropdown.propTypes = {
182
152
  getContainerRef: _propTypes["default"].func,
183
153
  getTargetRef: _propTypes["default"].func,
@@ -194,13 +164,12 @@ SelectDropdown.propTypes = {
194
164
  options: _propTypes["default"].array
195
165
  }),
196
166
  title: _propTypes["default"].string
197
- }; // if (__DOCS__) {
167
+ };
168
+ // if (__DOCS__) {
198
169
  // SelectDropdown.docs = {
199
170
  // componentGroup: 'Header',
200
171
  // folderName: 'Setup'
201
172
  // };
202
173
  // }
203
-
204
174
  var _default = (0, _Popup["default"])(SelectDropdown);
205
-
206
175
  exports["default"] = _default;
@@ -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: 3px 15px;
6
+ cursor: pointer;
7
+ }[dir=ltr] .container {
8
+ margin-left: 15px;
9
+ }[dir=rtl] .container {
10
+ margin-right: 15px;
11
+ }
12
+ .container:hover {
13
+ background: var(--zdt_selectdropzdt_selectdropdown_hover_bg down_hover_bg);
14
+ }
15
+ .departName {
16
+ font-size: 13px;
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: 5px;
26
+ }
27
+ [dir=rtl] .departIcon {
28
+ margin-right: 5px;
29
+ }
30
+ .rulesPopup {
31
+ max-height: 260px;
32
+ padding: 10px 0;
33
+ }
34
+
35
+ .rulesDepart {
36
+ margin: 0 5px 10px 5px;
37
+ }
38
+ .searchDepart {
39
+ padding: 0 20px;
40
+ margin: 0 0 10px 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
+ }
@@ -4,16 +4,12 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.formatCurrency = formatCurrency;
7
-
8
7
  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
-
10
8
  function formatCurrency(number, symbol) {
11
9
  // format number 1000000 to 1,234,567
12
10
  if (number && number != 0) {
13
11
  var typeOfData = _typeof(number);
14
-
15
12
  var isDecimal = typeOfData == 'string' ? number.indexOf('.') != -1 : !Number.isInteger(number);
16
-
17
13
  if (isDecimal) {
18
14
  var val = number.toString().split('.');
19
15
  var arr1 = "".concat(val[0].replace(/\D/g, '').replace(/\B(?=(\d{3})+(?!\d))/g, ','));
@@ -24,6 +20,5 @@ function formatCurrency(number, symbol) {
24
20
  return value;
25
21
  }
26
22
  }
27
-
28
23
  return number;
29
24
  }