@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,128 +1,128 @@
1
- .varClass {
2
- /* globalnotfication default variables */
3
- --commonalert_border_color: var(--zdt_commonalert_default_border);
4
- --globalnotification_bg_color: var(--zdt_globalnotification_default_bg);
5
- --globalnotification_text_color: var(--zdt_globalnotification_default_text);
6
- --globalnotification_box_shadow: var(--zdt_globalnotification_default_box_shadow);
7
- }
8
-
9
- .message {
10
- composes: varClass;
11
- position: absolute;
12
- top: 0 ;
13
- z-index: 1000;
14
- /*Hook for editor alert*/
15
- pointer-events: none;
16
- text-align: center;
17
- }
18
-
19
- [dir=ltr] .message {
20
- right: 0 ;
21
- left: 0 ;
22
- }
23
-
24
- [dir=rtl] .message {
25
- left: 0 ;
26
- right: 0 ;
27
- }
28
-
29
- .container {
30
- position: relative;
31
- pointer-events: initial;
32
- color: var(--globalnotification_text_color);
33
- max-width: var(--zd_size490) ;
34
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
35
- box-shadow: var(--zd_bs_globalnotification_container);
36
- border-radius: 0 0 var(--zd_size10) var(--zd_size10);
37
- background-color: var(--globalnotification_bg_color);
38
- border-style: solid;
39
- border-color: var(--commonalert_border_color);
40
- border-width: 2px 1px 1px 1px;
41
- }
42
-
43
- [dir=ltr] .container {
44
- padding: var(--zd_size18) var(--zd_size70) var(--zd_size19) var(--zd_size75) ;
45
- }
46
-
47
- [dir=rtl] .container {
48
- padding: var(--zd_size18) var(--zd_size75) var(--zd_size19) var(--zd_size70) ;
49
- }
50
-
51
- .icon {
52
- width: var(--zd_size44) ;
53
- height: var(--zd_size44) ;
54
- position: absolute;
55
- top: 0 ;
56
- bottom: 0 ;
57
- margin: auto 0 ;
58
- }
59
-
60
- [dir=ltr] .icon {
61
- left: var(--zd_size18) ;
62
- }
63
-
64
- [dir=rtl] .icon {
65
- right: var(--zd_size18) ;
66
- }
67
-
68
- .success {
69
- --commonalert_border_color: var(--zdt_commonalert_success_border);
70
- --globalnotification_bg_color: var(--zdt_globalnotification_success_bg);
71
- --globalnotification_text_color: var(--zdt_globalnotification_success_text);
72
- }
73
-
74
- .info {
75
- --commonalert_border_color: var(--zdt_commonalert_info_border);
76
- --globalnotification_bg_color: var(--zdt_globalnotification_info_bg);
77
- --globalnotification_text_color: var(--zdt_globalnotification_info_text);
78
- }
79
-
80
- .danger {
81
- --commonalert_border_color: var(--zdt_commonalert_danger_border);
82
- --globalnotification_bg_color: var(--zdt_globalnotification_danger_bg);
83
- --globalnotification_text_color: var(--zdt_globalnotification_danger_text);
84
- }
85
-
86
- .error {
87
- --commonalert_border_color: var(--zdt_commonalert_error_border);
88
- --globalnotification_bg_color: var(--zdt_globalnotification_error_bg);
89
- --globalnotification_text_color: var(--zdt_globalnotification_error_text);
90
- }
91
-
92
- .warning {
93
- --commonalert_border_color: var(--zdt_commonalert_warning_border);
94
- --globalnotification_bg_color: var(--zdt_globalnotification_warning_bg);
95
- --globalnotification_text_color: var(--zdt_globalnotification_warning_text);
96
- }
97
-
98
- .text {
99
- font-size: var(--zd_font_size14) ;
100
- font-family: var(--zd_semibold);
101
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
102
- line-height: var(--zd_size20);
103
- }
104
-
105
- [dir=ltr] .text {
106
- text-align: left;
107
- }
108
-
109
- [dir=rtl] .text {
110
- text-align: right;
111
- }
112
-
113
- .close {
114
- position: absolute;
115
- top: 0 ;
116
- bottom: 0 ;
117
- height: var(--zd_size25) ;
118
- }
119
-
120
- [dir=ltr] .close {
121
- right: var(--zd_size12) ;
122
- margin: auto 0 auto var(--zd_size25) ;
123
- }
124
-
125
- [dir=rtl] .close {
126
- left: var(--zd_size12) ;
127
- margin: auto var(--zd_size25) auto 0 ;
1
+ .varClass {
2
+ /* globalnotfication default variables */
3
+ --commonalert_border_color: var(--zdt_commonalert_default_border);
4
+ --globalnotification_bg_color: var(--zdt_globalnotification_default_bg);
5
+ --globalnotification_text_color: var(--zdt_globalnotification_default_text);
6
+ --globalnotification_box_shadow: var(--zdt_globalnotification_default_box_shadow);
7
+ }
8
+
9
+ .message {
10
+ composes: varClass;
11
+ position: absolute;
12
+ top: 0;
13
+ z-index: 1000;
14
+ /*Hook for editor alert*/
15
+ pointer-events: none;
16
+ text-align: center;
17
+ }
18
+
19
+ [dir=ltr] .message {
20
+ right: 0;
21
+ left: 0;
22
+ }
23
+
24
+ [dir=rtl] .message {
25
+ left: 0;
26
+ right: 0;
27
+ }
28
+
29
+ .container {
30
+ position: relative;
31
+ pointer-events: initial;
32
+ color: var(--globalnotification_text_color);
33
+ max-width: 490px;
34
+ composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
35
+ box-shadow: var(--zd_bs_globalnotification_container);
36
+ border-radius: 0 0 var(--zd_size10) var(--zd_size10);
37
+ background-color: var(--globalnotification_bg_color);
38
+ border-style: solid;
39
+ border-color: var(--commonalert_border_color);
40
+ border-width: 2px 1px 1px 1px;
41
+ }
42
+
43
+ [dir=ltr] .container {
44
+ padding: 18px 70px 19px 75px;
45
+ }
46
+
47
+ [dir=rtl] .container {
48
+ padding: 18px 75px 19px 70px;
49
+ }
50
+
51
+ .icon {
52
+ width: 44px;
53
+ height: 44px;
54
+ position: absolute;
55
+ top: 0;
56
+ bottom: 0;
57
+ margin: auto 0;
58
+ }
59
+
60
+ [dir=ltr] .icon {
61
+ left: 18px;
62
+ }
63
+
64
+ [dir=rtl] .icon {
65
+ right: 18px;
66
+ }
67
+
68
+ .success {
69
+ --commonalert_border_color: var(--zdt_commonalert_success_border);
70
+ --globalnotification_bg_color: var(--zdt_globalnotification_success_bg);
71
+ --globalnotification_text_color: var(--zdt_globalnotification_success_text);
72
+ }
73
+
74
+ .info {
75
+ --commonalert_border_color: var(--zdt_commonalert_info_border);
76
+ --globalnotification_bg_color: var(--zdt_globalnotification_info_bg);
77
+ --globalnotification_text_color: var(--zdt_globalnotification_info_text);
78
+ }
79
+
80
+ .danger {
81
+ --commonalert_border_color: var(--zdt_commonalert_danger_border);
82
+ --globalnotification_bg_color: var(--zdt_globalnotification_danger_bg);
83
+ --globalnotification_text_color: var(--zdt_globalnotification_danger_text);
84
+ }
85
+
86
+ .error {
87
+ --commonalert_border_color: var(--zdt_commonalert_error_border);
88
+ --globalnotification_bg_color: var(--zdt_globalnotification_error_bg);
89
+ --globalnotification_text_color: var(--zdt_globalnotification_error_text);
90
+ }
91
+
92
+ .warning {
93
+ --commonalert_border_color: var(--zdt_commonalert_warning_border);
94
+ --globalnotification_bg_color: var(--zdt_globalnotification_warning_bg);
95
+ --globalnotification_text_color: var(--zdt_globalnotification_warning_text);
96
+ }
97
+
98
+ .text {
99
+ font-size: 14px;
100
+ font-family: var(--zd_semibold);
101
+ composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
102
+ line-height: var(--zd_size20);
103
+ }
104
+
105
+ [dir=ltr] .text {
106
+ text-align: left;
107
+ }
108
+
109
+ [dir=rtl] .text {
110
+ text-align: right;
111
+ }
112
+
113
+ .close {
114
+ position: absolute;
115
+ top: 0;
116
+ bottom: 0;
117
+ height: 25px;
118
+ }
119
+
120
+ [dir=ltr] .close {
121
+ right: 12px;
122
+ margin: auto 0 auto 25px;
123
+ }
124
+
125
+ [dir=rtl] .close {
126
+ left: 12px;
127
+ margin: auto 25px auto 0;
128
128
  }
@@ -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 propTypes = {
13
10
  dataId: _propTypes["default"].string,
14
11
  dataSelectorId: _propTypes["default"].string,
@@ -1,63 +1,42 @@
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 _AlertIconsModule = _interopRequireDefault(require("./AlertIcons.module.css"));
17
-
18
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
-
20
13
  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); }
