@zohodesk/dot 1.0.0-temp-152 → 1.0.0-temp-153

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 (347) hide show
  1. package/README.md +1300 -1279
  2. package/assets/Appearance/dark/mode/{dotDarkMode.module.css → Dot_DarkMode.module.css} +6 -6
  3. package/assets/Appearance/{default/mode/dotDefaultMode.module.css → light/mode/Dot_LightMode.module.css} +281 -281
  4. package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +16 -0
  5. package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +16 -0
  6. package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +16 -0
  7. package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +16 -0
  8. package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +16 -0
  9. package/assets/Appearance/pureDark/mode/{dotPureDarkMode.module.css → Dot_PureDarkMode.module.css} +4 -4
  10. package/es/ActionButton/ActionButton.module.css +139 -139
  11. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  12. package/es/Attachment/Attachment.module.css +159 -159
  13. package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
  14. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  15. package/es/Drawer/Drawer.js +0 -0
  16. package/es/Drawer/Drawer.module.css +190 -190
  17. package/es/ExternalLink/ExternalLink.js +0 -0
  18. package/es/ExternalLink/ExternalLink.module.css +3 -3
  19. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  20. package/es/FlipCard/FlipCard.module.css +44 -44
  21. package/es/FormAction/FormAction.module.css +82 -82
  22. package/es/FreezeLayer/FreezeLayer.js +2 -5
  23. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  24. package/es/Hooks/Dragger/css/Dragger.module.css +2 -2
  25. package/es/Hooks/Dragger/props/defaultProps.js +10 -0
  26. package/es/Hooks/Dragger/props/propTypes.js +11 -0
  27. package/es/Hooks/Dragger/useDragger.js +93 -66
  28. package/es/Hooks/Dragger/utils/DraggerUtil.js +3 -42
  29. package/es/IconButton/IconButton.module.css +22 -22
  30. package/es/Image/Image.module.css +11 -11
  31. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  32. package/es/Link/Link.js +0 -0
  33. package/es/Link/Link.module.css +3 -3
  34. package/es/Loader/Loader.module.css +47 -47
  35. package/es/Message/Message.module.css +102 -102
  36. package/es/MessageBanner/MessageBanner.module.css +46 -46
  37. package/es/NewStar/NewStar.module.css +183 -183
  38. package/es/PlusIcon/PlusIcon.js +0 -0
  39. package/es/PlusIcon/PlusIcon.module.css +18 -18
  40. package/es/Separator/Separator.module.css +34 -34
  41. package/es/TagWithIcon/TagWithIcon.module.css +56 -56
  42. package/es/ToastMessage/ToastMessage.js +0 -0
  43. package/es/ToastMessage/ToastMessage.module.css +328 -328
  44. package/es/Upload/Upload.module.css +125 -125
  45. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  46. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  47. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  48. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  49. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  50. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  51. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  52. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  53. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  54. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  55. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  56. package/es/common/dot_animation.module.css +26 -26
  57. package/es/common/dot_boxShadow.module.css +37 -37
  58. package/es/common/dot_common.module.css +3 -3
  59. package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  60. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  61. package/es/deprecated/utils/KeyboardApi.js +25 -25
  62. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  63. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  64. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  65. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  66. package/es/errorstate/EmptyStates.module.css +87 -87
  67. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  68. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  69. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  70. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  71. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  72. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  73. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  74. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  75. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  76. package/es/form/fields/Fields.module.css +183 -183
  77. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  78. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  79. package/es/form/fields/TextEditor/TextEditor.module.css +770 -770
  80. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  81. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  82. package/es/form/layout/Field/Field.js +0 -0
  83. package/es/form/layout/Field/Field.module.css +22 -22
  84. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  85. package/es/form/layout/Section/Section.js +0 -0
  86. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +1 -3
  87. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  88. package/es/layout/SetupDetailLayout/props/propTypes.js +0 -1
  89. package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  90. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  91. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  92. package/es/list/Comment/Comment.module.css +29 -29
  93. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  94. package/es/list/Dot/Dot.module.css +15 -15
  95. package/es/list/DotNew/DotNew.module.css +24 -24
  96. package/es/list/GridStencils/GridStencils.module.css +146 -146
  97. package/es/list/Icons/Icons.module.css +16 -16
  98. package/es/list/ListLayout/ListLayout.module.css +57 -57
  99. package/es/list/ListStencils/ListStencils.module.css +67 -67
  100. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  101. package/es/list/SecondaryText/Website.js +0 -0
  102. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  103. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  104. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  105. package/es/list/Subject/Subject.module.css +27 -27
  106. package/es/list/TagNew/TagNew.module.css +116 -116
  107. package/es/list/Thread/Thread.module.css +42 -42
  108. package/es/list/UserTime/UserTime.module.css +58 -58
  109. package/es/list/listCommon.module.css +60 -60
  110. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  111. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  112. package/es/list/status/StatusListItem/StatusListItem.module.css +109 -109
  113. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  114. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  115. package/es/lookup/Lookup/Lookup.js +0 -0
  116. package/es/lookup/Lookup/Lookup.module.css +26 -26
  117. package/es/lookup/Section/LookupSection.module.css +7 -7
  118. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  119. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  120. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  121. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  122. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  123. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  124. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  125. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  126. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  127. package/es/setup/header/Search/Search.module.css +68 -68
  128. package/es/setup/header/Views/Views.module.css +37 -37
  129. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  130. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  131. package/es/setup/helptips/Link/Link.js +0 -0
  132. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  133. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  134. package/es/setup/helptips/Title/Title.js +0 -0
  135. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  136. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  137. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  138. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  139. package/es/setup/table/Text/TableText.module.css +37 -37
  140. package/es/setup/table/Text/Text.js +0 -0
  141. package/es/svg/PlusIcon.js +1 -1
  142. package/es/svg/SnippetIcon.js +2 -2
  143. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  144. package/es/version2/GlobalNotification/GlobalNotification.module.css +127 -127
  145. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  146. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  147. package/es/version2/lookup/AlertHeader/AlertHeader.js +75 -58
  148. package/{lib/version2/lookup/AlertHeader → es/version2/lookup/AlertHeader/css}/AlertHeaderNew.module.css +87 -87
  149. package/es/version2/lookup/AlertHeader/css/cssJSLogic.js +20 -0
  150. package/es/version2/lookup/AlertHeader/props/defaultProps.js +8 -2
  151. package/es/version2/lookup/AlertHeader/props/propTypes.js +9 -2
  152. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  153. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  154. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +126 -126
  155. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  156. package/install.md +12 -12
  157. package/lib/ActionButton/ActionButton.module.css +139 -139
  158. package/lib/AlphabeticList/AlphabeticList.js +1 -1
  159. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  160. package/lib/Attachment/Attachment.module.css +159 -159
  161. package/lib/AttachmentViewer/AttachmentImage.js +1 -1
  162. package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
  163. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  164. package/lib/Drawer/Drawer.js +0 -0
  165. package/lib/Drawer/Drawer.module.css +190 -190
  166. package/lib/ExternalLink/ExternalLink.js +1 -1
  167. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  168. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  169. package/lib/FlipCard/FlipCard.module.css +44 -44
  170. package/lib/FormAction/FormAction.module.css +82 -82
  171. package/lib/FreezeLayer/FreezeLayer.js +2 -8
  172. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  173. package/lib/Hooks/Dragger/css/Dragger.module.css +2 -2
  174. package/lib/Hooks/Dragger/props/defaultProps.js +17 -0
  175. package/lib/Hooks/Dragger/props/propTypes.js +19 -0
  176. package/lib/Hooks/Dragger/useDragger.js +91 -62
  177. package/lib/Hooks/Dragger/utils/DraggerUtil.js +3 -44
  178. package/lib/IconButton/IconButton.module.css +22 -22
  179. package/lib/Image/Image.module.css +11 -11
  180. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  181. package/lib/Link/Link.js +0 -0
  182. package/lib/Link/Link.module.css +3 -3
  183. package/lib/Loader/Loader.module.css +47 -47
  184. package/lib/Message/Message.module.css +102 -102
  185. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  186. package/lib/NewStar/NewStar.module.css +183 -183
  187. package/lib/PlusIcon/PlusIcon.js +0 -0
  188. package/lib/PlusIcon/PlusIcon.module.css +18 -18
  189. package/lib/Separator/Separator.module.css +34 -34
  190. package/lib/TagWithIcon/TagWithIcon.module.css +56 -56
  191. package/lib/ToastMessage/ToastMessage.js +1 -2
  192. package/lib/ToastMessage/ToastMessage.module.css +328 -328
  193. package/lib/Upload/Upload.module.css +125 -125
  194. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  195. package/lib/alert/AlertLookup/AlertLookup.js +1 -1
  196. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  197. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  198. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  199. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  200. package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
  201. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  202. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  203. package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
  204. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  205. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  206. package/lib/common/dot_animation.module.css +26 -26
  207. package/lib/common/dot_boxShadow.module.css +37 -37
  208. package/lib/common/dot_common.module.css +3 -3
  209. package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  210. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  211. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  212. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  213. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  214. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  215. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  216. package/lib/errorstate/EmptyStates.module.css +87 -87
  217. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  218. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  219. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  220. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  221. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  222. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  223. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  224. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  225. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  226. package/lib/form/fields/CurrencyField/CurrencyField.js +1 -1
  227. package/lib/form/fields/DateField/DateField.js +1 -1
  228. package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
  229. package/lib/form/fields/Fields.module.css +183 -183
  230. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  231. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  232. package/lib/form/fields/RadioField/RadioField.js +1 -1
  233. package/lib/form/fields/SelectField/SelectField.js +1 -1
  234. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  235. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
  236. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  237. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  238. package/lib/form/fields/TextEditor/TextEditor.js +1 -2
  239. package/lib/form/fields/TextEditor/TextEditor.module.css +770 -770
  240. package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
  241. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  242. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  243. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  244. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  245. package/lib/form/layout/Field/Field.js +0 -0
  246. package/lib/form/layout/Field/Field.module.css +22 -22
  247. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  248. package/lib/form/layout/Section/Section.js +0 -0
  249. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +4 -7
  250. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  251. package/lib/layout/SetupDetailLayout/props/propTypes.js +0 -1
  252. package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  253. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  254. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  255. package/lib/list/Comment/Comment.module.css +29 -29
  256. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  257. package/lib/list/Dot/Dot.module.css +15 -15
  258. package/lib/list/DotNew/DotNew.module.css +24 -24
  259. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  260. package/lib/list/Icons/Icons.module.css +16 -16
  261. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  262. package/lib/list/ListStencils/ListStencils.js +1 -1
  263. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  264. package/lib/list/SecondaryText/AccountName.js +1 -1
  265. package/lib/list/SecondaryText/Email.js +1 -1
  266. package/lib/list/SecondaryText/HappinessRating.js +1 -1
  267. package/lib/list/SecondaryText/PhoneNumber.js +1 -1
  268. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  269. package/lib/list/SecondaryText/Website.js +1 -1
  270. package/lib/list/SecondryPanel/SecondryPanel.js +1 -1
  271. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  272. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  273. package/lib/list/Subject/Subject.module.css +27 -27
  274. package/lib/list/TagNew/TagNew.module.css +116 -116
  275. package/lib/list/Thread/Thread.module.css +42 -42
  276. package/lib/list/UserTime/UserTime.module.css +58 -58
  277. package/lib/list/listCommon.module.css +60 -60
  278. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  279. package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
  280. package/lib/list/status/StatusListItem/StatusListItem.module.css +109 -109
  281. package/lib/lookup/EmptyPage/EmptyPage.js +1 -1
  282. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  283. package/lib/lookup/Lookup/Lookup.js +1 -1
  284. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  285. package/lib/lookup/Section/LookupSection.module.css +7 -7
  286. package/lib/lookup/header/Close/Close.js +1 -1
  287. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  288. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  289. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  290. package/lib/lookup/header/Search/Search.js +1 -1
  291. package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
  292. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  293. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  294. package/lib/lookup/header/Title/Title.js +1 -1
  295. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  296. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  297. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  298. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  299. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  300. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  301. package/lib/setup/header/Search/Search.module.css +68 -68
  302. package/lib/setup/header/Views/Views.module.css +37 -37
  303. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  304. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  305. package/lib/setup/helptips/Link/Link.js +0 -0
  306. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  307. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  308. package/lib/setup/helptips/Title/Title.js +0 -0
  309. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  310. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  311. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  312. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  313. package/lib/setup/table/Text/TableText.module.css +37 -37
  314. package/lib/setup/table/Text/Text.js +0 -0
  315. package/lib/svg/PlusIcon.js +1 -1
  316. package/lib/svg/SnippetIcon.js +2 -2
  317. package/lib/version2/AlertClose/AlertClose.js +1 -1
  318. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  319. package/lib/version2/GlobalNotification/GlobalNotification.module.css +127 -127
  320. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  321. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  322. package/lib/version2/lookup/AlertHeader/AlertHeader.js +77 -81
  323. package/{es/version2/lookup/AlertHeader → lib/version2/lookup/AlertHeader/css}/AlertHeaderNew.module.css +87 -87
  324. package/lib/version2/lookup/AlertHeader/css/cssJSLogic.js +23 -0
  325. package/lib/version2/lookup/AlertHeader/props/defaultProps.js +10 -4
  326. package/lib/version2/lookup/AlertHeader/props/propTypes.js +11 -4
  327. package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -1
  328. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  329. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  330. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +126 -126
  331. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  332. package/package.json +114 -113
  333. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -16
  334. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -16
  335. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -16
  336. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -16
  337. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -16
  338. /package/assets/Appearance/dark/themes/blue/{blueDarkDotTheme.module.css → blue_DotTheme_DarkTheme.module.css} +0 -0
  339. /package/assets/Appearance/dark/themes/green/{greenDarkDotTheme.module.css → green_DotTheme_DarkTheme.module.css} +0 -0
  340. /package/assets/Appearance/dark/themes/orange/{orangeDarkDotTheme.module.css → orange_DotTheme_DarkTheme.module.css} +0 -0
  341. /package/assets/Appearance/dark/themes/red/{redDarkDotTheme.module.css → red_DotTheme_DarkTheme.module.css} +0 -0
  342. /package/assets/Appearance/dark/themes/yellow/{yellowDarkDotTheme.module.css → yellow_DotTheme_DarkTheme.module.css} +0 -0
  343. /package/assets/Appearance/pureDark/themes/blue/{bluePureDarkDotTheme.module.css → blue_DotTheme_PureDarkTheme.module.css} +0 -0
  344. /package/assets/Appearance/pureDark/themes/green/{greenPureDarkDotTheme.module.css → green_DotTheme_PureDarkTheme.module.css} +0 -0
  345. /package/assets/Appearance/pureDark/themes/orange/{orangePureDarkDotTheme.module.css → orange_DotTheme_PureDarkTheme.module.css} +0 -0
  346. /package/assets/Appearance/pureDark/themes/red/{redPureDarkDotTheme.module.css → red_DotTheme_PureDarkTheme.module.css} +0 -0
  347. /package/assets/Appearance/pureDark/themes/yellow/{yellowPureDarkDotTheme.module.css → yellow_DotTheme_PureDarkTheme.module.css} +0 -0
