@zohodesk/dot 1.0.0-temp-132 → 1.0.0-temp-134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (558) hide show
  1. package/README.md +1218 -1202
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +299 -304
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +9 -9
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +9 -9
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +9 -9
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +9 -9
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +294 -299
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +9 -9
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +9 -9
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +9 -9
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +9 -9
  14. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +302 -307
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +9 -9
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +9 -9
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +9 -9
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +9 -9
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +9 -9
  20. package/dubFinder.js +96 -96
  21. package/es/ActionButton/ActionButton.js +4 -4
  22. package/es/ActionButton/ActionButton.module.css +139 -139
  23. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  24. package/es/Attachment/Attachment.js +1 -1
  25. package/es/Attachment/Attachment.module.css +157 -157
  26. package/es/AttachmentViewer/AttachmentViewer.js +1 -1
  27. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -353
  28. package/es/ChannelIcon/ChannelIcon.js +1 -1
  29. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  30. package/es/Drawer/Drawer.js +1 -1
  31. package/es/Drawer/Drawer.module.css +150 -189
  32. package/es/Drawer/index.js +1 -0
  33. package/es/ExternalLink/ExternalLink.js +0 -0
  34. package/es/ExternalLink/ExternalLink.module.css +3 -3
  35. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  36. package/es/FlipCard/FlipCard.module.css +44 -44
  37. package/es/FormAction/FormAction.module.css +82 -82
  38. package/es/FreezeLayer/FreezeLayer.js +61 -114
  39. package/es/FreezeLayer/{FreezeLayer.module.css → css/FreezeLayer.module.css} +42 -42
  40. package/es/FreezeLayer/css/cssJSLogic.js +23 -0
  41. package/es/FreezeLayer/index.js +2 -0
  42. package/es/FreezeLayer/props/defaultProps.js +1 -0
  43. package/es/FreezeLayer/props/propTypes.js +1 -0
  44. package/es/FreezeLayer/useFreezeLayer.js +50 -0
  45. package/es/IconButton/IconButton.js +1 -1
  46. package/es/IconButton/IconButton.module.css +22 -22
  47. package/es/Image/Image.module.css +10 -10
  48. package/es/ImportantNotes/ImportantNotes.js +1 -1
  49. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  50. package/es/Link/Link.js +0 -0
  51. package/es/Link/Link.module.css +3 -3
  52. package/es/Loader/Loader.module.css +46 -46
  53. package/es/Message/Message.js +1 -1
  54. package/es/Message/Message.module.css +102 -102
  55. package/es/MessageBanner/MessageBanner.js +1 -1
  56. package/es/MessageBanner/MessageBanner.module.css +46 -46
  57. package/es/NewStar/NewStar.js +1 -1
  58. package/es/NewStar/NewStar.module.css +175 -175
  59. package/es/PlusIcon/PlusIcon.js +0 -0
  60. package/es/PlusIcon/PlusIcon.module.css +16 -19
  61. package/es/Separator/Separator.module.css +34 -34
  62. package/es/ToastMessage/ToastMessage.js +1 -1
  63. package/es/ToastMessage/ToastMessage.module.css +328 -329
  64. package/es/Upload/Upload.js +1 -1
  65. package/es/Upload/Upload.module.css +125 -125
  66. package/es/alert/AlertHeader/AlertHeader.js +1 -1
  67. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  68. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  69. package/es/alert/index.js +2 -0
  70. package/es/avatar/AvatarClose/AvatarClose.js +1 -1
  71. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  72. package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
  73. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  74. package/es/avatar/AvatarIcon/AvatarIcon.js +1 -1
  75. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  76. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  77. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  78. package/es/avatar/AvatarThread/AvatarThread.js +1 -1
  79. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  80. package/es/avatar/AvatarUser/AvatarUser.js +1 -1
  81. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  82. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  83. package/es/avatar/index.js +7 -0
  84. package/es/common/dot_animation.module.css +26 -26
  85. package/es/common/dot_common.module.css +3 -3
  86. package/es/deprecated/FreezeLayer/FreezeLayer.js +128 -0
  87. package/{lib → es/deprecated}/FreezeLayer/FreezeLayer.module.css +42 -42
  88. package/es/deprecated/FreezeLayer/props/defaultProps.js +8 -0
  89. package/es/deprecated/FreezeLayer/props/propTypes.js +17 -0
  90. package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
  91. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  92. package/es/deprecated/utils/KeyboardApi.js +25 -25
  93. package/es/docs/formDocs.js +1 -16
  94. package/es/docs/generalDocs.js +1 -107
  95. package/es/docs/lookupDocs.js +1 -35
  96. package/es/docs/setupDocs.js +1 -15
  97. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +7 -2
  98. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +107 -101
  99. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  100. package/es/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  101. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  102. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  103. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  104. package/es/errorstate/EmptyStates.module.css +87 -87
  105. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  106. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  107. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  108. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  109. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  110. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  111. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  112. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  113. package/es/errorstate/index.js +8 -0
  114. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  115. package/es/form/fields/FieldContainer/FieldContainer.js +1 -1
  116. package/es/form/fields/Fields.module.css +183 -183
  117. package/es/form/fields/PhoneField/PhoneField.js +1 -1
  118. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  119. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  120. package/es/form/fields/TextEditor/TextEditor.module.css +666 -764
  121. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  122. package/es/form/fields/ValidationMessage/ValidationMessage.js +1 -1
  123. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  124. package/es/form/fields/index.js +16 -0
  125. package/es/form/layout/Field/Field.js +0 -0
  126. package/es/form/layout/Field/Field.module.css +22 -22
  127. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  128. package/es/form/layout/Section/Section.js +0 -0
  129. package/es/form/layout/index.js +2 -0
  130. package/es/index.js +51 -7
  131. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
  132. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  133. package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -165
  134. package/es/list/AvatarFlip/AvatarFlip.js +4 -2
  135. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  136. package/es/list/AvatarFlip/props/defaultProps.js +2 -1
  137. package/es/list/AvatarFlip/props/propTypes.js +2 -1
  138. package/es/list/BluePrintStatus/BluePrintStatus.js +1 -1
  139. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  140. package/es/list/Comment/Comment.js +1 -1
  141. package/es/list/Comment/Comment.module.css +29 -29
  142. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  143. package/es/list/Dot/Dot.module.css +15 -15
  144. package/es/list/DotNew/DotNew.module.css +22 -25
  145. package/es/list/GridStencils/GridStencils.module.css +146 -146
  146. package/es/list/Icons/AddNewIcon.js +1 -1
  147. package/es/list/Icons/CompleteIcon.js +1 -1
  148. package/es/list/Icons/DeleteIcon.js +1 -1
  149. package/es/list/Icons/EditIcon.js +1 -1
  150. package/es/list/Icons/Icons.module.css +16 -16
  151. package/es/list/Icons/ReadUnreadIcon.js +1 -1
  152. package/es/list/Icons/SmartIcon.js +1 -1
  153. package/es/list/Icons/index.js +7 -0
  154. package/es/list/ListLayout/ListLayout.module.css +57 -57
  155. package/es/list/ListStencils/ListStencils.module.css +67 -67
  156. package/es/list/SecondaryText/ContactName.js +1 -1
  157. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  158. package/es/list/SecondaryText/Website.js +0 -0
  159. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  160. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  161. package/es/list/SentimentStatus/SentimentStatus.js +1 -1
  162. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  163. package/es/list/Subject/Subject.module.css +27 -27
  164. package/es/list/TagNew/TagNew.module.css +115 -117
  165. package/es/list/Thread/Thread.js +1 -1
  166. package/es/list/Thread/Thread.module.css +42 -42
  167. package/es/list/UserTime/UserTime.js +1 -1
  168. package/es/list/UserTime/UserTime.module.css +58 -58
  169. package/es/list/index.js +17 -0
  170. package/es/list/listCommon.module.css +60 -60
  171. package/es/list/status/StatusDropdown/StatusDropdown.js +4 -2
  172. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  173. package/es/list/status/StatusListItem/StatusListItem.js +4 -3
  174. package/es/list/status/StatusListItem/StatusListItem.module.css +106 -104
  175. package/es/list/status/StatusListItem/props/defaultProps.js +2 -1
  176. package/es/list/status/StatusListItem/props/propTypes.js +1 -0
  177. package/es/list/status/index.js +2 -0
  178. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  179. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  180. package/es/lookup/Lookup/Lookup.js +0 -0
  181. package/es/lookup/Lookup/Lookup.module.css +26 -26
  182. package/es/lookup/Section/LookupSection.module.css +8 -8
  183. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  184. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  185. package/es/lookup/header/Search/Search.js +1 -1
  186. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  187. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  188. package/es/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  189. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  190. package/es/lookup/header/index.js +5 -0
  191. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  192. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  193. package/es/lookup/index.js +5 -0
  194. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  195. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  196. package/es/setup/header/Link/Link.js +1 -1
  197. package/es/setup/header/Search/Search.js +1 -1
  198. package/es/setup/header/Search/Search.module.css +68 -68
  199. package/es/setup/header/Views/Views.js +1 -1
  200. package/es/setup/header/Views/Views.module.css +37 -37
  201. package/es/setup/header/index.js +4 -0
  202. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  203. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  204. package/es/setup/helptips/Link/Link.js +0 -0
  205. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  206. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  207. package/es/setup/helptips/Title/Title.js +0 -0
  208. package/es/setup/helptips/index.js +4 -0
  209. package/es/setup/index.js +6 -0
  210. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  211. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  212. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  213. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  214. package/es/setup/table/Text/TableText.module.css +37 -37
  215. package/es/setup/table/Text/Text.js +0 -0
  216. package/es/setup/table/index.js +5 -0
  217. package/es/svg/PlusIcon.js +1 -1
  218. package/es/svg/SnippetIcon.js +2 -2
  219. package/es/svg/index.js +3 -0
  220. package/es/version2/AlertClose/AlertClose.js +1 -1
  221. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  222. package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -127
  223. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  224. package/es/version2/alertIcons/index.js +8 -0
  225. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  226. package/es/version2/errorstate/index.js +6 -0
  227. package/es/version2/index.js +12 -0
  228. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  229. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  230. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  231. package/es/version2/lookup/index.js +2 -0
  232. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
  233. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  234. package/es/version2/notification/index.js +3 -0
  235. package/install.md +12 -12
  236. package/lib/ActionButton/ActionButton.js +9 -7
  237. package/lib/ActionButton/ActionButton.module.css +139 -139
  238. package/lib/AlphabeticList/AlphabeticList.js +3 -1
  239. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  240. package/lib/AlphabeticList/props/propTypes.js +1 -1
  241. package/lib/Attachment/Attachment.js +6 -4
  242. package/lib/Attachment/Attachment.module.css +157 -157
  243. package/lib/AttachmentViewer/AttachmentImage.js +3 -1
  244. package/lib/AttachmentViewer/AttachmentViewer.js +7 -5
  245. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -353
  246. package/lib/AttachmentViewer/utils.js +4 -1
  247. package/lib/ChannelIcon/ChannelIcon.js +6 -4
  248. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  249. package/lib/Drawer/Drawer.js +5 -3
  250. package/lib/Drawer/Drawer.module.css +150 -189
  251. package/lib/Drawer/index.js +33 -0
  252. package/lib/ExternalLink/ExternalLink.js +3 -1
  253. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  254. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  255. package/lib/FlipCard/FlipCard.js +3 -1
  256. package/lib/FlipCard/FlipCard.module.css +44 -44
  257. package/lib/FormAction/FormAction.js +3 -1
  258. package/lib/FormAction/FormAction.module.css +82 -82
  259. package/lib/FreezeLayer/FreezeLayer.js +58 -141
  260. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -0
  261. package/lib/FreezeLayer/css/cssJSLogic.js +25 -0
  262. package/lib/FreezeLayer/index.js +20 -0
  263. package/lib/FreezeLayer/props/defaultProps.js +1 -0
  264. package/lib/FreezeLayer/props/propTypes.js +1 -0
  265. package/lib/FreezeLayer/useFreezeLayer.js +73 -0
  266. package/lib/IconButton/IconButton.js +5 -3
  267. package/lib/IconButton/IconButton.module.css +22 -22
  268. package/lib/IconButton/props/propTypes.js +4 -1
  269. package/lib/Image/Image.js +3 -1
  270. package/lib/Image/Image.module.css +10 -10
  271. package/lib/ImportantNotes/ImportantNotes.js +5 -3
  272. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  273. package/lib/Link/Link.js +3 -1
  274. package/lib/Link/Link.module.css +3 -3
  275. package/lib/Loader/Loader.js +3 -1
  276. package/lib/Loader/Loader.module.css +46 -46
  277. package/lib/Message/Message.js +6 -4
  278. package/lib/Message/Message.module.css +102 -102
  279. package/lib/MessageBanner/MessageBanner.js +5 -3
  280. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  281. package/lib/NewStar/NewStar.js +7 -5
  282. package/lib/NewStar/NewStar.module.css +175 -175
  283. package/lib/PlusIcon/PlusIcon.js +3 -1
  284. package/lib/PlusIcon/PlusIcon.module.css +16 -19
  285. package/lib/Separator/Separator.js +3 -1
  286. package/lib/Separator/Separator.module.css +34 -34
  287. package/lib/ToastMessage/ToastMessage.js +7 -7
  288. package/lib/ToastMessage/ToastMessage.module.css +328 -329
  289. package/lib/Upload/Upload.js +6 -4
  290. package/lib/Upload/Upload.module.css +125 -125
  291. package/lib/actions/AutoClose.js +2 -2
  292. package/lib/alert/AlertHeader/AlertHeader.js +5 -3
  293. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  294. package/lib/alert/AlertLookup/AlertLookup.js +3 -1
  295. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  296. package/lib/alert/index.js +20 -0
  297. package/lib/avatar/AvatarClose/AvatarClose.js +5 -3
  298. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  299. package/lib/avatar/AvatarCollision/AvatarCollision.js +5 -3
  300. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  301. package/lib/avatar/AvatarIcon/AvatarIcon.js +5 -3
  302. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  303. package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -1
  304. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  305. package/lib/avatar/AvatarStatus/props/propTypes.js +4 -1
  306. package/lib/avatar/AvatarThread/AvatarThread.js +5 -3
  307. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  308. package/lib/avatar/AvatarUser/AvatarUser.js +10 -7
  309. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  310. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -1
  311. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  312. package/lib/avatar/index.js +55 -0
  313. package/lib/common/dot_animation.module.css +26 -26
  314. package/lib/common/dot_common.module.css +3 -3
  315. package/lib/deprecated/FreezeLayer/FreezeLayer.js +163 -0
  316. package/lib/deprecated/FreezeLayer/FreezeLayer.module.css +42 -0
  317. package/lib/deprecated/FreezeLayer/props/defaultProps.js +15 -0
  318. package/lib/deprecated/FreezeLayer/props/propTypes.js +25 -0
  319. package/lib/deprecated/SelectDropdown/SelectDropdown.js +5 -3
  320. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  321. package/lib/deprecated/utils/KeyboardApi.js +29 -26
  322. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +13 -6
  323. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +107 -101
  324. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  325. package/lib/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  326. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -1
  327. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  328. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  329. package/lib/emptystate/EditionPage/EditionPage.js +3 -1
  330. package/lib/errorstate/EmptyStates.module.css +87 -87
  331. package/lib/errorstate/Inconvenience/Inconvenience.js +3 -1
  332. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  333. package/lib/errorstate/LinkText/LinkText.js +3 -1
  334. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  335. package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -1
  336. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  337. package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -1
  338. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  339. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -1
  340. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  341. package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -1
  342. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  343. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
  344. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  345. package/lib/errorstate/WillBack/WillBack.js +3 -1
  346. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  347. package/lib/errorstate/index.js +62 -0
  348. package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -1
  349. package/lib/form/fields/CheckBoxField/props/defaultProps.js +4 -1
  350. package/lib/form/fields/CheckBoxField/props/propTypes.js +4 -1
  351. package/lib/form/fields/CurrencyField/CurrencyField.js +3 -1
  352. package/lib/form/fields/CurrencyField/props/defaultProps.js +4 -1
  353. package/lib/form/fields/CurrencyField/props/propTypes.js +4 -1
  354. package/lib/form/fields/DateField/DateField.js +3 -1
  355. package/lib/form/fields/DateField/props/defaultProps.js +4 -1
  356. package/lib/form/fields/DateField/props/propTypes.js +4 -1
  357. package/lib/form/fields/FieldContainer/FieldContainer.js +6 -4
  358. package/lib/form/fields/FieldContainer/props/defaultProps.js +4 -1
  359. package/lib/form/fields/FieldContainer/props/propTypes.js +4 -1
  360. package/lib/form/fields/Fields.module.css +183 -183
  361. package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -1
  362. package/lib/form/fields/MultiSelectField/props/defaultProps.js +4 -1
  363. package/lib/form/fields/MultiSelectField/props/propTypes.js +4 -1
  364. package/lib/form/fields/PhoneField/PhoneField.js +5 -3
  365. package/lib/form/fields/RadioField/RadioField.js +3 -1
  366. package/lib/form/fields/SelectField/SelectField.js +3 -1
  367. package/lib/form/fields/SelectField/props/defaultProps.js +4 -1
  368. package/lib/form/fields/SelectField/props/propTypes.js +4 -1
  369. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -1
  370. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  371. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  372. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  373. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +4 -1
  374. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +4 -1
  375. package/lib/form/fields/TextBoxField/TextBoxField.js +3 -1
  376. package/lib/form/fields/TextBoxField/props/defaultProps.js +4 -1
  377. package/lib/form/fields/TextBoxField/props/propTypes.js +4 -1
  378. package/lib/form/fields/TextEditor/TextEditor.js +4 -2
  379. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -764
  380. package/lib/form/fields/TextEditorField/TextEditorField.js +3 -1
  381. package/lib/form/fields/TextEditorField/props/defaultProps.js +4 -1
  382. package/lib/form/fields/TextEditorField/props/propTypes.js +4 -1
  383. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -2
  384. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  385. package/lib/form/fields/TextareaField/TextareaField.js +3 -1
  386. package/lib/form/fields/TextareaField/props/defaultProps.js +4 -1
  387. package/lib/form/fields/TextareaField/props/propTypes.js +4 -1
  388. package/lib/form/fields/ValidationMessage/ValidationMessage.js +5 -3
  389. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  390. package/lib/form/fields/index.js +118 -0
  391. package/lib/form/layout/Field/Field.js +3 -1
  392. package/lib/form/layout/Field/Field.module.css +22 -22
  393. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  394. package/lib/form/layout/Section/Section.js +3 -1
  395. package/lib/form/layout/index.js +20 -0
  396. package/lib/index.js +269 -29
  397. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +9 -7
  398. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  399. package/lib/layout/SubtabLayout/SubtabLayout.js +3 -1
  400. package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -165
  401. package/lib/list/AvatarFlip/AvatarFlip.js +7 -3
  402. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  403. package/lib/list/AvatarFlip/props/defaultProps.js +2 -1
  404. package/lib/list/AvatarFlip/props/propTypes.js +2 -1
  405. package/lib/list/BluePrintStatus/BluePrintStatus.js +5 -3
  406. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  407. package/lib/list/Comment/Comment.js +5 -3
  408. package/lib/list/Comment/Comment.module.css +29 -29
  409. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -1
  410. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  411. package/lib/list/DepartmentDropDown/props/propTypes.js +4 -1
  412. package/lib/list/Dot/Dot.js +3 -1
  413. package/lib/list/Dot/Dot.module.css +15 -15
  414. package/lib/list/DotNew/DotNew.js +3 -1
  415. package/lib/list/DotNew/DotNew.module.css +22 -25
  416. package/lib/list/GridStencils/GridStencils.js +3 -1
  417. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  418. package/lib/list/Icons/AddNewIcon.js +5 -3
  419. package/lib/list/Icons/CompleteIcon.js +5 -3
  420. package/lib/list/Icons/DeleteIcon.js +5 -3
  421. package/lib/list/Icons/EditIcon.js +5 -3
  422. package/lib/list/Icons/FloatingIcons.js +3 -1
  423. package/lib/list/Icons/Icons.module.css +16 -16
  424. package/lib/list/Icons/ReadUnreadIcon.js +5 -3
  425. package/lib/list/Icons/SmartIcon.js +5 -3
  426. package/lib/list/Icons/index.js +55 -0
  427. package/lib/list/ListLayout/ListLayout.js +3 -1
  428. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  429. package/lib/list/ListLayout/props/propTypes.js +4 -1
  430. package/lib/list/ListStencils/ListStencils.js +3 -1
  431. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  432. package/lib/list/SecondaryText/AccountName.js +3 -1
  433. package/lib/list/SecondaryText/ContactName.js +5 -3
  434. package/lib/list/SecondaryText/DepartmentText.js +3 -1
  435. package/lib/list/SecondaryText/Email.js +3 -1
  436. package/lib/list/SecondaryText/HappinessRating.js +3 -1
  437. package/lib/list/SecondaryText/PhoneNumber.js +3 -1
  438. package/lib/list/SecondaryText/PriorityText.js +3 -1
  439. package/lib/list/SecondaryText/SecondaryText.js +3 -1
  440. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  441. package/lib/list/SecondaryText/StatusText.js +3 -1
  442. package/lib/list/SecondaryText/TicketId.js +3 -1
  443. package/lib/list/SecondaryText/Website.js +3 -1
  444. package/lib/list/SecondryPanel/SecondryPanel.js +3 -1
  445. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  446. package/lib/list/SentimentStatus/SentimentStatus.js +5 -3
  447. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  448. package/lib/list/Subject/Subject.js +3 -1
  449. package/lib/list/Subject/Subject.module.css +27 -27
  450. package/lib/list/TagNew/TagNew.js +3 -1
  451. package/lib/list/TagNew/TagNew.module.css +115 -117
  452. package/lib/list/Thread/Thread.js +5 -3
  453. package/lib/list/Thread/Thread.module.css +42 -42
  454. package/lib/list/UserTime/UserTime.js +11 -9
  455. package/lib/list/UserTime/UserTime.module.css +58 -58
  456. package/lib/list/index.js +152 -0
  457. package/lib/list/listCommon.module.css +60 -60
  458. package/lib/list/status/StatusDropdown/StatusDropdown.js +8 -4
  459. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  460. package/lib/list/status/StatusDropdown/props/propTypes.js +4 -1
  461. package/lib/list/status/StatusListItem/StatusListItem.js +8 -5
  462. package/lib/list/status/StatusListItem/StatusListItem.module.css +106 -104
  463. package/lib/list/status/StatusListItem/props/defaultProps.js +2 -1
  464. package/lib/list/status/StatusListItem/props/propTypes.js +1 -0
  465. package/lib/list/status/index.js +20 -0
  466. package/lib/lookup/EmptyPage/EmptyPage.js +3 -1
  467. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  468. package/lib/lookup/Lookup/Lookup.js +5 -2
  469. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  470. package/lib/lookup/Section/LookupSection.module.css +8 -8
  471. package/lib/lookup/Section/Section.js +3 -1
  472. package/lib/lookup/header/Close/Close.js +3 -1
  473. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  474. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +5 -2
  475. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  476. package/lib/lookup/header/Search/Search.js +7 -5
  477. package/lib/lookup/header/TicketHeader/TicketHeader.js +5 -2
  478. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  479. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  480. package/lib/lookup/header/Title/Title.js +3 -1
  481. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +5 -3
  482. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  483. package/lib/lookup/header/index.js +41 -0
  484. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  485. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  486. package/lib/lookup/index.js +33 -0
  487. package/lib/setup/header/Button/Button.js +3 -1
  488. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  489. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  490. package/lib/setup/header/Link/Link.js +5 -3
  491. package/lib/setup/header/Search/Search.js +5 -3
  492. package/lib/setup/header/Search/Search.module.css +68 -68
  493. package/lib/setup/header/Views/Views.js +6 -4
  494. package/lib/setup/header/Views/Views.module.css +37 -37
  495. package/lib/setup/header/index.js +34 -0
  496. package/lib/setup/helptips/Description/Description.js +3 -1
  497. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  498. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  499. package/lib/setup/helptips/Link/Link.js +3 -1
  500. package/lib/setup/helptips/ListGroup/ListGroup.js +3 -1
  501. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  502. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  503. package/lib/setup/helptips/Title/Title.js +3 -1
  504. package/lib/setup/helptips/index.js +34 -0
  505. package/lib/setup/index.js +15 -0
  506. package/lib/setup/table/Table/Table.js +3 -1
  507. package/lib/setup/table/TableBody/TableBody.js +3 -1
  508. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  509. package/lib/setup/table/TableData/TableData.js +3 -1
  510. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  511. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  512. package/lib/setup/table/TableHead/TableHead.js +3 -1
  513. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  514. package/lib/setup/table/TableRow/TableRow.js +3 -1
  515. package/lib/setup/table/Text/TableText.module.css +37 -37
  516. package/lib/setup/table/Text/Text.js +3 -1
  517. package/lib/setup/table/index.js +41 -0
  518. package/lib/svg/PlusIcon.js +4 -2
  519. package/lib/svg/SnippetIcon.js +5 -3
  520. package/lib/svg/TemplateIcon.js +3 -1
  521. package/lib/svg/index.js +27 -0
  522. package/lib/version2/AlertClose/AlertClose.js +5 -3
  523. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  524. package/lib/version2/GlobalNotification/GlobalNotification.js +3 -1
  525. package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -127
  526. package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -1
  527. package/lib/version2/alertIcons/AlertIcons.js +3 -1
  528. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  529. package/lib/version2/alertIcons/DangerAlertIcon.js +3 -1
  530. package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -1
  531. package/lib/version2/alertIcons/InfoAlertIcon.js +3 -1
  532. package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -1
  533. package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -1
  534. package/lib/version2/alertIcons/WarningAlertIcon.js +3 -1
  535. package/lib/version2/alertIcons/index.js +62 -0
  536. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -1
  537. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -1
  538. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -1
  539. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
  540. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -1
  541. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  542. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -1
  543. package/lib/version2/errorstate/index.js +48 -0
  544. package/lib/version2/index.js +44 -0
  545. package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -1
  546. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  547. package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -1
  548. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  549. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  550. package/lib/version2/lookup/index.js +20 -0
  551. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
  552. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -1
  553. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  554. package/lib/version2/notification/index.js +29 -0
  555. package/package.json +104 -104
  556. package/css_error.log +0 -1
  557. package/es/common/dot_boxShadow.module.css +0 -77
  558. package/lib/common/dot_boxShadow.module.css +0 -77