21
-
22
14
  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; }
23
-
24
15
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
25
-
26
- 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); } }
27
-
16
+ 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); } }
28
17
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
-
18
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
19
+ 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); }
30
20
  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); }
31
-
32
21
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
-
34
22
  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); }; }
35
-
36
23
  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); }
37
-
38
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39
-
40
25
  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; } }
41
-
42
26
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
43
-
44
27
  var AlarmAlertIcon = /*#__PURE__*/function (_Component) {
45
28
  _inherits(AlarmAlertIcon, _Component);
46
-
47
29
  var _super = _createSuper(AlarmAlertIcon);
48
-
49
30
  function AlarmAlertIcon() {
50
31
  _classCallCheck(this, AlarmAlertIcon);
51
-
52
32
  return _super.apply(this, arguments);
53
33
  }
54
-
55
34
  _createClass(AlarmAlertIcon, [{
56
35
  key: "render",
57
36
  value: function render() {
58
37
  var _this$props = this.props,
59
- variant = _this$props.variant,
60
- type = _this$props.type;
38
+ variant = _this$props.variant,
39
+ type = _this$props.type;
61
40
  return /*#__PURE__*/_react["default"].createElement("svg", {
62
41
  xmlns: "http://www.w3.org/2000/svg",
63
42
  viewBox: "0 0 100 100",
@@ -113,10 +92,8 @@ var AlarmAlertIcon = /*#__PURE__*/function (_Component) {
113
92
  }));
114
93
  }
115
94
  }]);
116
-
117
95
  return AlarmAlertIcon;
118
96
  }(_react.Component);