@@ -1,46 +1,46 @@
1
- .container {
2
- padding-bottom: 30px;
3
- }
4
- .errorBtn {
5
- margin-top: 15px;
6
- }
7
- .title {
8
- font-family: var(--zd_bold);
9
- }
10
- .desc {
11
- line-height: var(--zd_size22);
12
- }
13
- .large .errorState {
14
- width: 450px;
15
- margin-top: 40px;
16
- }
17
- .large .errorSvg {
18
- width: 350px;
19
- height: 350px;
20
- }
21
- .medium .errorState {
22
- width: 350px;
23
- margin-top: 30px;
24
- }
25
- .medium .errorSvg {
26
- width: 250px;
27
- height: 250px;
28
- }
29
- .medium .title {
30
- font-size: 18px;
31
- }
32
- .medium .desc,
33
- .small .desc {
34
- font-size: 13px
35
- }
36
- .small .errorState {
37
- width: 230px;
38
- margin-top: 20px;
39
- }
40
- .small .errorSvg {
41
- width: 220px;
42
- height: 220px;
43
- }
44
- .small .title {
45
- font-size: 16px;
46
- }
1
+ .container {
2
+ padding-bottom: 30px;
3
+ }
4
+ .errorBtn {
5
+ margin-top: 15px;
6
+ }
7
+ .title {
8
+ font-family: var(--zd_bold);
9
+ }
10
+ .desc {
11
+ line-height: var(--zd_size22);
12
+ }
13
+ .large .errorState {
14
+ width: 450px;
15
+ margin-top: 40px;
16
+ }
17
+ .large .errorSvg {
18
+ width: 350px;
19
+ height: 350px;
20
+ }
21
+ .medium .errorState {
22
+ width: 350px;
23
+ margin-top: 30px;
24
+ }
25
+ .medium .errorSvg {
26
+ width: 250px;
27
+ height: 250px;
28
+ }
29
+ .medium .title {
30
+ font-size: 18px;
31
+ }
32
+ .medium .desc,
33
+ .small .desc {
34
+ font-size: 13px
35
+ }
36
+ .small .errorState {
37
+ width: 230px;
38
+ margin-top: 20px;
39
+ }
40
+ .small .errorSvg {
41
+ width: 220px;
42
+ height: 220px;
43
+ }
44
+ .small .title {
45
+ font-size: 16px;
46
+ }
@@ -4,92 +4,88 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports["default"] = void 0;
7
+ exports["default"] = AlertHeader;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
- var _defaultProps = require("./props/defaultProps");
10
- var _propTypes = require("./props/propTypes");
11
9
  var _Layout = require("@zohodesk/components/lib/Layout");