@@ -7,7 +7,10 @@ exports.propTypes = void 0;
7
7
  var _propTypes2 = _interopRequireDefault(require("prop-types"));
8
8
  var _propTypes;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
13
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
14
  var propTypes = (_propTypes = {
12
15
  children: _propTypes2["default"].node,
13
16
  className: _propTypes2["default"].string,
@@ -11,8 +11,10 @@ var _propTypes = require("./props/propTypes");
11
11
  var _ImageModule = _interopRequireDefault(require("./Image.module.css"));
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
13
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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, descriptor.key, descriptor); } }
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); } }
15
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; }
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); }
16
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); }
17
19
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
18
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); }; }
@@ -1,11 +1,11 @@
1
- .imgFullSize{
2
- height:100%;
3
- width:100%
4
- }
5
- .imgMaxFullSize{
6
- max-height:100%;
7
- max-width:100%
8
- }
9
- .imgFullSize, .imgMaxFullSize{
10
- 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
+ font-size: 12px
11
11
  }
@@ -9,12 +9,14 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _defaultProps = require("./props/defaultProps");
10
10
  var _propTypes = require("./props/propTypes");
11
11
  var _Layout = require("@zohodesk/components/lib/Layout");
12
- var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
12
+ var _icons = require("@zohodesk/icons");
13
13
  var _ImportantNotesModule = _interopRequireDefault(require("./ImportantNotes.module.css"));
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
15
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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, descriptor.key, descriptor); } }
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); } }
17
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; }
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); }
18
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); }
19
21
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
20
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); }; }
@@ -49,7 +51,7 @@ var ImportantNotes = /*#__PURE__*/function (_React$Component) {
49
51
  }, iconName ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