119
-
120
97
  exports["default"] = AlarmAlertIcon;
121
98
  AlarmAlertIcon.propTypes = _propTypes.AlarmAlertIcon_propTypes;
122
99
  AlarmAlertIcon.defaultProps = _defaultProps.AlarmAlertIcon_defaultProps;
@@ -1,58 +1,35 @@
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 _DangerAlertIcon = _interopRequireDefault(require("./DangerAlertIcon"));
17
-
18
12
  var _SuccessAlertIcon = _interopRequireDefault(require("./SuccessAlertIcon"));
19
-
20
13
  var _WarningAlertIcon = _interopRequireDefault(require("./WarningAlertIcon"));
21
-
22
14
  var _InfoAlertIcon = _interopRequireDefault(require("./InfoAlertIcon"));
23
-
24
15
  var _NotificationAlertIcon = _interopRequireDefault(require("./NotificationAlertIcon"));
25
-
26
16
  var _AlarmAlertIcon = _interopRequireDefault(require("./AlarmAlertIcon"));
27
-
28
17
  var _AlertIconsModule = _interopRequireDefault(require("./AlertIcons.module.css"));
29
-
30
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
31
-
32
19
  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); }
33
-
34
20
  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; }
35
-
36
21
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
37
-
38
- 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); } }
39
-
22
+ 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); } }
40
23
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
41
-
24
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
25
+ 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); }
42
26
  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); }