12
10
  var _AlertClose = _interopRequireDefault(require("../../AlertClose/AlertClose"));
13
11
  var _AlertIcons = _interopRequireDefault(require("../../alertIcons/AlertIcons"));
14
- var _AlertHeaderNewModule = _interopRequireDefault(require("./AlertHeaderNew.module.css"));
12
+ var _AlertHeaderNewModule = _interopRequireDefault(require("./css/AlertHeaderNew.module.css"));
13
+ var _cssJSLogic2 = _interopRequireDefault(require("./css/cssJSLogic"));
14
+ var _utils = require("@zohodesk/components/es/utils");
15
+ var _useDragger = _interopRequireDefault(require("../../../Hooks/Dragger/useDragger"));
16
+ var _defaultProps = _interopRequireDefault(require("./props/defaultProps"));
17
+ var _propTypes = _interopRequireDefault(require("./props/propTypes"));
15
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
19
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
20
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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, _toPropertyKey(descriptor.key), descriptor); } }
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); }
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); }
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
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); }; }
26
- 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); }
27
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
28
- 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; } }
29
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
30
- var AlertHeader = /*#__PURE__*/function (_Component) {
31
- _inherits(AlertHeader, _Component);
32
- var _super = _createSuper(AlertHeader);
33
- function AlertHeader() {
34
- _classCallCheck(this, AlertHeader);
35
- return _super.apply(this, arguments);
36
- }
37
- _createClass(AlertHeader, [{
38
- key: "render",
39
- value: function render() {
40
- var _this$props = this.props,
41
- title = _this$props.title,
42
- needIcon = _this$props.needIcon,
43
- onClose = _this$props.onClose,
44
- closeTitle = _this$props.closeTitle,
45
- children = _this$props.children,
46
- breakChildren = _this$props.breakChildren,
47
- dataId = _this$props.dataId,
48
- type = _this$props.type,
49
- htmlId = _this$props.htmlId;
50
- var headerElement = title || children;
51
- return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
52
- align: "vertical",
53
- alignBox: "row",
54
- className: "".concat(_AlertHeaderNewModule["default"].container, " ").concat(headerElement ? _AlertHeaderNewModule["default"].headerLayout : '', " ").concat(_AlertHeaderNewModule["default"][type]),
55
- isCover: false,
56
- wrap: "wrap",
57
- "data-drag-hook": "true"
58
- }, needIcon ? /*#__PURE__*/_react["default"].createElement("div", {
59
- className: _AlertHeaderNewModule["default"].iconContainer
60
- }, /*#__PURE__*/_react["default"].createElement(_AlertIcons["default"], {
61
- type: type
62
- })) : null, headerElement && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
63
- flexible: true
64
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
65
- alignBox: "row",
66
- wrap: breakChildren ? 'wrap' : null
67
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
68
- className: _AlertHeaderNewModule["default"].title,
69
- shrink: true,
70
- id: htmlId
71
- }, title), children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
72
- adjust: true,
73
- flexible: true
74
- }, children) : null)), onClose ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
75
- className: _AlertHeaderNewModule["default"].close
76
- }, /*#__PURE__*/_react["default"].createElement(_AlertClose["default"], {
77
- onClose: onClose,
78
- dataTitle: closeTitle,
79
- dataId: "".concat(dataId, "_close"),
80
- type: "light"
81
- })) : null);
82
- }
83
- }]);
84
- return AlertHeader;
85
- }(_react.Component);
86
- exports["default"] = AlertHeader;
87
- AlertHeader.propTypes = _propTypes.propTypes;
88
- AlertHeader.defaultProps = _defaultProps.defaultProps;
21
+ //AlertDependencies
22
+
23
+ //CSS
24
+
25
+ //customHooks
26
+
27
+ //Props
28
+
29
+ function AlertHeader(props) {
30
+ var title = props.title,
31
+ needIcon = props.needIcon,
32
+ onClose = props.onClose,
33
+ closeTitle = props.closeTitle,
34
+ children = props.children,
35
+ breakChildren = props.breakChildren,
36
+ dataId = props.dataId,
37
+ type = props.type,
38
+ htmlId = props.htmlId,
39
+ customStyle = props.customStyle,
40
+ dragBoundaryLimit = props.dragBoundaryLimit;
41
+ var finalStyle = (0, _utils.mergeStyle)(_AlertHeaderNewModule["default"], customStyle);
42
+ var _cssJSLogic = (0, _cssJSLogic2["default"])({
43
+ props: props,
44
+ style: finalStyle
45
+ }),
46
+ alertHeaderContainerClass = _cssJSLogic.alertHeaderContainerClass;
47
+ var dragRef = (0, _react.useRef)(null); //dragRef
48
+
49
+ (0, _useDragger["default"])({
50
+ isActive: true,
51
+ ChildRef: dragRef,
52
+ boundaryLimit: dragBoundaryLimit
53
+ }); //custom Hook
54
+
55
+ return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
56
+ align: "vertical",
57
+ alignBox: "row",
58
+ className: "".concat(alertHeaderContainerClass),
59
+ isCover: false,
60
+ wrap: "wrap",
61
+ "data-drag-hook": "true",
62
+ eleRef: dragRef
63
+ }, needIcon && /*#__PURE__*/_react["default"].createElement("div", {
64
+ className: finalStyle.iconContainer
65
+ }, /*#__PURE__*/_react["default"].createElement(_AlertIcons["default"], {
66
+ type: type
67
+ })), (title || children) && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
68
+ flexible: true
69
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
70
+ alignBox: "row",
71
+ wrap: breakChildren ? 'wrap' : null
72
+ }, title && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
73
+ className: finalStyle.title,
74
+ shrink: true,
75
+ id: htmlId
76
+ }, title), children && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
77
+ adjust: true,
78
+ flexible: true
79
+ }, children))), onClose && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
80
+ className: _AlertHeaderNewModule["default"].close
81
+ }, /*#__PURE__*/_react["default"].createElement(_AlertClose["default"], {
82
+ onClose: onClose,
83
+ dataTitle: closeTitle,
84
+ dataId: "".concat(dataId, "_close"),
85
+ type: "light"
86
+ })));
87
+ }
89
88
 