50
52
  className: _ImportantNotesModule["default"].icon,
51
53
  align: "start"
52
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
54
+ }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
53
55
  name: iconName,
54
56
  size: iconSize,
55
57
  iconClass: iconClass
@@ -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: 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
+ }
package/lib/Link/Link.js CHANGED
@@ -13,8 +13,10 @@ var _LinkContext = _interopRequireDefault(require("./LinkContext"));
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
14
  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); }
15
15
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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, descriptor.key, descriptor); } }
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); } }
17
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; }
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); }
18
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); }
19
21
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
20
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); }; }
@@ -1,4 +1,4 @@
1
- .container {
2
- text-decoration: none;
3
- color: inherit;
1
+ .container {
2
+ text-decoration: none;
3
+ color: inherit;
4
4
  }
@@ -10,8 +10,10 @@ var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider"
10
10
  var _LoaderModule = _interopRequireDefault(require("./Loader.module.css"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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, descriptor.key, descriptor); } }
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); } }
14
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; }
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); }
15
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); }
16
18
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
17
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); }; }
@@ -1,46 +1,46 @@
1
- .ajaxLoader {
2
- position: absolute;
3
- top: 0;
4
- }[dir=ltr] .ajaxLoader {
5
- left: 0;
6
- right: 0;
7
- }[dir=rtl] .ajaxLoader {
8
- right: 0;
9
- left: 0;
10
- }
11
- .loader {
12
- width: 100%;
13
- height: 3px;
14
- background-image: var(--zdt_loader_gradient_bg);
15
- background-size: 200% auto;
16
- }
17
- [dir=ltr] .loader {
18
- background-position: 0 100%;
19
- animation: loading-ltr 3s infinite;
20
- animation-fill-mode: forwards;
21
- animation-timing-function: linear;
22
- }
23
- [dir=rtl] .loader {
24
- background-position: 100% 100%;
25
- animation: loading-rtl 3s infinite;
26
- animation-fill-mode: forwards;
27
- animation-timing-function: linear;
28
- }
29
-
30
- @keyframes loading-ltr {
31
- 0% {
32
- background-position: 0 0;
33
- }
34
- 100% {
35
- background-position: -200% 0;
36
- }
37
- }
38
-
39
- @keyframes loading-rtl {
40
- 0% {
41
- background-position: 100% 0;
42
- }
43
- 100% {
44
- background-position: 300% 0;
45
- }
46
- }
1
+ .ajaxLoader {
2
+ position: absolute;
3
+ top: 0;
4
+ }[dir=ltr] .ajaxLoader {
5
+ left: 0;
6
+ right: 0;
7
+ }[dir=rtl] .ajaxLoader {
8
+ right: 0;
9
+ left: 0;
10
+ }
11
+ .loader {
12
+ width: 100%;
13
+ height: 3px;
14
+ background-image: var(--zdt_loader_gradient_bg);
15
+ background-size: 200% auto;
16
+ }
17
+ [dir=ltr] .loader {
18
+ background-position: 0 100%;
19
+ animation: loading-ltr 3s infinite;
20
+ animation-fill-mode: forwards;
21
+ animation-timing-function: linear;
22
+ }
23
+ [dir=rtl] .loader {
24
+ background-position: 100% 100%;
25
+ animation: loading-rtl 3s infinite;
26
+ animation-fill-mode: forwards;
27
+ animation-timing-function: linear;
28
+ }
29
+
30
+ @keyframes loading-ltr {
31
+ 0% {
32
+ background-position: 0 0;
33
+ }
34
+ 100% {
35
+ background-position: -200% 0;
36
+ }
37
+ }
38
+
39
+ @keyframes loading-rtl {
40
+ 0% {
41
+ background-position: 100% 0;
42
+ }
43
+ 100% {
44
+ background-position: 300% 0;
45
+ }
46
+ }
@@ -10,14 +10,16 @@ exports["default"] = void 0;
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _defaultProps = require("./props/defaultProps");
12
12
  var _propTypes = require("./props/propTypes");