43
-
44
27
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
45
-
46
28
  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); }; }
47
-
48
29
  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); }
49
-
50
30
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
51
-
52
31
  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; } }
53
-
54
32
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
55
-
56
33
  var alertIconsObject = {
57
34
  success: {
58
35
  AlertIcon: _SuccessAlertIcon["default"]
@@ -76,30 +53,23 @@ var alertIconsObject = {
76
53
  AlertIcon: _AlarmAlertIcon["default"]
77
54
  }
78
55
  };
79
-
80
56
  var AlertIcons = /*#__PURE__*/function (_Component) {
81
57
  _inherits(AlertIcons, _Component);
82
-
83
58
  var _super = _createSuper(AlertIcons);
84
-
85
59
  function AlertIcons() {
86
60
  _classCallCheck(this, AlertIcons);
87
-
88
61
  return _super.apply(this, arguments);
89
62
  }
90
-
91
63
  _createClass(AlertIcons, [{
92
64
  key: "render",
93
65
  value: function render() {
94
66
  var _this$props = this.props,
95
- type = _this$props.type,
96
- variant = _this$props.variant,
97
- dataSelectorId = _this$props.dataSelectorId;
98
-
67
+ type = _this$props.type,
68
+ variant = _this$props.variant,
69
+ dataSelectorId = _this$props.dataSelectorId;
99
70
  var _ref = alertIconsObject[type] || {},
100
- _ref$AlertIcon = _ref.AlertIcon,
101
- AlertIcon = _ref$AlertIcon === void 0 ? _DangerAlertIcon["default"] : _ref$AlertIcon;
102
-
71
+ _ref$AlertIcon = _ref.AlertIcon,
72
+ AlertIcon = _ref$AlertIcon === void 0 ? _DangerAlertIcon["default"] : _ref$AlertIcon;
103
73
  return /*#__PURE__*/_react["default"].createElement("div", {
104
74
  className: _AlertIconsModule["default"].iconContainer,
105
75
  "data-selector-id": dataSelectorId
@@ -109,13 +79,13 @@ var AlertIcons = /*#__PURE__*/function (_Component) {
109
79
  }));
110
80
  }
111
81
  }]);
112
-
113
82
  return AlertIcons;
114
83
  }(_react.Component);
115
-
116
84
  exports["default"] = AlertIcons;
117
85
  AlertIcons.propTypes = _propTypes.AlertIcons_propTypes;
118
- AlertIcons.defaultProps = _defaultProps.AlertIcons_defaultProps; // if (__DOCS__) {
86
+ AlertIcons.defaultProps = _defaultProps.AlertIcons_defaultProps;
87
+
88
+ // if (__DOCS__) {
119
89
  // AlertIcons.docs = {
120
90
  // componentGroup: 'AlertIcons',
121
91
  // folderName: 'Alert'
@@ -1,67 +1,67 @@
1
- .varClass {
2
- /* alert icon default variable */
3
- --alerticons_fill: var(--zdt_commonalert_default_icon);
4
- }
5
-
6
- .iconContainer {
7
- composes: varClass;
8
- width: 100% ;
9
- height: 100% ;
10
- }
11
- /* Common */
12
- .outer_cls2 {
13
- fill: var(--zdt_alerticons_green_fill);
14
- }
15
-
16
- .outer_cls3 {
17
- fill: var(--zdt_alerticons_primary_fill);
18
- }
19
-
20
- .outer_cls4 {
21
- fill: var(--zdt_alerticons_orange_fill);
22
- }
23
-
24
- .outer_cls5 {
25
- fill: var(--alerticons_fill);
26
- opacity: 0.2;
27
- }
28
-
29
- .outer_cls6 {
30
- fill: var(--alerticons_fill);
31
- }
32
- .danger {
33
- --alerticons_fill: var(--zdt_commonalert_danger_icon);
34
- }
35
- .success {
36
- --alerticons_fill: var(--zdt_commonalert_success_icon);
37
- }
38
- .error {
39
- --alerticons_fill: var(--zdt_commonalert_error_icon);
40
- }
41
- .info,.notification,.alarm {
42
- --alerticons_fill: var(--zdt_commonalert_info_icon);
43
- }
44
- .warning {
45
- --alerticons_fill: var(--zdt_commonalert_warning_icon);
46
- }
47
- .danger_primary,
48
- .info_primary,
49
- .warning_primary,
50
- .success_primary,
51
- .error_primary,
52
- .notify_primary,
53
- .alarm_primary {
54
- fill: var(--zdt_commonalert_secondlayer_bg);
55
- }
56
-
57
- .danger_secondary,
58
- .info_secondary,
59
- .warning_secondary,
60
- .success_secondary,
61
- .error_secondary,
62
- .notify_secondary,
63
- .alarm_secondary {
64
- fill: var(--alerticons_fill);
65
- opacity: 0.1;
66
- }
67
-
1
+ .varClass {
2
+ /* alert icon default variable */
3
+ --alerticons_fill: var(--zdt_commonalert_default_icon);
4
+ }
5
+
6
+ .iconContainer {
7
+ composes: varClass;
8
+ width: 100%;
9
+ height: 100%;
10
+ }
11
+ /* Common */
12
+ .outer_cls2 {
13
+ fill: var(--zdt_alerticons_green_fill);
14
+ }
15
+
16
+ .outer_cls3 {
17
+ fill: var(--zdt_alerticons_primary_fill);
18
+ }
19
+
20
+ .outer_cls4 {
21
+ fill: var(--zdt_alerticons_orange_fill);
22
+ }
23
+
24
+ .outer_cls5 {
25
+ fill: var(--alerticons_fill);
26
+ opacity: 0.2;
27
+ }
28
+
29
+ .outer_cls6 {
30
+ fill: var(--alerticons_fill);
31
+ }
32
+ .danger {
33
+ --alerticons_fill: var(--zdt_commonalert_danger_icon);
34
+ }
35
+ .success {
36
+ --alerticons_fill: var(--zdt_commonalert_success_icon);
37
+ }
38
+ .error {
39
+ --alerticons_fill: var(--zdt_commonalert_error_icon);
40
+ }
41
+ .info,.notification,.alarm {
42
+ --alerticons_fill: var(--zdt_commonalert_info_icon);
43
+ }
44
+ .warning {
45
+ --alerticons_fill: var(--zdt_commonalert_warning_icon);
46
+ }
47
+ .danger_primary,
48
+ .info_primary,
49
+ .warning_primary,
50
+ .success_primary,
51
+ .error_primary,
52
+ .notify_primary,
53
+ .alarm_primary {
54
+ fill: var(--zdt_commonalert_secondlayer_bg);
55
+ }
56
+
57
+ .danger_secondary,
58
+ .info_secondary,
59
+ .warning_secondary,
60
+ .success_secondary,
61
+ .error_secondary,
62
+ .notify_secondary,
63
+ .alarm_secondary {
64
+ fill: var(--alerticons_fill);
65
+ opacity: 0.1;
66
+ }
67
+