90
- // if (__DOCS__) {
91
- // AlertHeader.docs = {
92
- // componentGroup: 'AlertHeader',
93
- // folderName: 'Alert'
94
- // };
95
- // }
89
+ //Props
90
+ AlertHeader.propTypes = _propTypes["default"];
91
+ AlertHeader.defaultProps = _defaultProps["default"];
@@ -1,88 +1,88 @@
1
- .varClass {
2
- --commonalert_border_color: var(--zdt_commonalert_default_border);
3
- }
4
- .container {
5
- composes: varClass;
6
- position: relative;
7
- background-color: var(--zdt_alertlookup_bg);
8
- border-style: solid;
9
- border-color: var(--commonalert_border_color);
10
- border-width: 2px 0 0 0;
11
- }
12
- .headerLayout {
13
- min-height: 54px;
14
- }
15
- [dir=ltr] .headerLayout {
16
- padding: 15px 45px 0 20px;
17
- }
18
- [dir=rtl] .headerLayout {
19
- padding: 15px 20px 0 45px;
20
- }
21
-
22
- .success {
23
- --commonalert_border_color: var(--zdt_commonalert_success_border);
24
- }
25
-
26
- .info,.notification {
27
- --commonalert_border_color: var(--zdt_commonalert_info_border);
28
- }
29
-
30
- .danger {
31
- --commonalert_border_color: var(--zdt_commonalert_danger_border);
32
- }
33
-
34
- .error {
35
- --commonalert_border_color: var(--zdt_commonalert_error_border);
36
- }
37
-
38
- .warning {
39
- --commonalert_border_color: var(--zdt_commonalert_warning_border);
40
- }
41
-
42
- [dir=ltr] .extraSmall {
43
- padding: 12px 45px 12px 16px;
44
- }
45
-
46
- [dir=rtl] .extraSmall {
47
- padding: 12px 16px 12px 45px;
48
- }
49
-
50
- .iconContainer {
51
- height: 51px;
52
- width: 51px;
53
- }
54
-
55
- .title {
56
- color: var(--zdt_alertlookupnew_text);
57
- font-size: 18px;
58
- line-height: var(--zd_size22);
59
- font-family: var(--zd_bold);
60
- composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
61
- vertical-align: middle;
62
- cursor: default;
63
- }
64
-
65
- [dir=ltr] .title {
66
- margin: 0 5px 0 10px;
67
- }
68
-
69
- [dir=rtl] .title {
70
- margin: 0 10px 0 5px;
71
- }
72
-
73
- .iconStyle {
74
- display: block;
75
- }
76
-
77
- .close {
78
- position: absolute;
79
- top: 12px;
80
- }
81
-
82
- [dir=ltr] .close {
83
- right: 12px;
84
- }
85
-
86
- [dir=rtl] .close {
87
- left: 12px;
1
+ .varClass {
2
+ --commonalert_border_color: var(--zdt_commonalert_default_border);
3
+ }
4
+ .container {
5
+ composes: varClass;
6
+ position: relative;
7
+ background-color: var(--zdt_alertlookup_bg);
8
+ border-style: solid;
9
+ border-color: var(--commonalert_border_color);
10
+ border-width: 2px 0 0 0;
11
+ }
12
+ .headerLayout {
13
+ min-height: 54px;
14
+ }
15
+ [dir=ltr] .headerLayout {
16
+ padding: 15px 45px 0 20px;
17
+ }
18
+ [dir=rtl] .headerLayout {
19
+ padding: 15px 20px 0 45px;
20
+ }
21
+
22
+ .success {
23
+ --commonalert_border_color: var(--zdt_commonalert_success_border);
24
+ }
25
+
26
+ .info,.notification {
27
+ --commonalert_border_color: var(--zdt_commonalert_info_border);
28
+ }
29
+
30
+ .danger {
31
+ --commonalert_border_color: var(--zdt_commonalert_danger_border);
32
+ }
33
+
34
+ .error {
35
+ --commonalert_border_color: var(--zdt_commonalert_error_border);
36
+ }
37
+
38
+ .warning {
39
+ --commonalert_border_color: var(--zdt_commonalert_warning_border);
40
+ }
41
+
42
+ [dir=ltr] .extraSmall {
43
+ padding: 12px 45px 12px 16px;
44
+ }
45
+
46
+ [dir=rtl] .extraSmall {
47
+ padding: 12px 16px 12px 45px;
48
+ }
49
+
50
+ .iconContainer {
51
+ height: 51px;
52
+ width: 51px;
53
+ }
54
+
55
+ .title {
56
+ color: var(--zdt_alertlookupnew_text);
57
+ font-size: 18px;
58
+ line-height: var(--zd_size22);
59
+ font-family: var(--zd_bold);
60
+ composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
61
+ vertical-align: middle;
62
+ cursor: default;
63
+ }
64
+
65
+ [dir=ltr] .title {
66
+ margin: 0 5px 0 10px;
67
+ }
68
+
69
+ [dir=rtl] .title {
70
+ margin: 0 10px 0 5px;
71
+ }
72
+
73
+ .iconStyle {
74
+ display: block;
75
+ }
76
+
77
+ .close {
78
+ position: absolute;
79
+ top: 12px;
80
+ }
81
+
82
+ [dir=ltr] .close {
83
+ right: 12px;
84
+ }
85
+
86
+ [dir=rtl] .close {
87
+ left: 12px;
88
88
  }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = cssJSLogic;
7
+ var _utils = require("@zohodesk/components/es/utils");
8
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
9
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
11
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
12
+ function cssJSLogic(_ref) {
13
+ var _compileClassNames;
14
+ var props = _ref.props,
15
+ style = _ref.style;
16
+ var children = props.children,
17
+ type = props.type,
18
+ title = props.title;
19
+ var alertHeaderContainerClass = (0, _utils.compileClassNames)((_compileClassNames = {}, _defineProperty(_compileClassNames, style.container, true), _defineProperty(_compileClassNames, style.headerLayout, !!title || !!children), _defineProperty(_compileClassNames, style[type], !!type), _compileClassNames));
20
+ return {
21
+ alertHeaderContainerClass: alertHeaderContainerClass
22
+ };
23
+ }
@@ -3,11 +3,17 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.defaultProps = void 0;
7
- var defaultProps = {
6
+ exports["default"] = void 0;
7
+ var _default = {
8
8
  needIcon: true,
9
9
  type: 'danger',
10
10
  breakChildren: false,
11
- dataId: 'alertHeader'
11
+ dataId: 'alertHeader',
12
+ dragBoundaryLimit: {
13
+ top: 0,
14
+ left: 50,
15
+ right: 50,
16
+ bottom: 50
17
+ }
12
18
  };
13
- exports.defaultProps = defaultProps;
19
+ exports["default"] = _default;
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.propTypes = void 0;
6
+ exports["default"] = void 0;
7
7
  var _propTypes = _interopRequireDefault(require("prop-types"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- var propTypes = {
9
+ var _default = {
10
10
  breakChildren: _propTypes["default"].bool,
11
11
  children: _propTypes["default"].node,
12
12
  closeTitle: _propTypes["default"].string,
@@ -15,6 +15,13 @@ var propTypes = {
15
15
  onClose: _propTypes["default"].func,
16
16
  title: _propTypes["default"].string,
17
17
  type: _propTypes["default"].oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification']),
18
- htmlId: _propTypes["default"].string
18
+ htmlId: _propTypes["default"].string,
19
+ customStyle: _propTypes["default"].object,
20
+ dragBoundaryLimit: _propTypes["default"].shape({
21
+ top: _propTypes["default"].number,
22
+ left: _propTypes["default"].number,
23
+ right: _propTypes["default"].number,
24
+ bottom: _propTypes["default"].number
25
+ })
19
26
  };
20
- exports.propTypes = propTypes;
27
+ exports["default"] = _default;
@@ -31,7 +31,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
31
31
  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); }
32
32
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
33
33
  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; } }
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/
34
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
35
  var buttonPaletteObject = {
36
36
  success: {
37
37
  buttonPalette: 'successFilled'
@@ -1,44 +1,44 @@
1
- .section {
2
- min-height: auto;
3
- }
4
-
5
- .innerSection {
6
- color: var(--zdt_alertlookupnew_text);
7
- font-size: 14px;
8
- line-height: var(--zd_size18);
9
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
10
- padding: 17px 30px 30px;
11
- }
12
-
13
- [dir=ltr] .buttonGap {
14
- margin: 0 0 0 12px;
15
- }
16
-
17
- [dir=rtl] .buttonGap {
18
- margin: 0 12px 0 0;
19
- }
20
-
21
- .confirmMsgText {
22
- margin-top: 20px;
23
- }
24
-
25
- .extraSmall .innerSection {
26
- padding: 30px 16px 46px;
27
- }
28
-
29
- .footer {
30
- overflow: hidden;
31
- border-radius: 0 0 var(--zd_size10) var(--zd_size10);
32
- }
33
- .horizontalScroll, .verticalScroll, .bothScroll {
34
- height: 100%;
35
- }
36
- .horizontalScroll {
37
- composes: oflowx from '~@zohodesk/components/lib/common/common.module.css';
38
- }
39
- .verticalScroll {
40
- composes: oflowy from '~@zohodesk/components/lib/common/common.module.css';
41
- }
42
- .bothScroll {
43
- composes: oflowA from '~@zohodesk/components/lib/common/common.module.css';
1
+ .section {
2
+ min-height: auto;
3
+ }
4
+
5
+ .innerSection {
6
+ color: var(--zdt_alertlookupnew_text);
7
+ font-size: 14px;
8
+ line-height: var(--zd_size18);
9
+ composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
10
+ padding: 17px 30px 30px;
11
+ }
12
+
13
+ [dir=ltr] .buttonGap {
14
+ margin: 0 0 0 12px;
15
+ }
16
+
17
+ [dir=rtl] .buttonGap {
18
+ margin: 0 12px 0 0;
19
+ }
20
+
21
+ .confirmMsgText {
22
+ margin-top: 20px;
23
+ }
24
+
25
+ .extraSmall .innerSection {
26
+ padding: 30px 16px 46px;
27
+ }
28
+
29
+ .footer {
30
+ overflow: hidden;
31
+ border-radius: 0 0 var(--zd_size10) var(--zd_size10);
32
+ }
33
+ .horizontalScroll, .verticalScroll, .bothScroll {
34
+ height: 100%;
35
+ }
36
+ .horizontalScroll {
37
+ composes: oflowx from '~@zohodesk/components/lib/common/common.module.css';
38
+ }
39
+ .verticalScroll {
40
+ composes: oflowy from '~@zohodesk/components/lib/common/common.module.css';
41
+ }
42
+ .bothScroll {
43
+ composes: oflowA from '~@zohodesk/components/lib/common/common.module.css';
44
44
  }