@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,22 +1,22 @@
1
- .varClass {
2
- --iconColor: var(--zdt_iconButton_icon_black);
3
- }
4
- .wrapper {
5
- height: var(--zd_size28) ;
6
- width: var(--zd_size28) ;
7
- composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
- composes: varClass;
9
- color: var(--iconColor);
10
- cursor: pointer;
11
- }
12
- .primary {
13
- --iconColor: var(--zdt_iconButton_icon_primary);
14
- }
15
- .primary:hover {
16
- --iconColor: var(--zdt_iconButton_icon_primaryHover);
17
- }
18
- .primary_active,
19
- .primaryFilled,
20
- .primaryFilled_active {
21
- --iconColor: var(--zdt_iconButton_icon_primaryActive);
22
- }
1
+ .varClass {
2
+ --iconColor: var(--zdt_iconButton_icon_black);
3
+ }
4
+ .wrapper {
5
+ height: 28px;
6
+ width: 28px;
7
+ composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
+ composes: varClass;
9
+ color: var(--iconColor);
10
+ cursor: pointer;
11
+ }
12
+ .primary {
13
+ --iconColor: var(--zdt_iconButton_icon_primary);
14
+ }
15
+ .primary:hover {
16
+ --iconColor: var(--zdt_iconButton_icon_primaryHover);
17
+ }
18
+ .primary_active,
19
+ .primaryFilled,
20
+ .primaryFilled_active {
21
+ --iconColor: var(--zdt_iconButton_icon_primaryActive);
22
+ }
@@ -4,15 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.propTypes = void 0;
7
-
8
7
  var _propTypes2 = _interopRequireDefault(require("prop-types"));
9
-
10
8
  var _propTypes;
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
-
10
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
13
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
16
14
  var propTypes = (_propTypes = {
17
15
  children: _propTypes2["default"].node,
18
16
  className: _propTypes2["default"].string,
@@ -1,67 +1,48 @@
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 _defaultProps = require("./props/defaultProps");
13
-
14
10
  var _propTypes = require("./props/propTypes");
15
-
16
11
  var _ImageModule = _interopRequireDefault(require("./Image.module.css"));
17
-
18
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
-
20
13
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
21
-
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, descriptor.key, descriptor); } }
23
-
14
+ 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); } }
24
15
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
-
16
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
+ 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); }
26
18
  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); }
27
-
28
19
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
-
30
20
  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); }; }
31
-
32
21
  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); }
33
-
34
22
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
35
-
36
23
  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; } }