13
- var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
13
+ var _icons = require("@zohodesk/icons");
14
14
  var _AutoClose = _interopRequireDefault(require("../actions/AutoClose"));
15
15
  var _MessageModule = _interopRequireDefault(require("./Message.module.css"));
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
17
  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); }
18
18
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
- 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); } }
19
+ 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); } }
20
20
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22
+ 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); }
21
23
  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); }
22
24
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
25
  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); }; }
@@ -105,7 +107,7 @@ function MessageUI(props) {
105
107
  className: _MessageModule["default"][type]
106
108
  }, /*#__PURE__*/_react["default"].createElement("span", {
107
109
  className: _MessageModule["default"].tickIcn
108
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
110
+ }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
109
111
  name: type == 'alert' ? 'ZD-notifiExclamation' : type == 'info' ? 'ZD-info31' : 'ZD-check',
110
112
  isBold: true,
111
113
  size: "10"
@@ -121,7 +123,7 @@ function MessageUI(props) {
121
123
  "data-title": closeTitle,
122
124
  onClick: onClose,
123
125
  "data-id": "close_".concat(type, "_message")
124
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
126
+ }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
125
127
  name: "ZD-closee",
126
128
  isBold: true,
127
129
  size: "10"
@@ -1,103 +1,103 @@
1
- .message {
2
- position: absolute;
3
- top: 0;
4
- z-index: 1000;
5
- /*Hook for editor alert*/
6
- pointer-events: none;
7
- text-align: center;
8
- }[dir=ltr] .message {
9
- right: 0;
10
- left: 0;
11
- }[dir=rtl] .message {
12
- left: 0;
13
- right: 0;
14
- }
15
-
16
- .container {
17
- position: relative;
18
- display: inline-block;
19
- pointer-events: initial;
20
- box-shadow: var(--bs_message_container);
21
- border-radius: 0 0 5px 5px;
22
- background: var(--zdt_message_default_bg);
23
- }
24
-
25
- [dir=ltr] .container {
26
- padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
27
- }
28
-
29
- [dir=rtl] .container {
30
- padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10);
31
- }
32
-
33
- .text {
34
- max-width: var(--zd_size480);
35
- display: inline-block;
36
- word-break: break-word;
37
- font-size: var(--zd_font_size14);
38
- vertical-align: middle;
39
- }
40
-
41
- [dir=ltr] .text {
42
- text-align: left;
43
- }
44
-
45
- [dir=rtl] .text {
46
- text-align: right;
47
- }
48
-
49
- .icon {
50
- position: absolute;
51
- top: 0;
52
- width: var(--zd_size40);
53
- display: inline-block;
54
- height: 100%;
55
- }
56
-
57
- [dir=ltr] .icon {
58
- left: 0;
59
- border-bottom-left-radius: 5px;
60
- }
61
-
62
- [dir=rtl] .icon {
63
- right: 0;
64
- border-bottom-right-radius: 5px;
65
- }
66
-
67
- .success {
68
- composes: icon;
69
- background: var(--zdt_message_success_bg);
70
- }
71
-
72
- .alert {
73
- composes: icon;
74
- background: var(--zdt_message_alert_bg);
75
- }
76
-
77
- .info {
78
- composes: icon;
79
- background: var(--zdt_message_info_bg);
80
- }
81
-
82
- .tickIcn {
83
- color: var(--zdt_message_tickicon);
84
- font-size: var(--zd_font_size16);
85
- position: absolute;
86
- composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
87
- }
88
-
89
- .close {
90
- color: var(--zdt_message_close_text);
91
- font-size: var(--zd_font_size16);
92
- display: inline-block;
93
- vertical-align: middle;
94
- cursor: pointer;
95
- }
96
-
97
- [dir=ltr] .close {
98
- margin-left: var(--zd_size10);
99
- }
100
-
101
- [dir=rtl] .close {
102
- margin-right: var(--zd_size10);
1
+ .message {
2
+ position: absolute;
3
+ top: 0;
4
+ z-index: 1000;
5
+ /*Hook for editor alert*/
6
+ pointer-events: none;
7
+ text-align: center;
8
+ }[dir=ltr] .message {
9
+ right: 0;
10
+ left: 0;
11
+ }[dir=rtl] .message {
12
+ left: 0;
13
+ right: 0;
14
+ }
15
+
16
+ .container {
17
+ position: relative;
18
+ display: inline-block;
19
+ pointer-events: initial;
20
+ box-shadow: 0 0 19px 1px var(--zdt_message_default_box_shadow);
21
+ border-radius: 0 0 5px 5px;
22
+ background: var(--zdt_message_default_bg);
23
+ }
24
+
25
+ [dir=ltr] .container {
26
+ padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
27
+ }
28
+
29
+ [dir=rtl] .container {
30
+ padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10);
31
+ }
32
+
33
+ .text {
34
+ max-width: var(--zd_size480);
35
+ display: inline-block;
36
+ word-break: break-word;
37
+ font-size: var(--zd_font_size14);
38
+ vertical-align: middle;
39
+ }
40
+
41
+ [dir=ltr] .text {
42
+ text-align: left;
43
+ }
44
+
45
+ [dir=rtl] .text {
46
+ text-align: right;
47
+ }
48
+
49
+ .icon {
50
+ position: absolute;
51
+ top: 0;
52
+ width: var(--zd_size40);
53
+ display: inline-block;
54
+ height: 100%;
55
+ }
56
+
57
+ [dir=ltr] .icon {
58
+ left: 0;
59
+ border-bottom-left-radius: 5px;
60
+ }
61
+
62
+ [dir=rtl] .icon {
63
+ right: 0;
64
+ border-bottom-right-radius: 5px;
65
+ }
66
+
67
+ .success {
68
+ composes: icon;
69
+ background: var(--zdt_message_success_bg);
70
+ }
71
+
72
+ .alert {
73
+ composes: icon;
74
+ background: var(--zdt_message_alert_bg);
75
+ }
76
+
77
+ .info {
78
+ composes: icon;
79
+ background: var(--zdt_message_info_bg);
80
+ }
81
+
82
+ .tickIcn {
83
+ color: var(--zdt_message_tickicon);
84
+ font-size: var(--zd_font_size16);
85
+ position: absolute;
86
+ composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
87
+ }
88
+
89
+ .close {
90
+ color: var(--zdt_message_close_text);
91
+ font-size: var(--zd_font_size16);
92
+ display: inline-block;
93
+ vertical-align: middle;
94
+ cursor: pointer;
95
+ }
96
+
97
+ [dir=ltr] .close {
98
+ margin-left: var(--zd_size10);
99
+ }
100
+
101
+ [dir=rtl] .close {
102
+ margin-right: var(--zd_size10);
103
103
  }