37
-
38
24
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
-
40
25
  var Image = /*#__PURE__*/function (_React$Component) {
41
26
  _inherits(Image, _React$Component);
42
-
43
27
  var _super = _createSuper(Image);
44
-
45
28
  function Image() {
46
29
  _classCallCheck(this, Image);
47
-
48
30
  return _super.apply(this, arguments);
49
31
  }
50
-
51
32
  _createClass(Image, [{
52
33
  key: "render",
53
34
  value: function render() {
54
35
  var _this$props = this.props,
55
- alt = _this$props.alt,
56
- src = _this$props.src,
57
- className = _this$props.className,
58
- isCover = _this$props.isCover,
59
- title = _this$props.title,
60
- onClick = _this$props.onClick,
61
- dataId = _this$props.dataId,
62
- htmlId = _this$props.htmlId,
63
- eleRef = _this$props.eleRef,
64
- original = _this$props.original;
36
+ alt = _this$props.alt,
37
+ src = _this$props.src,
38
+ className = _this$props.className,
39
+ isCover = _this$props.isCover,
40
+ title = _this$props.title,
41
+ onClick = _this$props.onClick,
42
+ dataId = _this$props.dataId,
43
+ htmlId = _this$props.htmlId,
44
+ eleRef = _this$props.eleRef,
45
+ original = _this$props.original;
65
46
  return /*#__PURE__*/_react["default"].createElement("img", {
66
47
  src: src,
67
48
  alt: alt,
@@ -76,13 +57,12 @@ var Image = /*#__PURE__*/function (_React$Component) {
76
57
  });
77
58
  }
78
59
  }]);
79
-
80
60
  return Image;
81
61
  }(_react["default"].Component);
82
-
83
62
  exports["default"] = Image;
84
63
  Image.propTypes = _propTypes.propTypes;
85
- Image.defaultProps = _defaultProps.defaultProps; // if (__DOCS__) {
64
+ Image.defaultProps = _defaultProps.defaultProps;
65
+ // if (__DOCS__) {
86
66
  // Image.docs = {
87
67
  // componentGroup: 'Atom'
88
68
  // };
@@ -1,12 +1,12 @@
1
- .imgFullSize{
2
- height:100% ;
3
- width:100%
4
- }
5
- .imgMaxFullSize{
6
- max-height:100% ;
7
- max-width:100%
8
- }
9
- .imgFullSize, .imgMaxFullSize{
10
- /* Variable:Ignore */
11
- font-size: 12px
1
+ .imgFullSize{
2
+ height:100%;
3
+ width:100%
4
+ }
5
+ .imgMaxFullSize{
6
+ max-height:100%;
7
+ max-width:100%
8
+ }
9
+ .imgFullSize, .imgMaxFullSize{
10
+ /* Variable:Ignore */
11
+ font-size: 12px
12
12
  }
@@ -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
  alt: _propTypes["default"].string.isRequired,
14
11
  className: _propTypes["default"].string,
@@ -1,68 +1,47 @@
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 _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 _icons = require("@zohodesk/icons");
19
-
20
13
  var _ImportantNotesModule = _interopRequireDefault(require("./ImportantNotes.module.css"));
21
-
22
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
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 ImportantNotes = /*#__PURE__*/function (_React$Component) {
45
28
  _inherits(ImportantNotes, _React$Component);
46
-
47
29
  var _super = _createSuper(ImportantNotes);
48
-
49
30
  function ImportantNotes(props) {
50
31
  _classCallCheck(this, ImportantNotes);
51
-
52
32
  return _super.call(this, props);
53
33
  }
54
-
55
34
  _createClass(ImportantNotes, [{
56
35
  key: "render",
57
36
  value: function render() {
58
37
  var _this$props = this.props,
59
- text = _this$props.text,
60
- iconName = _this$props.iconName,
61
- iconSize = _this$props.iconSize,
62
- children = _this$props.children,
63
- iconClass = _this$props.iconClass,
64
- isCover = _this$props.isCover,
65
- className = _this$props.className;
38
+ text = _this$props.text,
39
+ iconName = _this$props.iconName,
40
+ iconSize = _this$props.iconSize,
41
+ children = _this$props.children,
42
+ iconClass = _this$props.iconClass,
43
+ isCover = _this$props.isCover,
44
+ className = _this$props.className;
66
45
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
67
46
  isInline: !isCover,
68
47
  isCover: false,
@@ -82,13 +61,13 @@ var ImportantNotes = /*#__PURE__*/function (_React$Component) {
82
61
  }, text, children ? children : null) : null);
83
62
  }
84
63
  }]);
85
-
86
64
  return ImportantNotes;
87
65
  }(_react["default"].Component);
88
-
89
66
  exports["default"] = ImportantNotes;
90
67
  ImportantNotes.propTypes = _propTypes.propTypes;
91
- ImportantNotes.defaultProps = _defaultProps.defaultProps; // if (__DOCS__) {
68
+ ImportantNotes.defaultProps = _defaultProps.defaultProps;
69
+
70
+ // if (__DOCS__) {
92
71
  // ImportantNotes.docs = {
93
72
  // componentGroup: 'Common',
94
73
  // folderName: 'General'
@@ -1,20 +1,20 @@
1
- .section {
2
- background: var(--zdt_importantnotes_bg);
3
- padding: var(--zd_size5) var(--zd_size10) ;
4
- }
5
- .title {
6
- font-size: var(--zd_font_size13) ;
7
- line-height: var(--zd_font_size18);
8
- color: var(--zdt_importantnotes_title_text);
9
- }
10
- .icon {
11
- color: var(--zdt_importantnotes_icon);
12
- font-size: 0 ;
13
- margin-top: var(--zd_size1) ;
14
- }
15
- [dir=ltr] .icon {
16
- margin-right: var(--zd_size5) ;
17
- }
18
- [dir=rtl] .icon {
19
- margin-left: var(--zd_size5) ;
20
- }
1
+ .section {
2
+ background: var(--zdt_importantnotes_bg);
3
+ padding: 5px 10px;
4
+ }
5
+ .title {
6
+ font-size: 13px;
7
+ line-height: var(--zd_font_size18);
8
+ color: var(--zdt_importantnotes_title_text);
9
+ }
10
+ .icon {
11
+ color: var(--zdt_importantnotes_icon);
12
+ font-size: 0;
13
+ margin-top: 1px;
14
+ }
15
+ [dir=ltr] .icon {
16
+ margin-right: 5px;
17
+ }
18
+ [dir=rtl] .icon {
19
+ margin-left: 5px;
20
+ }
@@ -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
  children: _propTypes["default"].node,
14
11
  iconClass: _propTypes["default"].string,
package/lib/Link/Link.js CHANGED
@@ -1,83 +1,56 @@
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 _defaultProps = require("./props/defaultProps");
13
-
14
10
  var _propTypes = require("./props/propTypes");
15
-
16
11
  var _Common = require("@zohodesk/components/es/utils/Common");
17
-
18
12
  var _LinkModule = _interopRequireDefault(require("./Link.module.css"));
19
-
20
13
  var _LinkContext = _interopRequireDefault(require("./LinkContext"));
21
-
22
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
-
24
15
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
-
26
16
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27
-
28
- 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); } }
29
-
17
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
30
18
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
31
-
19
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
32
21
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
-
34
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
-
36
23
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
37
-
38
24
  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); }
39
-
40
25
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41
-
42
26
  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; } }
43
-
44
27
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
45
-
46
28
  var Link = /*#__PURE__*/function (_React$Component) {
47
29
  _inherits(Link, _React$Component);
48
-
49
30
  var _super = _createSuper(Link);
50
-
51
31
  function Link(props, context) {
52
32
  var _this;
53
-
54
33
  _classCallCheck(this, Link);
55
-
56
34
  _this = _super.call(this, props, context);
57
35
  _this.onCallBack = _this.onCallBack.bind(_assertThisInitialized(_this));
58
36
  return _this;
59
37
  }
60
-
61
38
  _createClass(Link, [{
62
39
  key: "onCallBack",
63
40
  value: function onCallBack(urlOutput, href, e) {
64
41
  var _this$props = this.props,
65
- onClick = _this$props.onClick,
66
- hasReload = _this$props.hasReload,
67
- target = _this$props.target;
42
+ onClick = _this$props.onClick,
43
+ hasReload = _this$props.hasReload,
44
+ target = _this$props.target;
68
45
  var onCallBack = this.context.options.onCallBack;
69
-
70
46
  if (e && (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)) {
71
47
  (0, _Common.cancelBubblingEffect)(e);
72
48
  return;
73
49
  }
74
-
75
50
  onClick && onClick(e);
76
-
77
51
  if (!hasReload && target != '_blank') {
78
52
  e && e.preventDefault();
79
53
  }
80
-
81
54
  (0, _Common.cancelBubblingEffect)(e);
82
55
  !onClick && onCallBack && onCallBack(urlOutput, href, e);
83
56
  }
@@ -89,46 +62,42 @@ var Link = /*#__PURE__*/function (_React$Component) {
89
62
  url = 'http://' + url;
90
63
  }
91
64
  /* eslint-enable */
92
-
93
-
94
65
  return url;
95
66
  }
96
67
  }, {
97
68
  key: "render",
98
69
  value: function render() {
99
70
  var _this2 = this;
100
-
101
71
  var _this$props2 = this.props,
102
- children = _this$props2.children,
103
- href = _this$props2.href,
104
- target = _this$props2.target,
105
- urlData = _this$props2.urlData,
106
- urlName = _this$props2.urlName,
107
- className = _this$props2.className,
108
- title = _this$props2.title,
109
- download = _this$props2.download,
110
- rel = _this$props2.rel,
111
- dataId = _this$props2.dataId,
112
- customProps = _this$props2.customProps,
113
- ariaLabel = _this$props2.ariaLabel;
72
+ children = _this$props2.children,
73
+ href = _this$props2.href,
74
+ target = _this$props2.target,
75
+ urlData = _this$props2.urlData,
76
+ urlName = _this$props2.urlName,
77
+ className = _this$props2.className,
78
+ title = _this$props2.title,
79
+ download = _this$props2.download,
80
+ rel = _this$props2.rel,
81
+ dataId = _this$props2.dataId,
82
+ customProps = _this$props2.customProps,
83
+ ariaLabel = _this$props2.ariaLabel;
114
84
  var _this$context$options = this.context.options,
115
- isLink = _this$context$options.isLink,
116
- constructURL = _this$context$options.constructURL;
85
+ isLink = _this$context$options.isLink,
86
+ constructURL = _this$context$options.constructURL;
117
87
  var urlOutput = href ? href : constructURL(urlName, urlData);
118
88
  var option = {};
119
-
120
89
  if (download) {
121
90
  option.download = true;
122
91
  }
123
-
124
92
  var ignoreKeys = ['children', 'href', 'target', 'urlData', 'urlName', 'className', 'title', 'download', 'rel', 'dataId', 'hasReload', 'customProps', 'option', 'ariaLabel'];
125
93
  var others = Object.keys(this.props).filter(function (key) {
126
94
  return ignoreKeys.indexOf(key) == -1;
127
95
  }).reduce(function (res, key) {
128
96
  res[key] = _this2.props[key];
129
97
  return res;
130
- }, {}); //urlOutput = this.addHttp(urlOutput);
98
+ }, {});
131
99
 
100
+ //urlOutput = this.addHttp(urlOutput);
132
101
  return /*#__PURE__*/_react["default"].createElement("a", _extends({
133
102
  href: isLink && urlOutput ? urlOutput : 'javascript:void(0);',
134
103
  target: target,
@@ -145,14 +114,14 @@ var Link = /*#__PURE__*/function (_React$Component) {
145
114
  }), children);
146
115
  }
147
116
  }]);