@@ -9,13 +9,15 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _defaultProps = require("./props/defaultProps");
10
10
  var _propTypes = require("./props/propTypes");
11
11
  var _Link = _interopRequireDefault(require("../Link/Link"));
12
- var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
12
+ var _icons = require("@zohodesk/icons");
13
13
  var _Layout = require("@zohodesk/components/lib/Layout");
14
14
  var _MessageBannerModule = _interopRequireDefault(require("./MessageBanner.module.css"));
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
16
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
17
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
18
18
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
19
21
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
20
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
21
23
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
@@ -71,7 +73,7 @@ var MessageBanner = /*#__PURE__*/function (_React$Component) {
71
73
  onClick: onClose
72
74
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
73
75
  align: "both"
74
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
76
+ }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
75
77
  name: "ZD-closee",
76
78
  size: "35"
77
79
  }))) : null);
@@ -1,46 +1,46 @@
1
- .type_secondary {
2
- max-width: var(--zd_size468);
3
- border-radius: 3px;
4
- margin: 0 auto;
5
- }
6
- .message {
7
- color: var(--zdt_messagebanner_text);
8
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
- padding: var(--zd_size10) 0;
10
- }
11
- [dir=ltr] .message {
12
- margin-left: var(--zd_size10);
13
- }
14
- [dir=rtl] .message {
15
- margin-right: var(--zd_size10);
16
- }
17
- .link {
18
- color: var(--zdt_messagebanner_link_text);
19
- }
20
- [dir=ltr] .link {
21
- margin-left: var(--zd_size5);
22
- }
23
- [dir=rtl] .link {
24
- margin-right: var(--zd_size5);
25
- }
26
- .message,.link{font-size: var(--zd_font_size14);}
27
- .close {
28
- color: var(--zdt_messagebanner_close_text);
29
- cursor: pointer;
30
- }
31
- .type_primary .close:hover {
32
- background: var(--zdt_messagebanner_close_hover_bg);
33
- }
34
- .close:hover {
35
- color: var(--zdt_messagebanner_close_hover_text);
36
- }
37
-
38
- .palette_default {
39
- background: var(--zdt_messagebanner_default_bg);
40
- }
41
- .palette_blue {
42
- background: var(--zdt_messagebanner_blue_bg);
43
- }
44
- .palette_white {
45
- background: var(--zdt_messagebanner_white_text);
46
- }
1
+ .type_secondary {
2
+ max-width: var(--zd_size468);
3
+ border-radius: 3px;
4
+ margin: 0 auto;
5
+ }
6
+ .message {
7
+ color: var(--zdt_messagebanner_text);
8
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
+ padding: var(--zd_size10) 0;
10
+ }
11
+ [dir=ltr] .message {
12
+ margin-left: var(--zd_size10);
13
+ }
14
+ [dir=rtl] .message {
15
+ margin-right: var(--zd_size10);
16
+ }
17
+ .link {
18
+ color: var(--zdt_messagebanner_link_text);
19
+ }
20
+ [dir=ltr] .link {
21
+ margin-left: var(--zd_size5);
22
+ }
23
+ [dir=rtl] .link {
24
+ margin-right: var(--zd_size5);
25
+ }
26
+ .message,.link{font-size: var(--zd_font_size14);}
27
+ .close {
28
+ color: var(--zdt_messagebanner_close_text);
29
+ cursor: pointer;
30
+ }
31
+ .type_primary .close:hover {
32
+ background: var(--zdt_messagebanner_close_hover_bg);
33
+ }
34
+ .close:hover {
35
+ color: var(--zdt_messagebanner_close_hover_text);
36
+ }
37
+
38
+ .palette_default {
39
+ background: var(--zdt_messagebanner_default_bg);
40
+ }
41
+ .palette_blue {
42
+ background: var(--zdt_messagebanner_blue_bg);
43
+ }
44
+ .palette_white {
45
+ background: var(--zdt_messagebanner_white_text);
46
+ }