148
-
149
117
  return Link;
150
118
  }(_react["default"].Component);
151
-
152
119
  exports["default"] = Link;
153
120
  Link.contextType = _LinkContext["default"];
154
121
  Link.defaultProps = _defaultProps.defaultProps;
155
- Link.propTypes = _propTypes.propTypes; // if (__DOCS__) {
122
+ Link.propTypes = _propTypes.propTypes;
123
+
124
+ // if (__DOCS__) {
156
125
  // Link.docs = {
157
126
  // componentGroup: 'Atom'
158
127
  // };
@@ -1,4 +1,4 @@
1
- .container {
2
- text-decoration: none;
3
- color: inherit;
1
+ .container {
2
+ text-decoration: none;
3
+ color: inherit;
4
4
  }
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
9
  var LinkContext = /*#__PURE__*/_react["default"].createContext({
13
10
  options: {
14
11
  onCallBack: null,
@@ -18,6 +15,5 @@ var LinkContext = /*#__PURE__*/_react["default"].createContext({
18
15
  }
19
16
  }
20
17
  });
21
-
22
18
  var _default = LinkContext;
23
19
  exports["default"] = _default;
@@ -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
  children: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].element]),
14
11
  className: _propTypes["default"].string,
@@ -1,55 +1,36 @@
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 _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider");
13
-
14
10
  var _LoaderModule = _interopRequireDefault(require("./Loader.module.css"));
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
18
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
-
20
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
21
-
13
+ 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); } }
22
14
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
23
-
15
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
+ 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); }
24
17
  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); }
25
-
26
18
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
-
28
19
  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); }; }
29
-
30
20
  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); }
31
-
32
21
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
33
-
34
22
  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; } }
35
-
36
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
37
-
38
24
  var Loader = /*#__PURE__*/function (_React$Component) {
39
25
  _inherits(Loader, _React$Component);
40
-
41
26
  var _super = _createSuper(Loader);
42
-
43
27
  function Loader(props) {
44
28
  var _this;
45
-
46
29
  _classCallCheck(this, Loader);
47
-
48
30
  _this = _super.call(this, props);
49
31
  _this.getNextIndex = (0, _ZindexProvider.getZIndex)(_assertThisInitialized(_this));
50
32
  return _this;
51
33
  }
52
-
53
34
  _createClass(Loader, [{
54
35
  key: "render",
55
36
  value: function render() {
@@ -63,13 +44,10 @@ var Loader = /*#__PURE__*/function (_React$Component) {
63
44
  }));
64
45
  }
65
46
  }]);
66
-
67
47
  return Loader;
68
48
  }(_react["default"].Component); // if (__DOCS__) {
69
49
  // Loader.docs = {
70
50
  // componentGroup: 'Atom'
71
51
  // };
72
52
  // }
73
-
74
-
75
53
  exports["default"] = Loader;